/* The Thrivālism Journey · journey.css (v0.6-b) · the module's own styles, every rule scoped under .tj.
   Tyzen's system: ink #0A0C14, cream #FFFDE7, gold #E2BF6C, the aurora four, Bellefair + Inter (declared by the host:
   page.css here, system.css on tyzen.co). Host knobs, all optional:
     --tj-top      how far a host's fixed header reaches down (the module's bar and title card sit under it)
     --tj-cue-low  how far above the bottom of the screen the words sit on a phone
   One markup, two presentations, chosen on .tj[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. */

.tj {
  --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%);
  --teach: 226, 191, 108; --sci: 143, 208, 240; --img: 201, 174, 234;
  --ch-root: 224, 112, 95; --ch-sacral: 240, 162, 78; --ch-solar: 232, 206, 114; --ch-heart: 95, 208, 138; --ch-throat: 95, 182, 224; --ch-third: 142, 147, 232; --ch-crown: 183, 154, 227;
  --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; --dur-medium: .6s;
  --track-ui: .08em; --track-label: .18em;
  --g: 16px; --top: var(--tj-top, 0px); --low: var(--tj-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) { .tj { --g: 32px; } }
.tj *, .tj *::before, .tj *::after { box-sizing: border-box; }
.tj img { max-width: 100%; display: block; }
.tj a { color: inherit; }
.tj button { font: inherit; color: inherit; -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.tj :focus-visible { outline: 2px solid rgba(var(--gold-rgb), .9); outline-offset: 3px; border-radius: 6px; }
.tj [hidden] { display: none !important; }
.tj-skip { position: fixed; left: var(--g); top: -80px; z-index: 30; padding: 12px 16px; background: var(--ink); border-radius: 10px; }
.tj-skip:focus { top: max(12px, env(safe-area-inset-top)); }
.tj-gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }

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

/* ── the still field: Tyzen's aurora, standing still ─────────────────────────────────────────────────────────────── */
.tj-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, .24), transparent 70%),
    radial-gradient(42% 34% at 58% 82%, rgba(127, 168, 106, .16), transparent 70%), radial-gradient(34% 28% at 34% 50%, rgba(86, 150, 182, .2), transparent 72%);
  background-size: 100% 140vh; background-repeat: repeat-y; }

/* ── the bar: the mark, the music, the cut, play, the menu. Zero height and sticky, so it rides over the stage and leaves with the film ── */
.tj-film { position: relative; }
.tj-bar { position: sticky; top: var(--top); height: 0; z-index: 6; }
.tj-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; }
.tj-bar__in > * { pointer-events: auto; }
.tj-bar__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; opacity: .92; }
.tj-bar__r { display: flex; gap: 6px; }
.tj-iconbtn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: rgba(var(--cream-rgb), .92); }
.tj-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); }
.tj-iconbtn:hover::before, .tj-iconbtn:focus-visible::before { border-color: rgba(var(--gold-rgb), .7); background: rgba(var(--gold-rgb), .12); }
.tj-iconbtn svg { position: relative; width: 22px; height: 22px; fill: currentColor; }
.tj .tj-i-pause { display: none; }
.tj [aria-pressed="true"] > svg .tj-i-play { display: none; }
.tj [aria-pressed="true"] > svg .tj-i-pause { display: block; }
/* the music (v0.6-a): a plain note while it waits to play with the journey; lit gold while Zen's bed plays; struck through
   once muted; faint when there is no file here */
.tj-musicbtn .tj-i-off { display: none; opacity: .9; }
.tj-musicbtn[data-state="muted"] .tj-i-off { display: inline; }
.tj-musicbtn[aria-pressed="true"]::before { border-color: rgba(var(--gold-rgb), .8); background: rgba(var(--gold-rgb), .18); }
.tj-musicbtn[aria-pressed="true"] { color: var(--gold-hi); }
.tj-musicbtn[data-state="missing"] { opacity: .45; }
.tj[data-mode="stills"] .tj-bar__in { background: linear-gradient(rgba(var(--deep-rgb), .94), rgba(var(--deep-rgb), .7) 60%, rgba(var(--deep-rgb), 0)); padding-bottom: 20px; }
.tj.tj-over [data-tj-play], .tj.tj-over .tj-cuts--bar, .tj.tj-over .tj-spine { opacity: 0; pointer-events: none; }
.tj.tj-past[data-mode^="film"] .tj-cue, .tj.tj-past[data-mode^="film"] .tj-cue.is-on { visibility: hidden; }
/* v0.6-e: the fixed words fade once the host page's next section comes into view (see tj-done in js/journey.js), the same fix
   as the Sōul Print Journey v0.2-d */
