/* ============================================================
   ABC — FABLE 5 · page scenes
   Homepage acts + the six section worlds + course + lessons.
   ============================================================ */

/* ============ HOME · OVERTURE (video hero) ============ */
.overture {
  position: relative; min-height: 100svh; min-height: 100vh; overflow: clip;
  display: grid; align-content: end; color: var(--bone);
  padding: calc(var(--header-h) + 2rem) var(--pad) 1.4rem;
  background: var(--night);
}
.overture-video { position: absolute; inset: 0; z-index: 0; }
.overture-video video { width: 100%; height: 100%; object-fit: cover; }
.js:not(.reduce) .overture-video { transform: translateY(calc(var(--p, 0) * 11vh)) scale(calc(1 + var(--p, 0) * .05)); will-change: transform; }
/* (v4) lighter wash — the film is the selling point; shade only where type sits */
.overture-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(rgba(9, 10, 16, .26), transparent 30%, transparent 60%, rgba(9, 10, 16, .58) 90%),
    radial-gradient(110% 80% at 16% 100%, rgba(9, 10, 16, .38), transparent 52%);
}
.overture-copy { position: relative; z-index: 2; display: grid; gap: 1.2rem; }
/* the overture bows out: statement lifts and dims while the film keeps rolling.
   --p is .5 while the hero rests at the top; the exit begins as it passes .55. */
.js:not(.reduce) .overture[data-scrub] .overture-copy {
  opacity: calc(1 - (var(--p, .5) - .55) * 5.2);
  transform: translateY(calc(max(var(--p, .5) - .5, 0) * -16vh));
  transition: none; will-change: transform, opacity;
}
.js:not(.reduce) .overture[data-scrub] .overture-foot.fx {
  opacity: calc(1 - (var(--p, .5) - .52) * 6);
  transition: transform .8s var(--out);
}
.js:not(.reduce) .overture[data-scene]:not(.is-on) .overture-foot.fx { opacity: 0; }
.overture-eyebrow {
  display: flex; align-items: center; gap: .9rem; margin: 0;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 720;
}
.overture-eyebrow i { font-style: normal; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.overture-title { color: var(--bone); }
.overture-title .mask-line:nth-child(2) > span { color: var(--yellow); }
.overture-sub {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.4rem 3rem;
}
.overture-sub .editorial { max-width: 26em; margin: 0; }
.overture-sub .editorial em { color: var(--yellow); font-style: italic; }

.overture-foot {
  position: relative; z-index: 2; margin-top: 2.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--bone) 34%, transparent); padding-top: 1rem;
}
.overture-paths { display: flex; flex-wrap: wrap; gap: .2rem 1.8rem; }
.overture-paths a {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
}
.overture-paths a i { font-style: normal; opacity: .6; font-weight: 400; }
.overture-paths a span { transition: transform .3s var(--out); display: inline-flex; }
@media (hover: hover) and (pointer: fine) {
  .overture-paths a:hover span { transform: translateX(3px); }
}
.overture-scroll {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 44px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: .85;
}
.js:not(.reduce) .overture-scroll b { display: inline-block; animation: bob 2.1s ease-in-out infinite; font-weight: 400; }
@keyframes bob { 50% { transform: translateY(5px); } }

.video-control {
  position: absolute; z-index: 5; right: var(--pad); top: calc(var(--header-h) + 1.2rem);
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem 1rem;
  background: color-mix(in srgb, var(--night) 42%, transparent); color: var(--bone);
  border: 1px solid color-mix(in srgb, var(--bone) 36%, transparent); border-radius: 999px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.video-control i { width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.video-control.is-paused i { border-radius: 50%; background: var(--red); }

/* ============ HOME · ACT I — the pinned manifesto ============ */
.manifesto { position: relative; background: var(--night); transition: background 1s var(--out); }
.manifesto[data-phase="2"] { background: var(--blue-deep); }
.manifesto[data-phase="3"] { background: var(--blue); }
.js:not(.reduce) .manifesto { height: 220vh; }
.manifesto-frame {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 3rem; align-items: center; align-content: center;
  padding: calc(var(--header-h) + 1rem) var(--pad) 4rem;
  background: var(--night); color: var(--bone);
  transition: background 1s var(--out);
}
.js:not(.reduce) .manifesto-frame { position: sticky; top: 0; height: 100vh; overflow: clip; }
/* the company assembles — one ABC dancer cutout enters per line, and they
   accumulate into an ensemble by the third line ("not one way to move"). */
.manifesto-cast { position: relative; align-self: stretch; justify-self: end; width: min(100%, 34rem); min-height: 60vh; }
.manifesto-cast figure {
  position: absolute; bottom: 0; margin: 0;
  opacity: 0; transform: translateY(9%) scale(.97);
  transition: opacity .7s var(--out), transform .8s var(--out);
}
.manifesto-cast figure img { display: block; height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .5)); }
.manifesto-cast .mm-1 { height: 100%; left: 18%; z-index: 1; }        /* Narcisse — the spin, centre-back */
.manifesto-cast .mm-2 { height: 74%; left: -6%; z-index: 2; }         /* Chiara — enters from the wings */
.manifesto-cast .mm-3 { height: 52%; right: -8%; z-index: 3; }        /* Swapnil — seated, grounds the front */
.manifesto-cast-credit {
  position: absolute; left: 0; bottom: -1.6rem; z-index: 4;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 650; opacity: .7;
}
/* accumulate: each phase keeps the earlier dancers on stage */
.manifesto[data-phase="1"] .mm-1,
.manifesto[data-phase="2"] .mm-1, .manifesto[data-phase="2"] .mm-2,
.manifesto[data-phase="3"] .mm-1, .manifesto[data-phase="3"] .mm-2, .manifesto[data-phase="3"] .mm-3 { opacity: 1; transform: none; }
/* reduced motion / no JS: the whole company is present, side by side */
.reduce .manifesto-cast, .no-js .manifesto-cast { min-height: 0; display: flex; align-items: flex-end; gap: .4rem; }
.reduce .manifesto-cast figure, .no-js .manifesto-cast figure { position: static; opacity: 1; transform: none; flex: 1 1 0; }
.reduce .manifesto-cast figure img, .no-js .manifesto-cast figure img { height: auto; width: 100%; }
.reduce .manifesto-cast .mm-1, .no-js .manifesto-cast .mm-1,
.reduce .manifesto-cast .mm-2, .no-js .manifesto-cast .mm-2,
.reduce .manifesto-cast .mm-3, .no-js .manifesto-cast .mm-3 { height: auto; }
.reduce .manifesto-cast-credit, .no-js .manifesto-cast-credit { position: static; }
@media (max-width: 980px) {
  .manifesto-frame { grid-template-columns: 1fr; align-content: center; gap: 1.6rem; }
  .manifesto-cast { display: none; }
}
.manifesto[data-phase="2"] .manifesto-frame { background: var(--blue-deep); }
.manifesto[data-phase="3"] .manifesto-frame { background: var(--blue); }
.manifesto .label { color: var(--yellow); }
/* each phrase is ONE deliberate line: condensed caps + serif italic on a
   shared baseline, sized so the longest line never wraps. No ragged breaks. */
