/* Film Superintelligence — house design system (AI International Film Festivals)
   Black #0a0a0a, cards #121212, lime headlines, gold italic accents, white body text (never gray). */

:root {
  --bg: #0a0a0a;
  --card: #121212;
  --lime: #c8ed4f;
  --gold: #e9c44a;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.16);
  --glass: rgba(14, 14, 14, 0.82);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: 20px;
  --bar: 68px;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0a0a0a; --card: #121212; --white: #ffffff; }
}
:root[data-theme="dark"] { --bg: #0a0a0a; --card: #121212; --white: #ffffff; }
@media (min-width: 900px) { :root { --gutter: 46px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  scroll-snap-type: y proximity; /* proven on aifilmfest.org; never "mandatory", no scroll-snap-stop */
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.45;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--lime);
  font-size: clamp(64px, 11.4vw, 172px);
  line-height: 0.84;
  letter-spacing: -0.015em;
  margin: 0;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--lime);
  font-size: clamp(42px, 9.5vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  max-width: 15ch;
  text-wrap: balance;
}
.accent { font-family: var(--serif); font-style: italic; color: var(--gold); }
.lead { font-size: clamp(18px, 2.1vw, 22px); max-width: 34ch; margin: 0 0 22px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.lime { color: var(--lime); }
.gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: #0a0a0a; }
.btn-line { border: 1.5px solid var(--lime); color: var(--lime); }
.btn-line:hover { background: rgba(200, 237, 79, .1); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background-color .3s ease, backdrop-filter .3s ease;
}
.top.solid { background: rgba(10, 10, 10, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wordmark { font-family: var(--serif); font-size: 24px; color: var(--white); text-decoration: none; line-height: 1; }
.wordmark span { color: var(--lime); }
.top nav { display: none; align-items: center; gap: 26px; }
.top nav a { text-decoration: none; font-size: 15px; }
.top nav a:not(.btn):hover { color: var(--lime); }
.top .deadline { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--gold); text-transform: uppercase; }
@media (min-width: 900px) { .top nav { display: flex; } }

/* ---------- floating bar (phone) ---------- */
.bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  height: var(--bar); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 8px 0 18px; border-radius: 999px;
  background: rgba(18, 18, 18, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}
.bar .deadline { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--gold); text-transform: uppercase; line-height: 1.25; }
.bar .deadline b { display: block; color: var(--white); font-weight: 500; }
@media (min-width: 900px) { .bar { display: none; } }

/* ---------- cards ---------- */
.card {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px var(--gutter) calc(var(--bar) + 44px);
  scroll-snap-align: start;
  overflow: hidden;
  border-top: 1px solid rgba(200, 237, 79, .12);
}
.card:first-of-type { border-top: 0; }
@media (min-width: 900px) { .card { padding-bottom: 72px; } }
.content { position: relative; z-index: 2; width: 100%; max-width: 1240px; }

/* full-bleed media layer with the house fade-to-dark from ~60% */
.media { position: absolute; inset: 0; z-index: 0; background: var(--card); }
.media > video, .media > img { width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,.05) 22%, rgba(10,10,10,.25) 50%, rgba(10,10,10,.82) 72%, #0a0a0a 100%);
}
.media.dim > video, .media.dim > img { opacity: .42; }
.media.slow > video { filter: saturate(.85); }

/* placeholder flags — delete this block (or the .ph elements) once real assets land */
.ph {
  position: absolute; z-index: 3; top: 58px; right: var(--gutter);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase;
  color: #0a0a0a; background: rgba(233, 196, 74, .92); padding: 5px 9px; border-radius: 4px;
  max-width: 62vw; text-align: right; line-height: 1.3; opacity: .92;
}
@media (max-width: 899px) { .card { padding-top: 112px; } }
.ph.in { position: absolute; top: 10px; right: 10px; left: auto; font-size: 9.5px; max-width: 80%; }
.ph.draft { background: rgba(255, 255, 255, .9); }
.photo-ph {
  width: 100%; height: 100%;
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(200, 237, 79, .10), transparent 60%),
    radial-gradient(90% 70% at 80% 90%, rgba(233, 196, 74, .10), transparent 60%),
    repeating-linear-gradient(135deg, #141414 0 14px, #111 14px 28px);
}

/* ---------- horizontal lanes ---------- */
.lane {
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 26px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 10px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent);
}
.lane::-webkit-scrollbar { display: none; }
.lane.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.lane > * { scroll-snap-align: start; flex: 0 0 auto; }
.lane-label { margin-top: 28px; color: var(--lime); }