.tj.tj-done[data-mode^="film"] .tj-cue, .tj.tj-done[data-mode^="film"] .tj-cue.is-on { opacity: 0 !important; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
.tj [data-tj-play], .tj-cuts--bar, .tj-spine { transition: opacity var(--dur-short) var(--ease-out); }

/* ── type ────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.tj-say, .tj-verse { margin: 0; }
.tj-say p, .tj-verse p { margin: 0; font: 400 clamp(1.55rem, 5.6vw, 2.2rem)/1.17 var(--display); letter-spacing: -.005em; text-wrap: balance; }
.tj-say--quote p { font-size: clamp(1.45rem, 5.2vw, 2rem); }
.tj-say--lens p { font-size: clamp(1.25rem, 4.6vw, 1.75rem); line-height: 1.22; }
.tj-verse p { font-size: clamp(1.42rem, 5.1vw, 1.95rem); color: var(--gold-hi); }
.tj-verse { padding-top: 14px; position: relative; }
.tj-verse::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 1px; background: linear-gradient(90deg, rgba(var(--gold-rgb), .9), rgba(var(--gold-rgb), 0)); }
.tj cite { display: block; margin-top: 12px; font: 400 .76rem/1.4 var(--body); font-style: normal; letter-spacing: var(--track-ui); text-transform: uppercase; color: rgba(var(--cream-rgb), .72); }
.tj-lead { margin: 0; font: 300 clamp(1.3rem, 4.9vw, 1.7rem)/1.3 var(--body); letter-spacing: -.01em; text-wrap: balance; }
.tj-small { margin: 12px 0 0; font-size: .92rem; line-height: 1.5; color: rgba(var(--cream-rgb), .86); max-width: 40ch; }
.tj-small--cite { font-size: .76rem; letter-spacing: var(--track-ui); text-transform: uppercase; color: rgba(var(--cream-rgb), .72); }
.tj-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; }
.tj-names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; font: 400 clamp(1.05rem, 4vw, 1.35rem)/1.2 var(--display); letter-spacing: .06em; color: var(--gold-hi); }
.tj-names i { font-style: normal; color: rgba(var(--gold-rgb), .7); }

/* the marks: Teaching, Science, Image. A shape and a word, never colour alone. */
.tj-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; padding: 0 2px; font: 500 .68rem/1 var(--body); letter-spacing: var(--track-label); text-transform: uppercase; color: rgba(var(--c), 1); --c: var(--teach); isolation: isolate; }
.tj-chip--science { --c: var(--sci); } .tj-chip--image { --c: var(--img); }
.tj-chip::before { content: ""; position: absolute; left: -11px; right: -13px; top: 9px; bottom: 9px; border-radius: 999px; z-index: -1; border: 1px solid rgba(var(--c), .42); background: rgba(var(--deep-rgb), .46); transition: border-color var(--dur-micro) var(--ease-out), background var(--dur-micro) var(--ease-out); }
.tj-chip i { position: relative; width: 9px; height: 9px; flex: none; }
.tj-chip--teaching i { border: 1.5px solid rgb(var(--c)); transform: rotate(45deg); }
.tj-chip--science i { background: rgb(var(--c)); border-radius: 50%; }
.tj-chip--image i { border: 1.5px solid rgb(var(--c)); border-radius: 50%; }
.tj button.tj-chip { margin-left: 11px; }
.tj button.tj-chip:hover::before, .tj button.tj-chip:focus-visible::before { border-color: rgba(var(--c), .9); background: rgba(var(--c), .14); }
.tj-chip--flat { min-height: 0; margin: 0; padding: 0; }
.tj-chip--flat::before { display: none; }

.tj-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); }
.tj-btn:hover, .tj-btn:focus-visible { filter: brightness(1.08); }
.tj-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; }
.tj-btn--ghost[aria-pressed="true"] { background: rgba(var(--gold-rgb), .22); border-color: rgba(var(--gold-rgb), .8); }

.tj-legend { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.tj-legend li { display: grid; grid-template-columns: 104px 1fr; gap: 10px; align-items: baseline; font-size: .95rem; line-height: 1.45; }

.tj-pacer { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; font-size: .8rem; letter-spacing: var(--track-ui); text-transform: uppercase; color: rgba(var(--sci), .9); }
.tj-pacer i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(var(--sci), .9); background: radial-gradient(circle, rgba(var(--sci), .5), rgba(var(--sci), 0) 70%); }

