/* ==========================================================================
   giv.care — shared design system (all states)
   Components, type, spacing, motion and accessibility rules shared by every
   giv.care state site. Colors are roles, not hues: each state's theme.css
   supplies the palette (see docs/design-system.md). Class modifiers keep their
   original names as roles: coral = accent, peach = warm tint, mist = cool
   tint, butter = sun tint, pine = support color.
   ========================================================================== */

:root {
  /* Color roles. Every state theme (states/<state>/theme.css) defines:
     --paper(-rgb) --text(-rgb) --ink(-rgb) --ink-2(-rgb) --muted
     --tint-warm --tint-cool --tint-sun --support --support-soft
     --accent(-rgb) --accent-ink --accent-soft --accent-on-ink --accent-fg --accent-hover --accent-2 --accent-wash
     --ok-bg --ok-fg --ok-fg-2 --ok-dot --cta-glow-2 --cta-glow-3 */
  --white: #FFFFFF;

  /* Legacy names (Colorado markup uses them in inline styles): aliases of the roles */
  --cream: var(--paper); --peach: var(--tint-warm); --mist: var(--tint-cool); --butter: var(--tint-sun);
  --coral: var(--accent); --coral-ink: var(--accent-ink); --coral-soft: var(--accent-soft);
  --charcoal: var(--text); --pine: var(--support); --sky: var(--support-soft);
  --line: rgb(var(--text-rgb) / 0.14);
  --line-strong: rgb(var(--text-rgb) / 0.28);
  --glass: rgb(var(--paper-rgb) / 0.62);
  --glass-dark: rgb(var(--ink-2-rgb) / 0.55);

  --font-sans: "Inclusive Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Literata", Georgia, "Times New Roman", serif;

  --max: 1240px;
  --read: 680px;
  --gutter: clamp(16px, 4vw, 40px);
  --pad: clamp(80px, 10vw, 160px);
  --pad-tight: clamp(56px, 6vw, 96px);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(var(--ink-rgb) / .06), 0 2px 8px rgb(var(--ink-rgb) / .04);
  --shadow-md: 0 8px 24px rgb(var(--ink-rgb) / .08), 0 2px 6px rgb(var(--ink-rgb) / .05);
  --shadow-lg: 0 24px 64px rgb(var(--ink-rgb) / .14), 0 4px 12px rgb(var(--ink-rgb) / .06);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-fg); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: var(--r-pill);
  text-decoration: none; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .on-ink:focus-visible { outline-color: var(--accent-on-ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Type
   ========================================================================== */

h1, h2, h3, h4 { margin: 0; color: var(--ink-2); font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(42px, 6.8vw, 96px);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.display em, .h2 em, .h3 em {
  font-style: italic;
  color: var(--accent-ink);
}
.on-ink .display em, .on-ink .h2 em { color: var(--accent-on-ink); }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.12;
  letter-spacing: -.018em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.015em;
}
.h4 { font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--ink-2); }

/* giv.care's signature: wide-tracked uppercase labels */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text); margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .22);
}
.on-ink .eyebrow { color: var(--tint-warm); }

.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--text); max-width: 62ch; }
.on-ink .lede, .on-ink p { color: rgb(var(--paper-rgb) / .82); }
.small { font-size: 14px; line-height: 1.55; }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }
.on-ink .fine { color: rgb(var(--paper-rgb) / .6); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.text-coral { color: var(--accent-ink); }

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-read { max-width: calc(var(--read) + var(--gutter) * 2); }
.section { padding: var(--pad) 0; position: relative; }
.section-tight { padding: var(--pad-tight) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.center { text-align: center; }
.section-head .lede { margin-top: 20px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.bg-peach { background: var(--tint-warm); }
.bg-mist { background: var(--tint-cool); }
.bg-butter { background: var(--tint-sun); }
.bg-white { background: var(--white); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4 { color: var(--paper); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-wide { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */

.btn {
  --btn-bg: var(--ink-2); --btn-fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-spring), background .25s var(--ease), box-shadow .25s var(--ease), color .25s;
  isolation: isolate; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { transition: transform .35s var(--ease-spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-coral { --btn-bg: var(--accent); --btn-fg: var(--accent-fg); }
.btn-coral:hover { --btn-bg: var(--accent-hover); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink-2); border-color: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--white); border-color: var(--ink-2); }
.on-ink .btn-ghost { --btn-fg: var(--paper); border-color: rgb(var(--paper-rgb) / .35); }
.on-ink .btn-ghost:hover { --btn-bg: rgb(var(--paper-rgb) / .08); border-color: var(--paper); }
.btn-light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--ink-2); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px;
  transition: gap .3s var(--ease-spring), color .2s;
}
.link:hover { gap: 12px; color: var(--accent-ink); }
.on-ink .link { color: var(--paper); }
.on-ink .link:hover { color: var(--accent-on-ink); }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.on-ink .prose a { color: var(--accent-soft); }
.prose a.btn { color: var(--btn-fg); text-decoration: none; } /* buttons inside prose keep their own colors */

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed; inset: 12px 12px auto; z-index: 100;
  transition: inset .4s var(--ease);
}
.header-bar {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 24px; border-radius: var(--r-pill);
  background: var(--glass);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, var(--shadow-sm);
  transition: box-shadow .3s var(--ease), background .3s;
}
.site-header.is-scrolled .header-bar { background: rgb(var(--paper-rgb) / .82); box-shadow: var(--shadow-md); }

.wordmark {
  display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; flex-shrink: 0;
  font-family: var(--font-sans); font-weight: 700; font-size: 26px; letter-spacing: -.035em; color: var(--text);
  line-height: 1;
}
.wordmark .dot { color: var(--accent); }
.wordmark .region {
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  padding: 5px 9px 4px; border-radius: var(--r-pill); background: var(--ink-2); color: var(--tint-warm);
  transform: translateY(-3px);
}
.on-ink .wordmark, .site-footer .wordmark { color: var(--paper); }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 10px 14px; border-radius: var(--r-pill);
  text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--text);
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: rgb(var(--text-rgb) / .07); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink-2); color: var(--paper); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--ink-2); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: var(--paper); border-radius: 2px;
  transform: translateX(-50%); transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; transform: none; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a.mm-link {
  font-family: var(--font-display); font-size: 34px; line-height: 1.2;
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgb(var(--paper-rgb) / .1);
}
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 32px; font-size: 15px; color: rgb(var(--paper-rgb) / .7); }
.mobile-menu .mm-foot a { color: var(--tint-warm); }

@media (max-width: 1300px) {
  .main-nav a { padding: 10px 10px; font-size: 15px; }
}
.main-nav a { white-space: nowrap; }
@media (max-width: 1180px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}
body.menu-open { overflow: hidden; }
body.menu-open .header-bar { background: rgb(var(--ink-2-rgb) / .6); border-color: rgba(255,255,255,.1); }
body.menu-open .wordmark { color: var(--paper); }

/* ==========================================================================
   Hero — home
   ========================================================================== */