.manifesto-lines { display: grid; gap: clamp(.6rem, 1.4vw, 1.2rem); margin: 0; }
.manifesto-lines .m-line {
  display: block; white-space: nowrap;
  font-size: clamp(2rem, 4.9vw, 4.9rem); line-height: 1.06;
  opacity: .3; transform: translateX(0);
  transition: opacity .6s var(--out), transform .7s var(--out);
}
.m-line b {
  font-weight: 790; text-transform: uppercase; letter-spacing: -.01em;
  font-variation-settings: "wdth" 80;
}
.m-line em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.js:not(.reduce) .manifesto .m-line.is-lit { opacity: 1; transform: translateX(1vw); }
.js:not(.reduce) .manifesto .m-line.is-lit em { color: var(--yellow); }
.js:not(.reduce) .manifesto .m-line.was-lit { opacity: .55; }
.reduce .manifesto .m-line, .no-js .manifesto .m-line { opacity: 1; }
@media (max-width: 740px) {
  /* small screens: caps line + indented italic line, composed on purpose */
  .manifesto-lines .m-line { white-space: normal; font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .manifesto-lines .m-line em { display: block; padding-left: 1.2em; }
}
.manifesto-out {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2.6rem;
  opacity: 0; transform: translateY(18px); transition: opacity .7s var(--out), transform .7s var(--out);
}
.manifesto[data-phase="3"] .manifesto-out, .reduce .manifesto-out, .no-js .manifesto-out { opacity: 1; transform: none; }
.manifesto-out .editorial { margin: 0; color: var(--bone); }
.manifesto-out .editorial b { color: var(--yellow); font-weight: 700; }

/* ============ HOME · story letter ============ */
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem 5vw; align-items: start; }
.story-mark { width: clamp(120px, 14vw, 200px); height: auto; }
.story h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); text-transform: uppercase; font-variation-settings: "wdth" 84; }
.story-letter { font-family: var(--serif); font-size: clamp(1.08rem, 1.55vw, 1.36rem); line-height: 1.6; }
.story-letter .signoff { font-style: italic; color: var(--blue); }
.story-side { display: grid; gap: 2rem; }
.story .stat-row { grid-column: 1 / -1; margin-top: 2.5rem; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* ============ HOME · ACT II — the stage, full-bleed and always there (v4: unpinned) ============ */
.stage-world { position: relative; overflow: clip; padding: clamp(3.4rem, 6.5vw, 6rem) 0 clamp(3.4rem, 6vw, 5.5rem); }
.stage-world .ghost { top: .6rem; right: -1vw; font-size: clamp(7rem, 20vw, 17rem); z-index: 0; }
.stage-head { position: relative; z-index: 2; padding: 0 var(--pad) 1.6rem; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; }
.stage-head .label { color: var(--yellow); }
.stage-head h2 { font-size: clamp(2.4rem, 6vw, 5.2rem); text-transform: uppercase; font-variation-settings: "wdth" 82; }
.panorama-stage { position: relative; z-index: 1; }
.panorama { position: relative; margin: 0; overflow: clip; height: min(70vh, 42rem); }
.panorama img { width: 100%; height: 112%; object-fit: cover; object-position: center 32%; }
/* gentle pan inside the mask — depth without a pin */
.js:not(.reduce) .panorama[data-scrub] img { transform: translateY(calc((var(--p, .5) - .5) * -9%)); will-change: transform; }
.panorama figcaption {
  position: absolute; right: var(--pad); bottom: 1rem; z-index: 2;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 650;
  color: var(--bone); opacity: .85; text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.panorama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(9,10,16,.22), transparent 28%, transparent 70%, rgba(9,10,16,.66)); }
.stage-note {
  align-self: center; z-index: 3;
  background: var(--yellow); color: var(--ink); padding: .55rem .95rem; border-radius: 4px;
  font-family: var(--serif); font-style: italic; font-size: 1rem; transform: rotate(3deg);
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.5);
}
.stage-after { position: relative; z-index: 2; padding: 2.6rem var(--pad) 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem 5vw; align-items: start; }
.stage-after .lead { opacity: .92; }
@media (max-width: 900px) {
  .stage-world .ghost { font-size: 24vw; }
  .panorama { height: min(52vh, 30rem); }
  .stage-after { grid-template-columns: 1fr; }
}

/* ============ HOME · ACT III — agenda ============ */
.home-agenda-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 3rem; margin-bottom: 1.6rem; }
.home-agenda-head h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); text-transform: uppercase; font-variation-settings: "wdth" 84; }
.home-agenda-head .script-note { color: var(--blue); }
/* poster cards · each upcoming date carries its own artwork and a date badge */
.poster-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem); margin: 0; padding: 0; list-style: none; max-width: 1040px;
}
.poster-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); color: var(--ink); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(40, 30, 0, .55);
  transition: transform .45s var(--out), box-shadow .45s var(--out);
}
.poster-card figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); }
.poster-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--out); }
.poster-date {
  position: absolute; top: .9rem; right: .9rem; display: grid; justify-items: center;
  min-width: 4.4rem; padding: .45rem .7rem .5rem; background: var(--paper); color: var(--ink);
  border-radius: 6px; line-height: 1; box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .6);
}
.poster-date span { font-size: .72rem; font-weight: 750; letter-spacing: .16em; }
.poster-date b { font-size: 1.7rem; font-weight: 790; font-variation-settings: "wdth" 82; margin-top: .2rem; }
.poster-copy { display: grid; gap: .3rem; padding: 1.1rem 1.2rem 1.25rem; }
.poster-copy strong { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 770; text-transform: uppercase; font-variation-settings: "wdth" 90; line-height: 1.05; }
.poster-copy small { font-size: .9rem; opacity: .78; }
.poster-copy em { font-style: normal; font-size: .74rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; opacity: .72; margin-top: .35rem; }
.poster-copy em b { display: inline-block; margin-left: .3rem; transition: transform .3s var(--out); }
@media (hover: hover) and (pointer: fine) {
  .poster-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(40, 30, 0, .7); }
  .poster-card:hover img { transform: scale(1.04); }
  .poster-card:hover .poster-copy em b { transform: translate(3px, -3px); }
}
.reduce .poster-card, .reduce .poster-card img { transition: none; }