/* the title card: what is Thrivālism, play, the cut */
.tj-hero__t { margin: 0; font: 400 clamp(2.6rem, 11vw, 5.6rem)/1.0 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.tj-hero__s { margin: 14px 0 0; font: 400 clamp(1.2rem, 4.6vw, 1.7rem)/1.25 var(--display); color: rgba(var(--cream-rgb), .95); }
.tj-hero__play { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 26px 0 0; }
.tj-bigplay { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 30px 0 22px; border-radius: 999px; font: 500 .95rem/1 var(--body) !important; letter-spacing: var(--track-ui); text-transform: uppercase;
  color: #2a1e08 !important; background: linear-gradient(180deg, #f6e6b0, #e2bf6c 60%, #c9a253) !important; box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .5), 0 0 40px rgba(var(--gold-rgb), .28); transition: filter var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.tj-bigplay:hover, .tj-bigplay:focus-visible { filter: brightness(1.07); box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .9), 0 0 56px rgba(var(--gold-rgb), .42); }
.tj-bigplay svg { width: 24px; height: 24px; fill: currentColor; }
/* the glow (v0.3-b): a halo that breathes round "Show me". Its own layer, only opacity and scale move, so the
   compositor carries it (no filter, no box-shadow animated on the button itself). Outer shadows never paint under
   the box, so the button's gold is untouched. Reduced motion keeps the glow, held still. */
.tj-bigplay { position: relative; }
/* the module's own button reset (.tj button, specificity 0,1,1) was taking the big button's padding to 0, so its word sat
   against the gold edge; the padding is restated at the reset's weight */
.tj button.tj-bigplay { padding: 0 30px 0 22px; }
.tj-bigplay::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .55), 0 0 34px 8px rgba(var(--gold-rgb), .5), 0 0 90px 18px rgba(var(--gold-rgb), .26);
  opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .tj-bigplay::before { animation: tj-glow 2.8s ease-in-out infinite; will-change: opacity, transform; }
  @keyframes tj-glow { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
}
/* the three cuts (v0.6-a), 1:11 · 2:22 · 3:33: beside "Show me", and in the bar where the speed was */
.tj-cuts { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(var(--gold-rgb), .3); background: rgba(var(--deep-rgb), .5); }
.tj-cuts button { min-width: 54px; min-height: 44px; padding: 0 10px; border-radius: 999px; font: 500 .84rem/1 var(--body); letter-spacing: .02em; color: rgba(var(--cream-rgb), .8); font-variant-numeric: tabular-nums; transition: background var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.tj-cuts button:hover, .tj-cuts button:focus-visible { color: var(--cream); background: rgba(var(--gold-rgb), .1); }
.tj-cuts button[aria-pressed="true"] { background: rgba(var(--gold-rgb), .22); color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), .7); }
.tj-cuts--bar { padding: 0; align-self: center; }
/* v0.6-c: the choice beside the begin button sits centred under it (its own rule: tyzen.co's built-output gate, check 14,
   wants every rendered class defined in a stylesheet the page loads) */
.tj-cuts--hero { align-self: center; }
.tj-cuts--bar button { min-width: 44px; padding: 0 6px; font-size: .74rem; }
/* below 380 px the bar has no room for the mark beside the three cuts; the menu's first scene goes back to the start */
@media (max-width: 379px) { .tj[data-mode^="film"] .tj-bar__mark { display: none; } .tj[data-mode^="film"] .tj-bar__in { justify-content: flex-end; } }
/* the quick story: the god whispers' four words and the golden thread's "turn left / turn right" pass in under a second
   at its pace (measured 0.2 to 0.95 s), too quick to read, so they step aside while it plays; the infinity's names and
   the three brains' names stay */
.tj.tj-tier-quick .tj-labels .tj-lab--whisper, .tj.tj-tier-quick .tj-labels .tj-lab--epi { display: none; }
/* the quick story's shorter cut of a line shows only while the quick story plays */
.tj .tj-tx-quick { display: none; }
.tj.tj-tier-quick .tj-tx-quick { display: inline; }
.tj.tj-tier-quick .tj-tx-full { display: none; }
/* Zen's credit: in the menu, and beside "Watch again" at the end */
.tj-credit { display: inline-flex; align-items: center; min-height: 44px; font-size: .78rem; letter-spacing: .02em; color: rgba(var(--cream-rgb), .66); }
.tj-menu__credit { margin: 14px 0 0; font-size: .82rem; color: rgba(var(--cream-rgb), .72); }
.tj-hero__h, .tj-hero__why { margin: 16px 0 0; font-size: .92rem; color: rgba(var(--cream-rgb), .76); max-width: 38ch; }
.tj-hero__why { color: rgba(var(--sci), .95); }

