.contact {
  position: relative;
  background: var(--dark);
  color: var(--white);
  overflow: visible;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.contact__bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 18, 16, 0.94), rgba(20, 18, 16, 0.66));
}

.contact__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  margin: 16px 0 22px;
  max-width: 18ch;
  line-height: 1.05;
}

.contact__desc {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
  max-width: 44ch;
  font-weight: 300;
  margin: 0;
}

.form-field--consent { margin-top: 20px; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.form-consent label {
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-bright);
  cursor: pointer;
}

.form-consent a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a:hover { color: var(--white); }

.form-disclosure {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  margin: 12px 0 0;
}

.form-disclosure a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-disclosure a:hover { color: var(--accent-bright); }

.form-alert {
  display: none;
  margin-bottom: 18px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 138, 128, 0.32);
  background: rgba(255, 138, 128, 0.08);
  color: #ffc9c4;
  font-size: 13px;
  line-height: 1.45;
}

.form-alert:not([hidden]) {
  display: block;
}

.form-field.has-error .form-label {
  color: rgba(255, 200, 194, 0.92);
}

.form-field--consent.has-error .form-consent {
  padding: 10px 12px;
  margin: -2px -12px 0;
  border-radius: var(--radius-md);
  background: rgba(255, 138, 128, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 128, 0.28);
}