.hero {
  position: relative; min-height: 100svh; padding: 150px 0 72px;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora .a1 { width: 52vw; height: 52vw; left: -12vw; top: -14vw; background: var(--tint-warm); }
.aurora .a2 { width: 42vw; height: 42vw; right: -8vw; top: 4vw; background: var(--tint-cool); animation-delay: -6s; }
.aurora .a3 { width: 30vw; height: 30vw; left: 38vw; bottom: -12vw; background: rgb(var(--accent-rgb) / .38); animation-delay: -12s; }
.aurora .a4 { width: 26vw; height: 26vw; left: 12vw; bottom: -6vw; background: var(--tint-sun); animation-delay: -3s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 3vw, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, -2vw, 0) scale(.96); }
}
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .28 0 0 0 0 .29 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy .display { margin-bottom: 28px; }
.hero-copy .lede { margin-bottom: 36px; }
.hero-meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--support); }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 7px 16px 7px 8px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 500; text-decoration: none; box-shadow: var(--shadow-sm);
}
.status-pill b {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  background: var(--ink-2); color: var(--tint-warm); padding: 5px 10px; border-radius: var(--r-pill);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-dot); }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok-dot);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* Hero visual: arch photo + floating app cards */
.hero-visual { position: relative; aspect-ratio: 4 / 5; max-width: 520px; justify-self: center; width: 100%; }
.arch {
  position: absolute; inset: 0; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--tint-cool);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(var(--ink-rgb) / .35));
}
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.3; color: var(--ink-2);
  animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: 12.5px; }
.float-card .ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--tint-warm); color: var(--accent-ink);
}
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.fc1 { left: -12%; top: 16%; }
.float-card.fc2 { right: -10%; top: 77%; animation-delay: -2s; }
.float-card.fc2 .ic { background: var(--tint-cool); color: var(--support); }
.float-card.fc3 { left: -4%; bottom: 8%; animation-delay: -4s; }
.float-card.fc3 .ic { background: var(--tint-sun); color: var(--ink-2); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-top: 16px; }
  .float-card.fc1 { left: -4%; }
  .float-card.fc2 { right: -4%; }
}
@media (max-width: 520px) {
  .float-card { font-size: 13px; padding: 10px 12px 10px 10px; }
  .float-card .ic { width: 32px; height: 32px; }
  .float-card.fc1 { left: -2%; top: 10%; }
  .float-card.fc2 { right: -2%; }
  .float-card.fc3 { left: 2%; }
}

/* Front Range ridgeline */
.ridge { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none; color: var(--text); }
.ridge svg { width: 100%; height: auto; }
.ridge path.draw { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 4.5s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Page hero — interior */
.page-hero { position: relative; padding: 170px 0 clamp(64px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.page-hero .display { font-size: clamp(40px, 5.8vw, 82px); max-width: 16ch; margin-bottom: 26px; }
.page-hero .lede { margin-bottom: 32px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent-ink); }

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  --gap: 48px;
  display: flex; overflow: hidden; user-select: none; gap: var(--gap);
  padding: 22px 0; background: var(--ink-2); color: var(--tint-warm);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  flex-shrink: 0; display: flex; align-items: center; gap: var(--gap); min-width: 100%; justify-content: space-around;
  animation: scroll-x 38s linear infinite;
}
.marquee-track span {
  font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; gap: var(--gap);
}
.marquee-track span::after { content: "✺"; color: var(--accent); letter-spacing: 0; }
@keyframes scroll-x { to { transform: translateX(calc(-100% - var(--gap))); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ==========================================================================
   Cards, bento, chips
   ========================================================================== */

.card {
  position: relative; background: var(--white); border-radius: var(--r-md); padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-spring), box-shadow .3s var(--ease), border-color .3s;
}
a.card { text-decoration: none; display: block; }
a.card:hover, .card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .h3 { margin-bottom: 12px; }
.card p { font-size: 16.5px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--tint-warm); color: var(--accent-ink); margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.mist { background: var(--tint-cool); color: var(--support); }
.card-icon.butter { background: var(--tint-sun); color: var(--ink-2); }
.card-icon.ink { background: var(--ink-2); color: var(--tint-warm); }
.on-ink .card { background: rgb(var(--paper-rgb) / .04); border-color: rgb(var(--paper-rgb) / .1); box-shadow: none; }
.on-ink .card p { color: rgb(var(--paper-rgb) / .72); }

.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); }
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 4; }
.bento .b-half { grid-column: span 3; }
.bento .b-tall { grid-row: span 2; }
.bento .card { display: flex; flex-direction: column; overflow: hidden; }
.bento .card.peach { background: var(--tint-warm); border-color: transparent; }
.bento .card.mist { background: var(--tint-cool); border-color: transparent; }
.bento .card.butter { background: var(--tint-sun); border-color: transparent; }
.bento .card.ink { background: var(--ink-2); color: var(--paper); border-color: transparent; }
.bento .card.ink .h3 { color: var(--paper); }
.bento .card.ink p { color: rgb(var(--paper-rgb) / .75); }
.bento .card .push { margin-top: auto; }
.big-num {
  font-family: var(--font-display); font-weight: 320;
  font-size: clamp(56px, 6vw, 88px); line-height: .9; letter-spacing: -.04em; color: var(--ink-2); margin-bottom: 12px;
}
.bento .card.ink .big-num { color: var(--accent-on-ink); }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .b-wide, .bento .b-half { grid-column: span 2; }
  .bento .b-tall { grid-row: auto; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .bento > .b-sm { grid-column: span 1; }
}

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; background: var(--white); border: 1px solid var(--line);
}
.chip svg { width: 16px; height: 16px; color: var(--support); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill); background: var(--tint-cool); color: var(--support);
}
.tag.coral { background: var(--tint-warm); color: var(--accent-ink); }
.tag.butter { background: var(--tint-sun); color: var(--ink-2); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-size: 16.5px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tint-cool) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D6660' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.on-ink .checklist li::before { background-color: rgb(var(--paper-rgb) / .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8777' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Photo frames */
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--tint-cool); box-shadow: var(--shadow-md); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.r-4-5 { aspect-ratio: 4 / 5; }
.photo.r-3-2 { aspect-ratio: 3 / 2; }
.photo.r-1-1 { aspect-ratio: 1; }
.photo.r-16-9 { aspect-ratio: 16 / 9; }
.photo.arch-top { border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.photo-stack { position: relative; }
.photo-stack .photo.small {
  position: absolute; width: 44%; right: -6%; bottom: -8%; border: 6px solid var(--paper); box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) { .photo-stack .photo.small { right: -2%; } }

/* ==========================================================================
   Pathway split (Get care / Give care)
   ========================================================================== */

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.path {
  position: relative; display: flex; flex-direction: column; min-height: 520px; border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: var(--paper); isolation: isolate; padding: clamp(28px, 3.5vw, 48px);
}
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--ink-rgb) / .05) 20%, rgb(var(--ink-rgb) / .82)); }
.path:hover img { transform: scale(1.05); }
.path .tag { align-self: flex-start; background: rgb(var(--paper-rgb) / .9); }
.path .inner { margin-top: auto; }
.path .h2 { color: var(--paper); font-size: clamp(34px, 4vw, 56px); margin-bottom: 14px; }
.path p { color: rgb(var(--paper-rgb) / .86); max-width: 44ch; margin-bottom: 22px; }
.path .chips { margin-bottom: 26px; }
.path .chip { background: rgb(var(--paper-rgb) / .14); border-color: rgb(var(--paper-rgb) / .22); color: var(--paper); backdrop-filter: blur(8px); }
.path .chip svg { color: var(--tint-warm); }
.path .go {
  display: inline-flex; align-items: center; gap: 12px; font-weight: 600;
}
.path .go i {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center;
  transition: transform .4s var(--ease-spring);
}
.path:hover .go i { transform: rotate(-45deg); }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .path { min-height: 460px; } }

/* ==========================================================================
   Steps / journey
   ========================================================================== */