.date-list { display: grid; margin: 0; padding: 0; list-style: none; }
.date-list a {
  display: grid; grid-template-columns: minmax(7.2rem, auto) 1fr auto auto; align-items: center; gap: 1.4rem;
  padding: 1.15rem .4rem; min-height: 72px; border-top: 1px solid var(--line);
  transition: background .3s, padding-left .35s var(--out);
}
.date-list li:last-child a { border-bottom: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) {
  .date-list a:hover { background: color-mix(in srgb, var(--yellow) 26%, transparent); padding-left: 1.1rem; }
}
.date-list time { display: flex; align-items: baseline; gap: .5rem; font-variation-settings: "wdth" 82; }
.date-list time b { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 790; line-height: 1; }
.date-list time b i { font-size: .42em; font-style: normal; opacity: .55; padding: 0 .12em; vertical-align: .28em; }
.date-list time span { font-size: .78rem; font-weight: 750; letter-spacing: .12em; }
.date-list strong { display: block; font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 770; text-transform: uppercase; font-variation-settings: "wdth" 90; }
.date-list small { display: block; font-size: .84rem; opacity: .74; margin-top: .15rem; }
.date-list .city { font-size: .74rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.date-list .go { font-size: 1.25rem; transition: transform .3s var(--out); }
@media (hover: hover) and (pointer: fine) {
  .date-list a:hover .go { transform: translate(4px, -3px); }
}
@media (max-width: 700px) {
  .date-list a { grid-template-columns: minmax(5.4rem, auto) 1fr; }
  .date-list .city { display: none; }
  .date-list .go { display: none; }
}

/* ============ HOME · ACT IV — learn world ============ */
.learn-world { position: relative; overflow: clip; }
.learn-world .ghost { bottom: 0; left: -2vw; font-size: clamp(8rem, 24vw, 21rem); }
/* v4.3: the figure is a framed photograph, not a cutout — aligned with the
   copy, never clipped by the section edge */
.learn-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 2.6rem 4vw; align-items: center; }
.learn-figure { position: relative; margin: 2.6rem 0 1.2rem; }
.learn-figure .frame { border-radius: 10px; box-shadow: 0 30px 70px -30px rgba(90, 65, 0, .55); }
.learn-figure .script-note { position: absolute; right: 2%; top: -2.3rem; }
.learn-copy h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); text-transform: uppercase; font-variation-settings: "wdth" 84; margin-bottom: 1rem; }
.learn-badge {
  position: absolute; left: -.7rem; top: -.9rem; z-index: 2;
  background: var(--night); color: var(--bone); padding: .7rem 1rem; border-radius: 6px;
  font-size: .78rem; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
  transform: rotate(-3deg); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45);
}
@media (max-width: 860px) {
  .learn-grid { grid-template-columns: 1fr; }
  .learn-figure { order: 2; margin: 1rem 0 1.2rem; }
  .learn-figure .script-note { position: static; display: inline-block; margin-bottom: .5rem; }
}

/* ============ HOME · ACT V — festival world ============ */
.festival-world { position: relative; overflow: clip; }
.festival-world .ghost { top: 1rem; left: 44%; font-size: clamp(10rem, 30vw, 26rem); }
.festival-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem 5vw; align-items: center; }
.festival-copy .label { color: var(--yellow); }
.festival-copy h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); text-transform: uppercase; font-variation-settings: "wdth" 84; margin-bottom: 1.1rem; }
.festival-facts { display: flex; flex-wrap: wrap; gap: 1.8rem 2.6rem; margin: 1.6rem 0 2rem; }
.festival-facts span { display: grid; gap: .2rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; opacity: .92; }
.festival-facts b { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 790; font-variation-settings: "wdth" 86; letter-spacing: 0; }
.festival-collage { position: relative; min-height: 480px; }
.festival-collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 30px 70px -34px rgba(0,0,0,.7); }
.festival-collage img { width: 100%; height: 100%; object-fit: cover; }
.festival-collage figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem .7rem;
  background: linear-gradient(transparent, rgba(8,9,14,.7));
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 650; color: var(--bone);
}
.collage-a { width: 82%; aspect-ratio: 3 / 2; left: 0; top: 0; }
.collage-b { width: 46%; aspect-ratio: 3 / 2; right: 0; bottom: 6%; z-index: 2; border: 4px solid var(--bone); }
.festival-collage .script-note { position: absolute; left: 2%; bottom: 0; z-index: 3; color: var(--bone); }
@media (max-width: 900px) {
  .festival-grid { grid-template-columns: 1fr; }
  .festival-collage { min-height: 0; display: grid; grid-template-columns: 1.25fr .75fr; gap: .8rem; align-items: start; }
  .festival-collage figure { position: static; width: auto; border: 0; }
  .collage-a { aspect-ratio: 3 / 2; grid-column: 1 / -1; }
  .collage-b { aspect-ratio: 3 / 2; }
  .festival-collage .script-note { position: static; color: inherit; align-self: center; }
}

/* ============ HOME · MEET THE COMPANY — the roster, out front ============ */
.meet-company { overflow: clip; }
.meet-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 5vw; align-items: end; margin-bottom: 1.4rem; }
.meet-head h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); text-transform: uppercase; font-variation-settings: "wdth" 84; }
.meet-head .intro-copy { opacity: .88; }
.company-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: .8rem; }
.company-strip li { margin: 0; }
.company-strip figure { margin: 0 0 .5rem; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--night-2); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .75); transition: transform .35s var(--out); }
.company-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.js:not(.reduce) .company-strip figure img { transition: transform 1s var(--out); }
@media (hover: hover) and (pointer: fine) {
  .company-strip li:hover figure { transform: translateY(-4px); }
}
@media (hover: hover) and (pointer: fine) {
  .js:not(.reduce) .company-strip li:hover figure img { transform: scale(1.05); }
}
.company-strip span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-variation-settings: "wdth" 92; opacity: .82; }
@media (max-width: 900px) { .meet-head { grid-template-columns: 1fr; } .company-strip { grid-template-columns: repeat(4, 1fr); } .company-strip li:nth-child(n+5) { display: none; } }
@media (max-width: 520px) { .company-strip { grid-template-columns: repeat(3, 1fr); } .company-strip li:nth-child(n+4) { display: none; } }

