:root {
  --yellow: #f4e04d;
  --ink: #0b0c0e;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #8e949c; font-family: var(--font); color: #fff; }
canvas#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; transition: filter 1.1s ease; cursor: grab; }
canvas#scene.dragging { cursor: grabbing; }
body.intro-on canvas#scene { filter: blur(7px) brightness(1.05); }

.top { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 26px; z-index: 5; }
.logo { display: flex; gap: 3px; }
.logo span { width: 13px; height: 13px; border-radius: 50%; background: #fff; display: block; opacity: .92; }
.top nav { display: flex; gap: 22px; font-size: 12px; }
.top nav a { color: #fff; text-decoration: none; opacity: .9; }
.top nav a:hover, .top nav a:focus-visible { opacity: 1; text-decoration: underline; }
.top nav b { font-weight: 500; }

/* intro */
.intro { position: fixed; inset: 0; z-index: 4; display: grid; place-items: center; transition: opacity .7s ease, transform 1.1s ease; }
body:not(.intro-on) .intro { opacity: 0; pointer-events: none; transform: scale(1.06); }
.wordmark { margin: 0; font-size: clamp(90px, 17vw, 260px); font-weight: 300; letter-spacing: -0.04em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.85); line-height: .9; }
.wordmark sup { font-size: .18em; -webkit-text-stroke: 0; color: rgba(255,255,255,.85); vertical-align: top; position: relative; top: .5em; }
.kicker { position: absolute; top: calc(50% - 15vw); left: 50%; transform: translateX(-50%); margin: 0; text-align: center; font-size: clamp(15px, 1.6vw, 22px); line-height: 1.1; }
.side { position: absolute; left: 21%; top: calc(50% + 6vw); margin: 0; font-size: 12px; line-height: 1.3; }
.tags { position: absolute; left: calc(50% + 13vw); top: calc(50% - 1vw); list-style: none; margin: 0; padding: 0; }
.tags li { background: var(--yellow); color: var(--ink); font-size: 11px; padding: 2px 6px; margin-bottom: 2px; width: max-content; }
.tags li:nth-child(2) { margin-left: 18px; } .tags li:nth-child(3) { margin-left: 2px; }
.explore { position: absolute; bottom: 13%; left: 50%; transform: translateX(-50%); background: none; border: 0; color: #fff; font: inherit; font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.45);
  padding: 10px 18px; cursor: pointer; letter-spacing: .02em; }
.explore:hover, .explore:focus-visible { text-decoration: underline; outline: none; }

.sweep { position: fixed; inset: -20%; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(244,224,77,.85), rgba(244,224,77,0) 70%); filter: blur(30px); }
.sweep.run { animation: sweep 1.1s ease-in-out; }
@keyframes sweep { 0% { opacity: 0; transform: translate(-30%, 10%) scale(.5); } 40% { opacity: .9; } 100% { opacity: 0; transform: translate(35%, -5%) scale(1.3); } }

/* store */
.heading { position: fixed; z-index: 1; left: 50%; top: 2vh; transform: translateX(-58%); margin: 0; font-weight: 400; font-size: clamp(46px, 7.5vw, 120px);
  line-height: .86; color: rgba(20,24,30,.28); letter-spacing: -0.02em; pointer-events: none; transition: opacity .8s ease .4s; }
body.intro-on .heading, body.intro-on .label, body.intro-on .bar, body.intro-on .hint { opacity: 0; pointer-events: none; }
.label { position: fixed; z-index: 2; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 3px 7px;
  transform: translate(-50%, 0); white-space: nowrap; transition: opacity .25s ease; pointer-events: none; }
.label.hide { opacity: 0; }
.hint { position: fixed; z-index: 2; left: 50%; bottom: 52px; transform: translateX(-50%); font-size: 11px; color: #fff; background: rgba(11,12,14,.55); padding: 4px 10px; border-radius: 999px; white-space: nowrap; transition: opacity .6s; }
.bar { position: fixed; z-index: 5; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: stretch; background: var(--ink); font-size: 12px; transition: opacity .8s ease .4s; }
.bar span { padding: 4px 0; width: clamp(160px, 22vw, 300px); text-align: center; }
.bar .y { background: var(--yellow); color: var(--ink); border: 0; font: inherit; font-size: 12px; padding: 4px 8px; cursor: pointer; }
.bar .y:focus-visible, .bar .y:hover { outline: 2px solid #fff; outline-offset: -2px; }

@media (max-width: 640px) {
  .side { left: 8%; } .tags { left: auto; right: 6%; }
  .heading { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  canvas#scene, .intro, .heading { transition: none; }
  .sweep.run { animation: none; }
}
