/* ═══════════════════════════════════════════════
   THEBAUSFFS / Good Death.
   ═══════════════════════════════════════════════ */

:root {
  --ink: #08090b;
  --coal: #111318;
  --slate: #1b1e25;
  --bone: #f3eee3;
  --bone-dim: #b9b4a8;
  --crust: #f2a93b;
  --crumb: #c46f24;
  --arena: #3d7bff;
  --death: #ff4332;
  --live: #2fe07a;

  --bg: var(--ink);
  --fg: var(--bone);
  --muted: rgba(243, 238, 227, .56);
  --line: rgba(243, 238, 227, .16);
  --accent: var(--crust);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --pad: clamp(18px, 3.2vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; height: 100vh; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--crust); color: var(--ink); }

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -.01em;
  text-transform: none;
}

/* themes */
section { position: relative; background: var(--bg); color: var(--fg); }
.theme-bone {
  --bg: var(--bone); --fg: var(--ink);
  --muted: rgba(8, 9, 11, .6); --line: rgba(8, 9, 11, .16); --accent: var(--crumb);
}
.theme-crust {
  --bg: var(--crust); --fg: var(--ink);
  --muted: rgba(8, 9, 11, .68); --line: rgba(8, 9, 11, .22); --accent: var(--ink);
}

/* shared */
.sec-head {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.sec-head span:nth-child(2) { color: var(--fg); }
@media (max-width: 640px) { .sec-head { grid-template-columns: 44px 1fr; } .sec-head span:nth-child(3) { display: none; } }

.display {
  font-weight: 900;
  font-stretch: 112%;
  font-size: clamp(44px, 8.4vw, 148px);
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.display .serif { font-size: 1.08em; letter-spacing: -.03em; line-height: .8; }
.display--huge { font-size: clamp(54px, 11.6vw, 210px); line-height: .86; }

.line { display: block; overflow: hidden; padding: .04em .06em .16em 0; margin: -.04em -.06em -.16em 0; }
.line > span { display: block; will-change: transform; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  transition: background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn--bread { background: var(--crust); color: var(--ink); }
.btn--bread i { font-style: normal; font-size: 18px; transition: transform .5s var(--ease-out); }
.btn--bread:hover { background: var(--bone); }
.btn--bread:hover i { transform: rotate(-38deg) translateY(-4px) scale(1.25); }
.btn--line { border: 1px solid currentColor; }
.btn--line:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ───────────── grain ───────────── */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-2%, 3%); } 80% { transform: translate(4%, 1%); } 100% { transform: translate(0, 0); }
}

/* ───────────── loader ───────────── */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--pad);
}
.loader__top, .loader__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); }
.loader__kda {
  align-self: center;
  font-weight: 900; font-stretch: 70%;
  font-size: clamp(90px, 24vw, 420px);
  line-height: .8; letter-spacing: -.04em;
  display: flex; align-items: baseline; gap: .04em;
  font-variant-numeric: tabular-nums;
}
.loader__kda i { font-style: normal; font-weight: 200; opacity: .3; }
.loader__k { opacity: .28; }
.loader__d { color: var(--death); }
.loader__bar { width: min(34vw, 320px); height: 2px; background: var(--line); position: relative; overflow: hidden; }
.loader__bar b { position: absolute; inset: 0; background: var(--crust); transform: scaleX(0); transform-origin: left; }
html:not(.js) .loader { display: none; }

