/* Hero, Icons Series direction: scroll-driven card that snaps one bout per scroll, 7-segment bar.
   Palette and fonts follow the main site (aexlab look), no gold. */
:root {
  --ink: #000; --paper: #f1eee9; --mute: rgba(241,238,233,.66);
  --sage: #9cada6; --lime: #c0ff00;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gut: 40px; /* one margin on every side of the hero */
  --ico-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-snap-type: y mandatory; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.5 var(--mono); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ---------- Header: wordmark left, nav + ticket button right ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding: var(--gut); }
.brand { justify-self: start; font: 400 32px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.nav { display: flex; gap: 36px; }
.nav a { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; white-space: pre; transition: color .2s; }
.ticket { justify-self: end; }
.nav a:hover { color: var(--lime); }

/* Ticket button: sage stub + lime body joined by a notch and perforation; on hover the stub tears off at -8deg */
.ticket { display: flex; height: 48px; white-space: nowrap; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #000; }
.ticket__stub { width: 38px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px), 0 10px); background: var(--ico-chev) center / 14px no-repeat, var(--sage);
  -webkit-mask: radial-gradient(circle 6px at 100% 50%, #0000 95%, #000); mask: radial-gradient(circle 6px at 100% 50%, #0000 95%, #000);
  transform-origin: 100% 100%; transition: transform .45s cubic-bezier(.3,1.4,.5,1); }
.ticket__main { display: flex; align-items: center; padding: 0 24px 0 22px; background: var(--lime); border-left: 2px dashed rgba(0,0,0,.3);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  -webkit-mask: radial-gradient(circle 6px at 0 50%, #0000 95%, #000); mask: radial-gradient(circle 6px at 0 50%, #0000 95%, #000); }
.ticket:is(:hover, :focus-visible) .ticket__stub { transform: translateX(-4px) rotate(-8deg); }

/* ---------- Hero: tall section, sticky frame; scroll picks the bout ---------- */
.hero { --step: 70svh; position: relative; height: calc(100svh + 6 * var(--step)); background: #000; }
.snap { position: absolute; top: calc(var(--i) * var(--step)); left: 0; width: 1px; height: 1px; scroll-snap-align: start; scroll-snap-stop: always; pointer-events: none; }
.hero__pin { position: sticky; top: 0; height: 100svh; min-height: 620px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero__gl, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__shade { background:
  radial-gradient(ellipse 40% 30% at 50% 50%, rgba(0,0,0,.45), rgba(0,0,0,0) 100%),
  linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 30%),
  linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 22%); }

/* Title and meta centred; only the active bout shows, its text resolves from random glyphs (main.js) */
.slides { display: grid; place-items: center; padding: 0 var(--gut); text-align: center; }
.slide { grid-area: 1 / 1; visibility: hidden; }
.slide.is-active { visibility: visible; }
.slide__title { margin: 0; font: 400 clamp(52px, 7.4vw, 118px)/.9 var(--display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.slide__meta { margin: 18px 0 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); white-space: pre; }

/* ---------- Progress bar: one segment per bout, the active one is lit ---------- */
.bar { padding: 0 var(--gut) var(--gut); }
.dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.dot { position: relative; height: 26px; }
.dot::before, .dot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(241,238,233,.22); }
.dot::after { right: auto; width: 0; background: var(--paper); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.dot[aria-current="true"]::after { width: 100%; }
.dot:hover::before { background: rgba(241,238,233,.4); }

@media (max-width: 760px) {
  .top { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .brand { font-size: 24px; }
  .slide__title { font-size: clamp(40px, 12vw, 64px); white-space: normal; }
  .slide__meta { font-size: 11px; }
  .dots { gap: 5px; }
}
