/* ==========================================================================
   Monika Leskovar — verzija 2
   Ugođaj: vulkanska noć, plavetnilo dima, jantar violončela.
   Struktura: stranica je koncertni program (stavci I–VI).
   ========================================================================== */

:root {
  --night: #0a0b0d;
  --basalt: #111317;
  --ash: #1b1e24;
  --bone: #ece9e2;
  --bone-2: #c9c6bf;
  --mist: #8e96a4;
  --sky: #a9bbd6;
  --amber: #d48a45;
  --amber-2: #eaae6e;
  --line: rgba(236, 233, 226, .12);
  --line-2: rgba(236, 233, 226, .24);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1440px;
  --head-h: 84px;
  --ease: cubic-bezier(.22, .8, .12, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 1px solid var(--amber-2); outline-offset: 4px; }
::selection { background: var(--amber); color: var(--night); }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 300; padding: 10px 16px; background: var(--bone); color: var(--night); }
.skip:focus { left: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* switching language = a new page; the browser cross-fades between them */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: var(--ease); }

/* small offer of another language on the Croatian page */
.langnote {
  position: fixed; right: 18px; bottom: 18px; z-index: 95; display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(17, 19, 23, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 14px; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.langnote.show { opacity: 1; transform: none; }
.langnote a:hover { color: var(--amber-2); }
.langnote button { width: 34px; height: 34px; border-radius: 50%; color: var(--mist); font-size: 12px; }
.langnote button:hover { color: var(--bone); background: var(--ash); }

/* film grain — subtle texture over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 2%); } 100% { transform: translate(0, 0); }
}

/* reveal */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   Intro — tuning A from 415 (baroque) to 442 Hz, one bow stroke
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--night);
  display: grid; place-items: center;
  transition: transform 1.1s var(--ease-io);
}
.intro__inner { width: min(560px, 80vw); display: grid; grid-template-columns: 1fr auto; gap: 18px 0; color: var(--mist); }
.intro__hz b { color: var(--bone); font-weight: 400; display: inline-block; min-width: 3ch; text-align: right; }
.intro__bow { grid-column: 1 / -1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.intro__bow i { position: absolute; inset: 0; background: var(--amber-2); transform: scaleX(0); transform-origin: left; animation: bow 1.5s var(--ease-io) .15s forwards; }
@keyframes bow { to { transform: scaleX(1); } }
.intro.done { transform: translateY(-100%); }
.no-intro .intro { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.head {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--head-h);
  display: flex; align-items: center; gap: 40px; padding: 0 var(--gutter);
  transition: background .5s, height .5s var(--ease), transform .6s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.head.scrolled { height: 64px; background: rgba(10, 11, 13, .78); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.head.hide { transform: translateY(-100%); }
.head__mark { display: flex; align-items: center; gap: 14px; }
.head__mono {
  display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%;
  font-family: var(--display); font-style: italic; font-size: 15px; letter-spacing: -.02em;
}
.head__name { font-family: var(--display); font-size: 17px; letter-spacing: .02em; }
.head__nav { display: flex; gap: 32px; margin-left: auto; }
.head__nav a { position: relative; display: flex; align-items: baseline; gap: 7px; font-size: 14px; color: var(--bone-2); transition: color .3s; }
.head__nav a i { font-family: var(--display); font-style: normal; font-size: 12px; letter-spacing: .04em; color: var(--mist); }
.head__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--amber-2); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.head__nav a:hover, .head__nav a.active { color: var(--bone); }
.head__nav a:hover::after, .head__nav a.active::after { transform: scaleX(1); transform-origin: left; }
.head__lang { display: flex; gap: 4px; }
.head__lang a { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; padding: 6px; color: var(--mist); transition: color .3s; }
.head__lang a.on, .head__lang a:hover { color: var(--bone); }
.head__lang a.on { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--amber-2); }
.head__menu { display: none; align-items: center; gap: 14px; margin-left: auto; height: 44px; }
.head__lines { position: relative; width: 26px; height: 10px; }
.head__lines b { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.head__lines b:first-child { top: 0; }
.head__lines b:last-child { top: 9px; }
.menu-open .head__lines b:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .head__lines b:last-child { top: 5px; transform: rotate(-45deg); }

/* programme overlay */
.programme {
  position: fixed; inset: 0; z-index: 90; background: var(--basalt);
  display: flex; align-items: center; padding: calc(var(--head-h) + 10px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); visibility: hidden;
}
.menu-open .programme { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open { overflow: hidden; }
.programme__inner { width: 100%; max-width: var(--max); margin: 0 auto; }
.programme__cap { color: var(--mist); margin: 0 0 22px; }
.programme__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.programme__list li { border-bottom: 1px solid var(--line); overflow: hidden; }
.programme__list a {
  display: flex; align-items: baseline; gap: 20px; padding: 10px 0;
  font-family: var(--display); font-size: clamp(2.1rem, 8vw, 4.6rem); line-height: 1.1;
  transform: translateY(100%); transition: transform .9s var(--ease), color .3s;
}
.programme__list a i { width: 2.4em; font-size: .36em; color: var(--amber-2); font-style: normal; letter-spacing: .04em; }
.programme__list a:hover span { font-style: italic; }
.menu-open .programme__list a { transform: none; }
.menu-open .programme__list li:nth-child(2) a { transition-delay: .04s; }
.menu-open .programme__list li:nth-child(3) a { transition-delay: .08s; }
.menu-open .programme__list li:nth-child(4) a { transition-delay: .12s; }
.menu-open .programme__list li:nth-child(5) a { transition-delay: .16s; }
.menu-open .programme__list li:nth-child(6) a { transition-delay: .2s; }
.programme__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: var(--mist); }
.programme__lang { display: flex; gap: 18px; }
.programme__lang a { font-size: 15px; color: var(--mist); }
.programme__lang a.on { color: var(--bone); font-style: italic; font-family: var(--display); }

/* ==========================================================================
   I. Hero
   ========================================================================== */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img {
  object-fit: cover; object-position: 30% 38%;
  transform: scale(1.14); filter: brightness(.6) saturate(.9);
  transition: transform 3.2s var(--ease), filter 2.4s var(--ease);
}
.ready .hero__media img { transform: scale(1.03); filter: brightness(.92) saturate(1); }
.hero__mist { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .35; }
.hero__mist span {
  position: absolute; width: 70vw; height: 50vh; border-radius: 50%; filter: blur(60px);
  background: radial-gradient(closest-side, rgba(169, 187, 214, .55), transparent);
  animation: drift 28s ease-in-out infinite alternate;
}
.hero__mist span:first-child { left: 30%; top: 30%; }
.hero__mist span:last-child { left: -10%; top: 55%; width: 60vw; animation-duration: 36s; animation-delay: -10s; }
@keyframes drift { from { transform: translate3d(-6vw, 0, 0) scale(1); } to { transform: translate3d(8vw, -4vh, 0) scale(1.15); } }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 11, 13, .55) 0%, transparent 22%, transparent 55%, rgba(10, 11, 13, .9) 100%),
    linear-gradient(270deg, rgba(10, 11, 13, .55), transparent 45%);
}

