/* Riffalong: one photograph, glass on top. The mixer is a glass sleeve with the record inside; your
   part gets a strip of tape. Color lights only what's yours. */
@font-face { font-family: "Funnel Display"; src: url("/assets/fonts/funnel-display-latin.woff2") format("woff2"); font-weight: 500 800; font-display: swap }
@font-face { font-family: "Funnel Sans"; src: url("/assets/fonts/funnel-sans-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap }
@font-face { font-family: "Just Another Hand"; src: url("/assets/fonts/just-another-hand-latin.woff2") format("woff2"); font-weight: 400; font-display: swap }

:root {
  color-scheme: dark;
  --seat: #FFB23E;
  --ground: #06070B;
  --ink: #F4F2EE;
  --soft: #C9C8D3;
  --dim: #A5A4B2;
  --pane: rgba(20, 22, 34, 0.42);
  --edge: rgba(255, 255, 255, 0.16);
  --edge-lo: rgba(255, 255, 255, 0.05);
  --vocals: #F5F1E8; --guitar: #FFB23E; --bass: #E8457A; --drums: #7D8BFF; --other: #B08CFF;
  --mark: #FFB23E; --on-tape: #17130D;
  --display: "Funnel Display", "Avenir Next", system-ui, sans-serif;
  --body: "Funnel Sans", "Avenir Next", system-ui, sans-serif;
  --hand: "Just Another Hand", "Marker Felt", cursive;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box }
html { background: var(--ground); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100svh; display: flex; flex-direction: column }
main { flex: 1 }
::selection { background: var(--mark); color: var(--on-tape) }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px }
a[href^="mailto:"] { overflow-wrap: anywhere }
:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; border-radius: 10px }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; font-weight: 700 }
p { margin: 0; text-wrap: pretty }
.gut { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
.max { max-width: 1320px; margin: 0 auto }
button { -webkit-user-select: none; user-select: none }
.skip { position: absolute; left: -999px; top: 12px; z-index: 40; background: var(--mark); color: var(--on-tape); padding: 10px 14px; border-radius: 10px; font-weight: 600 }
.skip:focus { left: 16px }

/* glass, two weights */
.glass { background: var(--pane); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid var(--edge-lo); border-top-color: var(--edge); border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06) }
.glass.flat { background: #10121B; -webkit-backdrop-filter: none; backdrop-filter: none }   /* over flat ground a blur shows nothing, so it's a solid pane */
.glass.heavy { background: rgba(14,16,26,.46); border-top-color: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(40px) saturate(140%); backdrop-filter: blur(40px) saturate(140%) }

/* tape: a strip of console tape in the part's color, written on in marker */
.tape { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 2px 1.5px rgba(0,0,0,.5)); transform: rotate(var(--r, -3deg)) }
.tape span { display: block; padding: 7px 18px 3px; min-width: 74px; text-align: center; color: var(--on-tape); font: 400 28px/1 var(--hand); letter-spacing: .04em; white-space: nowrap;
  background-color: var(--c); background-image: url("/assets/tape/cloth.818ee86908.svg"), linear-gradient(176deg, rgba(255,255,255,.28), rgba(255,255,255,0) 46%, rgba(0,0,0,.12));
  -webkit-mask: url("/assets/tape/torn.37165fbda1.svg") center / 100% 100%; mask: url("/assets/tape/torn.37165fbda1.svg") center / 100% 100% }
