/* Museudio website. Palette and type follow the app (src/styles/tokens.css); since 16 Nov 2026 the Vintage Rack theme (end of file). */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin-opsz-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin-wght-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0908;
  --bg-2: #110e0c;
  --surface: #181411;
  --surface-2: #201b17;
  --surface-3: #2a241f;
  --line: rgba(255, 228, 196, 0.08);
  --line-2: rgba(255, 228, 196, 0.15);
  --text: #f5ede3;
  --text-2: #c9bcad;
  --text-3: #95877a;
  --amber: #f5a83c;
  --amber-hi: #ffc66e;
  --amber-lo: #a8661c;
  --amber-wash: rgba(245, 168, 60, 0.12);
  --ivory: #ece2d2;

  --drums: #a991f2;
  --bass: #3fc3ae;
  --keys: #64a6f6;
  --guitar: #93d06f;

  --intro: #64a6f6;
  --verse: #3fc3ae;
  --chorus: #f5a83c;
  --bridge: #a991f2;
  --outro: #93d06f;

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sym: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols 2', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --top-h: 66px;
  --accent: var(--amber);
}

[data-kind='intro'] { --accent: var(--intro); }
[data-kind='verse'], [data-kind='verse2'] { --accent: var(--verse); }
[data-kind='chorus'] { --accent: var(--chorus); }
[data-kind='bridge'] { --accent: var(--bridge); }
[data-kind='outro'] { --accent: var(--outro); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Warm film grain over everything, very faint. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; font-variation-settings: 'opsz' 96; }
h2 { font-size: clamp(36px, 5.4vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); font-variation-settings: 'opsz' 36; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--accent); }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 60ch; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { left: -10000px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--amber); color: #1a1208; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- buttons, tags */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: linear-gradient(180deg, var(--amber-hi), var(--amber)); color: #1d1206; box-shadow: 0 8px 28px rgba(245, 168, 60, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(245, 168, 60, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 240, 220, 0.03); }
.btn--ghost:hover { border-color: rgba(245, 168, 60, 0.5); background: var(--amber-wash); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  font: 600 12px/1.2 var(--font); letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid currentColor; white-space: nowrap;
}
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag--today { color: #8fdca2; }
.tag--preview { color: var(--amber); }
.tag--next { color: #c3b2ff; }
.tag--next::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.tag--demo { color: var(--amber-hi); }
.fine { margin-top: 22px; font-size: 14px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.fine--center { justify-content: center; text-align: center; }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 14px 7px 12px; border-radius: 10px; border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  font: 600 14px/1 var(--font); color: var(--text);
}
.section-tag i { width: 9px; height: 9px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.section-tag span { color: var(--text-3); font-weight: 500; }

.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-2); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.5em; width: 16px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-4px); border-radius: 1px;
}
.tagline { margin-top: 28px; }
.tagline + .ticks { margin-top: 16px; }
.ticks--next li::before { width: 10px; height: 10px; border: 1.5px solid #c3b2ff; border-radius: 50%; transform: none; top: 0.45em; left: 3px; }

/* ---------------------------------------------------------------- header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; }
.top__inner {
  height: var(--top-h); display: flex; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
  background: rgba(11, 9, 8, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--amber); }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font: 600 25px/1 var(--display); letter-spacing: -0.02em; color: var(--text); font-variation-settings: 'opsz' 48; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px;
  text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav a i { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); opacity: 0.55; transition: opacity 0.2s, box-shadow 0.2s; }
.nav a:hover { color: var(--text); background: rgba(255, 240, 220, 0.05); }
.nav a.is-current { color: var(--text); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.nav a.is-current i { opacity: 1; box-shadow: 0 0 10px var(--accent); }
.menu { display: none; }
.nav .nav__join { display: none; }

/* The song strip: page sections as song parts, with a playhead. */
.strip { position: relative; display: flex; height: 4px; background: var(--bg); }
.strip span { flex: 1; font-size: 0; background: color-mix(in srgb, var(--accent) 30%, #000); border-right: 2px solid var(--bg); }
.strip span.is-past { background: var(--accent); }
.strip__head { position: absolute; top: -3px; left: 0; width: 2px; height: 10px; border-radius: 2px; background: var(--text); box-shadow: 0 0 10px #fff; transition: left 0.15s linear; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-top: calc(var(--top-h) + clamp(48px, 8vw, 96px)); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(42% 38% at 72% 34%, rgba(245, 168, 60, 0.20), transparent 70%),
    radial-gradient(30% 30% at 12% 20%, rgba(100, 166, 246, 0.10), transparent 70%);
}
.rings { position: absolute; left: 72%; top: 38%; width: 0; height: 0; pointer-events: none; }
.rings i {
  position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px;
  border: 1.5px solid rgba(245, 168, 60, 0.35); border-radius: 50%;
  animation: ring 4.14s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;   /* two bars at 116 BPM */
}
.rings i:nth-child(2) { animation-delay: 1.035s; }
.rings i:nth-child(3) { animation-delay: 2.07s; }
@keyframes ring { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(4.2); opacity: 0; } }

.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(48px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.026em; font-variation-settings: 'opsz' 144; }
.hero__title em { color: var(--amber); }
.hero__lead { margin-top: 26px; font-size: clamp(18px, 1.7vw, 21px); color: var(--text-2); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 22px; font-size: 14px; color: var(--text-3); }

.hero__shot { position: relative; margin: 0; }
@media (min-width: 1101px) { .hero__shot { margin-right: calc(-1 * min(80px, (100vw - var(--wrap)) / 2)); } }
.frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 80px rgba(245, 168, 60, 0.12);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transform-origin: left center;
  transition: transform 0.8s var(--ease);
}
.hero__shot:hover .frame { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: var(--text);
  background: rgba(24, 20, 17, 0.86); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  animation: bob 6s ease-in-out infinite;
}
.chip b { font: 600 18px/1 var(--display); color: var(--amber); }
.chip--a { right: 4%; bottom: -5%; animation-delay: -1s; }
.chip--b { left: 8%; top: -5%; animation-delay: -2s; }
.chip--b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #8fdca2; box-shadow: 0 0 10px #8fdca2; }
.chip--c { left: -6%; bottom: 6%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Chord ribbon: progressions drifting past like a lead sheet. */
.ribbon { margin-top: clamp(56px, 8vw, 96px); padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ribbon__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: drift 60s linear infinite; }
.ribbon span { display: grid; justify-items: center; gap: 4px; color: var(--text-3); font-size: 13px; letter-spacing: 0.04em; }
.ribbon b { font: 500 30px/1 var(--display); color: var(--ivory); font-variation-settings: 'opsz' 72; }
.ribbon em { font-style: normal; color: var(--amber); font-size: 26px; opacity: 0.7; }
@keyframes drift { to { transform: translateX(-50%); } }

.who { padding-block: clamp(72px, 10vw, 120px) clamp(40px, 6vw, 72px); }
.who__title { font-size: clamp(30px, 3.8vw, 46px); max-width: 18ch; }
.who__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.who__list li { padding: 24px 22px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.who__list li:nth-child(1) { --c: var(--drums); }
.who__list li:nth-child(2) { --c: var(--bass); }
.who__list li:nth-child(3) { --c: var(--keys); }
.who__list li:nth-child(4) { --c: var(--guitar); }
.who__count { display: inline-block; margin-bottom: 18px; font: italic 500 15px/1 var(--display); color: var(--c); }
.who__list h3 { font-size: 22px; margin-bottom: 10px; }
.who__list p { color: var(--text-2); font-size: 15.5px; }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding-block: clamp(90px, 12vw, 150px); border-top: 1px solid var(--line); }
.section::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 520px; pointer-events: none;
  background: radial-gradient(50% 70% at 50% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 75%);
}
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split h2 { margin-bottom: 24px; }

.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5); background: var(--surface); }
.shot--wide { margin-top: clamp(56px, 8vw, 90px); }
.shot figcaption { padding: 14px 18px; font-size: 14px; color: var(--text-3); border-top: 1px solid var(--line); background: var(--bg-2); }

