/* ==========================================================================
   Allstate Moving Services — site.css
   Palette from the brand badge: navy #001848 / #003060 / #183048, gold #E1B04B,
   cream #E6DFC0. Display: Archivo (expanded, 800). Body: Hanken Grotesk.
   Mobile-first. Native scroll only. CSS motion + one small IntersectionObserver.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* brand (logo-derived) */
  --navy-950: #001848;
  --navy-900: #00143c;
  --navy-800: #183048;
  --navy-700: #003060;
  --navy-600: #0b3f78;
  --gold: #e1b04b;
  --gold-hi: #ecc46b;
  --gold-deep: #c9952f;
  --gold-ink: #7a5610;
  --cream: #e6dfc0;

  /* neutrals */
  --paper: #f6f3ea;
  --paper-2: #efe9d8;
  --white: #ffffff;
  --ink: #0b1630;
  --ink-2: #33405a;
  --ink-3: #5b6579;
  --line: rgba(0, 24, 72, 0.13);
  --line-2: rgba(0, 24, 72, 0.22);
  --line-inv: rgba(230, 223, 192, 0.18);
  --on-navy: #eef0f6;
  --on-navy-2: #b9c3d6;

  /* type */
  --f-display: "Archivo", "Arial Black", "Helvetica Neue", sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --stretch-display: 112%;
  --fs-h1: clamp(2.3rem, 1.35rem + 4.6vw, 4.75rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.7vw, 3.35rem);
  --fs-h3: clamp(1.3rem, 1.05rem + 1.15vw, 1.95rem);
  --fs-lede: clamp(1.06rem, 0.98rem + 0.4vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-kicker: 0.78rem;

  /* space (one rhythm) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --sec-y: clamp(4rem, 2.6rem + 6vw, 8rem);
  --gutter: clamp(1.15rem, 0.6rem + 2.6vw, 2.5rem);
  --max: 1240px;
  --max-narrow: 860px;

  /* shape + depth */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 26px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(0, 20, 60, 0.08), 0 4px 14px rgba(0, 20, 60, 0.07);
  --shadow-2: 0 2px 6px rgba(0, 20, 60, 0.1), 0 18px 44px rgba(0, 20, 60, 0.16);
  --shadow-3: 0 30px 80px rgba(0, 12, 40, 0.35);
  --ring: 0 0 0 3px var(--gold);

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-med: 320ms;

  --hdr-h: 72px;
  --mbar-h: 0px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); scroll-padding-bottom: calc(var(--mbar-h) + 12px); -webkit-tap-highlight-color: rgba(225, 176, 75, 0.22); }
@media (pointer: fine) { html { overscroll-behavior: none; } }
a, button, summary, label, select { touch-action: manipulation; }
a[href^="tel:"] { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: var(--stretch-display); line-height: 1.02; letter-spacing: -0.022em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.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; }
[hidden] { display: none !important; }

.skip {
  position: fixed; left: 12px; top: 10px; z-index: 200;
  padding: 0.7rem 1rem; border-radius: var(--r-s);
  background: var(--gold); color: var(--navy-950); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Layout (the one container) ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.wrap--narrow { max-width: var(--max-narrow); }
.sec { padding-block: var(--sec-y); position: relative; }
.sec--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.sec--paper { background: var(--paper); }
.sec--paper2 { background: var(--paper-2); }
.sec--white { background: var(--white); }
.sec--navy { background: var(--navy-950); color: var(--on-navy); }
.sec--navy2 { background: var(--navy-800); color: var(--on-navy); }
.sec--grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(0, 24, 72, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.sec--navy.sec--grain::before { background-image: radial-gradient(rgba(230, 223, 192, 0.07) 1px, transparent 1px); }

/* ---------- Type helpers ---------- */
.kicker {
  display: block;
  font-family: var(--f-body); font-size: var(--fs-kicker); font-weight: 800; line-height: 1.5;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: var(--s-4);
}
.kicker::before { content: ""; display: inline-block; vertical-align: middle; width: 26px; height: 2px; margin: -2px 0.6em 0 0; background: currentColor; border-radius: 2px; }
.sec--navy .kicker, .sec--navy2 .kicker, .on-dark .kicker { color: var(--gold); }
.h2 { font-size: var(--fs-h2); color: var(--navy-950); }
.sec--navy .h2, .sec--navy2 .h2 { color: var(--white); }
.h3 { font-size: var(--fs-h3); color: var(--navy-950); line-height: 1.08; }
.accent { color: var(--gold); }
.accent-ink { color: var(--navy-700); }
.sec--paper .accent, .sec--paper2 .accent, .sec--white .accent { color: var(--navy-700); position: relative; }
.mark-u { background: linear-gradient(transparent 62%, rgba(225, 176, 75, 0.55) 62%, rgba(225, 176, 75, 0.55) 92%, transparent 92%); padding-inline: 0.04em; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.sec--navy .lede, .sec--navy2 .lede { color: var(--on-navy-2); }
.sep { color: var(--gold); font-weight: 800; padding-inline: 0.45em; letter-spacing: -0.08em; }
.sec-head { margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); max-width: 760px; }
.sec-head .lede { margin-top: var(--s-4); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker { text-align: center; }
.sec-head--center .lede { margin-inline: auto; }
.sec-head--split { max-width: none; display: grid; gap: var(--s-4); }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: var(--s-7); }
  .sec-head--split .lede { margin: 0; }
}

/* ---------- Icons ---------- */
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-700); --fg: var(--white); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.45rem;
  border-radius: var(--r-pill); border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-weight: 800; font-size: 1rem; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; line-height: 1.1;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--gold { --bg: var(--gold); --fg: var(--navy-950); box-shadow: 0 10px 26px -10px rgba(225, 176, 75, 0.75); }
