/* ==========================================================================
   Ellaphun Mobile Notary — site stylesheet
   Brand: navy / royal blue / gold, drawn from the Ellaphun logo gradients.
   Single, deliberate light theme: a service brand must look identical
   for every client on every device, so color-scheme is pinned to light
   and every surface paints an explicit token value.
   ========================================================================== */

:root {
  color-scheme: light;

  /* --- Brand palette (sampled from the logo + presentation) --- */
  --navy-deep:  #061A47;
  --navy:       #0D2A6B;
  --navy-mid:   #14418F;
  --royal:      #1A5FC4;
  --royal-lite: #3E86DE;

  --gold-deep:  #8E6512;
  --gold:       #B9871F;
  --gold-mid:   #D2A33A;
  --gold-lite:  #EFC463;
  --gold-wash:  #FBF3DF;

  /* --- Neutrals, biased slightly blue so they belong to the palette --- */
  --paper:      #FFFFFF;
  --mist:       #F2F5FA;
  --mist-deep:  #E7EDF7;
  --line:       #D7E0EE;
  --line-soft:  #E9EEF6;
  --ink:        #0A1B3D;
  --ink-soft:   #26355A;
  --muted:      #55648A;

  --ok:         #1E7A4C;

  /* --- Type --- */
  /* Display face: a tight, heavy neo-grotesque. Archivo is the open-licence
     stand-in for Helvetica Now Display / Neue Haas Grotesk Display — same
     closed apertures, flat terminals, tall x-height, straight-legged K. */
  --font-display: "Archivo", "Helvetica Now Display", "Neue Haas Grotesk Display",
                  "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;

  --step--1: 0.9375rem;
  --step-0:  1.0625rem;
  --step-1:  clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  --step-2:  clamp(1.3rem, 1.15rem + 0.7vw, 1.65rem);
  --step-3:  clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
  --step-4:  clamp(2rem, 1.5rem + 2.3vw, 3.1rem);
  --step-5:  clamp(2.3rem, 1.6rem + 3.2vw, 3.75rem);

  /* --- Space + shape --- */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 64ch;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(6, 26, 71, .06), 0 2px 8px rgba(6, 26, 71, .05);
  --shadow-md: 0 4px 10px rgba(6, 26, 71, .07), 0 14px 32px rgba(6, 26, 71, .09);
  --shadow-lg: 0 10px 24px rgba(6, 26, 71, .10), 0 30px 60px rgba(6, 26, 71, .14);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.035em;
  /* Tracking this tight closes up the word spaces too, so give them back. */
  word-spacing: 0.09em;
}
h1 { font-size: var(--step-5); font-weight: 900; letter-spacing: -0.042em; }
h2 { font-size: var(--step-4); font-weight: 800; }
h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.022em; line-height: 1.16; }
h4 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--royal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-mid); }

:focus-visible {
  outline: 3px solid var(--gold-mid);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-sm); font-family: var(--font-display); font-weight: 600;
  text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); color: #fff; }

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

/* ------------------------------------------------------------- layout -- */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 820px; }

.section { padding-block: clamp(3rem, 7vw, 5.75rem); }
.section-tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy-deep); color: #E8EEFA; }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }

.stack { display: flex; flex-direction: column; }
.stack-xs { gap: .5rem; }  .stack-sm { gap: .85rem; }
.stack-md { gap: 1.35rem; } .stack-lg { gap: 2.25rem; }
.stack-xl { gap: clamp(2rem, 4vw, 3.25rem); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: var(--measure); }
.prose { max-width: var(--measure); color: var(--ink-soft); }
.prose p + p { margin-top: 1em; }
.center { text-align: center; margin-inline: auto; }

