/* Lifetime Financial — site styles
   Brand colors from the Lifetime Financial logo system; type is Montserrat (brand font). */

@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  /* Brand */
  --ink: #072024;        /* deepest teal, body text + dark surfaces */
  --teal: #0E4850;       /* primary brand teal */
  --teal-2: #13606A;     /* hover/raised teal */
  --mint: #6EBF9D;       /* accent: CTAs on dark, marks, highlights */
  --mint-soft: #CFEBDD;
  --mist: #E7F4F8;       /* pale brand surface */
  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--white);
  --text: var(--ink);
  --text-muted: #3F5A5F;
  --text-on-dark: #E7F4F8;
  --text-on-dark-muted: #B5CFD3;
  --line: #D4E4E7;
  --line-on-dark: rgba(231, 244, 248, 0.18);
  --focus: #2B8C66;

  /* Type scale (1.25) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5625rem;
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  --fs-3xl: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);

  /* Space (8pt) */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem; --s-6: 4rem; --s-7: 6rem; --s-8: 8rem;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-2); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.18; margin: 0 0 var(--s-2); letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); line-height: 1.3; }
p { margin: 0 0 var(--s-2); }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--mint); }

.skip-link {
  position: absolute; left: var(--s-2); top: -100px; z-index: 1000;
  background: var(--mint); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: var(--s-2); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  font: inherit; font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: #86CDAE; color: var(--ink); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-2); color: var(--white); }
.btn-ghost-light { border-color: rgba(231, 244, 248, 0.55); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn-ghost { border-color: var(--teal); color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--white); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: var(--text-on-dark-muted); font-size: var(--fs-xs); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); min-height: 40px; }
.topbar a { color: var(--text-on-dark); text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--mint); }
.topbar-hours { display: none; }
@media (min-width: 640px) { .topbar-hours { display: block; } }

.site-header { background: var(--teal); color: var(--white); position: sticky; top: 0; z-index: 100; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(7, 32, 36, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand img { width: 26px; height: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.15rem; letter-spacing: -0.01em; padding-left: 0.8rem; border-left: 1px solid rgba(231, 244, 248, 0.45); }
.brand-word span:first-child { font-weight: 400; }
.brand-word span:last-child { font-weight: 600; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid rgba(231, 244, 248, 0.4);
  background: transparent; color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.primary-nav { display: none; }
.primary-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--teal); border-top: 1px solid var(--line-on-dark); padding: var(--s-2) 1.25rem var(--s-4);
  box-shadow: 0 18px 30px rgba(7, 32, 36, 0.3);
  max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain;
}
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a, .menu-btn { display: block; padding: 0.85rem 0; color: var(--text-on-dark); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-on-dark); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--mint); }
.primary-nav .btn { display: flex; margin-top: var(--s-3); width: 100%; padding: 0.8rem 1.5rem; border-bottom: 0; color: var(--ink); }
.primary-nav .btn:hover, .primary-nav .btn[aria-current="page"] { color: var(--ink); }

/* Dropdown groups */
.menu-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.35rem; background: none; border: 0; border-bottom: 1px solid var(--line-on-dark); font: inherit; font-weight: 500; cursor: pointer; text-align: left; }
.menu-btn:hover, .has-menu.is-active > .menu-btn { color: var(--mint); }
.menu-btn .chev { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.submenu { display: none; }
.menu-btn[aria-expanded="true"] + .submenu { display: block; }
.submenu a { padding-left: var(--s-2); font-size: var(--fs-sm); }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.is-open { display: flex; position: static; background: none; border: 0; padding: 0; box-shadow: none; align-items: center; gap: var(--s-4); max-height: none; overflow: visible; }
  .primary-nav > ul { display: flex; gap: 1.5rem; align-items: center; }
  .primary-nav > ul > li > a, .menu-btn { padding: 0.4rem 0; border: 0; font-size: var(--fs-sm); position: relative; }
  .primary-nav > ul > li > a[aria-current="page"]::after, .has-menu.is-active > .menu-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--mint); border-radius: 2px; }
  .menu-btn { width: auto; }
  .menu-btn .chev { width: 15px; height: 15px; }
  .has-menu { position: relative; }
  .submenu {
    position: absolute; top: calc(100% + 14px); left: -1rem; min-width: 250px; padding: 0.5rem;
    background: var(--white); border-radius: 14px; box-shadow: 0 20px 44px rgba(7, 32, 36, 0.28); z-index: 200;
  }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .has-menu:hover > .submenu, .menu-btn[aria-expanded="true"] + .submenu { display: block; }
  .submenu a { display: block; padding: 0.6rem 0.8rem; border: 0; border-radius: 8px; color: var(--ink); font-size: var(--fs-sm); }
  .submenu a:hover { background: var(--mist); color: var(--teal); }
  .submenu a[aria-current="page"] { background: var(--mist); color: var(--teal); font-weight: 600; }
  #menu-states { columns: 2; min-width: 380px; column-gap: 0.25rem; }
  #menu-states li { break-inside: avoid; }
  .primary-nav .btn { display: inline-flex; margin: 0; width: auto; padding: 0.6rem 1.25rem; min-height: 44px; }
}

/* ---------- Hero (home) ---------- */
.hero { background: var(--teal); color: var(--white); position: relative; overflow: hidden; padding-top: var(--s-6); }
.hero-motif { position: absolute; right: -6%; top: -8%; width: min(620px, 70vw); color: var(--mint); opacity: 0.22; pointer-events: none; }
/* Phones and small tablets: keep the whole "f." inside the hero instead of cropping it at the edges */
@media (max-width: 899px) { .hero > .hero-motif { right: 16px; top: 28px; width: min(300px, 62vw); opacity: 0.14; } }
.hero-copy { position: relative; max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: var(--s-3); }
.hero h1 .tag { color: var(--mint); display: block; }
.hero-lede { font-size: var(--fs-lg); color: var(--text-on-dark); max-width: 60ch; margin-bottom: var(--s-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.hero { padding-bottom: var(--s-7); }
.hero-grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1080px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: var(--s-5); }
  .hero-grid h1 { font-size: clamp(2.4rem, 1.4rem + 2vw, 3.05rem); }
}

