/* Public marketing pages. Builds on the tokens and components in styles.css. */
html { overflow-x: clip; } /* slide-in animations start off-canvas; never let them widen the page */
body.site { background: var(--bg); font-size: var(--text-base); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-8); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--brand); color: var(--sand); }
.site-header .brand { color: var(--sand); white-space: nowrap; flex: none; }
.site-header .brand-logo { height: 32px; }
.site-footer .brand-logo { height: 40px; }
.site-header .brand-mark, .site-footer .brand-mark { background: var(--cta); color: var(--cta-ink); }
.site-header .menu-toggle { color: var(--sand); }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: var(--space-6); }
.site-links { display: flex; align-items: center; gap: var(--space-1); }
.site-links a:not(.btn) { color: color-mix(in srgb, var(--color-secondary) 72%, transparent); font-weight: 500; padding: var(--space-2) var(--space-3); border-radius: var(--r-md); text-decoration: none; transition: color 150ms ease; }
.site-links a:not(.btn):hover, .site-links a.active { color: var(--sand); }
.site-links .btn { margin-left: var(--space-3); }
.site-menu-toggle { display: none; }

/* ---------- Type ---------- */
.display { font-size: var(--text-display); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; }
.h-section { font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; max-width: 22ch; }
.lead { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-2); max-width: 46ch; margin-top: var(--space-6); }
.body-lg { font-size: var(--text-base); line-height: 1.6; color: var(--ink-2); max-width: 60ch; margin-top: var(--space-4); }
.eyebrow { display: inline-block; font-size: var(--text-sm); font-weight: 550; color: var(--cta-text); margin-bottom: var(--space-4); }
.text-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 550; color: var(--ink); text-decoration: none; padding: var(--space-3) var(--space-1); }
.text-link .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover .icon { transform: translateX(3px); } }

/* ---------- Hero ---------- */
.hero { padding: var(--space-16) 0 0; position: relative; overflow: hidden; background: var(--brand); color: var(--sand); }
.hero .lead { color: color-mix(in srgb, var(--color-secondary) 78%, transparent); }
.hero .text-link { color: var(--sand); }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 35%; height: 760px; background: none; pointer-events: none; display: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-16); align-items: center; }
.hero-copy { padding-bottom: var(--space-20); }
.hero-actions { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-8); flex-wrap: wrap; }
.shot { display: block; width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--shadow-sm); background: var(--surface); }
.hero .shot { box-shadow: var(--shadow-sm); }
@media (prefers-color-scheme: dark) { .shot { box-shadow: var(--shadow-sm); } }
.hero-shot { margin-right: -14%; }
.hero-shot .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--space-32) 0; }
.section.tight-top { padding-top: var(--space-12); }
.section.band { background: var(--sunken); box-shadow: var(--shadow-sm); }

/* ---------- Canopy to forest floor ----------
   Four bands the page descends through: light canopy, muted features, deep forest, midnight
   floor. Each band restates its own ink rather than inheriting the page's, because the band
   backgrounds are far darker or more saturated than the canvas they sit on.

   Six of the briefed pairings measured below 4.5:1 and are not used -- see COLOUR.md. The two
   that bite hardest: the fern green is 2.00:1 on the sage band, so body text there is the
   midnight; and the chartreuse is 1.37:1 on sage, so it is a badge FILL, never a mark. */
.band-canopy, .band-features, .band-forest, .band-floor { box-shadow: none; }

.band-canopy { background: var(--color-mint); color: var(--color-primary); }
.band-canopy .card, .band-canopy .ta-card { background: var(--color-pale); box-shadow: none; }
.band-canopy h1, .band-canopy h2, .band-canopy h3 { color: var(--color-primary); }
.band-canopy p, .band-canopy li { color: color-mix(in srgb, var(--color-primary) 86%, transparent); }

.band-features { background: var(--color-sage); color: var(--color-primary); }
.band-features h2, .band-features h3 { color: var(--color-primary); }
.band-features p, .band-features li { color: color-mix(in srgb, var(--color-primary) 88%, transparent); }
.band-features .card { background: color-mix(in srgb, var(--color-pale) 72%, #fff); box-shadow: none; }
/* The chartreuse earns its "pop" as a fill with midnight on it: 9.87, against 1.37 as a mark. */
.band-features .eyebrow, .band-features .tag, .band-features .badge {
  background: var(--color-chartreuse); color: var(--color-primary); padding: 2px var(--space-2); border-radius: var(--r-sm);
}

.band-forest { background: var(--color-forest); color: #fff; }
.band-forest h2, .band-forest h3 { color: #fff; }
.band-forest p, .band-forest li { color: var(--color-pale); }        /* 4.83 on the forest */
.band-forest .icon, .band-forest .eyebrow { color: var(--color-lime); } /* 3.80, a mark not text */
.band-forest .card { background: color-mix(in srgb, #fff 10%, transparent); box-shadow: none; }

.band-floor { background: var(--color-primary); color: var(--color-mint); }
.band-floor h2, .band-floor h3 { color: var(--color-olive); }        /* 5.61, not the briefed 2.43 */
.band-floor p, .band-floor li, .band-floor a { color: var(--color-mint); }  /* 7.02 */
.band-floor .icon { color: var(--color-lime); }

.section-head { margin-bottom: var(--space-12); }

/* Bento: exactly three cells, asymmetric. */
.bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); grid-template-rows: auto auto; gap: var(--space-6); }
.bento-cell { border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); padding: var(--space-8); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.bento-cell h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.bento-cell p { color: var(--ink-2); max-width: 42ch; }
.bento-cell.large { grid-row: span 2; }
.bento-cell .shot { margin-top: auto; border-radius: var(--r-md); }
.bento-cell.tinted { background: var(--sunken); box-shadow: none; }
.bento-cell.photo-cell { position: relative; color: var(--sand); min-height: 340px; justify-content: flex-end; box-shadow: none; background: var(--brand); isolation: isolate; }
.bento-cell.photo-cell .cell-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease-out); }
.bento-cell.photo-cell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 0%, transparent) 20%, color-mix(in srgb, var(--color-primary) 88%, transparent) 78%); }
.bento-cell.photo-cell p { color: color-mix(in srgb, var(--color-secondary) 82%, transparent); }
@media (hover: hover) and (pointer: fine) { .bento-cell.photo-cell:hover .cell-photo { transform: scale(1.03); } }
.bento-cell .cell-shot { margin: var(--space-6) calc(-1 * var(--space-8)) calc(-1 * var(--space-8)) var(--space-8); }
.bento-cell .cell-shot .shot { border-radius: var(--r-md) 0 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--r-md); background: var(--chrome-2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-secondary) 16%, transparent); font-size: var(--text-sm); font-weight: 500; }

/* Ledger statement block */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-16); align-items: start; }
.statement .card { overflow: hidden; }
.example-label { font-size: var(--text-xs); color: var(--muted); font-weight: 500; }
.formula { margin-top: var(--space-8); display: grid; gap: var(--space-3); max-width: 460px; }
.formula div { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); font-size: var(--text-sm); }
.formula span { color: var(--muted); }
.formula strong { font-weight: 600; }

/* Approval rail: four verbs on a line */
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); position: relative; }
.rail::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: var(--line-strong); }
.rail li { position: relative; }
.rail .node { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink-2); margin-bottom: var(--space-6); position: relative; }
.rail li:last-child .node { background: var(--cta); color: var(--cta-ink); box-shadow: none; }
.rail h3 { font-size: var(--text-base); letter-spacing: -0.015em; margin-bottom: var(--space-2); }
.rail p { color: var(--ink-2); font-size: var(--text-sm); max-width: 28ch; }

/* Two grouped lists instead of an 8-card grid */
.groups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6) var(--space-16); }
.group h3 { font-size: var(--text-sm); color: var(--muted); font-weight: 550; margin-bottom: var(--space-2); }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) 0; box-shadow: inset 0 -1px 0 var(--line); }
.group li:last-child { box-shadow: none; }
.group li .icon { color: var(--accent); margin-top: var(--space-1); }
.group li strong { display: block; font-weight: 550; }
.group li span { color: var(--muted); font-size: var(--text-sm); }

/* Feature split used on inner pages */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-20); align-items: center; }
.split.flip > :first-child { order: 2; }

/* ---------- Uneven split, attention on the right ----------
   The narrower left rail holds still while the cards on the right move past it, so the heading
   stays with you through a section that used to be two columns read in parallel.

   Built on position: sticky, not a scroll library. GSAP's ScrollTrigger earns its keep when
   scroll has to drive a timeline -- pinning a page and translating it sideways, which the team
   filmstrip in site.js does. Holding one column still while the other scrolls is what sticky
   already is: no JavaScript, nothing to run before it works, and it survives a failed script.

   The two-card grids inside collapse to one column, which is the point: the pair that used to
   sit side by side now unfolds one card at a time against the fixed rail. */
.split-pin { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: start; }
.split-pin-rail { position: sticky; top: clamp(96px, 20vh, 200px); }
.split-pin-rail .section-head { margin-bottom: var(--space-6); }
.split-pin-rail .h-section { max-width: 16ch; }
.split-pin-rail p { max-width: 38ch; }
.split-pin-flow { display: grid; gap: clamp(var(--space-6), 2.5vw, var(--space-10)); min-width: 0; }
.split-pin-flow > * { margin: 0; }
.split-pin-flow .groups,
.split-pin-flow .rights-grid,
.split-pin-flow .outcomes,
.split-pin-flow .qa-grid,
.split-pin-flow .ta-pair { grid-template-columns: minmax(0, 1fr); gap: clamp(var(--space-6), 2.5vw, var(--space-10)); }

/* Attention on the right: a card dims until it is the one you are level with. Only applied
   once the script has marked the flow, so with JS off every card stays at full strength. */
.split-pin-flow.is-tracking > * > * { transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }
.split-pin-flow.is-tracking > * > *:not(.is-near) { opacity: 0.45; }
@media (prefers-reduced-motion: reduce) {
  .split-pin-flow.is-tracking > * > * { transition: none; }
  .split-pin-flow.is-tracking > * > *:not(.is-near) { opacity: 1; }
}

@media (max-width: 900px) {
  .split-pin { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .split-pin-rail { position: static; }
  .split-pin-flow.is-tracking > * > *:not(.is-near) { opacity: 1; }
}
.ticks { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: grid; gap: var(--space-4); }
.ticks li { display: flex; gap: var(--space-3); color: var(--ink-2); }
.ticks li .icon { color: var(--accent); margin-top: var(--space-1); }
.ticks strong { color: var(--ink); font-weight: 550; }

.clusters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.cluster { padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.cluster:nth-child(2) { background: var(--brand); color: var(--sand); box-shadow: none; }
.cluster:nth-child(2) dd { color: color-mix(in srgb, var(--color-secondary) 70%, transparent); }
.cluster:nth-child(2) dt .icon { color: var(--cta); }
.cluster > h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.cluster dl { margin: 0; display: grid; gap: var(--space-4); }
.cluster dt { font-weight: 550; display: flex; gap: var(--space-3); align-items: center; }
.cluster dt .icon { color: var(--accent); }
.cluster dd { margin: var(--space-1) 0 0 var(--space-8); color: var(--muted); font-size: var(--text-sm); }

/* Page hero for inner pages */
.page-hero { padding: var(--space-20) 0 var(--space-16); }
.page-hero .lead { max-width: 56ch; }

/* Closing call to action: same theme, raised panel */
.closer { border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-md); padding: var(--space-16); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-8); align-items: center; position: relative; overflow: hidden; }
.closer.photo-closer { background: var(--color-secondary-200); min-height: 300px; isolation: isolate; color: var(--ink); }
.closer .closer-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; z-index: -1; }
.closer.photo-closer p { color: var(--ink-2); }
.closer.photo-closer .text-link { color: var(--ink); }
.closer > * { position: relative; }
.closer h2 { font-size: var(--text-2xl); letter-spacing: -0.03em; }
.closer p { color: var(--ink-2); margin-top: var(--space-3); }