.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.journey::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--accent) var(--progress, 0%), var(--line) var(--progress, 0%));
  transition: --progress 1s;
}
.journey .step { position: relative; }
.journey .step .n {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--line-strong); font-weight: 700; font-size: 17px; margin-bottom: 22px;
  transition: background .4s var(--ease), border-color .4s, color .4s, transform .5s var(--ease-spring);
}
.journey .step.is-lit .n { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); transform: scale(1.06); }
.journey .step .h4 { margin-bottom: 8px; }
.journey .step p { font-size: 16px; color: var(--text); }
.journey .step .when { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.on-ink .journey .step .n { background: var(--ink); border-color: rgb(var(--paper-rgb) / .25); color: var(--paper); }
.on-ink .journey .step.is-lit .n { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.on-ink .journey::before { background: linear-gradient(90deg, var(--accent) var(--progress, 0%), rgb(var(--paper-rgb) / .15) var(--progress, 0%)); }
.on-ink .journey .step p { color: rgb(var(--paper-rgb) / .75); }
.on-ink .journey .step .when { color: rgb(var(--paper-rgb) / .55); }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--accent) var(--progress, 0%), var(--line) var(--progress, 0%)); }
  .on-ink .journey::before { background: linear-gradient(180deg, var(--accent) var(--progress, 0%), rgb(var(--paper-rgb) / .15) var(--progress, 0%)); }
  .journey .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; }
  .journey .step .n { margin-bottom: 0; grid-row: span 3; }
}

/* ==========================================================================
   Tools: navigator, estimator, county finder
   ========================================================================== */

.tool {
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.tool-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); background: var(--paper);
}
.tool-head .t { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.tool-head .dots { display: flex; gap: 6px; }
.tool-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.tool-head .dots i:first-child { background: var(--accent); }
.tool-body { padding: clamp(24px, 4vw, 48px); }

.progress { height: 6px; border-radius: 6px; background: var(--tint-cool); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 6px; transition: width .6s var(--ease); }
.q-count { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 22px 0 10px; }
.q-title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink-2); margin-bottom: 8px; }
.q-help { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.options { display: grid; gap: 10px; }
.options.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .options.two { grid-template-columns: 1fr; } }
.option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper);
  cursor: pointer; font-size: 16.5px; font-weight: 500; line-height: 1.35;
  transition: border-color .2s, background .2s, transform .3s var(--ease-spring);
}
.option:hover { border-color: var(--text); background: var(--white); transform: translateY(-1px); }
.option[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .2); }
.option .o-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-cool); color: var(--support); }
.option .o-ic svg { width: 20px; height: 20px; }
.option small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 2px; }
.tool-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.btn-text { background: none; border: 0; padding: 10px 4px; cursor: pointer; font-weight: 600; color: var(--muted); }
.btn-text:hover { color: var(--ink); }
.btn-text[hidden] { display: none; }
.tool-nav .fine { margin-left: auto; text-align: right; }

.result { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.result-hero { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 20px; background: var(--tint-warm); margin-bottom: 20px; }
.result-hero .badge { flex-shrink: 0; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--ink-2); color: var(--accent-on-ink); }
.result-hero .badge svg { width: 28px; height: 28px; }
.result-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.result-list li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-size: 16px; }
.result-list li b { display: block; color: var(--ink-2); }
.result-list .num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* Estimator */
.estimator { display: grid; grid-template-columns: 1.1fr .9fr; }
.estimator .controls { padding: clamp(24px, 4vw, 44px); display: grid; gap: 30px; align-content: start; }
.estimator .readout {
  position: relative; padding: clamp(24px, 4vw, 44px); background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate;
}
.estimator .readout::before {
  content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / .45), transparent 70%); z-index: -1;
}
.readout .lbl { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--tint-warm); font-weight: 600; }
.readout .amt {
  font-family: var(--font-display); font-weight: 320;
  font-size: clamp(56px, 7vw, 92px); line-height: 1; letter-spacing: -.04em; margin: 10px 0 6px; font-variant-numeric: tabular-nums;
}
.readout .sub { color: rgb(var(--paper-rgb) / .72); font-size: 15px; }
.readout .rows { margin-top: 28px; display: grid; gap: 10px; border-top: 1px solid rgb(var(--paper-rgb) / .14); padding-top: 20px; }
.readout .rows div { display: flex; justify-content: space-between; font-size: 15px; color: rgb(var(--paper-rgb) / .8); font-variant-numeric: tabular-nums; }
.readout .rows b { color: var(--paper); }
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 16px; color: var(--ink-2); margin-bottom: 12px; }
.field-label output { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--tint-cool) var(--fill, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white);
  border: 3px solid var(--ink-2); box-shadow: var(--shadow-md); transition: transform .2s var(--ease-spring);
}
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink-2); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.seg { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--tint-cool); gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 14.5px; cursor: pointer; color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--ink-2); color: var(--paper); }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }

/* County finder */
.county-finder { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; }
.county-map { padding: clamp(24px, 4vw, 44px); background: var(--tint-cool); position: relative; }
.county-map svg { width: 100%; height: auto; overflow: visible; }
.county-map .cty { cursor: pointer; transition: fill .25s, transform .4s var(--ease-spring); transform-box: fill-box; transform-origin: center; outline: none; }
.county-map .cty path, .county-map .cty rect { fill: var(--white); stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; transition: fill .25s; }
.county-map .cty text { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; fill: var(--ink-2); text-transform: uppercase; pointer-events: none; }
.county-map .cty:hover path, .county-map .cty:hover rect, .county-map .cty:focus-visible path, .county-map .cty:focus-visible rect { fill: var(--tint-warm); }
.county-map .cty.is-active path, .county-map .cty.is-active rect { fill: var(--accent); }
.county-map .cty:focus-visible path, .county-map .cty:focus-visible rect { stroke: var(--accent-ink); stroke-width: 3; }
.county-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.county-list button {
  border: 1.5px solid var(--line-strong); background: var(--white); padding: 8px 14px; border-radius: var(--r-pill); cursor: pointer;
  font-weight: 600; font-size: 14.5px; transition: all .2s;
}
.county-list button[aria-pressed="true"] { background: var(--ink-2); color: var(--paper); border-color: var(--ink-2); }
.county-detail { padding: clamp(24px, 4vw, 44px); }
.county-detail .h3 { margin: 8px 0 14px; }
.kv { display: grid; gap: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.kv dt { font-weight: 600; color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.kv dd { margin: 0; color: var(--ink-2); }
.kv a { color: var(--accent-ink); }
@media (max-width: 860px) { .county-finder { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .kv div { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================================
   Program explorer (tabs) + glossary
   ========================================================================== */

.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); width: max-content; max-width: 100%; margin-bottom: 28px; }
.tabs [role="tab"] {
  border: 0; background: transparent; padding: 11px 20px; border-radius: var(--r-pill); cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--text); transition: background .2s, color .2s;
}
.tabs [role="tab"]:hover { background: var(--paper); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink-2); color: var(--paper); }
@media (max-width: 640px) { .tabs { border-radius: 20px; width: 100%; } .tabs [role="tab"] { flex: 1 1 auto; padding: 10px 14px; } }
[role="tabpanel"] { animation: rise .5s var(--ease) both; }
[role="tabpanel"][hidden] { display: none; }
.program { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); }
.program .h2 { font-size: clamp(30px, 3.6vw, 48px); margin: 10px 0 18px; }
.program aside { background: var(--paper); border-radius: var(--r-md); padding: 28px; border: 1px solid var(--line); align-self: start; }
.program aside .h4 { margin-bottom: 14px; }
@media (max-width: 860px) { .program { grid-template-columns: 1fr; } }

