/* Brno Playback Gathering — design tokens, from design_handoff_playback_brno */
:root {
  --ink-plum: #241726;
  --aubergine: #4A2149;
  --terracotta: #B8452A;
  --terracotta-hover: #C9502F;
  --terracotta-shadow: #7E2C19;
  --spotlight: #F2B33D;
  --sage-teal: #2F6F6B;
  --cream: #FBF3E7;
  --sand: #F3E6D3;
  --bone: #EADCC8;
  --text-secondary: #5A4A52;
  --text-muted: #7A6B72;
  --text-alt: #453741;

  --hairline: rgba(36, 23, 38, 0.14);
  --hairline-2: rgba(36, 23, 38, 0.16);
  --border-cream: rgba(36, 23, 38, 0.08);
  --border-dark: rgba(251, 243, 231, 0.28);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: Karla, system-ui, sans-serif;

  --section-pad-y: clamp(56px, 8vw, 96px);
  --section-pad-x: clamp(16px, 4vw, 48px);
  --content-max: 1440px;

  --transition: 140ms ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-plum);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

img { max-width: 100%; display: block; }

a {
  color: var(--terracotta);
  text-decoration: none;
}
a:hover { color: #8F3320; }

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

/* Focus states — not specified in the prototype, added per handoff (README: "must be added") */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark a:focus-visible,
.on-dark button:focus-visible,
[data-surface="dark"] a:focus-visible {
  outline-color: var(--spotlight);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink-plum);
  color: var(--cream);
  border-radius: 8px;
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: 12px; }

/* Anchor targets should clear the sticky header */
#top, #programme, #practical, #register, #workshops, #performances,
#opening, #closing, #schedule, #c-kovo, #c-nofar, #c-sharon {
  scroll-margin-top: 110px;
}

/* Layout helpers */
.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
}
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
}
.section-tight-top {
  padding: 0 var(--section-pad-x) var(--section-pad-y);
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow--amber { color: var(--spotlight); }
.eyebrow--terracotta { color: var(--terracotta); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.btn-arrow { opacity: 0.7; }

.btn-primary {
  padding: 17px 32px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 17px;
  box-shadow: 0 3px 0 var(--terracotta-shadow);
}
.btn-primary:hover {
  background: var(--terracotta-hover);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-secondary {
  padding: 16px 26px;
  border: 1.5px solid rgba(36, 23, 38, 0.25);
  color: var(--ink-plum);
  font-size: 16px;
  font-weight: 600;
}
.btn-secondary:hover {
  border-color: var(--ink-plum);
  background: rgba(36, 23, 38, 0.04);
}

.btn-pill-small {
  margin-left: auto;
  flex-shrink: 0;
  padding: 10px 20px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 2px 0 var(--terracotta-shadow);
}
.btn-pill-small:hover {
  background: var(--terracotta-hover);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-cream-on-terracotta {
  margin-top: 8px;
  padding: 19px 40px;
  background: var(--cream);
  color: var(--ink-plum);
  font-size: 18px;
  box-shadow: 0 3px 0 rgba(36, 23, 38, 0.35);
}
.btn-cream-on-terracotta:hover { background: #fff; transform: translateY(-1px); }
.btn-cream-on-terracotta .btn-arrow { opacity: 0.55; }

.pill-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  transition: background var(--transition);
}
.pill-outline-dark:hover { background: rgba(251, 243, 231, 0.1); color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px var(--section-pad-x) 14px;
  background: rgba(251, 243, 231, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--ink-plum);
}
.wordmark__name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.01em;
}
.site-header__tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-header__tagline-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--spotlight);
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 28px);
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-plum);
  border-bottom: 2px solid transparent;
}
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--terracotta);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding: clamp(44px, 7vw, 88px) var(--section-pad-x) clamp(56px, 8vw, 96px);
  max-width: var(--content-max);
  margin: 0 auto;
}
.hero__lead h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 9vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 24px 0 0;
}
.hero__h1-brno { font-size: 0.5em; }
.hero__h1-italic {
  display: inline-block;
  margin-left: 0.3em;
  font-style: italic;
  color: var(--aubergine);
}
.hero__datewrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 26px;
}
.hero__date {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1;
}
/* At the full clamp() size the date competes with the 104px headline
   stacked directly above it; 27px gives a clear 4:1 hierarchy. Below
   861px the headline sits inside the photo instead, so no clash. */