.tile {
  width: min(78vw, 340px); background: var(--card); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); position: relative;
}
.tile .frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.tile .frame img, .tile .frame video { width: 100%; height: 100%; object-fit: cover; }
.tile .frame .play {
  position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10, 10, 10, .7); border: 1.5px solid var(--lime); display: grid; place-items: center;
}
.tile .frame .play svg { width: 16px; height: 16px; fill: var(--lime); margin-left: 3px; }
.tile .frame.playing .play { opacity: 0; }
.tile .meta { padding: 14px 16px 16px; }
.tile .title { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); margin: 0 0 4px; }
.tile .who { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; margin: 0 0 8px; }
.tile .award { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); margin: 0; }
.tile .row { display: flex; gap: 8px; margin-top: 14px; }
.tile.empty .who { color: var(--white); }

/* ---------- 1 hero ---------- */
#hero .content { padding-bottom: 6px; }
#hero .accent { font-size: clamp(26px, 4.4vw, 52px); margin: 14px 0 10px; display: block; }
#hero .lead { margin-bottom: 26px; }

/* ---------- 2 right now ---------- */
#now { justify-content: center; }
#now .h2 { max-width: 17ch; }
.now-tools { display: flex; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.now-tools .count { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(18,18,18,.8);
  font-size: 14px; font-weight: 600;
}
.pill-btn svg { width: 14px; height: 14px; fill: currentColor; }
.pill-btn[hidden] { display: none; }
.stream {
  display: flex; align-items: stretch; gap: 14px; overflow-x: auto; scrollbar-width: none;
  margin: 22px calc(-1 * var(--gutter)) 0; padding: 6px var(--gutter) 12px;
  overscroll-behavior-x: contain;
}
.stream::-webkit-scrollbar { display: none; }
.stream:focus-visible { outline-offset: -2px; }
.item { flex: 0 0 auto; width: min(82vw, 360px); perspective: 1400px; }
.item-in { display: grid; height: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.item.is-flipped .item-in { transform: rotateY(180deg); }
.face {
  grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--glass); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.face.back { transform: rotateY(180deg); background: #151515; }
.item .date { font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); display: flex; justify-content: space-between; gap: 8px; }
.item .person { display: flex; align-items: center; gap: 10px; }
.mono-badge {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--lime); color: var(--lime); font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.item .name { font-weight: 700; font-size: 16px; line-height: 1.15; }
.item .role { font-size: 14px; line-height: 1.25; }
.item blockquote, .item .headline {
  margin: 2px 0 0; font-family: var(--serif); font-size: 25px; line-height: 1.12; color: var(--white);
}
.item blockquote::before { content: "\201C"; color: var(--lime); }
.item blockquote::after { content: "\201D"; color: var(--lime); }
.item .headline { font-style: italic; }
.item .ctx { font-size: 14.5px; line-height: 1.4; margin: 0; }
.item .src-line { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--lime); margin-top: auto; }
.item .acts { display: flex; gap: 8px; }
.item .acts button, .item .acts a {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; text-decoration: none;
}
.item .acts .open { border-color: var(--lime); color: var(--lime); }
.item .back dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14.5px; }
.item .back dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.item .back dd { margin: 0; word-break: break-word; }
.month {
  flex: 0 0 auto; width: 74px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px;
}
.month span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--serif); font-size: 30px; color: var(--lime); white-space: nowrap; line-height: 1;
}
.stream-end { flex: 0 0 auto; width: 220px; display: flex; align-items: center; font-family: var(--serif); font-size: 24px; color: var(--lime); }