.protect { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6) var(--space-8); border-radius: var(--r-md); background: var(--warn-soft); color: var(--ink); max-width: 820px; }
.protect .icon { color: var(--warn); margin-top: var(--space-1); }
.protect p { margin: var(--space-2) 0 0; color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-6); }
.contact-card { padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: var(--text-lg); letter-spacing: -0.02em; margin: var(--space-4) 0 var(--space-2); }
.contact-card p { color: var(--ink-2); }
.contact-card .icon-wrap { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { padding: var(--space-16) 0 var(--space-12); background: var(--brand); color: var(--sand); margin-top: var(--space-12); }
.site-footer .brand { color: var(--sand); }
.footer-top { display: flex; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; padding-bottom: var(--space-8); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-secondary) 14%, transparent); }
.footer-top p { color: color-mix(in srgb, var(--color-secondary) 65%, transparent); max-width: 40ch; margin-top: var(--space-3); font-size: var(--text-sm); }
.footer-links { display: flex; gap: var(--space-2) var(--space-6); flex-wrap: wrap; align-items: center; }
.footer-links a { color: color-mix(in srgb, var(--color-secondary) 80%, transparent); text-decoration: none; font-weight: 500; font-size: var(--text-sm); }
.footer-links a:hover { color: var(--sand); }
.footer-note { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-6); font-size: var(--text-sm); color: color-mix(in srgb, var(--color-secondary) 60%, transparent); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 700ms var(--ease-out) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 60ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 120ms; }
  .hero-shot { animation: rise-far 900ms var(--ease-out) 140ms both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } }
  @keyframes rise-far { from { opacity: 0; transform: translateY(32px) scale(0.98); } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .statement, .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
  .split.flip > :first-child { order: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-shot { margin: 0 calc(-1 * var(--space-8)) calc(-1 * var(--space-12)) 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-cell.large { grid-row: auto; }
  .clusters { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .wrap { padding: 0 var(--space-4); }
  .site-menu-toggle { display: inline-grid; }
  .site-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: var(--space-2) var(--space-4) var(--space-4); background: var(--brand); box-shadow: var(--shadow-sm); }
  body.site-nav-open .site-links { display: flex; }
  .site-links .btn { margin: var(--space-2) 0 0; }
  .hero { padding-top: var(--space-8); }
  .hero-shot { margin: 0 calc(-1 * var(--space-4)) calc(-1 * var(--space-8)) 0; }
  .section { padding: var(--space-20) 0; }
  .section-head { margin-bottom: var(--space-8); }
  .bento-cell { padding: var(--space-6); }
  .bento-cell .cell-shot { margin: var(--space-6) calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-6); }
  .rail { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .rail::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; background: var(--line-strong); }
  .rail li { padding-left: var(--space-16); }
  .rail .node { position: absolute; left: 0; top: 0; }
  .groups, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .closer { grid-template-columns: minmax(0, 1fr); padding: var(--space-8) var(--space-6); }
  .page-hero { padding: var(--space-12) 0 var(--space-8); }
}

/* Photo bands and layouts */
.photo-band { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--r-md); }
.photo-band.crop-top { object-position: 50% 85%; }
.band-shot { margin-bottom: var(--space-12); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: stretch; }
.contact-photo img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--r-md); }
.contact-layout .contact-grid { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 768px) {
  .photo-band { aspect-ratio: 4 / 3; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-photo img { min-height: 220px; aspect-ratio: 4 / 3; }
  .closer.photo-closer { padding-bottom: 180px; }
  .closer .closer-photo { object-position: 80% 100%; }
}
/* <picture> wrappers of background photos must not take part in layout. */
.closer > picture, .bento-cell.photo-cell > picture { position: absolute; inset: 0; z-index: -1; }
.bento-cell.photo-cell > picture { z-index: -2; }
.bento-cell.photo-cell::before { background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 5%, transparent) 15%, color-mix(in srgb, var(--color-primary) 55%, transparent) 48%, color-mix(in srgb, var(--color-primary) 94%, transparent) 82%); }
/* Closing panel: copy and actions sit on the empty wall, clear of the armchair. */
.closer.photo-closer { grid-template-columns: minmax(0, 460px); align-content: center; gap: var(--space-6); }
.closer.photo-closer .row { gap: var(--space-4); }
@media (max-width: 768px) { .closer.photo-closer { grid-template-columns: minmax(0, 1fr); padding-bottom: 200px; } }

/* ==========================================================================
   Site navigation (header menus, mobile drawer)
   ========================================================================== */
.site-nav { gap: var(--space-6); }
.primary-nav { flex: 1; display: flex; justify-content: center; }
.menu-bar { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-1); }
.menu-group { position: relative; }
.menu-trigger, .menu-link { display: inline-flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-3); border: 0; background: none; border-radius: var(--r-md); font: inherit; font-weight: 500; color: color-mix(in srgb, var(--color-secondary) 78%, transparent); cursor: pointer; text-decoration: none; white-space: nowrap; transition: color 150ms ease, background-color 150ms ease; }
.menu-trigger.active, .menu-link.active, .menu-trigger[aria-expanded="true"] { color: var(--sand); }
.menu-trigger .caret { display: inline-flex; transform: rotate(-90deg); opacity: 0.7; transition: transform 200ms var(--ease-out); }
.menu-trigger[aria-expanded="true"] .caret { transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .menu-trigger:hover, .menu-link:hover { color: var(--sand); background: color-mix(in srgb, var(--color-secondary) 8%, transparent); } }
.menu-panel { position: absolute; top: calc(100% + 10px); left: 50%; width: 340px; margin-left: -170px; padding: var(--space-2); border-radius: var(--r-md); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md); visibility: hidden; opacity: 0; transform: translateY(-4px) scale(0.98); transform-origin: top center; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms; z-index: 40; }
.menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu-group.wide .menu-panel { width: 560px; margin-left: -280px; }
.menu-group.wide .menu-list { display: grid; grid-template-columns: 1fr 1fr; }
.menu-group.open .menu-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) { .menu-group:hover .menu-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; } }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3); border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: background-color 120ms ease; }
.menu-list a:hover, .menu-list a[aria-current="page"] { background: var(--surface-2); }
.menu-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); background: var(--sunken); color: var(--brand); }
@media (prefers-color-scheme: dark) { .menu-icon { color: var(--sand); } }
.menu-label { display: block; font-weight: 550; line-height: 1.3; }
.menu-desc { display: block; font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-half); }
.menu-group.wide .menu-list a { align-items: center; }
.menu-footer { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-1) 0 0; padding: var(--space-3); border-radius: var(--r-md); box-shadow: inset 0 1px 0 var(--line); font-weight: 550; color: var(--cta-text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: var(--space-2); }
.mobile-nav { display: none; }

/* Translated labels are longer than English, so the full menu needs about 1280px. */
@media (max-width: 1439px) { .site-nav { gap: var(--space-3); } .menu-trigger, .menu-link { padding: 0 var(--space-2); } }
@media (max-width: 1279px) {
  .primary-nav, .nav-actions .menu-link { display: none; }
  .site-menu-toggle { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .mobile-nav { display: none; flex-direction: column; gap: var(--space-1); padding: var(--space-2) var(--space-6) var(--space-6); max-height: calc(100dvh - 68px); overflow-y: auto; background: var(--brand); color: var(--sand); box-shadow: var(--shadow-sm); }
  body.site-nav-open .mobile-nav { display: flex; }
  .mobile-nav details { box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-secondary) 10%, transparent); }
  .mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) 0; font-weight: 550; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary .icon { transform: rotate(-90deg); transition: transform 200ms var(--ease-out); }
  .mobile-nav details[open] summary .icon { transform: rotate(90deg); }
  .mobile-nav ul { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-1); }
  .mobile-nav ul a { display: block; padding: var(--space-2) var(--space-3); border-radius: var(--r-md); color: color-mix(in srgb, var(--color-secondary) 80%, transparent); text-decoration: none; }
  .mobile-link { padding: var(--space-4) 0; color: var(--sand); text-decoration: none; font-weight: 550; box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-secondary) 10%, transparent); }
  .mobile-nav .btn { margin-top: var(--space-4); }
}
@media (max-width: 560px) { .nav-actions .btn-cta { display: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-8) var(--space-8); margin-bottom: var(--space-16); border-radius: var(--r-md); background: color-mix(in srgb, var(--color-secondary) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-secondary) 10%, transparent); }
.footer-cta h2 { font-size: var(--text-xl); letter-spacing: -0.03em; }
.footer-cta p { color: color-mix(in srgb, var(--color-secondary) 72%, transparent); margin: var(--space-2) 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: var(--space-8); padding-bottom: var(--space-8); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-secondary) 14%, transparent); }
.footer-brand p { color: color-mix(in srgb, var(--color-secondary) 65%, transparent); font-size: var(--text-sm); margin-top: var(--space-4); max-width: 34ch; }
.footer-contact { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-1); font-size: var(--text-sm); }
.footer-contact span { color: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.footer-contact a { color: var(--sand); }
.footer-col h3 { font-size: var(--text-sm); font-weight: 550; color: color-mix(in srgb, var(--color-secondary) 55%, transparent); margin-bottom: var(--space-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-col a { color: color-mix(in srgb, var(--color-secondary) 85%, transparent); text-decoration: none; font-size: var(--text-sm); }
.footer-col a:hover { color: var(--sand); text-decoration: underline; }
.footer-legal { padding-top: var(--space-6); display: grid; gap: var(--space-2); font-size: var(--text-sm); color: color-mix(in srgb, var(--color-secondary) 62%, transparent); max-width: 90ch; }
.footer-legal p { margin: 0; }
.footer-legal a, .footer-note a { color: color-mix(in srgb, var(--color-secondary) 85%, transparent); }
.footer-note span:last-child { display: flex; gap: var(--space-4); }
.setup-note { margin-top: var(--space-6); padding: var(--space-3) var(--space-4); border-radius: var(--r-md); background: color-mix(in srgb, var(--color-accent) 14%, transparent); color: var(--ink); font-size: var(--text-sm); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 35%, transparent); }
.site-footer .setup-note { color: var(--sand); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-cta { padding: var(--space-6); } }

/* ==========================================================================
   Content components
   ========================================================================== */
.breadcrumbs { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--space-4); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs .icon { transform: rotate(180deg); opacity: 0.6; }
.h-sub { font-size: var(--text-xl); letter-spacing: -0.025em; font-weight: 600; }
.split-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-16); align-items: start; }

/* Scam directory: link list in three columns, not cards */
.directory { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--space-8); }
.directory li { box-shadow: inset 0 -1px 0 var(--line); }
.directory a { transition: transform 250ms var(--ease-out); display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6) var(--space-1); color: var(--ink); text-decoration: none; }
.dir-icon { width: 40px; height: 40px; flex: none; border-radius: var(--r-md); display: grid; place-items: center; background: var(--sunken); color: var(--brand); transition: background-color 200ms ease, color 200ms ease; }
@media (prefers-color-scheme: dark) { .dir-icon { color: var(--sand); } }
.dir-body { flex: 1; min-width: 0; }
.dir-body strong { display: block; font-weight: 600; margin-bottom: var(--space-1); }
.dir-body span { color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.dir-arrow { color: var(--faint); margin-top: var(--space-3); transition: transform 200ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .directory a:hover { transform: translateX(4px); }
  .directory a:hover .dir-icon { background: var(--brand); color: var(--sand); }
  .directory a:hover .dir-arrow { transform: translateX(3px); color: var(--cta-text); }
}

.urgent { display: flex; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-6); padding: var(--space-4) var(--space-4); border-radius: var(--r-md); background: color-mix(in srgb, var(--color-accent) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 30%, transparent); }
.urgent .icon { color: var(--cta-text); flex: none; margin-top: var(--space-1); }
.urgent p { margin: 0; color: var(--ink); }