.tape.alt span { -webkit-mask-image: url("/assets/tape/torn2.e2ec8c322a.svg"); mask-image: url("/assets/tape/torn2.e2ec8c322a.svg") }
@media (prefers-reduced-motion: no-preference) {
  .tape.stick { animation: stick .26s var(--spring) both }
  @keyframes stick { from { opacity: 0; transform: rotate(calc(var(--r, -3deg) - 5deg)) scale(1.12) translateY(-4px); filter: drop-shadow(0 10px 8px rgba(0,0,0,.35)) } }
  .tape.peel { animation: peel .14s ease-in both }
  @keyframes peel { to { opacity: 0; transform: rotate(calc(var(--r, -3deg) + 4deg)) translateY(-6px) scale(1.06) } }
}
/* the hand of God: one poke, ever. The arm comes in over everything and never takes a tap. */
.god { position: fixed; inset: 0; z-index: 25; overflow: hidden; pointer-events: none }
.god img { position: absolute; top: 0; left: 0; max-width: none; height: auto; will-change: transform; filter: drop-shadow(0 14px 18px rgba(0,0,0,.55)) }
.god .tape span { padding: 11px 24px 6px; font-size: 34px; line-height: 1.02 }
.god i { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 3px solid var(--c) }
@media (max-width: 560px) { .god .tape span { padding: 9px 18px 5px; font-size: 29px } }
/* each part's color, for its row, its seat and its tape */
.part, .seat { --c: var(--ink) }
[data-id="vocals"] { --c: var(--vocals) } [data-id="guitar"] { --c: var(--guitar) } [data-id="bass"] { --c: var(--bass) }
[data-id="drums"] { --c: var(--drums) } [data-id="other"] { --c: var(--other) }

/* the bar */
[id] { scroll-margin-top: 96px }
header.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-top: 14px }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ground) }
header.bar nav { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 16px; border-radius: 999px; max-width: 1320px; margin: 0 auto;
  background: rgba(14,16,24,.56); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border: 1px solid var(--edge-lo); border-top-color: var(--edge) }
.wordmark { display: flex; align-items: center; gap: 9px; min-height: 44px; font: 700 19px var(--display); letter-spacing: -.01em; text-decoration: none; margin-right: auto }
.wordmark img, .wordmark canvas { flex: none; width: 32px; height: 32px }
header.bar nav a.link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 0 14px; border-radius: 999px; transition: background-color .2s }
header.bar nav a.link[aria-current] { background: rgba(255,255,255,.08) }
/* now playing: the band keeps going after the mixer scrolls away, so the pause stays in reach */
.np { appearance: none; border: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 6px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--ink); font: 500 14px var(--body); cursor: pointer; white-space: nowrap; transition: transform .12s ease-out }
.np[hidden], [hidden] { display: none !important }
.np:active { transform: scale(.97) }
.np i { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--ground); display: grid; place-items: center }
.np svg { width: 15px; height: 15px }
.np[data-state="loading"] svg { animation: spin 1s linear infinite }
@media (prefers-reduced-motion: no-preference) { .np:not([hidden]) { animation: np-in .3s var(--spring) both } @keyframes np-in { from { opacity: 0; transform: scale(.9) } } }
@media (hover: hover) { header.bar nav a.link:hover { background: rgba(255,255,255,.06) } }
.btn { appearance: none; border: 0; font: 600 16px var(--body); color: var(--ground); background: var(--ink); border-radius: 999px; padding: 0 22px; min-height: 48px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 12px 24px -14px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .12s ease-out, filter .2s, opacity .2s }
.btn:active { transform: scale(.97) }
.btn:disabled { opacity: .6; cursor: progress }
@media (hover: hover) { .btn:hover { filter: brightness(1.06) } }
.btn.small { min-height: 44px; font-size: 15px; padding: 0 18px }

/* hero photograph */
.stage { position: relative; isolation: isolate; margin-top: -76px; padding-top: 76px }
.stage .photo { position: absolute; inset: 0; z-index: -1; overflow: hidden }
.stage .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: contrast(1.08) brightness(.92); transform: scale(1.04) scaleX(-1) }
.stage .photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,7,11,.86) 0%, rgba(6,7,11,.5) 38%, rgba(6,7,11,.05) 70%), linear-gradient(0deg, var(--ground) 0%, rgba(6,7,11,0) 26%) }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: clamp(40px, 7vh, 88px) clamp(64px, 10vh, 120px) }
.hero .copy { padding-top: 120px }
.hero h1 { font-size: clamp(46px, 5.5vw, 84px); line-height: 1; letter-spacing: -.03em; font-weight: 800; min-height: 2em }
.hero h1 em { font-style: normal; color: var(--seat); display: inline-block; transition: color 120ms ease-out }
.hero p.lede { margin-top: 26px; font-size: clamp(18px, 1.5vw, 21px); color: var(--soft); max-width: 34ch; line-height: 1.5 }