.practice__media { display: grid; grid-template-columns: 0.42fr 0.58fr; grid-template-areas: 'stage stage' 'groove chords'; gap: 16px; align-items: start; }
.shot--stage { grid-area: stage; }
.shot--groove { grid-area: groove; }
.shot--chords { grid-area: chords; align-self: center; transform: translateX(6%); }

/* ---------------------------------------------------------------- learn: the key explorer */
.learn__head, .create__head, .band__head, .next__head { max-width: 760px; }
.learn__head h2, .create__head h2, .band__head h2, .next__head h2 { margin-bottom: 24px; }
.lab {
  margin-top: clamp(44px, 6vw, 64px); padding: clamp(18px, 3vw, 32px);
  border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(32, 27, 23, 0.95), rgba(17, 14, 12, 0.95));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 240, 220, 0.05);
}
.lab__bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.lab__label { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--text-3); font-size: 14px; }
.lab__mode { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.lab__mode button, .lab__keys button, .cast__filters button {
  font: 600 14px/1 var(--font); color: var(--text-2); background: transparent; border: 0; cursor: pointer;
  padding: 9px 14px; border-radius: 9px; transition: background 0.2s, color 0.2s;
}
.lab__mode button[aria-pressed='true'] { background: var(--surface-3); color: var(--text); }
.lab__keys { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.lab__keys button { min-width: 46px; padding: 10px 10px; border: 1px solid var(--line); background: var(--bg); font-family: var(--display); font-size: 17px; font-weight: 500; }
.lab__keys button:hover { color: var(--text); border-color: var(--line-2); }
.lab__keys button[aria-pressed='true'] { background: var(--amber); color: #1d1206; border-color: var(--amber); }
.lab__chords { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.chordbtn {
  position: relative; display: grid; gap: 6px; justify-items: start; padding: 16px 14px 14px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  cursor: pointer; text-align: left; overflow: hidden;
  transition: transform 0.15s var(--ease), border-color 0.2s, background 0.2s;
}
.chordbtn b { font: 600 clamp(22px, 2.6vw, 32px)/1 var(--display); font-variation-settings: 'opsz' 72; }
.chordbtn span { font-size: 15px; color: var(--text-2); font-weight: 500; }
.chordbtn:hover { border-color: rgba(245, 168, 60, 0.55); transform: translateY(-2px); }
.chordbtn.is-on { background: linear-gradient(180deg, rgba(245, 168, 60, 0.24), rgba(245, 168, 60, 0.08)); border-color: var(--amber); }
.chordbtn.is-on b { color: var(--amber-hi); }
.chordbtn.is-hit::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgba(255, 198, 110, 0.45), transparent 70%); animation: hit 0.7s ease-out forwards; }
@keyframes hit { from { opacity: 1; } to { opacity: 0; } }
.lab__detail { display: grid; grid-template-columns: 210px minmax(0, 1fr) 230px; gap: 26px; align-items: center; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.lab__now { display: grid; gap: 6px; }
.lab__eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.lab__name { font: 600 72px/0.95 var(--display); color: var(--amber); font-variation-settings: 'opsz' 144; letter-spacing: -0.03em; }
.lab__roman { font: 600 24px/1.1 var(--display); }
.lab__roman small { font: 400 15px/1 var(--font); color: var(--text-3); margin-left: 6px; }
.piano { width: 100%; height: auto; }
.piano .w { fill: #ece2d2; stroke: #2a241f; stroke-width: 1.5; }
.piano .b { fill: #1c1714; stroke: #0b0908; stroke-width: 1; }
.piano .w.on { fill: var(--amber); }
.piano .b.on { fill: #c47a1e; }
.piano text { font: 600 13px var(--font); fill: #2a1d0e; text-anchor: middle; pointer-events: none; }
.piano text.onblack { fill: #fff2df; }
.lab__tones { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lab__tones li { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.lab__tones b { font: 600 20px/1 var(--display); min-width: 38px; }
.lab__tones span { font-size: 13.5px; color: var(--text-2); }
.lab__foot { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 26px; }
.lab__tip { flex: 1 1 380px; color: var(--text-2); font-size: 15.5px; }
.lab__tip strong { color: var(--text); }
.lab__play.is-playing { background: var(--surface-3); color: var(--text); box-shadow: none; }
.learn__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.learn__cols > div { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.learn__cols .ticks { margin-top: 18px; }

/* ---------------------------------------------------------------- create: one chord to a song */
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); margin-top: clamp(40px, 6vw, 70px); }
.story__canvas {
  position: sticky; top: calc(var(--top-h) + 40px); align-self: start;
  min-height: 430px; padding: 30px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.story__key { position: relative; height: 22px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.story__key span { position: absolute; left: 0; transition: opacity 0.4s, transform 0.4s var(--ease); }
.story__key-to { opacity: 0; transform: translateY(8px); color: var(--amber); }
.story__bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; transition: transform 0.6s var(--ease); transform-origin: top left; }
.bar {
  display: grid; gap: 4px; padding: 14px 14px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.3s;
}
.bar small { color: var(--text-3); font-size: 12px; }
.bar b { font: 600 clamp(30px, 3.4vw, 46px)/1 var(--display); font-variation-settings: 'opsz' 96; }
.bar span { font-size: 15px; color: var(--text-2); font-weight: 600; transition: color 0.3s; }
.bar:nth-child(n + 2) { opacity: 0; transform: translateX(-12px); }
.story__song {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; align-items: center; margin-top: 26px;
  opacity: 0.13; filter: grayscale(1); transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), filter 0.5s;
}
.story__song span { padding: 9px 6px 9px 8px; border-radius: 8px; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.story__song em { grid-column: 1 / -1; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--text-3); }
@media (max-width: 640px) { .story__song { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.story__band { display: flex; align-items: center; gap: 10px; margin-top: 26px; opacity: 0.13; filter: grayscale(1); transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), filter 0.5s; }
.story__canvas:not([data-step='5']) .eq i { animation-play-state: paused; }
.story__band img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); box-shadow: 0 0 0 2px var(--line-2); }
.story__band img:nth-child(1) { box-shadow: 0 0 0 2px var(--drums); }
.story__band img:nth-child(2) { box-shadow: 0 0 0 2px var(--bass); }
.story__band img:nth-child(3) { box-shadow: 0 0 0 2px var(--keys); }
.story__band img:nth-child(4) { box-shadow: 0 0 0 2px var(--guitar); }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 30px; margin-left: 10px; }
.eq i { width: 4px; height: 30%; border-radius: 2px; background: var(--amber); animation: eq 0.517s ease-in-out infinite alternate; }   /* one beat at 116 BPM */
.eq i:nth-child(2) { animation-delay: -0.2s; }
.eq i:nth-child(3) { animation-delay: -0.35s; }
.eq i:nth-child(4) { animation-delay: -0.1s; }
.eq i:nth-child(5) { animation-delay: -0.42s; }
@keyframes eq { to { height: 100%; } }

.story__canvas[data-step='2'] .bar,
.story__canvas[data-step='3'] .bar,
.story__canvas[data-step='4'] .bar,
.story__canvas[data-step='5'] .bar { opacity: 1; transform: none; }
.story__canvas[data-step='2'] .bar:nth-child(2) { transition-delay: 0.08s; }
.story__canvas[data-step='2'] .bar:nth-child(3) { transition-delay: 0.16s; }
.story__canvas[data-step='2'] .bar:nth-child(4) { transition-delay: 0.24s; }
.story__canvas.is-g .story__key-from { opacity: 0; transform: translateY(-8px); }
.story__canvas.is-g .story__key-to { opacity: 1; transform: none; }
.story__canvas.is-g .bar span { color: var(--amber); }
.story__canvas[data-step='4'] .story__song,
.story__canvas[data-step='5'] .story__song,
.story__canvas[data-step='5'] .story__band { opacity: 1; transform: none; filter: none; }
.story__canvas[data-step='5'] .bar { border-color: rgba(245, 168, 60, 0.4); }

.story__steps { list-style: none; margin: 0; padding: 0; }
.story__step { min-height: 44vh; padding: 26px 0; display: grid; align-content: center; opacity: 0.35; transition: opacity 0.4s; }
.story__step.is-current { opacity: 1; }
.story__step span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: italic 600 16px/1 var(--display); color: var(--accent); margin-bottom: 16px; }
.story__step h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.story__step p { color: var(--text-2); max-width: 30em; }

/* ---------------------------------------------------------------- the band */
.cast { margin-top: clamp(40px, 6vw, 64px); }
.cast__filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.cast__filters button[aria-pressed='true'] { background: var(--surface-3); color: var(--text); }
.cast__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; margin-top: 22px; align-items: start; }
.cast__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.cast__grid li { transition: opacity 0.3s, transform 0.3s var(--ease); }
.cast__grid li[hidden] { display: none; }
.cast__grid li[data-role='drums'] { --c: var(--drums); }
.cast__grid li[data-role='bass'] { --c: var(--bass); }
.cast__grid li[data-role='keys'] { --c: var(--keys); }
.cast__grid li[data-role='guitar'] { --c: var(--guitar); }
.cast__grid button {
  width: 100%; padding: 0; border: 0; background: none; color: var(--text-2); cursor: pointer;
  display: grid; gap: 7px; justify-items: center; font: 500 13px/1.2 var(--font);
}
.cast__grid img { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; object-position: 50% 22%; border: 1px solid var(--line); transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.cast__grid button:hover img, .cast__grid button[aria-pressed='true'] img { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--c); }
.cast__grid button[aria-pressed='true'] { color: var(--text); }
.spot { position: sticky; top: calc(var(--top-h) + 30px); padding: 22px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.spot__img { width: 120px; height: 120px; border-radius: 18px; object-fit: cover; object-position: 50% 22%; margin-bottom: 16px; box-shadow: 0 0 0 2px var(--spot, var(--drums)); }
.spot__role { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--spot, var(--drums)); font-weight: 700; }
.spot__name { font: 600 36px/1.05 var(--display); margin-top: 6px; font-variation-settings: 'opsz' 96; }
.spot__genre { font: italic 500 16px/1.3 var(--display); color: var(--text-3); margin-top: 4px; }
.spot__summary { margin-top: 14px; color: var(--text-2); font-size: 15.5px; }
.band__more { margin-top: clamp(64px, 9vw, 110px); grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.band__more h3 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.band__more p { color: var(--text-2); }
.band__more em { font-family: var(--display); color: var(--text); }

/* ---------------------------------------------------------------- what's next, join, faq */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 6vw, 60px); }
.road__col { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.road__col ul { margin: 18px 0 0; padding: 0 0 0 18px; display: grid; gap: 10px; color: var(--text-2); font-size: 15.5px; }
.road__col li::marker { color: var(--text-3); }

.join { margin-top: clamp(80px, 11vw, 140px); }
.join__card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border-radius: 28px; border: 1px solid rgba(245, 168, 60, 0.3);
  background: radial-gradient(70% 90% at 50% 0%, rgba(245, 168, 60, 0.18), transparent 70%), linear-gradient(180deg, var(--surface), var(--bg-2));
}
.join__card h2 { font-size: clamp(38px, 5.6vw, 68px); }
.join__card h2 em { color: var(--amber); }
.join__card > p { margin: 18px auto 0; max-width: 36em; color: var(--text-2); font-size: 18px; }
.form { max-width: 560px; margin: 32px auto 0; text-align: left; }
.form__row { display: flex; gap: 10px; }
.form input[type='email'], .form textarea {
  width: 100%; font: 400 17px/1.4 var(--font); color: var(--text);
  background: rgba(11, 9, 8, 0.7); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form input[type='email'] { min-height: 52px; border-radius: 999px; padding-inline: 22px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(245, 168, 60, 0.18); }
.form input::placeholder, .form textarea::placeholder { color: var(--text-3); }
.form__more { display: grid; gap: 12px; margin-top: 16px; }
.form__more label { font-size: 15px; color: var(--text); font-weight: 500; }
.form__more label span { color: var(--text-3); font-weight: 400; }
.form__more textarea { resize: vertical; min-height: 110px; }
.form__more .btn { justify-self: start; }
.form__msg { min-height: 1.5em; margin-top: 12px; font-size: 15px; text-align: center; }
.form__msg.ok { color: #8fdca2; }
.form__msg.err { color: #ff9a85; }
.join__note { margin-top: 8px; font-size: 13.5px; color: var(--text-3); }

.faq { max-width: 820px; margin-top: clamp(80px, 11vw, 130px); }
.faq__title { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 20px/1.3 var(--display); font-variation-settings: 'opsz' 36; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--font); color: var(--amber); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 62ch; }

.foot { border-top: 1px solid var(--line); padding-block: 48px 56px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot__motto { font: italic 500 18px/1 var(--display); color: var(--text-2); }
.foot__copy { margin-left: auto; font-size: 13.5px; color: var(--text-3); }

/* ---------------------------------------------------------------- motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ribbon__track { transform: none; }
  .frame { transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .hero__grid, .split, .band__more, .story { grid-template-columns: 1fr; }
  .hero__shot { max-width: 760px; }
  .frame { transform: none; }
  .chip--b, .chip--c { display: none; }
  .who__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab__detail { grid-template-columns: 1fr 1fr; }
  .piano { grid-column: 1 / -1; order: 3; }
  .cast__body { grid-template-columns: 1fr; }
  .spot { position: static; display: grid; grid-template-columns: 96px 1fr; gap: 0 18px; align-items: center; }
  .spot__img { width: 96px; height: 96px; grid-row: span 3; margin: 0; }
  .spot__summary { grid-column: 1 / -1; }
  .cast__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .story__canvas { position: relative; top: auto; min-height: 0; }
  .story__steps { display: grid; gap: 4px; }
  .story__step { min-height: 0; opacity: 1; padding: 18px 0; }
  .road { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: calc(var(--top-h) + 4px) 0 auto; flex-direction: column; gap: 2px; margin: 0;
    padding: 12px var(--gutter) 20px; background: rgba(11, 9, 8, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .nav .nav__join { display: inline-flex; }
  .top__cta { margin-left: auto; }
  .menu {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  }
  .menu span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.2s; }
  .menu[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .lab__chords { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .learn__cols { grid-template-columns: 1fr; }
  .cast__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .practice__media { grid-template-columns: 1fr; grid-template-areas: 'stage' 'chords' 'groove'; }
  .shot--chords { transform: none; }
  .shot--groove { max-width: 360px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__word { font-size: 22px; }
  .top__inner { gap: 12px; }
  .top__cta { padding: 0 14px; }
  .chip { display: none; }
  .who__list { grid-template-columns: 1fr; }
  .lab__chords { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lab__detail { grid-template-columns: 1fr; }
  .lab__name { font-size: 60px; }
  .form__row { flex-direction: column; }
  .form__row .btn { width: 100%; }
  .cast__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .foot__copy { margin-left: 0; }
}
@media (max-width: 380px) {
  .top__cta { display: none; }
}

/* ================================================================ Vintage Rack (16 Nov 2026)
   The site in the app's Vintage Rack theme (src/styles/themes/rack.css + rack-materials.css):
   graphite brushed-metal units with screws, a walnut frame, glass over the screens, warm amber
   light. Layered over the styles above, so the page structure is unchanged. */
:root {
  --bg: #101315;
  --bg-2: #111719;
  --surface: #24292d;
  --surface-2: #30363a;
  --surface-3: #3a4145;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f0e9dc;
  --text-2: #c1b9ac;
  --text-3: #a49d92;
  --amber: #e6a653;
  --amber-hi: #f6c476;
  --amber-lo: #946638;
  --amber-wash: rgba(230, 166, 83, 0.14);
  --ivory: #ece6da;

  --drums: #d79b59;
  --bass: #68b9ad;
  --keys: #a69ad3;
  --guitar: #8fb879;

  --intro: #8eaed3;
  --verse: #68b9ad;
  --chorus: #e6a653;
  --bridge: #a69ad3;
  --outro: #8fb879;

  --radius: 8px;
  --border: #41494b;
  --border-hi: #62696a;
  --metal-mid: #50575a;

  --rk-brush:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 2px, transparent 2px 11px);
  --rk-sheen:
    linear-gradient(100deg, rgba(255, 244, 228, 0.03) 0%, transparent 28%, transparent 64%, rgba(255, 244, 228, 0.018) 82%, transparent 100%);
  --rk-face: linear-gradient(180deg, #30363a 0%, #24292d 12%, #202529 88%, #171b1e 100%);
  --rk-screw-head: #c3c7c8 0, #7a8083 2.2px, #3a3f42 4.2px, rgba(0, 0, 0, 0.6) 4.8px, transparent 5.8px;
  --rk-screws:
    radial-gradient(circle at 11px 11px, var(--rk-screw-head)),
    radial-gradient(circle at calc(100% - 11px) 11px, var(--rk-screw-head)),
    radial-gradient(circle at 11px calc(100% - 11px), var(--rk-screw-head)),
    radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), var(--rk-screw-head));
  --rk-unit-shadow:
    inset 0 1px 0 rgba(255, 232, 200, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    inset 0 -4px 6px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 10px 26px rgba(0, 0, 0, 0.45);
  --rk-recess: inset 0 3px 8px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 236, 210, 0.08);
  --rk-glass: linear-gradient(180deg, rgba(255, 248, 236, 0.05) 0%, rgba(255, 248, 236, 0.018) 42%, transparent 46%);
  --rk-key: linear-gradient(180deg, #484e52 0%, #3a4044 44%, #2a2f32 56%, #2e3336 100%);
  --rk-key-shadow: inset 0 1px 0 rgba(255, 240, 222, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.45), 0 1px 0 #0a0c0d, 0 2px 0 #0c0f10, 0 3px 6px rgba(0, 0, 0, 0.45);
  --rk-key-on: linear-gradient(180deg, #f8d391 0%, #e6a653 46%, #c98a3e 54%, #dda05a 100%);
  --rk-key-on-shadow: inset 0 1px 0 rgba(255, 245, 225, 0.85), inset 0 -1px 0 rgba(110, 66, 24, 0.55), 0 2px 0 #6b4520, 0 4px 10px rgba(0, 0, 0, 0.4), 0 0 14px rgba(230, 166, 83, 0.22);
  --rk-wood:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(90deg, rgba(255, 215, 175, 0.035) 0 1px, transparent 1px 19px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.14) 0 3px, transparent 3px 29px),
    linear-gradient(180deg, #76513a, #513629 35%, #2b1e19 70%, #513629);
}

/* The rack: a dark room with walnut side rails (wide screens only, so nothing gets cramped) */
body { background: #171b1e; }
body::before { opacity: 0.03; }
@media (min-width: 1000px) {
  html::before, html::after {
    content: ''; position: fixed; top: 0; bottom: 0; width: 14px; z-index: 60; pointer-events: none;
    background: var(--rk-wood);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.6), inset 1px 0 0 rgba(255, 215, 175, 0.1);
  }
  html::before { left: 0; }
  html::after { right: 0; }
}

/* Rack units: header strip, cards, panels */
.top__inner {
  background: var(--rk-sheen), var(--rk-brush), var(--rk-face);
  border-bottom: 1px solid #0b0e10;
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.12), 0 6px 18px rgba(0, 0, 0, 0.45);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
@media (min-width: 1000px) { .top__inner { padding-inline: calc(var(--gutter) + 14px); } }
.strip { background: #0b0e10; }
.strip span { border-right-color: #0b0e10; }

.who__list li,
.lab,
.learn__cols > div,
.story__canvas,
.spot,
.road__col,
.join__card {
  background: var(--rk-screws), var(--rk-sheen), var(--rk-brush), var(--rk-face);
  border: 1px solid var(--border);
  border-top-color: var(--border-hi);
  border-radius: var(--radius);
  box-shadow: var(--rk-unit-shadow);
}
.who__list li { padding: 28px 24px 28px; }
.road__col, .learn__cols > div { padding: 30px 28px; }
.join__card {
  border-color: var(--border);
  background:
    var(--rk-screws),
    radial-gradient(60% 80% at 50% 0%, rgba(230, 166, 83, 0.1), transparent 70%),
    var(--rk-sheen), var(--rk-brush), var(--rk-face);
}

/* Screens behind glass: the app screenshots sit in metal bezels */
.frame, .shot {
  border-radius: 8px;
  border: 1px solid #0b0e10;
  background: #0b0e10;
  box-shadow:
    0 0 0 3px #3a4044,
    0 0 0 4px var(--metal-mid),
    0 0 0 5px #1c2023,
    0 -1px 0 5px rgba(255, 232, 200, 0.07),
    0 30px 70px rgba(0, 0, 0, 0.6);
}
.frame { box-shadow: 0 0 0 3px #3a4044, 0 0 0 4px var(--metal-mid), 0 0 0 5px #1c2023, 0 -1px 0 5px rgba(255, 232, 200, 0.07), 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 70px rgba(230, 166, 83, 0.08); }
.frame::after, .shot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(170deg, rgba(255, 250, 240, 0.06) 0%, rgba(255, 250, 240, 0.015) 34%, transparent 36%);
}
.shot { position: relative; }
.shot figcaption { position: relative; z-index: 1; background: var(--rk-glass), #111719; border-top-color: #0b0e10; }

/* Lit displays: the key explorer, the song story, the spotlight */
.lab__detail { border-top-color: rgba(0, 0, 0, 0.5); box-shadow: 0 -1px 0 rgba(255, 236, 210, 0.05); }
.lab__now {
  padding: 14px 18px 16px; border-radius: 8px;
  background: var(--rk-glass), radial-gradient(ellipse at 50% 60%, #1f1c17, #0d1012 75%);
  box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 0 2px #0b0e10, 0 0 0 3px #3a4044, 0 0 0 4px var(--metal-mid), 0 0 0 5px #1c2023;
}
.lab__eyebrow { color: #946638; }
.lab__name, .chordbtn.is-on b { color: var(--amber-hi); text-shadow: 0 0 8px rgba(230, 166, 83, 0.3), 0 0 22px rgba(230, 166, 83, 0.16); }
.lab__tones li, .bar, .lab__keys button, .lab__mode, .cast__filters {
  background: var(--rk-glass), #111719;
  border-color: rgba(0, 0, 0, 0.5);
  box-shadow: var(--rk-recess);
}
.story__song span { background: color-mix(in srgb, var(--accent) 14%, #111719); }

/* Hardware keys */
.btn--primary { background: var(--rk-key-on); color: #2a1803; box-shadow: var(--rk-key-on-shadow); border-radius: 8px; }
.btn--primary:hover { box-shadow: var(--rk-key-on-shadow), 0 0 22px rgba(230, 166, 83, 0.28); }
.btn--ghost { background: var(--rk-key); border-color: transparent; box-shadow: var(--rk-key-shadow); border-radius: 8px; }
.btn--ghost:hover { background: linear-gradient(180deg, #51575b 0%, #42484c 44%, #303538 56%, #35393c 100%); border-color: transparent; }
.chordbtn {
  border-radius: 8px; border-color: transparent;
  background: var(--rk-key); box-shadow: var(--rk-key-shadow);
}
.chordbtn:hover { border-color: transparent; background: linear-gradient(180deg, #51575b 0%, #42484c 44%, #303538 56%, #35393c 100%); }
.chordbtn.is-on { background: linear-gradient(180deg, rgba(230, 166, 83, 0.3), rgba(148, 102, 56, 0.2)), #24292d; box-shadow: inset 0 0 0 1px rgba(230, 166, 83, 0.6), 0 0 16px rgba(230, 166, 83, 0.16); }
.lab__keys button[aria-pressed='true'], .lab__mode button[aria-pressed='true'], .cast__filters button[aria-pressed='true'] {
  background: var(--rk-key-on); color: #2a1803; border-color: transparent; box-shadow: var(--rk-key-on-shadow);
}
.menu { background: var(--rk-key); border-color: transparent; box-shadow: var(--rk-key-shadow); border-radius: 8px; }
.section-tag { border-radius: 6px; background: var(--rk-glass), #111719; border-color: rgba(0, 0, 0, 0.5); box-shadow: var(--rk-recess); }
.section-tag i { box-shadow: 0 0 10px var(--accent); }
.tag--preview { color: var(--amber-hi); }
.chip { background: rgba(23, 27, 30, 0.9); border-color: var(--border); border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.1), 0 12px 30px rgba(0, 0, 0, 0.5); }
.chip b { color: var(--amber-hi); }
.form input[type='email'], .form textarea { background: var(--rk-glass), #0d1113; border-color: rgba(0, 0, 0, 0.6); box-shadow: var(--rk-recess); border-radius: 8px; }

/* Warm light from the equipment, not the room */
.hero::before {
  background:
    radial-gradient(42% 38% at 72% 34%, rgba(230, 166, 83, 0.12), transparent 70%),
    radial-gradient(30% 30% at 12% 20%, rgba(142, 174, 211, 0.06), transparent 70%);
}
.rings i { border-color: rgba(230, 166, 83, 0.25); }
.section::before { background: radial-gradient(50% 70% at 50% 0%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 75%); }
.ribbon { background: linear-gradient(180deg, #0f1214, #14181b); border-block-color: #0b0e10; box-shadow: inset 0 1px 0 rgba(255, 236, 210, 0.05), inset 0 -1px 0 rgba(255, 236, 210, 0.04); }
.cast__grid img { border-radius: 8px; }
.spot__img { border-radius: 8px; }
.foot { background: var(--rk-brush), linear-gradient(180deg, #1c2023, #14181b); border-top-color: #0b0e10; box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.08); }
@media (min-width: 1000px) { .foot__inner { padding-inline: 14px; } }

/* The rig: a row of hardware blocks in the Practice section */
.rig { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rig li {
  list-style: none; position: relative; padding: 14px 16px 14px 46px; border-radius: 8px;
  background: var(--rk-glass), #111719; box-shadow: var(--rk-recess); color: var(--text-2); font-size: 15px;
}
.rig li b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.rig li::before {
  content: ''; position: absolute; left: 16px; top: 18px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffe1a8, var(--amber) 55%, #a8702f);
  box-shadow: 0 0 8px rgba(230, 166, 83, 0.45), 0 0 0 2px #0b0e10, 0 0 0 3px var(--metal-mid);
}
.rig { padding: 0; }
@media (max-width: 560px) { .rig { grid-template-columns: 1fr; } }
.rig__title { margin-top: 14px; font-size: clamp(22px, 2.2vw, 27px); }
.rigbox { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.rigbox .tagline { margin-top: 0; }
.rigbox__lead { margin-top: 12px; color: var(--text-2); }
.rigbox .rig { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .rigbox { grid-template-columns: 1fr; } .rigbox .rig { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rigbox .rig { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Hear the band: the listening deck */
.listen { margin-top: clamp(56px, 7vw, 88px); }
.listen__unit {
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--rk-screws), var(--rk-sheen), var(--rk-brush), var(--rk-face);
  border: 1px solid var(--border); border-top-color: var(--border-hi); border-radius: var(--radius);
  box-shadow: var(--rk-unit-shadow);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 22px clamp(24px, 4vw, 48px); align-items: center;
}
.listen__head .tagline { margin-top: 0; }
.listen__title { margin-top: 14px; font-size: clamp(26px, 2.8vw, 34px); }
.listen__lead { margin-top: 12px; color: var(--text-2); }
.listen__deck { display: grid; grid-template-columns: minmax(0, 1fr) 132px 84px; gap: 16px; align-items: center; }
.listen__display {
  display: grid; gap: 6px; padding: 16px 20px 14px; border-radius: 8px; min-width: 0;
  background: var(--rk-glass), radial-gradient(ellipse at 50% 60%, #1f1c17, #0d1012 75%);
  box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 0 2px #0b0e10, 0 0 0 3px #3a4044, 0 0 0 4px var(--metal-mid), 0 0 0 5px #1c2023;
}
.listen__eyebrow { font: 600 11px/1 var(--font); letter-spacing: 0.2em; text-transform: uppercase; color: #946638; }
.listen__song { font: 600 clamp(24px, 2.6vw, 32px)/1.05 var(--display); color: var(--amber-hi); text-shadow: 0 0 8px rgba(230, 166, 83, 0.3), 0 0 22px rgba(230, 166, 83, 0.16); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listen__meta { font-size: 14px; color: var(--text-2); }
.listen__time { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.listen__seek { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 4px 0 0; background: transparent; cursor: pointer; --pct: 0%; }
.listen__seek::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--amber) var(--pct), #07090a var(--pct)); box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255, 236, 210, 0.08); }
.listen__seek::-moz-range-track { height: 6px; border-radius: 3px; background: #07090a; box-shadow: inset 0 1px 2px #000; }
.listen__seek::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--amber); }
.listen__seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 22px; margin-top: -8px; border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 45%, rgba(0, 0, 0, 0.3)), linear-gradient(90deg, #555c60, #dfe2e2 26%, #fffaf2 44%, #a3a8aa 56%, #d6d9da 76%, #4f565a);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #111416, 0 2px 4px rgba(0, 0, 0, 0.6);
}
.listen__seek::-moz-range-thumb { width: 14px; height: 22px; border: 0; border-radius: 3px; background: linear-gradient(90deg, #555c60, #fffaf2 44%, #4f565a); box-shadow: 0 0 0 1px #111416; }
.listen__vu {
  position: relative; border-radius: 6px; overflow: hidden; padding: 6px 6px 0;
  background: radial-gradient(ellipse at 50% 110%, #fff3d4 0%, #f2dca6 38%, #e3b874 78%, #cf9d55 100%);
  box-shadow: 0 0 0 2px #0b0e10, 0 0 0 3px #3a4044, 0 0 0 4px var(--metal-mid), 0 0 0 5px #1c2023, inset 0 0 14px rgba(110, 56, 12, 0.5), 0 0 14px rgba(230, 166, 83, 0.14);
}
.listen__vu::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 130% 70% at 28% -12%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.07) 58%, transparent 59%); box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.42); pointer-events: none; }
.listen__vu svg { display: block; width: 100%; height: auto; overflow: visible; }
.listen__arc { fill: none; stroke: #2a1d12; stroke-width: 1.2; }
.listen__arc--red { stroke: #b4412f; stroke-width: 3; }
.listen__ticks line { stroke: #2a1d12; stroke-width: 1.2; }
.listen__vu text { font: 650 9px var(--font); fill: #2a1d12; text-anchor: middle; letter-spacing: 0.08em; }
.listen__needle { stroke: #1a120c; stroke-width: 1.4; stroke-linecap: round; transform-origin: 60px 62px; transform: rotate(-48deg); filter: drop-shadow(1.5px 2px 1px rgba(40, 20, 5, 0.35)); }
.listen__play {
  position: relative; justify-self: center; width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #2a1803;
  background: radial-gradient(circle at 40% 30%, #ffe1a8, var(--amber) 55%, #a8702f);
  box-shadow: 0 0 0 3px #0b0e10, 0 0 0 7px #8a9093, 0 0 0 8px #1c2023, 0 6px 14px rgba(0, 0, 0, 0.7), 0 0 22px rgba(230, 166, 83, 0.25), inset 0 2px 2px rgba(255, 255, 255, 0.55);
  transition: transform 0.12s var(--ease);
}
.listen__play::after { content: ''; position: absolute; inset: 4px 10px auto; height: 45%; border-radius: 50% 50% 45% 45% / 70% 70% 30% 30%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.04)); pointer-events: none; }
.listen__play:active { transform: translateY(1px); }
.listen__play svg { width: 30px; height: 30px; }
.listen__play .i-pause { display: none; }
.listen.is-playing .listen__play { color: var(--amber-hi); background: radial-gradient(circle at 40% 30%, #3a4044, #1c2023 70%); box-shadow: 0 0 0 3px #0b0e10, 0 0 0 7px #8a9093, 0 0 0 8px #1c2023, 0 6px 14px rgba(0, 0, 0, 0.7), inset 0 0 0 2px var(--amber), 0 0 22px rgba(230, 166, 83, 0.3); }
.listen.is-playing .listen__play .i-play { display: none; }
.listen.is-playing .listen__play .i-pause { display: block; }
.listen.is-playing .listen__play::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent); }
.listen__tracks { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.listen__tracks button {
  width: 100%; height: 100%; display: grid; gap: 3px; justify-items: start; text-align: left; cursor: pointer;
  padding: 12px 14px; border: 0; border-radius: 8px; color: var(--text); font: 500 13px/1.25 var(--font);
  background: var(--rk-key); box-shadow: var(--rk-key-shadow);
}
.listen__tracks b { font: 600 15px/1.2 var(--font); }
.listen__tracks span { color: var(--text-3); }
.listen__tracks button:hover { background: linear-gradient(180deg, #51575b 0%, #42484c 44%, #303538 56%, #35393c 100%); }
.listen__tracks button[aria-pressed='true'] { background: var(--rk-key-on); box-shadow: var(--rk-key-on-shadow); color: #2a1803; }
.listen__tracks button[aria-pressed='true'] span { color: #4a3215; }
.listen__fine { grid-column: 1 / -1; font-size: 13.5px; color: var(--text-3); }
@media (max-width: 1100px) {
  .listen__unit { grid-template-columns: 1fr; }
  .listen__tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .listen__deck { grid-template-columns: minmax(0, 1fr) 84px; }
  .listen__vu { display: none; }
  .listen__tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .listen__song { white-space: normal; font-size: 24px; } }
