/* ==========================================================================
   Ears to Hear, Inc. — e2hear.com
   Brand: #0F1C2C navy · #52697D slate · #B1946D gold
   Type:  Cormorant Garamond (display) · Montserrat (body)
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  --navy:        #0F1C2C;
  --navy-700:    #16293C;
  --navy-600:    #1E3448;
  --slate:       #52697D;
  --slate-300:   #90A3B3;
  --gold:        #B1946D;
  --gold-200:    #D6C1A3;
  --gold-ink:    #7E6540;   /* AA-safe gold for text on light surfaces */
  --sand:        #E8DFD2;
  --paper:       #FAF8F4;
  --paper-2:     #F2EDE4;
  --ink:         #16212C;
  --ink-soft:    #4C5B6A;
  --line:        #E2DACD;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap:    1140px;
  --wrap-sm: 760px;
  --gutter:  clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);

  --radius:   14px;
  --radius-sm: 8px;
  --shadow:   0 1px 2px rgba(15, 28, 44, .05), 0 12px 32px -12px rgba(15, 28, 44, .14);
  --shadow-lg:0 2px 4px rgba(15, 28, 44, .06), 0 28px 60px -20px rgba(15, 28, 44, .26);
  --ease:     cubic-bezier(.22, .61, .36, 1);
}

/* --- 2. Reset & base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* in-page anchors must clear the fixed header */
  scroll-padding-top: 120px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0125rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Author `display` rules beat the browser's [hidden] rule, so restate it.
   Without this the spam honeypot field and the empty contact rows show up. */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.35rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.05rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.62rem); }
p  { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: #fff; }

/* Visible, consistent focus — non-negotiable for an accessibility-minded org */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 999; background: var(--navy); color: #fff;
  padding: .85rem 1.5rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- 3. Layout primitives ------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
/* margin-inline is repeated here so .wrap--narrow also centres when used on its
   own (as a narrow intro block nested inside a full .wrap). */
.wrap--narrow { max-width: var(--wrap-sm); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.section--paper2 { background: var(--paper-2); }
.section--navy   { background: var(--navy); color: #E9E3D8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--slate  { background: var(--slate); color: #fff; }
.section--slate h2 { color: #fff; }

/* Explicit column counts rather than auto-fit, so a 4th or 6th card never
   ends up orphaned in a row of its own. */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); } }

.stack > * + * { margin-top: 1.15em; }
.center { text-align: center; }
.center p { margin-inline: auto; }

/* --- 4. Brand text elements ---------------------------------------------- */
.eyebrow {
  font-size: .715rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-ink);
  margin: 0 0 1.1rem; display: block;
}
.section--navy .eyebrow, .section--slate .eyebrow { color: var(--gold-200); }

/* The "— INC. —" divider from the logo, reused as a section rule */
.rule {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.75rem 0; color: var(--gold);
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.rule--center { justify-content: center; }
.rule__mark { font-size: 1.1rem; line-height: 1; }

.lede {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.68; color: var(--ink-soft); font-weight: 400;
}
.section--navy .lede, .section--slate .lede { color: #D5CFC4; }
.section--slate .lede { color: #EDE8E0; }

.headline-serif-accent { font-style: italic; color: var(--gold-ink); }
.section--navy .headline-serif-accent { color: var(--gold-200); }

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 1.05rem 1.9rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--primary:hover { background: #9d8159; border-color: #9d8159; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(177,148,109,.8); }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-600); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(15,28,44,.28); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(15,28,44,.04); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.09); transform: translateY(-2px); }
.btn--sm { padding: .72rem 1.35rem; font-size: .72rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); text-decoration: none;
  border-bottom: 1px solid rgba(126,101,64,.35); padding-bottom: .18rem;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: .8rem; border-color: var(--gold-ink); }
.link-arrow::after { content: "→"; font-size: 1em; }
.section--navy .link-arrow { color: var(--gold-200); border-color: rgba(214,193,163,.4); }

/* --- 6. Header -----------------------------------------------------------
   Transparent and overlaid on the hero, so the navy runs unbroken to the very
   top of the page — no light bar sitting on a dark block. It condenses into a
   solid navy bar once you scroll past the hero. Pattern used by Operation
   Smile, MSF and charity: water, adapted for a flat-colour hero.
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
/* Soft scrim: keeps the nav legible if a photograph is dropped into the hero. */
.site-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(15, 28, 44, .5), rgba(15, 28, 44, 0));
  transition: opacity .35s var(--ease);
}
.site-header.is-solid {
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(214, 193, 163, .16), 0 12px 34px -20px rgba(0, 0, 0, .85);
}
.site-header.is-solid::before { opacity: 0; }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 112px;
  transition: min-height .35s var(--ease);
  /* must sit above the ::before scrim, or the logo and nav get dimmed by it */
  position: relative; z-index: 1;
}
.is-solid .site-header__inner { min-height: 78px; }

