/* Home v3: live hero, how it works, before/after, feature tiles, footer, micro-interactions */

.home .topnav { position: relative; z-index: 3; }
.topnav-links { display: flex; gap: 4px; margin: 0 auto 0 36px; }
.topnav-links a { padding: 7px 12px; border-radius: 999px; color: var(--text-2); font-size: 13.5px; font-weight: 500; transition: color .2s, background .2s; }
.topnav-links a:hover { color: var(--text); background: rgba(255,255,255,.045); text-decoration: none; }

/* ---------- reveal + glow + magnetic ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.glow { position: relative; isolation: isolate; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(227,196,140,.09), transparent 65%); }
.glow:hover::after { opacity: 1; }
.magnetic { transition: transform .25s var(--ease), background .18s, box-shadow .2s, filter .2s; will-change: transform; }

/* ---------- hero ---------- */
.hero3 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 4.5vw, 72px); align-items: center;
  padding: clamp(20px, 5vh, 64px) 0 clamp(48px, 8vh, 96px); }
.hero-bg { position: absolute; left: 50%; width: 100vw; transform: translateX(-50%); top: -76px; bottom: 0; height: calc(100% + 76px); z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent); }
.hero3-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brass); margin-bottom: 20px; padding: 7px 13px 7px 10px; border-radius: 999px;
  background: rgba(227,196,140,.06); border: 1px solid rgba(227,196,140,.16); }
.hero3-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 var(--brass-glow); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(227,196,140,.45); } 80%, 100% { box-shadow: 0 0 0 9px rgba(227,196,140,0); } }
.hero3 h1 { font-size: clamp(44px, 6vw, 92px); line-height: .96; font-weight: 350; font-variation-settings: "opsz" 144, "SOFT" 30; letter-spacing: -0.04em; }
.hero3 h1 em { font-style: italic; font-weight: 300; color: var(--brass); font-variation-settings: "opsz" 144, "SOFT" 100;
  background: linear-gradient(100deg, #f3dcae 10%, #e3c48c 40%, #ffb49b 75%, #e3c48c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.hero3 .lede { margin-top: 22px; max-width: 32em; }
.hero3 .hero-cta { margin-top: 30px; flex-wrap: wrap; gap: 12px; }
.hero-drop { padding: 0 26px; }
.hero-drop .spinner { width: 16px; height: 16px; border-color: rgba(29,22,11,.25); border-top-color: #1d160b; }
.hero-demo { --bg: rgba(255,255,255,.035); }
.hero3-formats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; color: var(--text-3); font: 500 12px/1 var(--f-mono); }
.hero3-formats span { display: inline-flex; align-items: center; gap: 7px; }
.hero3-formats svg { width: 14px; height: 14px; color: var(--brass-2); }
.hero3-note { margin-top: 14px; font-size: 13px; color: var(--text-4); }

/* the live stage */
.hero-stage { border-radius: 24px; padding: 14px 14px 12px; background: linear-gradient(180deg, rgba(23,27,36,.92), rgba(11,13,18,.96));
  border: 1px solid var(--line-2); box-shadow: var(--shadow-3), 0 0 0 7px rgba(255,255,255,.014), 0 40px 120px -40px rgba(227,196,140,.18); }
.hs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 12px; }
.hs-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex-wrap: wrap; }
.hs-title b { font: 400 19px/1.1 var(--f-display); letter-spacing: -0.01em; }
.hs-sub { font-size: 12px; color: var(--text-3); }
.hs-live { align-self: center; display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px; border-radius: 999px; font: 600 10px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase;
  color: var(--rh); background: rgba(255,145,112,.08); border: 1px solid rgba(255,145,112,.22); }
.hs-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
.hs-sound { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; cursor: pointer;
  font: 600 12px/1 var(--f-ui); color: var(--text-2); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: color .2s, background .2s, border-color .2s; }
