/* ==========================================================================
   Home page
   Sections in page order: hero · season scene + speakers · editions · why ·
   najahi · speak · faq · responsive · phone film mode (.m-film) · reduce motion
   Motion rule: anything that moves while scrolling uses transform/opacity only.
   ========================================================================== */

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  max-width: 1480px; min-height: min(860px, calc(100svh - var(--nav)));
  margin-inline: auto; padding: clamp(20px, 3vw, 40px) var(--gut) clamp(32px, 4vw, 64px);
}
.kick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.kick .ar { font-weight: 500; color: var(--soft); }
.hero .txt { container-type: inline-size; min-width: 0; }
.hero h1 {
  margin: 22px 0 28px; font-size: max(40px, min(14.6cqw, calc((100svh - var(--nav) - 330px) / 1.75), 170px));
  font-weight: 800; line-height: .86; letter-spacing: -.055em; text-transform: uppercase; white-space: nowrap;
}
.hero h1 .ln { display: block; }
.hero h1 mark { position: relative; z-index: 0; background: none; color: inherit; }
.hero h1 mark::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; z-index: -1; height: .26em;
  background: var(--sun); transform: scaleX(0); transform-origin: left; animation: swipe .7s cubic-bezier(.6, 0, .2, 1) .95s forwards;
}
@keyframes swipe { to { transform: scaleX(1); } }
.hero .cta { margin: clamp(20px, 3.4vh, 32px) 0 clamp(24px, 4vh, 40px); }
.facts { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); }
.facts div { font-size: 14px; line-height: 1.35; color: var(--soft); }
.facts b { display: block; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }

.vis { position: relative; min-width: 0; }
.collage { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: min(78svh, 760px); overflow: hidden; }
/* soft edges as overlays (a mask over moving photos would repaint every frame) */
.collage::before, .collage::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; height: 12%; pointer-events: none; }
.collage::before { top: 0; background: linear-gradient(var(--paper), transparent); }
.collage::after { bottom: 0; background: linear-gradient(transparent, var(--paper)); }
.col { display: flex; flex-direction: column; gap: 14px; animation: up 46s linear infinite; }
.col.down { animation-name: down; animation-duration: 54s; }
.col.c3 { animation-duration: 40s; }
.col img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.col img:nth-child(3n) { aspect-ratio: 1; }
@keyframes up { to { transform: translateY(-50%); } }
@keyframes down { from { transform: translateY(-50%); } to { transform: none; } }
@keyframes slide-l { to { transform: translateX(-50%); } }
@keyframes slide-r { from { transform: translateX(-50%); } to { transform: none; } }

.next {
  display: block; position: absolute; left: calc(50% - 160px); bottom: clamp(28px, 7vh, 84px); z-index: 5; width: 320px;
  padding: 18px 20px 20px; border-radius: 24px; background: var(--sun);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .4);
  animation: cardin .9s var(--ease-out) 1.1s both; transition: transform .3s;
}
.next:hover { transform: translateY(-4px); }
@keyframes cardin { from { opacity: 0; transform: translateY(30px) rotate(4deg); } to { opacity: 1; transform: rotate(2deg); } }
.next .top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 99px; background: rgba(0, 0, 0, .08); }
.next .when { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 4px; }
.next .when b { font-size: 44px; font-weight: 700; line-height: .9; letter-spacing: -.05em; }
.next .when span { font-size: 13px; font-weight: 600; line-height: 1.2; }
.next .tp { margin: 8px 0 14px; font-size: 20px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.next .who { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .14); font-size: 13px; }
.next .go {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; margin-left: auto;
  border-radius: 50%; background: var(--ink); color: var(--sun); transition: transform .25s;
}
.next:hover .go { transform: translateX(3px); }
.next .stack { --av: 34px; --av-ring: var(--sun); }

