/* design.css — the visual layer: a film title sequence over the score.
   Builds on base.css (tokens, reset, readable defaults). Everything here is a
   finished, static state: with JavaScript off or reduced motion on, this is
   exactly what the visitor sees. motion.js only animates *towards* it.

   Surfaces: ink (dark, warm), paper (light), black (Watch, "lights down").
   Each section sets the base tokens locally, so components only ever use
   var(--color-*) and motion.js can tween the tokens for the lighting changes. */

:root {
  --ink: #0d0b0a;
  --ink-2: #141110;
  --black: #060505;
  --paper: #f2ece2;
  --paper-2: #e9e1d4;
  --paper-text: #1c1814;
  --lamp: #d8a65f;          /* the single accent: the lamp in the hero photo */
  --bronze: #87561c;        /* the same accent, darkened for paper (5:1) */
  --cream: #f0e9de;

  --color-bg: var(--ink);
  --color-bg-alt: var(--ink-2);
  --color-surface: #1a1614;
  --color-text: var(--cream);
  --color-text-muted: rgba(240, 233, 222, 0.66);
  --color-line: rgba(240, 233, 222, 0.14);
  --color-accent: var(--lamp);
  --color-accent-contrast: var(--ink);
  --stave-color: rgba(216, 166, 95, 0.42);

  --text-base: 1.0625rem;
  --text-label: 0.72rem;
  --measure: 64ch;
  --page-max: 1240px;
  --gutter: clamp(18px, 4.4vw, 56px);
  --section-space: clamp(96px, 12vw, 184px);
  --header-height: 72px;
  --ease-film: cubic-bezier(0.16, 1, 0.3, 1);

  /* The stave: five hairlines. --stave-x is where it sits in every section
     (the map can continue the lines from the top of #orchestras). */
  --stave-gap: 6px;
  --stave-w: calc(var(--stave-gap) * 4 + 1px);
  --rail: calc(var(--stave-w) + clamp(24px, 3.4vw, 56px));
  --stave-x: max(var(--gutter), calc((100vw - var(--page-max)) / 2));
}
@media (max-width: 759px) {
  :root { --stave-gap: 3px; --rail: calc(var(--stave-w) + 15px); --header-height: 60px; }
}

/* Surfaces */
.surface-paper, .section--biography, .section--contact, .site-footer {
  --color-bg: var(--paper);
  --color-bg-alt: var(--paper-2);
  --color-text: var(--paper-text);
  --color-text-muted: rgba(28, 24, 20, 0.68);
  --color-line: rgba(28, 24, 20, 0.15);
  --color-accent: var(--bronze);
  --color-accent-contrast: var(--paper);
  --stave-color: rgba(28, 24, 20, 0.3);
  color-scheme: light;
}
.section--watch { --color-bg: var(--black); --color-bg-alt: var(--black); }
.section--upcoming, .section--press, .section--gallery { --color-bg: var(--ink); }

