/* TRYMBKM home. Original site palette: warm paper, ink, gold. */
:root {
  --bg: #faf9f5;
  --paper: #ffffff;
  --sand: #f2ead9;
  --cream: #faf8f2;
  --ink: #20201d;
  --ink-2: #4a473f;
  --muted: #66635b;
  --line: #e5dfd1;
  --line-2: #eee8da;
  --gold: #96722d;
  --gold-deep: #78581f;
  --gold-lit: #d1b374;
  --gold-soft: #f0e8d8;
  --night: #1a1a17;
  --decoy: #8a3a2e;   /* AI was wrong */
  --clean: #a07a2f;   /* AI was right */
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --serif: 'Cormorant Infant', Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px #5b461f0d, 0 18px 40px -18px #5b461f33;
  --img-filter: sepia(.18) saturate(.82) contrast(1.04);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 450; letter-spacing: -.035em; line-height: 1.04; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
p { margin: 0; }
sub { font-size: .62em; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cf-mono { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.cf-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.cf-btn { display: inline-flex; align-items: center; gap: .55em; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.cf-btn:hover { transform: translateY(-1px); }
.cf-btn .i, .cf-more-go .i, .cf-tiles a::after { transition: transform .35s var(--ease); }
.cf-btn:hover .i { transform: translate(2px, -2px); }
.cf-btn-solid { background: var(--ink); color: #fff; }
.cf-btn-solid:hover { background: var(--gold-deep); }
.cf-btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.cf-btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.cf-btn-sm { padding: 9px 16px; font-size: 14px; }

/* Header */
.cf-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 245, .86); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.cf-header.is-scrolled { border-bottom-color: var(--line); }
.cf-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold-lit), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
.cf-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.cf-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: .06em; font-size: 15px; }
.cf-brand img { border-radius: 9px; }
.cf-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.cf-brand small { font: 500 10px var(--mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.cf-nav { display: flex; align-items: center; gap: 2px; }
.cf-nav a:not(.cf-btn) { color: var(--ink-2); text-decoration: none; font-size: 14.5px; padding: 8px 11px; border-radius: 8px; transition: color .2s, background-color .2s; }
.cf-nav a:not(.cf-btn):hover, .cf-nav a[aria-current="true"]:not(.cf-btn) { color: var(--gold-deep); background: var(--gold-soft); }
.cf-nav .cf-btn { margin-left: 8px; }
.cf-menu { display: none; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
@media (max-width: 1020px) {
  .cf-menu { display: inline-flex; }
  .cf-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; display: none; }
  .cf-nav.is-open { display: flex; }
  .cf-nav a:not(.cf-btn) { padding: 12px; }
  .cf-nav .cf-btn { margin: 8px 0 0; justify-content: center; }
}

/* Reading trace rail */
.cf-trace { display: none; }
@media (min-width: 1540px) {
  .cf-trace { display: block; position: fixed; left: 10px; top: 50%; transform: translateY(-50%); z-index: 40; width: 136px; padding: 16px 14px; border-radius: 18px; font-size: 12px; color: var(--muted); isolation: isolate; }
  .cf-trace, .cf-trace ol, .cf-trace li::before, .cf-trace li a { transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease); }
  .cf-trace.cf-trace-inv { color: #b9b2a6; }
  .cf-trace.cf-trace-inv ol { border-left-color: rgba(240, 236, 228, .22); }
  .cf-trace.cf-trace-inv li::before { background: var(--night); border-color: rgba(240, 236, 228, .38); }
  .cf-trace.cf-trace-inv li.is-seen::before { border-color: var(--gold-lit); }
  .cf-trace.cf-trace-inv li.is-active::before { background: var(--gold-lit); border-color: var(--gold-lit); box-shadow: 0 0 0 4px rgba(209, 179, 116, .2); }
  .cf-trace.cf-trace-inv li.is-active a { color: #fff; }
  .cf-trace.cf-trace-inv .cf-trace-title { color: var(--gold-lit); }
  .cf-trace-title, .cf-trace-note { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
  .cf-trace-note { margin-top: 10px; text-transform: none; letter-spacing: .02em; }
  .cf-trace ol { list-style: none; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 1px solid var(--line); }
  .cf-trace li { position: relative; padding: 5px 0; }
  .cf-trace li::before { content: ""; position: absolute; left: -19px; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line); transition: .3s; }
  .cf-trace li.is-seen::before { border-color: var(--gold); }
  .cf-trace li.is-active::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(150, 114, 45, .16); }
  .cf-trace li a { color: inherit; text-decoration: none; display: block; line-height: 1.25; }
  .cf-trace li.is-active a { color: var(--ink); font-weight: 600; }
  .cf-trace li b { display: block; font: 400 10.5px var(--mono); }
}

/* ---------- Cover ---------- */
.cf-hero { position: relative; padding: 76px 0 72px; overflow: hidden; }
.cf-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 85% 20%, var(--gold-soft), transparent 70%); }
.cf-hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr; gap: 56px; align-items: center; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(150, 114, 45, 0); } }
.cf-hero { min-height: calc(100svh - 68px); display: grid; align-items: center; }
.cf-hero h1 { font-size: clamp(44px, 5vw, 80px); letter-spacing: -.05em; line-height: .98; }
.cf-scroll-cue { display: inline-flex; align-items: center; gap: 14px; margin-top: 48px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; opacity: 0; animation: rise .8s 1.6s var(--ease) forwards; }
.cf-scroll-cue i { position: relative; width: 26px; height: 42px; border: 1.5px solid var(--ink-2); border-radius: 14px; transition: border-color .3s; }
.cf-scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s var(--ease) infinite; }
.cf-scroll-cue:hover { color: var(--gold-deep); }
.cf-scroll-cue:hover i { border-color: var(--gold); }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.cf-split .w { display: inline-block; opacity: 0; translate: 0 .35em; filter: blur(6px); animation: wordIn .9s var(--ease) forwards; animation-delay: calc(120ms + var(--i) * 70ms); }
@keyframes wordIn { 99% { filter: blur(0); } to { opacity: 1; translate: 0 0; filter: none; } }
.cf-stamp-word { position: relative; display: inline-block; }
.cf-stamp-word::after { content: "APPROVED"; position: absolute; left: 100%; top: -.15em; margin-left: .35em; font: 700 13px/1 var(--mono); letter-spacing: .2em; color: rgba(138, 58, 46, .92); background: rgba(250, 249, 245, .7); border: 2px solid currentColor; border-radius: 6px; padding: 6px 10px 6px 12px; box-shadow: inset 0 0 0 2px rgba(250, 249, 245, .9), inset 0 0 0 3.5px rgba(138, 58, 46, .55); transform: rotate(-9deg) translateZ(0); backface-visibility: hidden; -webkit-font-smoothing: antialiased; opacity: 0; scale: 1.8; animation: stamp .5s 1.1s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes stamp { to { opacity: 1; scale: 1; } }

.cf-log { margin: 0; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.cf-log-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); background: var(--cream); }
.cf-log-toggle { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.cf-log-toggle[aria-pressed="true"] { background: var(--gold-deep); }
.cf-log-rows { list-style: none; margin: 0; padding: 4px 0; }
.cf-log-rows li { opacity: 0; animation: rise .6s var(--ease) forwards; display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 4px 14px; padding: 13px 18px; border-bottom: 1px dashed var(--line-2); transition: background .4s; }
.cf-log-rows li:last-child { border-bottom: 0; }
.cf-log-rows li:nth-child(1) { animation-delay: .5s; } .cf-log-rows li:nth-child(2) { animation-delay: .62s; } .cf-log-rows li:nth-child(3) { animation-delay: .74s; } .cf-log-rows li:nth-child(4) { animation-delay: .86s; }
.cf-log-rows b { font-weight: 600; font-size: 15px; }
.cf-ok-tag { font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-soft); padding: 4px 9px; border-radius: 999px; transition: .3s; }
.cf-log-hidden { grid-column: 2 / -1; font: 400 12.5px/1.5 var(--mono); color: var(--ink-2); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .4s, margin .4s; }
.cf-log-hidden b { font-size: inherit; color: var(--ink); }
.cf-log.is-revealed .cf-log-hidden { max-height: 48px; opacity: 1; margin-top: 2px; }
.cf-log.is-revealed li.is-wrong { background: linear-gradient(90deg, rgba(138, 58, 46, .08), transparent 75%); }
.cf-log.is-revealed li.is-wrong .cf-ok-tag { color: var(--decoy); background: rgba(138, 58, 46, .1); }
.cf-log-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.cf-log-score { padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; transition: opacity .4s; }
.cf-log-score span { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cf-log-score b { font-size: 16px; font-weight: 600; }
.cf-log-score-alt { border-left: 1px solid var(--line-2); opacity: .25; }
.cf-log-score-alt b { color: var(--decoy); }
.cf-log.is-revealed .cf-log-score-alt { opacity: 1; }
.cf-log figcaption { padding: 10px 18px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-2); }

/* ---------- Chapters ---------- */
.cf-chapter { padding: 112px 0; position: relative; }
.cf-chapter-paper { background: var(--paper); border-block: 1px solid var(--line); }
.cf-chapter-head { margin-bottom: 48px; }
.cf-head-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 56px; align-items: end; }
.cf-head-row > p { font-size: 17px; color: var(--ink-2); border-left: 2px solid var(--gold-lit); padding: 2px 0 6px 18px; }
.cf-chapter-no { display: flex; align-items: center; gap: 12px; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.cf-chapter-no span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-lit); color: var(--gold-deep); font-weight: 600; letter-spacing: 0; }
.cf-chapter-head h2, .cf-banner h2, .cf-contact h2 { font-size: clamp(36px, 4.6vw, 60px); }
.cf-chapter-head > p:not(.cf-chapter-no) { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 34em; }

/* ---------- Images (warm, filtered) ---------- */
.cf-photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--sand); }
.cf-photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform 1.4s var(--ease); }
.cf-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(209, 179, 116, .18), rgba(32, 32, 29, .22)); mix-blend-mode: multiply; pointer-events: none; }
.cf-photo:hover img { transform: scale(1.03); }

