:root {
  --paper: #f8f3e9;
  --paper-soft: #fffaf1;
  --ink: #1d1b19;
  --muted: #6d655d;
  --line: rgba(53, 45, 37, 0.14);
  --brass: #b8863f;
  --brass-dark: #7a5624;
  --burgundy: #651f2f;
  --blue: #6d8290;
  --charcoal: #171614;
  --stone: #e5dbcc;
  --radius: 8px;
  --header-h: 72px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(29, 27, 25, 0.035) 1px, transparent 1px) 0 0 / 100% 38px,
    var(--paper);
  font-family: var(--sans);
  letter-spacing: 0;
  cursor: url("./assets/treble-cursor-dark.svg") 30 32, auto;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
select,
input,
textarea {
  cursor: url("./assets/treble-cursor-dark.svg") 30 32, pointer;
}

img {
  display: block;
  max-width: 100%;
}

.stage-curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: rgba(18, 5, 8, 0.92);
  animation: curtainGone 520ms ease 5s forwards;
}

.stage-curtain.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.curtain-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 52%;
  background:
    linear-gradient(90deg, rgba(19, 5, 9, 0.1), rgba(19, 5, 9, 0.2)),
    url("./assets/red-velvet-curtain.png") center / 200vw 100vh no-repeat;
  box-shadow:
    inset 0 0 120px rgba(0, 0, 0, 0.34),
    0 0 80px rgba(0, 0, 0, 0.34);
  animation-duration: 5s;
  animation-timing-function: cubic-bezier(0.72, 0, 0.18, 1);
  animation-fill-mode: forwards;
}

.curtain-left {
  left: 0;
  background-position: left center;
  transform-origin: left center;
  animation-name: curtainLeftOpen;
}

.curtain-right {
  right: 0;
  background-position: right center;
  transform-origin: right center;
  animation-name: curtainRightOpen;
}

.curtain-side-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: url("./assets/curtain-sides-overlay.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 26px 56px rgba(0, 0, 0, 0.36));
  pointer-events: none;
  animation: curtainSideHold 5s cubic-bezier(0.72, 0, 0.18, 1) forwards;
}

.curtain-valance {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  height: clamp(150px, 20vw, 285px);
  background: url("./assets/curtain-valance-overlay.png") top center / 100% auto no-repeat;
  filter: drop-shadow(0 24px 52px rgba(0, 0, 0, 0.34));
  pointer-events: none;
  animation: curtainValanceHold 5s cubic-bezier(0.72, 0, 0.18, 1) forwards;
}

.curtain-title {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  color: rgba(255, 250, 241, 0.88);
  font-family: var(--serif);
  font-size: clamp(54px, 8vw, 132px);
  letter-spacing: 0;
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.46);
  animation: curtainTitleFade 5s ease forwards;
}

@keyframes curtainLeftOpen {
  0%,
  18% {
    transform: translateX(0) scaleX(1);
  }
  100% {
    transform: translateX(-88%) scaleX(0.82);
  }
}

@keyframes curtainRightOpen {
  0%,
  18% {
    transform: translateX(0) scaleX(1);
  }
  100% {
    transform: translateX(88%) scaleX(0.82);
  }
}

@keyframes curtainValanceHold {
  0%,
  18% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-3%);
  }
}