/* ============ HOME · ACT VI — postcards (v4: unpinned, a real drag strip on warm ground) ============ */
.postcards-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 1.8rem; padding: 0 var(--pad); }
.postcards-head h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); text-transform: uppercase; font-variation-settings: "wdth" 84; }
.postcard-strip {
  display: flex; gap: 1.2rem; overflow-x: auto; padding: .6rem var(--pad) 1.6rem;
  scroll-snap-type: x proximity; cursor: grab;
  scrollbar-width: thin; scrollbar-color: var(--muted) transparent;
}
.postcard-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.postcard-strip figure {
  flex: 0 0 auto; width: min(340px, 74vw); margin: 0; scroll-snap-align: start;
  background: var(--paper); color: var(--ink); border-radius: 6px; padding: .8rem .8rem 1rem;
  transform: rotate(var(--tip, 0deg));
  transition: transform .4s var(--out), box-shadow .4s;
  box-shadow: 0 18px 44px -26px rgba(0,0,0,.65);
}
.postcard-strip figure:nth-child(odd) { --tip: -1.3deg; }
.postcard-strip figure:nth-child(even) { --tip: 1.1deg; }
.postcard-strip figure:focus-visible { transform: rotate(0) translateY(-6px); }
@media (hover: hover) and (pointer: fine) {
  .postcard-strip figure:hover { transform: rotate(0) translateY(-6px); }
}
.postcard-strip .pc-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; }
.postcard-strip img { width: 100%; height: 100%; object-fit: cover; }
.postcard-strip figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .7rem; }
.postcard-strip figcaption span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--blue); }
.postcard-strip figcaption strong { font-size: .95rem; text-transform: uppercase; font-variation-settings: "wdth" 92; }

/* ============ HOME · FINALE ============ */
.finale { position: relative; overflow: clip; padding: clamp(5rem, 10vw, 9rem) var(--pad) 0; }
.finale .ghost { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); font-size: clamp(9rem, 30vw, 30rem); }
.finale-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 4vw; align-items: end; }
.finale-copy { padding-bottom: clamp(3rem, 7vw, 6rem); }
.finale-copy .label { color: var(--yellow); }
.finale-copy h2 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); text-transform: uppercase; font-variation-settings: "wdth" 82; margin-bottom: 1.2rem; }
.finale-figure { position: relative; margin: 0; }
.finale-figure img { width: min(100%, 520px); margin-left: auto; }
.finale-figure .script-note { position: absolute; left: 0; top: 12%; color: var(--bone); }
@media (max-width: 860px) {
  .finale-grid { grid-template-columns: 1fr; }
  .finale-figure img { margin-inline: auto; }
}

/* ============================================================
   INNER PAGES — shared hero + structures
   ============================================================ */
.inner-hero {
  position: relative; overflow: clip; min-height: 86vh;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 2rem 4vw; align-items: center;
  padding: calc(var(--header-h) + 3rem) var(--pad) 3.4rem;
}
.inner-hero .ghost { right: -2vw; bottom: -1rem; font-size: clamp(8rem, 20vw, 17rem); }
.inner-index {
  position: absolute; top: calc(var(--header-h) + 1rem); right: var(--pad); margin: 0;
  font-size: .78rem; font-weight: 750; letter-spacing: .3em; color: inherit; opacity: .6;
}
.inner-kicker { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 720; }
.inner-kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.inner-hero h1 { font-size: clamp(2.9rem, 7.6vw, 6.8rem); text-transform: uppercase; font-variation-settings: "wdth" 80; }
.inner-hero-lead { margin: 1.4rem 0 1.8rem; max-width: 30em; font-size: clamp(1.02rem, 1.45vw, 1.25rem); line-height: 1.55; opacity: .92; }
.inner-hero-visual { position: relative; z-index: 2; }
.inner-hero-visual .frame { aspect-ratio: 4 / 3; }
.inner-hero-visual .contain img { object-fit: contain; object-position: center bottom; }
.inner-hero-note { position: absolute; z-index: 3; right: 6%; bottom: -1.1rem; margin: 0; }
/* stamps sticker the visual's top-left corner — background, never the performer */
.inner-hero-visual .stamp { left: -1.1rem; top: -1.1rem; transform: rotate(-7deg); }
.js:not(.reduce) [data-scene].is-on .inner-hero-visual .stamp { transform: rotate(-7deg) scale(1); }
.reduce .inner-hero-visual .stamp { transform: rotate(-7deg) !important; }
/* yellow pages: the yellow mark needs a night chip to stay visible */
.page-learn .site-header .brand-mark, .page-course .site-header .brand-mark {
  background: var(--night); border-radius: 9px; width: 58px; height: 44px; padding: .3rem .55rem;
}
@media (max-width: 900px) {
  .inner-hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--header-h) + 2.2rem); }
  .inner-hero .stamp, .inner-hero-visual .stamp { position: static; margin: 1.2rem 0 0; transform: rotate(-4deg) !important; }
}

/* route bar */
.route-bar {
  position: relative; z-index: 5; display: flex; flex-wrap: wrap; gap: 0 .4rem;
  padding: .4rem var(--pad); border-block: 1px solid var(--line);
  background: var(--paper); overflow-x: auto;
}
.route-bar a {
  min-height: 46px; display: inline-flex; align-items: center; padding: .3rem .9rem;
  font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px; transition: background .25s, color .25s;
  white-space: nowrap;
}
.route-bar a:hover { background: color-mix(in srgb, var(--yellow) 40%, transparent); }
.route-bar a[aria-current="page"] { background: var(--night); color: var(--bone); }

/* intro block: label + big head + copy */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem 5vw; align-items: start; margin-bottom: 2.4rem; }
.intro h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); text-transform: uppercase; font-variation-settings: "wdth" 84; }
.intro-copy { font-size: 1rem; line-height: 1.6; max-width: 34em; }
.intro-copy .editorial-line { font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 1.15rem; }
.t-night .intro-copy .editorial-line, .t-blue .intro-copy .editorial-line { color: var(--yellow); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* media-led split */
.media-led { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 2.6rem 5vw; align-items: center; }
.media-led .frame { aspect-ratio: 4 / 5; }
.media-led .contain { display: grid; align-items: end; }
.media-led .contain img { width: 100%; object-fit: contain; }
.media-led h2 { font-size: clamp(2.1rem, 4.8vw, 4rem); text-transform: uppercase; font-variation-settings: "wdth" 86; margin-bottom: 1rem; }
@media (max-width: 860px) { .media-led { grid-template-columns: 1fr; } }

/* performance break — the authored interlude */
.perf-break {
  position: relative; overflow: clip; padding: clamp(4rem, 9vw, 8rem) var(--pad);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 2rem; align-items: center;
}
.perf-break .break-kicker { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 720; color: var(--yellow); }
.perf-break h2 { font-size: clamp(2.4rem, 6.4vw, 5.4rem); text-transform: uppercase; font-variation-settings: "wdth" 80; line-height: .94; }
.perf-break h2 em { display: block; text-transform: none; margin-top: .3rem; }
.perf-break .break-side { display: grid; justify-items: end; gap: 1.4rem; }
.perf-break .break-mark { width: clamp(90px, 10vw, 150px); height: auto; }
.t-yellow .perf-break-kicker { color: var(--blue); }
@media (max-width: 760px) { .perf-break { grid-template-columns: 1fr; } .perf-break .break-side { justify-items: start; } }

/* schedule (learn timetable) */
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.schedule-day { border: 1.5px solid var(--line); border-radius: 12px; overflow: clip; background: var(--paper); }
.schedule-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; background: var(--night); color: var(--bone);
}
.schedule-head b { font-size: 1.15rem; text-transform: uppercase; font-variation-settings: "wdth" 90; }
.schedule-head small { font-size: .74rem; letter-spacing: .1em; opacity: .85; }
.schedule-day:nth-child(2) .schedule-head { background: var(--blue); }
.schedule-day:nth-child(3) .schedule-head { background: var(--yellow); color: var(--ink); }
.class-cell { padding: 1.05rem 1.2rem; border-top: 1px solid var(--line); }
.class-cell:first-of-type { border-top: 0; }
.class-cell small { display: block; font-size: .72rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: .35rem; }
.class-cell h3 { font-size: 1.1rem; text-transform: uppercase; font-variation-settings: "wdth" 92; margin-bottom: .3rem; }
.class-cell p { font-size: .88rem; opacity: .85; margin: 0; }
@media (max-width: 900px) { .schedule { grid-template-columns: 1fr; } }

