/* Meet Orbilla. Tokens only, no new colours; every class starts with mo- (om- for its motion graphics).
   Loaded after site.css and orbi.css (the character itself) from the page's <!--head--> block, with orbilla.js.
   orbilla.js adds .mo-js to <html>; without it the page is complete and static.
   S41 (the finish, docs/S41-FINISH.md): a family page on the neutral ground (orbilla by day, night by night). Each
   app's passage is one rounded 28 px scene of its own world (.mo-scene), a hair apart: Zen Timer's four sections
   share one (dawn by day, dusk by night), Life Desk has one (sage, pine), and the close is one more of Zen Timer's.
   This file owns every rule the page needs: it no longer loads zen-timer.css or life-desk.css, so their restyles
   cannot move it. Gold is Orbilla's: its orbit in the first screen, the ranks' and the wardrobe's own pictures.
   Never a word, a label, a rule or a border.
   S41-10 (the motion pass, docs/S41-MOTION.md): arrivals are the kit's (site.css 16: .reveal, .reveal-group,
   .reveal-pic, and the first screen's K3); this file adds only what is this page's own: the far orbit drawn once
   (2), pictures that arrive in a row (4b), the tone that slides under the rank chosen (5) and the wardrobe's row of
   controls (7). Nothing rises on hover. The jump bar is gone, and with it --mo-bar: a section called by its address
   stops under the header by the site's own scroll-padding-top. */

/* ---------- 0. The page's own measure ---------- */
:root { --mo-inset: clamp(8px, 1.2vw, 16px); }   /* a scene's margin from the screen's edge, and the hair between two scenes */

/* ---------- 1. Scenes: a place of an app's own world, set into the neutral ground ---------- */
/* One flat ground in the world's own colour, lit once from the upper left as the app worlds are (site.css 17). Its
   ground is a step darker than the family's by day and lighter by night, so its edge reads in both modes. */
.mo-scene { --mo-ground: var(--bg); position: relative; isolation: isolate; width: calc(100% - 2 * var(--mo-inset)); max-width: 1600px; margin-inline: auto; border-radius: var(--r-l); overflow: clip;
  background: radial-gradient(1100px 760px at 8% 0, rgba(var(--key), calc(var(--pool) * .5)), rgba(var(--key), 0) 72%) no-repeat, var(--mo-ground); }
.mo-scene[data-theme="dawn"], .mo-scene[data-theme="desk"] { --mo-ground: var(--sky-lo); }
.mo-scene + .mo-scene { margin-top: var(--mo-inset); }
@media (max-width: 380px) { .mo-scene .wrap { width: calc(100% - 28px); } }   /* the Zen Timer badge pair (132 + 10 + 172 px) fits a card on the smallest phones */
/* A panel inside a scene is one step off the scene's own ground (site.css reads --bg, which is not the ground here). */
.mo-scene, .mo-scene [data-theme] { --panel: color-mix(in srgb, var(--text) 5%, var(--mo-ground)); --glass-bg: var(--panel); }
.mo-scene .stage { background: none; }
/* The page's rhythm (S41-12), on the site's two steps and the same at each kind of place: every place, on the
   ground or in a scene, has --space-s above and below it (so two places stand 2 x --space-s apart, which is --space
   from 800 to 1440 px), and a scene's own edge is --space-s from what it holds. Two places that share one section
   (the stages and the ranks, its voice and its garden) stand as far apart as two sections do. */
.mo-scene > section, section.mo-scene { padding-block: var(--space-s); }
/* A chapter of a scene opens with its label and the role's name, the same size in every chapter. */
.mo-chapter-head { gap: 16px; margin-bottom: clamp(36px, 4vw, 56px); }
.mo-chapter-head h2 { max-width: 14ch; }
/* A scene's hierarchy (S41-14): the role's name is the chapter title, the h2 step (32 to 56 px); its parts (the
   ceremony, the wardrobe, its voice, its garden) are one step under it, h3s on the h3 step (22 to 28 px), and so is
   the voice's line, which stands for its hidden h3; the parts of a place (five stages, eight ranks) are at the h3
   floor, with their lines at body size so no line outranks its heading. (S41-12 had set the parts at the h2 step,
   as large as the title they belong to.) */
.mo-h { font-size: 22px; line-height: 1.18; letter-spacing: -.02em; }
#stages .lede, .mo-ranks-top .lede { font-size: 17px; line-height: 1.5; }
.mo-chapter-head > .actions { margin-top: 8px; }   /* lede (or heading) to action: 24 px */
.mo-place { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.mo-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4.6vw, 64px); }
.mo-head .stack { gap: 16px; }
.mo-note { margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) {
  .mo-place, .mo-head { grid-template-columns: minmax(0, 1fr); }
  .mo-head { align-items: start; gap: 14px; margin-bottom: 28px; }
  .mo-head .stack { gap: 12px; }
}

/* ---------- 2. First screen: Orbilla, large, in its pool of light on the flat ground ---------- */
/* Nothing of Orbilla, its pool or its orbit is cut by the first screen's edge: the pool and the far orbit may spill
   softly into the ground below (flat ground, so a cut would show as a line); only the screen's sides clip (S41 r2). */
