/* ==========================================================================
   WOODHEAD LAND
   A single, restrained stylesheet for one responsive page.
   Brand constraints: Georgia + Georgia Italic only. Ink Navy, Manila, Paper
   White only. No drop shadows or effects on any mark. Animations exist only
   where they earn their place — to guide attention, never to entertain.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1.  Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink-navy: #1E2B47;
  --manila:   #E8DCC0;
  --paper:    #FFFFFF;

  --navy-12:   rgba(30, 43, 71, 0.12);
  --navy-20:   rgba(30, 43, 71, 0.20);
  --navy-40:   rgba(30, 43, 71, 0.40);
  --navy-60:   rgba(30, 43, 71, 0.60);
  --navy-80:   rgba(30, 43, 71, 0.80);
  --manila-12: rgba(232, 220, 192, 0.12);
  --manila-20: rgba(232, 220, 192, 0.20);
  --manila-40: rgba(232, 220, 192, 0.40);
  --manila-70: rgba(232, 220, 192, 0.70);

  --serif: Georgia, 'Times New Roman', Times, serif;
  --track-heading: 0.18em;
  --track-label:   0.22em;

  --fs-display: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  --fs-h1:      clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  --fs-h2:      clamp(1.5rem, 1.05rem + 1.8vw, 2.25rem);
  --fs-h3:      clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem);
  --fs-lede:    clamp(1.0625rem, 0.95rem + 0.6vw, 1.3125rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
  --fs-small:   0.8125rem;
  --fs-label:   0.75rem;

  --section-y: clamp(4rem, 5vw + 2rem, 8rem);
  --gutter:    clamp(1.25rem, 1rem + 2vw, 3rem);
  --max:       1200px;
  --narrow:    760px;

  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur-s:     200ms;
  --dur-m:     420ms;
  --dur-l:     760ms;
}

/* --------------------------------------------------------------------------
   2.  Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--serif);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-navy);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--ink-navy); color: var(--manila); }

:focus-visible {
  outline: 2px solid var(--ink-navy);
  outline-offset: 3px;
}
.on-navy :focus-visible,
.contact :focus-visible { outline-color: var(--manila); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-navy); color: var(--manila);
  padding: 0.75rem 1rem;
  font-size: var(--fs-small);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------------------------
   3.  Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .tracked {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: var(--track-heading);
  font-weight: 400;
  color: var(--ink-navy);
  line-height: 1.2;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 0.16em; }

p { font-family: var(--serif); line-height: 1.7; }
em, i, .italic { font-style: italic; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--navy-60);
  margin-bottom: 1.25rem;
}
.contact .eyebrow,
.on-navy .eyebrow { color: var(--manila-70); }

.lede {
  font-style: italic;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--ink-navy);
  max-width: 48ch;
}
.contact .lede,
.on-navy .lede { color: var(--manila); }

/* --------------------------------------------------------------------------
   4.  Layout utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--narrow); }

.section { padding-block: var(--section-y); }
.section--manila { background: var(--manila); }
.section--paper  { background: var(--paper); }
.section--navy   { background: var(--ink-navy); color: var(--manila); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--manila); }
.section--navy p { color: var(--manila); }

.on-navy a { color: var(--manila); }
.on-navy a:hover { color: var(--paper); }

/* Diamond rule — echoes the mark in the stacked wordmark */
.rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-block: 1.5rem;
  color: var(--navy-40);
}
.rule::before, .rule::after {
  content: '';
  height: 1px;
  flex: 1 1 0;
  max-width: 4rem;
  background: currentColor;
}
.rule__diamond {
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: currentColor;
  flex: 0 0 auto;
}
.on-navy .rule,
.contact .rule { color: var(--manila-40); }

.rule--centred { justify-content: center; }
.rule--left::before { display: none; }

