/* EMS Therapy site styles, v2
   Photo-led, white ground, one warm accent (rose). Two faces: Instrument Serif for display, Familjen Grotesk for everything else.
   Radius rule: pills for buttons, 24px for photos and panels, 12px for inputs. */

@font-face {
  font-family: "Familjen";
  src: url("/assets/fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;

  --rose: #C43F5F;
  --rose-700: #A93250;
  --rose-800: #8E2843;
  --rose-100: #F5E3E6;
  --rose-050: #FBF4F5;
  --on-rose: #FFFFFF;

  --ground: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #1C1A21;
  --ink-2: #5F5A66;
  --ink-3: #8B8590;
  --line: #EAE4E5;
  --line-2: #D8CFD1;
  --tint: var(--rose-050);
  --tint-2: var(--rose-100);
  --sand: #F8F5F2;

  --plum: #2A1E27;
  --plum-deep: #1D141B;
  --on-plum: #FFFFFF;
  --on-plum-2: rgba(255, 255, 255, 0.74);
  --plum-line: rgba(255, 255, 255, 0.2);

  --link: var(--rose-700);
  --num: var(--rose);
  --focus: var(--rose);
  --shadow: 0 28px 60px -30px rgba(42, 30, 39, 0.38);
  --shadow-sm: 0 10px 28px -18px rgba(42, 30, 39, 0.3);

  --font: "Familjen", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --fs-display: clamp(2.75rem, 1.6rem + 4.2vw, 4.75rem);
  --fs-h2: clamp(2.125rem, 1.45rem + 2.4vw, 3.25rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  --r-pill: 999px;
  --r-tile: 24px;
  --r-input: 12px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: 20px;
  --max: 1200px;
  --nav-h: 72px;
  --section: clamp(3.5rem, 2.5rem + 4.5vw, 7rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #17141A;
    --surface: #1F1B23;
    --ink: #F3EEF0;
    --ink-2: #B9B0B5;
    --ink-3: #8C838A;
    --line: #322C34;
    --line-2: #463E48;
    --tint: #241C22;
    --tint-2: #31242C;
    --sand: #1E1A1F;
    --plum: #0F0C11;
    --plum-deep: #0A080C;
    --link: #E4879E;
    --num: #E4879E;
    --focus: #E4879E;
    --shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.7);
    --shadow-sm: 0 10px 28px -18px rgba(0, 0, 0, 0.6);
  }
}

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-thickness: 2px; } }
button { font: inherit; color: inherit; }
::selection { background: var(--rose-100); color: var(--rose-800); }
@media (prefers-color-scheme: dark) { ::selection { background: var(--rose-700); color: #fff; } }
input, textarea, select { caret-color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.cta-band :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--rose); color: var(--on-rose); padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none; transition: top 160ms var(--ease-out);
}
.skip:focus { top: 12px; }

.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;
}

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 480px) { :root { --gutter: 16px; } }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Type */
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: 1.0; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.06; }
h1 em, h2 em { font-style: italic; color: var(--rose-700); }
@media (prefers-color-scheme: dark) { h1 em, h2 em { color: var(--link); } }
h3, .h3 { font-family: var(--font); font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose-700);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; border-radius: 2px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--link); } }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); max-width: 58ch; }
.lead strong { color: var(--ink); font-weight: 600; }
.measure { max-width: 64ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-small); }
p + p { margin-top: 1em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 54px; padding: 0 1.6rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1.0625rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--rose); color: var(--on-rose); border-color: var(--rose); box-shadow: 0 10px 24px -14px rgba(196, 63, 95, 0.7); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--rose-700); border-color: var(--rose-700); box-shadow: 0 14px 28px -14px rgba(196, 63, 95, 0.75); }
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: var(--ink); } }
.cta-band .btn-ghost { color: var(--on-plum); border-color: var(--plum-line); }
@media (hover: hover) and (pointer: fine) { .cta-band .btn-ghost:hover { border-color: var(--on-plum); } }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; color: inherit;
  text-decoration: none; border-bottom: 2px solid var(--tint-2); padding-bottom: 2px;
  transition: border-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) { .textlink:hover { border-color: currentColor; } }
.textlink .icon { width: 1.05em; height: 1.05em; }

