/* ============================================================
 * Motion Design page — local stylesheet (mo- prefix)
 * Design vocabulary: kinetic · editorial · electric pink · timeline
 * Mirrors the Illustration (il-) conventions so the Graphics
 * discipline reads as one studio. LIME stays the site-wide primary
 * accent; pink (--mo-pink) flavors the motion demo surfaces only.
 * ============================================================ */

.mo-page {
  --mo-pink: #FF1A75;
  --mo-magenta: #C81E5B;
  --mo-cyan: #2BD4D4;
  --mo-lime: #d4ff3a;
  --mo-paper: #FBEAF1;
  --mo-ink: #0B0A0E;
  --mo-paper-soft: rgba(251, 234, 241, 0.04);
  --mo-line: rgba(251, 234, 241, 0.12);
  --mo-line-strong: rgba(251, 234, 241, 0.22);
  --mo-mono: 'JetBrains Mono', ui-monospace, monospace;
  --mo-display: 'Fraunces', 'Bodoni Moda', serif;
  --mo-sans: 'Space Grotesk', system-ui, sans-serif;
  background: var(--mo-ink);
  color: var(--mo-paper);
}

/* ===== shared atoms ===== */
.mo-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mo-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(251, 234, 241, 0.62);
  padding: 8px 12px;
  border: 1px solid var(--mo-line);
  border-radius: 999px;
  background: var(--mo-paper-soft);
}
.mo-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: moPulse 2.4s ease-in-out infinite;
}
@keyframes moPulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.45 } }

.mo-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mo-sans);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border: 1px solid var(--mo-line-strong);
  border-radius: 999px;
  color: var(--mo-paper);
  background: transparent;
  text-decoration: none;
  transition: background-color 0.35s cubic-bezier(0.16,1,0.3,1),
              color 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s cubic-bezier(0.16,1,0.3,1);
}
.mo-btn:hover {
  background: var(--mo-paper);
  color: var(--mo-ink);
  border-color: var(--mo-paper);
}
/* Primary CTA — LIME per site convention (matches .v2-btn--lime, .il-btn--lime).
 * Reserve pink for hover-state backgrounds, demo art, and warnings.
 * --mo-btn--pink alias kept so existing markup can opt into a "pink"
 * name without ever colouring a primary CTA pink. */
