/* ============================================================
   ICZ: Insurance Council of Zimbabwe
   Shared foundation stylesheet. Locks the design system every
   inner page inherits. Faithful clone of the Clear Street
   (Investment Banking) reference structural system, content + palette
   swapped to ICZ. Provenance on every token comment.
   ============================================================ */

/* ---------- Fonts: Hanken Grotesk (free twin of the reference display face, self-hosted latin) ---------- */
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/hanken-400.woff2") format("woff2"); }
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:500; font-display:swap; src:url("../fonts/hanken-500.woff2") format("woff2"); }
/* display weights use font-display:optional so a slow connection keeps the metric-matched
   fallback (no late swap, no CLS, LCP locks to first paint); the webfont still applies on
   fast/repeat visits. Body weights stay swap. */
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:600; font-display:optional; src:url("../fonts/hanken-600.woff2") format("woff2"); }
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:700; font-display:optional; src:url("../fonts/hanken-700.woff2") format("woff2"); }
/* Metric-matched fallback so the swap from system font to Hanken does not shift the
   LCP text or re-fire LCP late. Overrides tuned to Hanken Grotesk's metrics on Arial. */
@font-face {
  font-family:"Hanken Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 105%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  /* ---- CANVAS: multi-band ground (ref role: pale-blue / royal / near-black) ---- */
  --canvas:        #EAEEFB;  /* icz pale-blue band; ref canvas #EAEEFB kept (cool, value preserved) */
  --canvas-royal:  #0F628C;  /* icz DEEP BRAND-BLUE saturated band; ref royal #2E21DE -> deep ICZ blue (THE one swap, deepened so white body copy clears AA: white 6.7:1, .82 body 4.6:1; bright logo blue stays as --accent) */
  --canvas-royal-2:#0C5277;  /* icz deeper brand-blue facet for member-card bodies on the royal band (white meta labels pass AA) */
  --canvas-ink:    #0A1622;  /* icz near-black band; ref canvasInk #040313 toned to ICZ blue-black */

  /* ---- SURFACE: white card faces on the bands ---- */
  --surface:       #FFFFFF;  /* icz card surface; ref surface #FFFFFF */
  --surface-2:     #F3F5FE;  /* icz pale card tint; ref pale-blue surface */

  /* ---- INK: text ---- */
  --ink:           #0A1622;  /* icz ink on light; ref ink #040313 toned to ICZ blue-black */
  --ink-soft:      #5A6678;  /* icz secondary text; ref textSecondary #6B7280, toned cool */
  --ink-inactive:  #8893AE;  /* icz inactive scrub-row grey; ref textInactive #C8CCDA, deepened (2.65:1 large-text) so resting rows read while the active ink #0A1622 still dominates and drives the signature contrast jump */
  --ink-inverse:   #FFFFFF;  /* icz ink on dark/brand bands; ref inkInverse #FFFFFF */

  /* ---- LINE: hairline dividers (scrub index + FAQ only) ---- */
  --line:          #D7DCEC;  /* icz hairline; ref line #D7DCEC */
  --line-soft:     #E7EBF6;  /* icz faint hairline on pale bands */
  --line-dark:     rgba(255,255,255,.14); /* hairline on near-black band */

  /* ---- ACCENT: the single brand-anchored swap (ref indigo -> ICZ blue) ---- */
  --accent:        #1890C8;  /* icz BLUE (logo wordmark, exact). Primary CTA, the morphing numeral, dominant accent */
  --accent-deep:   #1276A6;  /* icz blue hover/pressed */
  --accent-bright: #1898D0;  /* icz brighter blue on dark bands */

  /* ---- SECONDARY GOLD (subordinate brand warmth; the 'Get Insured / 591' highlight only) ---- */
  --gold:          #F8B010;  /* icz GOLD (logo 'i' + L-bracket, exact); punctuation only, never competes with blue */
  --gold-soft:     #FCE3A6;  /* icz gold tint */
  --gold-deep:     #DE9A06;  /* icz gold hover */

  /* ---- TYPE ---- */
  --font: "Hanken Grotesk", "Hanken Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* fluid display scale, tight line-heights (ref H1 ~100px, H2 ~54px) */
  --fs-display: clamp(3.1rem, 1.6rem + 6.4vw, 6.5rem);   /* hero H1 */
  --fs-h2:      clamp(2.1rem, 1.2rem + 3.6vw, 3.5rem);   /* section heads + scrub rows */
  --fs-h3:      clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --fs-stat:    clamp(2.6rem, 1.4rem + 5vw, 5rem);       /* big-number band */
  --fs-numeral: clamp(5rem, 3rem + 12vw, 13rem);         /* the morphing numeral */
  --fs-lead:    clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-body:    1rem;
  --fs-small:   0.8125rem;

  /* ---- SHAPE ---- */
  --r-card: 18px;   /* cards 16-20px */
  --r-card-lg: 24px;/* footer card */
  --r-pill: 999px;
  --r-plate: 14px;  /* logo plate inside deal card */

  /* ---- SPACE ---- */
  --maxw: 1240px;
  --gut: clamp(1.25rem, 0.6rem + 3vw, 4rem);   /* page gutter */
  --band-y: clamp(4rem, 2.5rem + 6vw, 8.5rem); /* vertical band rhythm */

  /* ---- MOTION ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast: 150ms;
  --t-mid: 320ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: clip;               /* per doctrine: clip not hidden (Lenis-safe) */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* NEVER scroll-behavior:smooth alongside Lenis */
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.03; letter-spacing: -0.015em; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* main receives focus from the skip link; do not paint an outline on that programmatic focus */
main:focus { outline: none; }

/* precta lead paragraph (was an inline style; moved here for CSP + validity) */
.precta__lead { color: rgba(255,255,255,.72); margin-bottom: 1.6rem; }

/* ---------- No-JS fallback for the JS-rendered working slices ---------- */
/* the inline head script adds the "js" class to <html>; absence means no JS */
.nojs-fallback { display: none; }
html:not(.js) .nojs-fallback { display: block; }
html:not(.js) .members__toolbar,
html:not(.js) .members__grid,
html:not(.js) .flow__panel { display: none; }
.nojs-fallback { color: var(--ink-inverse); }
.nojs-fallback h3 { margin: 1.25rem 0 .5rem; font-size: 1.1rem; }
.nojs-fallback p { margin-top: 1rem; color: rgba(255,255,255,.78); }
.nojs-fallback a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.nojs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .35rem .9rem; }
.nojs-list li { padding: .25rem 0; line-height: 1.4; }
.nojs-flow .nojs-list { grid-template-columns: 1fr; }

