@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Manrope:wght@400;500;600&display=swap');

:root {
  --bg: #0b0a09;
  --bg2: #131110;
  --text: #f4efe8;
  --muted: #aaa39a;
  --faint: #6f6962;
  --line: rgba(255, 240, 220, .09);
  --line-strong: rgba(255, 240, 220, .18);
  --gold: #d6b25e;
  --gold2: #f0d28a;
  --grad: linear-gradient(135deg, #f0d28a, #d6b25e 55%, #b8893a);
  --display: 'Sora', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --max: 1120px;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.05; }
h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }
em { color: var(--text); }
blockquote { color: var(--text); font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.5; border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; margin: 12px 0 14px; }
blockquote small { display: block; color: var(--faint); font-family: var(--body); font-size: 13px; margin-top: 6px; letter-spacing: .04em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.eyebrow { font-family: var(--display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; display: block; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 640px; }
main { flex: 1; }
section { padding: 90px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { margin: 10px 0 14px; }
.section-head p { font-size: 17px; }

/* Nav */
nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 16px 0; background: linear-gradient(rgba(11,10,9,.92), rgba(11,10,9,0)); transition: background .3s, backdrop-filter .3s; }
nav.solid { background: rgba(11,10,9,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--text); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand small { font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .06em; margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); }
.links { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
.links a { color: var(--muted); }
.links a:hover, .links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.links a.app { color: var(--gold); }

/* Buttons */
.ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14px; color: #1a1408; background: var(--grad); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(214,178,94,.3); text-decoration: none; }
.btn.ghost { background: rgba(255,240,220,.06); border: 1px solid rgba(255,240,220,.22); color: var(--text); backdrop-filter: blur(8px); }
.btn.ghost:hover { box-shadow: none; background: rgba(255,240,220,.1); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 680px; max-height: 960px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 0; }
.hero .bg { position: absolute; inset: 0; background: url(assets/rod-piano-hero.jpg) 70% 0%/cover no-repeat; }
.hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,.7) 0%, rgba(11,10,9,.15) 30%, rgba(11,10,9,.1) 55%, rgba(11,10,9,.92) 100%), linear-gradient(90deg, rgba(11,10,9,.8) 0%, rgba(11,10,9,.35) 45%, rgba(11,10,9,0) 75%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 72px; }
.hero h1 { margin-top: 12px; max-width: 12ch; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.hero .lead { margin: 18px 0 26px; color: #ddd6cb; text-shadow: 0 1px 20px rgba(0,0,0,.7); }

/* Page header */
.page-head { padding: 150px 0 30px; }
.page-head h1 { margin: 12px 0 16px; font-size: clamp(36px, 5.4vw, 68px); }
.page-head .lead { max-width: 680px; }

/* Players */
.player { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.player iframe { display: block; width: 100%; border: 0; border-radius: 10px; }
.player.tall iframe { height: 300px; }
.player.short iframe { height: 166px; }
.player.list iframe { height: 450px; }
.player.video { padding: 10px; }
.player.video .ratio { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; }
.player.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.suite { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.suite:first-of-type { border-top: 0; padding-top: 0; }
.suite h3 { font-size: 24px; margin-bottom: 8px; }
.suite .tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; display: block; }
.suite p { font-size: 15.5px; }
.tracks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.tracks li { margin: 0; }
.tracks a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--bg2); font-weight: 600; font-size: 15px; transition: border-color .2s; }
.tracks a:hover { border-color: var(--gold); text-decoration: none; }
.tracks a svg { width: 18px; height: 18px; fill: var(--gold); flex: none; }
.tracks a small { margin-left: auto; color: var(--faint); font-weight: 500; font-size: 12px; letter-spacing: .06em; }

/* Cards, panels, splits */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: linear-gradient(180deg, rgba(255,240,220,.035), rgba(255,240,220,.01)); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; background: var(--bg2); margin-bottom: 20px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: 7fr 5fr; }
.split.flip .copy { order: 2; }
.split h2 { margin: 10px 0 14px; }
.split p { font-size: 16px; margin-bottom: 12px; }
.frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.frame img { display: block; width: 100%; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.stores a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #fff; color: #000; font-weight: 600; font-size: 14px; }
.stores a:hover { text-decoration: none; transform: translateY(-1px); }
.stores a svg { width: 18px; height: 18px; }

/* Album track list */
.tracklist { list-style: none; padding: 0; margin: 16px 0 0; counter-reset: t; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.tracklist li { margin: 0; counter-increment: t; }
.tracklist a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 14.5px; }
.tracklist a::before { content: counter(t, decimal-leading-zero); font-family: var(--display); font-size: 12px; color: var(--gold); letter-spacing: .06em; width: 22px; }
.tracklist a:hover { background: rgba(255,240,220,.05); text-decoration: none; }
.doc h3[id^="t"] { scroll-margin-top: 90px; }

/* Long-form */
.doc { max-width: 760px; }
.doc h2 { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(26px, 3vw, 36px); }
.doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h3 { margin: 34px 0 8px; font-size: 22px; }
.doc p { margin-bottom: 14px; font-size: 16.5px; }
.doc .lyric { color: var(--text); font-style: italic; white-space: pre-line; margin: 8px 0 16px 18px; }
.notes-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.notes-toc a { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.notes-toc a:hover { color: var(--text); border-color: var(--gold); text-decoration: none; }

/* Press */
.press { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.press .card blockquote { border: 0; padding: 0; margin: 0 0 12px; font-size: 18px; }
.press .card small { color: var(--faint); font-size: 13px; display: block; margin-bottom: 12px; }

/* App teaser */
.app-teaser { position: relative; border-radius: 24px; overflow: hidden; isolation: isolate; min-height: 460px; display: flex; align-items: flex-end; }
.app-teaser .bg { position: absolute; inset: 0; background: url(assets/midi-assistant-stage.jpg) center/cover; }
.app-teaser .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,.2), rgba(11,10,9,.92)); }
.app-teaser .in { position: relative; z-index: 1; padding: 48px; max-width: 640px; }
.app-teaser .in img { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 14px; }
.app-teaser h2 { margin-bottom: 10px; }
.app-teaser p { margin-bottom: 20px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: 13px; color: var(--faint); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 20px; }

@media (max-width: 900px) {
  .links { display: none; }
  section { padding: 64px 0; }
  .suite, .split, .split.flip { grid-template-columns: 1fr; gap: 20px; }
  .split.flip .copy { order: 0; }
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .press { grid-template-columns: 1fr; }
  .page-head { padding-top: 120px; }
  .hero .bg { background-position: 62% 20%; }
  .hero .scrim { background: linear-gradient(180deg, rgba(11,10,9,.55) 0%, rgba(11,10,9,.1) 35%, rgba(11,10,9,.95) 100%); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid.cols-2, .grid.cols-3, .tracks, .tracklist { grid-template-columns: 1fr; }
  .panel, .card { padding: 22px; }
  .app-teaser .in { padding: 28px 20px; }
  .brand small { display: none; }
}