/* ───────────── cursor ───────────── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--crust);
  display: grid; place-items: center;
  opacity: 0;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s, opacity .3s;
  mix-blend-mode: normal;
}
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(242, 169, 59, .28); backdrop-filter: blur(2px); }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--crust); }
.cursor__label {
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); text-align: center; line-height: 1.1; padding: 6px;
  opacity: 0; transform: scale(.6); transition: opacity .2s, transform .35s var(--ease-out);
}
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

#bread { position: fixed; inset: 0; z-index: 140; pointer-events: none; width: 100%; height: 100%; }

/* ───────────── nav ───────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--pad);
  color: #fff;
  mix-blend-mode: difference;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-stretch: 115%; text-transform: uppercase; letter-spacing: -.01em; font-size: 15px; }
.nav__brand img { width: 34px; height: 34px; transition: transform .6s var(--ease-out); }
.nav__brand:hover img { transform: rotate(-18deg) scale(1.15); }
.nav__links { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__spacer { width: 230px; flex: none; }
@media (max-width: 1020px) { .nav__spacer { display: none; } }

/* ───────────── live status ───────────── */
.livepill { position: fixed; top: 13px; right: var(--pad); z-index: 101; transition: transform .6s var(--ease); }
.livepill.is-hidden { transform: translateY(-160%); }
.livepill__link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: 999px;
  background: rgba(8, 9, 11, .72); color: var(--bone);
  border: 1px solid rgba(243, 238, 227, .28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  white-space: nowrap; will-change: transform;
  transition: border-color .4s, background .4s;
}
.livepill__link:hover { background: var(--ink); border-color: var(--bone); }
.is-live .livepill__link { border-color: rgba(47, 224, 122, .6); }
.livedot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: rgba(243, 238, 227, .45); flex: none; transition: background .4s; }
.is-live .livedot { background: var(--live); box-shadow: 0 0 10px rgba(47, 224, 122, .8); }
.is-live .livedot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--live); animation: ping 1.8s var(--ease-out) infinite; }
.is-offline .livedot { background: rgba(243, 238, 227, .28); }
@media (max-width: 560px) { .livepill__more { display: none; } .livepill__link { padding: 10px 13px; gap: 7px; } }
.btn .livedot { display: none; }
.is-live .btn .livedot { display: block; }
@keyframes pulse { 50% { opacity: .2; } }
@media (max-width: 1020px) { .nav__links { display: none; } }

/* ───────────── HUD ───────────── */
.hud {
  position: fixed; left: 50%; bottom: 18px; z-index: 95;
  display: flex; align-items: center; gap: 0;
  padding: 0 6px;
  background: rgba(8, 9, 11, .78);
  border: 1px solid rgba(243, 238, 227, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--bone);
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0; transform: translate(-50%, 24px);
  pointer-events: none;
  transition: opacity .5s, transform .6s var(--ease-out);
}
.is-ready .hud.is-on { opacity: 1; transform: translate(-50%, 0); }
.hud__row { display: flex; gap: 10px; padding: 10px 14px; }
.hud__row + .hud__row { border-left: 1px solid rgba(243, 238, 227, .14); }
.hud__row span { opacity: .5; }
.hud em { font-style: normal; }
.hud__deaths { color: var(--death); display: inline-block; }
.hud__verdict { color: var(--crust); }
@media (max-width: 700px) { .hud { bottom: 12px; font-size: 10px; } .hud__row { padding: 8px 10px; gap: 6px; } .hud__row:last-child { display: none; } }

.toasts { position: fixed; left: 0; right: 0; bottom: 66px; z-index: 96; display: grid; gap: 6px; justify-items: center; pointer-events: none; }
.toast {
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--crust); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; width: max-content; max-width: 86vw;
  animation: toast 2.6s var(--ease-out) forwards;
}
.toast b { color: #8a1408; }
@keyframes toast {
  0% { opacity: 0; transform: translateY(14px) scale(.96); }
  10%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-10px); }
}
@media (max-width: 700px) { .toasts { bottom: 54px; } }

