/* Whitworth Horn and Goetten Insurance Agency
   Locked direction: "Workmanlike Navy (customized)" — Playfair Display / Work Sans,
   navy #0F1B3D + gold #D9B451, pale-cool ground #F4F6FA, 6px radius, standard density.
   Motion: native scroll + light one-shot reveals only (no weighted/inertial scroll). */

/* ---------- fonts (self-hosted, §6b) ---------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/playfair-var.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/worksans-var.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --ink: #0F1B3D;
  --ink-soft: #5A6478;
  --gold: #D9B451;
  --gold-deep: #B8933A;
  --accent: #0F1B3D;
  --on-accent: #FFFFFF;
  --line: rgba(15, 27, 61, .12);
  --line-strong: rgba(15, 27, 61, .22);
  --navy-tint: #EAEEF5;
  --radius: 6px;
  --head: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 40px);
  --sec: clamp(56px, 8vw, 92px);
  --h-nav: 74px;
  --shadow-sm: 0 1px 3px rgba(15, 27, 61, .08);
  --shadow-md: 0 10px 30px rgba(15, 27, 61, .10);
  --shadow-lg: 0 24px 60px rgba(15, 27, 61, .16);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; overscroll-behavior-y: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1rem, 0.55vw + 0.86rem, 1.125rem);
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }
.topgold { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--gold); z-index: 120; }

.eyebrow { font-family: var(--body); font-weight: 700; font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); display: block; margin: 0 0 16px; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 3px; background: var(--gold); border-radius: 2px; vertical-align: middle; margin-right: 11px; }
.eyebrow.center { text-align: center; }

/* prevent grid/flex min-content overflow (images + long words forcing width) */
.hero__content, .spot-text, .crop-facts, .story-photo, .story-main, .story-copy, .col, .svc, .office, .sec-head { min-width: 0; }