@media (min-width: 861px) {
  .hero__date { font-size: 27px; }
}
.hero__place {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__place::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--spotlight);
}
.hero__lede {
  max-width: 52ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-alt);
  margin: 22px 0 0;
  text-wrap: pretty;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: 44px;
}
.stat {
  flex: 1 1 130px;
  padding: 20px 0 0;
  border-top: 1px solid var(--hairline);
}
.stat__value {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* The hero's two-column layout constrains the stats row to the text
   column's width (~402px at 924px viewport), not the viewport itself —
   so the wrap this prevents happens on small laptops and tablets too. */
@media (max-width: 1200px) {
  .stat__tail { display: none; }
  .hero__stats { flex-wrap: nowrap; gap: 0 20px; }
  .hero__stats .stat { flex: 1 1 0; min-width: 0; }
}

.hero__media {
  position: relative;
  padding: 0 0 72px 0;
}
.hero__media-large {
  position: relative;
  width: 80%;
  margin-left: auto;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bone);
  box-shadow: 0 24px 60px -30px rgba(36, 23, 38, 0.55);
}
.hero__scrim {
  display: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--cream) 0%, rgba(251, 243, 231, 0.5) 4%, rgba(251, 243, 231, 0) 12%),
    linear-gradient(180deg, rgba(36, 23, 38, 0) 20%, rgba(36, 23, 38, 0.55) 45%, rgba(36, 23, 38, 0.92) 100%);
}
.hero__media-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bone);
  border: 6px solid var(--cream);
  box-shadow: 0 18px 40px -22px rgba(36, 23, 38, 0.6);
}
.hero__media-large img,
.hero__media-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Hero: mobile/tablet full-bleed photo treatment ----------
   ≥861px keeps the two-column layout above unchanged. Below that the
   hero becomes a single-column, two-row grid, and the text column is
   overlaid on the media column with subgrid so the headline sits inside
   the photo without duplicating markup. Requires subgrid support
   (current Chrome/Firefox/Safari); the split into .hero__lead /
   .hero__rest is what makes the trick possible — keep it even if you
   port this to conditional rendering instead of CSS. */
@media (max-width: 860px) {
  .site-header__tagline { order: 3; flex: 1 0 100%; min-width: 0; }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    padding: 0 0 44px;
  }
  .hero__media { grid-row: 1; grid-column: 1; margin: 0; padding: 0; }
  .hero__media-large { width: 100%; border-radius: 0 0 32px 32px; box-shadow: none; }
  .hero__media-small {
    left: auto;
    right: 14px;
    top: auto;
    bottom: -24px;
    width: 31%;
    border-width: 4px;
    border-radius: 14px;
    z-index: 3;
    box-shadow: 0 14px 30px -16px rgba(36, 23, 38, 0.7);
  }
  .hero__scrim { display: block; }
  .hero__text {
    grid-row: 1 / -1;
    grid-column: 1;
    display: grid;
    grid-template-rows: subgrid;
    z-index: 2;
  }
  .hero__lead { grid-row: 1; align-self: end; padding: 0 16px 28px; max-width: 60%; }
  .hero__datewrap { margin: -46px 0 0; padding: 22px 0 0; }
  .hero__date { padding-right: 132px; }
  .hero__rest { grid-row: 2; padding: 46px 16px 0; }
  .hero__lead h1 {
    margin-top: 0;
    line-height: 1;
    color: var(--cream);
    text-shadow: 0 1px 16px rgba(36, 23, 38, 0.55);
  }
  .hero__h1-italic { color: var(--spotlight); }
}

