/* Newsreader (2026-11-12): one serif for every visitor, upright and italic, self-hosted. SIL OFL 1.1,
 * licence in fonts/OFL-Newsreader.txt. Before this, Safari showed New York and every other browser Georgia. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/newsreader-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/newsreader-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/newsreader-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/newsreader-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* emma landing page. Values from .git/brandkit/4-tokens/tokens.json.
 * Paper and Dusk share the same spacing, typography and component geometry. */
:root {
  --bg: #15131F; --card: #1F1C2B; --bg2: #100E18;
  --line: #332E3A; --line-strong: #736A7C;
  --ink: #F4EBDD; --muted: #B9AE9F; --faint: #8E8476;
  --amber: #F5AE5C; --amber-2: #FFD08A; --tint: #4A3935;
  --fill-top: #FFD08A; --fill-bottom: #F3A14A; --on-fill: #2A1608;
  --glow-color: #F5AE5C; --glow: color-mix(in srgb, var(--glow-color) 16%, transparent);
  --paper: #FFFBF4; --paper-ink: #2A2730; --paper-accent: #9C4A0E;
  --shadow: 0 6px 24px color-mix(in srgb, var(--fill-bottom) 25%, transparent);
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem; --s14: 3.5rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --content: 72rem; --section-space: clamp(3rem, 5vw, 4.5rem);
  --radius-card: 1.5rem;
  --sun-fill: none; --lit-shadow: 22px;
  --bubble-shadow: 0 6px 18px rgb(0 0 0 / 0.28);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F6EFE3; --card: #FFFBF4; --bg2: #EFE5D5;
    --line: #E3D4C0; --line-strong: #8F806D;
    --ink: #2A2730; --muted: #5E554C; --faint: #6E6357;
    --amber: #9C4A0E; --amber-2: #7A3A0B; --tint: #FBE3C2;
    --glow: color-mix(in srgb, var(--glow-color) 22%, transparent);
    --sun-fill: currentColor; --lit-shadow: 18px;
    --bubble-shadow: 0 6px 18px rgb(60 40 20 / 0.12);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F6EFE3; --card: #FFFBF4; --bg2: #EFE5D5;
  --line: #E3D4C0; --line-strong: #8F806D;
  --ink: #2A2730; --muted: #5E554C; --faint: #6E6357;
  --amber: #9C4A0E; --amber-2: #7A3A0B; --tint: #FBE3C2;
  --glow: color-mix(in srgb, var(--glow-color) 22%, transparent);
  --sun-fill: currentColor; --lit-shadow: 18px;
  --bubble-shadow: 0 6px 18px rgb(60 40 20 / 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
/* The bar is not pinned, so a section link only needs a little air above its target. */
html { scroll-behavior: smooth; scroll-padding-top: 3rem; }
[hidden] { display: none !important; }
p, li, dd { text-wrap: pretty; overflow-wrap: anywhere; }
h1, h2, h3, .ej-big { text-wrap: balance; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.125rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
code { font-size: 0.9em; padding: 0 0.25em; border-radius: 4px; background: var(--card); }
h1, h2, .ej-big { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 em, h2 em, h3 em, .ej-big em { color: var(--amber); font-style: italic; transition: text-shadow 1.2s ease; }
.is-emma h2 em, .is-emma h3 em, .ej-keepline.is-emma em { text-shadow: 0 0 var(--lit-shadow) var(--glow); }

.ej-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.ej-skip:focus { position: fixed; left: 8px; }

/* ---------------------------------------------------------------- the guide's layers */
.emma-aura-layer, .emma-guide-layer { position: fixed; inset: 0; overflow: clip; contain: paint; pointer-events: none; }
.emma-aura-layer { z-index: 0; }
.emma-guide-layer { z-index: 31; }
.emma-aura { position: fixed; left: 0; top: 0; width: 1200px; height: 1200px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, var(--glow), transparent 45%, transparent 75%);
  will-change: transform; transition: opacity 0.6s ease; }

.emma-trail { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 30; }
.emma-guide { position: fixed; left: 0; top: 0; z-index: 31; pointer-events: none; transform-origin: 50% 60%; will-change: transform; transition: opacity 0.26s ease; }
.emma-guide.is-fading { opacity: 0.25; }
.emma-guide-canvas { display: block; }
.emma-hit { position: absolute; left: 32%; top: 44%; width: 36%; height: 30%; min-width: calc(var(--emma-hit-size, 45px) * 1.2); min-height: calc(var(--emma-hit-size, 45px) * 1.2); border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; pointer-events: auto; }
main, footer, .ej-mast { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- masthead */
.ej-mast { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: var(--s4); padding: var(--s3) var(--gutter);
  background: var(--bg); border-bottom: 1px solid var(--line); }
.ej-brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.02em; }
.ej-theme { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--s2); background: none; color: var(--muted); cursor: pointer; }
.ej-theme:hover { color: var(--ink); }
.ej-theme circle { fill: var(--sun-fill); }
.ej-mast nav { display: flex; gap: var(--s5); margin-left: auto; }
.ej-mast nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); font-size: 0.9375rem; }
.ej-mast nav a:hover { color: var(--ink); }
@media (max-width: 1100px) { .ej-signin { margin-left: auto; } }
@media (max-width: 700px) { .ej-mast > nav { display: none; } }
@media (min-width: 701px) and (max-width: 1100px) {
  .ej-mast { flex-wrap: wrap; row-gap: 0; }
  .ej-mast > nav { order: 10; flex: 1 0 100%; margin-left: 0; justify-content: safe center; flex-wrap: nowrap; overflow-x: auto; gap: var(--s4); border-top: 1px solid var(--line); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ej-mast > nav::-webkit-scrollbar { display: none; }
  .ej-mast > nav a { flex: 0 0 auto; font-size: 0.875rem; white-space: nowrap; }
}

.ej-btn { min-height: 60px; justify-content: center; display: inline-flex; align-items: center; gap: 8px; padding: var(--s3) var(--s5); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem;
  background: linear-gradient(180deg, var(--fill-top), var(--fill-bottom)); color: var(--on-fill); box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
@media (hover: hover) { .ej-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
}
.ej-btn-ghost { background: none; color: var(--ink); border: 1.5px solid var(--line-strong); box-shadow: none; }
.ej-btn-ghost:hover { border-color: var(--amber); box-shadow: 0 0 24px var(--glow); }
/* The ring follows each control's own shape; it never reshapes a pill on focus. */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------------------------------------------------------------- hero */
/* Title, film, then actions: the film never competes with a second column. */
.ej-hero { display: grid; justify-items: center; gap: var(--s6); padding: var(--s6) var(--gutter) var(--section-space); max-width: var(--content); margin: 0 auto; text-align: center; }
.ej-hero-text, .ej-hero-actions { width: 100%; min-width: 0; }
.ej-hero-light { height: 5rem; display: grid; place-items: center; margin-bottom: var(--s3); }
.guide-ready .ej-hero-light img { visibility: hidden; }
.ej-eyebrow, .ej-label { font: 600 0.8125rem/1.4 var(--sans); letter-spacing: 0.075em; text-transform: uppercase; color: var(--amber); margin: 0 0 var(--s3); }
.ej-hero h1 { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.08; max-width: 25ch; margin: 0 auto var(--s4); }
.ej-lede { font-size: 1.125rem; line-height: 1.5; color: var(--muted); max-width: 44rem; margin: 0 auto; }
.ej-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin: 0 0 var(--s4); }
.ej-ctas-c { margin-top: var(--s8); }
.ej-hero-note { color: var(--muted); font-size: 0.9375rem; max-width: 40rem; margin: 0 auto var(--s3); }
.ej-hero-stage { width: min(100%, 38rem); min-width: 0; }
.ej-film { margin: 0; }
.ej-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--s4); background: var(--bg2); border: 1px solid var(--line); }
.ej-film figcaption { margin-top: var(--s2); font-size: 0.9375rem; color: var(--muted); }
.ej-film figcaption i { font-family: var(--serif); color: var(--ink); }
/* One short line: it wraps as text, so the dot stays with the first word. */
.ej-status { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.ej-dot { display: inline-block; width: 8px; height: 8px; margin-right: var(--s2); border-radius: 50%; background: var(--amber); vertical-align: 0.05em; }
@media (max-width: 600px) {
  .ej-hero { padding-top: var(--s4); gap: var(--s4); }
  .ej-hero-light { height: 4.5rem; margin-bottom: var(--s2); }
  .ej-hero h1 { margin-bottom: var(--s3); }
  .ej-hero .ej-eyebrow { max-width: 26ch; margin-inline: auto; }
  .ej-mast { gap: var(--s2); }
  .ej-signin { font-size: 0.875rem; padding-inline: var(--s3); }
}
@media (max-height: 780px) and (min-width: 861px) {
  .ej-hero-stage { width: min(100%, 28rem); }
  .ej-hero { gap: var(--s4); padding-top: var(--s4); }
  .ej-hero-light { height: 3rem; }
  .ej-hero h1 { max-width: none; font-size: 2.5rem; }
}
@media (max-height: 700px) and (max-width: 600px) {
  .ej-hero { gap: var(--s3); padding-top: var(--s2); }
  .ej-hero-light { height: 2.5rem; }
  .ej-hero h1 { font-size: 1.875rem; }
  .ej-lede { font-size: 1rem; line-height: 1.4; }
}

/* ---------------------------------------------------------------- sections */
.ej-sec { padding: var(--section-space) 0; position: relative; }
.ej-wrap { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }


h2 { font-size: clamp(2.125rem, 4.2vw, 3.25rem); line-height: 1.12; margin-bottom: var(--s4); }
h3 { font: 600 1.125rem/1.35 var(--sans); margin: 0 0 var(--s3); }
.ej-intro { font-size: 1.125rem; color: var(--muted); margin: 0 0 var(--s4); max-width: 40rem; }
.ej-wrap > :is(.ej-label, h2, .ej-intro) { text-align: center; margin-inline: auto; }
.ej-wrap > h2 { max-width: 25ch; }
.ej-fine { font-size: 0.9375rem; color: var(--faint); margin-top: var(--s8); }

.ej-card { margin: 0; padding: var(--s6); border-radius: var(--radius-card); background: var(--card); border: 1px solid var(--line); position: relative; transition: border-color 1s ease, box-shadow 1s ease; }
.is-emma .ej-card, .ej-card.is-emma { border-color: color-mix(in srgb, var(--amber) 38%, var(--line));  }
.ej-card blockquote { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; margin: 6px 0 12px; }
.ej-card figcaption { font-size: 0.9375rem; color: var(--faint); }
.ej-card p { color: var(--muted); }
.ej-note { margin: 12px 0 0; font-size: 0.9375rem; }

/* 01 one memory */
.ej-keep { list-style: none; margin: var(--s8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 900px) { .ej-keep { grid-template-columns: 1fr; } }
.ej-k { font: 600 1rem/1.5 var(--sans); color: var(--ink); margin: 0 0 var(--s4); }
.ej-k .ej-n { width: 24px; height: 24px; margin: 0 10px 0 0; font-size: 0.9375rem; letter-spacing: 0; color: var(--on-fill); background: linear-gradient(180deg, var(--fill-top), var(--fill-bottom)); border-color: transparent; vertical-align: middle; }
.ej-paper { background: var(--paper); color: var(--paper-ink); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; transform: rotate(-1.6deg);  font-family: var(--serif); margin: 4px 0 14px; }
.ej-paper p { color: var(--paper-ink); margin: 2px 0; font-size: 1rem; }
.ej-paper .ej-paper-t { font-size: 1.25rem; font-style: italic; }
.ej-hand { font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; color: var(--paper-accent); font-size: 1.125rem; display: inline-block; transform: rotate(-8deg); }
.ej-cap-l { font-size: 0.9375rem; margin: 0; }
.ej-facts { margin: 4px 0 14px; display: grid; gap: 10px; }
.ej-facts div { border-left: 2px solid var(--amber); padding-left: 12px; }
.ej-facts dt { font-size: 0.8125rem; color: var(--muted); }
.ej-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 1.125rem; color: var(--ink); }
.ej-ask, .ej-reply { margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; font-family: var(--serif); font-size: 1.0625rem; line-height: 1.4; }
.ej-card .ej-ask .ej-who { color: var(--muted); }
.ej-card .ej-ask { color: var(--ink); background: var(--tint); border-bottom-right-radius: 4px; margin-left: 12%; }
.ej-card .ej-reply { color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; margin-right: 12%; }
.ej-who { display: block; font: 600 0.8125rem/1.4 var(--sans); letter-spacing: 0; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.ej-card .ej-grant-chip { display: inline-block; margin: 2px 0 0; padding: 5px 12px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--amber) 55%, var(--line)); font-size: 0.9375rem; color: var(--amber-2); }
.ej-ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ej-ticks li { padding-left: 26px; position: relative; margin: 8px 0; color: var(--muted); }
.ej-ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, var(--amber-2), var(--amber)); box-shadow: 0 0 10px var(--glow); }
.ej-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8); margin-top: 10px; }
.ej-two p { color: var(--muted); }
@media (max-width: 760px) { .ej-two { grid-template-columns: 1fr; } }

/* 02 assistant access */
.ej-grant { max-width: 560px; margin: var(--s8) auto 0; padding: var(--s6); border-radius: var(--radius-card); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--line)); background: var(--card);  }
.ej-grant-line { font-family: var(--serif); font-size: clamp(1.3125rem, 2.3vw, 1.625rem); line-height: 1.35; margin: 0 0 12px; }
.ej-grant-line b { color: var(--amber); font-weight: 400; }
.ej-grant-list { margin: 0; padding-left: 20px; color: var(--muted); }
.ej-grant .ej-note { color: var(--faint); }
.ej-step a, .ej-fineprint a { color: var(--amber); }
.ej-fineprint { margin-top: var(--s14); }
.ej-fineprint h3 { font-size: 1.125rem; }