.btn--navy { --bg: var(--navy-700); --fg: var(--white); box-shadow: 0 10px 26px -12px rgba(0, 48, 96, 0.7); }
.btn--ink { --bg: var(--navy-950); --fg: var(--white); }
.btn--ghost { --bg: rgba(255, 255, 255, 0.06); --fg: var(--white); --bd: rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--line { --bg: transparent; --fg: var(--navy-950); --bd: var(--navy-950); }
.btn--lg { min-height: 58px; padding-inline: 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn--gold:hover { --bg: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(225, 176, 75, 0.85); }
  .btn--navy:hover { --bg: var(--navy-600); transform: translateY(-2px); }
  .btn--ink:hover { --bg: var(--navy-700); transform: translateY(-2px); }
  .btn--ghost:hover { --bg: rgba(255, 255, 255, 0.16); --bd: var(--white); transform: translateY(-2px); }
  .btn--line:hover { --bg: var(--navy-950); --fg: var(--white); transform: translateY(-2px); }
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 800; color: var(--navy-700); text-decoration: none;
  border-bottom: 2px solid rgba(0, 48, 96, 0.25); padding-bottom: 2px;
  transition: border-color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}
.link-arrow .ic { width: 1em; height: 1em; transition: transform var(--t-fast) var(--ease); }
.on-dark .link-arrow, .sec--navy .link-arrow { color: var(--gold); border-color: rgba(225, 176, 75, 0.35); }
@media (hover: hover) {
  .link-arrow:hover { border-color: currentColor; }
  .link-arrow:hover .ic { transform: translateX(4px); }
}

/* ---------- Brand lockup (typeset wordmark, no box) ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--white); line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.brand-stars { display: flex; gap: 3px; color: var(--gold); }
.brand-star { width: 15px; height: 15px; color: var(--gold); flex: none; }
.brand-word { display: grid; gap: 5px; }
.brand-name {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: 1.5rem; letter-spacing: 0.02em; line-height: 0.9;
}
.brand-sub {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--f-body); font-weight: 700; font-size: 0.64rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.brand-sub::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.6; }
.brand--hdr { min-height: 44px; }
.brand--hdr .brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--gold); }
.brand--hdr .brand-mark svg { width: 38px; height: 38px; }

/* hero lockup (centered, larger) */
.lockup { display: inline-grid; justify-items: center; gap: 0.55rem; color: var(--white); text-decoration: none; margin-bottom: var(--s-5); }
.lockup-stars { display: flex; align-items: center; gap: 0.55rem; color: var(--gold); }
.lockup-stars .ic { width: 15px; height: 15px; }
.lockup-stars .ic:nth-child(2) { width: 21px; height: 21px; }
.lockup-stars::before, .lockup-stars::after { content: ""; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.lockup-stars::after { transform: scaleX(-1); }
.lockup-name { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.35rem, 1.6rem + 3.4vw, 3.6rem); letter-spacing: 0.03em; line-height: 0.88; text-shadow: 0 2px 30px rgba(0, 10, 30, 0.45); }
.lockup-sub { font-weight: 700; font-size: clamp(0.72rem, 0.66rem + 0.3vw, 0.88rem); letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); padding-left: 0.42em; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--hdr-h);
  color: var(--white);
  transition: background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease-out);
  padding-top: env(safe-area-inset-top);
}
.hdr::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 14, 40, 0.55), transparent); pointer-events: none; transition: opacity var(--t-med) var(--ease); }
.hdr.is-solid { background: rgba(0, 24, 72, 0.97); box-shadow: 0 10px 30px -14px rgba(0, 8, 30, 0.6); }
.hdr.is-solid::before { opacity: 0; }
@supports (backdrop-filter: blur(10px)) { .hdr.is-solid { background: rgba(0, 24, 72, 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); } }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr-in { position: relative; height: 100%; display: flex; align-items: center; gap: var(--s-4); }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 0.25rem; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; border-radius: var(--r-pill);
  color: rgba(255, 255, 255, 0.9);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav a[aria-current="page"] { color: var(--gold); }
@media (hover: hover) { .nav a:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); } }
.hdr-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; min-width: 46px; margin-left: auto; padding: 0 0.8rem;
  border-radius: var(--r-pill); background: var(--gold); color: var(--navy-950);
  font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.hdr-call .ic { width: 1.1rem; height: 1.1rem; }
