/* =====================================================
   Joseph Sarenhes — Portfolio
   Palette: noir charbon + blanc cassé + ocre + rouge wendat
   Type: Space Grotesk (display) + IBM Plex Mono (labels)
   ===================================================== */

:root {
  --bg: #0a0908;
  --bg-2: #12110f;
  --bg-3: #1a1815;
  --fg: #f4f1ea;
  --fg-dim: #a8a39a;
  --fg-mute: #6b665d;
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.28);
  --ocre: #c67b3a;           /* oklch(0.68 0.13 55) approx */
  --ocre-soft: #a96a32;
  --rouge: #a84230;          /* oklch(0.52 0.17 30) approx */
  --wampum: #eceae4;

  --ff-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --chrome-h: 64px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
body {
  font-family: var(--ff-display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.3;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
em { font-style: normal; color: var(--fg-dim); font-family: var(--ff-mono); font-size: 0.85em; letter-spacing: 0.02em; }
strong { font-weight: 500; color: var(--ocre); }

/* ================= GRAIN ================= */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1000;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.45;
}

/* ================= THREE CANVAS ================= */
#three-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ================= CHROME ================= */
.chrome {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--chrome-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  z-index: 500;
  mix-blend-mode: difference;
  color: var(--fg);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chrome-left { display: flex; align-items: center; gap: 10px; }
.sig { font-weight: 500; letter-spacing: 0.14em; }
.sig-dot { width: 4px; height: 4px; background: var(--ocre); border-radius: 50%; }
.sig-name { opacity: 0.7; }

.chrome-nav {
  display: flex; gap: 24px;
  justify-self: center;
}
.chrome-nav a { position: relative; padding: 4px 2px; opacity: 0.85; }
.chrome-nav a:hover { opacity: 1; color: var(--ocre); }
.chrome-nav a em { margin-left: 4px; text-transform: none; letter-spacing: 0; font-size: 11px; color: inherit; opacity: 0.6; }

.chrome-right { display: flex; justify-content: flex-end; }
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--line-strong); padding: 2px; border-radius: 2px; }
.lang-switch button { padding: 4px 8px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; opacity: 0.6; }
.lang-switch button.is-active { background: var(--fg); color: var(--bg); opacity: 1; }

/* ================= HUD ================= */
.hud-left, .hud-right {
  position: fixed; top: 50%; transform: translateY(-50%);
  z-index: 300;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 14px;
  mix-blend-mode: difference;
  color: var(--fg);
}
.hud-left { left: 24px; }
.hud-right { right: 24px; text-align: right; }
.hud-line { display: flex; align-items: baseline; gap: 8px; }
.hud-line.ar { justify-content: flex-end; }
.hud-k { color: var(--ocre); }
.hud-v { color: var(--fg); }

/* ================= RAIL ================= */
.rail {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: transparent; z-index: 600;
}
.rail-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--rouge), var(--ocre));
  transition: width 120ms linear;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--chrome-h) + 40px) clamp(64px, 10vw, 120px) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  background: transparent !important;
}

/* side banners (vertical scrolling text on each edge) */
.side-banner {
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  z-index: 5;
  overflow: hidden;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  mix-blend-mode: difference;
}
.side-banner-l { left: 40px; }
.side-banner-r { right: 40px; }
.sb-track {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  animation: sb-scroll 60s linear infinite;
  padding: 40vh 0;
}
.sb-track.rev { animation-direction: reverse; }
@keyframes sb-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.tag-sub {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
  text-transform: uppercase;
  padding-left: 32px;
  margin-top: 6px;
}

/* SPLIT TITLE */
.hero-title .line[data-split] {
  display: flex;
  gap: 0.02em;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.hero-title .split-char {
  display: inline-block;
  position: relative;
  transform: translateY(110%);
  opacity: 0;
  animation: char-in 1.1s var(--ease-out-expo) forwards;
}
.hero-title .split-char.sp { width: 0.3em; }
@keyframes char-in {
  to { transform: translateY(0); opacity: 1; }
}

.line-sub {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-left: 32px;
  margin-top: 28px;
  font-size: clamp(14px, 1.2vw, 20px);
  font-family: var(--ff-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  opacity: 0;
  animation: fade-in 1s ease 1.2s forwards;
}
.ls-bar {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ocre), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: bar-grow 1.4s var(--ease-out-expo) 1.0s forwards;
}
.line-sub .ls-bar:last-child { transform-origin: right; }
@keyframes bar-grow { to { transform: scaleX(1); } }
@keyframes fade-in { to { opacity: 1; } }

/* MORPH WORD */
.hero-morph {
  position: absolute;
  right: 100px;
  top: 40%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--ff-mono);
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  animation: fade-in 1s ease 1.6s forwards;
}
.morph-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ocre);
  margin-bottom: 8px;
}
.morph-word {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 72px);
  letter-spacing: -0.02em;
  color: var(--fg);
  font-style: italic;
  min-width: 5ch;
  text-align: right;
}
.morph-cursor {
  color: var(--ocre);
  animation: blink 0.8s steps(2) infinite;
  font-size: clamp(36px, 4.5vw, 72px);
}
@keyframes blink { 50% { opacity: 0; } }