/* Photos */
.photo { border-radius: var(--r-tile); overflow: hidden; background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--ground) 88%, transparent); color: var(--ink);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 1.25rem; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; margin-right: auto; }
.brand-word { font-family: var(--serif); font-size: 1.625rem; letter-spacing: -0.01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 0.55rem 0.8rem; border-radius: var(--r-pill);
  transition: color 150ms ease, background-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); } }
.nav a[aria-current="page"] { color: var(--ink); background: var(--tint); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.call-link {
  display: inline-flex; align-items: center; gap: 0.45em; color: var(--ink); text-decoration: none; font-weight: 600;
  padding: 0.55rem 0.5rem; border-radius: var(--r-pill);
}
.call-link .icon { width: 1.2em; height: 1.2em; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: transparent; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }

@media (max-width: 1100px) { .call-link span { display: none; } .call-link { width: 44px; height: 44px; padding: 0; justify-content: center; border: 1.5px solid var(--line-2); } }
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem; box-shadow: var(--shadow-sm);
    transform-origin: top center;
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
    opacity: 0; transform: translateY(-6px); visibility: hidden;
  }
  .nav[data-open="true"] { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav a { padding: 0.9rem 0.25rem; font-size: 1.125rem; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { background: none; color: var(--rose-700); }
  .nav .btn { margin-top: 0.75rem; border-bottom: 0; text-align: center; }
}

/* Hero: copy left, photo right, photo bleeds to the viewport edge on wide screens */
.hero { position: relative; overflow: hidden; }
.hero .container {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(2rem, 4vw, 5rem); align-items: center;
  padding-block: clamp(2rem, 1rem + 3vw, 4rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.hero-copy { max-width: 40rem; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy .lead { margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.hero-facts li { display: inline-flex; align-items: center; gap: 0.45em; font-size: var(--fs-small); color: var(--ink-2); }
.hero-facts .icon { color: var(--rose); width: 1.1em; height: 1.1em; }
.hero-facts strong { color: var(--ink); font-weight: 600; }
.hero-media { position: relative; }
.hero-media .photo { width: 100%; height: clamp(520px, 78vh, 760px); box-shadow: var(--shadow); }
.hero-media .photo img { object-position: var(--pos, 50% 40%); }
@media (min-width: 1101px) {
  .hero-media { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter))); }
  .hero-media .photo { border-radius: var(--r-tile) 0 0 var(--r-tile); }
}
@media (max-width: 960px) { .hero .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; } }
@media (max-width: 680px) {
  .hero .container { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 1.5rem; }
  .hero-media { order: -1; }
  .hero-media .photo { aspect-ratio: 4 / 3; height: auto; box-shadow: none; }
  .hero-media .photo img { object-position: var(--pos-m, 50% 25%); }
  .hero-copy h1 { margin-bottom: 1rem; }
  .hero-copy .lead { margin-bottom: 1.5rem; }
}

/* Portrait placeholder slot ({{HEADSHOT}}) */
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-tile); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.35) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--tint-2), var(--tint));
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.portrait-label {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 1rem;
  color: var(--ink-2); font-size: var(--fs-small); line-height: 1.4;
}
.portrait-label code { font-family: inherit; font-weight: 600; color: var(--ink); }
.portrait-caption { margin-top: 0.9rem; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.4; }
.portrait-caption strong { color: var(--ink); display: block; font-size: 1rem; }
.portrait--square { aspect-ratio: 1; }

/* Sections */
.section { padding: var(--section) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head .lead { max-width: 54ch; }
.hairline { border-top: 1px solid var(--line); }
.section--tint { background: var(--tint); }
.section--sand { background: var(--sand); }

/* Two-column: sticky heading left, content right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 5rem); }
.split-head { align-self: start; }
.split-head h2 { margin-bottom: 1rem; }
.split-head .lead { margin-bottom: 1.5rem; }
@media (min-width: 861px) { .split-head { position: sticky; top: calc(var(--nav-h) + 1.5rem); } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* Stat callout */
.stat { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: baseline; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 30rem; }
.stat strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); line-height: 1; color: var(--rose-700); letter-spacing: -0.02em; }
@media (prefers-color-scheme: dark) { .stat strong { color: var(--link); } }
.stat span { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.45; }
.stat sup { font-size: 0.7em; }
.stat sup a { text-decoration: none; }
.footnote { color: var(--ink-2); font-size: 0.8125rem; line-height: 1.45; max-width: 60ch; margin-top: 2.5rem; }