/* ---------- season scene (pinned; driven by js/home.js) ---------- */
.tl { position: relative; height: 320vh; background: var(--ink); color: var(--paper); }
.tl .anchor { position: absolute; left: 0; top: calc(100% - 100svh); scroll-margin-top: calc(-1 * var(--nav)); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink); }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: var(--nav); }
.bgm { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; pointer-events: none; }
.bgm span {
  font-size: min(38vw, 70svh); font-weight: 800; line-height: .8; letter-spacing: -.06em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .07);
}
.glow {
  position: absolute; left: 0; top: 0; width: 80vmin; height: 80vmin; margin: -40vmin 0 0 -40vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 207, 45, .26), rgba(255, 207, 45, .07) 40%, transparent 70%);
  opacity: 0; pointer-events: none; will-change: transform;
}
.tl-head { position: relative; flex: none; margin-bottom: clamp(8px, 3vh, 36px); padding: 0 var(--gut); text-align: center; }
.tl-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--sun); }
.tl-head h2 { font-size: clamp(34px, 5vw, 80px); }
.tl-head h2 em { font-style: normal; color: var(--sun); }
.tl-head p { margin-top: 10px; color: rgba(255, 255, 255, .62); }

.art {
  position: relative; flex: none; container-type: inline-size;
  width: min(100%, calc((100svh - var(--nav) - 230px) * 1600 / 650)); max-width: 100%; aspect-ratio: 1600 / 650;
  transform-origin: 50% 36.9%;
}
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loopfill { fill: var(--sun); opacity: 0; }
.rb path { fill: none; stroke: var(--paper); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
/* the drawing head is an HTML dot, so its halo animates on the compositor */
.art .head {
  position: absolute; left: 0; top: 0; width: 1.25cqw; height: 1.25cqw; min-width: 14px; min-height: 14px; margin: -.625cqw 0 0 -.625cqw;
  border: 3px solid var(--ink); border-radius: 50%; background: var(--sun); opacity: 0;
  box-shadow: 0 0 0 6px rgba(255, 207, 45, .45);
}
.art .head::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; background: rgba(255, 207, 45, .22);
  animation: halo 1.4s ease-in-out infinite;
}
@keyframes halo { 50% { transform: scale(1.4); opacity: .3; } }

.tick {
  position: absolute; top: 76.92%; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; white-space: nowrap; opacity: 0;
}
.tick i { display: block; width: 2px; height: 2.2cqw; min-height: 10px; background: var(--paper); transform-origin: top; }
.tick::before { /* ripple when the head passes; driven through --r */
  content: ""; position: absolute; left: 50%; top: calc(-.9cqw - 1px); width: 1.8cqw; height: 1.8cqw; min-width: 14px; min-height: 14px;
  border: 2px solid var(--sun); border-radius: 50%; pointer-events: none;
  transform: translateX(-50%) scale(calc(.4 + var(--r, 0) * 2.6)); opacity: calc((1 - var(--r, 0)) * .9);
}
.tick .d { display: flex; flex-direction: column; align-items: center; gap: .25em; margin-top: .55cqw; padding: .4em .5em; border-radius: .6em; }
.tick .d b { font-size: max(12px, 1.6cqw); font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.tick .d span { font-size: max(9.5px, .95cqw); font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.tick .s { margin-top: .35em; font-size: max(9px, .8cqw); font-weight: 600; color: var(--sun); }
.tick.now .d { background: var(--sun); color: var(--ink); }
.tick.now .d span { color: var(--ink); }

.chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: .55em; padding: .55em 1.05em; border-radius: 99px;
  background: var(--ink-2); color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
  font-size: max(11px, 1.3cqw); font-weight: 600; white-space: nowrap; opacity: 0;
}
.chip::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--sun); }
.chip:nth-child(3n+1) { background: var(--sun); color: var(--ink); box-shadow: none; }
.chip:nth-child(3n+1)::before { background: var(--ink); }