/* ---------- Skip link (first in tab order, visible on focus) ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; font-weight: 600;
  padding: .7rem 1.1rem; border-radius: 10px;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus-visible { top: max(1rem, env(safe-area-inset-top)); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.eyebrow { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; line-height: 1;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
/* primary CTA uses the deeper ICZ blue so the white label clears WCAG AA (5.0:1); the bright logo blue --accent stays for the numeral, icons and tints */
.btn--primary { background: var(--accent-deep); color: #fff; }
.btn--primary:hover { background: var(--canvas-royal); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--surface-2); }
.btn--gold { background: var(--gold); color: var(--ink); }     /* the ONE gold CTA (591 / Get Insured) */
.btn--gold:hover { background: var(--gold-deep); }
.btn--on-dark { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); }

/* ============================================================
   NAV: floating translucent pill, re-tints per band
   ============================================================ */
.nav {
  position: fixed; inset: 1rem 0 auto 0; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem);
  width: min(100% - 2*var(--gut), var(--maxw));
  padding: .55rem .65rem .55rem 1.1rem;
  border-radius: var(--r-pill);
  background: rgba(234,238,251,.72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  transition: background var(--t-mid) var(--ease-out), color var(--t-mid), border-color var(--t-mid);
}
.nav__brand { display: flex; align-items: center; margin-right: auto; }
.nav__brand img { height: 34px; width: auto; }
.nav__brand .logo-dark { display: none; }
.nav__links { display: flex; align-items: center; gap: clamp(.75rem, 1.6vw, 1.6rem); }
.nav__links a { display: inline-flex; align-items: center; min-height: 24px; font-weight: 500; font-size: .95rem; color: var(--ink); transition: color var(--t-fast), opacity var(--t-fast); opacity: .9; }
.nav__links a:hover { color: var(--accent); opacity: 1; }
.nav__cta { display: flex; align-items: center; gap: .5rem; }
.nav__menu-btn { display: none; }