.hdr-call span { display: none; }
@media (hover: hover) { .hdr-call:hover { background: var(--gold-hi); transform: translateY(-1px); } }
.burger {
  display: grid; place-items: center; width: 48px; height: 48px; margin-right: -6px;
  background: transparent; border: 0; border-radius: var(--r-s); color: var(--white);
  -webkit-tap-highlight-color: transparent;
}
.burger .ic { width: 28px; height: 28px; }
@media (min-width: 420px) { .hdr-call span { display: inline; } .hdr-call { padding: 0 1.1rem; } }
@media (min-width: 1060px) {
  :root { --hdr-h: 84px; }
  .nav { display: block; }
  .hdr-call { margin-left: var(--s-3); }
  .burger { display: none; }
  .brand-name { font-size: 1.7rem; }
  .brand-sub { font-size: 0.68rem; }
}

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 150; display: grid; grid-template-rows: auto 1fr auto;
  background: var(--navy-950); color: var(--on-navy);
  padding: calc(env(safe-area-inset-top) + 12px) var(--gutter) calc(env(safe-area-inset-bottom) + 18px);
  overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  transition: transform 380ms var(--ease-out), visibility 0s linear 380ms;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform 380ms var(--ease-out), visibility 0s; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.drawer-close { display: grid; place-items: center; width: 48px; height: 48px; background: transparent; border: 0; color: var(--white); border-radius: var(--r-s); }
.drawer-close .ic { width: 26px; height: 26px; }
.drawer-body { overflow-y: auto; padding-block: var(--s-5); }
.drawer-nav { list-style: none; display: grid; gap: 2px; }
.drawer-nav > li > a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 1.55rem; text-decoration: none; color: var(--white); border-bottom: 1px solid var(--line-inv); }
.drawer-nav > li > a .ic { color: var(--gold); width: 22px; height: 22px; }
.drawer-sub { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); padding: var(--s-3) 0 var(--s-4); }
.drawer-sub a { display: flex; align-items: center; min-height: 44px; color: var(--on-navy-2); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.drawer-label { margin: var(--s-5) 0 0; font-size: var(--fs-kicker); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--gold); }
.drawer-foot { display: grid; gap: var(--s-3); }
.drawer-foot small { color: var(--on-navy-2); text-align: center; font-size: 0.85rem; }
html.drawer-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  color: var(--white); text-align: center;
  padding: calc(var(--hdr-h) + 2.5rem) 0 clamp(3.5rem, 2rem + 5vw, 6rem);
  background: var(--navy-950);
}
@media (min-width: 900px) { .hero { min-height: min(100svh, 980px); } }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; transform-origin: 40% 45%; }
@media (prefers-reduced-motion: no-preference) {
  .kb { animation: kenburns 28s var(--ease) infinite alternate both; will-change: transform; }
}
@keyframes kenburns {
  0% { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-2.2%, -1.6%, 0); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 48%, rgba(0, 18, 52, 0.34) 0%, rgba(0, 18, 52, 0.66) 72%),
    linear-gradient(180deg, rgba(0, 16, 46, 0.66) 0%, rgba(0, 24, 72, 0.22) 36%, rgba(0, 14, 42, 0.86) 100%);
}
.hero-in { width: 100%; max-width: 900px; margin-inline: auto; padding-inline: var(--gutter); display: grid; justify-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.95rem; border-radius: var(--r-pill);
  border: 1px solid rgba(225, 176, 75, 0.55); background: rgba(0, 24, 72, 0.45);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pill .ic { color: var(--gold); width: 1rem; height: 1rem; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(225, 176, 75, 0.22); }
.hero h1 { font-size: var(--fs-h1); margin-top: var(--s-5); color: var(--white); text-shadow: 0 2px 40px rgba(0, 8, 30, 0.45); max-width: 16ch; }
.hero h1 .accent { display: block; color: var(--gold); }
.hero-sub { margin-top: var(--s-5); font-size: var(--fs-lede); line-height: 1.5; color: rgba(255, 255, 255, 0.9); max-width: 36ch; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); width: 100%; }
.hero-ctas .btn { flex: 1 1 220px; max-width: 300px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem 1.3rem; margin-top: var(--s-6); font-size: 0.92rem; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust .ic { color: var(--gold); width: 1.05rem; height: 1.05rem; }
.hero-scroll { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.45); border-radius: 14px; display: none; }
.hero-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .hero-scroll::after { animation: nudge 2.2s var(--ease) infinite; } }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } }
@media (min-width: 900px) and (min-height: 760px) { .hero-scroll { display: block; } }