/* 03 today and next */
.ej-split { display: grid; grid-template-columns: 1fr; gap: var(--s10); margin-top: var(--s8); }
.ej-col-now { max-width: 40rem; width: 100%; margin-inline: auto; }
@media (min-width: 861px) {
  .ej-col-next { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .ej-col-next > .ej-col-t, .ej-col-next > .ej-col-d { grid-column: 1 / -1; }
}
.ej-col { display: grid; gap: var(--s4); }
.ej-col-t, .ej-col-d { text-align: center; }
.ej-col-t { font: 400 1.75rem/1.25 var(--serif); margin: 0; }
.ej-col-now .ej-col-t { color: var(--amber); }
.ej-col-d { margin: -8px 0 4px; color: var(--faint); font-size: 0.9375rem; }
.ej-col-now .ej-card { border-color: color-mix(in srgb, var(--amber) 45%, var(--line)); }
.ej-col-next .ej-sc h3 { font-size: 1.125rem; }
.ej-col-next .ej-sc > p:not(.ej-pill) { margin: 0; font-size: 1rem; }

/* 04 keeping it safe */
.ej-safe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s8); }
@media (max-width: 760px) { .ej-safe-grid { grid-template-columns: 1fr; } }
.ej-safe-grid h3 { font-size: 1.125rem; }
.ej-safe-grid p { font-size: 1rem; }
.ej-safe-grid a { color: var(--amber); }

/* the lit thread emma rides */
.ej-steps { position: relative; margin: var(--s14) 0 var(--s8); }
.ej-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s14); position: relative; }
.ej-step { width: min(420px, 44%); padding: var(--s6); border-radius: var(--radius-card); border: 1px solid var(--line); background: var(--card); transition: border-color 0.8s ease, box-shadow 0.8s ease, transform 0.8s ease; }
.ej-step-r { justify-self: end; }
.ej-step p { color: var(--muted); margin: 0; }
.ej-step.is-lit { border-color: color-mix(in srgb, var(--amber) 50%, var(--line));  }
.ej-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 12px; font: 600 15px/1 var(--sans); color: var(--faint); border: 1px solid var(--line); transition: all 0.8s ease; }
.ej-step.is-lit .ej-n { color: var(--on-fill); background: linear-gradient(180deg, var(--fill-top), var(--fill-bottom)); border-color: transparent; box-shadow: 0 0 22px var(--glow); }
.ej-thread { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ej-thread path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.ej-thread-base { stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 8; }
.ej-thread-lit { stroke: var(--amber); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px var(--glow)); }
.ej-thread-m { display: none; }
@media (max-width: 860px) {
  .ej-thread-d { display: none; } .ej-thread-m { display: block; }
  .ej-steps ol { gap: 40px; }
  .ej-step, .ej-step-r { width: auto; justify-self: stretch; margin-right: 18%; }
}

/* the closing line */
.ej-keepline { text-align: center; padding-top: var(--section-space); }
.ej-big { font-size: clamp(2.25rem, 5.4vw, 4.25rem); line-height: 1.1; max-width: 16em; margin: 0 auto 16px; }
.ej-keepline .ej-intro { margin: 0 auto; }

/* status */
.ej-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s8); }
@media (max-width: 760px) { .ej-status-grid { grid-template-columns: 1fr; } }
.ej-pill { font: 600 0.8125rem/1.4 var(--sans); display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; margin-bottom: 14px; }
.ej-pill-on { color: var(--on-fill); background: linear-gradient(180deg, var(--fill-top), var(--fill-bottom)); border-color: transparent; }
.ej-pill-dev { border-style: dashed; }
details { margin-top: 12px; }
summary { min-height: 44px; padding-block: var(--s3); cursor: pointer; color: var(--amber); font-weight: 600; font-size: 0.9375rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; display: inline-block; width: 1.2em; transition: transform 0.3s ease; }
details[open] > summary::before { transform: rotate(45deg); }
details p { font-size: 1rem; }

/* faq */
.ej-qs { margin-top: var(--s8); border-top: 1px solid var(--line); }
.ej-qs details { margin: 0; border-bottom: 1px solid var(--line); padding: var(--s2) var(--s1); }
.ej-qs summary { display: flex; align-items: baseline; color: var(--ink); font-family: var(--serif); font-size: 1.3125rem; font-weight: 400; }
.ej-qs summary::before { flex: 0 0 1.2em; }
.ej-qs summary::before { color: var(--amber); }
.ej-qs p { color: var(--muted); max-width: 42em; }

/* footer */
.ej-foot { padding: var(--section-space) 0 var(--s14); border-top: 1px solid var(--line); text-align: center; }
.ej-foot .ej-brand { justify-content: center; margin-bottom: 20px; }
.ej-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.ej-foot nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.ej-foot nav a:hover { color: var(--ink); }

/* A stable header control stays clear of the film at every scroll position. */
.ej-mast .ej-btn { min-height: 44px; }
.ej-pause { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--muted); cursor: pointer; }
.ej-pause:hover { color: var(--ink); border-color: var(--amber); }
.ej-pause [data-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ej-pause-i { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.ej-pause[aria-pressed="true"] .ej-pause-i { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ej-btn:active { transform: scale(0.97); }
.ej-step a, .ej-fineprint a, details a, .ej-safe-grid a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
/* Links in running text stay inline; vertical padding enlarges the tap area without breaking the sentence. */
details a, .ej-safe-grid a, .ej-step a, .ej-fineprint a, .ej-apps p > a:not(.ej-btn) { display: inline; padding-block: 14px; margin-block: -14px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 380px) {
  .ej-mast { flex-wrap: wrap; gap: var(--s1); padding-inline: var(--s3); }
  .ej-brand { font-size: 1.25rem; }
  .ej-mast .ej-brand { gap: var(--s2); }
  .ej-signin { flex: 1 1 0; min-width: 44px; font-size: 0.8125rem; padding: var(--s1) var(--s2); overflow-wrap: anywhere; }
}
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  :root { --line: var(--line-strong); --glow: transparent; }
  .emma-aura { display: none; }
}

/* reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { transform: none; transition: opacity 0.4s ease; } .ej-dot { animation: none; } }
.emma-paused .ej-dot { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.2s !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .ej-btn:hover, .ej-btn:active, .ej-paper, .ej-hand { transform: none; }
}

.ej-section-light { height: 6rem; margin-bottom: var(--s6); }

/* Large text reflows the masthead rather than squeezing labels or cropping them. */
.ej-mast { flex-wrap: wrap; }
.ej-signin { max-width: 100%; }
.ej-mast nav { flex-wrap: wrap; }
.ej-ctas .ej-btn { max-width: 100%; }
.ej-card, .ej-col, .ej-step { min-width: 0; }

@media (max-height: 700px) and (max-width: 360px) { .ej-hero-stage { width: min(100%, 15rem); } }
.ej-card .ej-pill-on { color: var(--on-fill); }
.ej-card .ej-k { color: var(--ink); }
a { min-width: 44px; }
.ej-skip { min-height: 44px; }

/* ---------------------------------------------------------------- the app's look (web-brand, 2026-11-04)
 * The first screen now matches the sign-in, age and account pages after it
 * (/auth/assets/pages.css, from work/native/iOS/EmmaPrivateTheme.swift): a slim
 * bar with the lockup, ink headings with no accent italics, quiet captions
 * instead of coloured kickers, and one amber pill per screen. Copy, links and
 * scripts are unchanged; this block only restyles. */

/* One serif for every page (landing, sign-in pages, Terms): New York on Apple, Georgia elsewhere. */
:root { --serif: "Newsreader", ui-serif, "New York", Georgia, "Times New Roman", serif; }

/* The bar starts at the page gutter, as on every emma page: the theme switch,
 * the lockup, the section links, an outlined "Sign in with Google" (the hero's
 * "Get started" is the one amber pill), and the guide's pause control
 * (WCAG 2.2.2). DOM order is reading and focus order. It is not pinned and has
 * no fill or rule, so it never crops the ember below it. Below 700px the
 * section links hide and from 701 to 1100px they keep their own row, as before. */
.ej-mast { position: relative; background: transparent; border-bottom: 0; }
@media (min-width: 701px) and (max-width: 1100px) { .ej-mast > nav { border-top: 0; } }
.ej-mast .ej-signin { order: 2; }
.ej-mast .ej-pause { order: 4; background: transparent; }
/* On a phone the bar keeps to one row where it can: tighter gaps, a smaller lockup and label. */
@media (max-width: 480px) {
  .ej-mast { gap: var(--s1); padding-inline: var(--s4); }
  .ej-mast .ej-brand { font-size: 1.25rem; gap: var(--s2); margin-right: auto; }
  .ej-mast .ej-signin { margin-left: 0; font-size: 0.8125rem; padding-inline: var(--s3); }
}
/* On the narrowest phones the bar keeps one row with the mark alone for the lockup
 * (the link is still named "emma, home"), so "Sign in with Google" stays on one line. */
@media (max-width: 380px) {
  .ej-mast .ej-brand span { display: none; }
  .ej-mast .ej-signin { padding-inline: var(--s2); }
}

/* Type: ink headings, no rust italics, no coloured all-caps kickers. */
h1 em, h2 em, h3 em, .ej-big em { color: inherit; font-style: normal; }
.ej-eyebrow, .ej-label { color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.ej-col-now .ej-col-t { color: var(--ink); }

/* The hero opens on the ember, clear of the bar. Extra room only where the
 * screen is tall enough that the film still fits above the fold. */
@media (min-width: 601px) and (min-height: 781px) { .ej-hero { padding-top: var(--s8); } .ej-hero-stage { width: min(100%, 36rem); } }
@media (max-width: 600px) and (min-height: 701px) { .ej-hero { padding-top: var(--s8); } }

/* Long body text: left-aligned in a short column under its centred heading.
 * The short section intros stay centred with their headings (title blocks). */
.ej-lede, .ej-hero-note, .ej-col-d, .ej-fine { text-align: left; max-width: 34ch; margin-inline: auto; }
.ej-status { text-align: center; max-width: 40rem; margin-inline: auto; }
/* The one-line note under the two ways, and the footer's line, sit centred like the blocks above them. */
#together .ej-fine { text-align: center; }
.ej-foot .ej-fine { text-align: center; max-width: 44rem; }
.ej-wrap > .ej-intro, .ej-keepline .ej-intro { max-width: 34ch; }
.ej-qs p { max-width: 34em; }

/* No dead space between sections: the app moves from one thing to the next. */
:root { --section-space: clamp(2rem, 4.5vw, 3rem); }
.ej-section-light { height: 4.5rem; margin-bottom: var(--s3); }
.ej-fine { margin-top: var(--s6); }
.ej-steps { margin-top: var(--s10); }
.ej-fineprint { margin-top: var(--s10); }

/* Every section is visible as written: no scroll reveal hides content until a
 * script sees it (full-page captures, print, slow devices, no JavaScript). */
.js .rv, .rv, .rv.in { opacity: 1; transform: none; transition: none; }

/* ---------------------------------------------------------------- campfire home (2026-11-07)
 * The home page leads with the campfire: six ember lanterns, one for each seat
 * (people, helpers, a computer), round one living fire. fire-scene.js paints the
 * whole picture on one canvas; the HTML keeps the layout (each seat's lamp box,
 * measured by the script) and the names as real text. Without the script the
 * lamps are plain CSS domes over a warm glow. Decorative only; the list repeats
 * the figure's label for no one (aria-hidden). */
.ej-fire-stage { display: grid; justify-items: center; gap: var(--s2); }
.ej-scene { width: min(100%, 38rem); container-type: inline-size;
  --lamp-back: clamp(30px, 12cqw, 64px); --lamp-mid: clamp(34px, 14cqw, 74px); --lamp-front: clamp(40px, 16.5cqw, 86px); }
.ej-ring { position: relative; width: 100%; aspect-ratio: 4 / 3; margin: 0; container-type: inline-size;
  background: radial-gradient(ellipse 36% 22% at 50% 62%, color-mix(in srgb, var(--glow-color) 34%, transparent), transparent 100%); }
.ej-ring.is-live { background: none; }
/* A taller ring on a phone, so the seats and their names keep clear of the fire. (After the
 * base rule: a container query adds no specificity, so order decides.) */
@container (max-width: 520px) { .ej-ring { aspect-ratio: 4 / 5; } }
.ej-fire-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ej-seats { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
/* A seat is anchored at its lantern's foot: the lamp box hangs above the point, the name sits below it. */
.ej-seat { position: absolute; transform: translate(-50%, 0); display: grid; justify-items: center; white-space: nowrap; --lamp: var(--lamp-mid);
  color: var(--ink); font: 600 clamp(10px, 3cqw, 13px)/1.2 var(--sans); letter-spacing: 0.01em; }
.ej-lamp { position: absolute; bottom: 100%; left: 50%; width: var(--lamp); height: calc(var(--lamp) * 0.73); transform: translateX(-50%); border-radius: 50% 50% 34% 34% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse 60% 70% at 50% 76%, #FFF6DF, #FFE7AE 25%, #FCC867 62%, #F2A440 100%); box-shadow: 0 0 calc(var(--lamp) * 0.4) var(--glow); }
.ej-ring.is-live .ej-lamp { visibility: hidden; background: none; box-shadow: none; }
.ej-seat-name { margin-top: 0.5em; padding: 0.15em 0.6em; border-radius: 999px; background: color-mix(in srgb, var(--bg) 78%, transparent); color: var(--ink);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--seat-light, var(--amber)) 22%, transparent); transition: opacity 0.5s ease, box-shadow 0.4s ease, color 0.4s ease; }
.ej-seat-a { left: 32%; top: 31%; --lamp: var(--lamp-back); } .ej-seat-c { left: 68%; top: 31%; --lamp: var(--lamp-back); }
.ej-seat-b { left: 13%; top: 58%; } .ej-seat-d { left: 87%; top: 58%; }
.ej-seat-f { left: 30%; top: 89%; --lamp: var(--lamp-front); } .ej-seat-e { left: 70%; top: 89%; --lamp: var(--lamp-front); }
/* On a phone the side seats step in, so the longer names stay inside the ring. */
@container (max-width: 520px) { .ej-seat-b { left: 16%; } .ej-seat-d { left: 84%; } }
.ej-ring-cap { margin: var(--s2) 0 0; font-size: 0.875rem; color: var(--faint); text-align: center; }

.ej-memory { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line)); background: var(--bg); }
.ej-card .ej-memory b { display: block; font: 400 1.25rem/1.3 var(--serif); color: var(--ink); }
.ej-memory-meta { display: block; margin-top: 2px; font-size: 0.9375rem; color: var(--muted); }
.ej-ways, .ej-ember-grid { gap: var(--s4); margin-top: var(--s8); }
.ej-ways h3, .ej-ember-grid h3, .ej-apps h3 { font-size: 1.25rem; }
.ej-card .ej-ask { margin-left: 0; }
.ej-card .ej-reply { margin-right: 0; }

.ej-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s8); align-items: start; }
@media (max-width: 960px) { .ej-apps { grid-template-columns: 1fr; max-width: 40rem; margin-inline: auto; } }
.ej-apps .ej-ticks li { font-size: 1rem; }
.ej-apps .ej-grant-line { font-size: 1.25rem; }
.ej-apps a:not(.ej-btn) { color: var(--amber); }
/* Real app screens (2026-11-07): one light-theme still of each app, at a made-up fire.
 * The corners follow each device's own: a Mac window's and an iPhone screen's. */