/* nav re-tint when over a dark/royal band */
.nav--on-dark .nav__inner { background: rgba(10,22,34,.55); border-color: rgba(255,255,255,.18); }
.nav--on-dark .nav__links a { color: #fff; }
.nav--on-dark .nav__links a:hover { color: var(--accent-bright); }
.nav--on-dark .nav__brand .logo-light { display: none; }
.nav--on-dark .nav__brand .logo-dark { display: block; }
.nav--on-dark .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.nav--on-dark .btn--ghost:hover { background:#fff; color: var(--ink); }

/* mobile overlay menu */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--canvas-ink); color: #fff;
  display: flex; flex-direction: column; padding: 1.5rem var(--gut) 3rem;
  transform: translateY(-100%); transition: transform var(--t-mid) var(--ease-out);
  overflow-y: auto;
}
.menu-overlay[data-open="true"] { transform: translateY(0); }
.menu-overlay__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.menu-overlay__top img { height: 34px; }
.menu-overlay__close { font-size: 1rem; font-weight: 600; padding: .55rem 1.1rem; border-radius: var(--r-pill); background: rgba(255,255,255,.12); }
.menu-overlay nav { display: flex; flex-direction: column; gap: .25rem; }
.menu-overlay nav a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; padding: .35rem 0; letter-spacing: -0.02em; }
.menu-overlay nav a:active { color: var(--accent-bright); }
.menu-overlay__foot { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.menu-overlay__foot .btn { justify-content: center; }

/* ============================================================
   HERO: pale gradient + right-bleed faceted SVG motif
   ============================================================ */
.hero {
  position: relative; overflow: clip;
  padding-top: clamp(7rem, 6rem + 8vw, 11rem);
  padding-bottom: var(--band-y);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(24,144,200,.18), transparent 55%),
    radial-gradient(90% 80% at -5% 10%, rgba(248,176,16,.10), transparent 50%),
    var(--canvas);
}
.hero__motif {
  position: absolute; top: 0; right: 0; height: 100%;
  width: clamp(320px, 52vw, 820px);
  pointer-events: none; z-index: 0;
  opacity: .95;
}
.hero__motif svg { width: 100%; height: 100%; }
/* mobile: the motif spans the full width behind the copy, so soften it and lay a canvas-tinted scrim from the left to protect the dark lead text (contrast floor). Desktop keeps the right-bleed motif untouched. */
@media (max-width: 600px) {
  .hero__motif { opacity: .42; }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(100deg, var(--canvas) 26%, rgba(234,238,251,.78) 52%, rgba(234,238,251,.18) 80%, transparent 100%);
  }
}
.hero__inner { position: relative; z-index: 1; max-width: 62rem; }
.hero h1 {
  font-size: var(--fs-display); font-weight: 600;
  letter-spacing: -0.03em; line-height: .98;
  margin-bottom: 1.6rem;
}
.hero__lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 38rem; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ============================================================
   STAT-INTRO: big-number band + since-1963 dark card
   ============================================================ */
