/* ==========================================================================
   Gabriel Walker · baritone — components
   ========================================================================== */

/* ---------- layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 980px; }

.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--flush-top { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); }
.section--off { background: var(--paper-off); }
.section--night { background: var(--night); color: var(--night-ink); }
.section--night .eyebrow { color: rgba(246, 246, 243, 0.5); }
.section--night hr,
.section--night .rule { border-color: rgba(246, 246, 243, 0.16); }

.measure { max-width: var(--measure); }

/* ---------- micro type ---------- */

.eyebrow {
  font-family: var(--text);
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin: 0 0 var(--s-5);
}
.eyebrow--accent { color: var(--accent); }

.lede {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.small {
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.6;
}

.h-page {
  font-size: var(--t-3xl);
  margin-bottom: var(--s-5);
}
.h-sec {
  font-size: var(--t-2xl);
  margin-bottom: var(--s-6);
}
.h-sub {
  font-family: var(--text);
  font-size: var(--t-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

em, i { font-style: italic; }

/* ---------- links ---------- */

.link {
  display: inline-block;
  position: relative;
  font-size: var(--t-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-bottom: 3px;
}
.link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.link:hover::after { transform: scaleX(0); transform-origin: right; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95rem 1.75rem;
  border: 1px solid currentColor;
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--night .btn:hover,
.hero .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.wordmark {
  font-family: var(--text);
  font-size: var(--t-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  white-space: nowrap;
}
.wordmark span {
  display: block;
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.34em;
  color: var(--muted);
  margin-top: 3px;
}

/* ---------- menu button ---------- */

.navtoggle {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: -4px;
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.navtoggle__word {
  position: relative;
  display: block;
  width: 4.1em;
  height: 1em;
  overflow: hidden;
  font-family: var(--text);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: left;
}
.navtoggle__word i,
.navtoggle__word b {
  position: absolute;
  left: 0; top: 0;
  font-style: normal;
  font-weight: 600;
  transition: transform 0.55s var(--ease), opacity 0.4s var(--ease);
}
.navtoggle__word b { transform: translateY(105%); opacity: 0; }
.navtoggle[aria-expanded="true"] .navtoggle__word i { transform: translateY(-105%); opacity: 0; }
.navtoggle[aria-expanded="true"] .navtoggle__word b { transform: none; opacity: 1; }

.navtoggle__bars {
  position: relative;
  display: block;
  width: 26px;
  height: 12px;
}
.navtoggle__bars i {
  position: absolute;
  left: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.5s var(--ease), transform 0.55s var(--ease), opacity 0.3s var(--ease);
}
.navtoggle__bars i:nth-child(1) { top: 0;    width: 26px; }
.navtoggle__bars i:nth-child(2) { top: 5.5px; width: 18px; }
.navtoggle__bars i:nth-child(3) { top: 11px; width: 26px; }
.navtoggle:hover .navtoggle__bars i:nth-child(2) { width: 26px; }
.navtoggle[aria-expanded="true"] .navtoggle__bars i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.navtoggle[aria-expanded="true"] .navtoggle__bars i:nth-child(2) { opacity: 0; width: 0; }
.navtoggle[aria-expanded="true"] .navtoggle__bars i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- full-height drawer ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  visibility: hidden;
}
.drawer.is-open { pointer-events: auto; visibility: visible; }

.drawer__veil {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.26);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.drawer.is-open .drawer__veil { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(790px, 100%);
  display: grid;
  grid-template-columns: 1fr minmax(0, 238px);
  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: calc(var(--header-h) + clamp(1.5rem, 4vh, 3.25rem)) var(--gutter) clamp(2rem, 5vh, 3.5rem);
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateX(100%);
  transition: transform 0.72s cubic-bezier(0.76, 0, 0.24, 1);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }

.drawer__nav { display: flex; flex-direction: column; justify-content: center; }

.drow {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(251, 250, 248, 0.22);
  color: var(--accent-ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.drawer.is-open .drow {
  opacity: 1;
  transform: none;
  transition-delay: calc(220ms + var(--d, 0ms));
}
.drow::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.drow:hover::after,
.drow:focus-visible::after,
.drow[aria-current="page"]::after { transform: scaleX(1); }

.drow__n {
  font-family: var(--text);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.62;
}
.drow__t {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  transition: transform 0.5s var(--ease);
}
.drow:hover .drow__t,
.drow:focus-visible .drow__t { transform: translateX(9px); }
.drow[aria-current="page"] .drow__t { font-style: italic; }

.drow__mark {
  display: inline-flex;
  opacity: 0;
  transform: translateX(-9px);
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease);
}
.drow:hover .drow__mark,
.drow:focus-visible .drow__mark { opacity: 1; transform: none; }
.drow__mark svg { width: 20px; height: 12px; }

.drawer__figure {
  align-self: end;
  margin: 0;
}
.drawer__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.04);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s cubic-bezier(0.65, 0, 0.35, 1) 0.32s;
}
.drawer.is-open .drawer__figure img { clip-path: inset(0 0 0 0); }
.drawer__figure figcaption {
  margin-top: 0.7rem;
  font-family: var(--text);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.8s;
}
.drawer.is-open .drawer__figure figcaption { opacity: 0.78; }
.drawer__figure figcaption span { opacity: 0.6; }
.drawer__figure figcaption span::before { content: ' · '; }

@media (max-width: 720px) {
  .drawer__panel { grid-template-columns: 1fr; }
  .drawer__nav { justify-content: flex-start; }
  .drawer__figure { max-width: 190px; margin-top: var(--s-5); }
}
@media (max-width: 420px) {
  .navtoggle__word { display: none; }
}

/* ---------- hairline rows, site-wide ---------- */

.rows { border-top: 1px solid var(--line-soft); }

.rowlink {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem 1fr auto 1.6rem;
  align-items: center;
  gap: 1.2rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.rowlink::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.rowlink:hover::after,
.rowlink:focus-visible::after { transform: scaleX(1); }

.rowlink__n {
  font-family: var(--text);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.rowlink__t {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease), color 0.4s var(--ease);
}
.rowlink:hover .rowlink__t,
.rowlink:focus-visible .rowlink__t { transform: translateX(10px); color: var(--accent); }
.rowlink__meta {
  font-family: var(--text);
  font-size: var(--t-sm);
  color: var(--muted);
  text-align: right;
}
.rowlink__mark {
  display: inline-flex;
  justify-content: flex-end;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-9px);
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease);
}
.rowlink:hover .rowlink__mark,
.rowlink:focus-visible .rowlink__mark { opacity: 1; transform: none; }
.rowlink__chev { width: 20px; height: 12px; }

@media (max-width: 640px) {
  .rowlink { grid-template-columns: 1.9rem 1fr 1.2rem; row-gap: 0.35rem; }
  .rowlink__meta { grid-column: 2 / 4; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .drow, .drow__t, .drow__mark, .drow::after,
  .rowlink__t, .rowlink__mark, .rowlink::after,
  .drawer__panel, .drawer__veil, .drawer__figure img, .drawer__figure figcaption,
  .navtoggle__word i, .navtoggle__word b, .navtoggle__bars i {
    transition-duration: 0.01ms !important;
  }
  .drawer__figure img { clip-path: none !important; }
}

/* ==========================================================================
   MOTION — three standard behaviours, on every page
   ========================================================================== */

/* ---- 1 · page wipe -------------------------------------------------------
   A solid block in the destination page's accent sweeps up over the outgoing
   page, then lifts away to reveal the new one. */

.wipe {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  background: var(--cobalt);
  transform: translateY(100%);
  will-change: transform;
}
.wipe[data-accent="cobalt"]  { background: var(--cobalt); }
.wipe[data-accent="brass"]   { background: var(--brass); }
.wipe[data-accent="green"]   { background: var(--green); }
.wipe[data-accent="oxblood"] { background: var(--oxblood); }
.wipe[data-accent="violet"]  { background: var(--violet); }
.wipe[data-accent="sand"]    { background: var(--sand); }

.wipe.is-covering {
  pointer-events: all;
  transform: translateY(0);
  transition: transform 0.46s var(--ease-wipe);
}
html.is-loading .wipe { transform: translateY(0); }
.wipe.is-lifting {
  transform: translateY(-100%);
  transition: transform 0.62s var(--ease-wipe);
}

/* ---- 2 · header load -----------------------------------------------------
   Eyebrow fades up, title lines rise out of their masks in sequence, the
   colour block draws in from the left, the rule draws last. */

[data-headerload] .hl-eyebrow {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-headerload].is-loaded .hl-eyebrow { opacity: 1; transform: none; }

.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.ln > i {
  display: block;
  font-style: inherit;
  transform: translateY(105%);
  transition: transform 0.92s var(--ease);
  transition-delay: calc(var(--d, 0ms) + 120ms);
}
[data-headerload].is-loaded .ln > i { transform: none; }

/* the colour block that sits behind the page title */
.hl-block {
  position: absolute;
  z-index: -1;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.78s var(--ease-wipe) 0.18s;
}
[data-headerload].is-loaded .hl-block { transform: scaleX(1); }

[data-headerload] .hl-rule {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.85s var(--ease-wipe) 0.42s;
}
[data-headerload].is-loaded .hl-rule { transform: scaleX(1); }

/* ---- 3 · section reveal -------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-vis { opacity: 1; transform: none; }

/* rules that draw left to right as they enter */
.js .drawrule {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-wipe);
  transition-delay: var(--d, 0ms);
}
.drawrule.is-vis { transform: scaleX(1); }

/* images that clip-reveal from the bottom edge */
.js .clipimg {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.05s var(--ease-wipe);
  transition-delay: var(--d, 0ms);
}
.clipimg.is-vis { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  /* Motion off means the reveal has no job left to do. It must not be allowed to
     hold content back, so everything is simply present from the first paint. */
  .js .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .drawrule { transform: none !important; transition: none !important; }
  .clipimg { clip-path: none !important; transition: none !important; }
  .ln > i { transform: none !important; }
  .hl-block { transform: scaleX(1) !important; }
  [data-headerload] .hl-eyebrow, [data-headerload] .hl-rule {
    opacity: 1 !important; transform: none !important;
  }
  .wipe { display: none; }
}

/* ==========================================================================
   COLOUR BLOCKS
   ========================================================================== */

/* the page masthead — the title sits inside a block of the page accent that
   bleeds off the left edge of the viewport */
.phead {
  padding-block: clamp(3.25rem, 7vw, 5.5rem) clamp(1.75rem, 3.5vw, 2.75rem);
}
.phead__slab {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: clamp(1.1rem, 2.2vw, 1.75rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.4vw, 1.9rem);
  color: var(--accent-ink);
}
.phead__slab::before {
  content: '';
  position: absolute;
  inset: 0;
  left: calc(var(--gutter) * -1);
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-wipe) 0.1s;
  z-index: 0;
}
[data-headerload].is-loaded .phead__slab::before { transform: scaleX(1); }
.phead__slab > * { position: relative; z-index: 1; }
.phead__slab .eyebrow {
  color: rgba(251, 250, 248, 0.78);
  margin: 0 0 var(--s-3);
}
.phead__title {
  font-size: var(--t-3xl);
  line-height: 0.98;
}
.phead__fach {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  color: var(--muted);
  margin-top: clamp(1.1rem, 2vw, 1.5rem);
}
.phead__rule {
  margin-left: 0;
  height: 2px;
  width: clamp(3rem, 6vw, 4.5rem);
  background: var(--accent);
  margin-top: clamp(1.4rem, 2.6vw, 2rem);
}

@media (prefers-reduced-motion: reduce) {
  .phead__slab::before { transform: scaleX(1) !important; }
}

/* a solid accent slab with reversed type — used for pull sections */
.slab {
  background: var(--accent);
  color: var(--accent-ink);
}
.slab .eyebrow,
.slab .small { color: rgba(251, 250, 248, 0.72); }
.slab a { color: var(--accent-ink); }
.slab hr { border-color: rgba(251, 250, 248, 0.28); }

/* a soft wash of the page accent */
.tint { background: var(--accent-tint); }

/* highlight rule sitting under a key phrase */
.mark {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.22em;
  padding-bottom: 0.02em;
}
.mark--soft {
  background-image: linear-gradient(var(--accent-tint), var(--accent-tint));
  background-size: 100% 0.5em;
  background-position: 0 78%;
}

/* ---------- hero (home) ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  min-height: calc(100svh - var(--header-h));
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-8) clamp(1.25rem, 5vw, 4.5rem) var(--s-8) var(--gutter);
}

.hero__name {
  font-size: var(--t-hero);
  /* Bodoni sets very tight at display size; the two lines were crowding each
     other and the letters were touching. A little air on both axes. */
  line-height: 1.02;
  letter-spacing: 0.008em;
  margin: 0;
}
.hero__name em {
  display: block;
  font-style: italic;
  letter-spacing: 0.024em;
  margin-left: 0.02em;
}

.hero__rule {
  height: 1px;
  background: var(--ink);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.1rem, 2vw, 1.6rem);
  max-width: 34rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
}
.hero__voice {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}
.hero__desc {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  border-left: 1px solid var(--line);
  min-height: 60vh;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__text { padding: var(--s-7) var(--gutter) var(--s-6); order: 2; }
  .hero__media { order: 1; border-left: 0; border-bottom: 1px solid var(--line); aspect-ratio: 4/5; min-height: 0; }
  .hero__rule { max-width: none; }
}

/* ---------- intro / prose ---------- */

.prose {
  max-width: var(--measure);
  font-size: var(--t-md);
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose em { color: var(--ink); }
.prose p + p { margin-top: 1.35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.splitgrid {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 860px) {
  .splitgrid { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* ---------- orgs strip ---------- */

.orgs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.25rem;
  font-size: var(--t-sm);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.orgs li { white-space: nowrap; }

/* ---------- engagement list ---------- */

/* season heads are defined with the tab system, further down */

.event {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr) auto;
  gap: 0 var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.event__date {
  font-size: var(--t-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  padding-top: 0.2em;
}
.event__work {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  line-height: 1.2;
}
.event__work em { font-style: italic; }
.event__role {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  margin-top: 0.35rem;
}
.event__org {
  font-size: var(--t-sm);
  color: var(--muted);
  margin-top: 0.2rem;
}
.event__link {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.event__link:hover { color: var(--ink); border-color: var(--ink); }

.event.is-next .event__date { color: var(--accent); font-weight: 500; }

@media (max-width: 760px) {
  .event { grid-template-columns: 1fr; gap: 0.4rem; }
  .event__date { order: -1; padding-top: 0; }
  .event__link { margin-top: 0.6rem; justify-self: start; }
}

/* ---------- repertoire ---------- */

.repgroup + .repgroup { margin-top: var(--s-8); }
.repgroup__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--ink);
}

.reptable { width: 100%; border-collapse: collapse; }
.reptable th {
  text-align: left;
  font-family: var(--text);
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--faint);
  padding: var(--s-4) var(--s-4) var(--s-3) 0;
  border-bottom: 1px solid var(--line);
}
.reptable td {
  padding: var(--s-4) var(--s-4) var(--s-4) 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: baseline;
}
.reptable td:last-child, .reptable th:last-child { padding-right: 0; }
.reptable .c-composer { width: 22%; color: var(--ink-soft); font-size: var(--t-base); }
.reptable .c-work { width: 46%; font-family: var(--display); font-size: 1.1875rem; font-style: italic; }
.reptable .c-role { width: 32%; font-size: var(--t-base); color: var(--ink-soft); }
.reptable sup { font-size: 0.72em; color: var(--accent); font-weight: 600; }

@media (max-width: 720px) {
  .reptable, .reptable tbody, .reptable tr, .reptable td { display: block; width: 100%; }
  .reptable thead { display: none; }
  .reptable tr { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
  .reptable td { border: 0; padding: 0; }
  .reptable .c-composer,
  .reptable .c-work,
  .reptable .c-role { width: auto; }
  .reptable .c-composer { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
  .reptable .c-work { margin: 0.2rem 0 0.1rem; font-size: 1.1875rem; }
}

.legend {
  margin-top: var(--s-6);
  font-size: var(--t-sm);
  color: var(--muted);
}
.legend sup { color: var(--accent); }

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}
.gtile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 3 / 4;
  cursor: pointer;
}
.gtile--wide {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}
@media (max-width: 620px) {
  .gtile--wide { grid-column: span 1; }
}
.gtile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.5s var(--ease);
}
.gtile:hover img { transform: scale(1.045); }
.gtile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(13,13,15,0.82), rgba(13,13,15,0));
  color: #fff;
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gtile:hover figcaption,
.gtile:focus-visible figcaption { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9, 9, 10, 0.97);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  color: rgba(255,255,255,0.6);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.lightbox__close { color: rgba(255,255,255,0.7); font-size: 1.4rem; line-height: 1; padding: 0.4rem; }
.lightbox__close:hover { color: #fff; }
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(3rem, 8vw, 6rem);
  min-height: 0;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  transition: color 0.3s;
}
.lightbox__nav:hover { color: #fff; }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__cap {
  padding: 1.1rem var(--gutter) 2rem;
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.lightbox__cap strong {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.lightbox__cap span {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.55);
}

/* ---------- audio ---------- */

.player {
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 46rem;
}
.player__title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
}
.player__meta { font-size: var(--t-sm); color: var(--muted); margin-top: 0.35rem; }
.player audio {
  width: 100%;
  margin-top: var(--s-5);
  filter: grayscale(1);
}

/* ---------- press kit ---------- */

.kit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 1px solid var(--ink);
}
.kit__item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: var(--s-6) var(--s-5) var(--s-6) 0;
  border-bottom: 1px solid var(--line);
}
.kit__item h3 { font-size: 1.375rem; }
.kit__item p { font-size: var(--t-sm); color: var(--muted); }
.kit__links { display: flex; gap: 1.25rem; margin-top: auto; padding-top: var(--s-4); }
.kit__links a {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease);
}
.kit__links a:hover { border-color: var(--ink); }

