/* AuroraDAW.com homepage, October 2026.
   One family (Archivo, OFL, self-hosted), one night-blue ground, and colour only where it carries
   information: the waveforms are coloured by each song's own spectrum (green low, blue mid, violet high). */

@font-face {
  font-family: "Archivo";
  src: url("/assets/site/fonts/archivo-latin-wdth.woff2") format("woff2-variations"),
       url("/assets/site/fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
/* Archivo's ampersand reads as an 8 at text sizes ("R&B"); this face supplies only U+0026 from the system. */
@font-face {
  font-family: "Archivo";
  src: local("Segoe UI"), local("SegoeUI"), local("Helvetica Neue"), local("HelveticaNeue"), local("Roboto"), local("Arial");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  unicode-range: U+0026;
}

:root {
  color-scheme: dark;
  --night: #0a1024;
  --deck: #0f1830;
  --deck-2: #162143;
  --rule: rgba(160, 180, 255, .13);
  --rule-2: rgba(160, 180, 255, .24);
  --edge: #6b78a3;            /* boundaries that identify a control: at least 4:1 on --night and --deck */
  --ink: #ebf0ff;
  --ink-2: #b4bedd;
  --ink-3: #8a96bf;
  --low: #3ef0a4;
  --mid: #66d4ff;
  --high: #b08cff;
  --cta: #3ef0a4;
  --cta-ink: #04150d;
  --focus: #ffd36e;
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 18px;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: rgba(62, 240, 164, .32); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--r-s); background: var(--focus); color: #1b1300; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.shell { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--rule-2); background: transparent; color: var(--ink);
  font-family: var(--font); font-size: 1rem; font-weight: 600; font-stretch: 100%; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { border-color: var(--ink-2); background: rgba(235, 240, 255, .06); }
.btn-go { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.btn-go:hover { background: #7af7c2; border-color: #7af7c2; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(235, 240, 255, .4); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--ink); }

/* ---------------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: 64px;
  display: flex; align-items: center; gap: 28px; padding-inline: var(--gut);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.nav.on, .nav.open { background: rgba(10, 16, 36, .92); border-bottom-color: var(--rule); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .mark { width: 30px; height: 30px; }
.brand .word { font-weight: 750; font-stretch: 118%; font-size: 1.0625rem; letter-spacing: .01em; line-height: 1; }
.brand .word small { font-size: inherit; font-weight: 400; color: var(--ink-2); margin-left: .28em; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 6px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.nav-menu { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--rule-2); border-radius: 999px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-menu svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.8; fill: none; stroke-linecap: round; }
@media (max-width: 960px) {
  .nav { gap: 10px; }
  .nav-menu { display: inline-flex; margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px var(--gut) 20px; background: rgba(10, 16, 36, .98); border-bottom: 1px solid var(--rule);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--rule); }
  .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .nav-menu { margin-left: auto; }
}

/* --------------------------------------------------------------------- hero */
.hero { padding: calc(64px + clamp(40px, 7vh, 88px)) 0 clamp(28px, 4vh, 44px); }
.hero h1 {
  font-size: clamp(2.35rem, 5.5vw, 5.4rem); font-weight: 800; font-stretch: 125%;
  line-height: .94; letter-spacing: -.022em; max-width: 16ch;
}
.hero h1 span { display: block; }
.hero-lede { max-width: 60ch; margin-top: clamp(18px, 2.4vh, 28px); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.hero-price { margin-top: 16px; max-width: 70ch; font-size: .9375rem; color: var(--ink-3); }
.hero-price a { color: var(--ink-2); }
@media (max-width: 560px) {
  .hero h1 { font-stretch: 112%; letter-spacing: -.015em; }
  .hero-actions .btn { width: 100%; }
  .hero-lede { font-size: 1rem; }
  .hero-price { font-size: .875rem; }
}

/* the reel: the four new hooks back to back, to scale, under the hero */
.reel { margin-top: clamp(28px, 4.5vh, 48px); }
.reel-strip { position: relative; height: clamp(84px, 11vh, 120px); cursor: pointer; }
.reel-strip canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-strip .playhead { top: -6px; bottom: -6px; }
.reel-strip.has-pos .playhead { opacity: 1; }
.reel-labels { list-style: none; display: grid; grid-template-columns: var(--reel-cols); column-gap: 12px; margin-top: 12px; }
.reel-btn {
  display: block; width: 100%; padding: 8px 0 0; border: 0; border-top: 2px solid var(--rule-2); background: none; color: var(--ink);
  text-align: left; cursor: pointer; font: inherit;
}
.reel-btn b { display: block; font-size: .9375rem; font-weight: 650; font-stretch: 104%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-btn span { display: block; font-size: .8125rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-btn:hover { border-top-color: var(--ink-2); }
.reel-btn[aria-current="true"] { border-top-color: var(--low); }
@media (max-width: 720px) { .reel { display: none; } }

/* ------------------------------------------------------- the listening room */
.room { --head: clamp(270px, 25vw, 340px); padding: 8px 0 clamp(56px, 8vh, 96px); }
.room-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; padding-bottom: 16px; border-bottom: 1px solid var(--rule-2); }
.room-head h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 750; font-stretch: 112%; line-height: 1.05; }
.room-head p { max-width: 60ch; color: var(--ink-2); font-size: .9375rem; }
.lanes { list-style: none; }
.room-fail { margin-top: 16px; padding: 10px 14px; border-left: 3px solid var(--focus); color: var(--ink); font-size: .9375rem; }
.player-failed [data-song] button:disabled, .player-failed [data-reel]:disabled { opacity: .4; cursor: not-allowed; }
.lane {
  --c: var(--low);
  display: grid; grid-template-columns: var(--head) minmax(0, 1fr); gap: 4px 32px;
  padding: 22px 0 20px; border-bottom: 1px solid var(--rule); scroll-margin-top: 80px;
}
.lane.is-target { box-shadow: inset 3px 0 0 var(--low); }
.lane-head { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-content: start; }
.lane-title { font-size: 1.375rem; font-weight: 700; font-stretch: 110%; line-height: 1.15; padding-top: 2px; }
.lane-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; grid-column: 2; font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lane-meta span { white-space: nowrap; }
.lane-blurb { grid-column: 2; margin-top: 8px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.lane-body { min-width: 0; display: grid; grid-template-rows: auto auto auto; align-content: start; }
.lane-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
.lane-actions .time { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink-3); }

.play {
  position: relative; width: 52px; height: 52px; border-radius: 50%; padding: 0; flex: none;
  border: 1.5px solid rgba(235, 240, 255, .55); background: transparent; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.play:hover { border-color: var(--ink); background: rgba(235, 240, 255, .07); }
.play svg { width: 20px; height: 20px; fill: currentColor; }
.play .i-pause { display: none; }
.is-playing .play, .play.is-on { background: var(--c); border-color: var(--c); color: var(--cta-ink); }
.play.is-on .i-play { display: none; }
.play.is-on .i-pause { display: block; }
.play:active { transform: scale(.96); }

.textbtn {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none;
}
.textbtn:hover { color: var(--c, var(--low)); }
.textbtn svg { width: 14px; height: 14px; fill: currentColor; }
.textbtn[aria-pressed="true"] { color: var(--c, var(--low)); }
.dl { color: var(--ink-2); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(180, 190, 221, .35); text-underline-offset: 3px; }
.dl:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* tempo light: flashes on each beat while a song with a verified grid plays */
.tempo { display: inline-flex; align-items: center; gap: 7px; }
.tempo i { display: none; width: 7px; height: 7px; border-radius: 50%; background: rgba(62, 240, 164, .22); }
.is-current .tempo i { display: inline-block; }
.tempo i.on { background: var(--c); box-shadow: 0 0 10px var(--c); }

/* waveform: drawn on a canvas from the song's own level and spectrum; the wrapper is the seek slider */
.scrub {
  position: relative; height: 84px; width: var(--len, 100%); border-radius: var(--r-s);
  cursor: pointer; touch-action: pan-y; background: rgba(160, 180, 255, .035);
}
.scrub canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scrub:focus-visible { outline-offset: 4px; }
.playhead { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; opacity: 0; pointer-events: none; }
.has-pos .playhead { opacity: 1; }
.hoverline { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(235, 240, 255, .5); pointer-events: none; opacity: 0; }
.scrub:hover .hoverline { opacity: 1; }
.hovertime {
  position: absolute; top: -26px; transform: translateX(-50%); padding: 2px 6px; border-radius: 4px;
  background: var(--ink); color: var(--night); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums;
  pointer-events: none; opacity: 0; white-space: nowrap;
}
.scrub:hover .hovertime { opacity: 1; }
.wave-empty .scrub { background: repeating-linear-gradient(90deg, rgba(160, 180, 255, .07) 0 2px, transparent 2px 5px); }

/* sections: the song's real form, to scale, under its waveform */
.sections { position: relative; height: 26px; margin-top: 6px; width: var(--len, 100%); cursor: pointer; }
.sec {
  position: absolute; top: 0; bottom: 0; min-width: 0; padding: 0 0 0 7px; margin: 0;
  border: 0; border-left: 2px solid var(--sc); border-radius: 0 3px 3px 0;
  background: color-mix(in srgb, var(--sc) calc(var(--e, 5) * 2.6%), transparent);
  color: var(--ink); font: inherit; font-size: .75rem; font-weight: 600; font-stretch: 92%; text-align: left;
  white-space: nowrap; overflow: hidden; cursor: pointer; line-height: 26px;
}
@supports not (background: color-mix(in srgb, red 10%, transparent)) { .sec { background: rgba(160, 180, 255, .1); } }
.sec:hover { background: color-mix(in srgb, var(--sc) 34%, transparent); }
.sec[data-kind="hook"] { --sc: var(--low); }
.sec[data-kind="verse"] { --sc: var(--mid); }
.sec[data-kind="prehook"], .sec[data-kind="build"] { --sc: var(--high); }
.sec[data-kind="intro"], .sec[data-kind="outro"], .sec[data-kind="bridge"], .sec[data-kind="breakdown"] { --sc: #7f8bb3; }
.sec.tight .l { display: none; }
.sec.tight::before { content: attr(data-short); }
.sec.tiny::before { content: none; }
.sec.tiny { padding: 0; }
.sec.now { box-shadow: inset 0 -2px 0 var(--sc); }

/* time ruler above the new songs: one scale for all four, so lengths compare */
.ruler { position: relative; height: 26px; margin-left: calc(var(--head) + 32px); font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ruler span { position: absolute; bottom: 4px; transform: translateX(-1px); padding-left: 5px; border-left: 1px solid var(--rule-2); line-height: 1; height: 14px; display: flex; align-items: flex-end; }

/* three-band level meter (low / mid / high) beside the playing song */
.meter { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.meter i { width: 3px; height: 100%; border-radius: 1px; background: var(--rule-2); transform-origin: bottom; transform: scaleY(.15); }
.meter i:nth-child(1) { background: var(--low); }
.meter i:nth-child(2) { background: var(--mid); }
.meter i:nth-child(3) { background: var(--high); }

@media (max-width: 900px) {
  .lane { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lane-blurb { max-width: none; }
  .ruler { display: none; }
  .scrub { width: 100%; }
  .sections { width: 100%; }
}
@media (max-width: 560px) {
  .lane-head { grid-template-columns: 48px 1fr; gap: 2px 14px; }
  .play { width: 48px; height: 48px; }
  .lane-title { font-size: 1.25rem; }
  .lane-blurb { grid-column: 1 / -1; margin-top: 10px; }
  .scrub { height: 64px; }
  .lane-actions .time { display: none; }
}

/* ----------------------------------------------------------------- archive */
.archive { margin-top: clamp(48px, 7vh, 80px); }
.archive-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; padding-bottom: 14px; border-bottom: 1px solid var(--rule-2); }
.archive-head h3 { font-size: 1.375rem; font-weight: 700; font-stretch: 110%; }
.archive-head p { max-width: 62ch; color: var(--ink-2); font-size: .9375rem; }
.tracks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.track {
  --c: var(--mid);
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 14px;
  align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 80px;
}
.track .play { width: 40px; height: 40px; grid-row: 1 / 3; }
.track .play svg { width: 16px; height: 16px; }
.track-title { font-size: 1rem; font-weight: 650; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0 12px; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.track-side { grid-column: 3; grid-row: 1 / 3; display: flex; align-items: center; gap: 14px; }
.track .scrub { height: 34px; width: clamp(96px, 9vw, 136px); }
.track .textbtn { font-size: .8125rem; min-width: 6.6em; justify-content: flex-start; }
.track-meta { gap: 0 10px; }
@media (max-width: 1023px) { .tracks { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .track { grid-template-columns: 40px minmax(0, 1fr); }
  .track-side { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; justify-content: space-between; }
  .track .scrub { width: auto; flex: 1; }
}

/* ---------------------------------------------------------------- transport */
.transport {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 24, 48, .96); border-top: 1px solid var(--rule-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform: translateY(110%); transition: transform .32s var(--ease); visibility: hidden;
}
.transport.on { transform: none; visibility: visible; }
.t-keys { display: flex; align-items: center; gap: 6px; }
.t-keys .play { width: 46px; height: 46px; }
.t-step { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.t-step:hover { color: var(--ink); background: rgba(235, 240, 255, .07); }
.t-step svg { width: 18px; height: 18px; fill: currentColor; }
.t-now { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; }
.t-title { font-weight: 650; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-title small { font-weight: 400; color: var(--ink-2); font-size: .875rem; margin-left: 8px; }
.t-time { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.t-bar { grid-column: 1 / -1; position: relative; height: 18px; cursor: pointer; touch-action: none; }
.t-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; border-radius: 2px; background: var(--edge); }
.transport.is-buffering .t-keys .play { box-shadow: 0 0 0 3px rgba(255, 211, 110, .6); }
@media (prefers-reduced-motion: no-preference) {
  .transport.is-buffering .t-keys .play { animation: aurora-buffering .9s ease-in-out infinite alternate; }
  @keyframes aurora-buffering { from { box-shadow: 0 0 0 2px rgba(255, 211, 110, .25); } to { box-shadow: 0 0 0 5px rgba(255, 211, 110, .65); } }
}
.t-fill { position: absolute; left: 0; top: 8px; height: 3px; width: 0; border-radius: 2px; background: var(--c, var(--low)); }
.t-side { display: flex; align-items: center; gap: 14px; }
.t-mode { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 999px; padding: 3px; }
.t-mode button { border: 0; background: transparent; color: var(--ink-2); font-size: .8125rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.t-mode button[aria-pressed="true"] { background: var(--ink); color: var(--night); }
.t-status { font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 720px) {
  .transport { grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 10px; padding-top: 8px; }
  .t-keys .t-step { display: none; }
  .t-keys .play { width: 44px; height: 44px; }
  .t-now { grid-template-columns: minmax(0, 1fr) auto; }
  .t-side .meter { display: none; }
  .t-mode button { padding: 6px 10px; }
  .wide-only { display: none; }
  .t-title small { display: none; }
}
body.has-transport { padding-bottom: 96px; }

/* ----------------------------------------------------------------- sections */
.section { padding: clamp(64px, 10vh, 120px) 0; border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 56px; align-items: start; margin-bottom: clamp(28px, 4vh, 44px); }
.section-head > p, .section-head > div { padding-top: .45em; }
.checks { margin: 0; display: grid; gap: 14px; }
.checks div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 4px 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.checks dt { font-weight: 650; color: var(--ink); font-size: .9375rem; line-height: 1.45; }
.checks dd { margin: 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
@media (max-width: 560px) { .checks div { grid-template-columns: minmax(0, 1fr); } }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 780; font-stretch: 116%; line-height: 1.02; letter-spacing: -.012em; }
.section-head p { color: var(--ink-2); max-width: 64ch; }
.section-head p + p { margin-top: 10px; }
@media (max-width: 900px) { .section-head { grid-template-columns: minmax(0, 1fr); } }
.fine { font-size: .875rem; color: var(--ink-3); max-width: 90ch; }
.fine + .fine { margin-top: 8px; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; }

/* call to action bands */
.band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--deck); }
.band-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 48px; padding-block: clamp(28px, 4vh, 40px); }
.band h2 { font-size: clamp(1.4rem, 2.2vw, 1.875rem); font-weight: 750; font-stretch: 112%; line-height: 1.1; }
.band p { color: var(--ink-2); margin-top: 6px; max-width: 62ch; }
.pay { display: grid; gap: 10px; justify-items: end; }
.pay-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.pay-note { font-size: .8125rem; color: var(--ink-3); max-width: 46ch; text-align: right; }
.pay-note a { color: var(--ink-2); }
@media (max-width: 900px) {
  .band-in { grid-template-columns: minmax(0, 1fr); }
  .pay { justify-items: start; }
  .pay-row { justify-content: flex-start; }
  .pay-note { text-align: left; }
}
@media (max-width: 560px) { .pay-row .btn { width: 100%; } }

/* measurement table */
.tablewrap { overflow-x: auto; border-top: 1px solid var(--rule-2); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 720px; }
caption { text-align: left; }
th, td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
thead th { font-size: .8125rem; font-weight: 600; color: var(--ink-3); padding-top: 14px; }
tbody th { font-weight: 650; }
td.num, th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.is-new th::after { content: "New"; margin-left: 8px; padding: 1px 7px; border-radius: 999px; font-size: .6875rem; font-weight: 700; color: var(--cta-ink); background: var(--low); vertical-align: 2px; }
.table-note { margin-top: 16px; }

/* studio films and snapshots */
.films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.film { margin: 0; }
.film video { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--r-m); background: #050914; border: 1px solid var(--rule); }
.film figcaption { margin-top: 10px; font-size: .9375rem; color: var(--ink-2); }
.film figcaption b { color: var(--ink); font-weight: 650; }
.capture-note { margin-top: 14px; }
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin: clamp(44px, 6vh, 72px) 0 18px; }
.gallery-head h3 { font-size: 1.375rem; font-weight: 700; font-stretch: 110%; }
.gallery-head p { color: var(--ink-2); font-size: .9375rem; max-width: 70ch; }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.shot { margin: 0; }
.shot a.frame { display: block; border-radius: var(--r-s); overflow: hidden; border: 1px solid var(--rule); background: #050914; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s var(--ease); }
.shot a.frame:hover img { transform: scale(1.025); }
.shot figcaption { margin-top: 8px; font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.shot figcaption b { display: block; color: var(--ink); font-weight: 650; font-size: .9375rem; }
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .films { grid-template-columns: minmax(0, 1fr); } .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.studio-next { margin-top: clamp(40px, 6vh, 64px); border-radius: var(--r-l); background: var(--deck); border: 1px solid var(--rule); }
.studio-next .band-in { padding: 28px clamp(20px, 3vw, 36px); }

/* instrument counts: a meter bridge of numbers */
.stats { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.stat { padding: 22px 18px 20px 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--rule); }
.stat b { display: block; font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 760; font-stretch: 112%; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: .875rem; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 1023px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(n) { padding-left: 0; border-left: 0; }
  .stat:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
.sources { margin-top: 18px; }

/* genre atlas (filled by index.inline-1.js) */
.atlas-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
#atlas-q { flex: 1 1 280px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--edge); background: var(--deck); color: var(--ink); font: inherit; font-size: 1rem; }
#atlas-q::placeholder { color: var(--ink-3); }
.atlas-count { font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fams { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.fam { border: 1px solid var(--rule-2); background: transparent; border-radius: 999px; padding: 7px 14px; font-size: .875rem; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.fam small { font-size: .75rem; color: var(--ink-3); margin-left: 4px; font-weight: 500; }
.fam[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--night); }
.fam[aria-pressed="true"] small { color: #4a5578; }
.genres { display: flex; flex-wrap: wrap; gap: 8px; }
.genre { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-s); background: var(--deck); border: 1px solid var(--rule); font-size: .875rem; }
.genre i { width: 7px; height: 7px; border-radius: 50%; background: var(--fam-acc, var(--mid)); }
.genre.hid { display: none; }
.atlas-note { margin-top: 20px; font-size: .875rem; color: var(--ink-3); max-width: 90ch; }
.atlas-note b { color: var(--ink-2); }

/* pricing */
.trial {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 40px;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--r-l); border: 1px solid rgba(62, 240, 164, .45);
  background: linear-gradient(0deg, rgba(62, 240, 164, .06), rgba(62, 240, 164, .06)), var(--deck);
}
.trial h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 760; font-stretch: 112%; line-height: 1.1; }
.trial p { margin-top: 8px; color: var(--ink-2); max-width: 64ch; }
.plan-label { display: block; font-size: .8125rem; font-weight: 650; color: var(--low); margin-bottom: 8px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.plan { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-l); background: var(--deck); border: 1px solid var(--rule); }
.plan h3 { font-size: 1.375rem; font-weight: 720; font-stretch: 110%; }
.plan .plan-label { color: var(--ink-2); }
.plan-saving { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--high); color: #170a33; font-size: .75rem; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.plan-price strong { font-size: clamp(2.6rem, 4.4vw, 3.5rem); font-weight: 800; font-stretch: 118%; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--ink-2); }
.plan-tax { margin-top: 6px; font-size: .875rem; color: var(--ink-3); }
.plan ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; }
.plan li { padding-left: 22px; position: relative; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: var(--low); border-radius: 1px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan-year { border-color: rgba(176, 140, 255, .45); }
.checkout-message { margin-top: 14px; min-height: 1.5em; font-size: .9375rem; }
.checkout-message.is-error { color: #ffb4a8; }
.checkout-message.is-note { color: var(--ink-2); }
.price-note { margin-top: 6px; font-size: .9375rem; color: var(--ink-2); }
.availability { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .9375rem; color: var(--ink-2); }
.availability strong { color: var(--ink); }
.availability .dot { width: 9px; height: 9px; margin-top: .55em; border-radius: 50%; background: var(--low); }
.availability-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; }
.availability-links a { color: var(--ink); }
@media (max-width: 760px) { .trial { grid-template-columns: minmax(0, 1fr); } .plans { grid-template-columns: minmax(0, 1fr); } .trial .btn { width: 100%; } }

/* before you buy, requirements, faq */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.qa article { padding: 26px 0; border-top: 1px solid var(--rule); }
.qa h3 { font-size: 1.1875rem; font-weight: 680; font-stretch: 106%; line-height: 1.3; margin-bottom: 10px; }
.qa p { color: var(--ink-2); font-size: 1rem; }
.qa p + p { margin-top: 10px; }
.qa b { color: var(--ink); font-weight: 650; }
@media (max-width: 900px) { .qa { grid-template-columns: minmax(0, 1fr); } }
.reqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; }
.reqs h3 { font-size: 1.1875rem; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--rule-2); }
.reqs dl { margin: 0; }
.reqs dt { margin-top: 18px; font-weight: 650; color: var(--ink); }
.reqs dd { margin: 4px 0 0; color: var(--ink-2); }
.reqs dd b { color: var(--ink); }
@media (max-width: 900px) { .reqs { grid-template-columns: minmax(0, 1fr); } }
.faq { max-width: 880px; border-top: 1px solid var(--rule-2); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; font-size: 1.125rem; font-weight: 650; font-stretch: 104%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > p { color: var(--ink-2); padding: 0 0 18px; max-width: 72ch; }
.faq details > p + p { margin-top: -6px; }
.faq b { color: var(--ink); }
.faq code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; }

/* closing call, footer, dialog, mobile access, toast */
.closing { padding: clamp(72px, 12vh, 140px) 0; border-top: 1px solid var(--rule); }
.closing h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 800; font-stretch: 125%; line-height: .96; letter-spacing: -.02em; max-width: 18ch; }
.closing p { margin-top: 18px; color: var(--ink-2); max-width: 60ch; font-size: 1.125rem; }
.closing .hero-actions { margin-top: 28px; }

footer { border-top: 1px solid var(--rule); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .9375rem; color: var(--ink-2); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 56px; }
.foot p { margin-top: 14px; max-width: 58ch; }
.foot a { color: var(--ink); }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 40px; align-content: start; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 26px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 760px) { .foot { grid-template-columns: minmax(0, 1fr); } }

dialog#keydlg {
  width: min(520px, calc(100vw - 32px)); padding: 28px; border-radius: var(--r-l);
  border: 1px solid var(--rule-2); background: var(--deck); color: var(--ink);
}
dialog#keydlg::backdrop { background: rgba(5, 8, 20, .72); }
dialog#keydlg h3 { font-size: 1.375rem; font-weight: 720; font-stretch: 110%; }
dialog#keydlg p { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; }
dialog#keydlg input { width: 100%; margin-top: 18px; min-height: 48px; padding: 0 14px; border-radius: var(--r-s); border: 1px solid var(--edge); background: var(--night); color: var(--ink); font: inherit; letter-spacing: .02em; }
.dlg-msg { min-height: 1.6em; margin-top: 10px; font-size: .9375rem; color: var(--ink-2); }
.dlg-msg.ok { color: var(--low); }
.dlg-msg.err { color: #ffb4a8; }
.dlg-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }

.mobile-access { display: none; }
@media (max-width: 720px) {
  .mobile-access {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 24, 48, .96); border-top: 1px solid var(--rule-2);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mobile-access.on { transform: none; }
  body.has-transport .mobile-access { display: none; }
  /* keep the end of the page (and any focused control) clear of the fixed bar */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.has-transport { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mobile-access span { font-size: .875rem; font-weight: 650; line-height: 1.25; }
  .mobile-access small { display: block; font-weight: 400; color: var(--ink-2); font-size: .8125rem; }
  .mobile-access .btn { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
}

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 160%); visibility: hidden; padding: 10px 16px; border-radius: var(--r-s); background: var(--ink); color: var(--night); font-size: .9375rem; font-weight: 600; transition: transform .25s var(--ease), visibility 0s .25s; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .25s var(--ease); }
.amp { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-stretch: normal; }

/* the light: a quiet aurora above the listening room that only moves while music plays */
.sky { position: absolute; left: 0; right: 0; top: 0; height: 720px; z-index: -1; pointer-events: none; overflow: hidden; }
.sky i {
  position: absolute; top: -300px; width: 70vw; height: 640px; border-radius: 50%;
  opacity: 0; transform: scale(.9); will-change: opacity, transform;
}
.sky i:nth-child(1) { left: -12vw; background: radial-gradient(closest-side, rgba(62, 240, 164, .55), transparent); }
.sky i:nth-child(2) { left: 22vw; background: radial-gradient(closest-side, rgba(102, 212, 255, .45), transparent); }
.sky i:nth-child(3) { left: 52vw; background: radial-gradient(closest-side, rgba(176, 140, 255, .5), transparent); }
.page { position: relative; isolation: isolate; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .sky { display: none; }
}
@media print {
  .nav, .transport, .mobile-access, .sky, .play, .scrub, .sections { display: none !important; }
  body { background: #fff; color: #000; }
}