/* data-reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease-out-expo), transform 900ms var(--ease-out-expo);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
.hero-grid {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 48px;
  flex: 1;
}
.hero-meta { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ocre); text-transform: uppercase; }
.tag { padding-left: 32px; }

.hero-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(56px, 13vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  padding-left: 32px;
  padding-right: 32px;
  padding-top: 40px;
  color: var(--fg);
  position: relative;
  z-index: 3;
  pointer-events: none;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero-title .line {
  display: block;
  position: relative;
  overflow: hidden;
}

.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 48px;
  padding-left: 32px;
  padding-bottom: 16px;
  align-items: end;
}
.hero-col { display: flex; flex-direction: column; gap: 10px; max-width: 280px; }
.hero-col .k { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ocre); text-transform: uppercase; }
.hero-col .v { font-size: 14px; color: var(--fg-dim); line-height: 1.5; }

.hero-scroll {
  justify-self: end;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim);
}
.hero-scroll svg { width: 14px; height: 22px; }
.hero-scroll svg path { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: 0.3; } 50% { transform: translateY(4px); opacity: 1; } }

.variant-switch {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 6px; border-radius: 2px;
  backdrop-filter: blur(8px);
  background: rgba(10,9,8,0.4);
  z-index: 50;
}
.variant-switch .vs-k { color: var(--ocre); padding: 0 10px 0 6px; }
.variant-switch button { padding: 6px 12px; border-radius: 2px; color: var(--fg-dim); }
.variant-switch button:hover { color: var(--fg); }
.variant-switch button.is-active { background: var(--fg); color: var(--bg); }

/* ================= MARQUEE ================= */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  background: var(--bg-2);
  z-index: 2;
}
.marquee-track {
  display: flex; gap: 40px;
  white-space: nowrap;
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
  animation: scroll 42s linear infinite;
  width: max-content;
}
.marquee-track .dot { color: var(--ocre); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================= SECTION HEADS ================= */
.sec-head {
  display: flex; align-items: baseline; gap: 24px;
  padding: 40px 80px 32px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 2;
}
.sec-num { color: var(--ocre); }
.sec-name { color: var(--fg); }
.sec-counter { margin-left: auto; color: var(--fg-dim); }

section {
  position: relative;
  background: var(--bg);
  z-index: 2;
}

/* ================= ABOUT ================= */
.about { padding-bottom: 120px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: 60px 80px;
  padding: 80px 80px 0;
  align-items: start;
}
.about-intro { grid-column: 1 / -1; }
.about-intro .over { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--fg-dim); display: inline; text-transform: uppercase; }
.about-intro .lead {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5.2vw, 82px);
  font-weight: 400; letter-spacing: -0.03em; line-height: 1;
  color: var(--fg); display: inline-block;
  margin: 0 6px;
  text-transform: none;
}
.about-intro .ovr { text-transform: none; font-size: inherit; }
.about-intro .over { font-size: clamp(32px, 5.2vw, 82px); font-family: var(--ff-display); letter-spacing: -0.03em; line-height: 1.1; color: var(--fg-mute); text-transform: none; }

/* Inline logo replacing "Joseph Sarenhes" text in bio */
.about-intro .bio-logo {
  display: inline-block;
  vertical-align: baseline;
  height: 0.85em;
  margin: 0 0.15em -0.05em 0;
  position: relative;
  top: 0.02em;
}
.about-intro .bio-logo img {
  height: 100%;
  width: auto;
  display: block;
}

@media (max-width: 720px) {
  .about-intro .lead, .about-intro .over { font-size: clamp(28px, 8.5vw, 44px); margin: 0 3px; line-height: 1.05; }
}

.about-media { grid-row: 2 / 4; grid-column: 2; }
.about-body { grid-row: 2; grid-column: 1; display: flex; flex-direction: column; gap: 20px; max-width: 620px; }
.about-body p { font-size: 17px; line-height: 1.55; color: var(--fg-dim); }
.about-body .quote {
  font-family: var(--ff-display); font-weight: 300;
  font-size: 26px; line-height: 1.3; color: var(--fg);
  padding-top: 20px; border-top: 1px solid var(--line);
  font-style: italic;
}
.about-side {
  grid-row: 3; grid-column: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .s-n { font-family: var(--ff-display); font-size: 56px; font-weight: 300; letter-spacing: -0.03em; color: var(--ocre); line-height: 1; }
.stat .s-l { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); line-height: 1.4; }