/* ---------- The claim check (track record) ---------- */
.check-wrap { position: relative; padding: 0 0 var(--s-6); max-width: 520px; width: 100%; justify-self: center; }
@media (min-width: 1080px) { .check-wrap { justify-self: end; margin-top: 90px; } }
.claim-check {
  position: relative; color: var(--ink); border-radius: 14px; padding: 1.4rem 1.5rem 1.3rem;
  background:
    repeating-linear-gradient(135deg, rgba(14, 72, 80, 0.035) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, #F6FBFA 0%, #E3F2EC 100%);
  box-shadow: 0 30px 60px rgba(3, 20, 23, 0.45), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  transform: rotate(-2.5deg);
  transition: transform 400ms var(--ease);
}
.claim-check::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(14, 72, 80, 0.22); border-radius: 9px; pointer-events: none; }
.check-row { position: relative; display: flex; align-items: flex-end; gap: 1rem; }
.check-row + .check-row { margin-top: 1.1rem; }
.check-head { justify-content: space-between; align-items: flex-start; }
.check-brand { display: flex; align-items: center; gap: 0.6rem; line-height: 1.2; }
.check-brand strong { display: block; font-size: 0.95rem; color: var(--teal); }
.check-brand small, .check-field small { display: block; font-size: 0.66rem; color: #4F6B70; font-weight: 500; }
.check-field { display: flex; flex-direction: column; font-size: 0.9rem; }
.check-field > span { border-bottom: 1px solid rgba(7, 32, 36, 0.4); padding: 0.1rem 0.25rem 0.15rem 0; font-weight: 500; }
.check-field.grow { flex: 1; min-width: 0; }
.check-payee { font-size: clamp(1.1rem, 0.9rem + 1vw, 1.45rem); font-style: italic; font-weight: 600; color: var(--teal); }
.check-amount {
  flex: none; padding: 0.35rem 0.7rem; border: 1.5px solid var(--teal); border-radius: 8px; background: rgba(255, 255, 255, 0.75);
  font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.7rem); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--ink);
}
/* Keep the amount box a steady width while the number counts up */
.check-amount[data-countup] { min-width: 10.5ch; text-align: right; }
.check-words { font-size: 0.9rem; font-style: italic; color: #2E474C; border-bottom: 1px solid rgba(7, 32, 36, 0.4); padding-bottom: 0.2rem; }
.check-words span::after { content: ""; display: inline-block; width: 40%; margin-left: 0.5rem; border-bottom: 1px dashed rgba(7, 32, 36, 0.35); vertical-align: middle; }
.check-foot { align-items: flex-end; flex-wrap: wrap; row-gap: 0.9rem; }
.check-foot .check-field { flex-basis: 100%; }
.check-foot .check-sign { margin-left: auto; }
.check-sign { flex: none; width: 42%; text-align: center; font-size: 0.72rem; color: #4F6B70; }
.check-sign span { display: block; border-top: 1px solid rgba(7, 32, 36, 0.5); padding-top: 0.25rem; }
.check-sign::before { content: "Lifetime Financial"; display: block; font-style: italic; font-weight: 600; font-size: 1.05rem; color: var(--teal); transform: rotate(-4deg); margin-bottom: 0.1rem; }
@media (max-width: 520px) {
  .claim-check { padding: 1.1rem 1.1rem 1rem; }
  .check-pay { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .check-amount { align-self: flex-start; }
  .check-foot { flex-direction: column; align-items: stretch; }
  .check-sign { width: 70%; align-self: flex-end; }
}

/* Trust badges: the official BBB logo and a matching Google pill, "stamped" onto the check */
.stamp {
  position: absolute; display: block; text-decoration: none; border-radius: 999px;
  filter: drop-shadow(0 14px 22px rgba(3, 20, 23, 0.45));
  transition: transform 300ms var(--ease);
}
.stamp:hover { transform: rotate(0deg) scale(1.05) !important; }
.stamp-bbb { width: 220px; left: -6px; bottom: -22px; transform: rotate(-6deg); }
.stamp-bbb img { width: 100%; height: auto; }
.stamp-google {
  right: -18px; top: -70px; transform: rotate(5deg);
  width: 210px; height: 84px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 5px 0 18px; background: var(--white); border: 3px solid var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(7, 32, 36, 0.08);
}
.gbadge-label { display: flex; align-items: center; gap: 0.55rem; line-height: 1.1; }
.gbadge-label .g-logo { width: 26px; height: 26px; flex: none; }
.gbadge-label strong { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.gbadge-label small { display: block; font-size: 0.66rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
.gbadge-disc { width: 74px; height: 74px; flex: none; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 2px; background: #1A73E8; color: var(--white); box-shadow: 0 0 0 3px var(--white); }
.gbadge-num { font-size: 1.6rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.gbadge-disc .stars { color: #FBBC05; display: flex; }
.gbadge-disc .stars svg { width: 9px; height: 9px; }
@media (max-width: 1079px) { .check-wrap { margin-top: var(--s-6); } }
@media (max-width: 520px) {
  .stamp-bbb { width: 168px; left: 4px; bottom: -8px; }
  .stamp-google { width: 170px; height: 68px; top: -58px; right: -2px; padding-left: 12px; }
  .gbadge-disc { width: 58px; height: 58px; }
  .gbadge-num { font-size: 1.25rem; }
  .gbadge-label .g-logo { width: 20px; height: 20px; }
  .gbadge-label strong { font-size: 0.95rem; }
  .gbadge-label small { font-size: 0.56rem; }
}

/* Page load moment — the one orchestrated motion on the site: the check lands, then it's stamped */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 700ms var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 90ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 180ms; }
  .claim-check { animation: land 900ms var(--ease) both; animation-delay: 250ms; }
  .stamp { animation: stamp 420ms cubic-bezier(0.3, 1.6, 0.5, 1) both; }
  .stamp-google { animation-delay: 1000ms; --r: 5deg; }
  .stamp-bbb { animation-delay: 1250ms; --r: -6deg; }
}
@keyframes land { from { opacity: 0; transform: translateY(40px) rotate(-8deg); } to { opacity: 1; transform: rotate(-2.5deg); } }
@keyframes stamp { from { opacity: 0; transform: scale(1.6) rotate(var(--r, 0deg)); } to { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); } }

/* ---------- Credentials ---------- */
.credentials { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
@media (min-width: 900px) { .credentials { grid-template-columns: 1fr 1.3fr; } }
.credentials h3, .credentials-sub { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.license-list, .states { padding: var(--s-4) var(--s-3); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.license { display: flex; gap: var(--s-2); align-items: center; padding: var(--s-2) 0; border-top: 1px solid var(--line); }
.license .value-icon { margin: 0; flex: none; }
.license strong { display: block; }
.license div span { color: var(--text-muted); font-size: var(--fs-sm); }
.state-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.6rem; }
.state-list li { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); font-weight: 500; }
.state-code { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--teal); color: var(--mint); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.02em; flex: none; }

/* ---------- Press ---------- */
.press { display: grid; gap: var(--s-3); padding: var(--s-4); border-radius: var(--radius-lg); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color 180ms var(--ease); }
.press:hover { border-color: var(--teal); color: var(--text); }
@media (min-width: 800px) { .press { grid-template-columns: 200px 1fr; align-items: start; padding: var(--s-5); } }
.press-label { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); font-size: var(--fs-xl); font-weight: 600; color: var(--teal); }
.press-logo { width: 96px; height: auto; border-radius: 50%; }
@media (min-width: 800px) { .press { grid-template-columns: 140px 1fr; } }
/* Home page: a slim press strip (one article for now) */
.press-section { padding: var(--s-5) 0 var(--s-3); }
.press-section .section-head { margin-bottom: var(--s-3); }
.press-section .press { max-width: 820px; margin: 0 auto; padding: var(--s-2) var(--s-3); gap: var(--s-2); align-items: center; }
@media (min-width: 800px) { .press-section .press { grid-template-columns: 72px 1fr; padding: var(--s-2) var(--s-4); } }
.press-section .press-logo { width: 64px; }
.press-section .press-body { gap: 0.2rem; }
.press-section .press-title { font-size: 1.05rem; }
.press-section .press-summary { display: none; }
@media (max-width: 799px) { .press-label { flex-direction: row; align-items: center; } .press-logo { width: 52px; } }
.press-body { display: grid; gap: 0.5rem; }
.press-source { font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); }
.press-title { font-size: var(--fs-lg); font-weight: 600; line-height: 1.35; }
.press-summary { color: var(--text-muted); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--teal); color: var(--white); position: relative; overflow: hidden; padding: var(--s-6) 0 var(--s-6); }
.page-hero .hero-motif { width: min(440px, 60vw); top: -30%; opacity: 0.18; }
.page-hero h1 { color: var(--white); max-width: 20ch; position: relative; }
.page-hero p { color: var(--text-on-dark); font-size: var(--fs-lg); max-width: 60ch; position: relative; }
.breadcrumb { position: relative; font-size: var(--fs-sm); margin-bottom: var(--s-3); color: var(--text-on-dark-muted); }
.breadcrumb a { color: var(--text-on-dark); }
.breadcrumb a:hover { color: var(--mint); }

/* ---------- Sections ---------- */
.section { padding: var(--s-7) 0; }
.section-tight { padding: var(--s-6) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-teal { background: var(--teal); color: var(--text-on-dark); }
.section-teal h2, .section-teal h3 { color: var(--white); }

.section-head { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.section-head p { color: var(--text-muted); max-width: 62ch; }
.section-dark .section-head p, .section-teal .section-head p { color: var(--text-on-dark-muted); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s-6); }
  .section-head.split h2 { margin: 0; }
}
.section-head.center { text-align: center; justify-items: center; }

.prose { max-width: 68ch; }
.prose p { color: var(--text-muted); }
.prose h2 { margin-top: var(--s-5); }
.prose h2:first-child { margin-top: 0; }

/* ---------- Proof strip ---------- */
.proof { display: grid; gap: var(--s-4) var(--s-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .proof { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.proof-item { padding: 0; }
@media (min-width: 1000px) {
  .proof-item { padding: 0 var(--s-4); border-bottom: 0; border-left: 1px solid var(--line); }
  .proof-item:first-child { border-left: 0; padding-left: 0; }
}
.proof-figure { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 600; color: var(--teal); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof-label { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 0.35rem; }
.proof-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; }
.stars { display: inline-flex; gap: 2px; color: #E0A526; }
.stars svg { width: 20px; height: 20px; }

/* ---------- Intro split ---------- */
.split { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-7); } .split.reverse > :first-child { order: 2; } }
@media (min-width: 900px) { .split.split-wide { grid-template-columns: 1.5fr 1fr; gap: var(--s-6); } }
@media (min-width: 900px) { .split.split-photo, .split.split-photo-r { grid-template-columns: 1.35fr 1fr; gap: var(--s-6); } }
.split-media.full img { aspect-ratio: auto; height: auto; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.check-list { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: 0.9rem; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; align-items: start; }
.check-list svg { width: 24px; height: 24px; color: var(--teal); margin-top: 2px; }
.section-dark .check-list svg, .section-teal .check-list svg { color: var(--mint); }

/* ---------- Who we help list ---------- */
.help-layout { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .help-layout { grid-template-columns: 0.8fr 1.4fr; align-items: center; gap: var(--s-6); } }
.help-photo { border-radius: var(--radius-lg); overflow: hidden; }
.help-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: 100%; object-position: 50% 50%; }
@media (max-width: 899px) { .help-photo { display: none; } }
.help-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.help-list a {
  display: grid; grid-template-columns: 1fr 44px; gap: var(--s-2); align-items: center;
  padding: var(--s-3) var(--s-2); text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--line); transition: background-color 200ms var(--ease);
}
.help-list a:hover { background: var(--mist); color: var(--text); }
.help-list h3 { margin: 0 0 0.25rem; font-size: var(--fs-lg); }
.help-list p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.help-list .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--teal); transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease); }
.help-list .arrow svg { width: 18px; height: 18px; }
.help-list a:hover .arrow { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ---------- Process steps (a real sequence, so numbered) ---------- */
/* Journey track: glowing numbered nodes joined by a gradient rail.
   Vertical on small screens, a single horizontal track on wide screens. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: var(--s-3); padding-bottom: var(--s-5); }
.step:last-child { padding-bottom: 0; }
.step-node { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.125rem; letter-spacing: 0.02em; color: var(--mint); background: radial-gradient(circle at 30% 25%, rgba(110, 191, 157, 0.28), rgba(7, 32, 36, 0.9) 70%); border: 1.5px solid rgba(110, 191, 157, 0.55); box-shadow: 0 0 0 6px rgba(110, 191, 157, 0.07), 0 10px 30px rgba(0, 0, 0, 0.35); transition: background 260ms var(--ease), color 260ms var(--ease), box-shadow 260ms var(--ease), transform 260ms var(--ease); }
.step:last-child .step-node { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.step:hover .step-node { background: var(--mint); color: var(--ink); transform: scale(1.06); box-shadow: 0 0 0 8px rgba(110, 191, 157, 0.16), 0 0 36px rgba(110, 191, 157, 0.45); }
.step:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--mint), rgba(110, 191, 157, 0.12)); transform-origin: top; }
.step-body { padding-top: 0.35rem; }
.step h3 { font-size: 1.125rem; margin-bottom: 0.45rem; }
.step p { font-size: var(--fs-sm); color: var(--text-on-dark-muted); max-width: 46ch; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--s-3); }
  .step { grid-template-columns: 1fr; gap: var(--s-3); padding-bottom: 0; }
  .step:not(:last-child)::after { left: 76px; right: calc(-1 * var(--s-3) + 12px); top: 31px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--mint), rgba(110, 191, 157, 0.15)); transform-origin: left; }
  .step-body { padding-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .step:not(:last-child)::after { transform: scale(1, 0); transition: transform 800ms var(--ease) calc(var(--i, 0) * 140ms + 250ms); }
  .reveal-ready .step.is-visible:not(:last-child)::after { transform: none; }
  @media (min-width: 1000px) { .reveal-ready .step:not(:last-child)::after { transform: scale(0, 1); } }
}

/* Detailed sequences on light pages: numbered cards on a gradient rail */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.timeline > li { counter-increment: step; position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--s-3); padding-bottom: var(--s-3); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: counter(step, decimal-leading-zero); width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(145deg, var(--teal), var(--ink)); color: var(--mint); display: grid; place-items: center; font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.02em; position: relative; z-index: 1; box-shadow: 0 10px 24px rgba(14, 72, 80, 0.22); transition: transform 240ms var(--ease); }
.timeline > li::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--mint), var(--line)); }
.timeline > li:last-child::after { display: none; }
.timeline > li:last-child::before { background: var(--mint); color: var(--ink); }
.timeline > li > div { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); box-shadow: 0 1px 2px rgba(7, 32, 36, 0.04); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease); }
.timeline > li > div::after { content: counter(step, decimal-leading-zero); position: absolute; top: 0.12em; right: 0.3em; font-size: 4.5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(110, 191, 157, 0.24); pointer-events: none; }
.timeline > li > div > * { position: relative; z-index: 1; }
.timeline > li:hover > div { transform: translateY(-3px); border-color: rgba(110, 191, 157, 0.7); box-shadow: 0 18px 40px rgba(14, 72, 80, 0.12); }
.timeline > li:hover::before { transform: rotate(-6deg) scale(1.05); }
.timeline h2 { font-size: var(--fs-xl); margin: 0 0 0.6rem; padding-right: 3.5rem; }
.timeline h3 { padding-right: 3.5rem; }
.timeline p { color: var(--text-muted); max-width: 64ch; }
.timeline .you-do { margin-top: var(--s-2); padding: var(--s-2) var(--s-3); background: var(--mist); border-radius: var(--radius-sm); border-left: 3px solid var(--mint); font-size: var(--fs-sm); color: var(--text); max-width: 64ch; }
.timeline .you-do strong { color: var(--teal); }
@media (max-width: 560px) {
  .timeline > li { grid-template-columns: 44px 1fr; gap: var(--s-2); }
  .timeline > li::before { width: 44px; height: 44px; border-radius: 13px; font-size: 0.9375rem; }
  .timeline > li::after { left: 21px; top: 52px; }
  .timeline > li > div { padding: var(--s-3); }
  .timeline > li > div::after { font-size: 3.25rem; }
}

