/* =========================================================================
   Philip Bynoe — styles
   Black and white with one warm brass accent. Instrument Serif for display,
   Geist for text, Geist Mono for labels. Motion is slow, eased, and optional.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b0b0a;
  --ink-2: #121210;
  --ink-3: #1b1a18;
  --bone: #f2efe8;
  --bone-2: #e7e2d7;
  --brass: #c9a96a;
  --brass-hi: #e2c78f;
  --brass-deep: #75561f;
  --danger: #a3352b;

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-soft: cubic-bezier(.25, .1, .25, 1);
  --t-fast: .25s;
  --t-med: .6s;
  --t-slow: 1.1s;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1440px;
  --section: clamp(6rem, 13vw, 12rem);
  --header-h: 76px;

  /* Photo grade: natural color, pulled back slightly so stage lighting sits together.
     Archive (family) photos keep their faded warmth. */
  --grade: saturate(.85) contrast(1.04) brightness(.98);
  --grade-archive: saturate(.9) sepia(.06) contrast(1.03);

  /* dark theme by default */
  --bg: var(--ink);
  --bg-2: var(--ink-2);
  --fg: #f4f1ea;
  --muted: #a8a49b;
  --line: rgba(244, 241, 234, .14);
  --line-strong: rgba(244, 241, 234, .32);
  --accent: var(--brass);

  color-scheme: dark;
}
[data-theme="light"] {
  --bg: var(--bone);
  --bg-2: var(--bone-2);
  --fg: #0d0d0c;
  --muted: #57544d;
  --line: rgba(13, 13, 12, .14);
  --line-strong: rgba(13, 13, 12, .34);
  --accent: var(--brass-deep);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .02em; }
.small { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }
.req { color: var(--accent); }
section[data-theme], footer[data-theme] { background: var(--bg); color: var(--fg); position: relative; }
.section { padding-block: var(--section); }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 1000; padding: .75rem 1rem;
  background: var(--bone); color: var(--ink); border-radius: 8px; transition: top var(--t-fast);
}
.skip:focus { top: 1rem; }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: var(--h); padding: 0 1.6rem; border-radius: 999px; isolation: isolate; overflow: hidden;
  font: 500 .9375rem/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  transition: color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform var(--t-med) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent); transform: translateY(101%); transition: transform var(--t-med) var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-solid:hover { color: var(--ink); }