@media (min-width: 641px) and (max-width: 860px) {
  /* 3/2 crops ~80px less than 16/9 at 768px wide; center 18% keeps faces
     in frame. Tuned to this specific photo — recheck if it's replaced. */
  .hero__media-large { aspect-ratio: 3 / 2; border-radius: 0 0 40px 40px; }
  .hero__media-large img { object-position: center 18%; }
  .hero__media-small { right: 26px; bottom: -30px; width: 21%; border-width: 5px; border-radius: 16px; }
  .hero__lead { padding: 0 30px 34px; max-width: 70%; }
  .hero__rest { padding: 54px 30px 0; }
  .hero__datewrap { padding-top: 26px; }
  .hero__date { padding-right: 210px; }
  .hero__stats { margin-top: 36px; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-header { padding-bottom: 18px; }
  .hero__lede-tail { display: none; }
  .hero__rest > p:first-of-type { margin-top: 18px; }
  .hero .btn-primary { width: 100%; justify-content: center; }
  .hero .btn-secondary { display: none; }
  .hero__stats { gap: 0 14px; margin-top: 32px; }
  .hero__stats .stat { padding-top: 16px; }
  .hero__stats .stat .stat__value { font-size: 30px; }
  .hero__stats .stat .stat__label { font-size: 11px; letter-spacing: 0.04em; }
}

/* ---------- Why we gather (dark, full-bleed) ---------- */
.section-dark {
  background: var(--ink-plum);
  color: var(--cream);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  max-width: var(--content-max);
  margin: 0 auto;
}
.why-grid h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
}
.why-grid h2 em { font-style: italic; }
.why-pull {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.8vw, 26px);
  line-height: 1.5;
  margin: 0;
  max-width: 34ch;
  color: #F7E9D6;
  text-wrap: pretty;
}
.why-body {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(251, 243, 231, 0.72);
  margin: 28px 0 0;
  max-width: 58ch;
  text-wrap: pretty;
}

/* ---------- Programme ---------- */
.programme-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.programme-header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.programme-header h2 em { font-style: italic; color: var(--aubergine); }
.text-link-underline {
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 2px;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 5vw, 52px);
}
/* With exactly 3 cards, auto-fit's 2-column state strands the third card
   alone with an empty gap beside it. Skip straight from 3 columns to 1. */
@media (max-width: 880px) {
  .programme-grid { grid-template-columns: 1fr; }
}
.workshop-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--border-cream);
}
.workshop-card__image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: var(--bone);
  overflow: hidden;
}
.workshop-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.workshop-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 30px;
}
.workshop-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tag-pill {
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-pill--day1 { background: var(--ink-plum); }
.tag-pill--day1-pm { background: var(--aubergine); }
.tag-pill--day2 { background: var(--sage-teal); }
.tag-pill--slot {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.workshop-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.12;
  margin: 0;
  text-wrap: pretty;
}
.workshop-card__host {
  font-size: 15px;
  font-weight: 700;
  color: var(--terracotta);
}
.workshop-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Mood gallery (homepage teaser) ---------- */
[data-gallery] {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 14px;
  margin-top: clamp(32px, 5vw, 52px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
/* Exactly six tiles — auto-fit would strand one or two alone in a
   half-empty row at some width, which reads as unfinished on an
   atmosphere-only element. Fixed steps instead. */
@media (max-width: 1100px) {
  [data-gallery] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  [data-gallery] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mood-gallery__tile {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bone);
}
.mood-gallery__tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Workshop list (homepage, all eight) ---------- */
.workshop-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 0 clamp(24px, 4vw, 48px);
  margin-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--hairline);
}
.workshop-list__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-plum);
  transition: background var(--transition);
}
.workshop-list__row:hover { background: rgba(36, 23, 38, 0.03); }
.workshop-list__title {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.workshop-list__name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  text-wrap: pretty;
}
.workshop-list__host {
  font-size: 14px;
  font-weight: 700;
  color: var(--terracotta);
}
.workshop-list__meta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.workshop-list__date { color: var(--ink-plum); }
.workshop-list__slot { color: var(--text-muted); }

/* ---------- Performances panel (homepage teaser) ---------- */
.performances-panel {
  margin-top: clamp(32px, 5vw, 52px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background: var(--ink-plum);
  color: var(--cream);
}
.performances-panel__head h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.performances-panel__head h3 em { font-style: italic; }
.performances-list {
  margin-top: 26px;
  border-top: 1px solid rgba(251, 243, 231, 0.18);
}
.performances-list__day {
  padding: 26px 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spotlight);
}
.performances-list__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(251, 243, 231, 0.18);
}
/* Top-aligned: at 140x175 a centred row floats the title in empty space
   with no shared edge with its neighbours, which read as top-aligned at
   their ~50px row height. The two padding-tops below meet the portrait's
   top edge optically against the name's higher first-line cap-height. */