.ej-shot { display: block; width: 100%; height: auto; background: var(--bg2); border: 1px solid var(--line); box-shadow: 0 10px 30px rgb(60 40 20 / 0.14), var(--bubble-shadow); }
.ej-shot-mac { aspect-ratio: 1280 / 800; margin: var(--s4) 0 var(--s2); border-radius: 2.4% / 3.84%; }
.ej-shot-phone { aspect-ratio: 1206 / 2622; border-radius: 15% / 6.9%; }
.ej-iphone { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s4) var(--s6); margin-top: var(--s10); }
/* The phone keeps its size when text is enlarged; the note wraps beside it, or below when there is no room. */
.ej-iphone .ej-shot-phone { flex: 0 0 auto; width: clamp(120px, 30%, 168px); }
.ej-iphone .ej-fine { flex: 1 1 11rem; max-width: 34ch; margin: 0; }

.ej-safe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .ej-safe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ej-safe-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- campfire demo
 * Section 01 plays one story night when the reader reaches it: the ember lands
 * on the logs and lights the fire, each seat lights, the stories arrive as
 * bubbles, and emma keeps notes. The written state below is the finished
 * scene; it is what shows without JavaScript, in print, with reduced motion,
 * and while the guide is paused. emma-journey.js only adds .is-primed (the dark
 * fire) just before the reader arrives, then steps it back to this. */
.ej-demo { display: grid; gap: var(--s6); margin: var(--s8) auto var(--s10); max-width: 38rem; }
.ej-demo-talk { display: grid; gap: var(--s4); min-width: 0; }
.ej-chat { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.ej-bubble { justify-self: start; max-width: 92%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink); font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; text-align: left; }
.ej-bubble .ej-who { display: block; margin-bottom: 2px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.ej-bubble-helper { border-style: dashed; border-color: color-mix(in srgb, var(--amber) 55%, var(--line)); }
.ej-bubble-helper .ej-who { color: var(--amber); }
.ej-bubble-machine { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9375rem; }
.ej-chip-memory { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line)); background: var(--bg); color: var(--muted); font-size: 0.875rem; }
.ej-chip-memory b { display: block; font: 400 1.0625rem/1.3 var(--serif); color: var(--ink); }
.ej-notes { padding: var(--s4) var(--s5); border-radius: 16px; background: var(--bg2); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--line)); text-align: left; min-width: 0; }
.ej-notes-head { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s2); font-weight: 600; color: var(--amber); font-size: 0.9375rem; }
.ej-notes-pen { flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--glow); }
.ej-notes-list { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--ink); }
.ej-notes-ok { display: block; font-size: 0.8125rem; color: var(--muted); }
.ej-notes-actions { display: flex; gap: 8px; margin: var(--s3) 0 var(--s2); }
.ej-notes-actions span { padding: 4px 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; border: 1px solid var(--line-strong); color: var(--muted); }
.ej-notes-actions .ej-notes-keep { background: var(--amber); border-color: var(--amber); color: var(--on-fill); }
.ej-notes-fine { margin: 0; font-size: 0.8125rem; color: var(--muted); }
.ej-demo-again { margin: 0; text-align: center; }
.ej-demo-again .ej-btn { min-height: 44px; }
.ej-demo-again .ej-btn[hidden] { display: none; }
/* Once a play is set up the replay's row keeps its height, so nothing below jumps when the
 * button appears; while a replay runs the button stays in place, quietly disabled. */
.ej-demo.is-primed .ej-demo-again { min-height: 44px; }
.ej-demo-again .ej-btn:disabled { opacity: 0.45; cursor: default; }
.ej-demo-again .ej-btn:disabled:hover { border-color: var(--line-strong); box-shadow: none; transform: none; }

/* The dark fire, only while a play is running. The canvas carries the light; the labels follow. */
.ej-demo .ej-bubble, .ej-demo .ej-notes-list li, .ej-demo .ej-notes-actions {
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2, .8, .3, 1), filter 0.5s ease, box-shadow 0.4s ease, border-color 0.4s ease; }
.ej-demo.is-primed .ej-seat .ej-seat-name { opacity: 0.4; }
.ej-demo.is-primed .ej-seat.is-on .ej-seat-name { opacity: 1; }
/* Without the script, the lamps dim with the page's own story. */
.ej-demo.is-primed .ej-ring:not(.is-live) .ej-lamp { opacity: 0.3; filter: grayscale(1); transition: opacity 0.5s ease, filter 0.5s ease; }
.ej-demo.is-primed .ej-ring:not(.is-live) .ej-seat.is-on .ej-lamp { opacity: 1; filter: none; }
.ej-demo.is-primed .ej-notes-list li, .ej-demo.is-primed .ej-notes-actions { opacity: 0; transform: translateY(10px); }
.ej-demo.is-primed .ej-notes-list li.is-on, .ej-demo.is-primed .ej-notes-actions.is-on { opacity: 1; transform: none; }
.ej-demo .ej-seat.is-speaking .ej-seat-name { color: var(--ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--seat-light, var(--amber)) 70%, transparent), 0 0 16px color-mix(in srgb, var(--seat-light, var(--amber)) 30%, transparent); }
/* While it plays, each line pops up above the one speaking, as talk around the fire. */
.ej-demo.is-primed .ej-scene { position: relative; padding-top: max(20%, 6rem); }
.ej-demo.is-primed .ej-chat { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 4 / 3; margin: 0; display: block; pointer-events: none; }
/* The same taller box as the ring on a phone (after the rule above, so it wins on order). */
@container (max-width: 520px) { .ej-demo.is-primed .ej-chat { aspect-ratio: 4 / 5; } }
/* A bubble is sized by the ring, with a floor of 13px (or 0.6rem once text is enlarged) and a
 * measure of at least 14em, so a line on a small phone, or at 200% text, stays a few lines tall. */
.ej-demo.is-primed .ej-bubble { position: absolute; z-index: 2; width: max-content; min-width: 36cqw; max-width: min(96%, max(62cqw, 14em)); margin: 0; padding: 0.55em 0.85em;
  border-radius: 14px; font-size: clamp(max(13px, 0.6rem), 3.3cqw, 1rem); line-height: 1.35; box-shadow: var(--bubble-shadow);
  opacity: 0; transform: translateY(12px) scale(0.96); transform-origin: 50% 100%;
  transition: opacity 0.32s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.08); }
.ej-demo.is-primed .ej-bubble .ej-who { font-size: 0.75em; margin-bottom: 1px; }
.ej-demo.is-primed .ej-bubble .ej-chip-memory { margin-top: 4px; padding: 5px 8px; font-size: 0.8em; }
.ej-demo.is-primed .ej-bubble .ej-chip-memory b { font-size: 1.1em; }
.ej-demo.is-primed .ej-bubble.is-on { opacity: 1; transform: none; }
.ej-demo.is-primed .ej-bubble.is-past { opacity: 0; transform: translateY(-8px); transition: opacity 0.4s ease, transform 0.5s ease; }
.ej-demo.is-primed .ej-bubble::after { content: ""; position: absolute; bottom: -6px; width: 11px; height: 11px; background: inherit;
  border: inherit; border-top: 0; border-left: 0; transform: rotate(45deg); }
/* Each bubble sits just above its speaker's lantern (the seat's foot point plus its lamp's height). */
.ej-demo.is-primed .ej-bubble[data-from="june"] { left: 2%; bottom: calc(69% + var(--lamp-back) * 0.73 + 12px); }
.ej-demo.is-primed .ej-bubble[data-from="june"]::after { left: calc(30cqw - 6px); }
.ej-demo.is-primed .ej-bubble[data-from="leo"] { right: 2%; bottom: calc(69% + var(--lamp-back) * 0.73 + 12px); }
.ej-demo.is-primed .ej-bubble[data-from="leo"]::after { right: calc(30cqw - 6px); }
.ej-demo.is-primed .ej-bubble[data-from="june-claude"] { left: 0%; bottom: calc(42% + var(--lamp-mid) * 0.73 + 12px); }
.ej-demo.is-primed .ej-bubble[data-from="june-claude"]::after { left: calc(13cqw - 6px); }
.ej-demo.is-primed .ej-bubble[data-from="maya-gpt"] { right: 0%; bottom: calc(42% + var(--lamp-mid) * 0.73 + 12px); }
.ej-demo.is-primed .ej-bubble[data-from="maya-gpt"]::after { right: calc(13cqw - 6px); }
@container (max-width: 520px) { .ej-demo.is-primed .ej-bubble[data-from="june-claude"]::after { left: calc(16cqw - 6px); } .ej-demo.is-primed .ej-bubble[data-from="maya-gpt"]::after { right: calc(16cqw - 6px); } }
.ej-demo.is-primed .ej-bubble[data-from="dad-mac"] { left: 2%; bottom: calc(11% + var(--lamp-front) * 0.73 + 12px); }
.ej-demo.is-primed .ej-bubble[data-from="dad-mac"]::after { left: calc(28cqw - 6px); }
.ej-demo.is-primed .ej-bubble[data-from="maya"] { right: 2%; bottom: calc(11% + var(--lamp-front) * 0.73 + 12px); }
.ej-demo.is-primed .ej-bubble[data-from="maya"]::after { right: calc(28cqw - 6px); }
.ej-demo.is-playing .ej-notes-pen { animation: ej-pen 1.2s ease-in-out infinite; }
@keyframes ej-pen { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: 0.4; transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .ej-demo .ej-notes-pen, .ej-ember-follow svg { animation: none !important; } }
/* After the fire, the ember follows the reader down the page. Decoration only. */
.ej-ember-follow { position: fixed; z-index: 29; left: max(10px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); width: 52px; pointer-events: none;
  opacity: 0; visibility: hidden; transform: translateY(-45vh) scale(0.6);
  transition: opacity 0.5s ease, transform 1s cubic-bezier(.2, .8, .3, 1), visibility 0s linear 1s; }
.ej-ember-follow svg { display: block; width: 100%; height: auto; aspect-ratio: 447.99 / 299.3; overflow: visible; filter: drop-shadow(0 0 8px var(--glow)); }
.ej-ember-follow.is-following { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s ease, transform 1s cubic-bezier(.2, .8, .3, 1), visibility 0s; }
.ej-ember-follow.is-following svg { animation: ej-breathe 3.2s ease-in-out infinite; }
@keyframes ej-breathe { 0%, 100% { transform: none; } 50% { transform: translateY(-3px) scale(1.04); } }
@media (max-width: 600px) { .ej-ember-follow { width: 40px; } }
@media print { .ej-ember-follow { display: none; } }
@media print { .ej-demo.is-primed * { opacity: 1 !important; filter: none !important; } }

/* ---------------------------------------------------------------- the story home (2026-11-10)
 * The fire is the page. ember-field.js paints one living fire and six ember lanterns on a canvas
 * pinned behind everything (.ej-sky), and the scroll moves eight scenes along the sections
 * (emma-journey.js): each section is one line on the sky (.ej-words, sticky while its scene
 * plays in .ej-play), then the cards with the details (.ej-more), on a night veil. The sky is
 * always night, so everything written on it uses the sky's own ink; the cards, the questions
 * and the footer follow the page theme. Scoped to body.ej-story: /mac shares this stylesheet and is untouched. */
.ej-story { --sky-ink: #F4EBDD; --sky-muted: #CFC5B5; --sky-faint: #A79D8F; --sky-amber: #F5AE5C; --sky-amber-2: #FFE7AE; --sky-bg: #15131F;
  --lamp-back: clamp(56px, 7.8vw, 112px); --lamp-mid: clamp(66px, 9.2vw, 132px); --lamp-front: clamp(78px, 10.8vw, 156px); }
.ej-story .ej-mast .ej-brand, .ej-story .ej-mast nav a:hover, .ej-story .ej-theme:hover, .ej-story .ej-pause:hover { color: var(--sky-ink); }
.ej-story .ej-mast nav a, .ej-story .ej-theme, .ej-story .ej-pause { color: var(--sky-muted); }
.ej-story .ej-mast .ej-signin { color: var(--sky-ink); border-color: rgb(244 235 221 / 0.38); }
.ej-story .ej-pause { background: transparent; border-color: rgb(244 235 221 / 0.38); font-size: 1rem; }

/* the sky: fixed behind the page; its parts never take the pointer and never sit outside the viewport */
.ej-sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--sky-bg); }
/* the ring keeps to the stage (the top two thirds of the screen), so a whole scene shows above the cards */
.ej-sky .ej-ring { position: absolute; left: 0; right: 0; top: max(12vh, 10.5rem); height: auto; bottom: 28vh; width: auto; aspect-ratio: auto; margin: 0; background: none; container-type: normal; transition: top 1.6s cubic-bezier(0.4, 0, 0.2, 1), height 1.6s cubic-bezier(0.4, 0, 0.2, 1); }
/* the opening is the wide shot: the fire starts under the opening words (emma-journey.js measures them into --hero-floor) */
body[data-scene="0"] .ej-sky .ej-ring { top: min(max(16vh, var(--hero-floor, 34vh)), 62vh); height: auto; bottom: 0; }
.ej-sky .ej-seats { z-index: 2; }
.ej-sky .ej-seat { font-size: 15px; transition: left 1.6s cubic-bezier(0.4, 0, 0.2, 1), top 1.6s cubic-bezier(0.4, 0, 0.2, 1); }
.ej-sky .ej-lamp { transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1), height 1.6s cubic-bezier(0.4, 0, 0.2, 1); }
.ej-sky .ej-seat-name { opacity: 0; transition: opacity 0.6s ease; background: rgb(21 19 31 / 0.78); color: var(--sky-ink); }
body:not([data-scene="0"]) .ej-sky .ej-seat.is-on .ej-seat-name { opacity: 1; }
.ej-sky .ej-seat-a { left: 36%; top: 48%; --lamp: var(--lamp-back); } .ej-sky .ej-seat-c { left: 64%; top: 48%; --lamp: var(--lamp-back); }
.ej-sky .ej-seat-b { left: 17%; top: 66%; } .ej-sky .ej-seat-d { left: 83%; top: 66%; }
.ej-sky .ej-seat-f { left: 33%; top: 88%; --lamp: var(--lamp-front); } .ej-sky .ej-seat-e { left: 67%; top: 88%; --lamp: var(--lamp-front); }
/* scenes 4 and 5: June comes to the front, close */
body[data-scene="4"] .ej-sky .ej-seat-a { left: 50%; top: 74%; --lamp: var(--lamp-front); }
body[data-scene="4"] .ej-sky .ej-seat-f { left: 22%; top: 95%; --lamp: var(--lamp-mid); } body[data-scene="4"] .ej-sky .ej-seat-e { left: 78%; top: 95%; --lamp: var(--lamp-mid); }
body[data-scene="5"] .ej-sky .ej-seat-a { left: 34%; top: 78%; --lamp: var(--lamp-front); } body[data-scene="5"] .ej-sky .ej-seat-b { left: 11%; }
body[data-scene="5"] .ej-sky .ej-seat-f { left: 72%; top: 95%; --lamp: var(--lamp-mid); } body[data-scene="5"] .ej-sky .ej-seat-e { left: 88%; top: 95%; --lamp: var(--lamp-mid); }
body[data-scene="5"] .ej-sky.is-beside .ej-seat-b { left: 14%; top: 83%; } body[data-scene="5"] .ej-sky.is-beside .ej-seat-d { left: 54%; top: 83%; }