/* placeholders */
.ph {
  position: relative; overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.ph-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 16px,
    rgba(198, 123, 58, 0.08) 16px 17px
  );
}
.ph-label {
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim);
  gap: 8px;
}
.ph-label .ph-k { color: var(--ocre); }
.ph-label .ph-v { color: var(--fg); flex: 1; padding: 0 8px; }
.ph-label .ph-r { color: var(--fg-mute); }
.ph-portrait { aspect-ratio: 3 / 4; width: 100%; }
.ph-cover { aspect-ratio: 1 / 1; width: 100%; }
.ph.tone-b { background: linear-gradient(135deg, #1a1815, #3a2418); }
.ph.tone-c { background: linear-gradient(135deg, #0f0e0c, #2a1a10); }
.ph.tone-d { background: linear-gradient(135deg, #1a1815, #0f0e0c); }
.ph.tone-e { background: linear-gradient(135deg, #2a1a10, #1a1815); }

/* ================= HERITAGE ================= */
.heritage {
  padding-bottom: 120px;
  background: #0c0b09;
}
.heritage-lede {
  padding: 80px 80px 60px;
}
.heritage-lede h2 {
  font-family: var(--ff-display); font-weight: 300;
  font-size: clamp(56px, 8vw, 140px);
  line-height: 0.92; letter-spacing: -0.035em;
  max-width: 14ch;
}
.heritage-lede h2 br + *, .heritage-lede h2 { color: var(--fg); }
.heritage-lede h2 { background: linear-gradient(90deg, var(--fg) 0%, var(--fg) 55%, var(--ocre) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.heritage-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 40px 32px 60px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 320px;
  transition: background 400ms var(--ease);
}
.step:last-child { border-right: none; }
.step:hover { background: rgba(198, 123, 58, 0.04); }
.step-num { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--ocre); }
.step h3 { font-family: var(--ff-display); font-weight: 400; font-size: 32px; letter-spacing: -0.01em; color: var(--fg); }
.step p { font-size: 14px; line-height: 1.55; color: var(--fg-dim); margin-top: auto; }

.wampum-belt {
  display: flex; flex-direction: column; gap: 2px;
  margin: 60px 80px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wampum-row {
  height: 14px;
  background-image: repeating-linear-gradient(90deg,
    var(--wampum) 0 18px,
    transparent 18px 24px,
    var(--rouge) 24px 30px,
    transparent 30px 36px);
  opacity: 0.4;
}
.wampum-row[data-row="b"] { background-image: repeating-linear-gradient(90deg, var(--rouge) 0 12px, transparent 12px 18px, var(--wampum) 18px 24px, transparent 24px 40px); }
.wampum-row[data-row="c"] { background-image: repeating-linear-gradient(90deg, var(--wampum) 0 22px, transparent 22px 26px, var(--wampum) 26px 30px, transparent 30px 48px); }
.wampum-row[data-row="d"] { background-image: repeating-linear-gradient(90deg, transparent 0 8px, var(--rouge) 8px 10px, transparent 10px 20px, var(--wampum) 20px 28px, transparent 28px 44px); }

/* ================= MP3 PLAYER (Selected Work) ================= */
.mp3 {
  background: radial-gradient(ellipse at 30% 20%, #1a1510 0%, #0a0806 55%, #050302 100%);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px) clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.mp3-waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; pointer-events: none; }

.mp3-head {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: end; gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.mp3-kicker {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ocre);
}
.mp3-title {
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 100px);
  letter-spacing: -0.03em; line-height: 0.9;
  color: var(--fg);
  text-transform: uppercase;
}
.mp3-accent { color: var(--ocre); font-style: italic; font-weight: 300; }
.mp3-counter {
  justify-self: end;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--fg-mute);
}

.mp3-player {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1400px; margin: 0 auto;
}

/* LEFT SIDE — Turntable + vinyl */
.mp3-left {
  display: flex; flex-direction: column;
  gap: clamp(20px, 2.5vw, 32px);
}
.turntable {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.tt-base {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.04) 0%, transparent 50%),
    linear-gradient(145deg, #1a1813 0%, #0f0d0a 100%);
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,0.6),
    0 20px 60px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.03);
}

.vinyl {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, #0a0908 0%, #050302 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 12px 36px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  overflow: hidden;
  animation: vinyl-spin 8s linear infinite;
  animation-play-state: paused;
}
.vinyl.is-playing { animation-play-state: running; }
@keyframes vinyl-spin {
  to { transform: rotate(360deg); }
}

.vinyl-grooves {
  position: absolute; inset: 0;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      transparent 0,
      transparent 3px,
      rgba(255,255,255,0.025) 3px,
      rgba(255,255,255,0.025) 4px);
}
.vinyl::after {
  content: ""; position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(255,255,255,0.05) 25%,
    transparent 50%,
    rgba(255,255,255,0.05) 75%,
    transparent 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.vinyl-label {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    inset 0 0 16px rgba(0,0,0,0.4);
  background: #c67b3a;
}
.vinyl-label img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  transition: opacity 400ms var(--ease);
}
.vinyl-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  background: #050302;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}
.vinyl-shine {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.08) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255,255,255,0.04) 100%);
  pointer-events: none;
}

/* Tonearm */
.tt-arm {
  position: absolute;
  top: 6%; right: 4%;
  width: 38%; height: 38%;
  transform-origin: 85% 15%;
  transform: rotate(-25deg);
  transition: transform 700ms var(--ease);
  pointer-events: none;
  z-index: 3;
}
.tt-arm.is-playing { transform: rotate(5deg); }
.tt-arm-base {
  position: absolute; top: 0; right: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3a342a, #1a1612);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}
.tt-arm-stick {
  position: absolute;
  top: 12px; right: 0;
  width: 78%; height: 4px;
  background: linear-gradient(90deg, #9a8c78, #c9b89a);
  transform-origin: right center;
  transform: rotate(30deg);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.tt-arm-head {
  position: absolute;
  bottom: 18%; left: 0;
  width: 26px; height: 14px;
  background: linear-gradient(145deg, #2a2621, #0f0d0a);
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

/* Waveform */
.waveform {
  position: relative;
  height: 80px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(198,123,58,0.15);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}
.waveform canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.wave-progress {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 0%;
  background: linear-gradient(to right, rgba(198,123,58,0.18), rgba(198,123,58,0.32));
  border-right: 1px solid var(--ocre);
  pointer-events: none;
  transition: width 120ms linear;
}

.mp3-time {
  display: flex; justify-content: space-between;
  font-family: var(--ff-mono); font-size: 12px;
  color: var(--fg-mute); letter-spacing: 0.06em;
}

/* RIGHT SIDE — Track info + controls */
.mp3-right {
  display: flex; flex-direction: column;
  gap: clamp(20px, 2vw, 32px);
  min-width: 0;
}
.mp3-meta { display: flex; flex-direction: column; gap: 14px; }
.mp3-k {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ocre);
}
.dot-live {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ocre);
  box-shadow: 0 0 0 0 rgba(198,123,58,0.6);
  animation: pulse-live 1.8s ease-out infinite;
}
@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(198,123,58,0.6); }
  80%,100% { box-shadow: 0 0 0 12px rgba(198,123,58,0); }
}
.mp3-track-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--fg);
  min-height: 1.1em;
}
.mp3-track-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 50ch;
}
.mp3-track-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--fg-mute); letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.mp3-track-meta span { display: inline-flex; gap: 6px; align-items: baseline; }
.mp3-track-meta .mk { color: var(--ocre); }
.mp3-tags {
  list-style: none;
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 4px;
}
.mp3-tags li {
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg-dim);
}

