/* ==========================================================
   Soundbadge: the Backstage Pass system
   Purple fields from the logo, laminate passes, lanyard straps.
   ========================================================== */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand: the logo's own colours */
  --purple: #330066;
  --plum: #5C0066;
  --lilac: #CBA7CB;

  /* Supporting neutrals, tinted from the brand */
  --ink: #12061F;
  --ink-2: #1C0A2E;
  --paper: #F6F0F6;
  --paper-2: #E9DDEA;
  --text: #F6F0F6;
  --text-soft: #D9C8DB;
  --text-dim: #B7A2BC;
  --on-paper: #1E0B30;
  --on-paper-soft: #5A4466;
  --line: rgba(203, 167, 203, 0.22);
  --line-strong: rgba(203, 167, 203, 0.45);

  /* Tier inks (badges only) */
  --tier-silver: #C9CBD3;
  --tier-bronze: #D08A4E;
  --tier-gold: #E2BE55;
  --tier-purple: #B58CE0;
  --tier-diamond: #A9EEFA;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --radius-card: 18px;
  --radius-control: 12px;
  --radius-input: 10px;

  --nav-h: 68px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--plum) var(--ink);
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--lilac);
  overflow-x: hidden;
}

::selection { background: var(--lilac); color: var(--ink); }

img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-wrap: balance;
  color: var(--text);
}
h1 { font-size: clamp(56px, 8.4vw, 124px); }
h2 { font-size: clamp(42px, 5.6vw, 84px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 300;
  padding: 10px 16px; border-radius: var(--radius-control);
  background: var(--lilac); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Fields: whole sections own a colour */
.field { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.field--purple { background: var(--purple); }
.field--plum { background: var(--plum); }
.field--ink { background: var(--ink); }
.field--ink-2 { background: var(--ink-2); }

/* Lilac: the bright closing field. Ink type, purple actions. */
.field--lilac { background: var(--lilac); color: var(--ink); }
.field--lilac h2, .field--lilac h3, .field--lilac .quote { color: var(--ink); }
.field--lilac .lede, .field--lilac .prose { color: #3B2148; }
.field--lilac .prose strong { color: var(--ink); }
.field--lilac .btn--solid { background: var(--purple); color: var(--paper); }
.field--lilac .btn--solid:hover { background: var(--plum); }
.field--lilac .btn--line { border-color: rgba(18, 6, 31, 0.4); color: var(--ink); }
.field--lilac .store { border-color: rgba(18, 6, 31, 0.35); color: var(--ink); }
.field--lilac .store:hover { border-color: var(--purple); background: rgba(51, 0, 102, 0.06); }
.field--lilac .store small { color: #4A3156; }
.field--lilac .store__soon { background: var(--purple); color: var(--paper); }
.field--lilac :focus-visible { outline-color: var(--purple); }

/* ---------- Characters (Open Peeps, CC0, Pablo Stanley) ---------- */
.peep { display: block; overflow: hidden; border-radius: 14px; background: var(--paper); }
.peep:nth-child(even) { background: var(--lilac); }
.peep img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.faces { display: flex; margin-bottom: 28px; }
.faces .peep { width: 84px; height: 84px; margin-right: -14px; border: 3px solid var(--purple); }
.path--artists .faces .peep { border-color: var(--plum); }
.faces .peep:nth-child(1) { transform: rotate(-4deg); }
.faces .peep:nth-child(2) { transform: rotate(3deg) translateY(6px); }
.faces .peep:nth-child(3) { transform: rotate(-2deg); }
.faces .peep:nth-child(4) { transform: rotate(5deg) translateY(4px); }
.faces--solo .peep { width: 104px; height: 104px; transform: rotate(-3deg); }
.crowd { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.crowd .peep { width: clamp(84px, 11vw, 150px); aspect-ratio: 1; flex-shrink: 0; margin: 0 -6px; border-radius: 14px 14px 0 0; }
.crowd .peep:nth-child(odd) { height: auto; transform: translateY(10%); }
.field:has(.crowd) { padding-bottom: 0; }
.peep--stamp { position: absolute; top: 18px; right: 18px; width: 92px; height: 92px; border: 3px solid currentColor; }
.title-stamp { position: relative; padding-top: 132px; }
@media (max-width: 720px) { .title-stamp { padding-top: 106px; } }

.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text-soft); max-width: 46ch; }
.prose { display: grid; gap: 18px; max-width: 62ch; color: var(--text-soft); }
.prose strong { color: var(--text); font-weight: 600; }

/* Pass-style data label: what a credential prints above a value */
.label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lilac);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-control);
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:active { transform: scale(0.98); }
.btn--solid { background: var(--lilac); color: var(--ink); }
.btn--solid:hover { background: var(--paper); }
.btn--line { border: 2px solid var(--line-strong); color: var(--text); }
.btn--line:hover { border-color: var(--lilac); background: rgba(203, 167, 203, 0.08); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-nav.is-scrolled { background: rgba(18, 6, 31, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nav-logo { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  font-weight: 500; font-size: 15px; color: var(--text-dim); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); border-color: var(--lilac); }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: var(--radius-control); border: 2px solid var(--line-strong);
}
.nav-toggle svg { width: 22px; height: 22px; }

.menu {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
  background: var(--purple);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease-out), visibility 0.25s;
  overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.menu__top img { height: 28px; width: auto; }
.menu ul { list-style: none; margin: 24px 0 0; padding: 0; }
.menu ul a {
  display: flex; align-items: center; min-height: 64px;
  font-family: var(--font-display); font-weight: 900; font-size: 40px; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; border-bottom: 1px solid var(--line);
}
.menu ul a[aria-current="page"], .menu ul a:hover { color: var(--text); }
.menu .actions { margin-top: auto; padding-top: 32px; }
.menu .actions .btn { flex: 1 1 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Lanyard strap ---------- */
.strap {
  display: flex; overflow: hidden; height: 34px; align-items: center;
  background: var(--plum); border-block: 1px solid rgba(203, 167, 203, 0.18);
}
.strap span {
  flex-shrink: 0; padding-right: 28px;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.24em;
  color: var(--lilac); white-space: nowrap; text-transform: uppercase;
}

/* ---------- Hero with the pass ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 860px);
  padding: calc(var(--nav-h) + 40px) 0 64px;
  background: var(--ink);
  overflow: hidden;
  display: flex; align-items: center;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: center; width: 100%; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--lilac); }
/* Desktop: the stage owns the right half, so the strap drops from the top edge of the screen */
.hero .hero__stage { position: absolute; inset: 0 0 0 auto; width: 50%; }
.hero__copy { position: relative; z-index: 1; }

/* Inner-page heroes: copy left, a static pass hanging on the right */
.hero--page { min-height: 0; padding: calc(var(--nav-h) + 72px) 0 clamp(64px, 8vw, 104px); }
.page-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: center; }
.hang { display: flex; flex-direction: column; align-items: center; margin-top: calc(-1 * (var(--nav-h) + 72px)); }
.hang .pass-fallback__lanyard { height: calc(var(--nav-h) + 110px); }
.hang .pass { transform: rotate(4deg); transform-origin: 50% 0; margin-top: 6px; }

/* The WebGL pass mounts here; the CSS pass below is the fallback and the no-JS state */
.pass-stage { position: absolute; inset: 0; }
.pass-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; outline: none; }
.pass-stage canvas:active { cursor: grabbing; }
.pass-stage.is-live .pass-fallback { visibility: hidden; }
.pass-stage .pass-hint {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 20px; font-size: 14px; font-weight: 500; color: var(--text-soft); white-space: nowrap; opacity: 0; transition: opacity 0.6s;
}
.pass-stage.is-live .pass-hint { opacity: 1; }

.pass-fallback {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.pass-fallback__lanyard {
  width: 30px; height: clamp(120px, 22svh, 220px);
  background: repeating-linear-gradient(180deg, var(--plum) 0 22px, #4A0052 22px 24px);
  border-inline: 1px solid rgba(203, 167, 203, 0.25);
}
.pass-fallback__clip { width: 44px; height: 18px; border-radius: 5px; background: #8E8696; margin-top: -2px; }
.pass-fallback .pass { transform: rotate(-4deg); margin-top: 6px; }

/* ---------- The laminate pass (CSS) ---------- */
.pass {
  --tier: var(--tier-purple);
  position: relative;
  width: 280px; aspect-ratio: 54 / 86;
  border-radius: var(--radius-card);
  background: var(--paper);
  color: var(--on-paper);
  box-shadow: 0 30px 60px -20px rgba(8, 0, 18, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pass::before {
  /* punched slot for the clip */
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 12px; border-radius: 6px; background: var(--slot, var(--purple));
  z-index: 2;
}
.pass__top {
  position: relative; padding: 42px 22px 18px;
  background:
    linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.28) 38%, rgba(203, 167, 203, 0.4) 46%, rgba(169, 238, 250, 0.32) 54%, transparent 70%),
    var(--purple);
  background-size: 260% 100%, auto;
  color: var(--text);
}
.pass__top img { height: 22px; width: auto; }
.pass__title { margin-top: 18px; font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 0.9; text-transform: uppercase; }
.pass__tier { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 6px; background: var(--tier); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; }
.pass__fields { display: grid; gap: 10px; padding: 18px 22px; flex: 1; align-content: start; }
.pass__fields div { display: grid; gap: 1px; }
.pass__fields dt { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-paper-soft); }
.pass__fields dd { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.25; }
.pass__fields { margin: 0; }
.pass__photo { position: absolute; right: 22px; bottom: 66px; width: 30%; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--lilac); box-shadow: inset 0 0 0 2px rgba(30, 11, 48, 0.12); z-index: 1; }
.pass__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
.pass:has(.pass__photo) .pass__fields dd { max-width: 62%; }
.pass--sm .pass__photo { right: 12px; bottom: 34px; width: 34%; border-radius: 5px; }
.pass__barcode {
  height: 34px; margin: 0 22px 18px;
  background: repeating-linear-gradient(90deg, var(--on-paper) 0 2px, transparent 2px 4px, var(--on-paper) 4px 5px, transparent 5px 8px, var(--on-paper) 8px 11px, transparent 11px 12px);
  opacity: 0.85;
}
.pass--sm { width: 150px; border-radius: 12px; }
.pass--sm::before { top: 9px; height: 8px; }
.pass--sm .pass__top { padding: 26px 12px 10px; }
.pass--sm .pass__top img { height: 13px; }
.pass--sm .pass__title { font-size: 24px; margin-top: 10px; }
.pass--sm .pass__tier { font-size: 11px; padding: 2px 7px; }
.pass--sm .pass__fields { padding: 10px 12px; gap: 6px; }
.pass--sm .pass__fields dt { font-size: 10px; }
.pass--sm .pass__fields dd { font-size: 12px; }
.pass--sm .pass__barcode { height: 20px; margin: 0 12px 10px; }

/* ---------- Premiere run: numbered stubs that light in order ---------- */
.run { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: run; }
.run li {
  position: relative; padding: 26px 22px 30px 0; margin-right: 22px;
  border-top: 3px solid var(--line);
  transition: border-color 0.5s var(--ease-out);
}
.run li::before {
  counter-increment: run; content: counter(run);
  display: block; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-strong);
  transition: color 0.5s var(--ease-out), -webkit-text-stroke-color 0.5s var(--ease-out);
}
.run h3 { font-size: 24px; margin-bottom: 10px; }
.run p { font-size: 15px; color: var(--text-dim); }
.run li.is-lit { border-color: var(--lilac); }
.run li.is-lit::before { color: var(--lilac); -webkit-text-stroke-color: var(--lilac); }
.run--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.run--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Decode demo ---------- */
.decode { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.decode__card {
  border-radius: var(--radius-card); background: var(--paper); color: var(--on-paper);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6);
}
.decode__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 2px dashed rgba(30, 11, 48, 0.2); }
.decode__head .label { color: var(--on-paper-soft); }
.decode__score { font-family: var(--font-display); font-weight: 900; font-size: 36px; line-height: 1; color: var(--purple); }
.decode__score small { font-size: 16px; font-weight: 700; letter-spacing: 0.08em; color: var(--on-paper-soft); margin-left: 4px; }
.lyric { margin: 26px 0 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.15; text-transform: uppercase; color: var(--on-paper); }
.lyric span { display: block; }
.blank {
  display: inline-flex; align-items: baseline; vertical-align: baseline;
  min-width: 4.2ch; margin: 0 0.12em;
}
.blank input {
  width: 5.8ch; padding: 0 0.1em 0.04em; border: 0; border-bottom: 4px solid var(--plum);
  background: rgba(92, 0, 102, 0.08); border-radius: 0;
  font: inherit; color: var(--purple); text-transform: uppercase; text-align: center;
  outline: none; transition: background-color 0.2s, border-color 0.2s;
}
.blank--long input { width: 10.4ch; }
.blank input::placeholder { color: rgba(92, 0, 102, 0.35); }
.blank input:focus { background: rgba(92, 0, 102, 0.16); }
.blank.is-right input { border-color: #2E8B57; background: rgba(46, 139, 87, 0.14); color: #1F6B41; }
.blank.is-wrong input { border-color: #B3261E; animation: nudge 0.3s; }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.decode__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.decode__foot .btn--solid { background: var(--purple); color: var(--paper); }
.decode__foot .btn--solid:hover { background: var(--plum); }
.decode__foot .btn--line { border-color: rgba(30, 11, 48, 0.3); color: var(--on-paper); }
.decode__foot .btn--line:hover { border-color: var(--purple); background: rgba(51, 0, 102, 0.06); }
.decode__status { min-height: 1.6em; margin-top: 16px; font-weight: 600; color: var(--on-paper-soft); }
.decode__note { margin-top: 18px; font-size: 14px; color: var(--on-paper-soft); }

/* ---------- Two paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; }
.path { padding: clamp(64px, 9vw, 120px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; }
.path--fans { background: var(--purple); }
.path--artists { background: var(--plum); }
.path h2 { margin: 0 0 28px; font-size: clamp(40px, 4.6vw, 68px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 40ch; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 16px; height: 3px; background: var(--lilac); }
.path .actions { margin-top: auto; padding-top: 40px; }

/* ---------- Tier rack ---------- */
.rack { display: flex; justify-content: center; align-items: flex-end; margin-top: 64px; padding-bottom: 8px; }
.rack .pass { margin-inline: -22px; transition: transform 0.35s var(--ease-out); }
.rack .pass:nth-child(1) { transform: rotate(-12deg) translateY(28px); }
.rack .pass:nth-child(2) { transform: rotate(-6deg) translateY(8px); }
.rack .pass:nth-child(3) { transform: translateY(-6px); z-index: 2; }
.rack .pass:nth-child(4) { transform: rotate(6deg) translateY(8px); }
.rack .pass:nth-child(5) { transform: rotate(12deg) translateY(28px); }
.rack .pass:hover { transform: translateY(-18px) rotate(0); z-index: 3; }

/* ---------- Download ---------- */
.download { text-align: left; }
.download__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 22px 10px 18px;
  border-radius: var(--radius-control); border: 2px solid var(--line-strong);
  text-decoration: none; color: var(--text);
  transition: border-color 0.2s, background-color 0.2s;
}
.store:hover { border-color: var(--lilac); background: rgba(203, 167, 203, 0.08); }
.store svg { width: 28px; height: 28px; flex-shrink: 0; }
.store small { display: block; font-size: 12px; color: var(--text-dim); line-height: 1.2; }
.store strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.1; letter-spacing: 0.02em; }
.store__soon {
  position: absolute; top: -10px; right: 12px;
  padding: 2px 8px; border-radius: 6px; background: var(--lilac); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- Statements (big-type lists) ---------- */
.statements { list-style: none; margin: 48px 0 0; padding: 0; }
.statements li {
  display: block;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.statements li:last-child { border-bottom: 1px solid var(--line); }
.statements .label { color: var(--text-dim); }
.statements strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); line-height: 1; text-transform: uppercase; }

/* ---------- Feature pairs (2 x 2) ---------- */
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(32px, 6vw, 96px); margin-top: 56px; }
.pairs div { border-top: 3px solid var(--lilac); padding-top: 22px; }
.pairs h3 { margin-bottom: 12px; }
.pairs p { color: var(--text-soft); max-width: 48ch; }