.hud {
  position: absolute; left: 0; right: 0; top: calc(var(--nav) + 28px);
  display: flex; justify-content: space-between; align-items: flex-end; padding-inline: var(--gut);
  font-variant-numeric: tabular-nums; pointer-events: none; opacity: 0;
}
.hud div { display: grid; gap: 4px; }
.hud .r { justify-items: end; text-align: right; }
.hud .eyebrow { font-size: 11px; color: rgba(255, 255, 255, .5); }
.hud b { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.hud b i { font-style: normal; color: rgba(255, 255, 255, .45); }
.hud .h-date { font-size: 13px; font-weight: 600; color: var(--sun); }
.hud .bar { display: block; width: 120px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.hud .bar i { display: block; height: 100%; background: var(--sun); transform: scaleX(0); transform-origin: left; }

.cover { position: absolute; inset: 0; background: var(--sun); clip-path: circle(0 at 50% 50%); visibility: hidden; pointer-events: none; }

/* ---------- speakers (end of the pinned scene) ---------- */
.spk {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav) + 8px) 0 24px; color: var(--ink); opacity: 0; visibility: hidden;
}
.spk.on { visibility: visible; }
.spk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.spk-head .wt { display: inline-block; font-size: clamp(36px, 5vw, 72px); transform-origin: 50% 50%; will-change: transform; }
.spk-head .lead { margin-top: 10px; color: rgba(0, 0, 0, .72); }
.ctrl { display: flex; gap: 10px; }
.ctrl button {
  width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); color: var(--sun);
  font-size: 20px; cursor: pointer; transition: transform .2s, opacity .2s;
}
.ctrl button:hover { transform: scale(1.06); }
.ctrl button:disabled { opacity: .3; cursor: default; transform: none; }
.ctrl.lt button { background: var(--mist); color: var(--ink); }

/* sliders: transform-based so vertical scrolling over them always scrolls the page */
.track, .rail { overflow: hidden; touch-action: pan-y; cursor: grab; padding-inline: max(var(--gut), (100% - var(--wrap)) / 2); }
.track.drag, .rail.drag { cursor: grabbing; }
.drag .row-in { pointer-events: none; }
.row-in { display: flex; will-change: transform; }
.row-in img { -webkit-user-drag: none; user-select: none; }
.track { --cw: clamp(220px, min(31vw, calc((100svh - var(--nav) - 290px) * .78)), 377px); margin-top: clamp(18px, 3vh, 36px); padding-block: 10px 6px; }
.track .row-in { gap: clamp(14px, 1.6vw, 22px); }

.sc { flex: none; width: var(--cw); }
.sc figcaption { display: flex; flex-direction: column; margin-top: 12px; }
.sc figcaption b { font-size: 18px; }
.sc figcaption > span:last-child { font-size: 14px; color: rgba(0, 0, 0, .66); }
.sc .tg { align-self: flex-start; margin-bottom: 6px; padding: 4px 10px; border-radius: 99px; background: var(--ink); color: var(--sun); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.sc.join {
  display: flex; flex-direction: column; justify-content: space-between; align-self: flex-start; aspect-ratio: 4 / 5;
  padding: 24px; border-radius: var(--r-md); background: var(--ink); color: var(--paper);
}
.sc.join .eyebrow { color: var(--sun); }
.sc.join h3 { margin: 10px 0; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.08; }
.sc.join p { font-size: 14px; color: rgba(255, 255, 255, .72); }
.sc.join .pill { align-self: flex-start; height: 46px; padding: 0 20px; }

/* landscape phones: calm static layout instead of the pinned scene */
.tl.static { height: auto; }
.tl.static .stage { position: relative; height: auto; overflow: visible; }
.tl.static .scene { position: relative; padding-block: 96px 48px; }
.tl.static .cover, .tl.static .hud, .tl.static .glow, .tl.static .head { display: none; }
.tl.static .spk { position: relative; padding-block: 80px; background: var(--sun); opacity: 1; visibility: visible; }
.tl.static .rb path { stroke-dashoffset: 0; }
.tl.static .loopfill, .tl.static .tick, .tl.static .chip { opacity: 1; }
.tl.static .anchor { top: auto; bottom: 0; }

/* ---------- editions ---------- */
.eds { overflow-x: clip; padding-block: clamp(80px, 9vw, 140px); }   /* the phone ticket stub tears past the edge */
.eds-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.eds-head .eyebrow { color: var(--soft); }
.eds-head h2 { margin-top: 10px; }
.eds-head .meta { display: flex; gap: 28px; font-size: 14px; color: var(--soft); }
.eds-head .meta b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }

/* the ticket: two halves notched along a perforation */
.ticket {
  --stub: clamp(280px, 27vw, 340px); --notch: 20px;
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
  margin-top: clamp(36px, 4vw, 56px);
}
.ticket::before { /* static ground shadow (a filter shadow repainted on every hover frame) */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -26px; z-index: -1; height: 60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent);
}
.t-main, .t-stub { transition: transform .6s cubic-bezier(.2, .9, .25, 1.1); }
.t-main {
  display: flex; flex-direction: column; gap: 26px; min-width: 0; padding: clamp(26px, 3.4vw, 52px);
  border-radius: var(--r-lg) 0 0 var(--r-lg); background: var(--ink); color: var(--paper);
  -webkit-mask: radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.t-stub {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(26px, 2.8vw, 40px);
  border-radius: 0 var(--r-lg) var(--r-lg) 0; transform-origin: 0 100%;
  background: linear-gradient(to bottom, var(--ink) 50%, transparent 0) 0 0 / 2px 14px repeat-y, var(--sun);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
@media (hover: hover) {
  .ticket:hover .t-main { transform: translateY(-4px); }
  .ticket:hover .t-stub { transform: translate(14px, 4px) rotate(3deg); }
}
.t-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.t-main h3 { font-size: clamp(34px, 4vw, 62px); line-height: .98; letter-spacing: -.045em; }
.t-main .sum { max-width: 560px; margin-top: 14px; color: rgba(255, 255, 255, .7); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.duo .p { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .06); }
.duo img { flex: none; width: 58px; height: 58px; border-radius: var(--r-sm); object-fit: cover; object-position: 50% 15%; }
.duo div { min-width: 0; }
.duo b { display: block; font-weight: 600; }
.duo span { display: block; font-size: 13px; color: rgba(255, 255, 255, .62); }

/* Learn → Connect → Discover: a light runs along the line and wakes each step in turn */
.flow {
  --cycle: 3.6s;
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--line-inv); list-style: none; overflow: hidden;
}
.flow::before, .flow::after { content: ""; position: absolute; top: 22px; left: 5px; right: 5px; height: 2px; }
.flow::before { background: rgba(255, 255, 255, .16); }
.flow::after {
  right: auto; width: 34%;
  background: linear-gradient(90deg, transparent, var(--sun) 70%, transparent);
  animation: flow var(--cycle) linear infinite;
}
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
@keyframes flow-v { from { transform: translateY(-100%); } to { transform: translateY(300%); } }
.flow li { position: relative; padding-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .66); }
.flow li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sun); animation: wake var(--cycle) ease-in-out infinite;
}
.flow li:nth-child(2)::before { animation-delay: calc(var(--cycle) / 3); }
.flow li:nth-child(3)::before { animation-delay: calc(var(--cycle) * 2 / 3); }
@keyframes wake { 0%, 100% { transform: scale(1); opacity: .55; } 12% { transform: scale(1.7); opacity: 1; } 30% { transform: scale(1); opacity: 1; } }
.flow b { display: block; font-size: 15px; font-weight: 600; color: var(--paper); }
.ticket:not(.in) .flow::after, .ticket:not(.in) .flow li::before { animation-play-state: paused; }

.t-date { display: flex; flex-direction: column; }
.t-date small { font-size: 14px; font-weight: 600; }
.t-date b { margin: 8px 0 6px; font-size: clamp(84px, 8vw, 128px); font-weight: 700; line-height: .82; letter-spacing: -.06em; }
.t-date span { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.t-dl { display: grid; gap: 10px; font-size: 14px; }
.t-dl div { display: flex; justify-content: space-between; gap: 14px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, .14); }
.t-dl dt { color: rgba(0, 0, 0, .6); }
.t-dl dd { font-weight: 600; text-align: right; }
.t-price { display: flex; justify-content: space-between; align-items: baseline; }
.t-price b { font-size: 40px; font-weight: 700; letter-spacing: -.04em; }
.t-price span { font-size: 13px; color: rgba(0, 0, 0, .6); }
.t-btns { display: grid; gap: 10px; margin-top: auto; }
.t-btns .pill { width: 100%; }