/* ---------- Page hero (inner pages) ---------- */
.phero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; text-align: center; color: var(--white);
  min-height: clamp(520px, 74svh, 760px);
  padding: calc(var(--hdr-h) + 2.5rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--navy-950);
}
.phero .hero-media img { object-position: 50% 50%; }
.phero h1 { font-size: clamp(2.1rem, 1.3rem + 4vw, 4.1rem); margin-top: var(--s-5); color: var(--white); max-width: 18ch; text-shadow: 0 2px 40px rgba(0, 8, 30, 0.45); }
.phero h1 .accent { color: var(--gold); }
.phero .hero-sub { max-width: 40ch; }
.crumbs { list-style: none; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.45rem 0.95rem; border-radius: var(--r-pill); background: rgba(0, 24, 72, 0.5); border: 1px solid rgba(225, 176, 75, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.crumbs a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "//"; color: var(--gold); margin-right: 0.35rem; letter-spacing: -0.08em; }
.crumbs [aria-current] { color: var(--gold); }
.photo-credit { position: absolute; right: 10px; bottom: 8px; z-index: 1; font-size: 0.7rem; color: rgba(255, 255, 255, 0.72); text-decoration: none; max-width: 70vw; text-align: right; }
.photo-credit a { color: inherit; }

/* ---------- Ticker strip ---------- */
.ticker { background: var(--navy-800); color: var(--white); border-block: 1px solid rgba(225, 176, 75, 0.22); overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.ticker-list { list-style: none; display: flex; align-items: center; flex: none; padding-block: 1.05rem; }
.ticker-list li { display: inline-flex; align-items: center; font-family: var(--f-display); font-weight: 800; font-stretch: 118%; font-size: clamp(0.95rem, 0.86rem + 0.4vw, 1.15rem); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.ticker-list li::after { content: "//"; color: var(--gold); padding-inline: 1.1rem; letter-spacing: -0.1em; }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: ticker 42s linear infinite; } .ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; } }
.ticker { position: relative; }
.ticker-toggle { position: absolute; right: 6px; top: 50%; translate: 0 -50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(225, 176, 75, 0.45); background: var(--navy-800); color: var(--gold); }
.ticker-toggle .ic { width: 16px; height: 16px; }
.ticker-toggle .i-play { display: none; }
.ticker.is-paused .ticker-toggle .i-play { display: block; }
.ticker.is-paused .ticker-toggle .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .ticker-toggle { display: none; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { width: auto; flex-wrap: wrap; justify-content: center; } .ticker-list[aria-hidden] { display: none; } .ticker-list { flex-wrap: wrap; justify-content: center; } }

/* ---------- Intro split + portholes ---------- */
.intro { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); align-items: center; }
.intro-copy p { color: var(--ink-2); max-width: 46ch; }
.intro-copy .h2 { margin-bottom: var(--s-5); }
.intro-copy .lede { margin-bottom: var(--s-4); }
.intro-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-top: var(--s-6); }
.portholes { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1 / 0.92; }
.porthole { position: absolute; margin: 0; border-radius: 50%; }
.porthole img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-2); }
.porthole::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0.85; pointer-events: none; }
.porthole--a { width: 66%; left: 0; top: 0; }
.porthole--b { width: 50%; right: 0; bottom: 0; }
.porthole--b::after { border-color: var(--navy-700); border-style: dashed; }
.porthole-tag {
  position: absolute; left: 50%; bottom: 4%; translate: -58% 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.45rem; max-width: 88%;
  padding: 0.55rem 0.9rem; border-radius: var(--r-pill); background: var(--navy-950); color: var(--white);
  font-size: 0.8rem; font-weight: 700; box-shadow: var(--shadow-2); white-space: nowrap;
}
.porthole-tag .ic { color: var(--gold); width: 1rem; height: 1rem; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.05fr 0.95fr; } .intro--flip .intro-media { order: -1; } }

/* ---------- Numbered service blocks ---------- */
.svcs { display: grid; gap: clamp(3.5rem, 2rem + 6vw, 7rem); counter-reset: svc; }
.svc { display: grid; gap: var(--s-5); align-items: center; position: relative; }
.svc-media { position: relative; margin-inline: calc(var(--gutter) * -1); }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 24, 72, 0.35)); pointer-events: none; }
.svc-num {
  position: absolute; z-index: 2; left: var(--gutter); bottom: -0.32em;
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(5.2rem, 3.6rem + 7vw, 11rem); line-height: 0.8; letter-spacing: -0.04em;
  color: var(--paper); -webkit-text-stroke: 2px var(--navy-700);
  text-shadow: 0 10px 30px rgba(0, 20, 60, 0.18); pointer-events: none;
}
@supports not (-webkit-text-stroke: 2px red) { .svc-num { color: var(--navy-700); } }
.svc-body { padding-top: var(--s-6); max-width: 560px; }
.svc-body .kicker { margin-bottom: var(--s-3); }
.svc-body .h3 { font-size: clamp(1.75rem, 1.2rem + 2.3vw, 2.85rem); margin-bottom: var(--s-4); }
.svc-body p { color: var(--ink-2); }
.svc-body .link-arrow { margin-top: var(--s-5); }
.svc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--s-4); }
.svc-tags li { font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.7rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--navy-800); background: rgba(255, 255, 255, 0.55); }
@media (min-width: 900px) {
  .svc { grid-template-columns: 1.2fr 0.8fr; gap: clamp(2.5rem, 1rem + 4vw, 5rem); }
  .svc-media { margin-inline: 0; }
  .svc-media img { border-radius: var(--r-l); aspect-ratio: 5 / 4; box-shadow: var(--shadow-2); }
  .svc-media::after { border-radius: var(--r-l); }
  .svc:nth-child(even) .svc-media { order: 2; }
  .svc-num { left: auto; right: -0.08em; bottom: -0.3em; }
  .svc:nth-child(even) .svc-num { right: auto; left: -0.08em; }
  .svc-body { padding-top: 0; }
}