@keyframes curtainSideHold {
  0%,
  18% {
    opacity: 1;
    transform: scale(1.005);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes curtainTitleFade {
  0%,
  28% {
    opacity: 1;
    transform: translateY(0);
  }
  68%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes curtainGone {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-curtain {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 46px);
  background: rgba(248, 243, 233, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.orchestra-hud {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 72px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: 0 18px 70px rgba(29, 27, 25, 0.12);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
}

.sound-toggle {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  align-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.8);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.sound-toggle span {
  color: var(--burgundy);
  font-size: 25px;
  line-height: 1;
}

.sound-toggle b {
  display: none;
}

.sound-toggle.is-on {
  color: var(--paper-soft);
  background: var(--burgundy);
}

.sound-toggle.is-on span {
  color: var(--paper-soft);
}

.sound-invite {
  position: fixed;
  left: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 30;
  max-width: min(420px, calc(100vw - 32px));
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.sound-invite.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

.sound-invite-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 20px 80px rgba(29, 27, 25, 0.14);
  backdrop-filter: blur(18px);
}

.sound-invite-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 134, 63, 0.34);
  border-radius: 50%;
  color: var(--burgundy);
  background: rgba(255, 250, 241, 0.74);
  font-size: 28px;
  line-height: 1;
}

.sound-invite p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.32;
}

.sound-invite-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sound-invite .button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.orchestra-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.orchestra-piece {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 5px;
  border: 1px dashed rgba(53, 45, 37, 0.22);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.58);
  opacity: 0.42;
  overflow: hidden;
}

.orchestra-piece.is-collected {
  opacity: 1;
  border-style: solid;
  border-color: rgba(184, 134, 63, 0.42);
  background: rgba(255, 250, 241, 0.92);
}

.orchestra-piece .instrument-icon {
  width: 100%;
  height: 100%;
}

.orchestra-count {
  color: var(--brass-dark);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 9px;
  height: 18px;
  border-right: 2px solid var(--burgundy);
  transform: rotate(22deg);
}

.orchestra-slide,
.orchestra-finale {
  position: relative;
  overflow: hidden;
}

.instrument-badge {
  position: absolute;
  z-index: 0;
  width: clamp(105px, 10vw, 170px);
  height: clamp(105px, 10vw, 170px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0.62;
  pointer-events: none;
  filter: drop-shadow(0 24px 38px rgba(29, 27, 25, 0.18));
}

.instrument-badge .instrument-icon {
  width: 100%;
  height: 100%;
}

.instrument-badge b {
  display: none;
}

.hero .instrument-badge {
  left: auto;
  right: 5%;
  top: 20%;
  width: clamp(92px, 8vw, 136px);
  height: clamp(156px, 13vw, 220px);
  opacity: 0.5;
}

.intro .instrument-badge {
  left: 52%;
  right: auto;
  top: auto;
  bottom: 9%;
  width: clamp(138px, 12vw, 200px);
  height: clamp(96px, 8vw, 138px);
  opacity: 0.36;
  transform: rotate(-4deg);
}

.split .instrument-badge {
  right: 5%;
  top: 12%;
  width: clamp(220px, 20vw, 330px);
  height: clamp(90px, 8vw, 138px);
  opacity: 0.46;
  transform: rotate(-12deg);
}

.video-band .instrument-badge {
  left: auto;
  right: 5%;
  top: 11%;
  width: clamp(96px, 8vw, 140px);
  height: clamp(188px, 15vw, 260px);
  opacity: 0.2;
  transform: rotate(7deg);
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.28));
}

.xp-world .instrument-badge {
  left: clamp(-190px, -13vw, -110px);
  bottom: 10%;
  width: clamp(112px, 9vw, 150px);
  height: clamp(112px, 9vw, 150px);
  opacity: 0.18;
  transform: rotate(-5deg);
}

.manifesto .instrument-badge {
  left: 9%;
  top: 11%;
  width: clamp(220px, 20vw, 330px);
  height: clamp(120px, 10vw, 180px);
  opacity: 0.58;
  transform: rotate(-6deg);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

nav button {
  font: inherit;
}

nav a:hover {
  color: var(--ink);
}

.nav-sound-toggle {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 250, 241, 0.54);
  font-weight: 800;
}

.nav-sound-toggle.is-on {
  color: var(--paper-soft);
  border-color: transparent;
  background: var(--burgundy);
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.9fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 7vw, 104px) clamp(24px, 6vw, 72px);
  max-width: 670px;
}

.hero-copy > :not(.instrument-badge),
.intro-copy > :not(.instrument-badge),
.split > div > :not(.instrument-badge),
.video-copy > :not(.instrument-badge),
.xp-copy > :not(.instrument-badge),
.manifesto > :not(.instrument-badge) {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(56px, 7.4vw, 104px);
  font-weight: 400;
  line-height: 0.93;
}

h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.hero-text,
.section p,
.video-copy p {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.56;
}

.hero-text {
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 24px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  color: var(--paper-soft);
  background: var(--ink);
}

.primary:hover {
  background: var(--burgundy);
}

.ghost {
  color: var(--ink);
  background: rgba(255, 250, 241, 0.62);
  border-color: var(--line);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.5);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-widgets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 520px);
  margin-top: 18px;
}

.mini-widget {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.62);
}

.mini-widget strong,
.mini-widget span {
  display: block;
}

.mini-widget strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.mini-widget span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mini-widget b {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--paper-soft);
  background: var(--burgundy);
  font-size: 12px;
}

.mini-timeline {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(29, 27, 25, 0.1);
}