/* the season ahead (months only until dates are confirmed) */
.season-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: clamp(56px, 6vw, 88px); }
.season-head h3 { font-size: clamp(26px, 2.6vw, 38px); }
.season-head p { margin-top: 6px; font-size: 15.5px; color: var(--soft); }
.rail { margin-top: 24px; padding-block: 14px 8px; }
.rail .row-in { gap: 16px; }
.sea {
  position: relative; flex: none; display: flex; flex-direction: column; gap: 18px; width: clamp(230px, 21vw, 270px);
  padding: 20px; border-radius: 24px; background: var(--mist); transition: transform .3s;
}
.sea:hover { transform: translateY(-4px); }
.sea .yr { position: absolute; top: -12px; left: 20px; padding: 4px 10px; border-radius: 99px; background: var(--ink); color: var(--sun); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.sea-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sea-top .eyebrow { font-size: 11.5px; color: var(--soft); }
.sea .st { padding: 4px 9px; border: 1px dashed rgba(0, 0, 0, .3); border-radius: 99px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.sea-m { display: flex; flex-direction: column; gap: 6px; }
.sea-m b { font-size: 58px; font-weight: 700; line-height: .85; letter-spacing: -.05em; text-transform: uppercase; }
.sea-m span { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--soft); }
.sea-lines { display: grid; gap: 8px; }
.sea-lines i { display: block; height: 10px; border-radius: 5px; background: rgba(0, 0, 0, .08); }
.sea-lines i:last-child { width: 62%; }
.sea p { font-size: 13.5px; color: var(--soft); }

/* ---------- why (the mark draws itself as the section scrolls; see js/home.js) ---------- */
.why { overflow: hidden; padding-block: clamp(90px, 10vw, 160px); background: var(--ink); color: var(--paper); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.why-txt .eyebrow { display: block; margin-bottom: 18px; color: var(--sun); }
.why h2 { max-width: 13ch; font-size: clamp(40px, 5vw, 84px); }
.why .lead { max-width: 640px; margin-top: 28px; color: rgba(255, 255, 255, .72); }
.mkr { position: relative; min-width: 0; }
.mkr > img, .mkr svg { display: block; width: 100%; height: auto; }
.mkr > img { filter: invert(1); }
.mkr svg { overflow: visible; }
.mkr .fl { fill: var(--paper); }
.mkr .st path { fill: none; stroke: var(--sun); stroke-width: .55; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.mkr-line { position: absolute; left: 0; right: 0; bottom: -28px; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: right; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 6vw, 90px); }
.pillar { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.pillar b { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--sun); }
.pillar h3 { margin-bottom: 10px; font-size: clamp(24px, 2.2vw, 32px); }
.pillar p { font-size: 15.5px; color: rgba(255, 255, 255, .72); }

/* ---------- najahi ---------- */
.najahi { padding-block: clamp(80px, 9vw, 140px); }
.nj-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.nj-top img { width: auto; height: 68px; margin-bottom: 28px; }
.nj-top .eyebrow { color: var(--soft); }
.nj-top h2 { margin-top: 12px; }
.nj-top p { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--soft); }
.nj-top p + p { margin-top: 16px; }
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.vm div { padding: clamp(22px, 2.6vw, 36px); border-radius: 24px; background: var(--mist); }
.vm b { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vm p { margin-top: 10px; font-size: 17px; line-height: 1.5; }
.stages { position: relative; margin-top: clamp(40px, 5vw, 64px); padding-block: 18px; overflow: hidden; border-block: 1px solid var(--line); }
.stages::before, .stages::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 8%; pointer-events: none; }
.stages::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.stages::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.stages .row { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.stages span { display: flex; align-items: center; gap: 40px; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.stages span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }
.stages-l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--soft); }
.stages-l a { text-decoration: underline; }