.btn-ghost, .btn-outline { border: 1px solid var(--line-strong); }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--accent); color: var(--ink); }
[data-theme="light"] .btn-ghost:hover, [data-theme="light"] .btn-outline:hover, [data-theme="light"] .btn-solid:hover { color: var(--bone); }
.btn-sm { --h: 42px; padding: 0 1.15rem; font-size: .875rem; }
.btn[disabled] { opacity: .5; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: .45rem; padding-block: .35rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--t-med) var(--ease-out), color var(--t-fast);
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }
.text-link svg { width: 1em; height: 1em; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { border-color: var(--fg); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn-lg { width: 64px; height: 64px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.icon-btn-lg:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.icon-btn-lg svg { width: 22px; height: 22px; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 400 .75rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(201, 169, 106, .5); animation: pulse 2.8s var(--ease-soft) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 169, 106, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(201, 169, 106, 0); } }

/* ---------- Reveal system (only when JS runs) ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform 1.2s var(--ease-out) calc(var(--i, 0) * 55ms); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out) calc(var(--i, 0) * 60ms), transform 1.2s var(--ease-out) calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.unveil { overflow: hidden; position: relative; }
.js [data-unveil] { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); }
.js [data-unveil] img { scale: 1.18; transition: scale 2s var(--ease-out); }
.js [data-unveil].is-in { clip-path: inset(0 0 0 0); }
.js [data-unveil].is-in img { scale: 1; }
[data-parallax] { translate: 0 var(--py, 0px); will-change: translate; }

/* ---------- Intro curtain ---------- */
.intro { display: none; }
.js:not(.seen) .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 900; background: var(--ink); color: #f4f1ea;
  animation: curtain 1s var(--ease-io) 1.55s forwards;
}
.intro-name { font: 400 clamp(2.5rem, 7vw, 5.5rem)/1 var(--serif); letter-spacing: -.01em; }
.intro-name > span { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; }
.intro-name > span > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease-out) calc(.15s + var(--d)) forwards; }
.intro-name em { color: var(--brass); }
.intro-line { display: block; height: 1px; margin-top: 1.25rem; background: var(--brass); transform: scaleX(0); transform-origin: left; animation: draw 1.1s var(--ease-io) .45s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes curtain { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 600; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 500; height: var(--header-h); color: #f4f1ea;
  transition: transform .7s var(--ease-out), background-color .5s, color .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(11, 11, 10, .72); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: rgba(244, 241, 234, .08); }
.site-header.on-light { color: #0d0d0c; }
.site-header.on-light.is-solid { background: rgba(242, 239, 232, .78); border-bottom-color: rgba(13, 13, 12, .08); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%;
  font: italic 400 1rem/1 var(--serif); letter-spacing: .02em; transition: background .4s, color .4s, transform .8s var(--ease-out);
}
.brand:hover .brand-mark { background: var(--brass); border-color: var(--brass); color: var(--ink); transform: rotate(-12deg); }
.brand-name { font: 400 1.3rem/1 var(--serif); letter-spacing: .01em; }
.nav ul { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav a { position: relative; font-size: .875rem; padding-block: .5rem; opacity: .72; transition: opacity var(--t-fast); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--brass); transform: scale(0); transition: transform .5s var(--ease-out);
}
.nav a.is-active::after { transform: scale(1); }
.site-header .btn-outline { border-color: currentColor; border-color: color-mix(in srgb, currentColor 40%, transparent); }
.site-header .btn-outline:hover { color: var(--ink); border-color: var(--brass); }
.site-header .btn-outline::before { background: var(--brass); }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; }
.menu-lines { position: relative; width: 22px; height: 10px; }
.menu-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-lines i:first-child { top: 0; }
.menu-lines i:last-child { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 490; background: var(--ink); color: #f4f1ea;
  display: flex; flex-direction: column; justify-content: center; gap: 3rem; padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu ol { display: grid; gap: .25rem; }
.menu a { display: flex; align-items: baseline; gap: 1rem; font: 400 clamp(2.4rem, 10vw, 3.6rem)/1.1 var(--serif); }
.menu a .mono { color: var(--brass); }
.menu li { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.menu.is-open li { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 45ms); }
.menu .socials { margin-top: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(640px, 100svh); display: flex; align-items: flex-end;
  padding-bottom: clamp(5rem, 11vh, 8rem); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; width: min(100svh * 1.08, 74vw); z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 36% 40%;
  filter: grayscale(1) contrast(1.06) brightness(.94);
  transform: translateY(calc(var(--hero-p, 0) * 12%)) scale(calc(1.02 + var(--hero-p, 0) * .06));
}
.js .hero-media img { animation: push 3.2s var(--ease-out) both; animation-delay: var(--intro-delay, 1.6s); }
.js.seen .hero-media img { --intro-delay: 0s; }
@keyframes push { from { opacity: 0; scale: 1.14; } 30% { opacity: 1; } to { opacity: 1; scale: 1; } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0, rgba(11, 11, 10, 0) 38%); }
.hero-light {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .7;
  background: radial-gradient(480px circle at var(--mx, 52%) var(--my, 30%), rgba(255, 236, 200, .42), transparent 62%);
  transition: opacity 1s;
}
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(5) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }
.hero-inner { position: relative; opacity: calc(1 - var(--hero-p, 0) * 1.6); transform: translateY(calc(var(--hero-p, 0) * -60px)); }
.hero-eyebrow { margin-bottom: clamp(1.25rem, 3vh, 2rem); }
.hero-title { font: 400 clamp(4.5rem, 14.5vw, 15.5rem)/.84 var(--serif); letter-spacing: -.035em; margin-left: -.04em; }
.hero-title .hl { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.12em; }
.hero-title .hl:nth-child(2) { padding-left: clamp(2rem, 9vw, 9rem); }
.hero-title .hl > span { display: inline-block; }
.hero-title em { font-style: italic; }
.js .hero-title .hl > span { transform: translateY(105%); animation: rise 1.4s var(--ease-out) calc(var(--intro-delay, 1.6s) + var(--d)) forwards; }
.js [data-hero-in] { opacity: 0; transform: translateY(18px); animation: fadeUp 1.2s var(--ease-out) calc(var(--intro-delay, 1.6s) + var(--d)) forwards; }
.js.seen { --intro-delay: .1s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-creds { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-top: clamp(1.5rem, 4vh, 2.5rem); font: 400 .75rem/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #d9d5cc; }
.hero-creds i { width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: clamp(2rem, 5vh, 3rem); }
.play-cta { display: inline-flex; align-items: center; gap: 1rem; text-align: left; }
.play-ring {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, .4); transition: background .6s var(--ease-out), border-color .6s, color .6s, transform .6s var(--ease-out);
}
.play-ring::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(201, 169, 106, .45); opacity: 0; transform: scale(.85); transition: opacity .6s, transform .8s var(--ease-out); }
.play-cta:hover .play-ring { background: var(--brass); border-color: var(--brass); color: var(--ink); transform: scale(1.05); }
.play-cta:hover .play-ring::after { opacity: 1; transform: scale(1); }
.play-ring svg { width: 20px; height: 20px; margin-left: 2px; }
.play-cta .mono { display: block; color: var(--muted); margin-bottom: .3rem; }
.play-cta-title { display: block; font: 400 1.35rem/1.1 var(--serif); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(2rem, 5vh, 3rem); display: flex; flex-direction: column; align-items: center; gap: .9rem; color: var(--muted); font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue .mono { writing-mode: vertical-rl; }
.cue-line { position: relative; width: 1px; height: 64px; background: rgba(244, 241, 234, .18); overflow: hidden; }
.cue-line::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: translateY(-100%); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(6rem, 16vw, 14rem); }
.statement-quote p { font: 400 clamp(2.1rem, 5.4vw, 5.25rem)/1.08 var(--serif); letter-spacing: -.015em; max-width: 18ch; text-wrap: balance; }
.statement-quote p::before { content: "\201C"; color: var(--brass); margin-left: -.42em; }
.js .sw { opacity: .16; transition: opacity .5s var(--ease-soft); }
.js .sw.on { opacity: 1; }
.statement-quote footer { margin-top: 2.5rem; color: var(--muted); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Section heads ---------- */
.sec-head { margin-bottom: clamp(3rem, 7vw, 6rem); }
.sec-index { color: var(--muted); font: 400 .75rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.5rem; }
.sec-index .mono { color: var(--accent); margin-right: .4rem; }
.sec-title { font: 400 clamp(3.25rem, 8.6vw, 8.5rem)/.92 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.sec-sub { margin-top: 1.5rem; color: var(--muted); font-size: 1.0625rem; max-width: 46ch; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 52ch; }

/* ---------- Listen / player ---------- */
.player { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.player-art { position: sticky; top: calc(var(--header-h) + 2rem); }
.cover { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--ink-3); transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(244, 241, 234, .06); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease-soft), transform 1.2s var(--ease-out); }
.cover.is-swapping img { opacity: 0; transform: scale(1.04); }
.cover-sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, .14), transparent 45%); mix-blend-mode: screen; }
.cover-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(244, 241, 234, .03) 14px 15px); }
.viz { display: block; width: 100%; height: 72px; margin-top: 1.5rem; }
.album-tabs { display: flex; flex-wrap: wrap; gap: .5rem 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.album-tab { position: relative; display: inline-flex; align-items: baseline; gap: .7rem; padding: .6rem 0 1.1rem; color: var(--muted); transition: color var(--t-fast); }
.album-tab-title { font: 400 1.6rem/1 var(--serif); }
.album-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-out); }
.album-tab:hover { color: var(--fg); }
.album-tab[aria-selected="true"] { color: var(--fg); }
.album-tab[aria-selected="true"]::after { transform: scaleX(1); transform-origin: left; }
.album-panel { transition: opacity .45s var(--ease-soft), transform .6s var(--ease-out); }
.album-panel.is-swapping { opacity: 0; transform: translateY(10px); }
.album-meta .mono { color: var(--accent); }
.album-title { font: 400 clamp(2.4rem, 4.2vw, 3.6rem)/1 var(--serif); letter-spacing: -.02em; margin: .9rem 0 1rem; }
.album-note { color: var(--muted); max-width: 52ch; }
.album-meta .text-link { margin-top: 1rem; font-size: .9375rem; }
.tracklist { margin-top: 2.5rem; border-top: 1px solid var(--line); counter-reset: t; }
.track { border-bottom: 1px solid var(--line); }
.track-btn {
  position: relative; width: 100%; display: grid; grid-template-columns: 2.75rem 1fr auto; align-items: center; gap: 1rem;
  min-height: 64px; padding: .75rem .25rem; text-align: left; transition: padding .6s var(--ease-out), color var(--t-fast);
}
.track-btn::before { content: ""; position: absolute; inset: 0; background: rgba(244, 241, 234, .035); opacity: 0; transition: opacity var(--t-fast); }
.track-btn:hover { padding-left: 1rem; }
.track-btn:hover::before { opacity: 1; }
.track-num { position: relative; width: 1.75rem; height: 1.25rem; font: 400 .8125rem/1.25rem var(--mono); color: var(--muted); }
.track-num .n, .track-num .ic, .track-num .eq { position: absolute; inset: 0; display: flex; align-items: center; transition: opacity .25s, transform .4s var(--ease-out); }
.track-num .ic, .track-num .eq { opacity: 0; }
.track-num .ic svg { width: 14px; height: 14px; }
.track-btn:hover .n { opacity: 0; transform: translateY(-6px); }
.track-btn:hover .ic { opacity: 1; color: var(--fg); }
.track.is-current .n, .track.is-current .ic { opacity: 0; }
.track.is-current .eq { opacity: 1; }
.track.is-current .track-title { color: var(--accent); }
.eq { gap: 2px; align-items: flex-end !important; padding-bottom: 3px; }
.eq i { width: 2px; height: 100%; background: var(--accent); transform-origin: bottom; transform: scaleY(.3); }
.is-playing .track.is-current .eq i { animation: eq 1s var(--ease-soft) infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.4s !important; }
.eq i:nth-child(3) { animation-delay: -.7s !important; }
@keyframes eq { 0% { transform: scaleY(.25); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.45); } }
.track-title { font: 400 1.35rem/1.2 var(--serif); transition: color var(--t-fast); }
.track-sub { display: block; font: 400 .8125rem/1.4 var(--sans); color: var(--muted); margin-top: .2rem; }
.badge-e { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: .5rem; border: 1px solid var(--line-strong); border-radius: 3px; font: 500 .5625rem/1 var(--mono); color: var(--muted); vertical-align: 3px; }
.track-dur { font: 400 .8125rem/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.tracklist-empty { padding: 2rem 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.transport { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "now controls" "seek seek" "note note"; gap: 1.5rem 2rem; align-items: center;
  padding: 1.75rem; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(244, 241, 234, .03), rgba(244, 241, 234, 0)); }
.now { grid-area: now; min-width: 0; }
.now .mono { color: var(--muted); }
.now-title { font: 400 1.5rem/1.2 var(--serif); margin-top: .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.controls { grid-area: controls; display: flex; align-items: center; gap: .75rem; }
.seekbar { grid-area: seek; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; color: var(--muted); }
.seek-wrap { position: relative; height: 24px; display: flex; align-items: center; }
.seek-wrap::before { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.seek-fill { position: absolute; left: 0; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--seek, 0)); pointer-events: none; }
.seek { position: relative; z-index: 1; width: 100%; height: 24px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.seek::-webkit-slider-runnable-track { height: 24px; background: transparent; }
.seek::-moz-range-track { height: 24px; background: transparent; }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--fg); transform: scale(0); transition: transform .3s var(--ease-out); }
.seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--fg); transform: scale(0); transition: transform .3s var(--ease-out); }
.seek-wrap:hover .seek::-webkit-slider-thumb, .seek:focus-visible::-webkit-slider-thumb { transform: scale(1); }
.seek-wrap:hover .seek::-moz-range-thumb, .seek:focus-visible::-moz-range-thumb { transform: scale(1); }
.placeholder-note { grid-area: note; color: var(--muted); letter-spacing: .08em; text-transform: none; font-size: .75rem; }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 7vw, 7rem); }
.story-media { position: relative; }
.story-frame { position: sticky; top: calc(var(--header-h) + 3vh); height: calc(100svh - var(--header-h) - 8vh); border-radius: 4px; overflow: hidden; background: var(--bone-2); }
.story-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--grade-archive);
  opacity: 0; transform: scale(1.08); transition: opacity 1.1s var(--ease-soft), transform 2.2s var(--ease-out); }