.performances-list__row--avatar {
  align-items: flex-start;
  padding: 22px 0;
}
.performances-list__row--avatar .performances-list__title { padding-top: 2px; }
.performances-list__row--avatar .performances-list__meta { padding-top: 9px; }
.performances-list__row--avatar .performances-list__name { font-size: 34px; }
.performances-list__row--avatar .performances-list__ensemble {
  font-size: 17px;
  color: rgba(251, 243, 231, 0.85);
  margin-top: 8px;
}
.performances-list__ensemble-accent { color: var(--spotlight); }
.performances-list__detail {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(251, 243, 231, 0.7);
  margin-top: 10px;
  max-width: 44ch;
  text-wrap: pretty;
}
.performances-list__avatar {
  flex: 0 0 auto;
  width: 140px;
  height: 175px;
  border-radius: 18px;
  overflow: hidden;
  background: #3A2A3C;
  display: block;
}
.performances-list__avatar img { width: 100%; height: 100%; object-fit: cover; }
.performances-list__title {
  flex: 1 1 260px;
  min-width: 0;
}
.performances-list__name {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  text-wrap: pretty;
}
.performances-list__ensemble {
  font-size: 14px;
  font-weight: 600;
  color: rgba(251, 243, 231, 0.8);
  margin-top: 4px;
}
.performances-list__meta {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.performances-list__date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spotlight);
}
.performances-list__slot {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 243, 231, 0.75);
}

/* ---------- Panels (venue / closing CTA share the rounded-panel pattern) ---------- */
.panel {
  border-radius: 28px;
}
.panel-dark {
  background: var(--ink-plum);
  color: var(--cream);
  padding: clamp(24px, 4vw, 48px);
}
.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.venue-grid h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.venue-grid h2 em { font-style: italic; }
.venue-grid p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(251, 243, 231, 0.75);
  margin: 22px 0 0;
  max-width: 46ch;
  text-wrap: pretty;
}
.venue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag-outline-dark {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  font-size: 14px;
  font-weight: 600;
}
.venue-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #3A2A3C;
}
.venue-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.venue-logo-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 243, 231, 0.2);
}
.venue-logo-caption {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(251, 243, 231, 0.75);
}
.venue-logo {
  width: 190px;
  height: auto;
  display: block;
  /* Flattens the supplied mark to pure black before inverting, so the
     result is exactly #FFFFFF regardless of the source colour. */
  filter: brightness(0) invert(1);
}

/* ---------- Hosts ---------- */
.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.hosts-image {
  position: relative;
  width: 100%;
  padding-top: 75%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bone);
  border: 1px solid rgba(36, 23, 38, 0.1);
}
.hosts-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hosts-grid h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
/* One grid spans all three name/description pairs so the auto name
   column is resolved once (against the longest name), not per row —
   three separate grids or flex rows each resolve their own left edge,
   so the descriptions start at three different x positions. The grid
   must stretch (the default), not align-items:baseline: baseline
   shrinks each cell to its own content height, so the name and
   description cells end at different heights and their border-bottoms
   draw at different y positions. */
.host-grid {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  column-gap: 28px;
  margin-top: 30px;
  border-top: 1px solid var(--hairline-2);
}
.host-grid__name {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-2);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
}
.host-grid__desc {
  /* The 30px serif name's first baseline sits much lower than 15px body
     text — this padding-top is what makes the description's first line
     meet the name optically despite the shared row-stretch height. */
  padding: 25px 0 16px;
  border-bottom: 1px solid var(--hairline-2);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.host-grid__desc em { font-style: italic; }
@media (max-width: 640px) {
  .host-grid { grid-template-columns: minmax(0, 1fr); }
  .host-grid__name { padding-bottom: 0; border-bottom: none; }
  .host-grid__desc { padding-top: 2px; }
}
.hosts-closing {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 24px 0 0;
  max-width: 50ch;
}
.hosts-link { margin-top: 18px; }

/* ---------- Closing CTA ---------- */
.panel-terracotta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px);
  background: var(--terracotta);
  color: var(--cream);
}
/* Pure cream on terracotta is only 4.86:1 — no headroom for opacity on
   small text. Everything below 24px on this card stays full-opacity
   cream; reduced opacity is reserved for type at 24px and up. */
.panel-terracotta .eyebrow {
  color: var(--cream);
}
.panel-terracotta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 16ch;
}
.register-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--cream);
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}

