/* The Sōul Print Journey · journey.css (v0.2-b) · the module's own styles, every rule scoped under .sj.
   Carried over from the Thrivālism Journey v0.6-c and made smaller. v0.2-a brings over that film's begin target, its
   gold-metal begin button (phone-sized as in its v0.6-c), the music button and the credit, and adds Reveal and the close. Tyzen's system: ink #0A0C14, cream #FFFDE7, gold
   #E2BF6C, the aurora four, Bellefair + Inter (declared by page.css, served from beside the page). Host knobs:
     --sj-top      how far a host's fixed header reaches down
     --sj-cue-low  how far above the bottom of the screen the words sit on a phone
   One markup, two presentations, chosen on .sj[data-mode]:
     film    the moving journey: a sticky canvas, the scenes are scroll length, the words hold still over the picture;
     stills  the same story as still frames with the words under each (reduced motion, no WebGL, no script, or by choice).
   The default rules are the still frames, so a browser that runs nothing still gets the whole story. */

.sj {
  --ink: #0A0C14; --ink-rgb: 10, 12, 20; --deep: #05060a; --deep-rgb: 5, 6, 10;
  --cream: #FFFDE7; --cream-rgb: 255, 253, 231;
  --gold: #E2BF6C; --gold-rgb: 226, 191, 108; --gold-hi: #FFF8D6;
  --gold-text: linear-gradient(180deg, #fffbe3 0%, #ffe98f 24%, #fcd75a 46%, #fff2b8 66%, #f3cc55 100%);
  --heart-rgb: 255, 204, 143; --mind-rgb: 158, 199, 255;
  --display: Bellefair, Georgia, serif; --body: Inter, system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-inout: cubic-bezier(.4, 0, .2, 1);
  --dur-micro: .2s; --dur-short: .4s;
  --track-ui: .08em; --track-label: .18em;
  --g: 16px; --top: var(--sj-top, 0px); --low: var(--sj-cue-low, 22px);
  position: relative; isolation: isolate; color-scheme: dark; background: var(--deep); color: var(--cream);
  font: 300 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (min-width: 760px) { .sj { --g: 32px; } }
.sj *, .sj *::before, .sj *::after { box-sizing: border-box; }
.sj img { max-width: 100%; display: block; }
.sj a { color: inherit; }
.sj button { font: inherit; color: inherit; -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.sj :focus-visible { outline: 2px solid rgba(var(--gold-rgb), .9); outline-offset: 3px; border-radius: 6px; }
.sj [hidden] { display: none !important; }
.sj-skip { position: fixed; left: var(--g); top: -80px; z-index: 30; padding: 12px 16px; background: var(--ink); border-radius: 10px; }
.sj-skip:focus { top: max(12px, env(safe-area-inset-top)); }
.sj-gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }

.sj-stage { display: none; }
.sj[data-mode="stills"] .sj-film-only { display: none !important; }

/* ── the still field: the aurora, standing still ─────────────────────────────────────────────────────────────────── */
.sj-stillfield { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 30% at 18% 12%, rgba(226, 191, 108, .11), transparent 70%), radial-gradient(36% 30% at 84% 24%, rgba(154, 116, 196, .22), transparent 70%),
    radial-gradient(42% 34% at 58% 82%, rgba(127, 168, 106, .14), transparent 70%), radial-gradient(34% 28% at 34% 50%, rgba(86, 150, 182, .18), transparent 72%);
  background-size: 100% 140vh; background-repeat: repeat-y; }

/* ── the bar: the mark, play, the menu. Zero height and sticky, so it rides over the stage and leaves with the film ── */
.sj-film { position: relative; }
.sj-bar { position: sticky; top: var(--top); height: 0; z-index: 6; }
.sj-bar__in { display: flex; align-items: center; justify-content: space-between; height: 60px; pointer-events: none;
  padding: max(8px, env(safe-area-inset-top)) max(calc(var(--g) - 6px), env(safe-area-inset-right)) 8px max(calc(var(--g) - 6px), env(safe-area-inset-left)); box-sizing: content-box; }
.sj-bar__in > * { pointer-events: auto; }
.sj-bar__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; opacity: .92; }
.sj-bar__r { display: flex; gap: 6px; }
.sj-iconbtn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: rgba(var(--cream-rgb), .92); }
.sj-iconbtn::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: rgba(var(--deep-rgb), .5); border: 1px solid rgba(var(--gold-rgb), .26); transition: border-color var(--dur-micro) var(--ease-out), background var(--dur-micro) var(--ease-out); }
.sj-iconbtn:hover::before, .sj-iconbtn:focus-visible::before { border-color: rgba(var(--gold-rgb), .7); background: rgba(var(--gold-rgb), .12); }
.sj-iconbtn svg { position: relative; width: 22px; height: 22px; fill: currentColor; }
.sj .sj-i-pause { display: none; }
.sj [aria-pressed="true"] > svg .sj-i-play { display: none; }
.sj [aria-pressed="true"] > svg .sj-i-pause { display: block; }
.sj[data-mode="stills"] .sj-bar__in { background: linear-gradient(rgba(var(--deep-rgb), .94), rgba(var(--deep-rgb), .7) 60%, rgba(var(--deep-rgb), 0)); padding-bottom: 20px; }
.sj.sj-over .sj-bar [data-sj-play] { opacity: 0; pointer-events: none; }
.sj.sj-past[data-mode^="film"] .sj-cue, .sj.sj-past[data-mode^="film"] .sj-cue.is-on, .sj.sj-past[data-mode^="film"] .sj-stage { visibility: hidden; }
/* v0.2-d: the fixed words fade once the next section comes into view (see .sj-done in js/journey.js) */
.sj.sj-done[data-mode^="film"] .sj-cue, .sj.sj-done[data-mode^="film"] .sj-cue.is-on { opacity: 0 !important; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
/* v0.2-a: the sticky stage (with its -100vh foot) would otherwise paint one screen past the film, over the host page's next
   section, which is exactly where "Reveal my Sōul Print" lands. clip keeps it inside the film without making a scroller,
   so sticky still works; the fixed words are held back by .sj-past above. */
.sj[data-mode^="film"] .sj-film { overflow: clip; }
.sj [data-sj-play] { transition: opacity var(--dur-short) var(--ease-out); }
/* the music button: gold while Zen's bed sounds, struck through when muted */
.sj-musicbtn .sj-i-off { display: none; opacity: .9; }
.sj-musicbtn[data-state="muted"] .sj-i-off { display: inline; }
.sj-musicbtn[aria-pressed="true"]::before { border-color: rgba(var(--gold-rgb), .8); background: rgba(var(--gold-rgb), .18); }
.sj-musicbtn[aria-pressed="true"] { color: var(--gold-hi); }
.sj-musicbtn[data-state="missing"] { opacity: .45; }
.sj audio { display: none; }

/* ── type ────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.sj-say { margin: 0; }
.sj-say p { margin: 0; font: 400 clamp(1.55rem, 5.6vw, 2.2rem)/1.17 var(--display); letter-spacing: -.005em; text-wrap: balance; }
.sj-say .sj-sub { margin-top: 12px; font-size: clamp(1.15rem, 4.3vw, 1.5rem); line-height: 1.24; color: var(--gold-hi); }
.sj-lead { margin: 0; font: 300 clamp(1.3rem, 4.9vw, 1.7rem)/1.3 var(--body); letter-spacing: -.01em; text-wrap: balance; }
.sj-small { margin: 12px 0 0; font-size: .9rem; line-height: 1.5; color: rgba(var(--cream-rgb), .82); max-width: 40ch; }
.sj-coin { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 14px 0 0; }
.sj-coin b { font: 400 clamp(1.3rem, 4.8vw, 1.7rem)/1.1 var(--display); letter-spacing: .02em; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sj-coin span { font: 500 .68rem/1.3 var(--body); letter-spacing: var(--track-label); text-transform: uppercase; color: rgba(var(--cream-rgb), .7); }
.sj-n { display: inline-block; min-width: 1.6em; font: 400 .74rem/1 var(--body); letter-spacing: var(--track-ui); color: rgba(var(--gold-rgb), .85); font-variant-numeric: tabular-nums; }

.sj-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 500 .84rem/1 var(--body); letter-spacing: var(--track-ui); text-transform: uppercase; text-decoration: none;
  color: #2a1e08; text-shadow: none; background: linear-gradient(180deg, #f6e6b0, #e2bf6c 60%, #c9a253); transition: filter var(--dur-micro) var(--ease-out); }
.sj .sj-btn { padding: 0 26px; }
.sj-btn--ghost, .sj .sj-btn--ghost { color: var(--cream); background: rgba(var(--gold-rgb), .08); border: 1px solid rgba(var(--gold-rgb), .34); min-height: 44px; padding: 0 18px; font-size: .74rem; }
.sj-btn--ghost[aria-pressed="true"] { background: rgba(var(--gold-rgb), .22); border-color: rgba(var(--gold-rgb), .8); }

/* the title card (v0.2-a): "Welcome to your Sōul Print.", two lines, Watch the film and Reveal my Sōul Print */
.sj-hero__t { margin: 0; font: 400 clamp(2.5rem, 10.4vw, 5.4rem)/1.02 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.sj-hero__s { margin: 16px 0 0; font: 400 clamp(1.12rem, 4.3vw, 1.55rem)/1.3 var(--display); color: rgba(var(--cream-rgb), .95); }
.sj-hero__s span { display: block; }
.sj-hero__play { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 26px 0 0; }
.sj-hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.sj-hero__or { margin: 0; font-size: .88rem; letter-spacing: .02em; color: rgba(var(--cream-rgb), .76); }
/* the begin button, in the site's gold metal (tyzen.co .tzbtn: the 145deg metal, the travelling current, the lit edge;
   the site's own tokens win when mounted there, beside the page they fall back to the same values) */
.sj-bigplay, .sj button.sj-bigplay { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 34px 0 26px; border-radius: 999px; font: 500 1rem/1.15 var(--body); letter-spacing: .07em; text-transform: uppercase;
  color: var(--tz-btn-ink, #2a1e08);
  background-image: var(--tz-gold-current, linear-gradient(118deg, rgba(255,250,224,0) 18%, rgba(255,250,224,.5) 38%, rgba(120,78,28,.42) 62%, rgba(255,250,224,0) 84%)),
    var(--tz-gold-metal, linear-gradient(145deg, #9c6b27 0%, #d9af55 18%, #f6e6b0 44%, #fbf3d2 52%, #E2BF6C 64%, #a9762b 100%));
  background-size: 190% 190%, 300% 300%; background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,250,224,.75), inset 0 -2px 7px rgba(120,78,28,.4), 0 0 44px rgba(var(--gold-rgb), .3); transition: filter var(--dur-micro) var(--ease-out); }
.sj-bigplay:hover, .sj-bigplay:focus-visible { filter: brightness(1.07); }
.sj-bigplay svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.sj-bigplay::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 34px 8px rgba(var(--gold-rgb), .38), 0 0 90px 18px rgba(var(--gold-rgb), .2); opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  /* a breath: five in, five out is ten; this is the half. Opacity only: a scaled glow left a dark ring at the button's edge */
  .sj-bigplay::before { animation: sj-glow 5s ease-in-out infinite; will-change: opacity; }
  @keyframes sj-glow { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
  .sj button.sj-bigplay, .sj a.sj-reveal--primary { animation: sjGoldFlow 20s linear infinite; }
  @keyframes sjGoldFlow { 0% { background-position: 0% 0%, 100% 0%; } 50% { background-position: 100% 100%, 0% 100%; } 100% { background-position: 0% 0%, 100% 0%; } }
}
/* Reveal my Sōul Print: the site's ghost button on the title card (a gold hairline, gold Inter, 12 px corners), the gold
   metal button at the close */
.sj a.sj-reveal, .sj .sj-bigplay { text-shadow: none; }
.sj a.sj-reveal { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.sj a.sj-reveal--ghost { min-height: 56px; padding: 0 1.6rem; border-radius: 12px; border: 1px solid rgba(var(--gold-rgb), .5); background: rgba(var(--deep-rgb), .42);
  color: var(--gold); font: 500 .95rem/1.15 var(--body); letter-spacing: .03em; transition: background .25s, border-color .25s; }
.sj a.sj-reveal--ghost:hover, .sj a.sj-reveal--ghost:focus-visible { background: rgba(var(--gold-rgb), .12); border-color: rgba(var(--gold-rgb), .85); }
.sj a.sj-reveal--primary { min-height: 60px; padding: 0 2.1rem; border-radius: 999px; font: 500 1rem/1.15 var(--body); letter-spacing: .07em; text-transform: uppercase;
  color: var(--tz-btn-ink, #2a1e08);
  background-image: var(--tz-gold-current, linear-gradient(118deg, rgba(255,250,224,0) 18%, rgba(255,250,224,.5) 38%, rgba(120,78,28,.42) 62%, rgba(255,250,224,0) 84%)),
    var(--tz-gold-metal, linear-gradient(145deg, #9c6b27 0%, #d9af55 18%, #f6e6b0 44%, #fbf3d2 52%, #E2BF6C 64%, #a9762b 100%));
  background-size: 190% 190%, 300% 300%; background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,250,224,.75), inset 0 -2px 7px rgba(120,78,28,.4), 0 0 40px rgba(var(--gold-rgb), .3); transition: filter var(--dur-micro) var(--ease-out); }
.sj a.sj-reveal--primary:hover, .sj a.sj-reveal--primary:focus-visible { filter: brightness(1.07); }
/* on a phone the begin button is the size of the site's own buttons: 56 px tall, as wide as its words (as the Thrivālism
   Journey v0.6-c). The whole first screen is still the tap. */
@media (max-width: 759px) {
  .sj button.sj-bigplay { min-height: 56px; padding: 0 24px 0 18px; gap: 10px; font-size: .84rem; letter-spacing: .08em; max-width: calc(100% - 32px);
    box-shadow: inset 0 1px 0 rgba(255,250,224,.75), inset 0 -2px 6px rgba(120,78,28,.36), 0 0 26px rgba(var(--gold-rgb), .22); }
  .sj-bigplay svg { width: 20px; height: 20px; }
  .sj a.sj-reveal--ghost { min-height: 52px; padding: 0 1.3rem; font-size: .88rem; }
  .sj a.sj-reveal--primary { min-height: 56px; font-size: .86rem; padding: 0 1.6rem; }
}
.sj-hero__h, .sj-hero__why { margin: 16px 0 0; font-size: .92rem; color: rgba(var(--cream-rgb), .76); max-width: 38ch; }
.sj-hero__why { color: rgb(143, 208, 240); }

/* the close (v0.2-a): his line, Reveal my Sōul Print, then small the next steps, Watch again and Zen's credit */
.sj-ready__mark { width: 56px; height: 56px; margin: 0 0 12px; }
.sj-ready__t { margin: 0; font: 400 clamp(1.7rem, 6.6vw, 3.2rem)/1.08 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.sj-hero__t .sj-gold, .sj-ready__t .sj-gold {
  background-image: var(--tz-gold-current-text, linear-gradient(112deg, rgba(255,255,255,0) 24%, rgba(255,255,255,.86) 46%, rgba(255,255,255,0) 70%)), var(--tz-gold-text, var(--gold-text));
  background-size: 220% 100%, 100% 260%; background-repeat: no-repeat; background-position: 50% 0, 0 50%; }
@media (prefers-reduced-motion: no-preference) {
  .sj-hero__t .sj-gold, .sj-ready__t .sj-gold { animation: sjGoldText 20s linear infinite; }
  @keyframes sjGoldText { 0% { background-position: 0% 0, 0 0%; } 50% { background-position: 100% 0, 0 100%; } 100% { background-position: 0% 0, 0 0%; } }
}
.sj-cue--close { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sj-reveal i { font-style: normal; margin: 0 .4em; opacity: .8; }
/* v0.2-b · "Your Sōul Print is free." beside the next steps, so a price is never read as the Sōul Print's own */
.sj-free { margin: 10px 0 0; }
.sj-free p { margin: 0; font-size: .88rem; line-height: 1.45; color: rgba(var(--cream-rgb), .8); max-width: 44ch; text-wrap: balance; }
.sj-free p.sj-free__t { margin-bottom: 4px; font: 400 1.08rem/1.35 var(--display); color: var(--gold-hi); }
.sj[data-mode^="film"] .sj-cue--close .sj-free p { margin-inline: auto; }
.sj-next { display: flex; flex-wrap: wrap; gap: 0 22px; margin: -4px 0 0; font-size: .9rem; }
.sj-next a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(var(--cream-rgb), .9); text-decoration: underline; text-decoration-color: rgba(var(--gold-rgb), .5); text-underline-offset: 5px; }
.sj-next a:hover, .sj-next a:focus-visible { color: var(--gold-hi); text-decoration-color: var(--gold); }
.sj-next i { font-style: normal; color: rgba(var(--gold-rgb), .85); }
.sj-close__more { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 2px 0 0; }
.sj .sj-close__more a.sj-again { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.3rem; border-radius: 12px;
  border: 1px solid rgba(var(--gold-rgb), .45); color: var(--gold); text-decoration: none; font: 500 .86rem/1 var(--body); letter-spacing: .02em; transition: background .25s, border-color .25s; }
.sj .sj-close__more a.sj-again:hover, .sj .sj-close__more a.sj-again:focus-visible { background: rgba(var(--gold-rgb), .1); border-color: rgba(var(--gold-rgb), .8); }
.sj-credit { display: inline-flex; align-items: center; min-height: 44px; font-size: .78rem; letter-spacing: .02em; color: rgba(var(--cream-rgb), .66); }
.sj-menu__credit { margin: 14px 0 0; font-size: .82rem; color: rgba(var(--cream-rgb), .72); }

/* the film's shorter cut of a line shows only while the film plays; the full line everywhere else */
.sj .sj-tx-film { display: none; }
.sj.sj-tier-film .sj-tx-film { display: inline; }
.sj.sj-tier-film .sj-tx-full, .sj.sj-tier-film .sj-cue .sj-sub { display: none; }

/* ── the still frames (the default presentation) ─────────────────────────────────────────────────────────────────── */
.sj-scenes { position: relative; z-index: 1; width: min(880px, 100%); margin: 0 auto; padding: 0 var(--g); }
.sj-scene { padding: 34px 0 30px; }
.sj-scene + .sj-scene { border-top: 1px solid rgba(var(--gold-rgb), .14); }
.sj-still { margin: 0 calc(var(--g) * -1) 22px; }
.sj-still img { width: 100%; height: auto; background: var(--deep); }
@media (min-width: 760px) { .sj-still { margin-inline: 0; } .sj-still img { border-radius: 14px; } }
.sj-scene__title { margin: 0 0 18px; font: 400 clamp(1.5rem, 4.6vw, 2rem)/1.15 var(--display); color: var(--gold-hi); }
.sj-scene__title .sj-n { display: block; margin-bottom: 8px; }
.sj-cue { margin: 0 0 26px; max-width: 34em; }
.sj-cue .sj-w { opacity: 1; }
#sj-seed { padding-top: max(76px, calc(env(safe-area-inset-top) + 64px + var(--top))); border: 0; }
.sj-worldline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 26px; font: 400 1.2rem/1.2 var(--display); color: var(--gold-hi); }
.sj-worldline i { font-style: normal; color: rgba(var(--gold-rgb), .7); }
.sj-worldline b { font-weight: 400; margin-right: .3em; }
.sj[data-mode="stills"] .sj-cue--close { max-width: 40em; }

/* ── the menu ────────────────────────────────────────────────────────────────────────────────────────────────────── */
.sj-sheet { width: min(560px, 100%); max-width: 100%; max-height: min(82dvh, 760px); margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: #0d1019; color: #FFFDE7; box-shadow: 0 -1px 0 rgba(226, 191, 108, .3); overflow: hidden; font: 300 1rem/1.6 var(--body, Inter, system-ui, sans-serif); }
.sj-sheet::backdrop { background: rgba(5, 6, 10, .62); }
.sj-sheet[open] { display: flex; animation: sjSheetIn var(--dur-short, .4s) var(--ease-out, ease-out); }
@keyframes sjSheetIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sj-sheet__in { display: flex; flex-direction: column; min-height: 0; width: 100%; }
.sj-sheet__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 10px 6px 22px; }
.sj-sheet__bar h2 { margin: 0; font: 400 1.5rem/1.15 var(--display); color: var(--gold-hi); }
.sj-sheet__body { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 6px 22px max(26px, env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .sj-sheet { margin: auto 28px 28px auto; border-radius: 22px; box-shadow: 0 0 0 1px rgba(226, 191, 108, .3); } }
.sj-menu__list { list-style: none; margin: 0; padding: 0; }
.sj-menu__list button { display: flex; align-items: baseline; gap: 6px; width: 100%; min-height: 46px; padding: 8px 0; text-align: left; font: 400 1.12rem/1.25 var(--display); border-bottom: 1px solid rgba(var(--gold-rgb), .1); }
.sj-menu__list button:hover, .sj-menu__list button[aria-current="true"] { color: var(--gold-hi); }
.sj-menu__set { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.sj-menu__v { margin: 10px 0 0; font-size: .76rem; color: rgba(var(--cream-rgb), .55); }

/* ═══ THE MOVING JOURNEY ═══════════════════════════════════════════════════════════════════════════════════════════ */
.sj[data-mode^="film"] .sj-stills-only { display: none !important; }
.sj[data-mode^="film"] .sj-stillfield { display: none; }
.sj[data-mode^="film"] .sj-stage { display: block; position: sticky; top: 0; z-index: 0; height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh; overflow: hidden; touch-action: pan-y; background: var(--deep); }
.sj[data-mode^="film"] .sj-canvas { display: block; width: 100%; height: 100%; }
.sj[data-mode^="film"] .sj-veil { position: absolute; z-index: 1; inset: 0; background: var(--deep); opacity: 0; pointer-events: none; transition: opacity var(--dur-short) var(--ease-inout); }
.sj[data-mode="film-pending"] .sj-veil, .sj[data-mode^="film"] .sj-veil.is-on { opacity: 1; }
.sj[data-mode^="film"] .sj-scenes { width: auto; padding: 0; }
.sj[data-mode^="film"] .sj-scene { height: calc(var(--len) * 1vh); padding: 0; border: 0; }
.sj[data-mode^="film"] .sj-still { display: none; }
.sj[data-mode^="film"] .sj-scene__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sj[data-mode^="film"] #sj-seed { padding: 0; }

/* v0.3-a · the spoken captions: one phrase at a time, low and centred, while the film plays */
.sj-cap { display: none; }
.sj[data-mode^="film"] .sj-cap { display: block; position: fixed; z-index: 2; left: var(--g); right: var(--g); bottom: calc(max(26px, env(safe-area-inset-bottom)) + var(--low) + 4vh); margin: 0;
  text-align: center; font: 400 clamp(1.5rem, 5.4vw, 2.3rem)/1.18 var(--display); letter-spacing: -.005em; text-wrap: balance; color: rgb(var(--cream-rgb));
  text-shadow: 0 1px 16px rgba(var(--deep-rgb), .95), 0 0 3px rgba(var(--deep-rgb), .9); opacity: 0; translate: 0 8px; pointer-events: none; transition: opacity .28s ease, translate .4s ease; }
.sj[data-mode^="film"] .sj-cap.is-on { opacity: 1; translate: 0 0; }
.sj.sj-done .sj-cap, .sj.sj-past .sj-cap { opacity: 0 !important; }
@media (min-width: 900px) { .sj[data-mode^="film"] .sj-cap { bottom: 11vh; left: 50%; right: auto; width: min(900px, 80vw); margin-left: calc(min(900px, 80vw) / -2); font-size: clamp(2rem, 2.7vw, 3rem); } }
/* the words hold still while the world moves: every cue is fixed, low on a phone, beside the picture on a wide screen */
.sj[data-mode^="film"] .sj-cue { position: fixed; z-index: 2; margin: 0; max-width: none; left: var(--g); right: calc(var(--g) + 14px); bottom: calc(max(22px, env(safe-area-inset-bottom)) + var(--low) + 2vh);
  opacity: 0; visibility: hidden; pointer-events: none; text-shadow: 0 1px 16px rgba(var(--deep-rgb), .95), 0 0 3px rgba(var(--deep-rgb), .9); }
.sj[data-mode^="film"] .sj-cue.is-on { visibility: visible; }
.sj[data-mode^="film"] .sj-cue.is-on button, .sj[data-mode^="film"] .sj-cue.is-on a { pointer-events: auto; }
/* a scrim only where the words sit, and it has no edge: it reaches nothing inside its own box */
.sj[data-mode^="film"] .sj-cue::before { content: ""; position: absolute; z-index: -1; inset: -64px -60px -70px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--deep-rgb), .74), rgba(var(--deep-rgb), .56) 46%, rgba(var(--deep-rgb), .2) 76%, rgba(var(--deep-rgb), 0)); }
.sj[data-mode^="film"] .sj-cue .sj-w { opacity: var(--wo, 0); }
/* the title card sits high and centred; it is on screen before the film is ready, so Begin is there at once */
.sj[data-mode^="film"] .sj-cue--hero { bottom: auto; top: calc(var(--top) + 13vh); text-align: center; left: var(--g); right: var(--g); }
.sj[data-mode^="film"] .sj-cue--hero::before { inset: -40px -30px; }
.sj[data-mode^="film"] .sj-cue--hero .sj-hero__play { align-items: center; }
.sj[data-mode^="film"] .sj-cue--hero .sj-hero__btns { justify-content: center; }
.sj[data-mode="film-pending"] .sj-cue--hero { opacity: 1; visibility: visible; z-index: 3; }
/* the close: the line high, Reveal and the next steps low and centred */
.sj[data-mode^="film"] .sj-cue--ready { bottom: auto; top: calc(var(--top) + 66px); text-align: center; left: var(--g); right: var(--g); }
.sj[data-mode^="film"] .sj-cue--ready .sj-ready__mark { display: none; }
.sj[data-mode^="film"] .sj-cue--ready .sj-ready__t { font-size: clamp(1.5rem, 6vw, 2.8rem); }
.sj[data-mode^="film"] .sj-cue--close { left: var(--g); right: var(--g); align-items: center; text-align: center; bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--low) * .8); }
.sj[data-mode^="film"] .sj-cue--close::before { inset: -40px -20px -30px; background: radial-gradient(closest-side, rgba(var(--deep-rgb), .66), rgba(var(--deep-rgb), .34) 70%, rgba(var(--deep-rgb), 0)); }
.sj[data-mode^="film"] .sj-cue--close .sj-next, .sj[data-mode^="film"] .sj-cue--close .sj-close__more { justify-content: center; }

/* ── the begin target: the film's own first screen, while the invitation stands (from the Thrivālism Journey v0.6-b) ──
   Absolute at the top of the scenes (never fixed to the page), from under a host's header to the foot of the first screen,
   so it scrolls away with the film and never covers the host's header or the skip link. It sits inside the scenes' own
   layer, under the words (z-index 2, which let taps through except on their buttons) and under the bar. Hidden from
   assistive tech: the real button is "Watch the film, with music". */
.sj-begin { display: none; position: absolute; z-index: 1; left: 0; right: 0; top: var(--top); height: calc(100vh - var(--top)); height: calc(100lvh - var(--top)); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sj.sj-invite[data-mode^="film"] .sj-begin { display: block; }
.sj.sj-invite .sj-cue--hero { cursor: pointer; }

@media (min-width: 900px) and (min-aspect-ratio: 11/10) {
  .sj[data-mode^="film"] .sj-cue { bottom: auto; top: 50%; transform: translateY(-50%); width: min(520px, 36vw); }
  .sj[data-mode^="film"] .sj-cue[data-side="r"] { left: auto; right: max(7vw, 64px); }
  .sj[data-mode^="film"] .sj-cue[data-side="l"] { left: max(7vw, 64px); right: auto; }
  .sj[data-mode^="film"] .sj-cue[data-side="c"] { top: auto; bottom: 9vh; left: 50%; right: auto; transform: translateX(-50%); width: min(820px, 76vw); text-align: center; }
  .sj[data-mode^="film"] .sj-cue[data-side="c"] .sj-small { margin-inline: auto; }
  .sj[data-mode^="film"] .sj-cue[data-side="c"] .sj-coin { justify-content: center; }
  .sj[data-mode^="film"] .sj-cue.sj-cue--hero[data-side] { top: calc(var(--top) + 12vh); bottom: auto; left: 50%; right: auto; transform: translateX(-50%); width: min(1100px, 90vw); text-align: center; }
  .sj[data-mode^="film"] .sj-cue.sj-cue--ready[data-side] { top: calc(var(--top) + 9vh); bottom: auto; width: min(980px, 86vw); }
  .sj[data-mode^="film"] .sj-cue.sj-cue--close[data-side] { top: auto; bottom: 12vh; width: min(900px, 86vw); }
  .sj[data-mode^="film"] .sj-cue--hero .sj-hero__s span { display: inline; }
  .sj[data-mode^="film"] .sj-cue--hero .sj-hero__s span + span::before { content: " "; }
  .sj-say p { font-size: clamp(1.9rem, 2.5vw, 2.9rem); }
  .sj-say .sj-sub { font-size: clamp(1.3rem, 1.7vw, 1.9rem); }
  .sj-lead { font-size: clamp(1.4rem, 1.8vw, 2rem); }
}

/* the words that live in the world */
.sj-labels > span { position: absolute; z-index: 2; left: 0; top: 0; opacity: 0; pointer-events: none; white-space: nowrap; will-change: transform, opacity;
  font: 500 clamp(.66rem, 2.5vw, .78rem)/1.2 var(--body); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--cream); text-shadow: 0 0 14px rgba(var(--deep-rgb), .95), 0 0 2px rgba(var(--deep-rgb), .9); }
.sj-labels i { font-style: normal; color: rgba(var(--gold-rgb), .8); }
.sj-labels .sj-lab--scale { margin: -.6em 0 0 34px; }
@media (min-width: 900px) { .sj-labels .sj-lab--scale { margin-left: 52px; } }
.sj-labels .sj-lab--mid { color: var(--gold-hi); }
.sj-labels .sj-lab--axis { display: flex; align-items: center; gap: .7em; }
.sj-labels .sj-lab--axis b { font: 400 2.2em/1 var(--display); letter-spacing: 0; }
.sj-labels .sj-lab--y { margin: 0; color: rgb(var(--heart-rgb)); }
.sj-labels .sj-lab--x { margin: -3.4em 0 0 0; color: rgb(var(--mind-rgb)); }
.sj-labels .sj-lab--seat { margin: 0; padding: 10px 22px; background: radial-gradient(closest-side, rgba(var(--deep-rgb), .78), rgba(var(--deep-rgb), .5) 60%, rgba(var(--deep-rgb), 0)); font: 400 clamp(1.1rem, 4.2vw, 1.5rem)/1 var(--display); letter-spacing: .02em; text-transform: none; color: var(--gold-hi); }

.sj-end { height: 0; }
@media (prefers-reduced-motion: reduce) { .sj-sheet[open] { animation: none; } .sj-veil { transition: none !important; } }