.mo-hero { display: grid; align-items: center; min-height: min(860px, 100svh); padding-top: calc(var(--nav-h) + clamp(20px, 3vw, 40px)); padding-bottom: clamp(32px, 4vw, 64px); overflow: visible; overflow-x: clip; }
.mo-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 24px clamp(24px, 4vw, 64px); }
.mo-hero-copy { gap: 20px; }
.mo-hero h1 { font-size: clamp(42px, 6.4vw, 96px); max-width: 9ch; }   /* the page's display size */
.mo-hero .lede { max-width: 30ch; }
/* Both looks: the Focus Companion large in its orbit (the largest thing on the screen, on its own page), the
   Organizer beside it. */
.mo-hero-art { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 0 4%; width: min(780px, 100%); margin-inline: auto 0; padding: 3% 8% 0 9%; }
.mo-hero-one { position: relative; }
.mo-hero-two { margin-bottom: 6%; }
.mo-hero-orbi, .mo-hero-sage { cursor: pointer; }
/* Its orbit: the ring's gold, on Orbilla's own page. */
.mo-orbit { position: absolute; inset: 25% -13% 9%; border: 1.2px solid var(--gold); border-radius: 50%; rotate: -14deg; opacity: .8; pointer-events: none; }
.mo-orbit-far { inset: 13% -34% -5% -22%; opacity: .28; }   /* its left arc held 32 px or more from the words at every width from 901 (S41 r2, measured) */
.mo-moon-x, .mo-moon-y { position: absolute; inset: 0; display: block; }
/* The small moon rests on the near side of the orbit (it circled until S19, October 18, 2026: nothing moves to decorate). */
.mo-moon-x { translate: 36% 0; }
.mo-moon-y { translate: 0 -34%; }
.mo-moon-y i { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px; border-radius: 50%; background: var(--gold); }
/* The first screen arrives once, on load (site.css K3: the words 80 ms apart, the two looks settling as one picture).
   Its own two moves, both once: the far orbit is drawn round Orbilla, from its near end and over the top, and the
   Organizer comes a beat after the Focus Companion. The angle is a registered property so that it can be animated;
   where it is not understood the orbit simply stands whole. Only with the script and with motion allowed. */
