/* =========================================================
   Jeys Marabini — collage / torn-paper editorial
   espresso · cream · rust · ochre (earth palette)
   ========================================================= */
:root {
  /* Earth palette — taken from his shirts, stage photos and press kit */
  --earth: #1e1510;      /* deep espresso brown */
  --earth-2: #2b1f17;    /* raised brown */
  --paper: #efe5d4;      /* warm cream paper */
  --white: #fbf6ee;      /* off-white */
  --ink: #1a120d;        /* near-black brown */
  --rust: #b4502a;       /* terracotta / rust */
  --ochre: #d4a24c;      /* ochre gold */
  --clay: #8a4b2b;
  --muted-l: rgba(251, 246, 238, 0.74);
  --muted-d: rgba(26, 18, 13, 0.72);

  --display: "Anton", Impact, sans-serif;
  --script: "Mr Dafoe", cursive;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--earth); color: var(--white); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-gated { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
em { font-style: italic; }
::selection { background: var(--ochre); color: var(--ink); }

/* ---------- Surfaces ---------- */
.earth { background-color: var(--earth); color: var(--white); --sec: var(--earth); }
.paper { background-color: var(--paper); color: var(--ink); --sec: var(--paper); }
.ochre { background-color: var(--ochre); color: var(--ink); --sec: var(--ochre); }
.speckle { background-image: url("assets/img/speckle-light.svg"); background-size: 400px; }
.speckle-dark { background-image: url("assets/img/speckle-dark.svg"); background-size: 400px; }
.grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--grain); opacity: 0.35; mix-blend-mode: overlay; }

/* Torn paper top edge: white paper strip + section colour */
.torn { position: relative; }
.torn::before, .torn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; z-index: 5; pointer-events: none;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.torn::before { height: 62px; margin-bottom: -6px; background: #f6eee0; -webkit-mask-image: url("assets/img/tear-b.svg"); mask-image: url("assets/img/tear-b.svg"); filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, 0.25)); }
.torn::after { height: 56px; margin-bottom: -18px; background: var(--sec); -webkit-mask-image: url("assets/img/tear-a.svg"); mask-image: url("assets/img/tear-a.svg"); }
.speckle.torn::after { background: var(--sec) url("assets/img/speckle-light.svg"); background-size: 400px; }
.speckle-dark.torn::after { background: var(--sec) url("assets/img/speckle-dark.svg"); background-size: 400px; }

/* Tape */
.tape {
  position: absolute; z-index: 4; width: 150px; height: 42px; pointer-events: none;
  background: linear-gradient(180deg, rgba(222, 196, 150, 0.92), rgba(205, 176, 128, 0.88));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  clip-path: polygon(3% 8%, 10% 0, 22% 6%, 40% 0, 60% 5%, 78% 0, 92% 6%, 100% 2%, 97% 50%, 100% 96%, 85% 100%, 66% 94%, 45% 100%, 25% 95%, 8% 100%, 0 92%, 3% 50%);
}
.tape-top { top: -18px; left: 50%; transform: translateX(-50%) rotate(-4deg); }
.tape-side { top: 40%; right: -40px; transform: rotate(-70deg); }
.tape-corner { top: -6px; left: -40px; transform: rotate(-38deg); width: 170px; }
.tape-x1 { top: -14px; left: -30px; transform: rotate(-35deg); width: 190px; height: 48px; }
.tape-x2 { top: -14px; left: -30px; transform: rotate(25deg); width: 190px; height: 48px; }

/* Doodles */
.doodle { position: absolute; pointer-events: none; z-index: 2; }

/* ---------- Type ---------- */
.mega { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 8.4vw, 8.2rem); line-height: 0.92; letter-spacing: -0.005em; }
.mega.center, .center { text-align: center; }
.mega.dark { color: var(--ink); }
.script { font-family: var(--script); color: var(--rust); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1; }
mark { background: none; color: var(--ochre); font-weight: 600; }
.paper mark, .ochre mark { color: var(--ink); background: linear-gradient(transparent 58%, rgba(212, 162, 76, 0.55) 58%); }
.underlined { position: relative; display: inline-block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; padding-bottom: 0.5rem; margin-bottom: 1.2rem; }
.underlined svg { position: absolute; left: -2%; bottom: -4px; width: 104%; height: 14px; color: var(--rust); }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.8rem; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.85);
  font-weight: 500; font-size: 1rem; color: var(--white);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.pill:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); }
.pill-solid { background: var(--ochre); border-color: var(--ochre); color: var(--ink); font-weight: 600; }
.pill-solid:hover { background: var(--white); border-color: var(--white); }
.pill-ghost { border-color: rgba(255, 255, 255, 0.4); }
.pill-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill-dark:hover { background: var(--rust); border-color: var(--rust); color: var(--white); }
.pill-dark-ghost { border-color: var(--ink); color: var(--ink); }
.pill-dark-ghost:hover { background: var(--ink); color: var(--white); }
.ochre .pill-solid { background: var(--ink); border-color: var(--ink); color: var(--ochre); }
.text-link { font-size: 0.85rem; color: inherit; opacity: 0.75; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { opacity: 1; }

/* ---------- Equalizer ---------- */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 30%; background: currentColor; border-radius: 1px; }
.eq-static i, body.playing .eq i { animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s !important; } .eq i:nth-child(3) { animation-delay: -0.55s !important; } .eq i:nth-child(4) { animation-delay: -0.15s !important; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- Gate ---------- */
.gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; text-align: center; background-color: var(--earth); padding: var(--pad); overflow: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.gate.gone { opacity: 0; visibility: hidden; }
.gate-zig { color: var(--ochre); width: 200px; top: 6%; left: 5%; }
.gate-loop { color: var(--ochre); width: 380px; bottom: 6%; right: -60px; transform: rotate(-12deg); }
.gate-inner { position: relative; z-index: 3; max-width: 40rem; }
.gate-logo { width: 84px; margin: 0 auto 1.6rem; }
.gate-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(4rem, 13vw, 9rem); line-height: 0.85; }
.gate-title span { color: var(--rust); }
.gate-script { font-size: clamp(3rem, 7vw, 5rem); margin: -1.6rem 0 1.4rem; transform: rotate(-6deg); }
.gate-sub { color: var(--muted-l); max-width: 28rem; margin: 0 auto 2rem; }
.gate-actions { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 250; }
.progress span { display: block; height: 100%; background: var(--ochre); transform-origin: left; transform: scaleX(0); }

