/* base reset (standalone build) */
html, body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: one scrolling discovery journey — dark hero band, then an interactive "fog" map of the organisation,
   reveal cards, a decision picker and a stepper; a sticky bar tracks how much the visitor has uncovered. */
:root {
  --bg: #ffffff;
  --surface: #f3f3f3;
  --surface-2: #e8e8e8;
  --fg: #111111;
  --muted: #5c5c5c;
  --line: #dcdcdc;
  --red: #dc241f;
  --red-deep: #97021a;
  --red-soft: #fbe3e2;
  --on-red: #ffffff;
  --band: #141414;
  --band-fg: #f4f4f4;
  --band-muted: #b5b5b5;
  --good: #2b7a4b;
  --good-soft: #e1f2e8;
  --fog: #cfcfcf;
  --cloud: #e3e6e9;
  --cloud-hi: #f8f9fa;
  --cloud-shade: #c9ced3;
  --logo-ink: #000000;
  --font-display: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-data: "Noto Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f0f; --surface: #1b1b1b; --surface-2: #262626; --fg: #f2f2f2; --muted: #a8a8a8; --line: #333333;
    --red: #ef3b35; --red-deep: #c2363a; --red-soft: #3a1514; --on-red: #ffffff;
    --band: #050505; --band-fg: #f4f4f4; --band-muted: #a9a9a9;
    --good: #5cc08a; --good-soft: #15291d; --fog: #3a3a3a; --cloud: #43474d; --cloud-hi: #6b7078; --cloud-shade: #2c2f33; --logo-ink: #ffffff; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f0f; --surface: #1b1b1b; --surface-2: #262626; --fg: #f2f2f2; --muted: #a8a8a8; --line: #333333;
  --red: #ef3b35; --red-deep: #c2363a; --red-soft: #3a1514; --on-red: #ffffff;
  --band: #050505; --band-fg: #f4f4f4; --band-muted: #a9a9a9;
  --good: #5cc08a; --good-soft: #15291d; --fog: #3a3a3a; --cloud: #43474d; --cloud-hi: #6b7078; --cloud-shade: #2c2f33; --logo-ink: #ffffff; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--band); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
h2 { font-weight: 300; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.01em; }
h2 b, h1 b { font-weight: 800; color: var(--red); }
p { margin: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.lede { color: var(--muted); max-width: 62ch; font-size: 17px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* Sticky bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--band); color: var(--band-fg); border-bottom: 1px solid #262626; }
.bar .wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.brand { font-weight: 800; letter-spacing: 0.12em; font-size: 12px; white-space: nowrap; }
.brand span { color: var(--red); }
.meter { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--band-muted); white-space: nowrap; }
.meter-track { width: clamp(70px, 16vw, 180px); height: 6px; border-radius: 6px; background: #2c2c2c; overflow: hidden; }
.meter-fill { height: 100%; width: 0%; background: var(--red); transition: width .5s ease; }
.meter b { color: var(--band-fg); font-family: var(--font-data); font-weight: 500; }
.bar .logo { height: 38px; width: auto; flex: none; }
.logo { color: #ffffff; }
symbol .rl-mark { fill: #ffffff; opacity: .95; }
symbol .rl-mark .rl-win { fill: #dc241f; }
symbol .rl-word { font-family: var(--font-display); font-weight: 800; font-size: 34px; }
symbol .rl-sub { font-family: var(--font-display); font-weight: 600; font-size: 10px; letter-spacing: .3em; }
symbol .rl-stamp rect { fill: rgba(20, 20, 20, .82); stroke: #ff3b33; stroke-width: 3; }
symbol .rl-stamp rect.inner { fill: none; stroke-width: 1.2; }
symbol .rl-stamp text { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .08em; fill: #ff3b33; }
.hero .caselogo { height: 72px; width: auto; flex: none; }
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 14px 16px; border-radius: var(--radius); background: #1f1f1f; color: var(--band-muted); font-size: 14px; max-width: 760px; }
.notice b { color: var(--band-fg); }
.notice .stamp { flex: none; font-family: var(--font-data); font-size: 11px; letter-spacing: .14em; color: #ff6b66; border: 1.5px solid #ff6b66; border-radius: 4px; padding: 3px 7px; transform: rotate(-4deg); margin-top: 2px; }

/* Hero */
.hero { background: var(--band); color: var(--band-fg); padding-block: 56px 64px; }
.hero .prep { display: flex; align-items: center; gap: 12px; color: var(--band-muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 40px; }
.hero h1 { font-weight: 300; font-size: clamp(36px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; }
.hero .lede { color: var(--band-muted); margin-top: 22px; font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.stat { background: #1f1f1f; border-radius: var(--radius); padding: 18px 18px 16px; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat:nth-child(3) .n { color: var(--red); }
.stat .l { color: var(--band-muted); font-size: 13.5px; margin-top: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--red); color: var(--on-red); text-decoration: none; transition: transform .15s ease, background .15s ease; }
.pill:hover { transform: translateY(-1px); background: var(--red-deep); }
.pill.ghost { background: #ffffff; color: #dc241f; }
.pill.ghost:hover { background: #f1f1f1; }
.hint { color: var(--band-muted); font-size: 13px; }

section.block { padding-block: 72px; border-bottom: 1px solid var(--line); }
.head { display: grid; gap: 14px; margin-bottom: 32px; }

/* Fog map */
.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.mapgrid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin-top: 38px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 104px; grid-auto-flow: dense; gap: 8px; }
.tile { position: relative; border: 0; cursor: pointer; text-align: left; border-radius: 12px; padding: 12px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: var(--tile-bg, var(--surface)); color: var(--tile-fg, var(--fg)); transition: filter .6s ease, opacity .6s ease, transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-2px); }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile .nm { font-weight: 700; font-size: 14px; line-height: 1.2; }
.tile.big .nm { font-size: 18px; }
.tile .ct { font-family: var(--font-data); font-size: 12px; opacity: .85; }
.tile .flag { position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 3px var(--tile-bg, var(--surface)); }
.tile.sel { box-shadow: 0 0 0 3px var(--fg); }
.tile .fogcap { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--fog); opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.tile .fogcap { display: none; }
.fogged .tile.hidden { color: transparent; transition: background .6s ease, color .6s ease .5s; }
.fogged .tile.hidden .flag { opacity: 0; }
.fogged .tile:not(.hidden) { z-index: 4; box-shadow: 0 6px 22px rgba(0,0,0,.14); }
#map { overflow-x: clip; }
.fogwrap { position: relative; }
.fog { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.cluster { position: absolute; transition: transform 1.4s cubic-bezier(.3,.6,.2,1), opacity 1.2s ease; }
.cluster.stir { animation: stir .6s ease; }
@keyframes stir { 30% { transform: scale(1.04) translateX(-3px); } 70% { transform: scale(0.98) translateX(3px); } }
.puffs { position: absolute; inset: 0; filter: url(#fogfx); }
.puff { position: absolute; border-radius: 50%; background: radial-gradient(circle at 46% 42%, var(--cloud-hi) 0%, var(--cloud) 42%, color-mix(in srgb, var(--cloud) 55%, transparent) 60%, transparent 70%); animation: drift var(--d, 9s) ease-in-out var(--dl, 0s) infinite alternate; transition: transform 1.4s cubic-bezier(.3,.6,.2,1), opacity 1.1s ease; }
.puff.lap { background: radial-gradient(ellipse at center, var(--cloud) 0%, var(--cloud) 38%, color-mix(in srgb, var(--cloud) 50%, transparent) 58%, transparent 72%); filter: blur(2px); }
.puff.base { border-radius: 12px; background: var(--cloud); filter: blur(1.5px); animation: none; opacity: .5; }
.puffs > .puff:not(.base) { opacity: .8; }
@keyframes drift { from { translate: 0 0; } to { translate: var(--dx, 6px) var(--dy, -4px); } }
.cluster .nh { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); white-space: nowrap; z-index: 2; text-shadow: 0 0 10px var(--cloud-hi), 0 0 4px var(--cloud-hi); }
.fog.lifting .cluster { opacity: 0; }
/* explore hints after the fog lifts */
.tiles.explore .tile:not(.seen)::after { content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none; animation: ping 2.6s ease-out var(--pd, 0s) infinite; }
@keyframes ping { 0% { box-shadow: inset 0 0 0 0 rgba(255,255,255,0); } 35% { box-shadow: inset 0 0 0 3px rgba(255,255,255,.95), inset 0 0 26px rgba(255,255,255,.55); } 80%, 100% { box-shadow: inset 0 0 0 3px rgba(255,255,255,0), inset 0 0 26px rgba(255,255,255,0); } }
.tiles.wave .tile { animation: hop .6s cubic-bezier(.3,1.6,.5,1) var(--wd, 0s) both; }
@keyframes hop { 0% { transform: none; } 45% { transform: translateY(-7px) scale(1.02); } 100% { transform: none; } }
.tiles.explore:not(.fogged) .tile:not(.seen) .flag { right: 36px; }
.tile .nm { padding-right: 24px; }
.tile .xb { position: absolute; right: 8px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: #ffffff; color: #dc241f; display: none; place-items: center; font-size: 15px; font-weight: 800; line-height: 1; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.tiles.explore:not(.fogged) .tile:not(.seen) .xb { display: grid; animation: xbin .45s cubic-bezier(.3,1.6,.5,1) var(--wd, 0s) both, xbpulse 1.6s ease-in-out calc(var(--wd, 0s) + .5s) infinite; }
@keyframes xbin { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes xbpulse { 0%, 100% { transform: scale(1); box-shadow: 0 2px 6px rgba(0,0,0,.25), 0 0 0 0 rgba(255,255,255,.7); } 50% { transform: scale(1.15); box-shadow: 0 2px 6px rgba(0,0,0,.25), 0 0 0 7px rgba(255,255,255,0); } }
.fps-cta { background: var(--red); color: var(--on-red) !important; font-weight: 700; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; white-space: nowrap; animation: ctapulse 1.8s ease-out infinite; }
.fps-cta.finished { background: var(--good-soft); color: var(--good) !important; animation: none; }
@keyframes ctapulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--red) 0%, transparent); } }
.board .pt { transform-box: fill-box; transform-origin: center; animation: dotin .55s cubic-bezier(.3,1.6,.5,1) var(--dd, 0s) both, dotbreathe 2.2s ease-in-out calc(var(--dd, 0s) + .6s) infinite; }
.board .pt.done { animation: dotin .55s cubic-bezier(.3,1.6,.5,1) var(--dd, 0s) both; opacity: .55; }
.board .pt.on { opacity: 1; }
@keyframes dotin { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes dotbreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
.board .sonar { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; animation: sonar 2.4s ease-out .2s 3; }
.board .sonar.s2 { animation-delay: 1.4s; }
@keyframes sonar { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(14); opacity: 0; } }
.tile .tick { position: absolute; right: 9px; bottom: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--fg); color: var(--bg); display: none; place-items: center; font-size: 12px; font-weight: 800; }
.tiles:not(.fogged) .tile.seen .tick { display: grid; animation: pop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.hand { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; opacity: 0; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); }
.hand .ripple { position: absolute; left: 7px; top: 3px; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 3px solid var(--red); opacity: 0; }
.hand.tap .ripple { animation: ripple .7s ease-out 2; }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(4.5); opacity: 0; } }
.tip { position: absolute; z-index: 6; left: 0; top: 0; background: var(--fg); color: var(--bg); font-size: 13.5px; padding: 9px 13px; border-radius: 10px; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.tip.show { opacity: 1; transform: none; }
.nudge { display: inline-block; color: var(--red); font-weight: 800; margin-right: 6px; animation: nudge 1.1s ease-in-out infinite; }
.nudge.up { display: none; }
@keyframes nudge { 50% { transform: translateX(-6px); } }
@media (max-width: 860px) { .nudge.side { display: none; } .nudge.up { display: inline-block; animation-name: nudgeup; } }
@keyframes nudgeup { 50% { transform: translateY(-5px); } }
.fogsvg { position: absolute; overflow: visible; pointer-events: none; }
.fogsvg .haze { fill: var(--cloud); opacity: .42; }
.fogflood { flood-color: var(--cloud); flood-opacity: .95; }
.fogflood.hi { flood-color: var(--cloud-hi); flood-opacity: .9; }
.fogsvg .flow { will-change: transform; }
.fogsvg .flow.fa { animation: flowA 18s linear var(--fdl, 0s) infinite; }
.fogsvg .flow.fb { animation: flowB 11s linear var(--fdl2, 0s) infinite; }
@keyframes flowA { from { transform: translateX(0); } to { transform: translateX(-400px); } }
@keyframes flowB { from { transform: translateX(0); } to { transform: translateX(-300px); } }
.fogsvg .haze { animation: hazebreathe 7s ease-in-out var(--fdl, 0s) infinite alternate; }
@keyframes hazebreathe { from { opacity: .3; } to { opacity: .55; } }
.tile.shake { animation: shake .35s ease; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 12.5px; color: var(--muted); align-items: center; }
.ramp { width: 120px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--surface), var(--red)); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--fg); margin-right: 6px; vertical-align: middle; }

.panel { background: var(--surface); border-radius: var(--radius); padding: 22px; min-height: 380px; min-width: 0; }
.tile .fp { font-weight: 800; font-size: 12.5px; }
.board { display: grid; place-items: center; margin-top: 18px; }
.board svg { width: 100%; max-width: 300px; height: auto; overflow: visible; }
.board .ring { stroke: var(--line); stroke-width: 1; }
.board .r-crit { fill: var(--red-soft); }
.board .r-high { fill: color-mix(in srgb, var(--red-soft) 55%, var(--bg)); }
.board .r-mod { fill: var(--bg); }
.board .r-str { fill: color-mix(in srgb, var(--good-soft) 70%, var(--bg)); }
.board .rl { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); }
.board .pt { cursor: pointer; stroke: var(--surface); stroke-width: 2.5; transition: r .15s ease; }
.board .pt:hover, .board .pt.on { stroke: var(--fg); }
.board .pt:focus-visible { outline: none; stroke: var(--fg); stroke-width: 3; }
.sev-critical { fill: var(--red); background: var(--red); color: var(--on-red); }
.sev-high { fill: var(--red-deep); background: var(--red-deep); color: #ffffff; }
.sev-moderate { fill: var(--muted); background: var(--surface-2); color: var(--fg); }
.sev-strength { fill: var(--good); background: var(--good-soft); color: var(--good); }
.boardkey { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.boardkey i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.fps-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 22px; }
.fps-head h4 { margin: 0; font-size: 15px; }
.fps-head span { font-size: 12.5px; color: var(--muted); }
.fplist { display: grid; gap: 6px; margin-top: 10px; }
.fpc { border: 0; text-align: left; cursor: pointer; background: var(--bg); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; transition: box-shadow .2s ease; }
.fpc.on { box-shadow: 0 0 0 2px var(--fg); }
.fpc .top { display: flex; gap: 8px; align-items: flex-start; }
.fpc .sv { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; margin-top: 1px; }
.fpc .tt { font-weight: 600; font-size: 14px; line-height: 1.3; min-width: 0; }
.fpc .mm { font-size: 11.5px; color: var(--muted); }
.fpc .more { display: none; gap: 6px; font-size: 13.5px; }
.fpc[aria-expanded="true"] .more { display: grid; animation: rise .3s ease; }
.fpc .qq { font-style: italic; }
.fpc .tg b { color: var(--red); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
.dimbars { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; align-items: end; height: 70px; margin-top: 8px; }
.dimbars div { background: var(--red); border-radius: 3px 3px 0 0; position: relative; min-height: 2px; }
.dimbars div.lo { background: var(--surface-2); }
.dimlab { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; font-size: 9px; color: var(--muted); text-align: center; line-height: 1.15; margin-top: 4px; }
.subhead { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }
.sumgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sumgrid div { background: var(--bg); border-radius: 10px; padding: 10px; }
.sumgrid b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sumgrid span { font-size: 12px; color: var(--muted); }
.panel h3 { font-size: 24px; font-weight: 700; line-height: 1.15; }
.panel .sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.gauge { margin-top: 18px; display: grid; gap: 12px; }
.g-row { display: grid; gap: 6px; }
.g-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.g-top b { color: var(--fg); font-family: var(--font-data); font-weight: 500; }
.g-track { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.g-fill { height: 100%; width: 0; background: var(--red); border-radius: 8px; transition: width .7s cubic-bezier(.2,.8,.2,1); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--fg); }
.tag.blocker { background: var(--red); color: var(--on-red); }
.tag.excluded { background: var(--red-soft); color: var(--red-deep); }
.tag.asset { background: var(--good-soft); color: var(--good); }
.panel .insight { margin-top: 16px; font-size: 15.5px; }
.panel blockquote { margin: 16px 0 0; padding: 14px 16px; background: var(--bg); border-radius: 10px; font-style: italic; font-size: 15px; }
.panel blockquote cite { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 6px; }
.panel .empty { color: var(--muted); font-size: 15px; display: grid; gap: 12px; }
.panel .big-n { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--fg); }
.panel .big-n small { font-size: 20px; color: var(--muted); font-weight: 400; }
.panel .reveal-in { animation: rise .35s ease; }
@keyframes rise { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }

/* Receive tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs button { border: 1px solid var(--line); background: var(--bg); padding: 10px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tabs .cnt { font-family: var(--font-data); font-weight: 500; font-size: 12px; opacity: .7; }
.tabintro { color: var(--muted); margin-bottom: 16px; max-width: 70ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.card { border: 0; text-align: left; cursor: pointer; background: var(--surface); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; align-content: start; transition: background .2s ease, transform .15s ease; }
.card:hover { transform: translateY(-1px); }
.card .k { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card .q { font-weight: 600; font-size: 16px; line-height: 1.35; }
.card .a { display: grid; gap: 4px; padding-top: 10px; border-top: 1px dashed var(--line); }
.card .a .k { color: var(--red); }
.card .a .v { font-size: 15px; }
.card .cue { font-size: 13px; color: var(--red); font-weight: 700; }
.card[aria-expanded="true"] { background: var(--red-soft); }
.card[aria-expanded="true"] .cue { display: none; }
.card[aria-expanded="false"] .a { display: none; }
.card[aria-expanded="true"] .a { animation: rise .3s ease; }
.footnote { color: var(--muted); font-size: 13.5px; margin-top: 18px; max-width: 75ch; }

/* Decisions */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--bg); padding: 10px 16px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 600; }
.chip[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: var(--on-red); }
.answer { margin-top: 18px; background: var(--band); color: var(--band-fg); border-radius: var(--radius); padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; }
.answer .lbl { color: var(--band-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.answer .d { font-size: 22px; font-weight: 300; margin-top: 6px; line-height: 1.2; }
.answer .t { font-size: 18px; margin-top: 6px; }
.answer .ev { color: var(--band-muted); font-size: 14px; margin-top: 10px; }
.answer .ev b { color: #ff6b66; font-weight: 600; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.step { border: 0; text-align: left; cursor: pointer; background: var(--surface); border-radius: var(--radius); padding: 16px; display: grid; gap: 8px; align-content: start; }
.step .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--surface-2); color: var(--fg); }
.step[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.step[aria-pressed="true"] .num { background: var(--red); color: var(--on-red); }
.step .st { font-weight: 700; }
.stepdetail { margin-top: 12px; background: var(--surface); border-radius: var(--radius); padding: 20px; font-size: 16px; max-width: 100%; }
.stepdetail b { color: var(--red); }
.chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.node { border-radius: var(--radius); padding: 18px; color: #ffffff; position: relative; }
.node:nth-child(1) { background: #dc241f; }
.node:nth-child(2) { background: #97021a; }
.node:nth-child(3) { background: #4a4a4a; }
.node .nn { font-weight: 800; font-size: 18px; }
.node .nd { font-size: 14px; opacity: .9; margin-top: 4px; }
.node .here { position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 3px 8px; border-radius: 999px; }
.not { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* Close */
.close { background: var(--band); color: var(--band-fg); padding-block: 72px; }
.closegrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.close h2 { color: var(--band-fg); }
.close blockquote { margin: 0; font-size: clamp(22px, 3vw, 30px); font-weight: 300; font-style: italic; line-height: 1.25; }
.close cite { display: block; margin-top: 12px; font-style: normal; color: var(--band-muted); font-size: 14px; }
.booking { background: #ffffff; color: #111111; border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.booking .eyebrow { color: #dc241f; }
.booking h3 { font-size: 24px; font-weight: 700; }
.booking p { color: #4d4d4d; }
.copyrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.email { font-family: var(--font-data); font-size: 15px; background: #f1f1f1; padding: 9px 12px; border-radius: 8px; user-select: all; color: #111111; }
.copy { border: 0; background: #dc241f; color: #ffffff; font-weight: 700; padding: 9px 14px; border-radius: 8px; cursor: pointer; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: #4d4d4d; }
.finale { margin-top: 28px; border-radius: var(--radius); padding: 18px 20px; background: #dc241f; color: #ffffff; font-size: 16px; }
footer { background: var(--band); color: var(--band-muted); font-size: 12.5px; padding-block: 18px 28px; border-top: 1px solid #262626; }
footer a { color: var(--band-fg); }

.backcard { grid-column: 1 / -1; min-width: 0; background: var(--surface); border-radius: 12px; padding: 16px; box-shadow: 0 0 0 3px var(--fg); transform-origin: center top; animation: cardflip .35s cubic-bezier(.2,.8,.2,1) both; position: relative; z-index: 5; }
.backcard.flipaway { animation: cardaway .22s ease-in both; }
.backcard .flipback { border: 0; cursor: pointer; float: right; margin: -4px -4px 6px 8px; background: var(--fg); color: var(--bg); font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 999px; }
.backcard .board svg { max-width: 260px; }
.backcard .flipback.bottom { float: none; display: block; margin: 18px auto 2px; }
.backcard h3 { font-size: 21px; }
.tile.flipout { transition: transform .22s ease-in; transform: perspective(900px) rotateY(90deg); }
.tile.flipin-front { animation: frontback .35s cubic-bezier(.2,.8,.2,1); }
@keyframes cardflip { from { transform: perspective(900px) rotateY(-90deg); opacity: .5; } to { transform: perspective(900px) rotateY(0); opacity: 1; } }
@keyframes cardaway { to { transform: perspective(900px) rotateY(90deg); opacity: .5; } }
@keyframes frontback { from { transform: perspective(900px) rotateY(-90deg); } to { transform: none; } }
@media (max-width: 860px) {
  .tiles { grid-auto-rows: minmax(104px, auto); }
  .mapgrid, .closegrid, .answer { grid-template-columns: minmax(0, 1fr); }
  .panel { position: static; min-height: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(84px, auto); }
  .brand { display: none; }
  .meter span.lbl { display: none; }
  section.block { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