/* ───────────── HERO ───────────── */
.hero {
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #000;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 48% 12%; transform-origin: 52% 30%; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 9, 11, .96) 0%, rgba(8, 9, 11, .55) 26%, rgba(8, 9, 11, 0) 56%),
    linear-gradient(to bottom, rgba(8, 9, 11, .55) 0%, rgba(8, 9, 11, 0) 22%);
}
.hero__meta {
  position: absolute; top: 84px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; gap: 20px;
  color: rgba(243, 238, 227, .8);
}
.hero__meta p { display: grid; gap: 4px; }
.hero__meta-r { text-align: right; }
.hero__content { position: relative; padding: 0 var(--pad) clamp(18px, 2.6vw, 36px); }
.hero__kicker {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(22px, 3.1vw, 54px); line-height: 1; letter-spacing: -.01em;
  margin-bottom: clamp(4px, .6vw, 10px);
  color: var(--crust);
}
.hero__kicker em { display: inline-block; font-style: inherit; }
.hero__title {
  font-weight: 900; font-stretch: 100%;
  font-size: 15.2vw; /* refined by JS fit */
  line-height: .78; letter-spacing: -.045em;
  white-space: nowrap;
  margin-left: -.04em;
  padding-top: .06em;
  overflow: hidden;
  text-transform: uppercase;
}
.hero__title .ch { display: inline-block; will-change: transform; }
.hero__foot {
  display: grid; grid-template-columns: minmax(0, 46ch) auto 1fr; align-items: end; gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(14px, 1.8vw, 28px);
  padding-top: clamp(12px, 1.4vw, 20px);
  border-top: 1px solid rgba(243, 238, 227, .22);
}
.hero__lede { font-size: clamp(14px, 1.15vw, 18px); line-height: 1.4; color: rgba(243, 238, 227, .86); font-weight: 400; }
.hero__scroll { justify-self: end; display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 46px; background: rgba(243, 238, 227, .3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--crust); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 760px) {
  .hero__meta { top: 72px; font-size: 10px; }
  .hero__media img { object-position: 57% 0%; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .hero__content { padding-bottom: 84px; }
}

/* ───────────── marquee ───────────── */
.marquee {
  background: var(--crust); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  padding: clamp(10px, 1.4vw, 20px) 0;
  position: relative; z-index: 2;
}
.marquee__track { display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); will-change: transform; padding-right: clamp(18px, 2.4vw, 40px); }
.marquee__track span { font-weight: 900; font-stretch: 118%; font-size: clamp(30px, 5vw, 84px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.marquee__track span.serif { font-weight: 400; text-transform: none; font-size: clamp(34px, 5.6vw, 94px); }
.marquee__track i { font-style: normal; font-size: clamp(16px, 2vw, 30px); }

/* ───────────── STORY ───────────── */
.story { padding: clamp(40px, 6vw, 96px) var(--pad) clamp(70px, 10vw, 170px); }
.story__big {
  font-weight: 600; font-stretch: 96%;
  font-size: clamp(28px, 4.5vw, 82px);
  line-height: 1.04; letter-spacing: -.03em;
  max-width: 20em;
  margin: clamp(40px, 7vw, 120px) 0 clamp(60px, 9vw, 150px);
}
.story__big em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--crumb); letter-spacing: -.015em; font-size: 1.06em; }
.w { display: inline-block; }
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}
.story__portrait {
  position: relative;
  aspect-ratio: 1 / 1.06;
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.story__portrait::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 38%, rgba(61, 123, 255, .55), transparent 70%), radial-gradient(40% 40% at 78% 12%, rgba(242, 169, 59, .5), transparent 70%);
}
.story__portrait img { position: relative; width: 104%; max-width: none; will-change: transform; filter: contrast(1.04) saturate(.95); }
.story__ring { position: absolute; top: 5%; right: 5%; width: 30%; color: var(--crust); animation: spin 18s linear infinite; z-index: 2; }
.story__ring svg { width: 100%; height: auto; display: block; overflow: visible; }
.story__ring text { font-family: var(--f-mono); font-size: 15.2px; font-weight: 700; letter-spacing: .12em; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

.story__portrait { position: sticky; top: 96px; }
.story__right { display: grid; gap: clamp(36px, 5vw, 80px); }
.story__facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(16px, 3vw, 48px); align-content: start; font-size: 12px; }
.story__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.story__facts dt { color: var(--muted); }
.story__facts dd { text-align: right; }
.story__cols { display: grid; }
.story__cols article { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 40px); padding: clamp(20px, 2.4vw, 38px) 0; border-top: 1px solid var(--line); }
.story__cols article:last-child { border-bottom: 1px solid var(--line); }
.story__cols h3 { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 40px); letter-spacing: -.03em; line-height: 1; display: flex; gap: 12px; align-items: baseline; }
.story__cols h3 .mono { color: var(--crumb); }
.story__cols p { font-size: clamp(15px, 1.2vw, 19px); line-height: 1.5; color: rgba(8, 9, 11, .78); }
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__portrait { position: relative; top: 0; }
  .story__cols article { grid-template-columns: 1fr; gap: 10px; }
  .story__facts { grid-template-columns: 1fr; }
}