/* ---------- feature panel (image + text) ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.feature__img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-deep); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(2rem, 5vw, 5rem); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature__body { padding: var(--s-7) 0 0; }
}

/* ---------- bio layout ---------- */

.bio {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.bio__figure { position: sticky; top: calc(var(--header-h) + 2rem); }
.bio__figure img { width: 100%; }
.bio__figure figcaption { font-size: var(--t-xs); color: var(--faint); margin-top: 0.75rem; letter-spacing: 0.08em; }

.bio__season {
  font-family: var(--text);
  font-size: var(--t-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: var(--s-7) 0 var(--s-3);
}
.bio__season:first-child { margin-top: 0; }

@media (max-width: 860px) {
  .bio { grid-template-columns: 1fr; }
  .bio__figure { position: static; max-width: 22rem; }
}

/* ---------- contact form ---------- */

.form { display: grid; gap: var(--s-5); max-width: 40rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: var(--t-base);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 8rem; }
.form__submit { justify-self: start; margin-top: var(--s-3); }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: var(--s-7) var(--s-6);
  margin-top: var(--s-9);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; }
.footer__nav a { font-size: var(--t-sm); color: var(--muted); transition: color 0.3s; }
.footer__nav a:hover { color: var(--ink); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  border-top: 1px solid var(--line-soft);
  padding-top: var(--s-5);
  font-size: var(--t-xs);
  color: var(--faint);
  letter-spacing: 0.06em;
}

/* ---------- misc ---------- */

.stack > * + * { margin-top: var(--s-5); }
.stack-lg > * + * { margin-top: var(--s-7); }

.rule { border-top: 1px solid var(--line); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.note {
  font-size: var(--t-sm);
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: var(--s-5);
}

/* ==========================================================================
   SEASON TABS (Performances)
   ========================================================================== */

.stabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-7);
  overflow-x: auto;
  scrollbar-width: none;
}
.stabs::-webkit-scrollbar { display: none; }