body { background: var(--ink); color: var(--color-text); font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.section { background: var(--color-bg); color: var(--color-text); border-top: 0; position: relative; }
a:hover { color: var(--color-accent); }
::selection { background: var(--lamp); color: var(--ink); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

/* Lenis (desktop smooth scrolling) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- shared type ---------- */
.label, .section__meta, .link-arrow { font-size: var(--text-label); letter-spacing: 0.2em; text-transform: uppercase; }
.link-arrow { color: var(--color-accent); border-bottom-color: currentColor; }
.link-arrow:hover { color: var(--color-text); }
.photo-credit { color: var(--color-text-muted); font-size: 0.8125rem; }

/* ---------- the stave ---------- */
.stave { position: absolute; top: 0; bottom: 0; left: max(var(--gutter), calc((100% - var(--page-max)) / 2)); width: var(--stave-w); color: var(--stave-color); pointer-events: none; z-index: 0; }
.stave__lines { position: absolute; inset: 0; background: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px var(--stave-gap)); clip-path: inset(0 0 calc(100% - var(--draw, 1) * 100%) 0); }
.section--staved .section__inner { position: relative; z-index: 1; padding-left: var(--rail); }

/* ---------- section heads: rehearsal mark, tempo, title ---------- */
.section__inner { max-width: var(--page-max); }
.section__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 32px; padding: 0; margin-bottom: clamp(48px, 6vw, 88px); border: 0; }
.section__mark { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; min-height: 30px; }
.section__num { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid var(--color-accent); background: var(--color-bg); color: var(--color-accent); font-family: var(--font-display); font-size: 0.875rem; line-height: 1; letter-spacing: 0.04em; }
.section--staved .section__num { position: absolute; left: calc(-1 * var(--rail) + var(--stave-w) / 2 - 15px); top: 0; }
.section__tempo { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: var(--color-accent); letter-spacing: 0.01em; }
.section__title { font-weight: 400; font-size: clamp(3rem, 7.2vw, 7.25rem); line-height: 0.94; letter-spacing: -0.025em; overflow-wrap: break-word; hyphens: manual; }
.section__meta { color: var(--color-text-muted); padding-bottom: 0.7em; text-align: right; }
@media (max-width: 759px) {
  .section__head { grid-template-columns: 1fr; }
  .section__meta { text-align: left; padding: 6px 0 0; }
  .section__num { min-width: 24px; height: 24px; font-size: 0.75rem; padding: 0 4px; }
  .section--staved .section__num { left: calc(-1 * var(--rail) + var(--stave-w) / 2 - 12px); top: 3px; }
  .section--staved .section__mark { min-height: 30px; }
  .section__title { font-size: clamp(2.6rem, 13vw, 3.6rem); }
}

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px; background: linear-gradient(to bottom, rgba(6, 5, 5, 0.55), rgba(6, 5, 5, 0)) border-box no-repeat; border-bottom: 1px solid transparent; transition: transform 0.5s var(--ease-film), background-color 0.4s ease, border-color 0.4s ease, padding 0.4s ease; }
.site-header[data-scrolled] { background: rgba(13, 11, 10, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgba(240, 233, 222, 0.08); padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: 8px; }
.site-header[data-hidden] { transform: translateY(-100%); }
.site-header:focus-within { transform: none; }
.site-header__inner { max-width: calc(var(--page-max) + 120px); gap: 8px 28px; min-height: 44px; flex-wrap: nowrap; }
.site-header__brand { font-size: 1.375rem; letter-spacing: 0.01em; color: var(--cream); }
.site-nav__list { gap: 4px clamp(14px, 1.7vw, 26px); flex-wrap: nowrap; }
.site-nav__link, .lang-switch__link { font-size: 0.6875rem; letter-spacing: 0.18em; color: rgba(240, 233, 222, 0.72); position: relative; }
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--lamp); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-film); }
.site-nav__link:hover, .site-nav__link[aria-current="true"] { color: var(--cream); }
.site-nav__link:hover::after, .site-nav__link[aria-current="true"]::after { transform: scaleX(1); }
.lang-switch__list { gap: 10px; }
.lang-switch { padding-left: 22px; border-left: 1px solid rgba(240, 233, 222, 0.24); }
.lang-switch__link { font-size: 0.75rem; color: rgba(240, 233, 222, 0.86); }
.lang-switch__link:hover { color: var(--lamp); }
.lang-switch__link[aria-current="page"] { color: var(--lamp); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.55em; }
.site-header__toggle { border-color: rgba(240, 233, 222, 0.32); color: var(--cream); padding: 9px 14px; min-height: 44px; font-size: 0.6875rem; letter-spacing: 0.2em; }
@media (max-width: 1100px) and (min-width: 761px) {
  .site-nav__list { gap: 4px 12px; }
  .site-nav__link, .lang-switch__link { letter-spacing: 0.12em; }
  .lang-switch { padding-left: 12px; }
  .site-header__brand { font-size: 1.125rem; }
}
/* Tablet portrait: one row does not fit (the language codes ran off the
   right edge at 768px), so the nav takes its own row under the name. */