/* the company grid — all 13 dancers, clean framed portrait cards */
.company-grid {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem;
}
.company-grid li { margin: 0; }
.company-grid figure {
  margin: 0 0 .6rem; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px;
  background: var(--night-2); box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .7);
  transition: transform .35s var(--out), box-shadow .35s;
}
.company-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.js:not(.reduce) .company-grid figure img { transition: transform 1s var(--out); }
@media (hover: hover) and (pointer: fine) {
  .company-grid li:hover figure { transform: translateY(-4px); box-shadow: 0 26px 44px -20px rgba(0, 0, 0, .8); }
}
@media (hover: hover) and (pointer: fine) {
  .js:not(.reduce) .company-grid li:hover figure img { transform: scale(1.05); }
}
.company-grid span {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  font-variation-settings: "wdth" 94; opacity: .92;
}
@media (max-width: 520px) { .company-grid { grid-template-columns: repeat(2, 1fr); } }

/* roster — curtain call grid */
.roster { display: flex; flex-wrap: wrap; gap: .6rem .5rem; }
.roster span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1.1rem;
  border: 1.5px solid var(--line-light); border-radius: 999px;
  font-size: clamp(.92rem, 1.5vw, 1.15rem); font-weight: 700; text-transform: uppercase;
  font-variation-settings: "wdth" 94; letter-spacing: .04em;
  transition: background .3s, color .3s, transform .3s var(--out);
}
@media (hover: hover) and (pointer: fine) {
  .roster span:hover { background: var(--yellow); color: var(--ink); transform: rotate(-1.4deg); }
}

/* timeline (festival archive / about history) */
.timeline { display: grid; gap: 0; position: relative; }
/* the editions line draws itself as the story advances */
.timeline[data-scrub]::before {
  content: ""; position: absolute; left: -1.2rem; top: 0; width: 3px; height: 100%;
  background: var(--yellow); transform-origin: top;
}
.js:not(.reduce) .timeline[data-scrub]::before { transform: scaleY(min(var(--p, 0) * 1.6, 1)); will-change: transform; }
@media (max-width: 700px) { .timeline[data-scrub]::before { display: none; } }
.timeline article {
  display: grid; grid-template-columns: minmax(5.6rem, auto) 1fr; gap: 1.6rem;
  padding: 1.6rem .2rem; border-top: 1px solid var(--line-light);
}
.timeline time { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 790; font-variation-settings: "wdth" 80; line-height: 1; }
.timeline small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 720; color: var(--yellow); margin-bottom: .4rem; }
/* Edition headlines are full sentences ("Live music. Sold-out gala. Seven
   traditions.") — three of them in caps is a shout, not a heading. */
.timeline h3 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-variation-settings: "wdth" 90; margin-bottom: .5rem; }
.timeline p { max-width: 52em; opacity: .88; margin: 0; }
.t-paper .timeline article, .t-bone .timeline article { border-color: var(--line); }
.t-paper .timeline small, .t-bone .timeline small { color: var(--blue); }

/* style field — "Indian dance is not one thing" */
.style-field { display: flex; flex-wrap: wrap; gap: .7rem .6rem; margin: 1.8rem 0; }
.style-field span {
  padding: .45rem 1.15rem; min-height: 44px; display: inline-flex; align-items: center;
  border-radius: 999px; border: 1.5px solid color-mix(in srgb, currentColor 34%, transparent);
  font-size: .92rem; font-weight: 700; text-transform: uppercase; font-variation-settings: "wdth" 96; letter-spacing: .06em;
}
.style-field span:nth-child(3n) { background: var(--yellow); color: var(--ink); border-color: transparent; transform: rotate(-1.6deg); }
.style-field span:nth-child(4n+1) { transform: rotate(1.2deg); }

/* gallery grid (festival) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery .frame:nth-child(1) { grid-row: span 2; }
.gallery .frame { aspect-ratio: 4 / 3; }
.gallery .frame:nth-child(1) { aspect-ratio: auto; }
.gallery-credit { margin-top: 1.2rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .frame:nth-child(1) { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 3 / 2; } }

/* quote */
.big-quote { max-width: 46rem; margin: 0; }
.big-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.4; }
.big-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; opacity: .8; }

/* ============================================================
   WHAT'S ON — the callboard
   ============================================================ */
.agenda-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  border: 1.5px solid var(--line); border-radius: 14px; overflow: clip; background: var(--paper);
  margin-bottom: 2rem;
}
.agenda-feature .frame { border-radius: 0; height: 100%; min-height: 320px; }
.agenda-feature-copy { padding: clamp(1.6rem, 3vw, 2.6rem); display: grid; gap: 1.1rem; align-content: center; }
.agenda-feature-kicker { display: flex; align-items: center; gap: .7rem; margin: 0; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 750; color: var(--ink); }
.agenda-feature-kicker i { font-style: normal; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.js:not(.reduce) .agenda-feature-kicker i { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.55); opacity: .55; } }
.agenda-feature h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); text-transform: uppercase; font-variation-settings: "wdth" 84; }
.agenda-schedule { list-style: none; margin: 0; padding: 0; display: grid; }
.agenda-schedule li { display: flex; align-items: baseline; gap: 1.2rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.agenda-schedule time { display: inline-flex; gap: .7rem; min-width: 10.5em; font-weight: 700; }
.agenda-schedule time span { opacity: .7; font-weight: 600; }
.agenda-schedule b { text-transform: uppercase; font-variation-settings: "wdth" 94; }
.agenda-venue { font-size: .9rem; }
.agenda-venue small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .66; margin-bottom: .2rem; }
.agenda-venue strong { text-transform: uppercase; font-variation-settings: "wdth" 94; }
.agenda-venue span { display: block; opacity: .78; }
@media (max-width: 860px) {
  .agenda-feature { grid-template-columns: 1fr; }
  .agenda-feature .frame { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .agenda-feature .frame.is-portrait { aspect-ratio: 2 / 3; }
}

/* upcoming / past jump bar — the clear findability control on What's On */
.agenda-jump {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem;
  padding: .7rem var(--pad); background: var(--night); color: var(--bone);
  border-bottom: 1px solid var(--line-light);
}
.agenda-jump a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .3rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--line-light);
  font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.agenda-jump a b { font-size: 1.05rem; font-variation-settings: "wdth" 84; }
