:root {
  --ink: #2b2621;
  --muted: #6f665c;
  --page: #faf6f0;
  --white: #fff;
  --amber: #f3a054;
  --amber-lip: #a1623c;
  --amber-deep: #c97a38;
  --terracotta: #cb5e3c;
  --stage: #f7dfce;
  --sun: #fbe4cb;
  --line: #e8dccd;
  --green: #2e9450;
  --rose: #9c4b37;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, canvas { display: block; max-width: 100%; }
.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; color: var(--terracotta); }
h3 { font-size: 21px; }
p { margin: 0; text-wrap: pretty; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 18px; }
.lead { font-size: 17px; color: var(--muted); max-width: 30em; }
h1 + .lead { margin-top: 22px; }

/* chunky key button, same recipe as the app's lesson keys */
.key {
  --lip: 5px;
  appearance: none; border: 0; cursor: pointer;
  font: 700 14px/1 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--amber); padding: 16px 26px; border-radius: 999px;
  box-shadow: 0 var(--lip) 0 var(--amber-lip);
  transition: transform 0.12s cubic-bezier(.3,1.5,.6,1), box-shadow 0.12s;
  text-decoration: none; display: inline-block; white-space: nowrap;
}
.key:hover { filter: brightness(1.04); }
.key:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--amber-lip); }
.key-sm { padding: 12px 20px; font-size: 13px; --lip: 4px; }
.key[disabled] { background: #737b81; box-shadow: 0 var(--lip) 0 #696f73; cursor: default; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(250 246 240 / 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.top-cta { opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.top.show-cta .top-cta { opacity: 1; pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.wordmark b { color: var(--terracotta); font-weight: 800; }

/* form */
.join { margin-top: 22px; max-width: 460px; }
.join-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.join input[type=email] {
  flex: 1 1 220px; min-width: 0; font: 600 16px var(--font-body); color: var(--ink);
  background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 13px 20px;
  box-shadow: 0 4px 0 var(--line);
}
.join input[type=email]::placeholder { color: #a99e91; }
.join input[type=email]:focus { outline: none; border-color: var(--amber); box-shadow: 0 4px 0 var(--amber); }
.join.invalid input[type=email] { border-color: #e0a99c; box-shadow: 0 4px 0 #e0a99c; }
.fine { margin-top: 12px; font-size: 13px; color: var(--muted); }
.status { min-height: 1.5em; margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--rose); }
.plat { border: 0; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.plat legend { float: left; margin-right: 10px; padding: 0; font-weight: 700; color: var(--muted); }
.plat label { cursor: pointer; }
.plat input { position: absolute; opacity: 0; }
.plat span { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); font-weight: 700; font-size: 15px; }
.plat input:checked + span { border-color: var(--amber); background: #fff3e9; color: var(--amber-lip); }
.plat input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.done { display: flex; align-items: center; gap: 18px; background: #e6f1e9; border: 2px solid #8fc0a2; border-radius: 24px; padding: 14px 24px 14px 14px; max-width: 520px; }
.done img { width: 84px; height: auto; flex: none; }
.done h3 { color: #33684a; font-size: 24px; }
.done p { color: #33684a; font-size: 16px; margin-top: 4px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: center; padding-block: 24px 40px; min-height: 0; }
.hero-art, .coach-card { position: relative; aspect-ratio: 3 / 4; width: min(100%, 440px); justify-self: center; }
.slab {
  position: absolute; inset: 6% 6% 4% 6%; border-radius: 44px; background: #fff3e9; border: 6px solid var(--stage);
  box-shadow: -14px 16px 0 var(--amber); transform: rotate(5deg);
}
.slab-sm { inset: 8% 8% 6% 8%; transform: rotate(-4deg); box-shadow: 14px 16px 0 var(--amber); }
.rv { width: 100%; height: 100%; }
.rv-coach { position: absolute; inset: 0; }
.hero-art .rv-coach { transform: translateY(2%); }

/* feature rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 28px; }
.row.flip .row-art { order: 2; }
.row-copy { max-width: 30em; }
.row-copy h2 { margin-bottom: 18px; }
.row-copy p { color: var(--muted); font-size: 16px; }
.row-copy .aside { margin-top: 14px; font-size: 13px; font-family: var(--font-mono); color: var(--amber-deep); }

.stairs, .strings { position: relative; aspect-ratio: 7 / 5; width: 100%; }
.stairs-labels { list-style: none; margin: 0; padding: 0; }
.stairs-labels li {
  position: absolute; bottom: 0; left: var(--x); transform: translateX(-50%); text-align: center;
  font: 800 clamp(13px, 1.9vw, 19px) var(--font-head); color: var(--amber-lip); line-height: 1.05;
}
.stairs-labels i { display: block; font: 500 clamp(11px, 1.4vw, 14px) var(--font-mono); font-style: normal; color: var(--amber-deep); }
.stairs { padding-bottom: 38px; }
.stairs canvas { position: absolute; inset: 0 0 38px 0; width: 100%; height: calc(100% - 38px); }
.string-labels { list-style: none; margin: 0; padding: 0; }
.string-labels li { position: absolute; left: 8.1%; top: var(--y); transform: translate(-50%, -50%); font: 800 14px var(--font-head); color: #fff; opacity: 0.92; }

.coach-card .beat {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); z-index: 2;
  font: 800 17px var(--font-head); color: var(--amber-lip); background: #fff; border: 2px solid var(--stage);
  box-shadow: 0 4px 0 var(--stage); padding: 8px 22px; border-radius: 999px; white-space: nowrap;
}

/* wins */
.wins { background: var(--sun); padding: 56px 0; text-align: center; margin-top: 24px; }
.wins .wins-lead { margin: 12px auto 32px; color: var(--muted); font-size: 16px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: 32px; border: 2px solid var(--line); box-shadow: 0 8px 0 var(--line); padding: 20px 24px 32px; }
.card h3 { margin: 4px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.icon-btn { appearance: none; border: 0; background: none; padding: 0; margin: 0 auto; width: min(100%, 220px); cursor: pointer; border-radius: 24px; }

/* final */
.final { position: relative; overflow: hidden; background: #2b2621; color: var(--page); padding: 80px 0 88px; text-align: center; isolation: isolate; }
.final h2 { color: var(--page); font-size: clamp(28px, 3.6vw, 42px); }
.final .lead { color: #d9cfc3; margin: 16px auto 0; }
.final-in { position: relative; z-index: 2; }
.final .join { margin-inline: auto; text-align: left; }
.final .join-row { justify-content: center; }
.final .status { color: #ffc3b3; text-align: center; }
.final .plat { justify-content: center; }
.final .plat legend { color: #d9cfc3; float: none; width: 100%; text-align: center; margin: 0 0 4px; }
.final .plat span { background: #3a342d; border-color: #4a423a; color: var(--page); }
.final .plat input:checked + span { background: #5a3a22; border-color: var(--amber); color: #ffd9b3; }
.final .done { margin-inline: auto; text-align: left; }
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fl { position: absolute; appearance: none; border: 0; background: none; padding: 0; pointer-events: auto; animation: bob 6s ease-in-out infinite; }
.f1 { width: 150px; left: 6%; top: 14%; }
.f2 { width: 120px; right: 9%; top: 10%; animation-delay: -2s; }
.f3 { width: 130px; right: 5%; bottom: 8%; animation-delay: -4s; transform: rotate(8deg); }
.f4 { width: 90px; left: 20%; bottom: 8%; animation-delay: -1s; }
.f5 { width: 100px; right: 24%; bottom: 6%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.foot { background: #1f1b16; color: #a99e91; padding: 36px 0; font-size: 15px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand-foot { color: var(--page); }
.brand-foot .wordmark { font-size: 22px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; padding-block: 24px 40px; min-height: 0; }
  .hero-art { order: -1; width: min(70%, 300px); }
  .hero-copy { text-align: center; }
  .hero-copy .lead, .join { margin-inline: auto; }
  .join-row { justify-content: center; }
  .row { grid-template-columns: 1fr; gap: 28px; padding-block: 44px; text-align: center; }
  .row.flip .row-art { order: 0; }
  .row-copy { margin-inline: auto; }
  .row-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .f1 { width: 90px; left: 3%; top: 4%; } .f2 { width: 80px; right: 4%; top: 3%; } .f3 { width: 80px; right: 3%; bottom: 3%; }
  .f4 { width: 60px; left: 6%; bottom: 3%; } .f5 { display: none; }
  .final { padding: 110px 0 100px; }
  .foot-row { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fl { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .key { transition: none; }
}

.poster { position: absolute; left: 0; top: 2%; width: 100%; height: 98%; object-fit: contain; object-position: top center; }
.rv-coach { opacity: 0; transition: opacity .25s; }
.rv-coach.ready { opacity: 1; }
.chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.chips li { font: 800 15px var(--font-head); color: var(--amber-lip); background: #fff3e9; border: 2px solid var(--stage); box-shadow: 0 3px 0 var(--stage); padding: 7px 16px; border-radius: 999px; }
@media (max-width: 860px) { .chips { justify-content: center; } }

/* scenes: the coach stands next to the animation, doing the thing */
.scene { position: relative; aspect-ratio: 7 / 5; width: 100%; }
.scene .stairs, .scene .strings { position: absolute; aspect-ratio: auto; }
.scene-stairs .stairs { right: 0; bottom: 0; width: 64%; height: 76%; padding-bottom: 30px; }
.scene-stairs .rv-coach-side { left: 0; bottom: 0; }
.scene-strings .strings { left: 0; top: 12%; width: 62%; height: 72%; }
.scene-strings .rv-coach-side { right: 0; bottom: 0; }
.rv-coach-side { position: absolute; width: 40%; aspect-ratio: 3 / 4; height: auto; opacity: 0; transition: opacity .25s; }
.rv-coach-side.ready { opacity: 1; }
.scene-stairs .stairs canvas { inset: 0 0 30px 0; height: calc(100% - 30px); }
.scene-stairs .stairs-labels li { font-size: clamp(11px, 1.4vw, 15px); }
.scene-stairs .stairs-labels i { font-size: clamp(9px, 1.1vw, 12px); }
.string-labels li { font-size: 12px; }

/* no side coach now: the animations fill their space */
.scene-stairs .stairs { width: 100%; height: 100%; }
.scene-strings .strings { left: 0; top: 0; width: 100%; height: 100%; }
.scene-stairs .stairs-labels li { font-size: clamp(11px, 1.7vw, 17px); }
.scene-stairs .stairs-labels i { font-size: clamp(9px, 1.2vw, 13px); }
.string-labels li { font-size: 14px; }

.lanes { position: relative; aspect-ratio: 7 / 5; width: 100%; }
.lane-tag { position: absolute; left: 3%; top: var(--y); font: 500 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lane-tag-amber { color: var(--amber-lip); }
.chord-labels { list-style: none; margin: 0; padding: 0; }
.chord-labels li { position: absolute; top: 17.3%; left: var(--x); transform: translate(-50%, -50%); font: 800 clamp(15px, 2.2vw, 22px) var(--font-head); color: var(--amber-lip); }

.pick { text-align: center; padding-block: 36px 48px; }
.pick-lead { margin: 10px auto 28px; color: var(--muted); max-width: 30em; }
.coaches { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 880px; }
.coach-opt { background: #fff; border: 2px solid var(--line); border-radius: 26px; box-shadow: 0 6px 0 var(--line); padding: 14px 12px 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.coach-opt b { font: 800 15px var(--font-head); }
.coach-opt span { font: 500 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--amber-deep); }
.coach-opt.on { border-color: var(--amber); box-shadow: 0 6px 0 var(--amber-deep); background: #fff7ef; }
.coach-face { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; }
.coach-face canvas, .coach-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rv-coach-card { opacity: 0; transition: opacity .25s; }
.rv-coach-card.ready { opacity: 1; }
.coach-opt.soon .coach-face img { filter: brightness(0) opacity(.1); }
.coach-opt.soon i { position: absolute; inset: 0; display: grid; place-items: center; font: 800 44px var(--font-head); color: #d7cbbd; font-style: normal; }

/* smaller reward icons */
.cards { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.icon-btn { width: min(100%, 140px); }
.card { padding: 16px 16px 26px; }
.f1 { width: 110px; } .f2 { width: 88px; } .f3 { width: 96px; } .f4 { width: 70px; } .f5 { width: 74px; }
@media (max-width: 860px) {
  .cards { grid-template-columns: repeat(2, 1fr); max-width: 460px; }
  .coaches { grid-template-columns: repeat(2, 1fr); max-width: 380px; }
  .f1 { width: 70px; } .f2 { width: 62px; } .f3 { width: 62px; } .f4 { width: 50px; }
}

/* coach picker: four live characters */
.coach-opt { appearance: none; font: inherit; color: inherit; cursor: pointer; width: 100%; text-align: center; transition: transform .12s cubic-bezier(.3,1.5,.6,1), box-shadow .12s, border-color .12s; }
.coach-opt:hover { transform: translateY(-3px); }
.coach-opt:active { transform: translateY(2px); }
.coach-opt em { font: 600 13px var(--font-body); font-style: normal; color: var(--muted); }
.coach-opt .pick-tag { margin-top: 8px; font: 800 12px var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--amber-lip); background: #fff3e9; border: 2px solid var(--stage); padding: 4px 12px; border-radius: 999px; }
.coach-opt.on .pick-tag { color: #fff; background: var(--amber); border-color: var(--amber); }
.coaches li { list-style: none; display: flex; }
.coach-opt { display: flex; flex-direction: column; align-items: center; gap: 2px; }

/* hero stage: the band, and the bass you bring in */
.hero { grid-template-columns: 0.8fr 1.2fr; }
.stage-wrap { position: relative; width: 100%; aspect-ratio: 1000 / 640; margin-bottom: 40px; }
.stage-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bass-tap { position: absolute; left: 33%; top: 18%; width: 18%; height: 62%; appearance: none; border: 0; background: transparent; cursor: pointer; border-radius: 40px; }
.bass-tap:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.bass-tap-label { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap;
  font: 800 13px var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--amber);
  padding: 7px 14px; border-radius: 999px; box-shadow: 0 4px 0 var(--amber-lip); animation: tapbob 1.3s ease-in-out infinite; }
.bass-tap[aria-pressed="true"] .bass-tap-label { background: #fff; color: var(--amber-lip); box-shadow: 0 4px 0 var(--stage); animation: none; }
@keyframes tapbob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.stage-caption { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; margin: 0; font: 700 15px var(--font-head); color: var(--muted); min-height: 1.4em; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .stage-wrap { order: -1; }
  .bass-tap-label { font-size: 11px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { .bass-tap-label { animation: none; } }

/* playable neck */
.neck { position: relative; aspect-ratio: 7 / 5; width: 100%; }
.neck canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.string-btn { position: absolute; left: 5%; right: 4%; top: var(--y); height: 12%; transform: translateY(-50%); appearance: none; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.string-btn span { position: absolute; left: 3.2%; top: 50%; transform: translate(-50%, -50%); font: 800 14px var(--font-head); color: #fff; }
.string-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: -2px; }
.neck-hint { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; font: 500 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--amber-deep); margin: 0; }

/* segmented control (extract demo) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.seg button { appearance: none; cursor: pointer; font: 800 14px var(--font-head); color: var(--amber-lip); background: #fff; border: 2px solid var(--stage); box-shadow: 0 4px 0 var(--stage); padding: 10px 16px; border-radius: 999px; transition: transform .1s; }
.seg button:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--stage); }
.seg button[aria-pressed="true"] { color: #fff; background: var(--amber); border-color: var(--amber); box-shadow: 0 4px 0 var(--amber-lip); }
.seg .seg-stop { color: var(--muted); }
@media (max-width: 860px) { .seg { justify-content: center; } }

/* chord pads (bass line demo) */
.pad-row { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.pad-btn { appearance: none; cursor: pointer; width: 22%; max-width: 92px; height: 52px; border: 0; border-radius: 14px;
  font: 800 clamp(16px, 2.2vw, 22px) var(--font-head); color: var(--amber-lip);
  background: linear-gradient(#ffd3a4, #f6a865); box-shadow: 0 4px 0 var(--amber-deep); transition: transform .1s, box-shadow .1s, filter .15s; }
.pad-btn:hover { filter: brightness(1.05); transform: translateY(-2px); }
.pad-btn:active, .pad-btn.on { transform: translateY(3px); box-shadow: 0 1px 0 var(--amber-deep); color: #fff; background: linear-gradient(#ffb980, #f3a054); }
.pad-btn:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }

/* tappable stairs */
.tap-stairs { position: relative; aspect-ratio: 7 / 5; width: 100%; padding-bottom: 38px; }
.tap-stairs canvas { position: absolute; inset: 0 0 38px 0; width: 100%; height: calc(100% - 38px); }
.step-btns { position: absolute; inset: 0; }
.step-btn { position: absolute; left: var(--x); top: 18%; bottom: 0; width: 10.6%; transform: translateX(-50%); appearance: none; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.step-btn span { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); text-align: center; white-space: nowrap;
  font: 800 clamp(13px, 1.9vw, 19px) var(--font-head); color: var(--amber-lip); line-height: 1.05; }
.step-btn i { display: block; font: 500 clamp(11px, 1.4vw, 14px) var(--font-mono); font-style: normal; color: var(--amber-deep); }
.step-btn:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.step-btn.on span { color: var(--terracotta); }

/* tap the coach: he reacts with one of his lines */
.coach-card.tappable { cursor: pointer; }
.coach-bubble { position: absolute; left: 50%; top: 2%; transform: translate(-50%, -8px) scale(.9); opacity: 0; pointer-events: none; z-index: 3; max-width: 92%; width: max-content;
  font: 800 15px/1.3 var(--font-head); color: var(--ink); background: #fff; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); padding: 10px 14px; border-radius: 18px; text-align: center; transition: opacity .18s, transform .25s cubic-bezier(.3,1.5,.6,1); }
.coach-bubble.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.coach-card .beat::after { content: ' · tap him'; color: var(--muted); font-weight: 600; }

/* live tallies on the reward cards */
.tally { margin: 2px 0 0; font: 700 15px var(--font-head); color: var(--muted); min-height: 1.4em; }
.tally b { font-weight: 800; color: var(--ink); display: inline-block; }
.tally b.bump { animation: bump .45s cubic-bezier(.3,1.7,.6,1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); color: var(--terracotta); } 100% { transform: scale(1); } }
.hearts-row, .stars-row { display: inline-flex; gap: 6px; vertical-align: middle; }
.hearts-row i, .stars-row i { width: 18px; height: 18px; display: inline-block; background: #e8dccd; transition: background .2s, transform .3s cubic-bezier(.3,1.7,.6,1); }
.hearts-row i { clip-path: path("M9 16 C3 11 0 8 0 5 C0 2 2 0 4.5 0 C6.5 0 8 1.2 9 3 C10 1.2 11.5 0 13.5 0 C16 0 18 2 18 5 C18 8 15 11 9 16 Z"); }
.hearts-row i.on { background: #e5544a; }
.stars-row i { clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 98%, 50% 76%, 20% 98%, 30% 60%, 0 38%, 38% 35%); }
.stars-row i.on { background: #6fcff5; }
.hearts-row i.pop, .stars-row i.pop { transform: scale(1.5); }
/* floating icons in the final band follow the cursor with depth */
.fl { transform: translate(var(--px, 0px), var(--py, 0px)) rotate(var(--rot, 0deg)); transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.f3 { --rot: 8deg; }

/* hero art from the illustrated reference (background cut out, so it sits on the page) */
.stage-wrap { aspect-ratio: 1600 / 769; }
.stage-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bass-tap { left: 43.5%; top: 2%; width: 13%; height: 84%; }
.bass-tap-label { top: calc(100% - 4px); }

.stage-wrap canvas.stage-art { opacity: 0; transition: opacity .3s; }
.stage-wrap canvas.stage-art.ready { opacity: 1; }

/* hero: the animated band video; its edges fade into the page so no box ever shows */
.stage-wrap { aspect-ratio: 16 / 9; }
.stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent;
  /* fade only the outermost few percent, where there is nothing but background */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2.5%, #000 97.5%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 2.5%, #000 97.5%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 95%, transparent 100%);
          mask-composite: intersect; }
.bass-tap { left: 44.5%; top: 18%; width: 9.5%; height: 70%; }
.bass-tap-label { top: calc(100% + 2px); }
@media (prefers-reduced-motion: reduce) { .stage-video { display: none; } .stage-wrap { background: url(assets/hero-band-poster.webp) center / contain no-repeat; } }

/* section videos (illustrated scenes animated as seamless loops), edges fade into the page */
.scene-video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.section-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-composite: intersect; }
/* reduced motion: interact.js pauses the scene videos on their first frame (stills are plain images) */
/* the do re mi note row: tap to hear each note sung; the keys rise like the stairs */
.note-row { display: flex; gap: 6px; justify-content: center; align-items: flex-end; margin-top: 6px; }
.note-pill { appearance: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px;
  width: 11%; max-width: 54px; height: calc(38px + var(--i) * 5px); padding: 0 0 6px;
  font: 800 clamp(13px, 1.6vw, 16px)/1 var(--font-head); color: var(--amber-lip);
  background: linear-gradient(#ffd3a4, #f6a865); border: 0; border-radius: 12px 12px 8px 8px; box-shadow: 0 4px 0 var(--amber-deep);
  transition: transform .1s, box-shadow .1s, filter .15s; }
.note-pill i { font: 500 clamp(10px, 1.2vw, 12px) var(--font-mono); font-style: normal; color: #9c551d; }
.note-pill:hover { filter: brightness(1.05); transform: translateY(-2px); }
.note-pill:active, .note-pill.on { transform: translateY(3px); box-shadow: 0 1px 0 var(--amber-deep); color: #fff; background: linear-gradient(#ffb980, #f3a054); }
.note-pill:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.scene-square { aspect-ratio: 1 / 1; max-width: 400px; margin: 0 auto; }