/* ---------- speak (call for speakers) ---------- */
.speak { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(100px, 11vw, 170px); background: var(--sun); }
.sp-bg { /* pre-tinted photo: no blend modes, no animation */
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
  -webkit-mask-image: linear-gradient(100deg, transparent 14%, rgba(0, 0, 0, .55) 44%, #000 78%);
  mask-image: linear-gradient(100deg, transparent 14%, rgba(0, 0, 0, .55) 44%, #000 78%);
}
.onstage {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px; border-radius: 99px;
  background: var(--ink); color: var(--sun); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.speak h2 { font-size: clamp(40px, 5vw, 80px); }
.speak .lead { margin: 20px 0 28px; color: rgba(0, 0, 0, .78); }
.speak .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: end; }
.speak ul { display: grid; gap: 14px; list-style: none; }
.speak li { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .92); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .45); font-size: 15.5px; }
.speak li b { display: block; margin-bottom: 2px; font-weight: 600; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 96px); padding-block: clamp(80px, 9vw, 140px); }
.faq .lead { margin-top: 16px; }

/* ==========================================================================
   Responsive layout
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1200px) { .hud { display: none; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .collage { grid-template-columns: repeat(2, 1fr); height: 480px; }
  .col.c3 { display: none; }
  .next { left: auto; right: 12px; bottom: 24px; width: min(300px, 100% - 24px); }

  .ticket { grid-template-columns: 1fr; }
  .t-main {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    -webkit-mask: radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
  }
  .t-stub {
    border-radius: 0 0 var(--r-lg) var(--r-lg); transform-origin: 0 0;
    background: linear-gradient(to right, var(--ink) 50%, transparent 0) 0 0 / 14px 2px repeat-x, var(--sun);
    -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat;
  }
  .t-date { flex-direction: row; align-items: flex-end; gap: 14px; }
  .t-date b { margin: 0; }

  .why-grid, .pillars, .nj-top, .speak .grid, .faq { grid-template-columns: 1fr; }
  .mkr { order: -1; max-width: 560px; }
  .sp-bg {
    -webkit-mask-image: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, .55) 45%, #000 85%);
    mask-image: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, .55) 45%, #000 85%);
  }
}

@media (max-width: 768px) {
  /* hero: type, then two sliding photo rows with the edition card over them */
  .hero { gap: 28px; padding-top: 16px; }
  .collage { grid-template-columns: none; grid-template-rows: repeat(2, auto); gap: 10px; height: auto; margin-inline: calc(-1 * var(--gut)); }
  .collage::before, .collage::after { top: 0; bottom: 0; width: 8%; height: auto; }
  .collage::before { left: 0; right: auto; background: linear-gradient(90deg, var(--paper), transparent); }
  .collage::after { left: auto; right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
  .col { flex-direction: row; gap: 10px; width: max-content; animation: slide-l 38s linear infinite; }
  .col.down { animation: slide-r 44s linear infinite; }
  .col img, .col img:nth-child(3n) { width: 132px; aspect-ratio: 4 / 5; border-radius: 16px; }
  .next { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -64px 6px 0; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .facts b { font-size: 15px; }
  .facts div { font-size: 12.5px; }

  /* season: the ribbon is wider than the screen; the view pans with the drawing head */
  .art { width: 190vw; max-width: none; }
  .rb path { stroke-width: 7; }
  .tick .d b { font-size: max(14px, 1.6cqw); }
  .tick .d span { font-size: max(10px, .95cqw); }
  .chip { font-size: max(12.5px, 1.3cqw); }
  .bgm span { font-size: 62vw; }
  .tl-head { margin-bottom: clamp(16px, 4vh, 40px); }
  .tl-head h2 { font-size: clamp(34px, 10vw, 46px); }
  .tl-head p { display: none; }
  .hud { position: relative; top: auto; flex: none; width: 100%; margin-top: clamp(4px, 2vh, 20px); }
  .hud .eyebrow { font-size: 10px; }
  .hud b { font-size: 17px; }
  .hud .bar { width: 84px; }

  .track { --cw: min(80vw, calc((100svh - var(--nav) - 280px) * .78)); }
  .ctrl button { width: 44px; height: 44px; }
  .eds-head .meta { display: none; }
  .duo, .vm { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 18px; padding-left: 26px; }
  .flow::before, .flow::after { top: 22px; bottom: 6px; left: 4px; right: auto; width: 2px; height: auto; }
  .flow::after { height: 34%; bottom: auto; background: linear-gradient(180deg, transparent, var(--sun) 70%, transparent); animation-name: flow-v; }
  .flow li { padding-top: 0; }
  .flow li::before { top: 4px; left: -26px; }
}
@media (max-width: 380px) {
  .art { width: 200vw; }
  .chip { font-size: 11.5px; }
  .tick .d b { font-size: 13px; }
}

/* ==========================================================================
   Phone film mode (html.m-film, set by js/home.js on phones in portrait)
   Re-choreographed motion for a tall, thumb-driven screen. Desktop never sees these rules.
   ========================================================================== */
.m-progress { display: none; }
.m-film .m-progress {
  display: block; position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + var(--nav)); z-index: 49;
  height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.m-film .tl { height: 280vh; }

/* sliders become cover-flow: the centred card is the hero, neighbours lean away */
.m-film .track { --cw: min(74vw, calc((100svh - var(--nav) - 300px) * .78)); padding-inline: calc((100% - var(--cw)) / 2); }
.m-film .rail { --cw: 72vw; padding-inline: calc((100% - var(--cw)) / 2); }
.m-film .sea { width: var(--cw); }
.m-film .row-in > * { transform-origin: 50% 70%; }

/* ticket: the stub tears off as it passes the middle of the screen (scrubbed in JS) */
.m-film .t-stub { transition: none; }

/* why: words light up as you read */
.m-film .why .lead .wd { color: rgba(255, 255, 255, .4); transition: color .35s; }
.m-film .why .lead .wd.lit { color: rgba(255, 255, 255, .9); }

/* stacked cards: each one parks under the nav and the next slides over it */
.m-film .pillar, .m-film .vm div, .m-film .speak li { position: sticky; }
.m-film .pillars { gap: 14px; }
.m-film .pillar { top: calc(var(--nav) + 18px); padding: 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md); background: var(--ink-2); }
.m-film .pillar:nth-child(2), .m-film .vm div:nth-child(2) { top: calc(var(--nav) + 30px); }
.m-film .pillar:nth-child(3) { top: calc(var(--nav) + 42px); }
.m-film .vm div { top: calc(var(--nav) + 18px); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .25); }
.m-film .speak li { top: calc(var(--nav) + 18px); }
.m-film .speak li:nth-child(2) { top: calc(var(--nav) + 28px); }
.m-film .speak li:nth-child(3) { top: calc(var(--nav) + 38px); }
.m-film .speak li:nth-child(4) { top: calc(var(--nav) + 48px); }

/* Reduce Motion: scroll-driven scenes stay (the visitor drives them); looping ambient motion stops */
@media (prefers-reduced-motion: reduce) {
  .col, .stages .row, .flow::after, .flow li::before, .art .head::after, .next { animation: none; }
  .hero h1 mark::after { animation: none; transform: none; }
  .m-film .why .lead .wd { transition: none; }
}

/* ---------- edition status (set in WordPress from each edition's date) ---------- */
.tick.done .d { opacity: .5; }
.tick.done .s { color: rgba(255, 255, 255, .5); }
a.sea { color: inherit; }
a.sea:hover .sea-tp { text-decoration: underline; text-underline-offset: 3px; }
.sea-tp { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.sea.is-open .st { border-style: solid; border-color: var(--ink); background: var(--sun); }
.sea.is-soldout .st { border-style: solid; background: var(--ink); color: var(--paper); }
.sea.is-done { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.sea.is-done .st { border-style: solid; background: var(--ink); color: var(--paper); }
.sea.is-done .sea-m b { color: rgba(0, 0, 0, .35); }
