:root {
  color-scheme: dark;
  --ink: #050505;
  --paper: #f3f1eb;
  --muted: #9b9b95;
  --line: rgba(243, 241, 235, .16);
  --aqua: #79f3df;
  --pad: clamp(1.1rem, min(4vw, 5vh), 4.5rem);
  --section-space: clamp(4.5rem, min(10vw, 14vh), 10rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); font-size: clamp(15px, calc(13.5px + .25vw), 18px); }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
::selection { background: var(--aqua); color: var(--ink); }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* Scroll-driven feature sequence */
.intro-sequence {
  --phone-radius: clamp(1.8rem, 4vw, 3.5rem);
  position: relative;
  z-index: 20;
  overflow: visible;
  background: #111214;
  color: #f4f3eb;
}

.intro-sequence.is-handoff-complete { visibility: hidden; }

.fall-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 36rem;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 68% 44%, #22262a 0, #141618 34%, #0b0c0e 78%);
}

.fall-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(-20rem, -12vw, -6rem);
  width: min(72vw, 62rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 9%, #ff4f62 9% 18%, transparent 18% 30%, #f4cb45 30% 42%, transparent 42% 57%, #43d7c3 57% 69%, transparent 69% 82%, #7064ff 82% 94%, transparent 94%);
  opacity: .17;
  transform: translateY(-50%);
}