.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.glossary div { padding: 20px 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.glossary dt { font-weight: 700; font-size: 18px; color: var(--ink-2); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.glossary dt small { font-weight: 500; font-size: 13.5px; color: var(--muted); }
.glossary dd { margin: 8px 0 0; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 960px) { .glossary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .glossary { grid-template-columns: 1fr; } }
.glossary-search {
  width: 100%; max-width: 420px; padding: 14px 18px 14px 46px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B494A' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 16px center / 20px no-repeat;
  font: inherit; font-size: 16px; margin-bottom: 20px;
}

abbr[data-term] {
  text-decoration: underline dotted var(--accent-ink); text-underline-offset: 4px; cursor: help; position: relative;
}

/* ==========================================================================
   Accordion FAQ
   ========================================================================== */

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--white); border-radius: 18px; border: 1px solid var(--line); overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-weight: 600; font-size: 18px; color: var(--ink-2); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--tint-cool) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1C1D' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease-spring), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq .answer { padding: 0 26px 24px; font-size: 16.5px; max-width: 76ch; }
.faq .answer p { margin-bottom: .8em; }
.faq-group-title { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 40px 0 14px; }
.faq-group-title:first-child { margin-top: 0; }
.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

/* ==========================================================================
   Phone mockup (app preview)
   ========================================================================== */

.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19; margin: 0 auto;
  border-radius: 46px; padding: 12px; background: #151414; box-shadow: var(--shadow-lg), 0 0 0 2px #3a3839 inset;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); padding: 58px 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.screen .app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.screen .app-top b { font-size: 20px; letter-spacing: -.03em; color: var(--text); }
.screen .app-top b span { color: var(--accent); }
.screen .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--tint-warm); display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--accent-ink); }
.screen .shift { border-radius: 16px; padding: 14px; background: var(--ink-2); color: var(--paper); }
.screen .shift small { color: var(--tint-warm); letter-spacing: .14em; text-transform: uppercase; font-size: 10px; font-weight: 700; }
.screen .shift .time { font-size: 22px; font-weight: 600; margin: 4px 0 8px; letter-spacing: -.02em; }
.screen .shift .clock { display: flex; align-items: center; justify-content: space-between; background: var(--accent); color: var(--accent-fg); border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.screen .mini { border-radius: 14px; padding: 12px; background: var(--white); border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.screen .mini i { width: 30px; height: 30px; border-radius: 10px; background: var(--tint-cool); display: grid; place-items: center; flex-shrink: 0; font-style: normal; }
.screen .mini.ok i { background: var(--ok-bg); color: var(--ok-fg-2); }
.screen .mini small { display: block; color: var(--muted); font-size: 11px; }
.screen .bar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.screen .bar span { width: 22px; height: 22px; border-radius: 7px; background: var(--tint-cool); }
.screen .bar span:first-child { background: var(--accent); }

/* ==========================================================================
   Quote / testimonials
   ========================================================================== */

.quote-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); position: relative; }
.quote-card blockquote { margin: 0 0 24px; font-family: var(--font-display); font-size: clamp(21px, 2vw, 27px); line-height: 1.35; letter-spacing: -.012em; color: var(--ink-2); }
.quote-card blockquote::before { content: "“"; display: block; font-size: 80px; line-height: .6; color: var(--accent); margin-bottom: 8px; }
.quote-card cite { font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(40px, 6vw, 88px); background: var(--ink); color: var(--paper); isolation: isolate; }
.cta-band .aurora span { opacity: .35; }
.cta-band .aurora .a1 { background: var(--accent); }
.cta-band .aurora .a2 { background: var(--cta-glow-2); }
.cta-band .aurora .a3 { background: var(--cta-glow-3); }
.cta-band .h2 { color: var(--paper); max-width: 18ch; margin-bottom: 20px; }
.cta-band p { color: rgb(var(--paper-rgb) / .8); max-width: 54ch; margin-bottom: 32px; }
.cta-band .ridge { color: var(--paper); opacity: .22; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-shell { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--paper);
  font: inherit; font-size: 16px; color: var(--ink-2); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); background: var(--white); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .2); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B494A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 640px) { .radio-cards { grid-template-columns: 1fr; } }