/* ------------------------------------------------- eyebrow + gold rule -- */
.eyebrow {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0;
}
.eyebrow::after {
  content: ""; flex: 1 1 auto; height: 2px; max-width: 72px;
  background: linear-gradient(90deg, var(--gold-mid), rgba(210,163,58,0));
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::before {
  content: ""; flex: 0 0 72px; height: 2px;
  background: linear-gradient(270deg, var(--gold-mid), rgba(210,163,58,0));
}
.section-navy .eyebrow { color: var(--gold-lite); }

/* The gold bar beneath ELLAPHUN in the logo, reused as a heading underline */
.gold-bar {
  width: 96px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-lite) 45%, var(--gold-mid));
}
.gold-bar-center { margin-inline: auto; }

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  line-height: 1.2; text-align: center; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-mid), var(--gold-lite));
  color: #3A2A04; border-color: var(--gold-mid);
  box-shadow: 0 6px 16px rgba(185, 135, 31, .3);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold), var(--gold-mid)); color: #3A2A04; }

.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); border-color: var(--navy); color: var(--navy); }

.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 78px; padding-block: .6rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { width: clamp(160px, 21vw, 212px); }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: none; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .55rem .7rem; cursor: pointer; color: var(--navy);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
}
.nav-toggle svg { width: 20px; height: 20px; }

.site-nav { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.5rem); }
.site-nav ul { display: flex; align-items: center; gap: clamp(.35rem, 1.4vw, 1.25rem); list-style: none; }
.site-nav a.nav-link {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--ink-soft); text-decoration: none; padding: .45rem .25rem;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.site-nav a.nav-link:hover { color: var(--navy); border-bottom-color: var(--gold-mid); }
.site-nav a.nav-link[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold-mid); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

/* The nav carries its own CTA for the mobile drawer; on desktop the one in
   .header-actions is the only one that should show. */
@media (min-width: 1001px) {
  .site-nav > .btn { display: none; }
  .brand { margin-right: .75rem; }
}
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--navy); text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--royal); }
.header-phone svg { width: 17px; height: 17px; flex: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem var(--gutter) 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a.nav-link {
    display: block; padding: .85rem .25rem; font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav a.nav-link:hover,
  .site-nav a.nav-link[aria-current="page"] { border-bottom-color: var(--line-soft); }
  .site-nav a.nav-link[aria-current="page"] { color: var(--royal); }
  .site-nav .btn { margin-top: 1rem; }
  .header-actions .header-phone { display: none; }
}
@media (max-width: 420px) {
  .header-actions .btn { display: none; }
}

/* --------------------------------------------------------------- hero -- */
/* Banner shell. The gradient below is the fallback ground: it shows while the
   background photo loads, and stays put if the photo is ever missing. */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 120% at 88% 0%, rgba(26,95,196,.55) 0%, rgba(13,42,107,0) 58%),
    linear-gradient(158deg, var(--navy) 0%, var(--navy-deep) 62%, #041234 100%);
  color: #E4EBF9;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
/* the elephant's arc from the logo, redrawn as an ambient ground line */
.hero::before {
  content: ""; position: absolute; inset: auto -10% -18% -10%; height: 70%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(210,163,58,.14), rgba(210,163,58,0) 70%);
  pointer-events: none; z-index: -1;
}

/* ------------------------------------------------- hero media + scrim -- */
/* .hero-bg holds the photo or the looping video; .hero-scrim is the blue
   wash over it. Both sit behind the content on their own z-index layers,
   so nothing inside the banner needs a z-index of its own. */
.hero-bg {
  position: absolute; inset: 0; z-index: -3; overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center 38%;
  display: block;
}
/* On a phone the banner is nearly square, so pull the crop toward the faces. */
@media (max-width: 760px) {
  .hero-bg img, .hero-bg video { object-position: 62% 34%; }
}

.hero-scrim {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    /* top band keeps the sticky header's white logo area clean */
    linear-gradient(180deg, rgba(4,16,44,.55) 0%, rgba(4,16,44,0) 32%),
    /* bottom band seals the banner against the section below it */
    linear-gradient(0deg, rgba(4,16,44,.62) 0%, rgba(4,16,44,0) 30%),
    /* The brand wash. It stays opaque under the copy on the left, then opens
       up sharply across the right third so faces keep their skin tone — a
       person under a 60% blue is a silhouette, not a client. */
    linear-gradient(104deg,
      rgba(6,26,71,.95)   0%,
      rgba(9,32,84,.90)  26%,
      rgba(14,50,124,.72) 46%,
      rgba(22,80,172,.44) 70%,
      rgba(44,112,200,.22) 100%),
    /* a single gold breath, so the blue never reads as cold */
    radial-gradient(70% 90% at 12% 108%, rgba(210,163,58,.18), rgba(210,163,58,0) 62%);
}
/* On a phone the copy runs full width, so the wash is heavy at the top where
   the headline sits and lifts toward the bottom, where the subject shows. */