.story-frame img.is-on { opacity: 1; transform: scale(1); }
.story-count { position: absolute; left: 1.25rem; bottom: 1.25rem; padding: .5rem .8rem; border-radius: 999px; background: rgba(242, 239, 232, .88); color: #0d0d0c; font-size: .75rem; letter-spacing: .12em; }
.chapters { display: grid; }
.chapter { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; padding-block: 3rem; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: 0; min-height: 60svh; justify-content: flex-start; }
.chapter-img { display: none; }
.chapter-kicker { color: var(--muted); margin-bottom: 1.25rem; }
.chapter-kicker span { color: var(--accent); margin-right: .5rem; }
.chapter-title { font: 400 clamp(2.2rem, 3.6vw, 3.4rem)/1.02 var(--serif); letter-spacing: -.02em; margin-bottom: 1.5rem; text-wrap: balance; }
.chapter-body { font-size: 1.125rem; line-height: 1.7; max-width: 44ch; color: #2b2a27; }

/* ---------- Credits ---------- */
.names { display: flex; flex-wrap: wrap; gap: .1em .55em; font: 400 clamp(2.1rem, 5.6vw, 5.4rem)/1.08 var(--serif); letter-spacing: -.02em; margin-bottom: clamp(5rem, 10vw, 9rem); }
.names li { transition: opacity .6s var(--ease-out), color .6s var(--ease-out), transform 1.2s var(--ease-out); }
.names li:not(:last-child)::after { content: "/"; margin-left: .55em; color: var(--brass); opacity: .6; font-style: italic; }
.names li:nth-child(odd) { font-style: italic; }
@media (hover: hover) {
  .names:hover li { opacity: .22; }
  .names li:hover { opacity: 1; color: var(--brass-hi); }
}
.disc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.disc-title { font: 400 2rem/1 var(--serif); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 38px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; color: var(--muted); transition: all .4s var(--ease-out); }
.chip:hover { border-color: var(--line-strong); color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.disc-row { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(7rem, 2fr); gap: 1rem 2rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease-out); }
.disc-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 1px; background: var(--brass); transform: scaleY(0); transition: transform .6s var(--ease-out); }
.disc-row:hover { padding-left: 1.25rem; }
.disc-row:hover::before { transform: scaleY(1); }
.disc-row.is-entering { animation: rowIn .7s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(12px); } }
.disc-artist { font: 400 1.6rem/1.15 var(--serif); }
.disc-titles { color: var(--muted); font-size: .9375rem; }
.disc-titles i { font-style: normal; opacity: .5; }
.disc-genre { color: var(--muted); text-align: right; }
.disc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.5rem; }
.disc-foot .mono { color: var(--accent); }