/* ---------- Nav: stacked list top-left ---------- */
.nav { position: fixed; top: 1.6rem; left: var(--pad); z-index: 200; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.25); transition: color .3s; }
.nav.on-light { color: var(--ink); text-shadow: none; }
.nav.on-light .burger span { background: var(--ink); }
.nav-logo { display: none; }
.nav-logo img { height: 40px; }
.nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.nav-links a { position: relative; font-family: var(--display); text-transform: uppercase; font-size: 1.45rem; line-height: 1.12; letter-spacing: 0.01em; transition: transform 0.3s var(--ease); }
.nav-links a:hover { transform: translateX(6px); }
.ring { position: absolute; left: -16px; top: -6px; width: calc(100% + 34px); height: calc(100% + 14px); color: var(--rust); opacity: 0; pointer-events: none; stroke-dasharray: 560; stroke-dashoffset: 560; transition: stroke-dashoffset 0.6s var(--ease), opacity 0.2s; }
.nav-links a.active .ring { opacity: 1; stroke-dashoffset: 0; }
.nav.compact .nav-links a:not(.active) { opacity: 0; transform: translateX(-12px); pointer-events: none; }
.nav.compact:hover .nav-links a { opacity: 1; transform: none; pointer-events: auto; }
.nav-links a { transition: opacity 0.35s, transform 0.35s var(--ease); }
.burger { display: none; width: 34px; height: 22px; position: relative; }
.burger span { position: absolute; left: 0; width: 100%; height: 3px; background: #fff; transition: transform 0.35s var(--ease), top 0.35s; }
.burger span:first-child { top: 4px; } .burger span:last-child { top: 15px; }
.burger.open span:first-child { top: 10px; transform: rotate(45deg); }
.burger.open span:last-child { top: 10px; transform: rotate(-45deg); }

.sound-btn {
  position: fixed; top: 1.6rem; right: var(--pad); z-index: 200;
  width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.sound-btn .eq { height: 20px; gap: 3px; }
.sound-btn .eq i { width: 4px; }
.sound-btn:hover { transform: scale(1.08); background: var(--ochre); color: var(--ink); }
body.playing .sound-btn { background: var(--ochre); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.82) sepia(0.12) contrast(1.04); transform: scale(1.1); animation: heroIn 2.4s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 21, 16, 0.25) 0%, rgba(30, 21, 16, 0) 30%, rgba(30, 21, 16, 0.35) 55%, rgba(30, 21, 16, 0.92) 85%, var(--earth) 100%); }
.hero-bottom { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad) clamp(2rem, 5vh, 3.5rem); }
.hero-name { position: relative; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.6rem, 12.4vw, 13rem); line-height: 0.84; letter-spacing: -0.01em; text-align: center; white-space: nowrap; will-change: transform; }
.hero-name .row { display: block; opacity: 0; transform: translateY(40%); transition: transform 1.2s var(--ease), opacity 1.2s; }
body.entered .hero-name .row { opacity: 1; transform: none; }
.hero-script { position: absolute; left: 50%; top: 42%; font-size: clamp(2.6rem, 7.5vw, 7rem); transform: translate(-50%, -50%) rotate(-7deg); white-space: nowrap; clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease) 0.8s; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
body.entered .hero-script { clip-path: inset(-20% -10% -20% 0); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; max-width: var(--max); margin: 1.6rem auto 0; }
.hero-intro { max-width: 34rem; font-size: clamp(0.98rem, 1.3vw, 1.12rem); color: rgba(251, 246, 238, 0.9); opacity: 0; transform: translateY(16px); transition: all 1s var(--ease) 1.1s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; opacity: 0; transition: opacity 1s 1.3s; }
body.entered .hero-intro, body.entered .hero-actions { opacity: 1; transform: none; }

/* ---------- Biography ---------- */
.bio { padding: clamp(8rem, 14vw, 12rem) var(--pad) clamp(7rem, 12vw, 10rem); overflow-x: clip; }
.bio-zig { color: var(--ochre); width: clamp(120px, 14vw, 210px); top: 2rem; left: -10px; transform: rotate(8deg); }
.bio-loop { color: var(--ochre); width: clamp(240px, 30vw, 460px); right: -90px; bottom: 6%; transform: rotate(-15deg); }
.bio-head { position: relative; max-width: 900px; margin: 0 auto; }
.bio-script { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%) rotate(-8deg); font-size: clamp(3.4rem, 8vw, 7.5rem); pointer-events: none; }
.bio-text { position: relative; z-index: 3; max-width: 46rem; margin: 3.5rem auto 0; text-align: center; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.7; color: rgba(255, 255, 255, 0.9); }
.facts { position: relative; z-index: 3; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin: 2.5rem auto 0; max-width: 50rem; }
.facts li { border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.facts span { color: var(--ochre); font-weight: 600; margin-right: 0.45rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; }
.taped-photo { position: relative; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45); }
.taped-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-photo { width: clamp(220px, 24vw, 340px); aspect-ratio: 4 / 5; margin: 4rem 0 0 4%; transform: rotate(-3deg); }
.bio-photo img { object-position: 60% 20%; }
.bio-quote { position: relative; z-index: 3; max-width: 34rem; margin: -14rem 6% 0 auto; text-align: right; }
.bio-quote .script { display: block; font-size: clamp(2.4rem, 4.6vw, 4.2rem); color: var(--white); transform: rotate(-4deg); }
.bio-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.85rem; color: var(--muted-l); }

/* ---------- Horizon pinned ---------- */
.horizon { position: relative; height: 260vh; background: var(--earth); }
.horizon-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.horizon-media { position: absolute; inset: 0; clip-path: inset(var(--clip, 16%) round 6px); }
.horizon-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(var(--zoom, 1.2)); filter: contrast(1.05) saturate(1.1); }
.horizon-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 21, 16, 0.85), rgba(30, 21, 16, 0.05) 65%); opacity: var(--shade, 0); }
.horizon-copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); pointer-events: none; }
.horizon-line { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.4rem, 6.5vw, 6rem); line-height: 1; opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.8s var(--ease); }
.horizon-line.script { font-family: var(--script); text-transform: none; font-size: clamp(4rem, 10vw, 9rem); color: var(--rust); transform: translateY(30px) rotate(-6deg); margin-top: 0.4rem; }
.horizon-line.on { opacity: 1; transform: none; }
.horizon-line.script.on { transform: rotate(-6deg); }

/* ---------- Album ---------- */
.album { position: relative; min-height: 110vh; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.album-photo { position: absolute; inset: -8% 0; z-index: -1; }
.album-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 25%; filter: sepia(0.15) contrast(1.08); }
.album-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 21, 16, 0.95) 10%, rgba(70, 40, 22, 0.55) 55%, rgba(30, 21, 16, 0.35)), linear-gradient(0deg, rgba(30, 21, 16, 0.9), transparent 45%); }
.album-spark { color: var(--ochre); width: 120px; top: 14%; right: 8%; transform: rotate(12deg); }
.album-inner { position: relative; z-index: 3; width: 100%; max-width: var(--max); margin: 0 auto; padding: 8rem var(--pad) 6rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: end; }
.album-title { position: relative; }
.album-title .mega { font-size: clamp(7rem, 22vw, 20rem); line-height: 0.8; }
.album-script { position: absolute; left: -2%; top: -8%; z-index: 2; font-size: clamp(3.4rem, 9vw, 8rem); transform: rotate(-10deg); }
.album-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }
.album-desc { font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, 0.88); max-width: 34rem; justify-self: end; padding-bottom: 0.6rem; }
.album-desc em { font-style: italic; }