/* The supplied lockup sets the ear glyph hard against the E of EARS, which at a
   glance reads "PEARS to Hear". Mark and wordmark ship as separate images so the
   optical gap is set here, and stays correct at every size. */
.brand {
  display: inline-flex; align-items: center; flex-shrink: 0;
  --logo-h: 76px;
  gap: calc(var(--logo-h) * .30);
  transition: gap .35s var(--ease);
}
.brand__mark { height: var(--logo-h); width: auto; transition: height .35s var(--ease); }
/* 1.279 is the mark:wordmark height ratio in the original stacked lockup */
.brand__word { height: calc(var(--logo-h) / 1.279); width: auto; transition: height .35s var(--ease); }

.is-solid .brand { --logo-h: 50px; }
@media (max-width: 1024px) { .brand { --logo-h: 62px; } .is-solid .brand { --logo-h: 46px; } }
@media (max-width: 560px)  { .brand { --logo-h: 50px; } .is-solid .brand { --logo-h: 42px; } }
/* below this the wordmark would be unreadable — show the mark alone */
@media (max-width: 400px)  { .brand__word { display: none; } .brand { --logo-h: 46px; } }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.1rem); }
.nav__link {
  font-size: .78rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; color: rgba(255, 255, 255, .84); padding: .4rem 0;
  position: relative; transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: var(--gold-200); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; font-weight: 600; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .6rem; margin-right: -.6rem; color: #fff;
}
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--navy);
    flex-direction: column; justify-content: center; gap: 1.7rem;
    padding: 7rem var(--gutter) 4rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
    overflow-y: auto; z-index: 1;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav__link { font-size: 1.1rem; letter-spacing: .16em; color: #CFC8BC; }
  .nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
  .nav .btn { margin-top: 1rem; padding: 1.05rem 2.6rem; }
  body.nav-open { overflow: hidden; }
  /* while the menu is open the bar itself must be opaque, not see-through */
  body.nav-open .site-header { background: var(--navy); }
  body.nav-open .site-header::before { opacity: 0; }
}