.agenda-jump a:hover { background: color-mix(in srgb, var(--bone) 12%, transparent); }
.agenda-jump a.is-current { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.agenda-jump-note { font-size: .74rem; opacity: .7; margin-left: auto; }
@media (max-width: 620px) { .agenda-jump-note { display: none; } }

/* event board rows (details) */
.event-board { display: grid; gap: .7rem; }
.event-board-lead { margin: 1.6rem 0 .4rem; font-size: .95rem; opacity: .82; max-width: 46em; }
.event-board .event-detail {
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); overflow: clip;
  transition: border-color .3s, transform .3s var(--out);
}
.event-board .event-detail[open] { border-color: var(--night); }
.event-detail summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(6.6rem, auto) 1fr auto auto; align-items: center; gap: 1.3rem;
  min-height: 78px; padding: 1rem 1.3rem;
  transition: background .25s;
}
.event-detail summary::-webkit-details-marker { display: none; }
.event-detail summary:hover { background: color-mix(in srgb, var(--yellow) 22%, transparent); }
.event-detail .e-date { display: grid; line-height: 1.05; font-variation-settings: "wdth" 82; }
.event-detail .e-date b { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 790; text-transform: uppercase; white-space: nowrap; }
.event-detail .e-date small { font-size: .72rem; letter-spacing: .16em; font-weight: 700; opacity: .62; text-transform: uppercase; }
/* 1.15 is fine on one line, but on a phone almost every event title wraps to
   two or three and the lines close up. Uppercase has no descenders to help. */
/* Was uppercase. These are event titles, not labels — several ran past 100
   characters, and a sentence in caps is unreadable. Caps are for short labels. */
.event-detail .e-title { font-size: clamp(1rem, 1.7vw, 1.3rem); font-weight: 760; font-variation-settings: "wdth" 90; line-height: 1.15; }
@media (max-width: 700px) { .event-detail .e-title { line-height: 1.26; } }
.event-detail .e-city { font-size: .72rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; opacity: .68; white-space: nowrap; }
.event-detail .e-toggle {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; font-size: 1.15rem; font-weight: 400; line-height: 1;
  transition: transform .35s var(--out), background .25s, color .25s;
}
.event-detail summary:hover .e-toggle { background: var(--night); color: var(--bone); }
.event-detail[open] .e-toggle { transform: rotate(45deg); background: var(--night); color: var(--bone); }
.event-detail .event-detail-body { padding: .2rem 1.3rem 1.6rem; border-top: 1px dashed var(--line); }
.js:not(.reduce) .event-detail[open].just-opened .event-detail-body { animation: fold-in .45s var(--out); }
.event-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: .9rem 0; margin-bottom: .6rem; font-size: .86rem; font-weight: 650; }
.event-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.event-meta svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--blue); }
@media (max-width: 700px) {
  .event-detail summary { grid-template-columns: minmax(5rem, auto) 1fr auto; }
  .event-detail .e-city { display: none; }
}

/* past archive shell */
.past-shell { border: 1.5px solid var(--line-light); border-radius: 14px; overflow: clip; }
.past-shell > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding: 1.4rem 1.5rem; min-height: 84px; transition: background .25s;
}
.past-shell > summary::-webkit-details-marker { display: none; }
.past-shell > summary:hover { background: color-mix(in srgb, var(--bone) 7%, transparent); }
.past-shell > summary small { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 720; color: var(--yellow); margin-bottom: .3rem; }
.past-shell > summary strong { font-size: clamp(1.3rem, 2.6vw, 2rem); text-transform: uppercase; font-variation-settings: "wdth" 86; }
.past-shell > summary em { font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
.past-body { padding: .4rem 1.2rem 1.6rem; }
.past-year { display: flex; align-items: baseline; gap: 1rem; padding: 1.6rem .2rem .7rem; }
.past-year h3 { font-size: 1.5rem; font-variation-settings: "wdth" 84; }
.past-year span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.past-body .event-detail { background: var(--night-2); border-color: var(--line-light); margin-bottom: .6rem; }
.past-body .event-detail summary:hover { background: color-mix(in srgb, var(--bone) 8%, transparent); }
.past-body .event-detail[open] { border-color: var(--yellow); }
.past-body .e-toggle { border-color: var(--line-light); }
.past-body .event-detail summary:hover .e-toggle, .past-body .event-detail[open] .e-toggle { background: var(--yellow); color: var(--ink); }
.past-body .event-detail-body { border-color: var(--line-light); }
.past-body .event-meta svg { color: var(--yellow); }

/* ============================================================
   FESTIVAL page specifics
   ============================================================ */
.gidf-hero {
  position: relative; overflow: clip; min-height: 100vh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 2rem 4vw; align-items: center;
  padding: calc(var(--header-h) + 3rem) var(--pad) 4rem;
}
.gidf-hero .ghost { left: -3vw; bottom: -4rem; font-size: clamp(14rem, 42vw, 38rem); }
.gidf-hero h1 { font-size: clamp(3rem, 8vw, 7.4rem); text-transform: uppercase; font-variation-settings: "wdth" 78; }
.gidf-stage { position: relative; min-height: 420px; }
.gidf-stage figure { position: absolute; margin: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 30px 80px -34px rgba(0,0,0,.8); }
.gidf-stage img { width: 100%; height: 100%; object-fit: cover; }
.gidf-main { width: 78%; aspect-ratio: 3 / 2; right: 0; top: 6%; }
.gidf-float { width: 42%; aspect-ratio: 2 / 3; left: 0; bottom: 0; z-index: 2; }
.gidf-stage .script-note { position: absolute; right: 2%; bottom: 2%; z-index: 3; }
/* In flow, never absolutely parked in the section's corner. Anchored there it
   sat on top of the "Edition Five" button at common laptop heights — 77%
   covered at 1512x760 — and intercepted the click. */
.date-stamp {
  position: relative; z-index: 6; justify-self: start; margin-top: 1.8rem;
  display: inline-grid; gap: .1rem; padding: 1rem 1.3rem; border-radius: 10px;
  /* D-066: bindu red is logo-only. A solid red panel this size competes with
     the mark; marigold is ABC's vibrant and carries the same stamp energy.
     Small red punctuation (eyebrow and marquee dots) stays — the identity
     note sanctions it. */
  background: var(--yellow); color: var(--ink); transform: rotate(-2.4deg);
  box-shadow: 0 18px 44px -20px rgba(0,0,0,.6);
}
.date-stamp strong { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 790; font-variation-settings: "wdth" 84; line-height: 1; }
.date-stamp span { font-size: .92rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.date-stamp small { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
@media (max-width: 900px) {
  .gidf-hero { grid-template-columns: 1fr; min-height: 0; }
  .gidf-stage { min-height: 0; display: grid; grid-template-columns: 1.3fr .9fr; gap: .8rem; }
  .gidf-stage figure { position: static; width: auto; }
  .gidf-main { aspect-ratio: 4 / 3; }
  .gidf-float { aspect-ratio: 3 / 4; }
  .date-stamp { margin-top: 1.4rem; }
}
.edition {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.6rem 5vw; align-items: center;
}
.edition-poster { max-width: 460px; }
.edition-date { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 790; font-variation-settings: "wdth" 80; margin: .4rem 0 1rem; color: var(--yellow); }
.t-paper .edition-date, .t-bone .edition-date { color: var(--blue); }
@media (max-width: 860px) { .edition { grid-template-columns: 1fr; } }
.rituals { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .1rem; counter-reset: rit; }
.rituals li {
  counter-increment: rit;
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: baseline;
  padding: 1rem .2rem; border-top: 1px solid var(--line-light);
}
.rituals li::before { content: counter(rit, decimal-leading-zero); font-size: .8rem; font-weight: 750; color: var(--yellow); }
.rituals b { display: block; font-size: 1.2rem; text-transform: uppercase; font-variation-settings: "wdth" 90; }
.rituals span { display: block; opacity: .82; font-size: .92rem; margin-top: .2rem; }

/* ============================================================
   COURSE + LESSONS
   ============================================================ */
.course-hero {
  position: relative; overflow: clip; min-height: 80vh;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 4vw; align-items: center;
  padding: calc(var(--header-h) + 3rem) var(--pad) 3.5rem;
}
.course-hero .ghost { right: -4vw; top: 6%; font-size: clamp(9rem, 24vw, 20rem); }
.course-hero h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); text-transform: uppercase; font-variation-settings: "wdth" 80; }
.course-side { position: relative; z-index: 2; justify-self: end; text-align: right; display: grid; gap: .4rem; }
.course-side b { font-size: clamp(4rem, 9vw, 8rem); font-weight: 790; line-height: .9; font-variation-settings: "wdth" 76; }
.course-side span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 720; }
.course-side .script-note { margin-top: 1rem; }
@media (max-width: 820px) { .course-hero { grid-template-columns: 1fr; } .course-side { justify-self: start; text-align: left; } }