@property --mo-drawn { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
@keyframes mo-orbit-draw { from { --mo-drawn: 0deg; } }
@media (prefers-reduced-motion: no-preference) {
  .js .mo-orbit-far { -webkit-mask: conic-gradient(from 236deg, #000 var(--mo-drawn), transparent 0); mask: conic-gradient(from 236deg, #000 var(--mo-drawn), transparent 0); animation: mo-orbit-draw 1.8s var(--ease) .5s backwards; }
  .js .mo-hero-two { animation: arrive-fade .9s var(--ease) .38s backwards; }
}
@media (max-width: 900px) {
  /* The words, then Orbilla under them, centred and as wide as the screen allows: still the subject (S41 r2). */
  .mo-hero { min-height: 0; padding-bottom: 48px; }
  .mo-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .mo-hero-art { width: min(640px, 100%); margin-inline: auto; padding: 2% 9% 0 10%; }
  .mo-hero h1 { max-width: 12ch; }
}
@media (max-width: 560px) {
  .mo-hero { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 32px; }
  .mo-hero-copy { gap: 16px; }
  .mo-hero-art { width: 100%; margin-top: 0; padding: 0 9% 0 10%; }   /* two looks share the width */
  .mo-orbit-far { inset: 13% -26% -5%; }   /* both ends of the far orbit clear of the screen's edges (S20) */
}

/* ---------- 3. One character, two apps: each look with its role, its app and a way in ---------- */
.mo-worlds-head { display: grid; gap: 16px; justify-items: start; margin-bottom: var(--space-s); }   /* the section is a .chapter: --space-s above and below (site.css) */
/* The two looks share their rows (subgrid), so each part lines up with its twin: the badges sit on one line however
   long either app's sentence runs. */
.mo-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); align-items: start; }
.mo-look { display: grid; grid-row: span 5; grid-template-rows: subgrid; justify-items: start; row-gap: 10px; }
.mo-world-orbi { width: min(300px, 72%); margin: 0 0 18px; }
.mo-role { font: 500 15px/1.35 var(--sans); letter-spacing: -.008em; color: var(--muted); }   /* the quiet label line */
.mo-look h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.mo-look h3 img { width: 40px; height: 40px; border-radius: 9px; }
.mo-look p:not(.mo-role) { max-width: 40ch; color: var(--muted); }
.mo-look .actions { margin-top: 14px; }
/* Each look's Orbilla settles (K2) and its lines arrive under it in reading order, 80 ms apart (K1). The lines are
   rows of a shared grid, not children of one block, so each carries its own turn here. */
@media (prefers-reduced-motion: no-preference) {
  .js .mo-look > h3.reveal { transition-delay: 80ms; }
  .js .mo-look > p.reveal:not(.mo-role) { transition-delay: 160ms; }
  .js .mo-look > .actions.reveal { transition-delay: 240ms; }
}
@media (max-width: 760px) {
  /* On a phone the two stand one under the other, each with its Orbilla beside the app's name. */
  .mo-worlds-head { gap: 12px; margin-bottom: 24px; }
  .mo-two { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mo-look { grid-row: auto; grid-template-rows: none; grid-template-columns: 96px minmax(0, 1fr); gap: 6px 16px; }
  .mo-world-orbi { grid-row: 1 / 3; width: 100%; align-self: center; margin: 0; }
  .mo-role { align-self: end; }
  .mo-look h3 { align-self: start; }
  .mo-look h3 img { width: 32px; height: 32px; border-radius: 7px; }
  .mo-look p:not(.mo-role), .mo-look .actions { grid-column: 1 / -1; }
  .mo-look p:not(.mo-role) { max-width: none; margin-top: 6px; }
  .mo-look .actions { margin-top: 6px; row-gap: 10px; }   /* the column gap stays the house 24 px, so a badge pair is 10 px apart (site.css) */
}

/* ---------- 4. Five stages: the app's picture of each, each name set a size larger than the one before ---------- */
.mo-stages .lede { max-width: 40ch; }
.mo-grow { position: relative; display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; align-items: end; gap: 20px clamp(16px, 2.4vw, 40px); margin-top: var(--space-s); padding-bottom: 30px; }
.mo-grow::before { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--rule); }   /* the hours, as one line */
/* Each name one step of the type scale larger than the one before (S41 r2). The last, Radiant, takes the h2 step
   itself (32 to 56 px, as the chapter's title), so no stage name is ever larger than the chapter it sits in:
   from 1200 px h3 22, h3 28, h2 32, 42, h2; from 1000 px h4 19, 22, 28, 32, h2; under 1000 px body 17, 19, 22, 28, 32. */
.mo-grow li { --mo-s: 0; --mo-name: 22px; position: relative; display: grid; gap: 8px; align-content: end; }
.mo-grow li:nth-child(2) { --mo-s: 1; --mo-name: 28px; }
.mo-grow li:nth-child(3) { --mo-s: 2; --mo-name: 32px; }
.mo-grow li:nth-child(4) { --mo-s: 3; --mo-name: 42px; }
.mo-grow li:nth-child(5) { --mo-s: 4; --mo-name: clamp(32px, 3.8vw, 56px); }
@media (max-width: 1199px) {
  .mo-grow li { --mo-name: 19px; }
  .mo-grow li:nth-child(2) { --mo-name: 22px; }
  .mo-grow li:nth-child(3) { --mo-name: 28px; }
  .mo-grow li:nth-child(4) { --mo-name: 32px; }
}
@media (max-width: 999px) {
  .mo-grow li { --mo-name: 17px; }
  .mo-grow li:nth-child(2) { --mo-name: 19px; }
  .mo-grow li:nth-child(3) { --mo-name: 22px; }
  .mo-grow li:nth-child(4) { --mo-name: 28px; }
  .mo-grow li:nth-child(5) { --mo-name: 32px; }
}
.mo-grow li::after { content: ""; position: absolute; left: 0; bottom: -30px; width: calc(9px + var(--mo-s) * 2px); height: calc(9px + var(--mo-s) * 2px); margin-bottom: calc(var(--mo-s) * -1px); border-radius: 50%; background: var(--muted); }
/* The picture is mostly glow: it is drawn larger than its box, so Orbilla fills the box and the glow spills softly past it. */
.mo-grow-art { position: relative; display: block; width: clamp(104px, 13vw, 190px); aspect-ratio: 1; margin-bottom: clamp(4px, 1vw, 14px); pointer-events: none; }
.mo-grow-art img { position: absolute; left: 50%; top: 50%; width: 128%; max-width: none; height: auto; transform: translate(-50%, -50%); }   /* 170% until S20 (October 18, 2026): the pictures ran into each other and one stage's rings crossed the next (Tapan, B-S20) */
.mo-grow-at { font: 500 15px/1.35 var(--sans); letter-spacing: -.008em; color: var(--muted); }
.mo-grow-name { font: 500 var(--mo-name)/1 var(--serif); letter-spacing: -.03em; font-variation-settings: var(--serif-set); white-space: nowrap; }
.mo-grow-say { font: 400 15px/1.35 var(--sans); color: var(--muted); }
@media (max-width: 760px) {
  /* On a phone the five stages are a column: the hours beside each name, the names still growing. */
  .mo-grow { grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 0; margin-top: 24px; padding-bottom: 0; border-top: 1px solid var(--rule); }
  .mo-grow::before, .mo-grow li::after { display: none; }
  .mo-grow li { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "art name at" "art say at"; align-items: center; gap: 4px 14px; padding: 12px 0 13px; border-bottom: 1px solid var(--rule); }
  .mo-grow-art { grid-area: art; width: 76px; margin: 0; }
  .mo-grow-art img { -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 90%); mask-image: radial-gradient(closest-side, #000 62%, transparent 90%); }   /* in a column the glows would run into each other */
  .mo-grow-name { grid-area: name; align-self: end; }
  .mo-grow-say { grid-area: say; align-self: start; }
  .mo-grow-at { grid-area: at; }
}

/* ---------- 4b. Pictures that arrive in a row (S41-10): the five stages, and the five screens of section 10 ---------- */
/* Each is a child of a .reveal-group (site.css K1): its words rise 12 px, 80 ms after the one before. Its picture
   travels the rest of a picture's way on the same turn (K2's distance and size, from the kit's tokens), so the row
   lands in order, small to large, once. The pictures follow the row, not themselves: a screen further along a row
   that is swiped never comes on screen by itself. At rest each is the same layer as when it has arrived. The words
   under a picture wait 300 ms more, until it has cleared them: a picture never lies across its own caption.
   Of a screen it is the phone's body that travels (S41-12), not its figure: a clip's control hangs from the figure
   into the words' row, and riding the phone it began 71 px low, across the words, and was a moving thing to press.
   Now it arrives as the words do, with its tile (12 px), and the phone settles onto its own shadow. */
.mo-grow-art, .mo-verb > .dev, .mo-verb > .dev > .dev-body { translate: 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .js :is(.mo-grow, .mo-verbs).reveal-group :is(.mo-grow-art, .mo-verb > .dev > .dev-body) { translate: 0 calc(var(--pic-rise) - 12px); scale: var(--pic-from); transition: translate 1.4s var(--ease), scale 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js :is(.mo-grow, .mo-verbs).reveal-group.in :is(.mo-grow-art, .mo-verb > .dev > .dev-body) { translate: 0 0; scale: 1; }
  .js :is(.mo-grow, .mo-verbs).reveal-group :is(.mo-grow-at, .mo-grow-name, .mo-grow-say, .mo-verb-copy) { opacity: 0; transition: opacity .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + 300ms); }
  .js :is(.mo-grow, .mo-verbs).reveal-group.in :is(.mo-grow-at, .mo-grow-name, .mo-grow-say, .mo-verb-copy) { opacity: 1; }
}

/* ---------- 5. Eight ranks: one Orbilla, and a journey of eight stops beneath it ---------- */
.mo-ranks-in { margin-top: calc(2 * var(--space-s)); }
.mo-ranks-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(24px, 4vw, 64px); align-items: center; }
.mo-ranks-stage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 8px 24px; }
.mo-ranks-stage .orbi { width: min(400px, 100%); justify-self: center; cursor: pointer; }
.mo-readout { display: grid; gap: 8px; align-content: start; min-height: 10.5em; padding-top: 1.5em; }
.mo-readout-n { font: 500 15px/1.35 var(--sans); letter-spacing: -.008em; color: var(--muted); }
.mo-readout-name { font: 500 clamp(32px, 3.3vw, 46px)/1.04 var(--serif); letter-spacing: -.03em; font-variation-settings: var(--serif-set); text-wrap: balance; }
.mo-readout-note { color: var(--muted); }