.radio-cards label { position: relative; margin: 0; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; font-weight: 600; transition: all .2s; }
.radio-cards label small { font-weight: 400; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-cards label:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .2); }
.radio-cards label:has(input:focus-visible) { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent-ink); flex-shrink: 0; }
.notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--tint-sun); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.notice svg { flex-shrink: 0; width: 22px; height: 22px; }
.form-success { display: none; text-align: center; padding: 40px 12px; }
.form-success .badge { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; animation: pop .6s var(--ease-spring); }
.form-success .badge svg { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
form.is-sent { display: none; }
form.is-sent + .form-success { display: block; }
.form-error { color: var(--accent-ink); font-weight: 600; font-size: 15px; margin-top: 12px; }

/* ==========================================================================
   Tables
   ========================================================================== */

.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--paper); }
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 600; color: var(--ink-2); }

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 32px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats .big-num { font-size: clamp(44px, 5vw, 72px); }
.stats p { font-size: 15px; color: var(--muted); margin: 0; }
.on-ink .stats, .on-ink .stats > div { border-color: rgb(var(--paper-rgb) / .12); }
.on-ink .stats .big-num { color: var(--accent-on-ink); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--ink); color: rgb(var(--paper-rgb) / .75); padding: clamp(64px, 8vw, 112px) 0 32px; position: relative; overflow: hidden; isolation: isolate; font-size: 15.5px; }
.site-footer a { text-decoration: none; color: rgb(var(--paper-rgb) / .75); transition: color .2s; }
.site-footer a:hover { color: var(--accent-on-ink); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgb(var(--paper-rgb) / .12); }
.footer-top h2 { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--tint-warm); font-weight: 600; margin-bottom: 18px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand p { margin: 18px 0 24px; max-width: 34ch; }
.footer-giant {
  font-family: var(--font-sans); font-weight: 700; letter-spacing: -.06em; line-height: .8; color: rgb(var(--paper-rgb) / .06);
  font-size: clamp(90px, 21vw, 320px); margin: 40px 0 -.08em; white-space: nowrap; text-align: center; user-select: none;
}
.footer-giant span { color: rgb(var(--accent-rgb) / .22); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13.5px; color: rgb(var(--paper-rgb) / .55); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: rgb(var(--paper-rgb) / .55); }
.footer-bottom .footer-utility { margin-left: auto; }
.footer-bottom .footer-utility a { color: rgb(var(--paper-rgb) / .8); font-weight: 600; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-scale { opacity: 0; transform: scale(.96); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .reveal-scale.is-in { opacity: 1; transform: none; }

/* Word-by-word headline entrance */
.split-words .w { display: inline-block; vertical-align: baseline; }
.split-words .w > span { display: inline-block; opacity: 0; transform: translateY(.3em); animation: word-up .9s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes word-up { to { opacity: 1; transform: none; } }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.mb-m { margin-bottom: 32px; }
.maxw-read { max-width: 62ch; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.prose h2 { font-family: var(--font-display); font-size: 30px; letter-spacing: -.02em; margin: 48px 0 14px; }
.prose h3 { font-size: 20px; font-weight: 600; margin: 32px 0 10px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* Cap tracker */
.cap-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cap-track > div { position: relative; padding: 18px 18px 16px; border-radius: 16px; background: var(--white); border: 1.5px solid var(--line); }
.cap-track .hrs { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -.03em; color: var(--ink-2); }
.cap-track .hrs small { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.cap-track .when { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.cap-track .is-now { border-color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .18); }
.cap-track .is-now::after { content: "In effect now"; position: absolute; top: -11px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--accent); color: var(--accent-fg); padding: 3px 9px; border-radius: 999px; }
@media (max-width: 640px) { .cap-track { grid-template-columns: 1fr; gap: 16px; } }
.warn { font-size: 14px; color: var(--accent-ink); font-weight: 600; margin-top: 10px; }

/* Relationship rules */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rel { padding: 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.rel .status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.rel .status.yes { background: var(--ok-bg); color: var(--ok-fg); }
.rel .status.rules { background: var(--tint-sun); color: var(--ink-2); }
.rel .h4 { margin-bottom: 6px; }
.rel p { font-size: 15.5px; margin: 0; }
@media (max-width: 860px) { .rel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rel-grid { grid-template-columns: 1fr; } }

.app-card { display: grid !important; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
@media (max-width: 640px) { .app-card { grid-template-columns: 1fr; } .app-card .phone { margin-top: 8px; } }

/* Hero video (inside the arch) */
.arch video { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; display: block; }
.video-toggle {
  position: absolute; z-index: 3; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: rgb(var(--ink-rgb) / .45); color: var(--paper); cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .2s, transform .3s var(--ease-spring);
}
.video-toggle:hover { background: rgb(var(--ink-rgb) / .7); transform: scale(1.06); }
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle .i-play { display: none; }
.video-toggle[data-paused="true"] .i-play { display: block; }
.video-toggle[data-paused="true"] .i-pause { display: none; }
.path::before { background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0) 38%, rgb(var(--ink-rgb) / .55) 60%, rgb(var(--ink-rgb) / .88)); }

/* ==========================================================================
   Brief v2 additions: qualifier line, 5-step journey, audience doors,
   status tags, team placeholders, print profile
   ========================================================================== */

.qualifier {
  display: flex; gap: 10px; align-items: flex-start; max-width: 62ch;
  font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-top: 18px;
}
.qualifier::before {
  content: "i"; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; font: italic 700 11px/1 Georgia, serif;
  background: var(--tint-cool); color: var(--support);
}
.on-ink .qualifier { color: rgb(var(--paper-rgb) / .62); }
.on-ink .qualifier::before { background: rgb(var(--paper-rgb) / .12); color: var(--tint-warm); }

@media (min-width: 1101px) { .journey.five { grid-template-columns: repeat(5, 1fr); } .journey.five .step p { font-size: 15.5px; } }
@media (min-width: 861px) and (max-width: 1100px) {
  .journey.five { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .journey.five::before { display: none; }
}

.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.door {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line); text-decoration: none;
  transition: transform .4s var(--ease-spring), box-shadow .3s var(--ease), border-color .3s;
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.door .who { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.door .h4 { font-size: 20px; }
.door p { font-size: 15.5px; margin: 0; }
.door .cta { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent-ink); display: inline-flex; gap: 8px; }
@media (max-width: 960px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } }

.status { white-space: nowrap; }
.tag.pending { background: var(--tint-sun); color: var(--ink-2); }
.tag.open { background: var(--ok-bg); color: var(--ok-fg); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.team-card .ph {
  aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 20px;
  background: repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--tint-warm) 12px 24px);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.team-card .body { padding: 22px 24px 26px; }
.team-card .role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; margin: 4px 0 10px; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

.promise {
  display: flex; gap: 18px; align-items: center; padding: 22px 26px; border-radius: var(--r-md);
  background: var(--ink-2); color: var(--paper);
}
.promise b { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; }
.promise p { margin: 4px 0 0; color: rgb(var(--paper-rgb) / .75); font-size: 15px; }
.promise .ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); }
.promise .ic svg { width: 24px; height: 24px; }

.docs-list { counter-reset: d; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.docs-list li { counter-increment: d; display: flex; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: 16px; }
.docs-list li::before { content: counter(d); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-cool); color: var(--support); font-weight: 700; font-size: 13px; }

@media print {
  .site-header, .mobile-menu, .site-footer, .skip-link, .no-print, .aurora, .grain, .ridge { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-hero { padding: 0 0 12px; }
  .section, .section-tight { padding: 12px 0; }
  .card, .table-wrap, .tool { box-shadow: none !important; }
  .js .reveal, .js .reveal-scale { opacity: 1 !important; transform: none !important; }
  a { text-decoration: none; }
}


/* ==========================================================================
   Visual QA pass (Sept 29, 2026)
   ========================================================================== */

/* Balanced headings and no lonely last words */
h1, h2, h3, h4, .display, .h2, .h3, .q-title, summary, .eyebrow { text-wrap: balance; }
p, li, dd, .lede { text-wrap: pretty; }

/* Buttons may wrap on small screens instead of being cut off */
.btn { max-width: 100%; }
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .btn-row > .btn { flex: 1 1 100%; }
}

/* Chips and tags never break mid-label */
.chip, .tag, .seg button, .county-list button { white-space: nowrap; }

/* Eyebrows: keep the dot aligned when a long label wraps */
.eyebrow { align-items: flex-start; line-height: 1.5; }
.eyebrow::before { flex-shrink: 0; margin-top: .45em; }
@media (max-width: 520px) { .eyebrow { letter-spacing: .16em; font-size: 12px; } }

/* Status pill: one tidy line */
.status-pill { max-width: 100%; white-space: nowrap; }
@media (max-width: 420px) { .status-pill { font-size: 13px; gap: 8px; } }

/* Hero ridge sits below the content instead of through it */
.hero { padding-bottom: 120px; }
.hero .ridge svg { height: 110px; }
.page-hero .ridge svg { height: 90px; }
.cta-band .ridge svg { height: 90px; }

/* Pathway cards: stack photo above text on tablet and phone so text never sits on faces */
.path, .path { min-height: 0; padding: 0; background: var(--ink-2); }
@media (min-width: 861px) { .path { min-height: 0; } }
.path::before { display: none; }
.path img { position: relative; inset: auto; z-index: 0; height: auto; aspect-ratio: 16 / 11; }
.path .tag { position: absolute; top: 18px; left: 18px; z-index: 2; }
.path .inner { margin-top: 0; padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px) clamp(28px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.path .inner .go { margin-top: auto; }
.path .h2 { font-size: clamp(32px, 3.6vw, 48px); }
@media (max-width: 860px) { .path img { aspect-ratio: 4 / 3; } }

/* Provider profile tables fit their cards */
.card .data { min-width: 0; width: 100%; }
.card .data th, .card .data td { padding: 10px 10px; }


/* Hero video: never show an empty arch while the video loads or is paused */
@media (max-width: 520px) {
  .float-card.fc1, .float-card.fc3 { display: none; }
  .float-card.fc2 { right: 4%; top: auto; bottom: 18%; }
}
.on-ink .stats p { color: rgb(var(--paper-rgb) / .74); }
@media (min-width: 961px) { .sticky-lg { position: sticky; top: 120px; } }
.quote-card blockquote::before { font-size: 64px; line-height: .5; margin-bottom: 14px; }
.county-map .cty path, .county-map .cty rect { stroke-width: 1.25; stroke: rgb(var(--ink-rgb) / .35); }
.county-map .cty text { font-size: 12.5px; }
.county-map svg { max-width: 460px; margin: 0 auto; }
@media (max-width: 420px) { .seg button { padding: 9px 12px; font-size: 14px; } }
@media (max-width: 520px) {
  .cta-band { padding: 36px 24px; border-radius: 24px; }
  .btn { padding: 14px 18px; font-size: 15.5px; gap: 8px; }
}

/* Data tables become labeled cards on phones */
@media (max-width: 640px) {
  .table-wrap:has(table.stackable) { overflow: visible; border: 0; background: transparent; }
  table.data.stackable { min-width: 0; }
  table.data.stackable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.data.stackable, table.data.stackable tbody, table.data.stackable tr, table.data.stackable td { display: block; width: 100%; }
  table.data.stackable tr { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px; margin-bottom: 10px; }
  table.data.stackable td { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; overflow-wrap: anywhere; }
  table.data.stackable td:last-child { border-bottom: 0; }
  table.data.stackable td::before { content: attr(data-label); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; padding-top: 2px; }
  table.data.stackable td:first-child { display: block; font-size: 17px; font-weight: 700; color: var(--ink-2); padding: 12px 0; }
  table.data.stackable td:first-child::before { display: none; }
  table.data.stackable td:empty { display: none; }
  .card table.data.stackable tr { border: 0; padding: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; }
}

/* Program tabs: one swipeable row on phones */
@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; border-radius: var(--r-pill); width: 100%; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs [role="tab"] { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
}
.bg-mist .checklist li::before { background-color: var(--white); }
.on-ink .card .big-num { color: var(--accent-on-ink); }
.site-footer .btn-coral, .site-footer .btn-coral:hover { color: var(--accent-fg); }
[data-faq-group] + [data-faq-group] { margin-top: 44px; }
@media (max-width: 640px) {
  .faq-filter.seg { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .faq-filter.seg::-webkit-scrollbar { display: none; }
  .faq-filter.seg button { flex: 0 0 auto; }
}
@media (max-width: 1100px) { .photo-stack .photo.small { right: 12px; bottom: -6%; } }
.app-card .screen { padding: 50px 13px 13px; gap: 8px; font-size: 12px; }
.app-card .screen .shift { padding: 12px; }
.app-card .screen .shift .time { font-size: 19px; margin: 2px 0 6px; }
.app-card .screen .mini { padding: 10px; }
.app-card .screen .bar { display: none; }

/* ==========================================================================
   Language switch (EN | ES) + Spanish suggestion banner
   ========================================================================== */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: rgb(var(--text-rgb) / .07); flex-shrink: 0; }
.lang-switch .lang-link {
  padding: 6px 10px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-decoration: none; color: var(--text); transition: background .2s, color .2s;
}
.lang-switch .lang-link:hover { background: var(--white); }
.lang-switch .lang-link.is-active { background: var(--ink-2); color: var(--paper); }
.mm-lang { background: rgb(var(--paper-rgb) / .08); margin-top: 20px; align-self: flex-start; }
.mm-lang .lang-link { color: rgb(var(--paper-rgb) / .8); font-size: 15px; padding: 8px 16px; letter-spacing: 0; }
.mm-lang .lang-link:hover { background: rgb(var(--paper-rgb) / .1); }
.mm-lang .lang-link.is-active { background: var(--paper); color: var(--ink); }
@media (max-width: 1180px) { .desktop-lang { margin-left: auto; } .nav-toggle { margin-left: 8px; } }
@media (max-width: 1360px) { html[lang="es"] .desktop-lang { margin-left: auto; } html[lang="es"] .nav-toggle { margin-left: 8px; } }
@media (max-width: 380px) { .desktop-lang { display: none; } .nav-toggle { margin-left: auto; } }

/* Spanish nav labels are longer — tighten at mid widths */
html[lang="es"] .main-nav a { padding: 10px 9px; font-size: 15px; }
html[lang="es"] .header-bar { max-width: 1320px; }
@media (max-width: 1360px) { html[lang="es"] .main-nav, html[lang="es"] .header-cta { display: none; } html[lang="es"] .nav-toggle { display: block; } }

.lang-suggest {
  position: fixed; z-index: 150; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; width: min(560px, calc(100% - 32px));
  padding: 14px 16px 14px 20px; border-radius: 20px; background: var(--ink-2); color: var(--paper);
  box-shadow: var(--shadow-lg); animation: rise .5s var(--ease) both;
}
.lang-suggest p { margin: 0; font-size: 15px; flex: 1 1 200px; }
.lang-suggest .actions { display: flex; gap: 8px; align-items: center; }
.lang-suggest .dismiss { background: none; border: 0; color: rgb(var(--paper-rgb) / .7); font-weight: 600; cursor: pointer; padding: 8px 10px; }
.lang-suggest .dismiss:hover { color: var(--paper); }

/* Longer Spanish strings: let grid columns shrink and long labels wrap on phones */
.hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.program { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
@media (max-width: 860px) { .program { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .chip { white-space: normal; max-width: 100%; }
  .status-pill { white-space: normal; border-radius: 22px; }
}
@media (max-width: 440px) {
  .site-header .header-bar .wordmark .region { display: none; }
  .header-bar { gap: 12px; padding-left: 18px; }
}
@media (max-width: 380px) { .desktop-lang { display: inline-flex; } .lang-switch .lang-link { padding: 6px 8px; } }
@media (max-width: 520px) { .tag { white-space: normal; max-width: 100%; line-height: 1.4; } }

/* ==========================================================================
   Multistate platform components (all states)
   State selector, utility links, status vocabulary, location cards and
   review-mode verification flags.
   ========================================================================== */

/* Brand lockup: wordmark + state selector ("giv.care  UTAH ▾") */
.brand-lockup { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.state-switch { position: relative; }
.state-switch summary {
  list-style: none; display: inline-flex; align-items: center; gap: 2px; cursor: pointer;
  border-radius: var(--r-pill); padding: 2px; min-height: 32px;
}
.state-switch summary::-webkit-details-marker { display: none; }
.state-switch .region, .wordmark .region {
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; line-height: 1;
  padding: 5px 9px 4px; border-radius: var(--r-pill); background: var(--ink-2); color: var(--tint-warm);
}
.state-switch .chev { width: 16px; height: 16px; color: var(--text); transition: transform .25s var(--ease); }
.state-switch[open] .chev { transform: rotate(180deg); }
.state-switch summary:hover .region { background: var(--ink); }
.state-menu {
  position: absolute; left: -8px; top: calc(100% + 12px); z-index: 120; width: 280px;
  padding: 14px; border-radius: 20px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); animation: rise .25s var(--ease) both;
}
.state-menu .sm-label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 2px 6px 8px; }
.state-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.state-menu .state-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
  padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--ink-2);
}
.state-menu .state-link:hover { background: var(--paper); }
.state-menu .state-link[aria-current="page"] { background: var(--tint-cool); }
.state-menu .state-link[aria-current="page"]::after {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.state-menu .sm-all { margin: 10px 6px 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--muted); }
.state-menu .sm-all a { color: var(--accent-ink); font-weight: 600; }
body.menu-open .state-switch .chev { color: var(--paper); }
@media (max-width: 440px) {
  .site-header .state-switch .region { font-size: 10px; letter-spacing: .16em; padding: 5px 7px 4px; }
  .site-header .state-switch .chev { width: 14px; height: 14px; }
  .site-header .brand-lockup { gap: 4px; }
  .site-header .wordmark { font-size: 23px; }
  .state-menu { left: -60px; width: min(280px, calc(100vw - 32px)); }
}
@media (max-width: 359px) { .site-header .state-switch { display: none; } }

/* Utility link in the header (e.g. portal log in) */
.utility-link {
  flex-shrink: 0; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--text);
  padding: 10px 6px; border-bottom: 1.5px solid transparent;
}
.utility-link:hover { color: var(--ink); border-bottom-color: var(--accent); }
@media (max-width: 1399px) { .utility-link { display: none; } }

/* Mobile menu: states + utility links */
.mm-states, .mm-utility { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.mm-states span { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--paper-rgb) / .6); margin-right: 6px; }
.mm-states a, .mm-utility a {
  padding: 9px 16px; border-radius: var(--r-pill); font-size: 15px; font-weight: 600; text-decoration: none;
  color: rgb(var(--paper-rgb) / .85); background: rgb(var(--paper-rgb) / .08);
}
.mm-states a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.mm-utility a { background: transparent; border: 1px solid rgb(var(--paper-rgb) / .25); }

/* Footer: "Looking for another state?" line */
.footer-states { flex-basis: 100%; margin: 0; }
.footer-states a { color: var(--tint-warm) !important; font-weight: 600; }

/* Status vocabulary — shared/strings.json status + availability */
.tag.limited { background: var(--tint-sun); color: var(--ink-2); }
.tag.closed { background: rgb(var(--text-rgb) / .1); color: var(--ink-2); }
.tag.review { background: #FDE2E1; color: #8A1C17; }
.code { font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); vertical-align: 2px; }

/* Locations directory */
.locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.loc-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
}
.loc-card .loc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.loc-card .loc-code {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-weight: 700; letter-spacing: .06em;
  background: var(--ink-2); color: var(--tint-warm);
}
.loc-card .loc-meta { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.loc-card p { margin: 0; max-width: 46ch; }
.loc-card .btn { align-self: flex-start; margin-top: auto; }
.loc-programs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.loc-programs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--paper); font-size: 15px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Review mode (GIVCARE_MODE=review only). Production builds strip every
   element below and fail if any survive.
   -------------------------------------------------------------------------- */