/* ───────────── NUMBERS ───────────── */
.numbers { padding: clamp(40px, 6vw, 96px) var(--pad) clamp(70px, 10vw, 160px); }
.numbers > .display { margin: clamp(40px, 6vw, 100px) 0 clamp(40px, 6vw, 100px); }
.numbers .display .serif { color: var(--death); }
.stats { display: grid; grid-template-columns: repeat(12, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat {
  grid-column: span 4;
  padding: clamp(18px, 2vw, 32px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; min-height: clamp(200px, 20vw, 320px);
  position: relative; overflow: hidden;
  transition: color .4s;
}
.stat::before { content: ""; position: absolute; inset: 0; background: var(--crust); transform: translateY(101%); transition: transform .6s var(--ease); }
.stat:hover::before { transform: none; }
.stat:hover { color: var(--ink); }
.stat:hover .stat__label, .stat:hover p { color: rgba(8, 9, 11, .72); }
.stat > * { position: relative; }
.stat--xl { grid-column: span 8; grid-row: span 2; }
.stat__label { color: var(--muted); transition: color .4s; }
.stat__num {
  font-weight: 900; font-stretch: 68%;
  font-size: clamp(64px, 9vw, 170px); line-height: .82; letter-spacing: -.035em;
  margin-top: auto;
  font-variant-numeric: tabular-nums;
}
.stat--xl .stat__num { font-size: clamp(110px, 24vw, 460px); line-height: .76; }
.stat__num small { font-size: .42em; font-weight: 800; margin-left: .04em; color: var(--crust); transition: color .4s; }
.stat:hover .stat__num small { color: var(--ink); }
.stat p { font-size: 14px; color: var(--muted); max-width: 32ch; transition: color .4s; }
.stat--death .stat__num { color: var(--death); }
.stat--death:hover .stat__num { color: var(--ink); }
.stat:nth-child(7) { grid-column: span 12; min-height: 0; flex-direction: row; align-items: flex-end; flex-wrap: wrap; gap: 14px 32px; }
.stat:nth-child(7) .stat__num { margin-top: 0; order: -1; }
.stat:nth-child(7) .stat__label { margin-right: auto; }
@media (max-width: 900px) {
  .stat, .stat--xl { grid-column: span 6; grid-row: auto; }
  .stat--xl, .stat:nth-child(7) { grid-column: span 12; }
}
@media (max-width: 560px) { .stat { grid-column: span 12; min-height: 170px; } }

.bars { margin-top: clamp(60px, 9vw, 150px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); }
.bars__head h3 { font-weight: 800; font-stretch: 108%; font-size: clamp(24px, 2.8vw, 46px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 18px; }
.bars__head h3 .serif { color: var(--crust); font-size: 1.1em; }
.bars__head p { color: var(--muted); }
.bars__list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.bars__name { font-size: clamp(14px, 1.2vw, 18px); }
.bars__list b { font-size: 13px; color: var(--crust); }
.bars__bar { grid-column: 1 / -1; height: 10px; background: rgba(243, 238, 227, .07); border-radius: 2px; overflow: hidden; }
.bars__bar i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--crust); border-radius: 2px; transform-origin: left; }
.bars__list li:not(:first-child) .bars__bar i { background: rgba(242, 169, 59, .55); }
@media (max-width: 900px) { .bars { grid-template-columns: 1fr; } }

/* ───────────── LAW ───────────── */
.law { padding: clamp(40px, 6vw, 96px) var(--pad) clamp(70px, 10vw, 160px); }
.law__statement { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin: clamp(40px, 6vw, 100px) 0 clamp(50px, 7vw, 120px); }
.law__explain { font-size: clamp(16px, 1.35vw, 22px); line-height: 1.4; font-weight: 500; max-width: 34ch; padding-bottom: 1em; }
.calc {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--ink); color: var(--bone);
  border-radius: 10px; overflow: hidden;
}
.calc__inputs { padding: clamp(22px, 3vw, 48px); display: grid; gap: clamp(18px, 2vw, 30px); border-right: 1px solid rgba(243, 238, 227, .14); }
.calc__title { color: rgba(243, 238, 227, .5); }
.slider { display: grid; gap: 10px; }
.slider__top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-stretch: 110%; text-transform: uppercase; font-size: clamp(15px, 1.3vw, 20px); letter-spacing: -.01em; }
.slider output { font-weight: 900; font-stretch: 70%; font-size: clamp(30px, 3vw, 48px); line-height: .8; font-variant-numeric: tabular-nums; color: var(--crust); }
.slider--death output { color: var(--death); }
.slider__hint { color: rgba(243, 238, 227, .5); font-size: 10px; margin-top: -2px; }
.calc__maths { color: rgba(243, 238, 227, .42); text-transform: none; letter-spacing: 0; font-size: 11px; line-height: 1.55; max-width: 62ch; margin-top: 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: grab; --p: 50%; --c: var(--crust); }
.slider--death input[type=range] { --c: var(--death); }
input[type=range]:active { cursor: grabbing; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--c) var(--p), rgba(243, 238, 227, .18) var(--p)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(243, 238, 227, .18); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--c); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--bone); border: 6px solid var(--c); transition: transform .25s var(--ease-out); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--bone); border: 6px solid var(--c); }
input[type=range]:hover::-webkit-slider-thumb { transform: scale(1.2); }
input[type=range]:focus-visible { outline: 2px solid var(--bone); outline-offset: 4px; border-radius: 4px; }