/* --- 7. Hero -------------------------------------------------------------
   Layered: optional photograph → gradient scrim → arc motif → content.
   Padding-top clears the fixed header.
   ------------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--navy); color: #E9E3D8; overflow: hidden;
  padding-block: clamp(9.5rem, 17vw, 14rem) clamp(5rem, 10vw, 8rem);
}

/* Drop a photo in here (see README §7) and it sits behind everything. */
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* Scrim: dark enough on the left that white text always clears AA, fading
   right so a photograph still reads. Works over flat navy too. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(15,28,44,.97) 0%, rgba(15,28,44,.92) 42%, rgba(15,28,44,.72) 70%, rgba(15,28,44,.62) 100%),
    radial-gradient(120% 120% at 80% 15%, rgba(82,105,125,.5) 0%, rgba(15,28,44,0) 60%);
}
.hero__grid {
  position: relative; z-index: 3;
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
}
.hero__inner { max-width: 34rem; }
.hero h1 { color: #fff; margin-bottom: .38em; letter-spacing: -.012em; }
.hero__tagline {
  font-size: .76rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-200); margin: 0 0 1.5rem;
}
.hero .lede { color: #CFC9BE; max-width: 33rem; }

.hero__watermark {
  position: absolute; z-index: 2; right: -14%; top: 50%; translate: 0 -50%;
  width: min(62vw, 720px); aspect-ratio: 1; opacity: .34; pointer-events: none;
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__inner { max-width: 38rem; }
  .hero__watermark { right: -30%; opacity: .2; }
}

.arc { fill: none; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .arc { animation: pulse 5.5s var(--ease) infinite; }
  .arc:nth-child(2) { animation-delay: .5s; }
  .arc:nth-child(3) { animation-delay: 1s; }
  .arc:nth-child(4) { animation-delay: 1.5s; }
  @keyframes pulse {
    0%, 100% { opacity: .32; }
    45%      { opacity: .95; }
  }
}

/* --- 7b. Hero giving card ------------------------------------------------
   The charity: water pattern — let someone start a gift without leaving the
   first screen. Degrades to a plain link through to give.html.
   ------------------------------------------------------------------------- */
.give-card {
  background: rgba(255, 255, 255, .975);
  border-radius: 18px;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 34px 70px -28px rgba(0, 0, 0, .8);
  width: 100%; max-width: 400px; justify-self: end;
}
@media (max-width: 980px) { .give-card { justify-self: start; margin-top: .5rem; } }

.give-card__title {
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15;
  color: var(--navy); margin: 0 0 1.15rem;
}
.give-card__toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--paper-2); border-radius: 999px; padding: 4px; margin-bottom: 1rem;
}
.give-card__toggle button {
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border: 0; background: transparent; color: var(--ink-soft);
  padding: .68rem .5rem; border-radius: 999px; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.give-card__toggle button[aria-pressed="true"] {
  background: var(--navy); color: #fff;
}
.give-card__amounts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; margin-bottom: 1.2rem;
}
.give-card__amounts button {
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 500;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  color: var(--navy); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: .75rem .5rem; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.give-card__amounts button:hover { border-color: var(--gold); }
.give-card__amounts button[aria-pressed="true"] {
  border-color: var(--gold); background: var(--gold); color: #fff;
}
.give-card__amounts button[data-amount="other"] {
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.give-card .btn { width: 100%; }
.give-card__note {
  font-size: .78rem; color: var(--ink-soft); margin: .95rem 0 0; text-align: center;
}
.give-card__note a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }

/* --- 8. Cards ------------------------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sand); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-soft); font-size: .955rem; margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px; margin-bottom: 1.25rem; color: var(--gold);
  stroke: currentColor; fill: none; stroke-width: 1.4;
}
.section--paper2 .card { background: var(--paper); }
.section--navy .card {
  background: var(--navy-700); border-color: rgba(214,193,163,.16);
}
.section--navy .card:hover { border-color: rgba(214,193,163,.4); }
.section--navy .card p { color: #C2BBAF; }
.section--navy .card__icon { color: var(--gold-200); }

/* Numbered process steps */
.step { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display); font-size: 2.9rem; line-height: 1;
  color: var(--gold); opacity: .85; display: block; margin-bottom: .7rem;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-soft); font-size: .955rem; }