.mo-btn--lime,
.mo-btn--pink {
  background: var(--mo-lime);
  color: var(--mo-ink);
  border-color: var(--mo-lime);
}
.mo-btn--lime:hover,
.mo-btn--pink:hover {
  background: transparent;
  color: var(--mo-lime);
  border-color: var(--mo-lime);
}
.mo-btn .arr { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.mo-btn:hover .arr { transform: translateX(4px); }

.mo-section {
  position: relative;
  padding: 140px 6vw 160px;
  z-index: 2;
}
/* Interactive sections sit above the rich.js ambient layer + any leftover
 * stacking context from earlier sticky sections (mo-pass__pin, mo-process
 * are 460–600vh tall with sticky children that make their own stacking
 * contexts). Belt-and-braces pointer-events on the interactive children. */
.mo-style, .mo-tools, .mo-sys, .mo-ledger, .mo-cta {
  z-index: 5;
  isolation: isolate;
}
/* Keep the tall sticky-pin sections strictly below the live interactive
 * sections so a released sticky child can never intercept their clicks. */
.mo-pass, .mo-process { z-index: 1; }
.mo-pass__sticky, .mo-process__sticky { z-index: 1; }
.mo-style__stage,
.mo-style__panel,
.mo-style__tab-row,
.mo-style__tab,
.mo-style__slider-wrap,
.mo-style__slider,
.mo-style__tokens,
.mo-tools__grid,
.mo-tool {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.mo-section__head {
  max-width: 880px;
  margin: 0 auto 80px;
  text-align: center;
}
.mo-section__title {
  font-family: var(--mo-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 24px 0 24px;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 1;
}
.mo-section__title em {
  font-style: italic;
  color: var(--mo-lime);
}
.mo-section__lede {
  font-family: var(--mo-sans);
  font-size: 17px;
  line-height: 1.62;
  color: rgba(251, 234, 241, 0.70);
  max-width: 640px;
  margin: 0 auto;
}
.mo-section__lede em {
  font-family: var(--mo-display);
  font-style: italic;
  color: var(--mo-paper);
  font-weight: 500;
}

/* ============================================================
 * 01 — HERO (timeline scrubber)
 * ============================================================ */
.mo-hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 6vw 60px;
  overflow: hidden;
  z-index: 1;
}
.mo-hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    radial-gradient(rgba(251, 234, 241, 0.6) 1px, transparent 1px),
    radial-gradient(rgba(251, 234, 241, 0.6) 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  background-position: 0 0, 2px 3px;
  mix-blend-mode: overlay;
}
.mo-hero__three {
  position: absolute;
  top: 6%; right: -8%;
  width: 72vw; max-width: 1000px;
  height: 76vh;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}
.mo-hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 240px);
}
.mo-hero__left { padding-right: 20px; }
.mo-hero__title {
  font-family: var(--mo-display);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 28px 0 28px;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30, 'WONK' 1;
}
.mo-hero__title em {
  font-style: italic;
  color: var(--mo-lime);
}
.mo-hero__lede {
  font-family: var(--mo-sans);
  font-size: 18px;
  line-height: 1.62;
  color: rgba(251, 234, 241, 0.72);
  max-width: 540px;
}
.mo-hero__cta-row {
  margin-top: 32px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.mo-hero__caption {
  margin-top: 38px;
  font-family: var(--mo-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.45);
  display: flex; gap: 14px; align-items: baseline;
}
.mo-hero__caption .n {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 16px;
  color: var(--mo-lime);
}

/* timeline scrubber chrome */
.mo-hero__scrubber {
  position: relative;
  width: 100%;
  background:
    linear-gradient(180deg, #16121a 0%, #0e0a12 100%);
  border-radius: 14px;
  border: 1px solid var(--mo-line);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(251, 234, 241, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mo-scrub__chrome {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--mo-line);
  background: rgba(251, 234, 241, 0.03);
}
.mo-scrub__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mo-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(251, 234, 241, 0.7);
}
.mo-scrub__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: moPulse 1.6s ease-in-out infinite;
}
.mo-scrub__counter {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 13px;
  color: rgba(251, 234, 241, 0.55);
}
.mo-scrub__counter span { font-weight: 600; color: var(--mo-pink); margin-right: 2px; }

.mo-scrub__stage {
  position: relative;
  width: 100%;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 26, 117, 0.08), transparent 70%);
}
#mo-scrub-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 220;
}
.mo-scrub__hint {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 18px;
  color: rgba(251, 234, 241, 0.30);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mo-scrub__hint.is-hidden { opacity: 0; }

/* timeline track */
.mo-scrub__timeline {
  position: relative;
  flex: 0 0 auto;
  height: 56px;
  margin: 0 18px;
  display: flex;
  align-items: center;
  touch-action: none;
  cursor: ew-resize;
}
.mo-scrub__rail-line {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: rgba(251, 234, 241, 0.12);
  border-radius: 2px;
}
.mo-scrub__fill {
  position: absolute;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--lime);
  border-radius: 2px;
}
.mo-scrub__keys {
  position: absolute;
  left: 0; right: 0;
  height: 100%;
  pointer-events: none;
}
.mo-scrub__key {
  position: absolute;
  top: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--mo-pink);
  border: 1px solid rgba(11, 10, 14, 0.5);
  border-radius: 2px;
}
.mo-scrub__playhead {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 18px; height: 18px;
  margin-left: -9px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 4px 12px rgba(212, 255, 58, 0.5);
  cursor: ew-resize;
  z-index: 2;
}
.mo-scrub__playhead:focus-visible {
  outline: 2px solid var(--mo-paper);
  outline-offset: 2px;
}
.mo-scrub__readout {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 16px;
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.6);
}
.mo-scrub__time { color: var(--mo-pink); font-weight: 600; }