/* ---------- Values ---------- */
.values { display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: var(--s-4) var(--s-3); background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.value-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal); color: var(--mint); display: grid; place-items: center; margin-bottom: var(--s-3); }
.value-icon svg { width: 24px; height: 24px; }
.value p { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Reviews ---------- */
.review-summary { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.rating-chip { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.1rem; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: var(--fs-sm); }
.rating-chip:hover { border-color: var(--teal); color: var(--text); }
.rating-chip strong { font-size: var(--fs-lg); }
.rating-chip .src { color: var(--text-muted); }
.rating-chip > svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.section-head .review-summary { justify-content: flex-start; }
@media (min-width: 900px) { .section-head .review-summary { justify-content: flex-end; } }

.reviews { display: grid; gap: var(--s-3); }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: var(--s-4) var(--s-3) var(--s-3); background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-3); }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text); flex: 1; }
.review blockquote::before { content: ""; display: block; width: 28px; height: 22px; margin-bottom: var(--s-2); background: var(--mint); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 22'%3E%3Cpath d='M0 22V13Q0 4 9 0l2 3Q6 6 6 11h5v11zm17 0V13q0-9 9-13l2 3q-5 3-5 8h5v11z'/%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 22'%3E%3Cpath d='M0 22V13Q0 4 9 0l2 3Q6 6 6 11h5v11zm17 0V13q0-9 9-13l2 3q-5 3-5 8h5v11z'/%3E%3C/svg%3E") no-repeat; }
.review figcaption { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.review figcaption strong { display: block; }
.review figcaption span { color: var(--text-muted); font-size: var(--fs-xs); }
.review .via { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text-muted); font-size: var(--fs-xs); white-space: nowrap; }
.review .via svg { width: 16px; height: 16px; }
.review.feature { background: var(--teal); border-color: var(--teal); }
.review.feature blockquote { color: var(--white); font-size: var(--fs-lg); line-height: 1.55; }
.review.feature figcaption { border-color: var(--line-on-dark); color: var(--white); }
.review.feature figcaption span, .review.feature .via { color: var(--text-on-dark-muted); }
@media (min-width: 1050px) { .review.feature { grid-column: span 2; } }

/* ---------- Contacted-by-us band ---------- */
.verify { display: grid; gap: var(--s-4); padding: var(--s-5) var(--s-4); border-radius: var(--radius-lg); background: var(--mist); }
@media (min-width: 900px) { .verify { grid-template-columns: 1.3fr 1fr; align-items: center; padding: var(--s-6); gap: var(--s-6); } }
.verify h2 { margin-bottom: var(--s-2); }
.verify p { color: var(--text-muted); }
.verify-actions { display: grid; gap: var(--s-2); }
.contact-line { display: flex; align-items: center; gap: 0.9rem; padding: var(--s-2) var(--s-3); background: var(--white); border-radius: var(--radius-sm); text-decoration: none; color: var(--text); border: 1px solid var(--line); }
.contact-line:hover { border-color: var(--teal); color: var(--text); }
.contact-line svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.contact-line small { display: block; color: var(--text-muted); font-size: var(--fs-xs); }
.contact-line strong { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- CTA band ---------- */
.section:not(.section-mist):not(.section-dark):not(.section-teal) + .cta-section { padding-top: 0; }
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--teal); color: var(--text-on-dark); padding: var(--s-6) var(--s-4); display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; align-items: center; padding: var(--s-6); } }
.cta-band .hero-motif { width: 380px; right: -60px; top: -120px; opacity: 0.18; }
.cta-band h2 { color: var(--white); position: relative; }
.cta-band p { position: relative; max-width: 54ch; }
.cta-band .hero-actions { position: relative; }