.mini-timeline i {
  position: absolute;
  top: 3px;
  height: 6px;
  border-radius: 999px;
}

.mini-timeline .gold {
  left: 8%;
  width: 30%;
  background: #c99a48;
}

.mini-timeline .blue {
  left: 47%;
  width: 18%;
  background: #7d9aaa;
}

.mini-timeline .pink {
  left: 73%;
  width: 17%;
  background: #b96f80;
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0%, rgba(248, 243, 233, 0.08) 54%, var(--paper) 100%),
    linear-gradient(0deg, rgba(248, 243, 233, 0.88), transparent 24%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
  transform: scaleX(-1);
}

.section {
  width: min(960px, calc(100% - 44px));
  margin: 0 auto;
  min-height: calc(100vh - var(--header-h));
  padding: clamp(46px, 5vw, 72px) 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.intro {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.intro-copy {
  max-width: 760px;
}

.intro-copy p,
.manifesto p {
  max-width: 740px;
}

.achievement-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.achievement-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.84), rgba(229, 219, 204, 0.36));
}

.achievement-card:nth-child(2),
.achievement-card:nth-child(4) {
  transform: translateY(22px);
}

.achievement-card strong,
.achievement-card small {
  display: block;
}

.achievement-card strong {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.02;
}

.achievement-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.achievement-card.locked {
  opacity: 0.62;
}

.achievement-card.unlocked {
  border-color: rgba(184, 134, 63, 0.42);
  box-shadow: inset 0 0 0 1px rgba(184, 134, 63, 0.14);
}

.instrument-icon {
  width: 54px;
  height: 54px;
  display: block;
  position: relative;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
}

.instrument-icon::before,
.instrument-icon::after {
  content: "";
  position: absolute;
  display: none;
}

.instrument-icon.cello,
.instrument-icon.guitar {
  background-image: url("./assets/orchestra-cello.png");
}

.instrument-icon.piano {
  background-image: url("./assets/orchestra-piano.png");
}

.instrument-icon.violin {
  background-image: url("./assets/orchestra-violin.png");
}

.instrument-icon.flute {
  background-image: url("./assets/orchestra-flute.png");
}

.instrument-icon.harp {
  background-image: url("./assets/orchestra-harp.png");
}

.instrument-icon.timpani {
  background-image: url("./assets/orchestra-timpani.png");
}

.instrument-icon.trumpet {
  background-image: url("./assets/orchestra-trumpet.png");
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.mock-phone,
.xp-board,
.reward-strip,
.manifesto p,
.waitlist-copy,
.waitlist-form {
  position: relative;
  z-index: 1;
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 48px 104px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.step span {
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.step strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.video-band {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) 350px;
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
  padding: clamp(54px, 6.5vw, 84px) clamp(22px, 5vw, 64px);
  color: var(--paper-soft);
  background:
    radial-gradient(circle at 85% 18%, rgba(184, 134, 63, 0.18), transparent 22%),
    linear-gradient(135deg, #191713, #2b1620 56%, #151413);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: url("./assets/treble-cursor-light.svg") 30 32, auto;
}

.video-band a,
.video-band button,
.video-band select,
.video-band input,
.video-band textarea,
.video-band .mock-phone {
  cursor: url("./assets/treble-cursor-light.svg") 30 32, pointer;
}

.video-copy {
  max-width: 610px;
}

.video-copy .section-kicker {
  color: #d8b06d;
}

.video-copy p {
  color: rgba(255, 250, 241, 0.72);
}

.mock-phone {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 30px;
  background: rgba(255, 250, 241, 0.08);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.35);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.phone-top span {
  font-family: var(--serif);
  font-size: 24px;
}

.phone-top small {
  color: rgba(255, 250, 241, 0.62);
  font-weight: 700;
}

.video-preview {
  height: 260px;
  border-radius: 16px;
  background:
    linear-gradient(0deg, rgba(18, 16, 15, 0.66), transparent 42%),
    url("./assets/aleatorika-hero.png") center / cover;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.stats-row div {
  padding: 10px 9px;
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.07);
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  font-size: 21px;
}

.stats-row span {
  color: rgba(255, 250, 241, 0.62);
  font-size: 11px;
  font-weight: 700;
}

.timeline {
  position: relative;
  height: 16px;
  margin: 16px 0 14px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.16);
}

.timeline i {
  position: absolute;
  top: 3px;
  height: 10px;
  border-radius: 999px;
}

.timeline .blue {
  left: 8%;
  width: 15%;
  background: #82a8b8;
}

.timeline .gold {
  left: 31%;
  width: 18%;
  background: #d0a65b;
}

.timeline .pink {
  left: 54%;
  width: 12%;
  background: #c67b88;
}

.timeline .purple {
  left: 70%;
  width: 11%;
  background: #9c80b7;
}

.timeline .green {
  left: 84%;
  width: 10%;
  background: #91aa7d;
}

.clip-list {
  display: grid;
  gap: 8px;
}

.clip-list span {
  padding: 11px 12px;
  border: 1px solid rgba(255, 250, 241, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.07);
  font-weight: 700;
}

.xp-world {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1fr);
  grid-template-rows: auto auto;
  gap: 16px clamp(34px, 5vw, 64px);
  align-content: center;
  align-items: center;
}

.xp-copy p {
  max-width: 560px;
}

.xp-loop {
  width: min(100%, 560px);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.62);
}