/* --------------------------------------------------------------------------
   5.  Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.75rem;
  min-height: 48px;
  font-family: var(--serif);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink-navy);
  transition:
    background-color var(--dur-m) var(--ease),
    color var(--dur-m) var(--ease),
    letter-spacing var(--dur-m) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink-navy);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur-m) var(--ease-out);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn:hover { color: var(--manila); letter-spacing: 0.26em; }
.btn:hover::after { transform: scaleY(1); }

.btn--primary { background: var(--ink-navy); color: var(--manila); border-color: var(--ink-navy); }
.btn--primary::after { background: var(--manila); transform-origin: bottom; }
.btn--primary:hover { color: var(--ink-navy); }

.btn--on-navy { border-color: var(--manila); color: var(--manila); }
.btn--on-navy::after { background: var(--manila); }
.btn--on-navy:hover { color: var(--ink-navy); }

/* Quiet link — underlined, not a box */
.link {
  display: inline-block;
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: inherit;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur-m) var(--ease);
}
.link:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* --------------------------------------------------------------------------
   6.  Motion primitives
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-l) var(--ease-out),
    transform var(--dur-l) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 80ms; }
.reveal--d2 { transition-delay: 160ms; }
.reveal--d3 { transition-delay: 240ms; }
.reveal--d4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; transform: none; opacity: 1; }
}

/* --------------------------------------------------------------------------
   7.  Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(72svh, 620px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--manila);
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform-origin: center 38%;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}

/* JS adds .hero__media--loading while the image decodes; removed once shown */
.hero__media--loading img {
  opacity: 0;
  animation-play-state: paused;
  transition: opacity 0.7s var(--ease-out);
}
.hero__media--loading img.is-loaded {
  opacity: 1;
  animation-play-state: running;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.00); }
}

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(30, 43, 71, 0.72) 0%,
      rgba(30, 43, 71, 0.30) 38%,
      rgba(30, 43, 71, 0.36) 62%,
      rgba(30, 43, 71, 0.86) 100%);
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: clamp(1.25rem, 2vw, 2rem) var(--gutter);
}
.hero__mark { display: inline-block; width: clamp(54px, 6vw, 84px); line-height: 0; }
.hero__mark img { width: 100%; height: auto; }

.hero__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  color: var(--manila);
}
.hero__nav a { color: var(--manila); }

.hero__body {
  align-self: center;
  padding: var(--gutter);
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__wordmark {
  width: clamp(96px, 10vw, 140px);
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 0;
}
.hero__wordmark img { width: 100%; height: auto; }

.hero__hook {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: var(--track-heading);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1.08;
  color: var(--manila);
  max-width: 18ch;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}
.hero__sub {
  font-style: italic;
  font-size: var(--fs-lede);
  color: var(--manila);
  max-width: 44ch;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.hero__foot {
  padding: clamp(1rem, 2vw, 1.5rem) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-small);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--manila-70);
  border-top: 1px solid var(--manila-20);
}
.hero__foot-places { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.hero__foot-places span { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero__foot-places span + span::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--manila-40);
  transform: rotate(45deg);
  display: inline-block;
  margin-right: 0.6rem;
}
.hero__scroll { display: inline-flex; align-items: center; gap: 0.75rem; }
.hero__scroll::after {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  animation: scrollLine 2.4s var(--ease) infinite;
  transform-origin: left;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.2); opacity: 0.35; }
  50%      { transform: scaleX(1);   opacity: 1; }
}

@media (max-width: 720px) {
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__nav .link--hide-sm { display: none; }
  .hero__hook { max-width: 20ch; }
  .hero__foot-places { display: none; }
}

/* --------------------------------------------------------------------------
   8.  Section — What is Land Promotion
   -------------------------------------------------------------------------- */
.model__heading { margin-bottom: clamp(2rem, 4vw, 3rem); }
.model__heading h2 { margin-bottom: 1rem; }

.model__lede {
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.5rem);
  font-style: italic;
  color: var(--ink-navy);
  max-width: 54ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  line-height: 1.55;
}

/* Three-column callout grid */
.model__callouts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--navy-20);
}

.model__callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--navy-20);
}

@media (min-width: 760px) {
  .model__callouts {
    grid-template-columns: repeat(3, 1fr);
    border-top: none;
  }
  .model__callout {
    border-bottom: none;
    padding-block: clamp(2.5rem, 4vw, 3.5rem);
  }
  .model__callout:not(:last-child) {
    border-right: 1px solid var(--navy-20);
  }
}