/* ---------- Audience detail (who-we-help page) ---------- */
.audience { display: grid; gap: var(--s-4); padding: var(--s-6) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.audience:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .audience { grid-template-columns: 0.9fr 1.3fr; gap: var(--s-6); } }
.audience-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--mist); color: var(--teal); display: grid; place-items: center; margin-bottom: var(--s-3); }
.audience-icon svg { width: 30px; height: 30px; }
.audience p { color: var(--text-muted); }
.pill-list { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li { padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--mist); color: var(--teal); font-size: var(--fs-sm); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: 280px 1fr; gap: var(--s-6); align-items: start; } }
.faq-nav { display: none; }
@media (min-width: 1000px) {
  .faq-nav { display: block; position: sticky; top: 120px; }
  .faq-nav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
  .faq-nav a { display: block; padding: 0.5rem 0 0.5rem var(--s-3); color: var(--text-muted); text-decoration: none; font-size: var(--fs-sm); margin-left: -2px; border-left: 2px solid transparent; }
  .faq-nav a:hover { color: var(--teal); border-left-color: var(--mint); }
}
.faq-group { scroll-margin-top: 110px; margin-bottom: var(--s-5); }
.faq-group h2 { font-size: var(--fs-xl); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: var(--s-2); align-items: center;
  padding: var(--s-3) 0; font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq .toggle { width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--teal); display: grid; place-items: center; transition: transform 220ms var(--ease), background-color 220ms var(--ease); }
.faq .toggle svg { width: 16px; height: 16px; }
.faq details[open] .toggle { transform: rotate(45deg); background: var(--teal); color: var(--white); }
.faq .answer { padding: 0 var(--s-5) var(--s-3) 0; color: var(--text-muted); max-width: 70ch; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.35fr 1fr; gap: var(--s-6); align-items: start; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-4) var(--s-3); }
@media (min-width: 640px) { .form-card { padding: var(--s-5); } }
.form-grid { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 0.4rem; }
.field .req { color: #A33B2B; }
.field .hint { display: block; font-weight: 400; color: var(--text-muted); font-size: var(--fs-xs); margin-top: 0.1rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0.9rem; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--white); border: 1.5px solid #B9CDD1; border-radius: var(--radius-sm);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(110, 191, 157, 0.45); }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: #A33B2B; }
.field .error { display: none; color: #A33B2B; font-size: var(--fs-xs); font-weight: 500; margin-top: 0.35rem; }
.field[data-invalid] .error { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-3); }
.form-foot p { font-size: var(--fs-xs); color: var(--text-muted); max-width: 44ch; margin: 0; }
.form-status { margin-top: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--radius-sm); font-size: var(--fs-sm); display: none; }
.form-status.is-success { display: block; background: #E3F4EC; color: #155238; border: 1px solid #A9D9C1; }
.form-status[hidden] { display: none; }
.careers-sent { margin: 0 0 var(--s-3); }
.file-input { padding: 0.7rem; background: var(--mist); cursor: pointer; }
.form-status.is-error { display: block; background: #FBEAE7; color: #7D2A1E; border: 1px solid #EBC0B8; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.info-stack { display: grid; gap: var(--s-2); }
.info-card { padding: var(--s-3); border-radius: var(--radius); background: var(--mist); }
.info-card h2 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.info-card p { color: var(--text-muted); font-size: var(--fs-sm); }
.info-card .contact-line { margin-top: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding: var(--s-6) 0 var(--s-3); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--s-5); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { margin-bottom: var(--s-3); }
.footer-tag { color: var(--mint); font-weight: 500; }
.site-footer h2 { color: var(--white); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s-2); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.site-footer address { font-style: normal; display: grid; gap: 0.6rem; }
.footer-bottom { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--line-on-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); font-size: var(--fs-xs); }
.footer-badges { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.footer-badges a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem; border: 1px solid var(--line-on-dark); border-radius: 10px; font-size: var(--fs-xs); }
.footer-badges svg { width: 16px; height: 16px; color: var(--mint); }

@media (min-width: 800px) and (max-width: 1099px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.social { display: flex; gap: 0.6rem; margin-top: var(--s-3); }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-on-dark); color: var(--text-on-dark); }
.social a:hover { color: var(--mint); border-color: var(--mint); }
.social svg { width: 20px; height: 20px; }
.footer-bottom a { color: var(--text-on-dark-muted); text-decoration: underline; }

@media (min-width: 900px) { .sticky-aside { position: sticky; top: 120px; } }

a.value-link { text-decoration: none; color: var(--text); transition: border-color 180ms var(--ease); }
a.value-link:hover { border-color: var(--teal); color: var(--text); }

/* ---------- Resources, guides, blog ---------- */
.read-more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: var(--fs-sm); color: var(--teal); margin-top: auto; }
.read-more svg { width: 16px; height: 16px; }
.guide-grid { display: grid; gap: var(--s-3); }
@media (min-width: 800px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } .guide-grid.two { grid-template-columns: repeat(2, 1fr); } }
.guide-card { display: flex; flex-direction: column; gap: 0.25rem; padding: var(--s-4) var(--s-3); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--text); transition: border-color 180ms var(--ease); }
.guide-card:hover { border-color: var(--teal); color: var(--text); }
.guide-card p { color: var(--text-muted); font-size: var(--fs-sm); }