.register-pricing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 640px;
  margin-top: 6px;
}
.pricing-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  /* Amber on bare terracotta can't reach 4.5:1 at any opacity (2.88:1).
     This 0.38 plum fill composites to ~rgb(128,52,40), bringing amber to
     4.65:1. A 0.22 fill measures 3.79:1 — not enough; don't lighten this. */
  background: rgba(36, 23, 38, 0.38);
}
.pricing-tile[hidden] { display: none; }
.pricing-tile--active {
  flex: 1 1 260px;
  gap: 8px;
  padding: 26px 22px;
}
.pricing-tile--next {
  flex: 0 1 190px;
  justify-content: center;
  gap: 6px;
  padding: 22px 18px;
  border: 1px solid rgba(251, 243, 231, 0.24);
}
.pricing-tile__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spotlight);
}
.pricing-tile__label--cream { color: var(--cream); }
.pricing-tile__value {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
}
.pricing-tile__countdown {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}
/* Row must be centred as a whole; only the two note lines inside are
   left-aligned to each other. Centring the price+note as a column
   instead pins the price to the column's left edge — the wider note
   text sets the column width, so the price drifts off the tile's
   centre line while the label above it stays centred. */
.pricing-tile__next-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.pricing-tile__value--next { font-size: 32px; }
.pricing-tile__delta-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--spotlight);
}

.register-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}

.register-friend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}
.register-friend__label { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(40px, 6vw, 56px) var(--section-pad-x) 64px;
  background: var(--ink-plum);
  color: rgba(251, 243, 231, 0.75);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer-brand { max-width: 34ch; }
.footer-brand__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--cream);
}
.footer-brand__name { font-family: var(--font-display); font-size: 28px; }
.footer-brand__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; }
.footer-brand__line { font-size: 15px; line-height: 1.6; margin: 14px 0 0; }
.footer-legal {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(251, 243, 231, 0.6);
  max-width: 46ch;
  text-wrap: pretty;
}
.footer-legal p { margin: 0; }
.footer-legal a {
  color: rgba(251, 243, 231, 0.85);
  border-bottom: 1px solid rgba(251, 243, 231, 0.35);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col--contact { align-items: flex-start; }
.footer-col__head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spotlight);
}
.footer-col a { font-size: 15px; color: rgba(251, 243, 231, 0.8); }

/* ---------- Programme page ---------- */
.programme-intro {
  padding: clamp(44px, 7vw, 88px) var(--section-pad-x) clamp(32px, 5vw, 56px);
  max-width: var(--content-max);
  margin: 0 auto;
}
.programme-intro h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
}
.programme-intro h1 em { font-style: italic; color: var(--aubergine); }
.programme-intro__lede {
  max-width: 56ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-alt);
  margin: 24px 0 0;
  text-wrap: pretty;
}
.programme-intro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: 36px;
  max-width: 640px;
}

.day-divider {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink-plum);
}
.day-divider--spaced { margin-top: clamp(32px, 5vw, 56px); }
.day-divider__date {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
}
.day-divider__slot {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.workshops-section {
  padding: 0 var(--section-pad-x) clamp(56px, 8vw, 96px);
  max-width: var(--content-max);
  margin: 0 auto;
}

.entry {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--hairline-2);
}
.entry:last-child { border-bottom: none; }
@media (max-width: 860px) {
  .entry { grid-template-columns: 1fr; }
}

.entry__portraits { display: grid; gap: 14px; }
.entry__portrait {
  aspect-ratio: 1 / 1;
  max-width: 340px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bone);
}
.entry__portrait img { width: 100%; height: 100%; object-fit: cover; }
/* Aviva's source photo is 496×647 — a square frame discards 151px of
   height for no reason. At 340px wide, 4:5 keeps it sharp and gives
   about a quarter more presence. */
.entry__portrait--4-5 { aspect-ratio: 4 / 5; }

.entry__content { min-width: 0; }
.entry__content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: pretty;
}
.entry__host {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.entry__host::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--spotlight);
}
.entry__body {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  max-width: 62ch;
}
.entry__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-alt);
  margin: 0;
  text-wrap: pretty;
}
.entry__body p strong { color: var(--ink-plum); }
.entry__skills-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.entry__skills-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}
.entry__skills-list li {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-alt);
  text-wrap: pretty;
}
.entry__skills-list li strong { color: var(--ink-plum); }