.stab {
  position: relative;
  padding: 0.85rem 1.15rem;
  font-family: var(--text);
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.stab:first-child { padding-left: 0; }
.stab::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s var(--ease-wipe);
}
.stab:first-child::after { left: 0; right: 1.15rem; }
.stab:hover { color: var(--ink); }
.stab.is-on { color: var(--ink); }
.stab.is-on::after { transform: scaleX(1); }
.stab .stab__n {
  margin-left: 0.55rem;
  color: var(--faint);
  font-size: 0.9em;
  letter-spacing: 0.08em;
}
.stab.is-on .stab__n { color: var(--accent); }

.season[hidden] { display: none; }
.season.is-swapped { animation: seasonIn 0.55s var(--ease) both; }
@keyframes seasonIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .season.is-swapped { animation: none; }
  .stab::after { transition: none; }
}

.season__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--ink);
  margin-bottom: var(--s-2);
}
.season__head h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  letter-spacing: -0.02em;
}
.season__head .count {
  font-family: var(--text);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--faint);
  white-space: nowrap;
}

/* ==========================================================================
   COMPANY LOGO STRIP
   ========================================================================== */

.credits {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
}
.credits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  align-items: center;
  gap: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3.25rem);
  margin-top: var(--s-5);
}
@media (min-width: 62rem) {
  .credits__grid { grid-template-columns: repeat(5, 1fr); }
}
.credits__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
}
.credits__item img {
  max-height: 4.25rem;
  height: auto;
  width: auto;
  max-width: min(100%, 10.5rem);
  object-fit: contain;
  opacity: 0.62;
  transition: opacity 0.35s var(--ease);
}
.credits__item:hover img { opacity: 1; }
.credits__item span {
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.25;
  text-align: center;
  color: var(--ink-soft);
}