.steps-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.steps-list li { counter-increment: step; position: relative; padding: var(--space-4) var(--space-6) var(--space-4) var(--space-16); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.steps-list li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand); color: var(--sand); font-weight: 600; font-size: var(--text-sm); }
.steps-list h3 { font-size: var(--text-base); margin-bottom: var(--space-1); }
.steps-list p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }

.info-card { margin-top: var(--space-8); padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.split-top > .info-card { margin-top: 0; }
.info-card h3 { font-size: var(--text-base); letter-spacing: -0.015em; margin-bottom: var(--space-2); }
.info-card p { color: var(--ink-2); }

.signs { padding: var(--space-8); border-radius: var(--r-md); background: var(--brand); color: var(--sand); }
.signs ul { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.signs li { display: flex; gap: var(--space-3); align-items: flex-start; color: color-mix(in srgb, var(--color-secondary) 90%, transparent); }
.signs li .icon { color: var(--cta); flex: none; margin-top: var(--space-1); }

.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-16); margin: 0; }
.qa-grid.one-col { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.qa-grid dt { font-weight: 600; font-size: var(--text-base); letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.qa-grid dd { margin: 0; color: var(--ink-2); }

.chip-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-links a { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--text-sm); transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.chip-links a:active { transform: scale(0.97); }
.chip-links a[aria-current="page"] { background: var(--brand); color: var(--sand); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .chip-links a:hover { background: var(--surface-2); } }

.timeline-steps { list-style: none; margin: 0; padding: 0; display: grid; position: relative; max-width: 820px; }
.timeline-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-6); position: relative; padding-bottom: var(--space-8); }
.timeline-steps li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 4px; width: 2px; background: var(--line-strong); }
.ts-node { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--brand); }
@media (prefers-color-scheme: dark) { .ts-node { color: var(--sand); } }
.timeline-steps li:last-child .ts-node { background: var(--cta); color: var(--cta-ink); box-shadow: none; }
.ts-body h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin: var(--space-3) 0 var(--space-2); }
.ts-body p { color: var(--ink-2); max-width: 60ch; }

.calc h3 { font-size: var(--text-lg); }
.calc-out { margin: var(--space-4) 0 var(--space-3); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.calc-out div { padding: var(--space-4); border-radius: var(--r-md); background: var(--surface-2); }
.calc-out dt { font-size: var(--text-sm); color: var(--muted); }
.calc-out dd { margin: var(--space-1) 0 0; font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-out div:last-child dd { color: var(--good); }

.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.plain-list li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-2); }
.plain-list .icon { flex: none; margin-top: var(--space-1); color: var(--accent); }

.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.principles li { display: flex; gap: var(--space-4); align-items: flex-start; color: var(--ink-2); }
.principles li .icon { color: var(--cta-text); margin-top: var(--space-1); flex: none; }
.principles strong { color: var(--ink); }

.rights-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.rights-card { padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.rights-card:nth-child(2) { background: var(--brand); color: var(--sand); box-shadow: none; }
.rights-card:nth-child(2) p { color: color-mix(in srgb, var(--color-secondary) 80%, transparent); }
.rights-card:nth-child(2) .menu-icon { background: color-mix(in srgb, var(--color-secondary) 12%, transparent); color: var(--cta); }
.rights-card h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin: var(--space-4) 0 var(--space-2); }
.rights-card p { color: var(--ink-2); }

.guide-list { display: grid; gap: var(--space-6); }
.guide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-12); padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); scroll-margin-top: var(--space-24); }
.guide:nth-child(3) { background: color-mix(in srgb, var(--color-accent) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 28%, transparent); }
.guide-head h2 { margin: var(--space-4) 0 var(--space-2); }
.guide-head p { color: var(--ink-2); }

.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-16); align-items: start; }
.faq-index { position: sticky; top: 96px; }
.faq-index ol { margin: 0; padding: 0 0 0 var(--space-6); display: grid; gap: var(--space-3); color: var(--muted); }
.faq-index a { color: var(--ink-2); text-decoration: none; }
.faq-index a:hover { color: var(--ink); text-decoration: underline; }
.faq-answers { margin: 0; display: grid; gap: var(--space-3); }
.faq-answers > div { padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); scroll-margin-top: var(--space-24); }
.faq-answers > div:target { box-shadow: inset 0 0 0 2px var(--cta); }
.faq-answers dt { font-weight: 600; font-size: var(--text-base); letter-spacing: -0.015em; margin-bottom: var(--space-2); }
.faq-answers dd { margin: 0; color: var(--ink-2); }

.closer-lite { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-8) var(--space-8); border-radius: var(--r-md); background: var(--sunken); }
.closer-lite p { color: var(--ink-2); margin: var(--space-2) 0 0; }

.prose { max-width: 70ch; color: var(--ink-2); line-height: 1.7; }
.prose h2, .prose h3 { color: var(--ink); margin: 1.6em 0 0.5em; }

/* Start your case */
.start-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.start-form { padding: var(--space-8); }
.start-aside { display: grid; gap: var(--space-4); position: sticky; top: 96px; }
.start-aside .urgent, .start-aside .info-card { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--bad); font-size: var(--text-sm); margin: var(--space-2) 0 0; font-weight: 500; }
[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--bad) !important; }
.thanks-mark { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--accent); color: var(--sand); margin-bottom: var(--space-6); }

@media (max-width: 1024px) {
  .split-top, .faq-layout, .start-layout, .guide { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .faq-index, .start-aside { position: static; }
  .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .directory, .qa-grid, .rights-grid { grid-template-columns: minmax(0, 1fr); }
  .start-form, .guide { padding: var(--space-6); }
  .signs { padding: var(--space-6); }
  .closer-lite { padding: var(--space-6); }
}

/* ==========================================================================
   Full-width layout
   ========================================================================== */
.wrap { max-width: 1680px; padding-inline: clamp(var(--space-6), 5vw, var(--space-24)); }

/* ==========================================================================
   Mask reveal (custom AOS animations): content emerges from behind a clipping shape
   ========================================================================== */
[data-aos="mask-up"], [data-aos="mask-left"], [data-aos="mask-right"], [data-aos="mask-circle"] { transition-property: clip-path, transform, opacity; }
[data-aos="mask-up"] { clip-path: inset(100% 0 0 0 round 20px); transform: translateY(24px); }
[data-aos="mask-left"] { clip-path: inset(0 0 0 100% round 20px); }
[data-aos="mask-right"] { clip-path: inset(0 100% 0 0 round 20px); }
[data-aos="mask-circle"] { clip-path: circle(0% at 50% 50%); }
[data-aos^="mask"].aos-animate { clip-path: inset(0 0 0 0 round 0); transform: none; }
[data-aos="mask-circle"].aos-animate { clip-path: circle(75% at 50% 50%); }

/* ==========================================================================
   Scroll-scrubbed animation: tied directly to scroll position (native CSS scroll timelines).
   Browsers without support simply show the final state.
   ========================================================================== */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cta); transform-origin: left center; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress { animation: scrub-x linear both; animation-timeline: scroll(root block); }
    @keyframes scrub-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    /* Hero screenshot lifts and settles as you scroll past it. */
    .hero-shot > picture, .hero-shot > img { display: block; animation: scrub-hero linear both; animation-timeline: view(); animation-range: exit -10% exit 90%; }
    @keyframes scrub-hero { to { transform: translateY(-64px) scale(0.96); opacity: 0.55; } }

    /* Screenshots and photos scale up into place while entering. */
    [data-scrub="rise"] { animation: scrub-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes scrub-rise { from { transform: translateY(48px) scale(0.94); } to { transform: none; } }

    /* Timeline and rail lines draw themselves as the section scrolls through. */
    .timeline-steps li:not(:last-child)::before { transform-origin: top; animation: scrub-y linear both; animation-timeline: view(); animation-range: entry 20% cover 60%; }
    @keyframes scrub-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    .rail::before { transform-origin: left; animation: scrub-x linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }

    /* Big statement text brightens word block by block as it crosses the viewport. */
    .scrub-text span { animation: scrub-ink linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
    @keyframes scrub-ink { from { opacity: 0.18; } to { opacity: 1; } }
  }
}
@media (max-width: 1120px) { .rail::before { animation: none; } }

/* ==========================================================================
   Scrollytelling: sticky preview that changes as each step scrolls past
   ========================================================================== */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(var(--space-8), 6vw, var(--space-32)); align-items: start; }
.story-steps { list-style: none; margin: 0; padding: 12vh 0 18vh; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.32; transition: opacity 400ms var(--ease-out); }
.story-step.is-active { opacity: 1; }
.story-step .kicker { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 550; color: var(--cta-text); margin-bottom: var(--space-3); }
.story-step h3 { font-size: var(--text-2xl); letter-spacing: -0.03em; line-height: 1.1; max-width: 18ch; }
.story-step p { color: var(--ink-2); font-size: var(--text-base); max-width: 46ch; margin-top: var(--space-4); }
.story-stage { position: sticky; top: calc(50vh - 240px); }
.story-panel { border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; }
.story-panel .panel-bar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-6); background: var(--brand); color: var(--sand); font-size: var(--text-sm); }
.story-panel .panel-body { padding: var(--space-6); display: grid; gap: var(--space-6); }
.story-panel .figure-label { font-size: var(--text-sm); color: var(--muted); }
.story-panel .figure { font-size: var(--text-2xl); font-weight: 600; letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.story-panel .progress > span { width: 100%; transition: transform 700ms var(--ease-out); animation: none; }
.story-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.story-list li { display: flex; gap: var(--space-3); align-items: center; font-size: var(--text-sm); color: var(--muted); transition: color 300ms ease; }
.story-list li .dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-strong); display: grid; place-items: center; flex: none; transition: background-color 300ms ease, box-shadow 300ms ease; }
.story-list li .dot .icon { opacity: 0; color: var(--sand); transition: opacity 200ms ease; }
.story[data-active="1"] .story-list li:nth-child(-n+1),
.story[data-active="2"] .story-list li:nth-child(-n+2),
.story[data-active="3"] .story-list li:nth-child(-n+3),
.story[data-active="4"] .story-list li:nth-child(-n+4),
.story[data-active="5"] .story-list li:nth-child(-n+5) { color: var(--ink); }
.story[data-active="1"] .story-list li:nth-child(-n+1) .dot,
.story[data-active="2"] .story-list li:nth-child(-n+2) .dot,
.story[data-active="3"] .story-list li:nth-child(-n+3) .dot,
.story[data-active="4"] .story-list li:nth-child(-n+4) .dot,
.story[data-active="5"] .story-list li:nth-child(-n+5) .dot { background: var(--accent); box-shadow: none; }
.story[data-active="1"] .story-list li:nth-child(-n+1) .dot .icon,
.story[data-active="2"] .story-list li:nth-child(-n+2) .dot .icon,
.story[data-active="3"] .story-list li:nth-child(-n+3) .dot .icon,
.story[data-active="4"] .story-list li:nth-child(-n+4) .dot .icon,
.story[data-active="5"] .story-list li:nth-child(-n+5) .dot .icon { opacity: 1; }
.story-note { display: flex; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--r-md); background: var(--surface-2); font-size: var(--text-sm); color: var(--ink-2); min-height: 64px; align-items: center; }
.story-note .icon { color: var(--cta-text); flex: none; }
.story-caption { font-size: var(--text-xs); color: var(--muted); margin-top: var(--space-3); }
@media (max-width: 1024px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-stage { position: sticky; top: 76px; z-index: 2; order: -1; }
  .story-panel .panel-body { padding: var(--space-4); gap: var(--space-3); }
  .story-panel .story-list, .story-caption { display: none; }
  .story-steps { padding: 8vh 0; }
  .story-step { min-height: 55vh; }
}

/* ==========================================================================
   Spotlight cards: highlight follows the cursor
   ========================================================================== */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 250ms ease; background: none; display: none; }