.section--navy .step { border-top-color: rgba(214,193,163,.22); }
.section--navy .step__num { color: var(--gold-200); }
.section--navy .step p { color: #C2BBAF; }

/* --- 9. Scripture band --------------------------------------------------- */
.verse { text-align: center; }
.verse blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.85rem, 4.6vw, 3.1rem); line-height: 1.24;
  letter-spacing: .01em; color: #fff; text-wrap: balance;
}
.verse cite {
  display: block; margin-top: 1.6rem; font-family: var(--font-body); font-style: normal;
  font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

/* --- 10. Split feature --------------------------------------------------- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.split__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-items: center; padding: clamp(2rem, 5vw, 3.5rem); min-height: 280px;
}
.split__media img { width: min(320px, 78%); }
.split__media--navy { background: var(--navy); border-color: var(--navy); }

/* --- 11. Stats / the need ------------------------------------------------ */
.stat { }
.stat__figure {
  font-family: var(--font-display); font-weight: 500; line-height: 1;
  font-size: clamp(2.8rem, 6vw, 4rem); color: var(--gold-200);
  display: block; margin-bottom: .5rem;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.stat__label { font-size: .95rem; color: #C2BBAF; margin: 0; }
.source-note {
  font-size: .76rem; letter-spacing: .04em; color: rgba(255,255,255,.5);
  margin-top: 2.75rem; margin-bottom: 0;
}
.source-note a { color: inherit; }

/* --- 12. Giving tiers ---------------------------------------------------- */
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.25rem); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier--featured { border-color: var(--gold); box-shadow: var(--shadow); position: relative; }
.tier--featured::before {
  content: "Most common"; position: absolute; top: -.72rem; left: 50%; translate: -50% 0;
  background: var(--gold); color: #fff; font-size: .62rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; padding: .32rem .85rem; border-radius: 999px;
}
.tier__amount {
  font-family: var(--font-display); font-size: 2.7rem; line-height: 1;
  color: var(--navy); margin-bottom: .6rem;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.tier p { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.tier .btn { margin-top: 1.5rem; width: 100%; }

/* --- 13. Forms ----------------------------------------------------------- */
.form { display: grid; gap: 1.35rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.field .hint { font-size: .82rem; color: var(--ink-soft); letter-spacing: 0; text-transform: none; font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .9rem 1rem; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sand); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(177,148,109,.18); outline: none;
}
.field--row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.35rem; }
.required { color: var(--gold-ink); }
.form__status {
  border-radius: var(--radius-sm); padding: .95rem 1.15rem; font-size: .92rem;
  margin: 0; display: none;
}
.form__status.is-visible { display: block; }
.form__status[data-state="ok"]    { background: #EDF3EE; border: 1px solid #C6DACB; color: #2C5138; }
.form__status[data-state="error"] { background: #FBEFEC; border: 1px solid #EBCDC4; color: #8A3D28; }

/* --- 14. FAQ / disclosure ------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .35rem; top: 50%; translate: 0 -50%;
  font-size: 1.5rem; color: var(--gold); transition: transform .25s var(--ease);
  font-family: var(--font-body); font-weight: 300;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 2.5rem 1.6rem 0; }
.faq p { color: var(--ink-soft); font-size: .96rem; }

/* --- 15. Partner logos / list -------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink-soft); font-size: .97rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 11px;
  border: 1.5px solid var(--gold); border-radius: 50%;
}
.section--navy .checklist li { color: #C2BBAF; }
.section--navy .checklist li::before { border-color: var(--gold-200); }

/* --- 16. CTA band -------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lede { max-width: 46ch; margin-inline: auto; }

/* --- 17. Footer ---------------------------------------------------------- */
.site-footer { background: var(--navy); color: #A9A196; padding-block: clamp(3.5rem, 7vw, 5rem) 2.25rem; }
/* When a navy CTA band runs straight into the navy footer, close the seam so
   the two don't read as one enormous empty block. */
.section--navy:has(+ .site-footer) { padding-bottom: clamp(3rem, 5vw, 4rem); }
.section--navy + .site-footer { padding-top: clamp(3rem, 5vw, 4rem); }
.section--navy + .site-footer .site-footer__grid {
  border-top: 1px solid rgba(214, 193, 163, .16);
  padding-top: clamp(3rem, 5vw, 4rem);
}
.site-footer__grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  /* minmax(0, …) throughout: fixed minimums here overflowed phone viewports */
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  padding-bottom: 3rem; border-bottom: 1px solid rgba(214,193,163,.16);
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 460px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer-brand { --logo-h: 64px; margin-bottom: 1.5rem; }
@media (max-width: 560px) { .footer-brand { --logo-h: 54px; } }
.site-footer h4 {
  font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-200); margin: 0 0 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.site-footer a { color: #C2BBAF; text-decoration: none; font-size: .93rem; transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .93rem; color: #A9A196; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  align-items: center; padding-top: 1.75rem; font-size: .8rem; color: #7E7972;
}
.footer-bottom a { font-size: .8rem; color: #7E7972; }
.footer-legal { max-width: 62ch; font-size: .8rem; line-height: 1.6; color: #7E7972; margin: 1.75rem 0 0; }

/* --- 18. Page header (interior pages) ------------------------------------ */
.page-head {
  background: var(--navy); color: #CFC9BE; position: relative; overflow: hidden;
  padding-block: clamp(9rem, 15vw, 12rem) clamp(3.5rem, 7vw, 5.5rem);
}
.page-head__inner { position: relative; z-index: 2; max-width: 40rem; }
.page-head h1 { color: #fff; font-size: clamp(2.35rem, 5.2vw, 3.5rem); }
.page-head .lede { color: #C2BBAF; margin-bottom: 0; }
.page-head__watermark {
  position: absolute; right: -6%; top: 50%; translate: 0 -50%;
  width: min(46vw, 470px); aspect-ratio: 1; opacity: .3; z-index: 1; pointer-events: none;
}
@media (max-width: 760px) { .page-head__watermark { opacity: .16; right: -20%; } }

/* --- 19. Prose (policy pages) -------------------------------------------- */
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.75rem; }
.prose h3 { font-size: 1.22rem; margin-top: 2rem; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.35rem; margin: 0 0 1.15em; max-width: 68ch; }
.prose li { margin-bottom: .5rem; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }

/* --- 20. Scroll reveal --------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  [data-reveal].is-visible { opacity: 1; transform: none; }
  [data-reveal][data-delay="1"] { transition-delay: .09s; }
  [data-reveal][data-delay="2"] { transition-delay: .18s; }
  [data-reveal][data-delay="3"] { transition-delay: .27s; }
}

/* --- 21. Print ----------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .hero__watermark, .page-head__watermark, .btn-row { display: none; }
  body { background: #fff; color: #000; }
  .section--navy, .section--slate, .page-head, .hero { background: #fff !important; color: #000 !important; }
  .section--navy h2, .page-head h1, .hero h1 { color: #000 !important; }
}

/* --- 22. Journey: the four-step model as a connected timeline -------------
   Replaces four disconnected cards with one visual sequence — the numbers sit
   on a single hairline so the eye reads it as a process, not a list.
   ------------------------------------------------------------------------- */
.journey {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
}
.journey__step { position: relative; padding-top: 4.25rem; }
/* the connecting rail, drawn once behind the numbers */
.journey__step::before {
  content: ""; position: absolute; top: 21px; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, var(--gold-200), var(--gold-200));
  opacity: .38;
}
.journey__step:first-child::before { left: 21px; }
.journey__step:last-child::before  { right: calc(100% - 21px); }
.journey__num {
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.18rem; line-height: 1;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  color: var(--navy); background: var(--gold-200);
  border: 1px solid var(--gold-200);
  z-index: 1;
}
.section--navy .journey__num { background: var(--gold); color: #fff; border-color: var(--gold); }
.journey__step h3 { margin-bottom: .5rem; }
.journey__step p  { color: var(--ink-soft); font-size: .94rem; margin: 0; }
.section--navy .journey__step p { color: #C2BBAF; }

@media (max-width: 1000px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .journey__step:nth-child(2)::before { right: calc(100% - 21px); }
  .journey__step:nth-child(3)::before { left: 21px; }
}
@media (max-width: 640px) {
  /* vertical rail on phones */
  .journey { grid-template-columns: minmax(0, 1fr); row-gap: 2.75rem; }
  .journey__step { padding-top: 0; padding-left: 4rem; }
  .journey__step::before {
    top: 42px; bottom: -2.75rem; left: 21px; right: auto; width: 1px; height: auto;
  }
  .journey__step:last-child::before { display: none; }
  .journey__step:first-child::before,
  .journey__step:nth-child(2)::before,
  .journey__step:nth-child(3)::before { left: 21px; right: auto; }
}

/* --- 23. Emblem panel ----------------------------------------------------
   A designed brand panel for the split layouts — the logo sitting in a plain
   bordered box read as a placeholder rather than a decision.
   ------------------------------------------------------------------------- */
.emblem {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(130% 110% at 50% -10%, #21384E 0%, var(--navy-700) 45%, var(--navy) 100%);
  min-height: clamp(340px, 42vw, 460px);
  display: grid; place-items: center; align-content: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(214, 193, 163, .14);
}
.emblem__arcs {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 150%; aspect-ratio: 1; opacity: .34; pointer-events: none;
}
.emblem__logo { position: relative; width: min(215px, 58%); }
.emblem__tag {
  position: relative; margin: 1.9rem 0 0;
  font-size: .66rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-200);
}
.emblem--light {
  background: radial-gradient(130% 110% at 50% -10%, #FFFFFF 0%, var(--paper) 45%, var(--paper-2) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.emblem--light .emblem__tag { color: var(--gold-ink); }