.chapter { margin-top: 2.4rem; }
.chapter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.chapter-head h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); text-transform: uppercase; font-variation-settings: "wdth" 86; }
.chapter-head span { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; opacity: .7; }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; }
.lesson-list a {
  display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1.2rem;
  min-height: 64px; padding: .95rem .3rem; border-top: 1px solid var(--line);
  transition: background .3s, padding-left .35s var(--out);
}
.lesson-list li:last-child a { border-bottom: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) {
  .lesson-list a:hover { background: color-mix(in srgb, var(--yellow) 30%, transparent); padding-left: 1rem; }
}
.lesson-list small { font-size: .95rem; font-weight: 780; font-variation-settings: "wdth" 78; opacity: .55; }
.lesson-list strong { font-size: clamp(1.15rem, 2.2vw, 1.7rem); text-transform: uppercase; font-variation-settings: "wdth" 88; }
.lesson-list span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 720; opacity: .7; }

.lesson-hero {
  position: relative; overflow: clip;
  padding: calc(var(--header-h) + 3.4rem) var(--pad) 2.6rem; min-height: 52vh;
  display: grid; align-content: end;
}
.lesson-hero .ghost { right: 2vw; top: 4%; font-size: clamp(11rem, 30vw, 24rem); opacity: .75; }
.lesson-track { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 720; }
.lesson-track::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.lesson-hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.8rem); text-transform: uppercase; font-variation-settings: "wdth" 80; position: relative; z-index: 2; }
.lesson-video-wrap { padding: clamp(2rem, 5vw, 4rem) var(--pad); }
.lesson-video-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6rem 2rem; margin-bottom: 1rem; }
.lesson-video-head p { margin: 0; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 720; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: clip; background: var(--night-2); box-shadow: 0 34px 80px -40px rgba(0,0,0,.8); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-moment {
  margin: 0 var(--pad); padding: 1.4rem 1.6rem; border-left: 4px solid var(--yellow);
  background: color-mix(in srgb, var(--yellow) 14%, transparent); border-radius: 0 10px 10px 0;
  max-width: 46rem;
}
.lesson-moment small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 720; margin-bottom: .3rem; color: var(--blue); }
.lesson-moment p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.lesson-copy { padding: clamp(2.6rem, 6vw, 4.5rem) var(--pad); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.6rem 5vw; }
.lesson-copy h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); text-transform: uppercase; font-variation-settings: "wdth" 86; }
.lesson-note { font-family: var(--serif); font-style: italic; color: var(--blue); }
@media (max-width: 820px) { .lesson-copy { grid-template-columns: 1fr; } }
.lesson-nav {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .8rem;
  padding: 0 var(--pad) clamp(3rem, 6vw, 5rem);
}
.lesson-nav a {
  display: grid; gap: .3rem; padding: 1.1rem 1.2rem; min-height: 84px; align-content: center;
  border: 1.5px solid var(--line); border-radius: 12px;
  transition: background .3s, transform .3s var(--out), border-color .3s;
}
@media (hover: hover) and (pointer: fine) {
  .lesson-nav a:hover { background: var(--night); color: var(--bone); border-color: var(--night); transform: translateY(-4px); }
}
.lesson-nav small { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 720; opacity: .7; }
.lesson-nav strong { font-size: 1.05rem; text-transform: uppercase; font-variation-settings: "wdth" 90; }
.lesson-nav a:nth-child(2) { text-align: center; }
.lesson-nav a:last-child { text-align: right; }
@media (max-width: 700px) { .lesson-nav { grid-template-columns: 1fr; } .lesson-nav a, .lesson-nav a:last-child { text-align: left; } }