.post-grid { display: grid; gap: var(--s-3); }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: var(--s-4) var(--s-3); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color 180ms var(--ease); }
.post-card:hover { border-color: var(--teal); }
.post-card h3 { margin: 0; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
/* Blog photos: a short cover banner and smaller, centered photos inside the article */
.article-figure.post-cover img { aspect-ratio: 21 / 8; }
.article-figure.post-photo { max-width: 460px; margin: var(--s-3) auto var(--s-4); border-radius: var(--radius); }
.article-figure.post-photo img { aspect-ratio: 3 / 2; }
/* Photo beside its section text, alternating sides; stacks on small screens */
.media-row { display: grid; gap: var(--s-2) var(--s-4); align-items: center; margin: var(--s-2) 0 var(--s-4); }
.media-row .article-figure.post-photo { margin: 0; max-width: none; }
.media-row .media-text > :first-child { margin-top: 0; }
.media-row .media-text > :last-child { margin-bottom: 0; }
@media (min-width: 720px) {
  .media-row { grid-template-columns: 0.85fr 1fr; }
  .media-row.media-right { grid-template-columns: 1fr 0.85fr; }
  .media-row.media-right .article-figure { order: 2; }
}
.post-card.has-cover { overflow: hidden; padding-top: 0; }
.post-card-cover { margin: 0 calc(-1 * var(--s-3)) var(--s-2); }
.post-card-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-meta { color: var(--text-muted); font-size: var(--fs-xs); font-weight: 500; }
.empty-state { max-width: 640px; padding: var(--s-5) var(--s-4); border-radius: var(--radius); background: var(--white); border: 1px dashed #B9CDD1; }
.empty-state p { color: var(--text-muted); }

/* ---------- Long-form documents (guides, blog posts, legal) ---------- */
.doc-layout { display: grid; gap: var(--s-4); }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 250px 1fr; gap: var(--s-6); align-items: start; } }
.doc-toc { padding: var(--s-3); border-radius: var(--radius); background: var(--mist); }
@media (min-width: 1000px) { .doc-toc { position: sticky; top: 120px; background: none; padding: 0; } }
.doc-toc-title { font-weight: 600; font-size: var(--fs-sm); margin-bottom: 0.5rem; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) { .doc-toc ul { border-left: 2px solid var(--line); } }
.doc-toc a { display: block; padding: 0.35rem 0; color: var(--text-muted); text-decoration: none; font-size: var(--fs-sm); }
@media (min-width: 1000px) { .doc-toc a { padding-left: var(--s-2); margin-left: -2px; border-left: 2px solid transparent; } .doc-toc a:hover { border-left-color: var(--mint); } }
.doc-toc a:hover { color: var(--teal); }