/* ---------- Big quote ---------- */
.quote { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 6vw, 92px); line-height: 0.95; text-transform: uppercase; max-width: 16ch; margin: 0; }
.quote em { font-style: normal; color: var(--lilac); }

/* ---------- Two-column intro ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.split--hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }

/* ---------- Pass anatomy (About) ---------- */
.anatomy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.anatomy__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.anatomy__list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.anatomy__list p { color: var(--text-soft); }

/* ---------- Fan titles ---------- */
.titles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.title-stamp {
  position: relative; padding: 28px 24px 26px; border-radius: var(--radius-card);
  border: 2px solid var(--line-strong);
  min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end;
}
.title-stamp strong { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 4.4vw, 60px); line-height: 0.9; text-transform: uppercase; }
.title-stamp:nth-child(1) { background: var(--purple); }
.title-stamp:nth-child(2) { background: var(--plum); transform: translateY(24px); }
.title-stamp:nth-child(3) { background: var(--lilac); color: var(--ink); border-color: transparent; }
.title-stamp:nth-child(3) .label { color: var(--purple); }

/* ---------- Tier switcher (Badges) ---------- */
.tiers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tier-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: var(--radius-control);
  border: 2px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color 0.2s, background-color 0.2s;
}
.tier-btn i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.tier-btn:hover { border-color: var(--lilac); }
.tier-btn[aria-pressed="true"] { background: var(--lilac); color: var(--ink); border-color: var(--lilac); }