/* ==========================================================================
   REPERTOIRE SUBGROUPS
   ========================================================================== */

.repsub { margin-top: var(--s-6); }
.repsub:first-of-type { margin-top: var(--s-4); }
.repsub__title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--text);
  font-size: var(--t-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--s-2);
}
.repsub__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.repsub .reptable thead { display: none; }
.repgroup .reptable thead { display: table-header-group; }
.repgroup .repsub:first-of-type .reptable thead { display: table-header-group; }
@media (max-width: 720px) {
  .repgroup .reptable thead { display: none; }
}

/* ==========================================================================
   MEDIA — the rule that draws between Listen and View
   ========================================================================== */

.divide {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.divide__line {
  flex: 1;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
}
.divide__line--r { transform-origin: right center; }
.divide__label {
  font-family: var(--text);
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  white-space: nowrap;
}

/* ---------- hero colour block (Home) ---------- */

.hero__text { position: relative; }

.hero__voice {
  position: relative;
  display: inline-block;
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  line-height: 1;
  padding: 0.32em 0.68em 0.38em;
  color: var(--accent-ink);
  font-style: normal;
  letter-spacing: 0.01em;
  z-index: 0;
}
.hero__voice::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-wipe) 0.42s;
  z-index: -1;
}
[data-headerload].is-loaded .hero__voice::before { transform: scaleX(1); }