ins.review { display: contents; text-decoration: none; }
ins.review > .review-badge { display: inline-flex; grid-column: 1 / -1; justify-self: start; }
.review-badge {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 6px 6px 0; padding: 3px 9px; border-radius: 6px;
  font: 700 11px/1.3 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
  background: #FDE2E1; color: #8A1C17; border: 1px dashed #C4382F; vertical-align: 2px; white-space: normal;
}
.review-badge.inline { margin: 0 0 0 6px; }
.review-badge::before { content: "⚠"; letter-spacing: 0; }
ins.review-fallback > .review-badge { background: #E4EEF9; color: #1B3F6B; border-color: #3D6CA8; }
ins.review-fallback > .review-badge::before { content: "↺"; }
.review-row td { background: #FFF6F5 !important; }
.review-card, .review-cell { outline: 2px dashed #C4382F; outline-offset: -2px; }

/* ==========================================================================
   Shared content patterns added with the Utah build (available to all states)
   ========================================================================== */

/* Restrained hero identifier: "UTAH · LOCALLY FOUNDED · COMMUNITY-BASED SUPPORT" */
.hero-id {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 26px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--support);
}
.hero-id span:not(:last-child)::after { content: "·"; margin-left: 14px; color: var(--muted); }

/* Four audience pathways, each with a short list of next steps */
.pathways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pathway {
  display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.pathway .who { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pathway .h3 { margin: 0; }
.pathway ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pathway li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-2);
}
.pathway li a::after { content: "→"; color: var(--accent-ink); transition: transform .3s var(--ease-spring); }
.pathway li a:hover::after { transform: translateX(4px); }
.pathway .btn { margin-top: auto; align-self: flex-start; }
.pathway.feature { background: var(--ink-2); border-color: transparent; color: var(--paper); }
.pathway.feature .who { color: var(--tint-warm); }
.pathway.feature .h3 { color: var(--paper); }
.pathway.feature li a { color: var(--paper); border-color: rgb(var(--paper-rgb) / .14); }
.pathway.feature li a::after { color: var(--accent-on-ink); }
@media (max-width: 1100px) { .pathways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pathways { grid-template-columns: minmax(0, 1fr); } }

/* Two-column checklist for long operational lists */
.checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 640px) { .checklist.cols-2 { grid-template-columns: minmax(0, 1fr); } }

/* Nonnumeric proof grid */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.proof > div { display: flex; gap: 16px; align-items: flex-start; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.proof .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint-cool); color: var(--support); }
.proof .ic svg { width: 22px; height: 22px; }
.proof b { display: block; font-size: 17.5px; color: var(--ink-2); margin-bottom: 4px; }
.proof p { font-size: 15.5px; margin: 0; color: var(--text); }
.on-ink .proof, .on-ink .proof > div { border-color: rgb(var(--paper-rgb) / .12); }
.on-ink .proof .ic { background: rgb(var(--paper-rgb) / .08); color: var(--accent-on-ink); }
.on-ink .proof b { color: var(--paper); }
.on-ink .proof p { color: rgb(var(--paper-rgb) / .75); }
@media (max-width: 960px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .proof { grid-template-columns: minmax(0, 1fr); } .proof > div { padding-right: 0; } }

