/* ==========================================================================
   Nightjar — styles
   tobacco wood · near-black · oxblood · warm amber · serif identity · sans controls
   ========================================================================== */

:root {
  --ink: #0D0A08;
  --ink-2: #14100B;
  --ink-3: #1C150E;
  --line: #2A1D12;
  --line-soft: #221710;
  --cream: #EFE3CE;
  --cream-dim: #C9B99F;
  --muted: #8F7F68;
  --amber: #E8A24A;
  --amber-hi: #F2B563;
  --amber-deep: #B96F2E;
  --oxblood: #6E2B2B;
  --tobacco: #7A5230;
  --blue: #5F7C8A;
  --sage: #9BA88D;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --transport-h: 84px;
  --pad-x: clamp(20px, 6vw, 90px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--transport-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 340; margin: 0; }
p { margin: 0; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-hi); }
img, svg { display: block; }
.mono { font-family: var(--mono); font-size: .82em; letter-spacing: .04em; }
.dim { color: var(--muted); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--amber); color: #14100B; font: 600 13px var(--sans);
  padding: 10px 16px; border-radius: 8px; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; gap: 18px;
  padding: 14px var(--pad-x);
  background: linear-gradient(to bottom, rgba(10, 7, 5, .72), rgba(10, 7, 5, 0));
  transition: background .3s;
}
.topbar.scrolled { background: rgba(11, 8, 6, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.wordmark {
  font-family: var(--serif); font-weight: 380; font-size: 21px; letter-spacing: .04em;
  color: var(--cream); text-transform: uppercase;
}
.wordmark:hover { color: var(--cream); opacity: .85; }
.topnav { margin-left: auto; display: flex; gap: 26px; }
.topnav a {
  font: 500 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-dim); padding: 6px 2px;
}
.topnav a:hover { color: var(--amber); }

.chip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232, 162, 74, .08); color: var(--cream);
  border: 1px solid #3E2E1B; border-radius: 999px;
  font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 14px; cursor: pointer; transition: border-color .2s, background .2s;
}
.chip-btn:hover { border-color: var(--amber); background: rgba(232, 162, 74, .14); }
.chip-btn .icon { width: 14px; height: 14px; fill: currentColor; }
.chip-btn .count {
  background: var(--amber); color: #14100B; border-radius: 999px;
  font: 700 11px var(--sans); min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8, 5, 3, .82) 0%, rgba(8, 5, 3, .42) 30%, rgba(8, 5, 3, 0) 58%),
    linear-gradient(to top, rgba(8, 5, 3, .88) 0%, rgba(8, 5, 3, .3) 22%, rgba(8, 5, 3, 0) 42%),
    linear-gradient(to bottom, rgba(8, 5, 3, .55) 0%, rgba(8, 5, 3, 0) 18%);
}
.hero-copy {
  position: relative; z-index: 2;
  max-width: 680px;
  padding: clamp(110px, 16vh, 190px) 24px calc(var(--transport-h) + 44px) var(--pad-x);
}
.eyebrow {
  font: 500 11px var(--mono); letter-spacing: .3em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.05; letter-spacing: -.01em; margin-bottom: 18px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--amber); }