[data-spotlight] > * { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) { [data-spotlight]:hover::after { opacity: 1; } }
.bento-cell.photo-cell[data-spotlight] > picture { position: absolute; z-index: -2; }

/* Lift on hover for link cards */
@media (hover: hover) and (pointer: fine) {
  .lift { transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out); }
  .lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
}

/* ==========================================================================
   Tabs: "Where are you now?"
   ========================================================================== */
.situation { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(var(--space-8), 5vw, var(--space-24)); align-items: start; }
.tablist { position: relative; display: grid; gap: var(--space-2); margin-top: var(--space-8); }
.tablist [role="tab"] { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-4) var(--space-4); border: 0; border-radius: var(--r-md); background: transparent; font: inherit; font-weight: 550; font-size: var(--text-base); color: var(--ink-2); text-align: left; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.tablist [role="tab"]:active { transform: scale(0.98); }
.tablist [role="tab"] .menu-icon { transition: background-color 200ms ease, color 200ms ease; }
.tablist [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tablist [role="tab"][aria-selected="true"] .menu-icon { background: var(--cta); color: var(--cta-ink); }
@media (hover: hover) and (pointer: fine) { .tablist [role="tab"][aria-selected="false"]:hover { background: color-mix(in srgb, var(--color-primary) 5%, transparent); color: var(--ink); } }
.tabpanel { padding: clamp(var(--space-6), 3vw, var(--space-12)); border-radius: var(--r-md); background: var(--brand); color: var(--sand); min-height: 100%; }
.tabpanel h3 { font-size: var(--text-xl); letter-spacing: -0.03em; }
.tabpanel > p { color: color-mix(in srgb, var(--color-secondary) 78%, transparent); margin-top: var(--space-2); }
.tabpanel ol { list-style: none; counter-reset: s; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.tabpanel li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--space-3); align-items: start; color: color-mix(in srgb, var(--color-secondary) 92%, transparent); }
.tabpanel li::before { content: counter(s); width: 28px; height: 28px; border-radius: var(--r-md); display: grid; place-items: center; background: color-mix(in srgb, var(--color-secondary) 12%, transparent); font-weight: 600; font-size: var(--text-sm); }
.tabpanel .btn { margin-top: var(--space-6); }
.tabpanel:not([hidden]) { animation: panel-in 320ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .tabpanel:not([hidden]) { animation: none; } }
@media (max-width: 1024px) { .situation { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Live search field
   ========================================================================== */
.search-field { position: relative; max-width: 520px; margin-bottom: var(--space-8); }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search-field input { height: 48px; padding-left: var(--space-12); border-radius: var(--r-md); font-size: var(--text-base); background: var(--surface); }
.filter-empty { padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); color: var(--muted); text-align: center; }
[data-filter-item][hidden] { display: none !important; }

/* Statement band with scroll-scrubbed text */
.scrub-text { font-size: var(--text-2xl); line-height: 1.12; letter-spacing: -0.035em; font-weight: 600; max-width: 24ch; }
.scrub-text span { display: inline; }

/* People photography */
.people-band { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; isolation: isolate; }
.people-band img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; }
.people-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 78%, transparent) 0%, color-mix(in srgb, var(--color-primary) 35%, transparent) 38%, transparent 62%); pointer-events: none; }
.people-card { position: absolute; left: clamp(var(--space-6), 4vw, var(--space-16)); bottom: clamp(var(--space-6), 4vw, var(--space-16)); z-index: 1; max-width: 420px; color: var(--sand); }
.people-card h2 { font-size: var(--text-2xl); letter-spacing: -0.035em; line-height: 1.05; }
.people-card p { color: color-mix(in srgb, var(--color-secondary) 85%, transparent); margin-top: var(--space-3); }
.people-card .text-link { color: var(--sand); margin-top: var(--space-2); }
.inline-photo { margin-top: var(--space-6); border-radius: var(--r-md); overflow: hidden; }
.inline-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.start-aside .inline-photo { margin-top: 0; }
.start-aside .inline-photo img { aspect-ratio: 16 / 10; }
@media (max-width: 768px) {
  .people-band img { aspect-ratio: 4 / 5; object-position: 35% 50%; }
  .people-band::after { background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--color-primary) 90%, transparent) 80%); }
  .people-card { right: 20px; }
}

/* ==========================================================================
   Articles
   ========================================================================== */
.article-tools { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4) var(--space-8); flex-wrap: wrap; margin-bottom: var(--space-8); }
.article-tools .search-field { margin-bottom: 0; flex: 1; min-width: 260px; }
.chip-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 var(--space-4); border: 0; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); font: inherit; font-size: var(--text-sm); font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.chip-btn:active { transform: scale(0.97); }
.chip-btn[aria-pressed="true"] { background: var(--brand); color: var(--sand); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .chip-btn[aria-pressed="false"]:hover { background: var(--surface-2); color: var(--ink); } }
.article-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.article-grid .cat-hidden { display: none; }
.article-card { height: 100%; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out); }
.article-card h2 { font-size: var(--text-lg); letter-spacing: -0.02em; line-height: 1.25; }
.article-card p { color: var(--ink-2); margin: 0; }
.article-card .text-link { margin-top: auto; padding: var(--space-2) 0 0; }
@media (hover: hover) and (pointer: fine) { .article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); } }
.article-meta { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.article-grid li:first-child .article-card { background: var(--brand); color: var(--sand); box-shadow: none; }
.article-grid li:first-child .article-card p, .article-grid li:first-child .article-card .muted { color: color-mix(in srgb, var(--color-secondary) 75%, transparent); }
.article-grid li:first-child .article-card .text-link { color: var(--sand); }
.article-grid li:first-child .article-card .tag { background: color-mix(in srgb, var(--color-secondary) 14%, transparent); color: var(--sand); box-shadow: none; }

.article-layout { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: clamp(var(--space-8), 6vw, var(--space-24)); align-items: start; }
.article-toc { position: sticky; top: 96px; }
.article-toc h2 { font-size: var(--text-sm); font-weight: 550; color: var(--muted); margin-bottom: var(--space-3); }
.article-toc ol { margin: 0; padding-left: var(--space-4); display: grid; gap: var(--space-3); color: var(--muted); }
.article-toc a { color: var(--ink-2); text-decoration: none; }
.article-toc a:hover { color: var(--ink); text-decoration: underline; }
.article-body { max-width: 68ch; font-size: var(--text-base); }
.article-body section { scroll-margin-top: var(--space-24); }
.article-body section + section { margin-top: var(--space-12); }
.article-body h2 { font-size: var(--text-xl); letter-spacing: -0.025em; color: var(--ink); margin: 0 0 var(--space-4); }
.article-body p { margin: 0 0 var(--space-4); }
.article-body .plain-list { gap: var(--space-3); margin-top: var(--space-2); }
.related-scam { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-6); color: var(--ink); text-decoration: none; }

/* ==========================================================================
   FAQ categories
   ========================================================================== */
.faq-cat { font-size: var(--text-xl); letter-spacing: -0.025em; margin: var(--space-8) 0 var(--space-1); scroll-margin-top: var(--space-24); }
.faq-cat:first-child { margin-top: 0; }
.faq-item { margin: 0; padding: var(--space-6) var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.faq-item dt { font-weight: 600; font-size: var(--text-base); letter-spacing: -0.015em; margin-bottom: var(--space-2); }
.faq-item dd { margin: 0; color: var(--ink-2); }

/* ==========================================================================
   Rights checker and regulatory timeline
   ========================================================================== */
.checker { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); border-radius: var(--r-md); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md); }
.checker-form { padding: clamp(var(--space-6), 3vw, var(--space-12)); }
.checker-result { padding: clamp(var(--space-6), 3vw, var(--space-12)); background: var(--brand); color: var(--sand); display: flex; flex-direction: column; }
.checker-result [data-result]:not([hidden]) { animation: panel-in 320ms var(--ease-out); }
.checker-result .tag { background: var(--cta); color: var(--cta-ink); box-shadow: none; }
.checker-result h3 { font-size: var(--text-2xl); letter-spacing: -0.03em; line-height: 1.15; margin: var(--space-4) 0 var(--space-3); }
.checker-result p { color: color-mix(in srgb, var(--color-secondary) 85%, transparent); }
.checker-result .plain-list li { color: color-mix(in srgb, var(--color-secondary) 90%, transparent); }
.checker-result .plain-list .icon { color: var(--cta); }
.checker-foot { margin-top: auto; padding-top: var(--space-6); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-secondary) 14%, transparent); color: color-mix(in srgb, var(--color-secondary) 70%, transparent) !important; }
.checker-foot a { color: var(--sand); }

.reg-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); position: relative; }
.reg-timeline li { padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); position: relative; }
.reg-timeline li.current { background: var(--brand); color: var(--sand); box-shadow: none; }
.reg-timeline li.current p { color: color-mix(in srgb, var(--color-secondary) 80%, transparent); }
.reg-date { display: inline-block; font-size: var(--text-sm); font-weight: 600; color: var(--cta-text); margin-bottom: var(--space-3); }
.reg-timeline li.current .reg-date { color: var(--cta); }
.reg-timeline h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.reg-timeline p { color: var(--ink-2); margin: 0; }

/* Process: outcomes and checklist */
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.outcome { padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.outcome h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin: var(--space-4) 0 var(--space-2); }
.outcome p { color: var(--ink-2); }
.checklist { columns: 2; column-gap: var(--space-8); list-style: none; margin: 0; padding: 0; }
.checklist li { break-inside: avoid; display: flex; gap: var(--space-3); padding: var(--space-3) 0; color: var(--ink-2); box-shadow: inset 0 -1px 0 var(--line); }
.checklist .icon { color: var(--accent); flex: none; margin-top: var(--space-1); }

@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout, .checker { grid-template-columns: minmax(0, 1fr); }
  .article-toc { position: static; }
  .reg-timeline { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .article-grid, .outcomes { grid-template-columns: minmax(0, 1fr); }
  .checklist { columns: 1; }
  .article-body { font-size: var(--text-base); }
}

/* Legal documents */
.legal-draft { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-6); margin-bottom: var(--space-8); border-radius: var(--r-md); background: color-mix(in srgb, var(--color-accent) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 35%, transparent); color: var(--ink); font-size: var(--text-sm); }
.legal-draft .icon { color: var(--cta-text); flex: none; margin-top: var(--space-1); }
mark.todo { background: color-mix(in srgb, var(--color-accent) 20%, transparent); color: var(--ink); padding: var(--space-half) var(--space-1); border-radius: var(--r-xs); font-weight: 550; }
.legal-doc { max-width: 72ch; font-size: var(--text-base); }
.legal-doc h2 { font-size: var(--text-xl); letter-spacing: -0.02em; margin: var(--space-12) 0 var(--space-3); scroll-margin-top: var(--space-24); }
.legal-doc h3 { font-size: var(--text-base); margin: var(--space-6) 0 var(--space-3); }
.legal-doc ul, .legal-doc ol { padding-left: var(--space-6); display: grid; gap: var(--space-2); margin: 0 0 var(--space-4); }
.legal-doc p { margin: 0 0 var(--space-3); }
.legal-doc table { width: 100%; border-collapse: collapse; margin: var(--space-2) 0 var(--space-4); font-size: var(--text-sm); background: var(--surface); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.legal-doc th, .legal-doc td { text-align: left; padding: var(--space-3) var(--space-4); box-shadow: inset 0 -1px 0 var(--line); vertical-align: top; }
.legal-doc th { font-weight: 550; color: var(--muted); font-size: var(--text-sm); }
.legal-doc tr:last-child td { box-shadow: none; }

/* Footer with more columns: brand on its own row, columns auto-fit */
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer-brand { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-6); flex-wrap: wrap; padding-bottom: var(--space-3); }
.footer-brand p { margin-top: var(--space-3); }
.menu-footer-row { display: flex; flex-wrap: wrap; gap: var(--space-1); box-shadow: inset 0 1px 0 var(--line); margin-top: var(--space-1); }
.menu-footer-row .menu-footer { box-shadow: none; margin: 0; }
.menu-footer-row .menu-footer + .menu-footer { color: var(--ink-2); }

