/* ==========================================================================
   KAIROS DUO — kairos.css
   Palette sampled from the duo's own "Mythos" brand artwork.
   Display: Cormorant Garamond (echoes the engraved KAIROS wordmark)
   UI/body: Jost (geometric humanist — concert-programme voice)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Ground — deep navy-black sampled from the artwork */
  --ink:        #0A0C12;
  --ink-2:      #10131C;
  --ink-3:      #171B27;

  /* Brand gold — sampled #D8A860, 8.8:1 on --ink */
  --gold:       #D8A860;
  --gold-soft:  #C09060;
  --gold-deep:  #907860;

  /* Warm cream — 15.6:1 on --ink */
  --cream:      #F2E9DC;
  --cream-dim:  rgba(242, 233, 220, 0.68);
  /* 0.46 measured 4.07:1 on --ink, below the 4.5:1 minimum for normal text.
     0.56 measures ~5.3:1 and keeps the muted feel. */
  --cream-mute: rgba(242, 233, 220, 0.56);

  --line:       rgba(216, 168, 96, 0.22);
  --line-soft:  rgba(242, 233, 220, 0.12);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Garamond, "Times New Roman", serif;
  --font-ui:      "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  /* Spacious scale — density dial 3/10 */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  28px;
  --space-lg:  48px;
  --space-xl:  80px;
  --space-2xl: 120px;
  --space-3xl: 160px;

  --measure: 64ch;
  --container: 1240px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 620ms;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* height:auto is required so the width/height attributes (kept for CLS) act as
   an aspect-ratio hint rather than a fixed pixel height. */
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--ink); }

/* Focus — visible in both directions, never removed */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: min(100% - 2 * var(--space-md), var(--container));
  margin-inline: auto;
}

/* Grid children default to min-width:auto, which lets intrinsic image widths
   blow the columns out past the viewport. Let every track shrink. */
.about-grid > *,
.members-grid > *,
.bio-grid > *,
.gallery-grid > *,
.event > * {
  min-width: 0;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  max-width: 220px;
}

/* Centred variant — the trailing rule would otherwise offset the label */
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin-bottom: var(--space-lg);
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.1vw, 1.62rem);
  line-height: 1.62;
  color: var(--cream);
  font-weight: 300;
}

section { padding-block: var(--space-3xl); position: relative; }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: var(--space-md);
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease),
              border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(10, 12, 18, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  padding-block: var(--space-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; }
.brand img { width: 116px; height: auto; transition: width var(--dur) var(--ease); }
.site-header.is-stuck .brand img { width: 96px; }
.brand-duo {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 3px;
}

.nav { display: flex; align-items: center; gap: var(--space-lg); }

.nav-links { display: flex; gap: var(--space-md); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 10px 2px;
  position: relative;
  transition: color 240ms var(--ease);
  display: block;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 340ms var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-utils { display: flex; align-items: center; gap: var(--space-sm); }

/* Language toggle */
.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--cream-mute);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 240ms var(--ease), color 240ms var(--ease);
  min-height: 40px;
}
.lang-switch button:hover { color: var(--cream); }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }

.icon-link {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream-dim);
  transition: color 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
}
.icon-link:hover { color: var(--gold); border-color: var(--gold); }
.icon-link svg { width: 17px; height: 17px; }

/* Mobile menu button */
.menu-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--cream);
  place-items: center;
  /* must sit above the drawer (z-index 120) so it stays visible and
     operable while the menu is open */
  position: relative;
  z-index: 130;
}
.menu-toggle svg { width: 18px; height: 18px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: var(--space-3xl) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  /* Shifted right by 2%. The image is held slightly overscaled so the shift can
     never expose a bare edge: the safe |translateX| is (scale - 1) / (2 * scale),
     which is 6.5% at the 1.15 resting scale, so the 5% shift keeps ~5.7px of
     margin even at 375px. object-position alone cannot do this — on wide
     viewports `cover` leaves no horizontal overflow to pan within. */
  transform: scale(1.21) translateX(5%);
  animation: heroDrift 24s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1.15) translateX(5%); } }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Each alpha reduced by 15% from the original scrim (0.78 / 0.52 / 0.94 / 0.62)
     so the photograph reads 15% stronger through the overlay. */
  background:
    linear-gradient(to bottom, rgba(10,12,18,0.66) 0%, rgba(10,12,18,0.44) 38%, rgba(10,12,18,0.80) 100%),
    radial-gradient(ellipse 85% 60% at 50% 45%, transparent 0%, rgba(10,12,18,0.53) 100%);
}

.hero-inner { text-align: center; }
/* the global 64ch measure would otherwise offset these from true centre */
.hero-inner p { max-width: none; margin-inline: auto; }

.hero-logo {
  width: min(74vw, 620px);
  margin-inline: auto;
  filter: drop-shadow(0 4px 40px rgba(10, 12, 18, 0.8));
}

.hero-duo {
  font-family: var(--font-ui);
  font-size: clamp(13px, 2.4vw, 17px);
  letter-spacing: 0.92em;
  text-indent: 0.92em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: var(--space-md);
  font-weight: 300;
}