@media (max-width: 760px) {
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4,16,44,.58) 0%, rgba(4,16,44,0) 28%),
      linear-gradient(0deg, rgba(4,16,44,.52) 0%, rgba(4,16,44,0) 26%),
      linear-gradient(176deg,
        rgba(6,26,71,.94)  0%,
        rgba(10,36,92,.88) 42%,
        rgba(18,66,150,.62) 74%,
        rgba(28,96,190,.38) 100%),
      radial-gradient(80% 60% at 50% 104%, rgba(210,163,58,.16), rgba(210,163,58,0) 65%);
  }
}

/* Video-specific: never let a paused/failed video show a control chrome. */
.hero-video { pointer-events: none; }
.hero-video::-webkit-media-controls { display: none !important; }

/* Marks the banner while the video has not been attached yet — the poster
   is doing the work, which is exactly what we want out of viewport. */
.hero-video[data-state="idle"] { opacity: 1; }
.hero-grid {
  position: relative; display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }

.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-lite); }
.hero-lede { font-size: var(--step-1); color: #C9D6EF; max-width: 54ch; }
.hero .eyebrow { color: var(--gold-lite); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .5rem .55rem; list-style: none;
  padding-top: .35rem;
}
.hero-trust li {
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: #DCE6F8; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-pill);
  padding: .4rem .85rem;
}

/* the white services card, echoing the trifold's right-hand panel */
.hero-card {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.15rem);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
}
.hero-card h2 { font-size: var(--step-2); }

/* -------------------------------------------------------- check lists -- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.check-list li {
  display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start;
  font-size: var(--step-0); color: var(--ink-soft);
}
.check-list li strong { color: var(--ink); font-weight: 600; }
.check-list .tick {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold-lite), var(--gold)); flex: none;
  box-shadow: 0 2px 5px rgba(142,101,18,.28); margin-top: 1px;
}
.check-list .tick svg { width: 13px; height: 13px; color: #fff; }

.check-list-blue .tick {
  background: transparent; border: 2px solid var(--royal); box-shadow: none;
}
.check-list-blue .tick svg { color: var(--royal); width: 12px; height: 12px; }

.section-navy .check-list li { color: #D3DDF1; }
.section-navy .check-list li strong { color: #fff; }

/* --------------------------------------------- trifold-style pill grid -- */
.panel-navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.panel-navy > .panel-title {
  color: #fff; text-align: center; margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
/* The h2 rule sets navy by default; inside the navy panel it must invert.
   Scoped to .panel-title so the gold .pill h3 headings are left alone. */
.panel-navy > .panel-title h2 { color: #fff; }
.pill-grid {
  display: grid; gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  list-style: none;
}
.pill {
  background: linear-gradient(180deg, #FFFFFF, #EDF1F9);
  border-radius: 34px; padding: 1.05rem 1.4rem; text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.14);
}
.pill h3 {
  font-size: .98rem; font-weight: 700; color: var(--gold-deep);
  letter-spacing: 0; margin-bottom: .2rem;
}
.pill p { font-size: .94rem; color: var(--ink-soft); line-height: 1.5; }

/* --------------------------------------------------------------- card -- */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: clamp(1.25rem, 2.6vw, 1.75rem);
  display: flex; flex-direction: column; gap: .6rem;
}
.card-raised { box-shadow: var(--shadow-sm); border-color: var(--line-soft); }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; }