@media (max-width: 960px) and (min-width: 761px) {
  :root { --header-height: 96px; }
  .site-header__inner { flex-wrap: wrap; row-gap: 0; }
  .site-header__brand { white-space: nowrap; }
  .site-nav { order: 5; width: 100%; }
  .site-nav__list { justify-content: space-between; }
}
@media (max-width: 760px) {
  .site-header__inner { flex-wrap: wrap; gap: 0 14px; }
  .lang-switch { border: 0; padding: 0; }
  /* On phones the language menu sits beside Menu; the inline list appears only
     inside the open menu. */
  .lang-switch { display: none; }
  /* No blur or transform while open: either one makes the header the box its
     fixed children (the menu, the languages) are placed in, squeezing them into the bar. */
  .js .site-header:has(.site-nav[data-open]) { background: var(--ink); transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js .site-nav[data-open] { position: fixed; inset: var(--header-height) 0 0 0; z-index: 59; width: auto; padding: 24px var(--gutter) 120px; background: var(--ink); overflow-y: auto; }
  .js .site-nav[data-open] .site-nav__list { flex-direction: column; padding: 0; margin: 0; border: 0; gap: 0; }
  .js .site-nav[data-open] .site-nav__item { border-bottom: 1px solid rgba(240, 233, 222, 0.1); }
  .js .site-nav[data-open] .site-nav__link { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 2rem; letter-spacing: -0.01em; text-transform: none; color: var(--cream); }
  .js .site-nav[data-open] .site-nav__link::after { display: none; }
  .js .site-header:has(.site-nav[data-open]) .lang-switch { display: block; position: fixed; left: var(--gutter); right: var(--gutter); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 61; }
  .js .site-header:has(.site-nav[data-open]) .lang-switch__list { gap: 22px; }
  .js .site-header:has(.site-nav[data-open]) .lang-switch__link { font-size: 0.8125rem; padding: 10px 0; }
}
html:has(.site-nav[data-open]) { overflow: hidden; }

/* ---------- language menu (phones) and language suggestion ---------- */
.lang-menu { display: none; position: relative; margin-left: auto; }
.site-header__brand + .lang-menu { margin-left: 0; }
.lang-menu__toggle { list-style: none; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; -webkit-user-select: none; user-select: none; }
.lang-menu__toggle::-webkit-details-marker { display: none; }
.lang-menu__toggle::marker { content: ""; }
.lang-menu__box { display: inline-flex; align-items: center; gap: 6px; padding: 11px 11px; border: 1px solid rgba(240, 233, 222, 0.32); color: var(--cream); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.3; }
.lang-menu__globe { fill: none; stroke: currentColor; stroke-width: 1.1; flex: none; }
.lang-menu[open] .lang-menu__box { border-color: var(--lamp); color: var(--lamp); }
.lang-menu__list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 62; min-width: 200px; margin: 0; padding: 6px 0; list-style: none; background: var(--ink); border: 1px solid rgba(240, 233, 222, 0.18); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.lang-menu__link { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 18px; color: var(--cream); text-decoration: none; font-size: 1rem; }
.lang-menu__code { min-width: 2em; font-size: 0.6875rem; letter-spacing: 0.16em; color: rgba(240, 233, 222, 0.62); }
.lang-menu__link[aria-current="page"], .lang-menu__link[aria-current="page"] .lang-menu__code { color: var(--lamp); }
.lang-menu__link:hover, .lang-menu__link:focus-visible { background: rgba(240, 233, 222, 0.07); }
@media (max-width: 760px) { .lang-menu { display: block; } }
html:has(.site-nav[data-open]) .lang-menu { visibility: hidden; }

.lang-suggest { position: fixed; z-index: 58; top: calc(var(--header-height) + 14px); right: var(--gutter); display: flex; align-items: stretch; max-width: min(440px, calc(100vw - 2 * var(--gutter))); background: var(--ink); border: 1px solid rgba(216, 166, 95, 0.45); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45); color: var(--cream); font-size: 0.9375rem; line-height: 1.35; }
.lang-suggest__link { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 6px 10px 16px; color: var(--cream); text-decoration: none; }
.lang-suggest__link:hover .lang-suggest__text, .lang-suggest__link:focus-visible .lang-suggest__text { text-decoration: underline; text-underline-offset: 0.25em; }
.lang-suggest__arrow { color: var(--lamp); }
.lang-suggest__close { flex: none; width: 44px; min-height: 44px; padding: 0; background: none; border: 0; border-left: 1px solid rgba(240, 233, 222, 0.12); color: rgba(240, 233, 222, 0.75); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.lang-suggest__close:hover { color: var(--cream); }
@media (max-width: 760px) {
  .lang-suggest { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); left: var(--gutter); right: var(--gutter); max-width: none; }
}
html[data-game] .lang-suggest, html:has(.site-nav[data-open]) .lang-suggest { display: none; }
/* It travels with the header: there at the top and whenever the header comes back. */
.site-header[data-hidden] + .lang-suggest { opacity: 0; transform: translateY(-24px); pointer-events: none; visibility: hidden; transition: transform 0.5s var(--ease-film), opacity 0.3s ease, visibility 0s 0.5s; }
@media (max-width: 760px) { .site-header[data-hidden] + .lang-suggest { transform: translateY(24px); } }
@media (prefers-reduced-motion: no-preference) {
  .lang-suggest { animation: lang-suggest-in 0.6s var(--ease-film) backwards; transition: transform 0.5s var(--ease-film), opacity 0.3s ease; }
}
@keyframes lang-suggest-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- hero: the title sequence ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: grid; align-items: end; background: var(--black); isolation: isolate; }
.hero__media { overflow: hidden; }
.hero__img { object-position: 50% 42%; transform-origin: 56% 42%; will-change: transform; }
.hero__scrim { background:
  linear-gradient(to top, rgba(6, 5, 5, 0.94) 0%, rgba(6, 5, 5, 0.66) 26%, rgba(6, 5, 5, 0.12) 56%, rgba(6, 5, 5, 0.35) 100%),
  linear-gradient(to right, rgba(6, 5, 5, 0.5) 0%, rgba(6, 5, 5, 0) 55%),
  linear-gradient(to left, rgba(6, 5, 5, 0.6) 0%, rgba(6, 5, 5, 0) 30%); }
/* Two dims multiplied: --hero-intro-dim (the opening fade-up) and --hero-dim
   (the scroll). Separate properties, so neither tween records the other's value. */