/* ---------- Contact ---------- */
.socials { list-style: none; margin: 40px 0 0; padding: 0; }
.socials a {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 16px; align-items: center;
  padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none;
  transition: color 0.2s;
}
.socials li:last-child a { border-bottom: 1px solid var(--line); }
.socials svg { width: 26px; height: 26px; }
.socials strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; }
.socials span { color: var(--text-dim); font-size: 15px; }
.socials .handle { font-weight: 600; color: var(--lilac); }
.socials a:hover strong { color: var(--lilac); }

.form { display: grid; gap: 20px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-card); background: var(--paper); color: var(--on-paper); }
.form h2 { color: var(--on-paper); font-size: clamp(34px, 3.6vw, 48px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: block; margin-bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-paper-soft); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 2px solid rgba(30, 11, 48, 0.18); border-radius: var(--radius-input);
  background: #FFFFFF; color: var(--on-paper); font: inherit; font-size: 16px;
  transition: border-color 0.2s;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #7A6685; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(51, 0, 102, 0.15); }
.form [aria-invalid="true"] { border-color: #B3261E; }
.form .error { margin-top: 6px; font-size: 14px; color: #B3261E; min-height: 0; }
.form .btn--solid { background: var(--purple); color: var(--paper); justify-self: start; }
.form .btn--solid:hover { background: var(--plum); }
.form-done { display: grid; gap: 14px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-card); background: var(--paper); color: var(--on-paper); }
.form-done h2 { color: var(--on-paper); font-size: clamp(34px, 3.6vw, 48px); }
.form-done .btn--line { border-color: rgba(30, 11, 48, 0.3); color: var(--on-paper); justify-self: start; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); text-transform: uppercase; line-height: 1.1;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 1.3em; color: var(--lilac); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 22px; color: var(--text-soft); max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin-top: 18px; color: var(--text-dim); font-size: 15px; max-width: 30ch; }
.footer-col h2 { font-size: 20px; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-dim); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--text); }
.social-row { display: flex; gap: 8px; }
.social-row a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-control); border: 2px solid var(--line); color: var(--text-soft); }
.social-row a:hover { border-color: var(--lilac); color: var(--text); }
.social-row svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-dim); font-size: 14px; }
.footer-bottom p { margin: 0; align-self: center; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-dim); }
.footer-legal a:hover { color: var(--text); }

