/* VOICE   occasion, cinematic: a gig at night, told as a short film you scroll through
   IDEA    one continuous stage behind the whole page; the camera walks on, leans in, pulls back
   PICTURE a real-time 3D world (fixed behind the page): gold logo, music stands, light, pulses and cards
   COLOUR  warm black, warm white, SetDock gold as the only accent; a cold blue night when the signal drops
   TYPE    Archivo wide and heavy for headlines, Inter for text
   LAYOUT  laptop: words pinned in a left column over a soft shadow, the world on the right. Phone: the world
           fills the top of the screen, words and controls in a glass sheet pinned below it */

@font-face { font-family: 'Archivo Variable'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(fonts/archivo.woff2) format('woff2-variations'); }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter.woff2) format('woff2-variations'); }

:root { color-scheme: dark; --bg: #0b0908; --glass: rgba(20, 16, 13, .62); --line: rgba(255, 236, 210, .12); --ink: #f5efe6; --soft: #ddd3c6; --muted: #b3a999; --gold: #f2b84b; --gold-ink: #1d1404;
  --display: 'Archivo Variable', Archivo, 'Arial Black', system-ui, sans-serif; --text: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
:root[data-theme=light], :root[data-theme=dark] { color-scheme: dark; }
* { box-sizing: border-box; min-width: 0; }
/* every chapter is one screen, and scrolling (either way) always settles on one */
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
#world { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.scrim { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 9, 8, .9) 0%, rgba(11, 9, 8, .62) 32%, rgba(11, 9, 8, 0) 58%); }
main { position: relative; z-index: 2; }
h1, h2, h3 { font-family: var(--display); font-stretch: 120%; letter-spacing: -.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(46px, 6vw, 92px); font-weight: 860; }
h2 { font-size: clamp(36px, 4.4vw, 64px); font-weight: 840; }
h3 { font-size: 20px; font-weight: 760; font-stretch: 108%; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

/* nav with a chapter rail */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 14px max(4vw, 18px) 26px; background: linear-gradient(rgba(11, 9, 8, .92) 55%, rgba(11, 9, 8, 0)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 820 21px var(--display); font-stretch: 116%; }
.brand svg { width: 32px; height: 32px; }
.progress { display: flex; gap: 4px; margin: 0 auto; padding: 4px; border-radius: 999px; background: rgba(20, 16, 13, .55); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.progress a { padding: 7px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .3s, color .3s; }
.progress a.on { background: var(--gold); color: var(--gold-ink); }

/* buttons and controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 240, 220, .07); color: var(--ink); font: 650 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: rgba(255, 240, 220, .13); }
.btn:active { transform: scale(.97); }
.btn.gold { background: var(--gold); color: var(--gold-ink); border-color: transparent; box-shadow: 0 10px 34px -8px rgba(242, 184, 75, .6); }
.btn.gold:hover { background: #ffc865; }
.btn.ghost { background: rgba(11, 9, 8, .3); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.big { min-height: 60px; padding: 0 40px; font-size: 18px; }
.btn.round { width: 48px; padding: 0; font-size: 24px; }
.grow { flex: 1; }
.linkish { color: var(--gold); font-weight: 600; text-underline-offset: 3px; }
label, .label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin: 14px 0 8px; }
select { width: 100%; min-height: 48px; padding: 0 36px 0 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(11, 9, 8, .6); color: var(--ink); font: 16px var(--text); appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.row { display: flex; gap: 10px; }
.row > select { flex: 1; }
.panel { margin-top: 26px; padding: 16px 18px 18px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.panel > :first-child { margin-top: 0; }
.status { margin-top: 12px; font-size: 14px; color: var(--gold); min-height: 1.5em; }
.now { margin-bottom: 12px; }
.now span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.now b { display: block; font: 820 26px var(--display); font-stretch: 112%; }
.now em { display: block; font-style: normal; font-size: 14px; color: var(--gold); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(11, 9, 8, .6); border: 1px solid var(--line); }
.seg button { min-height: 42px; padding: 0 16px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); font: 600 15px var(--text); cursor: pointer; }
.seg button[aria-checked=true] { background: var(--ink); color: var(--bg); }
.grid3 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.stepper { display: flex; align-items: center; gap: 4px; min-height: 48px; padding: 3px; border-radius: 14px; background: rgba(11, 9, 8, .6); border: 1px solid var(--line); }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: 11px; background: rgba(255, 240, 220, .09); color: var(--ink); font: 600 20px var(--text); cursor: pointer; }
.stepper output { flex: 1; text-align: center; font: 750 18px var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 9, 8, .4); color: var(--soft); font: 500 14px var(--text); cursor: pointer; }
.chips button:hover { border-color: rgba(242, 184, 75, .6); color: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); padding: 0; cursor: pointer; position: relative; }
.swatches button[aria-checked=true] { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 184, 75, .35); }
.swatches span { position: absolute; inset: 22% 22% auto auto; width: 34%; height: 34%; border-radius: 50%; }
.switch { display: inline-flex; align-items: center; gap: 14px; margin: 0; font: 650 17px var(--text); color: var(--ink); cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 60px; height: 34px; border-radius: 99px; background: #4a3f36; position: relative; transition: background .25s; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .25s; }
.switch input:checked + .track { background: #2fbf71; }
.switch input:checked + .track::after { transform: translateX(26px); }
.switch input:focus-visible + .track { outline: 3px solid var(--gold); outline-offset: 3px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--soft); font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 13px; height: 7px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }

/* chapters: tall sections whose words stay pinned while the world moves */
.ch { position: relative; padding: 84px max(5vw, 20px) 40px; min-height: 100svh; display: flex; align-items: center; scroll-snap-align: start; scroll-snap-stop: always; }
.ch .copy { max-width: 540px; }
.ch .copy > p { margin-top: 18px; color: var(--soft); font-size: 18px; max-width: 34em; }
.hero .copy { max-width: 640px; }
.lede { font-size: clamp(18px, 1.6vw, 21px) !important; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.scroll-hint { display: flex; align-items: center; gap: 12px; margin-top: 56px !important; font-size: 14px !important; color: var(--muted) !important; }
.scroll-hint span { width: 22px; height: 36px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: .2; } }
.lineup .copy { max-width: 1240px; }
.cards { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; }
.cards article, .privacy { padding: 22px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.cards p { margin-top: 8px; color: var(--soft); font-size: 15px; }
.privacy { margin-top: 14px; max-width: 980px; }
.facts { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facts b { display: block; font: 820 28px var(--display); font-stretch: 112%; color: var(--gold); }
.facts span { color: var(--muted); font-size: 14px; }
.final { flex-wrap: wrap; align-content: center; }
.final .btn { margin-top: 30px; }
.foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding: 22px max(5vw, 20px) max(22px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span::after { animation: none; }
}

/* narrow: the world fills the top of the screen, the words sit in a glass sheet below it */
@media (max-width: 900px) {
  .progress { display: none; }
  .nav .btn { margin-left: auto; }
  .scrim { background: linear-gradient(rgba(11, 9, 8, 0) 40%, rgba(11, 9, 8, .75) 62%, rgba(11, 9, 8, .92)); }
  .ch { align-items: flex-end; padding: 72px 0 0; }
  .ch .copy { width: 100%; max-width: none; max-height: 72svh; overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px max(22px, env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: rgba(15, 12, 10, .72); border: 1px solid var(--line); border-bottom: 0; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .hero .copy, .final .copy { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding-inline: 0; }
  .hero .copy, .final .copy { padding: 0 20px 28px; }
  .final { padding-bottom: 90px; }
  .ch .copy > p { font-size: 16px; margin-top: 12px; }
  .panel { margin-top: 16px; padding: 14px; background: rgba(11, 9, 8, .5); }
  .ticks { display: none; }
  .scroll-hint { display: none !important; }
  /* one screen like every chapter: the cards become a row you swipe sideways */
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-top: 22px; padding-bottom: 6px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .cards article { flex: 0 0 78%; scroll-snap-align: start; padding: 18px; }
  .privacy { padding: 18px; }
  .facts { margin: 10px 0; gap: 10px; }
  .facts b { font-size: 22px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup { align-items: center; }
  .lineup h2, .hero h1, .final h2 { text-shadow: 0 2px 24px rgba(11, 9, 8, .9); }
  .lineup .copy { max-height: none; overflow: visible; padding: 8px 20px 30px; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding-inline: 0; }
}
@media (max-width: 600px) {
  h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .grid3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .grid3 > :first-child { grid-column: 1 / -1; }
  .cta-row .btn { flex: 1; }
  /* keep each chapter's sheet short enough to sit whole on screen: three lines of words, then the controls */
  .ch:not(.hero):not(.final):not(.lineup) .copy > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
  .ch .copy { padding: 18px 16px 20px; }
  .seg button { padding: 0 12px; }
}