/* Bow-stroke rule — draws across like a single bow stroke */
.hero-stroke {
  height: 1px;
  width: min(70vw, 460px);
  margin: var(--space-lg) auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  animation: bowStroke 1900ms var(--ease) 700ms forwards;
}
@keyframes bowStroke { to { transform: scaleX(1); } }

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.16rem, 2.5vw, 1.72rem);
  color: var(--cream);
  max-width: 30ch;
  margin-inline: auto;
  line-height: 1.5;
}

.hero-sub {
  font-size: 15.18px; /* 12px base, +10%, then +15% */
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-mute);
  margin-top: var(--space-md);
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: var(--space-xs);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  /* --cream-mute measured 4.29:1 against the brighter hero crop; --cream-dim
     restores AA over the same pixels */
  color: var(--cream-dim);
}
.scroll-cue span { display: block; width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); }

/* Load choreography */
.hero-reveal { opacity: 0; transform: translateY(18px); animation: heroIn 1100ms var(--ease) forwards; }
.hero-reveal--1 { animation-delay: 120ms; }
.hero-reveal--2 { animation-delay: 1500ms; }
.hero-reveal--3 { animation-delay: 1800ms; }
.hero-reveal--4 { animation-delay: 2150ms; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-figure { position: relative; }
.about-figure img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}
.about-figure::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--line);
  z-index: -1;
}

.kairos-word {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.06em;
}

/* ---------- Members ---------- */
.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.member {
  display: grid;
  gap: var(--space-md);
  /* portrait / name / intro / link — the intro row absorbs the slack so the
     links line up across both columns */
  grid-template-rows: auto auto 1fr auto;
}

.member-portrait {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
.member-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  /* unify a colour and a b&w source into one visual set */
  filter: grayscale(0.34) contrast(1.06) brightness(0.98) sepia(0.12);
  transition: transform 900ms var(--ease), filter 900ms var(--ease);
}
.member:hover .member-portrait img,
.member:focus-within .member-portrait img {
  transform: scale(1.035);
  filter: grayscale(0.06) contrast(1.04) brightness(1) sepia(0.05);
}
.member-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,12,18,0.7), transparent 46%);
  pointer-events: none;
}

.member-name {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.08;
}
.member-role {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
  display: block;
}
.member-intro { color: var(--cream-dim); font-size: 16px; }

/* Text link with animated rule */
.link-more {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  justify-self: start;
  min-height: 44px;
}
.link-more svg { width: 16px; height: 16px; transition: transform 340ms var(--ease); }
.link-more:hover svg { transform: translateX(5px); }
.link-more span { position: relative; }
.link-more span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 340ms var(--ease);
}
.link-more:hover span::after { transform: scaleX(1); }

/* ---------- Agenda ---------- */
.agenda-list { list-style: none; margin: 0; padding: 0; }

.event {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: var(--space-lg);
  align-items: baseline;
  padding-block: var(--space-md);
  border-bottom: 1px solid var(--line-soft);
}
.event-date {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.event-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; }
.event-venue { font-size: 14px; color: var(--cream-dim); margin-top: 6px; }
.event-meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-mute); }

/* Designed empty state */
.agenda-empty {
  border: 1px solid var(--line);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  display: grid;
  gap: var(--space-md);
  justify-items: center;
  position: relative;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(216,168,96,0.05), transparent 70%);
}
.agenda-empty-mark {
  width: 46px; height: 46px;
  color: var(--gold);
  opacity: 0.75;
}
.agenda-empty-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.agenda-empty p { color: var(--cream-dim); max-width: 46ch; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 15px 28px;
  min-height: 48px;
  border: 1px solid var(--gold);
  transition: background 300ms var(--ease), color 300ms var(--ease);
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn svg { width: 16px; height: 16px; }

.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 600ms var(--ease);
  filter: saturate(0.9) brightness(0.94);
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.05); filter: saturate(1) brightness(1.04); }

.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color 400ms var(--ease);
  pointer-events: none;
}
.gallery-item:hover::after { border-color: var(--line); }

/* editorial rhythm: mixed spans */
.gallery-item:nth-child(1) { grid-column: span 4; aspect-ratio: 3 / 2; }
.gallery-item:nth-child(2) { grid-column: span 2; aspect-ratio: 3 / 4; }
.gallery-item:nth-child(3) { grid-column: span 2; aspect-ratio: 1 / 1; }
.gallery-item:nth-child(4) { grid-column: span 2; aspect-ratio: 1 / 1; }
.gallery-item:nth-child(5) { grid-column: span 2; aspect-ratio: 1 / 1; }
.gallery-item:nth-child(6) { grid-column: span 3; aspect-ratio: 3 / 2; }
.gallery-item:nth-child(7) { grid-column: span 3; aspect-ratio: 3 / 2; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 7, 11, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 340ms var(--ease);
}
.lightbox[data-open="true"] { opacity: 1; pointer-events: auto; }