.stats { padding-block: var(--band-y); background: var(--canvas); }
.stats__head { max-width: 46rem; margin-bottom: clamp(2rem,4vw,3.5rem); }
.stats__head .eyebrow { margin-bottom: .9rem; }
.stats__head h2 { font-size: var(--fs-h2); }
.stats__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
.stats__row { display: grid; grid-template-columns: 1fr; gap: 2rem 1.5rem; }
.stat { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.stat__fig { font-size: var(--fs-stat); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat__fig .u { color: var(--accent); }
.stat__label { font-size: .95rem; color: var(--ink-soft); margin-top: .5rem; max-width: 16rem; }
.stats__card {
  background: var(--canvas-ink); color: #fff; border-radius: var(--r-card);
  padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: space-between;
  min-height: 13rem; gap: 2rem;
}
.stats__card h3 { font-size: var(--fs-h3); font-weight: 600; }
.stats__card p { color: rgba(255,255,255,.7); font-size: .95rem; }
.stats__card .since { font-size: 2.4rem; font-weight: 700; color: var(--accent-bright); letter-spacing: -0.02em; }

/* ============================================================
   SCRUB INDEX: THE signature move
   pinned scrub editorial index + morphing royal numeral (desktop)
   numbered plus-accordion (mobile)
   ============================================================ */
.scrub { background: var(--canvas); padding-block: var(--band-y); }
.scrub__head { max-width: 44rem; margin-bottom: clamp(2rem,4vw,3rem); }
.scrub__head .eyebrow { margin-bottom: .9rem; }
.scrub__head h2 { font-size: var(--fs-h2); }

/* desktop pinned layout */
.scrub__stage { display: grid; grid-template-columns: minmax(180px, 0.7fr) 2fr; gap: clamp(1rem, 4vw, 4rem); align-items: start; }
.scrub__numeral {
  position: sticky; top: 0; align-self: start;
  height: 100vh; display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
.scrub__numeral-mask { height: var(--fs-numeral); overflow: hidden; line-height: 1; }
.scrub__numeral-track { display: flex; flex-direction: column; transition: transform var(--t-mid) var(--ease-in-out); }
.scrub__numeral-track span {
  font-size: var(--fs-numeral); font-weight: 700; color: var(--accent);
  line-height: 1; height: var(--fs-numeral); display: flex; align-items: center;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.scrub__rows { display: flex; flex-direction: column; }
.scrub__row {
  border-top: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 2.8rem) 0;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: start;
}
.scrub__row:last-child { border-bottom: 1px solid var(--line); }
.scrub__row h3 {
  font-size: var(--fs-h2); font-weight: 600; color: var(--ink-inactive);
  transition: color var(--t-mid) var(--ease-out);
}
.scrub__row-body { opacity: 0; transition: opacity var(--t-mid) var(--ease-out); }
.scrub__row-body p { color: var(--ink-soft); font-size: 1.02rem; }
.scrub__row.is-active h3 { color: var(--ink); }
.scrub__row.is-active .scrub__row-body { opacity: 1; }

/* mobile accordion (signature degrade) */
.scrub__accordion { display: none; }
.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.4rem 0; text-align: left;
}
.acc-num { font-size: 1.6rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 2.4ch; }
.acc-title { font-size: 1.4rem; font-weight: 600; flex: 1; letter-spacing: -0.01em; }
.acc-plus { position: relative; width: 26px; height: 26px; flex-shrink: 0; }
.acc-plus::before, .acc-plus::after { content:""; position:absolute; inset:50% 0 auto 0; height:2px; background: var(--ink); transition: transform var(--t-fast); }
.acc-plus::after { transform: rotate(90deg); }
.acc-item[data-open="true"] .acc-plus::after { transform: rotate(0); }
.acc-panel { overflow: hidden; height: 0; transition: height var(--t-mid) var(--ease-out); }
.acc-panel-inner { padding: 0 0 1.5rem 3.4ch; color: var(--ink-soft); }

/* ============================================================
   SERVICES: white card grid, line-icon + "+" expand
   ============================================================ */
.services { background: var(--canvas); padding-block: var(--band-y); }
.services__head { text-align: center; max-width: 50rem; margin: 0 auto clamp(2.5rem,5vw,4rem); }
.services__head h2 { font-size: var(--fs-h2); margin-bottom: .9rem; }
.services__head p { color: var(--ink-soft); font-size: var(--fs-lead); max-width: 44rem; margin-inline: auto; }
.services__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.svc-card {
  position: relative; background: var(--surface); border-radius: var(--r-card);
  padding: 1.6rem; min-height: 17rem;
  display: flex; flex-direction: column;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(10,22,34,.35); }
.svc-card__icon { width: 48px; height: 48px; color: var(--accent); }
.svc-card__icon svg { width: 100%; height: 100%; }
.svc-card__plus {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); display: grid; place-items: center;
  transition: background var(--t-fast);
}
.svc-card__plus::before, .svc-card__plus::after { content:""; position:absolute; width:16px; height:2px; background: var(--ink); transition: transform var(--t-fast); }
.svc-card__plus::after { transform: rotate(90deg); }
.svc-card:hover .svc-card__plus { background: var(--accent); }
.svc-card:hover .svc-card__plus::before, .svc-card:hover .svc-card__plus::after { background:#fff; }
.svc-card__title { margin-top: auto; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; }
.svc-card__sub { color: var(--ink-soft); font-size: .95rem; margin-top: .5rem; }

/* ============================================================
   DEAL/MEMBER GRID: saturated royal band, member logo plates
   (the working-slice Member Directory lives here)
   ============================================================ */
.members { background: var(--canvas-royal); color: #fff; padding-block: var(--band-y); position: relative; overflow: clip; }
.members__head { max-width: 52rem; margin-bottom: clamp(1.6rem,3vw,2.4rem); }
.members__head h2 { font-size: var(--fs-h2); }
.members__head p { color: rgba(255,255,255,.82); margin-top: 1rem; font-size: var(--fs-lead); max-width: 40rem; }

.members__toolbar { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-bottom: 1.8rem; }
.members__search {
  flex: 1 1 16rem; display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-pill); padding: .7rem 1.1rem;
}
.members__search svg { width: 18px; height: 18px; opacity: .8; flex-shrink: 0; }
.members__search input { flex: 1; background: none; border: none; color: #fff; outline: none; font-size: .95rem; min-width: 4rem; }
.members__search input::placeholder { color: rgba(255,255,255,.6); }
.filter-chip {
  padding: .6rem 1.1rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-weight: 600; font-size: .88rem; transition: background var(--t-fast), color var(--t-fast);
}
.filter-chip[aria-pressed="true"] { background: #fff; color: var(--accent-deep); border-color: #fff; }
.members__count { font-size: .85rem; color: rgba(255,255,255,.75); margin-left: auto; }

.members__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.member-card {
  background: var(--canvas-royal-2); border-radius: var(--r-card); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-fast) var(--ease-out);
}
.member-card:hover { transform: translateY(-4px); }
.member-card__meta { padding: 1rem 1.1rem .85rem; }
.member-card__type { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.member-card__plate {
  background: #fff; flex: 1; display: grid; place-items: center;
  padding: 1.4rem 1.1rem; min-height: 5.5rem;
}
.member-card__plate img { max-height: 56px; width: auto; max-width: 90%; object-fit: contain; }
.members__empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: rgba(255,255,255,.8); }
.members__more { margin-top: 1.8rem; text-align: center; }

/* ============================================================
   FIND-COVER / 591 guided flow (working slice, lives under members band)
   ============================================================ */
.flow { background: var(--canvas-ink); color: #fff; padding-block: var(--band-y); }
.flow__head { max-width: 48rem; margin-bottom: clamp(2rem,4vw,3rem); }
.flow__head .eyebrow { color: var(--accent-bright); margin-bottom: .9rem; }
.flow__head h2 { font-size: var(--fs-h2); }
.flow__head p { color: rgba(255,255,255,.72); margin-top: 1rem; font-size: var(--fs-lead); }
.flow__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.flow__panel { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r-card); padding: clamp(1.4rem,3vw,2rem); }
.flow__step-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 1.1rem; }
.flow__q { font-size: 1.3rem; font-weight: 600; margin-bottom: 1.2rem; }
.flow__opts { display: flex; flex-direction: column; gap: .6rem; }
.flow__opt {
  text-align: left; width: 100%; padding: .95rem 1.1rem; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: #fff;
  font-weight: 500; font-size: .98rem; transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.flow__opt:hover { background: rgba(255,255,255,.1); border-color: var(--accent-bright); }
.flow__opt:active { transform: scale(.99); }
.flow__opt.is-chosen { background: var(--accent-deep); border-color: var(--accent-deep); }
.flow__result { display: none; }
.flow__result.is-shown { display: block; }
.flow__result h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: .5rem; }
.flow__result .tag { display:inline-block; font-size:.75rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color: var(--gold); background: rgba(248,176,16,.12); padding:.3rem .7rem; border-radius: var(--r-pill); margin-bottom: 1rem; }
.flow__result p { color: rgba(255,255,255,.78); font-size: .98rem; margin-bottom: 1rem; }
.flow__steps { counter-reset: s; display: flex; flex-direction: column; gap: .65rem; margin: 1.2rem 0 1.6rem; }
.flow__steps li { counter-increment: s; display: flex; gap: .85rem; align-items: flex-start; color: rgba(255,255,255,.85); font-size: .95rem; }
.flow__steps li::before { content: counter(s); flex-shrink:0; width: 26px; height: 26px; border-radius: 50%; background: rgba(24,144,200,.22); color: var(--accent-bright); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.flow__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.flow__restart { background:none; border:none; color: rgba(255,255,255,.6); font-size:.88rem; text-decoration: underline; padding:.4rem 0; }

/* call card sidebar */
.flow__call { background: var(--canvas-royal); border-radius: var(--r-card); padding: clamp(1.5rem,3vw,2rem); color:#fff; }
.flow__call .big { font-size: clamp(3rem,8vw,4.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.flow__call .label { font-size: .95rem; color: rgba(255,255,255,.85); margin: .6rem 0 1.4rem; }
.flow__call .row { display: flex; flex-direction: column; gap: .6rem; }
.flow__call .row a { font-size: .95rem; color:#fff; display:flex; align-items:center; gap:.5rem; }
.flow__call .row a strong { font-weight: 700; }
.flow__call hr { border: none; border-top: 1px solid rgba(255,255,255,.25); margin: 1.2rem 0; }

/* ============================================================
   STATEMENT: centered royal band + CSR photo rail
   ============================================================ */
.statement { background: var(--canvas-royal); color:#fff; padding-block: var(--band-y); text-align: center; }
.statement__inner { max-width: 50rem; margin: 0 auto; }
.statement h2 { font-size: var(--fs-h2); margin-bottom: 1.2rem; }
.statement p { color: rgba(255,255,255,.85); font-size: var(--fs-lead); max-width: 40rem; margin: 0 auto 2rem; }
.rail { display: flex; gap: 1rem; margin-top: clamp(2.5rem,5vw,4rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail figure { flex: 0 0 min(78%, 22rem); scroll-snap-align: start; border-radius: var(--r-card); overflow: hidden; position: relative; aspect-ratio: 4/3; background: var(--canvas-royal-2); }
.rail img { width: 100%; height: 100%; object-fit: cover; }
.rail figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.1rem .9rem; background: linear-gradient(transparent, rgba(10,22,34,.85)); color:#fff; font-size: .9rem; font-weight: 500; text-align: left; }

/* ============================================================
   FAQ / CLAIM PROCESS: near-black accordion
   ============================================================ */
.faq { background: var(--canvas-ink); color:#fff; padding-block: var(--band-y); }
.faq__head { margin-bottom: clamp(2rem,4vw,3rem); }
.faq__head .eyebrow { color: rgba(255,255,255,.5); margin-bottom: .6rem; }
.faq__head h2 { font-size: var(--fs-h2); }
.faq__head h2 span { color: rgba(255,255,255,.45); }
.faq__list { max-width: 60rem; }
.faq-item { border-top: 1px solid var(--line-dark); }
.faq-item:last-child { border-bottom: 1px solid var(--line-dark); }
.faq-btn { width:100%; display:flex; align-items:center; justify-content: space-between; gap:1.5rem; padding: 1.5rem 0; text-align:left; color:#fff; }
.faq-q { font-size: clamp(1.05rem,2.4vw,1.25rem); font-weight: 500; }
.faq-plus { position: relative; width: 24px; height: 24px; flex-shrink:0; }
.faq-plus::before, .faq-plus::after { content:""; position:absolute; inset:50% 0 auto 0; height:2px; background:#fff; transition: transform var(--t-fast); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[data-open="true"] .faq-plus::after { transform: rotate(0); }
.faq-panel { overflow:hidden; height:0; transition: height var(--t-mid) var(--ease-out); }
.faq-panel-inner { padding: 0 0 1.6rem; color: rgba(255,255,255,.72); max-width: 48rem; }

/* ============================================================
   PRE-FOOTER CTA + FOOTER
   ============================================================ */
.precta { background: var(--canvas-ink); color:#fff; padding-block: clamp(3rem,6vw,6rem); text-align:center; position: relative; overflow: clip; }
.precta__motif { position:absolute; inset: auto 0 0 0; height: 70%; opacity:.5; pointer-events:none; }
.precta__motif svg { width:100%; height:100%; }
.precta__inner { position: relative; z-index:1; max-width: 44rem; margin: 0 auto; }
.precta h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.precta__inner p { max-width: 36rem; margin-inline: auto; }
.precta__cta { display:flex; flex-wrap:wrap; gap:.75rem; justify-content:center; }

.site-footer { background: var(--canvas-ink); padding: 0 var(--gut) clamp(1.5rem,3vw,2.5rem); }
.footer-card {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--canvas); border-radius: var(--r-card-lg);
  padding: clamp(2rem,4vw,3.5rem);
}
.footer-card__top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-brand img { height: 42px; margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-soft); font-size: .9rem; max-width: 22rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.footer-col h3 { font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; font-weight: 600; }
.footer-col a, .footer-col p { display:block; font-size: .92rem; color: var(--ink); padding: .25rem 0; }
.footer-col a:hover { color: var(--accent); }
.footer-card__bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 24px; font-size: .85rem; color: var(--ink-soft); }
.footer-legal a:hover { color: var(--accent); }
.footer-copy { font-size: .8rem; color: var(--ink-soft); }
.footer-note { font-size: .72rem; color: var(--ink-inactive); max-width: 50rem; }

/* ============================================================
   REVEAL (calm entrance, everything that is not the signature)
   ============================================================ */
/* reveals are a progressive enhancement: only hidden once JS confirms it can reveal them.
   Without JS (or if the observer never fires) content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }

/* ============================================================
   RESPONSIVE: mobile-first; these are the larger breakpoints
   ============================================================ */
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu-btn { display: inline-flex; }
  /* signature degrades to accordion on mobile */
  .scrub__stage { display: none; }
  .scrub__accordion { display: block; }
}

@media (min-width: 600px) {
  .stats__row { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .members__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 861px) {
  .stats__grid { grid-template-columns: 2fr 1fr; align-items: stretch; }
  .stats__rows-wrap { display: grid; gap: 2.5rem; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .members__grid { grid-template-columns: repeat(4, 1fr); }
  .flow__grid { grid-template-columns: 1.4fr 1fr; }
  .rail figure { flex-basis: min(32%, 24rem); }
  .footer-card__top { grid-template-columns: 1.3fr 2.4fr; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .footer-card__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1100px) {
  .members__grid { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scrub__numeral-track, .acc-panel, .faq-panel { transition: none !important; }
}
