/* ============================================================
   AKAY47 — styles
   Palette and mood are sampled from the Geku Banua Wanigela release graphic:
   black ground, sunset amber, dusk charcoal. Type and shapes are windows onto the sunset.
   html.cinematic = scroll-scrubbed.  html.static (or no JS) = plain layout.
   ============================================================ */
:root {
  --bg: #000;
  --surface: #0d0907;
  --ink: #f8ead9;
  --muted: #b39a85;
  --line: rgba(255, 196, 136, 0.16);
  --apricot: #ffc488;
  --amber: #ffaf70;
  --orange: #fa8f47;
  --gold: #f6a449;
  --bronze: #b57141;
  --dusk: #312726;
  --coral: #f0603c;
  --magenta: #d2386c;
  --violet: #5a2a7a;
  --indigo: #140b26;
  --accent: var(--gold);
  --accent-ink: #140a03;

  --font-display: "League Spartan", "Arial Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-script: "Yellowtail", cursive;

  --max: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--apricot); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h2, h3, .big {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: 0.94; letter-spacing: -0.015em; text-wrap: balance;
}
h2 { font-size: clamp(2.3rem, 6.4vw, 5.6rem); padding-top: 0.12em; }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1; }
.big { font-size: clamp(2.4rem, 7.4vw, 6.6rem); padding-top: 0.12em; }

/* Lettering as a window onto the sunset, the way the release graphic does it */
.window-text {
  background-image: url("media/sunset-sky.jpg"), linear-gradient(180deg, var(--apricot) 0%, var(--amber) 38%, var(--orange) 70%, var(--bronze) 100%);
  background-size: cover; background-position: 50% 50%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@media (hover: hover) and (min-width: 900px) {
  .window-text { background-attachment: fixed; }
}

.eyebrow, .kicker {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.24em; color: var(--gold);
}
.eyebrow { margin-bottom: 1.2em; }
.kicker { margin-bottom: 0.7em; color: var(--bronze); }
.eras .kicker { color: var(--era, var(--gold)); transition: color 0.6s ease; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.script { font-family: var(--font-script); font-size: clamp(1.8rem, 3.4vw, 2.9rem); color: var(--orange); line-height: 1; margin: 0.1em 0 0.7em; }
.muted { color: var(--muted); }
.link { color: var(--apricot); text-underline-offset: 0.28em; text-decoration-thickness: 1px; }
.link:hover { color: #fff; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--accent-ink); padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }

/* the AKAY47 wordmark, traced from the graphic, used as a mask over the amber gradient */
.mark {
  display: block; aspect-ratio: 354 / 116;
  background: linear-gradient(180deg, var(--apricot), var(--gold) 55%, var(--orange));
  -webkit-mask: url("media/wordmark.svg") center / contain no-repeat;
          mask: url("media/wordmark.svg") center / contain no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0.22em 28px 0;
  border: 1px solid var(--gold); border-radius: 999px;
  background: linear-gradient(120deg, var(--apricot), var(--gold) 45%, var(--coral)); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 0.92rem; letter-spacing: 0.1em; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(0, 0, 0, 0.35); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--apricot); }
.btn-small { min-height: 42px; padding: 0.2em 20px 0; font-size: 0.8rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--pad);
  transition: background 0.4s ease;
}
.nav.scrolled { background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0)); }
.nav-brand { width: clamp(92px, 9vw, 128px); text-decoration: none; }
html.cinematic .nav-brand { opacity: 0; transition: opacity 0.5s ease; }
html.cinematic .nav.scrolled .nav-brand { opacity: 1; }
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 34px); }
.nav-links a {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 0.78rem; letter-spacing: 0.16em; text-decoration: none; color: var(--ink); opacity: 0.78; padding: 12px 0 8px;
}
.nav-links a:hover { opacity: 1; color: var(--apricot); }
html.static .nav { position: sticky; background: #000; }

/* ---------- Scrub sections ---------- */
.scrub, .eras { position: relative; }
.sticky {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  background: #000;
}
html.cinematic .scrub, html.cinematic .eras { height: var(--len, 500vh); }
html.cinematic .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }

.poster, .scrub canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster-contain { object-fit: contain; padding: 14vh 5vw; }
.scrub canvas { display: none; }
html.cinematic .scrub canvas { display: block; opacity: 0; transition: opacity 0.5s ease; }
html.cinematic .scrub.ready canvas { opacity: 1; }
html.cinematic .scrub.ready .poster { visibility: hidden; }

.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 46%, transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 22%, transparent 70%, rgba(0, 0, 0, 0.78) 100%);
}
.hero-vignette { background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 20%, transparent 62%, rgba(0, 0, 0, 0.7) 100%); }
.emblem-vignette { background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 32%, transparent 58%), linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 18%, transparent 80%, #000 100%); }

.overlay {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--pad), var(--max));
  display: grid; gap: 2.2em; justify-items: center; text-align: center;
  padding: 96px 0;
}
.overlay[data-align="left"] { justify-items: start; text-align: left; }
.overlay .lede { color: var(--ink); opacity: 0.92; margin-top: 0.9em; margin-inline: auto; }
.overlay[data-align="left"] .lede { margin-inline: 0; }
.overlay .actions { justify-content: center; }
.overlay[data-align="left"] .actions { justify-content: flex-start; }
.overlay .big { color: #fff; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55); }
.overlay .kicker { color: var(--apricot); }
.reveal-line { max-width: min(100%, 62rem); }
html.cinematic .overlay { gap: 0; height: 100%; padding: 0; }
html.cinematic .reveal-line { grid-area: 1 / 1; align-self: center; opacity: 0; will-change: opacity, transform; }
html.cinematic .reveal-line.at-bottom { align-self: end; padding-bottom: clamp(84px, 13vh, 150px); }
html.cinematic .reveal-line[data-in="0.00"] { opacity: 1; }
html.cinematic .overlay[data-align="left"] .reveal-line { max-width: min(100%, 34rem); }

.progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; height: 2px; background: var(--line); z-index: 3; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--magenta), var(--orange), var(--apricot)); }
.scroll-hint {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); z-index: 3; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--apricot); opacity: 0.8; transition: opacity 0.4s ease;
}
html:not(.cinematic) .progress, html:not(.cinematic) .scroll-hint { display: none; }