.hero::after { content: ""; position: absolute; inset: 0; background: var(--black); opacity: calc(1 - (1 - var(--hero-dim, 0)) * (1 - var(--hero-intro-dim, 0))); pointer-events: none; z-index: 1; }
/* Desktop: the name and prize at the lower left, the credits in a narrow right column. */
.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 19rem); grid-template-areas: "titles lede" "titles next" "prize actions"; align-items: end; gap: 22px clamp(32px, 5vw, 80px); max-width: calc(var(--page-max) + 160px); padding: 140px var(--gutter) clamp(44px, 6.5vh, 72px); box-sizing: border-box; width: 100%; }
.hero__poster, .hero__credits { display: contents; }
.hero__titles { grid-area: titles; }
.hero__prize { grid-area: prize; }
.hero__lede { grid-area: lede; }
.hero__next { grid-area: next; }
.hero__actions { grid-area: actions; }
.hero__role { margin: 0 0 clamp(14px, 2vh, 22px); font-size: var(--text-label); letter-spacing: 0.32em; color: var(--lamp); }
.hero__title { margin: 0 0 0 -0.04em; font-size: clamp(3.6rem, 11vw, 11.5rem); line-height: 0.84; letter-spacing: -0.03em; font-weight: 400; color: var(--cream); white-space: nowrap; }
.hero__prize { max-width: 32ch; font-family: var(--font-display); font-style: italic; font-size: clamp(1.125rem, 1.7vw, 1.5rem); line-height: 1.35; color: var(--cream); }
.hero__lede { margin: 0; max-width: 40ch; font-size: 0.9375rem; line-height: 1.6; color: rgba(240, 233, 222, 0.78); }
.hero__next { display: grid; gap: 4px; padding: 16px 0 0; border-top: 1px solid rgba(240, 233, 222, 0.28); text-decoration: none; color: var(--cream); }
.hero__next-label { font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--lamp); }
.hero__next-date { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; }
.hero__next-what { font-size: 0.9375rem; color: rgba(240, 233, 222, 0.82); }
.hero__next:hover .hero__next-date { color: var(--lamp); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-bottom: 4px; }
.hero__action { position: relative; padding: 6px 0; font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: var(--cream); border-bottom: 1px solid rgba(240, 233, 222, 0.35); }
.hero__action::after { content: " →"; color: var(--lamp); }
.hero__action:hover { color: var(--lamp); border-bottom-color: var(--lamp); }
@media (max-width: 1100px) {
  .hero__title { font-size: clamp(3.6rem, 10vw, 8rem); }
}
/* Phones and tall screens: a film poster. The name at the top, her face clear
   in the middle, the prize and next concert at the bottom; the lede follows
   below the photograph. */
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; }
  .hero__media, .hero__scrim { bottom: auto; height: 100vh; height: 100svh; }
  .hero__scrim { background:
    linear-gradient(to bottom, rgba(6, 5, 5, 0.82) 0%, rgba(6, 5, 5, 0.35) 24%, rgba(6, 5, 5, 0) 40%),
    linear-gradient(to top, rgba(6, 5, 5, 0.96) 0%, rgba(6, 5, 5, 0.8) 22%, rgba(6, 5, 5, 0) 44%); }
  .hero__content { display: block; padding: 0; max-width: none; }
  .hero__poster { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-height) + 3svh) var(--gutter) max(26px, env(safe-area-inset-bottom)); box-sizing: border-box; }
  .hero__credits { display: grid; gap: 16px; margin-top: auto; }
  .hero__titles, .hero__prize, .hero__lede, .hero__next, .hero__actions { grid-area: auto; }
  .hero__role { margin-bottom: 10px; letter-spacing: 0.26em; }
  .hero__title { white-space: normal; font-size: min(21vw, 7.5rem); line-height: 0.86; }
  .hero__prize { font-size: 1.0625rem; max-width: 30ch; }
  .hero__next { padding-top: 14px; }
  .hero__next-date { font-size: 1.625rem; }
  .hero__lede { position: relative; z-index: 2; max-width: none; padding: 30px var(--gutter) 8px; font-size: 1rem; background: var(--black); }
}