/* Bank directory */
.bank-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-3); }
.bank-link { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-4); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform 250ms var(--ease-out); }
.bank-mark { width: 40px; height: 40px; flex: none; border-radius: var(--r-md); display: grid; place-items: center; background: var(--sunken); color: var(--brand); font-weight: 650; font-size: var(--text-sm); letter-spacing: 0.02em; }
@media (prefers-color-scheme: dark) { .bank-mark { color: var(--sand); } }
@media (hover: hover) and (pointer: fine) { .bank-link:hover { transform: translateY(-2px); } .bank-link:hover .dir-arrow { transform: translateX(3px); color: var(--cta-text); } }

.legal-toc ol { list-style: none; padding-left: 0; }
.footer-brand { display: block; }
.footer-brand p { max-width: 52ch; }

/* Bank logos (Simple Icons, CC0) on a light tile so brand colours stay legible in both themes */
.bank-mark.has-logo { background: var(--color-secondary-25); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 8%, transparent); }
.bank-mark svg { display: block; }
.bank-chip { gap: var(--space-3); }
.bank-chip .bank-mark { width: 26px; height: 26px; border-radius: var(--r-md); font-size: var(--text-xs); }
.bank-hero-mark { padding-top: var(--space-16); margin-bottom: calc(-1 * var(--space-12)); }
.bank-hero-mark .bank-mark { width: 60px; height: 60px; border-radius: var(--r-md); font-size: var(--text-lg); }
.bank-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ==========================================================================
   Bank scams page
   ========================================================================== */
.bank-hero { padding: var(--space-16) 0 0; }
.bank-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); align-items: end; margin-bottom: var(--space-12); }
.bank-hero .lead { max-width: 58ch; }
.bank-crumbs { margin: 0 0 var(--space-2); }
.bank-hero-photo { margin: 0; border-radius: var(--r-md); overflow: hidden; }
.bank-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8.5; object-fit: cover; object-position: 60% 50%; }

.bank-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--space-8), 6vw, var(--space-32)); align-items: start; }
.bank-intro .h-section { max-width: 16ch; }
.bank-intro-body p { color: var(--ink-2); font-size: var(--text-base); line-height: 1.65; margin-bottom: var(--space-4); }
.bank-intro-photo { margin: var(--space-6) 0 var(--space-4); border-radius: var(--r-md); overflow: hidden; }
.bank-intro-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }

/* Colour cards, one per bank */
.bank-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.bank-card { position: relative; min-height: 148px; height: 100%; padding: var(--space-6) var(--space-6); border-radius: var(--r-md); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4); background: var(--bank); color: var(--bank-ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out); }
.bank-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: none; pointer-events: none; display: none; }
.bank-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.bank-card-name { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.bank-card-logo { flex: none; opacity: 0.95; }
.bank-card-link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 550; opacity: 0.92; }
.bank-card-link .icon { transition: transform 200ms var(--ease-out); }
.bank-card:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .bank-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
  .bank-card:hover .bank-card-link .icon { transform: translateX(4px); }
}
.bank-card-other { --bank: var(--surface); --bank-ink: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.bank-card-other .bank-card-name { font-size: var(--text-lg); }
.bank-card-text { font-size: var(--text-sm); color: var(--ink-2); }
.bank-card-other .bank-card-link { color: var(--cta-text); }

/* "If your bank has already said no" */
.said-no { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; border-radius: var(--r-md); overflow: hidden; background: var(--brand); color: var(--sand); }
.said-no-copy { padding: clamp(var(--space-8), 4vw, var(--space-16)); display: flex; flex-direction: column; justify-content: center; }
.said-no-copy h2 { font-size: var(--text-2xl); letter-spacing: -0.035em; line-height: 1.1; }
.said-no-copy p { color: color-mix(in srgb, var(--color-secondary) 82%, transparent); margin-top: var(--space-4); max-width: 48ch; }
.said-no-copy .text-link { color: var(--sand); }
.said-no-photo img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

/* FAQ accordion */
.bank-faq-wrap { max-width: 920px; }
.accordion { display: grid; gap: var(--space-3); }
.accordion details { border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-6); cursor: pointer; font-weight: 550; font-size: var(--text-base); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:focus-visible { outline: 2px solid var(--focus-color); outline-offset: calc(-1 * var(--space-half)); }
.acc-icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sunken); color: var(--ink); transition: transform 250ms var(--ease-out), background-color 200ms ease; }
.accordion details[open] .acc-icon { transform: rotate(45deg); background: var(--cta); color: var(--cta-ink); }
.accordion details p { padding: 0 var(--space-6) var(--space-6); margin: 0; color: var(--ink-2); max-width: 70ch; }
.accordion details[open] p { animation: panel-in 300ms var(--ease-out); }

@media (max-width: 1024px) {
  .bank-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bank-intro, .said-no { grid-template-columns: minmax(0, 1fr); }
  .said-no-photo img { min-height: 240px; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .bank-hero { padding-top: var(--space-8); }
  .bank-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .bank-crumbs { order: -1; }
  .bank-hero-photo img { aspect-ratio: 4 / 3; }
  .bank-cards { grid-template-columns: minmax(0, 1fr); }
  .bank-card { min-height: 120px; }
}

/* ==========================================================================
   Bank detail pages
   ========================================================================== */
/* Segment colours validated with the dataviz skill (light + dark); always paired with a labelled legend and 2px gaps. */
:root { --seg-full: #1c6a3e; --seg-part: #6ab36a; --seg-none: #b4c9b8; }
@media (prefers-color-scheme: dark) { :root { --seg-full: #2a9a62; --seg-part: #d9782a; --seg-none: #5b5e57; } }

.bank-page-hero { position: relative; padding: var(--space-16) 0 var(--space-16); background: color-mix(in srgb, var(--bank) 14%, var(--bg)); }
.bank-page-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bank); }
.bank-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: start; margin-top: var(--space-2); }
.bank-page-badge { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-3); border-radius: var(--r-sm); background: var(--bank); color: var(--bank-ink); font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-4); }
.bank-page-badge svg { display: block; }

.bank-glance { padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-md); border-top: 6px solid var(--bank); }
.bank-glance h2 { font-size: var(--text-base); font-weight: 600; color: var(--muted); margin-bottom: var(--space-4); }
.glance-stat { display: grid; gap: var(--space-1); }
.glance-value { font-size: var(--text-2xl); line-height: 1; font-weight: 650; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.glance-label { color: var(--ink-2); font-size: var(--text-sm); max-width: 34ch; }
.glance-split { display: flex; gap: var(--space-1); height: 12px; margin: var(--space-6) 0 var(--space-3); border-radius: var(--r-sm); overflow: hidden; }
.glance-split span { display: block; min-width: 2px; }
.seg-full { background: var(--seg-full); }
.seg-part { background: var(--seg-part); }
.seg-none { background: var(--seg-none); }
.glance-legend { display: grid; gap: var(--space-2); margin: 0; font-size: var(--text-sm); }
.glance-legend div { display: flex; justify-content: space-between; gap: var(--space-3); }
.glance-legend dt { display: flex; align-items: center; gap: var(--space-2); color: var(--ink-2); }
.glance-legend dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.glance-legend .key { width: 10px; height: 10px; border-radius: var(--r-xs); display: inline-block; }
.glance-source, .glance-note { font-size: var(--text-xs); color: var(--muted); margin: var(--space-4) 0 0; }
.glance-note { font-size: var(--text-sm); color: var(--ink-2); }
.glance-facts { list-style: none; margin: var(--space-4) 0 0; padding: var(--space-4) 0 0; display: grid; gap: var(--space-2); box-shadow: inset 0 1px 0 var(--line); font-size: var(--text-sm); color: var(--ink-2); }
.glance-facts li { display: flex; gap: var(--space-2); }
.glance-facts .icon { color: var(--accent); flex: none; margin-top: var(--space-1); }

/* Comparison chart: one series, bank highlighted; values are text, not colour */
.compare-chart { margin: 0; padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.chart-title { font-size: var(--text-sm); font-weight: 600; color: var(--ink); margin-bottom: var(--space-4); }
.bars-chart { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.bars-chart li { position: relative; display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 44px; gap: var(--space-3); align-items: center; padding: var(--space-1) var(--space-2); border-radius: var(--r-md); outline: none; cursor: default; }
.bars-chart li:hover, .bars-chart li:focus-visible { background: var(--surface-2); }
.bars-chart li:focus-visible { outline: 2px solid var(--focus-color); outline-offset: var(--space-half); }
.bar-name { font-size: var(--text-sm); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 10px; display: block; }
.bar-fill { display: block; height: 100%; border-radius: 0 var(--r-xs) var(--r-xs) 0; background: var(--seg-none); transform-origin: left; }
.bar-value { font-size: var(--text-sm); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bars-chart li.is-me .bar-fill { background: var(--seg-full); }
.bars-chart li.is-me .bar-name, .bars-chart li.is-me .bar-value { color: var(--ink); font-weight: 650; }
.bars-chart li.is-me { background: color-mix(in srgb, var(--seg-full) 9%, transparent); }
.bar-tip { position: absolute; z-index: 5; left: 200px; bottom: calc(100% + 4px); width: max-content; max-width: 260px; padding: var(--space-2) var(--space-3); border-radius: var(--r-md); background: var(--ink); color: var(--bg); font-size: var(--text-xs); line-height: 1.45; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out); }
.bars-chart li:hover .bar-tip, .bars-chart li:focus-visible .bar-tip { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .compare-chart.aos-animate .bar-fill, .compare-chart:not([data-aos]) .bar-fill { animation: bar-grow 900ms var(--ease-out) both; }
  @keyframes bar-grow { from { transform: scaleX(0.02); } }
}
.chart-table { margin-top: var(--space-4); font-size: var(--text-sm); }
.chart-table summary { cursor: pointer; color: var(--ink-2); font-weight: 550; }
.chart-table table { width: 100%; margin-top: var(--space-3); border-collapse: collapse; font-size: var(--text-sm); }
.chart-table th, .chart-table td { text-align: left; padding: var(--space-2) var(--space-2); box-shadow: inset 0 -1px 0 var(--line); }
.chart-table th { color: var(--muted); font-weight: 550; }

.bank-card-sm { min-height: 112px; padding: var(--space-4) var(--space-6); }
.bank-card-sm .bank-card-name { font-size: var(--text-lg); }

@media (max-width: 1024px) {
  .bank-page-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .bars-chart li { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 40px; }
  .bar-tip { left: 8px; }
  .glance-value { font-size: var(--text-2xl); }
}

/* ==========================================================================
   Homepage: people-first hero, photo story and team filmstrip
   ========================================================================== */
/* Hero: photo with floating portal cards; layers drift at different speeds on scroll ([data-depth] sets --py). */
.hero-people { padding-bottom: var(--space-24); }
.hero-people .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hero-people .hero-copy { padding-bottom: 0; }
.hero-trust { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); font-size: var(--text-sm); color: color-mix(in srgb, var(--color-secondary) 82%, transparent); }
.hero-trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-trust .icon { color: var(--cta); }
.hero-visual { position: relative; padding: 0 var(--space-8) 0 var(--space-16); }
.hero-photo { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 5 / 5.6; max-height: 680px; box-shadow: var(--shadow-sm); translate: 0 var(--py, 0px); }
.hero-photo picture { display: block; height: 100%; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-float { position: absolute; z-index: 2; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); translate: 0 var(--py, 0px); }
.hero-float-case { left: 0; bottom: 44px; width: 272px; padding: var(--space-4) var(--space-4) var(--space-4); border-radius: var(--r-md); }
.hf-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--muted); margin-bottom: var(--space-3); }
.hf-badge { padding: var(--space-1) var(--space-2); border-radius: var(--r-sm); background: color-mix(in srgb, var(--cta) 16%, transparent); color: var(--cta-text); font-weight: 600; }
.hf-label { font-size: var(--text-xs); color: var(--muted); }
.hf-figure { font-size: var(--text-2xl); font-weight: 650; letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.2; }
.hf-bar { height: 6px; border-radius: var(--r-xs); background: var(--sunken); margin: var(--space-3) 0 var(--space-3); overflow: hidden; }
.hf-bar span { display: block; height: 100%; width: 100%; border-radius: var(--r-xs); background: var(--cta); transform-origin: left; transform: scaleX(0.21); }
.hf-sub { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--ink-2); }
.hf-sub .icon { color: var(--accent); }
.hero-float-note { right: 0; top: 48px; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3); border-radius: var(--r-md); }
.hf-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--sand); flex: none; }
.hf-note-text { display: grid; font-size: var(--text-xs); color: var(--muted); line-height: 1.35; }
.hf-note-text strong { font-size: var(--text-sm); color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: hero-mask 1200ms var(--ease-out) 80ms both; }
  .hero-photo img { animation: hero-zoom 1800ms var(--ease-out) 80ms both; }
  .hero-float-case { animation: float-in 800ms var(--ease-out) 650ms both; }
  .hero-float-note { animation: float-in 800ms var(--ease-out) 900ms both; }
  .hf-bar span { animation: bar-fill 1200ms var(--ease-out) 1100ms both; }
  .hero-trust li { animation: rise 700ms var(--ease-out) both; }
  .hero-trust li:nth-child(1) { animation-delay: 220ms; }
  .hero-trust li:nth-child(2) { animation-delay: 280ms; }
  .hero-trust li:nth-child(3) { animation-delay: 340ms; }
  @keyframes hero-mask { from { clip-path: inset(14% 10% 14% 10% round 28px); } to { clip-path: inset(0 round 28px); } }
  @keyframes hero-zoom { from { transform: scale(1.18); } }
  @keyframes float-in { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
  @keyframes bar-fill { from { transform: scaleX(0); } }
}