.hero__meta { position: absolute; left: var(--gutter); top: calc(var(--head-h) + 28px); display: flex; gap: 16px; color: var(--bone-2); }
.hero__index { color: var(--amber-2); }

.hero__name {
  position: absolute; right: var(--gutter); bottom: 11vh; margin: 0;
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96;
  font-size: clamp(3.4rem, 10.6vw, 12.5rem); line-height: .86; letter-spacing: -.025em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .25);
}
.hero__word { display: block; white-space: nowrap; }
.hero__word--it { font-style: italic; margin-right: -.04em; }
.hero__word .ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__word .ch > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.ready .hero__word .ch > span { transform: none; }

.hero__facts { position: absolute; left: var(--gutter); bottom: 11vh; margin: 0; color: var(--bone-2); }
.hero__facts div { display: grid; gap: 6px; padding-left: 14px; border-left: 1px solid var(--amber-2); }
.hero__facts dt { color: var(--mist); }
.hero__facts dd { margin: 0; color: var(--bone); }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--bone-2); }
.hero__scroll i { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--bone); animation: fall 2.4s var(--ease-io) infinite; }
@keyframes fall { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }

.js .hero__meta, .js .hero__facts, .js .hero__scroll { opacity: 0; transition: opacity 1.4s var(--ease) 1s; }
.ready .hero__meta, .ready .hero__facts, .ready .hero__scroll { opacity: 1; }

/* ==========================================================================
   Statement
   ========================================================================== */