/* Condition cards: photo on top, then a short list */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 2rem); }
.card { display: flex; flex-direction: column; }
.card .photo { aspect-ratio: 4 / 3; margin-bottom: 1.35rem; }
.card .photo img { object-position: var(--pos, 50% 40%); transition: transform 600ms var(--ease-out); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; letter-spacing: -0.01em; margin-bottom: 0.85rem; }
.card dl { display: grid; gap: 0.9rem; }
.card dt { font-weight: 600; margin-bottom: 0.1rem; }
.card dd { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; gap: 2.5rem; } .card .photo { aspect-ratio: 16 / 10; } }
@media (min-width: 901px) and (max-width: 1100px) { .card h3 { font-size: 1.5rem; } }

/* Compact conditions (state pages) */
.ledger { display: grid; gap: 2rem; }
.ledger-group h3 { padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); margin-bottom: 0.75rem; }
.ledger-group dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.25rem 2rem; }
.ledger-group dt { font-weight: 600; margin-bottom: 0.15rem; }
.ledger-group dd { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }

/* How a visit works: photo + head on the left, numbered steps on the right */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.how-head h2 { margin-bottom: 1rem; }
.how-head .lead { margin-bottom: 1.75rem; }
.how-head .photo { aspect-ratio: 4 / 3; }
@media (min-width: 861px) { .how-head { position: sticky; top: calc(var(--nav-h) + 1.5rem); } }
.steps { display: grid; counter-reset: step; }
.step { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--rose-700); letter-spacing: -0.02em; padding-top: 0.15rem;
}
@media (prefers-color-scheme: dark) { .step::before { color: var(--link); } }
.step h3 { margin-bottom: 0.2rem; }
.step .when { display: block; color: var(--ink-2); font-size: var(--fs-small); margin-bottom: 0.5rem; }
.step p { color: var(--ink-2); font-size: var(--fs-small); max-width: 52ch; }
.kit {
  margin-top: 1.75rem; background: var(--tint); border-radius: var(--r-tile); padding: 1.25rem 1.5rem;
  display: grid; gap: 0.75rem;
}
.kit h3 { font-size: 1rem; }
.kit ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.kit li { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--fs-small); color: var(--ink-2); }
.kit .icon { color: var(--rose); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; gap: 2rem; } .how-head .lead { margin-bottom: 1.5rem; } }

/* Clinician */
.clinician { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.clinician-copy h2 { margin-bottom: 0.5rem; }
.clinician-copy .creds { color: var(--ink-2); margin-bottom: 1.5rem; font-size: var(--fs-lead); }
.clinician-copy p + p { margin-top: 1rem; }
.clinician-copy .textlink { margin-top: 1.5rem; }
.clinician-media { max-width: 26rem; }
@media (max-width: 860px) { .clinician { grid-template-columns: 1fr; } .clinician-media { max-width: 20rem; } }

/* State tiles: photo, then name and fact */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.tile .photo { aspect-ratio: 16 / 10; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.tile .photo img { object-position: var(--pos, 50% 50%); transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover .photo img { transform: scale(1.03); } }
.tile-name { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); line-height: 1; letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.tile-fact { color: var(--ink-2); max-width: 36ch; }
.tile-fact strong { color: var(--ink); font-weight: 600; }
.tile-go { margin-top: 0.9rem; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; color: var(--rose-700); }
@media (prefers-color-scheme: dark) { .tile-go { color: var(--link); } }
.tile-go .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile-go .icon { transform: translateX(3px); } }
.tiles-note { margin-top: 2rem; color: var(--ink-2); max-width: 60ch; }

/* Facts (insurance / pricing) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 2rem; }
.fact { padding-top: 1.25rem; border-top: 2px solid var(--tint-2); }
.fact h3 { margin-bottom: 0.5rem; }
.fact p { color: var(--ink-2); font-size: var(--fs-small); }
.fact .big { display: block; font-family: var(--serif); font-size: clamp(2.75rem, 2rem + 2.5vw, 4.25rem); line-height: 1; color: var(--ink); margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.fact .big small { font-family: var(--font); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-left: 0.35rem; }

/* Reasons list (military life / in-home) */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.75rem 2.5rem; }
.reasons--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.reason { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 0.85rem; }
.reason .icon { width: 1.5rem; height: 1.5rem; color: var(--rose); margin-top: 0.15rem; }
.reason h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.reason p { color: var(--ink-2); font-size: var(--fs-small); }