/* "Exists in the state → giv.care enrolled → staffed and accepting" */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: lv; }
.levels > div { counter-increment: lv; position: relative; padding: 22px 22px 22px 64px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.levels > div::before {
  content: counter(lv); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--tint-cool); color: var(--support);
}
.levels > div:last-child { background: var(--ink-2); border-color: transparent; color: var(--paper); }
.levels > div:last-child::before { background: var(--accent); color: var(--accent-fg); }
.levels > div:last-child b { color: var(--paper); }
.levels b { display: block; color: var(--ink-2); margin-bottom: 4px; }
.levels p { margin: 0; font-size: 15.5px; }
.levels > div:last-child p { color: rgb(var(--paper-rgb) / .78); }
@media (max-width: 860px) { .levels { grid-template-columns: minmax(0, 1fr); } }

/* Source line under general-information content */
.source { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 14px; }
.source a { color: var(--accent-ink); }

/* Portal / account cards */
.portal-card { display: flex; flex-direction: column; gap: 12px; }
.portal-card .btn-row { margin-top: auto; padding-top: 8px; }

/* Honest "not yet published" panel */
.pending-panel {
  display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: var(--r-md);
  background: var(--tint-sun); color: var(--ink-2);
}
.pending-panel .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--white); color: var(--support); }
.pending-panel .ic svg { width: 22px; height: 22px; }
.pending-panel b { font-family: var(--font-display); font-weight: 420; font-size: 22px; letter-spacing: -.01em; display: block; margin-bottom: 6px; }
.pending-panel p { margin: 0 0 .6em; max-width: 70ch; }