.facilitator-box {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--sand);
  border: 1px solid var(--border-cream);
  max-width: 62ch;
}
.facilitator-box__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.facilitator-box__body {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.facilitator-box__body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  text-wrap: pretty;
}
.facilitator-box__body p strong { color: var(--ink-plum); }
.facilitator-box__body p.facilitator-box__divider {
  padding-top: 12px;
  border-top: 1px solid var(--hairline-2);
}

/* ---------- Ceremonies (opening / closing) ---------- */
.ceremony-section {
  padding: 0 var(--section-pad-x) clamp(56px, 8vw, 96px);
  max-width: var(--content-max);
  margin: 0 auto;
}
.ceremony-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}

.entry--ceremony {
  margin-top: clamp(28px, 4vw, 40px);
  padding: 0;
  border-bottom: none;
}

.ceremony-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ceremony-date-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink-plum);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ceremony-slot {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ceremony-hosts {
  margin-top: 30px;
  max-width: 62ch;
}
.ceremony-hosts__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ceremony-hosts__list {
  margin-top: 6px;
  border-top: 1px solid var(--hairline-2);
}
.host-card {
  display: grid;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline-2);
}
.host-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.host-card__avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bone);
  font-family: var(--font-display);
  font-size: 26px;
  color: #8F7A83;
}
.host-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.host-card__meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.host-card__name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
}
.host-card__role {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.host-card__bio {
  display: grid;
  gap: 12px;
}
.host-card__bio p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  max-width: 62ch;
  text-wrap: pretty;
}
.host-card__bio p strong { color: var(--ink-plum); }
.host-card__link {
  justify-self: start;
  font-size: 14px;
  font-weight: 700;
}

.entry__ceremony-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Performances (full page, dark) ---------- */
.performances-section {
  background: var(--ink-plum);
  color: var(--cream);
  padding: clamp(56px, 8vw, 96px) var(--section-pad-x);
}
.performances-section__inner { max-width: var(--content-max); margin: 0 auto; }
.performances-section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.performance-entry {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid rgba(251, 243, 231, 0.24);
}
.performance-entry:first-of-type { margin-top: clamp(32px, 5vw, 52px); }
@media (max-width: 860px) {
  .performance-entry { grid-template-columns: 1fr; }
}
.performance-entry__portrait {
  aspect-ratio: 1 / 1;
  max-width: 340px;
  border-radius: 22px;
  overflow: hidden;
  background: #3A2A3C;
}
.performance-entry__portrait img { width: 100%; height: 100%; object-fit: cover; }
.performance-entry__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.performance-entry__date-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.performance-entry__slot {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spotlight);
}
.performance-entry__content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.06;
  margin: 16px 0 0;
}
.performance-entry__ensemble {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 12px;
}
.performance-entry__body {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  max-width: 62ch;
}
.performance-entry__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream);
  margin: 0;
  text-wrap: pretty;
}
.performance-entry__body p strong { color: var(--cream); }
.performance-entry__pull {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.4;
  color: #F7E9D6;
  margin: 0;
  text-wrap: pretty;
}
.performance-entry__credits {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 243, 231, 0.24);
  max-width: 62ch;
}
.performance-entry__credit {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 15px;
  line-height: 1.6;
}
.performance-entry__credit-label { font-weight: 700; color: var(--spotlight); }
.performance-entry__credit a { color: var(--cream); border-bottom: 1px solid rgba(251, 243, 231, 0.5); }
.performance-entry__tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.performance-entry__tag {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(251, 243, 231, 0.28);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Schedule ---------- */
.schedule-section {
  padding: clamp(56px, 8vw, 96px) var(--section-pad-x) 0;
  max-width: var(--content-max);
  margin: 0 auto;
}
.schedule-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
[data-schedule] {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(32px, 5vw, 52px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* Exactly three columns — auto-fit would strand Sunday alone on a second
   row at common laptop widths, so this drops straight to one column. */
@media (max-width: 860px) {
  [data-schedule] { grid-template-columns: minmax(0, 1fr); }
}
.schedule-day {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.schedule-day__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink-plum);
}
.schedule-day__date {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1;
}
.schedule-day__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.schedule-slot {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}
.schedule-slot__time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.schedule-slot__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink-plum);
  text-wrap: pretty;
}
.schedule-slot--muted .schedule-slot__title { color: #8F7A83; }
.schedule-slot__detail {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-wrap: pretty;
}