/* Numbered cards — used only where the content is a genuine sequence */
.card-num { position: relative; padding-top: 2.6rem; }
.card-num .num {
  position: absolute; top: 1.15rem; left: clamp(1.25rem, 2.6vw, 1.75rem);
  font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  letter-spacing: .1em; color: var(--gold-deep);
}

.icon-card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, #EAF1FC, #D8E5F8); color: var(--royal); margin-bottom: .35rem;
}
.icon-card .icon svg { width: 23px; height: 23px; }

/* --------------------------------------------------------- notary seal -- */
.seal { width: clamp(120px, 15vw, 156px); height: auto; }
.seal-ring { animation: seal-in 1.1s ease-out both; transform-origin: 50% 50%; }
@keyframes seal-in { from { opacity: .25; transform: rotate(-9deg); } to { opacity: 1; transform: rotate(0); } }

/* ---------------------------------------------------------- team card -- */
.team-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.team-card > img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center 18%; background: var(--mist-deep); }
.team-card .team-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.team-card h3 { font-size: var(--step-1); }
.team-role {
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep);
}
.team-region {
  display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start;
  font-size: .8rem; font-weight: 600; font-family: var(--font-display);
  background: var(--mist); color: var(--ink-soft); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: .28rem .7rem;
}
.team-region svg { width: 14px; height: 14px; flex: none; }
.team-card ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.team-card ul li {
  font-size: var(--step--1); color: var(--ink-soft);
  padding-left: 1.05rem; position: relative; line-height: 1.55;
}
.team-card ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-mid);
}

/* --------------------------------------------------------------- quote -- */
.quote {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative; box-shadow: var(--shadow-sm);
}
.quote .marks {
  font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: .7;
  color: var(--gold-lite); display: block; margin-bottom: .4rem;
}
.quote blockquote { margin: 0; font-size: var(--step-1); font-style: italic; color: var(--ink-soft); line-height: 1.6; }
.quote figcaption {
  margin-top: 1rem; font-family: var(--font-display); font-weight: 700; color: var(--navy);
}
.quote figcaption span { display: block; font-weight: 400; font-family: var(--font-body); font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------ stat row -- */
.stat-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); list-style: none; }
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-md); padding: 1.1rem 1.25rem;
}
.stat dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lite); font-family: var(--font-display); font-weight: 700; }
.stat dd { margin: .3rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; line-height: 1.35; }

/* -------------------------------------------------------- county lists -- */
.region-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; }
.region {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--royal);
  border-radius: var(--r-md); padding: 1.2rem 1.35rem;
}
.region h3 { font-size: .97rem; font-weight: 700; color: var(--royal); letter-spacing: .02em; text-transform: uppercase; }
.region p { font-size: var(--step--1); color: var(--ink-soft); margin-top: .4rem; line-height: 1.55; }
.region:nth-child(2) { border-top-color: var(--navy-mid); }
.region:nth-child(2) h3 { color: var(--navy-mid); }
.region:nth-child(3) { border-top-color: #5B62B8; }
.region:nth-child(3) h3 { color: #4A51A8; }
.region:nth-child(4) { border-top-color: #6E9A34; }
.region:nth-child(4) h3 { color: #5C8328; }

/* --------------------------------------------------------------- faq -- */
.faq { display: flex; flex-direction: column; gap: .7rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
}
.faq details[open] { border-color: var(--royal-lite); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.3rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-0);
  color: var(--navy); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.65; }
.faq .faq-body p + p { margin-top: .75em; }

/* --------------------------------------------------------- cta banner -- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--royal) 100%);
  color: #fff; border-radius: var(--r-lg); padding: clamp(1.75rem, 4.5vw, 3rem);
  display: grid; gap: 1.5rem; align-items: center; box-shadow: var(--shadow-md);
}
@media (min-width: 820px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; font-size: var(--step-3); }
.cta-band p { color: #D5E1F7; margin-top: .6rem; max-width: 52ch; }

/* --------------------------------------------------------------- form -- */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3.5vw, 2.25rem); box-shadow: var(--shadow-sm);
}
.field-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  color: var(--ink); letter-spacing: .01em;
}
.field .req { color: #B0431F; }
.field .hint { font-size: .8rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .7rem .85rem; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(26,95,196,.16);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status {
  border-radius: var(--r-sm); padding: .85rem 1rem; font-size: .95rem;
  border: 1.5px solid; margin-top: .25rem;
}
.form-status[data-state="ok"] { background: #ECF7F1; border-color: var(--ok); color: #145635; }
.form-status[data-state="err"] { background: #FDF1EE; border-color: #B0431F; color: #7E2F14; }

/* ------------------------------------------------------ contact tiles -- */
.contact-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.contact-tile {
  display: flex; gap: .9rem; align-items: flex-start; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.15rem 1.25rem; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.contact-tile:hover { border-color: var(--royal); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--ink); }
.contact-tile .icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy), var(--royal)); color: #fff;
}
.contact-tile .icon svg { width: 19px; height: 19px; }
.contact-tile .label {
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.contact-tile .value { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--navy); word-break: break-word; }
.contact-tile .value small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--muted); letter-spacing: 0; }