.mp3-transport {
  display: flex; align-items: center;
  gap: 18px; padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tc {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  cursor: pointer;
  transition: all 280ms var(--ease);
}
.tc:hover {
  background: rgba(198,123,58,0.12);
  border-color: var(--ocre);
  color: var(--ocre);
  transform: translateY(-2px);
}
.tc-play {
  width: 72px; height: 72px;
  background: var(--ocre);
  border-color: var(--ocre);
  color: #0a0806;
}
.tc-play:hover {
  background: #dd9048;
  border-color: #dd9048;
  color: #0a0806;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(198,123,58,0.35);
}
.tc-play .icon-pause { display: none; }
.tc-play.is-playing .icon-play { display: none; }
.tc-play.is-playing .icon-pause { display: block; }

.mp3-links {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.mp3-lnk {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--fg-dim);
  transition: all 250ms var(--ease);
}
.mp3-lnk:hover { color: var(--fg); border-color: var(--fg-dim); transform: translateY(-1px); }
.mp3-lnk-sp { background: #1DB954; color: #0a0806; border-color: #1DB954; font-weight: 600; }
.mp3-lnk-sp:hover { background: #1ed760; color: #0a0806; border-color: #1ed760; transform: translateY(-2px); }

/* Track queue */
.mp3-queue {
  list-style: none;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
}
.mp3-queue li {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  gap: 14px; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244,241,234,0.04);
  cursor: pointer;
  transition: padding 250ms var(--ease), background 250ms var(--ease);
}
.mp3-queue li:hover { padding-left: 6px; background: rgba(198,123,58,0.04); }
.mp3-queue li.is-current .q-t { color: var(--ocre); }
.mp3-queue li.is-current .q-eq { opacity: 1; }
.q-n {
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--fg-mute);
}
.mp3-queue li.is-current .q-n { color: var(--ocre); }
.q-t {
  font-size: 14px; color: var(--fg);
  font-weight: 500;
  transition: color 250ms var(--ease);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.q-d {
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
}
.q-eq {
  display: flex; align-items: flex-end; gap: 2px;
  height: 14px; opacity: 0;
  transition: opacity 250ms var(--ease);
}
.q-eq span {
  display: block;
  width: 2px;
  background: var(--ocre);
  animation: eq-bar 1s ease-in-out infinite;
}
.q-eq span:nth-child(1) { height: 40%; animation-delay: 0s; }
.q-eq span:nth-child(2) { height: 70%; animation-delay: 0.2s; }
.q-eq span:nth-child(3) { height: 50%; animation-delay: 0.4s; }
.q-eq span:nth-child(4) { height: 85%; animation-delay: 0.1s; }
@keyframes eq-bar {
  0%,100% { transform: scaleY(0.35); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
}

/* ================= BURGER + MENU OVERLAY ================= */
.burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s var(--ease);
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s ease, top 0.3s var(--ease-out-expo);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger:hover { border-color: var(--fg-dim); }
.burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0;
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.menu-overlay.is-open { opacity: 1; pointer-events: auto; }
.menu-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #0a0806 0%, #1a1510 100%);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.7s cubic-bezier(0.76,0,0.24,1);
}
.menu-overlay.is-open .menu-bg {
  clip-path: circle(150% at calc(100% - 40px) 40px);
}
.menu-inner {
  position: absolute; inset: 0;
  padding: calc(var(--chrome-h) + 32px) clamp(24px, 6vw, 72px) 32px;
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.25s, transform 0.5s var(--ease) 0.25s;
}
.menu-overlay.is-open .menu-inner { opacity: 1; transform: translateY(0); }

.menu-k {
  display: flex; justify-content: space-between;
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--ocre);
  letter-spacing: 0.25em;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.menu-close { cursor: pointer; color: var(--fg); }
.menu-close:hover { color: var(--ocre); }

.menu-nav {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.menu-nav a {
  display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px);
  padding: clamp(12px, 2vw, 20px) 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  transition: padding 0.35s var(--ease), color 0.3s var(--ease);
}
.menu-nav a:hover { padding-left: 20px; color: var(--ocre); }
.menu-nav .menu-n {
  font-family: var(--ff-mono); font-size: 12px;
  color: var(--ocre); letter-spacing: 0.15em;
  min-width: 40px;
}
.menu-nav .menu-l {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(36px, 8vw, 76px);
  letter-spacing: -0.025em; line-height: 1;
}

.menu-foot {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.menu-foot-k {
  display: block;
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--fg-mute); letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.menu-foot-row {
  display: flex; gap: 18px; flex-wrap: wrap;
}
.menu-foot-row a {
  font-size: 14px; color: var(--fg-dim);
  transition: color 0.25s var(--ease);
}
.menu-foot-row a:hover { color: var(--ocre); }
.menu-foot-email {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.menu-foot-email:hover { color: var(--ocre); border-color: var(--ocre); }

/* ================= SERVICES ================= */
.services { padding-bottom: 120px; }
.srv-list {
  list-style: none;
  padding: 0 80px;
  border-top: 1px solid var(--line);
}
.srv-list li {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 40px;
  align-items: baseline;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 400ms var(--ease), background 400ms var(--ease);
  cursor: default;
}
.srv-list li:hover { padding-left: 16px; background: rgba(198, 123, 58, 0.03); }
.srv-n { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ocre); }
.srv-list h3 { font-family: var(--ff-display); font-weight: 400; font-size: clamp(28px, 3.2vw, 52px); letter-spacing: -0.02em; }
.srv-list p { font-size: 16px; color: var(--fg-dim); line-height: 1.5; max-width: 52ch; }

/* ================= PROCESS ================= */
.process { padding-bottom: 120px; background: #0c0b09; }
.pr-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px;
  padding: 80px 80px 0;
}
.pr-text h2 {
  font-family: var(--ff-display); font-weight: 300;
  font-size: clamp(48px, 6vw, 96px); line-height: 0.95; letter-spacing: -0.03em;
  max-width: 14ch;
}
.pr-text p {
  margin-top: 32px;
  font-size: 17px; line-height: 1.6; color: var(--fg-dim);
  max-width: 48ch;
}
.pr-steps { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.pr-steps li {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.pr-steps li span { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ocre); }
.pr-steps li strong { font-family: var(--ff-display); font-weight: 400; font-size: 26px; color: var(--fg); letter-spacing: -0.01em; }
.pr-steps li p { font-size: 14px; color: var(--fg-dim); margin-top: 6px; grid-column: 2; }

/* ================= PRESS ================= */
.press { padding-bottom: 120px; }
.press-list {
  list-style: none;
  padding: 0 80px;
  border-top: 1px solid var(--line);
}
.press-list li {
  display: grid;
  grid-template-columns: 100px 180px 1fr 40px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: all 400ms var(--ease);
}
.press-list li:hover { padding-left: 16px; color: var(--ocre); }
.pr-yr { font-family: var(--ff-mono); font-size: 14px; color: var(--ocre); }
.pr-source { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.pr-quote { font-family: var(--ff-display); font-size: clamp(20px, 2.2vw, 32px); font-weight: 300; letter-spacing: -0.01em; }
.pr-link { text-align: right; font-size: 18px; color: var(--fg-dim); transition: color 300ms; }
.press-list li:hover .pr-link { color: var(--ocre); }

/* ================= JOURNAL ================= */
.journal { padding-bottom: 120px; background: #0c0b09; }
.jnl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  padding: 60px 80px 0;
}
.jnl {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all 400ms var(--ease);
  min-height: 220px;
}
.jnl:hover { background: rgba(198, 123, 58, 0.04); border-color: var(--ocre); transform: translateY(-4px); }
.j-date { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ocre); text-transform: uppercase; }
.jnl h3 { font-family: var(--ff-display); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.jnl p { font-size: 13px; color: var(--fg-dim); line-height: 1.5; margin-top: auto; }

/* ================= CONTACT ================= */
.contact { padding-bottom: 60px; }
.cta { padding: 80px 80px 100px; }
.cta h2 {
  font-family: var(--ff-display); font-weight: 300;
  font-size: clamp(64px, 11vw, 200px);
  line-height: 0.9; letter-spacing: -0.04em;
  max-width: 18ch;
}
.cta h2 span { display: inline; }
.cta h2 .crown {
  font-style: italic; font-weight: 300;
  background: linear-gradient(90deg, var(--ocre), var(--rouge));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-rows {
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.cta-row {
  display: grid; grid-template-columns: 140px 1fr 40px;
  gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--line);
  font-family: var(--ff-display); font-size: clamp(18px, 2vw, 28px); font-weight: 300;
  align-items: center;
  transition: padding 400ms var(--ease), color 300ms var(--ease);
}
.cta-row:hover { padding-left: 16px; color: var(--ocre); }
.ctr-k { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--fg-dim); text-transform: uppercase; }
.ctr-a { text-align: right; color: var(--fg-dim); }
.cta-row:hover .ctr-a { color: var(--ocre); }

.foot {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; padding: 32px 80px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-dim); text-transform: uppercase;
}
.foot-col { display: flex; flex-direction: column; gap: 4px; }
.foot-k { color: var(--ocre); }

/* ================= TWEAKS ================= */
.tweaks {
  position: fixed; bottom: 24px; right: 24px;
  width: 280px;
  background: rgba(10, 9, 8, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  z-index: 900;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg);
}
.tweaks[hidden] { display: none; }
.tw-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tw-head strong { font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); }
.tw-head button { font-size: 18px; color: var(--fg-dim); }
.tw-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.tw-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-dim); }
.tw-row select, .tw-row input[type="range"], .tw-row input[type="color"] {
  font-family: inherit; font-size: 10px;
  background: var(--bg-2); color: var(--fg);
  border: 1px solid var(--line-strong);
  padding: 4px 6px; border-radius: 2px;
  width: 140px;
}
.tw-row input[type="color"] { padding: 2px; height: 28px; }
.tw-row input[type="range"] { padding: 0; }

/* ================= INTRO ANIMATION ================= */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  background: #0D0D0D;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  animation: intro-fade 0.55s cubic-bezier(0.76,0,0.24,1) 1.95s forwards;
}
.intro.is-done { display: none; }
@keyframes intro-fade { to { opacity: 0; } }