/* ---------- interstitials ---------- */
.inter { justify-content: center; }
.inter .year {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-family: var(--serif); font-size: clamp(150px, 42vw, 560px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(200, 237, 79, .38); pointer-events: none; white-space: nowrap;
}
.inter figure { position: relative; z-index: 2; margin: 0 auto; max-width: 1000px; }
.inter blockquote {
  margin: 0; font-family: var(--serif); font-style: italic; color: var(--white);
  font-size: clamp(30px, 4.6vw, 62px); line-height: 1.1; max-width: 26ch; text-wrap: pretty;
}
.inter figcaption { margin-top: 26px; display: grid; gap: 4px; }
.inter figcaption .who { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.inter figcaption .where { font-size: 15px; }

/* ---------- 3 the question ---------- */
#question { justify-content: center; }
#question .q { font-family: var(--serif); color: var(--white); font-size: clamp(36px, 7vw, 92px); line-height: .98; margin: 0; max-width: 16ch; }
.word-slot { display: block; position: relative; height: 1.08em; margin-top: .06em; font-style: italic; color: var(--gold); }
.word-slot span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(.35em); transition: opacity .45s ease, transform .45s ease; }
.word-slot span.on { opacity: 1; transform: none; }
.word-slot span.out { opacity: 0; transform: translateY(-.35em); }
#question .def { margin: 30px 0 0; max-width: 40ch; font-size: 17px; }
#question .def b { color: var(--lime); font-weight: 600; }
.qbg { position: absolute; inset: 0; }
.qbg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; transform: scale(1.06); }
.qbg img.on { opacity: .5; animation: kb 6s ease-out forwards; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.word-list { display: none; }

/* ---------- 4 films ---------- */
#films .stage { position: relative; z-index: 2; }
#films .reel { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); margin: 6px 0 4px; }
#films .reel video { width: 100%; height: 100%; object-fit: cover; }
#films .reel .ph { top: 10px; right: 10px; }
@media (min-width: 900px) {
  #films .stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: end; }
}

/* ---------- 5 formats ---------- */
.morph-box { position: relative; z-index: 2; height: min(52vh, 460px); display: grid; place-items: center; margin: 4px 0 18px; }
.morph {
  position: relative; border-radius: 14px; overflow: hidden; background: #000;
  border: 2px solid rgba(255, 255, 255, .7); box-shadow: 0 0 0 6px rgba(18, 18, 18, .9), 0 30px 80px rgba(0, 0, 0, .6);
  transition: width .9s cubic-bezier(.5,0,.2,1), height .9s cubic-bezier(.5,0,.2,1), border-radius .9s ease;
}
.morph video { width: 100%; height: 100%; object-fit: cover; }
.morph-label { position: relative; z-index: 2; display: flex; gap: 14px; align-items: baseline; justify-content: center; min-height: 24px; }
.morph-label .ratio { color: var(--gold); }
@media (min-width: 900px) {
  #formats .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
  #formats .morph-box { height: min(62vh, 560px); margin: 0; }
}
.fmt { width: min(60vw, 230px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.fmt .frame { aspect-ratio: 4 / 5; position: relative; }
.fmt .frame img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.fmt p { margin: 0; padding: 12px 14px 14px; font-family: var(--serif); font-size: 22px; line-height: 1.1; color: var(--lime); }
.fmt p small { display: block; font-family: var(--sans); font-size: 13px; color: var(--white); margin-top: 4px; }

/* ---------- 6 challenge ---------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-width: 880px; }
.facts > div { background: rgba(14, 14, 14, .9); padding: 14px 16px; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.3; }
.facts .wide { grid-column: 1 / -1; }
.big-deadline { font-family: var(--serif); font-size: clamp(34px, 6vw, 72px); line-height: 1; color: var(--white); margin: 0 0 20px; }
.big-deadline .count { color: var(--gold); font-style: italic; }
.faq { width: min(74vw, 300px); background: rgba(18, 18, 18, .92); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.1; color: var(--lime); }
.faq p { margin: 0; font-size: 15.5px; }

/* ---------- 7 why stories ---------- */
.why-grid { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: 24px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 10px; scroll-snap-type: x proximity; }
.why-grid::-webkit-scrollbar { display: none; }
.why { flex: 0 0 auto; width: min(80vw, 380px); scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.why .frame { position: relative; aspect-ratio: 3 / 2; }
.why .meta { padding: 16px 18px 18px; }
.why h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; color: var(--lime); }
.why .yr { font-family: var(--mono); font-size: 12px; letter-spacing: .07em; color: var(--gold); margin: 6px 0 10px; }
.why p { margin: 0; font-size: 15.5px; }
@media (min-width: 900px) { .why-grid { overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); } .why { width: auto; } }
.why-close { font-family: var(--serif); font-size: clamp(28px, 4vw, 46px); line-height: 1.05; margin: 30px 0 0; max-width: 24ch; }
.why-close em { color: var(--gold); }

/* ---------- 8 recognition ---------- */
.ticks { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 900px; }
.ticks li { border: 1px solid var(--line); background: rgba(18, 18, 18, .85); border-radius: 999px; padding: 8px 14px; font-size: 15px; }
.award-tile { width: min(74vw, 300px); }
.award-tile .frame { aspect-ratio: 4 / 3; }
.award-tile .cat { font-family: var(--serif); font-size: 25px; line-height: 1.05; color: var(--lime); margin: 0 0 8px; }

/* ---------- 9 atlas ---------- */
#atlas { justify-content: flex-start; padding-top: 88px; }
#atlas .media { background: radial-gradient(90% 60% at 50% 40%, #12160c 0%, #0a0a0a 70%); }
#atlas .media::after { display: none; }
.atlas-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.atlas-side { min-width: 0; }
.globe-box { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 1; touch-action: pan-y; cursor: grab; }
.globe-box.drag { cursor: grabbing; }
.globe-box canvas { width: 100%; height: 100%; }
.globe-tip {
  position: absolute; z-index: 4; pointer-events: none; transform: translate(-50%, calc(-100% - 14px));
  background: rgba(10, 10, 10, .94); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; white-space: nowrap;
  font-size: 14px; opacity: 0; transition: opacity .15s ease;
}
.globe-tip.on { opacity: 1; }
.globe-tip b { color: var(--lime); font-weight: 600; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend .net i { background: rgba(200, 237, 79, .3); }
.legend .fs i { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; white-space: nowrap; }
.chip b { color: var(--lime); font-weight: 600; margin-left: 6px; }
.chip.fs { border-color: rgba(200, 237, 79, .6); }
.chip[aria-pressed="true"] { background: var(--lime); color: #0a0a0a; border-color: var(--lime); }
.chip[aria-pressed="true"] b { color: #0a0a0a; }
.country-panel { min-height: 60px; }
.country-panel h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 32px; color: var(--lime); }
.country-panel p { margin: 0; }
.country-panel .lane { margin-top: 14px; }
@media (min-width: 900px) {
  .atlas-wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 40px; }
  .globe-box { max-width: 680px; touch-action: none; }
  .atlas-side { order: 2; }
}

/* ---------- 10 path ---------- */
.path { position: relative; list-style: none; margin: 8px 0 0; padding: 0 0 0 30px; display: grid; gap: 14px; max-width: 620px; }
.path::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.12); }
.path::after { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--lime); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 12px rgba(200,237,79,.6); }
.path li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; opacity: .35; transition: opacity .5s ease; }
.path li.on { opacity: 1; }
.path li::before { content: ""; position: absolute; left: -26px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--bg); border: 2px solid var(--lime); }
.path li.on::before { background: var(--lime); }
.path li.soon::before { border-style: dashed; background: var(--bg); }
.path .thumb { width: 72px; height: 54px; border-radius: 8px; overflow: hidden; position: relative; border: 1px solid var(--line); }
.path .thumb img { width: 100%; height: 100%; object-fit: cover; }
.path .step { font-family: var(--serif); font-size: 26px; line-height: 1.05; }
.path .step small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
@media (min-width: 900px) { #path .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; } }

/* ---------- 11 join ---------- */
.joins { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 760px; margin: 6px 0 30px; }
.joins a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; background: rgba(18, 18, 18, .88); border: 1px solid var(--line); text-decoration: none; }
.joins a:hover { border-color: var(--lime); }
.joins b { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1; color: var(--lime); }
.joins span { font-size: 15px; text-align: right; }
.joins a.primary { background: var(--gold); border-color: var(--gold); }
.joins a.primary b, .joins a.primary span { color: #0a0a0a; }
@media (min-width: 900px) { .joins { grid-template-columns: 1fr 1fr; } }
.dna { max-width: 60ch; font-size: 15.5px; display: grid; gap: 8px; }
.dna a { color: var(--lime); }
.foot { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--lime); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .word-slot { display: none; }
  .word-list { display: block; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(26px, 4vw, 44px); line-height: 1.15; margin-top: 10px; }
  .qbg img:first-child { opacity: .4; }
  [data-motion-only] { display: none !important; }
}

/* phone: keep Right Now within one screen */
@media (max-width: 899px) {
  #now { padding-top: 104px; }
  #now .h2 { font-size: clamp(32px, 8.6vw, 40px); margin-bottom: 12px; }
  #now .stream { margin-top: 14px; }
  .item blockquote, .item .headline { font-size: 21px; }
  .item .ctx { font-size: 14px; }
  .face { padding: 14px 15px 12px; gap: 8px; }
  .month span { font-size: 24px; }
}