.hero__rule { background: var(--accent); height: 2px; }

@media (prefers-reduced-motion: reduce) {
  .hero__voice::before { transform: scaleX(1) !important; }
}

/* ==========================================================================
   CLOSING NOTE
   ========================================================================== */

.endnote {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4) var(--s-6);
}
.endnote__line {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.125rem, 2.1vw, 1.5rem);
  line-height: 1.3;
  color: var(--ink-soft);
  max-width: 26ch;
  margin: 0;
}

/* ==========================================================================
   ROUND 3 ADDITIONS
   ========================================================================== */

/* ---------- the infinity mark ---------- */

.ihmark { display: block; width: 100%; height: auto; }
.ihmark__wrap {
  display: block;
  width: clamp(52px, 6vw, 68px);
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.phead__mark {
  display: block;
  width: clamp(58px, 7vw, 78px);
  margin-bottom: var(--s-4);
  opacity: 0;
  transform: translateY(10px);
  animation: markIn 0.9s var(--ease) 0.35s forwards;
}
@keyframes markIn { to { opacity: 1; transform: none; } }

/* ---------- home logo strip, no block ---------- */

.credits--bare {
  border: 0;
  /* The section above already ends on a full rest. Stacking a second one here
     opened a canyon between the performance list and the logos. */
  padding-block: 0;
}

/* ---------- event rows: hover treatment + presenter logos ---------- */

.event { position: relative; }
.event::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.event:hover::after { transform: scaleX(1); }
.event__body { transition: transform 0.5s var(--ease); }
.event:hover .event__body { transform: translateX(8px); }

.event__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  justify-self: end;
}
.event__link { display: inline-flex; align-items: center; gap: 0.5rem; border-bottom: 0; }
.event__link .rowlink__chev {
  width: 18px; height: 11px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-7px);
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
}
.event:hover .event__link { color: var(--ink); }
.event:hover .event__link .rowlink__chev { opacity: 1; transform: none; }

.event__logo { display: block; width: clamp(74px, 8vw, 104px); }
.event__logo img {
  width: 100%; height: auto;
  max-height: 34px;
  object-fit: contain;
  object-position: right center;
  opacity: 0.34;
  filter: grayscale(1);
  transition: opacity 0.45s var(--ease);
}
.event:hover .event__logo img { opacity: 0.72; }

@media (max-width: 760px) {
  .event__aside {
    flex-direction: row;
    align-items: center;
    justify-self: start;
    gap: 1.1rem;
    margin-top: 0.85rem;
  }
  .event__logo { width: 68px; }
  .event__logo img { max-height: 26px; object-position: left center; }
  .event:hover .event__body { transform: none; }
}

/* ---------- floating photographs ---------- */

.gtile__f {
  display: block;
  width: 100%; height: 100%;
  will-change: transform;
  translate: 0 var(--py, 0px);
  animation: drift var(--dur, 9s) ease-in-out infinite var(--dly, 0s);
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}
.gtile img { transform-origin: 50% 50%; }