.statement { position: relative; padding: clamp(110px, 18vw, 240px) var(--gutter); }
.staff { position: absolute; left: 0; right: 0; top: clamp(40px, 6vw, 80px); display: grid; gap: 7px; opacity: .5; }
.staff i { height: 1px; background: var(--line); }
.statement__text {
  max-width: 1180px; margin: 0 auto;
  font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 4.1vw, 3.9rem); line-height: 1.18; letter-spacing: -.012em;
  text-wrap: balance;
}
.statement__text .w { opacity: .14; transition: opacity .35s linear, color .35s; }
.statement__text .w.on { opacity: 1; }
.statement__text .w.em { font-style: italic; color: var(--amber-2); }

/* ==========================================================================
   Section heads
   ========================================================================== */
.shead { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 22px; margin-bottom: clamp(48px, 6vw, 88px); }
.shead--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.shead--row > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 22px; }
.shead__num { font-family: var(--display); font-size: 20px; letter-spacing: .04em; color: var(--amber-2); }
.shead__label { color: var(--mist); display: flex; align-items: center; gap: 16px; }
.shead__label::after { content: ""; flex: 1; max-width: 140px; height: 1px; background: var(--line-2); }
.shead__title {
  grid-column: 1 / -1; margin: 6px 0 0;
  font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96;
  font-size: clamp(2.8rem, 7.4vw, 7rem); line-height: .95; letter-spacing: -.025em;
}
.shead__title em { font-style: italic; color: var(--sky); }

/* ==========================================================================
   II. Biography — horizontal timeline
   ========================================================================== */
.bio { padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 140px); background: var(--basalt); border-top: 1px solid var(--line); }
.timeline { position: relative; }
.timeline__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.timeline__track { list-style: none; margin: 0; display: flex; width: max-content; padding: 0 38vw 0 var(--gutter); will-change: transform; position: relative; }
.timeline__track::before { /* the ruler */
  content: ""; position: absolute; left: 0; right: 0; top: clamp(118px, 13vw, 190px); height: 14px;
  background:
    linear-gradient(var(--line-2), var(--line-2)) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 24px) 0 0 / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 120px) 0 0 / 100% 14px no-repeat;
}
.tl { width: clamp(300px, 31vw, 460px); flex: none; padding-right: 48px; position: relative; }
.tl__year {
  display: block; font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96;
  font-size: clamp(5rem, 11vw, 10rem); line-height: 1; letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1px var(--line-2); transition: color .8s var(--ease), -webkit-text-stroke-color .8s;
}
.tl.on .tl__year { color: var(--bone); -webkit-text-stroke-color: transparent; }
.tl.peak.on .tl__year { color: var(--amber-2); }
.tl__dot { position: absolute; left: 0; top: clamp(112px, 12.5vw, 183px); width: 13px; height: 13px; border-radius: 50%; background: var(--basalt); border: 1px solid var(--line-2); transition: background .6s, border-color .6s; }
.tl.on .tl__dot { background: var(--amber-2); border-color: var(--amber-2); }
.tl h3 { margin: 52px 0 10px; font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.2; }
.tl p { margin: 0; color: var(--mist); font-size: 15px; line-height: 1.55; max-width: 26em; }
.timeline__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh; height: 1px; background: var(--line); }
.timeline__bar span { position: absolute; inset: 0; background: var(--amber-2); transform-origin: left; transform: scaleX(0); }
.timeline__hint { position: absolute; left: var(--gutter); bottom: calc(9vh + 18px); margin: 0; color: var(--mist); }

.bio__more { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bio__toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 30px 0; text-align: left; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.bio__toggle:hover .bio__toggle-label { font-style: italic; }
.bio__plus { position: relative; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; flex: none; transition: transform .6s var(--ease), background .3s; }
.bio__plus::before, .bio__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.bio__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .6s var(--ease); }
.bio__toggle[aria-expanded="true"] .bio__plus { transform: rotate(180deg); background: var(--bone); color: var(--night); }
.bio__toggle[aria-expanded="true"] .bio__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.bio__full { padding: 10px 0 44px; animation: unfold .9s var(--ease); }
@keyframes unfold { from { opacity: 0; transform: translateY(-12px); } }
.bio__cols { columns: 2 340px; column-gap: 64px; color: var(--bone-2); }
.bio__cols p { margin: 0 0 1.2em; break-inside: avoid-column; }
.bio__cols p:first-child::first-letter { float: left; font-family: var(--display); font-style: italic; font-size: 4.4em; line-height: .8; padding: .06em .12em 0 0; color: var(--amber-2); }
.bio__docs { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--mist); }
.pill { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--bone); transition: background .3s, color .3s; }
.pill:hover { background: var(--bone); color: var(--night); }