/* Bespoke SVG icon */
.model__icon {
  width: 72px;
  height: 72px;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  flex-shrink: 0;
}
.model__icon svg { width: 100%; height: 100%; }

.model__statement {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.5rem);
  font-style: italic;
  font-weight: normal;
  color: var(--ink-navy);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.model__support {
  display: block;
  font-size: var(--fs-small);
  color: var(--navy-60);
  letter-spacing: 0.01em;
  line-height: 1.55;
}

/* Closing summary — emphatic, centred */
.model__close-wrap {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.model__close {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.25rem);
  font-style: italic;
  font-weight: normal;
  color: var(--ink-navy);
  line-height: 1.2;
}

/* Tooltip on "option payment" */
.term {
  border-bottom: 1px dotted var(--navy-40);
  cursor: help;
  position: relative;
}
.term::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-navy);
  color: var(--manila);
  font-family: var(--serif);
  font-size: var(--fs-small);
  font-style: normal;
  line-height: 1.45;
  padding: 0.45rem 0.65rem;
  width: max-content;
  max-width: min(240px, 75vw);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-s) var(--ease);
  z-index: 20;
  white-space: normal;
  text-align: center;
}
.term:hover::after,
.term:focus::after { opacity: 1; }

/* --------------------------------------------------------------------------
   9.  Values — why landowners choose Woodhead Land
   -------------------------------------------------------------------------- */
.values { background: var(--manila); }

.values .eyebrow { display: block; text-align: center; }

.values__heading {
  color: var(--ink-navy);
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.values__grid { display: grid; grid-template-columns: 1fr; }

.values__point { padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.values__point + .values__point { border-top: 1px solid var(--navy-20); }

@media (min-width: 880px) {
  .values__grid { grid-template-columns: repeat(4, 1fr); }
  .values__point {
    padding-block: 0;
    padding-inline: clamp(1.25rem, 2vw, 2rem);
  }
  .values__point:first-child { padding-left: 0; }
  .values__point:last-child  { padding-right: 0; }
  .values__point + .values__point { border-top: none; border-left: 1px solid var(--navy-20); }
}

.values__label {
  display: block;
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--navy-60);
  margin-bottom: 0.85rem;
}

.values__body {
  font-style: italic;
  color: var(--ink-navy);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. Process
   -------------------------------------------------------------------------- */
.process__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.process__head p { margin: 0 auto; }

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 3vw, 3rem);
}
@media (min-width: 760px)  { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process__grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }

.step {
  position: relative;
  padding: 2rem 0;
  border-top: 1px solid var(--navy-20);
}
@media (min-width: 1080px) {
  .step { border-top: none; padding: 0.5rem 1.75rem; }
  .step + .step { border-left: 1px solid var(--navy-20); }
  .step:first-child { padding-left: 0; }
  .step:last-child  { padding-right: 0; }
}

.step__roman {
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--navy-60);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.step__roman::after {
  content: '';
  flex: 1 1 0;
  height: 1px;
  background: var(--navy-20);
}
.step__num { font-style: italic; color: var(--ink-navy); }
.step h3 { font-size: var(--fs-h3); margin-bottom: 0.75rem; }
.step p { color: var(--ink-navy); max-width: 32ch; }

/* Process sits on navy: invert hairlines and step-label tones */
#process .step       { border-top-color: var(--manila-20); }
#process .step p     { color: var(--manila); }
#process .step__roman { color: var(--manila-70); }
#process .step__roman::after { background: var(--manila-20); }
#process .step__num  { color: var(--manila); }
@media (min-width: 1080px) {
  #process .step + .step { border-left-color: var(--manila-20); }
}

/* --------------------------------------------------------------------------
   11. Parishes (subtle supporting section)
   -------------------------------------------------------------------------- */
.parishes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 880px) { .parishes__grid { grid-template-columns: 0.9fr 1.1fr; } }

.parishes h2 { margin-bottom: 1rem; }
.parishes p.lede { margin-bottom: 1rem; }
.parishes__note {
  font-style: italic;
  color: var(--navy-60);
  max-width: 50ch;
  margin-top: 1.25rem;
}