.mo-journey { --mo-thumb: 64px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: var(--space-s); }
.mo-js .mo-journey { grid-template-columns: 44px minmax(0, 1fr) 44px; }
.mo-track { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
/* The eight stops keep their Orbillas; the node row under them went in S20 (October 18, 2026). */
.mo-track li { display: grid; }
.mo-stop { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 4px; width: 100%; min-height: 44px; padding: 8px 2px 10px; border: 0; border-radius: var(--r-m); background: none; color: inherit; font: inherit; text-align: center; -webkit-tap-highlight-color: transparent; transition: scale .12s var(--ease-chrome); }
.mo-stop .orbi { width: var(--mo-thumb); }
.mo-stop .orbi img { width: 100%; height: 100%; }
.mo-stop-name { font-size: 14px; line-height: 1.25; font-weight: 600; text-wrap: balance; transition: color .12s var(--ease-chrome); }
.mo-stop-at { font-size: 14px; line-height: 1.25; color: var(--muted); }
button.mo-stop { cursor: pointer; }
.mo-js .mo-stop-name { color: var(--muted); }
.mo-js .mo-stop[aria-pressed="true"] .mo-stop-name, button.mo-stop:hover .mo-stop-name { color: var(--text); }
button.mo-stop:active { scale: .98; }
/* The rank chosen stands on a tone, one stop wide, that slides from stop to stop (S41-10: a control's move, 300 ms on
   the chrome curve). No Orbilla in the row rises or grows: the large one above shows the rank. orbilla.js writes the
   stop's number as .mo-at-N on the journey. */
.mo-js .mo-track::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 12.5%; border-radius: var(--r-m); background: color-mix(in srgb, var(--text) 7%, transparent); translate: calc(var(--mo-at, 0) * 100%) 0; transition: translate .3s var(--ease-chrome); }
.mo-at-1 { --mo-at: 1; } .mo-at-2 { --mo-at: 2; } .mo-at-3 { --mo-at: 3; } .mo-at-4 { --mo-at: 4; }
.mo-at-5 { --mo-at: 5; } .mo-at-6 { --mo-at: 6; } .mo-at-7 { --mo-at: 7; }
.mo-step { display: grid; place-items: center; width: 44px; height: 44px; margin-top: calc(var(--mo-thumb) / 2 - 14px); padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: none; color: var(--text); font: 500 18px/1 var(--sans); cursor: pointer; transition: opacity .3s var(--ease), background-color .3s var(--ease), scale .3s var(--ease); }
.mo-step[hidden] { display: none; }
.mo-step:hover:not(:disabled) { background: color-mix(in srgb, var(--text) 7%, transparent); }
.mo-step:active:not(:disabled) { scale: .96; transition-duration: .08s; }
.mo-step:disabled { opacity: .35; cursor: default; }
@media (max-width: 900px) {
  .mo-ranks-top { grid-template-columns: minmax(0, 1fr); }
  .mo-ranks-stage .orbi { width: min(300px, 100%); }
}
@media (max-width: 900px) {
  /* Under 900 px the eight ranks are one row to swipe, each stop named with the sessions it takes; the row follows
     the rank you choose. (At 768 eight columns ran "Nebula Commander" into "Galaxy Admiral", S41.) */
  .mo-journey, .mo-js .mo-journey { --mo-thumb: 56px; grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .mo-track { display: flex; gap: 0; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    -webkit-mask: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); mask: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
  .mo-track::-webkit-scrollbar { display: none; }
  .mo-track li { flex: 0 0 108px; scroll-snap-align: start; }
  .mo-js .mo-track::before { left: var(--gutter); width: 108px; }
  .mo-stop { padding: 8px 4px 8px; border-radius: 0; }
  .mo-step, .mo-js .mo-step { display: none; }
}
@media (max-width: 560px) {
  .mo-ranks-top { gap: 12px; }
  .mo-ranks-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; }
  .mo-ranks-stage .orbi { width: min(150px, 46%); }
  /* The row below names every stop and the sessions it takes, so the readout speaks only to screen readers. */
  .mo-readout { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- 6. The ceremony at every rank: the words, and two of the app's screens ---------- */
.mo-ceremony .lede, .mo-ceremony p { max-width: 40ch; }
.mo-ceremony p:not(.lede) { color: var(--muted); }
.mo-pair { --mo-pair-gap: clamp(20px, 3.4vw, 48px); display: flex; justify-content: center; align-items: flex-start; gap: var(--mo-pair-gap); }
.mo-pair .dev { width: min(240px, 62%); }
.mo-pair .dev:nth-child(2) { margin-top: clamp(28px, 4vw, 56px); }
/* The ceremony's control (K6) hangs under its phone's lower right corner, off the screen: the app's own End and
   menu buttons are at the screen's top right, and on a phone the device is under 200 px wide. The margin keeps
   its room inside the pair. */
.mo-pair .dev:has(video[data-inview]) { --clip-in-x: 0px; --clip-in-y: auto; --clip-in-b: -56px; margin-bottom: 56px; }
/* Under 200 px the kit hands the control to the clip's place (data-clip-place, here the pair): the same spot, under
   the first phone's right corner, measured from the pair instead. */
.mo-pair[data-clip-place] > .clip-toggle { inset: auto calc(50% + var(--mo-pair-gap) / 2) 0 auto; }
@media (max-width: 760px) {
  .mo-pair { --mo-pair-gap: 18px; }
  .mo-pair .dev { width: 52%; }
  .mo-pair .dev:nth-child(2) { margin-top: 24px; }
}

/* ---------- 7. The wardrobe: a mirror, and all 36 pieces on one rail in five groups (S23) ---------- */
.mo-dress-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.mo-mirror { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; justify-items: center; gap: 14px; }
/* The mirror is an arch of the scene's panel colour: no frame, no glass. */
.mo-mirror-frame { display: grid; align-items: end; justify-items: center; width: min(400px, 100%, 50vh); aspect-ratio: 5 / 6; padding: 0 5% 7%;
  border-radius: 50% 50% var(--r-l) var(--r-l) / 42% 42% var(--r-l) var(--r-l); background: var(--panel); }
.mo-mirror-frame .orbi { cursor: pointer; }
.mo-caption { max-width: 34ch; min-height: 3.2em; text-align: center; text-wrap: balance; }
.mo-swatches { display: flex; justify-content: center; }
.mo-swatches[hidden], .mo-controls[hidden] { display: none; }
.mo-swatch { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: background-color .12s var(--ease-chrome), scale .12s var(--ease-chrome); }
.mo-swatch img { width: 36px; height: 36px; }
.mo-swatch:hover { background: color-mix(in srgb, var(--text) 9%, transparent); }   /* a tone, not a rise (S41-10) */
.mo-swatch:active { scale: .98; }
.mo-swatch[aria-pressed="true"]::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; border: 1.5px solid var(--text); pointer-events: none; }   /* the colour worn: a ring in ink */
.mo-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mo-controls .btn { cursor: pointer; border: 0; }
.mo-dress-panel { display: grid; gap: 32px; min-width: 0; }
.mo-shelves { display: flex; gap: clamp(28px, 3vw, 44px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
  -webkit-mask: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - max(var(--gutter), 56px)), transparent); mask: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - max(var(--gutter), 56px)), transparent); }
