/* contact.html */
.contact-hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(52px, 8vw, 88px);
  line-height: 0.95;
  margin: 18px 0 72px;
  text-wrap: balance;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 64px;
  align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 26px; }
.contact-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #e4e3d8;
}
.field__req { color: var(--color-accent); }
.field__input {
  height: 48px;
  padding: 0 14px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 16px;
  border: 1px solid rgba(244, 241, 228, 0.22);
  border-radius: 0;
}
textarea.field__input { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field__input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.field__error { font-size: 13px; color: #ff8a7a; }
.field.is-invalid .field__input { border-color: #ff8a7a; }
.field:not(.is-invalid) .field__error { display: none; }

.contact-form__submit { align-self: flex-start; padding: 15px 36px; }

/* Success state */
.contact-sent { padding: 48px 40px; display: flex; flex-direction: column; gap: 18px; }
.contact-sent[hidden] { display: none; }
.contact-sent__title {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 44px;
  line-height: 1;
  margin: 0;
}
.contact-sent__text { font-size: 17px; line-height: 1.6; color: var(--color-text-muted); margin: 0; }
.contact-sent .btn { align-self: flex-start; margin-top: 8px; }

/* Map + details */
.contact-aside { display: flex; flex-direction: column; gap: 24px; }
.contact-map { aspect-ratio: 16 / 10; }
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Divergence from the export, which filtered the map to a dark grey negative
     (grayscale, invert, contrast) to sit in the palette. It is shown in Google's own
     colours instead, so it reads as a map. */
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.contact-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-card__body { font-size: 16px; line-height: 1.6; color: #e4e3d8; margin: 0; }
.contact-card__links { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; }
.contact-card__links a { color: #e4e3d8; }
.contact-card__links a:hover { color: var(--color-accent); }

@media (max-width: 760px) {
  .contact-hero__title { margin-bottom: 48px; }
  .contact-grid { gap: 48px; }
}

/* Divergence from the export: the honeypot. The export's form posted nowhere, so it
   had no spam to catch. A field no person sees — off-screen rather than display:none,
   which some bots know to skip. See .scratch/contact-page/spec.md. */
.contact-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