/* ---------- I. Upcoming: the season on the stave ---------- */
.section--upcoming { z-index: 2; box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.45); }
.concerts { border-top: 1px solid var(--color-line); }
.concert { position: relative; grid-template-columns: minmax(10rem, 13rem) minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px clamp(28px, 4vw, 56px); padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--color-line); }
.concert__note { position: absolute; top: calc(clamp(32px, 4vw, 48px) + 1.45rem); left: calc(-1 * var(--rail) + var(--pitch, 4) * var(--stave-gap) / 2 - 6px); width: 12px; height: 9px; border-radius: 50%; background: var(--lamp); transform: rotate(-22deg); box-shadow: 0 0 0 3px var(--color-bg); }
.concert::before { content: ""; position: absolute; top: calc(clamp(32px, 4vw, 48px) + 1.45rem + 4px); left: calc(-1 * var(--rail) + var(--stave-w) + 8px); width: calc(var(--rail) - var(--stave-w) - 18px); height: 1px; background: var(--stave-color); transform-origin: left center; transform: scaleX(var(--tie, 1)); }
.concert__date { padding: 0; color: var(--color-text); letter-spacing: 0; text-transform: none; font-size: 1rem; }
.concert__date time { display: grid; gap: 10px; }
.concert__month { font-family: var(--font-display); font-size: clamp(2.6rem, 4.4vw, 3.9rem); line-height: 0.9; letter-spacing: -0.02em; }
.concert__year { font-size: var(--text-label); letter-spacing: 0.24em; color: var(--color-accent); }
.concert__orchestra { font-size: clamp(1.5rem, 2.3vw, 2.125rem); line-height: 1.12; margin: 2px 0 10px; letter-spacing: -0.01em; }
.concert__title { font-family: var(--font-display); font-style: italic; font-size: 1.1875rem; color: var(--color-text); }
.concert__venue { font-size: 0.9375rem; color: var(--color-text); }
.concert__place { margin: 4px 0 16px; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--color-text-muted); }
.concert__link { font-size: 0.6875rem; letter-spacing: 0.2em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.concert__link::after { content: " ↗"; }
.concert__programme { padding-top: 8px; }
.programme { font-size: 0.9375rem; line-height: 1.55; color: var(--color-text); }
.programme__item { padding-left: 1.1em; text-indent: -1.1em; }
.programme__item::before { content: "♩"; display: inline-block; width: 1.1em; text-indent: 0; color: var(--color-accent); font-family: var(--font-display); opacity: 0.8; }
.programme__item + .programme__item { margin-top: 6px; }
.programme--tba { font-family: var(--font-display); font-style: italic; color: var(--color-text-muted); }
.concert:hover .concert__orchestra { color: var(--lamp); }
.concert .concert__orchestra { transition: color 0.4s ease; }
@media (max-width: 1000px) and (min-width: 761px) {
  .concert { grid-template-columns: minmax(8rem, 10rem) minmax(0, 1fr); }
  .concert__programme { grid-column: 2; }
}
@media (max-width: 760px) {
  .concert { grid-template-columns: 1fr; gap: 6px; padding: 30px 0 32px; }
  .concert__date time { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .concert__month { font-size: 2.25rem; }
  .concert__note { top: calc(30px + 1rem); }
  .concert::before { top: calc(30px + 1rem + 4px); }
  .concert__orchestra { margin-top: 6px; }
  .concert__programme { padding-top: 12px; }
}

/* ---------- II. Biography (paper) ---------- */
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "aside text" "prizes prizes"; gap: clamp(40px, 6vw, 96px) clamp(40px, 6vw, 96px); align-items: start; }
.bio { position: relative; }
.bio__aside { grid-area: aside; align-self: stretch; }
.bio__portrait { position: sticky; top: calc(var(--header-height) + 40px); }
.bio .section__head { position: static; }
.section--staved .bio .section__num { left: calc(var(--stave-w) / 2 - 15px); top: 0; }
.bio__text { grid-area: text; display: block; }
.bio__text .section__head { margin-bottom: clamp(36px, 4vw, 56px); }
.bio__portrait { display: grid; gap: 10px; }
.bio__picture { overflow: hidden; aspect-ratio: 4 / 5; }
.bio__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bio__paragraph { max-width: var(--measure); margin: 0 0 1.35em; color: var(--color-text); font-size: 1.0625rem; line-height: 1.75; }
.bio__paragraph--lead { font-family: var(--font-display); font-size: clamp(1.3125rem, 1.9vw, 1.625rem); line-height: 1.45; letter-spacing: -0.005em; margin-bottom: 1.2em; max-width: 34em; }
.bio__cta { margin-top: 32px; }
.bio__prizes { grid-area: prizes; border-top: 1px solid var(--color-line); padding-top: clamp(36px, 5vw, 64px); }
.prizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px clamp(32px, 5vw, 80px); background: none; }
.prize { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 24px; padding: 0; background: none; }
.prize__numeral { font-family: var(--font-display); font-variation-settings: "opsz" 28; font-size: clamp(5.5rem, 10vw, 9.5rem); line-height: 0.74; letter-spacing: -0.04em; color: var(--color-accent); }
.prize__label { max-width: 24ch; padding-bottom: 4px; font-size: 0.9375rem; line-height: 1.45; color: var(--color-text); }
@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; grid-template-areas: "text" "aside" "prizes"; }
  .bio__aside { max-width: 520px; }
  .bio__portrait { position: static; }
  .section--staved .bio .section__num { left: calc(var(--stave-w) / 2 - 12px); top: 3px; }
}