.with { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin-top: clamp(60px, 8vw, 110px); }
.with__label { margin: 0; color: var(--mist); padding-top: 14px; }
.with__names { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.3; color: var(--bone-2); }
.with__names a, .with__names span { transition: color .3s; }
.with__names a { background: linear-gradient(var(--amber-2), var(--amber-2)) 0 92% / 0 1px no-repeat; transition: color .3s, background-size .6s var(--ease); }
.with__names a:hover, .with__names a:focus-visible { color: var(--bone); font-style: italic; background-size: 100% 1px; }
.with__names a::after { content: "↗"; display: inline-block; margin-left: .15em; font-size: .45em; vertical-align: super; font-style: normal; color: var(--amber-2); opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s, transform .4s var(--ease); }
.with__names a:hover::after, .with__names a:focus-visible::after { opacity: 1; transform: none; }
.with__names b { font-weight: 400; color: var(--amber); padding: 0 .35em; font-size: .6em; vertical-align: middle; }

/* ==========================================================================
   III. Audio — the disc
   ========================================================================== */
.audio { padding: clamp(100px, 13vw, 180px) 0; position: relative; overflow: hidden; }
.audio::before { content: ""; position: absolute; width: 80vw; height: 80vw; left: -30vw; top: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 138, 69, .08), transparent); pointer-events: none; }
.audio__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.disc { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; justify-self: center; }
.disc canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; touch-action: none; }
.disc__center {
  position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--ash), var(--basalt) 70%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 10%;
  transition: border-color .4s, transform .6s var(--ease);
}
.disc__center:hover { border-color: var(--amber-2); }
.disc__state { color: var(--mist); }
.disc__composer { font-family: var(--display); font-size: clamp(1.05rem, 1.8vw, 1.5rem); line-height: 1.15; }
.disc__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bone); color: var(--night); transition: background .3s, transform .4s var(--ease); }
.disc__center:hover .disc__icon { transform: scale(1.08); background: var(--amber-2); }
.disc__icon svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.disc__icon .i-pause, .playing .disc__icon .i-play { display: none; }
.playing .disc__icon .i-pause { display: block; }
.disc__time { color: var(--bone-2); font-variant-numeric: tabular-nums; letter-spacing: .08em; }

.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tracklist li { border-bottom: 1px solid var(--line); }
.tracklist button {
  width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 4px 18px; padding: 22px 0; text-align: left;
  transition: padding .5s var(--ease);
}
.tracklist button:hover { padding-left: 10px; }
.tracklist .n { font-family: var(--display); color: var(--mist); font-size: 15px; letter-spacing: .04em; }
.tracklist .c { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
.tracklist .d { font-family: var(--mono); font-size: 12px; color: var(--mist); letter-spacing: .06em; }
.tracklist .wk { grid-column: 2 / -1; font-size: 14px; color: var(--mist); }
.tracklist li.cur .c, .tracklist li.cur .n { color: var(--amber-2); }
.tracklist li.cur .c::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 12px; border-radius: 50%; background: var(--amber-2); vertical-align: middle; }
.playing .tracklist li.cur .c::after { animation: beat 1s ease-in-out infinite; }
@keyframes beat { 50% { transform: scale(.4); opacity: .5; } }

/* ==========================================================================
   IV. Gallery — strict 12-column grid
   ========================================================================== */
.gallery { padding: clamp(100px, 13vw, 180px) 0; background: var(--basalt); border-top: 1px solid var(--line); }
.gallery__press { max-width: 24em; margin: 0; font-size: 14px; color: var(--mist); }
.filters { display: flex; flex-wrap: wrap; gap: 6px 30px; margin: 0 0 40px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters button { font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--mist); transition: color .3s; }
.filters button sup { font-family: var(--mono); font-size: 10px; margin-left: 4px; color: var(--mist); }
.filters button:hover, .filters button[aria-selected="true"] { color: var(--bone); }
.filters button[aria-selected="true"] span { font-style: italic; }
.filters button[aria-selected="true"] sup { color: var(--amber-2); }