/* scene 1: the lake story, a line above the lantern that speaks */
.ej-say { position: absolute; left: 50%; bottom: calc(var(--lamp) * 0.73 + 16px); transform: translate(-50%, 10px); width: max-content; max-width: min(300px, 34vw);
  white-space: normal; text-align: left; padding: 10px 14px 11px; border-radius: 16px 16px 16px 5px; font: 400 15px/1.35 var(--sans); color: var(--sky-ink);
  background: rgb(21 19 31 / 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--seat-light, var(--sky-amber)) 34%, transparent), 0 18px 40px rgb(0 0 0 / 0.35);
  opacity: 0; visibility: hidden; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.7s; }
.ej-say .ej-who { display: block; font: 600 14px/1.3 var(--sans); letter-spacing: 0.03em; text-transform: none; color: var(--seat-light, var(--sky-amber)); margin-bottom: 3px; }
.ej-say-chip { display: inline-block; margin-top: 7px; padding: 3px 9px; border-radius: 999px; font: 600 14px/1.4 var(--sans); color: #2A1810; background: linear-gradient(#FFE7AE, #F2A440); }
.ej-seat-helper .ej-say { box-shadow: 0 0 0 1px color-mix(in srgb, var(--seat-light, var(--sky-amber)) 55%, transparent), 0 18px 40px rgb(0 0 0 / 0.35); border: 1px dashed color-mix(in srgb, var(--seat-light, var(--sky-amber)) 45%, transparent); }
.ej-seat-machine .ej-say { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; }
.ej-seat-b .ej-say { left: 0; transform: translate(-8%, 10px); } .ej-seat-d .ej-say { left: auto; right: 0; transform: translate(8%, 10px); }
.ej-seat-a .ej-say { left: auto; right: calc(50% + var(--lamp) * 0.5 + 14px); bottom: calc(var(--lamp) * 0.5); border-radius: 16px 16px 5px 16px; transform: translate(0, 10px); }
.ej-seat-c .ej-say { left: calc(50% + var(--lamp) * 0.5 + 14px); bottom: calc(var(--lamp) * 0.5); transform: translate(0, 10px); }
.ej-seat.is-said .ej-say, .ej-seat.is-speaking .ej-say { visibility: visible; transition-delay: 0s; transform: translate(-50%, 0); }
/* one line at a time: the line just said makes room for the next */
.ej-seat.is-said .ej-say { opacity: 0; visibility: hidden; } .ej-seat.is-speaking .ej-say { opacity: 1; }
.ej-seat-b.is-said .ej-say, .ej-seat-b.is-speaking .ej-say { transform: translate(-8%, 0); } .ej-seat-d.is-said .ej-say, .ej-seat-d.is-speaking .ej-say { transform: translate(8%, 0); }
.ej-seat-a.is-said .ej-say, .ej-seat-a.is-speaking .ej-say, .ej-seat-c.is-said .ej-say, .ej-seat-c.is-speaking .ej-say { transform: translate(0, 0); }
body:not([data-scene="1"]) .ej-sky .ej-say { opacity: 0; visibility: hidden; }

/* things that float over the fire (scenes 2 to 5) */
.ej-fl { position: absolute; z-index: 3; left: 50%; top: 46%; transform: translate(-50%, -50%) scale(0.6); opacity: 0; visibility: hidden; width: max-content; max-width: min(340px, 40vw);
  text-align: left; padding: 12px 16px 13px; border-radius: 16px; font: 400 15px/1.35 var(--sans); color: var(--sky-ink);
  background: rgb(21 19 31 / 0.84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgb(242 164 64 / 0.4), 0 18px 48px rgb(0 0 0 / 0.4);
  transition: opacity 0.8s ease, transform 2.6s cubic-bezier(0.3, 0.8, 0.2, 1), left 2.6s cubic-bezier(0.3, 0.8, 0.2, 1), top 2.6s cubic-bezier(0.3, 0.8, 0.2, 1), box-shadow 1.2s ease, visibility 0s linear 0.8s; }
.ej-fl .ej-who { display: block; font: 600 14px/1.3 var(--sans); letter-spacing: 0.03em; text-transform: none; color: var(--sky-amber); margin-bottom: 4px; }
.ej-fl.is-up { opacity: 1; visibility: visible; transition-delay: 0s; transform: translate(-50%, -50%) scale(1); }
.ej-fl-chip, .ej-fl-tap, .ej-fl-verdict { display: inline-block; padding: 4px 11px; border-radius: 999px; font: 600 14px/1.4 var(--sans); color: #2A1810; background: linear-gradient(#FFE7AE, #F2A440); }
.ej-fl-tap, .ej-fl-verdict { display: block; width: max-content; margin-top: 8px; }
.ej-fl-memory { left: 36%; top: 40%; }
.ej-fl-memory.is-up { left: 50%; top: 48%; box-shadow: 0 0 0 1px rgb(255 231 174 / 0.6), 0 0 60px rgb(242 164 64 / 0.55), 0 18px 48px rgb(0 0 0 / 0.4); }
.ej-fl-memory.is-kept { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(0.5); top: 30%; transition-duration: 0.9s, 0.9s, 0.9s, 0.9s, 0.9s, 0s; transition-delay: 0s, 0s, 0s, 0s, 0s, 0.9s; }
.ej-fl-note.is-up { top: 46%; }
.ej-fl-note ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; color: var(--sky-muted); }
.ej-fl-note li b { color: var(--sky-ink); font-weight: 600; }
.ej-fl-note li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: rgb(244 235 221 / 0.25); vertical-align: 1px; transition: background 0.6s ease, box-shadow 0.6s ease; }
.ej-fl-note li.is-lit::before { background: var(--sky-amber); box-shadow: 0 0 10px var(--sky-amber); }
.ej-fl-job { left: 33%; top: 78%; transition-duration: 0.8s, 1.2s, 1.2s, 1.2s, 1.2s, 0s; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; }
.ej-fl-job.is-up { top: 72%; }
.ej-fl-tap { margin-top: 8px; padding: 6px 14px; box-shadow: 0 0 18px rgb(242 164 64 / 0.35); }
.ej-fl-receipt { display: none; margin-top: 8px; color: var(--sky-muted); font: 400 14px/1.4 var(--sans); }
.ej-fl.is-done .ej-fl-tap { display: none; } .ej-fl.is-done .ej-fl-receipt { display: block; }
.ej-fl.is-done { box-shadow: 0 0 0 1px rgb(152 196 255 / 0.55), 0 18px 48px rgb(0 0 0 / 0.4); }
/* scene 3: three thoughts rise out of the embers; the two that mattered fly into June's lantern, the third fades */
.ej-fl-keep { top: 58%; transform: translate(-50%, -50%) scale(0.5); transition-duration: 0.8s, 1.6s, 1.6s, 1.6s, 1.2s, 0s; max-width: min(300px, 36vw); }
#k1 { left: 42%; } #k2 { left: 58%; } #k3 { left: 50%; }
.ej-fl-keep.is-up { top: 46%; }
.ej-fl-keep.is-kept { left: 36%; top: 34%; opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(0.25); transition-duration: 1.3s, 1.4s, 1.4s, 1.4s, 1.2s, 0s; transition-delay: 0.3s, 0s, 0s, 0s, 0s, 1.6s; box-shadow: 0 0 0 1px rgb(255 231 174 / 0.7), 0 0 50px rgb(255 182 96 / 0.6); }
.ej-fl-keep.is-gone { top: 26%; opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(0.92); filter: blur(3px); transition: opacity 1.6s ease, top 2.4s ease, transform 2.4s ease, filter 1.6s ease, visibility 0s linear 1.6s; }
.ej-fl-skip .ej-fl-verdict { color: var(--sky-ink); background: none; box-shadow: inset 0 0 0 1px rgb(244 235 221 / 0.4); }
/* scene 4: three rings round June's lantern, and a quiet idea only she sees */
.ej-rings { position: absolute; left: 50%; top: 74%; width: 0; height: 0; z-index: 1; }
.ej-rings span { position: absolute; left: 0; top: calc(var(--lamp-front) * -0.36); transform: translate(-50%, -50%) scale(0.86); border-radius: 50%; border: 1px solid rgb(255 231 174 / 0.45);
  box-shadow: 0 0 24px rgb(255 182 96 / 0.12), inset 0 0 24px rgb(255 182 96 / 0.08); opacity: 0; visibility: hidden; transition: opacity 1.2s ease, transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 1.2s; }
.ej-rings .ej-ring-1 { width: calc(var(--lamp-front) * 1.7); height: calc(var(--lamp-front) * 1.1); }
.ej-rings .ej-ring-2 { width: calc(var(--lamp-front) * 2.9); height: calc(var(--lamp-front) * 1.9); border-color: rgb(255 231 174 / 0.3); }
.ej-rings .ej-ring-3 { width: calc(var(--lamp-front) * 4.3); height: calc(var(--lamp-front) * 2.8); border-color: rgb(255 231 174 / 0.2); }
.ej-rings span i { position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); padding: 2px 10px; border-radius: 999px; font: 600 14px/1.5 var(--sans); font-style: normal; letter-spacing: 0.02em; color: var(--sky-amber-2); background: var(--sky-bg); white-space: nowrap; }
.ej-rings .ej-ring-2 i { left: 21%; top: 9%; } .ej-rings .ej-ring-3 i { left: 5%; top: 29%; }
.ej-rings.is-r1 .ej-ring-1, .ej-rings.is-r2 .ej-ring-2, .ej-rings.is-r3 .ej-ring-3 { opacity: 1; visibility: visible; transition-delay: 0s; transform: translate(-50%, -50%) scale(1); }
.ej-fl-idea { left: 50%; top: 44%; max-width: min(320px, 44vw); font-family: var(--serif); font-size: 17px; transition-duration: 0.8s, 1.4s, 1.4s, 1.4s, 1.2s, 0s; }
.ej-fl-idea.is-up { top: 43%; }
.ej-fl-idea .ej-fl-tap, .ej-fl-idea .ej-fl-receipt { font-family: var(--sans); }
/* scene 5: June's lantern in a Mac window, then in a browser */
.ej-frame { position: absolute; z-index: 1; left: 34%; top: 78%; width: calc(var(--lamp-front) * 2.5); height: calc(var(--lamp-front) * 1.8); transform: translate(-50%, -74%) scale(0.9);
  border-radius: 12px; border: 1px solid rgb(244 235 221 / 0.35); background: rgb(244 235 221 / 0.06); box-shadow: 0 24px 60px rgb(0 0 0 / 0.45), inset 0 0 0 1px rgb(0 0 0 / 0.3);
  opacity: 0; visibility: hidden; transition: opacity 0.9s ease, transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 0.8s ease, visibility 0s linear 0.9s; }
.ej-frame.is-up { opacity: 1; visibility: visible; transition-delay: 0s; transform: translate(-50%, -74%) scale(1); }
.ej-frame-bar { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid rgb(244 235 221 / 0.18); border-radius: 12px 12px 0 0; background: rgb(244 235 221 / 0.06); }
.ej-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E86C5B; } .ej-frame-bar i:nth-child(2) { background: #F2B544; } .ej-frame-bar i:nth-child(3) { background: #5EC46B; }
.ej-frame-bar b { margin-left: auto; margin-right: auto; font: 600 14px/1 var(--sans); color: var(--sky-muted); }
.ej-frame.is-web .ej-frame-bar b { visibility: hidden; }
.ej-frame.is-web .ej-frame-bar::after { content: "emma.honesty.tools"; position: absolute; left: 50%; top: 3px; transform: translateX(-50%); padding: 1px 10px; border-radius: 999px; font: 500 14px/1.3 var(--sans); color: var(--sky-muted); background: rgb(21 19 31 / 0.6); }
.ej-frame.is-web { border-radius: 8px; }
/* scene 6: behind each person, a small sealed vault; a spark from the fire never reaches it */
.ej-vault { position: absolute; z-index: 1; width: 44px; height: 32px; transform: translate(-50%, 0) scale(0.6);
  border-radius: 50% 50% 34% 34% / 62% 62% 38% 38%; background: #221C2C; box-shadow: inset 0 -5px 12px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(244 235 221 / 0.28), 0 0 0 6px rgb(255 231 174 / 0.08), 0 0 22px rgb(255 182 96 / 0.2);
  opacity: 0; visibility: hidden; transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.9s; }
.ej-vault::after { content: ""; position: absolute; left: 50%; top: 56%; width: 4px; height: 4px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--sky-amber); box-shadow: 0 0 6px var(--sky-amber); opacity: 0.85; }
.ej-vault.is-up { opacity: 1; visibility: visible; transition-delay: 0s; transform: translate(-50%, 0) scale(1); }
.ej-vault-a { left: 28%; top: 44.5%; } .ej-vault-c { left: 72%; top: 44.5%; } .ej-vault-e { left: 77%; top: 91%; }
.ej-spark { position: absolute; z-index: 3; left: 50%; top: 58%; width: 7px; height: 7px; border-radius: 50%; transform: translate(-50%, -50%); background: #FFF6DF; box-shadow: 0 0 10px 3px rgb(255 182 96 / 0.9), 0 0 24px 8px rgb(242 164 64 / 0.4); opacity: 0; visibility: hidden; }
.ej-spark.is-flying { visibility: visible; }

/* while the reader is in the cards, the sky's words step back so no name tag shows between cards */
.ej-story .ej-sky.is-covered :is(.ej-seat-name, .ej-say, .ej-fl, .ej-rings, .ej-frame, .ej-vault, .ej-spark) { opacity: 0 !important; transition: opacity 0.3s ease; }
.ej-story .ej-sky.is-covered .ej-lamp { opacity: 0.4; }
.ej-story .ej-sky .ej-fire-canvas { transition: opacity 0.3s ease; }
/* the canvas reaches past the ring and fades at its own top and bottom (ember-field.js, bleed): no straight edge, ever */
.ej-story .ej-sky.is-covered .ej-fire-canvas { opacity: 0.45; }
.ej-story .ej-sky.is-faq .ej-fire-canvas { opacity: 0.15; }
/* one name, line or card of the sky that would sit under a heading or under the cards steps back by itself (emma-journey.js) */
.ej-story .ej-sky .is-under { opacity: 0 !important; transition: opacity 0.25s ease; }
/* without the script there is no fire to sit round: the night sky alone */
html:not(.js) .ej-story .ej-sky .ej-seats { visibility: hidden; }
/* the guide's trail of sparks stays on the sky, behind the words and the cards */
.ej-story .emma-trail { z-index: 0; }

/* ---------------------------------------------------------------- the page over the sky (polish, 2026-11-10)
 * One story section is a short stage (.ej-play: the heading, sticky under the bar, over the fire),
 * then its cards (.ej-more) on a night veil, so no running text ever sits on the bare fire.
 * Nothing live is ever hidden: the words are always visible, with or without the script.
 * Type has six steps and space has one rhythm (8 / 12 / 16 / 24 / 32 / 56). */
.ej-story { --mast-h: 4rem; }
@media (min-width: 701px) and (max-width: 899px) { .ej-story { --mast-h: 6.5rem; } }
@media (max-width: 700px) { .ej-story { --mast-h: 3.75rem; } }

/* the bar: always in reach. Over the open sky it is the sky's own colour; over cards it reads as a bar. */
.ej-story .ej-mast { position: sticky; top: 0; z-index: 40; min-height: var(--mast-h); padding-block: 0; align-content: center; border: 0; color: var(--sky-ink);
  background: rgb(21 19 31 / 0.93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ej-story .ej-mast nav a { font-size: 1rem; color: rgb(244 235 221 / 0.85); }
.ej-story .ej-mast nav a:hover { color: var(--sky-ink); }
body.ej-story[data-scene="1"] .ej-mast nav a[href="#fire"], body.ej-story[data-scene="2"] .ej-mast nav a[href="#fire"], body.ej-story[data-scene="3"] .ej-mast nav a[href="#fire"], body.ej-story[data-scene="4"] .ej-mast nav a[href="#fire"],
body.ej-story[data-scene="5"] .ej-mast nav a[href="#apps"], body.ej-story[data-scene="6"]:not([data-why]) .ej-mast nav a[href="#safe"],
body.ej-story[data-why]:not([data-faq]) .ej-mast nav a[href="#story"], body.ej-story[data-faq] .ej-mast nav a[href="#faq"] { color: var(--sky-amber-2); }
.ej-story .ej-mast .ej-btn { min-height: 44px; padding: 0 1.125rem; font-size: 1rem; white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1100px) {
  .ej-story .ej-mast > nav { order: 0; flex: 0 1 auto; margin-left: auto; overflow: visible; border-top: 0; gap: var(--s5); }
  .ej-story .ej-mast > nav a { font-size: 1rem; }
  .ej-story .ej-mast .ej-signin { margin-left: 0; }
}
@media (min-width: 701px) and (max-width: 899px) { .ej-story .ej-mast > nav { border-top: 0; gap: var(--s6); } .ej-story .ej-mast > nav a { font-size: 1rem; } }
/* the narrowest phones keep Sign in (people returning need it) and show the lantern without the name */
@media (max-width: 380px) { .ej-story .ej-mast .ej-btn { padding: 0 0.75rem; font-size: 0.9375rem; } .ej-story .ej-mast .ej-signin { margin-left: auto; } }
/* the bar's lower edge melts into the sky, so the fire's glow is never cut by a line */
.ej-story .ej-mast::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1.5rem; pointer-events: none; background: linear-gradient(to bottom, rgb(21 19 31 / 0.86), rgb(21 19 31 / 0)); transition: opacity 0.3s ease; }
/* over the questions and the footer (the page's own colours) the bar simply ends: a dark fade there reads as a smudge on the light theme */
.ej-story.ej-on-page .ej-mast::after { opacity: 0; }
/* whatever scrolls into view (a link's target, a focused control) lands clear of the pinned bar */
html:has(> body.ej-story) { scroll-padding-top: 5rem; }
@media (min-width: 701px) and (max-width: 899px) { html:has(> body.ej-story) { scroll-padding-top: 7.5rem; } }
@media (max-width: 700px) { html:has(> body.ej-story) { scroll-padding-top: 4.75rem; } }
html:has(> body.ej-unpinned) { scroll-padding-top: 1rem; }
.ej-story .ej-act { scroll-margin-top: 3rem; }
.ej-story #top, .ej-story .ej-faq { scroll-margin-top: 0; }
/* large text on a small screen (emma-journey.js): a bar or a heading too tall to pin scrolls with the page */
.ej-story.ej-unpinned { --mast-h: 0rem; }
.ej-story.ej-unpinned .ej-mast, .ej-story.ej-unpinned .ej-words { position: relative; top: auto; }

.ej-story main { position: relative; z-index: 1; }
.ej-story .ej-act { position: relative; padding: 0; }
.ej-story .ej-hero { display: block; justify-items: normal; max-width: none; margin: 0; padding: 0; }

/* the stage */
.ej-story .ej-play { position: relative; min-height: 66vh; min-height: 66svh; padding-bottom: var(--s6); }
@media (max-width: 700px) { .ej-story .ej-play { min-height: 68vh; min-height: 68svh; } }
.ej-story #top .ej-play { min-height: calc(100vh - var(--mast-h)); min-height: calc(100svh - var(--mast-h)); padding-bottom: 0; }
.ej-story .ej-play.ej-play-short { min-height: 0; padding-top: var(--s14); padding-bottom: var(--s6); }
.ej-story .ej-words { position: sticky; z-index: 3; isolation: isolate; top: calc(var(--mast-h) + 0.75rem); padding: 0 var(--gutter); text-align: center; color: var(--sky-ink); }
/* the night is darker behind a heading, so it reads over the fire and over any lantern it passes */
/* Its edges are feathered, never straight: emma's glow sits beside the heading, and a hard-edged veil
 * showed as a box cut into her light (2026-11-10). The top fades in above the label; on a wide screen the
 * sides fade over the outer stretch, which is clear of the centred words. */
.ej-story .ej-words::before { content: ""; position: absolute; z-index: -1; inset: -2.75rem 0 -2.5rem 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(21 19 31 / 0), rgb(21 19 31 / 0.6) 2rem, rgb(21 19 31 / 0.66) 55%, rgb(21 19 31 / 0)); }
/* on a phone or tablet the veil already runs to the screen's edges; from 1024px it stops short of them, so it fades out */
@media (min-width: 1024px) {
  .ej-story .ej-words::before { --feather: min(18%, 12rem);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent); }
  /* the opening's veil already spans the whole screen: no fade at its sides */
  .ej-story #top .ej-words::before { -webkit-mask-image: none; mask-image: none; }
}
.ej-story .ej-play-short .ej-words { position: relative; top: auto; }
.ej-story .ej-play-short .ej-words::before { content: none; }
/* the closing line is read, not staged: it sits on a darker sky, so no lantern shows through a link */
.ej-story .ej-play.ej-play-short { background: linear-gradient(to bottom, rgb(21 19 31 / 0), rgb(21 19 31 / 0.82) 3.5rem); }
.ej-story #top .ej-words { position: relative; top: auto; isolation: isolate; padding-top: clamp(1.5rem, 8vh, 4.5rem); padding-bottom: var(--s2); }
/* a night veil behind the opening words, so they read even when a lantern is behind them on a small phone */
.ej-story #top .ej-words::before { content: ""; position: absolute; z-index: -1; inset: 0 0 -2rem 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(21 19 31 / 0.85), rgb(21 19 31 / 0.85) calc(100% - 3rem), rgb(21 19 31 / 0)); }
.ej-story .ej-words-plain { text-align: center; }

/* type: display, title, card title, body, fine, small */
.ej-story .ej-words .ej-label { font: 600 1rem/1.5 var(--sans); color: var(--sky-muted); margin: 0 0 var(--s3); }
.ej-story .ej-words h1, .ej-story .ej-words .ej-big { font-size: clamp(2rem, 4.6vw, 3.75rem); line-height: 1.08; max-width: 26ch; margin: 0 auto; color: var(--sky-ink); text-wrap: balance; }
.ej-story .ej-words h2, .ej-story .ej-faq h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.12; max-width: 26ch; margin: 0 auto; text-wrap: balance; }
.ej-story .ej-words h2 { color: var(--sky-ink); }
.ej-story .ej-words :is(h1, h2, .ej-big) em { color: var(--sky-amber-2); font-style: italic; }
.ej-story .ej-words :is(h1, h2, .ej-big) em { display: block; }
.ej-story .ej-words .ej-lede { font-size: 1.25rem; line-height: 1.4; color: var(--sky-ink); text-align: center; max-width: 34ch; margin: var(--s4) auto 0; }
.ej-story .ej-words .ej-hero-note { font-size: 1rem; line-height: 1.5; color: var(--sky-muted); text-align: center; max-width: none; margin: var(--s3) auto 0; }

/* buttons: the amber pill, the ghost, the quiet link */
/* the side padding gives way on a narrow screen with large text, so the label never pushes the page wider */
.ej-story .ej-btn { min-height: 3.5rem; padding: 0 min(1.5rem, 6vw); font-size: 1.0625rem; font-weight: 600; }
.ej-story .ej-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s2) var(--s3); margin: var(--s6) 0 0; }
.ej-story .ej-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 1.0625rem; color: var(--sky-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.ej-story .ej-quiet:hover { color: var(--sky-amber-2); }
.ej-story .ej-card .ej-quiet { color: var(--amber); }
@media (max-width: 480px) { .ej-story .ej-ctas { flex-direction: column; align-items: stretch; } }
/* focus rings drawn on the sky use the sky's amber in both themes (the light theme's rust would not reach 3:1 on the night) */
.ej-story .ej-words :focus-visible, .ej-story .ej-mast :focus-visible, .ej-story .ej-after :focus-visible, .ej-story .ej-film :focus-visible, .ej-story .ej-more > .ej-wrap > .ej-fold :focus-visible { outline-color: var(--sky-amber); }

/* the cards, on the veil */
.ej-story .ej-more { position: relative; z-index: 2; padding-bottom: var(--s14); }
.ej-story .ej-more::before { content: ""; position: absolute; inset: -5rem 0 0 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(21 19 31 / 0), rgb(21 19 31 / 0.35) 1.5rem, rgb(21 19 31 / 0.75) 3.25rem, rgb(21 19 31 / 0.92) 5rem, rgb(21 19 31 / 0.92) calc(100% - 3rem), rgb(21 19 31 / 0)); }
.ej-story .ej-more .ej-intro { font-size: 1.125rem; line-height: 1.5; color: var(--sky-ink); text-align: center; max-width: 52ch; margin: 0 auto var(--s6); }
.ej-story .ej-more :is(.ej-keep, .ej-two, .ej-apps, .ej-safe-grid) { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); margin: 0; max-width: none; align-items: stretch; }
@media (min-width: 900px) { .ej-story .ej-more .ej-keep { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .ej-story .ej-more .ej-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .ej-story .ej-more .ej-safe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* one card */
.ej-story .ej-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; text-align: left; box-shadow: none; }
@media (max-width: 480px) { .ej-story .ej-card { padding: 20px; } }
.ej-story .ej-card.ej-sc, .ej-story .ej-mac-words { display: flex; flex-direction: column; }
.ej-story .ej-one { max-width: 44rem; margin-inline: auto; }
.ej-story :is(.ej-card, .ej-mac-words, .ej-fold-cols > div, .ej-rings-text, .ej-fold) > * { margin-top: 0; margin-bottom: 0; }
.ej-story :is(.ej-card, .ej-mac-words, .ej-fold-cols > div, .ej-rings-text, .ej-fold) > * + * { margin-top: var(--s4); }
.ej-story :is(.ej-card, .ej-mac-words, .ej-fold-cols > div, .ej-rings-text) > :is(h3, .ej-pill) + * { margin-top: var(--s3); }
.ej-story :is(.ej-card, .ej-fold) h3 { font: 600 1.25rem/1.3 var(--sans); color: var(--ink); }
.ej-story .ej-card :is(p, li, dd) { font-size: 1.125rem; line-height: 1.5; }
.ej-story .ej-card p, .ej-story .ej-card .ej-ticks li { color: var(--muted); }
.ej-story .ej-card p b, .ej-story .ej-card li b { color: var(--ink); font-weight: 600; }
.ej-story .ej-card .ej-pill { align-self: flex-start; font: 600 0.875rem/1.4 var(--sans); padding: 4px 12px; }
.ej-story .ej-card .ej-pill-on { color: var(--on-fill); }
.ej-story .ej-keep h3 { display: flex; align-items: center; gap: var(--s3); }
.ej-story .ej-keep .ej-n { flex: 0 0 1.75rem; width: 1.75rem; height: 1.75rem; margin: 0; display: grid; place-items: center; border: 0; border-radius: 50%; font: 600 0.875rem/1 var(--sans); color: var(--on-fill); background: linear-gradient(180deg, var(--fill-top), var(--fill-bottom)); }
.ej-story .ej-card .ej-ticks { padding: 0; }
.ej-story .ej-card .ej-ticks li { margin: 0; }
.ej-story .ej-card .ej-ticks li + li { margin-top: var(--s2); }
.ej-story .ej-card .ej-note, .ej-story .ej-card .ej-iphone-line { font-size: 1rem; line-height: 1.5; }
.ej-story .ej-card .ej-card-cta { margin-top: auto; padding-top: var(--s4); }
.ej-story .ej-card .ej-btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.ej-story .ej-card a:not(.ej-btn) { color: var(--amber); }
/* an example inside a card */
.ej-story .ej-card :is(.ej-ask, .ej-memory, .ej-reply, .ej-grant-line) { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-left: 0; margin-right: 0;
  font: 400 1.25rem/1.35 var(--serif); color: var(--ink); }
.ej-story .ej-card .ej-who { font: 600 0.875rem/1.4 var(--sans); text-transform: none; letter-spacing: 0; color: var(--muted); margin-bottom: 4px; }
.ej-story .ej-card .ej-memory b { font: inherit; font-weight: 400; }
.ej-story .ej-card .ej-memory-meta { font: 400 1rem/1.5 var(--sans); color: var(--muted); margin-top: 2px; }
.ej-story .ej-card .ej-grant-line b { color: var(--amber); font-weight: 400; }

/* a fold: more, one tap away */
.ej-story .ej-fold > summary { display: flex; align-items: center; min-height: 44px; padding: 0; font: 600 1rem/1.5 var(--sans); color: var(--amber); }
.ej-story .ej-fold > summary::before { flex: 0 0 auto; }
.ej-story .ej-fold > :is(p, div) { max-width: 60ch; }
.ej-story .ej-fold .ej-rings-text > p { max-width: 60ch; }
.ej-story .ej-fold > p, .ej-story .ej-fold-cols p, .ej-story .ej-fold .ej-rings-text > p { font-size: 1rem; line-height: 1.5; }
.ej-story .ej-card .ej-fold { border-top: 1px solid var(--line); padding-top: var(--s2); }
.ej-story .ej-facts { display: grid; gap: var(--s3); }
.ej-story .ej-facts dt { font: 600 0.875rem/1.4 var(--sans); color: var(--muted); }
.ej-story .ej-facts dd { font: 400 1.125rem/1.4 var(--serif); color: var(--ink); margin: 2px 0 0; }
/* a fold under the cards sits on the night, so it uses the sky's ink */
.ej-story .ej-more > .ej-wrap > .ej-fold { margin-top: var(--s2); color: var(--sky-ink); }
.ej-story .ej-more > .ej-wrap > .ej-fold > summary { justify-content: center; color: var(--sky-amber); }
.ej-story .ej-more > .ej-wrap > .ej-fold > :is(p, div) { margin-inline: auto; color: var(--sky-ink); }
.ej-story .ej-more > .ej-wrap > .ej-fold h3 { color: var(--sky-ink); }
.ej-story .ej-more > .ej-wrap > .ej-fold a { color: var(--sky-amber); }
.ej-story .ej-more > .ej-wrap > .ej-fold code { background: rgb(244 235 221 / 0.12); color: inherit; }
.ej-story .ej-fold > .ej-fold-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); max-width: 60ch; padding-bottom: var(--s2); }
@media (min-width: 960px) { .ej-story .ej-fold > .ej-fold-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
/* the line under the first cards: how campfires work, and the one "fictional" note on the page */
.ej-story .ej-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 var(--s4); margin: var(--s4) 0 0; font-size: 1rem; line-height: 1.5; color: var(--sky-muted); }

/* get emma: the Mac first, then the web and your helper side by side */
.ej-story #mac-app { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4) var(--s6); align-items: center; }
@media (min-width: 900px) { .ej-story #mac-app { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); } }
.ej-story #mac-app > * { margin: 0; }
.ej-story .ej-shot { border-radius: 16px; }
.ej-story .ej-shot-mac { margin: 0; }
.ej-story .ej-mac-words { align-self: stretch; justify-content: center; }
.ej-story .ej-mac-words .ej-card-cta { margin-top: var(--s4); padding-top: 0; }
.ej-story .ej-iphone-line { display: flex; align-items: center; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.ej-story .ej-iphone-line .ej-shot-phone { flex: 0 0 44px; width: 44px; border-radius: 7px; box-shadow: none; }
.ej-story .ej-iphone-line span { flex: 1 1 0; min-width: 0; }
/* an opened fold makes its own card taller; the card beside it keeps its own height */
.ej-story .ej-apps-row:has(details[open]) { align-items: start; }

/* the close: the line, the buttons, then the film right under them */
.ej-story .ej-more-film { padding-bottom: 6rem; }
.ej-story .ej-film { width: min(100%, 60rem, calc((100vh - 14rem) * 16 / 9)); width: min(100%, 60rem, calc((100svh - 14rem) * 16 / 9)); margin: 0 auto; }
.ej-story .ej-film figcaption { margin: 0 0 var(--s3); font-size: 1rem; line-height: 1.5; color: var(--sky-ink); text-align: center; }
.ej-story .ej-film figcaption i { color: var(--sky-ink); }
.ej-story .ej-film video { border-radius: 16px; border-color: rgb(244 235 221 / 0.18); background: #100E18; }

/* questions and the footer follow the page theme; the night fades into them */
.ej-story .ej-faq, .ej-story .ej-foot { background: var(--bg); }
.ej-story .ej-faq { position: relative; z-index: 3; padding: var(--s4) 0 var(--s14); }
.ej-story .ej-faq::before { content: ""; position: absolute; left: 0; right: 0; top: -6rem; height: 6rem; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--bg)); }
.ej-story .ej-faq .ej-wrap { max-width: calc(45rem + 2 * var(--gutter)); }
.ej-story .ej-faq h2 { color: var(--ink); }
/* emma's own place, above the questions: she never sits on words or on a link (kept only once the guide runs) */
.ej-story .ej-faq-light { height: 0; }
.guide-ready .ej-story .ej-faq-light { height: 4.5rem; margin-bottom: var(--s5); }
.ej-story .ej-qs { margin-top: var(--s6); }
.ej-story .ej-qs details { padding: 0 var(--s1); }
.ej-story .ej-qs summary { display: flex; align-items: center; min-height: 44px; padding-block: var(--s4); font: 400 1.25rem/1.3 var(--serif); }
.ej-story .ej-qs summary::before { flex: 0 0 auto; }
.ej-story .ej-qs p { font-size: 1.125rem; line-height: 1.5; max-width: none; margin: 0 0 var(--s6); }
.ej-story .ej-foot { position: relative; z-index: 3; border-top-color: var(--line); }
.ej-story .ej-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s6); max-width: 44rem; margin-inline: auto; }
.ej-story .ej-foot nav a { font-size: 1rem; text-align: center; min-height: 44px; }
.ej-story .ej-foot .ej-fine { font-size: 1rem; line-height: 1.5; color: var(--muted); text-align: center; max-width: 60ch; margin: var(--s6) auto 0; }

/* phones: the ring sits lower and tighter under the words, the side seats step in */
@media (max-width: 700px) {
  .ej-story { --lamp-back: 54px; --lamp-mid: 62px; --lamp-front: 74px; }
  .ej-sky .ej-ring { top: max(24vh, 13rem); bottom: 26vh; }
  .ej-sky .ej-seat { font-size: 14px; }
  .ej-sky .ej-seat-a { left: 30%; top: 44%; } .ej-sky .ej-seat-c { left: 70%; top: 44%; }
  /* the side seats never leave a 320px screen: the longest name pill is about 146px wide, so its centre stays 78px from the edge */
  .ej-sky .ej-seat-b { left: max(18%, 78px); top: 66%; } .ej-sky .ej-seat-d { left: min(82%, calc(100% - 78px)); top: 66%; }
  .ej-sky .ej-seat-f { left: 28%; top: 92%; } .ej-sky .ej-seat-e { left: 72%; top: 92%; }
  .ej-say { max-width: min(240px, 66vw); font-size: 14px; }
  .ej-seat-b .ej-say { left: 0; transform: translate(0, 10px); } .ej-seat-b.is-said .ej-say, .ej-seat-b.is-speaking .ej-say { transform: translate(0, 0); }
  .ej-seat-d .ej-say { transform: translate(0, 10px); } .ej-seat-d.is-said .ej-say, .ej-seat-d.is-speaking .ej-say { transform: translate(0, 0); }
  .ej-seat-a .ej-say, .ej-seat-c .ej-say { right: auto; left: 50%; bottom: calc(var(--lamp) * 0.73 + 10px); border-radius: 16px 16px 16px 5px; transform: translate(-36%, 10px); max-width: min(240px, 74vw); }
  .ej-seat-c .ej-say { transform: translate(-64%, 10px); }
  .ej-seat-a.is-said .ej-say, .ej-seat-a.is-speaking .ej-say { transform: translate(-36%, 0); } .ej-seat-c.is-said .ej-say, .ej-seat-c.is-speaking .ej-say { transform: translate(-64%, 0); }
  /* the front seats lean their lines inward, so none leaves a narrow screen */
  .ej-seat-f .ej-say { transform: translate(-30%, 10px); } .ej-seat-f.is-said .ej-say, .ej-seat-f.is-speaking .ej-say { transform: translate(-30%, 0); }
  .ej-seat-e .ej-say { transform: translate(-70%, 10px); } .ej-seat-e.is-said .ej-say, .ej-seat-e.is-speaking .ej-say { transform: translate(-70%, 0); }
  .ej-fl { max-width: min(300px, 84vw); font-size: 14px; }
  .ej-fl-keep { max-width: min(260px, 76vw); } #k1, #k2, #k3 { left: 50%; }
  .ej-fl-idea { max-width: min(300px, 84vw); font-size: 16px; }
  .ej-fl-job, .ej-fl-job.is-up { left: 50%; }
  body[data-scene="4"] .ej-sky .ej-seat-a { top: 78%; } body[data-scene="4"] .ej-sky .ej-seat-c { top: 35%; } body[data-scene="5"] .ej-sky .ej-seat-a { left: 36%; top: 80%; }
  /* the window needs the floor too: the side seats step up, and the two front seats keep apart */
  body[data-scene="5"] .ej-sky .ej-seat-b { left: max(18%, 78px); top: 50%; }
  body[data-scene="5"] .ej-sky .ej-seat-f { left: 66%; } body[data-scene="5"] .ej-sky .ej-seat-e { left: 88%; }
  body[data-scene="5"] .ej-sky.is-beside .ej-seat-f { left: 80%; top: 96%; } body[data-scene="5"] .ej-sky.is-beside .ej-seat-e { left: 86%; top: 66%; }
  .ej-frame.is-web .ej-frame-bar i { visibility: hidden; }
  body[data-scene="5"] .ej-sky.is-beside .ej-seat-b { left: max(16%, 60px); top: 89%; } body[data-scene="5"] .ej-sky.is-beside .ej-seat-d { left: 57%; top: 89%; }
  .ej-rings { top: 78%; } .ej-frame { left: 36%; top: 80%; }
  .ej-vault-a { left: 14%; top: 34%; } .ej-vault-c { left: 86%; top: 34%; } .ej-vault-e { left: 89%; top: 83%; }
  /* June's rings need the floor: the side seats step up and out */
  body[data-scene="4"] .ej-sky .ej-seat-b { left: max(12%, 78px); top: 54%; } body[data-scene="4"] .ej-sky .ej-seat-d { left: min(88%, calc(100% - 78px)); top: 54%; }
  .ej-rings span i { display: none; }
  /* a phone is a long scroll: the sections end a little sooner */
  .ej-story .ej-more { padding-bottom: var(--s8); }
  .ej-story .ej-play.ej-play-short { padding-top: var(--s10); }
  .ej-story .ej-more::before { inset: -3.5rem 0 0 0; background: linear-gradient(to bottom, rgb(21 19 31 / 0), rgb(21 19 31 / 0.4) 1.25rem, rgb(21 19 31 / 0.8) 2.5rem, rgb(21 19 31 / 0.92) 3.5rem, rgb(21 19 31 / 0.92) calc(100% - 2.5rem), rgb(21 19 31 / 0)); }
  .ej-story .ej-more-film { padding-bottom: 3.5rem; }
  .ej-story .ej-faq::before { top: -3.5rem; height: 3.5rem; }
  .ej-story .ej-faq { padding: var(--s2) 0 var(--s10); }
  .guide-ready .ej-story .ej-faq-light { height: 4rem; margin-bottom: var(--s4); }
  .ej-story .ej-qs { margin-top: var(--s4); }
  .ej-story .ej-foot { padding: var(--s4) 0 var(--s8); }
  .ej-story .ej-foot .ej-brand { margin-bottom: var(--s3); }
}
/* up to a small laptop there is no room beside the back lanterns: June's and Leo's lines sit above them */
@media (min-width: 701px) and (max-width: 1000px) {
  .ej-seat-a .ej-say, .ej-seat-c .ej-say { right: auto; left: 50%; bottom: calc(var(--lamp) * 0.73 + 12px); border-radius: 16px 16px 16px 5px; transform: translate(-36%, 10px); }
  .ej-seat-c .ej-say { transform: translate(-64%, 10px); }
  .ej-seat-a.is-said .ej-say, .ej-seat-a.is-speaking .ej-say { transform: translate(-36%, 0); } .ej-seat-c.is-said .ej-say, .ej-seat-c.is-speaking .ej-say { transform: translate(-64%, 0); }
}
/* a short, wide screen: a smaller title leaves the fire its room */
@media (min-width: 701px) and (max-height: 800px) { .ej-story .ej-words h2 { font-size: 2rem; } .ej-sky .ej-ring { bottom: 25vh; } }
/* a very short phone has no room for a line of talk between the title and the lanterns: the cards say it */
@media (max-width: 700px) and (max-height: 640px) { .ej-sky .ej-say { display: none; } }
/* and its opening is tighter, so the fire shows under the words */
@media (max-width: 700px) and (max-height: 600px) {
  .ej-story #top .ej-words { padding-top: var(--s4); }
  .ej-story .ej-words .ej-lede { font-size: 1.0625rem; margin-top: var(--s3); }
  .ej-story #top .ej-ctas { margin-top: var(--s4); }
}
/* reduced motion: no stage to scroll through. Each section is its heading, its sentence, its cards. */
@media (prefers-reduced-motion: reduce) {
  .ej-sky * { transition-duration: 0.2s !important; }
  /* the guide hides by visibility when she would cover words; the shared 0.2s reduced-motion fade kept her canvas showing */
  .ej-story .emma-guide, .ej-story .emma-guide * { transition: none !important; }
  .ej-story .ej-act:not(#top) .ej-play { min-height: 0; padding-top: var(--s10); }
  .ej-story .ej-words { position: static; }
}
@media print { .ej-sky { display: none; } .ej-story .ej-play { min-height: 0; } .ej-story .ej-words { position: static; color: var(--ink); } .ej-story .ej-more::before, .ej-story .ej-words::before { display: none; } }

/* ---------------------------------------------------------------- emma's places (2026-11-10)
 * The guide (guide.js) sits in a reserved place in each scene, never on its words: beside the heading
 * on a wide screen (left or right, alternating), just under it on a narrow one; above the opening line;
 * beside the closing line (above it on a narrow screen). Each place is an empty box laid over the page
 * (position: absolute), so no text moves for her. She keeps to her place while its heading is pinned,
 * and steps out of sight when it scrolls away or when the cards slide over it (guide.js). */
.ej-story .ej-words h2, .ej-story .ej-big { position: relative; }
.ej-story .ej-light { position: absolute; display: block; width: 4.5rem; height: 4.5rem; pointer-events: none; }
.ej-story .ej-words h2 .ej-light { top: 50%; margin-top: -2.25rem; left: calc(100% + 1.5rem); }
.ej-story .ej-words h2 .ej-light-l { left: auto; right: calc(100% + 1.5rem); }
.ej-story .ej-light-top { left: 50%; margin-left: -2.25rem; }
.ej-story #top .ej-light-top { top: 0; height: clamp(1.5rem, 8vh, 4.5rem); }
.ej-story .ej-big .ej-light-top { top: 50%; margin: -2.25rem 0 0; left: calc(100% + 1.5rem); }
@media (max-width: 1023px) {
  .ej-story .ej-big .ej-light-top { top: auto; bottom: 100%; left: 50%; width: 4rem; height: 4rem; margin: 0 0 0 -2rem; }
  .ej-story .ej-words h2 .ej-light, .ej-story .ej-words h2 .ej-light-l { top: calc(100% + 0.5rem); left: 50%; right: auto; width: 4rem; height: 4rem; margin: 0 0 0 -2rem; }
}
@media (max-width: 700px) and (max-height: 600px) { .ej-story #top .ej-light-top { height: var(--s4); } }

/* ---------------------------------------------------------------- the quiet page (2026-11-12)
 * A restyle for launch. The fire, the scenes, the guide, every word and every link are unchanged.
 * What changes is the page's manner: larger, calmer type; one kind of surface per section instead
 * of the same boxed card everywhere; flat controls with no coloured glow; a kept memory shown as
 * paper; the safety facts set out plainly with the "Plainly, today" note marked as the honest
 * caveat it is; questions and footer laid out in columns. Cards, questions and footer still
 * follow the page theme; the sky is still night. */
.ej-story { --hair: color-mix(in srgb, var(--ink) 13%, transparent); --sky-hair: rgb(244 235 221 / 0.14); --sky-soft: #E2D8C9;
  --paper-bg: #F6EEDF; --paper-fg: #2A2730; --paper-dim: #6A5F54; --paper-edge: transparent;
  --card-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 30px 60px -36px rgb(0 0 0 / 0.7); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .ej-story { --paper-edge: var(--line); --card-shadow: 0 30px 60px -36px rgb(0 0 0 / 0.55); } }
:root[data-theme="light"] .ej-story { --paper-edge: var(--line); --card-shadow: 0 30px 60px -36px rgb(0 0 0 / 0.55); }

/* type: one display size that means it, quiet labels, a readable lede */
.ej-story .ej-words h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.03; letter-spacing: -0.022em; max-width: 20ch; }
.ej-story .ej-words .ej-big { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -0.02em; max-width: 20ch; }
.ej-story .ej-words h2, .ej-story .ej-faq h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.018em; }
@media (min-width: 701px) and (max-height: 800px) { .ej-story .ej-words h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); } .ej-story .ej-words h2 { font-size: 2.5rem; } }
.ej-story .ej-words .ej-label { display: inline-flex; align-items: center; gap: 0.75rem; font: 600 0.875rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky-muted); margin: 0 0 var(--s4); }
.ej-story .ej-words .ej-label::before, .ej-story .ej-words .ej-label::after { content: ""; width: 1.75rem; height: 1px; background: var(--sky-hair); }
.ej-story .ej-words .ej-lede { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.45; color: var(--sky-soft); max-width: 42ch; margin-top: var(--s5); text-wrap: balance; }
.ej-story .ej-words .ej-hero-note { font-size: 0.9375rem; color: var(--sky-faint); margin-top: var(--s4); text-wrap: balance; }
.ej-story .ej-more .ej-intro { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--sky-soft); max-width: 44ch; margin-bottom: var(--s10); }

/* controls: flat and sure, no coloured glow */
.ej-story .ej-btn { min-height: 3.25rem; padding: 0 min(1.625rem, 6vw); letter-spacing: 0.005em;
  background: linear-gradient(180deg, #FFDCA6, #F5B466); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.45), 0 10px 28px -12px rgb(0 0 0 / 0.6); }
@media (hover: hover) { .ej-story .ej-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), 0 14px 30px -12px rgb(0 0 0 / 0.65); } }
.ej-story .ej-btn-ghost, .ej-story .ej-mast .ej-btn { background: none; border-width: 1px; box-shadow: none; }
.ej-story .ej-btn-ghost:hover { box-shadow: none; border-color: var(--amber); }
.ej-story .ej-mast .ej-signin:hover { border-color: var(--sky-amber); }
.ej-story .ej-mast nav a { font-size: 0.9375rem; }
.ej-story .ej-mast .ej-btn { font-size: 0.9375rem; }
.ej-story .ej-pause { border-width: 1px; }
.ej-story .ej-quiet { text-decoration-color: rgb(244 235 221 / 0.4); }

/* room between the acts */
.ej-story .ej-more { padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
@media (max-width: 700px) { .ej-story .ej-more { padding-bottom: var(--s14); } }

/* one card */
.ej-story .ej-card { border-color: var(--hair); border-radius: 20px; padding: clamp(1.5rem, 2.6vw, 2.25rem); box-shadow: var(--card-shadow); }
.ej-story :is(.ej-card, .ej-fold) h3 { font: 400 1.5rem/1.2 var(--serif); letter-spacing: -0.01em; }
.ej-story .ej-fold-cols h3, .ej-story .ej-rings-text h3 { font-size: 1.25rem; }
.ej-story .ej-card .ej-pill, .ej-story .ej-card .ej-pill-on { padding: 0; border: 0; border-radius: 0; background: none; color: var(--amber); font: 600 0.875rem/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.ej-story .ej-card .ej-ticks li { padding-left: 1.375rem; }
.ej-story .ej-card .ej-ticks li::before { top: 0.66em; width: 6px; height: 6px; background: var(--amber); box-shadow: none; }

/* three steps are one object: a single panel, ruled into three, with a serif numeral each */
.ej-story .ej-more .ej-keep { gap: 0; border: 1px solid var(--hair); border-radius: 20px; background: var(--card); box-shadow: var(--card-shadow); overflow: hidden; }
.ej-story .ej-keep > .ej-card { border: 0; border-radius: 0; background: none; box-shadow: none; }
.ej-story .ej-keep > .ej-card + .ej-card { border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .ej-story .ej-keep > .ej-card + .ej-card { border-top: 0; border-left: 1px solid var(--hair); } }
.ej-story .ej-keep h3 { display: block; }
.ej-story .ej-keep .ej-n { display: block; width: auto; height: auto; margin: 0 0 var(--s4); border-radius: 0; background: none; text-align: left; color: var(--amber); font: italic 400 2.5rem/1 var(--serif); }

/* a kept memory is a piece of paper; a goal is the same paper, straight */
.ej-story .ej-card .ej-memory { max-width: 24rem; padding: 1rem 1.25rem 1.125rem; border: 1px solid var(--paper-edge); border-radius: 6px; background: var(--paper-bg); color: var(--paper-fg);
  box-shadow: 0 14px 28px -14px rgb(0 0 0 / 0.55); transform: rotate(-0.7deg); transform-origin: 0 100%; }
.ej-story #ways-goal .ej-memory { transform: rotate(0.5deg); }
.ej-story .ej-card .ej-memory .ej-who, .ej-story .ej-card .ej-memory .ej-memory-meta { color: var(--paper-dim); }
.ej-story .ej-card .ej-memory b { color: var(--paper-fg); font-size: 1.625rem; line-height: 1.2; }
.ej-story .ej-ways .ej-card > .ej-memory { margin-top: var(--s5); margin-bottom: var(--s2); }
/* the ember's idea is a quiet aside, in its own voice */
.ej-story .ej-card .ej-reply { padding: 0.125rem 0 0.125rem 1.25rem; border: 0; border-left: 2px solid var(--amber); border-radius: 0; background: none; font: italic 400 clamp(1.375rem, 2.2vw, 1.625rem)/1.3 var(--serif); }
.ej-story .ej-card .ej-reply .ej-who { font-style: normal; margin-bottom: var(--s2); }
.ej-story .ej-card .ej-grant-line { padding: 0; border: 0; border-radius: 0; background: none; font-size: 1.375rem; line-height: 1.35; }
.ej-story .ej-one { max-width: 46rem; }

/* get emma: the real app, in a window that looks like one */
@media (min-width: 900px) { .ej-story #mac-app { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: var(--s10); } }
.ej-story .ej-shot-mac { border-radius: 12px; border-color: var(--hair); box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.6); }

/* keeping it safe: three plain facts, each with its mark, on the open night; the caveat is marked as one */
.ej-story .ej-more .ej-safe-grid { gap: var(--s4); }
.ej-story .ej-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); }
.ej-story .ej-ico svg { display: block; }
.ej-story .ej-card > .ej-ico + h3 { margin-top: var(--s5); }
.ej-story .ej-card .ej-plain { padding: 0.875rem 1rem; border-radius: 12px; background: color-mix(in srgb, var(--amber) 9%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 28%, transparent); font-size: 1rem; line-height: 1.5; color: var(--ink); }
.ej-story .ej-card .ej-plain b { display: block; margin-bottom: 2px; font: 600 0.8125rem/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.ej-story .ej-safe-grid .ej-card p { font-size: 1.0625rem; }

/* the film */
.ej-story .ej-film figcaption { margin-bottom: var(--s5); font: 600 0.875rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky-muted); }
.ej-story .ej-film figcaption i { display: block; margin-top: var(--s2); font: italic 400 clamp(1.75rem, 3.4vw, 2.5rem)/1.15 var(--serif); letter-spacing: -0.01em; text-transform: none; color: var(--sky-ink); }
.ej-story .ej-film video { border-radius: 20px; border-color: var(--sky-hair); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8); }

/* questions: the title beside the list on a wide screen; the mark sits at the end of each line */
.ej-story .ej-faq { padding: var(--s14) 0 clamp(3.5rem, 8vw, 6rem); }
.ej-story .ej-qs { margin-top: var(--s8); border-top-color: var(--hair); }
.ej-story .ej-qs details { border-bottom-color: var(--hair); padding: 0; }
.ej-story .ej-qs summary { justify-content: space-between; gap: var(--s4); padding-block: var(--s5); font-size: clamp(1.25rem, 1.8vw, 1.4375rem); }
.ej-story .ej-qs summary::before { order: 2; width: auto; font: 300 1.5rem/1 var(--sans); }
.ej-story .ej-qs p { max-width: 34em; color: var(--muted); }
@media (min-width: 960px) {
  .ej-story .ej-faq .ej-wrap { max-width: var(--content); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s14); align-items: start; }
  .ej-story .ej-faq .ej-words-plain { text-align: left; position: sticky; top: calc(var(--mast-h) + var(--s8)); }
  .ej-story .ej-faq h2 { margin: 0; }
  .guide-ready .ej-story .ej-faq-light { width: 4.5rem; }
  .ej-story .ej-qs { margin-top: 0; }
}

/* the footer: the name and the plain line on one side, the links in three short lists */
.ej-story .ej-foot { padding: var(--s14) 0 var(--s10); text-align: left; border-top-color: var(--hair); }
.ej-story .ej-foot .ej-wrap { display: grid; gap: var(--s8); }
.ej-story .ej-foot .ej-brand { justify-content: flex-start; margin: 0; }
.ej-story .ej-foot .ej-brand img { margin-left: -4px; }
.ej-story .ej-foot nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); gap: var(--s6) var(--s8); max-width: none; margin: 0; justify-content: stretch; }
.ej-story .ej-foot-h { margin: 0 0 var(--s1); font: 600 0.8125rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.ej-story .ej-foot nav a { display: flex; justify-content: flex-start; min-height: 44px; font-size: 1rem; text-align: left; }
.ej-story .ej-foot .ej-fine { max-width: 52ch; margin: 0; text-align: left; font-size: 0.9375rem; color: var(--faint); }
@media (min-width: 900px) {
  .ej-story .ej-foot .ej-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: var(--s5) var(--s14); }
  .ej-story .ej-foot nav { grid-column: 2; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) { .ej-story .ej-card .ej-memory, .ej-story #ways-goal .ej-memory { transform: none; } }

/* ---------------------------------------------------------------- alive (2026-11-12)
 * Motion that arrives with the reader (emma-journey.js adds .alive to <html>, marks the parts with
 * data-rv and says when each is seen with .is-in). Nothing here hides a word unless the script is
 * running, motion is welcome and the pause control is not pressed; print shows everything.
 * Parts move with translate / scale / rotate, so a part that has its own transform keeps it. */
.alive [data-rv] { opacity: 0; translate: 0 1.75rem; transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), translate 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), scale 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), rotate 1.1s cubic-bezier(0.3, 1.3, 0.4, 1), border-color 1s ease, box-shadow 1s ease; transition-delay: calc(var(--i, 0) * 120ms); }
.alive [data-rv="step"] { translate: 0 1rem; }
.alive [data-rv="paper"] { translate: 0 -1.25rem; rotate: 5deg; scale: 1.06; }
/* on a narrow screen the turned, enlarged paper would reach past the edge before it lands: it only drops in */
@media (max-width: 600px) { .alive [data-rv="paper"] { rotate: none; scale: none; } }
.alive [data-rv="shot"] { translate: 0 2.5rem; scale: 0.955; }
.alive [data-rv].is-in { opacity: 1; translate: none; rotate: none; scale: none; }
.alive [data-rv].is-done { transition-delay: 0s; }
.alive #top [data-rv] { transition-delay: calc(1.05s + var(--i, 0) * 0.22s); }
/* a heading, one line at a time, coming into focus */
.ej-story .ej-ln { display: block; }
.alive .ej-words .ej-ln { opacity: 0; translate: 0 0.42em; filter: blur(7px); transition: opacity 1s ease, translate 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1s ease; transition-delay: calc(0.1s + var(--i, 0) * 0.3s); }
.alive .ej-words.is-in .ej-ln { opacity: 1; translate: none; filter: none; }
.alive .ej-words .ej-label { opacity: 0; transition: opacity 0.9s ease; }
.alive .ej-words.is-in .ej-label { opacity: 1; }
.alive .ej-words .ej-label::before, .alive .ej-words .ej-label::after { width: 0; transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s; }
.alive .ej-words.is-in .ej-label::before, .alive .ej-words.is-in .ej-label::after { width: 1.75rem; }
/* as the fire catches, the second line of the opening takes its light */
@keyframes ej-catch { 0% { text-shadow: 0 0 0 rgb(255 190 110 / 0); } 35% { text-shadow: 0 0 2.25rem rgb(255 190 110 / 0.6); } 100% { text-shadow: 0 0 1.25rem rgb(255 190 110 / 0.16); } }
.alive body:has(.ej-sky.is-lit) #top h1 em { animation: ej-catch 2.6s ease-out both; }
/* the ember's idea arrives a word at a time */
.alive .ej-w { opacity: 0; }
.alive .is-in .ej-w { animation: ej-word 0.7s ease both; animation-delay: calc(0.55s + var(--i, 0) * 85ms); }
@keyframes ej-word { from { opacity: 0; translate: 0 0.25em; filter: blur(4px); } to { opacity: 1; translate: none; filter: none; } }
/* the safety marks draw themselves */
.alive .ej-ico svg > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s ease calc(0.45s + var(--i, 0) * 120ms); }
.alive .is-in .ej-ico svg > * { stroke-dashoffset: 0; }
.alive .ej-ico { scale: 0.6; opacity: 0; transition: scale 0.8s cubic-bezier(0.3, 1.4, 0.4, 1) 0.25s, opacity 0.5s ease 0.25s; }
.alive .is-in .ej-ico { scale: 1; opacity: 1; }
/* numerals step in after their panel */
.alive [data-rv="step"] .ej-n { scale: 0.7; transform-origin: 0 100%; transition: scale 0.9s cubic-bezier(0.3, 1.4, 0.4, 1) calc(0.15s + var(--i, 0) * 120ms); }
.alive [data-rv="step"].is-in .ej-n { scale: 1; }