/* ---------- III. Watch (lights down) ---------- */
.section--watch { --color-text: var(--cream); }
.watch-card { position: relative; display: grid; grid-template-columns: 1fr; padding: 0; border: 1px solid rgba(240, 233, 222, 0.1); overflow: hidden; color: var(--cream); text-decoration: none; background: #0f0d0c; isolation: isolate; }
.watch-card:hover { color: var(--cream); border-color: rgba(216, 166, 95, 0.4); }
/* A screen-like panel: the play mark and text on the left, a portrait on the right. */
.watch-card--poster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; grid-template-areas: "play media" "text media"; }
.watch-card__media { position: relative; grid-area: media; aspect-ratio: 4 / 5; max-height: 80vh; width: 100%; overflow: hidden; z-index: 0; }
.watch-card__picture, .watch-card__img { width: 100%; height: 100%; }
.watch-card__img { object-fit: cover; object-position: 50% 30%; filter: saturate(0.85) contrast(1.05) brightness(0.92); transition: filter 0.8s ease; }
.watch-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #0f0d0c 0%, rgba(15, 13, 12, 0) 28%), linear-gradient(to top, rgba(6, 5, 5, 0.4), rgba(6, 5, 5, 0) 40%); }
.watch-card:hover .watch-card__img { filter: saturate(1) contrast(1.05) brightness(1); }
.watch-card__text { grid-area: text; display: grid; gap: 14px; max-width: 34rem; padding: 0 clamp(28px, 4.5vw, 64px) clamp(32px, 4.5vw, 64px); }
.watch-card__title { font-family: var(--font-display); font-size: clamp(1.875rem, 3.4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.015em; }
.watch-card__body { color: rgba(240, 233, 222, 0.76); max-width: 40ch; }
.watch-card__action { margin-top: 10px; font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lamp); }
.watch-card__play { position: relative; grid-area: play; align-self: end; justify-self: start; width: clamp(76px, 7.5vw, 104px); height: auto; aspect-ratio: 1; margin: clamp(32px, 4.5vw, 64px) clamp(28px, 4.5vw, 64px) 36px; border-radius: 50%; border: 1px solid rgba(240, 233, 222, 0.55); transition: transform 0.6s var(--ease-film), border-color 0.4s ease, background-color 0.4s ease; }
.watch-card__play::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(216, 166, 95, 0.25); }
.watch-card__play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-left: 18px solid var(--cream); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.watch-card:hover .watch-card__play { transform: scale(1.06); border-color: var(--lamp); background: rgba(216, 166, 95, 0.14); }
@media (max-width: 760px) {
  .watch-card--poster { grid-template-columns: 1fr; grid-template-rows: auto auto; grid-template-areas: "media" "text"; }
  .watch-card__media { max-height: none; }
  .watch-card__media::after { background: linear-gradient(to top, #0f0d0c 0%, rgba(15, 13, 12, 0) 35%); }
  .watch-card__play { grid-area: media; align-self: end; z-index: 1; margin: 0 0 20px 24px; width: 72px; background: rgba(6, 5, 5, 0.35); }
  .watch-card__text { padding: 8px 24px 32px; }
}
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; margin-top: 40px; }
.video__link { display: grid; gap: 12px; text-decoration: none; color: var(--color-text); }
.video__frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video__frame iframe, .video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video__play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 1px solid rgba(240, 233, 222, 0.7); background: rgba(6, 5, 5, 0.35); }
.video__play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-left: 14px solid var(--cream); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.video__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }
.video__date { font-size: var(--text-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); }