/* Photo story: sticky photo stage on one side, chapters on the other. */
.journey { padding: clamp(var(--space-20), 10vw, 140px) 0 clamp(var(--space-12), 6vw, var(--space-20)); }
.journey-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(var(--space-8), 6vw, var(--space-32)); align-items: start; }
.journey-stage { position: sticky; top: 88px; height: min(calc(100vh - 120px), 780px); }
.journey-frames { position: relative; height: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--brand); box-shadow: var(--shadow-md); }
.journey-frame { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1000ms var(--ease-out); }
.journey-frame.is-past { clip-path: inset(0); z-index: 1; }
.journey-frame.is-active { clip-path: inset(0); z-index: 2; }
.journey-frame picture { display: block; height: 100%; }
.journey-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.14); transition: transform 1600ms var(--ease-out); }
.journey-frame.is-active img, .journey-frame.is-past img { transform: scale(1.02); }
.journey-hud { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-3) var(--space-4); padding: var(--space-4) var(--space-4) var(--space-4); border-radius: var(--r-md); background: var(--chrome); color: var(--sand); }
.journey-count { font-size: var(--text-sm); color: color-mix(in srgb, var(--color-secondary) 70%, transparent); font-variant-numeric: tabular-nums; }
.journey-count b { font-size: var(--text-xl); font-weight: 650; color: var(--sand); letter-spacing: -0.02em; margin-right: var(--space-1); }
.journey-kicker { font-size: var(--text-sm); font-weight: 550; justify-self: end; }
.journey-bar { grid-column: 1 / -1; height: 3px; border-radius: var(--r-xs); background: color-mix(in srgb, var(--color-secondary) 20%, transparent); overflow: hidden; }
.journey-bar span { display: block; height: 100%; background: var(--cta); transform-origin: left; transform: scaleX(var(--jp, 0)); }
.journey-steps { list-style: none; margin: 0; padding: 14vh 0 20vh; }
.journey-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; opacity: 0.25; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); }
.journey-step.is-active { opacity: 1; transform: none; }
.journey-step .kicker { font-size: var(--text-sm); font-weight: 600; color: var(--cta-text); font-variant-numeric: tabular-nums; }
.journey-step h3 { font-size: var(--text-2xl); letter-spacing: -0.04em; line-height: 1.05; max-width: 14ch; margin: var(--space-4) 0 var(--space-4); }
.journey-step p { color: var(--ink-2); font-size: var(--text-base); line-height: 1.6; max-width: 42ch; }
.journey-step .btn { margin-top: var(--space-8); }
.journey-note { margin-top: var(--space-3); }

/* Team filmstrip: pins on wide screens and slides sideways with the page scroll (JS sets height and translate). */
.filmstrip { position: relative; background: var(--brand); color: var(--sand); padding: clamp(var(--space-20), 9vw, var(--space-32)) 0 var(--space-16); }
.filmstrip .h-section { color: var(--sand); }
.filmstrip .body-lg { color: color-mix(in srgb, var(--color-secondary) 78%, transparent); max-width: 52ch; }
.filmstrip .text-link { color: var(--sand); }
.filmstrip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); margin-bottom: var(--space-8); }
.filmstrip-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.filmstrip-viewport::-webkit-scrollbar { display: none; }
.filmstrip-track { --edge: max(clamp(var(--space-6), 5vw, var(--space-24)), calc((100vw - 1680px) / 2 + clamp(var(--space-6), 5vw, var(--space-24)))); list-style: none; margin: 0; padding: 0 var(--edge); display: flex; gap: var(--space-4); width: max-content; will-change: translate; }
.film-card { position: relative; flex: none; height: clamp(340px, 40vw, 480px); aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; scroll-snap-align: start; scroll-margin-left: var(--edge); background: color-mix(in srgb, var(--color-secondary) 8%, transparent); }
.film-card.is-wide { aspect-ratio: 16 / 10; }
.film-card picture { display: block; height: 100%; }
.film-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.film-caption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: var(--space-1); padding: var(--space-3) var(--space-4); border-radius: var(--r-md); background: var(--chrome); }
.film-caption strong { font-size: var(--text-base); font-weight: 600; color: var(--sand); }
.film-caption span { font-size: var(--text-sm); color: color-mix(in srgb, var(--color-secondary) 80%, transparent); }
.film-end { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-3); padding: var(--space-8); background: var(--sand); color: var(--brand); }
.film-end h3 { font-size: var(--text-2xl); letter-spacing: -0.035em; line-height: 1.08; }
.film-end p { color: color-mix(in srgb, var(--color-primary) 78%, transparent); }
.film-end .btn { align-self: flex-start; margin-top: var(--space-2); }
@media (hover: hover) and (pointer: fine) {
  .film-card:hover img { transform: scale(1.04); }
}
.filmstrip-foot { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-8); }
.filmstrip-foot .muted { color: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.filmstrip-progress { width: 160px; height: 3px; border-radius: var(--r-xs); background: color-mix(in srgb, var(--color-secondary) 20%, transparent); overflow: hidden; }
.filmstrip-progress span { display: block; height: 100%; background: var(--cta); transform-origin: left; transform: scaleX(var(--fp, 0)); }
.filmstrip.is-pinned { padding: 0; }
.filmstrip.is-pinned .filmstrip-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--space-16); overflow: hidden; }
.filmstrip.is-pinned .filmstrip-viewport { overflow: visible; scroll-snap-type: none; }
.filmstrip.is-pinned .film-card { height: min(52vh, 480px); }

@media (max-width: 1024px) {
  .hero-people .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { padding: 0 var(--space-3) 0 var(--space-6); max-width: 640px; }
  .journey-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .journey-stage { top: 72px; height: 50vh; z-index: 1; }
  .journey-steps { position: relative; z-index: 2; padding: 26vh 0 8vh; }
  .journey-step { min-height: 0; margin-bottom: 36vh; padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-md); opacity: 1; transform: none; }
  .journey-step:last-child { margin-bottom: 0; }
  .journey-step h3 { font-size: var(--text-2xl); margin: var(--space-3) 0 var(--space-3); }
  .journey-step p { font-size: var(--text-base); }
}
@media (max-width: 640px) {
  .hero-people { padding-bottom: var(--space-16); }
  .hero-visual { padding: 0 var(--space-2) 0 var(--space-3); }
  .hero-photo { aspect-ratio: 4 / 4.4; border-radius: var(--r-md); }
  .hero-float-case { left: -4px; bottom: -28px; width: 220px; padding: var(--space-3) var(--space-4) var(--space-4); }
  .hf-figure { font-size: var(--text-xl); }
  .hero-float-note { right: -4px; top: 20px; padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3); }
  .hf-icon { width: 30px; height: 30px; }
  .journey-frames, .hero-photo { border-radius: var(--r-md); }
  .journey-hud { left: 12px; right: 12px; bottom: 12px; padding: var(--space-3) var(--space-4) var(--space-3); }
  .filmstrip-head { flex-direction: column; align-items: flex-start; }
  .film-card { height: 96vw; max-height: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-frame, .journey-frame img, .journey-step { transition: none; }
}
.filmstrip-sticky > .wrap { width: 100%; }
@media (max-width: 640px) {
  .hero-float-case { width: 232px; }
  .hf-top { font-size: var(--text-xs); white-space: nowrap; }
  .hf-sub { display: none; }
}

/* ==========================================================================
   Footer (full width): CTA band, brand + link columns, legal, bottom bar
   ========================================================================== */
.site-footer { padding: 0; margin-top: 0; position: relative; overflow: hidden; }
.footer-cta { position: relative; padding: clamp(var(--space-16), 7vw, var(--space-24)) 0; box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-secondary) 12%, transparent); border-radius: 0; margin: 0; }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-8); flex-wrap: wrap; }
.footer-cta h2 { font-size: var(--text-2xl); letter-spacing: -0.045em; line-height: 1.02; max-width: 16ch; }
.footer-cta p { color: color-mix(in srgb, var(--color-secondary) 72%, transparent); margin: var(--space-4) 0 0; font-size: var(--text-base); max-width: 48ch; }
.footer-cta .btn { gap: var(--space-3); }
.footer-cta .btn .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer-cta .btn:hover .icon { transform: translateX(3px); } }

.footer-main { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: clamp(var(--space-12), 6vw, var(--space-32)); padding-top: clamp(var(--space-12), 6vw, var(--space-20)); padding-bottom: var(--space-12); }
.footer-brand { display: block; grid-column: auto; padding: 0; }
.footer-brand .brand { font-size: var(--text-base); }
.footer-brand p { color: color-mix(in srgb, var(--color-secondary) 65%, transparent); font-size: var(--text-sm); line-height: 1.6; margin-top: var(--space-4); max-width: 34ch; }
.footer-contact { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); font-size: var(--text-sm); }
.footer-contact li { display: flex; align-items: center; gap: var(--space-3); }
.fc-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); background: color-mix(in srgb, var(--color-secondary) 8%, transparent); color: var(--cta); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-12) var(--space-8); }
.footer-grid { display: none; }
.footer-col h3 { font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em; color: var(--sand); margin-bottom: var(--space-4); padding-bottom: var(--space-3); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-secondary) 12%, transparent); }
.footer-col ul { gap: var(--space-3); }
.footer-col a { position: relative; color: color-mix(in srgb, var(--color-secondary) 72%, transparent); font-size: var(--text-sm); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: var(--space-1); transition: color 150ms ease, text-decoration-color 150ms ease; padding-bottom: var(--space-half); }
.footer-col a.footer-more { color: var(--cta); font-weight: 550; }
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: var(--sand); text-decoration-color: currentColor; }
  .footer-col a.footer-more:hover { color: var(--cta); }
}
.footer-col a:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; border-radius: var(--r-xs); }