.lede { color: var(--cream-dim); font-size: clamp(15px, 1.35vw, 17.5px); max-width: 47ch; }
.hero .lede { margin-bottom: 22px; }
.hero-note { font-size: 12.5px; color: #A8977E; max-width: 46ch; line-height: 1.7; margin-bottom: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.inline-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--amber); font: inherit;
  text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px;
}
.inline-btn:hover { color: var(--amber-hi); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 14px var(--sans); letter-spacing: .04em;
  padding: 13px 24px; cursor: pointer; transition: transform .15s, background .2s, border-color .2s;
}
.btn .icon { width: 16px; height: 16px; fill: currentColor; }
.btn-amber { background: var(--amber); color: #14100B; }
.btn-amber:hover { background: var(--amber-hi); transform: translateY(-1px); }
.btn-ghost { background: rgba(13, 10, 8, .62); border-color: #4A3A26; color: var(--cream); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-hi); transform: translateY(-1px); }
.btn-small { padding: 9px 16px; font-size: 12.5px; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* hero scene dynamics */
#platterRot { transform-box: view-box; transform-origin: 820px 480px; }
#tonearm {
  transform-box: view-box; transform-origin: 1005px 355px;
  transform: rotate(-100deg);
  transition: transform .75s cubic-bezier(.5, .05, .18, 1);
}
#tonearm.live { transition: none; }
#wooferF { transform-box: fill-box; transform-origin: 50% 50%; }
.mote { opacity: var(--o, .3); }
@keyframes moteFloat {
  0% { transform: translateY(6px); }
  100% { transform: translateY(-34px); }
}
@keyframes flicker {
  0%, 100% { transform: scaleY(1) scaleX(1); }
  23% { transform: scaleY(1.14) scaleX(.93); }
  47% { transform: scaleY(.92) scaleX(1.06); }
  71% { transform: scaleY(1.07) scaleX(.96); }
}
#candleFlame {
  transform-box: fill-box; transform-origin: 50% 100%;
  animation: flicker 3.6s ease-in-out infinite;
}

/* ---------- transport ---------- */
.transport {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 10, 8, .82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.t-cover {
  width: 46px; height: 46px; padding: 0; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); cursor: pointer; background: #000; flex: none;
  transition: border-color .2s, transform .15s;
}
.t-cover:hover { border-color: var(--amber); transform: translateY(-1px); }
.t-cover svg { width: 100%; height: 100%; }
.icon-btn {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  color: var(--cream); cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--amber); color: var(--amber-hi); }
.icon-btn .icon { width: 17px; height: 17px; fill: currentColor; }
.icon-btn[aria-pressed="true"] { background: rgba(232, 162, 74, .16); border-color: var(--amber); color: var(--amber); }
.t-play { width: 48px; height: 48px; background: var(--amber); border-color: var(--amber); color: #14100B; }
.t-play:hover { background: var(--amber-hi); color: #14100B; }
.t-play .icon { width: 20px; height: 20px; }
.t-meta { min-width: 0; flex: 0 1 190px; margin: 0 2px; }
.t-title {
  display: block; font: italic 340 16px var(--serif); color: var(--cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.t-cat { display: block; font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 1px; }
.t-time { font-size: 11px; color: var(--muted); flex: none; min-width: 38px; text-align: center; }
#tDur { text-align: left; }
.t-seek { flex: 1 1 200px; min-width: 130px; }
.t-vol { flex: 0 1 92px; min-width: 64px; }
.t-chip {
  flex: none; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber); background: rgba(232, 162, 74, .08);
  border: 1px solid #3E2E1B; border-radius: 999px; padding: 5px 11px;
  max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* range inputs */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 22px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(to right, var(--amber) var(--fill, 0%), #2A1D12 var(--fill, 0%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--amber);
  margin-top: -5px;
  transition: transform .15s;
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: #2A1D12; }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--amber); }
input[type="range"]::-moz-range-thumb {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--amber);
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vh, 130px) var(--pad-x); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vh, 60px); }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.12; margin-bottom: 18px;
  letter-spacing: -.005em; text-wrap: balance;
}
.section .lede { max-width: 56ch; }
.footnote {
  margin-top: 34px; font-size: 12.5px; color: #9C8C74; max-width: 62ch; line-height: 1.7;
}
.hairline { border: 0; border-top: 1px solid var(--line-soft); margin: 40px 0 30px; }

/* ---------- room tour ---------- */
.tour { padding-left: 0; padding-right: 0; }
.tour > .section-head { padding: 0 var(--pad-x); }
.tour-stage { position: relative; height: 100vh; height: 100svh; display: none; overflow: hidden; }
.tour.is-live .tour-stage { display: block; position: sticky; top: 0; }
.tour.is-live .tour-static { display: none; }
.tour-pan {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: calc(100vh * 3.4); width: calc(100svh * 3.4);
  background: #0D0A08;
  will-change: transform;
}
.pan-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour-stop {
  position: absolute; left: var(--x); bottom: 9%;
  width: min(330px, 26vw);
  margin: 0; padding: 20px 22px;
  background: rgba(13, 10, 8, .82); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.tour-stop .stop-index {
  font: 500 10px var(--mono); letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 10px;
}
.tour-stop h3 { font-size: 24px; margin-bottom: 8px; }
.tour-stop p { font-size: 13.5px; color: var(--cream-dim); line-height: 1.6; }
.tour-stop { transition: opacity .45s ease; }
.tour-stop.off { opacity: 0; }
.tour-rail {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.tour-rail span {
  width: 26px; height: 3px; border-radius: 999px; background: #3A2A18;
  transition: background .3s, width .3s;
}
.tour-rail span.on { background: var(--amber); width: 40px; }

/* static fallback (default — upgraded to pan by JS when motion is allowed) */
.tour-static { display: grid; gap: clamp(44px, 7vh, 80px); }
.tour-panel { margin: 0; }
.tour-panel .crop {
  max-width: 780px;
  margin-inline: auto;
  background: var(--ink);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.crop svg { display: block; width: 100%; height: auto; }
.tour-panel figcaption {
  max-width: 560px; padding: 22px var(--pad-x) 0;
}
.tour-panel .stop-index {
  font: 500 10px var(--mono); letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 8px;
}
.tour-panel h3 { font-size: 26px; margin-bottom: 8px; }
.tour-panel p { font-size: 14px; color: var(--cream-dim); }

/* ---------- studies ---------- */
.study-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px);
}
.study-card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: 18px;
  padding: 18px 18px 22px;
  transition: border-color .25s, transform .25s, background .25s;
}
.study-card:hover { border-color: #4A3A26; transform: translateY(-3px); }
.study-card.current { border-color: var(--amber); background: #1B130A; }
.sleeve-wrap {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 0 0 1px #000;
}
.sleeve { width: 100%; height: auto; }
.study-cat { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.study-cat .mono { color: var(--amber); }
.study-meta h3 { font-size: 25px; margin: 8px 0 4px; }
.study-tags { font: 500 11px var(--mono); color: var(--muted); letter-spacing: .04em; margin-bottom: 12px; }
.study-blurb { font-size: 13.5px; color: var(--cream-dim); line-height: 1.65; flex: 1; }
.study-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.on-deck {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  display: inline-flex; align-items: center; gap: 6px;
}
.on-deck::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------- programme ---------- */
.prog-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 34px;
}
.prog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  background: transparent; border: 1px solid var(--line); color: var(--cream-dim);
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
  font: 600 12px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s;
}
.filter-chip:hover { border-color: var(--amber); color: var(--amber-hi); }
.filter-chip.on { background: rgba(232, 162, 74, .12); border-color: var(--amber); color: var(--amber); }

.prog-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.prog-item {
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 22px;
  background: linear-gradient(160deg, #17110A 0%, #120D08 100%);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s, transform .25s;
}
.prog-item:hover { border-color: #4A3A26; transform: translateY(-2px); }
.prog-item.saved { border-color: #5A3E22; }
.prog-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.prog-code { font: 500 10.5px var(--mono); color: #9C8C74; letter-spacing: .08em; }
.prog-cat {
  font: 600 10px var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-deep);
}
.prog-item h3 { font-size: 21px; line-height: 1.25; }
.prog-when { font: 500 11px var(--mono); color: #9C8C74; letter-spacing: .06em; }
.prog-item p.desc { font-size: 13px; color: var(--cream-dim); line-height: 1.6; flex: 1; }
.prog-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.prog-sides { font-size: 11px; color: #9C8C74; }
.save-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid var(--line); color: var(--cream-dim);
  border-radius: 999px; padding: 7px 14px; cursor: pointer;
  font: 600 11.5px var(--sans); letter-spacing: .07em; text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s;
}
.save-btn .icon { width: 13px; height: 13px; fill: currentColor; }
.save-btn:hover { border-color: var(--amber); color: var(--amber-hi); }
.save-btn[aria-pressed="true"] {
  background: rgba(232, 162, 74, .14); border-color: var(--amber); color: var(--amber);
}

/* ---------- drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 3, 2, .66); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .25s;
}
.drawer-backdrop.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(430px, 94vw);
  background: #120D08; border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .32s cubic-bezier(.3, .7, .2, 1);
  box-shadow: -30px 0 70px rgba(0, 0, 0, .5);
}
.drawer.show { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 16px; border-bottom: 1px solid var(--line-soft);
}
.drawer-head h2 { font-size: 24px; }
.drawer-note { font-size: 12px; color: var(--muted); padding: 14px 24px 6px; line-height: 1.6; }
.drawer-list { list-style: none; margin: 0; padding: 10px 24px; overflow-y: auto; flex: 1; }
.drawer-list li {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.drawer-list .when { font: 500 10.5px var(--mono); color: var(--muted); display: block; margin-bottom: 3px; letter-spacing: .06em; }
.drawer-list h3 { font-size: 17px; line-height: 1.3; }
.drawer-list .catline { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); margin-top: 4px; display: block; }
.rm-btn {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
}
.rm-btn:hover { border-color: #C4523A; color: #C4523A; }
.rm-btn .icon { width: 12px; height: 12px; }
.drawer-empty { padding: 26px 24px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.drawer-foot { padding: 16px 24px 22px; border-top: 1px solid var(--line-soft); }

/* ---------- colophon & footer ---------- */
.colo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
.colo-grid h3 {
  font-size: 13px; font-family: var(--sans); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 14px;
}
.colo-grid p { font-size: 14.5px; color: var(--cream-dim); line-height: 1.8; }
.colo-note { font-size: 12.5px; color: #9C8C74; line-height: 1.8; max-width: 78ch; }
.site-foot {
  margin-bottom: 132px; /* keep the colophon clear of the fixed transport */
  padding: 34px var(--pad-x) 26px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px;
}
.wordmark-sm { font-family: var(--serif); font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.site-foot .dim { font-size: 12px; }

.noscript-note {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 85;
  background: #2A1408; color: var(--cream); font-size: 13px;
  padding: 12px 20px; text-align: center;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
/* ---- no-JS graceful degradation: hide controls that need scripts ---- */
.no-js .transport, .no-js .prog-filters, .no-js #progGrid,
.no-js #shortlistOpen, .no-js #shortlistOpen2,
.no-js #ctaPlay, .no-js .study-actions, .no-js .js-only {
  display: none !important;
}
.no-js .tour-stage { display: none; }
.no-js .tour-static { display: grid; }
.prog-noscript { display: none; font-size: 13px; color: #9C8C74; }
.no-js .prog-noscript { display: block; max-width: 62ch; line-height: 1.7; }

@media (max-width: 1100px) {
  .study-grid, .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .t-chip { display: none; }
}
@media (max-width: 900px) {
  .topnav { display: none; }
  .colo-grid { grid-template-columns: 1fr; gap: 26px; }
  .tour-stop { width: min(300px, 40vw); bottom: 7%; }
}
@media (max-width: 700px) {
  /* the hero copy overlays the deck on small screens — drop its micro-print */
  .label-micro { display: none; }
  :root { --transport-h: 128px; }
  .t-vol { display: none; }
  .t-meta { flex: 1 1 120px; }
  .t-title { font-size: 15px; }
  #tDur { display: none; }
  .study-grid, .prog-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: calc(var(--transport-h) + 30px); }
  .hero h1 { font-size: clamp(2.2rem, 9.5vw, 3rem); }
  .prog-tools { flex-direction: column; align-items: flex-start; }
  .section { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 430px) {
  .t-cover { width: 40px; height: 40px; }
  .icon-btn { width: 36px; height: 36px; }
  .t-play { width: 42px; height: 42px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mote, #candleFlame { animation: none !important; }
  #tonearm { transition-duration: 0s !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .study-card:hover, .prog-item:hover, .btn:hover { transform: none; }
  .drawer, .drawer-backdrop { transition: none; }
  .tour-rail span, .tour-stop { transition: none; }
}