/* ---------- Legal (terms + privacy): a long read on paper ---------- */
.legal__dates { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 32px 0 0; }
.legal__dates dt { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lilac); }
.legal__dates dd { margin: 4px 0 0; color: var(--text); font-weight: 600; }
.legal { background: var(--paper); color: var(--on-paper); padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 10vw, 128px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100dvh - var(--nav-h) - 48px); overflow-y: auto; padding-right: 8px; font-size: 14px; scrollbar-width: thin; scrollbar-color: var(--paper-2) transparent; }
.legal__toc .label { color: var(--on-paper-soft); }
.legal__toc-part { margin: 22px 0 8px; font-weight: 700; }
.legal__toc-part a { color: var(--purple); text-decoration: none; }
.legal__toc ol { margin: 0; padding: 0 0 0 22px; display: grid; gap: 2px; color: var(--on-paper-soft); }
.legal__toc ol a { display: block; padding: 3px 0; color: var(--on-paper-soft); text-decoration: none; }
.legal__toc a:hover { color: var(--plum); text-decoration: underline; }
.legal__body { max-width: 70ch; font-size: 17px; line-height: 1.65; }
.legal__body p, .legal__body ul { margin: 0 0 14px; }
.legal__body ul { padding-left: 22px; }
.legal__body li { margin-bottom: 4px; }
.legal__body li::marker { color: var(--plum); }
.legal__body a { color: var(--purple); }
.legal__intro { padding-bottom: 8px; }
.legal__part { margin-top: clamp(48px, 6vw, 72px); }
.legal__part-title { display: grid; gap: 6px; padding-bottom: 20px; border-bottom: 3px solid var(--purple); font-size: clamp(38px, 4.6vw, 60px); color: var(--purple); }
.legal__part-title span { font-size: 16px; letter-spacing: 0.16em; color: var(--plum); }
.legal__sec { padding-top: 40px; }
.legal__sec h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.05; color: var(--on-paper); margin-bottom: 16px; }
.legal__sec h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; line-height: 1.35; text-transform: none; letter-spacing: 0; color: var(--on-paper); margin: 26px 0 8px; }
.legal__num { color: var(--plum); font-variant-numeric: tabular-nums; }
.legal__sub { margin-top: 18px !important; font-weight: 700; }
.legal__table { overflow-x: auto; margin: 6px 0 18px; border: 1px solid var(--paper-2); border-radius: var(--radius-input); }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal__table th, .legal__table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--paper-2); }
.legal__table thead th { background: var(--paper-2); font-weight: 700; }
.legal__table tbody tr:last-child > * { border-bottom: 0; }
.legal__table tbody th { font-weight: 600; white-space: nowrap; }
.legal :focus-visible { outline-color: var(--purple); }
@media (max-width: 860px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .legal__toc { position: static; max-height: none; overflow: visible; padding: 0 0 20px; border-bottom: 1px solid var(--paper-2); }
  .legal__toc ol { display: none; }
  .legal__toc-part { margin: 10px 0 0; }
  .legal__toc-part a { display: inline-flex; align-items: center; min-height: 40px; }
  .legal__table tbody th { white-space: normal; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .run, .run--four { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .run--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .hero__grid, .decode, .split, .anatomy, .download__grid, .page-hero { grid-template-columns: minmax(0, 1fr); }
  .hang { display: none; }
  .hero { min-height: 0; }
  .hero { flex-direction: column; align-items: stretch; }
  .hero .hero__stage { position: relative; inset: auto; width: 100%; height: 600px; margin-top: 24px; }
  .paths { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero .hero__stage { height: 470px; }
  .pass-stage .pass-hint { bottom: 4px; }
  .run, .run--three, .run--four { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .run li { margin-right: 0; padding-right: 0; display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
  .run li::before { grid-row: span 2; font-size: 52px; margin-bottom: 0; }
  .run h3 { margin-bottom: 6px; }
  .pairs, .titles, .form .row, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .title-stamp:nth-child(2) { transform: none; }
  .title-stamp { min-height: 150px; }
  .rack { margin-top: 48px; }
  .rack .pass--sm { width: 90px; }
  .rack .pass { margin-inline: -16px; }
  .rack .pass--sm .pass__fields { display: none; }
  .rack .pass--sm .pass__photo { bottom: 36px; width: 40%; }
  .faces .peep { width: 64px; height: 64px; }
  .peep--stamp { width: 72px; height: 72px; }
  .rack .pass--sm .pass__title { font-size: 18px; }
  .anatomy__list li { grid-template-columns: 1fr; gap: 4px; }
  .actions .btn { flex: 1 1 auto; }
  .stores .store { flex: 1 1 200px; }
  .socials a { grid-template-columns: 32px 1fr; }
  .socials .handle { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .run li, .run li::before, .rack .pass, .btn { transition: none; }
  .blank.is-wrong input { animation: none; }
}

/* ==========================================================
   Scroll choreography: everything is "issued", like a pass.
   Type feeds up out of a slot, rules print left to right,
   passes drop onto their lanyards, stamps press, the crowd stands.
   Only under html.motion (JS on, motion allowed); content is visible without it.
   ========================================================== */
.motion .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.motion .line > span { display: block; transform: translateY(105%); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.motion .is-in .line > span, .motion .line.is-in > span { transform: none; }

.motion [data-feed] > * { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 100% 0); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), clip-path 0.8s var(--ease-out); transition-delay: calc(120ms + var(--i, 0) * 90ms); }
.motion [data-feed].is-in > * { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); }

/* rules print left to right */
.motion .pairs > div, .motion .statements li, .motion .run li { border-top-color: transparent; background: linear-gradient(var(--rule-c, var(--lilac)), var(--rule-c, var(--lilac))) 0 0 / 0% var(--rule-w, 3px) no-repeat; transition: background-size 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.motion .statements li { --rule-c: var(--line-strong); --rule-w: 1px; }
.motion .run li { --rule-c: var(--line); }
.motion .run li.is-lit { --rule-c: var(--lilac); }
.motion .is-in .pairs > div, .motion .pairs.is-in > div, .motion .statements.is-in li, .motion .run.is-in li { background-size: 100% var(--rule-w, 3px); }

/* passes drop onto the lanyard and settle */
@keyframes hang-in { 0% { transform: translateY(-60px) rotate(-10deg); opacity: 0; } 45% { opacity: 1; } 60% { transform: translateY(6px) rotate(5deg); } 80% { transform: translateY(-2px) rotate(-2deg); } 100% { transform: rotate(4deg); } }
.motion .hang { opacity: 0; }
.motion .hang.is-in { opacity: 1; }
.motion .hang.is-in .pass { animation: hang-in 1.6s var(--ease-out) both; }
.motion .anatomy > .pass, .motion .decode__card { opacity: 0; transform: translateY(40px) rotate(-3deg); transition: opacity 0.8s var(--ease-out), transform 1.1s var(--ease-out); }
.motion .is-in > .anatomy > .pass, .motion .anatomy.is-in > .pass, .motion .decode.is-in .decode__card { opacity: 1; transform: none; }

/* the deck fans out */
.motion .rack .pass { transition: transform 1.1s var(--ease-out), opacity 0.6s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.motion .rack:not(.is-in) .pass { opacity: 0.0; transform: translateX(var(--stack, 0)) translateY(60px) rotate(0deg) !important; }
.rack .pass:nth-child(1) { --stack: 220%; } .rack .pass:nth-child(2) { --stack: 110%; }
.rack .pass:nth-child(4) { --stack: -110%; } .rack .pass:nth-child(5) { --stack: -220%; }

/* stamps press */
@keyframes stamp { 0% { opacity: 0; transform: scale(1.35) rotate(-7deg); } 60% { opacity: 1; transform: scale(0.97) rotate(1deg); } 100% { opacity: 1; transform: var(--stamp-rest, none); } }
.motion .titles .title-stamp { opacity: 0; }
.motion .titles.is-in .title-stamp { animation: stamp 0.6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 220ms); }
.title-stamp:nth-child(2) { --stamp-rest: translateY(24px); }

/* the crowd stands up; faces shuffle in */
.motion .crowd .peep, .motion .faces .peep { opacity: 0; translate: 0 70%; transition: translate 0.9s var(--ease-out), opacity 0.5s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.motion .crowd.is-in .peep, .motion .faces.is-in .peep { opacity: 1; translate: 0 0; }

@media (max-width: 720px) {
  .title-stamp:nth-child(2) { --stamp-rest: none; }
}
@media (prefers-reduced-motion: reduce) {
  .motion .line > span, .motion [data-feed] > *, .motion .hang, .motion .rack .pass, .motion .titles .title-stamp, .motion .crowd .peep, .motion .faces .peep, .motion .anatomy > .pass, .motion .decode__card { opacity: 1 !important; transform: none !important; clip-path: none !important; translate: none !important; animation: none !important; }
}