/* ---------- × The World ---------- */
.world { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; padding: clamp(7rem, 12vw, 10rem) var(--pad) 0; overflow-x: clip; }
.world-copy { max-width: 40rem; padding-bottom: clamp(5rem, 9vw, 8rem); }
.world-title { position: relative; margin-bottom: 3rem; }
.world-title .x { display: inline-block; font-size: 1.2em; color: var(--ochre); -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15); margin: 0 0.15em 0 -0.05em; transform: translateY(0.12em) rotate(-8deg); }
.world-copy p { color: var(--muted-d); font-size: 1.08rem; margin-bottom: 2rem; }
.names { display: flex; flex-wrap: wrap; gap: 0.1rem 1rem; }
.names li { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.25; color: rgba(17, 17, 17, 0.16); transition: color 0.5s; }
.names li.on { color: var(--ink); }
.names li:nth-child(4n).on { color: var(--rust); }
.world-figure { position: relative; align-self: end; height: 100%; min-height: 620px; display: flex; justify-content: center; align-items: flex-end; }
.world-cutout { position: relative; z-index: 2; height: min(88vh, 880px); width: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25)); }
.world-bolt { color: var(--rust); width: 110px; right: 4%; top: 12%; z-index: 1; }
.world-figure .tape-side { right: 6%; top: 55%; }

/* ---------- Journey: highlights on a music staff ---------- */
.journey { position: relative; height: var(--h, 400vh); --olive: #5d6136; }
.journey-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(1rem, 3vh, 2.2rem); }
.journey-head { padding: 0 var(--pad); display: flex; align-items: flex-end; gap: 1rem 3rem; flex-wrap: wrap; }
.journey-head > :first-child { flex-basis: 100%; }
.kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--rust); margin-bottom: -0.4rem; }
.journey-head .mega { font-size: clamp(3rem, 7vw, 6.4rem); }
.eras { display: flex; gap: 1.4rem; flex-wrap: wrap; padding-bottom: 0.8rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-d); }
.eras li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.5rem; background: var(--olive); }
.eras .era-rise::before { background: var(--rust); }
.eras .era-world::before { background: var(--ochre); }

.hl-track {
  --step: clamp(150px, 13vw, 190px); --card: clamp(220px, 17vw, 260px);
  --staff-top: 470px; --gap: 10px; --ys: 0.85;   /* staff line spacing, card height scale */
  position: relative; flex: 0 0 auto; height: 540px;
  width: calc(var(--count) * var(--step) + var(--card) + var(--pad) * 2 + 80px);
  will-change: transform;
}
/* five-line staff with treble clef and bar lines */
.staff { position: absolute; left: var(--pad); right: 0; top: var(--staff-top); height: calc(var(--gap) * 4); }
.staff i { position: absolute; left: 0; right: 0; height: 1.5px; background: rgba(26, 18, 13, 0.32); }
.staff i:nth-of-type(1) { top: 0; } .staff i:nth-of-type(2) { top: var(--gap); } .staff i:nth-of-type(3) { top: calc(var(--gap) * 2); }
.staff i:nth-of-type(4) { top: calc(var(--gap) * 3); } .staff i:nth-of-type(5) { top: calc(var(--gap) * 4); }
.staff .clef { position: absolute; left: 0; top: -30px; font-size: 92px; line-height: 1; color: var(--ink); font-family: "Noto Music", "Segoe UI Symbol", "Apple Symbols", serif; }
.staff b { position: absolute; top: 0; height: calc(var(--gap) * 4); width: 2px; background: rgba(26, 18, 13, 0.4); left: calc(80px + var(--x) * var(--step) - var(--step) / 2); }