/* the call to action */
.tj-ready__mark { width: 64px; height: 64px; margin: 0 0 12px; }
.tj-ready__t { margin: 0; font: 400 clamp(1.9rem, 7.4vw, 3.6rem)/1.06 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.tj-ladder__more { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 10px 0 0; font-size: .86rem; }
.tj-ladder__more a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(var(--cream-rgb), .84); text-underline-offset: 4px; }

/* ── the journey of escalation: seven stations (v0.6-b; six until v0.6-a), root to crown. A vertical spine by default, one parabola when there is room ── */
.tj-rise { list-style: none; margin: 18px 0 0; padding: 0; position: relative; display: grid; gap: .7rem; text-align: left; }
.tj-rise__curve { display: none; }
.tj-rise__st { --c: var(--ch-root); position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: .7rem; align-items: stretch; }
.tj-rise__st[data-ch="sacral"] { --c: var(--ch-sacral); } .tj-rise__st[data-ch="solar"] { --c: var(--ch-solar); } .tj-rise__st[data-ch="heart"] { --c: var(--ch-heart); }
.tj-rise__st[data-ch="throat"] { --c: var(--ch-throat); } .tj-rise__st[data-ch="third"] { --c: var(--ch-third); } .tj-rise__st[data-ch="crown"] { --c: var(--ch-crown); }
/* v0.6-b: Sōul Missiōn Catalyzatiōn, $1K a week from $4K, named once under the rise, and under it his line on money,
   "Money is one form of magic.", small and in gold; the four weekly points keep their
   names small (two are his, two proposed), the figure and the weeks carry them */
.tj-rise__shape { margin: 1.2rem 0 0; text-align: center; font: 400 clamp(1.1rem, 2.2vw, 1.4rem)/1.3 var(--display); color: var(--gold-hi); text-wrap: balance; }
.tj-rise__shape span { white-space: nowrap; }
.tj-rise__motto { margin: .3rem 0 0; text-align: center; font: 400 clamp(.95rem, 1.6vw, 1.1rem)/1.3 var(--display); color: var(--gold); letter-spacing: .01em; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__motto { margin-top: .15rem; }
.tj-rise__shape i { font-style: normal; color: rgba(var(--gold-rgb), .7); }
.tj-rise__st--week .tj-rise__line { font-size: .74rem; letter-spacing: .04em; color: rgba(var(--cream-rgb), .7); }
.tj-rise__node { position: relative; display: block; }
.tj-rise__node::before { content: ""; position: absolute; top: 0; bottom: -.7rem; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(rgba(var(--c), .9), rgba(var(--c), .25)); }
.tj-rise__st:last-child .tj-rise__node::before { bottom: 60%; }
.tj-rise__node i { position: relative; display: block; width: 26px; height: 26px; margin-top: .8rem; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 12%, rgb(var(--c)) 26%, rgba(var(--c), .4) 46%, rgba(var(--c), 0) 70%), var(--ink); }
.tj-rise__card { display: grid; align-content: start; gap: .2rem; min-height: 44px; padding: .8rem .95rem; border-radius: 14px; text-decoration: none; color: inherit;
  border: 1px solid rgba(var(--c), .42); background: linear-gradient(170deg, rgba(var(--c), .16), rgba(var(--ink-rgb), .82) 55%); transition: border-color .3s ease, transform .4s var(--ease-out); }
.tj-rise__card:hover, .tj-rise__card:focus-visible { border-color: rgba(var(--c), .95); transform: translateY(-3px); }
.tj-rise__k { font-family: var(--display); font-size: 1.6rem; line-height: 1.05; color: rgb(var(--c)); }
.tj-rise__name { font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.2; color: var(--cream); text-wrap: balance; }
.tj-rise__line { font-size: .84rem; line-height: 1.45; color: rgba(var(--cream-rgb), .84); }
.tj-rise__go { margin-top: .25rem; font-size: .76rem; color: var(--gold-hi); }

/* ── the still frames (the default presentation) ─────────────────────────────────────────────────────────────────── */
.tj-scenes { position: relative; z-index: 1; width: min(880px, 100%); margin: 0 auto; padding: 0 var(--g); }
.tj-scene { padding: 34px 0 30px; }
.tj-scene + .tj-scene { border-top: 1px solid rgba(var(--gold-rgb), .14); }
.tj-still { margin: 0 calc(var(--g) * -1) 22px; }
.tj-still img { width: 100%; height: auto; background: var(--deep); }
@media (min-width: 760px) { .tj-still { margin-inline: 0; } .tj-still img { border-radius: 14px; } }
.tj-scene__title { margin: 0 0 18px; font: 400 clamp(1.5rem, 4.6vw, 2rem)/1.15 var(--display); color: var(--gold-hi); }
.tj-scene__title .tj-n { display: block; margin-bottom: 8px; }
.tj-cue { margin: 0 0 26px; max-width: 34em; }
.tj-cue .tj-w { opacity: 1; }
#tj-mind { padding-top: max(76px, calc(env(safe-area-inset-top) + 64px + var(--top))); border: 0; }
.tj-whisperline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 26px; font: 400 1.25rem/1.2 var(--display); color: var(--gold-hi); }
.tj[data-mode="stills"] .tj-cue--ladder { max-width: none; }
@media (min-width: 1000px) { .tj[data-mode="stills"] .tj-cue--ladder { position: relative; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100vw - 64px)); } }