/* hero metrics row */
.mo-hero__metrics {
  position: relative; z-index: 2;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--mo-line);
}
.mo-hero__metric {
  padding: 22px 24px;
  border-right: 1px solid var(--mo-line);
  display: flex; flex-direction: column; gap: 8px;
}
.mo-hero__metric:last-child { border-right: 0; }
.mo-hero__metric .k {
  font-family: var(--mo-mono);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.5);
}
.mo-hero__metric .v {
  font-family: var(--mo-display);
  font-size: 38px; font-weight: 500;
  color: var(--mo-paper);
  font-variation-settings: 'opsz' 96, 'wght' 500;
}
.mo-hero__metric .v em {
  font-style: italic;
  color: var(--mo-lime);
}

/* ============================================================
 * 02 — LEDGER
 * ============================================================ */
.mo-ledger__table {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--mo-line-strong);
}
.mo-ledger__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2.4fr 1fr;
  gap: 30px;
  padding: 26px 18px;
  border-bottom: 1px solid var(--mo-line);
  transition: background 0.3s ease, padding 0.3s ease;
  align-items: baseline;
}
.mo-ledger__row:hover {
  background: rgba(251, 234, 241, 0.03);
  padding-left: 28px;
}
.mo-ledger__name {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 28px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
  color: var(--mo-paper);
}
.mo-ledger__type {
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.55);
}
.mo-ledger__beat {
  font-family: var(--mo-sans);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(251, 234, 241, 0.72);
}
.mo-ledger__metric {
  text-align: right;
  display: flex; flex-direction: column; gap: 4px;
}
.mo-ledger__metric em {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 500;
  color: var(--mo-lime);
  font-variation-settings: 'opsz' 96, 'wght' 500;
}
.mo-ledger__metric span {
  font-family: var(--mo-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.45);
}

/* ============================================================
 * 03 — FOUR PASSES (sticky scroll: board → keys → ease → render)
 * ============================================================ */
.mo-pass__intro { max-width: 880px; margin: 0 auto 60px; text-align: center; }
.mo-pass__pin {
  position: relative;
  height: 460vh;
}
.mo-pass__stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.mo-pass__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mo-pass__rail {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
  padding: 10px 20px;
  background: rgba(251, 234, 241, 0.05);
  border: 1px solid var(--mo-line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  z-index: 5;
}
.mo-pass__counter {
  font-family: var(--mo-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  display: flex; gap: 6px;
}
.mo-pass__counter span:first-child { color: var(--mo-lime); font-weight: 600; }
.mo-pass__counter .sep { color: rgba(251, 234, 241, 0.3); }
.mo-pass__progress {
  width: 240px;
  height: 2px;
  background: rgba(251, 234, 241, 0.12);
  border-radius: 1px;
  overflow: hidden;
}
.mo-pass__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--mo-lime);
  transition: width 0.3s ease;
}
.mo-pass__label {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 13px;
  color: rgba(251, 234, 241, 0.78);
  min-width: 180px;
}
.mo-pass__art {
  position: relative;
  width: min(640px, 84vw);
  display: flex; flex-direction: column; align-items: center;
  gap: 22px;
}
#mo-pass-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 460;
  border-radius: 10px;
  overflow: hidden;
  background: #100a0e;
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(251, 234, 241, 0.06);
}
/* Each pass layer fades in cumulatively; the line scaffold fades back as the
 * render arrives so it reads finished, not blueprint. JS sets data-pass. */