.xp-loop span {
  flex: 1;
  min-width: 0;
  padding: 8px 9px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.74);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.xp-loop i {
  width: 16px;
  height: 2px;
  background: var(--brass);
}

.xp-board {
  display: grid;
  gap: 10px;
}

.xp-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 18px 60px rgba(29, 27, 25, 0.06);
}

.xp-card.practice {
  border-color: rgba(184, 134, 63, 0.36);
}

.xp-card.community {
  border-color: rgba(109, 130, 144, 0.34);
}

.xp-card.popularity {
  border-color: rgba(101, 31, 47, 0.28);
}

.xp-card-top {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
}

.xp-token {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-soft);
  background: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.practice .xp-token {
  background: var(--brass-dark);
}

.community .xp-token {
  background: var(--blue);
}

.popularity .xp-token {
  background: var(--burgundy);
}

.xp-card h3 {
  margin-bottom: 4px;
  font-size: 24px;
}

.xp-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.xp-meter {
  height: 12px;
  margin: 11px 0 10px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(29, 27, 25, 0.08);
}

.xp-meter span {
  width: var(--fill);
  height: 100%;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brass), #d8b06d);
}

.community .xp-meter span {
  background: linear-gradient(90deg, var(--blue), #9ab0bc);
}

.popularity .xp-meter span {
  background: linear-gradient(90deg, var(--burgundy), #a64e63);
}

.xp-card ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xp-card li {
  min-height: 52px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
}

.reward-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.reward {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px dashed rgba(53, 45, 37, 0.22);
  border-radius: 16px;
  background: rgba(255, 250, 241, 0.5);
  opacity: 0.72;
}

.reward.active {
  border-style: solid;
  border-color: rgba(184, 134, 63, 0.42);
  background: rgba(255, 250, 241, 0.78);
  opacity: 1;
}

.reward .instrument-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.reward b {
  font-size: 12px;
  line-height: 1.2;
}

.manifesto {
  display: grid;
  place-items: center;
  text-align: center;
}

.manifesto p {
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 0.9fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 42px);
  padding-bottom: clamp(24px, 3vw, 42px);
}

.waitlist h2 {
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 0.98;
}

.waitlist-copy p {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
}

.waitlist-copy {
  min-height: min(610px, calc(100vh - 166px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px) 0;
}

.waitlist-copy > :not(.orchestra-stage) {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.waitlist-form {
  position: relative;
  display: grid;
  gap: 8px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 241, 0.62);
}

.orchestra-stage {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(210px, 23vw, 330px);
  margin-top: clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(53, 45, 37, 0.16);
  pointer-events: none;
}

.orchestra-stage span {
  position: absolute;
  display: block;
  opacity: 0.14;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.orchestra-stage span.is-collected {
  opacity: 0.62;
}

.orchestra-stage .instrument-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 28px rgba(29, 27, 25, 0.18));
}

.orchestra-stage [data-stage-piece="cello"] {
  left: 47%;
  bottom: 0;
  width: clamp(68px, 6vw, 96px);
  height: clamp(142px, 13vw, 205px);
  z-index: 3;
}

.orchestra-stage [data-stage-piece="piano"] {
  left: 2%;
  bottom: 4%;
  width: clamp(136px, 12vw, 190px);
  height: clamp(96px, 8vw, 132px);
  transform: rotate(-3deg);
  z-index: 2;
}

.orchestra-stage [data-stage-piece="flute"] {
  left: 5%;
  top: 11%;
  width: clamp(165px, 14vw, 230px);
  height: clamp(48px, 4vw, 68px);
  transform: rotate(-9deg);
}

.orchestra-stage [data-stage-piece="harp"] {
  right: 3%;
  bottom: 0;
  width: clamp(64px, 5.5vw, 92px);
  height: clamp(142px, 13vw, 205px);
  z-index: 2;
}

.orchestra-stage [data-stage-piece="timpani"] {
  left: 63%;
  bottom: 0;
  width: clamp(96px, 8vw, 136px);
  height: clamp(72px, 6vw, 96px);
  z-index: 4;
}

.orchestra-stage [data-stage-piece="trumpet"] {
  right: 4%;
  top: 6%;
  width: clamp(180px, 16vw, 260px);
  height: clamp(64px, 6vw, 92px);
  transform: rotate(2deg);
}

.waitlist-form.is-locked label,
.waitlist-form.is-locked .form-button,
.waitlist-form.is-locked .form-note {
  opacity: 0.34;
  pointer-events: none;
}

.waitlist-form.is-unlocked {
  border-color: rgba(184, 134, 63, 0.5);
  box-shadow: inset 0 0 0 1px rgba(184, 134, 63, 0.12);
}

.form-lock {
  padding: 10px 12px;
  border: 1px solid rgba(101, 31, 47, 0.22);
  border-radius: 10px;
  color: var(--burgundy);
  background: rgba(101, 31, 47, 0.07);
  font-size: 12px;
  font-weight: 900;
}

.waitlist-form.is-unlocked .form-lock {
  color: var(--brass-dark);
  border-color: rgba(184, 134, 63, 0.3);
  background: rgba(184, 134, 63, 0.1);
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.label-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.54);
  font: inherit;
}