.hs-sound svg { width: 16px; height: 16px; }
.hs-sound:hover { color: var(--text); border-color: var(--line-3); }
.hs-sound[data-state="on"] { color: var(--brass); border-color: rgba(227,196,140,.35); background: rgba(227,196,140,.08); }
.hs-sound[data-state="loading"] { color: var(--brass); }
.hs-roll-wrap { position: relative; height: clamp(170px, 19vw, 260px); border-radius: 14px 14px 0 0; overflow: hidden;
  background: radial-gradient(500px 200px at 50% 110%, rgba(227,196,140,.08), transparent 70%), linear-gradient(180deg, #0a0c11, #0e1118); }
.hs-roll { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hs-felt { height: 5px; background: linear-gradient(180deg, #6a1f29, #3a0f15); box-shadow: 0 1px 0 rgba(0,0,0,.6), 0 -6px 18px rgba(227,196,140,.12); }
.hs-keys { position: relative; display: flex; height: clamp(84px, 8.4vw, 118px); background: #07080b; border-radius: 0 0 10px 10px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.hs-w { flex: 1; margin-right: 1px; border-radius: 0 0 5px 5px; cursor: pointer; background: linear-gradient(180deg, #d9d0bd, var(--ivory) 22%, #fffdf7);
  box-shadow: inset 0 -5px 0 #d8cdb7; transition: background .12s, box-shadow .12s, transform .08s; transform-origin: top; }
.hs-w:last-child { margin-right: 0; }
.hs-w.hover { background: linear-gradient(180deg, #d9d0bd, #fff8ea 30%, #fff); }
.hs-b { position: absolute; top: 0; width: calc(100% / 26 * .62); transform: translateX(-50%); height: 60%; border-radius: 0 0 4px 4px; z-index: 1; cursor: pointer;
  background: linear-gradient(180deg, #15161a, #2a2c33 85%, #1b1c20); box-shadow: 0 3px 5px rgba(0,0,0,.55), inset 0 -3px 0 rgba(255,255,255,.07); transition: background .12s; }
.hs-w.lh, .hs-w.lhp { background: linear-gradient(180deg, #43b9ab, #8fe5da); box-shadow: inset 0 -4px 0 #2b9b8d, 0 0 26px var(--lh-glow); }
.hs-w.rh, .hs-w.rhp { background: linear-gradient(180deg, #f58f6e, #ffb59c); box-shadow: inset 0 -4px 0 #d9643f, 0 0 26px var(--rh-glow); }
.hs-b.lh, .hs-b.lhp { background: linear-gradient(180deg, #1f7f74, #3fc0b1); }
.hs-b.rh, .hs-b.rhp { background: linear-gradient(180deg, #b24d2f, #e0603d); }
.hs-w.press { transform: scaleY(.985); }
.hs-foot { display: flex; align-items: center; gap: 16px; padding: 12px 4px 2px; font-size: 12px; color: var(--text-3); }
.hs-foot > span:not(.hs-now):not(.hs-hint) { display: inline-flex; align-items: center; gap: 7px; }
.hs-foot i { width: 9px; height: 9px; border-radius: 3px; }
.hs-foot .lh i { background: var(--lh); box-shadow: 0 0 10px var(--lh-glow); }
.hs-foot .rh i { background: var(--rh); box-shadow: 0 0 10px var(--rh-glow); }
.hs-now { color: var(--text-4); font-size: 11px; }
.hs-hint { margin-left: auto; color: var(--text-3); }

/* ---------- sections ---------- */
.home-sec { padding: clamp(56px, 9vh, 104px) 0 0; }
.sec-head { max-width: 720px; margin-bottom: 30px; }
.sec-head .eyebrow { color: var(--brass); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; font-weight: 350; letter-spacing: -0.03em; font-variation-settings: "opsz" 144; }
.sec-head p { margin-top: 12px; color: var(--text-2); font-size: 15.5px; max-width: 38em; }

/* how it works */
.hw-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: hw; }
.hw-step { padding: 16px 16px 20px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); border: 1px solid var(--line-2); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms), border-color .3s; }
.hw-step:hover { border-color: var(--line-3); }
.hw-step:not(:last-child)::before { content: ""; position: absolute; top: 76px; right: -17px; width: 17px; height: 1px; background: linear-gradient(90deg, var(--line-3), transparent); }
.hw-art { height: 140px; border-radius: 12px; background: radial-gradient(220px 90px at 50% 100%, rgba(227,196,140,.06), transparent 70%), var(--ink-0); border: 1px solid var(--line); overflow: hidden; }
.hw-art svg { width: 100%; height: 100%; display: block; font: 500 10px var(--f-mono); }
.hw-n { margin-top: 16px; font-size: 11.5px; color: var(--brass-2); }
.hw-step h3 { font-size: 23px; margin-top: 4px; }
.hw-step p { color: var(--text-2); font-size: 13.5px; line-height: 1.55; margin-top: 6px; }
.hw-step *, .fx-tile *, .card-art * { animation-play-state: paused !important; }
.hw-step.live *, .fx-tile.live *, .import-card:hover .card-art *, .import-card.over .card-art * { animation-play-state: running !important; }
.hw-bar { transform-box: fill-box; transform-origin: center; animation: hw-eq 1.6s ease-in-out infinite alternate; }
@keyframes hw-eq { 0% { transform: scaleY(.35); } 100% { transform: scaleY(1); } }
.hw-scan { animation: hw-scan 3.2s linear infinite; }
@keyframes hw-scan { from { transform: translateX(0); } to { transform: translateX(206px); } }
.hw-stem { animation: 3.6s var(--ease) infinite; }
.hw-stem.s1 { animation-name: hw-s1; } .hw-stem.s3 { animation-name: hw-s3; }
.hw-stem text { font-size: 9px; opacity: 0; animation: inherit; animation-name: hw-lbl; text-anchor: end; }
@keyframes hw-s1 { 0%, 12% { transform: translate(0, 70px); } 45%, 88% { transform: translate(0, 32px); } 100% { transform: translate(0, 70px); } }
@keyframes hw-s3 { 0%, 12% { transform: translate(0, 70px); } 45%, 88% { transform: translate(0, 108px); } 100% { transform: translate(0, 70px); } }
@keyframes hw-lbl { 0%, 30% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
.hw-note { opacity: 0; transform-box: fill-box; transform-origin: center; animation: hw-pop 4s var(--ease-spring) infinite; }
@keyframes hw-pop { 0% { opacity: 0; transform: translateY(-8px) scale(.6); } 8%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
.hw-key { fill: #efe7d6; }
.hw-key.lh { animation: hw-lh 2.2s ease-in-out infinite; } .hw-key.rh { animation: hw-rh 2.2s ease-in-out infinite; }
@keyframes hw-lh { 0%, 30% { fill: #efe7d6; } 45%, 70% { fill: #5fd3c6; } 90% { fill: #efe7d6; } }
@keyframes hw-rh { 0%, 30% { fill: #efe7d6; } 45%, 70% { fill: #ff9170; } 90% { fill: #efe7d6; } }
.hw-fall { animation: hw-fall 2.2s linear infinite; }
.hw-fall.lh { fill: #5fd3c6; } .hw-fall.rh { fill: #ff9170; }
@keyframes hw-fall { 0% { transform: translateY(-40px); opacity: 0; } 15% { opacity: 1; } 45% { transform: translateY(26px); opacity: 1; } 60%, 100% { transform: translateY(40px); opacity: 0; } }

/* import cards (visual) */
.import-card { overflow: hidden; }
.card-art { height: 56px; margin: -22px -22px 18px; padding: 8px 22px 0; display: flex; align-items: center; border-bottom: 1px solid var(--line);
  background: radial-gradient(260px 60px at 50% 100%, rgba(227,196,140,.08), transparent 70%), rgba(0,0,0,.18); color: var(--brass); }
.import-card[data-source="audio"] .card-art { color: var(--lh); }
.import-card[data-source="score"] .card-art { color: var(--brass); }
.import-card[data-source="image"] .card-art { color: var(--rh); }
.card-art svg { width: 100%; height: 44px; }
.ca-audio rect { transform-box: fill-box; transform-origin: center; animation: hw-eq .9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.13s); }
.ca-score ellipse { animation: ca-bob 1.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.2s); }
@keyframes ca-bob { to { transform: translateY(-3px); } }
.ca-beam { animation: ca-beam 1.8s ease-in-out infinite alternate; opacity: .8; }
@keyframes ca-beam { to { transform: translateY(42px); } }
.import-card.disabled .card-art { color: var(--text-4); }
.dropzone { position: relative; overflow: hidden; }
.dropzone::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(227,196,140,.08) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s var(--ease); }
.import-card:hover:not(.disabled) .dropzone::before { transform: translateX(100%); }
.dz-ico { transition: transform .3s var(--ease-spring), background .2s, color .2s; }
.import-card:hover:not(.disabled) .dz-ico { transform: translateY(-3px); background: rgba(227,196,140,.12); color: var(--brass); }

/* before / after */
.cmp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 26px; }
.cmp-top .sec-head { margin-bottom: 0; }
.cmp-controls { display: grid; justify-items: end; gap: 10px; max-width: 360px; }
.cmp-desc { color: var(--text-3); font-size: 13px; text-align: right; min-height: 2.9em; }
.cmp-card { border-radius: var(--r-xl); padding: 14px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line-2); box-shadow: var(--shadow-3); }
.cmp-stage { position: relative; height: clamp(220px, 30vw, 380px); border-radius: 16px; overflow: hidden; background: var(--ink-0); border: 1px solid var(--line); cursor: ew-resize; touch-action: pan-y; }
.cmp-layer { position: absolute; inset: 0; }
.cmp-layer svg { width: 100%; height: 100%; display: block; }
.cmp-raw { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #08090c; }
.cmp-raw::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 2px, transparent 2px 4px); pointer-events: none; }
.cn { transition: opacity .3s; }
.cn.rh { fill: #ff9170; } .cn.lh { fill: #5fd3c6; }
.cmp-notes { animation: view-in .5s var(--ease) both; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, var(--brass) 12%, var(--brass) 88%, transparent); pointer-events: none; box-shadow: 0 0 18px var(--brass-glow); }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #ecd3a2, #d2ad6c); color: #1d160b; box-shadow: 0 6px 20px rgba(0,0,0,.5), 0 0 0 6px rgba(227,196,140,.15); transition: transform .2s var(--ease-spring); }
.cmp-stage:hover .cmp-handle span { transform: scale(1.08); }
.cmp-handle svg { width: 18px; height: 18px; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible ~ .cmp-tag { outline: none; }
.cmp-stage:has(.cmp-range:focus-visible) { outline: 2px solid var(--brass); outline-offset: 3px; }
.cmp-tag { position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; font: 600 10.5px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; backdrop-filter: blur(6px); }
.cmp-tag.l { left: 44px; color: var(--text-2); background: rgba(11,13,18,.75); border: 1px solid var(--line-2); }
.cmp-tag.r { right: 12px; color: var(--brass); background: rgba(11,13,18,.75); border: 1px solid rgba(227,196,140,.3); }
.cmp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.cmp-stat { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); display: grid; gap: 2px; }
.cmp-stat b { font: 400 26px/1 var(--f-display); animation: view-in .45s var(--ease) both; }
.cmp-stat span { font-size: 12px; color: var(--text-3); }
.cmp-stat.rh b { color: var(--rh); } .cmp-stat.lh b { color: var(--lh); }

/* features bento */
.fx-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.fx-tile { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line-2); box-shadow: var(--shadow-2); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms), border-color .3s, box-shadow .3s; }
.fx-tile.wide { grid-column: span 3; }
.fx-tile.in:hover { transform: translateY(-4px); border-color: var(--line-3); box-shadow: var(--shadow-3); transition-delay: 0ms; }
.fx-art { position: relative; height: 168px; background: radial-gradient(300px 120px at 50% 100%, rgba(227,196,140,.07), transparent 70%), var(--ink-0); border-bottom: 1px solid var(--line); overflow: hidden; }
.fx-copy { padding: 16px 18px 20px; }
.fx-copy h3 { font-size: 22px; }
.fx-copy p { color: var(--text-2); font-size: 13.5px; margin-top: 5px; line-height: 1.55; }
.mk { position: absolute; left: 16px; right: 16px; bottom: 0; height: 64px; display: flex; }
.mk-w { flex: 1; margin-right: 1px; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, #d9d0bd, var(--ivory) 25%); box-shadow: inset 0 -4px 0 #d8cdb7; }
.mk-b { position: absolute; top: 0; width: 4%; transform: translateX(-50%); height: 58%; border-radius: 0 0 3px 3px; background: linear-gradient(180deg, #15161a, #2a2c33); }
.mk-w.want { animation: fx-want 1.3s ease-in-out infinite; }
@keyframes fx-want { 0%, 100% { background: linear-gradient(180deg, #d9d0bd, var(--ivory) 25%); box-shadow: inset 0 -4px 0 #d8cdb7; } 50% { background: linear-gradient(180deg, #6fcf94, #b6f0c9); box-shadow: inset 0 -4px 0 #4aa874, 0 0 24px rgba(143,220,170,.55); } }
.fx-wait-note { position: absolute; bottom: 72px; left: calc(16px + (100% - 32px) * 9 / 15 + 2px); width: calc((100% - 32px) / 15 - 5px); height: 44px; border-radius: 4px;
  background: linear-gradient(180deg, #ffb49b, #f07650); box-shadow: 0 0 18px var(--rh-glow); animation: fx-hover 1.3s ease-in-out infinite; }
@keyframes fx-hover { 50% { transform: translateY(-4px); } }
.fx-wait-pill { position: absolute; top: 14px; left: 16px; display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px;
  font: 600 11px/1 var(--f-ui); color: var(--ok); background: rgba(143,220,170,.08); border: 1px solid rgba(143,220,170,.25); }
.fx-wait-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.3s ease-in-out infinite; }
.fx-fall i { position: absolute; top: 0; width: calc((100% - 32px) / 15 - 5px); margin-left: 18px; border-radius: 4px; animation: fx-drop 3s linear infinite; opacity: 0; }
.fx-fall i.lh { background: linear-gradient(180deg, #8ae6db, #35ad9f); } .fx-fall i.rh { background: linear-gradient(180deg, #ffb49b, #f07650); }
.fx-fall i { left: 0; }
@keyframes fx-drop { 0% { transform: translateY(-60px); opacity: 0; } 10% { opacity: 1; } 70% { transform: translateY(64px); opacity: 1; } 78%, 100% { transform: translateY(80px); opacity: 0; } }
.fx-midi { height: 100%; display: grid; place-items: center; }
.fx-midi svg { width: 82%; height: 110px; }
.fx-flow { animation: fx-flow 1s linear infinite; }
@keyframes fx-flow { to { stroke-dashoffset: -32; } }
.fx-midi-pill { position: absolute; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; font: 500 11px/1 var(--f-mono); color: var(--text-2); }
.fx-midi-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(143,220,170,.7); animation: pulse .8s steps(2) infinite; }
.fx-loop { position: absolute; inset: 22px 18px; }
.fx-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; height: 56px; margin-top: 18px; }
.fx-bars span { border-radius: 6px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.fx-bars span:nth-child(n+3):nth-child(-n+5) { background: rgba(227,196,140,.08); border-color: rgba(227,196,140,.28); }
.fx-range { position: absolute; top: 10px; left: calc(25% - 1px); width: calc(37.5% - 2px); height: 72px; border-top: 2px solid var(--brass); }
.fx-range b { position: absolute; top: -12px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font: 700 10px/1 var(--f-ui); color: #1d160b; background: var(--brass); }
.fx-range b:first-child { left: -10px; } .fx-range b:nth-child(2) { right: -10px; }
.fx-head { position: absolute; top: 4px; bottom: -2px; left: 0; width: 2px; background: var(--text); box-shadow: 0 0 10px rgba(255,255,255,.6); animation: fx-head 2.4s linear infinite; }
@keyframes fx-head { to { left: 100%; } }
.fx-tempo { position: absolute; bottom: 0; left: 0; display: flex; align-items: center; gap: 2px; font-size: 13px; color: var(--text-2); }
.fx-bpm { display: inline-block; height: 1.3em; overflow: hidden; color: var(--brass); }
.fx-bpm span { display: block; line-height: 1.3em; animation: fx-bpm 9.6s steps(1) infinite; }
@keyframes fx-bpm { 0% { transform: translateY(0); } 25% { transform: translateY(-100%); } 50% { transform: translateY(-200%); } 75% { transform: translateY(-300%); } }
.fx-pdf { height: 100%; display: grid; place-items: center; }
.fx-page { position: relative; width: 62%; height: 138px; margin-top: 22px; padding: 14px 12px; border-radius: 4px 4px 0 0; background: #f4eee1; box-shadow: 0 10px 30px rgba(0,0,0,.5); overflow: hidden; display: grid; gap: 12px; align-content: start; }
.fx-sys { position: relative; height: 22px; display: grid; gap: 3.5px; }
.fx-sys i { display: block; height: 1px; background: rgba(40,34,26,.4); }
.fx-sys b { position: absolute; width: 7px; height: 5.5px; border-radius: 50%; transform: rotate(-20deg); background: #2a241b; animation: fx-ink 3s ease-in-out infinite; animation-delay: calc(var(--r) * .45s + var(--n) * .04s); }
@keyframes fx-ink { 0%, 20% { background: #2a241b; } 35%, 85% { background: #f07650; box-shadow: 0 0 6px rgba(240,118,80,.6); } 100% { background: #2a241b; } }
.fx-sys:nth-child(2) b { animation-name: fx-ink-l; }
@keyframes fx-ink-l { 0%, 20% { background: #2a241b; } 35%, 85% { background: #2ea596; box-shadow: 0 0 6px rgba(46,165,150,.6); } 100% { background: #2a241b; } }
.fx-beam { position: absolute; left: 0; right: 0; top: 0; height: 16px; background: linear-gradient(180deg, transparent, rgba(227,196,140,.55), transparent); mix-blend-mode: multiply; animation: fx-beam 3s ease-in-out infinite; }
@keyframes fx-beam { 0% { transform: translateY(-16px); } 100% { transform: translateY(140px); } }

/* library */
.has-pieces .recent.home-sec { padding-top: 12px; }
.recent-head { border-top: 0; padding-top: 0; }
.recent-head .eyebrow { color: var(--brass); margin-bottom: 12px; }
.recent-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 350; letter-spacing: -0.03em; }
.lib-card.glow::after { z-index: 0; }
.lib-empty { padding: 26px 26px; gap: 24px; background: radial-gradient(400px 120px at 0% 50%, rgba(95,211,198,.05), transparent 70%), rgba(255,255,255,.012); }
.lib-empty b { font: 400 21px var(--f-display); }
.lib-empty-art { height: 52px; gap: 6px; }
.lib-empty-art i { animation: hw-eq 1.2s ease-in-out infinite alternate; transform-origin: bottom; }
.lib-empty-art i:nth-child(2) { animation-delay: -.3s; } .lib-empty-art i:nth-child(3) { animation-delay: -.6s; }
.lib-empty-art i:nth-child(4) { height: 28px; animation-delay: -.9s; background: linear-gradient(180deg, #ffb49b, #f07650); }
.lib-empty-art i:nth-child(5) { height: 44px; animation-delay: -.45s; }

/* final CTA band */
.cta-band { margin-top: clamp(64px, 10vh, 112px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl); border: 1px solid rgba(227,196,140,.2); overflow: hidden;
  background: radial-gradient(600px 240px at 0% 0%, rgba(227,196,140,.12), transparent 70%), radial-gradient(500px 240px at 100% 100%, rgba(255,145,112,.08), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.cta-band h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 350; letter-spacing: -0.03em; }
.cta-band p { color: var(--text-2); margin-top: 8px; max-width: 34em; }
.cta-band .hero-cta { margin-top: 0; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-foot { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.sf-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.sf-brand p { margin-top: 8px; font: italic 300 15px var(--f-display); color: var(--text-3); }
.sf-links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.sf-links a, .sf-links button { padding: 7px 12px; border-radius: 999px; border: 0; background: none; cursor: pointer; font-size: 13.5px; color: var(--text-2); transition: color .2s, background .2s; }
.sf-links a:hover, .sf-links button:hover { color: var(--text); background: rgba(255,255,255,.045); text-decoration: none; }
.sf-base { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 26px; font-size: 12.5px; color: var(--text-4); }
.sf-made { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); }
.sf-note { color: var(--brass); display: inline-block; animation: ca-bob 1.6s ease-in-out infinite alternate; }

/* full-page drop veil */
.drop-veil { background: rgba(6,7,10,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 80; }
.home.dragging .import-grid { position: static; z-index: auto; }
.dv-frame { position: absolute; inset: 18px; border-radius: 28px; border: 2px dashed rgba(227,196,140,.45); transform: scale(.98); transition: transform .35s var(--ease); animation: dv-breathe 1.6s ease-in-out infinite; }
.home.dragging .dv-frame { transform: none; }
@keyframes dv-breathe { 50% { border-color: rgba(227,196,140,.8); box-shadow: inset 0 0 80px rgba(227,196,140,.08); } }
.drop-veil-inner { transform: translateY(10px) scale(.96); transition: transform .35s var(--ease-spring); padding: 34px 44px; gap: 8px; }
.home.dragging .drop-veil-inner { transform: none; }
.dv-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(227,196,140,.1); border: 1px solid rgba(227,196,140,.3); animation: dv-bounce 1.1s var(--ease) infinite alternate; }
.drop-veil-inner .dv-ico svg { width: 30px; height: 30px; }
@keyframes dv-bounce { to { transform: translateY(-6px); } }
.drop-veil-inner b { font-size: 30px; }
.dv-kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.dv-kinds span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; color: var(--text-2); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.drop-veil-inner .dv-kinds svg { width: 14px; height: 14px; }
.dv-notes i { position: absolute; bottom: -40px; left: calc(10% + var(--i) * 15%); font-style: normal; font-size: 28px; color: rgba(227,196,140,.35); animation: dv-rise 4s linear infinite; animation-delay: calc(var(--i) * -.7s); }
.dv-notes i:nth-child(odd) { color: rgba(95,211,198,.35); } .dv-notes i:nth-child(3n) { color: rgba(255,145,112,.35); }
@keyframes dv-rise { to { transform: translateY(-110vh) rotate(20deg); } }
.home:not(.dragging) .drop-veil * { animation-play-state: paused; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero3 { grid-template-columns: 1fr; }
  .hw-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-step:nth-child(2)::before { display: none; }
  .topnav-links { margin-left: 20px; }
}
@media (max-width: 900px) {
  .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-tile, .fx-tile.wide { grid-column: span 1; }
  .fx-tile.fxt-pdf { grid-column: span 2; }
  .cmp-controls { justify-items: start; }
  .cmp-desc { text-align: left; }
  .topnav-links { display: none; }
}
@media (max-width: 640px) {
  .hw-list, .fx-grid { grid-template-columns: 1fr; }
  .fx-tile.fxt-pdf { grid-column: span 1; }
  .hw-step::before { display: none; }
  .cmp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stage { padding: 10px 10px 10px; border-radius: 18px; }
  .hs-sub, .hs-now { display: none; }
  .hs-hint { display: none; }
  .hs-roll-wrap { height: 170px; }
  .hs-keys { height: 80px; }
  .hero3 .hero-cta .btn { flex: 1 1 auto; }
  .lib-empty { grid-template-columns: 1fr; justify-items: start; }
  .cmp-tag.l { left: 12px; top: auto; bottom: 12px; }
  .sf-base { flex-direction: column; }
  .topnav .engine-pill .lbl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hw-step *, .fx-tile *, .card-art * { animation: none !important; }
}