/* ---------- Stage (horizontal) ---------- */
.stage { padding-block: 0; }
.stage-pin { position: relative; }
.stage-sticky { padding-block: var(--section); }
.stage-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.stage-head .sec-head { margin-bottom: 3.5rem; }
.stage-hint { display: none; align-items: center; gap: .5rem; color: var(--muted); margin-bottom: 3.75rem; }
.stage-hint svg { width: 16px; height: 16px; animation: nudge 2s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.stage-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.shot-btn { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 4px; background: var(--ink-3); cursor: zoom-in; }
.shot-btn img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: var(--grade); transition: transform 1.6s var(--ease-out); }
.shot { transition: opacity .8s var(--ease-out); }
.shot-btn:hover img, .shot-btn:focus-visible img { transform: scale(1.05); }
/* Spotlight: the photo under the pointer (or keyboard focus) stays bright, the others dim back. */
@media (hover: hover) {
  .stage-track:has(.shot-btn:hover) .shot:not(:has(.shot-btn:hover)) { opacity: .35; }
}
.stage-track:has(.shot-btn:focus-visible) .shot:not(:has(.shot-btn:focus-visible)) { opacity: .35; }
.shot-cap { display: flex; gap: .75rem; margin-top: .9rem; color: var(--muted); }
.shot-cap span { color: var(--accent); }
/* Pinned horizontal mode, turned on by app.js on wide screens with motion allowed */
.is-hscroll .stage-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: calc(var(--header-h) + 1rem) 2rem; }
.is-hscroll .stage-hint { display: inline-flex; }
.is-hscroll .stage-track { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); max-width: none; margin: 0; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); width: max-content; transform: translate3d(calc(var(--hx, 0) * -1px), 0, 0); will-change: transform; }
.is-hscroll .shot { flex: none; }
.is-hscroll .shot-btn img { height: min(50svh, 580px); width: auto; aspect-ratio: auto; }
.is-hscroll .shot:nth-child(even) { margin-top: 5svh; }
.is-hscroll .shot:nth-child(3n) .shot-btn img { height: min(42svh, 480px); }

