:root {
  --bg: #0d0c0a;
  --ink: #ece6da;
  --muted: #8f887b;
  --line: rgba(236, 230, 218, 0.14);
  --accent: #d3bf9a;       /* warm beige accent */
  --accent-deep: #a8946f;
  --name-font: "Jost", "Manrope", system-ui, sans-serif; /* nav name — swap to var(--serif) for the previous look */
  --gutter: clamp(20px, 5vw, 72px);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--accent); }
h1, h2, p { margin: 0; }

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ── Flowing background ── */
#flow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
main, .footer { position: relative; z-index: 1; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding 0.5s var(--ease), background 0.5s, backdrop-filter 0.5s;
}
.nav.scrolled {
  padding-block: 14px;
  background: rgba(13, 12, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-name {
  font-family: var(--name-font);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.nav-name i {
  display: inline-block;
  width: 0.34em;
  height: 0.34em;
  margin: 0 0.5em 0 0.2em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.22em;
}
.nav nav { display: flex; gap: clamp(16px, 3vw, 40px); }
.nav nav a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 0;
}
.nav nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Hero ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px var(--gutter) 16px;
}
.hero-roles {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  gap: 0.7em;
  font-family: var(--name-font);
  font-weight: 300;
  letter-spacing: 0.06em;
  font-size: clamp(0.62rem, 1.95vw, 1rem);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(24px);
  animation: settle 1.5s 0.2s var(--ease) forwards;
}
.hero-roles i { width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--accent); flex: none; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: clamp(20px, 3vw, 32px);
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade 1.4s 0.9s var(--ease) forwards;
  transition: border-color 0.4s, background 0.4s;
}
.hero-cta:hover { border-color: var(--accent); background: rgba(211, 191, 154, 0.08); }
.cta-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ── Marquee ── */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.85;
}
.marquee-track i {
  width: 6px; height: 6px;
  margin: 0 clamp(24px, 4vw, 56px);
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ── Sections ── */
.section { padding: clamp(32px, 4.5vw, 61px) var(--gutter); }
.section-head { margin-bottom: clamp(21px, 3vw, 35px); }
.section-head .eyebrow, .about-text .eyebrow { margin-bottom: 10px; }

/* ── Work rail ── */
.work { padding-inline: 0; }
.work .section-head { padding-inline: var(--gutter); }
.rail {
  display: flex;
  gap: clamp(8px, 1.1vw, 15px);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }

.rail-wrap { position: relative; --ph: clamp(162px, 18vw, 238px); }
.rail-arrow {
  position: absolute;
  top: calc(var(--ph) / 2 - 19px);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(236, 230, 218, 0.35);
  background: rgba(13, 12, 10, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.rail-arrow[hidden] { display: none; }
.rail-arrow:hover { opacity: 1; background: rgba(13, 12, 10, 0.7); }
.rail-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rail-next { right: clamp(8px, 2vw, 24px); animation: nudge 2.4s ease-in-out infinite; }
.rail-prev { left: clamp(8px, 2vw, 24px); }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .rail-next { animation: none; } }

.card {
  flex: none;
  margin: 0;
  scroll-snap-align: start;
}
/* Every poster shares one height and keeps its own proportions (no cropping) */
.card-media {
  position: relative;
  height: var(--ph);
  overflow: hidden;
  border-radius: 3px;
  background: #171512;
}
.card-media.is-empty { aspect-ratio: 4 / 5; }
.card-media img {
  height: 100%;
  width: auto;
  display: block;
  transition: transform 1.4s var(--ease);
  -webkit-user-drag: none;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card figcaption { width: 0; min-width: 100%; flex-direction: column; flex-wrap: nowrap; }
.card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 16px;
  padding-top: 10px;
}
.card-title { font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; }
.card-role {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Placeholders (shown until real images are added) */
.placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform 1.4s var(--ease);
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(211, 191, 154, 0.28), transparent 60%),
    linear-gradient(160deg, #24201a, #121110);
}
.placeholder span {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.ph-1 { background: radial-gradient(110% 80% at 80% 15%, rgba(211, 191, 154, 0.3), transparent 60%), linear-gradient(200deg, #2a2219, #100f0d); }
.ph-2 { background: radial-gradient(100% 70% at 30% 90%, rgba(211, 191, 154, 0.35), transparent 60%), linear-gradient(140deg, #1d1c1f, #100f0d); }
.ph-3 { background: radial-gradient(90% 90% at 70% 70%, rgba(211, 191, 154, 0.22), transparent 65%), linear-gradient(180deg, #1b1f1e, #0f0e0d); }

/* ── About ── */
.about {
  display: block;
}
.about-portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
}
.about-text h2 { margin-bottom: clamp(17px, 2.7vw, 27px); }
.about-lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.35;
  margin-bottom: 24px;
}
.about-text p:not(.eyebrow):not(.about-lead) {
  max-width: 78ch;
  font-size: 0.9rem;
  color: rgba(236, 230, 218, 0.78);
  margin-bottom: 1.2em;
}
.about-text p.about-first { color: var(--ink) !important; font-size: 1rem; }
.about-close { font-style: italic; margin: 36px 0 0; }
.about-text p.about-close { max-width: none; }
@media (min-width: 761px) {
  .about { align-items: start; }
  .about-portrait { position: sticky; top: 96px; }
}

/* ── Credits ── */
.credit-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 20px clamp(24px, 5vw, 72px);
  padding: clamp(18px, 2.5vw, 28px) 0;
  border-top: 1px solid var(--line);
}
.credit-group h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  color: var(--ink);
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  align-self: start;
}
.credit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: clamp(24px, 5vw, 72px);
}
.credit-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  transition: padding 0.5s var(--ease);
}
.credit-list li:hover { padding-left: 10px; }
.credit-title { font-family: var(--serif); font-size: 1rem; line-height: 1.25; }
.credit-net {
  flex: none;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Player ── */
.player {
  max-width: 520px;
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 2.5vw, 28px);
}
.now {
  display: flex;
  align-items: center;
  gap: 14px;
}
.play {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.play:hover { background: var(--accent); color: var(--bg); transform: scale(1.05); }
.play svg { width: 38%; height: 38%; fill: currentColor; grid-area: 1 / 1; }
.play .i-pause, .playing .play .i-play { display: none; }
.playing .play .i-pause { display: block; }
.playing .play { background: var(--accent); color: var(--bg); }

.now-meta { flex: 1; min-width: 0; }
.now-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.now-note { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; margin-top: 4px; }
.now-time {
  flex: none;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  margin: 12px 0;
  cursor: pointer;
  touch-action: none;
}
.wave b {
  flex: 1;
  min-width: 1px;
  border-radius: 2px;
  background: rgba(236, 230, 218, 0.2);
  transition: background 0.25s, transform 0.6s var(--ease);
  transform: scaleY(0.25);
}
.wave.ready b { transform: scaleY(1); }
.wave b.on { background: var(--accent); }

.tracks { list-style: none; margin: 0; padding: 0; }
.tracks li { border-top: 1px solid var(--line); }
.tracks li:last-child { border-bottom: 1px solid var(--line); }
.track {
  width: 100%;
  display: grid;
  grid-template-columns: 2.4em 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 9px 4px;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: padding 0.5s var(--ease), color 0.3s;
}
.track:hover { padding-left: 16px; }
.track-n { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--muted); }
.track-title { font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; }
.track-note { display: block; font-family: var(--sans); font-size: 0.66rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 1px; }
.track-dur { font-size: 0.68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.track-title, .track-n { opacity: 0.72; transition: opacity 0.3s; }
.track:hover .track-title, .track.active .track-title, .track.active .track-n { opacity: 1; }
.track.active { box-shadow: inset 2px 0 0 var(--accent); padding-left: 12px; background: linear-gradient(90deg, rgba(211, 191, 154, 0.1), transparent 70%); }

/* ── Photo strip: one line, every photo the same height ── */
.photos { padding-inline: 0; }
.collage {
  display: flex;
  gap: 8px;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.collage::-webkit-scrollbar { display: none; }
.collage img:first-child { margin-left: auto; }
.collage img:last-child { margin-right: auto; }
.collage img {
  flex: none;
  display: block;
  height: clamp(100px, 12vw, 150px);
  width: auto;
  border-radius: 3px;
}

.collage img { cursor: zoom-in; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 0.4s; }
.collage img:hover { filter: brightness(1.15); }

/* ── Enlarged photo view ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(8, 7, 6, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(88vw, 900px);
  max-height: 84vh;
  border-radius: 3px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  transform: scale(0.96);
  transition: transform 0.5s var(--ease);
}
.lightbox.open img { transform: none; }
.lb-btn {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(236, 230, 218, 0.35);
  background: rgba(13, 12, 10, 0.5);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s, border-color 0.3s;
}
.lb-btn:hover { opacity: 1; border-color: var(--ink); }
.lb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: clamp(8px, 2vw, 28px); top: calc(50% - 21px); }
.lb-next { right: clamp(8px, 2vw, 28px); top: calc(50% - 21px); }

/* ── Footer ── */
.footer {
  padding: clamp(32px, 4.35vw, 58px) var(--gutter) 24px;
  border-top: 1px solid var(--line);
}
.footer-mail {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.1;
  word-break: break-word;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 1px;
  transition: background-size 0.8s var(--ease), color 0.4s;
}
.footer-mail:hover { background-size: 100% 1px; color: var(--accent); }
.footer .footer-mail { display: block; width: fit-content; }
.footer .footer-social { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ig { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.imdb { width: 2em; height: 1em; flex: none; }
.imdb rect { fill: none; stroke: currentColor; stroke-width: 1.4; }
.imdb text { fill: currentColor; font: 700 11px/1 "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.2px; }
.ig .ig-dot { fill: currentColor; stroke: none; }
.footer-place {
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(33px, 4.9vw, 55px);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-base a:hover { color: var(--ink); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ── Keyframes ── */
@keyframes settle { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: 0.45; } }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Mobile ── */
@media (max-width: 760px) {
  .nav-credits { display: none; }
  .nav nav a { font-size: 0.66rem; letter-spacing: 0.18em; }
  .rail-wrap { --ph: 171px; }
  .about { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-portrait { width: 170px; }
  .credit-group { grid-template-columns: 1fr; }
  .credit-list { columns: 1; }
  .about-portrait { max-width: 150px; }
  .wave { gap: 1.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-roles, .hero-cta { animation-duration: 0.01s; animation-delay: 0s; }
  .marquee-track, .cta-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 460px) {
  .nav-name { font-size: 0.9rem; letter-spacing: 0.24em; }
  .nav nav { gap: 12px; }
  .nav nav a { font-size: 0.6rem; letter-spacing: 0.12em; }
}

/* ── Jost for the My story text and the contact details ── */
.about-text p { font-family: var(--name-font); font-weight: 300; letter-spacing: 0.01em; }
.about-text p:not(.about-lead) { font-size: 1rem; }
.about-text p.about-first { font-size: 1.1rem; }
.about-text p.about-close { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: 0; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.35; }
.footer .footer-mail, .footer-place { font-family: var(--name-font); font-weight: 300; letter-spacing: 0.03em; }
.footer .footer-mail { font-size: clamp(1rem, 1.5vw, 1.15rem); }
.footer-place { font-size: 0.9rem; }


/* ══════════════════════════════════════════════════════════════
   Distinct sections, more motion, and the "ribbon" music section
   ══════════════════════════════════════════════════════════════ */
:root { --sheet: clamp(20px, 3vw, 36px); --pad: clamp(52px, 6.5vw, 92px); }

/* Scroll progress line and the section dots on the right edge */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 20;
  background: #fff; mix-blend-mode: difference;
  transform-origin: left; transform: scaleX(0);
}
.dots {
  position: fixed; right: 10px; top: 50%; z-index: 15;
  transform: translateY(-50%);
  display: grid; gap: 12px; justify-items: center;
  mix-blend-mode: difference;
}
.dots a {
  display: block; width: 6px; height: 6px; border-radius: 6px;
  background: #fff; opacity: 0.4;
  transition: height 0.5s var(--ease), opacity 0.3s;
}
.dots a:hover { opacity: 0.8; }
.dots a.active { height: 26px; opacity: 1; }
.nav nav a.active::after { transform: scaleX(1); transform-origin: left; }

/* Each section is a flat band with its own quiet tone: straight edges, no shadows */
.panel {
  position: relative;
  padding: var(--pad) var(--gutter);
}
.panel > * { position: relative; }

/* All sections share the black background; a hairline with a small dot marks each new one */
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.panel::after {
  content: "";
  position: absolute;
  top: -2.5px;
  left: calc(50% - 2.5px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px var(--bg);
}
.footer { position: relative; }
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.footer::after {
  content: "";
  position: absolute;
  top: -2.5px;
  left: calc(50% - 2.5px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px var(--bg);
}

/* Contact: open space with the moving lines behind it */
.footer {
  border-top: 0;
  min-height: 58vh;
  min-height: 58svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--pad);
}
.footer h2 { margin-top: auto; }
.footer-base { margin-top: auto; padding-top: 40px; }

/* ── The music section ── */
.stage { max-width: 880px; }
.stage-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.stage-toggle {
  display: grid; gap: 8px; min-width: 0;
  background: none; border: 0; padding: 0;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.stage-state {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent);
}
.stage-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transition: transform 0.4s var(--ease); }
.stage-toggle:hover .stage-state i { transform: scale(1.6); }
.playing .stage-state i { animation: pulse 1.2s ease-in-out infinite; }
.stage-title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.08;
  transition: color 0.4s;
}
.stage-toggle:hover .stage-title { color: var(--accent); }
.stage-title.swap { animation: titleIn 0.8s var(--ease); }
@keyframes titleIn { from { opacity: 0; transform: translateY(0.45em); filter: blur(5px); } }
.ribbon {
  display: block; width: 100%;
  height: clamp(76px, 10vw, 124px);
  margin: 4px 0 clamp(16px, 2.5vw, 26px);
  cursor: ew-resize; touch-action: none;
}
.tracks { max-width: 880px; columns: 2; column-gap: clamp(24px, 5vw, 64px); }
.tracks li, .tracks li:last-child {
  break-inside: avoid;
  border-top: 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(-14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i) * 35ms);
}
.tracks.in li { opacity: 1; transform: none; }
.track.active .track-title { font-style: italic; color: var(--accent); }

/* ── More movement ── */
/* The roles arrive one after another */
.hero-roles { opacity: 1; transform: none; animation: none; }
.hero-roles > * { opacity: 0; transform: translateY(12px); animation: settle 0.9s var(--ease) forwards; }
.hero-roles > :nth-child(1) { animation-delay: 0.15s; }
.hero-roles > :nth-child(2) { animation-delay: 0.27s; }
.hero-roles > :nth-child(3) { animation-delay: 0.39s; }
.hero-roles > :nth-child(4) { animation-delay: 0.51s; }
.hero-roles > :nth-child(5) { animation-delay: 0.63s; }
.hero-roles > :nth-child(6) { animation-delay: 0.75s; }
.hero-roles > :nth-child(7) { animation-delay: 0.87s; }

/* The italic word in each heading slides in a beat after the rest */
h2.reveal em, .reveal h2 em {
  display: inline-block; opacity: 0; transform: translateX(-0.5em);
  transition: opacity 1s var(--ease) 0.35s, transform 1s var(--ease) 0.35s;
}
h2.reveal.in em, .reveal.in h2 em { opacity: 1; transform: none; }

/* Posters scroll freely, with no snapping */
.rail { scroll-snap-type: none; }

/* Credits cascade in, row by row */
.credit-list li {
  opacity: 0; transform: translateX(-12px);
  transition: opacity 0.6s var(--ease) calc(var(--i) * 28ms), transform 0.6s var(--ease) calc(var(--i) * 28ms), padding 0.5s var(--ease);
}
.credit-group.in .credit-list li { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .dots { display: none; }
  .tracks { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .panel { transform: none; transition: none; }
  .hero-roles > *, .tracks li, .credit-list li, h2.reveal em, .reveal h2 em { opacity: 1; transform: none; animation: none; transition: none; }
}

/* ── Portrait in My story: sits to the right with the text flowing around it,
      ── */
.about-text { max-width: 1040px; }
.about-text::after { content: ""; display: block; clear: both; }
.about .about-text p:not(.eyebrow):not(.about-lead) { max-width: none; }
.story-portrait {
  float: right;
  width: clamp(140px, 20%, 220px);
  margin: 4px 0 18px clamp(22px, 3.5vw, 44px);
  shape-outside: inset(0 0 0 0);
}
.story-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
@media (max-width: 760px) {
  .story-portrait { width: 32%; margin: 4px 0 10px 16px; }
}

/* Music section sits in the middle of the page */
.listen .section-head, .stage, .tracks { max-width: 780px; margin-inline: auto; }

/* ── Playback controls: previous, play/pause, stop, next ── */
.stage-side { display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); flex: none; }
.controls { display: flex; align-items: center; gap: 4px; }
.controls button {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: none; border: 1px solid transparent; border-radius: 50%;
  color: var(--ink); opacity: 0.7; cursor: pointer;
  transition: opacity 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.controls button:hover { opacity: 1; color: var(--accent); border-color: var(--line); }
.controls button:active { transform: scale(0.9); }
.controls svg { width: 15px; height: 15px; fill: currentColor; grid-area: 1 / 1; }
.controls #c-play { opacity: 1; border-color: rgba(211, 191, 154, 0.5); color: var(--accent); width: 36px; height: 36px; }
.controls .i-pause, .playing .controls .i-play { display: none; }
.playing .controls .i-pause { display: block; }
.stage-top { align-items: center; }
@media (max-width: 560px) {
  .stage-top { flex-wrap: wrap; gap: 10px; }
  .stage-toggle { width: 100%; }
  .stage-side { width: 100%; justify-content: space-between; }
}

.ribbon { outline: none; }

/* Posters lift and grow slightly on hover. The row has spare room above it so
   the lifted poster is never clipped, and the whole poster grows (nothing inside
   it is zoomed), so no part of the artwork is cut off. */
.rail { padding-top: 16px; margin-top: -16px; }
.rail-arrow { top: calc(var(--ph) / 2 - 19px + 16px); }
.card { transform-origin: 50% 60%; }
.card.reveal.in:hover { transform: translateY(-5px) scale(1.03); transition-duration: 0.5s; transition-delay: 0s; }

/* My story lines up with the music section above it (same centred column) */
.about .about-text { max-width: 780px; margin-inline: auto; }

/* The trumpet line now opens My story, between the heading and the paragraphs */
.about-text p.about-close { margin: 0 0 clamp(20px, 3vw, 30px); }

/* The trumpet line: faded, on the right of the top area, above the posters */
.hero-line {
  position: absolute;
  right: var(--gutter);
  bottom: 14px;
  margin: 0;
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.35;
  color: var(--ink);
  opacity: 0;
  animation: fadeTo 1.8s 1.1s var(--ease) forwards;
}
@keyframes fadeTo { to { opacity: 0.72; } }
@media (max-width: 600px) {
  .hero-line { position: static; align-self: flex-end; margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hero-line { animation-duration: 0.01s; animation-delay: 0s; } }

/* Roles line a bit larger on phones (still one line) */
@media (max-width: 600px) {
  .hero-roles { font-size: min(3.35vw, 1rem); gap: 0.4em; letter-spacing: 0.01em; }
}

/* Contact: less empty space above and below */
.footer {
  min-height: 0;
  padding-top: clamp(34px, 4.5vw, 58px);
  padding-bottom: 20px;
}
.footer h2 { margin-top: 0; }
.footer-base { margin-top: clamp(28px, 3.5vw, 44px); padding-top: 0; }

/* ── Phone menu: a "Menu" button that opens a full-page menu ── */
.nav-toggle, .menu-foot { display: none; }
@media (max-width: 760px) {
  .nav-toggle {
    display: block;
    margin-right: -6px;
    padding: 10px 6px;
    background: none;
    border: 0;
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    cursor: pointer;
  }
  html.menu-open { overflow: hidden; }
  /* the bar itself goes clear while the menu is open, so the menu can fill the screen */
  .nav.open, .nav.open.scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .nav nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: clamp(110px, 20vh, 150px) var(--gutter) 34px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
  }
  .nav.open nav { opacity: 1; visibility: visible; }

  .nav nav > a, .nav nav > a.nav-credits {
    display: block;
    padding: 6px 0;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.5rem, 6.6vw, 2rem);
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
  }
  .nav.open nav > a { opacity: 1; transform: none; }
  .nav.open nav > a:nth-child(1) { transition-delay: 0.08s; }
  .nav.open nav > a:nth-child(2) { transition-delay: 0.14s; }
  .nav.open nav > a:nth-child(3) { transition-delay: 0.20s; }
  .nav.open nav > a:nth-child(4) { transition-delay: 0.26s; }
  .nav.open nav > a:nth-child(5) { transition-delay: 0.32s; }
  .nav nav a::after { display: none; }
  .nav nav > a.active { color: var(--accent); font-style: italic; }

  .menu-foot {
    display: grid;
    gap: 5px;
    justify-items: start;
    margin-top: auto;
    font-family: var(--name-font);
    font-weight: 300;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    opacity: 0;
    transition: opacity 0.6s var(--ease) 0.4s;
  }
  .nav.open .menu-foot { opacity: 1; }
  .nav nav .menu-foot a {
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: none;
  }
  .menu-foot span { font-style: italic; color: var(--muted); font-size: 0.8rem; }
}

/* The trumpet line closes My story, bottom left */
.about-text p.about-close { margin: clamp(24px, 3.5vw, 36px) 0 0; }

/* Trumpet line sits on the right, at the end of My story */
.about-text p.about-close { text-align: right; }

/* Poster row: same margin on the right as on the left, so the posters are framed
   on both sides instead of running off the edge (6px of breathing room for the hover lift) */
.rail {
  margin-inline: calc(var(--gutter) - 6px);
  padding-inline: 6px;
  scroll-padding-inline: 6px;
}
.about-text p.about-close { font-size: clamp(1.08rem, 1.5vw, 1.28rem); }


/* Contact links (email, Instagram, IMDb) a little smaller */
.footer .footer-mail { font-size: clamp(0.9rem, 1.25vw, 1rem); }