.calc__out { padding: clamp(22px, 3vw, 48px); display: flex; flex-direction: column; gap: clamp(22px, 3vw, 44px); }
.calc__kdas { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: end; }
.calc__kdas span { color: rgba(243, 238, 227, .5); display: block; margin-bottom: 10px; }
.calc__kdas b { font-weight: 900; font-stretch: 66%; font-size: clamp(34px, 5vw, 92px); line-height: .82; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; display: block; }
.calc__kdas div:first-child b { opacity: .4; text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--death); }
.calc__kdas div:last-child b { color: var(--crust); }
.calc__arrow { font-size: clamp(22px, 2.6vw, 44px); opacity: .4; padding-bottom: .1em; }
.calc__verdict { margin-top: auto; }
.calc__verdict > span { color: rgba(243, 238, 227, .5); }
.calc__verdict strong { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 6.6vw, 124px); line-height: .92; letter-spacing: -.02em; margin: 8px 0 12px; }
.calc__verdict p { font-size: clamp(14px, 1.15vw, 18px); color: rgba(243, 238, 227, .74); max-width: 44ch; min-height: 3em; }
.calc__meter { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(to right, var(--death), #7b5a2c 50%, var(--crust)); margin-bottom: 22px; }
.calc__meter i { position: absolute; top: -7px; left: 50%; width: 4px; height: 24px; margin-left: -2px; background: var(--bone); border-radius: 2px; transition: left .6s var(--ease-out); }
.calc__meter span { position: absolute; top: 18px; color: rgba(243, 238, 227, .5); font-size: 10px; }
.calc__meter span:last-child { right: 0; }
.calc.is-int .calc__verdict strong { color: var(--death); }
.calc.is-good .calc__verdict strong { color: var(--crust); }
@media (max-width: 900px) {
  .law__statement, .calc { grid-template-columns: 1fr; }
  .calc__inputs { border-right: 0; border-bottom: 1px solid rgba(243, 238, 227, .14); }
}

/* ───────────── JOURNEY ───────────── */
.journey { background: var(--ink); overflow: hidden; }
.journey__pin { height: 100vh; height: 100svh; min-height: 600px; display: flex; flex-direction: column; }
.journey__head { padding: clamp(64px, 6vw, 84px) var(--pad) 0; }
.journey__progress { height: 2px; background: var(--line); margin-top: 0; }
.journey__progress i { display: block; height: 100%; background: var(--crust); transform: scaleX(0); transform-origin: left; }
.journey__track { flex: 1; display: flex; align-items: stretch; gap: 0; padding: 0 var(--pad); will-change: transform; width: max-content; }
.jcard {
  width: clamp(300px, 30vw, 480px); flex: none;
  padding: clamp(22px, 2.4vw, 40px) clamp(20px, 2.2vw, 36px) clamp(60px, 9vh, 110px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; justify-content: flex-end;
  position: relative;
  transition: background .5s;
}
.jcard:hover { background: rgba(243, 238, 227, .04); }
.jcard__year {
  position: absolute; top: clamp(18px, 3vh, 40px); left: clamp(20px, 2.2vw, 36px);
  font-weight: 900; font-stretch: 64%;
  font-size: clamp(110px, 21vh, 250px); line-height: .8; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(243, 238, 227, .32);
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.jcard:hover .jcard__year { color: var(--bone); -webkit-text-stroke-color: var(--bone); }
.jcard__date { color: var(--crust); }
.jcard h3 { font-weight: 900; font-stretch: 110%; font-size: clamp(24px, 2.3vw, 38px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; }
.jcard p:not(.mono) { font-size: clamp(14px, 1.05vw, 16.5px); line-height: 1.5; color: rgba(243, 238, 227, .72); max-width: 40ch; }
.jcard__tag { align-self: flex-start; margin-top: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; }
.jcard--intro { width: clamp(320px, 52vw, 860px); justify-content: center; padding-left: 0; gap: 28px; }
.jcard--intro .display { font-size: clamp(40px, 6.6vw, 118px); }
.jcard--intro .serif { color: var(--crust); }
.jcard--intro .mono { color: var(--muted); }
.jcard--hot .jcard__year { -webkit-text-stroke-color: var(--crust); }
.jcard--hot:hover .jcard__year { color: var(--crust); -webkit-text-stroke-color: var(--crust); }
.jcard--hot .jcard__tag { background: var(--crust); color: var(--ink); border-color: var(--crust); }
.jcard--bread { background: var(--crust); color: var(--ink); }
.jcard--bread:hover { background: var(--crust); }
.jcard--bread .jcard__year { color: var(--ink); -webkit-text-stroke: 0; font-size: clamp(100px, 19vh, 220px); }
.jcard--bread .jcard__date { color: var(--ink); }
.jcard--bread p:not(.mono) { color: rgba(8, 9, 11, .8); }
.jcard--bread .jcard__tag { border-color: var(--ink); }
.jcard--now { width: clamp(320px, 38vw, 600px); border-right: 0; }
.jcard--now .jcard__year { color: var(--death); -webkit-text-stroke: 0; }
.jcard--now h3 { font-size: clamp(30px, 3.4vw, 60px); }
.jcard--now .btn { align-self: flex-start; margin-top: 10px; }

@media (max-width: 899px) {
  .journey__pin { height: auto; min-height: 0; }
  .journey__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 0 20px; scrollbar-width: none; }
  .journey__track::-webkit-scrollbar { display: none; }
  .jcard { width: 82vw; scroll-snap-align: start; min-height: 440px; padding-left: 18px; }
  .jcard--intro { width: 88vw; padding-left: 18px; min-height: 0; padding-top: 50px; padding-bottom: 50px; }
  .jcard--now { width: 88vw; }
  .jcard__year { font-size: 130px; left: 18px; }
  .journey__progress { display: none; }
}

/* ───────────── CHAMPS ───────────── */
.champs { padding: clamp(40px, 6vw, 96px) var(--pad) clamp(60px, 8vw, 130px); background: var(--ink); }
.champs__row { display: flex; gap: 10px; height: min(78vh, 760px); min-height: 480px; margin-top: clamp(24px, 3vw, 48px); }
.champ {
  position: relative; flex: 1; overflow: hidden; border-radius: 8px; cursor: pointer;
  background: var(--slate);
  transition: flex .9s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(18px, 2vw, 32px);
  outline: none;
}
.champ.is-open { flex: 3.4; }
.champ__bg { position: absolute; inset: 0; background: var(--img) 60% 20% / cover no-repeat, linear-gradient(160deg, #23324e, #0e1016); transform: scale(1.08); transition: transform 1.4s var(--ease-out), filter .8s; filter: grayscale(.85) brightness(.55); }
.champ.is-open .champ__bg { transform: scale(1); filter: grayscale(0) brightness(.9); }
.champ::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 9, 11, .94), rgba(8, 9, 11, 0) 62%); }
.champ > *:not(.champ__bg) { position: relative; z-index: 1; }
.champ__idx { position: absolute !important; top: clamp(18px, 2vw, 32px); left: clamp(18px, 2vw, 32px); }
.champ__name { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(34px, 5.4vw, 100px); line-height: .86; letter-spacing: -.04em; transform-origin: left bottom; transition: transform .9s var(--ease); }
.champ:not(.is-open) .champ__name { transform: rotate(-90deg) translate(0, 100%); white-space: nowrap; }
.champ__body { max-width: 52ch; display: grid; gap: 10px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .9s var(--ease), opacity .5s, margin .9s var(--ease); }
.champ.is-open .champ__body { max-height: 360px; opacity: 1; margin-top: 16px; transition-delay: 0s, .25s, 0s; }
.champ__body .mono { color: var(--crust); }
.champ__body p:not(.mono) { font-size: clamp(14px, 1.15vw, 18px); line-height: 1.45; color: rgba(243, 238, 227, .84); }
.champ:focus-visible { box-shadow: 0 0 0 2px var(--crust); }
@media (max-width: 760px) {
  .champs__row { flex-direction: column; height: auto; }
  .champ, .champ.is-open { flex: none; min-height: 150px; }
  .champ.is-open { min-height: 380px; }
  .champ:not(.is-open) .champ__name { transform: none; }
}

/* ───────────── TROPHIES ───────────── */
.trophies { padding: clamp(40px, 6vw, 96px) var(--pad) clamp(70px, 10vw, 160px); }
.trophies__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin: clamp(40px, 6vw, 100px) 0 clamp(40px, 6vw, 90px); }
.trophies .display .serif { color: var(--crumb); }
.tally { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.tally div { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; align-items: flex-end; gap: 14px; }
.tally b { font-weight: 900; font-stretch: 66%; font-size: clamp(48px, 5.4vw, 96px); line-height: .8; letter-spacing: -.03em; }
.tally span { color: var(--muted); padding-bottom: 2px; }
.trows { border-bottom: 1px solid var(--line); }
.trow {
  position: relative;
  display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 220px) 170px; gap: 20px; align-items: center;
  padding: clamp(14px, 1.6vw, 26px) clamp(0px, 1vw, 16px);
  border-top: 1px solid var(--line);
  overflow: hidden;
  transition: color .35s, padding .5s var(--ease);
}
.trow::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.trow > * { position: relative; }
.trow:hover { color: var(--bone); padding-left: clamp(12px, 2vw, 36px); }
.trow:hover::before { transform: scaleY(1); }
.trow h3 { font-weight: 800; font-stretch: 106%; text-transform: uppercase; font-size: clamp(18px, 2.5vw, 44px); line-height: 1; letter-spacing: -.03em; }
.trow__res { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 2vw, 34px); line-height: 1; }
.trow.is-win .trow__res::before { content: "●"; font-size: .4em; vertical-align: middle; margin-right: .6em; color: var(--crumb); font-style: normal; }
.trow:hover.is-win .trow__res { color: var(--crust); }
.trow__sc { text-align: right; opacity: .7; }
@media (max-width: 900px) {
  .trophies__top { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 78px 1fr; row-gap: 6px; }
  .trow__res { grid-column: 2; }
  .trow__sc { grid-column: 2; text-align: left; }
}

/* ───────────── ANATOMY ───────────── */
.anatomy { padding: clamp(40px, 6vw, 96px) var(--pad) clamp(70px, 10vw, 160px); background: var(--coal); }
.anatomy__wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); margin-top: clamp(30px, 5vw, 80px); align-items: start; }
.anatomy__copy { position: sticky; top: 110px; display: grid; gap: clamp(18px, 2vw, 30px); }
.anatomy__copy .display { font-size: clamp(40px, 5.6vw, 100px); }
.anatomy__copy .serif { color: var(--crust); }
.anatomy__copy > p { font-size: clamp(15px, 1.2vw, 19px); line-height: 1.5; color: rgba(243, 238, 227, .76); max-width: 42ch; }
.anatomy__note { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; min-height: 108px; align-content: start; text-transform: none; letter-spacing: 0; font-size: 13px; line-height: 1.5; }
.anatomy__note b { color: var(--crust); font-size: 16px; line-height: 1.2; }
.anatomy__fig { position: relative; border-radius: 8px; overflow: hidden; }
.anatomy__fig img { width: 100%; height: auto; }
.anatomy__fig::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(8, 9, 11, 0) 0, rgba(8, 9, 11, 0) 11%, rgba(8, 9, 11, .78) 30%); }
.anatomy__fig.is-focus::after { opacity: 1; }
.pin {
  position: absolute; left: var(--x); top: var(--y);
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: var(--crust); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 700; font-size: 12px;
  transition: transform .4s var(--ease-out), background .3s;
  z-index: 2;
}
.pin i { font-style: normal; }
.pin::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--crust); animation: ping 2.2s var(--ease-out) infinite; }
.pin:nth-of-type(2n)::before { animation-delay: .7s; }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.pin:hover, .pin.is-active, .pin:focus-visible { transform: scale(1.35); background: var(--bone); outline: none; }
@media (max-width: 900px) {
  .anatomy__wrap { grid-template-columns: 1fr; }
  .anatomy__copy { position: static; }
  .pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 10px; }
}