.article { max-width: 72ch; }
.article h2 { font-size: var(--fs-xl); margin: var(--s-5) 0 var(--s-2); scroll-margin-top: 110px; }
.article h3 { margin: var(--s-4) 0 var(--s-1); }
.article > :first-child { margin-top: 0; }
.article p, .article li { color: #2E474C; }
.article ul, .article ol { padding-left: 1.3rem; margin: 0 0 var(--s-2); display: grid; gap: 0.4rem; }
.article li::marker { color: var(--teal); font-weight: 600; }
.article blockquote { margin: var(--s-3) 0; padding: var(--s-2) var(--s-3); border-left: 3px solid var(--mint); background: var(--mist); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article .btn { margin-top: var(--s-2); }
.note, .tip { padding: var(--s-2) var(--s-3); border-radius: var(--radius-sm); font-size: var(--fs-sm); }
.note { background: var(--mist); color: var(--text-muted); border-left: 3px solid var(--teal); }
.tip { background: #EAF6F0; border-left: 3px solid var(--mint); }
.legal h2 { font-size: var(--fs-lg); }

/* ---------- Glossary ---------- */
.letter-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: var(--s-5); position: sticky; top: 76px; z-index: 5; background: var(--white); padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.letter-nav a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--mist); color: var(--teal); font-weight: 600; text-decoration: none; }
.letter-nav a:hover { background: var(--teal); color: var(--white); }
.glossary { display: grid; gap: var(--s-4); }
.gloss-group { display: grid; gap: var(--s-2); scroll-margin-top: 160px; }
@media (min-width: 800px) { .gloss-group { grid-template-columns: 80px 1fr; } }
.gloss-group h2 { font-size: var(--fs-2xl); color: var(--mint); margin: 0; }
.gloss-group dl { margin: 0; border-top: 1px solid var(--line); }
.gloss-group dt { font-weight: 600; padding-top: var(--s-2); }
.gloss-group dd { margin: 0.25rem 0 0; padding-bottom: var(--s-2); color: var(--text-muted); border-bottom: 1px solid var(--line); max-width: 72ch; }

/* ================= States ================= */
.state-grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.state-card {
  display: flex; gap: var(--s-2); align-items: center; padding: var(--s-3); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
.state-card:hover { border-color: var(--teal); color: var(--text); }
.state-card-logo { flex: none; width: 72px; height: 72px; display: grid; place-items: center; }
.state-card-logo img, .state-logo-fallback { max-width: 72px; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.state-logo-fallback { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: var(--teal); color: var(--mint); font-weight: 600; }
.state-card-body { display: grid; gap: 0.1rem; min-width: 0; }
.state-card-body strong { font-size: 1.1rem; }
.state-card-agency { font-size: var(--fs-xs); color: var(--text-muted); }
.state-card-reg { font-size: var(--fs-xs); font-weight: 600; color: var(--teal); }
.state-card-stat { font-size: var(--fs-xs); color: var(--text-muted); }
.state-flag { display: inline-block; justify-self: start; font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--mint); color: var(--ink); margin-bottom: 0.2rem; }
.state-card.featured { grid-column: 1 / -1; background: var(--teal); border-color: var(--teal); color: var(--white); padding: var(--s-4); }
.state-card.featured:hover { color: var(--white); border-color: var(--mint); }
.state-card.featured .state-card-logo { width: 104px; height: 104px; background: var(--white); border-radius: 50%; padding: 6px; }
.state-card.featured .state-card-logo img { max-width: 92px; max-height: 92px; }
.state-card.featured strong { font-size: var(--fs-xl); }
.state-card.featured .state-card-agency, .state-card.featured .state-card-stat { color: var(--text-on-dark-muted); font-size: var(--fs-sm); }
.state-card.featured .state-card-reg { color: var(--mint); font-size: var(--fs-sm); }
@media (min-width: 900px) { .state-card.featured { grid-column: span 2; } }

.state-hero-grid { position: relative; display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 960px) { .state-hero-grid { grid-template-columns: 1.4fr 1fr; gap: var(--s-6); } }
.on-dark-flag { margin: 0 0 var(--s-2); }
.reg-card { position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: var(--s-4) var(--s-3); box-shadow: 0 24px 50px rgba(3, 20, 23, 0.35); display: grid; gap: var(--s-3); justify-items: center; text-align: center; }
.reg-logo { max-width: 170px; max-height: 130px; width: auto; height: auto; object-fit: contain; }
.reg-card .state-logo-fallback { width: 96px; height: 96px; font-size: 1.6rem; }
.reg-list { margin: 0; display: grid; gap: 0.6rem; width: 100%; text-align: left; }
.reg-list > div { display: grid; gap: 0.1rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.reg-list > div:first-child { border-top: 0; padding-top: 0; }
.reg-list dt { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 500; }
.reg-list dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

.stat-tiles { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat-tiles:has(> :only-child) { grid-template-columns: minmax(0, 340px); }
@media (min-width: 480px) { .stat-tiles:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stat-tiles:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
.stat-tile { padding: var(--s-3); border-radius: var(--radius); background: var(--mist); display: grid; gap: 0.3rem; align-content: start; }
.stat-tile-fig { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 600; color: var(--teal); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-tile-label { font-size: var(--fs-sm); color: var(--text-muted); }
.fine-print { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--s-2); max-width: 80ch; }

.fact-list { margin: var(--s-3) 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact-list > div { padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.fact-list dt { font-weight: 600; margin-bottom: 0.2rem; }
.fact-list dd { margin: 0; color: var(--text-muted); }

.license-figure { margin: 0; background: var(--white); border-radius: var(--radius); padding: var(--s-2); border: 1px solid var(--line); }
.license-figure img { border-radius: 8px; }
.license-figure figcaption { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 0.5rem; text-align: center; }

.container.narrow { max-width: 860px; }
.other-states-title { font-size: var(--fs-lg); }
.other-states a { color: var(--teal); text-decoration: none; }
.pill-list.other-states li { padding: 0; }
.pill-list.other-states a { display: block; padding: 0.45rem 0.9rem; }
.pill-list.other-states li:hover { background: var(--teal); }
.pill-list.other-states li:hover a { color: var(--white); }
.state-list a { display: flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; }
.state-list a:hover { color: var(--teal); text-decoration: underline; }

.container.stack { display: grid; gap: var(--s-4); }
.container.stack .table-card { max-width: 820px; }

/* Tables */
.table-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3); overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.data-table caption { text-align: left; font-weight: 600; font-size: 1rem; padding-bottom: var(--s-2); }
.data-table th, .data-table td { padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; }
.data-table tbody th { font-weight: 600; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table a { color: var(--teal); }

/* Video (click to play) */
.video { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--mint); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform 180ms var(--ease); }
.video-play:hover { transform: scale(1.06); }
.video-play svg { width: 32px; height: 32px; margin-left: 4px; }
.video figcaption { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 0.6rem; }
.video figcaption strong { color: var(--text); margin-right: 0.3rem; }

/* ================= Learning pages ================= */
.learn-nav { display: grid; gap: 0.4rem; }
@media (min-width: 1000px) { .learn-nav { position: sticky; top: 120px; } }
.learn-nav a { display: block; padding: 0.7rem 0.9rem; border-radius: 10px; background: var(--mist); color: var(--teal); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); }
.learn-nav a:hover { background: var(--mint-soft); }
.learn-nav a[aria-current="page"] { background: var(--teal); color: var(--white); }
.article-figure { margin: 0 0 var(--s-4); border-radius: var(--radius-lg); overflow: hidden; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.type-grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.type-card { padding: var(--s-3); border-radius: var(--radius); background: var(--mist); }
.type-card h3 { font-size: 1.0625rem; margin-bottom: 0.35rem; color: var(--teal); }
.type-card p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.article .timeline { margin-top: var(--s-4); clear: both; }
.article .timeline h2 { font-size: var(--fs-lg); margin: 0 0 0.4rem; }
.timeline.duties { max-width: 820px; }
.timeline.duties h3 { margin: 0 0 0.4rem; font-size: var(--fs-lg); }
.timeline.duties p { color: var(--text-muted); }
.next-card { max-width: 720px; }

/* Footer with five columns */
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.25fr 0.9fr 1.2fr; gap: var(--s-4); } }
.site-footer h2 a { color: var(--white); text-decoration: none; }

/* =====================================================================
   Modern layer: glass, gradients, motion (Sept 2026)
   ===================================================================== */

/* ---- Top bar with icons ---- */
.topbar .container { min-height: 42px; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
@media (max-width: 639px) { .topbar-item.topbar-hours { display: none; } }
.topbar-item svg { width: 15px; height: 15px; color: var(--mint); flex: none; }
.topbar-right { display: inline-flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.topbar-verify, .topbar-mail { display: none; }
@media (min-width: 900px) { .topbar-verify, .topbar-mail { display: inline-flex; } }
.topbar-phone { font-weight: 600; color: var(--white); }
.topbar-phone-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); position: relative; }
.topbar-phone-icon svg { width: 13px; height: 13px; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .topbar-phone-icon svg { animation: ring 6s ease-in-out infinite; transform-origin: 50% 50%; }
  .topbar-phone-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--mint); animation: ping 6s ease-out infinite; }
}
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 92% { transform: rotate(-10deg); } 94% { transform: rotate(6deg); } }
@keyframes ping { 0%, 84% { transform: scale(1); opacity: 0; } 86% { opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---- Glass header on scroll ---- */
.site-header { transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.site-header.is-scrolled {
  background: rgba(14, 72, 80, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(231, 244, 248, 0.12), 0 12px 30px rgba(7, 32, 36, 0.25);
}

/* ---- Buttons: soft gradient with a sheen on hover ---- */
.btn-mint { background-image: linear-gradient(135deg, #8BD7B6 0%, #6EBF9D 55%, #5AAE8B 100%); background-size: 160% 100%; background-position: 0% 0%; transition: background-position 400ms var(--ease), transform 180ms var(--ease), box-shadow 200ms var(--ease); }
.btn-mint:hover { background-position: 100% 0%; box-shadow: 0 8px 22px rgba(110, 191, 157, 0.35); }
.btn-teal { background-image: linear-gradient(135deg, #13606A, #0E4850); }
.btn:active { transform: scale(0.98); }

/* ---- Hero aurora ---- */
.hero, .page-hero { isolation: isolate; }
.hero::before, .hero::after, .page-hero::before, .page-hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 820px; height: 820px; left: -300px; bottom: -420px; background: radial-gradient(circle, rgba(110, 191, 157, 0.55), transparent 65%); }
.hero::after { width: 760px; height: 760px; right: -260px; top: -380px; background: radial-gradient(circle, rgba(64, 160, 170, 0.5), transparent 65%); }
.page-hero::before { width: 460px; height: 460px; left: -140px; bottom: -260px; background: radial-gradient(circle, rgba(110, 191, 157, 0.45), transparent 65%); }
.page-hero::after { width: 420px; height: 420px; right: -80px; top: -200px; background: radial-gradient(circle, rgba(64, 160, 170, 0.4), transparent 65%); }
@media (prefers-reduced-motion: no-preference) {
  .hero::before, .page-hero::before { animation: drift-a 22s ease-in-out infinite alternate; }
  .hero::after, .page-hero::after { animation: drift-b 26s ease-in-out infinite alternate; }
}
@keyframes drift-a { to { transform: translate(140px, -90px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-160px, 110px) scale(0.9); } }
.hero h1 .tag { background: linear-gradient(90deg, #8BD7B6, #6EBF9D 45%, #B9EBD3); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Glass dropdown panels (desktop) ---- */
.menu-item { display: flex !important; gap: 0.75rem; align-items: flex-start; }
.menu-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(110, 191, 157, 0.18); color: var(--mint); }
.menu-icon svg { width: 18px; height: 18px; }
.menu-text { display: grid; gap: 0.1rem; }
.menu-label { font-weight: 600; }
.menu-desc { font-size: var(--fs-xs); opacity: 0.75; font-weight: 400; }
.menu-state { display: flex !important; align-items: center; gap: 0.7rem; }
.menu-state-logo { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--white); display: grid; place-items: center; overflow: hidden; }
.menu-logo { max-width: 28px; max-height: 28px; width: auto; height: auto; object-fit: contain; }
.menu-state-logo .state-logo-fallback { width: 34px; height: 34px; font-size: 0.7rem; border-radius: 50%; }
.menu-foot a { display: inline-flex !important; align-items: center; gap: 0.4rem; font-weight: 600; }
.menu-foot svg { width: 14px; height: 14px; }

@media (min-width: 1080px) {
  .submenu {
    display: block; visibility: hidden; opacity: 0; transform: translate(var(--menu-x, 0), 10px) scale(0.98); transform-origin: top center;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 18px; padding: 0.6rem;
    box-shadow: 0 30px 60px rgba(7, 32, 36, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: opacity 220ms var(--ease), transform 260ms var(--ease), visibility 0s linear 260ms;
  }
  .has-menu:hover > .submenu, .menu-btn[aria-expanded="true"] + .submenu {
    visibility: visible; opacity: 1; transform: translate(var(--menu-x, 0), 0) scale(1);
    transition: opacity 220ms var(--ease), transform 260ms var(--ease), visibility 0s;
  }
  #menu-learn, #menu-states { left: 50%; --menu-x: -50%; }
  #menu-about { left: auto; right: -1rem; min-width: 330px; }
  #menu-learn { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem; min-width: 580px; }
  #menu-states { columns: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.2rem; min-width: 440px; }
  .submenu .menu-item, .submenu .menu-state { padding: 0.65rem 0.7rem; border-radius: 12px; color: var(--ink); transition: background-color 160ms var(--ease); }
  .submenu .menu-item:hover, .submenu .menu-state:hover, .submenu a[aria-current="page"] { background: linear-gradient(135deg, rgba(110, 191, 157, 0.2), rgba(231, 244, 248, 0.9)); color: var(--teal); }
  .submenu .menu-icon { background: linear-gradient(135deg, #0E4850, #13606A); color: var(--mint); }
  .submenu .menu-state-logo { box-shadow: 0 0 0 1px rgba(14, 72, 80, 0.12); }
  .submenu .menu-desc { color: var(--text-muted); opacity: 1; }
  .menu-foot { grid-column: 1 / -1; border-top: 1px solid rgba(14, 72, 80, 0.1); margin-top: 0.3rem; padding-top: 0.3rem; }
  .menu-foot a { color: var(--teal); padding: 0.55rem 0.7rem; border-radius: 10px; }
  .menu-foot a:hover { background: var(--mist); }
}
/* Mobile menu items keep icons but stay compact */
@media (max-width: 1079px) {
  .submenu .menu-item, .submenu .menu-state { padding: 0.7rem 0 0.7rem var(--s-2); }
  .submenu .menu-desc { display: none; }
  .submenu .menu-icon { width: 30px; height: 30px; }
}

/* ---- Light glow section (state cards) ---- */
.section-glow { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #F3FAF8 0%, #E7F4F8 100%); }
.section-glow::before, .section-glow::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.section-glow::before { width: 720px; height: 720px; left: -260px; top: -10%; background: radial-gradient(circle, rgba(110, 191, 157, 0.35), transparent 65%); }
.section-glow::after { width: 680px; height: 680px; right: -240px; bottom: -30%; background: radial-gradient(circle, rgba(64, 160, 170, 0.25), transparent 65%); }
.section-glow .state-card {
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(14, 72, 80, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.state-card { position: relative; align-items: center; }
.state-card:hover { transform: translateY(-4px); border-color: rgba(110, 191, 157, 0.9); box-shadow: 0 18px 40px rgba(14, 72, 80, 0.16), 0 0 0 3px rgba(110, 191, 157, 0.18); }
.state-card-logo { width: 76px; height: 76px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px rgba(14, 72, 80, 0.08); padding: 6px; }
.state-card-logo img { max-width: 64px; max-height: 64px; }
.state-card-stat { color: var(--teal); font-weight: 600; font-size: var(--fs-sm); margin-top: 0.15rem; }
.state-card-arrow { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--white); opacity: 0; transform: translateX(-6px); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.state-card-arrow svg { width: 16px; height: 16px; }
.state-card:hover .state-card-arrow, .state-card:focus-visible .state-card-arrow { opacity: 1; transform: none; }
@media (hover: none) { .state-card-arrow { opacity: 1; transform: none; } }

/* ---- Dark aurora section ---- */
.section-aurora { position: relative; isolation: isolate; overflow: hidden; color: var(--text-on-dark); background: linear-gradient(135deg, #0E4850 0%, #0B3A40 55%, #072024 100%); }
.section-aurora::before, .section-aurora::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.section-aurora::before { width: 760px; height: 760px; left: -280px; bottom: -380px; background: radial-gradient(circle, rgba(110, 191, 157, 0.4), transparent 65%); }
.section-aurora::after { width: 700px; height: 700px; right: -240px; top: -360px; background: radial-gradient(circle, rgba(64, 160, 170, 0.35), transparent 65%); }
.section-aurora h2, .section-aurora h3 { color: var(--white); }
.section-aurora .section-head p { color: var(--text-on-dark-muted); }

.glass-stats { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .glass-stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1150px) { .glass-stats { grid-template-columns: repeat(6, 1fr); } }
.glass-stat, .verify-card {
  background: rgba(231, 244, 248, 0.08); border: 1px solid rgba(231, 244, 248, 0.16); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.glass-stat { padding: var(--s-3); display: grid; gap: 0.35rem; align-content: start; }
.glass-stat-fig { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 600; color: var(--white); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.glass-stat-label { font-size: var(--fs-sm); color: var(--text-on-dark-muted); }

.verify-grid { display: grid; gap: var(--s-2); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .verify-grid { grid-template-columns: repeat(2, 1fr); }
  .verify-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .verify-grid { grid-template-columns: repeat(6, 1fr); }
  .verify-grid > * { grid-column: span 2; }
  .verify-grid > :nth-child(4):nth-last-child(2), .verify-grid > :nth-child(5):last-child { grid-column: span 3; }
}
.verify-card { display: grid; gap: 0.5rem; align-content: start; padding: var(--s-3); text-decoration: none; color: var(--text-on-dark-muted); font-size: var(--fs-sm); transition: transform 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease); }
.verify-card strong { color: var(--white); font-size: 1.05rem; }
.verify-card > span { min-width: 0; overflow-wrap: break-word; }
.verify-email { display: block; margin-top: 0.6rem; font-style: normal; font-weight: 600; font-size: var(--fs-xs); color: var(--mint); overflow-wrap: break-word; }
.verify-card:hover { transform: translateY(-4px); border-color: rgba(110, 191, 157, 0.7); background: rgba(231, 244, 248, 0.12); color: var(--text-on-dark); }

/* ---- Bento (why choose us) ---- */
.bento-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #0E4850, #13606A); color: var(--mint); margin-bottom: var(--s-2); box-shadow: 0 8px 18px rgba(14, 72, 80, 0.2); }
.bento-icon svg { width: 22px; height: 22px; }
.bento { display: grid; gap: var(--s-2); grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .bento { grid-template-columns: repeat(4, 1fr); } .bento-card.wide { grid-column: span 2; } }
.bento-card { position: relative; overflow: hidden; padding: var(--s-4) var(--s-3); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease); }
.bento-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(110, 191, 157, 0.22), transparent 70%); opacity: 0; transition: opacity 300ms var(--ease); pointer-events: none; }
.bento-card:hover { transform: translateY(-4px); border-color: rgba(110, 191, 157, 0.7); box-shadow: 0 18px 40px rgba(14, 72, 80, 0.12); }
.bento-card:hover::after { opacity: 1; }
.bento-card h3 { margin-bottom: 0.4rem; }
.bento-card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.bento-card.wide:first-child { background: linear-gradient(135deg, #0E4850, #0B3A40); border-color: transparent; }
.bento-card.wide:first-child h3 { color: var(--white); font-size: var(--fs-xl); }
.bento-card.wide:first-child p { color: var(--text-on-dark); font-size: 1rem; }
.bento-card.wide:first-child .bento-icon { background: var(--mint); color: var(--ink); }

/* ---- Connected chain (our role) ---- */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-2); counter-reset: chain; }
@media (min-width: 800px) { .chain { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.chain li { position: relative; display: grid; justify-items: center; gap: var(--s-2); text-align: center; }
.chain-icon { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--teal); border: 4px solid var(--mint); box-shadow: 0 12px 28px rgba(14, 72, 80, 0.14); transition: transform 220ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease); }
.chain-icon svg { width: 34px; height: 34px; }
.chain li:hover .chain-icon { transform: scale(1.06); background: var(--teal); color: var(--mint); }
.chain-label { font-weight: 600; font-size: var(--fs-lg); color: var(--teal); }
@media (min-width: 800px) {
  .chain li:not(:last-child)::after { content: ""; position: absolute; top: 48px; left: calc(50% + 48px); width: calc(100% - 96px); height: 4px; background: linear-gradient(90deg, var(--mint), rgba(110, 191, 157, 0.35)); border-radius: 4px; transform-origin: left; }
  .reveal-ready .chain li:not(:last-child)::after { transform: scaleX(0); transition: transform 700ms var(--ease) calc(var(--i, 0) * 140ms + 200ms); }
  .reveal-ready .chain li.is-visible:not(:last-child)::after { transform: scaleX(1); }
}

.two-col-cards { display: grid; gap: var(--s-3); }
@media (min-width: 800px) { .two-col-cards { grid-template-columns: 1fr 1fr; } }
.side-card { padding: var(--s-4); border-radius: var(--radius); background: var(--mist); border-left: 5px solid var(--mint); }
.side-card h3 { color: var(--teal); }
.side-card p { color: var(--text-muted); margin: 0; }

/* ---- Sources grid ---- */
.source-grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.source-card { padding: var(--s-3); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease); }
.source-card:hover { transform: translateY(-3px); border-color: rgba(110, 191, 157, 0.7); box-shadow: 0 14px 32px rgba(14, 72, 80, 0.1); }
.source-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.source-card ul { margin: 0; padding-left: 1.1rem; color: var(--text-muted); font-size: var(--fs-sm); display: grid; gap: 0.25rem; }
.source-card li::marker { color: var(--mint); }

/* ---- Card hover polish elsewhere ---- */
.value, .guide-card, .review, .type-card, .stat-tile { transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease); }
.guide-card:hover, .value-link:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(14, 72, 80, 0.1); }

/* ---- Eyebrow labels: a short rule and a small spaced-out label above section titles ---- */
.eyebrow { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 0.7rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); line-height: 1; }
.eyebrow::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--mint); flex: none; }
.on-dark .eyebrow, .section-dark .eyebrow, .section-aurora .eyebrow { color: var(--text-on-dark-muted); }
.section-head.center .eyebrow { justify-content: center; }
.section-head .eyebrow + h2 { margin-top: 0; }

/* A soft sage tint, distinct from the blue "mist" sections, so neighbouring sections read as separate */
.section-sand { background: #EEF5F0; border-top: 1px solid #DCE9E1; border-bottom: 1px solid #DCE9E1; }

/* ---- Learning paths: photo cards with several guide links each ---- */
.path-grid { display: grid; gap: var(--s-3); }
@media (min-width: 860px) { .path-grid { grid-template-columns: 1fr 1fr; } }
.path-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 2px rgba(7, 32, 36, 0.04); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.path-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(14, 72, 80, 0.14); }
/* 2:1 matches the flag photo's own shape, so it is shown at (or below) its real size instead of enlarged */
.path-media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }
.article-figure.is-portrait { float: right; width: min(300px, 42%); margin: 0.4rem 0 var(--s-3) var(--s-4); }
.article-figure.is-portrait img { aspect-ratio: auto; height: auto; }
@media (max-width: 640px) { .article-figure.is-portrait { float: none; width: 100%; margin: 0 0 var(--s-3); } .article-figure.is-portrait img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; } }
.involve-card h2 { margin-bottom: var(--s-3); }
.involve-list { list-style: none; margin: 0; padding: 0; counter-reset: inv; display: grid; gap: var(--s-3); }
.involve-list li { counter-increment: inv; position: relative; padding-left: 3.25rem; display: grid; gap: 0.3rem; }
.involve-list li::before { content: counter(inv, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; background: linear-gradient(145deg, var(--teal), var(--ink)); color: var(--mint); }
.involve-list li:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: calc(-1 * var(--s-3) + 4px); width: 2px; background: linear-gradient(180deg, var(--mint), var(--line)); }
.involve-list strong { color: var(--ink); }
.involve-list span { color: var(--text-muted); font-size: var(--fs-sm); }
.path-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 32, 36, 0.35)); }
.path-media img { width: 100%; height: 100%; object-fit: cover; }
.path-media img[src*="flag-capitol"] { object-position: 50% 40%; }
.path-body { padding: var(--s-4); display: grid; gap: var(--s-2); }
.path-body h3 { font-size: var(--fs-xl); margin: 0; }
.path-body > p { color: var(--text-muted); margin: 0; }
.path-links { list-style: none; margin: var(--s-1) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.path-links a { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: var(--fs-sm); color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; padding: 0.2rem 0; transition: color 180ms var(--ease), border-color 180ms var(--ease); }
.path-links a svg { width: 15px; height: 15px; color: var(--teal); transition: transform 180ms var(--ease); }
.path-links a:hover { color: var(--teal); border-color: var(--mint); }
.path-links a:hover svg { transform: translate(2px, -2px); }

/* ---- Client logo marquee (continuous right-to-left loop) ---- */
.clients-section { overflow: hidden; }
.clients-section .section-head { margin-bottom: var(--s-4); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: var(--s-1) 0; display: flex; gap: var(--s-3); width: max-content; }
.client-logo { flex: none; width: 200px; height: 104px; display: grid; place-items: center; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(14, 72, 80, 0.06); }
.client-logo.is-dark { background: #171717; border-color: #171717; }
.client-logo img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); }
/* Runs for every visitor and never pauses (requested by the client). */
.marquee-track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--s-3) / 2)); } }