/* ---------- audio rows ---------- */

.player__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
}
.player__dur {
  font-family: var(--text);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.player + .player { margin-top: -1px; }

/* ---------- Infinite Heart opening ---------- */

.ihopen {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
}
.ihopen__figure { margin: 0; }
.ihopen__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 26%;
}
@media (max-width: 820px) {
  .ihopen { grid-template-columns: 1fr; }
  .ihopen__figure { max-width: 22rem; }
}

/* ---------- the film: custom video player ---------- */

.watch {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) {
  .watch { grid-template-columns: 1fr; }
}

.vfilm {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  cursor: pointer;
}
.vfilm__v {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
  filter: saturate(0.92) brightness(0.88);
}
.vfilm.is-playing .vfilm__v { filter: none; }

.vfilm__go {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--accent-ink);
  transition: opacity 0.5s var(--ease);
}
.vfilm__disc {
  position: absolute;
  top: 50%; left: 50%;
  width: 118px; height: 118px;
  margin: -59px 0 0 -59px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s var(--ease);
}
.vfilm__tri {
  position: relative;
  z-index: 2;
  width: 0; height: 0;
  border-left: 18px solid var(--accent-ink);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
  transition: opacity 0.35s var(--ease);
}
.vfilm__cue {
  position: absolute;
  z-index: 2;
  top: 50%;
  margin-top: 5.6rem;
  font-family: var(--text);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  transition: opacity 0.35s var(--ease);
}
.vfilm:hover .vfilm__disc { transform: scale(1.1); }
.vfilm.is-expanding .vfilm__disc { transform: scale(22); }
.vfilm.is-expanding .vfilm__tri,
.vfilm.is-expanding .vfilm__cue { opacity: 0; }
.vfilm.is-playing .vfilm__go { opacity: 0; pointer-events: none; }
.vfilm.is-playing .vfilm__disc { opacity: 0; transform: scale(22); }
.vfilm.is-paused .vfilm__go { opacity: 1; pointer-events: auto; }
.vfilm.is-paused .vfilm__disc { opacity: 1; transform: none; }

.vfilm__foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.6rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.vfilm.is-playing .vfilm__foot,
.vfilm.is-paused .vfilm__foot { opacity: 1; }
.vfilm__bar {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
}
.vfilm__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 0;
  background: var(--accent-ink);
}
.vfilm__time {
  font-family: var(--text);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.86);
  font-variant-numeric: tabular-nums;
}

.vmeta__title {
  font-family: var(--display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: var(--s-3);
}
.vmeta__title em { font-style: italic; }
.vmeta__by {
  font-family: var(--text);
  font-size: var(--t-sm);
  color: var(--muted);
  margin-top: 0.6rem;
}
.vmeta__len {
  font-family: var(--text);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: var(--s-4);
}

@media (prefers-reduced-motion: reduce) {
  .gtile__f { animation: none !important; translate: none !important; }
  .phead__mark { animation: none; opacity: 1; transform: none; }
  .event__body, .event::after, .vfilm__disc, .vfilm__v { transition-duration: 0.01ms !important; }
}

/* ---------- two-column repertoire group (recital) ---------- */

.reptable--2 .c-composer { width: 30%; }
.reptable--2 .c-work { width: 70%; }

/* ---------- header while the drawer is open ---------- */

body.is-drawer .header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
body.is-drawer .navtoggle { color: var(--accent-ink); }
@media (max-width: 720px) {
  body.is-drawer .wordmark { color: var(--accent-ink); }
  body.is-drawer .wordmark span { color: rgba(251, 250, 248, 0.66); }
}

/* ---------- media: listen pair, film centring, cue ---------- */

.listen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.player { max-width: none; }
.player + .player { margin-top: 0; }

.vfilm {
  height: min(74vh, 760px);
  width: auto;
  max-height: none;
  margin-inline: auto;
}
@media (max-width: 860px) {
  .vfilm { height: auto; width: 100%; max-width: 26rem; }
}

.ihmark__wrap--grad { width: clamp(56px, 6vw, 74px); margin-bottom: var(--s-4); }

/* figure UA margin reset — gallery tiles */
.gtile { margin: 0; }


/* ---------------------------------------------------------------- ROUND 4 */
/* Unified section label — short accent rule above a tracked word */
.slabel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.95rem;
  margin: 0 0 var(--s-5);
}
.slabel__r {
  display: block;
  width: 42px;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
}
.slabel__t {
  font-family: var(--text);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
}

/* Banded sections — tighter rhythm than section--rule, no divider furniture */
.section--band { padding-block: var(--s-8); }
.section--band + .section--band { padding-top: var(--s-7); }
@media (max-width: 760px) {
  .section--band { padding-block: var(--s-7); }
  .section--band + .section--band { padding-top: var(--s-6); }
  .slabel { margin-bottom: var(--s-4); }
}

.vmeta__by { margin-bottom: 0; }


/* ---------- cinematic hero ---------- */
.hero__media { isolation: isolate; }

/* the photograph itself — slow ambient drift, so it breathes */
.hero__media img {
  z-index: 1;
  transform-origin: 54% 34%;
  animation: heroBreathe 26s var(--ease) infinite alternate;
}
@keyframes heroBreathe {
  from { transform: scale(1.045); }
  to   { transform: scale(1.115); }
}