.footer-legal { padding-top: var(--space-8); padding-bottom: var(--space-8); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-3) var(--space-12); max-width: none; font-size: var(--text-sm); line-height: 1.6; color: color-mix(in srgb, var(--color-secondary) 55%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-secondary) 12%, transparent); }
.site-footer > .wrap:has(.setup-note) { padding-bottom: var(--space-6); }
.footer-bar { background: color-mix(in srgb, var(--color-black) 18%, transparent); }
.footer-note { padding-top: var(--space-4); padding-bottom: var(--space-4); font-size: var(--text-sm); color: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.footer-note span:last-child { gap: var(--space-6); }
.footer-note a { text-decoration: none; }
.footer-note a:hover { color: var(--sand); text-decoration: underline; }
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-brand p { max-width: 52ch; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); }
  .footer-cta-inner { align-items: flex-start; }
}

/* ==========================================================================
   Fees page
   ========================================================================== */
.fee-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.fee-points li { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.fp-icon { width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--sunken); color: var(--brand); margin-bottom: var(--space-2); }
@media (prefers-color-scheme: dark) { .fp-icon { color: var(--sand); } }
.fee-points strong { font-size: var(--text-base); letter-spacing: -0.015em; }
.fee-points span:last-child { color: var(--ink-2); font-size: var(--text-sm); }

.fee-calc-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: start; }
.fee-table-card { margin-top: var(--space-8); }
.fee-table-card tr.is-current td { background: color-mix(in srgb, var(--cta) 10%, transparent); font-weight: 600; }
.fee-table-card td { transition: background-color 200ms ease; }
.fee-calc { position: sticky; top: 96px; }
.calc-input { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); padding: 0 var(--space-4); border-radius: var(--r-md); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.calc-input:focus-within { border-color: var(--primary); outline: 2px solid var(--focus-color); outline-offset: var(--space-half); }
.calc-input span { font-size: var(--text-xl); font-weight: 600; color: var(--muted); }
.calc-input input { border: 0; background: transparent; box-shadow: none; font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.03em; padding: var(--space-3) 0; width: 100%; font-variant-numeric: tabular-nums; outline: none; }
.calc-range { width: 100%; margin: var(--space-4) 0 var(--space-2); accent-color: var(--cta); }
.calc-split { display: flex; gap: var(--space-1); height: 12px; margin-top: var(--space-4); border-radius: var(--r-sm); overflow: hidden; }
.calc-split span { flex-basis: 0; min-width: 2px; transition: flex-grow 300ms var(--ease-out); }
.cs-net { background: var(--accent); }
.cs-fee { background: var(--cta); }
.calc-legend { display: flex; gap: var(--space-4); margin-top: var(--space-3); font-size: var(--text-sm); color: var(--ink-2); }
.calc-legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.calc-legend .key { width: 10px; height: 10px; border-radius: var(--r-xs); display: inline-block; }
.calc-rate { color: var(--ink); font-weight: 550; margin: var(--space-1) 0 var(--space-2); }
.fee-examples .tag { margin-left: var(--space-2); }
.fee-examples td.pos { color: var(--accent); font-weight: 600; }

.fee-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); counter-reset: none; position: relative; }
.fee-stages li { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.fs-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; background: var(--brand); color: var(--sand); }
.fee-stages li:last-child .fs-num { background: var(--cta); color: var(--cta-ink); }
.fee-stages h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin-top: var(--space-2); }
.fee-stages p { color: var(--ink-2); flex: 1; }
.fs-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3); border-radius: var(--r-sm); font-size: var(--text-sm); font-weight: 550; background: var(--surface-2); color: var(--ink-2); }
.fs-tag.is-due { background: color-mix(in srgb, var(--cta) 16%, transparent); color: var(--cta-text); }

.success-list { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.success-list li { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.success-list strong { display: block; font-size: var(--text-base); }
.success-list span:not(.sl-icon) { color: var(--ink-2); font-size: var(--text-sm); }
.sl-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.plain-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-3); color: var(--ink-2); }
.plain-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.plain-list .icon { flex: none; margin-top: var(--space-1); color: var(--color-error); }
@media (prefers-color-scheme: dark) { .plain-list .icon { color: var(--color-error); } }
.info-card + .info-card { margin-top: var(--space-3); }
.compare-table th[scope="row"] { font-weight: 600; color: var(--ink); white-space: nowrap; }
.compare-table td:last-child { color: var(--ink); }

@media (max-width: 1024px) {
  .fee-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fee-calc-layout, .fee-stages { grid-template-columns: minmax(0, 1fr); }
  .fee-calc { position: static; }
}
@media (max-width: 560px) {
  .fee-points { grid-template-columns: minmax(0, 1fr); }
  .compare-table th[scope="row"] { white-space: normal; }
}
/* Footer: brand row on top, then all link columns across the full width */
.footer-main { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
.footer-brand { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-6) var(--space-12); flex-wrap: wrap; padding-bottom: var(--space-12); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-secondary) 12%, transparent); }
.footer-brand > div, .footer-brand .footer-contact { margin-top: 0; }
.footer-brand p { max-width: 46ch; }
.footer-contact { grid-auto-flow: column; gap: var(--space-3) var(--space-8); }
.footer-cols { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--space-12) var(--space-6); }
@media (max-width: 1280px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .footer-contact { grid-auto-flow: row; } .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); } }
.footer-cta { display: block; padding-left: 0; padding-right: 0; }
.footer-cols { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1280px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc-out div:last-child dd { color: inherit; }
.calc-out div:first-child dd { color: var(--good); }
.table th.right { text-align: right; }

/* ==========================================================================
   Split hero (how it works, fees): copy + photo with a floating chip
   ========================================================================== */
.split-hero { padding: var(--space-12) 0 clamp(var(--space-16), 7vw, var(--space-24)); background: var(--surface-2); }
.split-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--space-8), 6vw, var(--space-24)); align-items: center; }
.split-hero-copy .breadcrumbs { margin-bottom: var(--space-6); }
.split-hero-copy .display { max-width: 15ch; }
.split-hero-photo { position: relative; margin: 0; }
.split-hero-photo picture { display: block; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); }
.split-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 45%; }
.split-hero-photo.is-landscape img { aspect-ratio: 4 / 3.2; }
.split-hero-chip { position: absolute; left: -24px; bottom: 32px; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.split-hero-chip > span:last-child { display: grid; font-size: var(--text-xs); color: var(--muted); line-height: 1.35; }
.split-hero-chip strong { font-size: var(--text-sm); color: var(--ink); font-weight: 600; }
.stage-pills { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.stage-pills a { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; font-size: var(--text-sm); font-weight: 550; transition: transform 200ms var(--ease-out); }
.stage-pills a span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--sand); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .stage-pills a:hover { transform: translateY(-2px); } }
.hero-stats { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-8) 0 0; }
.hero-stats div { padding: var(--space-4) var(--space-4); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); min-width: 140px; }
.hero-stats dt { font-size: var(--text-sm); color: var(--muted); }
.hero-stats dd { margin: var(--space-1) 0 0; font-size: var(--text-xl); font-weight: 650; letter-spacing: -0.035em; color: var(--accent); font-variant-numeric: tabular-nums; }

/* Stage rows: alternating photo and copy */
.stage-rows { display: grid; gap: clamp(var(--space-16), 8vw, var(--space-32)); }
.stage-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--space-8), 6vw, var(--space-24)); align-items: center; scroll-margin-top: var(--space-24); }
.stage-row:nth-child(even) .stage-photo { order: 2; }
.stage-photo { position: relative; margin: 0; }
.stage-photo picture { display: block; border-radius: var(--r-md); overflow: hidden; }
.stage-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.stage-num { position: absolute; top: 18px; left: 18px; padding: var(--space-2) var(--space-4); border-radius: var(--r-md); background: var(--chrome); color: var(--sand); font-size: var(--text-2xl); font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stage-copy h3 { font-size: var(--text-2xl); letter-spacing: -0.04em; line-height: 1.08; max-width: 18ch; }
.stage-copy > p { color: var(--ink-2); font-size: var(--text-base); line-height: 1.6; margin: var(--space-4) 0 var(--space-6); max-width: 52ch; }
.checklist.one-col { columns: 1; }
.stage-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-6) 0 0; }
.stage-meta div { padding: var(--space-4) var(--space-4); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.stage-meta dt { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--muted); }
.stage-meta dt .icon { color: var(--cta-text); }
.stage-meta dd { margin: var(--space-1) 0 0; font-weight: 600; font-size: var(--text-base); }

/* Team groups + photo carousel */
.team-groups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.team-groups li { padding: var(--space-3) var(--space-3) var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.tg-photo picture { display: block; border-radius: var(--r-md); overflow: hidden; }
.tg-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 30%; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .team-groups li:hover .tg-photo img { transform: scale(1.04); } }
.team-groups h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin: var(--space-4) var(--space-3) var(--space-2); }
.team-groups p { color: var(--ink-2); margin: 0 var(--space-3); }
.gallery { margin-top: clamp(var(--space-16), 7vw, var(--space-24)); }
.gallery-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); }
.gallery-head h3 { font-size: var(--text-xl); letter-spacing: -0.025em; }
.gallery-nav { display: flex; gap: var(--space-2); }
.btn-icon { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; }
.btn-icon:disabled { opacity: 0.4; cursor: default; }
.gallery-track { --edge: max(clamp(var(--space-6), 5vw, var(--space-24)), calc((100vw - 1680px) / 2 + clamp(var(--space-6), 5vw, var(--space-24)))); list-style: none; margin: 0; padding: 0 var(--edge) var(--space-1); display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 2px solid var(--cta); outline-offset: 4px; }
.gallery-track li { flex: none; width: clamp(280px, 34vw, 520px); scroll-snap-align: start; }
.gallery-track picture { display: block; border-radius: var(--r-md); overflow: hidden; }
.gallery-track img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* Example cases */
.example-cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.example-cases li { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.example-cases .tag { align-self: flex-start; }
.example-cases h3 { font-size: var(--text-lg); letter-spacing: -0.025em; line-height: 1.2; }
.example-cases p { color: var(--ink-2); flex: 1; }
.ec-route { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--muted); }
.ec-step { padding: var(--space-1) var(--space-3); border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-2); font-weight: 550; }
.ec-step.is-last { background: var(--brand); color: var(--sand); }
.ec-mattered { display: grid; gap: var(--space-1); padding-top: var(--space-4); box-shadow: inset 0 1px 0 var(--line); font-size: var(--text-sm); }
.ec-mattered strong { font-size: var(--text-sm); color: var(--cta-text); }
.ec-mattered span { color: var(--ink-2); }