/* ---------- Why (editorial list on navy) ---------- */
.why { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.why-list { list-style: none; display: grid; border-top: 1px solid var(--line-inv); }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem var(--s-5); padding-block: var(--s-5); border-bottom: 1px solid var(--line-inv); }
.why-n { grid-row: span 2; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: 0.95rem; color: var(--gold); padding-top: 0.35rem; min-width: 2.2rem; }
.why-item h3 { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.65rem); color: var(--white); }
.why-item p { color: var(--on-navy-2); margin-top: 0.4rem; max-width: 46ch; }
.why-media { position: relative; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--shadow-3); }
.why-media::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 2px solid var(--gold); border-radius: var(--r-l); z-index: -1; opacity: 0.8; }
.why-media { isolation: isolate; margin-right: 14px; }
.why-badge {
  position: absolute; left: -6px; bottom: 26px; z-index: 2;
  display: grid; gap: 2px; padding: 0.9rem 1.1rem; border-radius: var(--r-m);
  background: var(--gold); color: var(--navy-950); box-shadow: var(--shadow-2);
  font-weight: 800; line-height: 1.15; max-width: 220px;
}
.why-badge small { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.why-badge strong { font-family: var(--f-display); font-stretch: 115%; font-size: 1.2rem; }
@media (min-width: 900px) { .why { grid-template-columns: 1.1fr 0.9fr; align-items: center; } .why-media { order: 2; } }

/* ---------- Mid-page photo moment ---------- */
.moment {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(440px, 78svh, 760px);
  display: grid; align-items: end;
  color: var(--white); background: var(--navy-950);
}
.moment .hero-media img { object-position: 50% 62%; }
.moment-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 16, 46, 0.1) 0%, rgba(0, 16, 46, 0.05) 40%, rgba(0, 14, 42, 0.9) 100%); }
.moment-in { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.moment h2 { font-size: clamp(2.2rem, 1.3rem + 4.4vw, 4.8rem); max-width: 15ch; color: var(--white); }
.moment h2 .accent { color: var(--gold); }
.moment p { margin-top: var(--s-4); max-width: 38ch; font-size: var(--fs-lede); color: rgba(255, 255, 255, 0.88); }
.moment .link-arrow { margin-top: var(--s-5); color: var(--gold); border-color: rgba(225, 176, 75, 0.45); }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; gap: var(--s-4); position: relative; counter-reset: step; }
.step { position: relative; padding: var(--s-5) var(--s-5) var(--s-5) 4.6rem; background: var(--white); border-radius: var(--r-m); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.step-n {
  position: absolute; left: var(--s-4); top: var(--s-5);
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--navy-950); color: var(--gold);
  font-family: var(--f-display); font-weight: 800; font-stretch: 118%; font-size: 0.95rem;
}
.step h3 { font-size: 1.25rem; color: var(--navy-950); margin-bottom: 0.35rem; }
.step p { color: var(--ink-2); font-size: 0.98rem; }
.step a { color: var(--navy-700); font-weight: 800; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
  .steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 2.6rem; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 24px); z-index: 0; }
  .step { padding: 4.8rem var(--s-5) var(--s-5); background: rgba(255, 255, 255, 0.82); }
  .step-n { left: var(--s-5); top: 1.3rem; width: 2.8rem; height: 2.8rem; box-shadow: 0 0 0 6px var(--paper-2); }
}