/* Row height = exact height of a 3:4 portrait spanning 3 columns, so every row lines up to the pixel */
.gallery .wrap { container-type: inline-size; }
.grid {
  --cols: 12; --g: 12px;
  display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--g);
  grid-auto-rows: calc(((100cqw - (var(--cols) - 1) * var(--g)) / var(--cols) * 3 + 2 * var(--g)) * 4 / 3);
}
.tile { display: block; position: relative; grid-column: span 3; overflow: hidden; background: var(--ash); }
.tile--wide { grid-column: span 6; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); opacity: 0; transition: transform 1.4s var(--ease), opacity 1s var(--ease), filter .8s; }
.tile img.ok { opacity: 1; transform: scale(1); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .4s, inset .5s var(--ease); pointer-events: none; }
.tile:hover::after { inset: 10px; border-color: rgba(236, 233, 226, .5); }
.tile__n { position: absolute; left: 14px; bottom: 12px; color: var(--bone); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); z-index: 1; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.tile:hover .tile__n { opacity: 1; transform: none; }
.set + .set { margin-top: clamp(48px, 6vw, 80px); }
.set[hidden] { display: none; }
.set__h { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; color: var(--mist); }
.set__h sup { color: var(--amber-2); font-size: 10px; }
.set__h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tile.enter { animation: tileIn .8s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(20px); } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(8, 9, 11, .98); display: grid; grid-template-rows: auto 1fr auto; animation: fadeIn .4s var(--ease); }
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lb__top, .lb__bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); color: var(--bone-2); }
.lb__top button, .lb__bottom button { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 15px; transition: background .3s, color .3s; }
.lb__top button:hover, .lb__bottom button:hover { background: var(--bone); color: var(--night); }
.lb__bottom a:hover { color: var(--amber-2); }
.lb__stage { margin: 0; min-height: 0; display: grid; place-items: center; padding: 0 var(--gutter); }
.lb__stage img { max-width: 100%; max-height: calc(100svh - 180px); width: auto; object-fit: contain; transition: opacity .35s; }
.lb__stage img.loading { opacity: .2; }

/* ==========================================================================
   V. Concerts — printed programme
   ========================================================================== */
.concerts { padding: clamp(100px, 13vw, 180px) 0; }
.concerts__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 7vw, 120px); }
.concerts__h { margin: 0 0 16px; color: var(--mist); font-weight: 400; }
.programme-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.programme-list li { border-bottom: 1px solid var(--line); }
.programme-list a, .programme-list .row { display: grid; grid-template-columns: 110px 1fr auto; align-items: baseline; gap: 4px 20px; padding: 20px 0; transition: padding .5s var(--ease); }
.programme-list a:hover { padding-left: 10px; }
.programme-list a:hover .t { font-style: italic; }
.programme-list .dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--bone-2); font-variant-numeric: tabular-nums; }
.programme-list .t { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.2; }
.programme-list .pl { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.programme-list .pg { grid-column: 2 / -1; font-size: 14px; color: var(--mist); }
.programme-list--past .t { font-size: 1.15rem; color: var(--bone-2); }
.programme-list--past a, .programme-list--past .row { grid-template-columns: 96px 1fr; padding: 14px 0; }
.programme-list--past .pl { grid-column: 2; }
.programme-list .empty { padding: 30px 0; font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--bone-2); }
.programme-list .empty a { display: inline-flex; gap: 10px; padding: 0; margin-top: 14px; font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-2); border-bottom: 1px solid currentColor; }

/* ==========================================================================
   VI. Coda
   ========================================================================== */