/* -------------------------------------------------------- media split -- */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-narrow-media { grid-template-columns: 1.2fr .8fr; }
  .split-media-first > .split-media { order: -1; }
}
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }
.framed {
  border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--paper);
  box-shadow: var(--shadow-lg); background: var(--mist-deep);
}

/* ------------------------------------------------------------- footer -- */
.site-footer { background: var(--navy-deep); color: #B9C8E4; padding-block: clamp(2.5rem, 5vw, 3.75rem) 1.5rem; }
.footer-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.footer-brand { display: flex; flex-direction: column; gap: .9rem; max-width: 34ch; }
.footer-lockup { display: flex; align-items: center; gap: .8rem; }
.footer-lockup img { width: 58px; }
.footer-lockup .wordmark {
  font-family: var(--font-display); font-weight: 800; letter-spacing: .1em;
  color: #fff; font-size: 1.22rem; line-height: 1.1;
}
.footer-lockup .wordmark span {
  display: block; font-size: .6rem; letter-spacing: .18em; font-weight: 600; color: var(--gold-lite); margin-top: .18rem;
}
.site-footer h2 {
  font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-lite); font-weight: 700; margin-bottom: .9rem;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.site-footer a { color: #C6D4EC; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { font-size: .92rem; line-height: 1.6; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: #8FA3C6;
}
.footer-legal { max-width: 78ch; font-size: .82rem; color: #8397BC; line-height: 1.6; }

/* ------------------------------------------------------- breadcrumbs -- */
.crumbs { padding-block: 1rem; font-size: .85rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--royal); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs [aria-current="page"] { color: var(--ink-soft); font-weight: 600; }

/* ------------------------------------------------------- page header -- */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #DCE6F8;
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  min-height: clamp(280px, 34vw, 420px);
  display: flex; align-items: center;
}
.page-head h1 { color: #fff; font-size: var(--step-4); }
.page-head p { color: #BFCFEC; font-size: var(--step-1); max-width: 62ch; margin-top: .9rem; }
.page-head .eyebrow { color: var(--gold-lite); }

/* -------------------------------------------------------- answer box -- */
/* Short, direct answer at the top of a page — for readers in a hurry and
   for answer engines that quote a single self-contained paragraph. */
.answer-box {
  background: var(--gold-wash); border: 1px solid #EAD9A8;
  border-left: 5px solid var(--gold-mid);
  border-radius: var(--r-md); padding: 1.15rem 1.35rem;
}
.answer-box p { color: #4A3A12; font-size: var(--step-0); line-height: 1.6; }
.answer-box p + p { margin-top: .6em; }
.answer-box .answer-label {
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--gold-deep);
  display: block; margin-bottom: .45rem;
}

/* ------------------------------------------------------------ tables -- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
table.data { border-collapse: collapse; width: 100%; font-size: var(--step--1); min-width: 480px; }
table.data th, table.data td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); }
table.data th { background: var(--mist); font-family: var(--font-display); font-weight: 700; color: var(--navy); }
table.data tr:last-child td { border-bottom: none; }