/* ---- Why it takes a specialist (home) ---- */
.value-split { align-items: center; }
.value-split .split-media img { aspect-ratio: 16 / 10; object-fit: cover; }
.hurdles { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
@media (min-width: 600px) { .hurdles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .hurdles { grid-template-columns: repeat(4, 1fr); } }
.hurdle { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; padding: var(--s-3); border-radius: var(--radius); background: var(--mist); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.hurdle:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(14, 72, 80, 0.12); }
.hurdle .bento-icon { width: 40px; height: 40px; border-radius: 12px; margin: 0; flex: none; }
.hurdle .bento-icon svg { width: 20px; height: 20px; }
.hurdle strong { display: block; margin-bottom: 0.2rem; }
.hurdle span:not(.bento-icon) { font-size: var(--fs-sm); color: var(--text-muted); }
.value-close { font-weight: 600; color: var(--teal); }

/* ---- State pages: the hard parts of a claim ---- */
.challenge-grid { display: grid; gap: var(--s-2); }
@media (min-width: 700px) { .challenge-grid { grid-template-columns: 1fr 1fr; } }
.challenge { position: relative; padding: var(--s-4) var(--s-3) var(--s-3); border-radius: var(--radius); background: rgba(231, 244, 248, 0.07); border: 1px solid var(--line-on-dark); transition: border-color 220ms var(--ease), background-color 220ms var(--ease); }
.challenge:hover { border-color: rgba(110, 191, 157, 0.6); background: rgba(231, 244, 248, 0.11); }
.challenge .bento-icon { margin-bottom: var(--s-2); }
.challenge h3 { color: var(--white); font-size: 1.125rem; margin-bottom: 0.5rem; }
.challenge p { color: var(--text-on-dark-muted); font-size: var(--fs-sm); margin: 0; }
.challenge .we-do { display: block; margin-top: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--line-on-dark); color: var(--mint); font-size: var(--fs-sm); font-weight: 500; }
.challenge-intro { max-width: 70ch; color: var(--text-on-dark-muted); margin-bottom: var(--s-4); }