.cf-interlude { position: relative; height: clamp(320px, 52vw, 560px); overflow: hidden; display: grid; align-items: end; background: var(--night); }
.cf-interlude img { position: absolute; inset: -12% 0; width: 100%; height: 124%; translate: 0 var(--py, 0px); object-fit: cover; object-position: center 40%; filter: sepia(.3) saturate(.7) brightness(.62) contrast(1.08); transform: scale(1.08); transition: transform 2.4s var(--ease); }
.cf-interlude.is-visible img { transform: scale(1); }
.cf-interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 26, 23, 0) 30%, rgba(26, 26, 23, .82)); }
.cf-interlude .cf-wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 6vw, 72px); }
.cf-interlude p { color: #fff; font-size: clamp(32px, 4.6vw, 62px); font-weight: 450; letter-spacing: -.04em; line-height: 1.05; }
.cf-interlude em { font-style: normal; color: var(--gold-lit); }

/* ---------- 01 Workbench ---------- */
.cf-bench { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.cf-bench-main { padding: 26px 28px 28px; }
.cf-bench-head { display: flex; justify-content: space-between; margin-bottom: 18px; }
.cf-bench-timer { color: var(--gold-deep); }
.cf-rec { background: var(--cream); border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 20px; }
.cf-rec-action { font-size: 28px; font-weight: 500; letter-spacing: -.03em; margin: 4px 0; }
.cf-rec-why { color: var(--ink-2); font-size: 15.5px; }
.cf-conf { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.cf-conf b { color: var(--ink); }
.cf-conf i { height: 6px; border-radius: 4px; background: var(--line-2); position: relative; overflow: hidden; }
.cf-conf i::after { content: ""; position: absolute; inset: 0; width: 0; transition: width 1.4s .3s var(--ease); background: var(--gold); border-radius: 4px; }
.cf-bench-label { margin: 22px 0 10px; font-weight: 600; font-size: 14px; }
.cf-records { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-record { scale: 1; transition: .2s, scale .15s; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14.5px; transition: .2s; }
.cf-record:hover { border-color: var(--gold); transform: translateY(-1px); }
.cf-record:active, .cf-decide .cf-btn:active, .cf-seg button:active, .cf-chips button:active { scale: .96; }
.cf-bench.is-visible .cf-conf i::after { width: calc(var(--v) * 100%); }
.cf-record[aria-expanded="true"] { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-deep); }
.cf-record.is-seen::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 2px; }
.cf-record-body { margin-top: 12px; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--ink-2); animation: rise .3s ease both; }
.cf-record-body b { color: var(--ink); }
.cf-decide { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.cf-decide.is-done { opacity: .4; pointer-events: none; }
.cf-bench-side { background: var(--cream); border-left: 1px solid var(--line); padding: 26px; }
.cf-telemetry { list-style: none; margin: 12px 0 0; padding: 0; }
.cf-telemetry li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.cf-telemetry span { color: var(--muted); }
.cf-telemetry b { font: 500 13px var(--mono); text-align: right; }
.cf-verdict { margin-top: 20px; animation: rise .5s ease both; }
.cf-verdict h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.cf-verdict p { font-size: 15px; color: var(--ink-2); }
.cf-verdict small { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
.cf-verdict .cf-link-btn { margin-top: 14px; background: none; border: 0; padding: 0; color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cf-verdict-tag { display: inline-block; font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; margin-bottom: 10px; }
.cf-verdict-tag.bad { color: var(--decoy); background: rgba(138, 58, 46, .1); }
.cf-verdict-tag.good { color: var(--gold-deep); background: var(--gold-soft); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Figures ---------- */
.cf-fig { position: relative; isolation: isolate; margin: 0 0 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px 22px; }
.cf-chapter-paper .cf-fig { background: var(--cream); }
.cf-fig::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(209, 179, 116, .16), transparent 60%); opacity: 0; transition: opacity .4s; }
.cf-fig:hover::before { opacity: 1; }
.cf-fig-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 20px; }
.cf-fig-head h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cf-fig-head h3 .cf-mono { color: var(--gold); }
.cf-fig figcaption { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.cf-seg { position: relative; display: inline-flex; background: var(--gold-soft); border-radius: 999px; padding: 4px; gap: 2px; }
.cf-seg-wrap { flex-wrap: wrap; border-radius: 16px; }
.cf-seg button, .cf-chips button { border: 0; background: transparent; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: .2s; }
.cf-seg button { position: relative; z-index: 1; }
.cf-seg button[aria-pressed="true"] { color: var(--ink); }
.cf-seg:not(.has-thumb) button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 3px rgba(91, 70, 31, .18); }
.cf-seg-thumb { position: absolute; z-index: 0; top: 4px; left: 0; height: 0; border-radius: 999px; background: var(--paper); box-shadow: 0 1px 3px rgba(91, 70, 31, .18); transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cf-chips button { border: 1px solid var(--line); }
.cf-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cf-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.cf-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cf-legend-inline { margin-top: 0; }
.cf-legend-note { color: var(--muted); margin-left: auto; }
.sw { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex: none; }
.sw-decoy { background: var(--decoy); }
.sw-clean { background: var(--clean); }
.sw-hollow { border: 1.5px solid var(--muted); }
.sw-solid { background: var(--ink); border-radius: 3px; }
.sw-outline { border: 1.5px solid var(--ink); border-radius: 3px; }
.cf-tip { position: fixed; z-index: 90; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.4; padding: 8px 11px; border-radius: 8px; max-width: 240px; opacity: 0; transition: opacity .12s; }
.cf-tip.is-on { opacity: 1; }
.cf-tip b { display: block; color: var(--gold-lit); font-weight: 600; }

/* ---------- 02 Findings ---------- */
.cf-duel { display: grid; grid-template-columns: 1fr auto 1fr; margin-bottom: 28px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.cf-duel-side { padding: 34px 36px; display: flex; flex-direction: column; gap: 6px; }
.cf-duel-decoy { background: linear-gradient(135deg, rgba(138, 58, 46, .08), transparent); }
.cf-duel-clean { background: linear-gradient(225deg, rgba(160, 122, 47, .12), transparent); text-align: right; align-items: flex-end; }
.cf-duel-side b { font-size: clamp(60px, 9vw, 124px); font-weight: 500; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.cf-duel-decoy b { color: var(--decoy); }
.cf-duel-clean b { color: var(--clean); }
.cf-duel-side > p:last-child { color: var(--muted); font: 400 13px var(--mono); }
.cf-duel-bar { display: block; width: min(100%, 320px); height: 6px; border-radius: 4px; background: rgba(32, 32, 29, .07); overflow: hidden; margin: 14px 0 4px; }
.cf-duel-bar i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width 1.6s .2s var(--ease); }
.cf-duel-decoy .cf-duel-bar i { background: var(--decoy); }
.cf-duel-clean .cf-duel-bar i { background: var(--clean); margin-left: auto; }
.cf-duel.is-visible .cf-duel-bar i { width: calc(var(--v) * 100%); }
.cf-duel-mid span { transition: transform .8s .6s cubic-bezier(.2, 1.6, .4, 1); transform: scale(0) rotate(-90deg); }
.cf-duel.is-visible .cf-duel-mid span { transform: none; }
.cf-duel-mid { display: grid; place-items: center; padding: 0 12px; border-inline: 1px dashed var(--line); }
.cf-duel-mid span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 26px; }
.cf-duel-take { grid-column: 1 / -1; text-align: center; padding: 18px; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.02em; border-top: 1px solid var(--line); background: var(--paper); }
.cf-duel-take em { font-style: normal; color: var(--gold); }

.cf-dots-labels { position: relative; height: 22px; font: 500 11.5px var(--mono); color: var(--ink-2); letter-spacing: .04em; }
.cf-dots-labels span { position: absolute; top: 0; transition: opacity .4s, left .6s; white-space: nowrap; }
.cf-dots { position: relative; width: 100%; }
.cf-dots i { position: absolute; left: 0; top: 0; border-radius: 50%; background: #b9b1a0; opacity: .7; transition: transform .9s cubic-bezier(.65, 0, .35, 1), background-color .5s, opacity .4s, box-shadow .4s; transition-delay: var(--d, 0ms); }
.cf-dots.m-truth i.dec, .cf-dots.m-flag i.dec { background: var(--decoy); opacity: 1; }
.cf-dots.m-truth i.cln, .cf-dots.m-flag i.cln { background: var(--clean); opacity: 1; }
.cf-dots.m-flag i:not(.fl) { background: transparent !important; box-shadow: inset 0 0 0 1.5px #b9b1a0; opacity: .8; }
.cf-dots i:hover { box-shadow: 0 0 0 3px rgba(150, 114, 45, .35); z-index: 2; }
.cf-dots.has-focus i { opacity: .1 !important; }
.cf-dots.has-focus i.is-focus { opacity: 1 !important; }
#cf-dots-legend span:last-child { display: none; }
#fig-dots.m-flag #cf-dots-legend span:last-child { display: inline-flex; }
#fig-dots.m-all #cf-dots-legend { visibility: hidden; }

.cf-bento { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 24px; }
.cf-fig-wide { grid-column: 1 / -1; }
.cf-matrix { display: grid; gap: 8px; }
.cf-matrix-row { display: grid; grid-template-columns: 76px 1fr 1fr; gap: 8px; }
.cf-matrix-headrow span { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.cf-matrix-row > span[role="rowheader"] { display: flex; align-items: center; font-weight: 600; font-size: 13.5px; line-height: 1.2; }
.cf-cell { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; transition: .25s var(--ease); min-height: 104px; }
.cf-cell b { font-size: 36px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.cf-cell span { font-size: 13.5px; color: var(--ink-2); }
.cf-cell:hover, .cf-cell.is-on { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.cf-cell-good { background: var(--ink); border-color: var(--ink); }
.cf-cell-good b, .cf-cell-good span { color: #fff; }
.cf-cell-good:hover, .cf-cell-good.is-on { border-color: var(--gold); }
.cf-cell-bad { background: rgba(138, 58, 46, .06); }
.cf-cell-bad b { color: var(--decoy); }
.cf-cell-warn b { color: var(--clean); }

.cf-bars { display: flex; align-items: flex-end; justify-content: center; gap: 28px; height: 220px; margin: 10px 0 56px 34px; border-bottom: 1px solid var(--ink-2); position: relative; }
.cf-bar { width: min(36%, 110px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.cf-bar-fill { width: 100%; border-radius: 4px 4px 0 0; height: 0; transition: height 1.1s var(--ease); }
.cf-bar-val { font-weight: 600; font-size: 20px; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.cf-bar-lab { position: absolute; top: 100%; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); text-align: center; line-height: 1.3; white-space: nowrap; }
.cf-bars-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); font: 400 10.5px var(--mono); color: var(--muted); }
.cf-bars-grid span { position: absolute; right: 100%; transform: translateY(-50%); padding-right: 6px; }

.cf-wf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cf-wf-item { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; background: var(--paper); }
.cf-wf-item h4 { margin: 0 0 14px; font-size: 15.5px; font-weight: 600; }
.cf-wf-row { display: grid; grid-template-columns: 1fr 52px; align-items: center; gap: 10px; margin: 8px 0; font-size: 13px; }
.cf-wf-track { height: 12px; background: var(--cream); border-radius: 4px; position: relative; overflow: hidden; }
.cf-wf-track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 0 4px 4px 0; transition: width 1s var(--ease); }
.cf-wf-row b { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.cf-wf-d { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.cf-wf-d p { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.cf-wf-d p b { font: 500 12.5px var(--mono); color: var(--ink); }
.cf-dscale { position: relative; height: 26px; margin-top: 10px; }
.cf-dscale::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: linear-gradient(90deg, var(--decoy), var(--line) 35% 65%, var(--ink)); opacity: .6; border-radius: 2px; }
.cf-dscale::after { content: "chance"; position: absolute; left: 50%; top: -6px; transform: translateX(-50%); font: 400 10px var(--mono); color: var(--muted); }
.cf-dscale span { position: absolute; left: 50%; top: 8px; width: 2px; height: 10px; background: var(--muted); }
.cf-dscale i { position: absolute; top: 6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--gold); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--gold-deep); left: 50%; transition: left 1s var(--ease); }

.cf-access { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
.cf-ring { position: relative; width: 180px; aspect-ratio: 1; }
.cf-ring svg { width: 100%; transform: rotate(-90deg); }
.cf-ring circle { fill: none; stroke-width: 10; }
.cf-ring-bg { stroke: var(--gold-soft); }
.cf-ring-fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.4s var(--ease); }
.is-visible .cf-ring-fg { stroke-dashoffset: calc(326.7 * (1 - var(--v))); }
.cf-ring p { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 20px; font-weight: 500; text-align: center; }
.cf-ring p b { font-size: 38px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.cf-ring p > span { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 6px; line-height: 1.3; }
.cf-stack { display: grid; gap: 14px; }
.cf-stack-row { display: grid; grid-template-columns: 150px 1fr 64px; align-items: center; gap: 16px; }
.cf-stack-row > p { font-size: 14px; font-weight: 600; line-height: 1.25; }
.cf-stack-row > p small { display: block; color: var(--muted); font: 400 11.5px var(--mono); margin-top: 2px; }
.cf-stack-bar { display: flex; height: 36px; gap: 2px; }
.cf-stack-bar span { display: flex; align-items: center; padding: 0 10px; font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; border-radius: 4px; width: 0; transition: width 1.1s var(--ease); }
.cf-stack-bar .s-caught { background: var(--ink); }
.cf-stack-bar .s-missed { background: repeating-linear-gradient(135deg, #8a3a2e 0 6px, #9a4a3c 6px 12px); }
.cf-stack-row > b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cf-stack-key { display: flex; gap: 18px; font-size: 12.5px; color: var(--ink-2); }
.cf-stack-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.cf-caveat { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 8px; }
.cf-caveat .i { font-size: 18px; color: var(--gold); }

/* ---------- 03 Measure ---------- */
.cf-split-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; margin-bottom: 48px; }
.cf-split-head .cf-chapter-head { margin: 0; }
.cf-photo-tall { aspect-ratio: 4 / 3; }
.cf-sdt { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding: 30px; }
.cf-sdt-controls { display: flex; flex-direction: column; gap: 22px; }
.cf-range { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.cf-range > span { display: flex; justify-content: space-between; color: var(--ink-2); }
.cf-range output { font: 500 14px var(--mono); color: var(--ink); }
.cf-range input { width: 100%; height: 22px; }
#r-hit { accent-color: var(--decoy); }
#r-fa { accent-color: var(--clean); }
.cf-sdt-read { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.cf-sdt-read div { background: var(--cream); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; }
.cf-sdt-read dt { font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cf-sdt-read dd { margin: 4px 0 0; font-size: 21px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cf-sdt-plot { display: flex; flex-direction: column; gap: 14px; }
.cf-sdt-plot svg { width: 100%; height: auto; overflow: visible; }
.cf-sdt-plot .c-noise { fill: rgba(160, 122, 47, .16); stroke: var(--clean); stroke-width: 2; }
.cf-sdt-plot .c-signal { fill: rgba(138, 58, 46, .14); stroke: var(--decoy); stroke-width: 2; }
.cf-sdt-plot .c-crit { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 4; }
.cf-sdt-plot .c-axis { stroke: var(--ink-2); stroke-width: 1; }
.cf-sdt-plot text { font: 500 11px var(--mono); fill: var(--muted); }
.cf-sdt-plot .c-flag { fill: var(--ink); }
.cf-sdt-plot .c-lab-n { fill: var(--clean); font-weight: 600; }
.cf-sdt-plot .c-lab-s { fill: var(--decoy); font-weight: 600; }
.cf-sdt-say { font-size: 18px; letter-spacing: -.01em; color: var(--ink); min-height: 2.6em; padding-left: 16px; border-left: 2px solid var(--gold); }

.cf-oc { margin-top: 24px; background: var(--night); color: #f0ece4; border-radius: 22px; padding: 30px; display: grid; gap: 20px; }
.cf-oc > .cf-mono { color: var(--gold-lit); }
.cf-oc-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cf-oc-term { border: 1px solid rgba(240, 236, 228, .16); background: rgba(255, 255, 255, .03); color: #f0ece4; border-radius: 16px; padding: 12px 20px; display: flex; flex-direction: column; align-items: center; min-width: 92px; transition: .25s; }
.cf-oc-term b { font-family: var(--serif); font-style: italic; font-size: 40px; font-weight: 600; line-height: 1; color: var(--gold-lit); }
.cf-oc-term span { font-size: 12px; color: #b9b2a6; margin-top: 4px; }
button.cf-oc-term:hover, .cf-oc-term[aria-expanded="true"] { border-color: var(--gold-lit); background: rgba(209, 179, 116, .1); }
.cf-oc-total { background: var(--gold); border-color: var(--gold); }
.cf-oc-total b { color: #fff; }
.cf-oc-total span { color: #f3e8cf; }
.cf-oc-op { font-family: var(--serif); font-size: 34px; color: #8d877b; }
.cf-oc-group { position: relative; display: flex; align-items: center; gap: 12px; border: 1px dashed rgba(209, 179, 116, .5); border-radius: 20px; padding: 22px 12px 12px; }
.cf-oc-glabel { position: absolute; top: -9px; left: 14px; background: var(--night); padding: 0 6px; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-lit); }
.cf-oc-detail { border-top: 1px solid rgba(240, 236, 228, .12); padding-top: 16px; font-size: 15.5px; color: #c9c2b5; min-height: 3em; }
.cf-oc-detail b { color: #fff; font-weight: 600; }

/* ---------- 04 Pilot (night) ---------- */
.cf-chapter-night { background: var(--night); color: #f0ece4; overflow: hidden; }
.cf-night-bg { position: absolute; right: -8%; top: -10%; height: 120%; translate: 0 var(--py, 0px); width: 70%; object-fit: cover; opacity: .32; filter: grayscale(.4) sepia(.5) brightness(.8) contrast(1.1); mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); pointer-events: none; }
.cf-chapter-night .cf-wrap { position: relative; }
.cf-chapter-night .cf-chapter-no { color: #b9b2a6; }
.cf-chapter-night .cf-chapter-no span { color: var(--gold-lit); border-color: rgba(209, 179, 116, .5); }
.cf-chapter-night h2 em { color: var(--gold-lit); }
.cf-loop-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cf-loop-steps button { width: 100%; text-align: left; background: rgba(26, 26, 23, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(240, 236, 228, .14); color: #e3ddd2; border-radius: 16px; padding: 16px 16px 18px; font-size: 18px; font-weight: 500; transition: .25s; }
.cf-loop-steps button span { display: block; font: 500 11px var(--mono); color: #8d877b; margin-bottom: 16px; letter-spacing: .1em; }
.cf-loop-steps button:hover { border-color: rgba(209, 179, 116, .6); }
.cf-loop-steps button[aria-selected="true"] { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cf-loop-steps button[aria-selected="true"] span { color: var(--gold); }
.cf-loop-track { height: 2px; background: rgba(240, 236, 228, .1); margin: 22px 0; border-radius: 2px; }
.cf-loop-track i { display: block; height: 100%; width: 20%; background: var(--gold-lit); transition: width .5s var(--ease); border-radius: 2px; }
.cf-loop-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 170px; }
.cf-loop-panel h3 { font-size: clamp(26px, 3vw, 36px); margin-top: 14px; color: #fff; }
.cf-loop-panel ul { list-style: none; margin: 0; padding: 0; }
.cf-loop-panel li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(240, 236, 228, .1); font-size: 15.5px; color: #e3ddd2; animation: rise .4s ease both; }
.cf-loop-panel li::before { content: ""; width: 6px; height: 6px; background: var(--gold-lit); border-radius: 50%; margin-top: 10px; flex: none; }
.cf-loop-panel > div { animation: rise .4s ease both; }
.cf-badge { display: inline-flex; font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.cf-badge.shown { background: var(--gold); color: #fff; }
.cf-badge.method { border: 1px solid rgba(209, 179, 116, .5); color: var(--gold-lit); }
.cf-sandbox { list-style: none; margin: 64px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cf-sandbox li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; border: 1px solid rgba(240, 236, 228, .16); font-size: 14.5px; color: #e3ddd2; background: rgba(26, 26, 23, .5); }
.cf-sandbox .i { color: var(--gold-lit); font-size: 18px; }

/* ---------- 05 Why now ---------- */
.cf-banner { position: relative; border-radius: 26px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; margin-bottom: 28px; background: var(--night); }
.cf-banner img { position: absolute; inset: -10% 0; width: 100%; height: 120%; translate: 0 var(--py, 0px); object-fit: cover; object-position: center 55%; filter: sepia(.25) saturate(.75) brightness(.7) contrast(1.05); }
.cf-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 26, 23, .88), rgba(26, 26, 23, .2) 75%); }
.cf-banner-copy { position: relative; z-index: 1; padding: 44px 44px 40px; color: #fff; }
.cf-banner .cf-chapter-no { color: #d9d2c4; }
.cf-banner .cf-chapter-no span { color: var(--gold-lit); border-color: rgba(209, 179, 116, .6); }
.cf-banner h2 em { color: var(--gold-lit); }

.cf-wall-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.cf-wall-top .cf-legend { margin-top: 0; }
.cf-wall-count b { font-size: 72px; font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.cf-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(15px, 1fr)); gap: 4px; }
.cf-wall i { aspect-ratio: 1; border-radius: 3px; border: 1.5px solid var(--ink); opacity: 0; transform: scale(.4); transition: opacity .35s, transform .35s, background-color .35s; transition-delay: var(--d, 0ms); }
.cf-wall i.on { background: var(--ink); }
.cf-wall.is-in i:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.25); transition-delay: 0ms; }
.cf-wall.is-in i { opacity: 1; transform: none; }

.cf-tl-axis { position: relative; height: 230px; margin: 10px 8px 0; }
.cf-tl-axis::before { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 2px; background: var(--line); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.cf-tl-axis.is-in::before { transform: none; }
.js .cf-tl-axis .cf-tl-item, .js .cf-tl-axis .cf-tl-today { opacity: 0; translate: 0 10px; transition: opacity .5s var(--ease), translate .5s var(--ease); transition-delay: calc(400ms + var(--i, 0) * 60ms); }
.js .cf-tl-axis.is-in .cf-tl-item, .js .cf-tl-axis.is-in .cf-tl-today { opacity: 1; translate: 0 0; }
.js .cf-tl-axis.is-in .cf-tl-item.is-dim { opacity: .18; }
.cf-tl-axis.is-done .cf-tl-item { transition-delay: 0ms; }
.cf-tl-year { position: absolute; bottom: 0; transform: translateX(-50%); font: 500 11px var(--mono); color: var(--muted); }
.cf-tl-year::before { content: ""; position: absolute; left: 50%; bottom: 20px; width: 1px; height: 8px; background: var(--muted); }
.cf-tl-today { position: absolute; bottom: 30px; top: 0; width: 0; border-left: 1.5px dashed var(--decoy); }
.cf-tl-today span { position: absolute; top: -2px; left: 6px; font: 600 10.5px var(--mono); color: var(--decoy); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cf-tl-item { position: absolute; transform: translateX(-7px); display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: opacity .25s; }
.cf-tl-item::after { content: ""; position: absolute; left: 6px; top: 14px; width: 1px; background: var(--line); height: var(--stem, 40px); z-index: -1; }
.cf-tl-item i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); flex: none; transition: .2s; }
.cf-tl-item[data-type="LAW"] i { background: var(--ink); }
.cf-tl-item[data-type="SUP"] i { border-color: var(--gold); }
.cf-tl-item[data-type="DRAFT"] i { border-style: dashed; border-color: var(--gold); }
.cf-tl-item[data-type="FWK"] i { border-color: #b9b1a0; }
.cf-tl-item:hover, .cf-tl-item[aria-pressed="true"] { color: var(--ink); }
.cf-tl-item[aria-pressed="true"] i { box-shadow: 0 0 0 5px rgba(150, 114, 45, .22); transform: scale(1.15); }
.cf-tl-item.is-dim { opacity: .18; }
.cf-tl-item.is-future span { color: var(--gold-deep); }
.cf-tl-detail { margin-top: 16px; display: grid; grid-template-columns: 170px 1fr; gap: 20px; background: var(--cream); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; min-height: 100px; }
.cf-tl-date { font-weight: 500; font-size: 20px; letter-spacing: -.02em; margin-bottom: 6px; }
.cf-tl-detail h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.cf-tl-detail p { font-size: 14.5px; color: var(--ink-2); }
.cf-tl-detail a { display: inline-flex; gap: 4px; align-items: center; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.cf-pill { display: inline-block; font: 600 10px var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 5px; margin-right: 6px; }
.cf-pill-law { background: var(--ink); color: #fff; }
.cf-pill-sup { background: var(--gold-soft); color: var(--gold-deep); }
.cf-pill-draft { border: 1px dashed var(--gold); color: var(--gold-deep); }
.cf-pill-fwk { background: #efece5; color: var(--ink-2); }

.cf-ledger { margin-top: 40px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); }
.cf-ledger-row { display: grid; grid-template-columns: 160px 1fr 1fr; border-top: 1px solid var(--line-2); }
.cf-ledger-row > span { padding: 14px 22px; font-size: 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.cf-ledger-row > span + span { border-left: 1px solid var(--line-2); }
.cf-ledger-row > span[role="rowheader"] { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
.cf-ledger-head { border-top: 0; }
.cf-ledger-head > span { font-size: 22px; font-weight: 500; letter-spacing: -.02em; flex-direction: column; align-items: flex-start; padding-block: 20px; }
.cf-ledger-head small { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.cf-ledger-head > span:first-child { background: var(--cream); }
.cf-ledger-foot a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }

.cf-matrix2 { margin-top: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px 22px; }
.cf-matrix2 h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 18px; }
.cf-matrix2-grid > div { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line-2); }
.cf-matrix2-grid > div:first-child { border-top: 0; }
.cf-matrix2-grid span { padding: 13px 8px; font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.cf-matrix2-grid span[role="columnheader"] { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cf-matrix2-grid span[role="rowheader"] { font-weight: 600; }
.cf-matrix2-grid em { font-style: normal; font-size: 13px; color: var(--muted); }
.m-yes, .m-no, .m-gen { width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; }
.m-yes { background: var(--ink); }
.m-gen { border: 2px solid var(--gold); }
.m-no { position: relative; }
.m-no::before { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 2px; background: #c4bcac; border-radius: 2px; }

.cf-insurer { margin-top: 28px; display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--gold-soft); color: var(--ink-2); font-size: 15px; }
.cf-insurer .i { font-size: 24px; color: var(--gold-deep); }
.cf-insurer b { color: var(--ink); font-weight: 600; }
.cf-insurer a { font-size: 13px; margin-left: 6px; }

/* ---------- 06 People ---------- */
.cf-people { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cf-people .cf-photo { aspect-ratio: 5 / 4; }
.cf-people .cf-chapter-head { margin-bottom: 28px; }
.cf-roster { list-style: none; margin: 0; padding: 0; }
.cf-roster li { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-2); }
.cf-roster li:last-child { border-bottom: 1px solid var(--line-2); }
.cf-roster b { display: block; font-weight: 600; font-size: 16px; }
.cf-roster div span { font-size: 13.5px; color: var(--muted); }
.cf-roster a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: .2s; }
.cf-roster a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cf-initials { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); font-family: var(--serif); font-style: italic; font-size: 21px; font-weight: 600; }
.cf-tiles { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cf-tiles a { display: flex; flex-direction: column; gap: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); text-decoration: none; color: var(--ink); transition: .25s var(--ease); }
.cf-tiles a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.cf-tiles b { font-weight: 500; font-size: 16px; }

/* ---------- 07 Contact ---------- */
.cf-contact { background: var(--night); color: #f0ece4; padding: 112px 0; }
.cf-contact h2 em { color: var(--gold-lit); }
.cf-contact .cf-chapter-no { color: #b9b2a6; }
.cf-contact .cf-chapter-no span { color: var(--gold-lit); border-color: rgba(209, 179, 116, .5); }
.cf-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cf-contact-sub { color: #c9c2b5; margin-top: 18px; font-size: 17px; }
.cf-trace-summary { margin-top: 26px; border: 1px dashed rgba(209, 179, 116, .45); border-radius: 16px; padding: 16px 18px; font-size: 15px; color: #e3ddd2; }
.cf-trace-summary b { color: #fff; }
.cf-trace-summary .cf-mono { color: var(--gold-lit); display: block; margin-bottom: 6px; }
.cf-contact-direct { display: flex; flex-direction: column; gap: 6px; margin-top: 34px; }
.cf-contact-direct a { color: #fff; font-weight: 500; text-decoration: none; font-size: 19px; }
.cf-contact-direct a:hover { color: var(--gold-lit); }
.cf-contact-direct span { color: #b9b2a6; font-size: 14px; }
.cf-form { background: var(--bg); color: var(--ink); border-radius: 22px; padding: 30px; display: grid; gap: 14px; }
.cf-form h3 { font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.cf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.cf-form label span { font-weight: 400; color: var(--muted); }
.cf-form input:not([type="checkbox"]), .cf-form select, .cf-form textarea { font: 400 15.5px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.cf-form textarea { resize: vertical; }
.cf-form input:focus, .cf-form select:focus, .cf-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.cf-form .cf-consent { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.cf-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cf-form-foot .cf-btn { border: 0; }
.cf-form-foot a { font-size: 13px; color: var(--muted); }
.cf-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#enquiry-status { font-size: 14px; }
#enquiry-status[data-state="success"] { color: var(--gold-deep); }
#enquiry-status[data-state="error"] { color: var(--decoy); }

/* Sources & footer */
.cf-sources { padding: 30px 0; border-bottom: 1px solid var(--line); }
.cf-sources summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.cf-sources summary::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; font-weight: 400; }
.cf-sources details[open] summary::before { content: "\2212"; }
.cf-sources summary::-webkit-details-marker { display: none; }
.cf-sources-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.cf-sources-grid ul, .cf-sources-grid ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.cf-footer { padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
.cf-footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cf-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cf-footer nav a { color: var(--ink-2); text-decoration: none; }
.cf-footer nav a:hover { color: var(--gold-deep); }

/* ---------- Home: matrix + more card ---------- */
.cf-duo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.cf-duo .cf-fig { margin-bottom: 0; }
.cf-more { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 260px; padding: 28px; border-radius: 22px; background: var(--night); color: #fff; text-decoration: none; }
.cf-more img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: sepia(.2) brightness(.8); transition: transform 1.2s var(--ease), filter .6s; }
.cf-more::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26, 26, 23, .1), rgba(26, 26, 23, .88) 70%); }
.cf-more .cf-mono { color: var(--gold-lit); }
.cf-more b { font-size: clamp(20px, 2vw, 25px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; max-width: 22em; }
.cf-more-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; font-size: 14.5px; color: var(--gold-lit); }
.cf-more:hover img { transform: scale(1.06); filter: sepia(.1) brightness(.95); }
.cf-more:hover .cf-more-go .i { transform: translateX(5px); }
.cf-more-wide { min-height: 220px; margin-top: 4px; }
.cf-more-wide img { object-position: center 58%; }
.cf-caveat { margin-top: 28px; }

/* ---------- Home: three dates ---------- */
.cf-dates-line { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.cf-dates-line::before, .cf-dates-line::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: var(--line); }
.cf-dates-line::after { background: var(--gold); right: auto; width: 25%; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s .3s var(--ease); }
.cf-dates.is-visible .cf-dates-line::after { transform: none; }
.cf-dates-line li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding-top: 34px; }
.cf-dates-line li::before { content: ""; position: absolute; top: 2px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); scale: 0; transition: scale .5s cubic-bezier(.2, 1.6, .4, 1); }
.cf-dates.is-visible .cf-dates-line li::before { scale: 1; }
.cf-dates-line li:nth-child(1)::before { background: var(--ink); transition-delay: .2s; }
.cf-dates-line li:nth-child(2)::before { transition-delay: .9s; border-color: var(--gold); background: var(--gold); }
.cf-dates-line li:nth-child(3)::before { transition-delay: 1.1s; border-style: dashed; border-color: var(--gold); }
.cf-dates-line li:nth-child(4)::before { transition-delay: 1.3s; }
.cf-dates.is-visible .cf-dates-line li.is-today::before { animation: pulse 2.4s 1.6s ease-in-out infinite; box-shadow: 0 0 0 4px rgba(150, 114, 45, .18); }
.cf-dates-line li.is-key::before { box-shadow: 0 0 0 5px var(--gold-soft); }
.cf-dates-line time { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cf-dates-line b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.cf-dates-line li > span { font-size: 13px; color: var(--ink-2); }
.cf-dates-line .is-today b { color: var(--gold-deep); }
.cf-dates-line .is-key b { color: var(--ink); }
.js .cf-dates-line li > * { opacity: 0; translate: 0 8px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.js .cf-dates.is-visible .cf-dates-line li > * { opacity: 1; translate: 0 0; }
.js .cf-dates-line li:nth-child(2) > * { transition-delay: .9s; }
.js .cf-dates-line li:nth-child(3) > * { transition-delay: 1.1s; }
.js .cf-dates-line li:nth-child(4) > * { transition-delay: 1.3s; }

/* ---------- Findings page ---------- */
.cf-page-hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 120px 0 96px; isolation: isolate; }
.cf-page-hero img { position: absolute; inset: -10% 0; z-index: -2; width: 100%; height: 120%; object-fit: cover; opacity: .55; translate: 0 var(--py, 0px); }
.cf-page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 26, 23, .92) 20%, rgba(26, 26, 23, .45)); }
.cf-page-hero h1 { font-size: clamp(40px, 5.6vw, 78px); letter-spacing: -.05em; line-height: 1; }
.cf-page-hero h1 em { color: var(--gold-lit); }
.cf-page-hero .cf-chapter-no { color: #d9d2c4; }
.cf-page-hero .cf-chapter-no span { color: var(--gold-lit); border-color: rgba(209, 179, 116, .6); }
.cf-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.cf-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(240, 236, 228, .22); color: #f0ece4; text-decoration: none; font-weight: 500; font-size: 15px; background: rgba(26, 26, 23, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: .3s var(--ease); }
.cf-jump a .cf-mono { color: var(--gold-lit); }
.cf-jump a:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); transform: translateY(-2px); }
.cf-jump a:hover .cf-mono { color: var(--gold); }
.cf-gauge { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cf-gauge svg { width: min(100%, 300px); overflow: visible; }
.cf-gauge path { fill: none; stroke-width: 14; stroke-linecap: round; }
.cf-gauge .g-track { stroke: var(--gold-soft); }
.cf-gauge .g-fill { stroke: var(--gold); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s .2s var(--ease); }
.cf-gauge.is-in .g-fill { stroke-dashoffset: 50; }
.cf-gauge .g-tick { stroke: var(--ink); stroke-width: 2; }
.cf-gauge .g-needle { transform-origin: 120px 120px; transform: rotate(-90deg); }
.cf-gauge.is-in .g-needle { animation: needle 2.2s .2s var(--ease) forwards; }
@keyframes needle { 0% { transform: rotate(-90deg); } 45% { transform: rotate(38deg); } 70% { transform: rotate(-12deg); } 85% { transform: rotate(5deg); } 100% { transform: rotate(0deg); } }
.cf-gauge .g-needle line { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.cf-gauge .g-needle circle { fill: var(--ink); }
.cf-gauge text { font: 500 10.5px var(--mono); fill: var(--muted); }
.cf-gauge p { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.cf-gauge p b { font-size: 30px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cf-gauge p > span { font-size: 14px; color: var(--ink-2); max-width: 26em; }
.cf-cta { background: var(--night); color: #fff; padding: 96px 0; }
.cf-cta .cf-wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.cf-cta h2 { font-size: clamp(34px, 4.4vw, 56px); }
.cf-cta h2 em { color: var(--gold-lit); }
.cf-btn-light { background: var(--bg); color: var(--ink); }
.cf-btn-light:hover { background: var(--gold-lit); }
.cf-page .cf-ledger, .cf-page .cf-matrix2 { margin-top: 24px; }

/* ---------- Stagger (removed by JS once played, so hovers stay instant) ---------- */
.js .cf-stagger > * { opacity: 0; translate: 0 14px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .cf-stagger.is-in > * { opacity: 1; translate: 0 0; }
.js .cf-chapter-head.cf-reveal .cf-chapter-no span { transition: transform .9s .1s cubic-bezier(.2, 1.4, .4, 1), background-color .4s; transform: scale(.4) rotate(-120deg); }
.js .cf-chapter-head.cf-reveal.is-visible .cf-chapter-no span { transform: none; }

/* Reveal */
.js .cf-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .cf-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cf-duo { grid-template-columns: 1fr; }
  .cf-hero { min-height: 0; }
  .cf-hero-grid, .cf-bench, .cf-bento, .cf-sdt, .cf-contact-grid, .cf-loop-panel, .cf-access, .cf-split-head, .cf-people, .cf-head-row { grid-template-columns: 1fr; }
  .cf-bench-side { border-left: 0; border-top: 1px solid var(--line); }
  .cf-wf { grid-template-columns: 1fr; }
  .cf-loop-steps { grid-template-columns: repeat(5, minmax(118px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .cf-tiles { grid-template-columns: 1fr 1fr; }
  .cf-night-bg { width: 100%; right: 0; opacity: .2; }
  .cf-access { justify-items: center; }
  .cf-stack { width: 100%; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .cf-hero { padding: 40px 0 56px; }
  .cf-chapter, .cf-contact { padding: 76px 0; }
  .cf-stamp-word::after { display: none; }
  .cf-log-rows li { grid-template-columns: 1fr auto; }
  .cf-log-rows li > .cf-mono, .cf-log-hidden { grid-column: 1 / -1; }
  .cf-fig, .cf-matrix2 { padding: 20px 16px 18px; border-radius: 18px; }
  .cf-bench-main, .cf-bench-side { padding: 20px 16px; }
  .cf-duel { grid-template-columns: 1fr 1fr; }
  .cf-duel-mid { display: none; }
  .cf-duel-side { padding: 22px 18px; }
  .cf-matrix-row { grid-template-columns: 58px 1fr 1fr; gap: 6px; }
  .cf-cell { padding: 10px; min-height: 88px; }
  .cf-cell b { font-size: 28px; }
  .cf-stack-row { grid-template-columns: 1fr 56px; }
  .cf-stack-row > p { grid-column: 1 / -1; }
  .cf-sdt, .cf-oc { padding: 20px 16px; }
  .cf-oc-term { min-width: 64px; padding: 10px 12px; }
  .cf-oc-term b { font-size: 30px; }
  .cf-tl-detail { grid-template-columns: 1fr; gap: 6px; }
  .cf-banner { min-height: 280px; }
  .cf-banner-copy { padding: 28px 22px; }
  .cf-ledger-row { grid-template-columns: 92px 1fr 1fr; }
  .cf-ledger-row > span { padding: 12px 10px; font-size: 13.5px; }
  .cf-ledger-head > span { font-size: 16px; }
  .cf-matrix2-grid span { padding: 11px 4px; font-size: 13px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .cf-matrix2-grid em { display: none; }
  .cf-legend-note { margin-left: 0; }
  .cf-form-row, .cf-sources-grid { grid-template-columns: 1fr; }
  .cf-form { padding: 22px 16px; }
  .cf-insurer { align-items: flex-start; }
  .cf-scroll-cue { margin-top: 28px; }
  .cf-dates-line { grid-template-columns: 1fr; gap: 18px; padding-left: 30px; }
  .cf-dates-line::before { left: 7px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .cf-dates-line::after { left: 7px; top: 10px; width: 2px; height: 30%; transform: scaleY(0); transform-origin: 50% 0; }
  .cf-dates-line li { align-items: flex-start; text-align: left; padding-top: 0; }
  .cf-dates-line li::before { left: -30px; margin-left: 0; top: 1px; }
  .cf-page-hero { padding: 72px 0 64px; }
  .cf-more { min-height: 220px; padding: 22px; }
}
@media (max-width: 820px) {
  .cf-tl-axis { height: auto; margin: 0; padding-left: 18px; border-left: 2px solid var(--line); }
  .cf-tl-axis::before, .cf-tl-year { display: none; }
  .cf-tl-item { position: relative; left: auto !important; top: auto !important; transform: none; margin: 0 0 12px -26px; white-space: normal; text-align: left; }
  .cf-tl-item::after { display: none; }
  .cf-tl-item small { font: 400 11px var(--mono); color: var(--muted); margin-left: 4px; }
  .cf-tl-today { position: relative; display: block; left: auto !important; border: 0; margin: 0 0 12px -26px; height: auto; }
  .cf-tl-today span { position: static; }
}
@media (min-width: 821px) {
  .cf-tl-item small { display: none; }
  .cf-tl-item.is-flip { flex-direction: row-reverse; transform: translateX(calc(-100% + 7px)); }
  .cf-tl-item.is-flip::after { left: auto; right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
}
.cf-dots.no-anim i { transition: none !important; }

/* =====================================================================
   v3: finish layer. Surfaces, depth, the review stream, whitepaper.
   ===================================================================== */
:root {
  --edge: linear-gradient(150deg, rgba(209, 179, 116, .8), rgba(229, 223, 209, .75) 32%, rgba(229, 223, 209, .35) 68%, rgba(209, 179, 116, .5));
  --lift: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 6px rgba(91, 70, 31, .05), 0 34px 64px -34px rgba(91, 70, 31, .32);
  --card: #fff;
}

/* Paper grain over everything, very faint */
body::after { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .045; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Type scale */
.cf-chapter { padding: 136px 0; }
.cf-chapter-head h2, .cf-banner h2, .cf-contact h2, .cf-display { font-size: clamp(38px, 5vw, 68px); letter-spacing: -.048em; line-height: 1.02; font-weight: 450; }
.cf-chapter-head h2 em, .cf-display em { background: linear-gradient(90deg, var(--gold-deep), var(--gold) 45%, #b8924a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cf-chapter-night h2 em, .cf-contact h2 em, .cf-banner h2 em { background: linear-gradient(90deg, var(--gold-lit), #ecd8a8 60%, var(--gold-lit)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cf-chapter-no { letter-spacing: .14em; }
.cf-chapter-no span { background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--edge) border-box; border: 1px solid transparent; }
.cf-chapter-paper .cf-chapter-no span { background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--edge) border-box; }
.cf-chapter-night .cf-chapter-no span, .cf-contact .cf-chapter-no span, .cf-banner .cf-chapter-no span, .wp-cover .cf-chapter-no span { background: rgba(255, 255, 255, .04); border: 1px solid rgba(209, 179, 116, .5); }
.cf-head-row > p { font-size: 18px; line-height: 1.55; }

/* Surfaces with a fine gold-to-sand edge */
.cf-fig, .cf-bench, .cf-log, .cf-matrix2, .cf-ledger, .wp-card, .cf-tiles a, .cf-duel {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--edge) border-box;
  box-shadow: var(--lift);
}
.cf-chapter-paper .cf-fig, .cf-tiles a { --card: var(--cream); }
.cf-fig { border-radius: 24px; }
.cf-duel { --card: var(--paper); }
.cf-log { --card: #fff; border-radius: 24px; }
.cf-bench { border-radius: 26px; }

/* Sections with a warm glow */
.cf-glow { background:
  radial-gradient(48% 60% at 12% 0%, rgba(240, 232, 216, .9), transparent 70%),
  radial-gradient(40% 50% at 100% 100%, rgba(240, 232, 216, .8), transparent 70%), var(--paper); }
.cf-hero::before { background: radial-gradient(55% 65% at 88% 30%, rgba(240, 232, 216, .95), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(242, 234, 217, .7), transparent 70%); }

/* Buttons with depth and a sheen */
.cf-btn { position: relative; overflow: hidden; isolation: isolate; }
.cf-btn-solid { background: linear-gradient(180deg, #34322d, #1c1b18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px -12px rgba(26, 26, 23, .7); }
.cf-btn-solid:hover { background: linear-gradient(180deg, #8a6a2c, var(--gold-deep)); }
.cf-btn-solid::after, .cf-btn-light::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); translate: -120% 0; transition: translate .8s var(--ease); }
.cf-btn-solid:hover::after, .cf-btn-light:hover::after { translate: 120% 0; }
.cf-btn-ghost { background: rgba(255, 255, 255, .6); }

/* Form labels on one line */
.cf-form .cf-lab { display: block; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.cf-form .cf-lab small { font-size: inherit; font-weight: 400; color: var(--muted); }
.cf-form { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); border: 1px solid rgba(209, 179, 116, .35); }

/* Hero */
.cf-hero h1 { text-wrap: balance; }
.cf-log { box-shadow: 0 2px 6px rgba(91, 70, 31, .06), 0 50px 90px -40px rgba(91, 70, 31, .45); }

/* ---------- The review stream ---------- */
.cf-stream-sec { position: relative; padding: 96px 0 72px; overflow: hidden; background: linear-gradient(180deg, var(--bg), #f6f1e6 60%, var(--bg)); }
.cf-stream-head { position: relative; z-index: 2; }
.cf-stream-head .cf-display { max-width: 22em; text-wrap: balance; }
.cf-stream { position: relative; height: 420px; margin-top: 8px; perspective: 1500px; perspective-origin: 50% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, #000 82%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.cf-stream::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(32, 32, 29, .2) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.cf-stream-stage { position: absolute; inset: 0; transform: rotateX(16deg) rotateY(-10deg); transform-origin: 50% 100%; transform-style: preserve-3d; }
.cf-stream-track { position: absolute; left: 0; bottom: 0; height: 100%; width: 1px; will-change: transform; }
.cf-sc { position: absolute; bottom: -60px; width: var(--cw, 132px); height: var(--h, 160px); }
.cf-sc-face { position: absolute; inset: 0; transform: skewY(30deg); transform-origin: 0 0; border-left: 1px solid rgba(32, 32, 29, .62); border-top: 1px solid rgba(32, 32, 29, .62);
  background: linear-gradient(100deg, rgba(255, 255, 255, .97), rgba(250, 246, 236, .95) 55%, rgba(236, 226, 204, .92));
  box-shadow: -16px 0 26px -18px rgba(91, 70, 31, .45); }
.cf-sc.is-hl .cf-sc-face { border-color: var(--ink); background: linear-gradient(100deg, rgba(246, 239, 222, .98), rgba(226, 199, 143, .9) 60%, rgba(196, 160, 92, .85)); box-shadow: -20px 0 34px -16px rgba(150, 114, 45, .55), inset 1px 0 0 rgba(255, 255, 255, .7); }
.cf-sc.is-bad .cf-sc-face { background: linear-gradient(100deg, rgba(250, 236, 230, .98), rgba(214, 150, 132, .85) 60%, rgba(170, 82, 64, .8)); box-shadow: -20px 0 34px -16px rgba(138, 58, 46, .55), inset 1px 0 0 rgba(255, 255, 255, .7); }
.cf-sc-tag { position: absolute; left: -1px; bottom: calc(100% + 34px); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: rgba(255, 255, 255, .96); border: 1px solid var(--ink); border-radius: 4px; box-shadow: 0 10px 24px -14px rgba(32, 32, 29, .5); opacity: 0; translate: 0 8px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.cf-sc-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(150, 114, 45, .18); }
.cf-sc.is-bad .cf-sc-tag::before { background: var(--decoy); box-shadow: 0 0 0 3px rgba(138, 58, 46, .18); }
.cf-sc-tag::after { content: ""; position: absolute; left: -1px; top: 100%; height: 35px; border-left: 1px solid var(--ink); }
.cf-sc.is-near .cf-sc-tag { opacity: 1; translate: 0 0; }
.cf-stream-cap { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.cf-stream-cap .cf-mono { padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }

/* ---------- Home: findings card, flow, banner stat ---------- */
.cf-duel { margin-bottom: 32px; }
.cf-paper-card { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border-radius: 26px; text-decoration: none; color: #fff; background: var(--night); box-shadow: 0 50px 90px -50px rgba(26, 26, 23, .8); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cf-paper-card:hover { transform: translateY(-4px); box-shadow: 0 60px 100px -50px rgba(26, 26, 23, .9); }
.cf-paper-art { position: relative; min-height: 300px; overflow: hidden; }
.cf-paper-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cf-paper-card:hover .cf-paper-art img { transform: scale(1.05); }
.cf-paper-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--night)); }
.cf-paper-copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 44px 44px 44px 12px; }
.cf-paper-copy .cf-mono { color: var(--gold-lit); }
.cf-paper-copy b { font-size: clamp(26px, 2.6vw, 36px); font-weight: 450; letter-spacing: -.035em; line-height: 1.1; }
.cf-paper-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-paper-meta span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(240, 236, 228, .18); color: #d9d2c4; }
.cf-paper-card .cf-more-go { color: var(--gold-lit); }
.cf-paper-card:hover .cf-more-go .i { transform: translateX(5px); }

.cf-flow { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.cf-flow li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 24px; border-radius: 22px; border: 1px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--edge) border-box; box-shadow: var(--lift); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cf-flow li:hover { transform: translateY(-4px); }
.cf-flow li + li::before { content: ""; position: absolute; left: -17px; top: 50%; width: 18px; height: 1px; background: var(--gold-lit); }
.cf-flow .i { font-size: 30px; color: var(--gold); stroke-width: 1.4; }
.cf-flow-n { position: absolute; top: 22px; right: 22px; font: 500 11px var(--mono); color: var(--muted); letter-spacing: .1em; }
.cf-flow b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-top: 8px; }
.cf-flow li > span:last-child { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }

.cf-banner { min-height: 420px; }
.cf-banner-stat { position: absolute; z-index: 1; right: 44px; bottom: 40px; display: flex; align-items: flex-end; gap: 14px; color: #fff; }
.cf-banner-stat b { font-size: clamp(64px, 8vw, 112px); font-weight: 450; letter-spacing: -.06em; line-height: .8; background: linear-gradient(180deg, #fff, var(--gold-lit)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cf-banner-stat span { font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #d9d2c4; padding-bottom: 6px; }
.cf-text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.cf-text-link:hover .i { transform: translateX(4px); }
.cf-text-link .i { transition: transform .35s var(--ease); }
.cf-dates { padding: 30px 32px 24px; }

/* Interlude & photos: no extra muddying, images are already in palette */
.cf-photo img { filter: none; }
.cf-photo::after { background: linear-gradient(160deg, rgba(255, 255, 255, .0), rgba(91, 70, 31, .08)); }
.cf-photo { box-shadow: var(--lift); border-radius: 26px; }
.cf-interlude img { filter: brightness(.95) contrast(1.05); }
.cf-interlude::after { background: linear-gradient(180deg, rgba(22, 21, 19, 0) 40%, rgba(22, 21, 19, .85)); }
.cf-banner img { filter: none; }
.cf-banner::after { background: linear-gradient(90deg, rgba(22, 21, 19, .92), rgba(22, 21, 19, .3) 70%, rgba(22, 21, 19, .55)); }
.cf-night-bg { opacity: .7; filter: none; width: 80%; right: -10%; }

/* ---------- CTA band ---------- */
.cf-cta { position: relative; overflow: hidden; isolation: isolate; padding: 120px 0; }
.cf-cta img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.cf-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 21, 19, .94) 25%, rgba(22, 21, 19, .4)); }

/* ---------- Whitepaper ---------- */
.wp-cover { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #fff; padding: 140px 0 110px; }
.wp-cover img { position: absolute; inset: -10% 0; z-index: -2; width: 100%; height: 120%; object-fit: cover; translate: 0 var(--py, 0px); }
.wp-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 21, 19, .55), rgba(22, 21, 19, .25) 45%, rgba(22, 21, 19, .85)), linear-gradient(90deg, rgba(22, 21, 19, .75), transparent 70%); }
.wp-kind { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.wp-kind span { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(209, 179, 116, .45); color: var(--gold-lit); background: rgba(22, 21, 19, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wp-cover h1 { font-size: clamp(40px, 5.4vw, 78px); letter-spacing: -.05em; line-height: 1.02; max-width: 15em; text-wrap: balance; }
.wp-cover h1 em { font-style: normal; color: var(--gold-lit); }
.wp-sub { margin-top: 26px; max-width: 36em; font-size: 20px; line-height: 1.55; color: #d9d2c4; }
.wp-meta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 44px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgba(240, 236, 228, .16); }
.wp-meta dt { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #a8a194; }
.wp-meta dd { margin: 4px 0 0; font-size: 15px; color: #fff; }

.wp-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 72px; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 96px 0 40px; }
.wp-toc { position: sticky; top: 104px; align-self: start; }
.wp-toc ol { list-style: none; margin: 14px 0 26px; padding: 0; counter-reset: t; border-left: 1px solid var(--line); }
.wp-toc li { counter-increment: t; }
.wp-toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--muted); text-decoration: none; transition: color .25s, border-color .25s, padding .25s var(--ease); }
.wp-toc li a:hover { color: var(--ink); padding-left: 20px; }
.wp-toc li a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--gold); }
.wp-body { min-width: 0; max-width: 880px; }
.wp-sec { padding: 0 0 88px; scroll-margin-top: 96px; }
.wp-sec + .wp-sec { padding-top: 88px; border-top: 1px solid var(--line-2); }
.wp-eyebrow { display: flex; align-items: center; gap: 12px; font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.wp-eyebrow span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold-lit); font-weight: 600; letter-spacing: 0; }
.wp-sec h2 { font-size: clamp(32px, 3.8vw, 50px); letter-spacing: -.045em; line-height: 1.05; margin-bottom: 26px; }
.wp-sec h2 em { color: var(--gold); }
.wp-sec > p { font-size: 18px; line-height: 1.75; color: var(--ink-2); max-width: 66ch; margin-bottom: 20px; }
.wp-lead { font-size: clamp(20px, 2vw, 24px) !important; line-height: 1.6 !important; color: var(--ink) !important; letter-spacing: -.01em; max-width: 40em !important; }
.wp-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.wp-keys div { padding: 22px 20px; border-radius: 20px; border: 1px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--edge) border-box; box-shadow: var(--lift); display: flex; flex-direction: column; gap: 10px; }
.wp-keys b { font-size: 34px; font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.wp-keys div:nth-child(1) b { color: var(--decoy); }
.wp-keys div:nth-child(2) b { color: var(--clean); }
.wp-keys div > span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.wp-quote { margin: 36px 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--gold); }
.wp-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.wp-callout { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-top: 30px; padding: 26px 30px; border-radius: 22px; background: linear-gradient(120deg, var(--gold-soft), #f7f1e4); }
.wp-callout b { font-size: clamp(40px, 4.4vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--gold-deep); white-space: nowrap; }
.wp-callout p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.wp-callout-dark { background: radial-gradient(80% 140% at 0% 0%, #3a2f20, var(--night) 60%); color: #e3ddd2; }
.wp-callout-dark b { background: linear-gradient(180deg, #fff, var(--gold-lit)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wp-callout-dark p { color: #d9d2c4; }
.wp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.wp-card { --card: var(--paper); border-radius: 22px; padding: 24px 24px 22px; }
.wp-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; margin: 12px 0 8px; }
.wp-card .cf-mono { color: var(--gold-deep); }
.wp-card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.wp-arch { width: 100%; height: auto; }
.wp-arch .a-zone { fill: rgba(240, 232, 216, .45); stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 6 6; }
.wp-arch .a-zlab, .wp-arch .a-small { font: 500 11px var(--mono); letter-spacing: .1em; fill: var(--gold-deep); }
.wp-arch .a-small { letter-spacing: .04em; fill: var(--muted); text-anchor: middle; }
.wp-arch .a-box rect { fill: #fff; stroke: rgba(32, 32, 29, .55); stroke-width: 1.2; filter: drop-shadow(0 6px 10px rgba(91, 70, 31, .12)); }
.wp-arch .a-box text { font: 600 13.5px var(--sans); fill: var(--ink); text-anchor: middle; }
.wp-arch .a-key rect { fill: var(--ink); stroke: var(--ink); }
.wp-arch .a-key text { fill: #fff; }
.wp-arch .a-mon rect { fill: var(--gold-soft); stroke: var(--gold); }
.wp-arch .a-prod rect { fill: #f3f1ec; stroke: #b9b1a0; stroke-dasharray: 4 4; }
.wp-arch .a-prod text { fill: var(--muted); }
.wp-arch .a-line { fill: none; stroke: var(--ink-2); stroke-width: 1.4; }
.wp-arch .a-nudge { stroke: var(--gold); stroke-dasharray: 5 4; }
.wp-arch .a-head { fill: var(--ink-2); }
.wp-arch .a-cut { stroke: var(--decoy); stroke-width: 1.4; stroke-dasharray: 3 4; }
.wp-arch .a-x { stroke: var(--decoy); stroke-width: 2.2; stroke-linecap: round; }
.wp-arch-fig .cf-fig-head { margin-bottom: 6px; }
.wp-table { margin-top: 28px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--lift); }
.wp-tr { display: grid; grid-template-columns: 1.2fr .6fr 1.6fr; border-top: 1px solid var(--line-2); }
.wp-tr > span { padding: 16px 22px; font-size: 15.5px; }
.wp-th { border-top: 0; background: var(--cream); }
.wp-th > span { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wp-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.wp-tf { background: var(--night); color: #e3ddd2; }
.wp-tf > span:first-child { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lit); }
.wp-tf .wp-num { color: #fff; font-size: 18px; }
.wp-gauge-row { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.wp-aside { font-size: 16px; line-height: 1.65; color: var(--ink-2); padding-left: 22px; border-left: 2px solid var(--gold-lit); }
.wp-note { margin-top: 22px; font-size: 14.5px !important; line-height: 1.65 !important; color: var(--muted) !important; padding: 18px 22px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line-2); max-width: none !important; }
.wp-body .cf-bento { grid-template-columns: 1fr 1fr; }
.wp-body .cf-oc { margin-top: 24px; }
.wp-body .cf-ledger, .wp-body .cf-matrix2 { margin-top: 24px; }
.wp-monitor { margin: 10px 0 26px; border-radius: 24px; padding: 22px; background: radial-gradient(90% 120% at 100% 0%, #2e271c, var(--night) 55%); color: #e3ddd2; box-shadow: 0 40px 80px -40px rgba(26, 26, 23, .8); }
.wp-mon-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.wp-mon-top .cf-mono { color: #a8a194; }
.wp-live { display: inline-flex; align-items: center; gap: 8px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lit); }
.wp-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-lit); animation: pulse 2s ease-in-out infinite; box-shadow: 0 0 0 4px rgba(209, 179, 116, .2); }
.wp-mon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wp-mon-grid div { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(240, 236, 228, .1); display: flex; flex-direction: column; gap: 6px; }
.wp-mon-grid .cf-mono { color: #a8a194; }
.wp-mon-grid b { font-size: 30px; font-weight: 500; letter-spacing: -.03em; color: #fff; }
.wp-mon-grid div:first-child b { color: #e39a86; }
.wp-mon-grid small { font-size: 12.5px; color: #a8a194; }
.wp-nudge { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--bg); color: var(--ink); font-size: 14.5px; }
.wp-nudge .i { color: var(--gold); font-size: 18px; }
.wp-nudge em { margin-left: auto; font: 600 10.5px var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-soft); padding: 4px 9px; border-radius: 6px; }
.wp-limits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wp-limits li { padding: 20px 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.wp-limits b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.wp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.wp-steps li { display: flex; flex-direction: column; gap: 8px; padding: 20px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); position: relative; }
.wp-steps span { font: 500 11px var(--mono); color: var(--gold); letter-spacing: .1em; }
.wp-steps b { font-size: 19px; font-weight: 500; }
.wp-steps p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.wp-steps i { font: 600 9.5px var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 5px; align-self: flex-start; }
.wp-steps .is-shown { background: var(--gold); color: #fff; }
.wp-steps .is-method { border: 1px solid var(--gold-lit); color: var(--gold-deep); }
.wp-steps li:has(.is-shown) { background: var(--night); color: #fff; border-color: var(--night); }
.wp-steps li:has(.is-shown) p { color: #d9d2c4; }
.wp-refs { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.wp-refs li::marker { font: 500 12px var(--mono); color: var(--gold); }

/* ---------- Responsive for v3 ---------- */
@media (max-width: 1100px) {
  .wp-layout { grid-template-columns: 1fr; gap: 0; padding-top: 48px; }
  .wp-toc { position: relative; top: 0; margin-bottom: 48px; padding: 18px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
  .wp-toc ol { columns: 2; border-left: 0; margin-bottom: 16px; }
  .wp-toc li a { padding-left: 0; border-left: 0; }
}
@media (max-width: 980px) {
  .cf-flow { grid-template-columns: 1fr 1fr; }
  .cf-flow li + li::before { display: none; }
  .cf-paper-card { grid-template-columns: 1fr; }
  .cf-paper-art::after { background: linear-gradient(180deg, transparent 50%, var(--night)); }
  .cf-paper-copy { padding: 8px 28px 32px; }
  .wp-keys { grid-template-columns: 1fr 1fr; }
  .wp-steps { grid-template-columns: 1fr 1fr; }
  .wp-gauge-row { grid-template-columns: 1fr; justify-items: center; }
  .wp-body .cf-bento { grid-template-columns: 1fr; }
  .cf-banner-stat { position: relative; right: auto; bottom: auto; padding: 0 44px 36px; }
  .cf-banner { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
}
@media (max-width: 720px) {
  .cf-chapter { padding: 84px 0; }
  .cf-stream-sec { padding: 64px 0 48px; }
  .cf-stream { height: 330px; }
  .cf-stream-stage { transform: rotateX(12deg) rotateY(-6deg); }
  .cf-sc-tag { font-size: 10px; padding: 5px 8px; }
  .cf-flow { grid-template-columns: 1fr; }
  .cf-paper-art { min-height: 200px; }
  .cf-banner-stat { padding: 0 22px 28px; }
  .cf-dates { padding: 22px 18px 18px; }
  .wp-cover { padding: 84px 0 64px; }
  .wp-meta { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .wp-grid2, .wp-limits { grid-template-columns: 1fr; }
  .wp-steps { grid-template-columns: 1fr; }
  .wp-tr { grid-template-columns: 1.1fr .5fr; }
  .wp-tr > span:nth-child(3) { grid-column: 1 / -1; padding-top: 0; color: var(--muted); font-size: 14px; }
  .wp-th > span:nth-child(3) { display: none; }
  .wp-callout { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .wp-mon-grid { grid-template-columns: 1fr; }
  .wp-nudge { flex-wrap: wrap; }
  .wp-nudge em { margin-left: 0; }
  .wp-toc ol { columns: 1; }
  .cf-form .cf-lab { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-sc-tag { opacity: 1; translate: 0 0; }
}
@media (min-width: 981px) { .cf-head-row { grid-template-columns: 2fr 1fr; } }
.cf-head-row h2 { font-size: clamp(36px, 4.2vw, 58px); text-wrap: balance; }
.cf-paper-art img { object-position: 50% 80%; }
.wp-arch .a-left { text-anchor: start; }
@media (max-width: 720px) {
  .cf-duel-side b { font-size: clamp(40px, 12.5vw, 56px); }
  .cf-duel-side .cf-mono { font-size: 9.5px; letter-spacing: .06em; }
  .cf-duel-side { padding: 20px 14px; }
}

/* =====================================================================
   v4: restraint. A deliberate type pairing, flat surfaces, hairline
   rules, one accent, ease-out motion. Overrides earlier layers.
   ===================================================================== */
:root {
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --read: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --code: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --mono: var(--sans);
  --rule: rgba(32, 32, 29, .14);
  --rule-2: rgba(32, 32, 29, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
body { font: 400 17px/1.6 var(--sans); font-kerning: normal; font-variant-numeric: lining-nums; }
body::after { display: none; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.022em; }
h1 em, h2 em, .cf-interlude em, .cf-duel-take em, .wp-cover h1 em, .wp-sec h2 em, .cf-chapter-head h2 em, .cf-display em,
.cf-chapter-night h2 em, .cf-contact h2 em, .cf-banner h2 em, .cf-cta h2 em, .cf-page-hero h1 em {
  font-style: normal; color: inherit; background: none; -webkit-background-clip: border-box; background-clip: border-box;
}
.cf-hero h1 { font-size: clamp(46px, 5.6vw, 84px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.cf-chapter-head h2, .cf-banner h2, .cf-contact h2, .cf-display, .cf-head-row h2, .cf-cta h2 { font-size: clamp(34px, 3.9vw, 54px); font-weight: 600; letter-spacing: -.028em; line-height: 1.06; }
.cf-split .w { filter: none; translate: 0 .15em; animation: wordIn .6s var(--ease) forwards; animation-delay: calc(80ms + var(--i) * 45ms); }
@keyframes wordIn { to { opacity: 1; translate: 0 0; } }

/* Reading text in a serif; UI stays in the grotesk */
.cf-head-row > p, .cf-chapter-head > p:not(.cf-chapter-no), .cf-contact-sub, .cf-rec-why, .cf-record-body, .cf-verdict p,
.wp-sub, .wp-lead, .wp-sec > p, .wp-card p, .wp-callout p, .wp-aside, .wp-limits li, .wp-steps p, .wp-refs, .cf-flow li > span, .cf-why .cf-head-row > p {
  font-family: var(--read); font-optical-sizing: auto;
}
.cf-head-row > p { border-left: 0; padding: 0; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.cf-chapter-head > p:not(.cf-chapter-no) { font-size: 19px; line-height: 1.5; }

/* Labels: sentence case, no monospace. Monospace only for real data. */
.cf-mono, .cf-chapter-no, .wp-eyebrow, .cf-fig-head h3 .cf-mono, .cf-ledger-row > span[role="rowheader"], .cf-matrix2-grid span[role="columnheader"],
.cf-matrix-headrow span, .wp-th > span, .wp-meta dt, .cf-oc-glabel, .cf-ledger-head small, .cf-log-score span, .cf-sdt-read dt, .cf-loop-steps button span,
.wp-toc .cf-mono, .cf-trace-title, .cf-trace-note, .cf-trace li b, .cf-dots-labels, .cf-tl-year, .cf-tl-today span, .wp-tf > span:first-child, .cf-kick {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600;
}
.cf-chapter-no { color: var(--gold-deep); margin-bottom: 16px; gap: 0; }
.cf-chapter-no span { display: none; }
.cf-chapter-night .cf-chapter-no, .cf-contact .cf-chapter-no, .cf-banner .cf-chapter-no { color: var(--gold-lit); }
.cf-data, .cf-log-rows .cf-data, .cf-bench-timer, .cf-telemetry b, .cf-log-hidden, .cf-tl-date { font-family: var(--code); }
.cf-data { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.cf-ok-tag, .cf-pill, .cf-badge, .cf-verdict-tag { font-family: var(--sans); font-weight: 600; letter-spacing: .06em; border-radius: 4px; }
.cf-fig-head h3 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.cf-fig-head h3 .cf-mono { color: var(--muted); font-weight: 500; }
.wp-eyebrow { color: var(--gold-deep); gap: 8px; }
.wp-eyebrow span { width: auto; height: auto; border: 0; border-radius: 0; display: inline; }
.wp-eyebrow span::after { content: "."; }

/* Flat surfaces: rules, not cards */
.cf-fig, .cf-matrix2, .cf-duel, .wp-card, .cf-chapter-paper .cf-fig, .wp-body .cf-fig {
  background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 26px 0 8px; margin-bottom: 40px;
}
.cf-fig::before { display: none; }
.cf-ledger { background: none; border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; box-shadow: none; }
.cf-ledger-row > span[role="rowheader"], .cf-ledger-head > span:first-child { background: none; }
.cf-log, .cf-bench, .cf-form { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 1px 2px rgba(32, 32, 29, .05), 0 24px 48px -28px rgba(32, 32, 29, .28); }
.cf-log { transform: none; }
.cf-log-bar, .cf-bench-side, .cf-rec { background: var(--cream); }
.cf-rec { border-radius: 6px; }
.cf-record-body { border-left: 0; border-top: 1px solid var(--gold); border-radius: 0; }
.cf-sdt-say { border-left: 0; padding-left: 0; font-family: var(--read); font-size: 20px; }
.cf-sdt-read div { border-radius: 4px; background: none; border: 0; border-top: 1px solid var(--rule); padding: 10px 0 0; }
.cf-wf-item { background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 16px 0 0; }
.cf-cell { border-radius: 6px; }
.cf-oc { border-radius: 8px; }
.cf-oc-term { border-radius: 6px; }
.cf-oc-group { border-radius: 8px; }
.cf-oc-term b { font-family: var(--serif); font-style: italic; font-weight: 500; }
.cf-initials { font-family: var(--sans); font-style: normal; font-size: 15px; font-weight: 600; border-radius: 50%; }
.cf-photo { border-radius: 4px; box-shadow: none; }
.cf-photo::after { display: none; }
.cf-photo:hover img, .cf-more:hover img, .cf-paper-card:hover .cf-paper-art img { transform: none; }
.cf-banner, .cf-interlude { border-radius: 4px; }
.cf-interlude { border-radius: 0; }
.cf-interlude p { font-weight: 600; letter-spacing: -.03em; }

/* Buttons and controls: one radius family, no sheen */
.cf-btn { border-radius: 8px; }
.cf-btn:hover { transform: none; }
.cf-btn-solid { background: var(--ink); box-shadow: none; }
.cf-btn-solid:hover { background: var(--gold-deep); }
.cf-btn-solid::after, .cf-btn-light::after { display: none; }
.cf-btn-ghost { background: transparent; border-color: var(--rule); }
.cf-seg, .cf-seg-wrap { border-radius: 8px; background: rgba(32, 32, 29, .05); }
.cf-seg button, .cf-chips button, .cf-seg-thumb { border-radius: 6px; }
.cf-seg-thumb { box-shadow: 0 1px 2px rgba(32, 32, 29, .16); }
.cf-chips button { border-color: var(--rule); }
.cf-log-toggle { border-radius: 6px; }
.cf-record { border-radius: 6px; }
.cf-menu { border-radius: 8px; }
.cf-loop-steps button { border-radius: 8px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .03); }
.cf-form input:not([type="checkbox"]), .cf-form select, .cf-form textarea { border-radius: 6px; }

/* Motion: ease-out only, no bounce or pulse */
.cf-stamp-word::after { animation: stamp .35s 1s var(--ease) forwards; scale: 1.25; }
.cf-duel-mid span { transform: none; opacity: 0; transition: opacity .6s .5s var(--ease); }
.cf-duel.is-visible .cf-duel-mid span { opacity: 1; }
.cf-gauge.is-in .g-needle { animation: needle 1.6s .2s var(--ease) forwards; }
@keyframes needle { from { transform: rotate(-90deg); } to { transform: rotate(0deg); } }
.wp-live i, .cf-dot { animation: none; }
.js .cf-reveal { transform: translateY(10px); }
.js .cf-chapter-head.cf-reveal .cf-chapter-no span { transform: none; }

/* ---------- Hero ---------- */
.cf-hero::before { background: none; }
.cf-scroll-cue { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }

/* ---------- Finding ---------- */
.cf-glow { background: var(--paper); }
.cf-duel { border-bottom: 1px solid var(--rule); padding: 0; }
.cf-duel-decoy, .cf-duel-clean { background: none; }
.cf-duel-mid { border-inline: 1px solid var(--rule); }
.cf-duel-mid span { background: none; color: var(--ink); border: 1px solid var(--rule); }
.cf-duel-take { background: none; border-top: 1px solid var(--rule); font-family: var(--read); font-size: 22px; }
.cf-duel-side b { font-weight: 500; letter-spacing: -.04em; }
.cf-paper-card { border-radius: 8px; box-shadow: none; }
.cf-paper-card:hover { transform: none; box-shadow: none; }
.cf-paper-card:hover .cf-paper-copy b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.cf-kick { color: var(--gold-lit); }
.cf-paper-meta { display: block; font-family: var(--read); font-size: 16px; color: #d9d2c4; }
.cf-paper-copy b { font-weight: 600; letter-spacing: -.025em; }

/* ---------- How it works: a numbered sequence, ruled ---------- */
.cf-flow { counter-reset: f; gap: 0 32px; margin-bottom: 56px; }
.cf-flow li { counter-increment: f; background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; padding: 18px 0 0; gap: 8px; }
.cf-flow li:hover { transform: none; }
.cf-flow li::before { content: counter(f); font-weight: 600; font-size: 13px; color: var(--gold-deep); }
.cf-flow b { font-size: 20px; margin-top: 0; }
.cf-flow li > span { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.cf-sandbox { gap: 0 28px; }
.cf-sandbox li { border: 0; border-radius: 0; background: none; padding: 6px 0; }

/* ---------- Why now: the 217-instrument stream ---------- */
.cf-why { padding-bottom: 96px; overflow: hidden; }
.cf-why .cf-chapter-head { margin-bottom: 20px; }
.cf-why-n { font-family: var(--sans); font-weight: 600; color: var(--ink); }
.cf-istream { position: relative; height: 470px; perspective: 1500px; perspective-origin: 50% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cf-istream::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(32, 32, 29, .2) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.cf-istream .cf-sc-face { border-left-color: rgba(32, 32, 29, .7); border-top-color: rgba(32, 32, 29, .7); }
.cf-sc.is-pending .cf-sc-face { background: linear-gradient(100deg, rgba(250, 249, 245, .92), rgba(242, 236, 222, .85)); border-style: dashed; border-color: rgba(32, 32, 29, .45); box-shadow: none; }
.cf-istream .cf-sc.is-hl .cf-sc-face { background: linear-gradient(100deg, #f6efde, #e3c98f 62%, #c9a560); border-color: var(--ink); box-shadow: -18px 0 30px -18px rgba(120, 88, 31, .55); }
.cf-istream .cf-sc.is-hl.k-law .cf-sc-face { background: linear-gradient(100deg, #f3ead6, #d8b673 60%, #a8823b); }
.cf-istream .cf-sc-tag { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px 9px; font: 600 14px/1.25 var(--sans); letter-spacing: -.005em; text-transform: none; border-radius: 4px; transition: opacity .5s var(--ease), translate .5s var(--ease), box-shadow .4s var(--ease); }
.cf-istream .cf-sc-tag::before { display: none; }
.cf-istream .cf-sc-tag b { font-weight: 600; }
.cf-istream .cf-sc-tag span { display: flex; flex-direction: column; gap: 2px; font: 400 13px/1.35 var(--read); color: var(--ink-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease); white-space: normal; width: 250px; }
.cf-istream .cf-sc-tag span i { font: 600 11px var(--sans); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); }
.cf-istream .k-law .cf-sc-tag span i { color: var(--ink); }
.cf-istream .k-draft .cf-sc-tag span i { color: var(--decoy); }
.cf-istream .cf-sc.is-focus .cf-sc-tag { box-shadow: 0 16px 34px -18px rgba(32, 32, 29, .55); }
.cf-istream .cf-sc.is-focus .cf-sc-tag span { max-height: 80px; opacity: 1; margin-top: 4px; }
.cf-istream-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 36px; padding-top: 18px; border-top: 1px solid var(--rule); margin-top: -1px; }
.cf-istream-count { font-size: 14px; color: var(--muted); }
.cf-istream-count b { display: inline-block; min-width: 3ch; font-size: 22px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.cf-istream-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.cf-istream-key li { display: inline-flex; align-items: center; gap: 8px; }
.cf-istream-key i { width: 12px; height: 16px; transform: skewY(30deg); border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.cf-istream-key .k-law { background: #fff; }
.cf-istream-key .k-pend { border-style: dashed; }
.cf-istream-key .k-hl { background: #d8b673; }
.cf-istream-src { margin-left: auto; font-size: 13px; color: var(--muted); }
.cf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; }

/* ---------- Why now: every date, full width ---------- */
.cf-dates-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 96px; margin-bottom: 26px; }
.cf-dates-head h3 { font-size: 24px; letter-spacing: -.015em; }
.cf-mq { position: relative; overflow: hidden; padding: 6px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.cf-mq-track { display: flex; width: max-content; will-change: transform; }
.cf-mq-list { position: relative; display: flex; list-style: none; margin: 0; padding: 0; }
.cf-mq-list::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 1px; background: var(--ink); opacity: .35; }
.cf-mq-item { position: relative; width: 268px; flex: none; padding: 0 30px 0 0; }
.cf-mq-item time { display: block; font-weight: 600; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cf-mq-item::before { content: ""; position: absolute; left: 0; top: 27px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.cf-mq-item.t-law::before { background: var(--ink); }
.cf-mq-item.t-sup::before { border-color: var(--gold); background: var(--gold); }
.cf-mq-item.t-draft::before { border-color: var(--gold); border-style: dashed; }
.cf-mq-item.t-fwk::before { border-color: #a8a194; }
.cf-mq-item b { display: block; margin-top: 30px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.cf-mq-item small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); }
.cf-mq-item.t-law small { color: var(--ink); }
.cf-mq-item p { margin-top: 8px; font: 400 15px/1.45 var(--read); color: var(--ink-2); max-width: 15.5em; }
.cf-mq-item.is-future time { color: var(--gold-deep); }
.cf-mq-item.is-today { width: 200px; }
.cf-mq-item.is-today::before { border-color: var(--decoy); background: var(--decoy); }
.cf-mq-item.is-today::after { content: ""; position: absolute; left: 6px; top: 46px; height: 64px; border-left: 1.5px dashed var(--decoy); }
.cf-mq-item.is-today time, .cf-mq-item.is-today b { color: var(--decoy); }
.cf-mq-item.is-today b { margin-top: 84px; }
.cf-mq-item.is-today p { margin-top: 4px; }
.cf-mq.is-static { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.cf-mq.is-static .cf-mq-list[aria-hidden] { display: none; }

/* ---------- Team links ---------- */
.cf-links { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.cf-links a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.cf-links b { font-weight: 600; font-size: 17px; }
.cf-links span { font-size: 14.5px; color: var(--muted); }
.cf-links a:hover b { color: var(--gold-deep); }
.cf-roster li { border-top-color: var(--rule); }
.cf-roster a { border-radius: 8px; }

/* ---------- Contact ---------- */
.cf-trace-summary { border-radius: 6px; border-style: solid; border-color: rgba(209, 179, 116, .3); }
.cf-form { border-color: transparent; }

/* ---------- Whitepaper: report, not a deck ---------- */
.wp-cover { padding: 120px 0 88px; }
.wp-kind { display: block; font-weight: 600; font-size: 14px; color: var(--gold-lit); margin-bottom: 22px; }
.wp-cover h1 { font-weight: 600; letter-spacing: -.035em; font-size: clamp(40px, 5vw, 72px); }
.wp-sub { font-size: 21px; }
.wp-meta dt { color: #a8a194; font-weight: 500; }
.wp-sec h2 { font-weight: 600; letter-spacing: -.028em; font-size: clamp(30px, 3.4vw, 44px); }
.wp-sec > p { font-size: 19px; line-height: 1.68; color: #36342e; }
.wp-lead { font-size: clamp(21px, 2vw, 24px) !important; line-height: 1.55 !important; }
.wp-keys { gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.wp-keys div { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 18px 18px 18px 0; }
.wp-keys div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.wp-keys b { font-weight: 500; }
.wp-quote { border-left: 0; padding: 0; margin: 40px 0; }
.wp-quote p { font-family: var(--read); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; max-width: 30em; }
.wp-callout { border-radius: 0; background: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 22px 0; }
.wp-callout b { color: var(--ink); }
.wp-callout-dark { background: var(--night); border: 0; border-radius: 6px; padding: 26px 30px; }
.wp-callout-dark b { background: none; color: #fff; -webkit-background-clip: border-box; background-clip: border-box; }
.wp-grid2 { gap: 0 36px; }
.wp-card { padding: 20px 0 6px; margin-bottom: 8px; }
.wp-card .cf-mono { color: var(--gold-deep); }
.wp-card h3 { font-weight: 600; font-size: 20px; margin-top: 6px; }
.wp-card p { font-size: 16.5px; }
.wp-table { border-radius: 0; box-shadow: none; border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: none; }
.wp-th { background: none; }
.wp-tf { background: none; color: var(--ink); border-top: 1px solid var(--ink); }
.wp-tf > span:first-child { color: var(--ink); }
.wp-tf .wp-num { color: var(--ink); }
.wp-aside { border-left: 0; padding-left: 0; font-size: 18px; }
.wp-note { background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 14px 0 0; font-family: var(--read); font-size: 15.5px !important; }
.wp-monitor { border-radius: 8px; background: var(--night); box-shadow: none; }
.wp-mon-grid div { border-radius: 4px; }
.wp-nudge { border-radius: 4px; }
.wp-limits { gap: 0 36px; }
.wp-limits li { background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 16px 0 18px; font-size: 17px; }
.wp-steps { gap: 0 20px; }
.wp-steps li { background: none; border: 0; border-top: 2px solid var(--rule); border-radius: 0; padding: 14px 0 0; }
.wp-steps li:has(.is-shown) { background: none; color: var(--ink); border-top-color: var(--gold); }
.wp-steps li:has(.is-shown) p { color: var(--ink-2); }
.wp-steps i { border-radius: 3px; }
.wp-toc li a.is-active { border-left-color: var(--ink); }
.wp-arch .a-box rect { filter: none; }
.wp-arch .a-zone { fill: none; }
.wp-arch .a-box text { font-family: var(--sans); }
.wp-arch .a-zlab, .wp-arch .a-small { font-family: var(--sans); letter-spacing: .02em; }
.cf-insurer { border-radius: 0; background: none; border-top: 1px solid var(--rule); padding: 18px 0; }
.cf-sdt-plot text, .cf-gauge text { font-family: var(--sans); font-weight: 600; }
.cf-cta img { opacity: .55; }

@media (max-width: 980px) {
  .cf-links { grid-template-columns: 1fr 1fr; }
  .cf-istream-src { margin-left: 0; }
}
@media (max-width: 720px) {
  .cf-istream { height: 380px; }
  .cf-istream .cf-sc-tag { font-size: 12.5px; padding: 6px 9px; }
  .cf-istream .cf-sc-tag span { width: 200px; }
  .cf-dates-head { margin-top: 64px; flex-direction: column; }
  .cf-mq-item { width: 230px; }
  .cf-links { grid-template-columns: 1fr; }
  .wp-keys div + div { border-left: 0; padding-left: 0; }
  .wp-keys div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
}
@media (prefers-reduced-motion: reduce) {
  .cf-istream .cf-sc-tag { opacity: 1; translate: 0 0; }
}
.cf-hero h1 { font-size: clamp(44px, 4.7vw, 74px); }
@media (min-width: 981px) { .cf-hero-grid { grid-template-columns: 1.25fr .85fr; gap: 72px; } }

.cf-flow li + li::before { content: counter(f); display: block; position: static; width: auto; height: auto; background: none; }
.cf-duel-side b, .wp-keys b, .cf-cell b, .cf-ring p b, .cf-gauge p b, .wp-callout b { font-variant-numeric: proportional-nums; letter-spacing: -.03em; }
.cf-trace { transition: opacity .4s var(--ease), color .5s var(--ease); }
.cf-trace.is-off { opacity: 0; pointer-events: none; }
.cf-bar-val, .cf-wf-row b, .cf-stack-row > b { font-variant-numeric: proportional-nums; }

/* =====================================================================
   v5: one visual language. Slanted vector slats, drag-and-scroll strips,
   a data ridge, a staircase, and a scroll-pinned stepper.
   ===================================================================== */

/* ---------- Strips: shared behaviour ---------- */
.cf-istream, .cf-mq { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; outline: none; }
.cf-istream.is-grabbing, .cf-mq.is-grabbing { cursor: grabbing; }
.cf-istream:focus-visible, .cf-mq:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
.cf-ctrl { display: inline-flex; align-items: center; gap: 6px; }
.cf-ctrl button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 17px; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.cf-ctrl button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cf-ctrl button:active { scale: .95; }
.cf-ctrl span { margin-left: 8px; font-size: 13px; color: var(--muted); }

/* ---------- 217 instruments: vector slats ---------- */
.cf-istream { height: 500px; }
.cf-istream .cf-stream-stage { transform: none; }
.cf-istream .cf-sc { bottom: -46px; width: auto; height: auto; }
.cf-sc-svg { display: block; overflow: visible; }
.cf-sc-poly { stroke: rgba(32, 32, 29, .78); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.cf-sc.is-pending .cf-sc-poly { stroke: rgba(32, 32, 29, .5); stroke-dasharray: 4 3; }
.cf-sc.is-hl .cf-sc-poly { stroke: var(--ink); stroke-width: 1.25; }
.cf-sc.is-hl .cf-sc-svg { filter: drop-shadow(-12px 4px 14px rgba(120, 88, 31, .28)); }
.cf-sc-shine { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cf-sc.is-pending .cf-sc-shine { stroke: rgba(255, 255, 255, .6); }

.cf-istream .cf-sc-tag { left: 0; bottom: calc(100% + 36px); padding: 9px 13px 10px; gap: 0; border: 1px solid var(--ink); border-radius: 3px; background: #fffdf8; box-shadow: 0 1px 0 rgba(32, 32, 29, .06); font: 600 15px/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.cf-istream .cf-sc-tag::after { left: -1px; height: 37px; border-left: 1px solid var(--ink); }
.cf-istream .cf-sc-tag span { width: 264px; font: 400 14px/1.4 var(--read); color: var(--ink-2); }
.cf-istream .cf-sc-tag span i { display: block; margin-bottom: 3px; font: 600 10.5px/1 var(--sans); letter-spacing: .1em; }
.cf-istream .cf-sc.is-focus .cf-sc-tag { box-shadow: 0 18px 36px -20px rgba(32, 32, 29, .6); }
.cf-istream .cf-sc.is-focus .cf-sc-tag span { max-height: 90px; margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--rule); }
.cf-istream .cf-sc.is-focus .cf-sc-poly { fill: url(#sl-hl); stroke-width: 1.5; }

.cf-istream-foot { align-items: center; gap: 14px 32px; padding-top: 22px; }
.cf-istream-count { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.cf-istream-count b { font-size: 30px; letter-spacing: -.02em; }
.cf-istream-key i { width: 14px; height: 18px; transform: skewY(30deg); border-radius: 1px; }
.cf-istream-key .k-law { background: linear-gradient(90deg, #fff, #e9dfc8); }
.cf-istream-key .k-pend { background: #faf7ef; }
.cf-istream-key .k-hl { background: linear-gradient(90deg, #f7f0df, #c39a52); }

/* ---------- Dates strip ---------- */
.cf-dates-head { align-items: center; }
.cf-dates-head h3 { margin-right: auto; font-size: 26px; }
.cf-mq { padding: 10px 0 12px; }
.cf-mq-item { width: 280px; padding-right: 34px; }
.cf-mq-item time { font-size: 15px; letter-spacing: -.01em; }
.cf-mq-item b { font-size: 19px; }
.cf-mq-item p { font-size: 15.5px; }
.cf-mq-item::before { top: 28px; width: 12px; height: 12px; }
.cf-mq-list::before { top: 34px; opacity: .3; }

/* ---------- The finding: the ridge ---------- */
.cf-ridge-fig { margin: 0 0 64px; }
.cf-ridge { position: relative; overflow-x: auto; overflow-y: hidden; padding: 0 32px; scrollbar-width: none; }
.cf-ridge::-webkit-scrollbar { display: none; }
.cf-ridge-in { position: relative; width: max-content; margin: 0 auto; padding-top: 44px; }
.cf-ridge svg { display: block; }
.cf-ridge polygon { stroke: rgba(32, 32, 29, .62); stroke-width: .8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.cf-ridge polygon.is-up { transform: translateY(54px); transition: transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.cf-ridge.is-in polygon.is-up { transform: none; }
.cf-ridge-g { transition: opacity .3s var(--ease); }
.cf-ridge svg:hover .cf-ridge-g:not(:hover) { opacity: .35; }
.cf-ridge-lab { position: absolute; top: 4px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.cf-ridge-lab b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.cf-ridge-fig figcaption { margin-top: 18px; font: 400 16px/1.5 var(--read); color: var(--muted); }
.cf-duel { margin-bottom: 40px; }
.cf-duel-bar { display: none; }

/* ---------- How it works: a staircase ---------- */
.cf-flow { align-items: end; gap: 0 14px; margin-bottom: 64px; }
.cf-flow li { position: relative; isolation: isolate; border-top: 0; padding: calc(var(--drop, 48px) + 22px) 24px 28px; min-height: 250px; }
.cf-flow li:nth-child(1) { margin-top: 120px; }
.cf-flow li:nth-child(2) { margin-top: 80px; }
.cf-flow li:nth-child(3) { margin-top: 40px; }
.cf-step-svg { position: absolute; inset: 0; z-index: -1; overflow: visible; }
.cf-step-svg polygon { stroke: rgba(32, 32, 29, .7); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .3s var(--ease); }
.cf-step-svg { filter: drop-shadow(-10px 6px 16px rgba(91, 70, 31, .12)); }
.cf-flow li:hover .cf-step-svg polygon { fill: url(#sl-hl); }
.cf-flow li::before, .cf-flow li + li::before { position: absolute; top: 14px; left: 24px; font-size: 13px; }
.cf-flow b { font-size: 21px; letter-spacing: -.015em; }

/* ---------- Working together: pinned, stepped by scroll ---------- */
.cf-pinned { position: relative; height: 440vh; background: var(--night); color: #f0ece4; }
.cf-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 92px 0 48px; }
.cf-pin .cf-night-bg { top: 0; height: 100%; translate: none; }
.cf-pin .cf-chapter-head { margin-bottom: 36px; }
.cf-pin .cf-loop-panel { min-height: 190px; }
.cf-pin .cf-sandbox { margin-top: 36px; }
.cf-pin-hint { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; font-size: 13px; color: #8d877b; }
.cf-loop-steps button[aria-selected="true"] { transition: background-color .35s var(--ease), color .35s var(--ease); }
.cf-loop-track i { transition: width .6s var(--ease); }

@media (max-width: 980px) {
  .cf-flow { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cf-flow li:nth-child(n) { margin-top: 0; }
}
@media (max-width: 720px) {
  .cf-istream { height: 400px; }
  .cf-istream .cf-sc-tag { font-size: 13px; padding: 7px 10px 8px; }
  .cf-istream .cf-sc-tag span { width: 210px; font-size: 13px; }
  .cf-ctrl span { display: none; }
  .cf-dates-head { flex-direction: row; flex-wrap: wrap; }
  .cf-dates-head h3 { width: 100%; font-size: 22px; }
  .cf-mq-item { width: 240px; }
  .cf-ridge { padding: 0 16px; }
  .cf-flow { grid-template-columns: 1fr; }
  .cf-flow li { min-height: 0; }
  .cf-pinned { height: 400vh; }
  .cf-pin { padding: 76px 0 40px; }
  .cf-pin .cf-chapter-head { margin-bottom: 20px; }
  .cf-pin .cf-chapter-head h2 { font-size: 30px; }
  .cf-pin .cf-sandbox, .cf-pin-hint { display: none; }
  .cf-pin .cf-loop-panel { gap: 14px; min-height: 0; }
  .cf-pin .cf-loop-panel h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-ridge polygon.is-up { transform: none; }
}
.cf-sc-svg, .cf-ridge svg, .cf-step-svg { max-width: none; }
.cf-trace.cf-trace-inv { pointer-events: none; z-index: 41; }
.cf-trace.cf-trace-inv, .cf-trace.cf-trace-inv ol, .cf-trace.cf-trace-inv li::before, .cf-trace.cf-trace-inv li a { transition: none; }
@media (min-width: 981px) {
  .cf-flow li:nth-child(n) { margin-top: 0; }
  .cf-flow li:nth-child(1) { min-height: 240px; }
  .cf-flow li:nth-child(2) { min-height: 284px; }
  .cf-flow li:nth-child(3) { min-height: 328px; }
  .cf-flow li:nth-child(4) { min-height: 372px; }
}
.cf-pinned { overflow: clip; }

/* ---------- The finding: unit grids under each number ---------- */
.cf-duel-side { justify-content: flex-start; }
.cf-duel-side > p:last-of-type { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.cf-waffle { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px 4px; width: 100%; max-width: 420px; margin-top: 22px; }
.cf-duel-clean .cf-waffle { margin-left: auto; direction: rtl; }
.cf-waffle i { display: block; aspect-ratio: 3 / 5; transform: skewY(-18deg); border: 1px solid rgba(32, 32, 29, .34); border-radius: 1px; background: #fffdf8; }
.cf-waffle.k-dec i.on { --c: var(--decoy); }
.cf-waffle.k-cln i.on { --c: var(--clean); }
.cf-waffle i.on { transition: background-color .45s var(--ease), border-color .45s var(--ease); transition-delay: var(--d, 0ms); }
.cf-waffle.is-in i.on { background: var(--c); border-color: var(--c); }
.cf-duel-take { font-size: 19px; }
@media (max-width: 720px) {
  .cf-waffle { grid-template-columns: repeat(10, 1fr); gap: 3px; margin-top: 14px; }
  .cf-duel-take { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cf-waffle i.on { transition: none; } }

/* =====================================================================
   v6: premium utilitarian minimalism. Editorial serif headings, sans
   body, warm monochrome, 1px hairlines, flat colour, pastel status.
   Semantic tokens only below this line.
   ===================================================================== */
:root {
  --canvas: #faf9f5;
  --surface: #ffffff;
  --surface-2: #f7f6f3;
  --text: #20201d;
  --text-2: #4a473f;
  --text-3: #787774;
  --border: rgba(32, 32, 29, .09);
  --border-strong: rgba(32, 32, 29, .2);
  --accent: #96722d;
  --accent-lit: #d1b374;
  --pale-yellow: #fbf3db; --on-pale-yellow: #7a5200;
  --pale-red: #fdebec; --on-pale-red: #9f2f2d;
  --pale-green: #edf3ec; --on-pale-green: #346538;
  --shadow-soft: 0 1px 2px rgba(32, 32, 29, .04), 0 8px 24px rgba(32, 32, 29, .04);
  --display: 'Source Serif 4', Georgia, serif;
  --read: var(--sans);
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px;
}

/* Type scale: serif display, sans body, mono for data */
h1, h2, .wp-sec h2, .cf-interlude p, .cf-dates-head h3, .cf-paper-copy b, .cf-matrix2 h3, .wp-cover h1, .cf-verdict h3, .cf-loop-panel h3, .cf-form h3 {
  font-family: var(--display); font-optical-sizing: auto; font-weight: 500; letter-spacing: -.028em;
}
.cf-hero h1 { font-size: clamp(48px, 5.4vw, 86px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; }
.cf-chapter-head h2, .cf-head-row h2, .cf-contact h2, .cf-cta h2, .cf-banner h2 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.03em; }
.wp-sec h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; }
.cf-interlude p { font-weight: 500; letter-spacing: -.03em; }
h3, .cf-fig-head h3, .cf-flow b, .cf-mq-item b, .wp-card h3 { font-family: var(--sans); }
body, p { line-height: 1.6; }
.cf-head-row > p, .cf-chapter-head > p:not(.cf-chapter-no) { font-family: var(--sans); font-size: 18px; color: var(--text-2); }
.wp-sec > p { font-family: var(--sans); font-size: 18px; line-height: 1.7; color: var(--text-2); }
.wp-lead { font-family: var(--display) !important; }
.wp-quote p { font-family: var(--display); }
.cf-sdt-say, .cf-duel-take { font-family: var(--display); }
.cf-chapter-no { color: var(--text-3); font-weight: 500; font-size: 14px; }
.cf-chapter-night .cf-chapter-no, .cf-contact .cf-chapter-no { color: #a8a194; }

/* Surfaces: hairline, flat, near-invisible shadow */
.cf-bench, .cf-form, .wp-table { border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.cf-form { border-color: transparent; }
.cf-rec, .cf-log-bar, .cf-bench-side { background: var(--surface-2); }
.cf-fig, .cf-matrix2, .wp-card { border-top-color: var(--border); }

/* Buttons */
.cf-btn { border-radius: var(--r-sm); }
.cf-btn-solid { background: #1b1b18; color: #fff; }
.cf-btn-solid:hover { background: #333330; }
.cf-btn:active { transform: scale(.98); }
.cf-btn-ghost { border-color: var(--border-strong); }

/* Status badges: pastel pills */
.cf-ok-tag, .cf-pill, .cf-verdict-tag, .cf-badge, .cf-v { display: inline-flex; align-items: center; border-radius: 9999px; padding: 4px 10px; font: 600 10.5px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; font-style: normal; border: 0; }
.cf-ok-tag, .cf-pill-sup, .cf-verdict-tag.good, .cf-v-ok { background: var(--pale-yellow); color: var(--on-pale-yellow); }
.cf-v-bad, .cf-verdict-tag.bad { background: var(--pale-red); color: var(--on-pale-red); }
.cf-pill-law { background: #1b1b18; color: #fff; }
.cf-pill-draft { background: var(--surface-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.cf-badge.shown { background: var(--accent-lit); color: #1b1b18; }
.cf-badge.method { background: rgba(255, 255, 255, .06); color: var(--accent-lit); box-shadow: inset 0 0 0 1px rgba(209, 179, 116, .4); }

/* ---------- Header ---------- */
.cf-header { background: rgba(250, 249, 245, .86); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.cf-header.is-scrolled { border-bottom-color: var(--border); }
.cf-header-inner { min-height: 64px; }
.cf-brand { gap: 12px; font-size: 14px; letter-spacing: .12em; }
.cf-brand img { width: 30px; height: 30px; border-radius: 7px; }
.cf-brand small { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--text-3); margin-top: 2px; }
.cf-nav { position: relative; gap: 0; }
.cf-nav a:not(.cf-btn) { position: relative; padding: 22px 11px; border-radius: 0; font-size: 14px; font-weight: 500; color: var(--text-2); background: none !important; transition: color .2s var(--ease); }
.cf-nav a:not(.cf-btn):hover, .cf-nav a[aria-current="true"]:not(.cf-btn) { color: var(--text); background: none; }
.cf-nav-ind { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--accent); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s var(--ease); }
.cf-nav .cf-nav-cta { margin-left: 14px; padding: 9px 14px; font-size: 14px; gap: 8px; }
.cf-nav-cta .i { font-size: 15px; }
.cf-header.is-dark { background: rgba(26, 26, 23, .82); border-bottom-color: rgba(240, 236, 228, .08); }
.cf-header.is-dark .cf-brand { color: #fff; }
.cf-header.is-dark .cf-brand small { color: #a8a194; }
.cf-header.is-dark .cf-nav a:not(.cf-btn) { color: #c9c2b5; }
.cf-header.is-dark .cf-nav a:not(.cf-btn):hover, .cf-header.is-dark .cf-nav a[aria-current="true"]:not(.cf-btn) { color: #fff; }
.cf-header.is-dark .cf-nav-ind { background: var(--accent-lit); }
.cf-header.is-dark .cf-nav-cta { background: var(--canvas); color: #1b1b18; }
.cf-header.is-dark .cf-menu { background: transparent; color: #fff; border-color: rgba(240, 236, 228, .25); }
.cf-header.is-dark .cf-progress { opacity: .7; }
@media (max-width: 1020px) {
  .cf-nav { position: fixed; inset: 64px 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 12px 20px 32px; background: var(--canvas); border: 0; overflow-y: auto; }
  .cf-nav a:not(.cf-btn) { padding: 16px 2px; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: var(--text); border-bottom: 1px solid var(--border); }
  .cf-header.is-dark .cf-nav a:not(.cf-btn) { color: var(--text); }
  .cf-nav .cf-nav-cta { margin: 22px 0 0; justify-content: center; padding: 14px; }
  .cf-header.is-dark .cf-nav .cf-nav-cta { background: #1b1b18; color: #fff; }
  .cf-nav-ind { display: none; }
}

/* ---------- Hero: the review log as a deck of slanted cases ---------- */
.cf-hero::after { content: ""; position: absolute; inset: 0 0 0 42%; pointer-events: none; background-image: radial-gradient(rgba(32, 32, 29, .16) 1px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(60% 60% at 60% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 60% 50%, #000, transparent 75%); }
.cf-deck, .cf-log.cf-deck { position: relative; z-index: 1; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; transform: none; }
.cf-deck-bar { display: flex; justify-content: space-between; gap: 12px; padding: 0 0 12px 30px; border-bottom: 1px solid var(--border); }
.cf-deck-cards { list-style: none; margin: 22px 0 18px; padding: 0; display: grid; gap: 12px; }
.cf-case { --off: 26px; margin-left: calc(var(--i) * var(--off)); margin-right: calc((3 - var(--i)) * var(--off)); perspective: 1100px; opacity: 0; animation: rise .7s var(--ease) forwards; animation-delay: calc(.45s + var(--i) * .12s); }
.cf-case-in { position: relative; height: 70px; transform-style: preserve-3d; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 110ms); }
.cf-log.is-revealed .cf-case-in { transform: rotateX(-180deg); }
.cf-case-f, .cf-case-b { position: absolute; inset: 0; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 0 22px 0 26px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 3px; box-shadow: var(--shadow-soft); backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: skewX(-14deg); }
.cf-case-b { transform: rotateX(180deg) skewX(-14deg); background: var(--surface-2); }
.cf-case-f > *, .cf-case-b > * { transform: skewX(14deg); }
.cf-case-f b, .cf-case-b b { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-case-b b { font-weight: 500; font-size: 14.5px; color: var(--text-2); }
.cf-case.is-wrong .cf-case-b { background: #fffafa; border-color: rgba(159, 47, 45, .35); }
.cf-case.is-wrong .cf-case-b b { color: var(--on-pale-red); }
.cf-deck-foot { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 12px 28px; padding: 16px 0 0 30px; border-top: 1px solid var(--border); }
.cf-deck .cf-log-score { padding: 0; }
.cf-deck .cf-log-score span { font-size: 12px; color: var(--text-3); }
.cf-deck .cf-log-score b { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.cf-deck .cf-log-score-alt { border: 0; }
.cf-deck .cf-log-toggle { justify-self: end; background: #1b1b18; color: #fff; border: 0; border-radius: var(--r-sm); padding: 10px 14px; font-size: 13.5px; font-weight: 600; }
.cf-deck .cf-log-toggle[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.cf-deck figcaption { border: 0; padding: 12px 0 0 30px; font-size: 12.5px; color: var(--text-3); }

/* ---------- Oc: light panel with a pilot readout ---------- */
.cf-oc { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 56px; row-gap: 18px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); padding: 34px 36px; }
.cf-oc > .cf-mono { color: var(--text-3); }
.cf-oc-term { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.cf-oc-term b { color: var(--text); }
.cf-oc-term span { color: var(--text-3); }
button.cf-oc-term:hover, .cf-oc-term[aria-expanded="true"] { background: var(--pale-yellow); border-color: var(--accent); }
.cf-oc-total { background: #1b1b18; border-color: #1b1b18; }
.cf-oc-total b { color: #fff; }
.cf-oc-total span { color: #c9c2b5; }
.cf-oc-op { color: var(--text-3); }
.cf-oc-group { border-color: rgba(150, 114, 45, .45); }
.cf-oc-glabel { background: var(--surface); color: var(--accent); }
.cf-oc-detail { color: var(--text-2); border-top-color: var(--border); }
.cf-oc-detail b { color: var(--text); }
.cf-oc-read { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; display: flex; flex-direction: column; gap: 16px; padding-left: 36px; border-left: 1px solid var(--border); }
.cf-oc-rh { font-size: 13px; font-weight: 600; color: var(--text-3); }
.cf-oc-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; }
.cf-oc-row > b { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1; }
.cf-oc-bar { position: relative; height: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); border-radius: 2px; transform: skewX(-24deg); overflow: hidden; }
.cf-oc-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); transition: width 1.2s .2s var(--ease); }
.cf-oc.is-visible .cf-oc-bar i { width: calc(var(--v) * 100%); }
.cf-oc-bar u { position: absolute; top: -3px; bottom: -3px; left: calc(var(--x) * 100%); width: 2px; background: var(--text); }
.cf-oc-row.is-na .cf-oc-bar { background: repeating-linear-gradient(90deg, var(--border) 0 4px, transparent 4px 8px); }
.cf-oc-row output { font-family: var(--code); font-size: 13.5px; font-weight: 500; color: var(--text); }
.cf-oc-row.is-na output { font-family: var(--sans); color: var(--text-3); }
.cf-oc-row small { grid-column: 2 / -1; font-size: 13px; color: var(--text-3); line-height: 1.4; }
.cf-oc-note { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }

/* ---------- Full-width whitepaper strip ---------- */
.cf-paper-card { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); border-radius: 0; grid-template-columns: 1fr 1fr; min-height: 380px; }
.cf-paper-copy { padding: 56px max(32px, calc(50vw - 580px)) 56px 48px; }
.cf-paper-art::after { background: linear-gradient(90deg, transparent 55%, var(--night)); }

/* ---------- Slats: flat colour ---------- */
.cf-istream .cf-sc.is-focus .cf-sc-poly { fill: url(#sl-hl-on); }
.cf-sc.is-hl .cf-sc-svg { filter: drop-shadow(-8px 4px 10px rgba(32, 32, 29, .08)); }
.cf-step-svg { filter: none; }
.cf-step-svg polygon { stroke: var(--border-strong); }
.cf-istream-key .k-law { background: #fff; }
.cf-istream-key .k-hl { background: var(--pale-yellow); }
.cf-sc-shine { stroke: rgba(255, 255, 255, 0); }

@media (max-width: 980px) {
  .cf-oc { grid-template-columns: 1fr; }
  .cf-oc-read { grid-column: 1; grid-row: auto; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--border); }
  .cf-paper-card { grid-template-columns: 1fr; }
  .cf-paper-copy { padding: 8px 24px 40px; }
}
@media (max-width: 720px) {
  .cf-hero::after { inset: 40% 0 0 0; }
  .cf-case { --off: 8px; }
  .cf-case-in { height: 62px; }
  .cf-case-f, .cf-case-b { grid-template-columns: 1fr auto; gap: 2px 10px; padding: 0 14px 0 18px; }
  .cf-case-f .cf-data, .cf-case-b .cf-data { grid-column: 1; font-size: 10.5px; }
  .cf-case-f b, .cf-case-b b { grid-column: 1; font-size: 14px; }
  .cf-case-f em, .cf-case-b em { grid-column: 2; grid-row: 1 / span 2; }
  .cf-deck-bar, .cf-deck-foot, .cf-deck figcaption { padding-left: 0; }
  .cf-deck-foot { grid-template-columns: 1fr 1fr; }
  .cf-deck .cf-log-toggle { grid-column: 1 / -1; justify-self: stretch; }
  .cf-oc { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-case { opacity: 1; animation: none; }
}
.cf-deck-foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; }
.cf-deck .cf-log-score b { white-space: nowrap; }
.cf-deck .cf-log-toggle { margin-left: auto; white-space: nowrap; }
@media (max-width: 720px) { .cf-deck .cf-log-toggle { margin-left: 0; width: 100%; justify-content: center; } }
.cf-case-b b { white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13.5px; }
.cf-case-f, .cf-case-b { grid-template-columns: 76px minmax(0, 1fr) auto; }

/* ---------- Instrument detail ---------- */
.cf-istream .cf-sc.is-hl { cursor: pointer; }
.cf-istream .cf-sc.is-open .cf-sc-poly { fill: url(#sl-hl-on); stroke-width: 1.6; }
.cf-idetail { position: relative; max-width: 760px; margin: 18px 0 6px; padding: 24px 28px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.cf-idetail.is-open { opacity: 1; transform: none; }
.cf-idetail h3 { font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -.02em; margin: 10px 0 8px; }
.cf-idetail > p { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.cf-idetail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--text-3); }
.cf-idetail-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; }
.cf-idetail-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-lit); text-underline-offset: 4px; }
.cf-idetail-links a:hover { color: var(--accent); }
.cf-idetail-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); font-size: 20px; line-height: 1; color: var(--text-2); }
.cf-idetail-x:hover { background: var(--surface-2); color: var(--text); }
.cf-istream-src a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 720px) { .cf-idetail { padding: 20px 18px; } .cf-idetail h3 { font-size: 24px; padding-right: 36px; } }

/* ---------- Instruments index ---------- */
.ix-head { padding: 96px 0 40px; }
.ix-head h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.04; max-width: 14em; margin-top: 4px; }
.ix-lede { margin-top: 20px; max-width: 44em; font-size: 19px; color: var(--text-2); }
.ix-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 44px 0 0; border-top: 1px solid var(--border); }
.ix-stats div { padding: 18px 20px 0 0; }
.ix-stats div + div { padding-left: 20px; border-left: 1px solid var(--border); }
.ix-stats dt { font-size: 13px; color: var(--text-3); }
.ix-stats dd { margin: 4px 0 0; font-family: var(--display); font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.ix-body { padding: 24px 0 96px; }
.ix-controls { position: sticky; top: 64px; z-index: 30; display: grid; grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(0, 1fr)) auto minmax(0, 1fr); gap: 8px; align-items: center; padding: 12px 0; background: rgba(250, 249, 245, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.ix-controls select, .ix-controls input[type="search"] { width: 100%; height: 40px; padding: 0 10px; font: 500 14px var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-sm); }
.ix-controls select:focus, .ix-controls input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ix-search { position: relative; }
.ix-search .i { position: absolute; left: 11px; top: 50%; translate: 0 -50%; color: var(--text-3); font-size: 16px; }
.ix-search input[type="search"] { padding-left: 34px; }
.ix-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; padding: 0 6px; }
.ix-check input { width: 16px; height: 16px; accent-color: var(--text); }
.ix-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 10px; }
.ix-bar p { font-size: 14px; color: var(--text-3); }
.ix-actions { display: flex; gap: 8px; }
.ix-list { border-top: 1px solid var(--text); }
.ix-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 220px; gap: 6px 28px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.ix-row.is-key { background: linear-gradient(var(--pale-yellow), var(--pale-yellow)) left / 3px 100% no-repeat; padding-left: 0; }
.ix-row.is-key .ix-year { padding-left: 16px; }
.ix-year { font-family: var(--code); font-size: 14px; color: var(--text-3); padding-top: 3px; }
.ix-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--text-3); }
.ix-keypill { background: var(--text); color: #fff; }
.ix-row h3 { margin: 8px 0 6px; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.ix-row h3 small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; color: var(--text-3); letter-spacing: 0; }
.ix-sum { font-size: 15.5px; line-height: 1.6; color: var(--text-2); max-width: 70ch; }
.ix-when { color: var(--text-3); }
.ix-note { margin-top: 6px; }
.ix-note summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-3); list-style: none; }
.ix-note summary::-webkit-details-marker { display: none; }
.ix-note summary::before { content: "+ "; }
.ix-note[open] summary::before { content: "\2212 "; }
.ix-note p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); max-width: 70ch; }
.ix-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 2px; }
.ix-links a { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px; }
.ix-links a.is-official { text-decoration-color: var(--accent); }
.ix-links a:hover { color: var(--accent); }
.ix-empty, .ix-error { padding: 40px 0; font-size: 16px; color: var(--text-2); }
.ix-method { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); max-width: 780px; }
.ix-method h2 { font-size: 28px; margin-bottom: 14px; }
.ix-method ul { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.ix-method b { color: var(--text); }
.ix-method a { font-weight: 600; color: var(--text); }
@media (max-width: 1100px) {
  .ix-controls { grid-template-columns: 1fr 1fr 1fr; position: static; }
  .ix-search { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .ix-head { padding: 64px 0 24px; }
  .ix-stats { grid-template-columns: 1fr 1fr; }
  .ix-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ix-controls { grid-template-columns: 1fr 1fr; }
  .ix-row { grid-template-columns: 1fr; }
  .ix-year { order: -1; }
  .ix-row.is-key .ix-year, .ix-row.is-key .ix-main, .ix-row.is-key .ix-links { padding-left: 14px; }
}
.ix-controls { display: flex; flex-wrap: wrap; }
.ix-controls > label { flex: 1 1 170px; }
.ix-controls > .ix-search { flex: 2 1 300px; }
.ix-controls > .ix-check { flex: 0 0 auto; }

.ix-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ix-head h1 { max-width: 16em; }
.ix-t1 { background: var(--text); color: #fff; }
.ix-t2 { background: var(--surface-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.ix-topics { margin-top: 8px; font-size: 12.5px; color: var(--text-3); }
.ix-more { display: flex; margin: 28px auto 0; }
@media (max-width: 720px) { .ix-stats { grid-template-columns: 1fr 1fr; } .ix-stats div:nth-child(odd) { padding-left: 0; border-left: 0; } .ix-stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); } }

/* ---------- Instrument popup ---------- */
.cf-idialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); margin: auto; padding: 30px 32px 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: 0 24px 60px -20px rgba(32, 32, 29, .35); opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.cf-idialog.is-open { opacity: 1; transform: none; }
.cf-idialog::backdrop { background: rgba(26, 26, 23, .42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.cf-idialog h3 { font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: -.02em; line-height: 1.12; margin: 12px 0 10px; padding-right: 34px; }
.cf-idialog > p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.cf-idialog .cf-idetail-meta { padding-right: 40px; }
.cf-idetail-src { margin-top: 10px; font-size: 13px !important; color: var(--text-3) !important; }

/* ---------- Back to today ---------- */
.cf-today-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--on-pale-red); border-radius: var(--r-sm); background: var(--pale-red); color: var(--on-pale-red); font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.cf-today-btn.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.cf-today-btn i { width: 8px; height: 8px; border-radius: 50%; background: var(--decoy); }
.cf-today-btn:hover { background: var(--on-pale-red); color: #fff; }

/* ---------- Your move: story + drawer ---------- */
.cf-move { position: relative; min-height: 100vh; min-height: 100svh; padding: 0; overflow: hidden; display: flex; }
.cf-move-inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 104px 0 56px; min-height: 100vh; min-height: 100svh; padding-right: 72px; }
.cf-move-top .cf-chapter-no { margin-bottom: 18px; }
.cf-move-bars { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; max-width: 760px; }
.cf-move-bars li { flex: 1; }
.cf-move-bars button { display: block; width: 100%; padding: 8px 0; background: none; border: 0; cursor: pointer; }
.cf-move-bars i { display: block; height: 3px; border-radius: 2px; background: rgba(240, 236, 228, .18); position: relative; overflow: hidden; }
.cf-move-bars i::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--accent-lit); }
.cf-move-bars li.is-done i::after { width: 100%; }
.cf-move-bars li.is-on i::after { animation: barFill var(--dur, 4000ms) linear forwards; }
.cf-move-bars.is-paused li.is-on i::after, .cf-move-bars.is-end li.is-on i::after { animation: none; width: 100%; }
@keyframes barFill { to { width: 100%; } }
.cf-move-slides { flex: 1; display: flex; align-items: center; max-width: 900px; min-height: 380px; }
.cf-slide { width: 100%; opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cf-slide.is-on { opacity: 1; transform: none; }
.cf-slide h2 { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.cf-slide h2.is-bad { color: #f3b9ad; }
.cf-slide h2.is-good { color: var(--accent-lit); }
.cf-big { font-weight: 500; color: var(--accent-lit); font-variant-numeric: proportional-nums; white-space: nowrap; }
.cf-slide-k { font-size: 14px; font-weight: 600; color: #a8a194; margin-bottom: 14px; }
.cf-slide-sub { margin-top: 22px; max-width: 40em; font-size: 19px; line-height: 1.55; color: #c9c2b5; }
.cf-slide-sub b { color: #fff; font-weight: 600; }
.cf-slide-sub a { color: var(--accent-lit); font-weight: 600; }
.cf-slide-bars { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 7px; max-width: 620px; }
.cf-slide-bars li { display: grid; grid-template-columns: 140px minmax(0, 1fr) 64px; align-items: center; gap: 14px; font-size: 13.5px; color: #a8a194; }
.cf-slide-bars i { height: 10px; border-radius: 2px; background: rgba(240, 236, 228, .08); position: relative; overflow: hidden; transform: skewX(-24deg); }
.cf-slide-bars i::after { content: ""; position: absolute; inset: 0; width: 0; background: rgba(240, 236, 228, .45); transition: width 1.1s .25s var(--ease); }
.cf-slide.is-on .cf-slide-bars i::after { width: calc(var(--w) * 100%); }
.cf-slide-bars li.is-max { color: #fff; }
.cf-slide-bars li.is-max i::after { background: var(--accent-lit); }
.cf-slide-bars b { font-family: var(--code); font-weight: 500; font-size: 12.5px; text-align: right; color: inherit; }
.cf-giraffes { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 28px; }
.cf-giraffes i { width: 26px; height: calc(var(--f) * 150px); background: var(--accent-lit); transform: skewX(-14deg) scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); transition-delay: var(--d); border-radius: 2px; }
.cf-slide.is-on .cf-giraffes i { transform: skewX(-14deg) scaleY(1); }
.cf-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; max-width: 760px; border-top: 1px solid rgba(240, 236, 228, .16); }
.cf-vs > div { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 4px 0; }
.cf-vs > div + div { padding-left: 24px; border-left: 1px solid rgba(240, 236, 228, .16); }
.cf-vs span { font-size: 13.5px; font-weight: 600; color: #a8a194; }
.cf-vs .cf-big { font-family: var(--display); font-size: clamp(56px, 7vw, 96px); line-height: 1; color: #fff; }
.cf-vs .is-trace .cf-big { color: var(--accent-lit); }
.cf-vs em { font-style: normal; font-size: 14.5px; color: #c9c2b5; }
.cf-slide-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cf-btn-ghost-dark { color: #f0ece4; border: 1px solid rgba(240, 236, 228, .3); background: transparent; }
.cf-btn-ghost-dark:hover { border-color: #f0ece4; }
.cf-move-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.cf-move-ctrl { display: flex; gap: 6px; }
.cf-move-ctrl button { height: 40px; min-width: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(240, 236, 228, .22); border-radius: var(--r-sm); background: transparent; color: #f0ece4; font-size: 13.5px; font-weight: 600; }
.cf-move-ctrl button:hover { background: rgba(240, 236, 228, .08); }
.cf-move .cf-contact-direct { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: 0; }
.cf-move .cf-contact-direct a { font-size: 16px; }

.cf-drawer { position: absolute; z-index: 5; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); transform: translateX(100%); transition: transform .6s var(--ease); }
.cf-drawer.is-open { transform: none; }
.cf-drawer-tab { position: absolute; top: 50%; right: 100%; translate: 0 -50%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 12px; border: 0; border-radius: var(--r-md) 0 0 var(--r-md); background: var(--canvas); color: #1b1b18; font-weight: 600; font-size: 14px; box-shadow: -8px 0 30px -12px rgba(0, 0, 0, .5); }
.cf-drawer-tab span { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .02em; }
.cf-drawer-tab .i { transition: transform .4s var(--ease); }
.cf-drawer.is-open .cf-drawer-tab .i { transform: rotate(180deg); }
.cf-drawer-tab:hover { background: #fff; }
.cf-drawer-body { position: relative; height: 100%; overflow-y: auto; background: var(--canvas); padding: 96px 32px 40px; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .6); }
.cf-drawer-body .cf-form { background: none; border: 0; box-shadow: none; padding: 0; }
.cf-drawer-x { position: absolute; top: 80px; right: 20px; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); font-size: 20px; line-height: 1; color: var(--text-2); }
.cf-move .cf-form-row { grid-template-columns: 1fr 1fr; }

@media (max-width: 720px) {
  .cf-idialog { padding: 24px 20px 20px; }
  .cf-idialog h3 { font-size: 24px; }
  .cf-move-inner { padding: 84px 0 40px; padding-right: 0; gap: 28px; }
  .cf-move-slides { min-height: 420px; align-items: flex-start; }
  .cf-slide-sub { font-size: 17px; }
  .cf-slide-bars li { grid-template-columns: 96px minmax(0, 1fr) 52px; gap: 8px; font-size: 12px; }
  .cf-vs { grid-template-columns: 1fr; }
  .cf-vs > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(240, 236, 228, .16); }
  .cf-drawer { width: 100vw; position: fixed; z-index: 60; }
  .cf-drawer-tab { top: auto; bottom: 16px; right: 16px; translate: none; flex-direction: row; padding: 12px 16px; border-radius: var(--r-sm); position: fixed; }
  .cf-drawer-tab span { writing-mode: horizontal-tb; transform: none; }
  .cf-drawer:not(.is-in-view) .cf-drawer-tab { opacity: 0; pointer-events: none; }
  .cf-drawer.is-open .cf-drawer-tab { display: none; }
  .cf-drawer-body { padding: 72px 18px 32px; }
  .cf-drawer-x { top: 18px; }
  .cf-move .cf-form-row { grid-template-columns: 1fr; }
}
.cf-move-inner { transition: padding-right .6s var(--ease); }
@media (min-width: 721px) { .cf-move:has(.cf-drawer.is-open) .cf-move-inner { padding-right: min(560px, 44vw); } .cf-move:has(.cf-drawer.is-open) .cf-slide h2 { font-size: clamp(34px, 3.6vw, 60px); } }

/* ---------- Cover: the stamp desk ---------- */
.cf-sh { min-height: calc(100svh - 64px); padding: 72px 0 64px; }
.cf-sh::after { display: none; }
.cf-sh-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.cf-sh h1 { font-size: clamp(46px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.035em; }
.cf-sh-lede { margin-top: 24px; max-width: 26em; font-size: 19px; color: var(--text-2); }
.cf-sh-tally { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 40px 0 0; border-top: 1px solid var(--border); }
.cf-sh-tally div { padding: 16px 28px 0 0; }
.cf-sh-tally div + div { padding-left: 28px; border-left: 1px solid var(--border); }
.cf-sh-tally dt { font-size: 13px; color: var(--text-3); }
.cf-sh-tally dd { margin: 2px 0 0; font-family: var(--display); font-size: 44px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: proportional-nums; }
.cf-sh-tally div:last-child dd { color: var(--on-pale-red); }

.cf-desk { position: relative; height: 540px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface) radial-gradient(rgba(32, 32, 29, .13) 1px, transparent 1.3px) 0 0 / 22px 22px; box-shadow: var(--shadow-soft); overflow: hidden; touch-action: manipulation; }
@media (hover: hover) { .cf-desk.is-aiming { cursor: none; } .cf-desk.is-aiming .cf-desk-hit { cursor: none; } }
.cf-desk-label { position: absolute; top: 18px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.cf-desk-label.is-in { left: 42%; }
.cf-desk-label.is-out { left: 22px; bottom: 18px; top: auto; }
.cf-desk-cards { list-style: none; margin: 0; padding: 0; }
.cf-dc { position: absolute; left: 0; top: 0; width: min(300px, 56%); display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; background: #fff; border: 1px solid var(--border-strong); border-radius: 4px; box-shadow: 0 1px 2px rgba(32, 32, 29, .05), 0 10px 24px -14px rgba(32, 32, 29, .25); transform-origin: 0 0; transition: transform .55s var(--ease), opacity .4s var(--ease); }
.cf-dc b { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.cf-dc-ai { font-size: 13px; color: var(--text-3); }
.cf-dc-ink { position: absolute; right: 14px; top: 36%; font: 700 15px/1 var(--code); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--decoy); padding: 7px 10px; border: 2.5px solid currentColor; border-radius: 4px; transform: rotate(-12deg) scale(1.6); opacity: 0; transition: transform .18s cubic-bezier(.3, 1.4, .5, 1), opacity .12s; }
.cf-dc.is-stamped .cf-dc-ink { opacity: .9; transform: rotate(-12deg) scale(1); }
.cf-dc-truth { position: absolute; left: 20px; bottom: -11px; font: 600 10.5px/1 var(--sans); font-style: normal; letter-spacing: .05em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--pale-yellow); color: var(--on-pale-yellow); opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cf-dc.is-bad .cf-dc-truth { background: var(--pale-red); color: var(--on-pale-red); }
.cf-desk.is-done .cf-dc-truth { opacity: 1; transform: none; }
.cf-desk.is-done .cf-dc.is-bad { border-color: var(--on-pale-red); }
.cf-desk-stamp { position: absolute; left: 0; top: 0; z-index: 400; width: 120px; pointer-events: none; transition: transform .12s linear; }
.cf-desk-stamp svg { display: block; width: 120px; height: auto; filter: drop-shadow(0 12px 14px rgba(32, 32, 29, .22)); transition: transform .12s var(--ease); }
.cf-desk-stamp.is-down svg { transform: translateY(26px) scale(.94); filter: drop-shadow(0 3px 4px rgba(32, 32, 29, .3)); }
.cf-desk-stamp .st-handle { fill: #2b2a26; }
.cf-desk-stamp .st-face { fill: var(--decoy); }
.cf-desk-stamp .st-text { font: 700 13px var(--code); letter-spacing: .12em; fill: #fff; text-anchor: middle; }
.cf-desk-hit { position: absolute; inset: 0; z-index: 300; width: 100%; border: 0; background: transparent; cursor: pointer; }
.cf-desk-hit:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.cf-desk-cue { position: absolute; left: 42%; bottom: 22px; font-size: 13.5px; font-weight: 600; color: var(--text); padding: 7px 12px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: rgba(255, 255, 255, .9); }
.cf-desk.is-done .cf-desk-cue { opacity: 0; }
.cf-desk-result { position: absolute; z-index: 500; right: 18px; top: 18px; bottom: 18px; width: min(58%, 380px); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 26px 26px 24px; background: rgba(255, 255, 255, .96); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-soft); animation: rise .5s var(--ease) both; }
.cf-desk-result p { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.cf-desk-result b { color: var(--text); }
.cf-desk-result b.is-bad { color: var(--on-pale-red); }
.cf-desk-big { font-family: var(--display); font-size: 30px !important; line-height: 1.15 !important; letter-spacing: -.02em; color: var(--text) !important; }
.cf-desk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.cf-desk-note { position: absolute; right: 18px; bottom: 16px; font-size: 12px; color: var(--text-3); }
.cf-desk.is-done .cf-desk-note { display: none; }

/* ---------- Try one: the case file ---------- */
@media (min-width: 981px) { .cf-file { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.cf-file .cf-bench-main { position: relative; padding: 0 30px 28px; }
.cf-file-tab { display: flex; justify-content: space-between; gap: 12px; margin: 0 -30px 22px; padding: 14px 30px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.cf-file .cf-bench-label { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 10px; font-size: 14px; font-weight: 600; }
.cf-file .cf-bench-label span { font-weight: 400; font-size: 13px; color: var(--text-3); }
.cf-file .cf-record { border-radius: var(--r-sm) var(--r-sm) 0 0; border-bottom-color: transparent; }
.cf-file .cf-record[aria-expanded="true"] { background: var(--surface); color: var(--text); border-color: var(--border-strong); border-bottom-color: var(--surface); position: relative; z-index: 1; margin-bottom: -1px; }
.cf-sheets { min-height: 118px; padding: 18px 20px; border: 1px solid var(--border-strong); border-radius: 0 var(--r-sm) var(--r-sm) var(--r-sm); background: var(--surface); }
.cf-sheet-empty { font-size: 14.5px; color: var(--text-3); }
.cf-file .cf-record-body { margin: 0; padding: 0; border: 0; background: none; animation: rise .3s var(--ease) both; }
.cf-file .cf-record-body .cf-data { font-size: 11px; letter-spacing: .08em; margin-bottom: 8px; }
.cf-file .cf-record-body p:last-child { font-size: 16.5px; line-height: 1.55; color: var(--text); }
.cf-file .cf-decide { gap: 12px; margin-top: 0; padding-top: 0; border-top: 0; }
.cf-stampbtn { position: relative; padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(-3deg); transition: transform .15s var(--ease); }
.cf-stampbtn span { display: inline-block; padding: 9px 16px; font: 700 14px/1 var(--code); letter-spacing: .14em; text-transform: uppercase; border: 2.5px solid currentColor; border-radius: 4px; }
.cf-stampbtn.is-release { color: var(--decoy); }
.cf-stampbtn.is-hold { color: var(--text); transform: rotate(2deg); }
.cf-stampbtn.is-escalate { color: var(--accent); transform: rotate(-1deg); }
.cf-stampbtn:hover { transform: rotate(0) translateY(-2px); }
.cf-stampbtn:active { transform: scale(.94); }
.cf-file .cf-decide.is-done { opacity: .35; }
.cf-file-mark { position: absolute; right: 34px; top: 120px; padding: 12px 20px; font: 700 30px/1 var(--code); letter-spacing: .16em; text-transform: uppercase; border: 4px solid currentColor; border-radius: 6px; transform: rotate(-11deg) scale(1.8); opacity: 0; pointer-events: none; transition: transform .22s cubic-bezier(.3, 1.4, .5, 1), opacity .15s; }
.cf-file-mark.is-on { opacity: .82; transform: rotate(-11deg) scale(1); }
.cf-file-mark.is-approve { color: var(--decoy); }
.cf-file-mark.is-hold { color: var(--text); }
.cf-file-mark.is-escalate { color: var(--accent); }
.cf-file .cf-bench-side { display: flex; flex-direction: column; gap: 14px; background: #1b1b18; color: #e3ddd2; border-left: 0; }
.cf-side-h { font-size: 13px; font-weight: 600; color: var(--accent-lit); }
.cf-file .cf-telemetry { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.cf-file .cf-telemetry li { flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid rgba(240, 236, 228, .12); border-radius: var(--r-sm); font-size: 12.5px; }
.cf-file .cf-telemetry span { color: #a8a194; }
.cf-file .cf-telemetry b { text-align: left; font-size: 15px; color: #fff; }
.cf-feed { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid rgba(240, 236, 228, .12); max-height: 200px; overflow-y: auto; display: grid; gap: 6px; font-size: 14px; scrollbar-width: thin; }
.cf-feed li { display: grid; grid-template-columns: 50px 1fr; gap: 8px; animation: rise .35s var(--ease) both; color: #e3ddd2; }
.cf-feed li .cf-data { color: #8d877b; font-size: 12px; }
.cf-feed li.is-key { color: var(--accent-lit); }
.cf-feed li.is-bad { color: #f3b9ad; }
.cf-feed li.is-dim { color: #8d877b; }
.cf-feed em { font-style: normal; color: #a8a194; }
.cf-file .cf-verdict { margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(240, 236, 228, .12); }
.cf-file .cf-verdict h3 { color: #fff; }
.cf-file .cf-verdict p, .cf-file .cf-verdict small { color: #c9c2b5; }
.cf-file .cf-verdict a, .cf-file .cf-verdict .cf-link-btn { color: var(--accent-lit); }

@media (max-width: 980px) {
  .cf-sh-grid { grid-template-columns: 1fr; gap: 32px; }
  .cf-desk { height: 480px; }
}
@media (max-width: 720px) {
  .cf-sh { padding: 40px 0 48px; }
  .cf-sh-tally dd { font-size: 32px; }
  .cf-sh-tally div { padding-right: 16px; } .cf-sh-tally div + div { padding-left: 16px; }
  .cf-desk { height: 440px; }
  .cf-dc { width: 72%; padding: 14px 16px 16px; }
  .cf-dc b { font-size: 20px; }
  .cf-desk-label.is-in { left: 12%; }
  .cf-desk-cue { left: 12%; }
  .cf-desk-result { left: 12px; right: 12px; width: auto; top: auto; bottom: 12px; }
  .cf-file .cf-bench-main { padding: 0 16px 20px; }
  .cf-file-tab { margin: 0 -16px 18px; padding: 12px 16px; }
  .cf-file-mark { right: 12px; top: 96px; font-size: 22px; }
}
.cf-desk-result[hidden], .cf-sheet-empty[hidden] { display: none; }
@media (min-width: 981px) { .cf-sh-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; } }
.cf-sh h1 { font-size: clamp(44px, 4.6vw, 74px); }
.cf-desk-stamp { transition: transform .12s linear, opacity .3s; } .cf-desk.is-done .cf-desk-stamp { opacity: 0; }

/* ---------- Stamp desk v2 ---------- */
.cf-sh-tally { grid-template-columns: repeat(4, auto); }
.cf-sh-tally dd { font-size: 40px; }
.cf-sh-tally div:nth-child(2) dd { color: var(--text-2); }
.cf-desk-hit, .cf-desk-stamp, .cf-desk-cue { display: none !important; }
.cf-desk-label.is-rej { left: auto; right: 22px; bottom: 58px; top: auto; }
.cf-desk-label.is-out { bottom: 58px; }
.cf-dc { overflow: visible; }
.cf-dc b { font-size: 22px; }
.cf-dc.is-approve { border-color: rgba(138, 58, 46, .45); }
.cf-dc.is-reject { border-color: rgba(32, 32, 29, .45); }
.cf-desk.is-done .cf-dc.is-bad.is-approve { box-shadow: 0 0 0 2px var(--on-pale-red); }

.cf-ink { position: absolute; z-index: 5; width: 150px; transform: translate(-50%, -50%) rotate(var(--r, -6deg)) scale(1.5); opacity: 0; pointer-events: none; animation: inkIn .22s cubic-bezier(.3, 1.4, .5, 1) forwards; mix-blend-mode: multiply; }
.cf-ink svg { display: block; width: 100%; height: auto; }
.cf-ink.is-approve { color: #8f2f24; }
.cf-ink.is-reject { color: #23262d; }
.cf-ink.is-card { width: 140px; }
@keyframes inkIn { to { opacity: .88; transform: translate(-50%, -50%) rotate(var(--r, -6deg)) scale(1); } }
.cf-ink.is-page { z-index: 2; width: 190px; }
.cf-ink.is-fading { transition: opacity .8s var(--ease); opacity: 0 !important; animation: none; transform: translate(-50%, -50%) rotate(var(--r, -6deg)); }
.cf-ink-cap { position: absolute; left: 50%; top: 100%; margin-top: 10px; transform: translateX(-50%) rotate(calc(var(--r, 0deg) * -1)); white-space: nowrap; font: 600 13px var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 5px 10px; box-shadow: var(--shadow-soft); mix-blend-mode: normal; }
.cf-sh { position: relative; }

.cf-stamper { position: fixed; left: 0; top: 0; z-index: 90; width: 140px; pointer-events: none; will-change: transform; transition: opacity .25s; }
.cf-stamper.is-away { opacity: 0; }
.cf-stamper svg { display: block; width: 140px; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 18px 16px rgba(32, 32, 29, .25)) drop-shadow(0 4px 4px rgba(32, 32, 29, .2)); transition: transform .11s var(--ease), filter .11s var(--ease); }
.cf-stamper.is-down svg { transform: translateY(10px) scale(.97, .93); filter: drop-shadow(0 3px 3px rgba(32, 32, 29, .35)); }
.cf-stamper .st-label-t { font: 700 10px var(--code); letter-spacing: .1em; fill: #8f2f24; }
.cf-stamper .st-inkrim { fill: #8f2f24; }
.cf-stamper.is-reject .st-label-t { fill: #23262d; }
.cf-stamper.is-reject .st-inkrim { fill: #23262d; }
@media (hover: hover) { .cf-sh.is-stamping, .cf-sh.is-stamping * { cursor: none; } .cf-sh.is-stamping.is-over-ui a, .cf-sh.is-stamping.is-over-ui button { cursor: pointer; } }


.cf-desk-intro { position: absolute; z-index: 600; inset: 18px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 32px; background: rgba(255, 255, 255, .95); border: 1px solid var(--border); border-radius: var(--r-md); }
.cf-desk-intro[hidden] { display: none; }
.cf-desk-intro-k { font-size: 13px; font-weight: 600; color: var(--text-3); }
.cf-desk-intro-h { font-family: var(--display); font-size: 34px; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.cf-desk-intro ul { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.cf-desk-intro li { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.cf-desk-intro kbd { min-width: 96px; padding: 6px 10px; font: 500 13px var(--code); text-align: center; background: var(--surface-2); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: var(--r-sm); }
.cf-ink-chip { display: inline-block; padding: 6px 12px; font: 700 13px/1 var(--code); letter-spacing: .14em; text-transform: uppercase; border: 2.5px solid currentColor; border-radius: 4px; transform: rotate(-4deg); filter: url(#cf-ink); }
.cf-ink-chip.is-approve { color: #8f2f24; }
.cf-ink-chip.is-reject { color: #23262d; }
.cf-desk-intro-s { max-width: 34em; font-size: 14px; color: var(--text-2); }
.cf-desk-ctrl { position: absolute; z-index: 350; left: 50%; bottom: 16px; translate: -50% 0; display: flex; gap: 10px; }
.cf-desk-ctrl .cf-stampbtn span { padding: 7px 12px; font-size: 12.5px; background: rgba(255, 255, 255, .9); }
.cf-desk-note { right: 18px; bottom: 22px; }
.cf-desk-quiet { font-size: 14px !important; color: var(--text-3) !important; }
.cf-desk-result { z-index: 650; }

/* story pause */
.cf-move-bars.is-frozen li.is-on i::after { animation-play-state: paused; }
.cf-move-ctrl [data-move="pause"][aria-pressed="true"] { background: rgba(240, 236, 228, .12); border-color: var(--accent-lit); }
@media (max-width: 720px) {
  .cf-desk-intro { padding: 22px 18px; }
  .cf-desk-intro-h { font-size: 26px; }
  .cf-sh-tally { grid-template-columns: repeat(2, auto); }
  .cf-sh-tally div:nth-child(3) { padding-left: 0; border-left: 0; }
  .cf-desk-note { display: none; }
  .cf-desk-label.is-out, .cf-desk-label.is-rej { bottom: 64px; }
}

/* ---------- Desk: layering, green and red ink, self-stamping intro ---------- */
.cf-desk { isolation: isolate; }
.cf-stamper { z-index: 1200; }
.cf-ink.is-approve, .cf-ink-chip.is-approve { color: #2d6a39; }
.cf-ink.is-reject, .cf-ink-chip.is-reject { color: #a3271e; }
.cf-stamper .st-label-t, .cf-stamper .st-inkrim { fill: #2d6a39; }
.cf-stamper.is-reject .st-label-t, .cf-stamper.is-reject .st-inkrim { fill: #a3271e; }
.cf-dc.is-approve { border-color: rgba(45, 106, 57, .5); }
.cf-dc.is-reject { border-color: rgba(163, 39, 30, .5); }
.cf-desk-ctrl { display: none; }
.cf-desk-cards { transition: opacity .5s var(--ease); }
.cf-desk:not(.is-ready) .cf-desk-cards, .cf-desk:not(.is-ready) .cf-desk-label { opacity: 0; }
.cf-desk.is-ready .cf-dc { animation: deal .6s var(--ease) both; }
.cf-desk.is-ready .cf-dc:nth-child(2) { animation-delay: .06s; } .cf-desk.is-ready .cf-dc:nth-child(3) { animation-delay: .12s; } .cf-desk.is-ready .cf-dc:nth-child(4) { animation-delay: .18s; }
@keyframes deal { from { opacity: 0; translate: 40px -20px; } to { opacity: 1; translate: 0 0; } }
.cf-desk-intro { inset: 0; align-items: center; text-align: center; gap: 18px; background: rgba(255, 255, 255, .97); border: 0; border-radius: 0; transition: inset .6s var(--ease), padding .6s var(--ease), background-color .6s, border-radius .6s; }
.cf-desk-intro ul { gap: 18px; justify-items: center; }
.cf-desk-intro li { gap: 18px; }
.cf-desk-intro kbd { min-width: 110px; font-size: 14px; }
.cf-ink-chip { padding: 10px 18px; font-size: 22px; border-width: 4px; opacity: 0; transform: rotate(-5deg) scale(2.4); }
.cf-desk.is-intro .cf-ink-chip { animation: slam .42s cubic-bezier(.2, 1.5, .45, 1) both; }
.cf-desk.is-intro li:nth-child(1) .cf-ink-chip { animation-delay: .35s; }
.cf-desk.is-intro li:nth-child(2) .cf-ink-chip { animation-delay: 1.05s; --rot: 4deg; }
@keyframes slam { 0% { opacity: 0; transform: rotate(var(--rot, -5deg)) scale(2.4); } 70% { opacity: 1; transform: rotate(var(--rot, -5deg)) scale(.94); } 100% { opacity: .95; transform: rotate(var(--rot, -5deg)) scale(1); } }
.cf-desk.is-intro .cf-desk-intro ul { animation: thud .5s .62s both, thud .5s 1.32s both; }
@keyframes thud { 0%, 100% { translate: 0 0; } 30% { translate: 0 3px; } 60% { translate: 0 -1px; } }
.cf-desk-intro.is-mini { inset: 12px auto auto 12px; padding: 8px 10px; gap: 0; background: rgba(255, 255, 255, .92); border: 1px solid var(--border); border-radius: var(--r-sm); }
.cf-desk-intro.is-mini .cf-desk-intro-k, .cf-desk-intro.is-mini .cf-desk-intro-s { display: none; }
.cf-desk-intro.is-mini ul { grid-auto-flow: column; gap: 14px; animation: none; }
.cf-desk-intro.is-mini li { gap: 8px; }
.cf-desk-intro.is-mini kbd { min-width: 0; padding: 3px 7px; font-size: 11px; }
.cf-desk-intro.is-mini .cf-ink-chip { padding: 4px 8px; font-size: 11px; border-width: 2px; opacity: 1; animation: none; transform: rotate(var(--rot, -5deg)); }
.cf-desk-intro.is-mini { z-index: 320; }
.cf-desk-label.is-in { top: 64px; }

/* ---------- Your move: centred, lines roll up and fade ---------- */
.cf-move-top { text-align: center; }
.cf-move-top .cf-chapter-no { justify-content: center; }
.cf-move-bars { margin: 0 auto; }
.cf-move-slides { display: grid; place-items: center; width: 100%; max-width: 980px; margin: 0 auto; text-align: center; }
.cf-slide, .cf-slide.is-on { grid-area: 1 / 1; opacity: 1; transform: none; transition: none; width: 100%; }
.cf-slide > * { opacity: 0; transform: translateY(42px); transition: transform .85s var(--ease), opacity .6s var(--ease); transition-delay: calc(var(--k, 0) * 110ms); }
.cf-slide.is-on > * { opacity: 1; transform: none; }
.cf-slide.is-out > * { opacity: 0; transform: translateY(-42px); transition: transform .6s var(--ease), opacity .45s var(--ease); transition-delay: calc(var(--k, 0) * 50ms); }
.cf-slide-sub { margin-left: auto; margin-right: auto; }
.cf-slide-bars { margin-left: auto; margin-right: auto; text-align: left; }
.cf-giraffes { justify-content: center; }
.cf-vs { margin-left: auto; margin-right: auto; text-align: left; }
.cf-slide-cta { justify-content: center; }
.cf-move-foot { justify-content: center; flex-direction: column; align-items: center; }
.cf-move .cf-contact-direct { justify-content: center; }

/* ---------- Oc panel, restructured: a typeset equation with a readout ---------- */
.cf-oc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "lab lab" "eq read" "det read"; column-gap: 56px; row-gap: 0; padding: 0; overflow: hidden; }
.cf-oc > .cf-mono { grid-area: lab; display: flex; justify-content: space-between; gap: 12px; padding: 18px 32px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-3); background: var(--surface-2); }
.cf-oc > .cf-mono::after { content: "Scores the workflow, never a person"; font-weight: 500; }
.cf-oc-eq { grid-area: eq; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 14px; padding: 40px 0 8px 32px; }
.cf-oc-term, button.cf-oc-term, .cf-oc-total { min-width: 0; padding: 4px 6px 6px; background: none; border: 0; border-radius: var(--r-sm); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cf-oc-term b, .cf-oc-total b { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(48px, 5vw, 68px); line-height: 1; color: var(--text); }
.cf-oc-total b { color: var(--text); }
.cf-oc-total sub { font-size: .45em; }
.cf-oc-term span, .cf-oc-total span { font-size: 12.5px; font-weight: 500; color: var(--text-3); border-bottom: 2px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s; }
button.cf-oc-term { cursor: pointer; }
button.cf-oc-term:hover, .cf-oc-term[aria-expanded="true"] { background: none; border: 0; }
button.cf-oc-term:hover b, .cf-oc-term[aria-expanded="true"] b { color: var(--accent); }
button.cf-oc-term:hover span, .cf-oc-term[aria-expanded="true"] span { color: var(--text); border-bottom-color: var(--accent); }
.cf-oc-total { background: none; }
.cf-oc-op { font-family: var(--display); font-size: clamp(36px, 3.6vw, 48px); line-height: 1; padding-top: clamp(8px, 1vw, 14px); color: var(--text-3); }
.cf-oc-group { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 0 6px 34px; border: 0; border-radius: 0; }
.cf-oc-group::before { content: ""; position: absolute; left: 4px; right: 4px; bottom: 22px; height: 9px; border: 1.5px solid var(--accent-lit); border-top: 0; border-radius: 0 0 4px 4px; }
.cf-oc-glabel { position: absolute; left: 50%; top: auto; bottom: 0; translate: -50% 0; padding: 0; background: none; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--accent); white-space: nowrap; }
.cf-oc-detail { grid-area: det; margin: 8px 0 32px 32px; padding: 16px 18px; min-height: 0; font-size: 15px; color: var(--text-2); background: var(--surface-2); border: 0; border-radius: var(--r-sm); }
.cf-oc-read { grid-area: read; grid-column: auto; grid-row: auto; padding: 34px 32px 30px 32px; border-left: 1px solid var(--border); gap: 18px; }
@media (max-width: 980px) {
  .cf-oc { grid-template-columns: 1fr; grid-template-areas: "lab" "eq" "det" "read"; }
  .cf-oc-eq { padding: 28px 20px 4px; justify-content: center; }
  .cf-oc-detail { margin: 6px 20px 24px; }
  .cf-oc-read { padding: 24px 20px; border-left: 0; border-top: 1px solid var(--border); }
  .cf-oc > .cf-mono { padding: 14px 20px; flex-direction: column; }
}

/* ---------- Whitepaper: simulator presets on one line ---------- */
.wp-body .cf-sdt { grid-template-columns: 1fr; gap: 26px; }
.wp-body .cf-sdt-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.wp-body .cf-sdt-controls .cf-seg { grid-column: 1 / -1; justify-self: start; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.wp-body .cf-sdt-controls .cf-seg button { white-space: nowrap; }
.wp-body .cf-sdt-controls .cf-sdt-read { grid-column: 1 / -1; }
@media (max-width: 720px) { .wp-body .cf-sdt-controls { grid-template-columns: 1fr; } }
.cf-oc > .cf-mono::after { content: none; }
.k-touch { display: none; } @media (hover: none) { .k-touch { display: inline; } .k-mouse { display: none; } }

/* ---------- Desk: cursor back when done, legend off on desktop, mobile stamp bar ---------- */
.cf-stamper.is-off { opacity: 0; }
@media (hover: hover) { .cf-desk-intro.is-mini { display: none; } }
.cf-desk-mbar { display: none; }
@media (hover: none) {
  .cf-desk-intro.is-mini { display: none; }
  .cf-desk-mbar { position: fixed; z-index: 1300; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .3s var(--ease), translate .3s var(--ease); }
  .cf-sh.is-stamping.is-inview .cf-desk-mbar { opacity: 1; translate: 0 0; pointer-events: auto; }
  .cf-desk-mbar button { height: 54px; border: 0; border-radius: var(--r-md); font: 700 15px/1 var(--code); letter-spacing: .14em; text-transform: uppercase; color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
  .cf-desk-mbar [data-stamp="approve"] { background: #2d6a39; }
  .cf-desk-mbar [data-stamp="reject"] { background: #a3271e; }
  .cf-desk-mbar button:active { transform: scale(.97); }
}

/* Original sources: popup list and /instruments link column */
.cf-idetail-orig { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.cf-idetail-h, .ix-links-h { margin: 0 0 8px; font-family: var(--mono, 'IBM Plex Mono', monospace); font-size: 11.5px !important; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3) !important; }
.cf-idetail-orig ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cf-idetail-orig a { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 600; font-size: 14.5px; line-height: 1.4; color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.cf-idetail-orig a .i { flex: none; align-self: center; }
.cf-idetail-orig a:hover { color: var(--accent); }
.ix-links-h { display: block; margin: 6px 0 0; }
.ix-links-h:first-child { margin-top: 0; }
.ix-links a { line-height: 1.35; }
.ix-links a .i { flex: none; }
.ix-extra { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); }
.ix-extra h2 { font-size: 28px; margin-bottom: 10px; }
.ix-extra-lede { max-width: 70ch; font-size: 15.5px; color: var(--text-2); margin-bottom: 8px; }
.ix-extra .ix-year { font-size: 12px; line-height: 1.35; }

/* Brand mark is white line art on transparent: darken it on light surfaces, keep it white on dark ones */
.cf-brand img { filter: invert(1); transition: filter .3s ease; }
.cf-header.is-dark .cf-brand img { filter: none; }
.ix-links a.is-official, .cf-idetail-orig a { display: inline; }
.ix-links a.is-official .i, .cf-idetail-orig a .i { display: inline-block; vertical-align: -2px; margin-left: 4px; }

/* Mobile-only helper: completely invisible on desktop (> 768px) */
.cf-m-only { display: none; }

/* =====================================================================
   Lean Mobile Experience (<= 768px ONLY; desktop > 768px 100% untouched)
   ===================================================================== */
@media (max-width: 768px) {
  .cf-m-only { display: block; }

  /* Global spacing, container alignment & clean editorial typography */
  body { overflow-x: clip; }
  .cf-wrap { width: 100%; max-width: 100%; padding-inline: 20px; margin-inline: auto; }
  .cf-chapter { padding: 52px 0; }
  .cf-chapter-head { margin-bottom: 24px; }
  .cf-chapter-no { margin-bottom: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
  .cf-chapter-head h2, .cf-head-row h2, .cf-contact h2, .cf-cta h2, .cf-banner h2 {
    font-size: clamp(27px, 7.2vw, 34px);
    line-height: 1.1;
    letter-spacing: -.028em;
  }
  .cf-head-row { gap: 10px; }
  .cf-head-row > p, .cf-chapter-head > p:not(.cf-chapter-no) {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 8px;
    border-left: 0;
    padding: 0;
    color: var(--text-2);
  }
  .cf-head-row > p { margin-top: 2px; }

  /* Header & streamlined mobile nav (absolute below sticky header so backdrop-filter doesn't clip fixed height to 0) */
  .cf-header-inner { min-height: 58px; }
  .cf-brand { font-size: 13.5px; gap: 9px; }
  .cf-brand img { width: 28px; height: 28px; }
  .cf-menu { padding: 7px 14px; font-size: 13px; }
  .cf-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100dvh - 58px);
    max-height: calc(100vh - 58px);
    z-index: 60;
    padding: 16px 20px 32px;
    background: var(--canvas);
    border-top: 1px solid var(--border);
    box-shadow: 0 24px 48px -20px rgba(32, 32, 29, .28);
  }
  .cf-nav a[href="#try"] { display: none; }
  .cf-nav a:not(.cf-btn) { padding: 14px 2px; font-size: 22px; }
  .cf-nav .cf-nav-cta { margin-top: 18px; }

  /* Remove heavy interactive desktop-only sections & secondary clutter on mobile */
  .cf-stamper,
  #top .cf-sh-grid,
  #try,
  .cf-interlude,
  #finding .cf-waffle,
  #finding .cf-duel-mid,
  #finding .cf-paper-art,
  #how .cf-photo-tall,
  #how .cf-oc > .cf-mono,
  #how .cf-oc-eq,
  #how .cf-oc-detail,
  #why-now .cf-head-row > p,
  #why-now .cf-istream,
  #why-now .cf-istream-foot,
  #why-now .cf-dates-head,
  #why-now .cf-mq,
  #team .cf-photo,
  #contact .cf-move-inner,
  #contact .cf-drawer-tab,
  #contact .cf-drawer-x {
    display: none !important;
  }

  /* 1. Clean Editorial Mobile Hero */
  .cf-sh { min-height: 0; padding: 36px 0 44px; }
  .cf-m-hero { display: flex; flex-direction: column; gap: 14px; }
  .cf-m-eyebrow {
    font: 600 11px/1.3 var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-deep);
  }
  .cf-m-h1 {
    font-family: var(--display);
    font-size: clamp(34px, 9.5vw, 44px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.035em;
    color: var(--text);
  }
  .cf-m-h1 em { font-style: normal; color: var(--accent); }
  .cf-m-lede {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-2);
    max-width: 34ch;
  }
  .cf-m-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
  }
  .cf-m-actions .cf-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 15px;
  }
  .cf-m-meta {
    margin-top: 4px;
    font: 500 11.5px/1.4 var(--mono);
    letter-spacing: .04em;
    color: var(--text-3);
  }

  /* 2. The Finding (Core concept: clean 2-stat comparison + sleek Whitepaper link card) */
  .cf-duel {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 18px;
    border-radius: var(--r-lg);
  }
  .cf-duel-side {
    padding: 18px 14px;
    text-align: left;
    align-items: flex-start;
    gap: 4px;
  }
  .cf-duel-clean { border-left: 1px solid var(--line); }
  .cf-duel-side .cf-mono { font-size: 10px; letter-spacing: .08em; }
  .cf-duel-side b { font-size: clamp(34px, 9.5vw, 44px); line-height: 1; margin: 2px 0; }
  .cf-duel-side > p:last-of-type { font-size: 12.5px; color: var(--text-3); }
  .cf-duel-take {
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
  }

  .cf-paper-card {
    width: auto;
    margin-left: 0;
    border-radius: var(--r-lg);
    grid-template-columns: 1fr;
    min-height: 0;
    border: 1px solid rgba(209, 179, 116, .28);
  }
  .cf-paper-copy { padding: 22px 20px; gap: 10px; }
  .cf-paper-copy .cf-kick {
    font: 600 10.5px/1 var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-lit);
  }
  .cf-paper-copy b { font-size: 21px; line-height: 1.18; }
  .cf-paper-meta { font-size: 13.5px; line-height: 1.45; color: #c9c2b5; }
  .cf-paper-card .cf-more-go { margin-top: 4px; font-size: 14px; }

  /* 3. How It Works (4 clean numbered cards + compact Oc readout) */
  .cf-split-head { gap: 0; margin-bottom: 24px; }
  .cf-flow { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .cf-flow li {
    min-height: 0;
    padding: 16px 16px 16px 46px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }
  .cf-flow li:hover { transform: none; }
  .cf-flow li::before, .cf-flow li + li::before { top: 18px; left: 16px; font-size: 12px; }
  .cf-flow .cf-step-svg { display: none; }
  .cf-flow b { font-size: 16px; margin-top: 0; }
  .cf-flow li > span:last-child { font-size: 14px; line-height: 1.45; color: var(--text-2); }

  .cf-oc {
    display: block;
    margin-top: 0;
    border-radius: var(--r-lg);
    padding: 0;
  }
  .cf-oc-read {
    padding: 18px 16px;
    border-left: 0;
    border-top: 0;
    gap: 12px;
  }
  .cf-oc-rh { font-size: 11.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
  .cf-oc-row { gap: 4px 10px; }
  .cf-oc-row > b { font-size: 18px; }
  .cf-oc-row output { font-size: 12.5px; }
  .cf-oc-row small { font-size: 12.5px; }
  .cf-oc-note { padding-top: 12px; font-size: 12px; }

  /* 4. Working Together (Clean unpinned 5-step loop + guarantees) */
  .cf-pinned { height: auto; overflow: visible; }
  .cf-pin { position: static; height: auto; overflow: visible; padding: 52px 0; }
  .cf-pin .cf-chapter-head { margin-bottom: 20px; }
  .cf-pin .cf-chapter-head h2 { font-size: clamp(27px, 7.2vw, 34px); }
  .cf-loop-steps {
    display: flex;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 6px;
    padding-bottom: 0;
  }
  .cf-loop-steps li { flex: 0 0 auto; }
  .cf-loop-steps button {
    width: auto;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .cf-loop-steps button span { display: inline; margin: 0 5px 0 0; font-size: 10.5px; }
  .cf-loop-track { margin: 14px 0 18px; }
  .cf-pin .cf-loop-panel { gap: 12px; min-height: 0; }
  .cf-pin .cf-loop-panel h3 { font-size: 22px; margin-top: 8px; }
  .cf-loop-panel li { padding: 8px 0; font-size: 14px; }
  .cf-pin .cf-sandbox {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(240, 236, 228, .12);
  }
  .cf-sandbox li { padding: 2px 0; font-size: 12.5px; gap: 7px; }
  .cf-sandbox .i { font-size: 15px; }
  .cf-pin-hint { display: none; }

  /* 5. Why Now (Clean mobile regulatory summary & milestone cards) */
  .cf-why { padding-bottom: 52px; }
  .cf-m-why { display: flex; flex-direction: column; gap: 16px; }
  .cf-m-why-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    overflow: hidden;
  }
  .cf-m-why-stats div {
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }
  .cf-m-why-stats div + div { border-left: 1px solid var(--border); }
  .cf-m-why-stats b {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    color: var(--text);
  }
  .cf-m-why-stats span { font-size: 11px; line-height: 1.25; color: var(--text-3); }
  .cf-m-why-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .cf-m-why-list li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }
  .cf-m-why-list b { display: block; font-size: 15.5px; font-weight: 600; color: var(--text); }
  .cf-m-why-list p { margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
  .cf-m-why-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
  }

  /* 6. Team & Links */
  .cf-people { gap: 0; }
  .cf-people .cf-chapter-head { margin-bottom: 16px; }
  .cf-roster li { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; }
  .cf-initials { width: 40px; height: 40px; font-size: 17px; }
  .cf-roster b { font-size: 15px; }
  .cf-roster div span { font-size: 12.5px; }
  .cf-roster a { width: 34px; height: 34px; }
  .cf-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    margin-top: 24px;
  }
  .cf-links a { padding: 12px 0; }
  .cf-links b { font-size: 15px; }
  .cf-links span { font-size: 12.5px; }

  /* 7. Contact: clean inline pilot call form directly in flow (no slideshow / no floating drawer) */
  .cf-move {
    display: block;
    min-height: 0;
    padding: 48px 20px;
    background: var(--night);
  }
  .cf-drawer {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    z-index: auto;
  }
  .cf-drawer-body {
    height: auto;
    overflow: visible;
    padding: 24px 20px;
    border-radius: var(--r-lg);
    background: var(--canvas);
    box-shadow: var(--shadow-soft);
  }
  .cf-drawer-body .cf-form { gap: 12px; }
  .cf-drawer-body .cf-form h3 { font-size: 23px; line-height: 1.15; }
  .cf-move .cf-form-row { grid-template-columns: 1fr; gap: 12px; }
  .cf-m-direct {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 14px;
  }
  .cf-m-direct a { color: var(--text); font-weight: 600; text-decoration: none; }
  .cf-m-direct span { font-size: 12.5px; color: var(--text-3); }

  /* Sources & Footer */
  .cf-sources { padding: 20px 0; }
  .cf-sources-grid { gap: 14px; margin-top: 14px; font-size: 13px; }
  .cf-footer {
    position: relative;
    z-index: 1;
    background: var(--bg);
    padding: 32px 0 calc(48px + env(safe-area-inset-bottom));
  }
  .cf-footer-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cf-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    width: 100%;
  }
  .cf-footer nav a { padding: 2px 0; font-size: 14.5px; }
  .cf-copy { width: 100%; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; }
}

@media (max-width: 380px) {
  .cf-pin .cf-sandbox { grid-template-columns: 1fr; gap: 8px; }
}