.intro-panel {
  position: absolute; left: 0; right: 0;
  height: 50%;
  background: #0D0D0D;
  z-index: 2;
}
.intro-panel-t { top: 0; transform-origin: top; animation: panel-split 0.6s cubic-bezier(0.76,0,0.24,1) 1.55s forwards; }
.intro-panel-b { bottom: 0; transform-origin: bottom; animation: panel-split 0.6s cubic-bezier(0.76,0,0.24,1) 1.55s forwards; }
@keyframes panel-split { to { transform: scaleY(0); } }

.intro-mono {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
}
.intro-ring {
  position: relative; width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  animation: intro-fade-in 0.3s ease 0.15s forwards;
}
.intro-ring svg {
  position: absolute; inset: 0;
  animation: ring-draw 1.2s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
.intro-ring svg circle { animation: ring-draw-circ 1.2s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
@keyframes ring-draw-circ { to { stroke-dashoffset: 0; } }
@keyframes intro-fade-in { to { opacity: 1; } }

.intro-logo {
  overflow: hidden; position: relative; z-index: 1;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.intro-logo img {
  display: block;
  width: 120px; height: 120px;
  object-fit: contain;
  transform: translateY(110%);
  animation: intro-slide-up 0.75s cubic-bezier(0.16,1,0.3,1) 0.38s forwards;
}
@keyframes intro-slide-up { to { transform: translateY(0); } }

.intro-name {
  overflow: hidden;
  margin-top: 18px;
  height: 28px;
}
.intro-name img {
  display: block;
  height: 28px;
  width: auto;
  filter: brightness(1.4) opacity(0.9);
  transform: translateY(100%);
  animation: intro-slide-up 0.7s cubic-bezier(0.16,1,0.3,1) 0.58s forwards;
}
.intro-dot {
  width: 5px; height: 5px;
  background: #7B4A28;
  margin-top: 14px;
  transform: scale(0);
  animation: dot-pulse 0.5s ease 0.95s forwards;
}
@keyframes dot-pulse {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* chrome logo */
.sig-logo { width: 24px; height: 24px; object-fit: contain; display: block; }

/* about real photo */
.about-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.about-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform 1.2s var(--ease);
}
.about-photo:hover img { transform: scale(1.03); }
.about-photo figcaption {
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg);
  gap: 8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.about-photo .ph-k { color: var(--ocre); }
.about-photo .ph-v { color: var(--fg); flex: 1; padding: 0 8px; }
.about-photo .ph-r { color: var(--fg-dim); font-size: 9px; }

/* ================= GALLERY ================= */
.gallery {
  position: relative;
  height: 700vh;
  background: #12100e;
  z-index: 2;
}
.gallery-sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: calc(var(--chrome-h) + 48px) 0 40px;
}
.gallery-waves {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.35;
  pointer-events: none;
}

.gallery-head {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 5vw, 80px);
  margin-bottom: clamp(20px, 2.5vw, 36px);
}
.gal-label {
  display: block;
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.25em; color: var(--fg-mute);
  text-transform: uppercase; margin-bottom: 8px;
}
.gal-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--fg);
}
.gal-accent { color: var(--ocre); }

