/* Chally Studio 1.7 — PLAY / a sporting editorial system, not a game UI clone.
 * Structure lives in style.css; this replaces the former 1.6 visual layer.
 * Fonts: SIL OFL, self-hosted. No remote font request or animation dependency.
 */
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: block;
  src: url(assets/fonts/barlow-condensed-bold-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: block;
  src: url(assets/fonts/barlow-condensed-bold-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: block;
  src: url(assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: block;
  src: url(assets/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --cm-font-body: 'DM Sans', Arial, sans-serif;
  --cm-font-heading: 'Barlow Condensed', Impact, sans-serif;
  --cm-paper: #111114; --cm-dark: #111114; --cm-surface: #1b1b20; --cm-raised: #25252c;
  --cm-ink: #f8f6f0; --cm-muted: #b9b8c3; --cm-line: #36353f;
  --cm-purple: #c3a6ff; --cm-action: #b68bfa; --cm-lime: #d5ef87;
  --cm-header-height: 89px;
}
body { font-family: var(--cm-font-body); font-size: 17px; font-weight: 450; line-height: 1.6; }
h1, h2, h3 { font-family: var(--cm-font-heading); font-weight: 700; letter-spacing: -0.015em; line-height: 0.98; text-wrap: balance; }
h1, h2 { text-transform: uppercase; }
h2 { font-size: clamp(40px, 5.3vw, 72px); }
h3 { font-size: 30px; }
.cm-wrap { width: min(1280px, calc(100% - 96px)); }
.cm-header { background: var(--cm-paper); border-bottom-color: var(--cm-line); }
.cm-nav { min-height: 88px; }
.cm-header .cm-brand { font-size: 29px; letter-spacing: -1.4px; gap: 8px; }
.cm-header .cm-brand img { width: 64px; height: 64px; }
.cm-menu, .cm-menu-toggle { font-size: 14px; }
.cm-button {
  min-height: 52px; padding: 14px 24px; border-radius: 6px; border: 1px solid #7945c2;
  color: #fff; background: #7945c2; font-size: 15px; font-weight: 750;
  box-shadow: none; transition: transform 180ms ease, background 180ms ease;
}
.cm-button:hover { background: #8650c9; color: #fff; transform: translateY(-2px); box-shadow: none; }
.cm-button:active { transform: translateY(3px); box-shadow: none; }
.cm-button-small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.cm-header .cm-button,
.cm-header .cm-button:hover,
.cm-header .cm-button:active { box-shadow: none; transform: none; }
.cm-button-secondary { background: transparent; color: var(--cm-ink); border-color: #71627f; }
.cm-button-secondary:hover { background: var(--cm-raised); color: var(--cm-ink); }
.cm-text-link { font-size: 15px; font-weight: 600; gap: 16px; }
.cm-text-link span { transition: transform 180ms ease; }
.cm-text-link:hover span { transform: translateX(5px); }
.cm-eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 700; }
.cm-lead { font-size: 18px; line-height: 1.6; }

/* The opening is a poster with a real product stage, rather than a device mockup. */
.cm-hero { position: relative; grid-template-columns: 1.04fr 1fr; gap: 32px; padding-block: 72px 92px; min-height: 660px; }
.cm-hero-copy { position: relative; z-index: 2; }
.cm-hero h1 { font-size: clamp(68px, 7.4vw, 110px); line-height: .91; letter-spacing: -.018em; margin-bottom: 28px; text-wrap: initial; }
.cm-hero h1 em { display: inline-block; }
.cm-hero .cm-lead { max-width: 460px; }
.cm-actions { margin-top: 28px; gap: 18px 24px; }
.cm-device-stage { position: relative; min-width: 0; padding: 58px 44px 62px 18px; isolation: isolate; }
.cm-device-stage::before {
  content: ''; position: absolute; z-index: -1; inset: 6% 5% 12%; border: 1px solid #594674;
  border-radius: 50%; transform: rotate(-20deg); box-shadow: 0 0 0 26px #231e2d, 0 0 0 27px #393042;
}
.cm-device-desktop { position: relative; border: 1px solid #756585; border-radius: 10px; padding: 0; background: #16131f; box-shadow: 12px 16px 0 #08080b; overflow: hidden; transform: rotate(-5deg); }
.cm-device-desktop::before, .cm-device-desktop::after { content: none; }
.cm-device-desktop img { display: block; width: 100%; height: auto; aspect-ratio: 1280/900; object-fit: contain; border-radius: 9px; }
.cm-device-phone { position: absolute; z-index: 2; right: 0; bottom: 4px; width: 29%; max-width: 160px; border: 1px solid #756585; border-radius: 21px; padding: 3px; overflow: hidden; background: #08080b; box-shadow: 8px 10px 0 #08080b; transform: rotate(7deg); }
.cm-device-phone img { width: 100%; height: auto; border-radius: 15px; }
.cm-device-note { position: relative; margin-top: 34px; max-width: 55%; font-size: 12px; line-height: 1.5; color: var(--cm-muted); }
.cm-device-note strong, .cm-device-note span { display: block; }
.cm-device-note strong { font-size: 13px; color: var(--cm-ink); margin-bottom: 2px; }
/* Avoid inherited device wobble / halo: the scroll composition owns this stage. */
html[data-cm-motion="on"] .cm-device-stage .cm-product-preview { animation: none; transform: rotate(-5deg); }

/* A large connected diagram opposite a compact argument. No decorative tile grid. */
.cm-tournament { align-items: center; padding: 88px 0; margin-bottom: 0; gap: 72px; min-height: 490px; border: 0; border-top: 1px solid var(--cm-line); }
.cm-tournament h2 { font-size: clamp(48px, 5.7vw, 80px); max-width: 580px; }
.cm-tournament > div > p:not(.cm-eyebrow) { font-size: 18px; }
.cm-world-map { position: relative; padding: 36px 22px; }
.cm-world-map::before { content: ''; position: absolute; inset: 0 0 32px; z-index: -1; border: 1px dashed #51425e; border-radius: 50%; }
/* Match the SVG's three equal lanes, including at mobile breakpoints. */
.cm-world-map .cm-world-nodes { column-gap: 0; }
.cm-world-nodes b { width: 88px; height: 88px; border-radius: 22px; border-width: 2px; font-size: 42px; background: var(--cm-paper); transform: rotate(-7deg); box-shadow: 5px 6px 0 #050506; }
.cm-world-nodes > span:nth-child(2) b { transform: rotate(6deg); }
.cm-world-nodes > span { font-size: 15px; gap: 16px; }
.cm-world-wires { height: 120px; margin-block: 18px; }
.cm-world-nodes .cm-sport-icon { width: 52%; height: 52%; }
.cm-global-node { background: var(--cm-purple); color: var(--cm-paper); border: 0; border-radius: 6px; padding: 16px 24px; box-shadow: 5px 6px 0 #6842a3; }
.cm-global-node strong { font-family: var(--cm-font-heading); text-transform: uppercase; font-size: 34px; line-height: 1; margin: 0; }

/* Manual native scroll-snap: keep the tested pending-destination behavior. */
.cm-section { padding-block: 82px; border-top: 0; }
.cm-section-heading { gap: 40px; margin-bottom: 36px; align-items: end; }
.cm-section-heading h2 { max-width: 850px; }
.cm-section-heading > p { font-size: 17px; }
.cm-terrain-slider { position: relative; min-width: 0; }
/* Share the slide row with its controls; next sits beyond the desktop copy. */
.cm-terrain-slider[data-cm-enhanced] { display: grid; grid-template-columns: minmax(0, 1fr); }
#univers, #collectif { border-top: 1px solid var(--cm-line); }
.cm-slider-toolbar { display: contents; }
.cm-slider-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-area: 1 / 1; justify-self: center; width: min(100%, 420px); gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--cm-line); }
.cm-slider-tabs button { min-height: 48px; padding: 10px 26px; position: relative; border: 0; border-radius: 0; background: transparent; color: var(--cm-muted); font-size: 16px; font-weight: 700; line-height: 1.25; transition: background 180ms ease, color 180ms ease; }
.cm-slider-tabs button::after { content: ""; position: absolute; height: 2px; bottom: -13px; left: 20%; right: 20%; background: var(--cm-purple); transform: scaleX(0); transition: transform 220ms ease; }
.cm-slider-tabs button[aria-pressed="true"] { background: transparent; color: var(--cm-ink); }
.cm-slider-tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
.cm-slider-tabs button:hover { border-color: var(--cm-purple); color: var(--cm-ink); }
.cm-slider-tabs button[aria-pressed="true"]:hover { color: var(--cm-purple); }
.cm-slider-arrows { display: flex; justify-content: space-between; align-items: center; grid-area: 2 / 1; align-self: center; width: 100%; height: 0; z-index: 2; pointer-events: none; }
.cm-slider-arrows button { pointer-events: auto; }
.cm-slider-arrows button { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid #ffffff20; background: transparent; transition: border-color 180ms ease, background 180ms ease; color: var(--cm-ink); font-size: 25px; line-height: 1; }
.cm-slider-arrows button:hover:not(:disabled) { background: var(--cm-purple); color: var(--cm-paper); }
.cm-slider-arrows button:disabled { opacity: .35; cursor: default; }
.cm-slider-arrows button.cm-autoplay-toggle { width: auto; min-width: 72px; padding-inline: 12px; border-radius: 24px; font-size: 13px; }
.cm-guide-picker .cm-scene-controls { flex-wrap: wrap; }
.cm-guide-picker .cm-autoplay-toggle { min-height: 44px; }
.cm-slider-track { position: relative; grid-area: 2 / 1; min-width: 0; }
.cm-terrain-slider[data-cm-enhanced] .cm-slider-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-block: 12px; }
.cm-slider-track::-webkit-scrollbar { display: none; }
.cm-slider-track:focus-visible { outline-offset: 6px; border-radius: 10px; }
.cm-slider-track .cm-universe-panel { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; border: 0; border-radius: 0; background: transparent; grid-template-columns: 1.05fr 1fr; padding: 24px 0; margin: 0; min-height: 370px; }

.cm-slider-track .cm-universe-panel > img.cm-editorial-art { max-height: 340px; height: auto; }
.cm-terrain-slider[data-cm-enhanced] .cm-universe-panel > img.cm-editorial-art { width: calc(100% - 128px); margin-inline: 64px; }
.cm-slider-track .cm-universe-panel > div { padding: 28px; }
@media (min-width: 641px) {
  .cm-terrain-slider[data-cm-enhanced] .cm-universe-panel > div { padding-right: 64px; }
}
.cm-slider-track .cm-universe-panel h3 { font-size: clamp(42px, 5.4vw, 76px); text-transform: uppercase; margin-bottom: 22px; }
.cm-slider-track .cm-universe-panel p { font-size: 18px; line-height: 1.6; color: #dedbe3; }
.cm-slider-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.cm-terrain-slider:not([data-cm-enhanced]) .cm-universe-panel + .cm-universe-panel { margin-top: 20px; }
html[data-cm-motion] .cm-terrain-slider [data-cm-panel] { animation: none; }

/* The four actions read as a route, with real links into the guide. */
.cm-journey-track { gap: 28px; padding-top: 20px; }
.cm-journey-track a { padding: 20px 0 22px; grid-template-columns: 48px 1fr; gap: 14px; border-bottom: 0; }
.cm-journey-illustration { height: 125px; margin-bottom: 8px; }
.cm-journey-node { width: 44px; height: 44px; font-size: 20px; font-family: var(--cm-font-heading); border-radius: 5px; background: #26202f; border: 1px solid #8e73aa; }
.cm-journey-track strong { font-family: var(--cm-font-heading); font-size: 32px; text-transform: uppercase; }
/* Give supporting copy its own hierarchy, without adding decorative boxes. */
#collectif .cm-section-heading > .cm-journey-intro { margin: 0; max-width: 30ch; text-align: left; line-height: 1.45; }
.cm-journey-audience { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 500; color: var(--cm-muted); }
.cm-journey-message { display: block; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; color: var(--cm-ink); text-wrap: balance; }
.cm-journey-track a > span.cm-journey-caption { grid-column: 2; align-self: start; font-size: 17px; font-weight: 500; line-height: 1.5; color: #dedbe3; text-wrap: pretty; }
@media (max-width: 640px) {
  .cm-journey-track a > span.cm-journey-caption { grid-column: 1; font-size: 16px; }
}
.cm-disclosure { margin-top: 28px; }
.cm-disclosure summary { font-size: 15px; }
.cm-disclosure p { font-size: 16px; }
.cm-faq { gap: 80px; }
.cm-faq h2 { font-size: clamp(46px, 5.3vw, 72px); }
.cm-faq-list summary { font-size: 17px; padding-block: 22px; }
.cm-faq-list summary::after { top: 20px; }
.cm-faq-list details p { font-size: 16px; }
.cm-cta { position: relative; background: #211a2e; border: 1px solid #614c7c; padding: 52px; border-radius: 8px; margin-block: 20px 64px; gap: 44px; }
.cm-cta h2 { font-size: clamp(40px, 4.6vw, 66px); max-width: 800px; }
.cm-cta p { font-size: 16px; }
.cm-footer { padding-top: 48px; background: #0b0b0e; }
.cm-footer-group h2 { font-family: var(--cm-font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.cm-footer-group a { font-size: 14px; }

/* Same language across guide, access and legal; content remains in native HTML. */
.cm-page-hero { padding-block: 70px 50px; }
.cm-page-hero h1 { font-size: clamp(58px, 7vw, 98px); line-height: .96; max-width: 980px; }
.cm-guide-jump { border-radius: 6px; border-color: #594c6a; padding: 6px; }
.cm-guide-jump a { font-size: 15px; border-radius: 3px; }
.cm-guide-jump a[aria-current="step"] { background: var(--cm-purple); color: var(--cm-paper); border-color: var(--cm-purple); }
.cm-guide-jump a[aria-current="step"] span { color: #38234f; }
.cm-play-step { grid-template-areas: "copy visual"; padding-block: 76px; gap: 48px 72px; border-color: var(--cm-line); align-items: start; }
/* Expanding a disclosure must not recenter the copy above it. */
.cm-step-copy, .cm-faq > div { align-self: start; }
.cm-disclosure-body { display: flow-root; }
main details[data-cm-disclosure] { box-sizing: border-box; }
main details[data-cm-animating] { overflow: hidden; }
main details[data-cm-disclosure] > summary { touch-action: manipulation; }
.cm-play-step-reverse { grid-template-areas: "visual copy"; }
/* Anchor destinations are structural sections, not interactive controls. */
.cm-play-step[tabindex="-1"]:focus { outline: none; }
.cm-step-copy h2 { font-size: clamp(40px, 4.5vw, 64px); margin-bottom: 22px; }
.cm-step-copy p:not(.cm-eyebrow) { font-size: 17px; line-height: 1.65; }
.cm-step-marker { width: 38px; height: 38px; border-radius: 5px; font-family: var(--cm-font-heading); font-size: 21px; border-color: #9075b3; }
.cm-scene-controls { border-radius: 6px; padding: 5px; }
.cm-scene-controls button { font-size: 15px; border-radius: 3px; }
.cm-scene-controls button[aria-pressed="true"] { background: var(--cm-purple); color: var(--cm-paper); border-color: var(--cm-purple); }
.cm-choice-scene, .cm-people-map, .cm-result-flow, .cm-ranking-map { border: 0; border-radius: 0; background: transparent; }
.cm-choice-scene img.cm-editorial-art { height: 290px; }
.cm-choice-scene figcaption strong { font-family: var(--cm-font-heading); font-size: 32px; }
.cm-result-scene h3 { font-size: 34px; }
.cm-result-flow p:not(.cm-fineprint), .cm-rank-caption p { font-size: 15px; }
.cm-rank-caption h3 { font-size: 30px; }
.cm-ranking-rings { height: 260px; }
.cm-ring { border-radius: 8px; }
.cm-ring > span { font-size: 14px; }
.cm-discovery { padding-block: 60px; gap: 64px; }
.cm-discovery h2 { font-size: clamp(42px, 4.8vw, 64px); }
.cm-discovery p:not(.cm-eyebrow):not(.cm-mini-label):not(.cm-fineprint) { font-size: 17px; }
.cm-sample-path li > span:first-child { font-size: 16px; }
.cm-sample-path li > span:last-child, .cm-fineprint { font-size: 13px; }
.cm-access-panel { padding: 32px; border-color: #675276; border-radius: 8px; background: #211b2b; }
.cm-access-panel h2 { font-size: 42px; }
.cm-access-panel p, .cm-access-panel .cm-email, .cm-prose p, .cm-prose li { font-size: 16px; }
.cm-prose h2 { font-size: 34px; line-height: 1.05; }
.cm-prose h3 { font-family: var(--cm-font-body); font-size: 20px; }
.cm-legal .cm-prose { max-width: 820px; }

@media (max-width: 1100px) {
  .cm-wrap { width: calc(100% - 64px); }
  .cm-hero h1 { font-size: 78px; }
  .cm-hero { gap: 26px; min-height: auto; }
  .cm-play-step { gap: 40px; }
  .cm-tournament { gap: 40px; }
}
@media (max-width: 960px) {
  :root { --cm-header-height: 81px; }
  .cm-nav { min-height: 80px; }
  .cm-header .cm-brand { font-size: 28px; }
  .cm-header .cm-brand img { width: 60px; height: 60px; }
  .cm-js .cm-menu { top: 100%; }
  .cm-hero { grid-template-columns: 1fr 1fr; padding-block: 56px 72px; }
  .cm-hero h1 { font-size: clamp(62px, 8.8vw, 82px); }
  .cm-hero .cm-lead { font-size: 16px; }
  .cm-device-stage { padding: 40px 26px 38px 8px; }
  .cm-device-note { font-size: 11px; }
  .cm-device-phone { width: 30%; }
  .cm-section { padding-block: 60px; }
  .cm-tournament { padding-block: 64px; gap: 32px; }
  .cm-world-nodes b { width: 66px; height: 66px; font-size: 34px; }
  .cm-world-nodes { gap: 8px; }
  .cm-world-map { padding: 28px 12px; }
  .cm-global-node strong { font-size: 28px; }
  .cm-slider-track .cm-universe-panel { padding: 16px 0; min-height: 300px; }
  .cm-slider-track .cm-universe-panel > div { padding: 16px; }
  .cm-journey-track { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-journey-track a { grid-template-columns: 34px 1fr; gap: 10px; }
  .cm-journey-node { width: 32px; height: 36px; }
  .cm-journey-track strong { font-size: 28px; }
  .cm-journey-track a > span.cm-journey-caption { font-size: 16px; }
  .cm-faq { gap: 36px; }
  .cm-cta { padding: 32px; }
  .cm-play-step { gap: 32px; padding-block: 52px; }
}
@media (max-width: 640px) {
  :root { --cm-header-height: 77px; }
  .cm-wrap { width: calc(100% - 40px); }
  .cm-nav { min-height: 76px; gap: 8px; }
  .cm-header .cm-brand { font-size: 25px; letter-spacing: -1.2px; gap: 3px; }
  .cm-header .cm-brand img { width: 60px; height: 60px; }
  .cm-menu-toggle { min-width: 58px; padding: 8px; font-size: 14px; }
  .cm-hero { grid-template-columns: 1fr; padding-block: 36px 46px; gap: 24px; }
  .cm-hero h1 { font-size: clamp(54px, 14.6vw, 86px); line-height: .94; margin-bottom: 22px; }
  .cm-hero .cm-lead { font-size: 16px; max-width: 450px; }
  .cm-actions { margin-top: 24px; gap: 14px 20px; }
  .cm-button { min-height: 48px; font-size: 14px; padding: 12px 18px; }
  .cm-text-link { font-size: 14px; }
  .cm-device-stage { width: min(460px, 100%); margin-inline: auto; padding: 34px 52px 28px 8px; }
  .cm-device-stage::before { inset: 4% 5% 8%; box-shadow: 0 0 0 12px #231e2d, 0 0 0 13px #393042; }
  .cm-device-phone { width: 27%; border-width: 1px; border-radius: 16px; bottom: 0; right: 4px; }
  .cm-device-phone img { border-radius: 10px; }
  .cm-device-note { font-size: 11px; margin-top: 26px; }
  .cm-device-note strong { font-size: 12px; }
  h2, .cm-tournament h2, .cm-faq h2 { font-size: clamp(40px, 11.3vw, 64px); }
  .cm-section { padding-block: 44px; }
  .cm-tournament { grid-template-columns: 1fr; padding-block: 48px; gap: 30px; min-height: auto; }
  .cm-tournament > div > p:not(.cm-eyebrow) { font-size: 16px; }
  .cm-world-map { max-width: 430px; margin-inline: auto; padding: 24px 12px; }
  .cm-world-nodes b { width: 60px; height: 60px; font-size: 32px; border-radius: 15px; }
  .cm-world-nodes > span { font-size: 13px; gap: 12px; }
  .cm-world-wires { height: 80px; }
  .cm-global-node { padding: 14px 20px; }
  .cm-global-node strong { font-size: 27px; }
  .cm-section-heading { margin-bottom: 26px; }
  .cm-section-heading > p { font-size: 16px; margin-top: 16px; }
  .cm-slider-tabs { gap: 5px; margin-bottom: 20px; }
  .cm-slider-tabs button { font-size: 14px; padding: 9px 10px; min-height: 44px; }
  .cm-slider-arrows { width: 100%; align-self: start; margin: 115px 0 0; }
  .cm-terrain-slider[data-cm-enhanced] .cm-universe-panel > img.cm-editorial-art { width: calc(100% - 104px); margin-inline: 52px; }
  .cm-slider-arrows button { width: 44px; height: 44px; }
  .cm-terrain-slider[data-cm-enhanced] .cm-slider-track { gap: 12px; }
  .cm-slider-track .cm-universe-panel { flex-basis: 100%; grid-template-columns: 1fr; padding: 8px 0 20px; border-radius: 0; align-content: start; }
  .cm-slider-track .cm-universe-panel > img.cm-editorial-art { height: 190px; max-height: none; }
  .cm-slider-track .cm-universe-panel > div { padding: 12px 0 0; }
  .cm-slider-track .cm-universe-panel h3 { font-size: 44px; margin-bottom: 14px; }
  .cm-slider-track .cm-universe-panel p { font-size: 16px; }
  .cm-slider-track .cm-universe-panel p br { display: initial; }
  .cm-journey-track { gap: 16px 20px; }
  .cm-journey-track a { padding-top: 10px; grid-template-columns: minmax(0, 1fr); }
  .cm-journey-illustration { height: 90px; }
  .cm-journey-track strong { font-size: 28px; }
  .cm-faq { gap: 26px; }
  .cm-faq-list summary { font-size: 16px; padding-block: 18px; }
  .cm-faq-list details p { font-size: 15px; }
  .cm-disclosure summary { font-size: 14px; }
  .cm-disclosure p { font-size: 15px; }
  .cm-cta { padding: 28px 22px; margin-block: 12px 40px; }
  .cm-cta h2 { font-size: 40px; }
  .cm-cta .cm-button { margin-top: 24px; }
  .cm-page-hero { padding-block: 40px 32px; }
  .cm-page-hero h1 { font-size: clamp(48px, 12.8vw, 70px); line-height: .98; }
  .cm-lead { font-size: 16px; }
  .cm-guide-jump { gap: 2px; padding: 5px; }
  .cm-guide-jump a { font-size: 12px; }
  .cm-play-step, .cm-play-step-reverse { grid-template-areas: "copy" "visual"; }
  .cm-play-step { padding-block: 40px; gap: 24px; }
  .cm-step-copy h2, .cm-discovery h2 { font-size: 42px; }
  .cm-step-copy p:not(.cm-eyebrow) { font-size: 16px; }
  .cm-choice-scene img.cm-editorial-art { height: 200px; }
  .cm-choice-scene figcaption strong { font-size: 29px; }
  .cm-scene-controls button { font-size: 13px; }
  .cm-ranking-rings { height: 220px; }
  .cm-discovery { padding: 36px 0; gap: 28px; }
  .cm-sample-path ol { grid-template-columns: 1fr; gap: 18px; }
  .cm-sample-path li { grid-template-columns: 1fr 1fr; align-items: center; column-gap: 12px; }
  .cm-sample-path li > span:first-child { font-size: 15px; }
  .cm-access-panel { padding: 24px; }
  .cm-access-panel h2 { font-size: 36px; }
  .cm-footer { padding-top: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Finite entrance animation: content is already readable if scripting fails. */
  html[data-cm-motion="on"] :is(.cm-hero-copy, .cm-device-stage, .cm-world-map, .cm-guide-picker, .cm-people-map, .cm-result-flow, .cm-ranking-map, .cm-journey-track li).is-seen {
    animation: cm-play-arrive 950ms cubic-bezier(.16, 1, .3, 1) both;
  }
  html[data-cm-motion="on"] .cm-journey-track li:nth-child(2).is-seen { animation-delay: 80ms; }
  html[data-cm-motion="on"] .cm-journey-track li:nth-child(3).is-seen { animation-delay: 160ms; }
  html[data-cm-motion="on"] .cm-journey-track li:nth-child(4).is-seen { animation-delay: 240ms; }
  /* Continuous feeds toward global; base motion.css pauses them offscreen. */
  html[data-cm-motion="on"] .cm-world-wires .cm-wire-active {
    stroke-width: 5;
  }
  /* Stable endpoints preserve equal breathing room around the moving feeds. */
  html[data-cm-motion="on"] .cm-global-node { animation: none; }
  html[data-cm-motion="on"] .cm-hero .cm-device-desktop {
    transform: translateY(calc(var(--cm-progress, .3) * var(--cm-desktop-travel, -140px))) rotate(calc(-8deg + var(--cm-progress, .3) * 9deg));
  }
  html[data-cm-motion="on"] .cm-hero .cm-device-phone {
    transform: translateY(calc(var(--cm-progress, .3) * var(--cm-phone-travel, 80px))) rotate(calc(10deg - var(--cm-progress, .3) * 8deg));
  }
  html[data-cm-motion="on"] .cm-device-stage::before {
    transform: rotate(calc(-30deg + var(--cm-progress, .3) * 45deg));
  }
  html[data-cm-motion="on"] :is(.cm-cta, .cm-ring-global) { animation: none; }
  html[data-cm-motion="on"] .cm-ring-theme { transform: translateY(calc((1 - var(--cm-scene-progress, 1)) * 18px)); }
  html[data-cm-motion="on"] .cm-ring-discipline { transform: translateY(calc((1 - var(--cm-scene-progress, 1)) * 24px)); }
  @keyframes cm-play-arrive {
    from { opacity: .4; transform: translateY(72px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 960px) {
  .cm-device-stage { --cm-desktop-travel: -72px; --cm-phone-travel: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-device-desktop, .cm-device-phone, .cm-device-stage::before { transform: none !important; }
  .cm-world-wires .cm-wire-active { stroke-dashoffset: 0; }
  .cm-slider-track { scroll-behavior: auto; }
  .cm-button:hover, .cm-button:active, .cm-text-link:hover span { transform: none; }
}
@media print {
  .cm-terrain-slider[data-cm-enhanced] .cm-slider-track { display: block; overflow: visible; }
  .cm-slider-toolbar, .cm-slider-status { display: none !important; }
  .cm-slider-track .cm-universe-panel { break-inside: avoid; margin-bottom: 20px; }
}