/* ---------- Tour ---------- */
.tour { border-top: 1px solid var(--line); }
.shows { border-top: 1px solid var(--line); }
.show { display: grid; grid-template-columns: minmax(9rem, 2fr) minmax(0, 6fr) auto; gap: 1rem 2rem; align-items: center; padding: 1.75rem 0; border-bottom: 1px solid var(--line); transition: background .4s; }
.show:hover { background: rgba(244, 241, 234, .025); }
.show-date { display: flex; align-items: center; gap: 1rem; }
.show-day { font: 400 3.4rem/1 var(--serif); }
.show-date .mono { color: var(--muted); line-height: 1.6; }
.show-venue { font: 400 1.75rem/1.15 var(--serif); }
.show-meta { color: var(--muted); font-size: .9375rem; margin-top: .25rem; }
.show.is-canceled .show-day, .show.is-canceled .show-venue { opacity: .45; }
.tag { display: inline-block; padding: .4rem .75rem; border: 1px solid var(--line-strong); border-radius: 999px; font: 400 .6875rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.tour-empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.tour-empty-lead { font: 400 clamp(2rem, 4.2vw, 3.8rem)/1.08 var(--serif); letter-spacing: -.015em; max-width: 22ch; }
.recent { display: grid; grid-template-columns: minmax(9rem, 2fr) minmax(0, 8fr); gap: 1rem 2rem; margin-top: 2.5rem; }
.recent ul { display: grid; }
.recent li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.recent li .mono { color: var(--accent); }
.recent-title { font: 400 1.35rem/1.2 var(--serif); }

/* ---------- Gear ---------- */
.gear-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.gear-feature { position: sticky; top: calc(var(--header-h) + 2rem); }
.gear-feature .unveil { aspect-ratio: 1; border-radius: 4px; }
.gear-feature img { width: 100%; height: 115%; object-fit: cover; filter: var(--grade); }
.gear-feature figcaption { margin-top: 1.75rem; }
.gear-feature-title { font: 400 2rem/1 var(--serif); margin-bottom: .75rem; }
.gear-feature figcaption p { color: var(--muted); max-width: 44ch; }
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands a, .brands li > div { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; min-height: 9.5rem; padding: 1.5rem; overflow: hidden; isolation: isolate; transition: color .6s var(--ease-out); }
.brands a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #0d0d0c; transform: translateY(101%); transition: transform .7s var(--ease-out); }
.brands a:hover { color: var(--bone); }
.brands a:hover::before { transform: none; }
.brand-title { font: 400 clamp(1.4rem, 2.1vw, 1.9rem)/1.05 var(--serif); }
.brands .mono { color: var(--muted); transition: color .6s; }
.brands a:hover .mono { color: var(--brass); }
.brand-out { position: absolute; top: 1.25rem; right: 1.25rem; opacity: 0; transform: translate(-6px, 6px); transition: opacity .5s, transform .6s var(--ease-out); }
.brands a:hover .brand-out { opacity: 1; transform: none; color: var(--brass); }

/* ---------- Teaching ---------- */
.teaching-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.teaching-media .unveil { aspect-ratio: 4 / 5; border-radius: 4px; }
.teaching-media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; filter: var(--grade); }
.teaching .sec-head { margin-bottom: 2.5rem; }
.teaching .sec-title { font-size: clamp(3rem, 6.4vw, 6.4rem); }
.offerings { margin: 3rem 0 3rem; border-top: 1px solid var(--line); }
.offerings li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.offerings .mono { color: var(--accent); padding-top: .45rem; }
.offerings h3 { font: 400 1.5rem/1.15 var(--serif); margin-bottom: .35rem; }
.offerings p { color: var(--muted); font-size: .9688rem; }