.mo-layer {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#mo-pass-svg[data-pass="0"] .mo-layer--board,
#mo-pass-svg[data-pass="0"] .mo-layer--line { opacity: 1; }
#mo-pass-svg[data-pass="1"] .mo-layer--board,
#mo-pass-svg[data-pass="1"] .mo-layer--line,
#mo-pass-svg[data-pass="1"] .mo-layer--keys { opacity: 1; }
#mo-pass-svg[data-pass="1"] .mo-layer--board { opacity: 0.4; }
#mo-pass-svg[data-pass="2"] .mo-layer--keys,
#mo-pass-svg[data-pass="2"] .mo-layer--ease,
#mo-pass-svg[data-pass="2"] .mo-layer--line { opacity: 1; }
#mo-pass-svg[data-pass="2"] .mo-layer--line { opacity: 0.5; }
#mo-pass-svg[data-pass="3"] .mo-layer--keys,
#mo-pass-svg[data-pass="3"] .mo-layer--ease,
#mo-pass-svg[data-pass="3"] .mo-layer--render { opacity: 1; }
#mo-pass-svg[data-pass="3"] .mo-layer--keys { opacity: 0.35; }
#mo-pass-svg[data-pass="3"] .mo-layer--ease { opacity: 0.5; }
#mo-pass-svg[data-pass="3"] .mo-layer--line { opacity: 0.16; }
.mo-pass__caption {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 16px;
  color: rgba(251, 234, 241, 0.66);
  text-align: center;
  max-width: 520px;
  min-height: 24px;
  transition: opacity 0.4s ease;
}

/* ============================================================
 * 04 — PROCESS (sticky pinned scenes)
 * ============================================================ */
.mo-process {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, transparent, rgba(251, 234, 241, 0.02), transparent);
}
.mo-process__inner {
  position: relative;
  height: 600vh;
}
.mo-process__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mo-process__num {
  position: absolute;
  top: 8vh; right: 6vw;
  font-family: var(--mo-display);
  font-style: italic;
  font-size: clamp(120px, 18vw, 280px);
  line-height: 1;
  color: rgba(251, 234, 241, 0.05);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30, 'WONK' 1;
  pointer-events: none;
}
.mo-process__scene {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 0 6vw;
}
.mo-process__scene.is-active {
  opacity: 1;
  transform: translateY(0);
}
.mo-process__scene-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}
.mo-process__copy h3 {
  font-family: var(--mo-display);
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 24px 0 20px;
  font-variation-settings: 'opsz' 144, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.mo-process__copy h3 em {
  font-style: italic;
  color: var(--mo-lime);
}
.mo-process__copy p {
  font-family: var(--mo-sans);
  font-size: 17px;
  line-height: 1.62;
  color: rgba(251, 234, 241, 0.72);
  max-width: 480px;
}
.mo-process__step {
  margin-top: 24px;
  font-family: var(--mo-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.mo-process__visual {
  position: relative;
  height: 56vh;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(251, 234, 241, 0.03);
  border: 1px solid var(--mo-line);
}

.mo-process__rail {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: rgba(251, 234, 241, 0.12);
  border-radius: 1px;
  overflow: hidden;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mo-process__rail.is-on { opacity: 1; }
.mo-process__rail-fill {
  height: 100%;
  width: 0%;
  background: var(--mo-lime);
  transition: width 0.2s linear;
}

/* process visual variants */
.mo-pv {
  position: absolute; inset: 0;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 12px;
  overflow: auto;
}
.mo-pv--brief { gap: 16px; }
.mo-pv__note {
  padding: 18px 22px;
  background: rgba(251, 234, 241, 0.04);
  border-left: 2px solid var(--mo-pink);
  border-radius: 0 6px 6px 0;
}
.mo-pv__note em {
  display: block;
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--mo-paper);
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1;
}
.mo-pv__note span {
  display: block;
  margin-top: 6px;
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.5);
}
.mo-pv__tags {
  margin-top: auto;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.mo-pv__tags span {
  padding: 6px 12px;
  border: 1px solid var(--mo-line);
  border-radius: 999px;
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.6);
}

.mo-pv--thumbs { padding: 18px; }
.mo-pv__thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 100%;
}
.mo-pv__thumb {
  background: rgba(251, 234, 241, 0.03);
  border: 1px solid var(--mo-line);
  border-radius: 6px;
  display: grid; place-items: center;
  position: relative;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.mo-pv__thumb.is-pick {
  background: rgba(255, 26, 117, 0.12);
  border-color: var(--mo-pink);
  box-shadow: 0 0 0 1px var(--mo-pink);
}
.mo-pv__thumb svg { width: 64%; height: 64%; color: rgba(251, 234, 241, 0.7); }
.mo-pv__thumb.is-pick svg { color: var(--mo-pink); }
.mo-pv__thumb-num {
  position: absolute; top: 6px; left: 8px;
  font-family: var(--mo-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(251, 234, 241, 0.4);
}

.mo-pv--line, .mo-pv--color { padding: 22px 26px; }
.mo-pv__sys-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mo-line);
  align-items: center;
}
.mo-pv__sys-row:last-child { border-bottom: 0; }
.mo-pv__sys-row .k {
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.5);
}
.mo-pv__sys-row .v {
  font-family: var(--mo-sans);
  font-size: 14px;
  color: rgba(251, 234, 241, 0.9);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.mo-pv__sys-row .v i {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(251, 234, 241, 0.18);
}

.mo-pv--render {
  flex-direction: row; flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
}
.mo-pv__chip {
  padding: 8px 14px;
  border: 1px solid var(--mo-line);
  border-radius: 999px;
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.7);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.mo-pv__chip:hover {
  background: var(--mo-pink);
  color: var(--mo-paper);
  border-color: var(--mo-pink);
}

.mo-pv--deliver { padding: 22px 26px; gap: 0; }
.mo-pv__defense {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mo-line);
  align-items: baseline;
}
.mo-pv__defense:last-child { border-bottom: 0; }
.mo-pv__defense .k {
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mo-lime);
}
.mo-pv__defense .v {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 17px;
  color: rgba(251, 234, 241, 0.92);
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1;
}

/* ============================================================
 * 05 — STYLE (live motion timing morph)
 * ============================================================ */
.mo-style__stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.mo-style__board {
  position: relative;
  width: min(460px, 92%);
  margin: 0 auto;
  background: #15101a;
  border: 1px solid var(--mo-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(251, 234, 241, 0.05);
}
.mo-style__board-bar,
.mo-style__board-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  font-family: var(--mo-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.6);
}
.mo-style__board-bar { border-bottom: 1px solid var(--mo-line); }
.mo-style__board-foot { border-top: 1px solid var(--mo-line); }
.mo-style__board-dims, .mo-style__board-mood { color: rgba(251, 234, 241, 0.4); }
.mo-style__canvas { position: relative; }
#mo-style-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}
.mo-style__feel {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mo-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.5);
  pointer-events: none;
}
.mo-style__panel {
  display: flex; flex-direction: column;
  gap: 22px;
  padding: 28px;
  background: rgba(251, 234, 241, 0.03);
  border: 1px solid var(--mo-line);
  border-radius: 12px;
}
.mo-style__tab-row { display: flex; gap: 14px; }
.mo-style__tab {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--mo-line);
  border-radius: 8px;
  cursor: pointer;
  /* Specific transitions only — `transition: all` on a clickable card can
   * drop mid-click activation when the page bg-tone is also transitioning. */
  transition: border-color 0.3s ease, background-color 0.3s ease;
  position: relative;
  z-index: 1;
}
.mo-style__tab.is-on {
  border-color: var(--lime);
  background: rgba(212, 255, 58, 0.05);
}
.mo-style__tab-name {
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.7);
  margin-bottom: 4px;
}
.mo-style__tab-name em {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mo-paper);
  margin-left: 4px;
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1;
}
.mo-style__tab-line {
  font-family: var(--mo-sans);
  font-size: 12px;
  color: rgba(251, 234, 241, 0.55);
}
.mo-style__slider-wrap { display: flex; flex-direction: column; gap: 8px; }
.mo-style__slider {
  appearance: none;
  width: 100%; height: 4px;
  background: var(--mo-line);
  border-radius: 2px;
  outline: none;
  cursor: ew-resize;
}
.mo-style__slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime);
  cursor: ew-resize;
  box-shadow: 0 4px 12px rgba(212, 255, 58, 0.5);
}
.mo-style__slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime);
  cursor: ew-resize;
  border: 0;
  box-shadow: 0 4px 12px rgba(212, 255, 58, 0.5);
}
.mo-style__slider-rail {
  display: flex; justify-content: space-between;
  font-family: var(--mo-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.55);
}
.mo-style__tokens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--mo-line);
  border-left: 1px solid var(--mo-line);
}
.mo-style__token {
  padding: 12px 14px;
  border-right: 1px solid var(--mo-line);
  border-bottom: 1px solid var(--mo-line);
  display: flex; flex-direction: column; gap: 4px;
}
.mo-style__token .k {
  font-family: var(--mo-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.5);
}
.mo-style__token .v {
  font-family: var(--mo-sans);
  font-size: 13px;
  color: var(--mo-paper);
}

/* ============================================================
 * 06 — SYSTEM
 * ============================================================ */
.mo-sys__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.mo-sys__panel {
  padding: 28px;
  background: rgba(251, 234, 241, 0.03);
  border: 1px solid var(--mo-line);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.mo-sys__panel-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.55);
  margin-bottom: 22px;
}
.mo-sys__panel-head .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.mo-sys__curve-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--mo-line);
  color: var(--mo-paper);
}
.mo-sys__curve-row:last-child { border-bottom: 0; }
.mo-sys__curve-row .cn {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 18px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.mo-sys__curve-row svg {
  width: 100%; height: 48px;
  color: var(--mo-pink);
  overflow: visible;
}

.mo-sys__sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--mo-line);
  border: 1px solid var(--mo-line);
  border-radius: 8px;
  overflow: hidden;
}
.mo-sys__sw {
  aspect-ratio: 2 / 1;
  padding: 12px 14px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  color: var(--mo-paper);
  position: relative;
}
.mo-sys__sw-name {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 22px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.mo-sys__sw-meta {
  font-family: var(--mo-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.mo-sys__rule {
  padding: 14px 0;
  border-bottom: 1px solid var(--mo-line);
  font-family: var(--mo-sans);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(251, 234, 241, 0.78);
}
.mo-sys__rule:last-child { border-bottom: 0; }
.mo-sys__rule em {
  font-family: var(--mo-display);
  font-style: italic;
  color: var(--mo-paper);
  font-size: 15px;
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1;
}
.mo-sys__rule .ok, .mo-sys__rule .no {
  display: inline-block;
  padding: 3px 9px;
  margin-right: 10px;
  font-family: var(--mo-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
}
.mo-sys__rule .ok { background: var(--mo-cyan); color: var(--mo-ink); }
.mo-sys__rule .no { background: rgba(255, 26, 117, 0.15); color: var(--mo-pink); border: 1px solid var(--mo-pink); }

.mo-sys__jar { padding: 0; }
.mo-sys__jar .mo-sys__panel-head {
  position: absolute; top: 18px; left: 22px;
  margin: 0;
  z-index: 2;
  /* The head + readout float over the canvas where chips pile up. Let pointer
   * events pass through so every chip stays draggable, not just the ones in
   * the clear middle band. */
  pointer-events: none;
}
.mo-sys__jar-readout { pointer-events: none; }
#mo-sys-jar {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  display: block;
  background: rgba(251, 234, 241, 0.02);
}
.mo-sys__jar-readout {
  position: absolute; bottom: 14px; left: 22px; right: 22px;
  padding: 10px 14px;
  background: rgba(11, 10, 14, 0.65);
  border: 1px solid var(--mo-line);
  border-radius: 6px;
  font-family: var(--mo-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: rgba(251, 234, 241, 0.85);
  backdrop-filter: blur(8px);
}

/* ============================================================
 * 07 — TOOLS
 * ============================================================ */
.mo-tools__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--mo-line);
  border: 1px solid var(--mo-line);
  border-radius: 12px;
  overflow: hidden;
}
.mo-tool {
  background: var(--mo-ink);
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  /* Specific transitions only — `transition: all` collides with rich.js's
   * stagger-list animation-fill-mode: forwards. */
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 110px;
  position: relative;
}
.mo-tool:hover {
  background: var(--mo-pink);
  color: var(--mo-paper);
}
.mo-tool .cat {
  font-family: var(--mo-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 234, 241, 0.45);
  margin-bottom: 6px;
}
.mo-tool:hover .cat { color: rgba(251, 234, 241, 0.85); }
.mo-tool .nm {
  font-family: var(--mo-display);
  font-style: italic;
  font-size: 22px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.mo-tool .glyph svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.4;
  transition: stroke 0.3s ease, transform 0.3s ease;
}
.mo-tool:hover .glyph svg {
  stroke: var(--mo-paper);
  transform: rotate(8deg);
}

/* ============================================================
 * 08 — CTA
 * ============================================================ */
.mo-cta {
  position: relative;
  padding: 160px 6vw 200px;
  text-align: center;
  overflow: hidden;
}
.mo-cta canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.mo-cta__inner {
  position: relative; z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
.mo-cta__title {
  font-family: var(--mo-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 24px 0 24px;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30, 'WONK' 1;
}
.mo-cta__title em {
  font-style: italic;
  color: var(--mo-lime);
}
.mo-cta__lede {
  font-family: var(--mo-sans);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(251, 234, 241, 0.7);
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ============================================================
 * Tweaks panel + sound toggle — hidden on production-facing pages.
 * ============================================================ */
.mo-page .v2-tweaks,
.mo-page .v2-sound { display: none !important; }

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 1024px) {
  .mo-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .mo-hero__three { display: none; }
  .mo-hero__metrics { grid-template-columns: repeat(2, 1fr); }
  .mo-hero__metric { border-bottom: 1px solid var(--mo-line); }
  .mo-hero__metric:nth-child(2) { border-right: 0; }
  .mo-process__scene-inner { grid-template-columns: 1fr; gap: 30px; }
  .mo-process__visual { height: 38vh; }
  .mo-style__stage { grid-template-columns: 1fr; gap: 30px; }
  .mo-tools__grid { grid-template-columns: repeat(2, 1fr); }
  .mo-sys__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .mo-section { padding: 80px 5vw 100px; }
  .mo-hero { padding: 100px 5vw 40px; }
  .mo-ledger__row { grid-template-columns: 1fr; gap: 8px; padding: 18px 12px; }
  .mo-ledger__metric { text-align: left; }
  .mo-pass__pin { height: auto; }
  .mo-pass__sticky { position: static; height: auto; padding: 40px 0; }
  .mo-process__inner { height: auto; }
  .mo-process__sticky { position: static; height: auto; padding: 60px 0; }
  .mo-process__scene { position: relative; opacity: 1; transform: none; padding: 30px 5vw; height: auto; }
  .mo-process__visual { height: 40vh; }
  .mo-style__tokens { grid-template-columns: 1fr; }
  .mo-process__rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mo-process__scene { transition: none; }
  .mo-layer { transition: none; }
  .mo-scrub__pulse, .mo-eyebrow .dot { animation: none; }
}