/* The map reads as a small cartographic plate: a tonal Manila wash stands
   in for the sea, a hairline Navy rule frames the plate, and the printed
   land sits inside a margin of breathing room. */
.parishes__map {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  padding: clamp(0.9rem, 2vw, 1.5rem);
  background: var(--manila-12);
  border: 1px solid var(--navy-12);
  box-sizing: border-box;
}
.parishes__map .counties-map__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.parishes__map .county {
  fill: var(--manila);
  stroke: var(--ink-navy);
  stroke-opacity: 0.28;
  stroke-width: 0.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  /* Motion: context land fades up as the map scrolls into view. The
     initial state lives here; .is-in-view on the parent group below
     transitions to full opacity. */
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Manila hairlines on the Navy block read as engraved internal divisions
   between the five counties without fighting the silhouette. The fill
   starts at Manila so the highlighted counties land indistinguishable
   from their neighbours, then ink themselves in after a short beat. */
.parishes__map .county--highlight {
  fill: var(--manila);
  stroke: var(--manila);
  stroke-opacity: 0.22;
  stroke-width: 0.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    fill 1200ms cubic-bezier(0.22, 1, 0.36, 1) 400ms;
}
.counties-map__counties.is-in-view .county { opacity: 1; }
.counties-map__counties.is-in-view .county--highlight { fill: var(--ink-navy); }

@media (prefers-reduced-motion: reduce) {
  .parishes__map .county {
    opacity: 1;
    transition: none;
  }
  .parishes__map .county--highlight {
    fill: var(--ink-navy);
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   12. FAQ (subtle accordion)
   -------------------------------------------------------------------------- */
.faq__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--navy-20);
}
.faq__item { border-bottom: 1px solid var(--navy-20); }

.faq__trigger {
  width: 100%;
  padding: 1.5rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  font-family: var(--serif);
  font-size: var(--fs-body);
  letter-spacing: 0.04em;
  color: var(--ink-navy);
  transition: padding var(--dur-m) var(--ease);
}
.faq__trigger:hover { padding-inline: 0.6rem; }
.faq__question { font-style: italic; flex: 1 1 auto; }

.faq__icon { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink-navy);
  transition: transform var(--dur-m) var(--ease);
}
.faq__icon::before { width: 22px; height: 1px; }
.faq__icon::after  { width: 1px;  height: 22px; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }

.faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-m) var(--ease);
}
.faq__body-inner {
  padding: 0 0.25rem 1.75rem;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink-navy);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact { background: var(--ink-navy); color: var(--manila); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 4vw, 4rem);
}
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1.35fr 1fr; } }

.contact h2 { color: var(--manila); margin-bottom: 1rem; }
.contact p  { color: var(--manila); }
.contact .lede { color: var(--manila); margin-bottom: 1.75rem; }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--manila-70);
}
.field label .req { color: var(--manila); }
.field__optional {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--manila-40);
  margin-left: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--serif);
  font-size: var(--fs-body);
  color: var(--manila);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--manila-40);
  border-radius: 0;
  min-height: 48px;
  transition: border-color var(--dur-m) var(--ease), background-color var(--dur-m) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: var(--manila-40); font-style: italic; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--manila);
  background: var(--manila-12);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E8DCC0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-bottom-color: var(--manila); background: var(--manila-20); }

.form__error {
  display: none;
  padding: 0.9rem 1rem;
  border: 1px solid var(--manila-40);
  color: var(--manila);
  font-style: italic;
  font-size: var(--fs-small);
}
.form__error.is-visible { display: block; }

.form__submit {
  margin-top: 0.75rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: var(--manila);
  color: var(--ink-navy);
  font-family: var(--serif);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  border: 1px solid var(--manila);
  transition: background-color var(--dur-m) var(--ease), color var(--dur-m) var(--ease), letter-spacing var(--dur-m) var(--ease);
  cursor: pointer;
}
.form__submit:hover { background: transparent; color: var(--manila); letter-spacing: 0.26em; }
.form__submit:disabled { opacity: 0.6; cursor: not-allowed; letter-spacing: var(--track-label); }
.form__privacy {
  font-size: var(--fs-small);
  color: var(--manila-70);
  font-style: italic;
  margin-top: 0.5rem;
}