/* ───────────── LEXICON ───────────── */
.lexicon { padding: clamp(40px, 6vw, 96px) var(--pad) clamp(70px, 10vw, 160px); }
.lex { margin-top: clamp(24px, 4vw, 60px); border-bottom: 1px solid var(--line); }
.lex__row {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 60px minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: center;
  padding: clamp(10px, 1.2vw, 20px) clamp(0px, 1vw, 16px);
  border-top: 1px solid var(--line);
  transition: color .4s;
  outline: none;
}
.lex__row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease); }
.lex__row > * { position: relative; }
.lex__row h3 { font-weight: 900; font-stretch: 114%; text-transform: uppercase; font-size: clamp(34px, 7.4vw, 132px); line-height: .92; letter-spacing: -.045em; transition: transform .6s var(--ease); white-space: nowrap; }
.lex__row h3 .serif { font-size: 1.1em; letter-spacing: -.03em; }
.lex__row p { font-size: clamp(14px, 1.2vw, 19px); line-height: 1.4; opacity: .5; transition: opacity .4s, transform .6s var(--ease); max-width: 40ch; }
.lex__row > .mono { color: var(--muted); transition: color .4s; }
.lex__row:hover, .lex__row:focus-visible, .lex__row.is-open { color: var(--bone); }
.lex__row:hover::before, .lex__row:focus-visible::before, .lex__row.is-open::before { transform: none; }
.lex__row:hover h3, .lex__row:focus-visible h3, .lex__row.is-open h3 { transform: translateX(clamp(8px, 1.6vw, 28px)); color: var(--crust); }
.lex__row:hover p, .lex__row:focus-visible p, .lex__row.is-open p { opacity: 1; transform: none; }
.lex__row:hover > .mono, .lex__row.is-open > .mono { color: var(--crust); }
@media (max-width: 900px), (hover: none) {
  .lex__row { grid-template-columns: 34px 1fr; }
  .lex__row h3 { white-space: normal; }
  .lex__row p { grid-column: 2; opacity: .75; transform: none; }
}