.coda { position: relative; overflow: hidden; padding: clamp(120px, 15vw, 220px) 0 clamp(90px, 10vw, 140px); background: var(--night); border-top: 1px solid var(--line); }
.coda__bg { position: absolute; top: 0; bottom: 0; right: 0; width: 58%; background: url("../assets/hero/bg3.webp") 30% 40% / cover no-repeat; opacity: .55; filter: grayscale(1) contrast(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.coda__inner { position: relative; }
.coda__title { margin: 0 0 clamp(40px, 6vw, 70px); font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.02em; }
.coda__title em { color: var(--amber-2); }
.coda__mail {
  display: inline-flex; align-items: center; gap: .4em; max-width: 100%;
  font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 4.6vw, 4.2rem); line-height: 1.1;
  background: linear-gradient(var(--amber-2), var(--amber-2)) 0 100% / 0 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 12px; transition: background-size .9s var(--ease), color .4s;
}
.coda__mail span { overflow-wrap: anywhere; }
.coda__mail svg { width: .62em; height: .62em; flex: none; stroke-width: 1.2; transition: transform .6s var(--ease); }
.coda__mail:hover { background-size: 100% 1px, 100% 1px; color: var(--amber-2); }
.coda__mail:hover svg { transform: translate(6px, -6px); }
.coda__social { list-style: none; display: flex; gap: 32px; margin: 48px 0 0; padding: 0; }
.coda__social a { color: var(--bone-2); transition: color .3s; }
.coda__social a:hover { color: var(--amber-2); }

.foot { border-top: 1px solid var(--line); }
.foot__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 28px; padding-bottom: 28px; color: var(--mist); }
.foot__fine { font-family: var(--display); font-style: italic; font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--bone); }
.foot__inner a { justify-self: end; }
.foot__inner a:hover { color: var(--bone); }

/* ==========================================================================
   Cursor
   ========================================================================== */
.cursor { position: fixed; left: 0; top: 0; z-index: 180; pointer-events: none; display: none; }
.cursor__ring {
  position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1px solid rgba(236, 233, 226, .55);
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
}
.cursor__label { position: absolute; transform: translate(-50%, -50%); color: var(--night); opacity: 0; transition: opacity .3s; white-space: nowrap; font-size: 10px; }
.cursor.big .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--bone); border-color: var(--bone); }
.cursor.big .cursor__label { opacity: 1; }
.cursor.link .cursor__ring { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--amber-2); border-color: var(--amber-2); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .head__nav { gap: 22px; }
  .head__name { display: none; }
}

@media (max-width: 960px) {
  :root { --head-h: 68px; }
  .head__nav, .head__lang { display: none; }
  .head__menu { display: flex; }
  .head__name { display: inline; font-size: 16px; }

  .audio__grid { grid-template-columns: 1fr; }
  .disc { max-width: 460px; }
  .concerts__cols { grid-template-columns: 1fr; }
  .with { grid-template-columns: 1fr; gap: 10px; }
  .with__label { padding-top: 0; }
  .grid { --cols: 6; --g: 8px; }
  .tile { grid-column: span 3; }
  .tile--wide { grid-column: span 6; }

  /* timeline becomes a vertical score */
  .timeline__sticky { position: static; height: auto; overflow: visible; display: block; }
  .timeline__track { display: block; width: auto; transform: none !important; padding: 0 var(--gutter); }
  .timeline__track::before { display: none; }
  .tl { width: auto; padding: 22px 0 26px 30px; border-left: 1px solid var(--line-2); }
  .tl__dot { left: -7px; top: 34px; }
  .tl__year { font-size: clamp(3.4rem, 15vw, 5rem); }
  .tl h3 { margin: 8px 0 6px; }
  .timeline__bar, .timeline__hint { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero__media img { object-position: 50% 30%; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 11, 13, .5) 0%, transparent 25%, transparent 45%, rgba(10, 11, 13, .95) 92%); }
  .hero__name { left: var(--gutter); right: var(--gutter); bottom: 120px; align-items: flex-start; font-size: clamp(3.2rem, 17.5vw, 6rem); }
  .hero__word--it { align-self: flex-end; }
  .hero__facts { bottom: 40px; }
  .hero__scroll { display: none; }
  .hero__meta { top: calc(var(--head-h) + 12px); }
  .head__name { display: none; }

  .statement__text { font-size: clamp(1.6rem, 7.4vw, 2.2rem); }
  .shead--row > div, .shead { gap: 4px 16px; }
  .filters { gap: 4px 20px; }
  .programme-list a, .programme-list .row { grid-template-columns: 1fr auto; }
  .programme-list .dt { grid-column: 1 / -1; }
  .programme-list .pg { grid-column: 1 / -1; }
  .programme-list--past a, .programme-list--past .row { grid-template-columns: 1fr; }
  .programme-list--past .pl { grid-column: 1; }
  .coda__bg { width: 100%; opacity: .3; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
  .foot__inner { grid-template-columns: 1fr; justify-items: start; }
  .foot__inner a { justify-self: start; }
  .lb__stage img { max-height: calc(100svh - 170px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  body::after { display: none; }
  .js .rv { opacity: 1; transform: none; }
}