/* ---------- Content blocks ---------- */
.block { padding: clamp(90px, 14vw, 190px) 0; position: relative; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.wrap.narrow { max-width: 880px; }
.block h2 { margin-bottom: 0.45em; }
.block p + p { margin-top: 1em; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }

/* the single */
#single h2 { margin-bottom: 0; }
.credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 28px; margin-top: 2.2em; }
.credits div, .ledger div { border-top: 1px solid var(--line); padding: 14px 0 12px; }
.credits dt, .ledger dt { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.22em; color: var(--bronze); }
.credits dd { font-size: 1rem; }
.card-art img { width: 100%; }
.card-art figcaption, .studio figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }

/* ---------- Evolution ---------- */
.eras .sticky { background: #000; }
.eras-grid {
  width: min(100% - 2 * var(--pad), var(--max));
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: center;
}
.head-window { will-change: transform; filter: drop-shadow(0 0 70px color-mix(in srgb, var(--era, #f6a449) 55%, transparent)); transition: filter 0.8s ease; }
.head-window svg { display: block; height: min(78vh, 78svh, 760px); width: auto; max-width: 100%; margin-inline: auto; overflow: visible; }
.head-window image { transition: opacity 0.9s ease; }
.head-ink { fill: #000; opacity: 0.8; }
.eras-copy h2 { margin-bottom: 0.5em; }
.era h3 { font-size: clamp(2rem, 4.6vw, 4rem); color: #fff; margin-bottom: 0.35em; }
.era > p:nth-of-type(2) { color: var(--ink); opacity: 0.86; max-width: 44ch; }
.era em { color: var(--apricot); }
.era + .era { margin-top: 2.4em; }
html.cinematic .era-stack { display: grid; }
html.cinematic .era { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.6s ease; pointer-events: none; }
html.cinematic .era.on { opacity: 1; transform: none; pointer-events: auto; }
.era-rail { display: flex; gap: 10px; margin-top: 2.2em; }
.era-rail button { width: 44px; height: 24px; background: none; border: 0; cursor: pointer; position: relative; }
.era-rail button::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); transition: background 0.3s ease; }
.era-rail button[aria-current="true"]::after { background: var(--era, var(--apricot)); height: 3px; top: 10px; }
html.static .era-rail, html:not(.cinematic) .era-rail { display: none; }
html:not(.cinematic) .eras .sticky { padding: 90px 0; }

/* ---------- Volumes: 3D sleeves ---------- */
.volumes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); margin-top: clamp(36px, 5vw, 72px); }
.volume p { color: var(--muted); font-size: 0.98rem; }
.volume h3 { margin-bottom: 0.5em; }
.volume .kicker { margin-top: 1.6em; }
.vol-links { margin-top: 0.9em; font-size: 0.92rem; }
.stage3d { perspective: 900px; padding: 0 18% 0 0; }
.sleeve3d { position: relative; width: 100%; aspect-ratio: 1 / 1; transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(4deg); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sleeve {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  background: #0b0705; border-radius: 3px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 196, 136, 0.14);
  transform: translateZ(14px);
}
.disc {
  position: absolute; top: 4%; left: 28%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, var(--gold) 0 13%, #140a03 13.4% 15%, transparent 15.4%),
    repeating-radial-gradient(circle, #0a0a0a 0 1.2px, #161616 1.4px 2.6px),
    #0a0a0a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  transform: translateZ(0);
}
.disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 8%, rgba(255, 196, 136, 0.2) 12%, transparent 18% 50%, rgba(255, 196, 136, 0.14) 56%, transparent 62%); }
html.cinematic .disc { transition: left 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); animation: spin 14s linear infinite; }
html.cinematic .volume:hover .disc { left: 44%; }
@keyframes spin { to { rotate: 360deg; } }
.sleeve-type { display: grid; align-content: space-between; padding: 12%; background: radial-gradient(120% 90% at 20% 0%, #2a1509, #0b0705 62%); }
.sleeve-type .mark { width: 62%; }
.sleeve-type b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 2.3vw, 1.9rem); line-height: 0.92; color: var(--apricot); }
.sleeve-type i, .sleeve-four i { font-family: var(--font-script); font-style: normal; color: var(--orange); font-size: 1.5rem; }
.sleeve-four { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; background: #000; padding: 8%; overflow: hidden; }
.sleeve-four img { max-height: 100%; max-width: 100%; height: auto; width: auto; min-height: 0; object-fit: contain; }
.sleeve-four i { position: absolute; right: 9%; bottom: 7%; }
.between { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); padding-top: 28px; }
.between b { color: #fff; }

/* ---------- Film ---------- */
.films { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(32px, 5vw, 64px); }
.film-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 0; padding: 0; background: #0b0705; cursor: pointer; border-radius: var(--radius); }
div.film-frame { cursor: default; }
.film-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease; filter: saturate(0.9) brightness(0.86); }
button.film-frame:hover img { transform: scale(1.05); filter: none; }
.play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(180deg, var(--apricot), var(--gold)); }
.play::after { content: ""; position: absolute; left: 25px; top: 20px; border-left: 17px solid var(--accent-ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.soon { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.2em; color: var(--accent-ink); background: var(--apricot); padding: 0.55em 0.9em 0.35em; border-radius: 999px; }
.film figcaption { margin-top: 12px; display: grid; }
.film figcaption b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.01em; }
.film figcaption span { color: var(--muted); font-size: 0.9rem; }
.after-grid { margin-top: 2.2em; }

/* ---------- Live ---------- */
.ledger dd { font-size: clamp(1.05rem, 1.5vw, 1.3rem); margin-top: 2px; }
.studio { margin-top: 2.4em; max-width: 420px; }
.studio img { width: 100%; border-radius: var(--radius); filter: sepia(0.35) saturate(1.2) contrast(1.05); }

/* ---------- Bookings ---------- */
.cta { text-align: center; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 35%, rgba(20, 11, 38, 0.35) 70%, rgba(0, 0, 0, 0.75) 100%); }
.cta .window-text { background: none; color: #fff; -webkit-text-fill-color: #fff; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6); }
.cta .lede { color: var(--ink); }
.cta .lede { margin-inline: auto; }
.cta .actions { justify-content: center; }
.cta-mark { width: clamp(120px, 16vw, 190px); margin: 0 auto 2.2em; }

.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 0.86rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer a { text-decoration: none; padding: 10px 0; }
.footer a:hover { color: var(--apricot); }
.fineprint { margin-top: 18px; font-size: 0.78rem; opacity: 0.75; max-width: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.94); display: grid; place-items: center; padding: 60px var(--pad) 28px; }
.lightbox[hidden] { display: none; }
.lightbox-frame { width: min(100%, 1200px, calc((100vh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; top: 14px; right: var(--pad); background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; min-height: 44px; padding: 0.2em 20px 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; cursor: pointer; }

/* ---------- Reveals ---------- */
html.cinematic .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.cinematic .reveal.in { opacity: 1; transform: none; }
html.cinematic .volumes .reveal:nth-child(2), html.cinematic .films .reveal:nth-child(2) { transition-delay: 0.08s; }
html.cinematic .volumes .reveal:nth-child(3), html.cinematic .films .reveal:nth-child(3) { transition-delay: 0.16s; }
html.cinematic .volumes .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  html.cinematic .nav-brand { opacity: 0; }
  html.cinematic .scrub, html.cinematic .eras { height: calc(var(--len, 500vh) * 0.82); }
  .eras-grid { grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .head-window svg { height: min(40vh, 40svh); }
  .eras-copy h2 { font-size: clamp(1.7rem, 7vw, 2.6rem); margin-bottom: 0.4em; }
  .eras-copy .eyebrow { margin-bottom: 0.6em; }
  .era h3 { font-size: clamp(1.7rem, 8vw, 2.4rem); }

  .era-rail { margin-top: 1.2em; }
  .era-rail button { width: 34px; }
  .progress { bottom: 20px; }
  .scroll-hint { bottom: 36px; }
  #hero .at-bottom .eyebrow { display: none; }
  html.cinematic .reveal-line.at-bottom { padding-bottom: 76px; }
  .stage3d { max-width: 300px; }
  html:not(.cinematic) .head-window svg { height: 46vh; }
}

/* Tall or narrow screens: the emblem fills the frame, so its copy sits along the bottom */
@media (max-aspect-ratio: 5 / 4) {
  html.cinematic #emblem .reveal-line { align-self: end; padding-bottom: clamp(70px, 12vh, 130px); }
  html.cinematic #emblem .big { font-size: clamp(2rem, 9vw, 4rem); }
  .emblem-vignette { background: linear-gradient(180deg, #000 0%, transparent 14%, transparent 52%, rgba(0, 0, 0, 0.9) 84%, #000 100%); }
}

/* Plain layout (reduced motion, Save-Data, no JS): the hero is the graphic, then its copy */
html:not(.cinematic) #hero .sticky { display: block; min-height: 0; padding: 110px 0 70px; }
html:not(.cinematic) #hero .poster { position: relative; height: auto; padding: 0 5vw; }
html:not(.cinematic) #hero .vignette { display: none; }
html:not(.cinematic) #hero .overlay { margin: 48px auto 0; padding: 0; }
html:not(.cinematic) #hero .overlay .big { font-size: clamp(1.8rem, 5vw, 3.4rem); }

/* real artefact beside each era, and track lists under each volume */
.proof { display: flex; align-items: center; gap: 14px; margin-top: 1.3em; max-width: 44ch; }
.proof img { width: 76px; height: 76px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(0, 0, 0, 0.6); transform: rotate(-3deg); flex: none; }
.proof figcaption { font-size: 0.84rem; color: var(--muted); line-height: 1.4; }
.tracks { margin-top: 0.9em; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tracks summary { cursor: pointer; padding: 12px 0 9px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.2em; color: var(--apricot); list-style: none; display: flex; justify-content: space-between; }
.tracks summary::-webkit-details-marker { display: none; }
.tracks summary::after { content: "+"; font-size: 1rem; letter-spacing: 0; }
.tracks[open] summary::after { content: "–"; }
.tracks ol { list-style: none; counter-reset: t; padding: 0 0 12px; }
.tracks li { counter-increment: t; display: grid; grid-template-columns: 2.2em 1fr; font-size: 0.92rem; color: var(--ink); padding: 5px 0; }
.tracks li::before { content: counter(t, decimal-leading-zero); color: var(--bronze); font-variant-numeric: tabular-nums; }
.tracks li span { grid-column: 2; color: var(--muted); font-size: 0.82rem; }
.tracks p { padding: 0 0 14px; font-size: 0.92rem; }
.vol-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.studio img { filter: none; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) {
  .proof { margin-top: 0.9em; gap: 12px; }
  .proof img { width: 58px; height: 58px; }
  .proof figcaption { font-size: 0.78rem; }
  .era p:nth-of-type(2) { font-size: 0.92rem; line-height: 1.5; }
}

/* ============ colour, light and interaction layer ============ */
body { background:
  radial-gradient(60% 40% at 100% 22%, rgba(210, 56, 108, 0.10), transparent 70%),
  radial-gradient(55% 38% at 0% 58%, rgba(90, 42, 122, 0.16), transparent 70%),
  radial-gradient(60% 30% at 80% 88%, rgba(250, 143, 71, 0.10), transparent 70%), #000; }

.page-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.page-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--violet), var(--magenta), var(--orange), var(--apricot)); }
html:not(.cinematic) .page-progress, html:not(.cinematic) .cursor-light { display: none; }

/* a soft pool of warm light that follows the pointer */
.cursor-light { position: fixed; left: -260px; top: -260px; width: 520px; height: 520px; z-index: 1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 175, 112, 0.13), rgba(210, 56, 108, 0.05) 45%, transparent 68%); mix-blend-mode: screen; will-change: transform; }
@media (hover: none) { .cursor-light { display: none; } }
main, .footer { position: relative; z-index: 2; }

.nav-links a[aria-current="true"] { opacity: 1; color: var(--apricot); box-shadow: 0 2px 0 var(--orange); }

/* era backdrops: each era floods the room with its own colour */
.era-bgs, .era-bgs div { position: absolute; inset: 0; }
.era-bgs div { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; filter: blur(46px) saturate(1.5) brightness(0.5); transform: scale(1.25); }
.era-bgs::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 30% 50%, transparent 0%, rgba(0, 0, 0, 0.62) 75%), linear-gradient(180deg, #000 0%, transparent 16%, transparent 84%, #000 100%); }
.eras-grid { position: relative; z-index: 2; }
.era h3 { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.proof img { box-shadow: 0 0 0 2px var(--era, var(--line)), 0 10px 26px rgba(0, 0, 0, 0.6); }

/* the film poster */
.poster3d { perspective: 1100px; max-width: 480px; margin-inline: auto; width: 100%; }
.poster-card { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; transform-style: preserve-3d; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: 0 50px 90px rgba(0, 0, 0, 0.75), 0 0 80px rgba(250, 143, 71, 0.22); --px: 0px; --py: 0px; --gx: 50%; --gy: 50%; }
.poster-photo { position: absolute; inset: -5%; width: 110%; height: 110%; max-width: none; object-fit: cover; transform: translate(var(--px), var(--py)); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.poster-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 30%, transparent 46%, rgba(0, 0, 0, 0.82) 100%); }
.poster-card::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.22), transparent 42%); mix-blend-mode: soft-light; }
.poster-emblem, .poster-title { position: absolute; z-index: 2; background: #fff8ee; }
.poster-emblem { top: 6%; left: 7%; width: 19%; aspect-ratio: 354 / 525; -webkit-mask: url("media/emblem.svg") center / contain no-repeat; mask: url("media/emblem.svg") center / contain no-repeat; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5)); }
.poster-title { left: 7%; right: 7%; bottom: 11%; aspect-ratio: 981 / 524; background: linear-gradient(180deg, #fff8ee 0%, var(--apricot) 60%, var(--orange) 100%);
  -webkit-mask: url("media/title.svg") center / contain no-repeat; mask: url("media/title.svg") center / contain no-repeat; transform: translate(calc(var(--px) * -0.6), calc(var(--py) * -0.6)); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.poster-foot { position: absolute; z-index: 2; left: 7%; right: 7%; bottom: 4.5%; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.66rem; letter-spacing: 0.26em; color: rgba(255, 248, 238, 0.8); }
.poster3d figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 18px; text-align: center; }

/* drag to turn */
.draggable { cursor: grab; touch-action: pan-y; }
.draggable.dragging { cursor: grabbing; }
.drag-hint { position: absolute; z-index: 3; right: var(--pad); bottom: 44px; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.26em; color: var(--apricot); transition: opacity 0.5s ease; pointer-events: none; }
.drag-hint span { width: 46px; height: 2px; background: linear-gradient(90deg, transparent, var(--apricot)); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(10px); } }
.touched .drag-hint, html:not(.cinematic) .drag-hint { opacity: 0; }