form.join { margin-top: 34px; display: flex; gap: 6px; padding: 6px; border-radius: 999px; max-width: 470px }
form.join input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font: 500 16px var(--body); padding: 0 16px; min-height: 48px; border-radius: 999px; caret-color: var(--mark) }
form.join input::placeholder { color: var(--dim) }
form.join input:focus { outline: none }
form.join:focus-within { border-color: color-mix(in srgb, var(--seat) 60%, transparent) }
.joinerr { margin-top: 12px; font-size: 15px; color: #FF9DB8 }
.platforms { margin-top: 16px; color: var(--dim); font-size: 14px; letter-spacing: .01em }
.platforms a { color: var(--ink); font-weight: 500; display: inline-block; padding: 12px 0; margin: -12px 0 }
.joined { margin-top: 34px; font: 600 18px var(--display); color: var(--guitar) }
.joined small { display: block; font: 400 14px var(--body); color: var(--soft); margin-top: 4px; overflow-wrap: anywhere }

/* the glass sleeve and the record inside it */
.rig { position: relative; justify-self: end; width: min(100%, 480px); padding-top: 196px }
.record { position: absolute; z-index: 0; top: 0; right: 30px; width: 330px; aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; cursor: pointer; color: var(--on-tape);
  transform: translateY(70px); transition: transform .55s var(--spring);
  background: radial-gradient(circle, transparent 0 34%, rgba(255,255,255,.06) 34% 34.6%, transparent 34.6% 37%, rgba(255,255,255,.04) 37% 37.4%, transparent 37.4% 96%, rgba(255,255,255,.05) 96% 96.6%, transparent 96.6%),
    repeating-radial-gradient(circle, #0E0E12 0 1.4px, #17171D 1.4px 2.6px), #0C0C10;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 50px -24px rgba(0,0,0,.9) }
.record::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;   /* light on the grooves stays put while the record turns */
  background: conic-gradient(from 210deg, transparent 0 6%, rgba(255,255,255,.22) 11%, transparent 17% 50%, rgba(255,255,255,.15) 61%, transparent 67%);
  -webkit-mask: radial-gradient(circle, transparent 0 35%, #000 36%); mask: radial-gradient(circle, transparent 0 35%, #000 36%) }
.record .lbl { position: absolute; inset: 33%; border-radius: 50%; background: var(--seat); transition: background-color .25s ease-out; overflow: hidden; container-type: size }
.record .spin { position: absolute; inset: 0; text-align: center }   /* turned by script at 33⅓ rpm, spinning up and down like a platter */
.record .spin b { position: absolute; top: 15%; left: 14%; right: 14%; font: 700 11.5cqi/1.04 var(--body); letter-spacing: -.01em; text-wrap: balance }
.record .spin small { position: absolute; bottom: 27%; left: 0; right: 0; font: 600 6.4cqi var(--body); letter-spacing: .12em; text-transform: uppercase }
.record .spin i { position: absolute; width: 8%; height: 8%; border-radius: 50%; background: var(--ground); left: 46%; top: 46% }
.record .spin u { position: absolute; bottom: 10%; left: 0; right: 0; text-decoration: none; font: 600 6.4cqi var(--body); letter-spacing: .1em }
.rig.lifting .record { transform: translateY(30px) }
.rig.spinning .record { transform: translateY(-44px) }
.rig.sinking .record { transform: translateY(70px); transition: transform .22s cubic-bezier(.4, 0, 1, 1) }
.record:active { filter: brightness(1.15) }

.mixer { position: relative; z-index: 1; padding: 20px 22px 18px; border-radius: 30px }
.mixer .song { display: flex; align-items: center; gap: 16px }
.play { appearance: none; border: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: var(--ground); display: grid; place-items: center; cursor: pointer; flex: none;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.6); transition: transform .12s ease-out }
.play:active { transform: scale(.94) }
.play svg { width: 24px; height: 24px }
.play[data-state="loading"] svg { animation: spin 1s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }
.song h2 { font: 600 21px/1.15 var(--body); letter-spacing: -.01em }
.song p { font-size: 14px; color: var(--dim) }
.crate { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0 }
.crate button { position: relative; appearance: none; border: 1px solid rgba(255,255,255,.12); background: transparent; color: var(--soft); font: 500 14px var(--body); padding: 0 14px; min-height: 36px; border-radius: 999px; cursor: pointer;
  transition: background-color .15s, color .15s, transform .12s ease-out }
.crate button:active { transform: scale(.97) }
.crate button::before { content: ""; position: absolute; inset: -4px -3px }
@media (hover: hover) { .crate button:hover { background: rgba(255,255,255,.06) } }
.crate button[aria-checked="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink) }
.progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); margin: 16px 0 8px; overflow: hidden }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--ink); border-radius: inherit }
.mixer .hint { font-size: 14px; color: var(--soft); margin: 12px 2px 10px; min-height: 1.55em }
.parts { display: grid; gap: 6px }
.part { position: relative; display: grid; grid-template-columns: 14px 1fr 120px 84px; align-items: center; gap: 14px; padding: 12px 14px; min-height: 54px; border-radius: 16px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); cursor: pointer; text-align: left; color: var(--ink); font: 500 16px var(--body); width: 100%;
  transition: background-color 120ms ease-out, border-color 120ms ease-out, transform .12s ease-out }