.gallery-track-wrap {
  position: relative; z-index: 2;
  flex: 1; min-height: 0;
  display: flex; align-items: center;
  overflow: hidden;
}
.gallery-track {
  display: flex; align-items: flex-end;
  gap: clamp(40px, 5vw, 80px);
  padding: 0 clamp(24px, 5vw, 80px);
  will-change: transform;
  transform: translate3d(0,0,0);
}
.gal-card {
  flex-shrink: 0;
  width: clamp(220px, 22vw, 320px);
  cursor: pointer;
  transition: transform 0.45s var(--ease-out-expo), opacity 0.45s var(--ease-out-expo);
}
.gal-card.odd { margin-top: clamp(40px, 6vw, 80px); margin-bottom: 0; }
.gal-card.even { margin-top: 0; margin-bottom: clamp(40px, 6vw, 80px); }

.gal-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bg-2);
}
.gal-card:nth-child(3n+2) .gal-thumb { aspect-ratio: 3/4; }

.gal-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.gal-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,2,0,0.94) 0%, rgba(5,2,0,0.28) 45%, transparent 72%);
  pointer-events: none;
}
.gal-bar-accent {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--ocre);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 2;
}
.gal-card:hover .gal-thumb img { transform: scale(1.07); }
.gal-card:hover .gal-bar-accent { transform: scaleX(1); }

.gal-idx {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--ff-mono); font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.35); letter-spacing: 0.1em;
}

.gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(14px, 1.8vw, 20px);
  color: var(--fg);
}
.gal-cap-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
  font-family: var(--ff-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.gal-cap-loc { color: rgba(255,255,255,0.55); }
.gal-cap-yr { color: var(--ocre); letter-spacing: 0.1em; }
.gal-cap hr {
  border: 0; height: 1px; background: rgba(255,255,255,0.12);
  margin: 0 0 8px;
}
.gal-cap-t {
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 600; color: var(--fg);
  line-height: 1.2; margin-bottom: 5px;
}
.gal-cap-d {
  font-size: clamp(9px, 1vw, 11px);
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  font-style: italic;
  opacity: 0.55;
  transform: translateY(4px);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}
.gal-card:hover .gal-cap-d { opacity: 1; transform: translateY(0); }

.gallery-foot {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 5vw, 80px);
  margin-top: clamp(10px, 1.5vw, 18px);
}
.gal-bar {
  height: 1px; background: rgba(255,255,255,0.07);
  position: relative; margin-bottom: 10px;
}
.gal-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--ocre);
  width: 0%;
  transition: width 120ms linear;
}
.gal-foot-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono); font-size: 9px;
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-mute);
}
.gal-hint { display: flex; align-items: center; gap: 10px; }
.gal-arrow { display: block; width: 22px; height: 1px; background: var(--ocre); animation: arrow-push 2s ease-in-out infinite; }
@keyframes arrow-push { 0%,100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

/* ================= ACTUALITÉS ================= */
.actu {
  background: #F7F2EA;
  color: #160D06;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.actu-waves {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.5; pointer-events: none;
}
.actu-wrap {
  position: relative; z-index: 1;
  max-width: 1300px; margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.actu-head { margin-bottom: clamp(48px, 6vw, 80px); }
.actu-label {
  display: block;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: #7B4A28; font-weight: 700;
  margin-bottom: 12px;
}
.actu-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #160D06;
  text-transform: uppercase;
}
.actu-accent { color: #7B4A28; }

.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.actu-card {
  background: rgba(255,255,255,0.92);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(22,13,6,0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.actu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(123,74,40,0.18);
}
.actu-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.actu-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.actu-card:hover .actu-media img { transform: scale(1.05); }
.actu-cat {
  position: absolute; top: 14px; left: 14px;
  background: #7B4A28; color: #fff;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 2px;
}
.actu-body {
  padding: clamp(20px, 2.5vw, 28px);
  display: flex; flex-direction: column;
  flex: 1;
}
.actu-date {
  font-family: var(--ff-mono); font-size: 11px;
  color: #998A7A;
  letter-spacing: 0.1em; margin-bottom: 8px;
  text-transform: uppercase;
}
.actu-body h3 {
  font-family: var(--ff-display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: #160D06;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.actu-excerpt {
  font-size: clamp(13px, 1.3vw, 15px);
  color: #5e5348;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.actu-read {
  margin-top: auto;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.25em; font-weight: 700;
  color: #7B4A28;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease);
  align-self: flex-start;
}
.actu-card:hover .actu-read { border-bottom-color: #7B4A28; }

.actu-cta-row {
  display: flex; justify-content: center;
  margin-top: 16px;
}
.actu-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #7B4A28;
  border: 2px solid #7B4A28;
  padding: clamp(12px, 1.5vw, 16px) clamp(24px, 3vw, 36px);
  font-family: var(--ff-mono);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.actu-cta:hover {
  background: #7B4A28; color: #fff;
  transform: translateY(-2px);
}

/* ================= SOCIAL (Fan cards) ================= */
.social {
  background: linear-gradient(to bottom, #F7F2EA 0%, #EEE5D6 55%, #D6C0A8 100%);
  padding: clamp(60px, 10vw, 120px) 20px 0;
  position: relative;
  overflow: hidden;
  color: #160D06;
  z-index: 2;
}
.social-icon { display: flex; justify-content: center; margin-bottom: 16px; }
.social-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(24px, 4.5vw, 56px);
  letter-spacing: -0.02em;
  color: #160D06;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  margin-bottom: 32px;
}

/* Fan — physics-driven, JS-controlled */
.fan {
  position: relative;
  height: clamp(300px, 42vw, 520px);
  display: flex; justify-content: center; align-items: flex-end;
  margin-bottom: -60px;
  overflow: visible;
}
.fan-card {
  position: absolute; bottom: 0;
  width: clamp(130px, 16vw, 200px);
  aspect-ratio: 3/4;
  cursor: pointer;
  transform-origin: bottom center;
  border-radius: 8px;
  overflow: visible;
  /* collapsed start state — JS updates transform/opacity/filter */
  transform: translate3d(0, 0, 0) rotate(0deg) scale(0.4);
  opacity: 0;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 8px 20px rgba(22,13,6,0.28));
  transition:
    transform 700ms cubic-bezier(0.22,1,0.36,1),
    opacity 500ms ease-out,
    filter 400ms ease;
}
/* After springing in, snappier feel on hover-driven changes */
.fan.is-in .fan-card {
  transition:
    transform 550ms cubic-bezier(0.22,1.4,0.36,1),
    opacity 300ms ease,
    filter 280ms ease;
}
.fan-card .fan-thumb {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 8px;
}
.fan-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.fan-card .fan-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 250ms ease;
  border-radius: 8px;
  pointer-events: none;
}

.social-links {
  position: relative; z-index: 10;
  padding: 80px 0 clamp(40px, 6vw, 80px);
  text-align: center;
}
.social-follow {
  font-size: 13px; color: #7B4A28;
  margin-bottom: 24px;
}
.social-links-row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 24px;
}
.social-links-row a {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(13px, 1.8vw, 18px);
  letter-spacing: 0.1em;
  color: #160D06;
  transition: color 0.25s var(--ease);
}
.social-links-row a:hover { color: #7B4A28; }

/* ================= CONTACT / DARK FOOTER ================= */
.contact {
  background: linear-gradient(to bottom, #D6C0A8 0%, #7B4A28 15%, #2E1A0E 100%);
  padding: clamp(16px, 2vw, 24px);
  position: relative;
  z-index: 2;
}
.footer-outer { width: 100%; }
.footer-box {
  background: #160D06;
  border-radius: clamp(12px, 2vw, 28px);
  overflow: hidden;
  position: relative;
  color: #F7F2EA;
}
.footer-topo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}

.footer-hero {
  position: relative;
  min-height: clamp(320px, 40vw, 520px);
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 72px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.footer-tagline {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 6.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: rgba(247,242,234,0.94);
  text-align: center;
  position: relative; z-index: 2;
  max-width: 18ch;
}
.footer-tagline .crown {
  font-style: italic; font-weight: 300;
  background: linear-gradient(90deg, var(--ocre), #B5865A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-portrait {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 26vw, 360px);
  aspect-ratio: 3/4;
  z-index: 1; opacity: 0.14;
  overflow: hidden;
}
.footer-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(0.3); }

.footer-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  padding: clamp(32px, 5vw, 60px) clamp(24px, 5vw, 72px);
  align-items: start;
  position: relative; z-index: 2;
}
.footer-k {
  font-family: var(--ff-mono); font-size: 9px;
  font-weight: 700; letter-spacing: 0.22em;
  color: var(--ocre);
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: -0.01em; line-height: 1;
  color: #F7F2EA;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover { color: #B5865A; }
.footer-nav .nav-spotify { color: #B5865A; }

.footer-cta-col {
  display: flex; flex-direction: column; align-items: center;
  gap: 32px;
}
.footer-logo {
  display: flex; align-items: center; justify-content: center;
  height: 80px;
}
.footer-logo img {
  height: 80px; width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}
.footer-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: #7B4A28; color: #F7F2EA;
  font-family: var(--ff-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em;
  padding: 14px 26px;
  border-radius: 2px;
  text-transform: uppercase;
  transition: background 0.25s var(--ease);
}
.footer-cta:hover { background: #B5865A; }

.footer-marquee {
  border-top: 1px solid rgba(247,242,234,0.07);
  padding: 20px 0;
  overflow: hidden;
  position: relative; z-index: 2;
}
.footer-marquee-track {
  display: flex; gap: clamp(24px, 4vw, 56px);
  white-space: nowrap;
  width: max-content;
  animation: footer-marq 40s linear infinite;
  font-family: var(--ff-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(247,242,234,0.25);
  text-transform: uppercase;
}
@keyframes footer-marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: clamp(14px, 2vw, 20px) clamp(24px, 5vw, 72px);
  border-top: 1px solid rgba(247,242,234,0.07);
  font-family: var(--ff-mono);
  font-size: 10px; color: #998A7A;
  letter-spacing: 0.06em;
  position: relative; z-index: 2;
}
.footer-bar-links { display: flex; gap: 20px; }
.footer-bar-links a { color: #998A7A; transition: color 0.25s var(--ease); }
.footer-bar-links a:hover { color: #F7F2EA; }

/* ================= RESPONSIVE ================= */

/* Tablet / smaller desktop */
@media (max-width: 1200px) {
  .hero { padding: calc(var(--chrome-h) + 32px) 80px 32px; }
  .hero-title { font-size: clamp(56px, 11vw, 160px); padding-left: 24px; padding-right: 24px; }
  .side-banner { width: 32px; font-size: 10px; }
  .side-banner-l { left: 24px; }
  .side-banner-r { right: 24px; }
}

@media (max-width: 980px) {
  .chrome-nav { display: none; }
  .burger { display: block; }
  .hero { padding: calc(var(--chrome-h) + 24px) 24px 24px; }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; }
  .hero-title { padding-left: 0; padding-right: 0; font-size: clamp(52px, 14vw, 120px); line-height: 0.9; }
  .side-banner { display: none; }
  .hud-left, .hud-right { display: none; }
  .sec-head { padding: 32px 24px 20px; }
  .about-grid, .heritage-lede, .heritage-steps, .srv-list, .pr-grid, .press-list, .jnl-grid, .cta, .cta-rows, .foot, .wampum-belt { padding-left: 24px; padding-right: 24px; }
  .about-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; }
  .about-media { grid-row: auto; grid-column: auto; }
  .about-body { grid-row: auto; grid-column: auto; }
  .about-side { grid-row: auto; grid-column: auto; grid-template-columns: repeat(2, 1fr); }
  .heritage-steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .srv-list li { grid-template-columns: 1fr; }
  .pr-grid { grid-template-columns: 1fr; }
  .press-list li { grid-template-columns: 60px 1fr 30px; gap: 16px; }
  .pr-source { display: none; }
  .foot { grid-template-columns: 1fr; }

  /* MP3 player mobile */
  .mp3 { padding: 60px 24px; }
  .mp3-head { grid-template-columns: 1fr; text-align: left; gap: 12px; }
  .mp3-title { text-align: left; }
  .mp3-counter { justify-self: start; }
  .mp3-player { grid-template-columns: 1fr; gap: 40px; }
  .turntable { max-width: 400px; }
  .mp3-transport { gap: 10px; padding: 14px 0; flex-wrap: wrap; justify-content: center; }
  .tc { width: 46px; height: 46px; }
  .tc-play { width: 60px; height: 60px; }
  .menu-foot { grid-template-columns: 1fr; }

  /* gallery mobile */
  .gallery { height: 500vh; }
  .gallery-sticky { padding-top: calc(var(--chrome-h) + 28px); }
  .gallery-head { padding-left: 24px; padding-right: 24px; }
  .gallery-track { padding-left: 24px; padding-right: 24px; gap: 32px; }
  .gal-card { width: clamp(180px, 60vw, 240px); }

  /* actualités mobile */
  .actu-grid { grid-template-columns: 1fr; }

  /* fan mobile — JS-driven, no manual transforms */

  /* footer mobile */
  .footer-cols { grid-template-columns: 1fr; gap: 40px; }
  .footer-cta-col { order: -1; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero { padding: calc(var(--chrome-h) + 16px) 16px 16px; }
  .hero-title { font-size: clamp(42px, 15vw, 72px); line-height: 0.95; letter-spacing: -0.03em; }
  .hero-meta { font-size: 10px; }
  .hero-col .v { font-size: 13px; }
  .tag { padding-left: 0; }
  .chrome { padding: 0 16px; }
  .sig-name { display: none; }
  .sec-head { padding: 24px 16px 16px; }
  .about-grid, .heritage-lede, .heritage-steps, .srv-list, .pr-grid, .press-list, .wampum-belt { padding-left: 16px; padding-right: 16px; }
  .actu-wrap { padding: 0 16px; }
  .gallery-head { padding-left: 16px; padding-right: 16px; }
  .gallery-track { padding-left: 16px; padding-right: 16px; gap: 24px; }
  .gal-card { width: 72vw; }
  .footer-cols { padding: 24px 20px; gap: 32px; }
  .footer-hero { padding: 40px 20px; min-height: 280px; }
  .footer-bar { padding: 14px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .social { padding-left: 16px; padding-right: 16px; }
  .fan { height: clamp(220px, 60vw, 320px); }
  .fan-card { width: clamp(80px, 24vw, 120px); }
}