/* players and the voices line */
.vol-play { margin-top: 1em; }
.player { margin-top: 1em; border-radius: 12px; overflow: hidden; background: #121212; }
.player iframe { display: block; width: 100%; height: 352px; border: 0; }
.voices { position: relative; z-index: 2; overflow: hidden; padding: clamp(18px, 3vw, 36px) 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(90, 42, 122, 0.22), rgba(210, 56, 108, 0.14), rgba(250, 143, 71, 0.18)); }
.voices-track { display: flex; width: max-content; animation: voices 46s linear infinite; }
.voices-track span { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 5vw, 4.2rem); line-height: 1; padding-top: 0.14em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px var(--apricot); }
.voices-track span:nth-child(3n + 1) { color: var(--apricot); -webkit-text-stroke: 0; }
.voices-track span::after { content: "✦"; -webkit-text-stroke: 0; color: var(--magenta); font-size: 0.5em; margin: 0 0.7em; vertical-align: middle; }
@keyframes voices { to { transform: translateX(-50%); } }
.voices:hover .voices-track { animation-play-state: paused; }
html.static .voices-track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--pad); }

.film-frame { box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.4s ease; }
button.film-frame:hover { box-shadow: 0 0 0 2px var(--apricot), 0 20px 50px rgba(250, 143, 71, 0.25); }
.volume:hover .sleeve { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 60px rgba(250, 143, 71, 0.28), inset 0 0 0 1px rgba(255, 196, 136, 0.3); }
.sleeve { transition: box-shadow 0.4s ease; }