.part:active { transform: scale(.985) }
@media (hover: hover) { .part:hover { background: rgba(255,255,255,.06) } }
.part .light { width: 10px; height: 10px; border-radius: 50%; background: var(--c); opacity: .5; transition: opacity .3s, transform .35s var(--spring) }
.part .meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; position: relative }
.part .meter i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--c); opacity: .75; border-radius: inherit }
.part .tape { right: 4px; top: 50%; margin-top: -19px; --r: -4deg }
.part[aria-checked="true"] { background: color-mix(in srgb, var(--c) 14%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent) }
.part[aria-checked="true"] .light { opacity: 1; transform: scale(1.3) }
.part[aria-checked="true"] .meter i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); opacity: 1 }
.mixer .credit { font-size: 12px; color: var(--dim); margin: 12px 2px 0; line-height: 1.5 }
.mixer .credit a { color: var(--soft); display: inline-block; padding: 12px 0; margin: -12px 0 }
.full { appearance: none; background: none; border: 0; color: var(--soft); font: 500 14px var(--body); padding: 8px 2px 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px }

/* the way everyone learns, and the way that works */
section.learn { padding-block: clamp(56px, 7vw, 110px) 0 }
.learn .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center }
.learn .row + .row { margin-top: clamp(40px, 5vw, 72px) }
.learn h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; max-width: 12ch }
.learn p { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--soft); max-width: 36ch; margin-top: 24px }
.learn p.turn { margin-top: 0; color: var(--ink); font-size: clamp(22px, 2vw, 28px); line-height: 1.4; max-width: 30ch }
.learn p.turn strong { font-weight: 600; color: var(--ink) }
.lanes { position: relative; padding: 22px 22px 18px; border-radius: 26px; margin: 0 }
.lanes .lw { position: relative }
.lanes svg { display: block; width: 100%; height: auto; overflow: visible }
.lanes text { font: 500 12px var(--body); fill: var(--dim) }
.lanes .w { fill: rgba(244,242,238,.42) }
.lanes .you { fill: color-mix(in srgb, var(--seat) 34%, transparent); stroke: var(--seat); stroke-width: 1.2 }
.lanes .gone { stroke: rgba(244,242,238,.18); stroke-width: 1; stroke-dasharray: 2 5 }
.lanes .youlbl { fill: var(--seat) }
.lanes .tape { --r: -2deg; margin-top: -19px }