.mo-shelves::-webkit-scrollbar { display: none; }
.mo-shelf { flex: none; display: grid; gap: 8px; align-content: start; }
.mo-shelf .label { white-space: nowrap; }
.mo-shelves .mo-items { overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; -webkit-mask: none; mask: none; }
.mo-items { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter, 20px); padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter, 20px)); padding-inline: var(--gutter, 20px); -webkit-mask: linear-gradient(90deg, transparent, #000 var(--gutter, 20px), #000 calc(100% - var(--gutter, 20px)), transparent); mask: linear-gradient(90deg, transparent, #000 var(--gutter, 20px), #000 calc(100% - var(--gutter, 20px)), transparent); }
.mo-items::-webkit-scrollbar { display: none; }
.mo-items li { display: grid; flex: 0 0 124px; scroll-snap-align: start; }
.mo-shelves .mo-items li:first-child { scroll-snap-align: start; }
.mo-shelves .mo-items li:not(:first-child) { scroll-snap-align: none; }
/* The row of controls under the shelves (S41-10): the kit's own (site.css K7: a pill of dots, two paddles from
   1024 px), built by orbilla.js, a dot for each shelf. It sits 20 px under the row, as it does under a rail. */
.mo-shelf-controls { margin-top: -12px; }
.mo-item { display: grid; justify-items: center; align-content: start; gap: 4px; width: 100%; min-height: 44px; padding: 0 0 12px; border: 0; border-radius: var(--r-s); background: none; color: inherit; font: inherit; text-align: center; -webkit-tap-highlight-color: transparent; transition: background-color .12s var(--ease-chrome), scale .12s var(--ease-chrome); }
/* Each piece stands on the shelf: a hairline that runs on from one to the next. The piece worn has an ink line and an
   ink dot under it. Under the pointer a piece takes a tone; it does not rise (S41-10). On Orbilla it settles in one
   move (orbi.css: .orbi-wear, half a second, never past its place). */
.mo-item-art { position: relative; display: grid; place-items: end center; width: 100%; height: 108px; margin-bottom: 10px; border-bottom: 1px solid var(--rule); transition: border-color .3s var(--ease-chrome); }
.mo-item-art img { width: 88px; height: 88px; object-fit: contain; }
.mo-item-art::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--text); scale: 0; transition: scale .3s var(--ease-chrome); }
.mo-item-name { font: 500 17px/1.2 var(--serif); letter-spacing: -.012em; font-variation-settings: var(--serif-set); padding-inline: 4px; }
.mo-item-earn { font-size: 14px; line-height: 1.35; color: var(--muted); padding-inline: 6px; text-wrap: balance; }
button.mo-item { cursor: pointer; }
button.mo-item:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
button.mo-item:active { scale: .98; }
button.mo-item[aria-pressed="true"] .mo-item-art { border-bottom-color: var(--text); }
button.mo-item[aria-pressed="true"] .mo-item-art::after { scale: 1; }
.mo-hint[hidden] { display: none; }
@media (max-width: 900px) {
  .mo-dress-grid { grid-template-columns: minmax(0, 1fr); }
  .mo-mirror { position: static; }
  .mo-mirror-frame { width: min(300px, 78%); }
  .mo-swatches { display: none; }
  /* With JavaScript Orbilla stays in view above the shelves, so you see each choice land: a band of the scene's own
     ground under a hairline, not a tinted band (S19). */
  .mo-js .mo-mirror { position: sticky; top: var(--nav-h); z-index: 5; grid-template-columns: 124px minmax(0, 1fr); align-items: center; justify-items: start; gap: 6px 16px;
    margin-inline: calc(-1 * var(--gutter)); padding: 16px var(--gutter) 10px; background: var(--mo-ground); border-bottom: 1px solid var(--rule); }
  .mo-js .mo-mirror-frame { grid-row: 1 / 3; width: 100%; aspect-ratio: 1; padding: 0; border-radius: 50%; background: none; }
  .mo-js .mo-caption { max-width: none; min-height: 2.8em; text-align: left; font-size: 15px; line-height: 1.4; text-wrap: wrap; align-self: end; }
  .mo-js .mo-controls { flex-wrap: nowrap; justify-content: flex-start; align-self: start; gap: 6px; }
  .mo-js .mo-controls .btn { padding-inline: 12px; font-size: 14px; }   /* both fit beside a 124 px mirror at 360 */
}
@media (min-width: 901px) and (max-width: 1180px) {
  .mo-dress-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 32px; }
  .mo-swatches { flex-wrap: wrap; max-width: 176px; }
}
@media (max-width: 620px) {
  /* On a phone each shelf is one row to swipe, and the shelves sit a little closer. */
  .mo-dress-panel { gap: 16px; }
  .mo-shelf-controls { margin-top: 4px; }
  .mo-shelves { gap: 14px; }
  .mo-shelf { gap: 8px; }
  .mo-item { padding-bottom: 6px; }
  .mo-items li { flex-basis: 112px; }
  .mo-item-art { height: 92px; margin-bottom: 6px; }
  .mo-item-art img { width: 76px; height: 76px; }
}

