:root {
  --bg: #07060b;
  --panel: #110f18;
  --panel-2: #17141f;
  --line: #2a2536;
  --text: #f4f2f8;
  --muted: #a39fb3;
  --dim: #6f6a80;
  --pink: #ff5fa2;
  --orange: #ff9a4a;
  --claude: #f0a36b;
  --openai: #4fd1b5;
  --gold: #ffd166;
  --silver: #d6dde8;
  --bronze: #d99a62;
  --radius: 18px;
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --ui: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--ui); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.wrap { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
section { padding: 72px 0 24px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1; margin: 0 0 14px; letter-spacing: 0.01em; text-transform: uppercase; }
h2 span { background: linear-gradient(90deg, #fff, #ffd1e6 55%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { margin: 0 0 6px; font-size: 20px; }
.sub { color: var(--muted); max-width: 820px; margin: 0 0 28px; font-size: 18px; }
.sub b { color: var(--text); }
.sub.small { font-size: 14px; margin-bottom: 18px; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 55% at 78% 45%, rgba(255,95,162,0.22), transparent 70%),
  radial-gradient(ellipse 50% 50% at 15% 85%, rgba(255,154,74,0.14), transparent 70%),
  linear-gradient(180deg, #0d0a16 0%, var(--bg) 100%); }
.hero-glow::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 13px; letter-spacing: 0.14em; color: var(--muted); }
.top .tag { font-weight: 700; color: #fff; background: rgba(255,95,162,0.16); border: 1px solid rgba(255,95,162,0.5); padding: 6px 12px; border-radius: 999px; }
.top .links { display: flex; gap: 22px; }
.top .links a { text-decoration: none; text-transform: uppercase; font-weight: 600; }
.top .links a:hover { color: #fff; }
.hero-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-bottom: 8vh; }
.hero-copy { min-width: 0; }
.stars { color: var(--gold); font-size: 26px; letter-spacing: 8px; text-shadow: 0 0 22px rgba(255,209,102,0.6); margin-bottom: 10px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6.2vw, 104px); line-height: 0.95; margin: 0 0 22px; text-transform: uppercase; letter-spacing: 0.005em; text-shadow: 0 6px 40px rgba(0,0,0,0.6); }
h1 .ln { display: block; white-space: nowrap; }
.grad { background: linear-gradient(95deg, var(--pink), var(--orange) 60%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(16px, 1.25vw, 19px); color: #e5e1ee; max-width: 620px; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; transition: transform 0.15s ease, box-shadow 0.15s ease; cursor: pointer; border: 0; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(90deg, var(--pink), var(--orange)); color: #160810; box-shadow: 0 10px 30px rgba(255,95,162,0.35); }
.btn.ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.hero-reel { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16/9; background: #000; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 0 0 1px rgba(255,95,162,0.25), 0 40px 120px rgba(255,95,162,0.22), 0 20px 60px rgba(0,0,0,0.6); transform: perspective(1400px) rotateY(-6deg); transition: transform 0.4s ease; }
.hero-reel:hover { transform: perspective(1400px) rotateY(0deg); }
.hero-reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; padding: 6px 10px; border-radius: 8px; background: rgba(7,6,11,0.7); color: #fff; }
.reel-tag::first-letter { color: #ff3b5c; }

/* ── films (single full player) ───────────────────────────────────────── */
.cinema { display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-areas: 'pick stage' 'pick info'; gap: 16px 20px; }
.cinema-picker { grid-area: pick; display: flex; flex-direction: column; gap: 8px; }
.film-btn { display: flex; gap: 12px; align-items: center; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; cursor: pointer; color: var(--text); font: inherit; transition: border-color 0.15s ease, background 0.15s ease; }
.film-btn:hover { border-color: #4a4458; }
.film-btn.on { border-color: var(--pink); background: rgba(255,95,162,0.1); }
.film-btn img { width: 92px; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px; flex: none; }
.film-btn b { display: block; font-size: 15px; line-height: 1.2; }
.film-btn span { font-size: 12px; color: var(--muted); }
.cinema-stage { grid-area: stage; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); aspect-ratio: 16/9; box-shadow: 0 30px 90px rgba(0,0,0,0.55); }
.cinema-stage video { width: 100%; height: 100%; display: block; background: #000; }
.cinema-info { grid-area: info; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; }
.cinema-info .t { font-family: var(--display); font-size: 34px; text-transform: uppercase; line-height: 1; }
.cinema-info .f { color: #e9e4f2; font-style: italic; }
.cinema-info .m { color: var(--muted); font-size: 14px; }
.cinema-info .m b { color: #ffd166; }

/* ── prompt ───────────────────────────────────────────────────────────── */
.prompt-card { background: #0c0b12; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.prompt-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.prompt-title { margin-left: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); flex: 1; }
.copy { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 4px 12px; cursor: pointer; font: 600 13px var(--ui); }
.copy:hover { color: #fff; border-color: var(--muted); }
.prompt-text { font-family: var(--mono); font-size: clamp(16px, 1.7vw, 21px); line-height: 1.6; margin: 0; padding: 26px 28px 10px; color: #f3eefc; }
.prompt-text::before { content: '> '; color: var(--pink); }
.prompt-note { margin: 0; padding: 0 28px 24px; color: var(--dim); font-size: 14px; }
.setup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.setup-item { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.setup-item b { font-size: 18px; }
.setup-item span { color: #ddd8e8; }
.setup-item em { color: var(--muted); font-style: normal; font-size: 14px; }

/* ── verdict ──────────────────────────────────────────────────────────── */
.podium { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 18px; align-items: end; }
.pod { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); cursor: pointer; transition: transform 0.2s ease; }
.pod:hover { transform: translateY(-4px); }
.pod img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pod .meta { padding: 16px 18px 18px; }
.pod .place { position: absolute; top: 12px; left: 12px; font-family: var(--display); font-size: 44px; line-height: 1; padding: 6px 14px; border-radius: 12px; color: #120d05; }
.pod.p1 { order: 2; border-color: rgba(255,209,102,0.7); box-shadow: 0 0 0 1px rgba(255,209,102,0.4), 0 30px 80px rgba(255,209,102,0.15); }
.pod.p2 { order: 1; } .pod.p3 { order: 3; }
.pod.p1 .place { background: var(--gold); font-size: 56px; }
.pod.p2 .place { background: var(--silver); }
.pod.p3 .place { background: var(--bronze); }
.pod .name { font-family: var(--display); font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.pod.p1 .name { font-size: 44px; }
.pod .line { color: var(--muted); font-size: 14px; }
.pod .quote { margin-top: 8px; font-weight: 700; }
.lab-anthropic { color: var(--claude); }
.lab-openai { color: var(--openai); }
.rest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.rest .row { display: flex; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px; cursor: pointer; }
.rest .row img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.rest .row .n { font-family: var(--display); font-size: 30px; color: var(--dim); width: 34px; text-align: center; }
.rest .row b { display: block; font-size: 17px; }
.rest .row span { color: var(--muted); font-size: 13px; }

/* ── arena ────────────────────────────────────────────────────────────── */
.arena { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.picker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 999px; padding: 6px 12px; font: 600 13px var(--ui); cursor: pointer; transition: all 0.15s ease; }
.chip:hover { color: #fff; border-color: #4a4458; }
.chip.on { color: #120d05; border-color: transparent; }
.chip.on.anthropic { background: var(--claude); }
.chip.on.openai { background: var(--openai); }
.screen { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16/9; border: 2px solid var(--line); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.screen.hearing { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 20px 60px rgba(255,95,162,0.25); }
.screen video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.screen .label { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 10px; background: rgba(7,6,11,0.75); backdrop-filter: blur(6px); font-weight: 800; font-size: 15px; pointer-events: none; }
.screen .hear { position: absolute; right: 12px; top: 12px; border: 0; border-radius: 999px; padding: 7px 14px; font: 700 13px var(--ui); cursor: pointer; background: rgba(7,6,11,0.7); color: #fff; backdrop-filter: blur(6px); }
.screen.hearing .hear { background: var(--pink); color: #1a0710; }
.screen.hearing .hear::before { content: '🔊 '; }
.transport { display: flex; align-items: center; gap: 14px; margin-top: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; }
.transport .play { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--pink), var(--orange)); color: #160810; font-size: 18px; font-weight: 900; flex: none; }
.transport .time { font-family: var(--mono); font-size: 14px; color: var(--muted); min-width: 110px; text-align: center; }
.transport input[type=range] { flex: 1; accent-color: var(--pink); height: 4px; }
.transport .tbtn { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 12px; font: 600 13px var(--ui); cursor: pointer; flex: none; }
.transport .tbtn:hover { color: #fff; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.presets span { color: var(--dim); font-size: 13px; align-self: center; margin-right: 4px; }

/* ── wall ─────────────────────────────────────────────────────────────── */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16/9; cursor: pointer; border: 2px solid var(--line); }
.tile video { width: 100%; height: 100%; object-fit: contain; display: block; }
.tile .label { position: absolute; left: 8px; bottom: 8px; background: rgba(7,6,11,0.75); padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: 13px; }
.tile .rk { position: absolute; left: 8px; top: 8px; font-family: var(--display); font-size: 22px; background: rgba(7,6,11,0.75); padding: 0 10px; border-radius: 8px; }
.tile.hearing { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.tile.hearing::after { content: '🔊'; position: absolute; right: 10px; top: 8px; font-size: 18px; }
/* the wall as one pre-composed video with click targets on top (see build-wall.mjs for the geometry) */
.wall.wall-one { display: block; position: relative; aspect-ratio: 1920 / 724; border-radius: 14px; overflow: hidden; background: var(--bg); }
.wall-one .wall-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: fill; background: var(--bg); }
.wall-one .tile { position: absolute; aspect-ratio: auto; padding: 0; margin: 0; background: transparent; border: 0; border-radius: 10px; overflow: visible; box-shadow: 0 0 0 5px var(--bg); color: var(--text); font: inherit; text-align: left; }
.wall-one .tile:hover { box-shadow: inset 0 0 0 2px var(--line), 0 0 0 5px var(--bg); }
.wall-one .tile.hearing { box-shadow: inset 0 0 0 2px var(--pink), 0 0 0 5px var(--bg); }
.wall-one .tile:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* ── cards ────────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.card .strip img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .top-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card .rank { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--dim); }
.card .nm { font-family: var(--display); font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.card .film { color: #e9e4f2; font-style: italic; }
.card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.card .chips span { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: #d9d4e6; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.card .approach { font-size: 13px; color: var(--dim); }
.card .cta { margin-top: auto; }
.card .cta .btn { padding: 10px 16px; font-size: 14px; }

/* ── numbers ──────────────────────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar { display: grid; grid-template-columns: 130px 1fr 120px; gap: 12px; align-items: center; font-size: 14px; }
.bar .track { height: 14px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.bar .fill.anthropic { background: linear-gradient(90deg, #b8693a, var(--claude)); }
.bar .fill.openai { background: linear-gradient(90deg, #1f8f78, var(--openai)); }
.bar .v { font-family: var(--mono); color: var(--muted); text-align: right; }
table.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
table.specs th, table.specs td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); }
table.specs th { color: var(--dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

.more { margin-top: 70px; }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project { display: flex; gap: 18px; align-items: center; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.project:hover { border-color: var(--muted); transform: translateY(-2px); }
.project img { width: 72px; height: 72px; border-radius: 16px; flex: none; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.project b { display: block; font-size: 18px; letter-spacing: 0.02em; }
.project span { display: block; color: var(--muted); font-size: 14px; margin: 2px 0 6px; }
.project em { font-style: normal; font-weight: 600; font-size: 13px; color: var(--gold); }
.me-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; font-size: 14px; color: var(--dim); }
.me-links a { color: var(--muted); text-decoration: none; }
.me-links a:hover { color: var(--text); }

.foot { padding: 60px 0 50px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 60px; }
.foot .fine { font-size: 12px; color: var(--dim); max-width: 900px; }

@media (max-width: 900px) {
  .projects { grid-template-columns: 1fr; }
  .wall-one .tile .label { font-size: 9px; padding: 1px 5px; left: 4px; bottom: 4px; border-radius: 5px; }
  .wall-one .tile .rk { font-size: 12px; padding: 0 5px; left: 4px; top: 4px; border-radius: 5px; }
  .wall-one .tile.hearing::after { font-size: 11px; right: 4px; top: 3px; }
  .top .links { display: none; }
  .setup, .rest, .cards, .numbers { grid-template-columns: 1fr; }
  .podium { grid-template-columns: 1fr; }
  .pod.p1 { order: 1; } .pod.p2 { order: 2; } .pod.p3 { order: 3; }
  .arena { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .bar { grid-template-columns: 100px 1fr 70px; }
  .hero-main { grid-template-columns: 1fr; padding-top: 10px; }
  .hero-reel { transform: none; }
  h1 .ln { white-space: normal; }
  .cinema { grid-template-columns: 1fr; grid-template-areas: 'stage' 'info' 'pick'; }
  .cinema-picker { display: grid; grid-template-columns: 1fr 1fr; }
}