.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); }
.lightbox-count {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cream-mute); font-variant-numeric: tabular-nums;
}
.lightbox-stage { display: grid; place-items: center; min-height: 0; padding: var(--space-md) 0; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-caption {
  text-align: center;
  font-size: 13px;
  color: var(--cream-dim);
  min-height: 2.2em;
}

.lightbox-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  color: var(--cream);
  cursor: pointer;
  transition: background 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease);
}
.lightbox-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox-btn svg { width: 18px; height: 18px; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: var(--space-sm);
}
.lightbox-nav--prev { left: var(--space-md); }
.lightbox-nav--next { right: var(--space-md); }

body.is-locked { overflow: hidden; }

/* ---------- Contact ---------- */
.contact,
.section-centred { text-align: center; }

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 3rem);
  color: var(--cream);
  display: inline-block;
  padding: 6px 0;
  position: relative;
}
.contact-email::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 480ms var(--ease);
}
.contact-email:hover { color: var(--gold); }
.contact-email:hover::after { transform: scaleX(1); }

/* ---------- Teaching ---------- */
.teaching-intro {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
}
.teaching-intro p { max-width: none; }

/* Labelled address pairs — shared by Teaching and Contact */
.contact-pairs {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: var(--space-md) var(--space-2xl);
  margin-top: var(--space-xl);
}

.contact-name {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.contact-email--sm { font-size: clamp(1.02rem, 2.1vw, 1.42rem); }

/* An entry that spans the full width beneath the pair above it */
.contact-pairs__full {
  grid-column: 1 / -1;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 700px) {
  .contact-pairs { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: var(--space-xl);
  color: var(--cream-mute);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.footer-inner img { width: 84px; opacity: 0.5; }

/* ---------- Bio pages ---------- */
.page-head { padding-block: calc(var(--space-3xl) + 40px) var(--space-xl); }
.bio-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}
.bio-figure { position: sticky; top: 120px; }
.bio-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.2) contrast(1.05) sepia(0.08);
}
.bio-caption {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-mute);
  margin-top: var(--space-sm);
}
.bio-body { max-width: 68ch; }
.bio-body p { font-size: 16.5px; color: var(--cream-dim); line-height: 1.85; max-width: none; }
.bio-body p:first-of-type {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--cream);
  line-height: 1.6;
}
.bio-body h2 {
  font-size: 1.5rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-soft);
  color: var(--cream);
}
.back-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim); padding: 12px 0; min-height: 44px;
}
.back-link:hover { color: var(--gold); }
.back-link svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.back-link:hover svg { transform: translateX(-4px); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 110ms; }
.reveal[data-delay="2"] { transition-delay: 220ms; }
.reveal[data-delay="3"] { transition-delay: 330ms; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --space-3xl: 120px; --space-2xl: 84px; }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .about-figure { max-width: 460px; }
  .bio-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .bio-figure { position: static; max-width: 420px; }
  .members-grid { gap: var(--space-lg); }
}

/* Six nav items + brand + language switch need ~987px of room, so the drawer
   takes over below 1024px rather than 860px. Keep this in sync with the
   NAV_BREAKPOINT constant in site.js. */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    background: var(--ink-2);
    border-left: 1px solid var(--line-soft);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-lg);
    transform: translateX(100%);
    transition: transform 480ms var(--ease);
    z-index: 120;
  }
  .nav-links[data-open="true"] { transform: translateX(0); }
  .nav-links a { font-size: 15px; letter-spacing: 0.16em; padding: 12px 0; }
  .menu-toggle { display: grid; }
  .nav { gap: var(--space-sm); }
}

/* Content stacking stays at 860px — only the navigation moves earlier. */
@media (max-width: 860px) {
  .members-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .event { grid-template-columns: 1fr; gap: var(--space-xs); }
  .event-meta { margin-top: var(--space-xs); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(n) { grid-column: span 1; aspect-ratio: 1 / 1; }
  .gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 3 / 2; }
  .lightbox-nav--prev { left: var(--space-xs); }
  .lightbox-nav--next { right: var(--space-xs); }
}

@media (max-width: 560px) {
  :root { --space-3xl: 92px; --space-2xl: 64px; --space-xl: 56px; }
  body { font-size: 16px; }
  .brand img { width: 92px; }
  .brand-duo { font-size: 9px; letter-spacing: 0.3em; }

  /* The brand, language switch, Instagram icon and menu button together
     overflow 375px and push the menu button off-screen. Instagram stays
     reachable from the agenda CTA, contact section and footer. */
  .nav-utils .icon-link { display: none; }
  .nav-utils { gap: 10px; }
  .hero-duo { letter-spacing: 0.6em; text-indent: 0.6em; }
  .contact-email { font-size: 1.32rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Reduced motion — render final state immediately
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-reveal { opacity: 1; transform: none; }
  .hero-stroke { transform: scaleX(1); }
  /* same resting framing as the animated end state, so no bare edge appears */
  .hero-media img { transform: scale(1.15) translateX(5%); }
}

/* Print — bios are sent to promoters as PDFs */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .scroll-cue, .lightbox, .site-footer, .back-link, .lang-switch { display: none !important; }
  .bio-body p, .bio-body h2 { color: #000; }
  .bio-grid { grid-template-columns: 1fr; }
  .reveal { opacity: 1; transform: none; }
}