/* ---------- 8. Motion graphics (S36, D042): the seasons and leaves under the wardrobe, and Orbilla's voice ---------- */
/* Shared parts are in motion.css; these classes start om- so they never meet this page's mo- names. Inside a scene
   the graphic's panel is the scene's own panel. */
.om-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: clamp(28px, 3.4vw, 44px); }   /* one column: the wardrobe's panel is narrow */
.om-mo { display: grid; gap: 10px; align-content: start; margin: 0; }
.om-mo .mg-pic { background: var(--panel); }
.om-mo figcaption { display: grid; gap: 2px; justify-items: start; }
.om-mo figcaption p { color: var(--muted); font-size: 15px; }
.om-year { fill: none; stroke: var(--rule); stroke-width: 2; }
.om-arc { fill: none; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 180; stroke-dashoffset: 0; }
.om-autumn { stroke: var(--mg-autumn); } .om-autumn-f { fill: var(--mg-autumn); }
.om-diwali { stroke: var(--mg-diwali); } .om-diwali-f { fill: var(--mg-diwali); }   /* the two inner seasons in colours of their own */
.om-winter { stroke: var(--mg-winter); } .om-winter-f { fill: var(--mg-winter); }
.om-spring { stroke: var(--mg-spring); } .om-spring-f { fill: var(--mg-spring); }
.om-rainy { stroke: var(--mg-rainy); } .om-rainy-f { fill: var(--mg-rainy); }
.om-diwali, .om-rainy { stroke-width: 8; }
.om-leaf { fill: var(--mg-spring); }
[data-mo] svg .om-n { font-size: 34px; }
.om-track { fill: var(--accent); }
.om-thumb { fill: var(--mg-thumb); stroke: rgba(var(--shade), .16); stroke-width: 1; }   /* a hairline, not a shadow (S41) */