.form__success {
  display: none;
  padding: 2.5rem 1.75rem;
  border: 1px solid var(--manila-40);
  text-align: left;
}
.form__success.is-visible { display: block; }
.form__success h3 { color: var(--manila); margin-bottom: 0.75rem; }
.form__success p  { color: var(--manila); }

/* Letter-response card — the second entry point */
.letter-card {
  border: 1px solid var(--manila-40);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--manila-12);
}
.letter-card h3 { color: var(--manila); font-size: var(--fs-h3); letter-spacing: 0.16em; }
.letter-card p {
  font-style: italic;
  color: var(--manila);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.letter-card__seal { width: 56px; height: 56px; line-height: 0; }
.letter-card__seal img { width: 100%; height: 100%; }
.letter-card .btn { align-self: flex-start; }

.contact__mail {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--manila-20);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  font-size: var(--fs-small);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--manila-70);
}
.contact__mail a { color: var(--manila); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink-navy);
  color: var(--manila-70);
  border-top: 1px solid var(--manila-20);
  padding-block: 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem 2rem;
}
.footer__mark {
  grid-column: 2;
  justify-self: center;
  width: clamp(220px, 22vw, 320px);
  line-height: 0;
  display: inline-block;
}
.footer__mark img { width: 100%; height: auto; }
.footer__meta {
  grid-column: 1;
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  color: var(--manila-70);
}
.footer__meta a { color: var(--manila); }
.footer__attr {
  grid-column: 3;
  justify-self: end;
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--manila-40);
  max-width: 40ch;
  text-align: right;
}
@media (max-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__mark,
  .footer__meta,
  .footer__attr {
    grid-column: 1;
    justify-self: center;
  }
  .footer__meta { align-items: center; }
  .footer__attr { text-align: center; }
}

/* --------------------------------------------------------------------------
   15. Submit-land page (letter responders)
   -------------------------------------------------------------------------- */
.submit-page {
  background: var(--manila);
  color: var(--ink-navy);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.submit-page .submit-header {
  background: var(--ink-navy);
  border-bottom: 1px solid var(--manila-20);
  padding: clamp(1rem, 2vw, 1.5rem) var(--gutter);
}
.submit-page .submit-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.submit-page .site-logo {
  width: clamp(72px, 9vw, 100px);
  height: auto;
}
.submit-page .back-link {
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--manila-70);
}
.submit-page .back-link:hover { color: var(--manila); }

.submit-main {
  flex: 1 0 auto;
  padding-block: clamp(3rem, 5vw, 6rem);
}
.submit-main .container { max-width: var(--narrow); }
.submit-main .intro { margin-bottom: 3rem; }
.submit-main .intro h1 { margin-bottom: 1rem; font-size: var(--fs-h1); }
.submit-main .intro-text { font-style: italic; font-size: var(--fs-lede); max-width: 56ch; }

.submit-main .form .field label { color: var(--navy-60); }
.submit-main .form .field input,
.submit-main .form .field select,
.submit-main .form .field textarea {
  color: var(--ink-navy);
  border-bottom-color: var(--navy-40);
}
.submit-main .form .field input::placeholder,
.submit-main .form .field textarea::placeholder { color: var(--navy-40); }
.submit-main .form .field input:focus,
.submit-main .form .field select:focus,
.submit-main .form .field textarea:focus {
  border-bottom-color: var(--ink-navy);
  background: rgba(255, 255, 255, 0.45);
}
.submit-main .form__submit {
  background: var(--ink-navy);
  color: var(--manila);
  border-color: var(--ink-navy);
}
.submit-main .form__submit:hover { background: transparent; color: var(--ink-navy); }
.submit-main .form__privacy { color: var(--navy-60); }
.submit-main .field-hint {
  display: block;
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--navy-60);
  margin-top: 0.25rem;
}
.submit-main .form__success { border-color: var(--navy-40); }
.submit-main .form__success h3 { color: var(--ink-navy); }
.submit-main .form__success p  { color: var(--ink-navy); }