/* ---------- Packing mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-m); background: var(--paper-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.mosaic .m1 { grid-column: span 2; aspect-ratio: 16 / 10; }
.mosaic .m2, .mosaic .m3 { aspect-ratio: 1 / 1; }
.mosaic .m4 { grid-column: span 2; aspect-ratio: 16 / 9; }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; padding: 0.35rem 0.7rem; border-radius: var(--r-pill); background: rgba(0, 24, 72, 0.82); color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
@media (hover: hover) { .mosaic figure:hover img { transform: scale(1.045); } }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
  .mosaic .m1 { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
  .mosaic .m2, .mosaic .m3 { aspect-ratio: auto; }
  .mosaic .m4 { grid-column: span 2; aspect-ratio: auto; }
}
.pack-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .pack-grid { grid-template-columns: 0.75fr 1.25fr; align-items: center; } }
.pack-copy p { color: var(--ink-2); max-width: 42ch; }
.pack-copy .h2 { margin-bottom: var(--s-5); }
.ticks { list-style: none; display: grid; gap: 0.6rem; margin-block: var(--s-5); }
.ticks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; align-items: start; color: var(--ink); font-weight: 600; }
.ticks .ic { color: var(--navy-700); width: 1.3rem; height: 1.3rem; margin-top: 0.12rem; }
.sec--navy .ticks li { color: var(--on-navy); }
.sec--navy .ticks .ic { color: var(--gold); }

/* ---------- Route (service area signature) ---------- */
.area { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); align-items: start; }
.route { list-style: none; position: relative; padding-left: 2.6rem; }
.route::before, .route::after { content: ""; position: absolute; left: 0.95rem; top: 1.4rem; bottom: 1.4rem; width: 4px; border-radius: 4px; }
.route::before { background: rgba(230, 223, 192, 0.16); }
.route::after { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); transform-origin: top; }
html.js .route::after { transform: scaleY(0); transition: transform 1.6s var(--ease-out) 0.15s; }
html.js .route.in::after { transform: scaleY(1); }
.stop a {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-4);
  min-height: 62px; padding: 0.75rem 0.9rem 0.75rem 0.5rem; border-radius: var(--r-m);
  text-decoration: none; color: var(--white);
  transition: background-color var(--t-fast) var(--ease);
}
.stop a::before {
  content: ""; position: absolute; left: calc(-2.6rem + 0.45rem); top: 50%; translate: 0 -50%;
  width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--navy-950); border: 4px solid var(--gold); z-index: 1;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.stop--base a::before { width: 1.55rem; height: 1.55rem; left: calc(-2.6rem + 0.27rem); background: var(--gold); box-shadow: 0 0 0 6px rgba(225, 176, 75, 0.2); }