/* ---- Learn pages: photo strip and hub banner ---- */
.photo-trio { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
@media (min-width: 600px) { .photo-trio { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.photo-trio figure { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.photo-trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--ease); }
.photo-trio figure:hover img { transform: scale(1.04); }
.photo-trio figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.1rem 0.9rem; background: linear-gradient(180deg, transparent, rgba(7, 32, 36, 0.82)); color: var(--white); font-weight: 600; font-size: var(--fs-sm); }
.hub-banner { margin: 0 0 var(--s-5); border-radius: var(--radius-lg); overflow: hidden; }
.hub-banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 640px) { .hub-banner img { aspect-ratio: 16 / 10; } }

.audience-photo { margin: var(--s-3) 0 0; border-radius: var(--radius-lg); overflow: hidden; max-width: 360px; }
.audience-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---- About: team cards (photo, name, role, email, phone) ---- */
.team-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(14, 72, 80, 0.12); }
.team-photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--mist), #D3E7EC); display: grid; place-items: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team-photo-empty svg { width: 64px; height: 64px; color: #9DBFC6; }
.team-body { padding: var(--s-3); display: grid; gap: 0.35rem; }
.team-body h3 { margin: 0; font-size: 1.15rem; }
.team-role { margin: 0 0 0.4rem; color: var(--teal); font-weight: 600; font-size: var(--fs-sm); }
.team-contact { display: grid; gap: 0.35rem; }
.team-contact a { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: var(--text-muted); text-decoration: none; overflow-wrap: anywhere; }
.team-contact a:hover { color: var(--teal); }
.team-contact svg { width: 16px; height: 16px; flex: none; color: var(--teal); }
.team-card.is-placeholder .team-body { opacity: 0.6; }

/* ---- Careers ---- */
.career-areas li { background: var(--mist); color: var(--teal); font-weight: 600; }
.photo-pair { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
@media (min-width: 700px) { .photo-pair { grid-template-columns: 1fr 1fr; } }
.photo-pair figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---- Scroll reveal (JS adds .reveal-ready to <html>) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal { opacity: 0; translate: 0 22px; transition: opacity 700ms var(--ease) calc(var(--i, 0) * 70ms), translate 700ms var(--ease) calc(var(--i, 0) * 70ms), transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease), background-color 220ms var(--ease); }
  .reveal-ready .reveal.is-visible { opacity: 1; translate: 0 0; }
}