.hl { position: absolute; top: 0; left: calc(var(--pad) + 80px + var(--x) * var(--step)); height: 100%; width: var(--card); z-index: calc(10 + var(--x)); --era: var(--rust); }
.hl-roots { --era: var(--olive); }
.hl-world { --era: var(--ochre); }
.hl-next { --era: var(--clay); }
/* note position on the staff: --n 0 (bottom line) … 8 (top line) */
.hl { --note-y: calc(var(--staff-top) + var(--gap) * 4 - var(--n) * var(--gap) / 2); }
.hl-stem { position: absolute; left: 0; top: calc(var(--y) * var(--ys)); height: calc(var(--note-y) - var(--y) * var(--ys)); border-left: 2px dashed var(--era); opacity: 0.7; }
.hl-note {
  position: absolute; left: -9px; top: calc(var(--note-y) - 7px); width: 20px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--era); transform: rotate(-22deg);
  transition: background 0.4s, transform 0.5s var(--ease), box-shadow 0.5s;
}
.hl.played .hl-note { background: var(--era); transform: rotate(-22deg) scale(1.25); box-shadow: 0 0 0 6px color-mix(in srgb, var(--era) 22%, transparent); }
.hl-card {
  position: absolute; left: 0; top: calc(var(--y) * var(--ys)); width: var(--card); min-height: 150px;
  background: #fffdf8; color: var(--ink); padding: 1.3rem 1.4rem 1.2rem 1.6rem;
  border-left: 7px solid var(--era); border-radius: 3px;
  box-shadow: 0 18px 40px rgba(60, 35, 15, 0.14), 0 2px 6px rgba(60, 35, 15, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.hl-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(60, 35, 15, 0.2); }
.hl-year { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; letter-spacing: 0.01em; }
.hl-card h3 { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; line-height: 1.35; margin: 0.5rem 0 0.7rem; }
.hl-place { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(26, 18, 13, 0.45); line-height: 1.5; }
.hl-next .hl-card { background: transparent; border: 2px dashed var(--clay); border-left-width: 7px; box-shadow: none; }
.hl-next .hl-year { font-family: var(--script); color: var(--rust); font-size: 3rem; }

/* ---------- Live ---------- */
.live { padding: clamp(7rem, 12vw, 10rem) var(--pad) clamp(6rem, 10vw, 8rem); overflow-x: clip; }
.live-head { position: relative; max-width: 900px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.live-script { position: absolute; right: -2%; top: -14%; font-size: clamp(2.8rem, 6vw, 5.4rem); transform: rotate(-8deg); z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto; border-block: 2px solid var(--ink); }
.stat { padding: 2rem 1rem; text-align: center; border-right: 2px solid var(--ink); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: 1; color: var(--ink); }
.stat:nth-child(odd) strong { color: var(--rust); }
.stat span { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.collage { position: relative; max-width: var(--max); height: clamp(680px, 90vw, 1050px); margin: clamp(4rem, 8vw, 6rem) auto 0; }
.c { position: absolute; background: #fff; padding: 0.6rem; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25); }
.c img { width: 100%; height: 100%; object-fit: cover; }
.c1 { left: 0; top: 4%; width: 56%; aspect-ratio: 16 / 9; z-index: 2; transform: rotate(-2deg); }
.c2 { right: 3%; top: 0; width: 28%; aspect-ratio: 3 / 4; transform: rotate(3deg); }
.c3 { left: 8%; bottom: 2%; width: 40%; aspect-ratio: 4 / 3; z-index: 3; transform: rotate(1.5deg); }
.c4 { right: 6%; bottom: 10%; width: 38%; aspect-ratio: 3 / 2; z-index: 2; transform: rotate(-3deg); }
.collage-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; font-family: var(--display); text-transform: uppercase; text-align: center; line-height: 0.88; font-size: clamp(3.2rem, 9vw, 8.4rem); color: var(--white); text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45); pointer-events: none; }
.collage-word .script { display: block; font-size: 0.75em; margin-top: -0.25em; transform: rotate(-8deg); text-shadow: none; }

/* ---------- Places band ---------- */
.places { background: var(--rust); color: var(--white); padding: 1.4rem 0; transform: rotate(-1.5deg) scale(1.03); position: relative; z-index: 6; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }
.places-row { overflow: hidden; white-space: nowrap; }
.places-track { display: inline-flex; align-items: center; gap: 1.8rem; animation: slide 40s linear infinite; }
.places-row:first-child .places-track { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 4rem); }
.places-row b { color: var(--ochre); font-weight: 400; font-size: 0.6em; }
.places-row.reverse { margin-top: 0.3rem; }
.places-row.reverse .places-track { animation-direction: reverse; animation-duration: 60s; font-family: var(--script); font-size: clamp(1.8rem, 3.2vw, 2.8rem); color: var(--ink); gap: 2.4rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Watch ---------- */
.watch { position: relative; padding: clamp(7rem, 12vw, 10rem) var(--pad); overflow-x: clip; }
.watch-loop { color: var(--ochre); width: 360px; left: -120px; bottom: 8%; transform: rotate(160deg); opacity: 0.9; }
.watch-head { position: relative; z-index: 3; max-width: var(--max); margin: 0 auto 3rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.watch-head > div { position: relative; }
.watch-head .mega { font-size: clamp(3rem, 7vw, 6.4rem); }
.watch-script { position: absolute; left: 0; top: -2.2rem; font-size: clamp(2.6rem, 5vw, 4.4rem); transform: rotate(-8deg); }
.watch-head p { color: var(--muted-l); max-width: 24rem; }
.vwall { position: relative; z-index: 3; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 1.2rem; height: clamp(560px, 60vw, 760px); }
.vcard { position: relative; overflow: hidden; text-align: left; display: block; border-radius: 4px; }
.vcard-lg { grid-row: span 3; }
.vcard img, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.6s; filter: sepia(0.2) contrast(1.05); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 21, 16, 0.92), rgba(30, 21, 16, 0.05) 65%); }
.vcard:hover img, .vcard:hover video { transform: scale(1.06); filter: none; }
.vplay { position: absolute; z-index: 2; right: 1.2rem; top: 1.2rem; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--ochre); transition: transform 0.35s var(--ease); }
.vcard-lg .vplay { width: 5.4rem; height: 5.4rem; left: 50%; top: 50%; right: auto; transform: translate(-50%, -50%); }
.vplay::before { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.vcard:hover .vplay { transform: scale(1.12); }
.vcard-lg:hover .vplay { transform: translate(-50%, -50%) scale(1.12); }
.vcard-lg .vplay::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--ochre); animation: ping 2s infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }
.vmeta { position: absolute; z-index: 2; left: 1.3rem; right: 1.3rem; bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.15rem; }
.vtag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre); }
.vtitle { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.1rem, 1.8vw, 1.6rem); line-height: 1.1; }
.vcard-lg .vtitle { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.vcard.now::before { content: "Now playing"; position: absolute; z-index: 3; left: 1.3rem; top: 1.2rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; background: var(--rust); color: var(--white); padding: 0.3rem 0.7rem; border-radius: 999px; }

/* ---------- Family ---------- */
.family { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.family-media { position: absolute; inset: -10% 0; z-index: -1; }
.family-media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.2) contrast(1.05); }
.family-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 21, 16, 0.96) 28%, rgba(30, 21, 16, 0.35)); }
.family-copy { position: relative; z-index: 3; max-width: 42rem; padding: 8rem var(--pad); }
.family-copy .mega { font-size: clamp(3rem, 6.6vw, 6rem); }
.family-script { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); transform: rotate(-6deg); margin-bottom: -0.6rem; }
.family-copy p { color: var(--muted-l); margin: 1.6rem 0 2.2rem; font-size: 1.08rem; }
.family-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Records ---------- */
.music { padding: clamp(7rem, 12vw, 10rem) 0 clamp(5rem, 9vw, 7rem) var(--pad); overflow-x: clip; }
.music-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding-right: var(--pad); }
.music-head > div:first-child { position: relative; }
.music-script { position: absolute; right: -14%; top: -1.6rem; font-size: clamp(2.6rem, 5vw, 4.6rem); transform: rotate(-8deg); }
.music-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.drag-hint { margin: 2.5rem 0 0.5rem; font-size: 0.85rem; color: var(--muted-d); }
.shelf { display: flex; gap: clamp(2.5rem, 5vw, 4.5rem); overflow-x: auto; padding: 1.5rem 8rem 2.5rem 0.5rem; scrollbar-width: none; cursor: grab; scroll-snap-type: x proximity; }
.shelf::-webkit-scrollbar { display: none; }
.shelf.dragging { cursor: grabbing; scroll-snap-type: none; }
.rec { position: relative; flex: 0 0 auto; width: clamp(210px, 22vw, 280px); aspect-ratio: 1; scroll-snap-align: start; cursor: pointer; user-select: none; }
.sleeve { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: url("assets/img/speckle-light.svg") 0 0 / 300px, linear-gradient(150deg, rgba(255, 255, 255, 0.14), transparent 50%), var(--c); padding: 1.3rem; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); transition: transform 0.5s var(--ease); }
.rec-light .sleeve { background: url("assets/img/speckle-dark.svg") 0 0 / 300px, var(--c); color: var(--ink); }
.yr { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.25em; }
.ttl { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 0.95; }
.note { position: absolute; right: 1rem; top: 0.8rem; font-size: 2rem; transform: rotate(-8deg); color: var(--ochre); }
.disc { position: absolute; top: 4%; left: 4%; width: 92%; aspect-ratio: 1; border-radius: 50%; z-index: 1; background: radial-gradient(circle, var(--paper) 0 2.5%, var(--c) 3% 17%, #0c0a09 17.5% 19%, transparent 19.5%), repeating-radial-gradient(circle, #151210 0 2px, #222 2px 3.5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); transition: transform 0.8s var(--ease); }
.rec:hover .disc, .rec:focus-visible .disc { transform: translateX(42%) rotate(160deg); }
.rec:hover .sleeve { transform: translateX(-6%) rotate(-2deg); }

/* ---------- Legacy ---------- */
.legacy { padding: clamp(8rem, 13vw, 11rem) var(--pad) clamp(7rem, 12vw, 10rem); overflow-x: clip; }
.legacy-zig { color: var(--ochre); width: 180px; right: 4%; top: 7rem; transform: rotate(-10deg); }
.legacy-head { position: relative; max-width: var(--max); margin: 0 auto clamp(3rem, 6vw, 5rem); }
.legacy-script { display: block; font-size: clamp(2.6rem, 5vw, 4.6rem); transform: rotate(-6deg); margin-bottom: -0.4rem; }
.legacy-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.lg-card { background: var(--earth-2); border: 1.5px solid rgba(255, 255, 255, 0.12); padding: 2.2rem; transition: border-color 0.4s, transform 0.4s var(--ease); }
.lg-card:hover { border-color: var(--ochre); transform: translateY(-4px) rotate(-0.5deg); }
.lg-num { font-family: var(--script); font-size: 2.6rem; color: var(--rust); line-height: 1; }
.lg-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2rem; margin: 0.8rem 0; line-height: 1; }
.lg-card p { color: var(--muted-l); font-size: 0.98rem; }
.awards { max-width: var(--max); margin: clamp(5rem, 10vw, 8rem) auto 0; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.awards-img { aspect-ratio: 3 / 4; transform: rotate(-2deg); background: #fff; padding: 0.7rem; }
.awards-list ul { margin: 0 0 3rem; }
.awards-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.awards-list li span { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.awards-list li small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre); }
.partners { color: var(--muted-l); line-height: 2; }

/* ---------- Join ---------- */
.join { overflow-x: clip; isolation: isolate; }
.join-cutout { position: absolute; z-index: 0; right: 2%; bottom: 0; height: 95%; max-height: 1100px; width: auto; }
.join-bolt { color: var(--rust); width: 120px; right: 30%; top: 14%; z-index: 0; }
.join-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: clamp(8rem, 13vw, 11rem) var(--pad) clamp(6rem, 10vw, 8rem); }
.join-script { display: block; font-size: clamp(3.4rem, 7vw, 6rem); transform: rotate(-8deg); margin-bottom: -1rem; }
.join-title { font-size: clamp(4rem, 11vw, 10rem); line-height: 0.86; }
.follow { display: grid; grid-template-columns: repeat(2, minmax(0, 15rem)); gap: 0.8rem; margin: 3rem 0 2rem; }
.follow-btn { display: flex; flex-direction: column; padding: 1rem 1.3rem; border: 2px solid var(--ink); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.follow-btn span { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; line-height: 1.1; }
.follow-btn small { font-size: 0.82rem; opacity: 0.75; }
.follow-btn:hover { background: var(--ink); color: var(--ochre); transform: rotate(-1deg); }
.sub-form { display: flex; gap: 0.4rem; padding: 0.4rem; max-width: 34rem; background: var(--ink); border-radius: 999px; }
.sub-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--white); font: inherit; padding: 0 1.2rem; }
.sub-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.sub-form .pill-solid { background: var(--ochre); color: var(--ink); border-color: var(--ochre); }
.form-msg { min-height: 1.6rem; margin-top: 0.8rem; font-weight: 600; }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3rem; max-width: 54rem; padding-top: 2.5rem; border-top: 2px solid var(--ink); }
.book p { margin-bottom: 1rem; }
.avail { display: grid; gap: 0.3rem; font-size: 0.95rem; font-weight: 500; }
.avail li::before { content: "✳ "; color: var(--rust); }
.contact { display: grid; gap: 0.7rem; align-content: start; }
.contact-line { display: flex; flex-direction: column; padding: 0.85rem 1.1rem; background: var(--ink); color: var(--white); font-weight: 500; word-break: break-all; transition: transform 0.3s var(--ease), background 0.3s; }
.contact-line span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ochre); }
.contact-line:hover { transform: translateX(6px); background: var(--rust); }

