/* =========================================================
   The big circles: the family every circle page belongs to.
   Each circle brings its own world (css/circles/cN.css) that sets the tokens below
   from its flyer and restyles the scenes; this file is the grammar they share.
   ========================================================= */

.cx {
  --bg: #0b0a24; --bg2: #16123f;
  --c1: #7c4dff; --c2: #4fa8ff; --acc: #ffd700; --hi: #fff;
  --ink: #f4f0ff; --ink2: #c9bff0; --glow: rgba(255, 215, 0, 0.35);
  --paper: #f5f0e6; --paper-ink: #1d1a2e;
  --f-display: 'Rubik', 'Alef', sans-serif;
  --f-hand: 'Playpen Sans Hebrew', 'Rubik', sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(56px, 8vw, 112px);
  position: relative; isolation: isolate; color: var(--ink); overflow-x: clip;
}
body.skin-cx { background: var(--bg, #0b0a24); }
body.skin-cx .sky, body.skin-cx .aurora, body.skin-cx .doodles, body.skin-cx #stars { display: none; }
body.skin-cx main { position: relative; }
.cx-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.cx > section, .cx > nav { position: relative; z-index: 1; isolation: isolate; }
.cx-wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- the shared chapter mark ---------- */
.cx-mark { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 0.9rem/1 var(--f-display); letter-spacing: 0.04em; color: var(--acc); }
.cx-ring { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; box-shadow: 0 0 12px var(--glow); flex: none; }
.cx-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.cx-title { margin: 0; font: 800 clamp(2rem, 4.6vw, 3.6rem)/1.08 var(--f-display); letter-spacing: -0.01em; color: var(--hi); text-wrap: balance; }
.cx-lead { margin-top: 16px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.75; color: var(--ink2); }
.cx-lead p { margin: 0 0 12px; }

.cx-sec { padding-block: var(--sec); }
.cx-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; font: 700 1rem var(--f-display); color: var(--bg); background: var(--acc); cursor: pointer; text-decoration: none; transition: transform 0.25s, box-shadow 0.25s; }
.cx-btn svg { width: 18px; height: 18px; }
.cx-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--glow); }
.cx-btn.ghost { color: var(--ink); background: color-mix(in srgb, var(--hi) 8%, transparent); border: 1.5px solid color-mix(in srgb, var(--hi) 28%, transparent); }
.cx-btn.small { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.cx-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.cx :focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }

/* ---------- pictures ---------- */
.cx-pic { display: block; position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; color: inherit; }
.cx-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cx-art { margin: 0; }
.cx-art figcaption, .cx-photo figcaption { font-size: 0.9rem; color: var(--ink2); margin-top: 8px; }