@media (max-width: 860px) {
  .drag-hint { right: auto; left: var(--pad); bottom: 30px; }
  .poster3d { max-width: 380px; }
  .era-bgs div { filter: blur(34px) saturate(1.5) brightness(0.42); }
}
@media (max-aspect-ratio: 5 / 4) { html.cinematic #emblem .reveal-line { padding-bottom: clamp(90px, 14vh, 150px); } }

.cta-mark span { display: block; aspect-ratio: 354 / 525; background: linear-gradient(180deg, #fff8ee, var(--apricot)); -webkit-mask: url("media/emblem.svg") center / contain no-repeat; mask: url("media/emblem.svg") center / contain no-repeat; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.6)); }

/* =====================================================================
   COLOUR SYSTEM v2 — the AKAY47 spectrum
   The logo, head and lettering stay as the brand. Around them the site
   takes the colours of a bilum: gold, orange, red, pink, violet, blue,
   turquoise, green. Each section and each era owns one of them.
   ===================================================================== */
:root {
  --c-gold: #ffc94a; --c-orange: #ff8a3d; --c-red: #ff4257; --c-pink: #ff3fa4;
  --c-violet: #9a6bff; --c-blue: #3d9bff; --c-teal: #19d3bd; --c-green: #4bdc7f;
  --spectrum: linear-gradient(90deg, var(--c-gold), var(--c-orange), var(--c-red), var(--c-pink), var(--c-violet), var(--c-blue), var(--c-teal), var(--c-green));
  --sec: var(--c-gold);
}
body { background: #07040f; }

/* headings: a slow-moving spectrum instead of one sunset tone */
.window-text {
  background-image: linear-gradient(100deg, var(--c-gold) 0%, var(--c-orange) 18%, var(--c-pink) 40%, var(--c-violet) 60%, var(--c-teal) 80%, var(--c-gold) 100%);
  background-size: 220% 100%; background-attachment: scroll; background-position: 0% 50%;
}
html.cinematic .window-text { animation: spectrum 14s ease-in-out infinite alternate; }
@keyframes spectrum { to { background-position: 100% 50%; } }

.page-progress { height: 4px; }
.page-progress span { background: var(--spectrum); }
.progress-fill { background: var(--spectrum); }
.btn { background: linear-gradient(110deg, var(--c-gold), var(--c-orange) 50%, var(--c-pink)); border-color: transparent; box-shadow: 0 8px 30px rgba(255, 63, 164, 0.25); }
.btn:hover { box-shadow: 0 12px 40px rgba(255, 138, 61, 0.45); }
.btn-ghost { background: rgba(10, 6, 24, 0.45); border-color: rgba(255, 255, 255, 0.28); box-shadow: none; }
.btn-ghost:hover { border-color: var(--c-teal); color: var(--c-teal); box-shadow: none; }
.nav-links a[aria-current="true"] { color: #fff; box-shadow: none; background: var(--spectrum) 0 100% / 100% 3px no-repeat; }
.link { color: var(--sec); }
.eyebrow { color: var(--sec); }
.kicker { color: var(--sec); opacity: 0.9; }
.script { color: var(--c-pink); }

/* each content section has its own colour and its own deep ground */
.block { --sec: var(--c-gold); isolation: isolate; }
.block::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--spectrum); z-index: 1; }
#single  { --sec: var(--c-teal);  background: radial-gradient(70% 60% at 85% 20%, rgba(154, 107, 255, 0.34), transparent 70%), radial-gradient(60% 55% at 10% 90%, rgba(25, 211, 189, 0.22), transparent 70%), linear-gradient(160deg, #170c38, #0c1233 55%, #06252f); }
#volumes { --sec: var(--c-gold);  background: radial-gradient(60% 50% at 12% 12%, rgba(255, 138, 61, 0.26), transparent 70%), radial-gradient(60% 55% at 92% 70%, rgba(255, 63, 164, 0.24), transparent 70%), linear-gradient(160deg, #23092b, #120a36 55%, #071f3a); }
#film    { --sec: var(--c-pink);  background: radial-gradient(60% 50% at 88% 10%, rgba(255, 66, 87, 0.28), transparent 70%), radial-gradient(60% 55% at 6% 80%, rgba(61, 155, 255, 0.24), transparent 70%), linear-gradient(160deg, #2b0a2e, #150a35 55%, #08203b); }
#live    { --sec: var(--c-green); background: radial-gradient(60% 50% at 10% 14%, rgba(75, 220, 127, 0.24), transparent 70%), radial-gradient(60% 55% at 92% 78%, rgba(61, 155, 255, 0.26), transparent 70%), linear-gradient(160deg, #06281f, #071d36 55%, #1a0d38); }
.cta::before { height: auto; inset: 0; background: linear-gradient(180deg, rgba(7, 4, 15, 0.9) 0%, rgba(20, 8, 40, 0.35) 40%, rgba(40, 8, 30, 0.25) 70%, rgba(7, 4, 15, 0.8) 100%); }
.footer { background: #07040f; border-top: 5px solid transparent; border-image: var(--spectrum) 1; }

.credits div, .ledger div { border-top-color: rgba(255, 255, 255, 0.14); }
.credits dt, .ledger dt { color: var(--sec); }
.ledger div:nth-child(7n + 1) dt { color: var(--c-gold); } .ledger div:nth-child(7n + 2) dt { color: var(--c-orange); }
.ledger div:nth-child(7n + 3) dt { color: var(--c-pink); } .ledger div:nth-child(7n + 4) dt { color: var(--c-violet); }
.ledger div:nth-child(7n + 5) dt { color: var(--c-blue); } .ledger div:nth-child(7n + 6) dt { color: var(--c-teal); }
.ledger div:nth-child(7n + 7) dt { color: var(--c-green); }
.credits div:nth-child(4n + 1) dt { color: var(--c-teal); } .credits div:nth-child(4n + 2) dt { color: var(--c-gold); }
.credits div:nth-child(4n + 3) dt { color: var(--c-pink); } .credits div:nth-child(4n + 4) dt { color: var(--c-violet); }
.lede, .volume p, .card p { color: #d9d2ea; }
.muted, .film figcaption span, .proof figcaption, .poster3d figcaption, .studio figcaption { color: #b9b0d2; }

/* volumes: one colour each */
.volume { --vol: var(--c-gold); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); border: 1px solid rgba(255, 255, 255, 0.1); border-top: 4px solid var(--vol); border-radius: 10px; padding: clamp(18px, 2vw, 26px); }
.volume:nth-child(1) { --vol: var(--c-green); } .volume:nth-child(2) { --vol: var(--c-gold); }
.volume:nth-child(3) { --vol: var(--c-red); }   .volume:nth-child(4) { --vol: var(--c-orange); }
.volume .kicker, .volume .link, .tracks summary { color: var(--vol); }
.tracks li::before { color: var(--vol); }
.tracks { border-color: rgba(255, 255, 255, 0.12); }
.volume:hover .sleeve { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 70px color-mix(in srgb, var(--vol) 55%, transparent); }
.disc { background: radial-gradient(circle, var(--vol) 0 13%, #140a03 13.4% 15%, transparent 15.4%), repeating-radial-gradient(circle, #0a0a0a 0 1.2px, #161616 1.4px 2.6px), #0a0a0a; }
.between { border-top-color: rgba(255, 255, 255, 0.14); }

/* films: play buttons take turns through the spectrum */
.film { --f: var(--c-pink); }
.film:nth-child(6n + 1) { --f: var(--c-gold); } .film:nth-child(6n + 2) { --f: var(--c-pink); } .film:nth-child(6n + 3) { --f: var(--c-teal); }
.film:nth-child(6n + 4) { --f: var(--c-orange); } .film:nth-child(6n + 5) { --f: var(--c-violet); } .film:nth-child(6n + 6) { --f: var(--c-green); }
.play { background: var(--f); box-shadow: 0 0 0 6px color-mix(in srgb, var(--f) 30%, transparent); }
.film-frame img { filter: saturate(1.15); }
.film-frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); border-bottom: 4px solid var(--f); }
button.film-frame:hover { box-shadow: 0 0 0 2px var(--f), 0 20px 50px color-mix(in srgb, var(--f) 40%, transparent); }
.soon { background: var(--c-gold); }

/* the voices line: a full spectrum band */
.voices { background: var(--spectrum); border: 0; }
.voices-track span { color: #0b0616; -webkit-text-stroke: 0; }
.voices-track span:nth-child(3n + 1) { color: #fff; -webkit-text-stroke: 0; }
.voices-track span::after { color: #0b0616; }

/* journey beats: one colour per stop */
#journey .reveal-line:nth-child(1) .kicker { color: var(--c-gold); } #journey .reveal-line:nth-child(2) .kicker { color: var(--c-pink); }
#journey .reveal-line:nth-child(3) .kicker { color: var(--c-teal); } #journey .reveal-line:nth-child(4) .kicker { color: var(--c-green); }
#journey .kicker { font-size: 1.1rem; }

/* ---------------- Evolution, redesigned ----------------
   The photograph fills the stage and stays readable. The head is large, the picture inside it
   is at full strength, and the drawn portrait sits over it as a faint line drawing only. */
.era-bgs div { filter: blur(7px) saturate(1.25) brightness(0.62); transform: scale(1.06); }
.era-bgs::after { background:
  linear-gradient(90deg, rgba(7, 4, 15, 0.1) 0%, rgba(7, 4, 15, 0.5) 46%, rgba(7, 4, 15, 0.86) 72%, rgba(7, 4, 15, 0.92) 100%),
  linear-gradient(180deg, rgba(7, 4, 15, 0.75) 0%, transparent 16%, transparent 82%, rgba(7, 4, 15, 0.9) 100%); }
.eras-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 72px); width: min(100% - 2 * var(--pad), 1380px); }
.head-window { filter: drop-shadow(0 0 60px color-mix(in srgb, var(--era, #f6a449) 70%, transparent)) drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); }
.head-window svg { height: min(88vh, 88svh, 940px); }
.head-ink { opacity: 0.11; }
.head-edge { fill: none; stroke: var(--era, #f6a449); stroke-width: 4; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: stroke 0.6s ease; }
.eras-copy { position: relative; padding: clamp(18px, 2.4vw, 34px); border-radius: 14px; background: rgba(7, 4, 15, 0.42); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border: 1px solid rgba(255, 255, 255, 0.1); border-left: 5px solid var(--era, var(--c-gold)); transition: border-color 0.6s ease; }
.eras-copy h2 { font-size: clamp(1.7rem, 3.4vw, 3.2rem); margin-bottom: 0.7em; }
.eras-copy .eyebrow { color: #fff; opacity: 0.8; }
.era h3 { font-size: clamp(2.2rem, 5vw, 4.6rem); color: var(--era, #fff); transition: color 0.6s ease; }
.era > p:nth-of-type(2) { opacity: 1; color: #f1ecfb; font-size: clamp(1rem, 1.25vw, 1.15rem); }
.era-rail button { width: 52px; height: 28px; }
.era-rail button::after { height: 4px; top: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); }
.era-rail button[aria-current="true"]::after { height: 6px; top: 11px; }
.era-rail button:nth-child(1)::after { background: color-mix(in srgb, #ff9a3d 45%, transparent); } .era-rail button:nth-child(2)::after { background: color-mix(in srgb, #19d3bd 45%, transparent); }
.era-rail button:nth-child(3)::after { background: color-mix(in srgb, #ff4257 45%, transparent); } .era-rail button:nth-child(4)::after { background: color-mix(in srgb, #e04bff 45%, transparent); }
.era-rail button:nth-child(5)::after { background: color-mix(in srgb, #ffd874 45%, transparent); } .era-rail button:nth-child(6)::after { background: color-mix(in srgb, #3fd27a 45%, transparent); }
.era-rail button[aria-current="true"]::after { background: var(--era); box-shadow: 0 0 16px var(--era); }

/* two columns hold down to tablet width; below that the head sits on top, still large */
@media (max-width: 860px) {
  .eras-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 18px; align-items: center; }
  .head-window svg { height: min(80vh, 80svh); }
  .eras-copy { padding: 16px; }
  .eras-copy h2 { font-size: clamp(1.3rem, 3.4vw, 2rem); }
  .era h3 { font-size: clamp(1.7rem, 5.4vw, 2.6rem); }
}
@media (max-width: 640px) {
  .eras-grid { grid-template-columns: 1fr; gap: 10px; align-content: center; }
  .head-window svg { height: min(47vh, 47svh); }
  .eras-copy { padding: 14px 16px; }
  .eras-copy h2 { display: none; }
  .eras-copy .eyebrow { margin-bottom: 0.5em; }
  .era-bgs::after { background: linear-gradient(180deg, rgba(7, 4, 15, 0.7) 0%, rgba(7, 4, 15, 0.1) 22%, rgba(7, 4, 15, 0.7) 60%, rgba(7, 4, 15, 0.94) 100%); }
}

/* keep the era card inside the screen: grid children may shrink, the rail shares the width */
.eras-grid > *, .era-stack > * { min-width: 0; }
html.cinematic .era-stack { grid-template-columns: minmax(0, 1fr); }
.era-rail { gap: 8px; }
.era-rail button { flex: 1 1 0; max-width: 56px; min-width: 0; }
.era > p:nth-of-type(2), .proof { max-width: 100%; }
@media (max-width: 640px) {
  .eras-grid { grid-template-columns: minmax(0, 1fr); width: calc(100% - 2 * var(--pad)); }
  .era > p:nth-of-type(2) { font-size: 0.93rem; line-height: 1.48; }
  .era h3 { font-size: clamp(1.6rem, 7.6vw, 2.2rem); }
  .era-rail { margin-top: 1em; }
}

/* the opening screen: the graphic floats on a slow aurora of the brand colours */
#hero .sticky { background: #07040f; }
#hero .sticky::before { content: ""; position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(38% 42% at 18% 30%, rgba(154, 107, 255, 0.50), transparent 70%),
    radial-gradient(34% 40% at 84% 24%, rgba(255, 63, 164, 0.40), transparent 70%),
    radial-gradient(40% 44% at 76% 82%, rgba(25, 211, 189, 0.34), transparent 70%),
    radial-gradient(36% 40% at 22% 84%, rgba(255, 138, 61, 0.36), transparent 70%);
  filter: blur(30px); }
html.cinematic #hero .sticky::before { animation: aurora 22s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: rotate(8deg) scale(1.12) translate(2%, -2%); } }
#hero .poster, #hero canvas, #hero .vignette, #hero .overlay, #hero .progress, #hero .scroll-hint { z-index: 1; }
#hero .overlay { z-index: 2; }
#hero .progress, #hero .scroll-hint { z-index: 3; }
.hero-vignette { background: linear-gradient(180deg, rgba(7, 4, 15, 0.5) 0%, transparent 20%, transparent 64%, rgba(7, 4, 15, 0.7) 100%); }
.scroll-hint { color: #fff; }
/* emblem: violet and pink come in from the copy side, so the gold has something to sit against */
.emblem-vignette { background:
  linear-gradient(90deg, rgba(36, 10, 70, 0.92) 0%, rgba(110, 18, 86, 0.5) 34%, transparent 62%),
  linear-gradient(180deg, rgba(7, 4, 15, 0.75) 0%, transparent 18%, transparent 80%, #07040f 100%); }
@media (max-aspect-ratio: 5 / 4) { .emblem-vignette { background: linear-gradient(180deg, rgba(36, 10, 70, 0.8) 0%, transparent 16%, transparent 52%, rgba(60, 12, 70, 0.85) 82%, #07040f 100%); } }

.player-dock { margin-top: clamp(28px, 4vw, 48px); padding: clamp(14px, 2vw, 22px); border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.player-dock[hidden] { display: none; }
.player-dock iframe { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; }
.player-dock .kicker { color: var(--c-gold); }

/* plain layout: the head stays in view beside the list of eras, and the hint for dragging goes */
html:not(.cinematic) .eras-grid { align-items: start; }
html:not(.cinematic) .eras-head { position: sticky; top: 96px; }
html:not(.cinematic) .head-window svg { height: min(76vh, 700px); }
html:not(.cinematic) .era + .era { margin-top: 2.6em; padding-top: 2.2em; border-top: 1px solid rgba(255, 255, 255, 0.14); }
html:not(.cinematic) .drag-hint { display: none; }
@media (max-width: 640px) { html:not(.cinematic) .eras-head { position: relative; top: 0; } html:not(.cinematic) .eras-copy h2 { display: block; } }

html:not(.cinematic) .eras .sticky { overflow: clip; }      /* clip, not hidden, so the head can stay pinned */

.player-dock .spotify-slot, .player-dock iframe { border-radius: 12px; overflow: hidden; }
.player-dock.playing { border-color: var(--c-green); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 50px rgba(75, 220, 127, 0.25); }
.player-dock.playing .kicker::after { content: " · playing"; color: var(--c-green); }

/* WebKit collapsed the Volume Four artwork inside the grid; pin it to the sleeve instead */
.sleeve-four { display: block; }
.sleeve-four img { position: absolute; inset: 8%; width: 84%; height: 84%; max-width: none; max-height: none; object-fit: contain; }
/* plain layout: the still graphic has no live footage behind it, so lift it to keep every word readable */
html:not(.cinematic) #hero .poster { filter: brightness(1.55) saturate(1.1); }

/* contrast: violet and red lifted so small labels clear WCAG AA (4.5:1) on every section ground */
:root { --c-violet: #b596ff; --c-red: #ff6577; }
.credits dt, .ledger dt { font-size: 0.78rem; }
.fineprint { opacity: 0.95; color: #b9b0d2; }


/* =====================================================================
   CONTACT — the closing section. Words on the left, a glass form on the right.
   Replaces the old Bookings button. No email address is shown on the page.
   ===================================================================== */
#contact { --sec: var(--c-teal); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 84px); align-items: center; text-align: left; }
.contact-intro .cta-mark { margin: 0 0 2em; }
.contact .lede { margin-inline: 0; }
.contact .actions { justify-content: flex-start; }

.contact-card { position: relative; padding: clamp(22px, 3vw, 42px); border-radius: 18px; overflow: hidden; color-scheme: dark;
  background: rgba(10, 6, 22, 0.84); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
.contact-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--spectrum); }
.contact-card h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: #fff; margin-bottom: 0.9em; }
.contact .contact-card p { margin-top: 0; }
.contact-form[hidden], .contact-done[hidden] { display: none; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { margin-bottom: 16px; --f: var(--c-gold); }
.field-row .field + .field { --f: var(--c-orange); }
.field:has(select) { --f: var(--c-violet); }
.field:has(textarea) { --f: var(--c-teal); }
.field label { display: block; margin-bottom: 7px; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--f); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.07); color: #fff;
  font-family: var(--font-body); font-size: 1rem; line-height: 1.4; transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b596ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.42); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--f); outline-offset: 2px; border-color: var(--f); background-color: rgba(255, 255, 255, 0.1); box-shadow: 0 0 34px color-mix(in srgb, var(--f) 26%, transparent); }
.field [aria-invalid="true"] { border-color: var(--c-red); }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; caret-color: #fff; box-shadow: 0 0 0 100px #1d1533 inset; }
.field-error { display: block; margin-top: 6px; font-size: 0.84rem; color: #ffa3ae; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
button.btn { cursor: pointer; }
button.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.form-status { flex: 1 1 14ch; font-size: 0.92rem; color: #d9d2ea; }
.form-status.bad { color: #ffa3ae; }
.contact .contact-card .form-note { margin-top: 18px; font-size: 0.82rem; color: #b9b0d2; }
.contact-done p { color: #d9d2ea; max-width: 40ch; }
.contact .contact-done p + p { margin-top: 1.4em; }
.contact-done:focus { outline: none; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-intro { text-align: center; }
  .contact-intro .cta-mark { width: 104px; margin: 0 auto 1.6em; }
  .contact .lede { margin-inline: auto; }
  .contact .actions { justify-content: center; }
}
@media (max-width: 520px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
/* the section's dark wash sits over the photograph only: the words and the form stay above it at full strength */
.contact-grid { position: relative; z-index: 2; }

/* ---------- cookies: a small card bottom-left, shown only when visitor statistics are switched on ---------- */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(430px, calc(100vw - 32px)); padding: 20px 22px 18px; border-radius: 14px; overflow: hidden;
  background: rgba(10, 6, 22, 0.94); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 0.92rem; line-height: 1.5; color: #d9d2ea; }
.cookie-banner[hidden] { display: none; }
.cookie-banner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--spectrum); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-btn { background: none; border: 0; padding: 10px 0; font: inherit; color: inherit; cursor: pointer; }
.footer-btn:hover { color: var(--apricot); }
.footer-btn[hidden] { display: none; }
.fineprint + .fineprint { margin-top: 8px; }

/* ---------- phone menu: three-line button, full-screen list of sections ---------- */
.nav-toggle, .nav-links .menu-only { display: none; }
@media (max-width: 860px) {
  .nav { gap: 10px; }
  .nav-brand, .nav > .btn, .nav-toggle { position: relative; z-index: 2; }
  .nav > .btn { margin-left: auto; order: 2; }
  .nav-toggle { order: 3; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer;
    background: rgba(10, 6, 24, 0.55); border: 1px solid rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .nav-toggle[hidden] { display: none; }
  .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.3s ease, opacity 0.2s ease; }
  .nav.open .nav-toggle { border-color: var(--c-teal); }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links { display: flex; position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 0;
    padding: 92px var(--pad) 36px; overflow-y: auto;
    background: radial-gradient(70% 50% at 100% 0%, rgba(255, 63, 164, 0.3), transparent 70%), radial-gradient(70% 50% at 0% 100%, rgba(25, 211, 189, 0.24), transparent 70%), #07040f;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s; }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease, transform 0.3s ease; }
  .nav-links a, .nav-links .menu-only { display: block; width: 100%; padding: 15px 0 11px; opacity: 1; color: #fff;
    font-size: clamp(1.7rem, 8.4vw, 2.8rem); letter-spacing: 0.02em; line-height: 1.05; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .nav-links a:nth-child(1) { color: var(--c-gold); }   .nav-links a:nth-child(2) { color: var(--c-orange); }
  .nav-links a:nth-child(3) { color: var(--c-pink); }   .nav-links a:nth-child(4) { color: var(--c-violet); }
  .nav-links a:nth-child(5) { color: var(--c-teal); }   .nav-links a:nth-child(6) { color: var(--c-green); }
  .nav-links a[aria-current="true"] { background: none; box-shadow: none; }
  .nav-links a[aria-current="true"]::after { content: " ·"; }
  html.cinematic .nav.open .nav-brand { opacity: 1; }
  html.menu-open { overflow: hidden; }
}