/* ghosted second exposure — a soft, out-of-register echo of the same frame */
.hero__ghost {
  position: absolute;
  inset: -8%;
  z-index: 2;
  background-size: cover;
  background-position: 46% 16%;
  display: none;
  animation: heroGhost 34s var(--ease) infinite alternate;
  pointer-events: none;
}
@keyframes heroGhost {
  from { transform: scale(1.06) translate3d(0, 0, 0); opacity: 0.2; }
  to   { transform: scale(1.15) translate3d(-2.2%, -1.6%, 0); opacity: 0.38; }
}

/* luminous bloom from the light gap behind him */
.hero__bloom {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(62% 46% at 74% 16%, rgba(255, 255, 255, 0.5), transparent 68%),
    radial-gradient(38% 30% at 22% 8%, rgba(255, 255, 255, 0.16), transparent 70%);
  display: none;
  pointer-events: none;
}
@keyframes heroBloom {
  from { opacity: 0.62; }
  to   { opacity: 0.95; }
}

/* vignette to seat him in the frame */
.hero__vig {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(74% 58% at 52% 42%, transparent 34%, rgba(8, 8, 10, 0.62) 100%),
    linear-gradient(to top, rgba(8, 8, 10, 0.42), transparent 38%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none !important; transform: scale(1.05); }
}


/* ---------- pull quote ---------- */
.pullquote {
  position: relative;
  margin: var(--s-8) 0 0;
  padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.6rem, 4vw, 3.4rem) clamp(2rem, 4vw, 3rem);
  background: var(--accent);
  color: var(--accent-ink);
  overflow: hidden;
}
.pullquote::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -46%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 66%);
  pointer-events: none;
}
.pullquote__q {
  display: block;
  width: 46px;
  height: 2px;
  background: currentColor;
  opacity: 0.55;
  margin-bottom: clamp(1.6rem, 3.2vw, 2.4rem);
}
.pullquote__t {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.6vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: -0.008em;
}
.pullquote__t em { font-style: italic; }
.pullquote__c {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  font-family: var(--text);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  opacity: 0.72;
}
.pullquote__c::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 0.9rem;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.6;
}
@media (min-width: 861px) {
  .pullquote { max-width: 46rem; margin-left: auto; }
}


/* ---------- round 5 ---------- */