.stop-name { font-family: var(--f-display); font-weight: 800; font-stretch: 115%; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem); line-height: 1.1; }
.stop-meta { font-size: 0.86rem; font-weight: 700; color: var(--on-navy-2); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.stop-meta b { color: var(--gold); font-weight: 800; }
@media (hover: hover) { .stop a:hover { background: rgba(255, 255, 255, 0.06); } .stop a:hover::before { transform: scale(1.25); background: var(--gold); } }
html.js .route .stop { opacity: 0; transform: translateX(-10px); transition: opacity 0.5s var(--ease) calc(var(--i) * 110ms + 0.25s), transform 0.5s var(--ease) calc(var(--i) * 110ms + 0.25s); }
html.js .route.in .stop { opacity: 1; transform: none; }
.area-aside { display: grid; gap: var(--s-5); }
.area-photo { position: relative; margin: 0; }
.area-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--shadow-3); }
.area-photo figcaption { margin-top: 0.6rem; font-size: 0.78rem; color: var(--on-navy-2); }
.area-photo figcaption a { color: inherit; }
.area-note { padding: var(--s-5); border-radius: var(--r-m); border: 1px dashed rgba(225, 176, 75, 0.5); color: var(--on-navy); }
.area-note strong { color: var(--gold); }
.area-note a { color: var(--gold); font-weight: 800; }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1fr; } .area-aside { position: sticky; top: calc(var(--hdr-h) + 24px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-1); transition: border-color var(--t-fast) var(--ease); }
.faq details[open] { border-color: rgba(0, 48, 96, 0.35); }
.faq summary {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-4); align-items: center;
  min-height: 64px; padding: 1rem 1.2rem; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.08rem; line-height: 1.25; color: var(--navy-950);
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy-700); border-radius: 2px; transition: transform var(--t-med) var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--gold); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq-a { padding: 0 1.2rem 1.2rem; color: var(--ink-2); max-width: 66ch; }
.faq-a a { color: var(--navy-700); font-weight: 700; }
@media (min-width: 900px) { .faq { grid-template-columns: 0.8fr 1.2fr; align-items: start; } .faq .sec-head { position: sticky; top: calc(var(--hdr-h) + 24px); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--gold); color: var(--navy-950); padding-block: clamp(3.5rem, 2.4rem + 4.6vw, 6rem); }
.cta-band::before { content: ""; position: absolute; right: -6%; top: 50%; translate: 0 -50%; width: min(70vw, 620px); aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 255, 255, 0.32), transparent 62%); pointer-events: none; }
.cta-band-in { position: relative; display: grid; gap: var(--s-5); align-items: center; }
.cta-band h2 { font-size: clamp(2rem, 1.3rem + 3.3vw, 3.7rem); color: var(--navy-950); max-width: 16ch; }
.cta-band p { font-size: var(--fs-lede); color: var(--navy-800); margin-top: var(--s-3); max-width: 40ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cta-band .btns .btn { flex: 1 1 220px; }
@media (min-width: 900px) { .cta-band-in { grid-template-columns: 1.2fr auto; } .cta-band .btns { flex-direction: column; } .cta-band .btns .btn { flex: none; min-width: 300px; } }

/* ---------- Quote / contact ---------- */
.quote { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); align-items: start; }
.quote-info .h2 { margin-bottom: var(--s-4); }
.quote-info .lede { margin-bottom: var(--s-6); }
.facts { list-style: none; display: grid; gap: 2px; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.facts li { display: grid; grid-template-columns: 2.6rem 1fr; gap: var(--s-3); align-items: center; padding: 1rem 1.1rem; background: var(--white); }
.facts .ic { width: 1.35rem; height: 1.35rem; color: var(--navy-700); justify-self: center; }
.facts small { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.facts a, .facts span { font-weight: 700; color: var(--navy-950); text-decoration: none; overflow-wrap: anywhere; }
.facts a:hover { color: var(--navy-700); text-decoration: underline; }
.facts .big { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; }
.form-card { background: var(--white); border-radius: var(--r-l); padding: clamp(1.3rem, 0.9rem + 2vw, 2.4rem); box-shadow: var(--shadow-2); border: 1px solid var(--line); position: relative; }
.form-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -4px; height: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, var(--navy-700), var(--gold)); }
.form-card h3 { font-size: 1.45rem; color: var(--navy-950); }
.form-card > p { color: var(--ink-3); font-size: 0.95rem; margin-top: 0.35rem; }
.form { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 800; color: var(--navy-950); }
.field label .opt { font-weight: 600; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 0.95rem;
  border: 1.5px solid rgba(0, 24, 72, 0.22); border-radius: var(--r-s); background: var(--paper);
  font-size: 1rem; color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003060' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; padding-right: 2.6rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b93a4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: var(--white); box-shadow: 0 0 0 4px rgba(225, 176, 75, 0.45); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: var(--s-3); }
.form-note { font-size: 0.85rem; color: var(--ink-3); }
.form-note a { color: var(--navy-700); font-weight: 700; }
.form-status { font-weight: 700; font-size: 0.98rem; border-radius: var(--r-s); }
.form-status:empty { display: none; }
.form-status.ok { padding: 0.9rem 1rem; background: #e7f3ea; color: #14532d; border: 1px solid #a7d3b3; }
.form-status.err { padding: 0.9rem 1rem; background: #fbeaea; color: #8a1c1c; border: 1px solid #efb7b7; }
.form-status a { color: inherit; }
@media (min-width: 980px) { .quote { grid-template-columns: 0.85fr 1.15fr; } .quote-info { position: sticky; top: calc(var(--hdr-h) + 24px); } }

/* ---------- Inner-page prose + parts ---------- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split--flip > :first-child { order: 2; } }
.prose { max-width: 62ch; }
.prose .h2 { margin-bottom: var(--s-5); }
.prose h3 { font-size: 1.3rem; color: var(--navy-950); margin: var(--s-6) 0 var(--s-3); }
.prose p { color: var(--ink-2); }
.prose p a, .prose li a { color: var(--navy-700); font-weight: 700; }
.sec--navy .prose p { color: var(--on-navy-2); }
.sec--navy .prose h3 { color: var(--white); }
.sec--navy .prose p a, .sec--navy .prose li a, .on-dark .prose a { color: var(--gold); }
.sec--navy .checks { border-color: var(--line-inv); }
.sec--navy .checks li { color: var(--on-navy); border-color: var(--line-inv); }
.sec--navy .checks .ic { color: var(--gold); }
.frame { position: relative; margin: 0; isolation: isolate; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--shadow-2); }
.frame--wide img { aspect-ratio: 4 / 3; }
.frame::before { content: ""; position: absolute; inset: -12px 16px 16px -12px; border-radius: var(--r-l); background: repeating-linear-gradient(135deg, rgba(0, 48, 96, 0.1) 0 2px, transparent 2px 12px); z-index: -1; }
.frame figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--ink-3); }
.frame figcaption a { color: inherit; }
.frame--circle img { aspect-ratio: 1; border-radius: 50%; }
.frame--circle::before { border-radius: 50%; inset: -14px; background: none; border: 2px dashed rgba(0, 48, 96, 0.35); }
.checks { list-style: none; display: grid; gap: 0; margin-top: var(--s-5); border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 1.7rem 1fr; gap: 0.7rem; align-items: start; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.checks .ic { width: 1.35rem; height: 1.35rem; color: var(--navy-700); margin-top: 0.1rem; }
@media (min-width: 700px) { .checks--2 { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }
.band-photo { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(300px, 52svh, 560px); display: grid; align-items: end; color: var(--white); }
.band-photo .hero-media img { object-position: 50% 50%; }
.band-photo .moment-scrim { background: linear-gradient(180deg, transparent 30%, rgba(0, 14, 42, 0.86)); }
.band-photo p { font-family: var(--f-display); font-weight: 800; font-stretch: 115%; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); line-height: 1.08; max-width: 22ch; padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); margin: 0; }
.band-photo p .accent { color: var(--gold); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s-5); }
.chips a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--white); color: var(--navy-950); font-weight: 700; text-decoration: none; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.chips a .ic { width: 1rem; height: 1rem; color: var(--navy-700); }
.chips a[aria-current] { background: var(--navy-950); color: var(--white); border-color: var(--navy-950); }
.chips a[aria-current] .ic { color: var(--gold); }
@media (hover: hover) { .chips a:hover { border-color: var(--navy-700); background: var(--paper); } }
.sec--navy .chips a { background: transparent; color: var(--white); border-color: var(--line-inv); }
.sec--navy .chips a .ic { color: var(--gold); }
.cards { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--5 { grid-template-columns: repeat(6, 1fr); } .cards--5 > :nth-child(-n+2) { grid-column: span 3; } .cards--5 > :nth-child(n+3) { grid-column: span 2; } }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-m); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); text-decoration: none; color: inherit; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.card-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card-media--circle { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--paper), var(--paper-2)); }
.card-media--circle img { width: 62%; height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: var(--shadow-1); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; display: grid; gap: 0.4rem; align-content: start; }
.card-body h3 { font-size: 1.2rem; color: var(--navy-950); }
.card-body p { color: var(--ink-2); font-size: 0.96rem; }
.card-go { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; font-weight: 800; color: var(--navy-700); font-size: 0.95rem; }
.card-go .ic { width: 1rem; height: 1rem; transition: transform var(--t-fast) var(--ease); }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); } .card:hover .card-media img { transform: scale(1.05); } .card:hover .card-go .ic { transform: translateX(4px); } }
.dist { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: var(--s-5); padding: 0.55rem 1rem; border-radius: var(--r-pill); background: rgba(0, 24, 72, 0.55); border: 1px solid rgba(225, 176, 75, 0.45); font-weight: 700; font-size: 0.92rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dist .ic { color: var(--gold); width: 1.05rem; height: 1.05rem; }
.townfacts { list-style: none; display: grid; gap: 2px; margin-top: var(--s-5); border-radius: var(--r-m); overflow: hidden; background: var(--line-inv); }
.townfacts li { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--s-3); padding: 0.85rem 1rem; background: var(--navy-800); color: var(--on-navy); font-size: 0.95rem; }
.townfacts b { color: var(--gold); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 0.15rem; }
@media (max-width: 420px) { .townfacts li { grid-template-columns: 1fr; gap: 0.15rem; } }
.map { border: 0; width: 100%; height: clamp(320px, 48svh, 460px); border-radius: var(--r-l); box-shadow: var(--shadow-2); background: var(--paper-2); }
.credits { list-style: none; display: grid; gap: 0.4rem; font-size: 0.88rem; color: var(--ink-3); }
.credits a { color: var(--navy-700); }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-950); color: var(--on-navy-2); padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0 calc(1.5rem + var(--mbar-h) + env(safe-area-inset-bottom)); position: relative; overflow: hidden; }
.ftr::before { content: "ALLSTATE"; position: absolute; left: 50%; bottom: -0.18em; translate: -50% 0; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(5rem, 2rem + 17vw, 19rem); line-height: 1; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1px rgba(225, 176, 75, 0.12); white-space: nowrap; pointer-events: none; }
.ftr-grid { position: relative; display: grid; gap: var(--s-7) var(--s-6); }
.ftr-brand p { margin-top: var(--s-4); max-width: 34ch; }
.ftr h2 { font-family: var(--f-body); font-stretch: 100%; font-size: var(--fs-kicker); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-4); }
.ftr ul { list-style: none; display: grid; gap: 0.1rem; }
.ftr ul a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-navy); text-decoration: none; font-weight: 600; }
.ftr ul a:hover { color: var(--gold); }
.nap { display: grid; gap: 0.7rem; margin-top: var(--s-5); }
.nap a, .nap span { display: inline-flex; gap: 0.6rem; align-items: flex-start; color: var(--on-navy); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.nap .ic { color: var(--gold); margin-top: 0.2rem; }
.nap a:hover { color: var(--gold); }
.nap .tel { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; color: var(--white); }
.ftr-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line-inv); font-size: 0.86rem; }
.ftr-bottom a { color: var(--on-navy-2); }
@media (min-width: 720px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Mobile action bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(0, 24, 72, 0.96); border-top: 1px solid rgba(225, 176, 75, 0.3);
  box-shadow: 0 -12px 30px -16px rgba(0, 8, 30, 0.6);
  transition: transform var(--t-med) var(--ease-out);
}
@supports (backdrop-filter: blur(10px)) { .mbar { background: rgba(0, 24, 72, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.mbar .btn { min-height: 50px; padding-inline: 0.8rem; font-size: 0.98rem; }
.mbar.is-away, .mbar.is-tucked { transform: translateY(110%); }
@media (max-width: 899px) { :root { --mbar-h: calc(66px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .mbar { display: none; } }

/* ---------- Reveal (content never waits: only with JS, quick) ---------- */
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js .route .stop { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js .route::after { transform: none !important; transition: none !important; }
  .kb { animation: none !important; transform: scale(1.04); }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--hdr-h) + 2rem) var(--gutter) 4rem; background: var(--navy-950); color: var(--white); }
.nf h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.4rem); }
.nf p { margin: var(--s-4) auto var(--s-6); color: var(--on-navy-2); max-width: 40ch; }
.nf .btns { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }

/* ---------- Print ---------- */
@media print { .hdr, .mbar, .drawer, .ticker, .hero-media, .moment, .cta-band { display: none !important; } body { background: #fff; color: #000; } }

/* home: the hero lockup is the logo at the top; the header mark arrives with the solid bar */
.pg-home .hdr .brand { transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.pg-home .hdr:not(.is-solid) .brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }
