/* Crocaz Motion. Same ground, type and globe as the Etamo page (design system "Etamo Design").
   motion.js only sets custom properties from the scroll position; everything here reads them.
   Whatever moves is a transform, opacity or clip-path, so scrolling stays on the compositor. */

@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-variable.woff2") format("woff2");
}

/* Scroll state, set per element and never inherited (a frame restyles only the parts that move).
   v: the part has come into view (0 below the screen … 1), p: its way through the viewport (0 … 1),
   k: progress of its pinned scene, h: the hero scrolled away, g: how bright the globe is.
   The defaults are the resting picture, which is also what shows without JavaScript. */
@property --v { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --p { syntax: "<number>"; inherits: false; initial-value: .5; }
@property --k { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --h { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --g { syntax: "<number>"; inherits: false; initial-value: 1; }

.mo-body { overflow-x: hidden; overflow-x: clip; }
.mo, .mo-globe {
  --font: "Archivo Variable", "SF Pro Text", -apple-system, system-ui, sans-serif;
  --ground: #000000; --surface: #1c1c1e; --field: #2c2c2e; --surface-high: #3a3a3c;
  --glass: #ffffff1f; --glass-line: #ffffff2e; --hairline: #38383a;
  --ink: #ffffff; --ink-muted: #98989f; --ink-faint: #636366; --on-ink: #000000;
  --accent: #0a84ff; --atmosphere: #78abff; --atmosphere-light: #abccff;
  --status-ok: #30d158; --status-soon: #ff9f0a; --status-late: #ff453a;
  --guest-teal: #40c8e0; --guest-purple: #bf5af2; --guest-mint: #63e6e2; --avatar-self: #ff9f0a;
  --vh: 1vh; --tb: 0px;
  --out: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.3, 1.5, .5, 1);
}
@supports (height: 1svh) { .mo, .mo-globe { --vh: 1svh; --tb: calc(100lvh - 100svh); } }

.mo {
  overflow-x: clip; /* nothing may widen the page: on phones that would stretch the fixed bar and the globe */
  position: relative; z-index: 1; color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 22px;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
.mo h2, .mo h3, .mo p, .mo figure, .mo ol { margin: 0; }
.mo a:focus-visible, .mo summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---- Globe on the horizon, fixed behind the page (see ../etamo/etamo.css for the original) ---- */
.mo-globe {
  position: fixed; left: 0; right: 0; bottom: 0; height: calc(240px + var(--tb)); overflow: hidden; z-index: 0; contain: strict;
  pointer-events: none; will-change: opacity, transform;
  opacity: calc(.22 + var(--g) * .78); transform: translateY(calc((1 - var(--g)) * 70px));
}
.em-globe-clip { position: absolute; left: 0; right: 0; bottom: 0; height: calc(220px + var(--tb)); overflow: hidden; }
.em-globe.is-gl .em-globe-sphere, .em-globe.is-gl .em-globe-rim { display: none; }
.em-globe-sphere, .em-globe-rim { position: absolute; left: 50%; top: 80px; width: 230%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); }
.em-globe-sphere {
  background: radial-gradient(ellipse 75% 75% at 50% 8%, #1f4569 0%, #12304d 33%, #0a1a2b 66%, #05080f 100%);
  box-shadow: 0 -8px 44px #78abff80;
}
.em-globe-rim { box-shadow: inset 0 0 36px 4px #78abff59, inset 0 0 0 2px #abccff66; }
.em-globe-land { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.em-globe.is-gl .em-globe-land { display: block; }

/* ---- Shared pieces ---- */
.mo-sec { position: relative; box-sizing: border-box; max-width: 1080px; margin: 0 auto; padding: 96px 24px; }
.mo-h2 { max-width: 860px; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.16; font-weight: 700; text-wrap: balance; }
.mo-lead { max-width: 600px; margin-top: 14px !important; color: var(--ink-muted); font-size: 17px; line-height: 25px; text-wrap: pretty; }

/* Nothing here slides up and fades in. Text stands still or drifts sideways with the scroll; what moves is the
   content itself: light, numbers, bars, the timeline. r runs 0 … 1 while a part comes into view. */
.mo [data-m] { --r: clamp(0, calc(var(--v) * 1.6), 1); }
.mo-h2[data-m] { transform: translateX(calc((.5 - var(--p)) * 28px)); will-change: transform; }

/* ---- Hero ---- */
.mo-hero {
  position: relative; height: 100vh; height: 100lvh; min-height: 520px; overflow: hidden; overflow: clip;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: var(--nav-h) 16px calc(200px + var(--tb)); box-sizing: border-box;
}
.mo-title {
  margin: 0; display: flex; flex-direction: column; align-items: center; font-weight: 900; font-stretch: 125%; letter-spacing: -.01em;
  will-change: transform, opacity; opacity: calc(1 - var(--h) * 1.3); transform: translateY(calc(var(--h) * -70px)) scale(calc(1 + var(--h) * .12));
}
.mo-title-a { font-size: clamp(22px, 3.4vw, 40px); line-height: 1.1; color: var(--ink-muted); }
.mo-title-b { font-size: clamp(60px, 15vw, 190px); line-height: 1.02; padding: 0 .04em; color: var(--ink); }
/* The light of the Etamo teaser: the name lies in the dark and one band of light travels across it, warm behind the
   white core and blue ahead of it. It runs once and leaves the name lit. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .mo-title-b {
    background: linear-gradient(100deg, #ffffff 0%, #ffffff 36%, #ffd7a3 40%, #ffffff 43.5%, #abccff 47%, #4f7fd0 49.5%, #14171d 53%, #101012 100%) 0 0 / 300% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: moLight 2.2s cubic-bezier(.45, 0, .2, 1) .25s backwards;
  }
}
@keyframes moLight { from { background-position: 100% 0; } }
.mo-tag {
  margin-top: 20px !important; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.35; color: var(--ink);
  opacity: calc(1 - var(--h) * 2); transform: translateY(calc(var(--h) * -24px));
}
.mo-hint {
  position: absolute; left: 0; right: 0; bottom: calc(150px + var(--tb)); font-size: 13px; line-height: 18px; color: var(--ink-muted);
  opacity: calc(1 - var(--h) * 4);
}

/* Arrows after a pause: there is more below. */
.mo-more {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 48px; margin: 0 0 0 -36px; padding: 0;
  border: 0; background: none; color: var(--ink); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
}
.mo.is-waiting .mo-more { opacity: 1; visibility: visible; transition: opacity .6s; }
.mo-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-radius: 14px; }
.mo-more i { width: 16px; height: 16px; margin-top: -5px; box-sizing: border-box; border: solid currentColor; border-width: 0 3px 3px 0; border-radius: 1px; transform: rotate(45deg); opacity: .35; filter: drop-shadow(0 0 4px #000000); }
.mo.is-waiting .mo-more i { animation: moMore 1.5s ease-in-out infinite; }
.mo-more i:nth-child(2) { animation-delay: .18s !important; }
.mo-more i:nth-child(3) { animation-delay: .36s !important; }
@keyframes moMore { 0%, 70%, 100% { opacity: .4; transform: translateY(-2px) rotate(45deg); } 30% { opacity: 1; transform: translateY(4px) rotate(45deg); } }

/* ---- Scenes from the teaser ---- */
/* The section lies on black, which comes in over the hero's lower edge and the globe. */
.mo-reels { isolation: isolate; }
.mo-reels::before { content: ""; position: absolute; z-index: -1; left: calc(50% - 50vw); right: calc(50% - 50vw); top: -140px; bottom: 0; background: linear-gradient(to bottom, #00000000, #000000 140px); pointer-events: none; }
.mo-reel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
/* Neighbours travel at different speeds. */
.mo-reel { will-change: transform; transform: translateY(calc((.5 - var(--p)) * 56px)); }
.mo-reel:nth-child(even) { transform: translateY(calc((.5 - var(--p)) * -56px)); }
.mo-reel figcaption { margin-top: 10px; color: var(--ink-muted); font-size: 15px; line-height: 20px; }
.mo-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; background: #000000; }
.mo-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- Pinned scenes ---- */
.mo-pin { position: relative; background: var(--ground); }
.mo-ask { height: 220vh; }
.mo-time { height: 320vh; }
.mo-pin-stage {
  position: sticky; top: 0; height: 100vh; height: 100lvh; box-sizing: border-box; overflow: hidden; overflow: clip;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--nav-h) 24px calc(40px + var(--tb));
}
.mo-ask-q { max-width: 980px; text-align: center; font-size: clamp(32px, 6vw, 76px); line-height: 1.08; font-weight: 900; font-stretch: 112%; letter-spacing: -.01em; text-wrap: balance; }
/* Each word (motion.js wraps them, i: its place 0 … 1) is lit as the scene passes it. */
.mo-ask-q span { --on: clamp(0, calc((var(--k) * 1.5 - var(--i, 0)) * 6), 1); display: inline-block; opacity: calc(.18 + var(--on) * .82); will-change: opacity; }
.mo-ask-a {
  --on: clamp(0, calc((var(--k) - .74) * 6), 1);
  margin-top: 28px !important; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.2; font-weight: 700; color: var(--ink-muted);
  opacity: var(--on);
}

.mo-time .mo-pin-stage { flex-direction: row; gap: 56px; max-width: 1080px; margin: 0 auto; }
.mo-time-text { flex: 1 1 0; min-width: 0; }
.mo-time-text .mo-h2 { font-size: clamp(26px, 3.4vw, 38px); }
.mo-swap { display: grid; margin-top: 16px; }
.mo-swap p { grid-area: 1 / 1; max-width: 460px; font-size: 17px; line-height: 24px; color: var(--ink-muted); text-wrap: pretty; }
/* b: the second half of the scene, where the timeline takes over. The two texts trade places. */
.mo-time [data-k] { --b: clamp(0, calc((var(--k) - .56) * 9), 1); will-change: transform, opacity; }
.mo-swap-a { opacity: calc(1 - var(--b)); }
.mo-swap-b { opacity: var(--b); }

.mo-time-vis { position: relative; flex: 1 1 0; min-width: 0; height: min(420px, calc(56 * var(--vh))); }
.mo-pile {
  --go: clamp(0, calc((var(--k) - .5) * 6.5), 1);   /* the tear: 0 whole … 1 fallen */
  --rip: clamp(0, calc(var(--go) * 5), 1);          /* its first fifth only opens the gap */
  position: absolute; inset: 0; will-change: transform, opacity; opacity: calc(1 - var(--go) * var(--go) * var(--go));
}
/* Both halves share the jagged line (the left one overlaps it by a hair, so no seam shows while the pile is whole).
   First they come apart a little, then each tips outward and drops. */
.mo-pile-l {
  clip-path: polygon(-40% -40%, 50.4% -40%, 50.4% 4%, 46.4% 15%, 53.4% 27%, 47.9% 39%, 54.4% 51%, 46.9% 63%, 52.4% 76%, 48.4% 88%, 50.4% 100%, 50.4% 140%, -40% 140%);
  transform-origin: 30% 80%;
  transform: translate(calc(var(--rip) * -9px + var(--go) * -11vw), calc(var(--go) * var(--go) * 78 * var(--vh))) rotate(calc(var(--rip) * -2.5deg + var(--go) * -34deg));
}
.mo-pile-r {
  clip-path: polygon(140% -40%, 50% -40%, 50% 4%, 46% 15%, 53% 27%, 47.5% 39%, 54% 51%, 46.5% 63%, 52% 76%, 48% 88%, 50% 100%, 50% 140%, 140% 140%);
  transform-origin: 70% 80%;
  transform: translate(calc(var(--rip) * 9px + var(--go) * 12vw), calc(var(--go) * var(--go) * 70 * var(--vh))) rotate(calc(var(--rip) * 2.5deg + var(--go) * 41deg));
}
/* Attempts drop onto the pile one after another (n: order). */
.mo-try {
  --on: clamp(0, calc((var(--k) - .06 - var(--n) * .085) * 11), 1);
  position: absolute; left: 50%; top: 50%; box-sizing: border-box; width: min(340px, 86%); margin: -28px 0 0 calc(min(340px, 86%) / -2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 20px; border-radius: 18px; white-space: nowrap; background: var(--surface); border: 1px solid var(--hairline);
  opacity: var(--on);
  transform: translate(var(--x), calc(var(--y) + (1 - var(--on)) * 46 * var(--vh))) rotate(calc(var(--rot) * (2 - var(--on)))) scale(calc(1.25 - var(--on) * .25));
}
.mo-try > b { font-size: 17px; line-height: 22px; font-weight: 600; }
.mo-flaw { font-size: 13px; line-height: 18px; font-weight: 700; }
.mo-flaw--late { color: var(--status-late); }
.mo-flaw--dead { display: inline-flex; align-items: center; gap: 6px; color: var(--status-late); }
.mo-skull { flex: none; }
.mo-try-1 { --n: 0; --x: -18px; --y: -132px; --rot: -4deg; }
.mo-try-2 { --n: 1; --x: 20px; --y: -66px; --rot: 3deg; }
.mo-try-3 { --n: 2; --x: -12px; --y: 0px; --rot: -2deg; }
.mo-try-4 { --n: 3; --x: 16px; --y: 66px; --rot: 3.5deg; }
.mo-try-5 { --n: 4; --x: -8px; --y: 132px; --rot: -2.5deg; border-color: var(--status-late); }

.mo-tl {
  position: absolute; left: 0; right: 0; top: 50%; box-sizing: border-box;
  opacity: var(--b); transform: translateY(calc(-50% + (1 - var(--b)) * 60px));
}
/* An editor's timeline, not a card: a ruler with ticks, tracks divided by hairlines, clips with their names. */
.mo-tl-ruler {
  display: flex; justify-content: space-between; margin-left: 60px; padding-bottom: 9px; border-bottom: 1px solid var(--hairline);
  font-size: 11px; line-height: 14px; font-variant-numeric: tabular-nums; color: var(--ink-muted);
  background: repeating-linear-gradient(90deg, var(--ink-faint) 0 1px, #00000000 1px calc(100% / 24)) left bottom / 100% 5px no-repeat;
}
.mo-tl-rows { position: relative; }
.mo-tl-row { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; height: 38px; border-bottom: 1px solid var(--hairline); font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.mo-tl-row-on { color: var(--ink); font-weight: 600; }
.mo-tl-track { position: relative; height: 100%; }
.mo-clip {
  position: absolute; top: 6px; bottom: 6px; box-sizing: border-box; overflow: hidden; padding: 0 8px; border-radius: 4px; background: var(--surface-high);
  font-style: normal; font-weight: 500; font-size: 11px; line-height: 26px; color: var(--ink-muted); white-space: nowrap;
}
.mo-clip-1 { left: 4%; width: 38%; } .mo-clip-2 { left: 22%; width: 52%; }
.mo-clip-3 { left: 36%; width: 46%; background: var(--guest-teal); }
/* The one change: the colour clip turns from teal to purple where the playhead has passed. Two keyframes sit on it. */
.mo-clip-3 em { --c: clamp(0, calc((var(--k) - .66) * 6), 1); position: absolute; inset: 0; background: var(--guest-purple); clip-path: inset(0 calc((1 - var(--c)) * 100%) 0 0); }
.mo-clip-3 b { position: absolute; top: 50%; left: 10%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--on-ink); transform: rotate(45deg); }
.mo-clip-3 b + b { left: 78%; }
.mo-clip-4 { left: 2%; width: 94%; background: var(--surface); }
.mo-clip-4::before { content: ""; position: absolute; inset: 2px 4px; background: repeating-linear-gradient(90deg, var(--ink-muted) 0 2px, #00000000 2px 4px); clip-path: polygon(0.0% 38%, 1.6% 36%, 3.1% 32%, 4.7% 30%, 6.2% 28%, 7.8% 23%, 9.4% 15%, 10.9% 14%, 12.5% 12%, 14.1% 17%, 15.6% 12%, 17.2% 16%, 18.8% 17%, 20.3% 19%, 21.9% 19%, 23.4% 14%, 25.0% 18%, 26.6% 22%, 28.1% 26%, 29.7% 32%, 31.2% 35%, 32.8% 38%, 34.4% 35%, 35.9% 32%, 37.5% 28%, 39.1% 30%, 40.6% 25%, 42.2% 23%, 43.8% 23%, 45.3% 25%, 46.9% 23%, 48.4% 26%, 50.0% 21%, 51.6% 23%, 53.1% 27%, 54.7% 30%, 56.2% 29%, 57.8% 32%, 59.4% 33%, 60.9% 35%, 62.5% 37%, 64.1% 38%, 65.6% 38%, 67.2% 38%, 68.8% 38%, 70.3% 38%, 71.9% 37%, 73.4% 37%, 75.0% 36%, 76.6% 33%, 78.1% 33%, 79.7% 30%, 81.2% 29%, 82.8% 29%, 84.4% 24%, 85.9% 28%, 87.5% 27%, 89.1% 28%, 90.6% 26%, 92.2% 29%, 93.8% 30%, 95.3% 31%, 96.9% 35%, 98.4% 37%, 100.0% 37%, 100.0% 63%, 98.4% 63%, 96.9% 65%, 95.3% 69%, 93.8% 70%, 92.2% 71%, 90.6% 74%, 89.1% 72%, 87.5% 73%, 85.9% 72%, 84.4% 76%, 82.8% 71%, 81.2% 71%, 79.7% 70%, 78.1% 67%, 76.6% 67%, 75.0% 64%, 73.4% 63%, 71.9% 63%, 70.3% 62%, 68.8% 62%, 67.2% 62%, 65.6% 62%, 64.1% 62%, 62.5% 63%, 60.9% 65%, 59.4% 67%, 57.8% 68%, 56.2% 71%, 54.7% 70%, 53.1% 73%, 51.6% 77%, 50.0% 79%, 48.4% 74%, 46.9% 77%, 45.3% 75%, 43.8% 77%, 42.2% 77%, 40.6% 75%, 39.1% 70%, 37.5% 72%, 35.9% 68%, 34.4% 65%, 32.8% 62%, 31.2% 65%, 29.7% 68%, 28.1% 74%, 26.6% 78%, 25.0% 82%, 23.4% 86%, 21.9% 81%, 20.3% 81%, 18.8% 83%, 17.2% 84%, 15.6% 88%, 14.1% 83%, 12.5% 88%, 10.9% 86%, 9.4% 85%, 7.8% 77%, 6.2% 72%, 4.7% 70%, 3.1% 68%, 1.6% 64%, 0.0% 62%); }
.mo-tl-head-line { --t: clamp(0, calc((var(--k) - .58) * 2.6), 1); position: absolute; left: 60px; right: 0; top: -6px; bottom: 0; pointer-events: none; transform: translateX(calc(var(--t) * 100%)); }
.mo-tl-head-line::before { content: ""; position: absolute; left: -.75px; top: 0; bottom: 0; width: 1.5px; background: var(--ink); }
.mo-tl-head-line::after { content: ""; position: absolute; left: -6px; top: -10px; width: 12px; height: 13px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%); }
.mo-tl-ok { --on: clamp(0, calc((var(--k) - .82) * 12), 1); margin: 14px 0 0 60px !important; opacity: var(--on); font-size: 13px; line-height: 18px; color: var(--ink); }

/* ---- Numbers: plain rows; the rule above each is drawn and the number counts while the row comes in ---- */
/* Black over the fixed globe, across the whole width (the shadow is cut back to the section's own height). */
.mo-stats, .mo-sound { background: var(--ground); box-shadow: 0 0 0 100vmax var(--ground); clip-path: inset(0 -100vmax); }
.mo-stat-list { margin-top: 48px; }
.mo-stat { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 8px 40px; align-items: start; padding: 28px 0; }
.mo-stat::before, .mo-tool::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hairline); transform-origin: 0 50%; transform: scaleX(var(--r)); }
.mo-stat > p:not(.mo-num) { max-width: 560px; padding-top: 6px; color: var(--ink); font-size: 17px; line-height: 25px; text-wrap: pretty; }
.mo-num { font-size: clamp(52px, 7vw, 76px); line-height: 1; font-weight: 900; font-stretch: 125%; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.mo-num-word { font-size: clamp(44px, 5.6vw, 60px); line-height: 1.2; }
.mo-ref { display: inline-block; min-width: 18px; margin-left: 2px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: var(--field); color: var(--ink); font-size: 11px; line-height: 18px; font-weight: 700; text-align: center; text-decoration: none; vertical-align: 2px; }
.mo-ref:hover { background: var(--surface-high); }
/* Rising rejection: two columns on one scale (3.4px per percentage point), the newer one white and taller. They grow
   from the ground as the row comes in. Both numbers have one size and sit centred on their column. */
.mo-grow { display: flex; align-items: flex-end; gap: 22px; padding-top: 4px; }
.mo-grow-col { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 104px; }
.mo-grow-n { color: var(--ink-muted); font-size: 28px; line-height: 30px; font-weight: 800; font-stretch: 125%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mo-grow-now { color: var(--ink); }
.mo-grow-bar { display: block; width: 104px; border-radius: 4px 4px 0 0; transform-origin: 50% 100%; transform: scaleY(var(--r)); will-change: transform; }
.mo-grow-a { height: 71px; background: var(--ink-faint); }
.mo-grow-b { height: 133px; background: var(--ink); }
.mo-grow-y { color: var(--ink-muted); font-size: 13px; line-height: 18px; font-variant-numeric: tabular-nums; }
.mo-stat b { font-weight: 700; }
.mo-quote { margin-top: 56px !important; max-width: 820px; font-size: clamp(22px, 3vw, 30px); line-height: 1.25; font-weight: 700; text-wrap: balance; }
.mo-sources { margin-top: 48px; border-top: 1px solid var(--hairline); }
.mo-sources summary { padding: 14px 0; font-weight: 600; cursor: pointer; }
.mo-sources ol { max-width: 760px; padding: 0 0 8px 22px; display: grid; gap: 10px; color: var(--ink-muted); font-size: 13px; line-height: 19px; }
.mo-sources li:target { color: var(--ink); }
.mo-sources a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }

/* ---- Sound: one wave across the section; the part the scroll has passed is bright ---- */
.mo-wave { position: relative; display: flex; align-items: center; gap: 1.1%; height: 88px; margin-top: 40px; overflow: hidden; contain: layout paint; }
.mo-wave i { flex: 1; min-width: 2px; height: 100%; border-radius: 3px; background: var(--ink); transform: scaleY(.3); animation: moWave 1.5s ease-in-out infinite alternate; }
.mo-wave i:nth-child(3n) { animation-duration: 1.1s; } .mo-wave i:nth-child(4n+1) { animation-duration: 1.9s; } .mo-wave i:nth-child(7n) { animation-duration: 2.4s; }
.mo-wave i:nth-child(2n) { animation-delay: -.6s; } .mo-wave i:nth-child(5n) { animation-delay: -1.1s; } .mo-wave i:nth-child(11n) { animation-delay: -1.7s; }
@keyframes moWave { from { transform: scaleY(.12); } to { transform: scaleY(1); } }
.mo-wave::after { content: ""; position: absolute; inset: 0; background: #000000b8; transform: translateX(calc(clamp(0, (var(--p) - .18) * 1.7, 1) * 100%)); will-change: transform; }
/* Out of view (motion.js) nothing runs. */
.is-idle, .is-idle * { animation-play-state: paused !important; }
.mo-tools { margin: 28px 0 0; }
.mo-tool { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 4px 40px; padding: 22px 0; }
.mo-tool dt { font-size: 22px; line-height: 28px; font-weight: 700; }
.mo-tool dd { margin: 0; max-width: 560px; padding-top: 2px; font-size: 17px; line-height: 25px; text-wrap: pretty; }

/* ---- Finale: the globe comes back up behind it ---- */
.mo-finale { max-width: none; background: linear-gradient(to bottom, #000000, #00000000 200px); min-height: 100vh; min-height: 100lvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: calc(260px + var(--tb)); }
.mo-finale-h { font-size: clamp(36px, 7vw, 84px); line-height: 1.04; font-weight: 900; font-stretch: 125%; letter-spacing: -.01em; text-wrap: balance; transform: scale(calc(.88 + var(--r) * .12)); will-change: transform; }
.mo-finale .mo-lead { margin-top: 16px !important; color: var(--ink); }
.mo-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 28px; padding: 0 28px; box-sizing: border-box;
  border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 17px; line-height: 22px; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--out); touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.mo-cta:active { transform: scale(.97); }
.mo .mo-foot { position: absolute; left: auto; right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(10px, env(safe-area-inset-bottom, 0px)); padding: 0; }
.mo .cz-legal-link { padding: 5px 12px; background: #000000c7; color: #ffffffd9; font-size: 12px; }

/* ---- Small screens ---- */
@media (max-width: 760px) {
  .mo-sec { padding: 72px 16px; }
  .mo-reel-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; margin-top: 32px; }
  .mo-reel, .mo-reel:nth-child(even) { transform: translateY(calc((.5 - var(--p)) * 24px)); }
  .mo-reel:nth-child(even) { transform: translateY(calc((.5 - var(--p)) * -24px)); }
  .mo-h2[data-m] { transform: translateX(calc((.5 - var(--p)) * 12px)); }
  .mo-stat, .mo-tool { grid-template-columns: 1fr; }
  .mo-stat { padding: 24px 0; }
  .mo-stat-list { margin-top: 32px; }
  .mo-pin-stage { padding-left: 16px; padding-right: 16px; }
  .mo-time .mo-pin-stage { flex-direction: column; justify-content: center; gap: 20px; }
  .mo-time-text, .mo-time-vis { flex: none; width: 100%; }
  .mo-time-vis { height: min(330px, calc(42 * var(--vh))); }
  .mo-swap p { font-size: 16px; line-height: 22px; }
  .mo-try { height: 48px; margin-top: -24px; padding: 0 16px; }
  .mo-try-1 { --x: -6px; --y: -112px; } .mo-try-2 { --x: 6px; --y: -56px; } .mo-try-3 { --x: -4px; } .mo-try-4 { --x: 6px; --y: 56px; } .mo-try-5 { --x: -4px; --y: 112px; }
  .mo-tl-ruler, .mo-tl-ok { margin-left: 52px !important; }
  .mo-tl-row { grid-template-columns: 44px 1fr; }
  .mo-tl-head-line { left: 52px; }
  .mo-wave { height: 64px; gap: 1.4%; }
  .mo-wave i:nth-child(2n) { display: none; }
}
@media (max-height: 620px) { .mo-time-text .mo-h2 { font-size: 24px; } }
@media (max-height: 460px) { .mo-more { bottom: 6px; height: 40px; } .mo-more i { width: 10px; height: 10px; } }

/* ---- Calm: no scroll-bound movement, no loops; everything rests in its final picture ---- */
@media (prefers-reduced-motion: reduce) {
  .mo *, .mo *::before, .mo *::after { animation: none !important; }
  .mo-more i { opacity: .9; }
  .mo-ask, .mo-time { height: auto; }
  .mo-pin-stage { position: relative; height: auto; min-height: 0; padding-top: 72px; padding-bottom: 72px; }
  .mo-time .mo-pin-stage { align-items: flex-start; }
  .mo-swap p { grid-area: auto; }
  .mo-pile { display: none; }
  .mo-time-vis { height: 240px; }
  .mo-cta { transition: none; }
  .mo-cta:active { transform: none; }
}