/* Photo + copy band (state pages) */
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 5rem); align-items: center; }
.feature .photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.feature .photo img { object-position: var(--pos, 50% 50%); }
.feature-copy h2 { margin-bottom: 1.5rem; }
.feature--flip .photo { order: 2; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 2rem; } .feature--flip .photo { order: 0; } }

/* Testimonials placeholder */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1.25rem; }
.quote-slot {
  min-height: 10rem; border: 1.5px dashed var(--line-2); border-radius: var(--r-tile); padding: 1.5rem; background: var(--surface);
  display: grid; place-content: center; text-align: center; color: var(--ink-2); font-size: var(--fs-small);
}
.quote-slot code { font-family: inherit; font-weight: 600; color: var(--ink); display: block; margin-bottom: 0.25rem; }
.quote { border-radius: var(--r-tile); padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); }
.quote p { font-family: var(--serif); font-size: 1.375rem; line-height: 1.3; }
.quote footer { margin-top: 1rem; color: var(--ink-2); font-size: var(--fs-small); }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; font-weight: 600; font-size: 1.125rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--ink-2); transition: transform 200ms var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 0 1.35rem; color: var(--ink-2); max-width: 62ch; }
.faq .answer p + p { margin-top: 0.75em; }
@supports (interpolate-size: allow-keywords) {
  .faq details::details-content {
    block-size: 0; overflow: hidden; opacity: 0;
    transition: block-size 220ms var(--ease-out), content-visibility 220ms allow-discrete, opacity 200ms var(--ease-out);
  }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
  html { interpolate-size: allow-keywords; }
}