/* small living touches (these answer the reader's own hand, so they need no pause) */
.ej-story .ej-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.6s ease;
  background: radial-gradient(24rem circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--amber) 11%, transparent), transparent 65%); }
@media (hover: hover) {
  .ej-story .ej-card:hover::after { opacity: 1; }
  .ej-story .ej-card .ej-memory.is-done, html:not(.alive) .ej-story .ej-card .ej-memory { transition: rotate 0.5s cubic-bezier(0.3, 1.4, 0.4, 1), translate 0.5s cubic-bezier(0.3, 1.4, 0.4, 1), box-shadow 0.5s ease; }
  .ej-story .ej-card:hover .ej-memory.is-done, html:not(.alive) .ej-story .ej-card:hover .ej-memory { rotate: 0.7deg; translate: 0 -4px; box-shadow: 0 22px 36px -16px rgb(0 0 0 / 0.6); }
  .ej-story #ways-goal:hover .ej-memory.is-done, html:not(.alive) .ej-story #ways-goal:hover .ej-memory { rotate: -0.5deg; }
  .ej-story :is(.ej-btn, .ej-quiet) > span { display: inline-block; transition: translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .ej-story :is(.ej-btn, .ej-quiet):hover > span { translate: 3px 0; }
  .ej-story :is(.ej-btn, .ej-quiet)[href="/auth/login"]:hover > span { translate: 2px -2px; }
  .ej-story .ej-shot-mac.is-done { transition: translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), scale 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.9s ease; }
  .ej-story #mac-app:hover .ej-shot-mac.is-done { translate: 0 -4px; scale: 1.01; }
}
/* a question opens and closes smoothly where the browser can do it */
@supports (interpolate-size: allow-keywords) {
  .ej-story { interpolate-size: allow-keywords; }
  .ej-story details::details-content { block-size: 0; opacity: 0; overflow: clip; transition: block-size 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s ease, content-visibility 0.45s allow-discrete; }
  .ej-story details[open]::details-content { block-size: auto; opacity: 1; }
}
/* a thread of ember under the bar shows how far down the story the reader is */
@supports (animation-timeline: scroll()) {
  .alive .ej-story .ej-mast::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform-origin: 0 50%; pointer-events: none;
    background: linear-gradient(to right, rgb(245 174 92 / 0), rgb(245 174 92 / 0.7) 60%, #FFE7AE); animation: ej-thread linear both; animation-timeline: scroll(root); }
  @keyframes ej-thread { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
/* stillness: the pause control, reduced motion and print show every part where it ends */
.emma-paused.alive :is([data-rv], .ej-ln, .ej-w, .ej-ico, .ej-n, .ej-label), .emma-paused.alive .ej-ico svg > * { opacity: 1 !important; translate: none !important; rotate: none !important; scale: none !important; filter: none !important; stroke-dashoffset: 0 !important; transition: none !important; animation: none !important; }
.emma-paused.alive .ej-words .ej-label::before, .emma-paused.alive .ej-words .ej-label::after { width: 1.75rem; transition: none; }
.emma-paused.alive .ej-mast::before { display: none; }
@media print { .alive :is([data-rv], .ej-ln, .ej-w, .ej-ico, .ej-label) { opacity: 1 !important; translate: none !important; rotate: none !important; scale: none !important; filter: none !important; } }
/* before the script has run (theme-init.js): the opening words wait; if it never runs, they come in on their own */
.alive-pending .ej-story #top .ej-words :is(h1, .ej-lede, .ej-ctas, .ej-hero-note) { animation: ej-wait 0.6s ease 2.5s both; }
@keyframes ej-wait { from { opacity: 0; } to { opacity: 1; } }
/* ---------------------------------------------------------------- why emma (2026-11-12)
 * The page's one personal passage: a short letter from its maker beside five plain facts about what
 * emma is today. It sits on the night veil like the cards, between Safety and the closing line. */
.ej-story .ej-why { padding: 0; scroll-margin-top: 3rem; }
.ej-story .ej-why .ej-more { padding-top: clamp(3rem, 7vw, 5.5rem); }
.ej-story .ej-why-label { display: block; margin: 0 0 var(--s4); text-align: center; font: 600 0.875rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky-muted); }
.ej-story .ej-why-title { max-width: 18ch; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; color: var(--sky-ink); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.018em; }
.ej-story .ej-why-grid { display: grid; gap: var(--s10); max-width: 62rem; margin-inline: auto; }
@media (min-width: 900px) { .ej-story .ej-why-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(3rem, 6vw, 5.5rem); align-items: start; } }
.ej-story .ej-letter p { margin: 0 0 var(--s5); font: 400 clamp(1.25rem, 1.9vw, 1.5rem)/1.5 var(--serif); color: var(--sky-ink); }
.ej-story .ej-letter p:first-child { font-size: clamp(1.4375rem, 2.3vw, 1.75rem); line-height: 1.4; }
@media (max-width: 899px) { .ej-story .ej-why-grid { max-width: 36rem; } }
.ej-story .ej-letter .ej-letter-sign { margin: var(--s8) 0 0; padding-top: var(--s5); border-top: 1px solid var(--sky-hair); font: italic 400 1.125rem/1.4 var(--serif); color: var(--sky-muted); }
.ej-story .ej-scope { margin: 0; display: grid; border-top: 1px solid var(--sky-hair); }
.ej-story .ej-scope > div { padding: var(--s5) 0; border-bottom: 1px solid var(--sky-hair); }
.ej-story .ej-scope dt { margin: 0 0 var(--s1); font: 600 0.875rem/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky-amber); }
.ej-story .ej-scope dd { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--sky-soft); }
/* a phone's opening: slightly smaller words and a lower ring, so the back lanterns sit under the words, not behind them */
@media (max-width: 700px) {
  .ej-story #top .ej-words { padding-top: clamp(1.25rem, 6.5vh, 3.5rem); }
  .ej-story #top .ej-light-top { height: clamp(1.25rem, 6.5vh, 3.5rem); }
  .ej-story .ej-words h1 { font-size: clamp(2.125rem, 9.4vw, 2.5rem); }
  .ej-story #top .ej-words .ej-lede { font-size: 1.0625rem; margin-top: var(--s4); }
  .ej-story #top .ej-ctas { margin-top: var(--s5); }
  .ej-story #top .ej-words .ej-hero-note { margin-top: var(--s3); font-size: 0.875rem; }
  body[data-scene="0"] .ej-sky .ej-ring { top: min(max(16vh, var(--hero-floor, 34vh)), 70vh); }
}
/* for one frame, as the script takes over, nothing transitions: each part is simply at its start */
.alive-arming :is([data-rv], .ej-ln, .ej-w, .ej-ico, .ej-n, .ej-label), .alive-arming .ej-label::before, .alive-arming .ej-label::after, .alive-arming .ej-ico svg > * { transition: none !important; }

/* ---------------------------------------------------------------- finishing pass 1 (2026-11-12)
 * From a slow look at every section. The stage is a little taller and the ring ends a little higher,
 * so the two front lanterns stand clear of the sentence and the cards below them. The closing line
 * sits on a darker sky (no faces behind the words). The lockup leads the bar; the theme switch joins
 * the other controls. The reading thread runs along the very top of the screen. */
.ej-story .ej-act:not(#top) .ej-play:not(.ej-play-short) { min-height: 72vh; min-height: 72svh; }
.ej-story .ej-sky .ej-ring { bottom: 33vh; }
@media (max-width: 700px) { .ej-story .ej-sky .ej-ring { bottom: 32vh; } }
body.ej-story[data-scene="0"] .ej-sky .ej-ring { bottom: 0; }
.ej-story .ej-play.ej-play-short { background: linear-gradient(to bottom, rgb(21 19 31 / 0), rgb(21 19 31 / 0.95) 4rem); }
@media (min-width: 900px) { .ej-story .ej-play.ej-play-short { padding-bottom: var(--s14); } }
.ej-sky .ej-ring:has(#f-idea.is-up) .ej-rings i { opacity: 0; transition: opacity 0.4s ease; }
.ej-story .ej-mast .ej-theme { order: 3; }
.ej-story .ej-words .ej-lede { max-width: 34rem; }
@supports (animation-timeline: scroll()) {
  .alive .ej-story .ej-mast::before { top: 0; bottom: auto; height: 2px; }
}
@media (prefers-reduced-motion: reduce) { .ej-story .ej-act:not(#top) .ej-play:not(.ej-play-short) { min-height: 0; } }
.ej-story .ej-words .ej-lede { max-width: 38rem; }
/* a line of talk sits clear above the flame of the one speaking */
.ej-story .ej-seat:not(.ej-seat-a):not(.ej-seat-c) .ej-say { bottom: calc(var(--lamp) * 0.9 + 22px); }
@media (max-width: 1000px) { .ej-story .ej-seat .ej-say { bottom: calc(var(--lamp) * 0.9 + 20px); } }
/* phones: the goal and the job keep apart on the shorter ring; a name never sits on the small window's bar;
 * Sign in keeps its own width beside the lantern */
@media (max-width: 700px) {
  .ej-story .ej-fl-note.is-up { top: 36%; }
  .ej-story .ej-fl-job, .ej-story .ej-fl-job.is-up { top: 82%; }
  body.ej-story[data-scene="5"] .ej-sky .ej-seat-b .ej-seat-name { opacity: 0 !important; }
  .ej-story .ej-mast .ej-signin { flex: 0 0 auto; margin-left: auto; padding-inline: 1.125rem; }
}
/* phones: the guide keeps to the corner of the heading's label line, so the scene under the heading is all the fire's */
@media (max-width: 700px) {
  .ej-story .ej-words h2 .ej-light, .ej-story .ej-words h2 .ej-light-l { top: -3.5rem; left: auto; right: -0.25rem; width: 3rem; height: 3rem; margin: 0; }
}

/* ---------------------------------------------------------------- finishing pass 2 (2026-11-12) */
/* a question's focus ring has room round its words */
.ej-story .ej-qs summary { padding-inline: var(--s3); margin-inline: calc(var(--s3) * -1); border-radius: 10px; }
/* the footer's middle list is the widest: no link wraps */
@media (min-width: 900px) { .ej-story .ej-foot nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--s6); } }
/* when the fire has caught, one soft light crosses the first button, once */
.ej-story .ej-btn { position: relative; overflow: hidden; }
.alive body:has(.ej-sky.is-lit) #hero-primary::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.55) 50%, transparent 65%); translate: -120% 0; animation: ej-sheen 1.5s ease-in-out 1.4s 1 both; }
@keyframes ej-sheen { from { translate: -120% 0; } to { translate: 120% 0; } }
.emma-paused.alive #hero-primary::after { display: none; }
/* tablets too: the guide keeps to the corner of the label line, clear of the fire's own stage */
@media (min-width: 701px) and (max-width: 1023px) {
  .ej-story .ej-words h2 .ej-light, .ej-story .ej-words h2 .ej-light-l { top: -3.75rem; left: auto; right: -0.5rem; width: 3.25rem; height: 3.25rem; margin: 0; }
}
/* a short laptop screen: the opening is tighter, so all six lanterns sit under the words */
@media (min-width: 701px) and (max-height: 760px) {
  .ej-story #top .ej-words { padding-top: 2.75rem; }
  .ej-story #top .ej-light-top { height: 2.75rem; }
  .ej-story .ej-words h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); }
  .ej-story #top .ej-words .ej-lede { font-size: 1.125rem; margin-top: var(--s3); }
  .ej-story #top .ej-ctas { margin-top: var(--s4); }
  .ej-story #top .ej-words .ej-hero-note { margin-top: var(--s2); }
  body.ej-story[data-scene="0"] .ej-sky .ej-ring { top: min(max(16vh, var(--hero-floor, 34vh)), 70vh); }
}
/* her corner place sits wholly under the bar (a place that touches the bar counts as covered) */
@media (max-width: 1023px) {
  .ej-story .ej-words h2 .ej-light, .ej-story .ej-words h2 .ej-light-l { top: -3.05rem; width: 2.75rem; height: 2.75rem; }
}
/* Newsreader's italic is already close-set: it keeps a little more air than the upright */
.ej-story .ej-words :is(h1, h2, .ej-big) em { letter-spacing: -0.008em; }