/* ---------- the opening ---------- */
.cx-open { position: relative; min-height: min(100svh, 980px); display: grid; align-items: center; padding: clamp(110px, 14vw, 170px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.cx-open-bg, .cx-open-loop { position: absolute; inset: 0; z-index: -2; }
.cx-open-bg img, .cx-open-loop video { width: 100%; height: 100%; object-fit: cover; }
.cx-open-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cx-open-in:not(:has(.cx-open-flyer, .cx-collage)) { grid-template-columns: 1fr; }
.cx-open-flyer .cx-pic { border-radius: 10px; box-shadow: 0 30px 80px -30px #000; }
.cx-open-k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 1rem var(--f-display); color: var(--acc); }
.cx-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.cx-open-title { margin: 0; display: grid; font-family: var(--f-display); line-height: 0.95; }
.cx-open-num { font-size: clamp(6rem, 18vw, 14rem); font-weight: 900; color: var(--c1); letter-spacing: -0.04em; line-height: 0.8; }
.cx-open-name { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 900; color: var(--hi); text-wrap: balance; margin-top: 10px; }
.cx-open-place { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0; font: 600 clamp(1rem, 1.6vw, 1.2rem) var(--f-display); color: var(--ink); }
.cx-open-place svg { width: 20px; height: 20px; color: var(--acc); flex: none; }
.cx-open-lead { margin-top: 22px; max-width: 620px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; color: var(--ink2); }
.cx-open-lead p { margin: 0 0 10px; }
.cx-cue { position: absolute; inset-inline: 0; bottom: 22px; margin: auto; width: max-content; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 0.95rem var(--f-hand); color: var(--ink2); text-decoration: none; }
.cx-cue svg { width: 22px; height: 22px; transform: rotate(180deg); animation: cx-bob 2.4s ease-in-out infinite; }
@keyframes cx-bob { 50% { transform: rotate(180deg) translateY(-6px); } }
.cx-was { position: relative; display: inline-block; opacity: 0.7; }
.cx-was s { text-decoration: none; }
.cx-strike { position: absolute; inset: 40% -4px auto; width: calc(100% + 8px); height: 14px; overflow: visible; }
.cx-strike path { fill: none; stroke: var(--acc); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: cx-draw 0.9s 0.9s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes cx-draw { to { stroke-dashoffset: 0; } }

/* ---------- story beats ---------- */
.cx-beat-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 7vw, 96px); }
.cx-beat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cx-beat:nth-child(even of .cx-beat) .cx-beat-t { order: 2; }
.cx-beat:not(:has(.cx-beat-m)) { grid-template-columns: minmax(0, 760px); }
.cx-when { margin: 0 0 8px; font: 700 0.95rem var(--f-hand); color: var(--acc); }
.cx-beat h3 { margin: 0 0 12px; font: 800 clamp(1.5rem, 3vw, 2.3rem)/1.15 var(--f-display); color: var(--hi); }
.cx-beat-t p { margin: 0 0 12px; font-size: 1.08rem; line-height: 1.75; color: var(--ink2); }
.cx-beat-m { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: flex-start; }
.cx-beat-m .cx-art { flex: 1 1 220px; max-width: 380px; }

/* ---------- the moment ---------- */
.cx-moment { position: relative; overflow: hidden; }
.cx-m-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cx-m-line { margin: 0 0 22px; font: 500 clamp(1.15rem, 2vw, 1.5rem)/1.6 var(--f-display); color: var(--ink); }
.cx-m-by { font-size: 0.95rem; color: var(--ink2); }
.cx-m-photo { border-radius: 18px; aspect-ratio: 4 / 5; }
.cx-m-film { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 900px; }
.cx-m-film figcaption { margin-top: 10px; text-align: center; color: var(--ink2); }
.cx-m-after { max-width: 760px; margin: clamp(40px, 6vw, 72px) auto 0; text-align: center; font: 700 clamp(1.3rem, 2.6vw, 2rem)/1.5 var(--f-display); color: var(--hi); }

/* ---------- a person and their memory ---------- */
.cx-voice-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cx-voice-in:not(:has(.cx-v-media)) { grid-template-columns: minmax(0, 860px); }
.cx-pull { margin: 0 0 22px; position: relative; }
.cx-pull p { margin: 0; font: 700 clamp(1.4rem, 2.8vw, 2.2rem)/1.4 var(--f-hand); color: var(--hi); text-wrap: pretty; }
.cx-pull p::before, .cx-pull p::after, .cx-m-line::before, .cx-m-line::after { content: '"'; color: var(--acc); font-weight: 800; }
.cx-pull cite { display: block; margin-top: 10px; font: 600 1rem var(--f-hand); font-style: normal; color: var(--acc); }
.cx-sig { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.cx-av { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid var(--acc); }
.cx-av img { width: 100%; height: 100%; object-fit: cover; }
.cx-sig b { display: block; font: 800 1.1rem var(--f-display); color: var(--hi); }
.cx-sig small { display: block; font-size: 0.92rem; color: var(--ink2); }
.cx-letter { border-top: 1px solid color-mix(in srgb, var(--hi) 16%, transparent); }
.cx-letter summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 14px 0; font: 700 1rem var(--f-display); color: var(--acc); }
.cx-letter summary::-webkit-details-marker { display: none; }
.cx-letter summary::after { content: ''; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-3px); transition: transform 0.3s; }
.cx-letter[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.cx-letter-close, .cx-letter[open] .cx-letter-open { display: none; }
.cx-letter[open] .cx-letter-close { display: inline; }
.cx-letter-in { padding-bottom: 12px; font-size: 1.05rem; line-height: 1.8; color: var(--ink2); }
.cx-letter-in p { margin: 0 0 14px; }
.cx-letter.open .cx-letter-in { padding-top: 16px; }
.cx-v-media { display: grid; gap: 16px; }
.cx-v-media .cx-pic { border-radius: 14px; max-height: min(62svh, 560px); }

/* ---------- one photo ---------- */
.cx-photo { position: relative; margin: 0; }
.cx-photo figure { margin: 0; }
.cx-photo .cx-pic { width: 100%; }
.cx-photo.v-bleed .cx-pic { width: 100%; height: min(86svh, 820px); }
.cx-photo.v-bleed figcaption { position: absolute; bottom: 14px; inset-inline-start: var(--gut); color: #fff; text-shadow: 0 1px 8px #000; }
.cx-photo-over { position: absolute; inset: auto 0 0; padding: clamp(80px, 12vw, 160px) 0 clamp(36px, 6vw, 70px); background: linear-gradient(to top, var(--bg) 8%, transparent); pointer-events: none; }
.cx-photo-over .cx-head { width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto; }

/* ---------- photos laid on a table ---------- */
.cx-stack-in { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.cx-stack-in li { width: clamp(180px, 26vw, 340px); margin: -12px; transform: rotate(calc((var(--i) - 1.5) * 3deg)); transition: transform 0.35s cubic-bezier(.3, 1.4, .5, 1); }
.cx-stack-in li:hover { transform: rotate(0) scale(1.06); z-index: 2; }
.cx-stack-in .cx-pic { padding: 10px 10px 34px; background: #fff; box-shadow: 0 18px 40px -18px #000; }
.cx-stack-in .cx-pic img { aspect-ratio: 1; height: auto; }

/* ---------- the gallery ---------- */
.cx-count { margin: -18px 0 22px; font: 600 0.95rem var(--f-display); color: var(--ink2); }
.cx-wall-in { columns: 4 230px; column-gap: 12px; }
.cx-w-item { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; border-radius: 10px; overflow: hidden; aspect-ratio: var(--ar); }
.cx-w-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(.2, .8, .2, 1), filter 0.4s; }
.cx-w-item:hover img { transform: scale(1.05); }
.cx-w-item[hidden] { display: none; }
.cx-more { text-align: center; margin-top: 22px; }

/* ---------- loops ---------- */
.cx-clips-in { display: grid; gap: 12px; }
.cx-crow { display: flex; gap: 12px; }
.cx-loop { position: relative; margin: 0; flex: var(--r) 1 0; min-width: 0; aspect-ratio: var(--r); border-radius: 14px; overflow: hidden; background: #000; }
.cx-loop video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-loop figcaption { position: absolute; inset: auto 0 0; padding: 26px 14px 10px; font: 600 0.95rem var(--f-display); color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.65)); }
.cx-clips-ctl { display: flex; justify-content: center; margin-top: 18px; }

/* ---------- video ---------- */
.cx-screen { margin: 0 auto; max-width: 1000px; }
.cx-screen figcaption { margin-top: 12px; text-align: center; color: var(--ink2); }
.cx .video { border-radius: 16px; }

/* ---------- the flyer ---------- */
.cx-flyer-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cx-flyer-art { margin: 0; }
.cx-flyer-art .cx-pic { border-radius: 10px; box-shadow: 0 40px 90px -35px #000; }
.cx-flyer-note { font-size: 1.1rem; line-height: 1.8; color: var(--ink2); }
.cx-flyer-extra { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.cx-flyer-extra .cx-art { flex: 1 1 160px; max-width: 240px; }

/* ---------- one line ---------- */
.cx-line { padding-block: clamp(70px, 11vw, 150px); text-align: center; }
.cx-line-t { margin: 0 auto; max-width: 18ch; font: 900 clamp(2.2rem, 6.4vw, 5.2rem)/1.08 var(--f-display); color: var(--hi); text-wrap: balance; }
.cx-line-sub { margin: 18px auto 0; max-width: 560px; font-size: 1.1rem; color: var(--ink2); }

/* ---------- the reveal every circle shares; each world gives it its own entrance ---------- */
.js .cx [data-reveal="cx"]:not(.in) { opacity: 0; transform: translateY(24px); }
.js .cx [data-reveal="cx"].in { animation: cx-in 0.9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(min(var(--i, 0), 6) * 90ms); }
@keyframes cx-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- phones ---------- */
@media (max-width: 800px) {
  .cx-open { min-height: auto; padding-top: 104px; }
  .cx-open-in, .cx-voice-in, .cx-m-in, .cx-flyer-in { grid-template-columns: 1fr; }
  .cx-beat { grid-template-columns: 1fr; }
  .cx-beat:nth-child(even of .cx-beat) .cx-beat-t { order: 0; }
  .cx-wall-in { columns: 2; column-gap: 8px; }
  .cx-w-item { margin-bottom: 8px; border-radius: 8px; }
  .cx-crow { display: contents; }
  .cx-clips-in { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .cx-clips-in::-webkit-scrollbar { display: none; }
  .cx-loop { flex: 0 0 auto; width: 78vw; scroll-snap-align: center; }
  .cx-loop.tall { width: 56vw; }
  .cx-photo.v-bleed .cx-pic { height: 62svh; }
  .cx-stack-in li { width: 46vw; margin: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx *, .cx *::before, .cx *::after { animation: none !important; transition: none !important; }
  .js .cx [data-reveal="cx"]:not(.in) { opacity: 1; transform: none; }
  .cx-strike path { stroke-dashoffset: 0; }
  .cx-fx { display: none; }
}

/* ---------- between circles: the page washes into the next circle's colours ---------- */
.cx-wash { position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: radial-gradient(circle at var(--x) var(--y), var(--w2), var(--w1) 60%); clip-path: circle(0 at var(--x) var(--y)); transition: clip-path 0.55s cubic-bezier(.7, 0, .3, 1); }
.cx-wash.go { clip-path: circle(150vmax at var(--x) var(--y)); }
.cx-open::after { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(160deg, var(--c1), var(--bg)); animation: cx-arrive 0.9s 0.05s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes cx-arrive { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .cx-open::after { display: none; } }

/* ---------- a photo of the evening behind a scene, in the circle's colours ---------- */
.cx-bgph { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bgph-tint, var(--bg)); pointer-events: none; }
.cx-bgph img { width: 100%; height: 100%; object-fit: cover; opacity: var(--bgph-o, 0.42); filter: saturate(1.15) blur(var(--bgph-b, 0px)); mix-blend-mode: var(--bgph-blend, normal); transform: scale(1.04); }
.cx-bgph::after { content: ''; position: absolute; inset: 0; background: var(--bgph-veil, linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 50%, transparent) 22%, color-mix(in srgb, var(--bg) 50%, transparent) 78%, var(--bg) 100%)); }
@supports (animation-timeline: view()) {
  .cx-bgph img { animation: cx-drift linear both; animation-timeline: view(); }
  @keyframes cx-drift { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.04) translateY(3%); } }
}

/* ---------- a memory: all of it, the long ones open with a tap ---------- */
.cx-letter { border-top: 0; }
.cx-letter-in { padding: 0; }
.cx-letter.fold:not(.open) .cx-letter-in { max-height: 17em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.cx-fold-btn { margin-top: 6px; }

/* ---------- a river of photos ---------- */
.cx-strip { padding-block: clamp(10px, 2vw, 24px); overflow: hidden; }
.cx-strip-cap { width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto 12px; font: 700 1rem var(--f-hand); color: var(--acc); }
.cx-strip-in { overflow: hidden; }
.cx-strip-track { display: flex; gap: 12px; width: max-content; animation: cx-river calc(var(--n) * 7s) linear infinite; }
.cx-strip-in:hover .cx-strip-track { animation-play-state: paused; }
.cx-strip .cx-pic { flex: none; height: clamp(170px, 22vw, 290px); aspect-ratio: 4 / 3; border-radius: 14px; }
.cx-strip .cx-pic:nth-child(3n + 2) { aspect-ratio: 3 / 4; }
@keyframes cx-river { to { transform: translateX(50%); } }
@media (max-width: 800px) { .cx-strip .cx-pic { height: 150px; } }
@media (prefers-reduced-motion: reduce) { .cx-strip-in { overflow-x: auto; } }

/* ---------- a collage in the opening ---------- */
.cx-collage { position: relative; width: min(100%, 540px); aspect-ratio: 1; justify-self: center; }
.cx-cl { position: absolute; width: 46%; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px -20px #000; border: 5px solid #fff; }
.cx-cl img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.cx-cl.c0 { top: 0; inset-inline-start: 4%; rotate: -7deg; }
.cx-cl.c1 { top: 8%; inset-inline-end: 2%; rotate: 6deg; }
.cx-cl.c2 { bottom: 0; inset-inline-start: 16%; rotate: 4deg; z-index: 2; }
.cx-cl.c3 { bottom: 6%; inset-inline-end: 12%; rotate: -5deg; }
.js .cx-cl { animation: cx-fly 0.9s calc(0.25s + var(--i) * 0.12s) cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes cx-fly { from { opacity: 0; transform: translate(calc((var(--i) - 1.5) * 60px), 80px) scale(0.7); } }

/* ---------- videos side by side ---------- */
.cx-films-in { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.cx-films.n1 .cx-films-in { max-width: 980px; margin-inline: auto; grid-template-columns: 1fr; }
.cx-films .cx-screen { max-width: none; margin: 0; }

/* ---------- a list that grows ---------- */
.cx-g-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 3vw, 34px); }
.cx-g-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; }
.cx-g-row p { margin: 0; font: 700 calc(clamp(1.3rem, 2.1vw, 1.6rem) + var(--i) * 0.32rem)/1.3 var(--f-hand); color: var(--hi); }
.cx-g-ph .cx-pic { width: clamp(150px, 18vw, 250px); aspect-ratio: 4 / 3; border-radius: 12px; rotate: calc((mod(var(--i), 2) - 0.5) * 7deg); box-shadow: 0 20px 40px -18px #000; }
.cx-g-end { margin: clamp(30px, 5vw, 60px) 0 0; font: 900 clamp(2.4rem, 7vw, 5.6rem)/1.05 var(--f-display); color: var(--acc); text-wrap: balance; }
.cx-line-t .p0, .cx-line-t .p1 { display: inline-block; }
@media (max-width: 800px) {
  .cx-collage { width: 86vw; margin-bottom: 10px; }
  .cx-g-row { grid-template-columns: 1fr; }
  .cx-g-ph .cx-pic { width: 62vw; }
}

/* ---------- levels: the way up ---------- */
.cx-lv-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.cx-lv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 16px; position: relative; }
.cx-lv-list::before { content: ''; position: absolute; inset-block: 20px; inset-inline-start: 28px; width: 3px; border-radius: 3px; background: linear-gradient(0deg, var(--c1), var(--acc)); opacity: 0.7; }
.cx-lv { margin-inline-start: calc(var(--i) * clamp(18px, 4vw, 60px)); }
.cx-lv-in { display: grid; grid-template-columns: clamp(110px, 14vw, 200px) 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: 18px; text-decoration: none; color: inherit;
  background: color-mix(in srgb, var(--hi) 7%, transparent); border: 1px solid color-mix(in srgb, var(--hi) 14%, transparent); transition: transform 0.3s, background 0.3s; }
a.cx-lv-in:hover { transform: translateX(-6px); background: color-mix(in srgb, var(--hi) 12%, transparent); }
.cx-lv-ph { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.cx-lv-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-lv-t small { display: block; font: 700 0.85rem var(--f-display); color: var(--acc); }
.cx-lv-t b { display: block; font: 800 clamp(1.1rem, 2vw, 1.5rem) var(--f-hand); color: var(--hi); }
.cx-lv:last-child .cx-lv-in { box-shadow: 0 0 0 2px var(--acc), 0 0 50px -10px var(--acc); }

/* ---------- goals: what we built together ---------- */
.cx-goals-n { display: flex; align-items: baseline; gap: 12px; margin: -10px 0 26px; }
.cx-goals-n b { font: 900 clamp(3rem, 8vw, 5.5rem)/1 var(--f-display); color: var(--acc); }
.cx-goals-n span { font: 700 1.1rem var(--f-hand); color: var(--ink2); }
.cx-goals-in { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(120px, 14vw, 170px), 1fr)); gap: 14px; }
.cx-goals-in li { border-radius: 16px; transform: scale(0.85); opacity: 0.25; filter: grayscale(1); transition: transform 0.6s cubic-bezier(.3, 1.5, .5, 1), opacity 0.5s, filter 0.5s; transition-delay: calc(var(--i) * 110ms); }
.cx-goals-in.lit li { transform: none; opacity: 1; filter: none; }
.cx-goals-in li:last-child { scale: 1.06; }
.cx-goals-in img { display: block; width: 100%; height: auto; }
.cx-goals-in li:hover { transform: translateY(-6px) rotate(-2deg); transition-delay: 0s; }
.cx-films-link { text-align: center; margin: 22px 0 0; }
@media (max-width: 800px) {
  .cx-lv-wrap { grid-template-columns: 1fr; }
  .cx-lv { margin-inline-start: calc(var(--i) * 14px); }
}
@media (prefers-reduced-motion: reduce) { .cx-goals-in li { transform: none; opacity: 1; filter: none; } }
.cx-v-cap { margin: 4px 0 0; text-align: center; font: 700 1rem var(--f-hand); color: var(--acc); }

/* the story route (every world may restyle it; this is the base so it never takes the page's width) */
.v-desk .cx-beat-list { padding-inline-start: clamp(44px, 6vw, 84px); }
.cx-route { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 40px; height: 100%; overflow: visible; }
.cx-route path { fill: none; stroke: var(--c2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: calc((1 - var(--p, 0)) * 1000); opacity: 0.55; vector-effect: non-scaling-stroke; }
@media (max-width: 800px) { .v-desk .cx-beat-list { padding-inline-start: 34px; } .cx-route { width: 24px; inset-inline-start: -8px; } }
.cx-clips.n1 .cx-clips-in { max-width: 420px; margin-inline: auto; } .cx-clips.n1 .cx-crow { justify-content: center; }

/* ---------- a chapter's videos and photos in one grid ---------- */
.cx-mo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 14vw, 210px); gap: 10px; }
.cx-mo-v { grid-row: span 2; }
.cx-mo-v .cx-loop { width: 100%; height: 100%; aspect-ratio: auto; }
.cx-mo-p { border-radius: 12px; }
.cx-mo-p:nth-child(5n + 2) { grid-column: span 2; }
@media (max-width: 800px) { .cx-mo { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; } .cx-mo-v { grid-row: span 2; } .cx-mo-p:nth-child(5n + 2) { grid-column: auto; } }

/* ---------- candles ---------- */
.cx-candles { padding-block: clamp(40px, 6vw, 80px); text-align: center; }
.cx-candles-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 2.4vw, 28px); }
.cx-candle { position: relative; width: 16px; height: calc(34px + (var(--i) % 3) * 10px); border-radius: 3px 3px 2px 2px; background: linear-gradient(90deg, #cfc6b5, #f4eee2 45%, #bdb3a0); }
.cx-candle::before { content: ''; position: absolute; left: 50%; top: -5px; width: 2px; height: 6px; translate: -50% 0; background: #3a2c1c; }
.cx-candle i { position: absolute; left: 50%; bottom: calc(100% + 3px); width: 11px; height: 20px; translate: -50% 0; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 75%, #fff8dc 0 22%, #ffd27a 40%, #ff9a3d 70%, transparent 72%); filter: drop-shadow(0 0 10px rgba(255, 190, 90, 0.9));
  transform-origin: 50% 100%; animation: cx-flicker calc(2.2s + var(--i) * 0.37s) ease-in-out infinite alternate; }
.cx-candle::after { content: ''; position: absolute; left: 50%; bottom: 100%; width: 90px; height: 90px; translate: -50% 40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 110, 0.22), transparent 65%); pointer-events: none; }
@keyframes cx-flicker { 0% { transform: scale(1, 1) rotate(-2deg); } 40% { transform: scale(0.94, 1.06) rotate(1.5deg); } 70% { transform: scale(1.04, 0.95) rotate(-1deg); } 100% { transform: scale(0.97, 1.03) rotate(2deg); } }
.cx-candles-k { margin: 0 0 22px; font: 700 0.95rem var(--f-display); letter-spacing: 0.08em; color: var(--acc); }
.cx-candles-t { margin: 26px auto 0; max-width: 30ch; font: 700 clamp(1.3rem, 2.8vw, 2rem)/1.5 var(--f-hand); color: var(--hi); text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { .cx-candle i { animation: none; } }

/* ---------- a cut-out person standing in a scene ---------- */
.cx-cut { position: absolute; bottom: 0; z-index: 0; width: clamp(220px, 30vw, 460px); height: auto; pointer-events: none; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
.cx-cut.start { inset-inline-start: 0; }
.cx-cut.end { inset-inline-end: 0; }
.cx-cut.center { left: 50%; translate: -50% 0; }
.cx > section > .cx-wrap { position: relative; z-index: 1; }
@supports (animation-timeline: view()) {
  .cx-cut { animation: cx-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes cx-rise { from { transform: translateY(18%); opacity: 0; } to { transform: none; opacity: 1; } }
  .cx-cut.center { animation-name: cx-rise-c; }
  @keyframes cx-rise-c { from { transform: translate(0, 18%); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 800px) { .cx-cut { width: 46vw; opacity: 0.55; } }

/* ---------- one clip as the hero of a chapter ---------- */
.cx-bigclip { position: relative; height: min(88svh, 860px); overflow: hidden; background: #000; }
.cx-bigclip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cx-big-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 2%, rgba(0, 0, 0, 0.35) 38%, transparent 65%), linear-gradient(to bottom, var(--bg), transparent 16%); }
.cx-big-t { position: absolute; inset: auto 0 0; width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto; padding-bottom: clamp(30px, 6vw, 70px); }
.cx-big-t .cx-title { font-size: clamp(2.2rem, 6vw, 4.8rem); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7); max-width: 16ch; }
.cx-big-t p { margin: 12px 0 0; max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #fff; text-shadow: 0 2px 14px #000; }
@media (max-width: 800px) { .cx-bigclip { height: 72svh; } }

/* ---------- songs from the circle ---------- */
.cx-tr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 900px; }
.cx-tr { position: relative; width: 100%; display: grid; grid-template-columns: 72px 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px 14px 10px; border: 0; border-radius: 18px; text-align: start; color: var(--ink);
  background: color-mix(in srgb, var(--hi) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hi) 12%, transparent); cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; transition: background 0.25s, transform 0.25s; }
.cx-tr:hover { background: color-mix(in srgb, var(--hi) 12%, transparent); transform: translateX(-4px); }
.cx-tr img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.cx-tr-play { width: 44px; height: 44px; border-radius: 50%; background: var(--acc); position: relative; box-shadow: 0 0 20px -4px var(--acc); }
.cx-tr-play::before { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--bg); translate: 2px 0; }
.cx-tr.on .cx-tr-play::before { width: 12px; height: 14px; border: 0; translate: 0; background: linear-gradient(90deg, var(--bg) 0 4px, transparent 4px 8px, var(--bg) 8px); }
.cx-tr-t b { display: block; font: 800 1.1rem var(--f-hand); color: var(--hi); }
.cx-tr-t small { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; font-size: 0.85rem; color: var(--ink2); }
.cx-tr time { font: 700 0.9rem var(--f-display); color: var(--ink2); }
.cx-tr-bar { position: absolute; inset: auto 14px 6px 96px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--hi) 12%, transparent); }
.cx-tr-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: var(--acc); }
.cx-tr.on { background: color-mix(in srgb, var(--acc) 16%, transparent); box-shadow: inset 0 0 0 1.5px var(--acc); }
@media (max-width: 600px) { .cx-tr { grid-template-columns: 56px 40px minmax(0, 1fr); } .cx-tr img { width: 56px; height: 56px; } .cx-tr time { display: none; } .cx-tr-bar { inset-inline-start: 80px; } }