textarea {
  max-height: 82px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(184, 134, 63, 0.26);
  border-color: rgba(184, 134, 63, 0.72);
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-note,
.form-success {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-success {
  color: var(--burgundy);
  font-weight: 800;
}

.hidden {
  display: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 46px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span:first-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
}

@media (max-width: 900px) {
  html {
    scroll-snap-type: none;
  }

  nav {
    display: none;
  }

  .hero,
  .intro,
  .split,
  .xp-world,
  .video-band,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section,
  .video-band {
    min-height: auto;
    scroll-snap-align: none;
    overflow: visible;
  }

  .hero {
    overflow: visible;
  }

  .hero-copy {
    order: 2;
    padding-top: 44px;
  }

  .hero-media {
    order: 1;
    min-height: 360px;
  }

  .hero-media::before {
    background:
      linear-gradient(0deg, var(--paper) 0%, rgba(248, 243, 233, 0.06) 42%, transparent 86%),
      linear-gradient(90deg, rgba(248, 243, 233, 0.78), transparent 66%);
  }

  .step {
    grid-template-columns: 42px 1fr;
  }

  .step p {
    grid-column: 2;
  }

  .orchestra-hud {
    top: auto;
    right: 16px;
    bottom: 16px;
    width: min(360px, calc(100% - 32px));
    border-radius: 999px;
    flex-direction: row;
    transform: none;
  }

  .orchestra-track {
    grid-template-columns: repeat(6, 1fr);
  }

  .orchestra-count {
    min-width: 0;
    text-align: center;
  }

  .orchestra-piece,
  .sound-toggle {
    width: 42px;
    height: 42px;
  }

  .mock-phone {
    max-width: 360px;
    margin: 0 auto;
  }

  .xp-board,
  .reward-strip {
    grid-template-columns: 1fr;
  }

  .xp-card ul {
    grid-template-columns: 1fr;
  }

  .waitlist-copy {
    min-height: 500px;
    padding-bottom: 0;
  }

  .orchestra-stage {
    height: 230px;
  }

  .achievement-card:nth-child(2),
  .achievement-card:nth-child(4) {
    transform: none;
  }

  .instrument-badge {
    width: 150px;
    height: 150px;
    opacity: 0.22;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero-copy {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-widgets {
    grid-template-columns: 1fr;
  }

  .achievement-orbit {
    grid-template-columns: 1fr;
  }

  .xp-loop {
    align-items: stretch;
    border-radius: 18px;
    flex-direction: column;
  }

  .xp-loop i {
    width: 2px;
    height: 12px;
    align-self: center;
  }

  .orchestra-stage {
    height: auto;
    transform: none;
  }

  .video-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .video-preview {
    height: 240px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