/* seats */
section.band { padding-block: clamp(96px, 12vw, 170px) 0 }
.sechead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 44px }
.sechead h2 { font-size: clamp(38px, 4.8vw, 68px); line-height: 1.0; letter-spacing: -.03em }
.sechead p { color: var(--soft); font-size: 19px; max-width: 42ch; justify-self: end }
.partition { position: relative; isolation: isolate; border-radius: 32px; overflow: hidden; border: 8px solid #050609; background: #050609; margin-inline: -8px }
.partition > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: grayscale(1) contrast(1.1) brightness(.5) }
.seats { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 8px }
.seat { appearance: none; border: 0; outline: 4px solid #050609; text-align: left; color: var(--ink); font: inherit; cursor: pointer; padding: 28px 28px 30px; min-height: 220px; display: flex; flex-direction: column; gap: 8px; position: relative;
  background: rgba(16,18,28,.46); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background-color 120ms ease-out, transform .12s ease-out }
.seat:focus-visible { outline: 2px solid var(--mark); outline-offset: -6px }
.seat:active { transform: scale(.99) }
@media (hover: hover) { .seat:not([aria-checked="true"]):hover { background: rgba(30,32,46,.52) } }
/* corners follow the frame: guitar holds the left side, the last card the bottom right */
.seat.lead { grid-row: 1 / span 2; min-height: 448px; border-radius: 24px 0 0 24px }
.seat:nth-child(3) { border-top-right-radius: 24px }
.seat:last-child { border-bottom-right-radius: 24px }
.seat.lead h3 { font-size: clamp(42px, 4.2vw, 64px) } .seat.lead p { font-size: 18px; color: var(--ink) }
.seat h3 { font-size: 30px; letter-spacing: -.02em; margin-top: auto }
.seat p { color: var(--soft); font-size: 16px; max-width: 30ch }
.seat .tape { top: 20px; right: 18px; --r: 4deg }
.seat[aria-checked="true"] { background: color-mix(in srgb, var(--c) 16%, rgba(26,28,40,.5)); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent) }
.seat[aria-checked="true"] h3 { color: var(--c) }
.seat[aria-checked="true"] p { color: var(--ink) }

/* practice, with the tab moving under the record */
.practice { position: relative; margin-top: clamp(90px, 12vw, 160px); border-radius: 36px; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 72px) }
.practice > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 30% 50%; filter: grayscale(1) brightness(.7) contrast(1.1) }
.practice::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,7,11,.92) 0%, rgba(6,7,11,.66) 50%, rgba(6,7,11,.4) 100%) }
.practice h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; max-width: 11ch }
.tools { display: grid; gap: 4px; margin: 36px 0 0; padding: 0; list-style: none; max-width: 520px }
.tools li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1) }
.tools strong { display: block; font: 600 20px var(--display); letter-spacing: -.01em }
.tools span { color: var(--soft); font-size: 16px }