.schematic-grid {
  position: absolute;
  inset: -60px;
  opacity: .17;
  background-image:
    linear-gradient(rgba(169,235,230,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,235,230,.25) 1px, transparent 1px),
    linear-gradient(rgba(169,235,230,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,235,230,.1) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  mask-image: radial-gradient(circle at 65% 50%, black 12%, rgba(0,0,0,.72) 52%, transparent 93%);
}

.schematic-orbit { position: absolute; border: 1px dashed rgba(101,232,218,.38); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 8%; right: 7%; width: min(56vw, 48rem); aspect-ratio: 1; }
.orbit-two { right: 23%; bottom: -21%; width: min(35vw, 30rem); aspect-ratio: 1; border-color: rgba(255,86,108,.32); }

.fall-copy {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: clamp(1.4rem, 6vw, 6.5rem);
  display: flex;
  align-items: center;
  width: min(55vw, 61rem);
  min-height: 18rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.fall-copy h1 {
  max-width: 10.5ch;
  margin: 0;
  color: #f5f4ed;
  font: 650 clamp(3.6rem, min(8.6vw, 13vh), 9.8rem)/.86 Arial, Helvetica, sans-serif;
  letter-spacing: -.08em;
  text-wrap: balance;
}

.fall-copy-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(.8rem, 1.8vw, 1.5rem);
}

.fall-copy p {
  max-width: 30ch;
  margin: 0;
  color: rgba(245, 244, 237, .72);
  font: 500 clamp(1rem, min(2vw, 3vh), 1.7rem)/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .01em;
  text-wrap: balance;
}

.fall-copy p[hidden] { display: none; }

.scroll-keypoints { position: relative; z-index: 2; margin-top: -100svh; pointer-events: none; }
.scroll-keypoints i { display: block; height: 100svh; min-height: 36rem; }

/* Phone geometry */
.falling-phone {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: clamp(4%, 10vw, 15%);
  width: clamp(17rem, min(34vw, 67vh), 34rem);
  aspect-ratio: .5;
  color: #8ce9df;
  perspective: 1200px;
  visibility: hidden;
}

.scene-main-active .falling-phone { visibility: visible; will-change: transform; }
.falling-phone::before, .falling-phone::after { content: ""; position: absolute; z-index: -1; top: -62vh; height: 55vh; border-left: 1px dashed rgba(120,231,220,.28); }
.falling-phone::before { left: 28%; }
.falling-phone::after { right: 24%; height: 42vh; border-color: rgba(255,206,72,.25); }
.phone-group { position: absolute; inset: 0; transform-style: preserve-3d; }
.slab-phone { position: absolute; inset: 0; opacity: 0; transform: scale(.82); transform-style: preserve-3d; transition: opacity .45s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.slab-primary { z-index: 2; opacity: 1; transform: scale(1); }
.slab-core { position: absolute; inset: 0; transform-style: preserve-3d; }
.scene-main-active .slab-core,
.scene-grouped-active .slab-core { will-change: transform; }

.slab-core::before, .slab-core::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -5px;
  border: 8px solid #777d81;
  border-radius: calc(var(--phone-radius) + 5px);
  background: transparent;
  outline: 1px solid #34383b;
  pointer-events: none;
}

.slab-core::before { transform: translateZ(10px); }
.slab-core::after { border-color: #555b5f; transform: translateZ(-10px); }
.slab-face { position: absolute; z-index: 2; inset: 0; overflow: hidden; border: 3px solid #aeb3b6; border-radius: var(--phone-radius); outline: 1px solid rgba(88,94,98,.9); outline-offset: 4px; backface-visibility: hidden; }
.slab-front { padding: 10px; background: rgba(8,12,14,.96); transform: translateZ(12px); }
.slab-front::before { content: ""; position: absolute; z-index: 5; inset: 3px; border: 1px solid rgba(164,169,172,.78); border-radius: calc(var(--phone-radius) - 3px); pointer-events: none; }
.slab-front::after { content: ""; position: absolute; z-index: 6; inset: -1px; border-radius: inherit; box-shadow: inset 9px 9px 0 -6px #e0e3e5, inset -9px 9px 0 -6px #a1a6aa, inset 9px -9px 0 -6px #777d81, inset -9px -9px 0 -6px #c8cccf; pointer-events: none; }
.slab-back { background: linear-gradient(145deg, #34393c, #090c0d); transform: rotateY(180deg) translateZ(12px); }
.slab-screen { position: absolute; inset: 10px; display: block; overflow: hidden; border: 1px solid #287b70; border-radius: calc(var(--phone-radius) - 10px); background: #0c1112; opacity: .18; }
.slab-front > i { position: absolute; z-index: 7; top: 20px; left: 50%; width: 38%; height: 17px; border: 1px solid rgba(190,255,247,.42); border-radius: 999px; background: #050708; transform: translateX(-50%); }
.slab-back b { position: absolute; top: 28px; left: 28px; width: 38px; aspect-ratio: 1; border: 2px solid #9fece3; border-radius: 50%; background: radial-gradient(circle, #071012 35%, #5fb8ae 38% 43%, #080c0d 45%); }
.slab-back b:nth-child(2) { top: 78px; }
.slab-back b:nth-child(3) { top: 53px; left: 78px; }
.slab-side { position: absolute; display: block; border: 1px solid #686e72; background: linear-gradient(90deg, #34383b, #c4c8ca 30%, #777d81 55%, #282c2f); }
.side-left, .side-right { top: 38px; bottom: 38px; width: 24px; }
.side-left { left: -12px; transform: rotateY(90deg); }
.side-right { right: -12px; transform: rotateY(90deg); }
.side-top, .side-bottom { right: 38px; left: 38px; height: 24px; background: linear-gradient(#34383b, #c4c8ca 30%, #777d81 55%, #282c2f); }
.side-top { top: -12px; transform: rotateX(90deg); }
.side-bottom { bottom: -12px; transform: rotateX(90deg); }

/* Phone screen scenes */
#phone-rave-cat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s ease; }
#phone-rave-cat[hidden] { display: none; }
.show-rave-cat #primary-screen { opacity: 1 !important; background: #000; }
.show-rave-cat #phone-rave-cat { opacity: 1; }
.phone-marquee { position: absolute; top: 25%; left: -50%; display: none; visibility: hidden; width: 200%; height: 50%; overflow: hidden; container-type: size; background: #080b0c; transform: rotate(-90deg); transform-origin: center; }
.phone-marquee b { position: absolute; top: 50%; left: 100%; width: max-content; color: #f8fff9; font: 800 82cqh/1 "SFMono-Regular", Consolas, monospace; letter-spacing: -.08em; white-space: nowrap; transform: translateY(-50%); animation: slab-marquee 3.2s linear infinite paused; }
.prepare-marquee .phone-marquee { display: block; }
.show-marquee #primary-screen { opacity: 1 !important; background: #080b0c !important; }
.show-marquee .phone-marquee { visibility: visible; }
.show-marquee .phone-marquee b { animation-play-state: running; }
.phone-fader { position: absolute; inset: 0; display: none; visibility: hidden; place-items: center; background: radial-gradient(circle at 50% 45%, #163e3a, #07100f 70%); }
.phone-fader > i { position: relative; display: block; width: 11%; height: 68%; border: 1px solid rgba(196,255,245,.7); border-radius: 999px; background: linear-gradient(90deg, #07100f 0 42%, #84e9da 44% 56%, #07100f 58%); }
.phone-fader > i > b { position: absolute; right: -70%; bottom: 4%; left: -70%; height: 9%; border: 2px solid #d8fff8; border-radius: .45rem; background: #4dffe2; animation: fader-travel 2.2s ease-in-out infinite alternate paused; }
.phone-fader em { position: absolute; right: 0; bottom: 8%; left: 0; color: rgba(216,255,248,.8); font: 700 clamp(.55rem, 1.4vw, 1rem)/1 Consolas, monospace; font-style: normal; letter-spacing: .14em; text-align: center; }
.prepare-fader .phone-fader { display: grid; }
.show-fader #primary-screen { opacity: 1 !important; background: #07100f !important; }
.show-fader .phone-fader { visibility: visible; }
.show-fader .phone-fader > i > b { animation-play-state: running; }

@keyframes slab-marquee {
  from { transform: translate(0, -50%); }
  to { transform: translate(calc(-100% - 100cqw), -50%); }
}

@keyframes fader-travel {
  from { transform: translateY(0); }
  to { transform: translateY(-920%); }
}

/* Three-device chase */
.falling-phone:has(.phone-group.is-multiple) { right: auto; left: 68%; width: clamp(13rem, 24vw, 22rem); translate: -50% 0; }
.phone-group.is-multiple .slab-screen { border-color: #bffdf4; background: #4dffe2; opacity: .28; box-shadow: inset 0 0 0 2px rgba(225,255,251,.45); }
.phone-group.is-multiple .slab-left { z-index: 1; opacity: 1; transform: translate(-88%, 28%) translateZ(-170px) scale(.48); }
.phone-group.is-multiple .slab-primary { z-index: 2; transform: translateY(0) translateZ(0) scale(.6); }
.phone-group.is-multiple .slab-right { z-index: 3; opacity: 1; transform: translate(88%, -28%) translateZ(170px) scale(.68); }

/* Grouped client edge pair */
.grouped-pair { position: absolute; z-index: 4; inset: 0; overflow: hidden; visibility: hidden; opacity: 0; perspective: 1300px; pointer-events: none; }
.scene-grouped-active .grouped-pair { visibility: visible; opacity: 1; }
.edge-phone { position: absolute; top: 50%; width: clamp(11rem, 18vw, 16rem); aspect-ratio: .5; translate: 0 -50%; transform-style: preserve-3d; }
.scene-grouped-active .edge-phone { will-change: transform; }
.edge-phone-left { left: -3.5vw; }
.edge-phone-right { right: -3.5vw; }
.edge-phone .slab-screen { opacity: 1; }
.edge-screen-red { border-color: #ff7c7c; background: #f2182d; box-shadow: inset 0 0 0 2px rgba(255,230,230,.5); }
.edge-screen-blue { border-color: #83bdff; background: #1268f2; box-shadow: inset 0 0 0 2px rgba(225,240,255,.48); }

/* Stadium football */
.rolling-football { position: absolute; z-index: 4; top: 50%; right: clamp(4%, 10vw, 15%); width: clamp(22rem, min(46vw, 68vh), 42rem); aspect-ratio: 1; color: #343738; visibility: hidden; opacity: 0; }
.scene-football-active .rolling-football { visibility: visible; will-change: transform, opacity; }
.rolling-football svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ball-shell { fill: url(#ball-surface); stroke: #deded8; stroke-width: 2; }
.ball-dark-panel { stroke: #080909; stroke-width: 2; stroke-linejoin: round; }
.ball-panels { fill: none; stroke: #575a5a; stroke-width: 2.2; stroke-linejoin: round; }
.ball-seams { fill: none; stroke: rgba(45,47,47,.75); stroke-width: 1.25; }
.ball-highlight { fill: rgba(255,255,255,.22); transform: rotate(-24deg); transform-origin: 78px 62px; }

/* Feature copy placement */
[data-feature-index="0"] .fall-copy { top: clamp(2.5rem, 8vh, 6rem); right: 0; bottom: auto; left: 0; justify-content: center; width: 100%; min-height: 0; padding-inline: 1.25rem; text-align: center; transform: none; }
[data-feature-index="0"] .fall-copy h1 { max-width: 12ch; }
[data-feature-index="0"] .fall-copy-inner { align-items: center; }
[data-feature-index="1"] .fall-copy { top: 10%; right: auto; bottom: auto; left: 6%; width: 50vw; min-height: 0; transform: none; }
[data-feature-index="2"] .fall-copy { top: auto; right: 6%; bottom: 9%; left: auto; justify-content: flex-end; width: 54vw; min-height: 0; text-align: right; transform: none; }
[data-feature-index="3"] .fall-copy { top: 8%; right: auto; bottom: auto; left: 5%; width: 51vw; min-height: 0; transform: none; }
[data-feature-index="4"] .fall-copy { top: auto; right: auto; bottom: 8%; left: 6%; width: 48vw; min-height: 0; transform: none; }
[data-feature-index="6"] .fall-copy { top: 50%; right: auto; bottom: auto; left: 50%; justify-content: center; width: min(56vw, 54rem); min-height: 0; text-align: center; transform: translate(-50%, -50%); }
[data-feature-index="6"] .fall-copy h1 { max-width: 10ch; }
[data-feature-index="7"] .fall-copy { top: auto; right: 5%; bottom: 8%; left: auto; justify-content: flex-end; width: 52vw; min-height: 0; text-align: right; transform: none; }
[data-feature-index="8"] .fall-copy { top: 12%; right: auto; bottom: auto; left: 7%; width: 52vw; min-height: 0; transform: none; }
[data-feature-index="9"] .fall-copy { top: auto; right: auto; bottom: 8%; left: 6%; width: 52vw; min-height: 0; text-align: left; transform: none; }
[data-feature-index="10"] .fall-copy { top: auto; right: auto; bottom: 8%; left: 6%; width: 58vw; min-height: 0; transform: none; }

/* Static show directory */
.site-shell {
  --handoff: 1;
  position: relative;
  z-index: 30;
  margin-top: -100svh;
  min-height: 100svh;
  background: var(--ink);
  box-shadow: 0 -8rem 10rem rgba(5,5,5,.92);
}
.site-shell > main { opacity: var(--handoff); }
.brand { display: inline-flex; align-items: center; gap: .8rem; font: 600 1rem/1 Arial,sans-serif; letter-spacing: -.08em; }
.brand span { color: var(--muted); font: 400 .62rem/1 sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { margin: 0 0 1.4rem; color: var(--muted); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: 400; letter-spacing: -.065em; }
.shows-section { min-height: 100svh; padding: 0 var(--pad) clamp(3rem, 8vw, 7rem); }
.directory-header { display: flex; align-items: center; justify-content: space-between; min-height: clamp(5rem, 11svh, 7rem); border-bottom: 1px solid var(--line); }
.inquiry-button { display: inline-flex; align-items: center; gap: 1.25rem; padding: .85rem 1rem .8rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; transition: border-color .25s, background .25s, color .25s; }
.inquiry-button:hover, .inquiry-button:focus-visible { border-color: var(--paper); background: var(--paper); color: var(--ink); outline: 0; }
.inquiry-button span { font-size: 1rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: clamp(2rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, min(5vw, 7vh), 4rem); }
.section-heading { padding-top: clamp(4rem, 11svh, 8rem); }
.section-heading h2 { font-size: clamp(3.6rem, min(10vw, 14svh), 9rem); line-height: .85; }

@media (max-width: 700px) {
  .fall-stage, .scroll-keypoints i { min-height: 34rem; }
  .fall-copy { top: auto; bottom: 7svh; left: 1.25rem; width: calc(100% - 2.5rem); min-height: 12rem; transform: none; }
  .fall-copy h1 { max-width: 11ch; font-size: clamp(3rem, min(15vw, 10vh), 5.7rem); }
  .falling-phone { right: auto; left: 50%; width: clamp(17rem, min(75vw, 64vh), 28rem); translate: -50% 0; }
  .orbit-one { top: 2%; right: -42%; width: 125vw; }
  .orbit-two { right: 48%; bottom: -10%; width: 75vw; }
  .schematic-grid { mask-image: linear-gradient(to bottom, black, rgba(0,0,0,.8)); }
  .falling-phone:has(.phone-group.is-multiple) { right: auto; left: 50%; width: 46vw; translate: -50% 0; }
  .phone-group.is-multiple .slab-left { transform: translate(-82%, 25%) translateZ(-100px) scale(.45); }
  .phone-group.is-multiple .slab-primary { transform: translateY(0) scale(.56); }
  .phone-group.is-multiple .slab-right { transform: translate(82%, -25%) translateZ(110px) scale(.62); }
  .edge-phone { width: clamp(7.5rem, 34vw, 10rem); }
  .edge-phone-left { left: -10vw; }
  .edge-phone-right { right: -10vw; }
  .rolling-football { right: 50%; width: min(76vw, 62vh); translate: 50% 0; }
  [data-feature-index="0"] .fall-copy { top: 4.5rem; bottom: auto; }
  [data-feature-index="1"] .fall-copy, [data-feature-index="3"] .fall-copy, [data-feature-index="8"] .fall-copy, [data-feature-index="9"] .fall-copy { top: 5rem; right: 1.25rem; bottom: auto; left: 1.25rem; justify-content: flex-start; width: auto; text-align: left; }
  [data-feature-index="2"] .fall-copy, [data-feature-index="4"] .fall-copy, [data-feature-index="7"] .fall-copy, [data-feature-index="10"] .fall-copy { top: auto; right: 1.25rem; bottom: 5svh; left: 1.25rem; justify-content: flex-start; width: auto; text-align: left; }
  [data-feature-index="6"] .fall-copy { top: 50%; right: auto; bottom: auto; left: 50%; width: 62vw; text-align: center; transform: translate(-50%, -50%); }
  .section-heading { display: block; }
  .directory-search { margin-top: clamp(1.75rem, 6vh, 2.5rem); }
}

@media (max-height: 600px) {
  .section-heading { padding-top: 3.5rem; }
  .shows-section { padding-bottom: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