/* Region-grouped county list (service area) */
.region-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.region-list > div { padding: 20px 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.region-list h3 { margin-bottom: 8px; }
.region-list p { margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .region-list { grid-template-columns: minmax(0, 1fr); } }

/* Provider profile (one printable page) */
.profile-hero { padding: 150px 0 24px; }
.profile-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.profile-head .display { font-size: clamp(38px, 5vw, 64px); margin-bottom: 8px; }
.profile-meta { font-size: 14px; color: var(--muted); }
.profile-meta p { margin: 0 0 4px; }
.profile-meta b { color: var(--ink-2); margin-right: 6px; }
.profile-body { padding-top: 8px; }
@media print {
  @page { size: letter; margin: 0.5in; }
  .profile-page { font-size: 9.5pt; line-height: 1.4; }
  .profile-page .profile-hero { padding: 0 0 8px; }
  .profile-page .display { font-size: 24pt !important; }
  .profile-page .lede { font-size: 11pt; }
  .profile-page .eyebrow { margin-bottom: 6px; }
  .profile-page .profile-body { padding: 0; }
  .profile-page .profile-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .profile-page .card { padding: 12px 14px; border: 1px solid #bbb; break-inside: avoid; }
  .profile-page .card p, .profile-page .kv div, .profile-page .docs-list li { font-size: 9pt; }
  .profile-page .kv div { grid-template-columns: 90px 1fr; padding: 5px 0; }
  .profile-page .docs-list li { padding: 5px 8px; }
  .profile-page .table-wrap { border: 0; }
  .profile-page table.data { min-width: 0; font-size: 8.5pt; }
  .profile-page table.data th, .profile-page table.data td { padding: 4px 6px; }
  .profile-page .fine { font-size: 8pt; }
  .profile-page .mt-m { margin-top: 10px; }
  .lang-suggest, .state-switch { display: none !important; }
  .page-hero .valley { display: none; }
}
.nav-toggle { flex-shrink: 0; }
@media (max-width: 400px) {
  .header-bar { gap: 8px; padding-left: 16px; }
  .site-header .wordmark { font-size: 21px; }
  .site-header .state-switch .region { letter-spacing: .12em; }
  .lang-switch .lang-link { padding: 6px 8px; }
}
.rel-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .rel-grid.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .pending-panel { flex-direction: column; gap: 12px; padding: 22px 20px; } }
@media print {
  .profile-page .profile-head { gap: 4px 24px; align-items: flex-start; }
  .profile-page .profile-meta { display: flex; gap: 16px; margin-top: 6px; }
  .profile-page .card .h4 { font-size: 12pt; }
  .profile-page .docs-list { gap: 4px; }
  .profile-page .docs-list li { padding: 4px 8px !important; font-size: 9pt !important; border-radius: 8px; }
  .profile-page .docs-list li::before { width: 18px; height: 18px; font-size: 8pt; }
  .profile-page .kv { margin: 8px 0 0; }
  .profile-page .card p.small { font-size: 9pt; }
  .profile-page .profile-disclaimer { margin-top: 8px; }
}
@media print {
  .profile-page { zoom: .8; }
  .profile-page .review-badge { font-size: 8px; padding: 1px 5px; margin: 0 4px 2px 0; }
}
/* The watermark is a <p> inside .on-ink, so `.on-ink p` (82% text) used to win over .footer-giant (6%). */
.site-footer .footer-giant { color: rgb(var(--paper-rgb) / .06); }

/* Header fit with the state selector: widen the bar, tighten spacing, and collapse
   to the menu button before anything can overflow. */
.header-bar { max-width: 1360px; }
@media (max-width: 1440px) {
  .header-bar { gap: 16px; padding-left: 20px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 10px 9px; font-size: 15px; }
}
@media (max-width: 1260px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .desktop-lang { margin-left: auto; }
  .nav-toggle { margin-left: 8px; }
}
html[lang="es"] .header-bar { max-width: 1440px; gap: 16px; padding-left: 20px; }
html[lang="es"] .main-nav { gap: 0; }
html[lang="es"] .main-nav a { padding: 10px 8px; font-size: 15px; }
@media (max-width: 1599px) { html[lang="es"] .utility-link { display: none; } }
.county-chips { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.county-chips li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--paper); font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
.county-chips .tag { font-size: 10.5px; padding: 4px 8px; }

/* ==========================================================================
   Stacked cinematic hero (.hero-stack): headline band above a wide video panel.
   Built for landscape footage — the panel crops top and bottom only, never the
   sides, so people at the edges of the frame stay in view.
   ========================================================================== */
.hero.hero-stack { display: block; min-height: 0; padding: 150px 0 clamp(72px, 9vw, 128px); }
.hero-band {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px);
  align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px);
}
.hero-stack .hero-id { margin-bottom: 22px; }
.hero-stack .display { font-size: clamp(44px, 6.4vw, 104px); line-height: 1.02; margin: 0; }
.hero-side .lede { font-size: clamp(18px, 1.35vw, 20.5px); margin: 0 0 26px; }
.hero-side .qualifier { margin-top: 16px; }
.hero-media { position: relative; width: min(1400px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.hero-frame {
  position: relative; aspect-ratio: 21 / 9; border-radius: clamp(24px, 3vw, 44px); overflow: hidden;
  background: var(--tint-warm) center / cover no-repeat; box-shadow: var(--shadow-lg);
}
.hero-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0) 55%, rgb(var(--ink-rgb) / .22)); }
.hero-frame .video-toggle { right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); }
.hero-media .float-card.fc1 { left: clamp(-24px, -2vw, -8px); top: auto; bottom: clamp(24px, 4vw, 56px); }
.hero-media .float-card.fc2 { right: clamp(28px, 6vw, 96px); top: clamp(-30px, -2.4vw, -18px); bottom: auto; }
@media (max-width: 1100px) { .hero-frame { aspect-ratio: 16 / 9; } }
@media (max-width: 860px) {
  .hero.hero-stack { padding-top: 124px; }
  .hero-band { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-media { width: calc(100% - 2 * var(--gutter)); }
}
@media (max-width: 600px) {
  .hero-frame { aspect-ratio: 4 / 3; border-radius: 24px; }
  .hero-media .float-card.fc1 { display: none; }
  .hero-media .float-card.fc2 { right: 12px; top: auto; bottom: -22px; }
}
/* hero-stack tuning: more of the panel above the fold, CTAs on one line */
.hero.hero-stack { padding-top: 128px; }
.hero-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: clamp(32px, 3.4vw, 52px); }
.hero-stack .hero-id { margin-bottom: 16px; }
.hero-stack .display { font-size: clamp(44px, 5.9vw, 92px); }
.hero-side .lede { margin-bottom: 22px; }
.hero-side .btn-row { flex-wrap: nowrap; }
.hero-side .qualifier { margin-top: 14px; }
.hero-media .float-card.fc1 { left: clamp(16px, 2.4vw, 36px); bottom: clamp(18px, 2.6vw, 36px); }
@media (max-width: 1180px) { .hero-side .btn-row { flex-wrap: wrap; } }
@media (max-width: 960px) { .hero-band { grid-template-columns: minmax(0, 1fr); gap: 22px; } .hero-side .lede { max-width: 60ch; } }
@media (max-width: 960px) { .hero-band { gap: 28px; } }
@media (max-width: 600px) { .hero-media .float-card.fc2 { left: 12px; right: auto; bottom: -24px; } }
html[lang="es"] .hero-side .btn-row { flex-wrap: wrap; }
.pathway .btn { white-space: normal; text-align: center; max-width: 100%; }
@media (max-width: 600px) { .hero-media .float-card.fc2 { max-width: calc(100% - 96px); } }
@media (max-width: 380px) {
  .header-bar { gap: 6px; padding: 8px 8px 8px 14px; }
  .site-header .wordmark { font-size: 20px; }
  .site-header .state-switch .region { letter-spacing: .1em; padding: 5px 6px 4px; }
  .lang-switch .lang-link { padding: 6px 7px; }
}
@media (max-width: 340px) { .site-header .desktop-lang { display: none; } .nav-toggle { margin-left: auto; } }

/* hero-stack composition: full-width headline, then one airy row (lede | actions),
   with fine print and meta moved to a caption line under the video. */
.hero-band { grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 2.4vw, 34px); }
.hero-stack .display { max-width: 15.5em; font-size: clamp(44px, 6.6vw, 104px); }
.hero-side {
  display: grid; grid-template-columns: minmax(0, 700px) auto; justify-content: space-between;
  align-items: end; gap: 22px clamp(32px, 5vw, 88px);
}
.hero-side .lede { margin: 0; max-width: 700px; }
.hero-side .btn-row { margin: 0; flex-direction: column; align-items: stretch; }
.hero-side .btn-row .btn { justify-content: center; }
.hero-notes {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 12px clamp(24px, 4vw, 64px); margin-top: clamp(22px, 2.4vw, 32px);
}
.hero-notes .qualifier { margin: 0; max-width: 88ch; }
.hero-stack .hero-band { margin-bottom: clamp(28px, 3vw, 44px); }
.hero-stack .hero-notes .hero-meta { margin: 0; }
.hero-media .float-card.fc2 { top: auto; bottom: clamp(-30px, -2vw, -20px); right: clamp(84px, 8vw, 130px); }
@media (max-width: 960px) { .hero-side { grid-template-columns: minmax(0, 1fr); } .hero-side .lede { max-width: 60ch; } .hero-side .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; } }
@media (max-width: 960px) { .hero-notes { flex-direction: column; } }
@media (max-width: 760px) { .hero-media .float-card.fc2 { right: 12px; } }
@media (max-width: 600px) { .hero-media .float-card.fc2 { left: 12px; right: auto; } }