/* ---------- IV. Press: pull quotes ---------- */
.review--featured { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--color-line); }
.review--featured > .review__quote { position: relative; max-width: 22em; font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 4.6vw, 4.375rem); line-height: 1.08; letter-spacing: -0.015em; color: var(--color-text); }
.review__aside { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px clamp(28px, 5vw, 80px); align-items: start; }
.review__aside > * { grid-column: 2; }
.review__aside > .review__quote--secondary { grid-column: 1; grid-row: 1 / span 3; }
.review__quote--secondary { font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.35; color: rgba(240, 233, 222, 0.86); }
.review__source, .review__head { color: var(--color-text); letter-spacing: 0.18em; font-size: var(--text-label); gap: 8px 10px; }
.review__icon { width: 22px; height: 22px; border-radius: 3px; filter: grayscale(1) contrast(1.1); opacity: 0.92; }
.review__rating { color: var(--lamp); letter-spacing: 0.18em; }
.review__event, .review__byline { color: var(--color-text-muted); font-size: 0.875rem; }
.reviews { display: block; margin-top: 0; background: none; }
.review--card { padding: clamp(44px, 6vw, 80px) 0; background: none; border-bottom: 1px solid var(--color-line); }
.review__figure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 18rem); grid-template-rows: none; gap: 20px clamp(28px, 5vw, 80px); align-items: end; height: auto; }
.review--card:nth-child(even) .review__figure { grid-template-columns: minmax(220px, 18rem) minmax(0, 1fr); }
.review--card:nth-child(even) .review__quote { grid-column: 2; grid-row: 1; text-align: right; }
.review--card:nth-child(even) .review__caption { grid-column: 1; grid-row: 1; }
.review--card .review__quote { font-family: var(--font-display); font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.012em; }
.review__caption { display: grid; gap: 10px; padding-bottom: 8px; border-left: 1px solid var(--color-line); padding-left: 20px; }
.review__more { justify-self: start; margin-top: 4px; }
.press__subhead { margin: clamp(64px, 8vw, 112px) 0 22px; font-size: var(--text-label); letter-spacing: 0.24em; color: var(--color-accent); }
.interviews { display: block; border-top: 1px solid var(--color-line); }
.interviews__item { border-bottom: 1px solid var(--color-line); }
.interviews__link { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border: 0; font-family: var(--font-display); font-size: clamp(1.1875rem, 1.8vw, 1.5rem); text-decoration: none; transition: color 0.3s ease, padding 0.5s var(--ease-film); }
.interviews__link::after { content: "↗"; font-family: var(--font-body); font-size: 1rem; color: var(--color-accent); }
.interviews__link:hover { padding-left: 10px; color: var(--lamp); }
@media (max-width: 760px) {
  .review__aside { grid-template-columns: 1fr; }
  .review__aside > *, .review__aside > .review__quote--secondary { grid-column: 1; grid-row: auto; }
  .review__figure, .review--card:nth-child(even) .review__figure { grid-template-columns: 1fr; }
  .review--card:nth-child(even) .review__quote, .review--card:nth-child(even) .review__caption { grid-column: 1; grid-row: auto; text-align: left; }
}

/* ---------- V. Orchestras: owned by the map helper; only the handoff here ---------- */
.section--orchestras { --stave-x: max(var(--gutter), calc((100% - var(--page-max)) / 2)); }

/* ---------- VI. Gallery: a filmstrip ---------- */
.section--gallery { padding-left: 0; padding-right: 0; overflow: clip; }
.section--gallery .section__inner { padding: 0 var(--gutter); box-sizing: content-box; }
.section--gallery .section__head { margin-bottom: clamp(36px, 4vw, 56px); }
/* The stave carries on from the map: same x, drawn by the scroll, behind the
   filmstrip, and it fades out before Contact. */
.section--gallery.section--staved .section__inner { padding-left: calc(var(--gutter) + var(--rail)); }
.section--gallery .stave { bottom: clamp(24px, 4vw, 64px); }
.section--gallery .stave::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: 0; height: 140px; background: linear-gradient(to bottom, transparent, var(--color-bg)); }
.section--gallery .gallery__viewport { position: relative; z-index: 1; }
.gallery__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: rgba(240, 233, 222, 0.3) transparent; outline-offset: -4px; }
.gallery__grid { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding: 0 var(--gutter) 22px max(var(--gutter), calc((100vw - var(--page-max)) / 2)); }
.gallery__item, .gallery__item--wide, .gallery__item[data-orientation="landscape"] { grid-column: auto; flex: none; height: clamp(320px, 64vh, 680px); aspect-ratio: var(--ar, 2 / 3); scroll-snap-align: start; }
.gallery__item:nth-child(3n + 2) { margin-top: clamp(24px, 6vh, 64px); height: calc(clamp(320px, 64vh, 680px) - clamp(24px, 6vh, 64px)); }
.gallery__figure { position: relative; height: 100%; overflow: hidden; }
.gallery__picture { width: 100%; height: 100%; }
.gallery__img, .gallery__item[data-orientation="landscape"] .gallery__img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.gallery__frame { position: absolute; left: 12px; bottom: 10px; font-size: 0.625rem; letter-spacing: 0.22em; color: rgba(240, 233, 222, 0.82); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); font-variant-numeric: tabular-nums; }
.gallery__toggle, .gallery__credit { display: none !important; }
.js .gallery:not([data-open]) .gallery__item--more { display: block; }
@media (max-width: 760px) {
  .gallery__item, .gallery__item--wide, .gallery__item[data-orientation="landscape"] { height: min(118vw, 62svh); }
  .gallery__item:nth-child(3n + 2) { margin-top: 0; height: min(118vw, 62svh); }
  .gallery__grid { padding-left: var(--gutter); }
}
/* Desktop with motion: motion.js pins the section and moves the strip itself. */
.gallery--pinned .gallery__viewport { overflow: visible; scroll-snap-type: none; }
.gallery__progress { display: none; }
.gallery--pinned .gallery__progress { display: block; position: relative; max-width: var(--page-max); height: 1px; margin: 26px max(var(--gutter), calc((100vw - var(--page-max)) / 2)) 0; background: var(--color-line); }
.gallery__progress-bar { position: absolute; inset: 0; background: var(--lamp); transform-origin: left center; transform: scaleX(0); }