/* ---------- 9. Its voice, and its garden ---------- */
/* The screen on one side; on the other, one column: the line Orbilla says, the sentence, the graphic of its voice and
   the note on coaching (S41-10: the graphic stood alone under the phone, beside an empty half). */
.mo-voice-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.mo-voice-phone { justify-self: center; width: min(270px, 62%); }
.mo-voice-words { display: grid; gap: clamp(28px, 3vw, 40px); min-width: 0; }
.mo-voice-words .mo-note { margin-top: -8px; }
.mo-voice-grid .reveal-group > .mo-say { --i: 1; }   /* the heading before it is for screen readers only: the line takes the second turn, */
.mo-voice-grid .reveal-group > .lede { --i: 2; }      /* and the sentence the third */
.mo-say { margin: 0; }
.mo-say p { max-width: 20ch; font: 500 clamp(22px, 2vw, 28px)/1.14 var(--serif); letter-spacing: -.022em; font-variation-settings: var(--serif-set); text-wrap: balance; }   /* the h3 step (S41-14): the line stands for the part's heading, an h3 for screen readers only */
.mo-garden-in { margin-top: calc(2 * var(--space-s)); }
.mo-wide { display: grid; gap: 14px; }
.mo-wide img { width: 100%; height: auto; -webkit-mask: radial-gradient(ellipse closest-side, #000 58%, rgba(0, 0, 0, 0) 100%); mask: radial-gradient(ellipse closest-side, #000 58%, rgba(0, 0, 0, 0) 100%); }
.mo-wide .mo-dusk { width: min(640px, 100%); margin-inline: auto; -webkit-mask: radial-gradient(closest-side, #000 60%, rgba(0, 0, 0, 0) 100%); mask: radial-gradient(closest-side, #000 60%, rgba(0, 0, 0, 0) 100%); }
/* The island at dawn by day, the full garden at dusk by night: one of the two, by the scene's world. */
[data-theme="zen"] .mo-wide .mo-dawn, [data-theme="dawn"] .mo-wide .mo-dusk { display: none; }
@media (max-width: 900px) {
  .mo-voice-grid { grid-template-columns: minmax(0, 1fr); }
  .mo-voice-words { display: contents; }        /* its parts take their turns in the one column: */
  .mo-voice-words > .stack { order: -1; }      /* the words first, then the screen they come from, */
  .mo-voice-words > .om-voice { order: 1; }    /* then the graphic and its note */
  .mo-voice-words > .mo-note { order: 2; margin-top: -16px; }
  .mo-voice-phone { width: min(236px, 60%); }
}

/* ---------- 10. Orbilla the Organizer, in Life Desk: its look beside the app's own Orbilla tab, then its five verbs ---------- */
.mo-desk-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.mo-desk-top .mo-chapter-head { margin-bottom: 0; }
.mo-desk-top .lede { max-width: 36ch; }
.mo-desk-pair { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 0 clamp(16px, 3vw, 40px); width: min(520px, 100%); justify-self: center; }
.mo-desk-orbi .orbi { cursor: pointer; }
.mo-verbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px clamp(16px, 2.2vw, 36px); width: 100%; margin-top: var(--space-s); }
.mo-verb { --mo-verb-gap: clamp(16px, 1.8vw, 24px); display: grid; gap: var(--mo-verb-gap); align-content: start; }
.mo-verb > .dev { width: min(232px, 100%); justify-self: center; }
/* A screen that is a clip: its control (K6) hangs under the phone's lower right corner, at the right end of the
   name's line. Not on the screen: Life Desk's own buttons are at its top right, and the phone is about 200 px wide.
   That corner is the control's alone (S41-12): the name's box ends 8 px before it (a margin, so no box of the words
   lies under the control), its foot ends 4 px under the name's first line and 2 px above the line that follows, and
   the phone with its control is a layer above the words at every moment. Without that, the words were a layer of
   their own while they faded in, painted after the phone, and for that second a press on the control met the name. */
.mo-verb > .dev:has(video[data-inview]) { z-index: 1; --clip-in-x: 0px; --clip-in-y: auto; --clip-in-b: calc(-1 * (var(--mo-verb-gap) + 29px)); }
.mo-verb[data-clip-place] > .clip-toggle { grid-area: 2 / 1; inset: -15px 0 auto auto; }   /* the same spot when the kit hands a phone under 200 px's control to its tile: the top right of the words' row (the kit's own z-index 2 keeps it above them) */
.mo-verb:has(video[data-inview]) h3 { margin-right: 52px; }
.mo-verb .dev-body > * { aspect-ratio: 600 / 1304; object-fit: cover; }
.mo-verb-copy { display: grid; gap: 6px; align-content: start; }
.mo-verb h3 { font-size: 22px; line-height: 1.15; }   /* the h3 step's floor: five side by side */
.mo-verb p { max-width: 34ch; font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (min-width: 1000px) {
  .mo-verbs.rail { overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; -webkit-mask: none; mask: none; }
  .mo-verbs.rail + .rail-controls { display: none; }   /* five side by side: nothing to swipe, so no dots (the phones' soft shadows run a hair past the row, which the kit reads as more to come) */
}
@media (max-width: 999px) {
  /* Under 1000 px the five are one row to swipe, each phone a little over half the width. */
  .mo-verbs.rail { display: flex; gap: 22px; width: auto; padding-block: 16px 28px; margin-block: 24px -28px; }
  .mo-verbs.rail .mo-verb { width: min(232px, 64%); }
}
@media (max-width: 900px) {
  .mo-desk-top { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 11. Questions, and where to go next ---------- */
.split.mo-top { align-items: start; }   /* "Keep exploring" is an h2 again (S41-14), the level of "Asked about Orbilla." beside it; the section is a .chapter, --space-s above and below as every place */
@media (max-width: 900px) { .split.mo-top { row-gap: 40px; } .mo-questions .stack-l { gap: 20px; } }

/* ---------- 12. The close: the last line, both apps, and Orbilla asleep on Zen Timer's hills ---------- */
.mo-close { display: grid; align-items: end; min-height: clamp(560px, 82vh, 780px); margin-bottom: var(--mo-inset); }
section.mo-scene.mo-close { padding-block: 0; }
/* The scene's own ground under its painting (site.css 20 paints the hills inside .stage-sky): flat, so its top edge
   reads against the family ground in both modes. */
.mo-close .stage-sky { background: var(--mo-ground); }
.mo-close-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 24px clamp(24px, 4vw, 64px); padding-top: clamp(120px, 14vw, 200px); }
.mo-close-copy { gap: 28px; padding-bottom: clamp(96px, 16vh, 168px); }
.mo-close h2 { max-width: 15ch; }
.mo-close-apps { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 5vw, 64px); }
.mo-close-apps li { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 10px; justify-content: start; align-content: start; }   /* the name above, the badges in one row (Zen Timer has two) */
.mo-close-name { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font: 500 22px/1.1 var(--serif); letter-spacing: -.022em; font-variation-settings: var(--serif-set); }
.mo-close-name img { width: 34px; height: 34px; border-radius: 22%; }
.mo-close .fine { color: var(--text); }
.mo-sleeper-light { width: min(380px, 100%); justify-self: center; margin-bottom: clamp(28px, 4.5vh, 48px); }
.mo-sleeper { cursor: pointer; }
.mo-wake { position: relative; z-index: 1; margin-top: 10px; text-align: center; }
.mo-wake[hidden] { display: none; }
@media (max-width: 760px) {
  .mo-close { min-height: 0; }
  .mo-close-in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 12px; padding-top: 72px; }
  .mo-close-copy { justify-items: center; gap: 20px; padding-bottom: 0; }
  .mo-close-apps { justify-content: center; }
  .mo-close-apps li { justify-items: center; }
  .mo-sleeper-light { width: min(200px, 54vw); margin-bottom: 24px; }
}

/* ---------- 13. Phone rhythm ---------- */
@media (max-width: 760px) {
  .mo-stages .lede, .mo-desk .lede, .mo-ranks .lede, .mo-dress .lede, .mo-voice .lede, .mo-garden .lede, .mo-worlds .lede { font-size: 17px; }
}
@media (max-width: 380px) {
  .mo-ranks-stage .orbi { width: min(136px, 42%); }
}

/* ---------- Reduce Motion: a complete page that holds still ---------- */
@media (prefers-reduced-motion: reduce) {
  .mo-track::before, .mo-stop, .mo-stop-name, .mo-item, .mo-item-art, .mo-item-art::after, .mo-swatch, .mo-step, .mo-js .mo-mirror { transition: none; }
  .mo-stop:active, .mo-item:active, .mo-swatch:active { scale: none; }
  .mo-track, .mo-shelves { scroll-behavior: auto; }
}
