:root {
  --bg: #08070d; --panel: #12101b; --ink: #eeeaff; --dim: #9a94b8; --line: #241f38;
  --uv: #8f6bff; --uv-soft: rgba(143, 107, 255, 0.16);
  --display: "Unbounded", "Helvetica Neue", Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(18px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: var(--display); font-weight: 300; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.55; overflow-x: hidden; }
::selection { background: var(--uv); color: #fff; }
.mono { font-family: var(--mono); font-weight: 600; font-size: 0.76em; letter-spacing: 0.08em; text-transform: uppercase; }
.uv { color: var(--uv); }
em { font-style: normal; color: var(--uv); }
a { color: inherit; text-decoration: none; }

/* film grain over everything */
.grain { position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.6s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* loader */
#loader { overflow: hidden; position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; justify-content: space-between; align-items: flex-end; padding: var(--pad); }
#loader .mono { color: var(--dim); }
#loadN { font: 900 clamp(80px, 20vw, 320px)/0.8 var(--display); letter-spacing: -0.04em; color: var(--uv); font-variant-numeric: tabular-nums; }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); mix-blend-mode: difference; }
.mark { font-weight: 900; letter-spacing: -0.01em; font-size: 17px; } .mark i { color: var(--uv); font-style: normal; }
.top nav { display: flex; gap: 22px; } .top nav a:hover { color: var(--uv); }
@media (max-width: 720px) { .top nav { display: none; } }
.top .snd { margin-left: 22px; padding: 7px 14px; border: 1px solid currentColor; border-radius: 99px; background: none; color: inherit; box-shadow: none; font-size: 0.76em; }
.top .snd:hover { transform: none; box-shadow: none; }
.top { gap: 0; } .top nav { margin-left: auto; }
.pin { touch-action: pan-y; }

/* type */
.giant { font-weight: 900; font-size: clamp(54px, 12.5vw, 220px); line-height: 0.9; letter-spacing: -0.045em; }
.giant .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.giant .line > span { display: inline-block; }
.giant.small { font-size: clamp(40px, 8.5vw, 150px); }
.section-title { font-weight: 800; font-size: clamp(34px, 5vw, 84px); line-height: 1; letter-spacing: -0.035em; margin-bottom: clamp(28px, 4vw, 64px); display: flex; align-items: baseline; gap: 18px; }
.section-title .n { color: var(--uv); font-size: 14px; }
.big { font-size: clamp(20px, 2.3vw, 38px); line-height: 1.16; letter-spacing: -0.025em; font-weight: 500; }
.lead { font-size: clamp(17px, 1.4vw, 22px); color: var(--dim); margin-bottom: 32px; max-width: 46ch; }
.note, .aside { color: var(--dim); margin-top: 14px; max-width: 62ch; font-size: 0.95em; }
.tag { margin-bottom: 14px; color: var(--dim); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; } .split .w > span { display: inline-block; }

section { padding: clamp(80px, 12vw, 180px) var(--pad); position: relative; }

/* hero */
.hero { isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 80%; z-index: -2; background: radial-gradient(ellipse at 50% 100%, rgba(143, 107, 255, 0.28), transparent 62%); }
#heroGL { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .kicker { color: var(--uv); margin-bottom: 18px; }
.bet { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: rgba(18, 16, 27, 0.7); backdrop-filter: blur(8px); border-radius: 99px; padding: 10px 20px 10px 10px; font-size: clamp(14px, 1.1vw, 17px); font-weight: 500; }
.chip b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 900; }
.chip.b2 b { background: var(--uv); color: #fff; }
.bet .mono { color: var(--dim); margin-left: 6px; }
.hero .sub { max-width: 38ch; margin-top: 26px; font-size: clamp(16px, 1.35vw, 20px); color: var(--ink); }
.hero .scroll { position: absolute; right: var(--pad); bottom: clamp(40px, 6vw, 80px); color: var(--dim); }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; white-space: nowrap; font-size: clamp(14px, 1.3vw, 18px); color: var(--dim); }
.marquee .track { display: inline-block; animation: mq 22s linear infinite; padding-left: 100%; }
.marquee b { color: var(--uv); font-weight: 600; }
@keyframes mq { to { transform: translateX(-100%); } }

/* brief */
.dossier { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border-top: 1px solid var(--line); }
.dossier > div { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); }
.dossier dt { color: var(--dim); margin-bottom: 10px; }
.dossier dd { font-size: clamp(16px, 1.35vw, 21px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 400; }
.pill { display: inline-block; background: var(--uv); color: #fff; font: 700 12px var(--mono); letter-spacing: 0.1em; padding: 6px 12px; border-radius: 99px; text-transform: uppercase; }

/* hypothesis */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.vs article { border-top: 1px solid var(--line); padding-top: 26px; }
.vs article.phys { border-top-color: var(--uv); }
.tag.uv { color: var(--uv); }
.formula { font: 600 clamp(22px, 2.6vw, 40px) var(--mono); color: var(--uv); margin-top: 26px; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }

/* pinned experiment */
.exp { padding: 0; height: 600vh; }
.pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
#expGL { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cam { position: absolute; left: var(--pad); color: var(--ink); text-shadow: 0 1px 8px #000; }
.cam.a { top: 70px; } .cam.b { top: calc(50% + 18px); } .cam.b b { color: var(--uv); }
.pin::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.clock { position: absolute; right: var(--pad); top: 64px; text-align: right; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.clock .lbl { display: block; color: var(--dim); }
#tBig { font: 900 clamp(52px, 8.5vw, 140px)/0.9 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.readouts { position: absolute; right: var(--pad); bottom: 92px; display: grid; gap: 8px; text-align: right; text-shadow: 0 1px 8px #000; }
.readouts span:last-child { margin-left: 14px; color: var(--ink); }
.captions { position: absolute; left: var(--pad); bottom: 70px; width: min(620px, 80vw); }
.captions p { position: absolute; bottom: 0; font-size: clamp(20px, 2.4vw, 38px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; opacity: 0; text-shadow: 0 2px 20px rgba(0, 0, 0, .7); }
.captions b { color: var(--uv); font-weight: 800; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .08); } .progress i { display: block; height: 100%; width: 0; background: var(--uv); }

/* data */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); margin-bottom: clamp(40px, 6vw, 90px); }
.stats > div { border-top: 1px solid var(--line); padding-top: 18px; }
.num { font: 900 clamp(50px, 8vw, 136px)/0.9 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.unit { font: 600 clamp(22px, 2.6vw, 42px) var(--mono); color: var(--uv); margin-left: 10px; }
.stats p { color: var(--dim); margin-top: 12px; max-width: 26ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }
.chartwrap { border: 1px solid var(--line); background: var(--panel); border-radius: 18px; padding: clamp(12px, 2vw, 28px); }
#chart { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; color: var(--dim); margin-top: 12px; }
.legend i { display: inline-block; width: 22px; height: 3px; margin-right: 8px; vertical-align: middle; }
.ink-bg { background: var(--ink); } .uv-bg { background: var(--uv); } .air-bg { background: repeating-linear-gradient(90deg, var(--dim) 0 6px, transparent 6px 10px); }

/* lab */
.lab { background: linear-gradient(180deg, var(--bg), var(--panel) 30%, var(--panel) 70%, var(--bg)); }
.labgrid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(20px, 4vw, 64px); align-items: start; }
@media (max-width: 760px) { .labgrid { grid-template-columns: 1fr; } }
.controls { display: grid; gap: 24px; }
.controls label { display: grid; gap: 10px; color: var(--dim); } .controls label b { color: var(--ink); font-weight: 600; font-size: 1.3em; }
.controls .chk { display: flex; gap: 10px; align-items: center; }
input[type=range] { appearance: none; -webkit-appearance: none; width: 100%; height: 6px; border-radius: 99px; background: var(--line); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px var(--uv-soft); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
input[type=checkbox] { accent-color: var(--uv); width: 18px; height: 18px; }
button { justify-self: start; font: 800 15px var(--display); letter-spacing: 0.02em; background: var(--uv); color: #fff; border: 0; border-radius: 99px; padding: 18px 34px; cursor: pointer; transition: transform .2s, box-shadow .2s; box-shadow: 0 10px 40px rgba(143, 107, 255, 0.35); }
button:hover { transform: scale(1.04); box-shadow: 0 14px 60px rgba(143, 107, 255, 0.55); }
.result { border: 1px solid var(--line); background: rgba(8, 7, 13, 0.6); border-radius: 18px; padding: clamp(16px, 2vw, 28px); }
#labGL { width: 100%; height: auto; display: block; margin-bottom: 18px; }
#res { font-size: clamp(28px, 4vw, 64px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; }

/* verdict */
.verdict { overflow: clip; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.verdict .kicker { color: var(--dim); margin-bottom: 26px; }
.stamps { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 48px); align-items: center; margin-bottom: 44px; }
.stamp { border: clamp(4px, 0.55vw, 8px) solid var(--uv); border-radius: 16px; padding: 0.08em 0.26em; transform: rotate(-4deg); }
.stamp span { display: block; font: 900 clamp(52px, 11vw, 200px)/0.95 var(--display); letter-spacing: -0.04em; color: var(--uv); }
.stamp small { display: block; font: 600 clamp(11px, 1vw, 15px) var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 4px 0 8px; }
.stamp.two { border-color: var(--ink); transform: rotate(3deg); } .stamp.two span { color: var(--ink); font-size: clamp(36px, 6.5vw, 120px); }
.verdict .big { max-width: 32ch; }

/* how */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 3vw, 40px); }
.steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.steps li span { color: var(--uv); display: block; margin-bottom: 12px; }
.steps li p { font-size: clamp(15px, 1.1vw, 18px); }

/* footer */
.end { padding: clamp(80px, 12vw, 180px) var(--pad) 40px; border-top: 1px solid var(--line); }
.links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.links a { border: 1px solid var(--line); border-radius: 99px; padding: 14px 22px; transition: border-color .2s, color .2s; }
.links a:hover { border-color: var(--uv); color: var(--uv); }
.end .foot { color: var(--dim); margin-top: 48px; }

/* phones: the HUD stacks so the caption, the readouts and the camera labels never touch */
@media (max-width: 720px) {
  .hero .scroll { display: none; }
  .readouts { bottom: auto; top: calc(50% - 76px); }
  .cam { display: none; }
  .captions { width: calc(100% - 2 * var(--pad)); bottom: 48px; }
  .captions p { font-size: 21px; }
  .clock { top: 58px; }
}

/* the custom cursor (mouse and trackpad only): a dot that swells with a word over what you can use */
#cursor { display: none; }
@media (pointer: fine) {
  html.cur, html.cur * { cursor: none !important; }
  html.cur #cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 70; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); pointer-events: none; box-shadow: 0 0 30px rgba(143, 107, 255, 0.45); }
  #cursor span { font: 700 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; opacity: 0; white-space: nowrap; }
}