/* ---------- Footer ---------- */
.footer { padding: 5rem var(--pad) 8rem; overflow-x: clip; }
.footer-big { position: relative; font-family: var(--display); text-transform: uppercase; text-align: center; font-size: clamp(3rem, 13vw, 13.5rem); line-height: 0.9; white-space: nowrap; }
.footer-big .script { position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%) rotate(-8deg); font-size: 0.55em; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; max-width: var(--max); margin: 3rem auto 0; font-size: 0.85rem; color: var(--muted-l); }
.footer-logo { height: 54px; width: auto; }

/* ---------- Floating player ---------- */
.dock { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 220; transform: translateY(150%); transition: transform 0.8s var(--ease); }
body.entered .dock { transform: none; }
.dock-backdrop { position: fixed; inset: 0; background: rgba(30, 21, 16, 0.88); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.dock-card { position: relative; width: 300px; background: var(--ink); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.dock-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.dock-video iframe, #ytPlayer { position: absolute; inset: 0; width: 100%; height: 100%; }
.dock-cover { position: absolute; inset: 0; transition: opacity 0.5s; }
.dock-cover img { width: 100%; height: 100%; object-fit: cover; }
body.playing .dock-cover, .dock.has-video .dock-cover { opacity: 0; pointer-events: none; }
.dock-bar { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.8rem; }
.dock .eq { color: var(--ochre); flex: 0 0 auto; }
.dock-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dock-label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ochre); }
.dock-title { font-size: 0.84rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-ctrls { display: flex; align-items: center; gap: 0.1rem; }
.dock-ctrls button { width: 2rem; height: 2rem; border-radius: 50%; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); transition: color 0.2s, background 0.2s; }
.dock-ctrls button:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.dock-ctrls .dock-play { background: var(--ochre); color: var(--ink); width: 2.3rem; height: 2.3rem; }
.dock-ctrls .dock-play:hover { background: #fff; color: var(--ink); }
.dock.theatre { left: 0; bottom: 0; right: 0; top: 0; display: grid; place-items: center; }
.dock.theatre .dock-backdrop { opacity: 1; pointer-events: auto; }
.dock.theatre .dock-card { width: min(1100px, 92vw); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.bio-photo.reveal.in { transform: rotate(-3deg); }
.awards-img.reveal.in { transform: rotate(-2deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-name .row, .hero-intro, .hero-actions, .horizon-line { opacity: 1 !important; transform: none !important; }
  .hero-script { clip-path: none !important; }
  .names li { color: var(--ink); }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .legacy-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); } .stat { padding: 1.4rem 0.4rem; } .stat strong { font-size: 2.6rem; }
  .world { grid-template-columns: 1fr; }
  .world-figure { min-height: 0; height: 70vh; }
  .world-cutout { height: 100%; }
  .join-cutout { opacity: 0.25; right: -25%; }
  .album-inner { grid-template-columns: 1fr; }
  .album-desc { justify-self: start; }
}
@media (max-width: 860px) {
  .nav { top: 1rem; display: flex; align-items: center; gap: 1rem; }
  .nav-logo { display: block; }
  .burger { display: block; }
  .nav-links { position: fixed; inset: 0; z-index: -1; background: var(--earth) url("assets/img/speckle-light.svg"); align-items: center; justify-content: center; gap: 0.6rem; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { color: #fff; font-size: 2.6rem; opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  .sound-btn { top: 0.9rem; width: 52px; height: 52px; }

  .bio-quote { margin: 3rem 0 0; text-align: left; }
  .bio-photo { margin: 3rem auto 0; }
  .collage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .c { position: relative; inset: auto; width: auto !important; }
  .c1, .c3 { grid-column: span 2; }
  .collage-word { position: relative; left: auto; top: auto; transform: none; grid-column: span 2; order: -1; color: var(--ink); text-shadow: none; margin-bottom: 1rem; }
  .vwall { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .vcard { aspect-ratio: 4 / 3; }
  .vcard-lg { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .journey-head { padding: 0 var(--pad); }
  .journey-script { left: var(--pad); top: -2.6rem; }
  .book { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }
  .awards-img { max-width: 380px; }
  .music-script { right: auto; left: 40%; }
  .dock { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; }
  .dock-card { width: 100%; }
  .dock:not(.theatre) .dock-card { display: flex; align-items: center; }
  .dock:not(.theatre) .dock-video { flex: 0 0 104px; align-self: stretch; aspect-ratio: auto; }
  .dock:not(.theatre) .dock-bar { flex: 1; min-width: 0; }
  .dock:not(.theatre) #expandBtn { display: none; }
}
@media (max-width: 520px) {
  .sub-form { flex-direction: column; border-radius: 16px; }
  .sub-form input { padding: 0.9rem 1rem; }
  .follow { grid-template-columns: 1fr; }
  .hero-script { width: 100%; }
}

/* ---------- Earth-palette refinements ---------- */
.ochre .script { color: var(--earth); }
.ochre .join-title { color: var(--ink); }
.follow-btn:hover { color: var(--ochre); }
.world-title .x { color: var(--rust); -webkit-text-stroke: 0; }
.world-bolt { color: var(--ochre); opacity: 0.85; }
.places { background: var(--rust); }
.places-row b { color: var(--ochre); }
.places-row.reverse .places-track { color: var(--paper); }
.stat:nth-child(odd) strong { color: var(--rust); }
.lg-card:hover { border-color: var(--ochre); }
.gate { background: radial-gradient(70% 60% at 50% 55%, rgba(180, 80, 42, 0.22), transparent 70%), var(--earth) url("assets/img/speckle-light.svg"); }
.hero-photo::after { background: linear-gradient(180deg, rgba(70, 40, 20, 0.45), rgba(30, 21, 16, 0.4) 40%, rgba(30, 21, 16, 0.85)); }

/* ---------- Nav: link to Moments page ---------- */
.nav-links .nav-moments { color: var(--ochre); }
.nav.on-light .nav-links .nav-moments { color: var(--rust); }

/* ---------- Watch: more row ---------- */
.watch-more { position: relative; z-index: 3; max-width: var(--max); margin: 2rem auto 0; display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem 0.8rem; }
.watch-more > span { margin-left: 1rem; font-size: 0.85rem; color: var(--muted-l); }
.chip { padding: 0.5rem 1rem; border: 1.5px solid rgba(251, 246, 238, 0.3); border-radius: 999px; font-size: 0.85rem; transition: border-color 0.25s, color 0.25s; }
.chip:hover { border-color: var(--ochre); color: var(--ochre); }

/* ---------- Family: phone clip ---------- */
.family { justify-content: space-between; }
.family-phone {
  position: relative; z-index: 3; flex: 0 0 auto; width: clamp(200px, 20vw, 270px); aspect-ratio: 9 / 16;
  margin-right: var(--pad); border-radius: 26px; overflow: hidden; border: 6px solid #0d0907;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); transform: rotate(4deg);
}
.family-phone.reveal.in { transform: rotate(4deg); }
.family-phone video { width: 100%; height: 100%; object-fit: cover; }
.phone-tag { position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.8rem; display: flex; align-items: center; gap: 0.45rem; font-size: 0.72rem; font-weight: 600; background: rgba(13, 9, 7, 0.7); backdrop-filter: blur(6px); padding: 0.45rem 0.7rem; border-radius: 999px; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0412b; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

@media (max-width: 860px) {
  .hero-name { white-space: normal; font-size: clamp(3.6rem, 18vw, 7rem); }
  .hero-photo img { object-position: 50% 25%; }
  .hl-track { --step: 150px; --card: 210px; --staff-top: 400px; --ys: 0.6; height: 460px; }
  .hl-year { font-size: 2.1rem; }
  .family { flex-direction: column; align-items: flex-start; }
  .family-phone { margin: 0 auto 4rem; }
}

/* ---------- Flags strip (replaces festival/country text bands) ---------- */
.places { padding: 1.6rem 0 1.8rem; }
.places-label { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--paper); margin-bottom: 1.1rem; }
.flags-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.flags-track { display: flex; gap: 1.1rem; width: max-content; animation: slide 45s linear infinite; }
.flags-row:hover .flags-track { animation-play-state: paused; }
.flag { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 120px; }
.flag img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); border: 2px solid rgba(255, 255, 255, 0.85); transition: transform 0.35s var(--ease); }
.flag:hover img { transform: translateY(-4px) rotate(-3deg) scale(1.06); }
.flag span { font-size: 0.78rem; font-weight: 600; color: var(--paper); text-align: center; line-height: 1.2; }
.flag small { font-family: var(--script); font-size: 1.4rem; color: var(--ochre); line-height: 0.8; margin-top: -0.2rem; }
.flag.home img { border-color: var(--ochre); }
@media (max-width: 600px) { .flag { width: 92px; } .flag img { width: 72px; height: 48px; } }

/* ---------- Flags band: khaki ---------- */
.places { background: #c3b091 url("assets/img/speckle-dark.svg"); background-size: 400px; }
.places-label { color: var(--ink); }
.flag span { color: var(--ink); }
.flag small { color: var(--rust); }
.flag img { border-color: #fffaf0; }
.flag.home img { border-color: var(--rust); }

/* ---------- Awards: badges ---------- */
.awards-list .award-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 0.4rem 0 0; }
.awards-list .award { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; flex-wrap: nowrap; gap: 0.35rem; padding: 1.3rem 1.3rem 1.2rem; background: var(--earth-2); border: 1.5px solid rgba(212, 162, 76, 0.35); border-radius: 10px; transition: border-color 0.3s, transform 0.4s var(--ease); }
.award:hover { border-color: var(--ochre); transform: translateY(-4px); }
.awards-list .award-mark { font-family: var(--sans); font-size: 1rem; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 0.5rem; color: var(--ink); background: radial-gradient(circle at 35% 30%, #f1d48c, var(--ochre) 55%, #a8772c); box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.2), 0 8px 18px rgba(0, 0, 0, 0.35); }
.award-mark svg { width: 34px; height: 34px; }
.award-num { flex-direction: column; line-height: 0.85; }
.award-num b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.award-num i { font-style: normal; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.award strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.award small { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ochre); }

/* ---------- Partners: logo wall ---------- */
.partners-wall { max-width: var(--max); margin: clamp(4rem, 8vw, 6rem) auto 0; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-top: 0.6rem; }
.logo-tile { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 1.2rem 0.9rem 1rem; background: #fffaf0; border-radius: 10px; text-align: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.logo-tile:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35); }
.logo-tile img { height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.logo-tile span { font-size: 0.72rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
@media (max-width: 860px) { .award-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .award-grid { grid-template-columns: 1fr; } .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Real album covers on the shelf ---------- */
.shelf { padding-bottom: 5.5rem; }
.rec.has-cover .sleeve { background-size: cover; background-position: center; padding: 0.8rem; justify-content: flex-end; }
.rec.has-cover .sleeve::after { display: none; }
.rec.has-cover .yr { align-self: flex-start; background: rgba(20, 14, 10, 0.78); color: #fff; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.68rem; letter-spacing: 0.14em; }
.rec-cap { position: absolute; left: 0; right: 0; top: calc(100% + 0.9rem); display: flex; flex-direction: column; gap: 0.1rem; color: var(--ink); }
.rec-cap b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; }
.rec-cap small { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); }

/* ---------- Featured album: Xola cover ---------- */
.album-side { display: flex; flex-direction: column; align-items: flex-end; gap: 1.6rem; justify-self: end; }
.album-cover { position: relative; display: block; width: clamp(200px, 22vw, 300px); aspect-ratio: 1; isolation: isolate; }
.album-cover img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55); transform: rotate(-3deg); transition: transform 0.5s var(--ease); }
.album-cover .disc { position: absolute; z-index: 1; top: 4%; left: 4%; width: 92%; --c: var(--rust); transition: transform 0.8s var(--ease); }
.album-cover:hover img { transform: rotate(0); }
.album-cover:hover .disc { transform: translateX(-40%) rotate(-160deg); }
@media (max-width: 1024px) { .album-side { align-items: flex-start; justify-self: start; } }

/* ---------- Partner logos: no tiles, cut-out marks on the earth ---------- */
.logo-grid { gap: 2.2rem 1.5rem; }
.logo-tile { background: none; box-shadow: none; padding: 0.4rem; border-radius: 0; }
.logo-tile:hover { box-shadow: none; transform: translateY(-5px); }
.logo-tile img { filter: drop-shadow(0 0 1px rgba(251, 246, 238, 0.35)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35)); }
.logo-tile span { color: var(--paper); opacity: 0.8; }

/* ---------- Award logos (real marks, no circle) ---------- */
.awards-list .award-logo { height: 72px; display: flex; align-items: center; margin-bottom: 0.5rem; }
.award-logo img { height: 100%; width: auto; max-width: 170px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)); }

/* ---------- Join: rebranded (clay + speckle, logo, social cards) ---------- */
.clay { background-color: var(--clay); color: var(--white); --sec: var(--clay); }
.join-logo { width: clamp(110px, 12vw, 150px); height: auto; margin-bottom: 1.6rem; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
.join .join-script { color: var(--ochre); }
.join .join-title { color: var(--white); }
.join .follow { grid-template-columns: repeat(2, minmax(0, 17rem)); gap: 0.9rem; margin: 3rem 0 3.4rem; }
.join .follow-btn { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 0.9rem; align-items: center; padding: 1rem 1.2rem; border: 0; border-radius: 12px; background: rgba(30, 21, 16, 0.55); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(212, 162, 76, 0.35); }
.join .follow-ico { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ochre); color: var(--ink); }
.join .follow-ico svg { width: 22px; height: 22px; }
.join .follow-btn span { grid-column: 2; font-size: 1.3rem; }
.join .follow-btn small { grid-column: 2; color: var(--ochre); opacity: 1; }
.join .follow-arrow { grid-column: 3; grid-row: 1 / 3; font-size: 1.2rem; color: var(--ochre); transition: transform 0.3s var(--ease); }
.join .follow-btn:hover { background: var(--earth); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--ochre); transform: translateY(-3px); }
.join .follow-btn:hover .follow-arrow { transform: translate(3px, -3px); }
.join .book, .join .book h3, .join .book p, .join .avail li { color: var(--white); }
.join .contact-line span { color: var(--ochre); }
@media (max-width: 760px) { .join .follow { grid-template-columns: 1fr; } }
.join .book { border-top-color: rgba(212, 162, 76, 0.45); }
.join .avail li::before { color: var(--ochre); }
.join .contact-line { background: var(--earth); }
.awards-list .award { justify-content: flex-end; }
/* award cards: black with white text */
.awards-list .award { background: #000; border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.awards-list .award strong, .awards-list .award small { color: #fff; }
.awards-list .award small { opacity: 0.7; }
.awards-list .award:hover { border-color: #fff; }
/* Top 50: slim strip */
.awards-list .award-mini { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.3rem; }
.awards-list .award-mini strong { font-size: 1rem; }
.awards-list .award-mini small { font-size: 0.65rem; }

/* two-paragraph bio */
.bio-text + .bio-text { margin-top: 1.6rem; }

/* bigger name + logo */
.hero-name { font-size: clamp(4rem, 16vw, 18rem); }
@media (max-width: 600px) { .hero-name { font-size: clamp(4rem, 22vw, 9rem); } }
.gate-logo { width: 140px; }
.nav-logo img { height: 56px; }
.footer-logo { height: 84px; }
.join-logo { width: clamp(150px, 16vw, 210px); }

/* =========================================================
   Phone experience
   ========================================================= */
button, a, .rec { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Touch screens: no sticky hover lifts after a tap; let the vinyl peek out instead */
@media (hover: none) {
  .pill:hover, .lg-card:hover, .award:hover, .logo-tile:hover, .follow-btn:hover, .join .follow-btn:hover, .contact-line:hover, .hl-card:hover { transform: none; }
  .pill:hover { background: none; color: var(--white); }
  .pill-solid:hover { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
  .pill-dark:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .pill-dark-ghost:hover { background: none; color: var(--ink); }
  .ochre .pill-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--ochre); }
  .rec:hover .sleeve { transform: none; }
  .rec .disc, .rec:hover .disc { transform: translateX(16%) rotate(40deg); }
  .vcard:hover img, .vcard:hover video { transform: none; filter: sepia(0.2) contrast(1.05); }
}

@media (max-width: 860px) {
  :root { --dock-h: 64px; }

  /* nav: respects the notch, shrinks once you scroll, and gets a soft backdrop so it never sits on top of text */
  .nav { top: max(1rem, env(safe-area-inset-top)); }
  .sound-btn { top: max(0.9rem, env(safe-area-inset-top)); right: max(var(--pad), env(safe-area-inset-right)); }
  .nav-logo img { transition: height 0.35s var(--ease), filter 0.3s; }
  .nav.compact .nav-logo img { height: 42px; }
  .nav.on-light .nav-logo img { filter: brightness(0); }
  .nav::before {
    content: ""; position: fixed; left: 0; right: 0; top: 0; height: calc(5.4rem + env(safe-area-inset-top)); z-index: -1; pointer-events: none;
    background: linear-gradient(var(--earth) 35%, rgba(30, 21, 16, 0)); opacity: 0; transition: opacity 0.35s;
  }
  .nav.on-light::before { background: linear-gradient(var(--paper) 35%, rgba(239, 229, 212, 0)); }
  .nav.compact::before { opacity: 1; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { color: #fff; }
  body.menu-open .nav::before { opacity: 0; }
  body.menu-open .nav .burger span { background: #fff; }
  body.menu-open .nav-logo img { filter: none; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 5px; width: 34px; }
  .burger span:first-child { top: 15px; } .burger span:last-child { top: 26px; }
  .burger.open span:first-child, .burger.open span:last-child { top: 21px; }
  .nav-links { padding: 5rem 1rem calc(var(--dock-h) + 2rem); }
  .nav-links a { font-size: clamp(2.2rem, 10vw, 2.8rem); }

  /* floating player: slimmer, clear of the home bar, more room for the title */
  .dock { left: 0.5rem; right: 0.5rem; bottom: max(0.5rem, env(safe-area-inset-bottom)); }
  .dock-card { border-radius: 12px; }
  .dock:not(.theatre) .dock-video { flex: 0 0 76px; }
  .dock:not(.theatre) .eq { display: none; }
  .dock-bar { padding: 0.55rem 0.5rem 0.55rem 0.8rem; gap: 0.4rem; }
  .dock-title { font-size: 0.88rem; }
  .dock-ctrls button { width: 2.5rem; height: 2.5rem; font-size: 0.85rem; }
  .dock-ctrls .dock-play { width: 2.75rem; height: 2.75rem; }
  .footer { padding-bottom: calc(var(--dock-h) + 3rem); }

  /* stats: tighter labels so they don't wrap awkwardly */
  .stat span { display: block; font-size: 0.62rem; letter-spacing: 0.12em; line-height: 1.4; }

  /* watch: swipeable row of portrait clips, like a reel shelf */
  .vwall {
    display: flex; height: auto; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 0.5rem; scroll-padding: 0 var(--pad); scrollbar-width: none;
  }
  .vwall::-webkit-scrollbar { display: none; }
  .vcard, .vcard-lg { flex: 0 0 min(78vw, 320px); aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 10px; }
  .vcard .vplay, .vcard-lg .vplay { width: 4rem; height: 4rem; left: 50%; top: 45%; right: auto; transform: translate(-50%, -50%); }
  .vcard:hover .vplay { transform: translate(-50%, -50%) scale(1.12); }
  .vcard .vtitle, .vcard-lg .vtitle { font-size: 1.6rem; }
  .watch-more > span { flex-basis: 100%; margin: 0.6rem 0 0; }

  /* family: words first, then the phone clip */
  .family-copy { order: -1; padding: 7rem var(--pad) 2.5rem; }
  .family-phone { width: min(56vw, 230px); margin: 0 auto 6rem; }
  .family-media::after { background: linear-gradient(180deg, rgba(30, 21, 16, 0.95) 20%, rgba(30, 21, 16, 0.55)); }
}

@media (max-width: 600px) {
  .hero-bottom { padding-bottom: calc(var(--dock-h) + 1.6rem + env(safe-area-inset-bottom)); }
  .hero-foot { margin-top: 1.2rem; gap: 1.2rem; }
  .hero-intro { font-size: 0.96rem; }
  .hero-actions { width: 100%; }
  .hero-actions .pill { flex: 1 1 auto; padding: 0.85rem 1.2rem; }

  .pill { padding: 0.85rem 1.4rem; }
  .bio-text { font-size: 1.02rem; }
  .bio-photo { width: min(72vw, 300px); }

  .join-logo { width: 120px; }
  .join .follow-btn span { font-size: 1.15rem; }
  .contact-line { word-break: normal; overflow-wrap: anywhere; }

  .shelf { gap: 2.2rem; padding-right: 3rem; }
  .rec { width: min(62vw, 240px); }
  .drag-hint { padding-right: var(--pad); }
}

@media (max-width: 480px) {
  /* awards: logo beside the text, one per row */
  .awards-list .award-grid { grid-template-columns: 1fr; gap: 0.7rem; }
  .awards-list .award { display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; align-items: center; padding: 1rem 1.1rem; }
  .awards-list .award-logo { grid-row: span 2; height: 56px; margin: 0; justify-content: center; }
  .award-logo img { max-width: 64px; }
  .awards-list .award strong { font-size: 1.15rem; align-self: end; }
  .awards-list .award small { align-self: start; }
  .awards-list .award-mini { display: flex; }
  .logo-grid { gap: 1.8rem 1rem; }
  .logo-tile img { height: 60px; }
}

/* ---------- Desktop: logo above the stacked nav ---------- */
@media (min-width: 861px) {
  .nav-logo { display: block; margin-bottom: 1.1rem; }
  .nav-logo img { height: clamp(96px, 9vw, 140px); width: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.3)); transition: height 0.4s var(--ease), filter 0.3s; }
  .nav.compact .nav-logo img { height: 72px; }
  .nav.on-light .nav-logo img { filter: brightness(0); }
}