/* ============ CONTACT options ============ */
.contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-option {
  display: grid; gap: .7rem; align-content: start; padding: 1.7rem 1.5rem 1.8rem;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); position: relative; overflow: clip;
  transition: transform .35s var(--out), box-shadow .35s;
}
@media (hover: hover) and (pointer: fine) {
  .contact-option:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(10,15,40,.5); }
}
.contact-option small { font-size: .7rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.contact-option h3 { font-size: 1.45rem; text-transform: uppercase; font-variation-settings: "wdth" 88; }
.contact-option p { font-size: .92rem; opacity: .86; margin: 0 0 .6rem; }
.contact-option .button { justify-self: start; }
@media (max-width: 860px) { .contact-options { grid-template-columns: 1fr; } }

/* ready-class hides pre-paint flash for scrubbed heroes */
.js:not(.reduce) .overture-video { --p: 0; }

/* ============================================================
   ENQUIRY FORMS · /contact/ (booking + private coaching)
   Light scenes only (t-bone / t-paper), so one ink-on-paper
   treatment covers both. Controls are deliberately large: on a
   phone this is the page's real work, not decoration.
   ============================================================ */
.form-scene .enquiry-form { margin-top: clamp(2rem, 4vw, 3rem); max-width: 54rem; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.1rem 1.4rem; }
.field { margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.field[data-wide] { grid-column: 1 / -1; }
.field label,
.field-check label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field label abbr { color: var(--red); text-decoration: none; border: 0; }
.field input,
.field select,
.field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background-color: var(--paper);
  border: 1.5px solid var(--line); border-radius: 8px; padding: .8rem .9rem; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
/* background-color, not the `background` shorthand — the shorthand wipes the
   select's chevron (a background-image) set a few rules below. */
.t-bone .field input, .t-bone .field select, .t-bone .field textarea { background-color: #fff; }
.field textarea { resize: vertical; min-height: 8rem; }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 1.1rem center, right .85rem center; background-size: .35rem .35rem; background-repeat: no-repeat;
  padding-right: 2.2rem;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); }
.field-hint { font-size: .8rem; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }

/* honeypot — off-screen rather than display:none, which some bots skip */
.enquiry-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field-check { display: flex; align-items: flex-start; gap: .7rem; margin: 1.3rem 0 0; }
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: .1rem; accent-color: var(--blue); flex: none; }
.field-check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .95rem; color: var(--muted); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.form-status { margin: 0; font-size: .95rem; font-weight: 600; }
.form-status[data-state="sending"] { color: var(--muted); }
.form-status[data-state="ok"] { color: var(--blue); }
.form-status[data-state="error"] { color: var(--red); }
.form-fallback { margin: 1.1rem 0 0; font-size: .88rem; color: var(--muted); }
.form-fallback a { color: inherit; }

/* A submitted form is replaced by its confirmation — leaving the fields
   sitting there invites a second, identical submission. */
.enquiry-form[data-sent] .field-grid,
.enquiry-form[data-sent] .field-check,
.enquiry-form[data-sent] .form-foot button,
.enquiry-form[data-sent] .form-fallback { display: none; }
.enquiry-form[data-sent] .form-status { font-size: 1.15rem; }

@media (max-width: 640px) {
  .field-grid { grid-template-columns: 1fr; }
}

/* ---------- SANGAM production page ----------
   The Madhubani artwork carries the whole palette — ochre, indigo, forest,
   and its own red. Marigold stays on the buttons only; pulling any colour
   out of the painting into the UI would put it in competition with itself. */
/* Deliberately NOT .t-night. A theme class's ground paints above this
   section's own artwork child, so the dark base is set here instead. */
.sangam-hero {
  background: var(--night); color: var(--bone);
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding: 0; overflow: hidden;
}
/* The header sits over the painting's busiest corner; without this the nav
   competes with foliage. Short, top-anchored, invisible once scrolled past. */
.sangam-hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 34vh; z-index: 2;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--night) 72%, transparent), transparent);
  pointer-events: none;
}

/* Explicit layers. The scene system paints section grounds in a way that
   swallowed an auto-z-index child, so all three layers are numbered rather
   than left to source order. */
.sangam-art { position: absolute; inset: 0; z-index: 1; }
.sangam-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
/* The copy sits on a gradient, not a flat scrim: the painting's dry left side
   is pale and its night sky is dark, so a single overlay opacity cannot serve
   both. The gradient only thickens where the text actually lands. */
.sangam-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, var(--night) 6%, color-mix(in srgb, var(--night) 82%, transparent) 34%, transparent 68%);
}
.sangam-hero-copy {
  position: relative; z-index: 3; grid-row: 2;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.2rem, 5vw, 5rem) clamp(2.4rem, 6vw, 4.5rem);
  max-width: 62rem;
}
.sangam-deva { font-weight: 500; opacity: 0.9; }
.sangam-tagline {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.25; margin: 0.9rem 0 1.1rem; color: var(--bone);
}
.sangam-when {
  display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: baseline;
  font-size: 0.94rem; font-weight: 600; letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--bone) 82%, transparent); margin-bottom: 1.5rem;
}
.sangam-when i { font-style: normal; opacity: 0.5; }

.sangam-characters { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sangam-character {
  display: grid; gap: 0.35rem 1.6rem; align-items: start;
  padding: 1.7rem 0; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.sangam-character:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.sangam-character small { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; opacity: 0.55; }
.sangam-character h3 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.15; }
.sangam-character h3 em { display: block; font-size: 0.92rem; font-weight: 600; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-top: 0.3rem; }
.sangam-character p { margin: 0; max-width: 42ch; font-size: 1.02rem; line-height: 1.55; }
.sangam-character span { font-size: 0.92rem; font-weight: 600; opacity: 0.72; }
@media (min-width: 860px) {
  .sangam-character { grid-template-columns: 3.5rem 17rem 1fr 14rem; align-items: baseline; padding: 2rem 0; }
}

.sangam-facts { display: grid; gap: 0; }
.sangam-facts > div {
  display: grid; gap: 0.2rem 1.6rem; padding: 1rem 0;
  border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}
.sangam-facts > div:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.sangam-facts b { font-size: 1rem; font-weight: 700; }
.sangam-facts span { font-size: 1rem; opacity: 0.78; }
@media (min-width: 720px) { .sangam-facts > div { grid-template-columns: 20rem 1fr; align-items: baseline; } }

.sangam-ensemble {
  list-style: none; margin: 1.8rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.5rem 1.6rem;
  font-size: 1.02rem;
}
.sangam-credits { margin: 2.2rem 0 0; display: grid; gap: 0; }
.sangam-credits > div {
  display: grid; gap: 0.2rem 1.6rem; padding: 0.85rem 0;
  border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}
.sangam-credits dt { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.sangam-credits dd { margin: 0; font-size: 1rem; }
@media (min-width: 720px) { .sangam-credits > div { grid-template-columns: 14rem 1fr; align-items: baseline; } }