/* ───────────── QUOTE ───────────── */
.quote { padding: clamp(90px, 16vw, 280px) var(--pad); text-align: center; background: var(--ink); }
.quote blockquote { font-family: var(--f-serif); font-style: italic; font-size: clamp(38px, 7.6vw, 150px); line-height: .96; letter-spacing: -.025em; max-width: 13em; margin: clamp(20px, 3vw, 44px) auto; }
.quote__pre, .quote__by { color: var(--muted); }

/* ───────────── FOOTER ───────────── */
.footer { background: var(--crust); color: var(--ink); padding: clamp(40px, 6vw, 96px) var(--pad) 22px; overflow: hidden; position: relative; }
.footer__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.footer__lede { font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: clamp(24px, 3.2vw, 56px); line-height: 1; letter-spacing: -.03em; }
.footer__lede .serif { font-size: 1.1em; }
.footer__links { border-bottom: 1px solid rgba(8, 9, 11, .3); }
.biglink { display: flex; justify-content: space-between; align-items: center; padding: clamp(10px, 1.2vw, 18px) 0; border-top: 1px solid rgba(8, 9, 11, .3); font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 62px); letter-spacing: -.035em; line-height: 1; overflow: hidden; }
.biglink span, .biglink i { display: inline-block; transition: transform .55s var(--ease); font-style: normal; }
.biglink:hover span { transform: translateX(.3em); }
.biglink:hover i { transform: rotate(45deg) scale(1.2); }
.footer__giant { font-weight: 900; font-stretch: 125%; font-size: 22vw; line-height: .76; letter-spacing: -.05em; margin: clamp(30px, 5vw, 80px) 0 clamp(10px, 2vw, 30px) -.03em; padding-top: .04em; white-space: nowrap; overflow: hidden; user-select: none; cursor: pointer; }
.footer__giant .ch { display: inline-block; will-change: transform; }
.footer__bottom { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 32px; padding-top: 16px; border-top: 1px solid rgba(8, 9, 11, .3); text-transform: none; letter-spacing: 0; font-size: 11px; line-height: 1.55; color: rgba(8, 9, 11, .76); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer__copy { color: var(--ink); font-weight: 700; white-space: nowrap; }
.footer__made { color: var(--ink); white-space: nowrap; }
.footer__made a { font-weight: 700; }
.heart { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; margin: 0 .15em; fill: var(--death); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; animation: heartbeat 1.6s var(--ease-out) infinite; transform-origin: 50% 60%; }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); } 12% { transform: scale(1.28); } 26% { transform: scale(1.08); } }
@media (max-width: 900px) {
  .footer__top, .footer__bottom { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
}

/* ───────────── motion gating ───────────── */
.has-motion [data-reveal] { opacity: 0; transform: translateY(40px); }
