:root {
  --bg: #FBFAF7;
  --bg-alt: #F3F0EA;
  --surface: #FFFFFF;
  --paper: #FFFFFF;
  --ink: #16161A;
  --ink-2: #4A4850;
  --muted: #85828B;
  --line: #E8E4DC;
  --accent: #E4552B;
  --accent-soft: #FCE6DC;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(22,22,26,.04), 0 8px 24px rgba(22,22,26,.05);
  --sans: Geist, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--sans);

  /* studio (dark hardware panel) */
  --st-bg: #141317;
  --st-panel: #1D1C21;
  --st-line: #2E2C33;
  --st-text: #EDEBE6;
  --st-muted: #8E8B94;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.035em; }
em { font-style: normal; color: var(--accent); }
.muted { color: var(--muted); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- line-art illustrations ---------- */
.doodle { display: block; width: 100%; height: auto; color: var(--ink); overflow: visible; }
.doodle .ink { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.doodle .fa { fill: var(--accent); }
.doodle .fs { fill: var(--accent-soft); }
.doodle .fp { fill: var(--paper); }
.doodle .fi { fill: currentColor; }
/* hand-drawn orange underline */
.squiggle {
  display: block; width: 58px; height: 10px; margin-top: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 10'%3E%3Cpath d='M2 6c10-4 18 2 28-1s18-3 26 0' fill='none' stroke='%23E4552B' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251,250,247,.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { font-weight: 600; font-size: 24px; letter-spacing: -.05em; text-decoration: none; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hello { margin: 0 0 22px; font-weight: 500; font-size: 17px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 18px; }
.role { margin: 0 0 18px; font-weight: 500; color: var(--ink-2); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.12rem); color: var(--ink-2); max-width: 31em; margin: 0 0 32px; }
.hero-art { max-width: 580px; justify-self: end; width: 100%; }
.hero-img { width: 100%; height: auto; }

/* ---------- about ---------- */
.about { padding: 40px 0 96px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-art { position: relative; width: 100%; max-width: 460px; aspect-ratio: 460 / 340; }
.st { position: absolute; height: auto; }
.st-main { width: 50%; left: 24%; top: 12%; }
.st-plant { width: 12%; left: 6%; top: 36%; transform: rotate(-4deg); }
.st-coffee { width: 9%; right: 13%; top: 14%; transform: rotate(8deg); }
.st-cat { width: 24%; right: 2%; bottom: 4%; }
.about h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; margin-bottom: 18px; }
.about-copy > p { color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.traits { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 18px; }
.traits li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.traits span { width: 34px; flex: none; }

/* ---------- client logos ---------- */
.clients { padding: 24px 0 40px; }
.clients-title { text-align: center; margin: 0 0 26px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.logo-grid li { background: var(--bg); height: 118px; display: grid; place-items: center; padding: 20px; }
.logo-grid img { max-width: 132px; max-height: 58px; width: auto; height: auto; object-fit: contain; opacity: .82; transition: opacity .25s; }
.logo-grid li:hover img { opacity: 1; }

/* ---------- portfolio folders (scroll-driven, see folio.js) ---------- */
.folio { --rise: 0; --open: 0; position: relative; height: 175vh; }
.folio-stick {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(84px, 13vh, 130px) 16px 0;
}
.folio-side { position: absolute; top: clamp(140px, 19vh, 200px); height: auto; transform: translateY(calc(var(--rise) * -14px)); }
.folio-side.l { left: max(16px, 7vw); width: clamp(120px, 15vw, 210px); rotate: -4deg; }
.folio-side.r { right: max(16px, 9vw); width: clamp(84px, 9.5vw, 136px); rotate: 3deg; }
.folio-tag { margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.folio-title { font-size: clamp(4rem, 12vw, 9.5rem); line-height: .92; letter-spacing: -.06em; }
.folio-sub { margin: 14px 0 0; color: var(--ink-2); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.folders {
  --w: min(300px, 40vw); --gap: min(268px, 21vw); --desk: 9vh;
  position: absolute; left: 0; right: 0; bottom: 0; height: 52%;
}
.folders::after { /* the "desk" the folders rise from */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--desk); z-index: 30;
  background: var(--bg-alt); border-top: 2px solid var(--ink);
}
.folder {
  position: absolute; left: 50%; bottom: calc(var(--desk) - 18px); width: var(--w); aspect-ratio: var(--ar, 1.28);
  transform-origin: 50% 100%;
  transform: translateX(calc(-50% + var(--i) * var(--gap) * var(--rise)))
             translateY(calc((1 - var(--rise)) * 75%))
             rotate(calc(var(--i) * 7deg * var(--rise)));
  will-change: transform;
}
.f-back { position: absolute; inset: 0; background: var(--fc); border: 2px solid var(--ink); border-radius: 6px 14px 14px 14px; }
.f-back::before {
  content: ""; position: absolute; left: -2px; top: -16px; width: 44%; height: 18px;
  background: var(--fc); border: 2px solid var(--ink); border-bottom: 0; border-radius: 10px 14px 0 0;
}
.f-paper {
  position: absolute; left: 9%; right: 9%; top: 7%; height: 90%;
  display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; text-align: left; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 8px;
  transform: translateY(calc(var(--open) * -62%)) rotate(calc(var(--i) * -2.5deg * var(--open)));
}
.f-paper-h { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.f-song { display: block; line-height: 1.25; }
.f-song b { display: block; font-weight: 500; font-size: 14px; letter-spacing: -.01em; }
.f-song small { font-size: 11.5px; color: var(--muted); }
.f-lines i { display: block; height: 2px; margin-top: 7px; background: var(--line); border-radius: 2px; }
.f-lines i:nth-child(2) { width: 80%; } .f-lines i:nth-child(3) { width: 55%; }
.f-front {
  position: absolute; left: 0; right: 0; bottom: 0; height: 72%;
  display: flex; align-items: flex-start; padding: 12px 16px;
  background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)), var(--fc);
  border: 2px solid var(--ink); border-radius: 12px;
  transform-origin: 50% 100%; transform: perspective(700px) rotateX(calc(var(--open) * -36deg));
}
.f-front span { font-size: clamp(1.1rem, 2.6vw, 1.7rem); font-weight: 500; letter-spacing: -.03em; color: rgba(22,22,26,.5); }
.folio-hint {
  position: absolute; left: 0; right: 0; bottom: 2.6vh; z-index: 31; margin: 0;
  font-size: 13px; color: var(--muted); opacity: calc(1 - var(--rise) * 3);
}

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section .wrap { position: relative; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.head-art { position: absolute; right: 24px; top: 0; width: auto; height: auto; max-width: min(320px, 28vw); max-height: 220px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow-ico { width: 34px; flex: none; }
.section-head h2, .cta h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 14px; }
.section-head p.muted { font-size: 17px; margin: 0; }

/* ---------- tracks ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tracks-col { display: grid; gap: 16px; align-content: start; }
.track {
  display: grid; grid-template-columns: 48px 1fr; grid-template-areas: "play info" "sw sw" "time time";
  align-items: center; gap: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  transition: border-color .25s, box-shadow .25s;
}
.track.is-current { border-color: var(--ink); box-shadow: var(--shadow); }
.track-play {
  grid-area: play; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; display: grid; place-items: center; position: relative;
}
.track-play svg { width: 18px; height: 18px; }
.track-play .spin { display: none; }
.track.is-loading .track-play svg { display: none; }
.track.is-loading .track-play .spin { display: block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.track-info { grid-area: info; min-width: 0; }
.track-info h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-info p { margin: 2px 0 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.track-switch { grid-area: sw; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.track-hint { flex-basis: 100%; margin: 0 0 -2px; font-size: 13px; color: var(--accent); }
.track-hint b { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.track[data-mode="final"] .track-hint { color: var(--muted); }
.ab { touch-action: pan-y; cursor: grab; }
.track-state { margin: 0; flex: 1; min-width: 180px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.track-state b { font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }
.track[data-mode="final"] .track-state b { color: var(--accent); }
.ab { position: relative; display: inline-grid; flex: none; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--bg-alt); }
.ab button { position: relative; z-index: 1; border: 0; background: none; padding: 6px 14px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--muted); border-radius: 999px; transition: color .25s; }
.ab-thumb { position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12); transition: transform .28s cubic-bezier(.3,.7,.2,1), background .28s; }
.ab[data-mode="draft"] button[data-v="draft"] { color: var(--ink); }
.ab[data-mode="final"] .ab-thumb { transform: translateX(100%); background: var(--accent); }
.ab[data-mode="final"] button[data-v="final"] { color: #fff; }

.track-time { grid-area: time; display: flex; align-items: center; gap: 12px; }
.scrub { flex: 1; padding: 9px 0; cursor: pointer; touch-action: none; }
.scrub:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.scrub-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.scrub-fill { height: 100%; width: 0; background: var(--ink); border-radius: 4px; }
.track[data-mode="final"] .scrub-fill { background: var(--accent); }
.t { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 78px; text-align: right; }

/* ---------- quiz ---------- */
.quiz { display: grid; grid-template-columns: minmax(240px, 34%) 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.quiz-art { background: var(--accent-soft); display: grid; place-items: center; padding: 28px 24px; }
.quiz-art img { max-width: 100%; max-height: 260px; width: auto; height: auto; animation: stepIn .45s ease both; }
.quiz-body { padding: 36px 40px; min-width: 0; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; min-height: 34px; }
.quiz-top:not(:has(.link-btn)) { display: none; } /* first question: nothing to show yet */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.crumbs span { padding: 5px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.link-btn { border: 0; background: none; color: var(--muted); font-size: 14px; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.link-btn:hover { color: var(--ink); }
.quiz-step { animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin-bottom: 22px; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.option {
  text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 16px 16px 16px 54px;
  position: relative; transition: border-color .2s, background .2s, transform .2s;
}
.option:hover { border-color: var(--ink); background: var(--surface); transform: translateY(-1px); }
.option b { display: block; font-weight: 500; font-size: 15.5px; }
.option small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; line-height: 1.45; }
.option-key { position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.option.has-ico { padding-left: 74px; min-height: 76px; }
.option-ico { position: absolute; left: 12px; top: 50%; width: 50px; height: 46px; transform: translateY(-50%); }
.option-ico img { width: 100%; height: 100%; object-fit: contain; }
.result-badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.result h3 { margin-bottom: 10px; }
.result > p { color: var(--ink-2); max-width: 46em; margin: 0 0 26px; }
.result-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.result-box { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--bg); }
.result-box h4 { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.result-box ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.result-box li + li { margin-top: 4px; }
.send { border-top: 1px solid var(--line); padding-top: 22px; }
.send h4 { margin: 0 0 12px; font-size: 16px; font-weight: 500; }
.send-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.send label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.send input { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.send input:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.send-err { margin: -4px 0 12px; font-size: 13.5px; color: #C0391B; }
.send-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.send-note a { color: var(--ink); font-weight: 500; }
.result-meta { font-size: 14px; color: var(--muted); margin: -8px 0 22px; }

/* ---------- studio ---------- */
.studio { background: var(--st-bg); color: var(--st-text); border-radius: 28px; padding: 24px; display: grid; gap: 18px; }
.transport { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.jam-play { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 12px 20px 12px 16px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; }
.ico-play { width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.jam-play[aria-pressed="true"] .ico-play { width: 11px; height: 13px; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.prog { display: flex; gap: 6px; }
.prog span { min-width: 46px; text-align: center; padding: 8px 10px; border-radius: 10px; background: var(--st-panel); border: 1px solid var(--st-line); font-weight: 600; font-size: 14px; color: var(--st-muted); transition: background .15s, color .15s, border-color .15s; }
.prog span.on { background: var(--st-text); color: var(--st-bg); border-color: var(--st-text); }
.beats { display: flex; gap: 6px; }
.beats i { width: 8px; height: 8px; border-radius: 50%; background: var(--st-line); transition: background .08s; }
.beats i.on { background: var(--accent); }
.tempo { margin-left: auto; font-size: 13px; color: var(--st-muted); }

.mixer { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.strip { background: var(--st-panel); border: 1px solid var(--st-line); border-radius: 14px; padding: 12px; display: grid; gap: 10px; transition: opacity .2s; }
.strip.silent { opacity: .45; }
.strip-name { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.strip-led { width: 7px; height: 7px; border-radius: 50%; background: var(--st-line); transition: background .06s; }
.strip-led.on { background: #6BD68E; }
.strip-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.strip-btns button { border: 1px solid var(--st-line); background: transparent; color: var(--st-muted); border-radius: 8px; padding: 6px 0; font-size: 12px; font-weight: 700; }
.strip-btns button[data-act="mute"][aria-pressed="true"] { background: #E9B949; border-color: #E9B949; color: #1a1500; }
.strip-btns button[data-act="solo"][aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.inst-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; border-top: 1px solid var(--st-line); }
.inst-tabs::-webkit-scrollbar { display: none; }
.inst-tabs button { flex: none; border: 1px solid transparent; background: none; color: var(--st-muted); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.inst-tabs button[aria-selected="true"] { background: var(--st-panel); border-color: var(--st-line); color: var(--st-text); }
.panel { animation: stepIn .3s ease both; }
.hint { margin: 12px 0 0; font-size: 12.5px; color: var(--st-muted); }
.pill { border: 1px solid var(--st-line); background: var(--st-panel); color: var(--st-text); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; }
.pill[aria-pressed="true"] { background: var(--st-text); color: var(--st-bg); border-color: var(--st-text); }
.pill:active { transform: scale(.97); }

/* piano */
.piano { position: relative; height: 190px; display: flex; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 12px; overflow: hidden; }
.key-w { flex: 1; position: relative; background: #F4F1EA; border-right: 1px solid #CFCAC0; border-radius: 0 0 8px 8px; transition: background .06s; }
.key-w:last-child { border-right: 0; }
.key-b { position: absolute; top: 0; height: 60%; z-index: 2; background: #0E0D10; border-radius: 0 0 6px 6px; box-shadow: inset 0 -4px 0 #26242A; transition: background .06s; }
.key-w.on { background: var(--accent-soft); }
.key-b.on { background: var(--accent); box-shadow: none; }
.key-w.tone::after, .key-b.tone::after { content: ""; position: absolute; left: 50%; bottom: 12px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent); }
.key-b.tone::after { background: #fff; bottom: 8px; }
.key-label { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 11px; color: #9C978E; pointer-events: none; }

/* drums */
.drumkit svg { width: 100%; height: auto; display: block; max-height: 360px; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.drumkit .pad { cursor: pointer; transform-box: fill-box; transform-origin: center; }
.drumkit .pad.hit { animation: hit .16s ease-out; }
@keyframes hit { 40% { transform: scale(.96); filter: brightness(1.35); } }
.drumkit .lbl { font: 600 12px var(--sans); fill: var(--st-muted); pointer-events: none; text-anchor: middle; }

/* guitar */
.chord-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chord-row .pill.now { box-shadow: 0 0 0 2px var(--accent); }
.fretless { position: relative; border-radius: 14px; background: linear-gradient(180deg, #2B2420, #1E1916); padding: 10px 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.gstring { position: relative; height: 38px; display: flex; align-items: center; padding-left: 48px; cursor: pointer; }
.gstring::before { content: ""; position: absolute; left: 48px; right: 16px; top: 50%; height: var(--th, 2px); transform: translateY(-50%); background: linear-gradient(90deg, #CDBE9E, #F0E6CF, #CDBE9E); border-radius: 2px; }
.gstring.muted::before { opacity: .25; }
.gstring.ring::before { animation: ring .35s linear; }
@keyframes ring { 0%,100% { transform: translateY(-50%); } 20% { transform: translateY(calc(-50% - 2px)); } 40% { transform: translateY(calc(-50% + 2px)); } 60% { transform: translateY(calc(-50% - 1px)); } 80% { transform: translateY(calc(-50% + 1px)); } }
.gstring span { position: absolute; left: 14px; font-size: 12px; font-weight: 600; color: var(--st-muted); width: 24px; text-align: center; }
.gtr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.follow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--st-muted); margin-left: auto; }
.follow input { accent-color: var(--accent); }

/* bass */
.bassboard { display: grid; grid-template-columns: 34px repeat(8, 1fr); gap: 6px; user-select: none; -webkit-user-select: none; }
.bassboard .sname { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--st-muted); }
.bassboard .fret { position: relative; height: 44px; border-radius: 10px; border: 1px solid var(--st-line); background: var(--st-panel); color: var(--st-muted); font-size: 11.5px; font-weight: 600; transition: background .06s; touch-action: manipulation; }
.bassboard .fret.root { border: 1.5px dashed var(--accent); color: var(--st-text); }
.bassboard .fret.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.bassboard .fnum { display: grid; place-items: center; font-size: 11px; color: var(--st-muted); }

/* orchestra */
.section-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.orch-pads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.orch-pad { height: 96px; border-radius: 16px; border: 1px solid var(--st-line); background: var(--st-panel); color: var(--st-text); font-family: var(--serif); font-size: 30px; position: relative; touch-action: none; user-select: none; -webkit-user-select: none; transition: background .1s, transform .1s; }
.orch-pad small { position: absolute; top: 10px; left: 12px; font: 600 11px var(--sans); color: var(--st-muted); }
.orch-pad.now { box-shadow: inset 0 0 0 2px var(--accent); }
.orch-pad.on { background: var(--accent); transform: scale(.98); }
.orch-pad.on small { color: rgba(255,255,255,.7); }

/* ---------- CTA & footer ---------- */
.cta { padding: 110px 0; text-align: center; background: var(--bg); }
.cta-inner { max-width: 640px; }
.cta-art { width: 220px; height: auto; margin: 0 auto 18px; }
.cta .actions { justify-content: center; margin-top: 28px; }
.cta p { font-size: 17px; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 22px 0 0; font-size: 14.5px; }
.cta-contacts a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.cta-contacts a:hover { color: var(--ink); border-color: var(--ink); }
.credits { margin: 6px 0 0; font-size: 11.5px; opacity: .8; }
.footer { padding: 28px 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- scroll reveal (both directions) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal[data-dir="up"] { transform: translateY(-26px); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal[data-dir="up"] { opacity: 1; transform: none; transition: none; }
  .quiz-step, .panel, .quiz-art img { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 32px 0 56px; }
  .hero-art { justify-self: center; max-width: 520px; }
  .about-art { max-width: 400px; order: 2; margin: 0 auto; }
  .tracks { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .quiz { grid-template-columns: 1fr; min-height: 0; }
  .quiz-art { padding: 18px; }
  .quiz-art img { max-height: 200px; }
  .head-art { max-width: 200px; max-height: 150px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .section { padding: 72px 0; }
  .about { padding: 16px 0 72px; }
  .traits { grid-template-columns: repeat(2, 1fr); }
  .logo-grid li { height: 92px; padding: 14px; }
  .logo-grid img { max-width: 88px; max-height: 40px; }
  .folio { height: 160vh; }
  .folders { height: 60%; --w: 34vw; --gap: 17vw; --ar: .95; --desk: 13vh; }
  .f-paper { padding: 8px 9px; gap: 4px; }
  .f-paper-h { font-size: 9px; }
  .f-song b { font-size: 11.5px; }
  .f-song small { font-size: 9.5px; }
  .f-lines { display: none; }
  .track { grid-template-columns: 44px 1fr; padding: 14px; gap: 12px 14px; }
  .track-play { width: 44px; height: 44px; }
  .ab { width: 100%; }
  .track-state { min-width: 0; flex-basis: 100%; }
  .quiz-body { padding: 22px 18px 24px; }
  .quiz-art img { max-height: 170px; }
  .head-art { position: static; display: block; margin: 0 0 6px auto; max-width: 52%; max-height: 140px; }
  .folio-side { top: 37vh; }
  .folio-side.l { left: 6vw; width: 30vw; }
  .folio-side.r { right: 8vw; width: 19vw; }
  .options { grid-template-columns: 1fr; }
  .result-cols, .send-fields { grid-template-columns: 1fr; }
  .studio { padding: 16px; border-radius: 22px; }
  .tempo { margin-left: 0; }
  .mixer { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 5px; }
  .strip { padding: 8px 6px; gap: 8px; }
  .strip-name { font-size: 11.5px; gap: 5px; justify-content: center; }
  .strip-btns { grid-template-columns: 1fr; gap: 4px; }
  .piano { height: 160px; }
  .key-label { display: none; }
  .bassboard { grid-template-columns: 26px repeat(8, 1fr); gap: 4px; }
  .bassboard .fret { height: 40px; font-size: 10px; border-radius: 8px; }
  .orch-pad { height: 80px; font-size: 26px; }
  .follow { margin-left: 0; }
}
@media (hover: none) {
  .hint .kbd-only { display: none; }
}