/* Fee teaser with photo */
.fee-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-md); overflow: hidden; background: var(--brand); color: var(--sand); }
.fee-teaser-photo picture, .fee-teaser-photo img { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.fee-teaser-copy { padding: clamp(var(--space-8), 5vw, var(--space-16)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.fee-teaser-copy .eyebrow { color: var(--cta); }
.fee-teaser-copy h2 { font-size: var(--text-2xl); letter-spacing: -0.04em; line-height: 1.05; }
.fee-teaser-copy p { color: color-mix(in srgb, var(--color-secondary) 80%, transparent); margin: var(--space-4) 0 var(--space-8); max-width: 46ch; }

/* How long it takes: proportional bars (a rough guide, labelled in words) */
.duration { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: flex; gap: var(--space-2); }
.duration li { flex: var(--w) 1 0; min-width: 0; display: grid; gap: var(--space-1); align-content: start; }
.du-bar { height: 10px; border-radius: var(--r-sm); background: var(--brand); margin-bottom: var(--space-3); transform-origin: left; }
.du-bar.is-optional { background: color-mix(in srgb, var(--brand) 45%, transparent); }
@media (prefers-color-scheme: dark) { .du-bar { background: var(--sand); } .du-bar.is-optional { background: color-mix(in srgb, var(--sand) 40%, transparent); } }
.duration strong { font-size: var(--text-base); }
.duration span:last-child { color: var(--ink-2); font-size: var(--text-sm); }

/* Fees: portal photo stack and DIY header */
.photo-stack { position: relative; padding: 0 0 var(--space-16) 0; }
.ps-photo picture { display: block; border-radius: var(--r-md); overflow: hidden; width: 78%; }
.ps-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.2; object-fit: cover; }
.ps-shot { position: absolute; right: 0; bottom: 0; width: 62%; }
.ps-shot .shot { box-shadow: var(--shadow-sm); }
.diy-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; margin-bottom: var(--space-12); }
.diy-photo picture { display: block; border-radius: var(--r-md); overflow: hidden; }
.diy-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

@media (max-width: 1024px) {
  .split-hero-grid, .stage-row, .fee-teaser, .diy-head { grid-template-columns: minmax(0, 1fr); }
  .stage-row:nth-child(even) .stage-photo { order: 0; }
  .team-groups, .example-cases { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .split-hero-chip { left: 12px; }
  .fee-teaser-photo img { min-height: 240px; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .split-hero { padding-top: var(--space-8); }
  .stage-meta { grid-template-columns: minmax(0, 1fr); }
  .duration { flex-direction: column; gap: var(--space-6); }
  .duration li { flex: none; }
  .du-bar { width: calc(var(--w) * 25%); }
  .gallery-track li { width: 80vw; }
  .ps-photo picture { width: 100%; }
  .ps-shot { position: relative; width: 88%; margin: calc(-1 * var(--space-12)) 0 0 auto; }
  .photo-stack { padding-bottom: 0; }
}
.split-hero-chip { left: 20px; bottom: 20px; }
.shot-contained { max-width: 500px; justify-self: end; width: 100%; }

/* ==========================================================================
   About and Why us
   ========================================================================== */
.ps-shot picture { display: block; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.ps-shot picture img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; }
.value-grid, .reason-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.reason-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value-grid li, .reason-grid li { position: relative; padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.value-grid h3, .reason-grid h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin: var(--space-2) 0 var(--space-2); }
.value-grid p, .reason-grid p { color: var(--ink-2); }
.rg-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rg-num { font-size: var(--text-2xl); font-weight: 650; letter-spacing: -0.05em; color: var(--line-strong); font-variant-numeric: tabular-nums; line-height: 1; }
.hero-trust-light { color: var(--ink-2); }
.hero-trust-light .icon { color: var(--cta-text); }
.people-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(var(--space-8), 6vw, var(--space-24)); align-items: center; }
.ps-media picture { display: block; border-radius: var(--r-md); overflow: hidden; }
.ps-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 40%; }
.ps-copy .body-lg { margin: var(--space-4) 0 var(--space-6); }
/* Genuine service vs warning signs: two cards rather than one two-column table. The table
   needed a header row to say which column was which, and on a phone it collapsed into pairs
   with no labels at all. Each card now carries its own heading wherever it sits. */
.ta-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); align-items: start; }
.ta-card { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: var(--space-6); border-top: 3px solid transparent; }
.ta-card h3 { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-lg); margin: 0 0 var(--space-5); }
.ta-mark { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); }
.ta-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.ta-card li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-3); align-items: start; color: var(--ink-2); line-height: var(--leading-body); }
.ta-card li .icon { margin-top: 3px; flex: none; }
.ta-card-good { border-top-color: var(--good); }
.ta-card-good .ta-mark { background: var(--good-soft); color: var(--good); }
.ta-card-good li .icon { color: var(--good); }
.ta-card-bad { border-top-color: var(--bad); }
.ta-card-bad .ta-mark { background: var(--bad-soft); color: var(--bad); }
.ta-card-bad li .icon { color: var(--bad); }
@media (max-width: 768px) { .ta-pair { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); } }
.press-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-3); }
.press-list a { display: grid; gap: var(--space-2); padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; height: 100%; }
.press-list .tag { justify-self: start; }
@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .value-grid, .reason-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Scam types hub and scam pages
   ========================================================================== */
.hero-search { margin: var(--space-8) 0 0; max-width: 520px; }
.scam-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.sm-tile picture { display: block; border-radius: var(--r-md); overflow: hidden; }
.sm-tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.3; object-fit: cover; }
.sm-tile:nth-child(2) { transform: translateY(28px); }
.sm-tile:nth-child(4) { transform: translateY(28px); }

.scam-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.scam-cards.is-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scam-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out); }
.sc-photo { position: relative; display: block; overflow: hidden; }
.sc-photo picture { display: block; }
.sc-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 700ms var(--ease-out); }
.sc-icon { position: absolute; left: 14px; bottom: -18px; width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand); color: var(--sand); box-shadow: 0 0 0 4px var(--surface); }
.sc-body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-8) var(--space-6) var(--space-6); flex: 1; }
.sc-body strong { font-size: var(--text-lg); letter-spacing: -0.02em; }
.sc-body > span:not(.sc-link) { color: var(--ink-2); font-size: var(--text-sm); }
.sc-link { margin-top: auto; padding-top: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 550; color: var(--cta-text); }
.sc-link .icon { transition: transform 200ms var(--ease-out); }
.scam-card:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .scam-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .scam-card:hover .sc-photo img { transform: scale(1.05); }
  .scam-card:hover .sc-link .icon { transform: translateX(4px); }
}
.scam-card:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }
.cat-hidden, [data-filter-item][hidden] { display: none; }

.pattern { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); position: relative; }
.pattern::before { content: ""; position: absolute; left: 36px; right: 36px; top: 26px; height: 2px; background: var(--line-strong); }
.pattern li { position: relative; }
.pt-node { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--brand); }
@media (prefers-color-scheme: dark) { .pt-node { color: var(--sand); } }
.pattern li:last-child .pt-node { background: var(--cta); color: var(--cta-ink); }
.pt-num { display: block; margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 600; color: var(--cta-text); font-variant-numeric: tabular-nums; }
.pattern h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin: var(--space-1) 0 var(--space-2); }
.pattern p { color: var(--ink-2); max-width: 30ch; }

.route-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-4); }
.route-grid li { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.route-grid h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin-top: var(--space-1); }
.route-grid p { color: var(--ink-2); font-size: var(--text-base); flex: 1; }

.scam-badge { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2); border-radius: var(--r-sm); background: var(--brand); color: var(--sand); font-size: var(--text-sm); font-weight: 550; margin-bottom: var(--space-4); }
.scam-badge .icon { color: var(--cta); }
.on-page { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.on-page a { padding: var(--space-2) var(--space-4); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink-2); text-decoration: none; font-size: var(--text-sm); font-weight: 550; }
@media (hover: hover) and (pointer: fine) { .on-page a:hover { color: var(--ink); background: var(--surface-2); } }
#how-it-works, #warning-signs, #money-back, #questions { scroll-margin-top: var(--space-20); }

.scam-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); counter-reset: none; }
.scam-steps li { position: relative; padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.scam-steps li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 44px; width: 10px; height: 10px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: rotate(45deg); z-index: 1; }
.ss-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--sand); font-weight: 650; font-size: var(--text-base); }
.scam-steps li:last-child .ss-num { background: var(--color-error); color: var(--color-white); }
.scam-steps h3 { font-size: var(--text-lg); letter-spacing: -0.02em; margin: var(--space-4) 0 var(--space-2); }
.scam-steps p { color: var(--ink-2); font-size: var(--text-base); }
.example-quote { margin: var(--space-6) 0 0; padding: var(--space-8) var(--space-8); border-radius: var(--r-md); background: var(--sunken); position: relative; }
.eq-label { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--cta-text); }
.example-quote blockquote { margin: var(--space-3) 0 var(--space-3); font-size: var(--text-lg); line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); max-width: 70ch; }
.example-quote figcaption { font-size: var(--text-sm); color: var(--muted); }
.signs .h-section { color: var(--sand); }
.protect-card { padding: var(--space-8); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.protect-card .h-sub { margin-bottom: var(--space-2); }
.fee-teaser-copy .row { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }

@media (max-width: 1024px) {
  .scam-cards, .scam-cards.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scam-steps, .pattern { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
  .scam-steps li::after, .pattern::before { display: none; }
  .scam-mosaic { max-width: 560px; }
}
@media (max-width: 640px) {
  .scam-cards, .scam-cards.is-compact, .scam-steps, .pattern { grid-template-columns: minmax(0, 1fr); }
  .sm-tile:nth-child(2), .sm-tile:nth-child(4) { transform: none; }
  .example-quote { padding: var(--space-6); }
}
.sc-photo { overflow: visible; }
.sc-photo picture { overflow: hidden; }
.route-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Security page and group action pages */
.audit-frame { position: relative; }
.audit-notes { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.audit-notes span { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-sm); font-size: var(--text-sm); font-weight: 550; color: var(--ink-2); }
.audit-notes .icon { color: var(--cta-text); }
.never-list { list-style: none; margin: var(--space-4) 0 var(--space-4); padding: 0; display: grid; gap: var(--space-3); }
.never-list li { display: flex; align-items: center; gap: var(--space-3); color: var(--sand); font-weight: 550; }
.never-list .icon { color: var(--color-error); flex: none; }
.fee-teaser-copy .never-list + p { margin-top: 0; }
.draft-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-2); }
.ga-updates { margin-top: var(--space-8); padding: var(--space-6); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.ga-updates h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
.ga-updates ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.ga-updates li { display: grid; gap: var(--space-1); }
.shot-wide { margin-top: var(--space-8); }
.shot-wide p { margin-top: var(--space-3); }
.split .ps-media img { aspect-ratio: 4 / 3.6; }
.shot-wide { max-width: 860px; }
.ga-sub { font-size: var(--text-lg); letter-spacing: -0.02em; margin: var(--space-8) 0 var(--space-3); }
.ga-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.ga-facts li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-2); }
.ga-facts .icon { color: var(--accent); flex: none; margin-top: var(--space-1); }
.ga-cite { font-size: var(--text-xs); color: var(--muted); white-space: nowrap; }
.ga-cite:hover { color: var(--cta-text); }
.ga-timeline { list-style: none; margin: 0; padding: 0 0 0 var(--space-4); display: grid; gap: var(--space-4); position: relative; box-shadow: inset 2px 0 0 var(--line-strong); }
.ga-timeline li { position: relative; display: grid; gap: var(--space-1); color: var(--ink-2); }
.ga-timeline li::before { content: ""; position: absolute; left: -23px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 3px var(--bg); }
.gt-date { font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.ga-profile { margin-bottom: var(--space-4); }
.ga-contacts { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.ga-advice { margin: 0; padding-left: var(--space-6); display: grid; gap: var(--space-2); color: var(--ink-2); }

/* Full-bleed sign-in closer (home): edge to edge, sitting directly on the footer */
.closer-bleed-section { padding-bottom: 0; }
.closer.closer-bleed { border-radius: 0; box-shadow: none; min-height: clamp(360px, 32vw, 520px); padding-block: clamp(var(--space-16), 7vw, var(--space-24)); padding-inline: max(clamp(var(--space-6), 5vw, var(--space-24)), calc((100% - 1680px) / 2 + clamp(var(--space-6), 5vw, var(--space-24)))); }
.closer-bleed[data-aos="mask-up"] { clip-path: inset(100% 0 0 0); }
.closer-bleed[data-aos="mask-up"].aos-animate { clip-path: inset(0); }
@media (max-width: 768px) { .closer.closer-bleed { padding-top: var(--space-12); padding-bottom: 200px; } }

/* Photo closers where the subject sits behind the text: the copy sits on a solid panel. */
.closer.closer-scrim { row-gap: 0; align-content: center; }
.closer.closer-scrim > div { background: var(--surface); padding: var(--space-6); max-width: 460px; }
.closer.closer-scrim > div:first-of-type { border-radius: var(--r-md) var(--r-md) 0 0; padding-bottom: var(--space-2); }
.closer.closer-scrim > .row { border-radius: 0 0 var(--r-md) var(--r-md); padding-top: var(--space-4); }