@media (max-width: 480px) { .tj-legend li { grid-template-columns: 1fr; gap: 4px; } }

/* ── sheets: the menu ────────────────────────────────────────────────────────────────── */
.tj-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); }
.tj-sheet::backdrop { background: rgba(5, 6, 10, .62); }
.tj-sheet[open] { display: flex; animation: tjSheetIn var(--dur-short, .4s) var(--ease-out, ease-out); }
@keyframes tjSheetIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tj-sheet__in { display: flex; flex-direction: column; min-height: 0; width: 100%; }
.tj-sheet__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 10px 6px 22px; }
.tj-sheet__bar h2 { margin: 0; font: 400 1.5rem/1.15 var(--display); color: var(--gold-hi); }
.tj-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) { .tj-sheet { margin: auto 28px 28px auto; border-radius: 22px; box-shadow: 0 0 0 1px rgba(226, 191, 108, .3); } }
.tj-menu__list { list-style: none; margin: 0; padding: 0; }
.tj-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); }
.tj-menu__list button:hover, .tj-menu__list button[aria-current="true"] { color: var(--gold-hi); }
.tj-menu__set { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.tj-menu__v { margin: 10px 0 0; font-size: .76rem; color: rgba(var(--cream-rgb), .55); }

/* ═══ THE MOVING JOURNEY ═══════════════════════════════════════════════════════════════════════════════════════════ */
.tj[data-mode^="film"] .tj-stills-only { display: none !important; }
.tj[data-mode^="film"] .tj-stillfield { display: none; }
.tj[data-mode^="film"] .tj-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); }
.tj[data-mode^="film"] .tj-canvas { display: block; width: 100%; height: 100%; }
.tj[data-mode^="film"] .tj-veil { position: absolute; z-index: 1; inset: 0; background: var(--deep); opacity: 0; pointer-events: none; transition: opacity var(--dur-short) var(--ease-inout); }
.tj[data-mode="film-pending"] .tj-veil, .tj[data-mode^="film"] .tj-veil.is-on { opacity: 1; }
.tj[data-mode^="film"] .tj-scenes { width: auto; padding: 0; }
.tj[data-mode^="film"] .tj-scene { height: calc(var(--len) * 1vh); padding: 0; border: 0; }
.tj[data-mode^="film"] .tj-still { display: none; }
.tj[data-mode^="film"] .tj-scene__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tj[data-mode^="film"] #tj-mind { padding: 0; }