/* reveals */
.reveal { opacity: 1; }
.js-motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-motion .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; padding: 15px 24px; border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; touch-action: manipulation; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary .ico { color: var(--gold); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-gold { background: var(--gold); color: #241a00; }
.btn-white { background: #fff; color: var(--accent); }
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .btn-ghost:hover { background: var(--accent); color: #fff; }
  .btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- universal keyboard focus ring (accessibility, §4/A11y) ---------- */
/* One gold ring for every focusable element; components with their own ring
   (.btn above, form fields below) opt out via more-specific rules. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.office:focus-visible,
.svc:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
/* On the navy hero/pagehero, links are white on a dark photo — keep the gold
   ring but add a dark halo so it reads against light-image regions too. */
.site-header:not(.is-scrolled):not(.is-open) .primary-nav a:focus-visible,
.hero a:focus-visible,
.pagehero a:focus-visible,
.office:focus-visible {
  outline-offset: 3px;
  box-shadow: 0 0 0 1px rgba(8,13,32,.55);
}

/* ---------- header (P-003 transparent -> solid) ---------- */
.site-header { position: fixed; inset: 3px 0 auto 0; z-index: 110; transition: background .3s ease, box-shadow .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--h-nav); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; display: block; }
.brand .brand__navy { display: none; }
.site-header.is-scrolled .brand__white, .site-header.is-open .brand__white { display: none; }
.site-header.is-scrolled .brand__navy, .site-header.is-open .brand__navy { display: block; }
.site-header.is-scrolled { background: var(--surface); box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.site-header.is-open { background: var(--surface); }
/* transparent-over-hero state: white nav content + on-image CTA */
.site-header:not(.is-scrolled):not(.is-open) .primary-nav a:not(.btn) { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.site-header:not(.is-scrolled):not(.is-open) .nav-toggle { color: #fff; }
.site-header:not(.is-scrolled):not(.is-open) .navcta { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }
@media (hover: hover) { .site-header:not(.is-scrolled):not(.is-open) .navcta:hover { background: #fff; color: var(--accent); } }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.primary-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.96rem; color: var(--ink); padding: 6px 0; position: relative; }
.primary-nav a.navcta { margin-left: 4px; }
@media (hover: hover) { .primary-nav a:not(.btn):hover { color: var(--gold-deep); } }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: "▾"; font-size: .7em; margin-left: 6px; opacity: .6; }
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.submenu { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 288px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.has-dropdown:hover .submenu, .has-dropdown:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; gap: 11px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius); }
.submenu a::after { display: none; }
@media (hover: hover) { .submenu a:hover { background: var(--navy-tint); } }
.submenu a b { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.submenu a span { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }
.submenu .ico { color: var(--gold-deep); margin-top: 2px; flex: none; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 9px; border-radius: var(--radius); }

/* ---------- hero (immersive, place-anchored) ---------- */
.hero { position: relative; min-height: clamp(600px, 92vh, 880px); min-height: clamp(600px, 92dvh, 880px); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,16,38,.48) 0%, rgba(10,16,38,.14) 26%, rgba(10,16,38,.26) 54%, rgba(8,13,32,.90) 100%),
  linear-gradient(90deg, rgba(10,16,38,.5) 0%, rgba(10,16,38,0) 60%),
  linear-gradient(rgba(8,13,32,.18), rgba(8,13,32,.18)); }
.hero__inner { flex: 1; display: flex; align-items: flex-end; padding-top: calc(var(--h-nav) + 40px); padding-bottom: clamp(24px, 4vh, 44px); }
.hero__content { max-width: 720px; }
.hero .eyebrow--onimg { color: var(--gold); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero h1 { color: #fff; font-size: clamp(2.05rem, 4.1vw, 3.35rem); line-height: 1.05; max-width: 26ch; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__lede { color: rgba(255,255,255,.94); text-shadow: 0 1px 18px rgba(0,0,0,.55); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; max-width: 52ch; margin: 20px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { margin-top: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.94rem; color: rgba(255,255,255,.92); text-shadow: 0 1px 12px rgba(0,0,0,.6); font-weight: 500; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.hero-proof .divot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }
.btn-onimg { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
@media (hover: hover) { .btn-onimg:hover { background: #fff; color: var(--accent); border-color: #fff; transform: translateY(-2px); } }

/* ---------- office cards, right side of the hero (visible on load) ---------- */
.hero__layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(292px, 25vw, 344px); gap: clamp(28px, 4vw, 60px); align-items: end; }
.hero__offices { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; align-self: end; margin-bottom: clamp(32px, 6vh, 70px); }
.hero__offices-label { margin: 0 0 4px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--body); font-weight: 600; font-size: 0.72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero__offices-label::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gold); }
.office { display: flex; align-items: center; gap: 15px; padding: 15px 20px; text-decoration: none; background: rgba(15,27,61,.30); border: 1px solid rgba(255,255,255,.20); border-top: 1px solid rgba(217,180,81,.85); border-radius: var(--radius); backdrop-filter: blur(18px) saturate(125%); -webkit-backdrop-filter: blur(18px) saturate(125%); box-shadow: 0 10px 34px rgba(8,13,32,.20); transition: background .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .office:hover { background: rgba(15,27,61,.62); border-color: rgba(217,180,81,.9); box-shadow: 0 14px 38px rgba(8,13,32,.34); transform: translateY(-3px); } }
.office .pin { width: 40px; height: 40px; border-radius: 50%; background: rgba(217,180,81,.18); color: var(--gold); display: grid; place-items: center; flex: none; transition: background .2s ease, color .2s ease; }
@media (hover: hover) { .office:hover .pin { background: var(--gold); color: var(--accent); } }
.office .pin svg { width: 19px; height: 19px; }
.office .otxt { display: flex; flex-direction: column; min-width: 0; }
.office .otitle { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: #fff; }
.office .oline { font-size: 0.88rem; color: rgba(255,255,255,.82); }
.office .oline b { color: var(--gold); font-weight: 700; }

/* ---------- cinematic hero entry: Ken Burns image zoom + staggered content rise ---------- */
@keyframes heroKenBurns { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: heroKenBurns 13s cubic-bezier(0.14, 0.32, 0.2, 1) both; will-change: transform; }
  .hero__content > *, .hero__offices { opacity: 0; animation: heroRise 1.05s cubic-bezier(0.22, 0.68, 0.24, 1) both; }
  .hero__content > *:nth-child(1) { animation-delay: 0.25s; }
  .hero__content > *:nth-child(2) { animation-delay: 0.43s; }
  .hero__content > *:nth-child(3) { animation-delay: 0.61s; }
  .hero__content > *:nth-child(4) { animation-delay: 0.79s; }
  .hero__content > *:nth-child(5) { animation-delay: 0.97s; }
  .hero__offices { animation-delay: 1.18s; }
}

/* ---------- section shell ---------- */
section { scroll-margin-top: calc(var(--h-nav) + 12px); }
.band { padding: var(--sec) 0; }
.band.tint { background: var(--surface); }
.sec-head { max-width: 60ch; }
.sec-head.center { max-width: 62ch; margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); }
.sec-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.06rem; }

/* ---------- services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.svc { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
@media (hover: hover) { .svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); } }
.svc .svc-ic { width: 52px; height: 52px; padding: 12px; color: var(--accent); margin-bottom: 16px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 16%, #fff); box-shadow: 0 6px 16px rgba(15, 27, 61, .10), inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 55%, transparent); transition: box-shadow .18s ease, background .18s ease; }
@media (hover: hover) { .svc:hover .svc-ic { background: color-mix(in srgb, var(--gold) 26%, #fff); box-shadow: 0 10px 24px rgba(15, 27, 61, .14), inset 0 0 0 1.5px var(--gold); } }
.svc .tag { font-size: 0.7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.svc h3 { font-size: 1.28rem; margin: 6px 0 9px; }
.svc p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; flex: 1; }
.svc .svc-link { margin-top: 16px; font-weight: 600; font-size: 0.92rem; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.svc .svc-link .arr { transition: transform .15s ease; }
@media (hover: hover) { .svc:hover .svc-link .arr { transform: translateX(4px); } }
.svc.flag { border-top-width: 4px; box-shadow: var(--shadow-sm); }
.svc .spec { position: absolute; top: 14px; right: 14px; background: var(--gold); color: #241a00; font-size: 0.66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; box-shadow: 0 2px 8px rgba(15,27,61,.2); }
/* whole-card link variant (used on city pages) */
a.svc { text-decoration: none; color: inherit; }
.svc .more { margin-top: 16px; font-weight: 600; font-size: 0.92rem; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
@media (hover: hover) { a.svc:hover .more { gap: 10px; } }

/* ---------- crop spotlight (navy band) ---------- */
.spotlight { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold); }
.spotlight .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.spotlight .eyebrow { color: var(--gold); }
.spotlight h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.spotlight h2 em { color: var(--gold); font-style: italic; }
.spotlight p { color: #C9D2E4; margin-top: 18px; font-size: 1.08rem; }
.spotlight .btn-gold { margin-top: 28px; }
.crop-facts { display: grid; gap: 14px; }
.cfact { background: rgba(255,255,255,.05); border: 1px solid rgba(217,180,81,.28); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; }
.cfact b { font-family: var(--head); font-size: 1.15rem; color: #fff; display: block; }
.cfact span { font-size: 0.9rem; color: #AFB9CF; }

/* ---------- why independent (comparison) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 42px; }
.col { border-radius: var(--radius); padding: 30px 28px; }
.col.them { background: var(--surface); border: 1px solid var(--line); }
.col.us { background: var(--accent); color: #fff; border-top: 4px solid var(--gold); box-shadow: var(--shadow-md); }
.col h3 { font-family: var(--body); font-weight: 700; font-size: 0.82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.col.them h3 { color: var(--ink-soft); }
.col.us h3 { color: var(--gold); }
.col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.col li { display: flex; gap: 12px; font-size: 1.02rem; line-height: 1.5; align-items: flex-start; }
.col li svg { flex: none; margin-top: 3px; }
.col.them li { color: var(--ink-soft); }
.col.them li svg { color: var(--line-strong); }
.col.us li svg { color: var(--gold); }

/* ---------- since 1977 (team photo + story + timeline) ---------- */
.story-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.story-photo { margin: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 10px; box-shadow: 0 24px 60px rgba(15, 27, 61, .16), 0 2px 6px rgba(15, 27, 61, .08); padding: 20px 20px 16px; }
.story-photo img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(15, 27, 61, .10), inset 0 0 0 4px rgba(255, 255, 255, .55); }
.story-photo figcaption { margin-top: 14px; font-size: 0.82rem; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 9px; }
.story-photo figcaption::before { content: ""; width: 16px; height: 2px; background: var(--gold); flex: none; margin-top: 7px; }
.story-main { min-width: 0; }
.story-more { margin-top: 24px; }
.timeline { position: relative; margin-top: 30px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line-strong); }
.tl { position: relative; padding-bottom: 26px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--gold); }
.tl b { font-family: var(--head); font-size: 1.15rem; display: block; }
.tl span { color: var(--ink-soft); font-size: 0.98rem; }

/* horizontal timeline variant (homepage "Since 1977") — a row of 4 nodes on one line */
.timeline--row { list-style: none; margin: clamp(40px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 34px); }
.timeline--row::before { left: 7px; right: 7px; top: 7px; bottom: auto; width: auto; height: 2px; }
.timeline--row .tl { padding: 26px 0 0; }
.timeline--row .tl::before { left: 0; top: 0; }
.timeline--row .tl span { display: block; margin-top: 4px; }
.story-copy p + p { margin-top: 16px; }
.story-copy .lede { font-size: 1.16rem; color: var(--ink); }

/* ---------- neighbor promise + trust ---------- */
.promise { background: var(--accent); color: #fff; text-align: center; }
.promise .wrap { max-width: 900px; }
.promise .qmark { font-family: var(--head); color: var(--gold); font-size: 4rem; line-height: .4; display: block; margin-bottom: 8px; }
.promise blockquote { margin: 0; font-family: var(--head); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.32; font-weight: 500; }
.promise .who { margin-top: 22px; font-size: 0.95rem; color: var(--gold); letter-spacing: .04em; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; padding-top: 34px; border-top: 1px solid rgba(217,180,81,.35); }
.trust { position: relative; padding-top: 16px; }
.trust::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); }
.trust b { font-family: var(--head); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.05; color: var(--gold); display: block; font-feature-settings: "lnum" 1, "tnum" 1; }
.trust span { display: block; margin-top: 6px; font-size: 0.86rem; color: #C9D2E4; }

/* ---------- FAQ (centered, §7b) ---------- */
.faq-list { max-width: 780px; margin: 40px auto 0; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 20px; height: 20px; color: var(--gold-deep); transition: transform .2s ease; }
.faq[open] summary .chev { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-deep); }
.faq .ans { padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.6; }
.faq .ans a { color: var(--accent); font-weight: 600; }

/* ---------- final CTA ---------- */
.finalcta { background: linear-gradient(180deg, var(--accent) 0%, #0A1330 100%); color: #fff; text-align: center; border-top: 4px solid var(--gold); }
.finalcta h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.finalcta p { color: #C9D2E4; margin: 16px auto 30px; max-width: 48ch; font-size: 1.08rem; }
.finalcta .btnrow { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.finalcta .subline { margin-top: 22px; font-size: 0.9rem; color: #AFB9CF; }
.finalcta .subline a { color: var(--gold); font-weight: 600; text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C9D2E4; border-top: 4px solid var(--gold); padding: 56px 0 30px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .flogo { height: 60px; width: auto; margin-bottom: 16px; }
.site-footer .fabout { font-size: 0.92rem; line-height: 1.6; max-width: 34ch; color: #AFB9CF; }
.site-footer h3 { font-family: var(--body); font-weight: 700; font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #C9D2E4; text-decoration: none; font-size: 0.94rem; }
.site-footer a:hover { color: #fff; }
.site-footer .fcontact div { margin-bottom: 12px; font-size: 0.94rem; }
.site-footer .fcontact b { color: #fff; display: block; font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; font-weight: 600; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: #8894AE; }
.footer-base a { color: var(--gold); font-weight: 600; text-decoration: underline; }

/* ---------- mobile call bar (§7a, hidden until scroll) ---------- */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 115; background: var(--accent); padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); gap: 12px; transform: translateY(calc(100% + env(safe-area-inset-bottom))); transition: transform .3s ease; box-shadow: 0 -8px 24px rgba(0,0,0,.2); }
  .callbar.is-visible { transform: translateY(0); }
  .callbar a { flex: 1; }
  /* reserve room so the fixed callbar never covers the last footer row (§8.7) */
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  @media (prefers-reduced-motion: reduce) { .callbar { transition: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: calc(var(--h-nav) + 20px) 22px 30px; transform: translateX(100%); transition: transform .28s ease; box-shadow: var(--shadow-lg); overflow-y: auto; }
  .site-header.is-open .primary-nav { transform: translateX(0); }
  .primary-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .primary-nav a.navcta { margin-top: 16px; border-bottom: 0; }
  .has-dropdown > a::after { content: ""; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--gold); border-radius: 0; padding: 4px 0 10px 12px; min-width: 0; }
  .submenu a { padding: 10px 6px; }
  .has-dropdown > a::after { display: none; }
  .hero__layout { grid-template-columns: 1fr; gap: clamp(22px, 4vh, 32px); align-items: start; }
  .hero__offices { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 0; }
  .hero__offices-label { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .spotlight .wrap, .story-grid { grid-template-columns: 1fr; }
  .timeline--row { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
  .timeline--row::before { display: none; }
  .timeline--row .tl { padding-top: 22px; }
  .story-photo { max-width: 460px; }
  .compare { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
}
@media (max-width: 620px) {
  .hero { min-height: auto; }
  .hero__inner { padding-top: calc(var(--h-nav) + 30px); min-height: 74vh; }
  .hero__offices { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .hero-cta .btn, .finalcta .btn { width: 100%; }
}

/* ============================================================
   INTERIOR PAGES (services hub, service detail, about, contact)
   Header stays transparent-white over the navy page-hero, then
   solidifies on scroll — identical to the homepage header.
   ============================================================ */

/* ---------- compact navy page-hero ---------- */
.pagehero { position: relative; background: linear-gradient(165deg, #12203f 0%, var(--accent) 55%, #0A1330 100%); color: #fff; overflow: hidden; border-bottom: 4px solid var(--gold); isolation: isolate; }
/* scrimmed photo layer (set --ph-img per page); falls back to the navy gradient */
.pagehero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,16,38,.60) 0%, rgba(10,16,38,.46) 46%, rgba(8,13,32,.86) 100%),
  linear-gradient(90deg, rgba(10,16,38,.74) 0%, rgba(10,16,38,.34) 56%, rgba(10,16,38,.12) 100%),
  var(--ph-img, none) center / cover no-repeat; }
.pagehero::before { content: ""; position: absolute; top: -180px; right: -140px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle at 42% 42%, rgba(255,255,255,.06), rgba(255,255,255,0) 68%); }
.pagehero .wrap { position: relative; padding-top: calc(var(--h-nav) + clamp(44px, 7vh, 78px)); padding-bottom: clamp(40px, 6vh, 66px); }
.pagehero .eyebrow { color: var(--gold); }
.pagehero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.05; max-width: 20ch; }
.pagehero h1 em { font-style: italic; color: var(--gold); }
.pagehero .ph-lede { color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; max-width: 60ch; margin-top: 20px; }
.pagehero .ph-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.pagehero .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.pagehero .btn-ghost:hover { background: #fff; color: var(--accent); }

/* Per-page-type hero rhythm (Wave 5, section 5.3): restrained variation so no
   two page types share an identical hero cadence. Same navy pagehero + gold
   rule; only the padding, H1 measure, lede width, and eyebrow tracking shift. */
/* Service-detail pages: action-forward. Tighter cadence, snug measure, since
   you already know the coverage you came for, so the hero gets out of the way. */
.pt-service .pagehero .wrap { padding-top: calc(var(--h-nav) + clamp(40px, 6vh, 66px)); padding-bottom: clamp(36px, 5vh, 56px); }
.pt-service .pagehero h1 { max-width: 18ch; }
.pt-service .pagehero .ph-lede { max-width: 56ch; }
/* Service-area / city pages: place-anchored. A touch more presence, wider
   measure so the town name has room to land. */
.pt-area .pagehero .wrap { padding-top: calc(var(--h-nav) + clamp(48px, 7.5vh, 84px)); padding-bottom: clamp(44px, 6.5vh, 70px); }
.pt-area .pagehero h1 { max-width: 22ch; }
.pt-area .pagehero .ph-lede { max-width: 58ch; }
.pt-area .pagehero .eyebrow { letter-spacing: .14em; }
/* Editorial pages (about / contact / coverage hub): calmer, wider lede for the
   story + utility register. */
.pt-editorial .pagehero .ph-lede { max-width: 64ch; }

/* ---------- breadcrumb ---------- */
.crumbs { position: relative; font-size: 0.82rem; color: rgba(255,255,255,.72); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.72); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: rgba(255,255,255,.5); margin: 0 8px; }
.crumbs b { color: #fff; font-weight: 600; }

/* ---------- prose / editorial content ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-top: 40px; }
.prose h3 { font-size: 1.3rem; margin-top: 30px; font-weight: 700; }
.prose p { color: var(--ink-soft); line-height: 1.7; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose .lede { font-size: 1.16rem; color: var(--ink); }

/* two-column content + aside */
.content-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.aside { position: sticky; top: calc(var(--h-nav) + 20px); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-md); }
.aside h3 { font-family: var(--head); font-size: 1.2rem; margin: 0 0 6px; }
.aside p { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 18px; }
.aside .btn { width: 100%; }
.aside .callnote { margin-top: 12px; text-align: center; font-size: 0.86rem; color: var(--ink-soft); }
.aside .callnote a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ---------- checklist (coverage bullets, gold checks) ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); line-height: 1.5; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 22%, transparent); border: 1.5px solid var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F1B3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.checklist.cols { grid-template-columns: 1fr 1fr; gap: 12px 28px; }

/* ---------- callout / info card ---------- */
.callout { background: var(--navy-tint); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; }
.callout p { color: var(--ink); margin: 0; }
.callout p + p { margin-top: 10px; }
.callout .k { font-family: var(--head); font-weight: 700; color: var(--accent); }

/* ---------- deadline calendar (crop page) ---------- */
.deadlines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.dl { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 20px 18px; }
.dl b { font-family: var(--head); font-size: 1.35rem; display: block; color: var(--accent); }
.dl .lbl { font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin: 4px 0 8px; }
.dl span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- steps (numbered process) ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; margin-top: 8px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step .n { font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--accent-on); background: var(--accent); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2px solid var(--gold); }
.step h3 { margin: 4px 0 4px; font-size: 1.15rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- team grid (about) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.member { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
@media (hover: hover) { .member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); } }
.member h3 { font-size: 1.2rem; margin: 0 0 3px; }
.member .role { font-size: 0.85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-deep); }
.member p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; margin-top: 12px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.contact-info .office-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .office-block:first-child { padding-top: 0; }
.contact-info h3 { font-family: var(--head); font-size: 1.25rem; margin: 0 0 8px; }
.contact-info .cline { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 6px; }
.contact-info .cline svg { color: var(--gold-deep); flex: none; }
.contact-info .cline a { color: var(--accent); font-weight: 600; text-decoration: none; }
.contact-info .cline a:hover { text-decoration: underline; }

.formcard { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 10px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md); }
.formcard h2 { font-size: 1.6rem; margin: 0 0 6px; }
.formcard .fsub { color: var(--ink-soft); margin: 0 0 24px; }
.form-expect { list-style: none; margin: 18px 0 22px; padding: 16px 18px; background: color-mix(in srgb, var(--gold) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 34%, var(--line)); border-radius: var(--radius); }
.form-expect li { position: relative; padding-left: 20px; font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); }
.form-expect li + li { margin-top: 9px; }
.form-expect li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 2px; border-radius: 1px; background: var(--gold); }
.form-expect li b { color: var(--ink); font-weight: 700; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--body); font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 14px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,27,61,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 4px; }
.form-success { display: none; background: color-mix(in srgb, var(--gold) 14%, var(--surface)); border: 1px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); font-weight: 500; }
.form-success.show { display: block; }
.formcard .btn { width: 100%; margin-top: 4px; }

@media (max-width: 860px) {
  .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .deadlines { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .deadlines, .team-grid, .checklist.cols { grid-template-columns: 1fr; }
  .field.row { grid-template-columns: 1fr; }
  .pagehero .btn { width: 100%; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .callbar, .mobile-cta, .drawer, .hero__scrim, .chev, .site-footer .cols form { display: none !important; }
  .hero { min-height: auto; color: var(--ink); }
  .hero__img, picture { position: static !important; }
  .hero__content, .hero__content * { color: var(--ink) !important; text-shadow: none !important; }
  a { color: var(--ink); text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #555; }
  a[href^="tel:"]::after, a[href^="#"]::after { content: ""; }
  details.faq { border: 1px solid #ccc; }
  details.faq > .ans { display: block !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  section, .band { break-inside: avoid; }
}