.tabpane { padding: 18px 18px 14px; border-radius: 30px; min-width: 0 }
.tabpane header { display: flex; align-items: center; gap: 14px; padding: 0 2px 12px }
.tabpane .play { width: 48px; height: 48px } .tabpane .play svg { width: 20px; height: 20px }
.tabpane h3 { font: 600 18px/1.2 var(--body); letter-spacing: -.005em }
.tabpane header p { font-size: 13px; color: var(--dim) }
.tabpane .where { margin-left: auto; font: 500 13px var(--body); color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap }
.sheet { position: relative; height: 282px; overflow: hidden; overflow: clip; border-radius: 18px; background: rgba(6,7,11,.38); border: 1px solid rgba(255,255,255,.05);
  -webkit-mask: linear-gradient(180deg, #000 0, #000 82%, transparent); mask: linear-gradient(180deg, #000 0, #000 82%, transparent) }
.scroller { position: absolute; left: 0; right: 0; top: 0; transition: transform .5s var(--spring); will-change: transform }
.scroller svg { display: block; overflow: visible }
.scroller .ln { stroke: rgba(244,242,238,.2); stroke-width: 1 }
.scroller .bl { stroke: rgba(244,242,238,.32); stroke-width: 1 }
.scroller .sn { font: 500 11px var(--body); fill: var(--soft) }
.scroller .bn { font: 500 11px var(--body); fill: var(--soft); font-variant-numeric: tabular-nums }
.scroller .ch { font: 600 15px var(--display); fill: var(--ink) }
.scroller .n text { font: 600 13px var(--body); fill: var(--ink); text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums }
.scroller .n path { stroke: var(--dim); stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round }
.scroller .n.past text { fill: rgba(244,242,238,.4) }
.scroller .n.past path { stroke: rgba(154,153,168,.45) }
.scroller .n.now text { fill: var(--guitar) }
.scroller .n.now path { stroke: var(--guitar) }
.scroller .hot { fill: rgba(255,178,62,.07) }
.scroller .lp { fill: rgba(255,178,62,.12) }
.scroller .lpb { stroke: var(--guitar); stroke-width: 2 }
.scroller .cur { stroke: var(--guitar); stroke-width: 2 }
.scroller .hit { position: absolute; appearance: none; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 8px; touch-action: manipulation }
@media (hover: hover) { .scroller .hit:hover { background: rgba(255,255,255,.04) } }
.tabpane .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 0; font-size: 13px; color: var(--dim); min-height: 44px }
.tabpane .foot button { appearance: none; background: none; border: 0; color: var(--soft); font: 500 13px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; padding: 0 2px; white-space: nowrap }

.yours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; gap: 40px; align-items: start; padding-block: clamp(90px, 12vw, 160px) 0 }
.yours h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em }
.yours p { color: var(--soft); font-size: 19px; max-width: 40ch }
.devices { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px }
.devices span { font: 500 15px var(--body); padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: var(--ink) }
.yours p.needs { margin-top: 12px; color: var(--dim); font-size: 14px; letter-spacing: .01em }

.close { text-align: center; padding-block: clamp(110px, 14vw, 190px) clamp(80px, 10vw, 120px); position: relative }
.close h2 { font-size: clamp(48px, 6.6vw, 96px); letter-spacing: -.04em; line-height: .95 }
.close h2 span { color: var(--seat) }
.close p { color: var(--soft); font-size: 19px; margin-top: 20px }
.close form.join { margin: 34px auto 0 }

/* support, privacy and the rest: one readable column under the same bar */
.page { width: 100%; max-width: calc(40rem + 40px); margin: 0 auto; padding: 72px max(20px, env(safe-area-inset-right, 0px)) 112px max(20px, env(safe-area-inset-left, 0px)) }
.page h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -.03em; font-weight: 800 }
.page h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; margin: 44px 0 10px }
.page p, .page li { color: var(--soft) }
.page p + p { margin-top: 14px }
.page .lede { color: var(--ink); font-size: 20px; margin: 20px 0 32px; max-width: 36ch }
.page ul { padding-left: 1.2rem; margin: 10px 0 0 }
.page li { margin: 6px 0 }
.page a { color: var(--ink) }
.contact { margin-top: 8px; border-radius: 22px; max-width: 26rem; background: #10121B; border: 1px solid var(--edge-lo); border-top-color: var(--edge) }
.contact a { display: block; padding: 22px 24px; border-radius: inherit; font: 600 19px var(--display); text-decoration: none; transition: background-color .15s }
.contact a:active { background: rgba(255,255,255,.06) }
@media (hover: hover) { .contact a:hover { background: rgba(255,255,255,.05) } }

footer.site { border-top: 1px solid rgba(255,255,255,.08); padding-block: 28px max(40px, env(safe-area-inset-bottom, 0px)) }
footer.site .max { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--dim); font-size: 14px }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto }
footer.site a { color: var(--soft); display: inline-block; padding: 12px 0; margin: -12px 0 }
footer.site a[aria-current] { color: var(--ink) }