/* the words hold still while the world moves: every cue is fixed, low on a phone, beside the picture on a wide screen */
.tj[data-mode^="film"] .tj-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); }
.tj[data-mode^="film"] .tj-cue.is-on { visibility: visible; }
.tj[data-mode^="film"] .tj-cue.is-on button, .tj[data-mode^="film"] .tj-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 */
.tj[data-mode^="film"] .tj-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)); }
.tj[data-mode^="film"] .tj-cue .tj-w { opacity: var(--wo, 0); }
/* the title card sits high and centred; it is on screen before the film is ready, so play is there at once */
.tj[data-mode^="film"] .tj-cue--hero { bottom: auto; top: calc(var(--top) + 15vh); text-align: center; left: var(--g); right: var(--g); }
.tj[data-mode^="film"] .tj-cue--hero::before { inset: -40px -30px; }
.tj[data-mode^="film"] .tj-cue--hero .tj-hero__play { justify-content: center; }
.tj[data-mode^="film"] .tj-cue--hero .tj-hero__h { margin-inline: auto; }
.tj[data-mode="film-pending"] .tj-cue--hero { opacity: 1; visibility: visible; z-index: 3; }
/* the call to action: the question high, the journey of escalation under it */
.tj[data-mode^="film"] .tj-cue--ready { bottom: auto; top: calc(var(--top) + 64px); text-align: center; left: var(--g); right: var(--g); }
.tj[data-mode^="film"] .tj-cue--ready .tj-ready__mark { width: 44px; height: 44px; margin: 0 auto 8px; }
.tj[data-mode^="film"] .tj-cue--ready .tj-ready__t { font-size: clamp(1.6rem, 6.6vw, 3.4rem); }
.tj[data-mode^="film"] .tj-cue--ladder { left: var(--g); right: var(--g); bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--low) * .6); text-shadow: none; }
.tj[data-mode^="film"] .tj-cue--ladder::before { inset: -40px -20px -30px; background: radial-gradient(closest-side, rgba(var(--deep-rgb), .62), rgba(var(--deep-rgb), .3) 70%, rgba(var(--deep-rgb), 0)); }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise { margin: 0; gap: .45rem; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__node::before { bottom: -.45rem; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__st { opacity: var(--so, 1); transform: translateY(calc((1 - var(--so, 1)) * 10px)); }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__card { padding: .5rem .8rem; gap: .1rem; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__card > .tj-rise__k { font-size: 1.2rem; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__name { font-size: 1.02rem; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__node i { width: 22px; height: 22px; margin-top: .55rem; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__st { grid-template-columns: 22px minmax(0, 1fr); }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__go { display: none; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__line { font-size: .78rem; line-height: 1.35; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-ladder__more { justify-content: center; align-items: center; margin-top: 8px; }
.tj[data-mode^="film"] .tj-cue--ladder .tj-rise__shape { margin-top: .6rem; font-size: clamp(1rem, 1.6vw, 1.3rem); }
@media (max-width: 999px) {
  /* a phone: one line per station, every station alike (v0.4-a: Thrivālism no longer carries extra text) */
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__card { grid-template-columns: auto minmax(0, 1fr); column-gap: .6rem; align-items: baseline; }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__card > :not(.tj-rise__k):not(.tj-rise__name) { grid-column: 1 / -1; }
}
@media (max-width: 999px) {
  .tj[data-mode^="film"] .tj-cue--ready .tj-ready__mark { display: none; }
  .tj[data-mode^="film"] .tj-cue--ready .tj-ready__t { font-size: clamp(1.45rem, 6vw, 2.2rem); }
  .tj[data-mode^="film"] .tj-cue--ladder { bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--low) * .78); }
}
@media (max-width: 999px) and (max-height: 780px) {
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__line { display: none; }
  .tj[data-mode^="film"] .tj-cue--ready .tj-ready__mark { display: none; }
}

@media (min-width: 900px) and (min-aspect-ratio: 11/10) {
  .tj[data-mode^="film"] .tj-cue { bottom: auto; top: 50%; transform: translateY(-50%); width: min(520px, 36vw); }
  .tj[data-mode^="film"] .tj-cue[data-side="r"] { left: auto; right: max(7vw, 64px); }
  .tj[data-mode^="film"] .tj-cue[data-side="l"] { left: max(7vw, 64px); right: auto; }
  .tj[data-mode^="film"] .tj-cue[data-side="c"] { top: auto; bottom: 9vh; left: 50%; right: auto; transform: translateX(-50%); width: min(820px, 76vw); text-align: center; }
  .tj[data-mode^="film"] .tj-cue[data-side="c"] .tj-small, .tj[data-mode^="film"] .tj-cue[data-side="c"] .tj-verse::before { margin-inline: auto; }
  .tj[data-mode^="film"] .tj-cue[data-side="c"] .tj-names { justify-content: center; }
  .tj[data-mode^="film"] .tj-cue.tj-cue--hero[data-side] { top: calc(var(--top) + 13vh); bottom: auto; left: 50%; right: auto; transform: translateX(-50%); width: min(1100px, 90vw); text-align: center; }
  .tj[data-mode^="film"] .tj-cue.tj-cue--ready[data-side] { top: calc(var(--top) + 9vh); bottom: auto; width: min(980px, 86vw); }
  .tj[data-mode^="film"] .tj-cue.tj-cue--ladder[data-side] { top: auto; bottom: 5vh; width: min(1240px, 92vw); text-align: left; }
  .tj-say p { font-size: clamp(1.9rem, 2.5vw, 2.9rem); } .tj-say--quote p, .tj-verse p { font-size: clamp(1.7rem, 2.2vw, 2.5rem); }
  .tj-say--lens p { font-size: clamp(1.5rem, 1.9vw, 2.1rem); }
  .tj-lead { font-size: clamp(1.4rem, 1.8vw, 2rem); }
}
/* the parabola, as on the Sōul Missiōn page: six columns, flat at first, then steeper */
@media (min-width: 1000px) {
  .tj-rise { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; align-items: start; }   /* v0.6-e: four stations */   /* v0.6-b: seven equal columns, so the curve's seven nodes sit on it */
  /* v0.5-a: the curve is drawn through the dots. Its box starts at the first dot's centre (13px, half a 26px dot) and is
     25 steps tall, the stations' own (25 - k²) steps; it reaches half a gap past each side so x = 50 + 100k lands on the
     centre of column k (the columns' centres sit (column + gap) apart, starting half a column in). */
  /* v0.6-b: seven stations, so the box is 36 steps tall (the stations' (36 - k²) steps) and the curve is M50 190 Q350 190 650 0
     in a 700-wide box: x = 50 + 100k is still the centre of column k, y = 190 - (190/36)k² the centre of its dot */
  .tj-rise__curve { display: block; position: absolute; left: -6px; right: -6px; top: 13px; height: calc(9 * 28px); pointer-events: none; }   /* v0.6-e: (9 - k²) steps of 28px, the same 252px climb */
  .tj-rise__curve svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .tj-rise__st { display: block; margin-top: calc((9 - var(--k) * var(--k)) * 28px); }
  .tj-rise__node::before { display: none; }
  .tj-rise__node i { margin: 0 auto 1.4rem; }   /* v0.5-a: room for the curve to reach the next dot above a card's corner */
  .tj-rise__card { padding: .85rem .8rem; }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__st { display: block; margin-top: calc((9 - var(--k) * var(--k)) * min(24px, 3.12vh)); }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__node i { margin: 0 auto 1.6rem; width: 26px; height: 26px; }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__card { padding: .85rem .9rem; gap: .2rem; }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__card > .tj-rise__k { font-size: 1.6rem; }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__name { font-size: 1.16rem; }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__line { font-size: .86rem; line-height: 1.42; }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__curve { top: 13px; height: calc(9 * min(24px, 3.12vh)); }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__st .tj-rise__go { display: block; }
  .tj[data-mode^="film"] .tj-cue--ladder .tj-rise__curve svg { clip-path: inset(-20px calc((1 - var(--draw, 1)) * 100%) -20px -20px); }
}

/* ── v0.6-b · the begin target: the film's own first screen, while the invitation stands ─────────────────────────────
   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) and the title card's buttons, and under the bar. Hidden from assistive tech: the real button is
   "Begin the journey, with music". */
.tj-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; }
.tj.tj-invite[data-mode^="film"] .tj-begin { display: block; }
.tj.tj-invite .tj-cue--hero { cursor: pointer; }
/* "Show me" grows into the begin button, in the site's gold metal (tyzen.co .tzbtn: the 145deg metal, the travelling
   current, the lit edge), with the word for the hand in use */
.tj button.tj-bigplay { min-height: 72px; padding: 0 38px 0 28px; gap: 14px; border-radius: 999px; font: 500 1.02rem/1.15 var(--body) !important; letter-spacing: .06em;
  color: var(--tz-btn-ink, #2a1e08) !important;
  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%)) !important;
  background-size: 190% 190%, 300% 300% !important; background-repeat: no-repeat !important;
  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); }
.tj-bigplay svg { width: 28px; height: 28px; flex: none; }
.tj-bigplay__w { text-align: left; }
.tj .tj-click { display: none; }
@media (hover: hover) and (pointer: fine) { .tj .tj-click { display: inline; } .tj .tj-tap { display: none; } }
.tj-hero__play { flex-direction: column; gap: 10px; }
.tj-hero__or { margin: 0 0 6px; font-size: .9rem; letter-spacing: .02em; color: rgba(var(--cream-rgb), .78); }
/* v0.6-c (Tyzen: "on the mobile phone version there, we need to optimize the button"): on a phone the begin button is the
   size of the site's own buttons, as wide as its words, not a bar from edge to edge. The whole first screen is still the tap. */
@media (max-width: 759px) { .tj button.tj-bigplay { min-height: 56px; padding: 0 26px 0 20px; gap: 10px; font-size: .84rem !important; 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); }
  .tj-bigplay svg { width: 20px; height: 20px; } }
@media (min-width: 760px) { .tj button.tj-bigplay { min-height: 80px; padding: 0 46px 0 34px; font-size: 1.12rem !important; } .tj-bigplay svg { width: 30px; height: 30px; } }
@media (prefers-reduced-motion: no-preference) {
  .tj button.tj-bigplay { animation: tjGoldFlow 20s linear infinite; }
  @keyframes tjGoldFlow { 0% { background-position: 0% 0%, 100% 0%; } 50% { background-position: 100% 100%, 0% 100%; } 100% { background-position: 0% 0%, 100% 0%; } }
}

/* ── v0.6-b · the close, matched to tyzen.co's system ───────────────────────────────────────────────────────────────
   The question and the title take the site's text gold with its travelling sheen (.tzmetal: the vertical gold, a soft
   white current drifting across it, 20 s a turn, still under reduced motion); "Watch again" is the site's ghost button
   (.tzbtn--ghost); on tyzen.co the site's own tokens win, beside the page they fall back to the same values. */
.tj-hero__t .tj-gold, .tj-ready__t .tj-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) {
  .tj-hero__t .tj-gold, .tj-ready__t .tj-gold { animation: tjGoldText 20s linear infinite; }
  @keyframes tjGoldText { 0% { background-position: 0% 0, 0 0%; } 50% { background-position: 100% 0, 0 100%; } 100% { background-position: 0% 0, 0 0%; } }
}
.tj .tj-ladder__more a.tj-again { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.4rem; border-radius: 12px;
  border: 1px solid rgba(var(--gold-rgb), .45); color: var(--gold); text-decoration: none; font: 500 .9rem/1 var(--body); letter-spacing: .02em;
  transition: background .25s, border-color .25s; }
.tj .tj-ladder__more a.tj-again:hover, .tj .tj-ladder__more a.tj-again:focus-visible { background: rgba(var(--gold-rgb), .1); border-color: rgba(var(--gold-rgb), .8); }
.tj-rise__card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* the spine: seven lights that come on as each wheel takes its place on the axis; the top one is the channel, not a wheel */
.tj-spine { position: absolute; z-index: 4; right: max(7px, env(safe-area-inset-right)); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 11px; pointer-events: none; }
.tj-spine li { width: 5px; height: 5px; border-radius: 50%; background: rgba(var(--cream-rgb), .2); transition: background var(--dur-medium) var(--ease-out), transform var(--dur-medium) var(--ease-out); }
.tj-spine li.is-lit { background: var(--c); transform: scale(1.5); }
.tj-spine li:nth-child(1) { --c: rgb(224, 112, 95); } .tj-spine li:nth-child(2) { --c: rgb(240, 162, 78); } .tj-spine li:nth-child(3) { --c: rgb(232, 206, 114); }
.tj-spine li:nth-child(4) { --c: rgb(95, 208, 138); } .tj-spine li:nth-child(5) { --c: rgb(95, 182, 224); } .tj-spine li:nth-child(6) { --c: rgb(142, 147, 232); }
.tj-spine li:nth-child(7) { --c: var(--gold-hi); width: 5px; height: 9px; border-radius: 1px 1px 3px 3px; clip-path: polygon(0 0, 100% 0, 68% 100%, 32% 100%); }

/* words placed in the world: the whispers on the lights that carry them, the infinity's three names, the three brains */
.tj-labels span { position: absolute; z-index: 2; left: 0; top: 0; opacity: 0; pointer-events: none; white-space: nowrap; font: 400 clamp(1.15rem, 4.6vw, 1.6rem)/1 var(--display); color: var(--gold-hi); text-shadow: 0 0 14px rgba(var(--deep-rgb), .95), 0 0 2px rgba(var(--deep-rgb), .9); will-change: transform, opacity; }
.tj-labels .tj-lab--inf, .tj-labels .tj-lab--brain { font: 500 clamp(.68rem, 2.6vw, .8rem)/1 var(--body); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--cream); }
.tj-labels .tj-lab--inf { text-align: center; line-height: 1.15; }
.tj-labels .tj-lab--inf small { display: block; margin-top: 3px; font-size: .78em; letter-spacing: var(--track-label); color: rgba(var(--cream-rgb), .7); }
.tj-labels .tj-lab--epi { font-size: clamp(1.1rem, 4.6vw, 1.55rem); font-style: italic; color: var(--gold-hi); }   /* v0.5-b: the thread's whispers */
.tj-labels .tj-lab--trust { font: 400 clamp(1.3rem, 4.6vw, 1.8rem)/1 var(--display); letter-spacing: .02em; text-transform: none; color: var(--gold-hi); text-shadow: 0 0 16px rgba(var(--deep-rgb), 1), 0 0 4px rgba(var(--deep-rgb), 1); }

@media (prefers-reduced-motion: no-preference) {
  .tj-pacer i { animation: tjPace 10s var(--ease-inout) infinite; }
  @keyframes tjPace { 0%, 100% { transform: scale(.62); opacity: .6; } 50% { transform: scale(1.18); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .tj-sheet[open] { animation: none; } .tj-veil { transition: none !important; } .tj-spine li { transition: none; } .tj-rise__card, .tj-rise__card:hover { transition: none; transform: none; } }