/* The Infinite Heart doorway — its own cream world, placed last */
.section--ih {
  background: #f6efe5;
  border-top: 1px solid var(--line);
  padding-block: var(--s-9);
}
.section--ih .h-sec,
.section--ih .prose { color: var(--ink); }
.section--ih .feature__img { background: #ece3d6; }

.ihlogo {
  display: block;
  width: clamp(96px, 13vw, 152px);
  margin-bottom: clamp(1.4rem, 3vw, 2.1rem);
}
.ihlogo img { display: block; width: 100%; height: auto; }

/* ---------- hero: bigger, floating, overlapping ---------- */
@media (min-width: 861px) {
  .hero {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
    border-bottom: 0;
    padding-bottom: var(--s-8);
    overflow: visible;
  }
  .hero__text { padding-block: var(--s-7); }

  .hero__media {
    position: relative;
    /* The plate carries the photograph's true proportions, so the frame can
       never crop the figure however short or wide the window is. Height leads,
       width follows; it can only ever shrink to fit the column. */
    aspect-ratio: 1080 / 1625;
    height: min(48rem, calc(100svh - var(--header-h) - var(--s-5)));
    width: auto;
    max-width: calc(100% - var(--gutter));
    justify-self: end;
    margin-inline-start: auto;
    margin-inline-end: var(--gutter);
    margin-bottom: calc(var(--s-9) * -1);
    border-left: 0;
    border-radius: 2px;
    box-shadow:
      0 2px 6px rgba(18, 18, 22, 0.06),
      0 18px 40px rgba(18, 18, 22, 0.14),
      0 54px 100px -20px rgba(18, 18, 22, 0.28);
    animation: heroFloat 11s var(--ease) infinite alternate;
    z-index: 2;
  }
  @keyframes heroFloat {
    from { transform: translate3d(0, -0.7rem, 0); }
    to   { transform: translate3d(0, 0.7rem, 0); }
  }

  /* the section beneath has to make room for the overlap */
  .hero + .section { padding-top: var(--s-10); }
}

@media (min-width: 1200px) {
  .hero { grid-template-columns: 0.8fr 1.2fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media { animation: none !important; }
}


/* ═══════════════════════ round 6 ═══════════════════════ */

/* ---------- logo marquee ----------
   Replaces the two-row static grid. One continuous pass, edge-faded so logos
   arrive and leave rather than popping. Pauses on hover and on keyboard focus. */
.marquee {
  position: relative;
  overflow: hidden;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeSlide 46s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marqueeSlide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee__set {
  display: flex;
  align-items: center;
  gap: clamp(2.75rem, 6vw, 5.5rem);
  padding: 0 clamp(1.375rem, 3vw, 2.75rem);
  margin: 0;
  list-style: none;
  flex: 0 0 auto;
}
.marquee__set .credits__item {
  flex: 0 0 auto;
  width: clamp(96px, 11vw, 148px);
  padding: 0;
}
.marquee__set .credits__item img {
  width: 100%;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

/* ---------- photo rail — drag, swipe, snap ----------
   The gallery was a tall vertical grid; horizontally it costs one screen. */
.section--rail { overflow: hidden; }
.rail {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag .gtile { pointer-events: none; }
.rail__track {
  display: flex;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  padding-inline: var(--gutter);
  width: max-content;
}
.rail .gtile {
  flex: 0 0 auto;
  width: clamp(230px, 26vw, 340px);
  scroll-snap-align: center;
  aspect-ratio: 4 / 5;
  margin: 0;
}
.rail .gtile--wide { width: clamp(300px, 39vw, 510px); aspect-ratio: 3 / 2; }
.rail .gtile img { width: 100%; height: 100%; object-fit: cover; }

.rail__ui {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}
.rail__bar {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
  position: relative;
}
.rail__fill {
  position: absolute;
  inset: -1px auto -1px 0;
  width: 18%;
  background: var(--accent, var(--ink));
  transition: width 0.18s linear, transform 0.18s linear;
  transform-origin: left center;
}
.rail__btns { display: flex; gap: 0.5rem; flex: 0 0 auto; }
.rail__btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.rail__btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rail__btn[disabled] { opacity: 0.28; cursor: default; }
.rail__btn[disabled]:hover { background: transparent; color: var(--ink); border-color: var(--line); }

/* ---------- pinned biography figure ----------
   The portrait holds still while the biography moves past it, cross-fading
   through three frames. A change of gear rather than more scrolling. */
@media (min-width: 901px) {
  .bio__figure[data-pinfig] {
    position: sticky;
    top: calc(var(--header-h) + var(--s-6));
    align-self: start;
  }
}
.pinfig { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--paper-deep); }
.pinfig__im {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.85s var(--ease), transform 1.6s var(--ease);
}
.pinfig__im.is-on { opacity: 1; transform: scale(1); }
.pinfig__dots {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}
.pinfig__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.pinfig__dots i.is-on { background: #fff; transform: scale(1.35); }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none !important; transform: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  /* With motion off the loop is pointless, so the strip becomes a plain
     centred grid of logos. The duplicate set the loop needs is dropped, and the
     remaining set must be allowed to shrink and wrap or it runs off the edge. */
  .marquee { overflow: visible; }
  .marquee__track { display: block; width: 100%; }
  .marquee__set:last-child { display: none; }
  .marquee__set:first-child {
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1.75rem;
    column-gap: clamp(2rem, 5vw, 4.5rem);
    padding: 0;
  }
  .pinfig__im { transition: opacity 0.4s linear !important; transform: none !important; }
}


/* ---------- round 6, part two ---------- */

/* The pull quote used to drift right of everything around it. It now begins on
   the same line as the prose column of the split grid above it. */
@media (min-width: 861px) {
  .pullquote { max-width: none; margin-left: 0; }
}

/* The hero portrait floats on the desktop and used to sit flush to the edges on
   a phone. It now floats there too, so the two views read as one design. */
@media (max-width: 860px) {
  .hero__media {
    aspect-ratio: 1080 / 1625;
    max-height: calc(100svh - var(--header-h) - var(--s-5));
    margin: 0 var(--s-4) var(--s-2);
    border: 0;
    box-shadow: 0 1.4rem 3.4rem -1.2rem rgba(20, 18, 16, 0.42);
  }
  .hero__media img { border-radius: inherit; }
}

/* ---------- audio player ----------
   The browser's own control bar was the one piece of the site drawn by someone
   else. This is the same instrument in the site's own hand. */
.player audio { display: none; }
.pl {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.pl__btn {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.pl__btn:hover,
.pl__btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.pl__btn svg { width: 0.85rem; height: 0.85rem; fill: currentColor; }
.pl__btn .pl__pause { display: none; }
.pl.is-playing .pl__play { display: none; }
.pl.is-playing .pl__pause { display: block; }
.pl__scrub {
  flex: 1 1 auto;
  position: relative;
  height: 1.5rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.pl__track {
  position: relative;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.pl__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--accent);
}
.pl__head {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s var(--ease);
}
.pl__scrub:hover .pl__head,
.pl.is-playing .pl__head { transform: translate(-50%, -50%) scale(1); }
.pl__time {
  flex: none;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}


/* ---------- reveal safety net ----------
   A reveal is decoration. It must never be the reason something is missing.
   If the observer never fires — a stalled script, an unusual browser, a tab
   restored from the background — this hands the element back after a beat. */
@keyframes revealSafety { to { opacity: 1; transform: none; } }
@keyframes drawSafety   { to { transform: scaleX(1); } }
@keyframes clipSafety   { to { clip-path: inset(0 0 0 0); } }

.js .reveal   { animation: revealSafety 0.5s var(--ease) 2.6s forwards; }
.js .drawrule { animation: drawSafety   0.5s var(--ease) 2.6s forwards; }
.js .clipimg  { animation: clipSafety   0.5s var(--ease) 2.6s forwards; }

.js .reveal.is-vis,
.js .drawrule.is-vis,
.js .clipimg.is-vis { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .drawrule, .js .clipimg { animation: none !important; }
}
