/* ==== /kit/glass.css ==== */
/* From the Ascension Kit 1.3 (the Academy repository, branch academy/levels-v2, commit c56001c, assets/levels/glass.css),
 * the template for every page of Sim's (Sim, 6 Nov 2026). Kept as the kit wrote it so improvements flow both ways; the one change
 * here: the comment word for design values reads "Design values" (this site's word gate bars the other word). The House layer
 * builds on it in /house.css. To upgrade: copy the kit's newer file over this one, keep the line above, run npm run build. */
/* glass.css: THE KIT'S TEXT-SURFACE SYSTEM, "the colour and texture of words" (6 Nov 2026). Page-agnostic.
 * Sim: "text that sits in that section ... on translucent glass that can be sized dynamically ... whenever it's my read it needs
 * to be highlighted in gold with your green, and whenever it's other text it needs to be highlighted somehow else."
 *
 * CLASS NAMES (fixed; used by page captions AND by text inside shots, charts and bespoke):
 *   .ts            the base surface: frosted glass (backdrop blur + saturate, solid fallback), sizes to its words
 *                  (inline-size:fit-content; max-inline-size:min(68ch,92%)), padding and radius scale with the container
 *                  (cqi: inside a shot that is the stage; elsewhere the viewport), a soft lifting shadow, a bright top edge.
 *   .ts--read      Sim's read. Deep forest-green glass with a faint gold inner glow, a POLISHED OLD-GOLD rim with a slow travelling
 *                  highlight, cream text, a small polished-gold plate label.   Label text comes from markup: <span class="ts__label">My read</span>
 *                  (or "Sim's read" where the words are in Scarlet's or the third person).
 *   .ts--fact      data and explanation (also the default with no modifier): navy glass, ice-blue hairline rim, cream text,
 *                  optional small ice label ("The data", "How it works").
 *   .ts--note      guardrails and compliance lines: graphite glass, champagne hairline, "Note" label, slightly smaller type; calm.
 *   .ts--source    sources and as-of lines: no glass; quiet mono small caps, low contrast but AA on the navy grounds.
 *   .ts--light     the cream close: ivory marble glass, gold rim for reads, sage for facts, dark ink. Added automatically under
 *                  any [data-era="light"] ancestor, or set it by hand.
 *   Markup:  <p class="ts ts--read"><span class="ts__label">My read</span><span class="ts__text">words</span></p>
 *            (the label is optional on every variant; the text span is optional: bare text works). Alignment: --ts-align:center|start.
 *   Design values (override on the surface or any ancestor):  --ts-ink, --ts-fill, --ts-fill-solid, --ts-rim (a gradient), --ts-pad-x, --ts-pad-y,
 *            --ts-radius, --ts-blur. Material values are --mat-* so the kit's materials library can take them over.
 *   Layout hooks are :where() (zero specificity): a page may set padding, margins or sizes on its own class and win.
 *   Entry: on the page (outside compositions) a surface rises and fades in when its section gets .is-near (the reel's near-view class).
 *          Inside a composition [data-composition-id] the SHOT's timeline owns opacity and transform (data-at / beats): this file never
 *          animates them there. The rim highlight and sheen are CSS-only and slow (14 s, 11 s); both stop under prefers-reduced-motion.
 *   Degrades: no backdrop-filter = a solid card; no JS = visible; present mode flattens captions into the presenter's own styling.
 *   Budget: one backdrop-filter per surface (keep three or fewer on screen), two pseudo-elements, no JS.
 *   Legacy: .xg-card / data-glass from the first pass are gone; compose.py caption_html() writes the .ts markup. */