@media (prefers-reduced-motion: no-preference) {
  .mixer { animation: materialize .6s var(--spring) both }
  @keyframes materialize { from { opacity: 0; transform: scale(.97) translateY(10px) } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important }
  .record, .rig.lifting .record, .rig.spinning .record, .rig.sinking .record { transform: translateY(30px) }
}
@media (prefers-contrast: more) {
  .glass, header.bar nav, .seat { background: #0B0C12; -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid #8A8A99 }
  :root { --soft: #E4E3EA; --dim: #C9C8D3 }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, header.bar nav, .seat { background: #14151F; -webkit-backdrop-filter: none; backdrop-filter: none }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 36px 56px }
  .hero .copy { padding-top: 0 }
  .rig { justify-self: stretch; width: 100% }
  .stage .photo img { transform: scale(1.04); object-position: 30% 22% }
  .stage .photo::after { background: linear-gradient(180deg, rgba(6,7,11,.2) 0%, rgba(6,7,11,.45) 30%, rgba(6,7,11,.9) 52%, var(--ground) 100%) }
  .platforms { color: var(--soft) }
  .learn .row { grid-template-columns: 1fr }
  .sechead { grid-template-columns: 1fr; gap: 16px } .sechead p { justify-self: start }
  .seats { grid-template-columns: 1fr 1fr }
  .seat.lead { grid-column: 1 / -1; grid-row: auto; min-height: 320px; border-radius: 24px 24px 0 0 }
  .seat:nth-child(3) { border-top-right-radius: 0 }
  .seat:nth-child(4) { border-bottom-left-radius: 24px }
  .practice { grid-template-columns: 1fr }
  .yours { grid-template-columns: 1fr }
  header.bar nav a.link.hide-s { display: none }
}
@media (max-width: 560px) {
  body { font-size: 16px }
  .hero h1 { letter-spacing: -.025em; font-size: min(46px, 11.2vw) }   /* "Be the drummer" stays on one line, so the mixer doesn't move when you change seats */
  .rig { padding-top: 150px }
  .record { width: 250px; right: 50%; margin-right: -125px; transform: translateY(50px) }
  .rig.lifting .record { transform: translateY(16px) }
  .rig.spinning .record { transform: translateY(-24px) }
  .rig.sinking .record { transform: translateY(50px) }
  .mixer { padding: 16px 14px 14px; border-radius: 26px }
  .mixer .hint { min-height: 3.1em }   /* some seats take two lines here: hold the room so the parts don't move under your finger */
  .crate { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; -webkit-mask: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent) }
  .crate::-webkit-scrollbar { display: none }
  .crate button { flex: none; font-size: 13px; padding: 0 12px }
  .partition { margin-inline: 0 }
  .seat { min-height: 132px; padding: 52px 16px 18px }   /* room up top for the tape */
  .seat h3 { margin-top: auto; font-size: 22px }
  .seat p { font-size: 14px }
  .seat .tape { top: 12px; right: 10px }
  .seat .tape span { font-size: 24px; padding: 6px 12px 2px; min-width: 60px }
  .part { grid-template-columns: 12px 1fr 64px 76px; gap: 10px; padding: 12px }
  .part .tape span { font-size: 24px; padding: 6px 12px 2px; min-width: 62px }
  form.join { flex-direction: column; border-radius: 26px } form.join .btn { width: 100% }
  .devices .btn { width: 100% }
  .practice { border-radius: 28px; padding: 26px 16px }
  .tabpane { padding: 14px 10px 10px; border-radius: 24px }
  .lanes { padding: 16px 14px 14px }
  footer.site nav { margin-left: 0 }
  header.bar nav a.link { display: none }
  .np { padding: 0 6px; background: none } .np span { display: none } .np i { width: 36px; height: 36px }
  .seat.lead { min-height: 220px } .seat.lead h3 { font-size: 40px }
  .page { padding-top: 48px }
}
@media (max-width: 340px) {
  /* the smallest phones: keeps the button inside the bar */
  .wordmark img, .wordmark canvas { width: 26px; height: 26px }
  header.bar nav .btn.small { padding: 0 14px }
}