/* ---------- Press ---------- */
.press { background: var(--ink-2); }
.press-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.press-feature-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.press-feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: var(--grade); transition: transform 1.6s var(--ease-out); }
.press-feature:hover .press-feature-media img { transform: scale(1.05); }
.press-play { position: absolute; left: 1.5rem; bottom: 1.5rem; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(244, 241, 234, .12); border: 1px solid rgba(244, 241, 234, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f4f1ea; transition: transform .8s var(--ease-out), background .6s, color .6s, border-color .6s; }
.press-play svg { width: 24px; height: 24px; margin-left: 3px; }
.press-feature:hover .press-play, .yt-btn:hover .press-play { transform: scale(1.1); background: var(--brass); border-color: var(--brass); color: var(--ink); }
.press-feature-body .mono { color: var(--accent); }
.press-feature-body h3 { font: 400 clamp(2rem, 3.6vw, 3.25rem)/1.05 var(--serif); letter-spacing: -.015em; margin: 1rem 0 .75rem; text-wrap: balance; }
.press-feature-body .text-link { margin-top: 1.5rem; }
.press-list { border-top: 1px solid var(--line); }
.press-list a { position: relative; display: grid; grid-template-columns: minmax(10rem, 3fr) minmax(0, 7fr) minmax(7rem, 2fr) 2rem; gap: 1rem 2rem; align-items: baseline; padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease-out); }
.press-list a:hover { padding-left: 1.25rem; }
.press-outlet { color: var(--accent); }
.press-title { font: 400 1.45rem/1.2 var(--serif); }
.press-out { justify-self: end; opacity: .4; transition: opacity .4s, transform .6s var(--ease-out); }
.press-list a:hover .press-out { opacity: 1; transform: translate(3px, -3px); color: var(--brass); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 2rem; margin-bottom: 4rem; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; }
.yt-btn, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade) brightness(.85); }
.video-title { margin-top: .9rem; font: 400 1.25rem/1.2 var(--serif); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.contact .sec-title { font-size: clamp(3rem, 6.6vw, 6.6rem); }
.contact .socials { margin-top: 2.5rem; }
.inquiry { display: grid; gap: 1.75rem; }
.types { border: 0; margin: 0; padding: 0; }
.types legend { color: var(--muted); margin-bottom: 1rem; padding: 0; }
.type-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.type-opt { position: relative; cursor: pointer; }
.type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.15rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9375rem; transition: all .45s var(--ease-out); }
.type-opt:hover span { border-color: var(--fg); }
.type-opt input:checked + span { background: #0d0d0c; color: var(--bone); border-color: #0d0d0c; }
.type-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.6rem 0 .7rem; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; color: var(--fg); font: 400 1.0625rem/1.4 var(--sans); outline: none; resize: vertical;
  transition: background-size .7s var(--ease-out), border-color .4s;
}
.field input:focus, .field textarea:focus { background-size: 100% 1px; }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--accent); }
.field textarea { min-height: 9rem; }
.field label { position: absolute; left: 0; top: 1.6rem; color: var(--muted); font-size: 1.0625rem; pointer-events: none; transform-origin: left top; transition: transform .5s var(--ease-out), color .4s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-1.35rem) scale(.78); color: var(--fg); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--danger); }
.field-err { color: var(--danger); font-size: .875rem; margin-top: .45rem; min-height: 0; }
.field-err:empty { display: none; }
.field-help { color: var(--muted); font-size: .8125rem; margin-top: .45rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: .75rem; }
.form-status { font-size: .9375rem; color: var(--muted); }
.form-status.is-ok { color: var(--fg); }
.form-status.is-err { color: var(--danger); }
.btn-submit.is-loading .btn-label::after { content: ""; display: inline-block; width: .9em; height: .9em; margin-left: .7rem; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.inquiry.is-sent .types, .inquiry.is-sent .field-row, .inquiry.is-sent > .field { opacity: .4; pointer-events: none; transition: opacity .6s; }

.socials { display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .4s, background .4s, color .4s, transform .6s var(--ease-out); }
.socials a:hover { border-color: var(--accent); background: var(--accent); color: var(--bg); transform: translateY(-3px); }
[data-theme="light"] .socials a:hover { color: var(--bone); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(4rem, 8vw, 7rem); overflow: hidden; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 2rem; align-items: start; }
.footer-cta { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.3 var(--serif); }
.footer-cta .text-link { font-family: var(--sans); font-size: 1rem; margin-left: .25rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: .4rem 3rem; }
.footer-nav a { color: var(--muted); font-size: .9375rem; transition: color .3s; }
.footer-nav a:hover { color: var(--fg); }
.wordmark { display: flex; justify-content: space-between; gap: .2em; margin: clamp(3rem, 8vw, 7rem) 0 1rem; font: 400 clamp(4rem, 17.5vw, 19rem)/.8 var(--serif); letter-spacing: -.045em; white-space: nowrap; }
.wordmark span { display: inline-block; }
.wordmark em { color: var(--brass); }
.js .wordmark span { transform: translateY(40%); opacity: 0; transition: transform 1.6s var(--ease-out), opacity 1.2s var(--ease-out); }
.js .wordmark span:nth-child(2) { transition-delay: .12s; }
.js .wordmark.is-in span { transform: none; opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: .5rem; transition: color .3s; }
.to-top svg { width: 14px; height: 14px; transform: rotate(-90deg); }
.to-top:hover { color: var(--fg); }

/* ---------- Mini player ---------- */
.mini {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 450; display: flex; align-items: center; gap: 1rem;
  width: min(440px, calc(100vw - 2rem)); padding: .6rem .6rem .6rem .6rem; border-radius: 999px; color: #f4f1ea;
  background: rgba(20, 20, 18, .78); border: 1px solid rgba(244, 241, 234, .12); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  transform: translate(-50%, 160%); transition: transform .8s var(--ease-out);
}
.mini.is-up { transform: translate(-50%, 0); }
.mini .icon-btn { border-color: rgba(244, 241, 234, .2); }
.mini .icon-btn:first-child { background: #f4f1ea; color: var(--ink); }
.mini-text { min-width: 0; flex: 1; }
.mini-text .mono { color: #a8a49b; font-size: .625rem; }
.mini-title { font: 400 1.05rem/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 0; height: 1px; overflow: hidden; }
.mini-bar span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(var(--seek, 0)); }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 7, .96); color: #f4f1ea; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .5s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { display: grid; justify-items: center; gap: 1rem; padding: 4.5rem 5rem 2rem; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; animation: lbImg .7s var(--ease-out); }
@keyframes lbImg { from { opacity: 0; transform: scale(.97); } }
.lightbox figcaption { color: #a8a49b; }
.lightbox .icon-btn { position: absolute; border-color: rgba(244, 241, 234, .25); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; margin-top: -22px; }
.lb-next { right: 1.25rem; top: 50%; margin-top: -22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  .player, .gear-grid, .teaching-grid, .contact-grid, .press-feature { grid-template-columns: 1fr; }
  .player-art { position: static; max-width: 520px; }
  .gear-feature { position: static; }
  .story-grid { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .chapter { min-height: 0; padding-block: 3rem; }
  .chapter:first-child { min-height: 0; }
  .chapter-img { display: block; margin-bottom: 2rem; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
  .chapter-img img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade-archive); }
  .footer-top { grid-template-columns: 1fr; }
  .tour-empty { grid-template-columns: 1fr; align-items: start; }
  .recent { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .brand-name { display: none; }
  .hero { align-items: flex-end; padding-bottom: 3rem; }
  .hero-media { left: 0; width: 100%; bottom: auto; height: 74svh;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
  .hero-media img { object-position: 30% 30%; }
  .hero-title .hl:nth-child(2) { padding-left: 1.2rem; }
  .hero-creds { gap: .35rem .8rem; font-size: .6875rem; }
  .scroll-cue { display: none; }
  .transport { grid-template-columns: 1fr; grid-template-areas: "now" "seek" "controls" "note"; padding: 1.25rem; }
  .controls { justify-content: center; }
  .disc-row { grid-template-columns: 1fr; gap: .4rem; }
  .disc-genre { text-align: left; }
  .stage-track { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .field-row { grid-template-columns: 1fr; }
  .show { grid-template-columns: 1fr; gap: .75rem; }
  .press-list a { grid-template-columns: 1fr auto; }
  .press-list .press-outlet { grid-column: 1 / -1; }
  .press-list a > .mono.muted { grid-column: 1; }
  .press-out { grid-row: 2; grid-column: 2; }
  .recent li { grid-template-columns: 1fr; gap: .25rem; }
  .brands { grid-template-columns: 1fr 1fr; }
  .brands a, .brands li > div { min-height: 7.5rem; padding: 1.1rem; }
  .lightbox figure { padding: 4rem 1rem 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1.25rem; margin: 0; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js:not(.seen) .intro { display: none; }
  .js [data-split] .w > span, .js [data-reveal], .js [data-unveil], .js [data-unveil] img, .js .wordmark span,
  .js .hero-title .hl > span, .js [data-hero-in] { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .js .sw { opacity: 1; }
  .grain { display: none; }
  .hero-media img { transform: none; animation: none; }
  .hero-inner { opacity: 1; transform: none; }
  [data-parallax] { translate: none !important; }
  .js [data-unveil] img { scale: 1 !important; }
}