:root{
  --mat-gold-ramp:#fff3d6,#f3d9a0 22%,#d9b46a 44%,#8f6d31 66%,#f0d594 84%,#b08a45;     /* polished old gold, lit from above */
  --mat-gold-rim:linear-gradient(160deg,var(--mat-gold-ramp));
  --mat-gold-spec:linear-gradient(105deg,transparent 40%,rgba(255,250,235,.9) 50%,transparent 60%);
  --mat-gold-plate:linear-gradient(150deg,#fff3d6 0%,#e6c887 30%,#b08a45 62%,#e9d093 100%);
  --mat-gold-ink:#2a1d08;
  --mat-ice-rim:linear-gradient(160deg,rgba(216,240,255,.7),rgba(159,214,255,.16) 50%,rgba(159,214,255,.4));
  --mat-champagne-rim:linear-gradient(160deg,rgba(240,226,196,.55),rgba(240,226,196,.1) 50%,rgba(240,226,196,.3));
  --mat-sage-rim:linear-gradient(160deg,rgba(176,206,182,.7),rgba(143,176,150,.16) 50%,rgba(143,176,150,.4));
  --mat-glass-edge:rgba(255,248,225,.5);
  --ts-cream:#eef2f6;
}

/* ---------------------------------------------------------------- the base surface (default look = fact) */
.ts,.x-capstack > .x-voice{
  --ts-ink:var(--ts-cream);
  --ts-fill:rgba(11,18,38,.5);--ts-fill-solid:rgba(11,18,38,.9);
  --ts-rim:var(--mat-ice-rim);--ts-blur:16px;
  --ts-label-ink:#bfe3ff;
  position:relative;display:grid;justify-items:var(--ts-align,start);gap:.5em;align-content:start;box-sizing:border-box;
  color:var(--ts-ink);text-shadow:none;text-wrap:pretty;
  background:var(--ts-fill-solid);
  box-shadow:inset 0 1px 0 var(--mat-glass-edge),inset 0 -14px 28px -18px rgba(216,240,255,.08),0 18px 44px -22px rgba(0,0,0,.65);
  overflow:hidden;isolation:isolate;
}
:where(.ts,.x-capstack > .x-voice){
  inline-size:fit-content;max-inline-size:min(68ch,92%);margin-inline:auto;
  padding:clamp(.55em,1.7cqi,1.05em) clamp(.85em,2.8cqi,1.5em) clamp(.6em,1.8cqi,1.1em);
  border-radius:clamp(10px,1.5cqi,16px);
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .ts,.x-capstack > .x-voice{background:var(--ts-fill);-webkit-backdrop-filter:blur(var(--ts-blur)) saturate(1.35);backdrop-filter:blur(var(--ts-blur)) saturate(1.35)}
}
/* the rim: a hairline drawn with a mask so the glass stays see-through; the variant sets --ts-rim */
.ts::before,.x-capstack > .x-voice::before{
  content:"";display:block;position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;z-index:2;
  background:var(--ts-rim);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
}
/* the sheen: one soft highlight crossing the glass every ~11 s */
.ts::after,.x-capstack > .x-voice::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:1;
  background:linear-gradient(105deg,transparent 38%,rgba(255,243,214,.13) 50%,transparent 62%) 120% 0/260% 100% no-repeat;
  animation:ts-sheen 11s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes ts-sheen{0%,12%{background-position:120% 0}58%,100%{background-position:-40% 0}}
@keyframes ts-glint{0%,10%{background-position:130% 0,0 0}50%,100%{background-position:-60% 0,0 0}}
.ts__text,.ts > *,.x-capstack > .x-voice > *{position:relative;z-index:3}
.ts__text{display:block;margin:0}
.ts > p,.ts > ul,.ts > ol{margin:0}
.ts > :where(p,ul,ol) + :where(p,ul,ol){margin-top:.6em}

/* the label: a small mark of what kind of words these are (fact: ice mono; read: a polished gold plate; note: champagne) */
.ts__label{
  position:relative;z-index:3;display:inline-block;
  font:600 .54em/1 var(--o-reel-mono,var(--x-mono,ui-monospace,Menlo,monospace));letter-spacing:.2em;text-transform:uppercase;
  color:var(--ts-label-ink);
}

/* ---------------------------------------------------------------- READ: Sim's voice, forest green with polished gold */
.ts--read{
  --ts-fill:rgba(12,44,34,.6);--ts-fill-solid:rgba(11,38,30,.93);
  --ts-rim:var(--mat-gold-rim);--ts-label-ink:var(--mat-gold-ink);
  background-image:radial-gradient(120% 140% at 0% 0%,rgba(243,217,160,.16),rgba(243,217,160,0) 60%),radial-gradient(90% 120% at 100% 100%,rgba(47,107,82,.34),rgba(47,107,82,0) 70%);
  box-shadow:inset 0 1px 0 rgba(255,248,225,.7),inset 0 0 38px -14px rgba(243,217,160,.35),0 18px 44px -22px rgba(0,0,0,.65);
}
.ts--read::before{
  background:var(--mat-gold-spec) 130% 0/300% 100% no-repeat,var(--mat-gold-rim);
  animation:ts-glint 14s cubic-bezier(.4,0,.2,1) infinite;
}
.ts--read > .ts__label{
  padding:.34em .62em .3em;border-radius:999px;background:var(--mat-gold-plate);
  box-shadow:0 1px 0 rgba(255,250,235,.8) inset,0 -1px 0 rgba(110,83,38,.5) inset,0 2px 8px -2px rgba(0,0,0,.5);
}

/* ---------------------------------------------------------------- FACT: navy glass, ice-blue hairline (the default; the class is for clarity) */
.ts--fact{}

/* ---------------------------------------------------------------- NOTE: guardrails, calm graphite and champagne */
.ts--note{
  --ts-fill:rgba(24,24,28,.62);--ts-fill-solid:rgba(24,24,28,.92);--ts-rim:var(--mat-champagne-rim);--ts-label-ink:#ecdcb6;--ts-blur:14px;
  font-size:.9em;
  box-shadow:inset 0 1px 0 rgba(255,244,214,.3),0 14px 34px -22px rgba(0,0,0,.7);
}
.ts--note::after{opacity:.5}

/* ---------------------------------------------------------------- SOURCE: no glass, quiet mono small caps */
.ts--source{
  background:none !important;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;overflow:visible;padding:0;border-radius:0;
  font:500 .72em/1.5 var(--o-reel-mono,var(--x-mono,ui-monospace,Menlo,monospace));letter-spacing:.14em;text-transform:uppercase;
  color:rgba(233,237,242,.66);
}
.ts--source::before,.ts--source::after{display:none}

/* ---------------------------------------------------------------- LIGHT: the cream close, ivory marble glass */
.ts--light,[data-era="light"] .ts{
  --ts-ink:#16101e;--ts-fill:rgba(255,251,240,.6);--ts-fill-solid:rgba(250,244,230,.94);--ts-label-ink:#4f6f5a;
  --ts-rim:var(--mat-sage-rim);
  background-image:linear-gradient(112deg,transparent 58%,rgba(176,138,69,.12) 58.3%,transparent 59%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 16px 36px -24px rgba(80,60,20,.45);
}
.ts--light.ts--read,[data-era="light"] .ts--read{--ts-rim:var(--mat-gold-rim);--ts-label-ink:var(--mat-gold-ink);
  background-image:radial-gradient(110% 130% at 0% 0%,rgba(143,176,150,.3),rgba(143,176,150,0) 62%),linear-gradient(112deg,transparent 58%,rgba(176,138,69,.16) 58.3%,transparent 59%)}
.ts--light.ts--note,[data-era="light"] .ts--note{--ts-rim:var(--mat-champagne-rim);--ts-label-ink:#7a5a1c}
.ts--light.ts--source,[data-era="light"] .ts--source{color:rgba(22,16,30,.62);background:none !important}
.ts--light::after,[data-era="light"] .ts::after{background-image:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.55) 50%,transparent 62%)}

/* ---------------------------------------------------------------- captions on the page: centred, a touch smaller than the old bare line */
.o-shot__caption .ts{--ts-align:center;text-align:center;font-size:.8em}
.o-shot__caption:has(.ts){padding-bottom:clamp(10px,2svh,22px) !important}
.x-capstack > .x-voice{--ts-align:center;text-align:center;max-inline-size:min(40em,100%)}
.x-capstack > .x-voice .x-voice__who{font-size:.54em}

/* ---------------------------------------------------------------- entry: on the page only (a shot's timeline owns its own surfaces) */
@media (prefers-reduced-motion:no-preference){
  html.o-reel-js section.o-shot .o-shot__caption .ts{
    transition:opacity 1s cubic-bezier(.2,.6,.2,1) .3s,transform 1.2s cubic-bezier(.2,.6,.2,1) .3s,filter 1s cubic-bezier(.2,.6,.2,1) .3s;
  }
  html.o-reel-js section.o-shot:not(.is-near) .o-shot__caption .ts{opacity:0;transform:translateY(14px) scale(.985);filter:blur(4px)}
}
@media (prefers-reduced-motion:reduce){
  .ts::after,.x-capstack > .x-voice::after{animation:none;opacity:0}
  .ts--read::before{animation:none}
}

/* present mode: the stage owns the frame; a caption dissolves into the presenter's own styling */
html.is-present .o-shot__caption .ts{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;padding:0;overflow:visible;background-image:none}
html.is-present .o-shot__caption .ts::before,html.is-present .o-shot__caption .ts::after,html.is-present .o-shot__caption .ts__label{display:none}
html.is-present .x-capstack > .x-voice{background:rgba(5,3,8,.55);overflow:visible}
html.is-present .x-capstack > .x-voice::before,html.is-present .x-capstack > .x-voice::after{display:none}

@media (max-width:600px){
  .o-shot__caption .ts{font-size:.9em}
  :where(.ts,.x-capstack > .x-voice){padding:clamp(.5em,1.6cqi,.7em) clamp(.7em,2.6cqi,1em)}
}
@media print{.ts{background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.ts::before,.ts::after{display:none}}

/* ==== /kit/levels.css ==== */
/* From the Ascension Kit 1.3 (the Academy repository, branch academy/levels-v2, commit c56001c, assets/levels/levels.css), the template for
 * every page of Sim's. Kept as the kit wrote it so improvements flow both ways. House edits: two comment words reworded for this site's word gate. */
/* The Excuse (/the-excuse), page CSS: the storm ground, chapter cards, Sim's words, the light era, the foot.
   The Train page's head CSS carries the series base (fonts, body, tooltips, tiles); reel.css carries the reel.
   Classes only. Brief THE-EXCUSE-BUILD-BRIEF-2026-10-30.md section 6.1: storm (#050308 into #0b1420) to C12,
   the Ocean's light era (#f6f1e7 to #efe6d3, ink #16101e, deep gold #b8862f) from ex-13c to the close. */
:root{--x-ink:#e9edf2;--x-ink2:rgba(233,237,242,.72);--x-quiet:rgba(233,237,242,.52);--x-gold:#e6cf9a;--x-line:rgba(255,255,255,.08);
  --x-mono:ui-monospace,SFMono-Regular,'SF Mono',Menlo,monospace;--x-display:'Satoshi','Inter',system-ui,sans-serif;
  --x-ease:cubic-bezier(.2,.6,.2,1)}

/* the storm: the page's ground from the hero to the cliff */
main.x-storm{display:block;background:
  radial-gradient(90% 60% at 50% 0%,rgba(11,20,32,1) 0%,rgba(5,3,8,0) 70%),
  linear-gradient(180deg,#0b1420 0,#050308 900px,#050308 calc(100% - 400px),#0b1420 100%)}

/* hero */
.x-hero{position:relative;padding:clamp(56px,8vw,120px) 24px clamp(40px,5vw,72px);overflow:clip}
.x-hero__inner{position:relative;max-width:980px;margin:0 auto}
.x-h1{position:relative;margin-top:22px;font-family:var(--x-display);font-weight:700;font-size:clamp(3rem,1.2rem + 7vw,7.6rem);
  line-height:.94;letter-spacing:-.04em;color:#fff;text-wrap:balance}
.x-sub{margin-top:22px;font-family:var(--x-display);font-weight:500;font-size:clamp(1.3rem,1rem + 1.2vw,2rem);line-height:1.25;
  letter-spacing:-.015em;color:#fff;max-width:30ch;text-wrap:balance}
.x-lede{margin-top:22px;max-width:62ch;font-size:clamp(1.05rem,1.3vw,1.2rem);line-height:1.65;color:var(--x-ink2);text-wrap:pretty}
.x-ghost{position:absolute;right:-.04em;top:-.12em;font-family:var(--x-display);font-weight:700;font-size:clamp(220px,30vw,460px);
  line-height:1;letter-spacing:-.06em;color:rgba(255,255,255,.03);pointer-events:none;user-select:none}
.x-hero-after{max-width:1200px;margin:0 auto;padding:clamp(40px,6vw,88px) 24px clamp(56px,7vw,110px)}

/* a chapter: card, Sim's words, the reel, plain words, the gauge it lights */
section.x-ch{position:relative;border-top:1px solid var(--x-line);padding:clamp(72px,9vw,130px) 0 clamp(48px,6vw,90px);overflow:clip}
.x-card{position:relative;max-width:1200px;margin:0 auto;padding:0 24px;min-height:min(62vh,640px);display:flex;flex-direction:column;justify-content:center}
.x-card .x-ghost{top:50%;transform:translateY(-50%)}
.x-eyebrow{display:flex;align-items:center;gap:12px;font-family:var(--x-mono);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--x-ink2)}
.x-eyebrow__num{color:var(--x-quiet);letter-spacing:.14em;font-size:.82rem}
.x-eyebrow__rule{display:inline-block;width:22px;height:1px;background:#33adff}
.x-h2{position:relative;margin-top:18px;font-family:var(--x-display);font-weight:700;font-size:clamp(2.4rem,1.2rem + 4.6vw,5.4rem);
  line-height:1;letter-spacing:-.035em;color:#fff;text-wrap:balance;max-width:16ch}
.x-arc{margin-top:18px;font-size:clamp(1.05rem,.95rem + .6vw,1.4rem);line-height:1.45;color:var(--x-ink2);max-width:42ch;text-wrap:pretty}
/* the card assembles when it arrives (reel.js toggles .is-on on a step; alive.js reveals on scroll) */
html.o-reel-js .x-card.is-on .x-h2,html.o-reel-js .x-card.is-on .x-arc{animation:x-rise .9s var(--x-ease) both}
html.o-reel-js .x-card.is-on .x-arc{animation-delay:.25s}
@keyframes x-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}

.x-words{max-width:68ch;margin:clamp(28px,4vw,48px) auto clamp(40px,6vw,80px);padding:0 24px;display:grid;gap:18px}
.x-words p{font-size:1.0625rem;line-height:1.7;color:var(--x-ink);text-wrap:pretty}
.x-words--after{margin-top:clamp(40px,6vw,80px)}
.x-asof{max-width:68ch;margin:-24px auto 40px;padding:0 24px;font-family:var(--x-mono);font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--x-quiet)}
.x-teach{max-width:68ch;margin:clamp(40px,6vw,72px) auto 0;padding:22px 26px 22px 30px;position:relative;
  border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.035)}
.x-teach::before{content:"";position:absolute;left:14px;top:22px;bottom:22px;width:1px;background:var(--x-gold);opacity:.8}
.x-teach__label{font-family:var(--x-mono);font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--x-quiet);margin-bottom:10px}
.x-teach ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.x-teach li{font-size:.98rem;line-height:1.6;color:var(--x-ink2);text-wrap:pretty}
.x-gauge{max-width:68ch;margin:24px auto 0;padding:0 24px;display:flex;align-items:center;gap:10px;font-family:var(--x-mono);
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--x-ink2)}
.x-gauge b{color:#fff;font-weight:600}
.x-gauge__ring{width:14px;height:14px;border-radius:50%;border:2px solid #33adff;box-shadow:0 0 12px rgba(51,173,255,.5);flex:0 0 auto}

/* the reel on this page: the caption keeps Sim's voice, under the stage */
section.o-shot{position:relative}
html:not(.o-reel-js) section.o-shot{max-width:1280px;margin:clamp(28px,5vw,64px) auto;padding:0 16px}
.o-shot__stage{position:relative;aspect-ratio:16/9;margin:0 auto}
.o-shot__stage > [data-composition-id]{position:absolute;inset:0}
.o-shot__pin{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.o-shot__caption{color:var(--x-ink)}
.o-shot__beats,.o-shot__what{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html:not(.o-reel-js) .o-shot__what{position:static;width:auto;height:auto;clip-path:none;white-space:normal;max-width:68ch;margin:10px auto 0;font-size:.9rem;color:var(--x-quiet)}

/* the light era: the page arrives in morning light at ex-13c and stays there to the close */
[data-era="light"]{--x-ink:#16101e;--x-ink2:#57525f;--x-quiet:rgba(22,16,30,.55);--x-gold:#b8862f;--x-line:rgba(22,16,30,.1);
  --o-reel-ink:#16101e;--o-reel-gold:#b8862f;color:#16101e}
.x-era[data-era="light"],section.x-ch[data-era="light"]{background:linear-gradient(180deg,#f6f1e7 0%,#efe6d3 100%)}
.x-era[data-era="light"]{padding:clamp(48px,7vw,110px) 0 clamp(48px,6vw,90px);margin-bottom:calc(-1 * clamp(48px,6vw,90px));
  box-shadow:0 -120px 120px -40px #efe6d3 inset}
.x-era[data-era="light"]::before{content:"";display:block;height:clamp(80px,12vw,180px);margin-top:calc(-1 * clamp(48px,7vw,110px));
  background:linear-gradient(180deg,#050308,#f6f1e7)}
section.x-ch[data-era="light"]{border-top:0}
[data-era="light"] .x-h2,[data-era="light"] .x-gauge b{color:#16101e}
[data-era="light"] .x-h2 span{background:linear-gradient(108deg,#b8862f 0%,#7a5a1c 100%)!important;-webkit-background-clip:text!important;background-clip:text!important}
[data-era="light"] .x-ghost{color:rgba(22,16,30,.045)}
[data-era="light"] .x-teach{border-color:rgba(22,16,30,.12);background:rgba(255,255,255,.55)}
[data-era="light"] .o-shot__caption{color:#16101e;text-shadow:0 0 18px rgba(255,253,248,.85)}
[data-era="light"] dfn[data-tip]{text-decoration-color:rgba(22,16,30,.45)}

/* the foot */
.x-foot{background:#0b1420;padding:clamp(40px,6vw,80px) 24px clamp(48px,6vw,90px)}
.x-foot__inner{max-width:1200px;margin:0 auto}
.x-foot-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:56px}
@media (max-width:820px){.x-foot-grid{grid-template-columns:minmax(0,1fr)}}
.x-foot-card{border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.035);padding:22px 24px}
.x-foot-h{font-family:var(--x-mono);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--x-quiet);font-weight:500;margin-bottom:10px}
.x-calls{list-style:none;margin:0;padding:0;display:grid;gap:0}
.x-calls li{padding:9px 0 9px 22px;border-top:1px solid rgba(255,255,255,.08);font-size:.92rem;line-height:1.5;color:var(--x-ink);position:relative}
.x-calls li::before{content:"";position:absolute;left:0;top:1.05em;width:12px;height:2px;background:var(--x-gold);transform:skewX(-30deg)}
.x-faq{margin-top:14px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.035);padding:22px 24px 8px}
.x-faq__q{border-top:1px solid rgba(255,255,255,.08)}
.x-faq__q > summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;
  font-family:var(--x-display);font-weight:600;font-size:1.02rem;line-height:1.35;color:#fff}
.x-faq__q > summary::-webkit-details-marker{display:none}
.x-faq__q > summary::after{content:"+";flex:0 0 auto;font-family:var(--x-mono);font-weight:400;color:var(--x-gold);transition:transform .3s var(--x-ease)}
.x-faq__q[open] > summary::after{transform:rotate(45deg)}
.x-faq__q p{padding:0 0 16px;max-width:72ch;font-size:.94rem;line-height:1.65;color:var(--x-ink2);text-wrap:pretty}
details.x-sources{margin-top:14px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.035);padding:0 24px}
details.x-sources > summary{cursor:pointer;padding:18px 0;font-family:var(--x-mono);font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--x-ink2)}
.x-src{columns:2 320px;column-gap:32px;padding-bottom:20px}
.x-src__group{break-inside:avoid;margin-bottom:16px}
.x-src__ch{font-family:var(--x-mono);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--x-quiet);margin-bottom:6px}
.x-src ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.x-src li{font-size:.86rem;line-height:1.5;color:var(--x-ink2)}
.x-src a{color:#8fcbff}
.x-src__shot{font-weight:500;color:var(--x-ink)}
.x-src__note{display:block;font-family:var(--x-mono);font-size:.72rem;font-variant:small-caps;letter-spacing:.04em;color:var(--x-quiet);margin-top:1px}
.x-about{display:flex;align-items:center;gap:18px;margin-top:14px;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:rgba(255,255,255,.035);padding:24px}
.x-about img{width:88px;height:88px;border-radius:50%;object-fit:cover;object-position:50% 22%;flex:0 0 auto;border:2px solid rgba(255,255,255,.2)}
.x-about__eyebrow{font-family:var(--x-mono);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--x-quiet)}
.x-about h3{font-family:var(--x-display);font-weight:700;font-size:1.4rem;margin-top:6px;color:#fff}
.x-about p:last-child{font-size:.86rem;color:var(--x-ink2);margin-top:4px;line-height:1.45}

/* the recording of the presentation, at the top: a click-to-load facade over the page's own opening frame */
.x-video{position:relative;z-index:1;max-width:1200px;margin:clamp(32px,4vw,56px) auto clamp(28px,4vw,56px)}
.x-video__frame{position:relative;display:block;aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:22px;
  border:1px solid rgba(230,207,154,.22);background:#050308;color:#fff;text-decoration:none;isolation:isolate;
  box-shadow:0 40px 120px -48px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.03) inset;
  transition:border-color .5s var(--x-ease),box-shadow .5s var(--x-ease)}
.x-video__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.015);
  transition:transform 1.4s var(--x-ease),filter .8s var(--x-ease);filter:saturate(1.02) brightness(.92)}
.x-video__shade{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(5,3,8,0) 42%,rgba(5,3,8,.55) 78%,rgba(5,3,8,.86) 100%),
             radial-gradient(60% 60% at 50% 46%,rgba(5,3,8,0) 0%,rgba(5,3,8,.28) 100%)}
.x-video__play{position:relative;flex:0 0 auto;width:clamp(56px,6vw,88px);height:clamp(56px,6vw,88px);border-radius:50%;
  display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#f6e6bd 0%,#e6cf9a 46%,#b8862f 100%);
  box-shadow:0 0 0 1px rgba(255,240,205,.5) inset,0 18px 50px -12px rgba(230,207,154,.55);
  transition:transform .45s var(--x-ease),box-shadow .45s var(--x-ease)}
.x-video__play::after{content:"";position:absolute;inset:-10px;border-radius:50%;border:1px solid rgba(230,207,154,.45);
  animation:x-ring 2.8s var(--x-ease) infinite}
.x-video__play svg{width:42%;height:42%;margin-left:6%;fill:#16101e}
.x-video__meta{position:absolute;z-index:2;left:clamp(16px,3vw,40px);right:clamp(16px,3vw,40px);bottom:clamp(14px,2.6vw,34px);
  display:flex;align-items:center;gap:clamp(14px,2vw,26px);text-align:left}
.x-video__words{display:grid;gap:6px;min-width:0}
.x-video__label{font-family:var(--x-mono);font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--x-gold)}
.x-video__title{font-family:var(--x-display);font-weight:700;font-size:clamp(1.1rem,.8rem + 1.3vw,2rem);line-height:1.15;
  letter-spacing:-.015em;color:#fff;text-wrap:balance;max-width:28ch}
.x-video__date{font-family:var(--x-mono);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(233,237,242,.6)}
.x-video__frame:hover,.x-video__frame:focus-visible{border-color:rgba(230,207,154,.5);box-shadow:0 40px 120px -40px rgba(0,0,0,.9),0 0 60px -20px rgba(230,207,154,.35)}
.x-video__frame:hover .x-video__poster,.x-video__frame:focus-visible .x-video__poster{transform:scale(1.04);filter:saturate(1.08) brightness(1)}
.x-video__frame:hover .x-video__play,.x-video__frame:focus-visible .x-video__play{transform:scale(1.08)}
.x-video__frame:focus-visible{outline:2px solid var(--x-gold);outline-offset:4px}
.x-video__frame--live{border-color:rgba(255,255,255,.12)}
.x-video__frame--live iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.x-video__cap{max-width:68ch;margin:14px auto 0;text-align:center;font-size:.9rem;line-height:1.55;color:var(--x-quiet);text-wrap:pretty}
.x-video__cap a{color:var(--x-ink2);text-decoration:underline;text-decoration-color:rgba(230,207,154,.5);text-underline-offset:3px}
.x-video__cap a:hover{color:#fff}
@keyframes x-ring{0%{transform:scale(.92);opacity:.0}35%{opacity:.9}100%{transform:scale(1.35);opacity:0}}
@media (max-width:600px){
  .x-video{margin:26px -8px 22px}
  .x-video__frame{border-radius:16px}
  .x-video__play{width:48px;height:48px}
  .x-video__title{font-size:1rem}
  .x-video__date{display:none}
  .x-video__label{display:none}
}
html.is-present .x-video{display:none}

/* the chrome over the reel (assets/levels/chrome.js sets the classes; present mode is untouched):
   the fixed nav never covers a pinned stage, so the pin starts under it */
html.o-reel-js:not(.is-present){--x-nav-h:64px;--o-pin-top:var(--x-nav-h);--o-pin-h:calc(100svh - var(--x-nav-h))}
@media (max-width:560px){html.o-reel-js:not(.is-present){--x-nav-h:56px}}
/* captions run wider than the reel's default, so a long one takes two lines, not four */
@media (min-width:900px){html.o-reel-js:not(.is-present) .o-shot__caption{max-width:min(100%,48em)}}
/* over the morning light the glass chrome goes solid, so it never turns muddy grey on cream */
html.x-nav-light:not(.is-present) header[data-nav]{background:rgba(11,20,32,.94)!important}
html.x-nav-light button.x-soundpill,html.x-nav-light .o-keychip.o-keychip{background:rgba(11,20,32,.94)}
/* in the foot the key chip steps aside, off the footer's words */
html.x-at-foot .o-keychip.o-keychip{opacity:0;pointer-events:none;transition:opacity .4s var(--x-ease)}
/* scene shots melt into the page at their edges instead of sitting in a box */
html:not(.is-present) .x-storm section.o-shot:is([data-look="parallax"],[data-look="iso"],[data-look="light"]) .o-shot__stage{
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(180deg,transparent 0,#000 6%,#000 94%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(180deg,transparent 0,#000 6%,#000 94%,transparent 100%);
  mask-composite:intersect}

/* phones: a shot with a portrait twin (section[data-portrait]) shows it on a 4:5 stage, narrow and upright only;
   landscape phones, desktops and present mode keep the 16:9 composition. The inactive twin is hidden with visibility,
   not display, so its gradients still resolve and GSAP can still measure it while it builds. */
.o-shot__stage > [data-composition-id][data-orient="p"]{visibility:hidden;pointer-events:none}
@media (max-width:600px) and (orientation:portrait){
  html:not(.is-present) section.o-shot[data-portrait] .o-shot__stage{aspect-ratio:4/5}
  html.o-reel-js:not(.is-present) section.o-shot[data-portrait] .o-shot__stage{width:min(100%,calc((var(--o-pin-h) - var(--o-cap-room)) * 4 / 5))}
  html:not(.is-present) section.o-shot[data-portrait] .o-shot__stage > [data-composition-id]:not([data-orient="p"]){visibility:hidden;pointer-events:none}
  html:not(.is-present) section.o-shot[data-portrait] .o-shot__stage > [data-composition-id][data-orient="p"]{visibility:visible;pointer-events:auto}
}

/* present mode: the chrome steps back, the stage is the frame */
html.is-present .x-words,html.is-present .x-teach,html.is-present .x-gauge,html.is-present .x-asof{opacity:.0;pointer-events:none;height:0;margin:0;padding:0;overflow:hidden;border:0}
html.is-present .x-card{min-height:var(--o-stage-h,100vh)}
html.is-present .x-onescreen{min-height:var(--o-stage-h,100vh);display:flex;flex-direction:column;justify-content:center}

/* Scarlet's sound pill: bottom right, out of the stage's way; present mode hides it (M does the same) */
button.x-soundpill{position:fixed;right:16px;bottom:16px;z-index:520;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:rgba(11,20,32,.62)}
.x-voice::before{content:"SCARLET"}

@media (prefers-reduced-motion:reduce){html.o-reel-js .x-card.is-on .x-h2,html.o-reel-js .x-card.is-on .x-arc{animation:none}
  .x-video__play::after{animation:none;opacity:0}.x-video__poster,.x-video__play{transition:none}}
@media print{main.x-storm,.x-foot{background:none}}

/* ---- Levels of the Levels: depth in drawers, the legend, the board rows, the "what would make me wrong" card ------- */
.x-words{max-width:56ch;gap:14px}
.x-words p{font-size:clamp(1.12rem,1rem + .4vw,1.3rem);line-height:1.55;color:var(--x-ink)}
details.lv-deeper{max-width:72ch;margin:clamp(28px,4vw,44px) auto 0;padding:0 24px}
details.lv-deeper > summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:12px;padding:12px 20px 12px 16px;
  border:1px solid var(--x-line);border-radius:999px;background:rgba(255,255,255,.03);font-family:var(--x-mono);font-size:.72rem;
  letter-spacing:.2em;text-transform:uppercase;color:var(--x-ink2);transition:border-color .3s var(--x-ease),color .3s var(--x-ease),background .3s var(--x-ease)}
details.lv-deeper > summary::-webkit-details-marker{display:none}
details.lv-deeper > summary::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--x-gold);box-shadow:0 0 12px rgba(230,207,154,.6)}
details.lv-deeper > summary::after{content:"";width:8px;height:8px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;
  transform:translateY(-2px) rotate(45deg);transition:transform .35s var(--x-ease);margin-left:4px}
details.lv-deeper[open] > summary::after{transform:translateY(2px) rotate(-135deg)}
details.lv-deeper > summary:hover,details.lv-deeper > summary:focus-visible{border-color:rgba(230,207,154,.45);color:var(--x-ink);background:rgba(230,207,154,.05)}
.lv-deeper__body{margin-top:22px;padding:26px 30px;border:1px solid var(--x-line);border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));display:grid;gap:16px}
.lv-deeper__body p{font-size:1.02rem;line-height:1.72;color:var(--x-ink2);text-wrap:pretty}
html.o-reel-js details.lv-deeper[open] .lv-deeper__body{animation:x-rise .6s var(--x-ease) both}
/* the legend: two columns of meaning, the mark in mono */
.lv-legend table{width:100%;border-collapse:collapse;font-size:.95rem;line-height:1.5}
.lv-legend th,.lv-legend td{padding:12px 14px 12px 0;border-top:1px solid var(--x-line);text-align:left;vertical-align:top;color:var(--x-ink2)}
.lv-legend thead th{border-top:0;font-family:var(--x-mono);font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--x-quiet);font-weight:500}
.lv-legend tbody th{font-family:var(--x-display);font-weight:700;color:var(--x-ink);width:28%}
.lv-legend td:last-child{color:var(--x-ink)}
.lv-legend__rules{margin-top:20px}
.lv-legend__note{font-size:.9rem !important;color:var(--x-quiet) !important}
/* the board rows an act lights: chips, verdict in gold */
.lv-board-rows{max-width:72ch;margin:clamp(28px,4vw,44px) auto 0;padding:0 24px}
.lv-board-rows ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.lv-board-rows li{display:inline-flex;align-items:baseline;gap:10px;padding:9px 16px;border:1px solid var(--x-line);border-radius:999px;background:rgba(255,255,255,.025)}
.lv-board-rows li span{font-family:var(--x-display);font-weight:700;font-size:.95rem;color:var(--x-ink)}
.lv-board-rows li b{font-family:var(--x-mono);font-weight:500;font-size:.66rem;letter-spacing:.16em;color:var(--x-gold)}
/* what would make me wrong */
.lv-wrong{max-width:64ch;margin:clamp(40px,6vw,72px) auto 0;padding:26px 30px;border:1px solid rgba(184,134,47,.35);border-radius:18px;background:rgba(255,253,248,.55)}
.lv-wrong ol{margin:0 0 14px;padding-left:1.2em;display:grid;gap:8px}
.lv-wrong li,.lv-wrong p{font-size:1.02rem;line-height:1.6;color:#16101e}
[data-era="light"] details.lv-deeper > summary{color:#57525f;border-color:rgba(22,16,30,.14);background:rgba(255,255,255,.5)}
[data-era="light"] .lv-deeper__body{border-color:rgba(22,16,30,.12);background:rgba(255,255,255,.5)}
[data-era="light"] .lv-deeper__body p{color:#16101e}

/* ---- The dawn (Sim, 5 Nov 2026: "these pages slowly go from darkness to light over time"). Each act's ground continues
   from the last: deep night, blue hour, violet, dusk rose, then a long sunrise into the close's morning cream. The shots
   are transparent, so their light sits on the sky of their own act. Contrast stays AA for the light ink through c07. */
section.x-ch{border-top-color:rgba(255,255,255,.05)}
section.x-ch#c01{background:linear-gradient(180deg,#070b14 0%,#0a1220 100%)}
section.x-ch#c02{background:linear-gradient(180deg,#0a1220 0%,#0d1626 100%)}
section.x-ch#c03{background:linear-gradient(180deg,#0d1626 0%,#121a2c 100%)}
section.x-ch#c04{background:linear-gradient(180deg,#121a2c 0%,#171c31 100%)}
section.x-ch#c05{background:linear-gradient(180deg,#171c31 0%,#1e1e35 100%)}
section.x-ch#c06{background:linear-gradient(180deg,#1e1e35 0%,#282237 100%)}
section.x-ch#c07{background:linear-gradient(180deg,#282237 0%,#352638 72%,#3d2a39 100%)}
/* the sunrise: a long ramp before the close's card, with the sun's first glow low on the horizon */
section.x-ch#close{position:relative;padding-top:0;background:linear-gradient(180deg,#f6f1e7 0%,#efe6d3 100%)}
section.x-ch#close::before{content:"";display:block;height:clamp(420px,78vh,900px);margin-bottom:clamp(40px,6vw,80px);
  background:
    radial-gradient(120% 60% at 50% 100%,rgba(255,226,170,.55) 0%,rgba(255,226,170,0) 60%),
    linear-gradient(180deg,#3d2a39 0%,#5a3a44 18%,#8a5a52 34%,#c08566 50%,#e2b07f 64%,#f0d3a6 78%,#f5e8cf 90%,#f6f1e7 100%)}
section.x-ch#close .x-era[data-era="light"]::before{display:none}
section.x-ch#close .x-era[data-era="light"]{background:none;padding-top:0;margin-bottom:0}
@media (prefers-reduced-motion:no-preference){
  html.o-reel-js section.x-ch .x-card,html.o-reel-js section.x-ch .x-words,html.o-reel-js details.lv-deeper,html.o-reel-js .lv-board-rows{
    transition:opacity 1.2s cubic-bezier(.2,.6,.2,1),transform 1.2s cubic-bezier(.2,.6,.2,1)}
}

/* ---- the close: the steps, and the dawn ------------------------------------------------------------------------- */
.lv-steps{max-width:880px;margin:clamp(56px,8vw,110px) auto 0;padding:0 24px}
.lv-steps__lead{max-width:60ch;font-size:clamp(1.08rem,1rem + .35vw,1.25rem);line-height:1.6;color:#57525f;margin:0 0 30px;text-wrap:pretty}
.lv-steps ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:16px}
.lv-steps li{display:flex;gap:18px;padding:24px 26px;border:1px solid rgba(184,134,47,.28);border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,253,248,.5));box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 18px 40px -28px rgba(122,90,28,.35)}
.lv-steps__n{flex:none;font-family:var(--x-mono);font-size:.78rem;letter-spacing:.14em;color:#b8862f;padding-top:5px}
.lv-steps h3{margin:0 0 6px;font-family:var(--x-display);font-weight:700;font-size:1.22rem;letter-spacing:-.01em;color:#16101e}
.lv-steps li p{margin:0;font-size:1rem;line-height:1.6;color:#3d3746;text-wrap:pretty}
.lv-dawn{position:relative;max-width:760px;margin:clamp(80px,11vw,150px) auto 0;padding:0 24px clamp(40px,6vw,80px);text-align:center}
.lv-dawn::before{content:"";position:absolute;left:50%;top:-140px;width:min(820px,120vw);height:520px;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(50% 50% at 50% 50%,rgba(240,200,130,.38) 0%,rgba(240,200,130,0) 70%)}
.lv-dawn__h{position:relative}
.lv-dawn__words{position:relative;display:grid;gap:20px;margin-top:30px}
.lv-dawn__words p{margin:0;font-size:clamp(1.1rem,1rem + .45vw,1.32rem);line-height:1.7;color:#2a2433;text-wrap:pretty}
.lv-dawn__words p.lv-dawn__sign{margin-top:14px;font-family:var(--x-display);font-weight:700;font-size:clamp(1.4rem,1.1rem + 1vw,2rem);letter-spacing:-.01em;
  background:linear-gradient(108deg,#b8862f 0%,#7a5a1c 100%);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ======================================================================================================================
   V2 SECTIONS (6 Nov 2026, Sim: "I love how the new charts have that greenish background and how that blends into the
   blues ... the gold accents look absolutely beautiful ... apply that style further into the stuff you inherited from V1").
   The shots' family for everything outside the shots: deep forest-green glows pooled into the navy (the universe layer
   still shows through, these are transparent washes), gold hairline rims and accents, glass where a block stands alone
   (glass.css values), LUXE easing, reduced-motion safe. Words and elements are untouched; this block only restyles.
   Page-agnostic: it keys on the kit's classes (x-ch, x-card, x-words, x-teach, lv-deeper ...), design values at the top.
   ====================================================================================================================== */
:root{--mat-marble:ivory;--mat-glass:rgba(10,22,24,.42);--xs-green-1:31,74,58;--xs-green-2:47,107,82;--xs-green-3:20,56,44;--xs-gold:243,217,160;--xs-gold-d:176,138,69;
  --xs-glass:rgba(10,22,24,.42);--xs-glass-solid:rgba(10,22,24,.86);--xs-rim:rgba(var(--xs-gold),.26)}

/* a glass surface (the kit's glass family, for blocks that stand alone), with a gold hairline ring */
.x-lede,.x-faq,details.x-sources,.x-foot-card,.x-about,.lv-board-rows li,details.lv-deeper > summary{
  background:var(--xs-glass-solid);box-shadow:0 0 0 1px var(--xs-rim) inset,0 1px 0 rgba(255,243,214,.1) inset,0 22px 50px -30px rgba(0,0,0,.7);border-color:transparent}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .x-lede,.x-faq,details.x-sources,.x-foot-card,.x-about,.lv-board-rows li,details.lv-deeper > summary{
    background:var(--xs-glass);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3)}
}
.x-lede{padding:clamp(18px,2.4vw,28px) clamp(20px,2.8vw,32px);border-radius:20px;max-width:58ch;color:var(--x-ink)}
/* teach cards and drawers are kit text surfaces (.ts, glass.css): full column width, no V1 border or gold bar */
.x-teach.ts,.lv-deeper__body.ts{inline-size:auto;max-inline-size:none;border:0;display:grid;gap:.6em}
.x-teach.ts{max-width:68ch}
.x-teach.ts::before{left:0;top:0;bottom:0;width:auto;opacity:1}
.lv-deeper__body.ts{max-width:none}
.lv-deeper__body.ts p{margin:0}
.x-foot-h,.x-src__ch,.x-eyebrow__num{color:rgba(var(--xs-gold),.78)}

/* the ground of each act: forest-green pools blending into the navy, behind the content, above the universe */
section.x-ch,.x-hero{isolation:isolate}
section.x-ch:not(#close)::before,.x-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(62% 46% at 14% 8%,rgba(var(--xs-green-1),.62),rgba(var(--xs-green-1),0) 72%),
    radial-gradient(46% 38% at 88% 38%,rgba(var(--xs-green-2),.2),rgba(var(--xs-green-2),0) 72%),
    radial-gradient(70% 34% at 50% 100%,rgba(var(--xs-green-3),.5),rgba(var(--xs-green-3),0) 74%)}
section.x-ch:nth-of-type(even):not(#close)::before{background:
    radial-gradient(60% 44% at 86% 10%,rgba(var(--xs-green-1),.58),rgba(var(--xs-green-1),0) 72%),
    radial-gradient(48% 40% at 10% 52%,rgba(var(--xs-green-2),.18),rgba(var(--xs-green-2),0) 72%),
    radial-gradient(70% 34% at 50% 100%,rgba(var(--xs-green-3),.5),rgba(var(--xs-green-3),0) 74%)}
.x-hero::before{background:
    radial-gradient(54% 60% at 18% 30%,rgba(var(--xs-green-1),.7),rgba(var(--xs-green-1),0) 72%),
    radial-gradient(40% 50% at 84% 62%,rgba(var(--xs-green-2),.22),rgba(var(--xs-green-2),0) 72%),
    radial-gradient(34% 40% at 70% 12%,rgba(var(--xs-gold),.07),rgba(var(--xs-gold),0) 72%)}
/* a gold hairline between acts, fading at both ends */
section.x-ch{border-top:1px solid transparent;border-image:linear-gradient(90deg,rgba(var(--xs-gold),0),rgba(var(--xs-gold),.34),rgba(var(--xs-gold),0)) 1}
section.x-ch#close,section.x-ch[data-era="light"]{border-image:none;border-top:0}

/* the chapter opening: gold numeral and rule, the accent word in old gold, the arc in softer ink */
.x-eyebrow__rule{height:1px;width:34px;background:linear-gradient(90deg,rgba(var(--xs-gold),.95),rgba(var(--xs-gold),0))}
.x-storm .x-h1 span,.x-storm .x-h2 span,.x-hero .x-h1 span{
  background:linear-gradient(108deg,#fff3d6 0%,#f3d9a0 34%,#d9b46a 68%,#b08a45 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important}
[data-era="light"] .x-h2 span{background:linear-gradient(108deg,#b08a45 0%,#6e5326 100%)!important;-webkit-background-clip:text!important;background-clip:text!important}
.x-ghost{color:rgba(var(--xs-gold),.045)}
.x-sub{color:#fff3d6}
.x-arc{color:rgba(233,237,242,.78)}
.x-gauge__ring{border-color:rgba(var(--xs-gold),.9);box-shadow:0 0 12px rgba(var(--xs-gold),.45)}
.x-gauge b{color:#f3d9a0}
.x-words p{color:rgba(238,242,246,.94)}

/* the "go deeper" pill and the legend / board chips */
details.lv-deeper > summary{border:0}
details.lv-deeper > summary::before{background:linear-gradient(135deg,#fff3d6,#b08a45);box-shadow:0 0 12px rgba(var(--xs-gold),.6)}
details.lv-deeper > summary:hover,details.lv-deeper > summary:focus-visible{background:rgba(var(--xs-green-2),.28);box-shadow:0 0 0 1px rgba(var(--xs-gold),.55) inset,0 0 30px -10px rgba(var(--xs-gold),.35)}
.lv-legend thead th{color:rgba(var(--xs-gold),.78)}
.lv-legend th,.lv-legend td{border-top-color:rgba(var(--xs-gold),.14)}
.lv-board-rows li b{color:#f3d9a0}
.lv-board-rows li{padding:9px 16px}

/* the foot: forest to navy, gold rim on its cards, gold links */
.x-foot{background:radial-gradient(70% 60% at 20% 0%,rgba(var(--xs-green-1),.6),rgba(var(--xs-green-1),0) 70%),linear-gradient(180deg,#0b1420 0%,#0a1b19 100%)}
.x-calls li{border-top-color:rgba(var(--xs-gold),.14)}
.x-calls li::before{background:linear-gradient(90deg,#f3d9a0,#b08a45)}
.x-faq__q{border-top-color:rgba(var(--xs-gold),.14)}
.x-src a,.x-video__cap a{color:#f3d9a0;text-decoration-color:rgba(var(--xs-gold),.45)}
.x-about img{border-color:rgba(var(--xs-gold),.55)}

/* the cream close: ivory marble with sage and emerald washes and gold veins (the universe paints the cream; this adds the stone) */
html section.x-ch#close .x-era[data-era="light"]{position:relative;isolation:isolate}
html section.x-ch#close .x-era[data-era="light"]::before,html.u-on section.x-ch#close .x-era[data-era="light"]::before{
  /* MARBLE (--mat-marble: sage and emerald clouds, soft grey-umber veins, gold-leaf veins that catch a slow light) */
  content:"";display:block;position:absolute;inset:0;height:auto;margin:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(46% 30% at 12% 12%,rgba(143,176,150,.34),rgba(143,176,150,0) 70%),
    radial-gradient(40% 30% at 90% 38%,rgba(63,143,110,.17),rgba(63,143,110,0) 70%),
    radial-gradient(52% 28% at 28% 78%,rgba(143,176,150,.26),rgba(143,176,150,0) 70%),
    radial-gradient(44% 26% at 80% 94%,rgba(63,143,110,.14),rgba(63,143,110,0) 70%),
    linear-gradient(112deg,rgba(150,138,118,0) 24.6%,rgba(150,138,118,.14) 24.9%,rgba(150,138,118,0) 25.6%),
    linear-gradient(109deg,rgba(150,138,118,0) 41.2%,rgba(150,138,118,.1) 41.4%,rgba(150,138,118,0) 42.2%),
    linear-gradient(123deg,rgba(150,138,118,0) 63.2%,rgba(150,138,118,.12) 63.5%,rgba(150,138,118,0) 64.3%),
    linear-gradient(115deg,rgba(150,138,118,0) 88.1%,rgba(150,138,118,.1) 88.4%,rgba(150,138,118,0) 89.2%),
    linear-gradient(112deg,rgba(176,138,69,0) 31.6%,rgba(176,138,69,.3) 31.9%,rgba(176,138,69,0) 32.3%),
    linear-gradient(118deg,rgba(176,138,69,0) 55.2%,rgba(176,138,69,.24) 55.4%,rgba(176,138,69,0) 55.9%),
    linear-gradient(104deg,rgba(176,138,69,0) 76.7%,rgba(176,138,69,.26) 76.9%,rgba(176,138,69,0) 77.4%)}
/* the gold leaf catching light: one soft highlight drifting down the page's veins (a moving glint, so only without reduced motion) */
@media (prefers-reduced-motion:no-preference){
  html section.x-ch#close .x-era[data-era="light"]::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;mix-blend-mode:soft-light;
    background:linear-gradient(112deg,transparent 40%,rgba(255,244,214,.55) 50%,transparent 60%) 140% 0/260% 100% no-repeat;animation:xs-leaf 18s cubic-bezier(.4,0,.2,1) infinite}
  @keyframes xs-leaf{0%,15%{background-position:140% 0}60%,100%{background-position:-50% 0}}
}
.lv-steps li,.lv-wrong{
  border:0;background:linear-gradient(160deg,rgba(255,252,243,.82),rgba(236,228,212,.56));
  box-shadow:0 0 0 1px rgba(176,138,69,.4) inset,0 1px 0 rgba(255,255,255,.95) inset,0 22px 46px -30px rgba(80,60,20,.45);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.lv-steps li{position:relative;overflow:hidden}
.lv-steps li::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(112deg,transparent 62%,rgba(176,138,69,.16) 62.4%,transparent 63%),radial-gradient(60% 80% at 100% 0%,rgba(143,176,150,.22),transparent 70%)}
.lv-steps__n{color:#8a6420}
.lv-dawn::before{background:radial-gradient(50% 50% at 50% 50%,rgba(143,176,150,.28) 0%,rgba(240,200,130,.2) 40%,rgba(240,200,130,0) 70%)}
[data-era="light"] .x-lede,[data-era="light"] .x-faq,[data-era="light"] .x-foot-card{
  background:linear-gradient(160deg,rgba(255,252,243,.78),rgba(236,228,212,.5));box-shadow:0 0 0 1px rgba(176,138,69,.34) inset,0 1px 0 rgba(255,255,255,.9) inset}
[data-era="light"] details.lv-deeper > summary{background:rgba(255,252,243,.66);box-shadow:0 0 0 1px rgba(176,138,69,.36) inset;color:#57525f}

/* graceful entrance: blocks rise as they enter the view (scroll-driven, LUXE easing); unsupported browsers just show them */
@keyframes xs-in{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .x-words p,.x-teach,.x-lede,details.lv-deeper,.lv-board-rows li,.lv-steps li,.lv-wrong,.x-foot-card,.x-faq,.lv-dawn__words p{
      animation:xs-in cubic-bezier(.2,.6,.2,1) both;animation-timeline:view();animation-range:entry 0% entry 55%}
  }
}
@media (max-width:600px){.x-lede{padding:16px 18px}}
@media print{.x-lede,.x-teach,.lv-deeper__body,.x-faq,.x-foot-card{background:none;box-shadow:none}}

/* ---- the sound cluster's room (Sim, 6 Nov 2026: body text ran under the icons beside Scarlet's orb at ~800px) ------------------
   From 701px the page's text columns keep a right gutter equal to the cluster's reach (--lv-s-reach, sound.css), but only as
   much as the viewport demands: a column that already ends left of the cluster does not move. Each rule below gives the block's
   max width (--xs-wmax) and the padding its own rule already carries (--xs-pad); the shift is added to its right padding.
   Everywhere (phones too) the cluster stands on a frosted glass plate, so a line that scrolls beneath it never fights the icons. */
@media (min-width:701px){
  :is(.x-words,.x-asof,.x-gauge,details.lv-deeper,.lv-board-rows,.x-card,.x-hero-after,.lv-steps,.lv-dawn,.x-teach,.lv-wrong,.x-hero__inner,.x-foot__inner){
    --xs-pad:24px;box-sizing:border-box;   /* border-box: the gutter eats the block's own width, never widens it */
    --xs-shift:max(0px,calc(var(--lv-s-reach,340px) + 16px - max(0px,(100vw - var(--xs-wmax)) / 2) - var(--xs-pad)));
  }
  .x-words{--xs-wmax:56ch}.x-asof,.x-gauge{--xs-wmax:68ch}details.lv-deeper,.lv-board-rows{--xs-wmax:72ch}
  .x-card,.x-hero-after{--xs-wmax:1200px}.lv-steps{--xs-wmax:880px}.lv-dawn{--xs-wmax:760px}
  .x-teach{--xs-wmax:68ch;--xs-pad:26px}.lv-wrong{--xs-wmax:64ch;--xs-pad:30px}
  .x-hero__inner{--xs-wmax:980px;--xs-pad:48px}.x-foot__inner{--xs-wmax:1200px;--xs-pad:48px}
  .x-words,.x-asof,.x-gauge,details.lv-deeper,.lv-board-rows,.x-card,.x-hero-after,.lv-steps,.lv-dawn{padding-right:calc(24px + var(--xs-shift))}
  .x-teach{padding-right:calc(26px + var(--xs-shift))}.lv-wrong{padding-right:calc(30px + var(--xs-shift))}
  .x-hero__inner,.x-foot__inner{padding-right:var(--xs-shift)}
  /* and the rail's room on the left (rail.css: column at 12px, 28px wide, labels open on hover only) */
  :is(.x-words,.x-asof,.x-gauge,details.lv-deeper,.lv-board-rows,.x-card,.x-hero-after,.lv-steps,.lv-dawn,.x-teach,.lv-wrong,.x-hero__inner,.x-foot__inner){
    --xs-lshift:max(0px,calc(52px - max(0px,(100vw - var(--xs-wmax)) / 2) - var(--xs-pad)))}
  .x-words,.x-asof,.x-gauge,details.lv-deeper,.lv-board-rows,.x-card,.x-hero-after,.lv-steps,.lv-dawn{padding-left:calc(24px + var(--xs-lshift))}
  .x-teach{padding-left:calc(30px + var(--xs-lshift))}.lv-wrong{padding-left:calc(30px + var(--xs-lshift))}
  .x-hero__inner,.x-foot__inner{padding-left:var(--xs-lshift)}
}
html[data-presence="on"]:not(.is-present)::after{
  content:"";position:fixed;z-index:518;pointer-events:none;
  right:calc(var(--sp-right,16px) - 8px);bottom:calc(var(--sp-bottom,16px) - 8px);
  width:calc(var(--lv-s-reach,338px) - var(--sp-right,16px) + 4px);height:calc(var(--sp-core,84px) + 16px);border-radius:999px;
  background:rgba(8,16,22,.5);box-shadow:0 0 0 1px rgba(243,217,160,.22) inset,0 1px 0 rgba(255,248,225,.3) inset,0 12px 30px -14px rgba(0,0,0,.7);
  -webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3)}

/* THE HERO OBJECT (6 Nov 2026; Sim: "one clean 3D graphic at the hero, always ... something to do with levels").
   Desktop: the title block on the left, the object (kit hero-object) in the right cell, never over the words.
   Phones: the object sits above the title, small, drifting down behind the eyebrow so the hero stays one screen of words. */
.x-hero__inner--top{display:block}
.x-hero__inner--top .ho{--ho-size:300px;margin:-8px auto -34px}
@media (min-width:901px){
  .x-hero__inner--top{max-width:1180px;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;column-gap:clamp(8px,2vw,32px)}
  .x-hero__inner--top .x-h1{font-size:clamp(3rem,1rem + 4.6vw,6.2rem)}
  .x-hero__inner--top .ho{--ho-size:560px;margin:-40px -3% -40px 0;justify-self:end}
}

/* ==== /kit/universe.css ==== */
/* From the Ascension Kit 1.3 (the Academy repository, branch academy/levels-v2, commit c56001c, assets/levels/universe.css), the template for
 * every page of Sim's. Kept as the kit wrote it so improvements flow both ways. House edits, each listed: none. */
/* universe.css: the universe layer (assets/levels/universe.js). The canvas sits behind everything (z-index -1) and never takes
   a pointer. html.u-on is set by the script after its first frame is painted; only then do the page's opaque grounds step aside
   (the canvas paints the very same dawn stops, so nothing shifts). JS off: nothing here applies and the page is as it was. */
canvas.u-canvas{position:fixed;left:0;top:0;width:100%;height:100%;z-index:-1;pointer-events:none;display:block;contain:strict}
html.u-on body{background:transparent}
html.u-on main.x-storm{background:none}
html.u-on section.x-ch#c01,html.u-on section.x-ch#c02,html.u-on section.x-ch#c03,html.u-on section.x-ch#c04,
html.u-on section.x-ch#c05,html.u-on section.x-ch#c06,html.u-on section.x-ch#c07,html.u-on section.x-ch#close,
html.u-on section.x-ch[data-era="light"],html.u-on .x-era[data-era="light"],html.u-on section.x-ch#close .x-era[data-era="light"]{background:none}
html.u-on section.x-ch#close::before{background:none}      /* the ramp's height stays; the canvas paints its colours */
html.u-on .x-era[data-era="light"]{box-shadow:none}
html.u-on .x-era[data-era="light"]::before{background:none}
@media print{canvas.u-canvas{display:none}}
html.u-on section.x-ch#c08{background:none}

/* ==== /kit/presence.css ==== */
/* From the Ascension Kit 1.3 (the Academy repository, branch academy/levels-v2, commit c56001c, assets/presence/presence.css), the template for
 * every page of Sim's. Kept as the kit wrote it so improvements flow both ways. House edits, each listed: none. */
/* presence.css: Scarlet's presence (assets/presence/presence.js). Page-agnostic: a page places it with four custom
   properties and nothing else.
     --sp-core    the being's resting diameter (the round button), 84px; 68px on a phone
     --sp-right   distance of the being's edge from the right of the viewport, 16px
     --sp-bottom  distance of the being's edge from the bottom of the viewport, 16px
     --sp-z       its stacking order, 519
   The canvas is 2.1 times the core, centred on it, so the waves have room to travel; only the round button takes
   the pointer. html[data-presence="on"] is set while it is mounted, so a page can make room for it. */
:root{--sp-core:84px;--sp-right:16px;--sp-bottom:16px;--sp-z:519}
@media (max-width:560px){:root{--sp-core:68px;--sp-right:12px;--sp-bottom:96px}}

.sp-presence{
  --sp-span:calc(var(--sp-core) * 2.1);
  --sp-pad:calc((var(--sp-span) - var(--sp-core)) / 2);
  position:fixed;z-index:var(--sp-z);
  right:calc(var(--sp-right) - var(--sp-pad));bottom:calc(var(--sp-bottom) - var(--sp-pad));
  width:var(--sp-span);height:var(--sp-span);
  pointer-events:none;
  --sp-ink:#f4efe4;--sp-ring:#f3d9a0;--sp-tip-bg:rgba(9,14,22,.78);--sp-tip-b:rgba(243,217,160,.28);
}
.sp-presence[data-era="day"]{--sp-ink:#16101e;--sp-ring:#b8862f;--sp-tip-bg:rgba(255,252,245,.9);--sp-tip-b:rgba(184,134,47,.4)}
.sp-presence__canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}

/* the button: the being's body, round, transparent; it grows a little while she speaks */
.sp-presence__btn{
  appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;
  position:absolute;left:var(--sp-pad);top:var(--sp-pad);width:var(--sp-core);height:var(--sp-core);
  border-radius:50%;background:transparent;cursor:pointer;pointer-events:auto;
  display:grid;place-items:center;color:var(--sp-ink);
  -webkit-tap-highlight-color:transparent;
  transition:transform .9s cubic-bezier(.2,.7,.2,1);
}
.sp-presence.is-speaking .sp-presence__btn{transform:scale(1.08)}
.sp-presence__btn:focus{outline:none}
.sp-presence__btn:focus-visible{outline:2px solid var(--sp-ring);outline-offset:4px}

/* the glyph: play or pause, drawn in CSS, only on hover or focus (and faintly while she is paused) */
.sp-presence__glyph{position:relative;width:14px;height:16px;opacity:0;transition:opacity .35s ease;filter:drop-shadow(0 0 5px rgba(0,0,0,.45))}
.sp-presence[data-era="day"] .sp-presence__glyph{filter:drop-shadow(0 0 5px rgba(255,250,240,.8))}
.sp-presence__glyph::before,.sp-presence__glyph::after{content:"";position:absolute;top:0;height:100%;background:currentColor;border-radius:1px}
.sp-presence__glyph::before{left:1px;width:13px;clip-path:polygon(0 0,100% 50%,0 100%)}
.sp-presence__glyph::after{display:none}
.sp-presence[data-state="speaking"] .sp-presence__glyph::before,.sp-presence[data-state="lead"] .sp-presence__glyph::before{left:1px;width:4px;clip-path:none}
.sp-presence[data-state="speaking"] .sp-presence__glyph::after,.sp-presence[data-state="lead"] .sp-presence__glyph::after{display:block;right:1px;width:4px}
.sp-presence.is-hover .sp-presence__glyph,.sp-presence__btn:focus-visible .sp-presence__glyph{opacity:.85}
.sp-presence[data-state="paused"] .sp-presence__glyph{opacity:.55}
.sp-presence[data-state="paused"].is-hover .sp-presence__glyph{opacity:.9}

/* a short notice ("Sound on for Scarlet", "No line here"): shown only for a moment, never her name on hover or focus
   (6 Nov 2026). It sits above the whole canvas, so it clears her halo and rings, right-aligned to her edge. Her accessible
   name is the button's aria-label. */
.sp-presence__tip{
  position:absolute;right:var(--sp-pad);bottom:calc(100% + 2px);transform:translateY(4px);
  padding:5px 10px 4px;border-radius:999px;white-space:nowrap;
  font:600 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.2em;text-transform:uppercase;
  color:var(--sp-ink);background:var(--sp-tip-bg);border:1px solid var(--sp-tip-b);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  opacity:0;pointer-events:none;transition:opacity .3s ease,transform .45s cubic-bezier(.2,.7,.2,1);
}
.sp-presence.is-notice .sp-presence__tip{opacity:1;transform:none}

/* the overture (assets/levels/kit/overture.js, ScarletPresence.intro): the first meeting. Laid out large and centred, in layout,
   so the canvas backs at the large size; the overture flies her home with a transform (scale below 1, never an upscale) and
   intro(false) swaps to the home layout on the flight's last frame. She takes no press until she is home. */
.sp-presence.sp-presence--intro{
  --sp-core:var(--sp-intro-core,min(30vmin,280px));
  right:auto;bottom:auto;left:calc(50% - var(--sp-span) / 2);top:calc(var(--sp-intro-y,46%) - var(--sp-span) / 2);
  z-index:var(--sp-intro-z,965);
}
.sp-presence--intro .sp-presence__btn{pointer-events:none;transition:none}
@media (max-width:560px){.sp-presence.sp-presence--intro{--sp-core:var(--sp-intro-core,min(52vw,220px))}}

@media (prefers-reduced-motion:reduce){
  .sp-presence__btn,.sp-presence__tip,.sp-presence__glyph{transition:none}
  .sp-presence.is-speaking .sp-presence__btn{transform:none}
}
@media print{.sp-presence{display:none}}

/* ==== /kit/overture.css ==== */
/* From the Ascension Kit 1.3 (the Academy repository, branch academy/levels-v2, commit c56001c, assets/levels/kit/overture.css), the template for
 * every page of Sim's. Kept as the kit wrote it so improvements flow both ways. House edits: two comment words reworded for this site's word gate. */
/* overture.css: THE OVERTURE (assets/levels/kit/overture.js), the Ascension Kit's opening and first-visit guide. Page-agnostic.
   Every rule but the touch pair's is scoped under a class overture.js sets, so with JS off nothing here applies.
   Claims, while html.ov is set: body::before (the night veil) and body::after (the gathering light). html::before stays open;
   html::after is the sound cluster's plate (levels.css), held hidden only until Scarlet lands.
   Layers: touch pair 516 · guide lights 829 · guide card 830 · veil 960 · gathering light 961 · stage 962 · sparks 963 ·
   trail 964 · Scarlet in the intro 965 (presence.css, --sp-intro-z).
   Design values: --ov-core (her intro diameter, handed to presence as --sp-intro-core), --ov-y (her centre), the night and light below.
   Colour: night navy into forest green, old gold and ice as LIGHT and hairlines only; the type is ivory (gold-on-black is the
   logo's alone); never red. Motion: transform and opacity only, LUXE grace and silk; reduced motion keeps fades alone. */
:root{
  --ov-core:min(30vmin,280px);
  --ov-y:46%;
  --ov-gold:243,217,160;--ov-ice:207,232,255;--ov-pale:255,248,232;--ov-forest:15,46,38;--ov-forest-2:10,32,27;
  --ov-ivory:#f4efe4;--ov-ivory-2:rgba(244,239,228,.66);
  --ov-ease:cubic-bezier(.65,0,.35,1);
  --ov-silk:cubic-bezier(.25,1,.5,1);
  --ov-font:'Satoshi','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
}
@media (max-width:560px){:root{--ov-core:min(52vw,220px)}}
html.ov{--sp-intro-core:var(--ov-core);--sp-intro-y:var(--ov-y)}

/* ---------------------------------------------------------------- the night veil (from the first paint) */
html.ov body::before{
  content:"";position:fixed;inset:0;z-index:960;pointer-events:auto;
  background:
    radial-gradient(48% 40% at 50% var(--ov-y),rgba(var(--ov-forest),.9) 0%,rgba(var(--ov-forest),.35) 46%,rgba(var(--ov-forest),0) 78%),
    radial-gradient(130% 70% at 50% 118%,rgba(var(--ov-forest-2),.95) 0%,rgba(var(--ov-forest-2),0) 62%),
    radial-gradient(90% 70% at 50% -20%,rgba(18,30,52,.9) 0%,rgba(18,30,52,0) 60%),
    linear-gradient(180deg,#0b1420 0%,#08111b 52%,#06130f 100%);
  transition:opacity 1.6s var(--ov-ease),visibility 0s linear 1.6s;
  animation:ov-safety 1s ease 7s forwards;
}
html.ov.ov-out body::before{opacity:0;visibility:hidden;pointer-events:none}
html.ov.ov-skip body::before,html.ov.ov-skip body::after{transition-duration:.45s,0s;transition-delay:0s,.45s}
@keyframes ov-safety{to{opacity:0;visibility:hidden;pointer-events:none}}

/* the gathering light: a soft gold-and-ice aura where she forms, breathing (transform only) */
html.ov body::after{
  content:"";position:fixed;z-index:961;pointer-events:none;border-radius:50%;
  left:calc(50% - var(--ov-core) * 1.7);top:calc(var(--ov-y) - var(--ov-core) * 1.7);width:calc(var(--ov-core) * 3.4);height:calc(var(--ov-core) * 3.4);
  background:radial-gradient(closest-side,rgba(var(--ov-pale),.13) 0%,rgba(var(--ov-gold),.085) 24%,rgba(var(--ov-gold),.035) 46%,rgba(var(--ov-ice),.018) 66%,rgba(var(--ov-ice),0) 100%);
  animation:ov-breathe 5.2s ease-in-out infinite,ov-safety 1s ease 7s forwards;
  transition:opacity 1.2s var(--ov-ease),visibility 0s linear 1.2s;
}
html.ov.ov-out body::after{opacity:0;visibility:hidden}
@keyframes ov-breathe{0%,100%{transform:scale(.95)}50%{transform:scale(1.05)}}

/* Scarlet materialises out of the light when presence.js mounts her (opacity only: the flight owns her transform) */
html.ov .sp-presence{animation:ov-form .9s var(--ov-silk) both}   /* on the host, not the intro class: the flight's measuring toggle must not restart it */
@keyframes ov-form{from{opacity:0}to{opacity:1}}
/* her home's neighbours wait for her: the sound row, its plate, the touch pair and the key chip fade in as she lands */
html.ov-hold .lv-sound,html.ov-hold .ov-step,html.ov-hold .o-keychip.o-keychip,html.ov-hold .o-presume{opacity:0 !important;pointer-events:none !important}
html.ov-hold[data-presence="on"]:not(.is-present)::after{opacity:0}
html.ov .lv-sound,html.ov .ov-step,html.ov .o-presume{transition:opacity 1.1s var(--ov-silk) .15s}
html.ov[data-presence="on"]:not(.is-present)::after{transition:opacity 1.1s var(--ov-silk) .15s}

/* ---------------------------------------------------------------- the stage: rings, the progress bezel, her words */
.ov-stage{position:fixed;inset:0;z-index:962;pointer-events:none;overflow:hidden;transition:opacity 1s var(--ov-ease)}
html.ov-out .ov-stage{opacity:0}
html.ov-skip .ov-stage{transition-duration:.35s}

/* concentric frequency rings: hairlines of gold turning into ice, never a full even circle (partial arcs, slightly out of round,
   each turning at its own pace), rising out of her and dissolving like ripples on still water */
.ov-rings{position:absolute;left:50%;top:var(--ov-y);width:0;height:0}
.ov-ring{
  position:absolute;left:calc(var(--ov-core) * -.62);top:calc(var(--ov-core) * -.62);width:calc(var(--ov-core) * 1.24);height:calc(var(--ov-core) * 1.24);
  border-radius:49% 51% 50% 50% / 51% 49% 51% 49%;opacity:0;will-change:transform,opacity;
  background:conic-gradient(from var(--ov-a,0deg),rgba(var(--ov-gold),0) 0deg,rgba(var(--ov-gold),.5) 50deg,rgba(var(--ov-pale),.62) 92deg,rgba(var(--ov-ice),.4) 140deg,rgba(var(--ov-ice),0) 200deg,rgba(var(--ov-gold),0) 360deg);
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - .8px),#000 calc(100% - .4px),transparent 100%);
  mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - .8px),#000 calc(100% - .4px),transparent 100%);
  animation:ov-ripple 5.4s cubic-bezier(.22,.7,.3,1) infinite;
}
.ov-ring--1{--ov-a:20deg;animation-delay:.35s}
.ov-ring--2{--ov-a:150deg;animation-delay:2.15s;border-radius:51% 49% 50% 50% / 49% 51% 49% 51%}
.ov-ring--3{--ov-a:260deg;animation-delay:3.95s;border-radius:50% 50% 49% 51% / 50% 51% 49% 50%}
@keyframes ov-ripple{
  0%{opacity:0;transform:scale(.86) rotate(0deg)}
  14%{opacity:.62}
  60%{opacity:.22}
  100%{opacity:0;transform:scale(2.5) rotate(38deg)}
}

/* motes of light: tiny sparks of old gold and ice rising around her and dissolving (positions from overture.js, golden angle) */
.ov-dust{position:absolute;left:50%;top:var(--ov-y);width:0;height:0}
.ov-dust i{position:absolute;left:calc(var(--dx,0) * var(--ov-core));top:calc(var(--dy,0) * var(--ov-core));width:3px;height:3px;margin:-1.5px 0 0 -1.5px;
  border-radius:50%;opacity:0;will-change:transform,opacity;
  background:radial-gradient(closest-side,#fffaf0 0%,rgba(var(--ov-gold),.75) 50%,rgba(var(--ov-gold),0) 100%);
  animation:ov-rise var(--du,7s) ease-in-out var(--dl,0s) infinite}
.ov-dust i:nth-child(3n){background:radial-gradient(closest-side,#f6fbff 0%,rgba(var(--ov-ice),.75) 50%,rgba(var(--ov-ice),0) 100%)}
.ov-dust i:nth-child(4n){width:2px;height:2px;margin:-1px 0 0 -1px}
@keyframes ov-rise{0%{opacity:0;transform:translateY(12px)}30%{opacity:.8}70%{opacity:.35}100%{opacity:0;transform:translateY(-52px)}}

/* the bezel: the loading progress, honest and quiet. A hairline arc of ice warming to gold, its head a small bead of light; the
   rest of the circle a breath of a track. Drawn by overture.js through --ov-deg and the bead's rotation. */
.ov-bezel{
  position:absolute;left:calc(50% - var(--ov-core) * .74);top:calc(var(--ov-y) - var(--ov-core) * .74);
  width:calc(var(--ov-core) * 1.48);height:calc(var(--ov-core) * 1.48);border-radius:50%;opacity:0;
  background:conic-gradient(rgba(var(--ov-ice),0) 0deg,rgba(var(--ov-ice),.42) calc(var(--ov-deg,0deg) * .45),rgba(var(--ov-gold),.95) var(--ov-deg,0deg),rgba(255,255,255,.07) var(--ov-deg,0deg),rgba(255,255,255,.07) 360deg);
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 1.4px),#000 calc(100% - .7px),transparent 100%);
  mask:radial-gradient(closest-side,transparent calc(100% - 1.4px),#000 calc(100% - .7px),transparent 100%);
  transition:opacity 1.1s var(--ov-silk),transform 1.4s var(--ov-silk);transform:scale(.96);
}
.ov-bezel.is-on{opacity:1;transform:none}
.ov-bezel.is-full{transform:scale(1.04);opacity:0;transition-duration:1.2s}
.ov-bezel__bead{position:absolute;inset:0;border-radius:50%;will-change:transform}
.ov-bezel__bead::after{
  content:"";position:absolute;left:50%;top:0;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;
  background:radial-gradient(closest-side,#fffaf0 0%,rgba(var(--ov-gold),.9) 45%,rgba(var(--ov-gold),0) 100%);
  box-shadow:0 0 12px 3px rgba(var(--ov-gold),.35);
}

/* her words, once, beneath her */
.ov-line{
  position:absolute;left:0;right:0;top:calc(var(--ov-y) + var(--ov-core) * .98);width:min(88vw,520px);margin:0 auto;
  text-align:center;font:500 clamp(.95rem,.86rem + .35vw,1.12rem)/1.4 var(--ov-font);letter-spacing:.04em;color:rgba(240,222,176,.9);text-shadow:0 0 18px rgba(201,163,94,.25);
  opacity:0;transform:translateY(8px);animation:ov-words 1.6s var(--ov-silk) .9s forwards;
}
@keyframes ov-words{to{opacity:1;transform:none}}

/* the trail of light behind her flight, and the sparks she lets go of (placed and moved by overture.js, WAAPI only) */
.ov-echo{
  position:fixed;z-index:964;pointer-events:none;border-radius:50%;opacity:0;will-change:transform,opacity;mix-blend-mode:screen;
  background:radial-gradient(closest-side,rgba(var(--ov-pale),.5) 0%,rgba(var(--ov-gold),.26) 32%,rgba(var(--ov-ice),.09) 62%,rgba(var(--ov-ice),0) 100%);
}
.ov-mote{
  position:fixed;z-index:963;pointer-events:none;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;opacity:0;will-change:transform,opacity;
  background:radial-gradient(closest-side,#fffaf0 0%,rgba(var(--ov-gold),.85) 42%,rgba(var(--ov-gold),0) 100%);
}

/* ---------------------------------------------------------------- the guide: one glass card above her (glass.css .ts) */
.ov-guide.ts{
  position:fixed;z-index:830;margin:0;
  right:var(--sp-right,16px);bottom:calc(var(--sp-bottom,16px) + var(--sp-core,84px) + 22px);
  max-inline-size:min(360px,calc(100vw - 32px));gap:.62em;padding:1em 1.25em 1.05em;border-radius:16px;
  font:500 15px/1.35 var(--ov-font);letter-spacing:.005em;
  --ts-rim:linear-gradient(160deg,rgba(var(--ov-pale),.62),rgba(var(--ov-gold),.18) 46%,rgba(var(--ov-ice),.36));
  opacity:0;transform:translateY(14px) scale(.985);transform-origin:100% 100%;
  transition:opacity 1s var(--ov-silk),transform 1.2s var(--ov-silk);
}
@media (min-width:1280px){.ov-guide.ts{font-size:16px;max-inline-size:390px}}
.ov-guide.ts.is-in{opacity:1;transform:none}
.ov-guide.ts.is-out{opacity:0;transform:translateY(8px);transition-duration:.65s,.8s}
.ov-guide__row{display:flex;align-items:center;flex-wrap:wrap;gap:.5em;color:rgba(238,242,246,.5);
  opacity:0;transform:translateY(6px);transition:opacity .9s var(--ov-silk),transform 1s var(--ov-silk),color .7s ease}
.ov-guide__row.is-in{opacity:1;transform:none}
.ov-guide__row.is-on{color:var(--ov-ivory)}
.ov-guide__row--keys{font-size:1.08em}
.ov-guide__sub{display:inline-flex;align-items:center;gap:.4em;margin-left:.35em;font-size:.86em;opacity:.8}
.ov-key{
  display:inline-grid;place-items:center;min-width:1.85em;height:1.85em;padding:0 .35em;box-sizing:border-box;border-radius:.5em;
  font:600 .92em/1 var(--ov-font);color:var(--ov-ivory);
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.03));
  box-shadow:inset 0 0 0 1px rgba(var(--ov-gold),.5),inset 0 1px 0 rgba(var(--ov-pale),.4),0 6px 14px -8px rgba(0,0,0,.85);
}
.ov-guide__sub .ov-key{min-width:1.7em;height:1.7em;font-size:.9em;box-shadow:inset 0 0 0 1px rgba(var(--ov-ice),.38),inset 0 1px 0 rgba(var(--ov-pale),.25)}
.ov-guide__row.is-on .ov-key--down{animation:ov-press 2.6s var(--ov-ease) infinite}
@keyframes ov-press{0%,55%,100%{transform:translateY(0)}70%{transform:translateY(2px)}}
.ov-glyph{flex:none;width:1.25em;height:1.25em}
.ov-glyph--orb{border-radius:50%;background:radial-gradient(circle at 38% 34%,#fffaf0 0%,rgba(var(--ov-gold),.9) 28%,rgba(47,182,196,.55) 64%,rgba(8,24,43,.9) 100%);
  box-shadow:0 0 10px 1px rgba(var(--ov-gold),.3)}
svg.ov-glyph{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ov-guide.is-brief{gap:0}

/* the lights that guide the eye: a soft gold hairline and glow around what the active line names */
.ov-spot{position:fixed;z-index:829;pointer-events:none;border-radius:999px;opacity:0;transform:scale(.92);
  box-shadow:0 0 0 1px rgba(var(--ov-gold),.6),0 0 24px 3px rgba(var(--ov-gold),.2),inset 0 0 16px rgba(var(--ov-gold),.12);
  transition:opacity .9s var(--ov-silk),transform 1.1s var(--ov-silk)}
.ov-spot--round{border-radius:50%}
.ov-spot.is-on{opacity:1;transform:none}
.ov-spot.is-on::after{content:"";position:absolute;inset:-1px;border-radius:inherit;box-shadow:0 0 0 1px rgba(var(--ov-gold),.4);
  animation:ov-halo 2.6s cubic-bezier(.22,.7,.3,1) infinite}
@keyframes ov-halo{0%{opacity:.8;transform:scale(1)}100%{opacity:0;transform:scale(1.32)}}
html.ov-guide-on .o-keychip.o-keychip{opacity:0 !important;pointer-events:none}   /* the key chip takes over when the guide leaves */
.ov-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* ---------------------------------------------------------------- the touch pair (every page, touch screens only) */
.ov-step{display:none}
@media (hover:none) and (pointer:coarse){
  .ov-step{
    position:fixed;z-index:516;left:12px;bottom:calc(var(--sp-bottom,12px) + (var(--sp-core,68px) - 44px) / 2);
    display:flex;align-items:stretch;height:44px;border-radius:999px;
    background:rgba(8,16,22,.55);
    box-shadow:0 0 0 1px rgba(243,217,160,.24) inset,0 1px 0 rgba(255,248,225,.3) inset,0 12px 30px -14px rgba(0,0,0,.7);
    -webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);
  }
}
/* short phones (667 px and the like): the subtitle card sits lower, so the pair drops below it (40 px tall, a 44 px touch target kept) */
@media (hover:none) and (pointer:coarse) and (max-height:720px){
  .ov-step{height:40px;bottom:8px}
  .ov-step__btn{height:40px}
  .ov-step__btn::before{content:"";position:absolute;left:0;right:0;top:-2px;bottom:-2px}
}
html.is-present .ov-step{display:none !important}
.ov-step__btn{
  appearance:none;-webkit-appearance:none;position:relative;margin:0;padding:0;border:0;width:50px;height:44px;border-radius:999px;
  display:grid;place-items:center;background:transparent;color:rgba(244,239,228,.88);cursor:pointer;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background-color .3s ease,color .3s ease;
}
.ov-step__btn:active{background:rgba(243,217,160,.14);color:#fffaf0}
.ov-step__btn:focus-visible{outline:2px solid #e6cf9a;outline-offset:-4px}
.ov-step__sep{width:1px;margin:11px 0;background:linear-gradient(180deg,rgba(243,217,160,0),rgba(243,217,160,.42),rgba(243,217,160,0))}
.ov-step__ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.ov-step.is-hint .ov-step__next .ov-step__ic{animation:ov-nudge 2.6s var(--ov-ease) infinite}
@keyframes ov-nudge{0%,55%,100%{transform:translateY(0)}72%{transform:translateY(3px)}}

/* ---------------------------------------------------------------- every device */
/* a light device: one ring, no trail (overture.js), her intro at DPR 1 (presence.js) */
html.ov-lite .ov-ring--2,html.ov-lite .ov-ring--3{display:none}
html.ov-lite body::after{animation:ov-safety 1s ease 7s forwards}
/* reduced motion: a still frame, fades only (no rings, no breathing, no rise, no nudges) */
html.ov-calm .ov-ring{display:none}
html.ov-calm body::after{animation:ov-safety 1s ease 7s forwards}
html.ov-calm .ov-line{transform:none;animation:ov-fade 1.2s ease .6s forwards}
html.ov-calm .ov-bezel,html.ov-calm .ov-bezel.is-full{transform:none}
@keyframes ov-fade{to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .ov-guide.ts,.ov-guide.ts.is-in,.ov-guide.ts.is-out,.ov-guide__row,.ov-guide__row.is-in,.ov-spot,.ov-spot.is-on{transform:none}
  .ov-guide__row.is-on .ov-key--down,.ov-spot.is-on::after,.ov-step.is-hint .ov-step__next .ov-step__ic{animation:none}
}
@media print{.ov-stage,.ov-guide,.ov-spot,.ov-step,.ov-echo,.ov-mote{display:none}html.ov body::before,html.ov body::after{display:none}}

/* ==== /kit/rail.css ==== */
/* From the Ascension Kit 1.3 (the Academy repository, branch academy/levels-v2, commit c56001c, assets/levels/rail.css), the template for
 * every page of Sim's. Kept as the kit wrote it so improvements flow both ways. House edits: one comment word reworded for this site's word gate. */
/* rail.css: styles for rail.js, the kit's page rail (see the header of rail.js for the contract). Page-agnostic.
 * Design values (override on :root): --xr-ink, --xr-gold, --xr-track, --xr-top, --xr-bottom, --xr-left, --xr-z.
 * Desktop: a left-edge column with a hairline track, a gold fill, one node per chapter, labels on hover or focus.
 * Phone (max-width 700px): a 2px progress line at the very top and an edge tab that opens the chapter list.
 * No JS: nothing is built, nothing shows. Present mode: hidden. Reduced motion: no transitions. */
:root{--xr-ink:#e9edf2;--xr-gold:#f3d9a0;--xr-gold-deep:#b08a45;--xr-track:rgba(233,237,242,.2);
  --xr-top:92px;--xr-bottom:92px;--xr-left:12px;--xr-z:470;--xr-ease:cubic-bezier(.2,.6,.2,1);
  --xr-glass:rgba(9,14,26,.62);
  --mat-gold-ramp:#fff3d6,#f3d9a0 22%,#d9b46a 44%,#8f6d31 66%,#f0d594 84%,#b08a45;--mat-gold-ink:#2a1d08}
.xr-rail[data-era="light"]{--xr-ink:#16101e;--xr-gold:#b08a45;--xr-gold-deep:#7a5a1c;--xr-track:rgba(22,16,30,.22);--xr-glass:rgba(255,251,240,.78);--xr-gold-rgb:150,108,36}
.xr-rail{position:fixed;left:var(--xr-left);top:var(--xr-top);bottom:var(--xr-bottom);width:28px;z-index:var(--xr-z);
  opacity:.62;transition:opacity .4s var(--xr-ease);pointer-events:none}
.xr-rail:hover,.xr-rail:focus-within,.xr-rail[data-gliding]{opacity:1}
html.is-present .xr-rail{display:none}
.xr-track{position:absolute;left:13px;top:0;bottom:0;width:2px;margin-left:-1px;border-radius:2px;
  background:repeating-linear-gradient(180deg,rgba(var(--xr-gold-rgb,243,217,160),.34) 0 2px,rgba(var(--xr-gold-rgb,243,217,160),.16) 2px 3px);   /* brushed-gold hairline */pointer-events:auto;cursor:pointer}
.xr-track::before{content:"";position:absolute;inset:0 -9px}   /* a fatter hit area than the hairline */
.xr-fill{position:absolute;left:0;top:0;width:100%;height:calc(var(--xr-p,0) * 100%);border-radius:2px;
  background:linear-gradient(90deg,#8f6d31,#fff3d6 45%,#d9b46a 60%,#8f6d31);box-shadow:0 0 10px rgba(243,217,160,.5)}
.xr-nodes{list-style:none;margin:0;padding:0;position:absolute;inset:0;pointer-events:none}
.xr-node{position:absolute;left:0;top:var(--xr-at,0%);width:28px;height:28px;margin-top:-14px}
.xr-btn{appearance:none;-webkit-appearance:none;position:relative;display:block;width:28px;height:28px;padding:0;margin:0;border:0;background:none;
  color:var(--xr-ink);cursor:pointer;pointer-events:auto;font:inherit}
.xr-dot{position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;
  background:var(--xr-track);box-shadow:0 0 0 1px var(--xr-ink) inset;opacity:.85;
  transition:transform .35s var(--xr-ease),background-color .35s var(--xr-ease),box-shadow .35s var(--xr-ease),opacity .35s}
.xr-node[data-on] .xr-dot{transform:scale(1.65);opacity:1;box-shadow:0 0 0 1px #8f6d31,0 0 14px 2px rgba(243,217,160,.55);
  background:radial-gradient(circle at 34% 28%,#fff 0 8%,#fff3d6 18%,#d9b46a 48%,#6e5326 100%)}   /* a polished node */
@media (prefers-reduced-motion:no-preference){.xr-node[data-on] .xr-dot{animation:xr-glint 6s ease-in-out infinite}}
@keyframes xr-glint{0%,70%,100%{filter:none}84%{filter:brightness(1.35) saturate(1.1)}}
.xr-btn:hover .xr-dot,.xr-btn:focus-visible .xr-dot{transform:scale(1.7);background:var(--xr-gold);opacity:1}
.xr-btn:focus-visible{outline:2px solid var(--xr-gold);outline-offset:-3px;border-radius:50%}
.xr-tip{position:absolute;left:30px;top:50%;display:flex;align-items:baseline;gap:.6em;white-space:nowrap;
  padding:.5em .85em .5em .75em;border-radius:12px;background:var(--xr-glass);color:var(--xr-ink);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 0 0 1px rgba(243,217,160,.32) inset,0 10px 30px -14px rgba(0,0,0,.6);
  font:500 .8rem/1 var(--o-reel-body,'Inter',system-ui,sans-serif);
  opacity:0;transform:translate(-6px,-50%);pointer-events:none;transition:opacity .3s var(--xr-ease),transform .4s var(--xr-ease)}
.xr-num{font:600 .62rem/1 var(--o-reel-mono,ui-monospace,Menlo,monospace);letter-spacing:.16em;color:var(--xr-gold)}
.xr-btn:hover .xr-tip,.xr-btn:focus-visible .xr-tip{opacity:1;transform:translate(0,-50%)}
.xr-tab,.xr-list{display:none}

@media (max-width:700px){
  .xr-rail{left:0;right:0;top:0;bottom:auto;width:auto;height:2px;opacity:1}
  .xr-track{left:0;right:0;top:0;bottom:auto;width:auto;height:2px;margin:0;border-radius:0;pointer-events:none;background:transparent}
  .xr-track::before{display:none}
  .xr-fill{width:calc(var(--xr-p,0) * 100%);height:2px;border-radius:0}
  .xr-nodes{display:none}
  .xr-tab{display:block;position:fixed;left:0;top:50%;width:44px;height:60px;margin-top:-30px;padding:0;border:0;
    border-radius:0 12px 12px 0;background:transparent;cursor:pointer;pointer-events:auto;opacity:.75;transition:opacity .3s}
  .xr-tab::before{content:"";position:absolute;left:0;top:0;bottom:0;width:22px;border-radius:0 12px 12px 0;background:var(--xr-glass);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 0 0 1px rgba(243,217,160,.3) inset;pointer-events:none}
  .xr-tab:focus-visible{outline:2px solid var(--xr-gold);outline-offset:2px}
  .xr-tab__bar{position:absolute;left:8px;top:14px;bottom:14px;width:3px;border-radius:2px;background:linear-gradient(180deg,var(--xr-gold-deep),var(--xr-gold));
    opacity:.9}
  .xr-rail[data-open] .xr-tab{opacity:1}
  .xr-list{display:none;list-style:none;margin:0;padding:8px;position:fixed;left:30px;top:50%;transform:translateY(-50%);
    width:min(260px,calc(100vw - 80px));max-height:70svh;overflow:auto;border-radius:16px;background:var(--xr-glass);
    -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 0 0 1px rgba(243,217,160,.34) inset,0 20px 50px -16px rgba(0,0,0,.7);
    pointer-events:auto;color:var(--xr-ink)}
  .xr-rail[data-open] .xr-list{display:block;animation:xr-in .35s var(--xr-ease) both}
  .xr-item{appearance:none;-webkit-appearance:none;display:flex;align-items:baseline;gap:.8em;width:100%;min-height:44px;padding:.7em .9em;margin:0;border:0;
    border-radius:10px;background:none;color:inherit;text-align:left;cursor:pointer;font:500 .92rem/1.2 var(--o-reel-body,'Inter',system-ui,sans-serif)}
  .xr-item .xr-num{flex:none;min-width:2.4em}
  .xr-item[aria-current]{background:rgba(243,217,160,.14)}
  .xr-item:focus-visible{outline:2px solid var(--xr-gold);outline-offset:-2px}
}
@keyframes xr-in{from{opacity:0;transform:translate(-8px,-50%)}to{opacity:1;transform:translateY(-50%)}}
@media (prefers-reduced-motion:reduce){.xr-rail,.xr-dot,.xr-tip,.xr-rail[data-open] .xr-list{transition:none;animation:none}}
@media print{.xr-rail{display:none}}

/* ==== /kit/hero-object.css ==== */
/* From the Ascension Kit 1.3 (the Academy repository, branch academy/levels-v2, commit c56001c, assets/levels/kit/hero-object.css), the template for
 * every page of Sim's. Kept as the kit wrote it. House edits: one comment word reworded for this site's word gate. */
/* hero-object.css: the hero object's frame (kit component, 6 Nov 2026). See hero-object.js for the contract.
   The render is black-backed and composited with mix-blend-mode: screen, so it only ever adds light to the page's dark hero.
   Sizing: the figure fills its grid cell (square); the host page decides the cell. Float and tilt are CSS only.
   Design values: --ho-size (max width, default 560px), --ho-bob (bob period, default 11s), --ho-tx / --ho-ty (pointer tilt, set by JS). */
.ho{--ho-size:560px;--ho-bob:11s;position:relative;margin:0;width:min(100%,var(--ho-size));aspect-ratio:1/1;justify-self:center;
  pointer-events:none;contain:layout paint;
  /* the blend lives HERE, on the figure: .ho__tilt/.ho__float transform, which makes them their own group, so a blend on the
     video only met a transparent backdrop and the black (or a mis-encoded purple) showed as a square (fixed 6 Nov) */
  mix-blend-mode:screen}
.ho__tilt{position:absolute;inset:0;transform:perspective(1100px) rotateX(calc(var(--ho-ty,0) * 1deg)) rotateY(calc(var(--ho-tx,0) * 1deg));
  transition:transform 1.6s cubic-bezier(.2,.6,.2,1);will-change:transform}
.ho__float{position:absolute;inset:0;animation:ho-bob var(--ho-bob) ease-in-out infinite}
.ho__poster,.ho__video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.ho__video{opacity:0;transition:opacity 1.2s ease}
.ho.is-playing .ho__video{opacity:1}
/* an optional slow gold sheen drifting over the glass (additive, very quiet) */
.ho[data-ho-sheen]::after{content:"";position:absolute;inset:8% 6%;mix-blend-mode:screen;opacity:.0;pointer-events:none;
  background:linear-gradient(105deg,rgba(255,243,214,0) 40%,rgba(255,243,214,.10) 50%,rgba(255,243,214,0) 60%);
  background-size:260% 100%;animation:ho-sheen 9s ease-in-out infinite;-webkit-mask-image:radial-gradient(closest-side,#000 60%,transparent);mask-image:radial-gradient(closest-side,#000 60%,transparent)}
.ho.is-playing[data-ho-sheen]::after{opacity:1}
@keyframes ho-bob{0%,100%{transform:translate3d(0,-1.2%,0)}50%{transform:translate3d(0,1.2%,0)}}
@keyframes ho-sheen{0%{background-position:120% 0}100%{background-position:-20% 0}}
@media (prefers-reduced-motion:reduce){.ho__float,.ho[data-ho-sheen]::after{animation:none}.ho__tilt{transition:none;transform:none}.ho__video{display:none}}
/* Host hand-off: a host hero that isolates (Levels' .x-hero does, to keep its "00" ::before at z -1) gives the screen blend a
   transparent backdrop, so the render's black shows as a square. Where a hero carries the object, drop the isolation and lift
   the ::before to z 0 (it still paints under the hero content, which comes later in order). Verified in the browser, 6 Nov. */
.x-hero:has(.ho){isolation:auto}
.x-hero:has(.ho)::before{z-index:0}

/* ==== /house.css ==== */
/* =====================================================================================================================
   house.css: the House layer of the Ascension Kit (28 Nov 2026). Sim: "extremely gorgeous, kind of like the levels page";
   "continue that template system and grow it"; "everything changes seamlessly across the site".

   The page IS the kit: /site.css is built (scripts/house-facts.mjs) from the kit's own files in the kit's order
   (glass.css, levels.css, universe.css, presence.css, overture.css, rail.css) and then this file. The kit gives the
   grammar: the hero (.x-hero, .x-h1, .x-lede), the chapters (section.x-ch, .x-card, .x-ghost, .x-eyebrow, .x-h2,
   .x-arc, .x-words) on the dawn grounds c01 to c07, the cream marble close (#close, .lv-steps, .lv-dawn), the text
   surfaces (.ts), the universe canvas, the presence pearl and the overture. This file adds only what the House needs
   that a Levels page does not have: the top bar, the House's forms, doors, buttons and lists in the kit's materials,
   the footer, and the compact chapter.

   How to change the look: a kit value (--mat-*, --ts-*, --xs-*, --x-*) in the kit file, or a House value in section 1.
   Rules kept: gold is light and rim, never a filled surface; reduced motion stops every animation; focus always shows;
   no sound, no tracking, no remote font or script. Docs: docs/build/DESIGN-SYSTEM.md.
   ===================================================================================================================== */

/* 0. Fonts (the site's own files: Satoshi for display, Inter for reading, as on the Levels page) */
@font-face { font-family: "Satoshi"; src: url("/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* 1. House values (the kit's own values live in the kit files) */
:root {
  color-scheme: dark;
  --ink: #e9edf2;
  --ink-strong: #ffffff;
  --ink-2: rgba(233, 237, 242, 0.76);
  --ink-3: rgba(233, 237, 242, 0.56);
  --ink-on-light: #0b1420;
  --bad: #ff9f8c;
  --ok: #8fd9b0;
  --gold: #e6cf9a;
  --gold-hi: #f3d9a0;
  --gold-rgb: 243, 217, 160;
  --green-2: 47, 107, 82;
  --lit: linear-gradient(108deg, #fff3d6 0%, #f3d9a0 34%, #d9b46a 68%, #b08a45 100%);
  --fill-read: rgba(12, 44, 34, 0.6);
  --fill-fact: rgba(11, 18, 38, 0.5);
  --fill-note: rgba(24, 24, 28, 0.62);
  --fill-glass: rgba(10, 22, 24, 0.42);
  --fill-field: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --rim-quiet: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.14));
  --blur: blur(14px) saturate(1.3);
  --lift: 0 22px 50px -30px rgba(0, 0, 0, 0.75);
  --font-display: "Satoshi", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 20px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur: 420ms;
  --top-h: 64px;
}

/* 2. The page frame (the kit's chapters are full bleed; content sits in the kit's 1200px and 68ch measures) */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: #050308; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body { min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: #050308; font-family: var(--font-body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
.wrap { display: contents; }
main { position: relative; z-index: 1; flex: 1; }
::selection { background: rgba(var(--gold-rgb), 0.32); color: var(--ink-strong); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; }
.skip:focus { left: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 22, 24, 0.9); border: 1px solid var(--line-2); color: var(--ink-strong); }
a { color: var(--ink-strong); text-decoration: underline; text-decoration-color: rgba(var(--gold-rgb), 0.55); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
a:hover { color: var(--gold-hi); text-decoration-color: var(--gold-hi); }
strong, b { font-weight: 600; color: var(--ink-strong); }
code { font-family: var(--font-mono); font-size: 0.88em; padding: 2px 7px; border-radius: 6px; background: var(--fill-field); border: 1px solid var(--line); overflow-wrap: anywhere; }
li::marker { color: var(--gold); }

/* the top bar: glass, the wordmark, the House's pages, one white pill (as on the Levels page) */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px; min-height: var(--top-h); padding: 10px clamp(16px, 3vw, 32px); background: rgba(5, 9, 15, 0.62); border-bottom: 1px solid rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.wordmark { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-decoration: none; line-height: 0; }
.wordmark picture { display: block; }
.wordmark img { display: block; width: auto; height: 28px; filter: drop-shadow(0 0 10px rgba(var(--gold-rgb), 0.3)); }
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.top__nav a:hover { color: var(--ink-strong); background: rgba(255, 255, 255, 0.06); }
.top__cta { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 16px; border-radius: 10px; background: #fff; color: var(--ink-on-light); font-size: 13.5px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.top__cta:hover { color: var(--ink-on-light); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(var(--gold-rgb), 0.2); }

/* 3. The kit's grammar, as the House uses it */
main.x-house .x-hero__inner { max-width: 1200px; }
main.x-house .x-hero .x-h1 { max-width: 15ch; }
main.x-house .x-hero .x-eyebrow__rule, main.x-house .x-ch .x-eyebrow__rule { background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.95), rgba(var(--gold-rgb), 0)); }
main.x-house .x-hero__inner > :where(p, ul, ol, div, form, section, noscript):not(.x-eyebrow) { max-width: 68ch; margin-top: 22px; }
main.x-house .x-h1 span.lit, main.x-house .x-h2 span { background: var(--lit); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* the compact chapter: pages people work on (forms, the welcome, the referral home) open without the full screen card */
.x-card.is-compact { min-height: 0; padding-top: clamp(8px, 2vw, 24px); }
.x-card.is-compact .x-h2 { font-size: clamp(2rem, 1.1rem + 2.8vw, 3.6rem); max-width: 20ch; }
.x-card.is-compact .x-ghost { font-size: clamp(150px, 20vw, 300px); }
/* chapters past the seventh keep the last of the kit's grounds */
section.x-ch[id^="x"] { background: linear-gradient(180deg, #352638 0%, #3d2a39 100%); }
/* the words column carries the House's working pieces at the kit's measure */
.x-words > * { margin: 0; }
.x-words h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink-strong); margin-top: 18px; }
.x-words ul, .x-words ol { padding-left: 1.2em; display: grid; gap: 10px; }
.x-words li { line-height: 1.6; }
.x-words .lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); color: var(--ink); }
.small { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.honest { position: relative; padding: 4px 0 4px 20px; color: var(--ink); }
.honest::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--lit); }
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.lit { background: var(--lit); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); }
main.x-house .x-words :where(h2) { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.02em; color: var(--ink-strong); margin-top: 28px; }
/* the promise chapter: the kit's read surface at full column width */
.ts.promise-card { inline-size: auto; max-inline-size: none; margin: 0; text-align: left; gap: 0.8em; font-size: 1.04rem; line-height: 1.65; }
.ts.promise-card p { margin: 0; }

/* 4. The House's pieces in the kit's materials */
.panel, .door, .nextlist li, .promises li, .ladder li, .choice, .prompt, .staged { position: relative; border: 1px solid transparent; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
/* the V2 glass (levels.css x-lede): the standing block */
.panel { padding: clamp(18px, 2.4vw, 28px) clamp(20px, 2.8vw, 32px); border-radius: var(--radius-l); background: var(--fill-glass); box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.26) inset, 0 1px 0 rgba(255, 243, 214, 0.1) inset, var(--lift); display: grid; gap: 12px; }
.panel > h2, .door > h2 { margin-top: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.02em; color: var(--ink-strong); }
.panel p, .door p { margin: 0; }
/* fact glass (glass.css .ts--fact): the doors and the Build Desk prompt */
.door, .prompt { background: linear-gradient(var(--fill-fact), var(--fill-fact)) padding-box, var(--mat-ice-rim) border-box; box-shadow: inset 0 1px 0 var(--mat-glass-edge), var(--lift); }
.door { padding: clamp(20px, 2.6vw, 30px) clamp(20px, 2.8vw, 32px); border-radius: var(--radius-l); display: grid; gap: 14px; }
/* read glass (glass.css .ts--read): the anchor door and the one next step, with the polished gold rim and its glint */
.panel--ink, .door--anchor {
  isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, rgba(var(--gold-rgb), 0.16), rgba(var(--gold-rgb), 0) 60%), radial-gradient(90% 120% at 100% 100%, rgba(var(--green-2), 0.34), rgba(var(--green-2), 0) 70%), var(--fill-read);
  box-shadow: inset 0 1px 0 rgba(255, 248, 225, 0.6), inset 0 0 38px -14px rgba(var(--gold-rgb), 0.35), var(--lift);
}
.panel--ink::before, .door--anchor::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--mat-gold-spec) 130% 0 / 300% 100% no-repeat, var(--mat-gold-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ts-glint 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
/* note glass (glass.css .ts--note): staged lines */
.staged { padding: 12px 16px; border-radius: var(--radius-m); border-style: dashed; background: linear-gradient(var(--fill-note), var(--fill-note)) padding-box, var(--mat-champagne-rim) border-box; }
.staged > p:first-child { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.035em; background: var(--lit); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.price small { font-family: var(--font-body); font-weight: 400; font-size: 15px; letter-spacing: 0; -webkit-text-fill-color: var(--ink-2); color: var(--ink-2); }
.count { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.count::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.7); }
.full { font-weight: 500; color: var(--ink-strong); }

/* buttons: the white button leads (the Levels "Join"), the glass one follows */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; max-width: 100%; padding: 14px 26px;
  border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--ink-on-light);
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.75);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover:not(:disabled) { color: var(--ink-on-light); transform: translateY(-1px); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.8), 0 0 0 4px rgba(var(--gold-rgb), 0.18); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn--quiet { background: rgba(255, 255, 255, 0.04); color: var(--ink-strong); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn--quiet:hover:not(:disabled) { color: var(--ink-strong); border-color: rgba(var(--gold-rgb), 0.6); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.1); }
.doors { list-style: none; padding: 0 !important; display: grid; gap: 18px !important; }
.doors .btn { width: 100%; }
.doors p { margin: 8px 4px 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* forms */
.status:empty { display: none; }
.status { color: var(--ink); }
.fail { font-weight: 500; color: var(--bad); }
.fail a { color: var(--bad); }
form { display: grid; gap: 22px; }
.field { border: 0; min-width: 0; display: grid; gap: 8px; }
.field > label, .field > legend { font-weight: 500; font-size: 16px; line-height: 1.45; color: var(--ink-strong); margin-bottom: 4px; }
.hint { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="date"], textarea, select {
  display: block; width: 100%; min-height: 50px; padding: 13px 15px; font: inherit; font-size: 16.5px; line-height: 1.45; color: var(--ink-strong);
  background: var(--fill-field); border: 1px solid var(--line-2); border-radius: var(--radius-s); -webkit-appearance: none; appearance: none; color-scheme: dark;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: rgba(var(--gold-rgb), 0.75); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.18); }
textarea { min-height: 120px; resize: vertical; }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: flex-start; gap: 14px; min-height: 52px; padding: 13px 16px; border-radius: var(--radius-m); background: linear-gradient(var(--fill-glass), var(--fill-glass)) padding-box, var(--rim-quiet) border-box; cursor: pointer; font-size: 16px; line-height: 1.45; transition: box-shadow var(--dur) var(--ease); }
.choice:hover { box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.3); }
.choice input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.choice:has(input:checked) { background: linear-gradient(rgba(var(--gold-rgb), 0.07), rgba(var(--gold-rgb), 0.07)) padding-box, var(--mat-gold-rim) border-box; }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.choice__body { display: block; min-width: 0; overflow-wrap: anywhere; }
.choice__name { display: block; font-weight: 600; color: var(--ink-strong); }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale .choice { justify-content: center; padding: 12px 6px; }
.consent { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.turnstile:empty { display: none; }

/* lists that carry meaning */
.promises { list-style: none; padding: 0 !important; display: grid; gap: 14px; counter-reset: promise; }
.promises li { padding: 16px 18px 16px 60px; border-radius: var(--radius-m); background: linear-gradient(var(--fill-glass), var(--fill-glass)) padding-box, var(--rim-quiet) border-box; counter-increment: promise; }
.promises li::before { content: counter(promise, decimal-leading-zero); position: absolute; left: 18px; top: 17px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--gold-hi); }
.promises strong { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.keeper { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(var(--gold-rgb), 0.85); }
.days { list-style: none; position: relative; padding-left: 28px !important; }
.days::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.85), rgba(var(--gold-rgb), 0.05)); }
.days li { position: relative; }
.days li::before { content: ""; position: absolute; left: -28px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.65); }
.days b { color: var(--ink-strong); }
.ladder { list-style: none; padding: 0 !important; }
.ladder li { padding: 14px 18px; border-radius: var(--radius-m); background: linear-gradient(var(--fill-glass), var(--fill-glass)) padding-box, var(--rim-quiet) border-box; }
.ladder b { color: var(--gold-hi); }
.roles { list-style: none; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.roles li { padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(var(--gold-rgb), 0.3); background: rgba(255, 255, 255, 0.03); font-size: 15px; }
.nextlist { list-style: none; padding: 0 !important; }
.nextlist li { padding: 15px 18px; border-radius: var(--radius-m); background: linear-gradient(var(--fill-glass), var(--fill-glass)) padding-box, var(--rim-quiet) border-box; }
.nextlist strong { display: block; }
.nextlist span { display: block; font-size: 15px; color: var(--ink-2); }
.standing { padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.65; color: var(--ink-3); }
.prompt { padding: 18px; border-radius: var(--radius-m); white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 14px; line-height: 1.65; color: var(--ink); }
.copied { display: inline-block; margin-left: 12px; font-size: 14px; color: var(--ok); }
.copied:empty { display: none; }
.checks { list-style: none; padding: 0 !important; }

/* a person, always one press away: the kit's presence pearl takes this role; the pill is the no-script fallback */
.person { position: fixed; right: 16px; bottom: 16px; z-index: 10; }
.person a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: rgba(10, 22, 24, 0.86); border: 1px solid rgba(var(--gold-rgb), 0.4); color: var(--ink-strong); font-size: 14px; font-weight: 600; text-decoration: none; }
.has-presence .person { display: none; }

/* the close (the kit's cream marble): links in the step cards and the dawn in deep gold */
#close .lv-steps a { color: #7a5a1c; text-decoration-color: rgba(176, 138, 69, 0.55); font-weight: 600; }
#close .lv-steps a:hover { color: #16101e; }
#close .lv-dawn__h { margin-left: auto; margin-right: auto; color: #16101e; }
#close .lv-dawn__h span { background: linear-gradient(108deg, #b8862f 0%, #7a5a1c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* The close's cream ground, on every page and under the universe canvas alike (the kit's ground is set aside
   when the canvas runs, and the canvas runs dark at the dawn block, leaving the deep ink unreadable). The House
   layer gives the cream back with the kit's own values, and keeps the kit's sunrise ramp above it so the walk
   in from the last dark chapter is unchanged. */
html section.x-ch#close,
html.u-on section.x-ch#close { background: linear-gradient(180deg, #f6f1e7 0%, #efe6d3 100%); }
html.u-on section.x-ch#close::before {
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(255, 226, 170, 0.55) 0%, rgba(255, 226, 170, 0) 60%),
    linear-gradient(180deg, #3d2a39 0%, #5a3a44 18%, #8a5a52 34%, #c08566 50%, #e2b07f 64%, #f0d3a6 78%, #f5e8cf 90%, #f6f1e7 100%);
}

/* the footer, as the kit's foot: forest into navy */
.foot { position: relative; z-index: 1; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 24px) clamp(48px, 6vw, 90px); background: radial-gradient(70% 60% at 20% 0%, rgba(31, 74, 58, 0.6), rgba(31, 74, 58, 0) 70%), linear-gradient(180deg, #0b1420 0%, #0a1b19 100%); color: var(--ink-3); font-size: 14px; line-height: 1.65; }
.foot > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.foot p { margin-bottom: 10px; }
.foot a { color: var(--gold-hi); text-decoration-color: rgba(var(--gold-rgb), 0.45); }
.foot nav { display: flex; gap: 10px 22px; flex-wrap: wrap; margin: 14px auto; }
.foot nav a { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; min-height: 24px; }
.foot nav a:hover { color: var(--gold-hi); }
.foot .foot__mark { display: inline-flex; align-items: center; min-height: 44px; width: 64px; margin: 0 0 16px; }
.foot .foot__mark img { display: block; width: 64px; height: auto; filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), 0.16)); }
.foot .legal-name { color: var(--ink-2); }

/* 5. Small screens, less motion, raised contrast, print */
@media (max-width: 860px) { .top__nav { display: none; } .top__cta { margin-left: auto; } }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn { padding: 14px 18px; }
  .actions .btn { width: 100%; }
  .scale { gap: 6px; }
  .door, .panel { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (prefers-contrast: more) { :root { --ink-2: rgba(233, 237, 242, 0.92); --ink-3: rgba(233, 237, 242, 0.8); --line: rgba(255, 255, 255, 0.3); } }
@media print { canvas, .person, .skip, .top { display: none !important; } body, html { background: #fff; color: #000; } }

/* 6. The House's place for the pearl, and its hero object ------------------------------------------------------------- */
/* the pearl stands alone (no sound cluster on the House): its plate and the text gutter fit the pearl only */
:root { --lv-s-reach: 124px; }
html[data-presence="on"]:not(.is-present)::after { display: none; }
/* the hero with its object: the kit's grid (levels.css .x-hero__inner--top), the words in the left cell */
.x-hero__words { min-width: 0; }
.x-hero__words > :where(p, ul, ol, div, form, noscript):not(.x-eyebrow) { max-width: 62ch; margin-top: 22px; }
/* the glass stack: five slabs of emerald glass with body, a lit top edge and a staircase offset, in the kit's hero frame
   (.ho float and tilt, screen blend: it only ever adds light). The top slab is rimmed in gold. The layers are the build. */
.x-hero > .x-ghost { right: -0.02em; top: 0.02em; }
.glass-stack { position: absolute; inset: 22% 18%; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.glass-stack::before { content: ""; position: absolute; inset: -34% -28%; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 190, 150, 0.46), rgba(47, 107, 82, 0.18) 55%, transparent 76%); filter: blur(20px); transform: translateZ(-60px); }
.glass-stack i {
  --dx: 0px; --dy: 0px;
  position: absolute; inset: 0; border-radius: 18px; transform-style: preserve-3d;
  background:
    linear-gradient(125deg, rgba(235, 255, 246, 0.55) 0%, rgba(150, 235, 200, 0.22) 18%, rgba(40, 120, 92, 0.16) 52%, rgba(20, 80, 60, 0.10) 74%, rgba(160, 240, 205, 0.34) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(205, 255, 235, 0.75), inset 0 0 60px rgba(110, 220, 178, 0.28), 0 0 42px rgba(60, 185, 145, 0.24);
  transform: translate3d(var(--dx), var(--dy), var(--z));
  animation: stack-breathe 10s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
/* the slab's body: a second face below it, so each layer has thickness and a bright front edge */
.glass-stack i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transform: translateZ(-14px); background: linear-gradient(125deg, rgba(120, 220, 180, 0.30), rgba(30, 100, 76, 0.18)); box-shadow: inset 0 0 0 1px rgba(170, 245, 215, 0.45); }
.glass-stack i:nth-child(1) { --z: 0px; --dx: 18px; --dy: 26px; opacity: 0.6; }
.glass-stack i:nth-child(2) { --z: 40px; --dx: 9px; --dy: 13px; opacity: 0.72; }
.glass-stack i:nth-child(3) { --z: 80px; opacity: 0.84; }
.glass-stack i:nth-child(4) { --z: 120px; --dx: -9px; --dy: -13px; opacity: 0.93; }
.glass-stack i:nth-child(5) { --z: 160px; --dx: -18px; --dy: -26px; background: linear-gradient(125deg, rgba(255, 248, 228, 0.62) 0%, rgba(243, 217, 160, 0.26) 20%, rgba(90, 170, 140, 0.16) 55%, rgba(255, 243, 214, 0.30) 100%); box-shadow: inset 0 0 0 1.5px rgba(243, 217, 160, 0.95), inset 0 0 60px rgba(243, 217, 160, 0.20), 0 0 52px rgba(243, 217, 160, 0.30); }
.glass-stack i:nth-child(5)::after { background: linear-gradient(125deg, rgba(243, 217, 160, 0.34), rgba(120, 90, 40, 0.18)); box-shadow: inset 0 0 0 1px rgba(243, 217, 160, 0.6); }
@keyframes stack-breathe { 0%, 100% { transform: translate3d(var(--dx), var(--dy), var(--z)); } 50% { transform: translate3d(calc(var(--dx) * 1.25), calc(var(--dy) * 1.25), calc(var(--z) * 1.14)); } }
/* the object comes first in the markup (above the title on a phone, as the kit asks) and takes the right cell on wide screens */
@media (min-width: 901px) { .x-hero__inner--top > .ho { order: 2; } .x-hero__inner--top > .x-hero__words { order: 1; } }
/* the light pools of each chapter (levels.css V2) fade at the chapter's top and bottom, so one act's glow blends into the
   next instead of ending on a flat line (a House improvement to lift back into the kit) */
section.x-ch:not(#close)::before, .x-hero::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%);
}
/* the kit sets every paragraph in the words column (.x-words p); the House's typed pieces keep their own size there */
.x-words p.price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.035em; color: transparent; }
.x-words p.small, .x-words .small { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.x-words p.count { font-size: 12px; line-height: 1.4; color: var(--gold); }
.x-words p.hint { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.x-words p.honest { color: var(--ink); }
.x-words p.full { color: var(--ink-strong); font-weight: 500; }
.x-words p.status:empty { display: none; }
@media (max-width: 900px) { .x-hero__inner--top > .ho { margin-top: 18px; } }

/* Slim build row 3: the House's papers on their pages (scripts/paper-md.mjs). A plain box beside a clause, and a table
   that scrolls inside its own frame so a phone never scrolls sideways. */
.x-words .box { margin: 4px 0 20px; gap: 8px; font-size: 14.5px; line-height: 1.6; }
.x-words .box p { color: var(--ink-2); }
.x-words .scroll { overflow-x: auto; margin: 8px 0 20px; -webkit-overflow-scrolling: touch; }
.x-words table { border-collapse: collapse; min-width: 560px; font-size: 14px; line-height: 1.5; }
.x-words th, .x-words td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid rgba(var(--gold-rgb), 0.18); }
.x-words th { color: var(--ink-strong); font-weight: 600; }
.x-words h3 { margin-top: 18px; font-weight: 600; color: var(--ink-strong); }

/* Touch targets on the shared chapter rail and top bar (visual pass): 44 px, with the look unchanged. */
.xr-item { min-height: 44px; display: flex; align-items: center; }
.xr-btn { min-width: 44px; min-height: 44px; }
.top__cta { min-height: 44px; display: inline-flex; align-items: center; }
.top__nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* R157b: H7, focus not obscured. On a phone the fixed Presence sits in the
   footer's bottom-right; keep the last links clear of it (WCAG 2.4.11). */
@media (max-width:560px){ .foot { padding-bottom: clamp(108px, 28vw, 150px); } }