/* CTA band */
.cta-band { background: var(--plum); color: var(--on-plum); }
.cta-band .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; padding-block: var(--section); }
.cta-band h2 { margin-bottom: 0.85rem; }
.cta-band p { color: var(--on-plum-2); max-width: 44ch; }
.cta-band .hero-actions { justify-content: flex-start; }
@media (max-width: 860px) { .cta-band .container { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 1.1rem; max-width: 36rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.fieldset { display: grid; gap: 0.4rem; }
.fieldset label { font-weight: 600; font-size: var(--fs-small); }
.fieldset .hint { color: var(--ink-2); font-size: 0.875rem; }
.input, .select, .textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: var(--r-input); padding: 0.8rem 0.95rem; min-height: 50px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-2); opacity: 1; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%235F5A66'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem; }
@media (prefers-color-scheme: dark) { .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23B9B0B5'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32z'/%3E%3C/svg%3E"); } }
.textarea { min-height: 8rem; resize: vertical; }
.fieldset[data-invalid="true"] .input, .fieldset[data-invalid="true"] .select, .fieldset[data-invalid="true"] .textarea { border-color: #B42318; }
@media (prefers-color-scheme: dark) { .fieldset[data-invalid="true"] .input, .fieldset[data-invalid="true"] .select { border-color: #FF8A80; } }
.error { display: none; color: #B42318; font-size: 0.875rem; }
@media (prefers-color-scheme: dark) { .error { color: #FF9E97; } }
.fieldset[data-invalid="true"] .error { display: block; }
.form-status { display: none; border-radius: var(--r-input); padding: 0.9rem 1rem; font-size: var(--fs-small); }
.form-status[data-state="success"] { display: block; background: var(--tint); color: var(--ink); }
.form-status[data-state="error"] { display: block; background: #FBEAE8; color: #7A1C14; }
@media (prefers-color-scheme: dark) { .form-status[data-state="error"] { background: #3A1512; color: #FFC7C2; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 5rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 1.75rem; align-content: start; }
.contact-aside .h3 { margin-bottom: 0.35rem; }
.contact-aside address { font-style: normal; color: var(--ink-2); line-height: 1.5; }
.contact-aside a:not(.btn) { color: var(--ink); font-weight: 600; }
.contact-aside .big-link { display: inline-flex; align-items: center; gap: 0.5em; font-size: 1.25rem; text-decoration: none; }
.contact-aside .big-link .icon { color: var(--rose); }
.contact-aside .photo { aspect-ratio: 4 / 3; margin-top: 0.5rem; }

/* Prose pages */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.75rem; margin-top: 2.25rem; margin-bottom: 0.6rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.prose strong { color: var(--ink); }
.page-head { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 clamp(1.5rem, 1rem + 2vw, 3rem); }
.page-head h1 { margin-bottom: 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2.5rem; font-size: var(--fs-small); color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { font-size: 0.9375rem; color: var(--ink); margin-bottom: 0.6rem; }
.site-footer address { font-style: normal; line-height: 1.55; }
.site-footer ul { display: grid; gap: 0.1rem; }
.site-footer a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); display: inline-block; padding-block: 0.3rem; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { text-decoration-color: currentColor; } }
.footer-brand .brand-word { color: var(--ink); display: inline-block; margin-bottom: 0.6rem; }
.footer-brand p { max-width: 30ch; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky CTA */
.sticky-cta {
  display: none; margin: 0; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: color-mix(in srgb, var(--surface) 92%, transparent); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  grid-template-columns: 1fr auto; gap: 0.6rem;
}
.sticky-cta .btn-call { width: 54px; padding: 0; }
@media (max-width: 900px) {
  .sticky-cta { display: grid; transition: transform 260ms var(--ease-out), visibility 0s linear 0s; }
  .sticky-cta[data-hidden="true"] { transform: translateY(110%); visibility: hidden; transition: transform 200ms var(--ease-in-out), visibility 0s linear 200ms; }
  body { padding-bottom: calc(54px + 1.2rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  .sticky-cta .btn-block { font-size: 0.9375rem; padding-inline: 0.6rem; }
  .hero-actions .btn { width: 100%; font-size: 1rem; }
}
@media (max-width: 350px) { .btn { white-space: normal; line-height: 1.15; padding-block: 0.6rem; } }

/* State chooser dialog */
.chooser { border: 0; padding: 0; background: transparent; max-width: min(92vw, 34rem); width: 100%; margin: auto; }
.chooser::backdrop { background: rgba(42, 30, 39, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.chooser-panel { background: var(--surface); color: var(--ink); border-radius: var(--r-tile); padding: 1.5rem; box-shadow: var(--shadow); }
.chooser-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.chooser-head h2 { font-size: 1.875rem; }
.chooser-head p { color: var(--ink-2); font-size: var(--fs-small); margin-top: 0.25rem; }
.chooser-close { width: 44px; height: 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: transparent; cursor: pointer; display: grid; place-content: center; flex: none; }
.chooser-close .icon { width: 1.2rem; height: 1.2rem; }
.chooser-list { display: grid; gap: 0.75rem; }
.chooser-opt {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem; border-radius: var(--r-input); background: var(--tint); color: var(--ink); text-decoration: none;
  transition: background-color 150ms ease, transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .chooser-opt:hover { background: var(--tint-2); } }
.chooser-opt:active { transform: scale(0.985); }
.chooser-opt strong { display: block; font-size: 1.125rem; }
.chooser-opt span { color: var(--ink-2); font-size: var(--fs-small); }
.chooser-opt .icon { color: var(--rose-700); }
.chooser-foot { margin-top: 1rem; font-size: var(--fs-small); color: var(--ink-2); }
.chooser[open] .chooser-panel { animation: pop 220ms var(--ease-out); }
@media (max-width: 600px) {
  .chooser { max-width: 100%; margin: auto 0 0; }
  .chooser-panel { border-radius: var(--r-tile) var(--r-tile) 0 0; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
  .chooser[open] .chooser-panel { animation: rise 260ms var(--ease-out); }
}
@keyframes pop { from { opacity: 0; transform: scale(0.96); } }
@keyframes rise { from { transform: translateY(12%); opacity: 0.4; } }

/* The one orchestrated moment: hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-enter] { animation: enter 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
  @keyframes enter { from { opacity: 0; transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Utilities */
.stack-sm > * + * { margin-top: 0.75rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.states-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.states-list li { padding: 0.4rem 0.85rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: var(--fs-small); }
.states-list li:has(> a) { padding: 0; }
.states-list li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem; color: var(--ink); text-decoration: none; font-weight: 600; }