/* ---------- VII. Contact (lights up) ---------- */
.contact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.7fr); gap: 48px clamp(32px, 5vw, 80px); align-items: start; }
.contact__intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.7fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--color-line); }
.contact__intro .section__head { margin: 0; }
.contact__body { max-width: 36ch; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.35; color: var(--color-text); }
.contact__label { color: var(--color-accent); letter-spacing: 0.24em; }
.contact__agency { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.05; letter-spacing: -0.015em; }
.contact__person { font-size: 1.0625rem; margin-bottom: 8px; }
.contact__line a { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); letter-spacing: 0.01em; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease-film), color 0.3s ease; }
.contact__line a:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--color-accent); }
.contact__web a { font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; }
.contact__management { grid-column: span 2; }
.socials { gap: 0; border-top: 1px solid var(--color-line); }
.socials__item { border-bottom: 1px solid var(--color-line); }
.socials__link { display: flex; justify-content: space-between; padding: 12px 0; text-decoration: none; font-size: 1rem; }
.socials__link::after { content: "↗"; color: var(--color-accent); }
.site-footer { background: var(--paper); color: var(--color-text); border-top: 0; padding-top: 0; }
.site-footer__inner { padding-top: 28px; border-top: 1px solid var(--color-line); color: var(--color-text-muted); font-size: 0.8125rem; }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .contact__intro { grid-template-columns: 1fr; }
  .contact__management { grid-column: auto; }
}

/* ---------- motion helpers (only when motion.js runs with motion allowed) ---------- */
/* The hero titles wait for the title sequence. If motion.js never takes over,
   the failsafe animation shows them after a moment. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__titles > *, .js .hero__credits > *, .js .hero__lede { opacity: 0; animation: az-failsafe 0.6s ease 2.4s forwards; }
  .js.motion .hero__titles > *, .js.motion .hero__credits > *, .js.motion .hero__lede { animation: none; }
}
@keyframes az-failsafe { to { opacity: 1; } }
.motion .split-line { display: block; }
.motion .split-mask, .motion .split-line-mask { padding-bottom: 0.3em; margin-bottom: -0.3em; } /* room for italic descenders (y, g, p) */
.motion .split-mask { display: block; overflow: clip; }

@media (prefers-reduced-motion: reduce) {
  .site-header, .site-nav__link::after, .watch-card__img, .watch-card__play, .interviews__link, .contact__line a { transition: none; }
}

/* Readability (Oct 2026). Bodoni Moda keeps its high-contrast display cut for
   the big titles; wherever it's used at reading size it switches to the font's
   own small optical size, whose thin strokes are sturdier. Muted text and the
   smallest labels are a little brighter and larger. */
:root { --color-text-muted: rgba(240, 233, 222, 0.8); --text-label: 0.78rem; }
.surface-paper, .section--biography, .section--contact, .site-footer { --color-text-muted: rgba(28, 24, 20, 0.78); }
.bio__paragraph--lead, .hero__prize, .section__tempo, .concert__title, .programme--tba,
.review__quote--secondary, .video__title, .orch-city__name, .interviews__link,
.contact__agency, .hero__next-date, .map-card__city, .map-card__orch, .map-card__pick-name {
  font-variation-settings: "opsz" 11; font-weight: 450;
}
.concert__orchestra, .watch-card__title { font-variation-settings: "opsz" 18; }
/* Press: the quotes keep their size and layout but use the sturdier cut */
.review--featured > .review__quote { font-variation-settings: "opsz" 12; font-weight: 500; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.14; }
.review--card .review__quote { font-variation-settings: "opsz" 12; font-weight: 450; font-size: clamp(1.625rem, 3vw, 2.75rem); line-height: 1.2; }
.review__event, .review__byline { color: rgba(240, 233, 222, 0.86); font-size: 0.9375rem; }
.hero__lede { font-size: 1rem; color: rgba(240, 233, 222, 0.92); }
.review__quote--secondary { color: rgba(240, 233, 222, 0.94); }
.site-nav__link { font-size: 0.75rem; color: rgba(240, 233, 222, 0.86); }
.hero__action, .hero__next-label, .concert__link, .watch-card__action, .site-header__toggle { font-size: 0.75rem; }

.concert[hidden] { display: none; }

/* Biography: the portrait frame is only as tall as the photo and its credit, so
   it can stay beside the text while the visitor reads (it used to stretch to the
   full height of the text, which stopped it sticking and stranded the credit). */
.bio__portrait { height: fit-content; align-content: start; }
