/* YOM Agency, v4 (2026-10-20): the service cards that slide sideways, and the agency map that travels
   from Montréal to Kigali as you scroll. */

/* ================= Services: big cards that slide sideways ================= */
.svx { position: relative; padding-top: clamp(80px, 11vw, 150px); }
.svx-intro { margin-bottom: clamp(26px, 4vh, 44px); }
.svx-intro .lede { margin-bottom: 0; }
.svx-runway, .svx-pin { position: relative; }
.svx-track { position: relative; display: flex; gap: clamp(14px, 1.6vw, 22px); width: max-content; box-sizing: border-box; padding-inline: max(clamp(16px, 4vw, 40px), calc((100vw - 1240px) / 2 + 40px)); }
.xc { --c1: #FF9900; --c2: #FFC46B; position: relative; flex: none; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); width: min(80vw, 1080px); height: min(72vh, 640px); min-height: 480px; border-radius: 34px; overflow: hidden; isolation: isolate; text-decoration: none; color: var(--fg);
  background: radial-gradient(75% 95% at 100% 0%, color-mix(in srgb, var(--c1) 40%, transparent), transparent 62%), radial-gradient(70% 80% at 0% 100%, color-mix(in srgb, var(--c2) 22%, transparent), transparent 60%), #0F0E16;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.18), 0 50px 90px -50px rgba(0,0,0,.9);
  transition: transform 360ms var(--ease-out), box-shadow 300ms ease; }
.xc-dev { --c1: #7B61FF; --c2: #35D0FF; }
.xc-mkt { --c1: #FF5A36; --c2: #FFB547; }
.xc-des { --c1: #FF4FA3; --c2: #FFB547; }
.xc-con { --c1: #1FC8E3; --c2: #7B61FF; }
.xc-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px; min-width: 0; padding: clamp(28px, 3.4vw, 52px); }
.xc-num { position: absolute; top: clamp(22px, 3vw, 44px); left: clamp(26px, 3.2vw, 48px); font: 800 clamp(72px, min(9.5vw, 16vh), 160px)/.8 var(--f); letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.6px color-mix(in srgb, var(--c1) 85%, #FFFFFF); }
.xc-kick { margin: 0; font: 500 12px/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--c1) 55%, #FFFFFF); }
.xc-title { margin: 0; max-width: 16ch; font: 760 clamp(30px, 3.1vw, 50px)/1 var(--f); letter-spacing: -0.045em; text-wrap: balance; }
.xc-text { margin: 0; max-width: 40ch; font-size: clamp(15px, 1.15vw, 17.5px); line-height: 1.5; color: color-mix(in srgb, var(--fg) 80%, transparent); }
.xc-pts { display: grid; gap: 9px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.35; }
.xc-pts li { display: flex; align-items: baseline; gap: 10px; }
.xc-pts li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 12px var(--c1); transform: translateY(-1px); }
.xc-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); font-weight: 650; font-size: 15px; transition: background-color 200ms ease; }
.xc:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) {
  .xc:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c1) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.2), 0 50px 90px -40px color-mix(in srgb, var(--c1) 45%, transparent); }
  .xc:hover .xc-go { background: color-mix(in srgb, var(--c1) 30%, transparent); }
  .xc:hover .arr { transform: translateX(4px); }
}
.xc-art { position: relative; z-index: 1; min-width: 0; }
.xc-dev .devscene { inset: 6% -2% 2% -6%; }

/* Marketing art: a sponsored post, and the results popping around it */
.xa-mkt { position: absolute; inset: 0; display: grid; place-items: center; }
.xa-post { position: relative; width: min(60%, 290px); aspect-ratio: 9 / 15; border-radius: 26px; overflow: hidden; background: #000000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.12); transform: rotate(-4deg); }
.xa-post-img { position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 38%, rgba(255,214,160,.85), transparent 60%), radial-gradient(90% 70% at 20% 90%, #7B61FF, transparent 60%), linear-gradient(170deg, #FF9900, #FF5A36 55%, #5A1F8F); }
.xa-post-img span { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%) rotate(-6deg); padding: 10px 18px; border-radius: 12px; background: rgba(255,255,255,.92); color: #111118; font: 800 22px/1 var(--f); letter-spacing: -0.03em; }
.xa-post-h { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; align-items: center; gap: 8px; }
.xa-post-h i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #FFB547, #FF5A36); box-shadow: 0 0 0 2px rgba(255,255,255,.8); }
.xa-post-h b { display: block; font-size: 12.5px; color: #FFFFFF; }
.xa-post-h span { font: 500 10px/1 var(--f-mono); color: rgba(255,255,255,.75); }
.xa-post-cap { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 64px; margin: 0; font-weight: 650; font-size: 14px; line-height: 1.3; color: #FFFFFF; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.xa-post-cta { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: grid; place-items: center; height: 40px; border-radius: 12px; background: #FFFFFF; color: #111118; font-weight: 700; font-size: 13px; }
.xa-pop { position: absolute; z-index: 3; display: grid; gap: 3px; padding: 11px 14px; border-radius: 16px; background: rgba(22,22,32,.84); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 18px 40px -16px rgba(0,0,0,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; animation: xaPop 5.4s var(--ease-out) infinite; }
.xa-pop i { font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #6FE3A6; font-style: normal; }
.xa-pop b { font-size: 14px; white-space: nowrap; }
.xa-p1 { top: 14%; right: 6%; }
.xa-p2 { top: 46%; left: 4%; animation-delay: 1.8s; }
.xa-p3 { bottom: 12%; right: 9%; animation-delay: 3.6s; }
@keyframes xaPop { 0%, 6% { opacity: 0; transform: translateY(10px) scale(.94); } 12%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-6px); } }

/* Design art: type, a mark made of shapes, the palette */
.xa-des { position: absolute; inset: 0; display: grid; place-items: center; }
.xa-aa { position: absolute; left: 4%; top: 6%; font: 800 clamp(110px, 13vw, 210px)/.8 var(--f); letter-spacing: -0.06em; background: linear-gradient(160deg, #FFD7EC, #FF4FA3 55%, #FFB547); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xa-logo { position: relative; width: min(44%, 220px); aspect-ratio: 1; }
.xa-logo i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: xaOrbit 8s ease-in-out infinite alternate; }
.xa-logo i:nth-child(1) { inset: 0 22% 22% 0; background: #FF4FA3; }
.xa-logo i:nth-child(2) { inset: 22% 0 0 22%; background: #FFB547; animation-delay: -2s; }
.xa-logo i:nth-child(3) { inset: 20%; border-radius: 30%; background: #7B61FF; animation-delay: -4s; }
@keyframes xaOrbit { to { transform: rotate(18deg) scale(1.05); } }
.xa-sw { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); display: flex; gap: 10px; margin: 0; padding: 10px; list-style: none; border-radius: 999px; background: rgba(14,14,21,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.xa-sw li { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }

/* Consulting art: the programme plan */
.xa-con { position: absolute; inset: 0; display: grid; place-items: center; padding: 6%; }
.xa-con .gantt { --page: #1FC8E3; --page-2: #7B61FF; width: min(100%, 460px); transform: rotate(-2deg); }

/* Last card: the estimate */
.xc-cta { width: min(52vw, 700px); grid-template-columns: minmax(0, 1fr); background: radial-gradient(90% 80% at 85% 10%, #FFD08A, transparent 55%), linear-gradient(160deg, #FFB547, #FF9900 48%, #F07A00); color: #140A00; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 50px 90px -40px rgba(255,153,0,.6); }
.xc-cta .xc-num { position: static; margin-bottom: auto; -webkit-text-stroke: 0; color: #140A00; font-size: clamp(96px, min(12vw, 21vh), 200px); }
.xc-cta .xc-title { max-width: 14ch; }
.xc-cta .xc-text { color: rgba(20,10,0,.78); }
.xc-btn { margin-top: 10px; background: #140A00; color: #FFC46B; box-shadow: 0 16px 34px -14px rgba(20,10,0,.6); }

.svx-foot { display: flex; align-items: center; gap: 18px; width: 100%; box-sizing: border-box; margin-top: clamp(18px, 3vh, 28px); }
.svx-bar { flex: 1; max-width: 520px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.svx-bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.svx-hint { margin: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); white-space: nowrap; }
.svx-hint-m { display: none; }

/* Desktop: the block pins, and scrolling down slides the cards to the left */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .svx.is-pinned .svx-pin { position: sticky; top: 0; height: 100vh; height: 100svh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) - 12px); overflow: hidden; }
  .svx.is-pinned .svx-track { will-change: transform; }
  .svx.is-pinned .xc-art { will-change: transform; }
  .svx.is-pinned .xc-body > * { opacity: 0; transform: translateY(22px); transition: opacity 500ms var(--ease-out), transform 750ms var(--ease-out); }
  .svx.is-pinned .xc-body > .xc-num { transform: translateY(40px); }
  .svx.is-pinned .xc.on .xc-body > * { opacity: 1; transform: none; }
  .svx.is-pinned .xc.on .xc-body > :nth-child(2) { transition-delay: 60ms; }
  .svx.is-pinned .xc.on .xc-body > :nth-child(3) { transition-delay: 120ms; }
  .svx.is-pinned .xc.on .xc-body > :nth-child(4) { transition-delay: 180ms; }
  .svx.is-pinned .xc.on .xc-body > :nth-child(5) { transition-delay: 240ms; }
  .svx.is-pinned .xc.on .xc-body > :nth-child(6) { transition-delay: 300ms; }
  .svx.is-pinned .xc.on .xc-body > :nth-child(7) { transition-delay: 360ms; }
}
/* Phones, tablets, reduced motion: a row you swipe */
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .svx-track { width: auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); padding-block: 4px 12px; }
  .xc { scroll-snap-align: start; }
}
@media (max-width: 899px) {
  .svx-track { gap: 12px; padding-inline: max(16px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
  .svx-track::-webkit-scrollbar { display: none; }
  .xc { grid-template-columns: minmax(0, 1fr); grid-template-rows: 40% minmax(0, 1fr); width: min(86vw, 420px); height: min(78svh, 660px); min-height: 560px; border-radius: 28px; }
  .xc-art { order: -1; }
  .xc-body { justify-content: flex-start; gap: 10px; padding: 16px 22px 24px; }
  .xc-num { position: static; font-size: 46px; -webkit-text-stroke-width: 1.2px; }
  .xc-title { font-size: clamp(25px, 7vw, 32px); }
  .xc-text { font-size: 14.5px; }
  .xc-pts { gap: 7px; font-size: 13.5px; }
  .xc-go { margin-top: auto; }
  .xc-dev .devscene { inset: 4% -4% 0 -8%; }
  .xa-post { width: min(46%, 200px); }
  .xa-pop { padding: 8px 11px; } .xa-pop b { font-size: 12.5px; }
  .xa-aa { font-size: 96px; }
  .xa-con .gantt { padding: 14px; transform: none; }
  .xa-con .g-row { grid-template-columns: 92px minmax(0, 1fr); padding: 6px 0; font-size: 12px; }
  .xc-cta { width: min(86vw, 420px); grid-template-rows: minmax(0, 1fr); }
  .xc-cta .xc-num { font-size: 92px; }
  .svx-hint-d { display: none; } .svx-hint-m { display: inline; }
}

/* ================= Agency map: a journey from Montréal to Kigali ================= */
.art-map { display: grid; justify-items: center; align-content: center; gap: 16px; }
.map.map-tour { position: relative; width: min(100%, 640px); aspect-ratio: 1.22; border-radius: 28px; overflow: hidden; background: radial-gradient(80% 70% at 50% 40%, rgba(255,153,0,.07), transparent 70%), rgba(255,255,255,.35); box-shadow: inset 0 0 0 1px var(--g-bd); }
.map-tour canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mpin { position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; opacity: 0; transition: opacity 300ms ease; }
.mpin.on { opacity: 1; }
.mpin i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255,153,0,.22); }
.mpin i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,153,0,.6); animation: ping 2.4s var(--ease-out) infinite; }
.mpin span { position: absolute; left: 14px; top: -20px; display: grid; gap: 3px; padding: 7px 11px; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 12px 26px -12px rgba(0,0,0,.4), inset 0 0 0 1px rgba(11,11,16,.06); white-space: nowrap; transform-origin: 0 50%; opacity: 0; transform: scale(.8); transition: opacity 240ms ease, transform 420ms var(--ease-out); pointer-events: none; }
.mpin.cur { z-index: 3; }
.mpin.cur span { opacity: 1; transform: none; }
.mpin.l span { left: auto; right: 14px; transform-origin: 100% 50%; }
.mpin b { font: 680 14px/1.1 var(--f); color: #0B0B10; }
.mpin small { font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #A34E00; }
.map-picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 640px; }
.map-picks button { min-height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(11,11,16,.1); color: #2A2833; font: 550 12.5px/1 var(--f); transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out); }
.map-picks button[aria-pressed="true"] { background: #0B0B10; color: #FFFFFF; }
.map-picks button:active { transform: scale(.96); }
.map-picks .map-replay { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,153,0,.7); color: #A34E00; }
@media (hover: hover) and (pointer: fine) { .map-picks button:not([aria-pressed="true"]):hover { background: #FFFFFF; } }

/* The top of the agency page stays pinned while the map travels, as the home hero does */
.ag-run { position: relative; }
.ag-run.is-scrolly { height: calc(100vh + 380vh); }
.ag-run.is-scrolly .ag-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.ag-run.is-scrolly .ag-hero { width: 100%; box-sizing: border-box; align-items: center; padding-top: calc(var(--nav-h) + clamp(10px, 3vh, 36px)); padding-bottom: clamp(16px, 3vh, 32px); }
@media (min-width: 980px) { .ag-run.is-scrolly .ag-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } .ag-run.is-scrolly .map.map-tour { width: min(100%, 680px); aspect-ratio: 1.3; } }
.ag-hint { display: none; align-items: center; gap: 10px; margin: 20px 0 0; font: 500 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #A34E00; }
.ag-run.is-scrolly .ag-hint { display: flex; }
.ag-hint i { position: relative; flex: none; width: 16px; height: 26px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px currentColor; }
.ag-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: agWheel 1.6s ease-in-out infinite; }
@keyframes agWheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
.map-step { position: absolute; z-index: 4; left: 14px; bottom: 16px; display: flex; align-items: baseline; gap: 6px; max-width: calc(100% - 28px); padding: 9px 13px; box-sizing: border-box; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 12px 26px -14px rgba(0,0,0,.35), inset 0 0 0 1px rgba(11,11,16,.06); color: #56535F; pointer-events: none; }
.map-step b { font: 720 18px/1 var(--f); letter-spacing: -0.02em; color: #0B0B10; white-space: nowrap; }
.map-step span { font: 500 11px/1 var(--f-mono); color: #8A8794; }
.map-step em { overflow: hidden; margin-left: 4px; font: 500 12.5px/1.2 var(--f); font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.map-bar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(11,11,16,.06); }
.map-bar span { display: block; height: 100%; background: linear-gradient(90deg, #FFB547, #FF9900); transform-origin: left; transform: scaleX(0); }
@media (max-width: 979px) {
  .ag-run.is-scrolly .ag-hero { gap: 18px; }
  .ag-run.is-scrolly .ag-hero .h1-page { margin-bottom: 12px; font-size: clamp(32px, 8.6vw, 52px); }
  .ag-run.is-scrolly .ag-hero .lede { margin-bottom: 0; font-size: 15px; }
  .ag-run.is-scrolly .ag-hint, .ag-run.is-scrolly .map-picks { display: none; }
  .ag-run.is-scrolly .map.map-tour { aspect-ratio: 1.45; }
}
@media (max-width: 979px) and (max-height: 700px) { .ag-run.is-scrolly .ag-hero .lede { display: none; } }

/* ================= Method: a timeline whose line grows with the scroll (board.js) ================= */
.tl-grid { display: grid; gap: clamp(34px, 5vw, 80px); }
.tl-head .h2 { margin-bottom: 18px; }
.tl-head .lede { margin-bottom: 0; }
.tl { position: relative; }
.tl-rail { position: absolute; left: 21px; top: 40px; bottom: 40px; width: 2px; border-radius: 2px; background: rgba(255,255,255,.1); }
.tl-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, var(--page-2), var(--page)); transform-origin: 50% 0; }
.tl-spark { position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #FFF1DC; box-shadow: 0 0 0 4px color-mix(in srgb, var(--page) 28%, transparent), 0 0 24px 6px color-mix(in srgb, var(--page) 65%, transparent); opacity: 0; transition: opacity 200ms ease; }
.tl-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.tl-step { position: relative; padding-left: 62px; }
.tl-dot { position: absolute; left: 0; top: 18px; isolation: isolate; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 500 13px/1 var(--f-mono); color: var(--on-brand); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--g-bd); transition: color 300ms ease, transform 460ms cubic-bezier(.34, 1.56, .64, 1); }
.tl-dot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--grad); box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--page) 80%, transparent); transition: opacity 300ms ease; }
.tl-dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--page) 55%, transparent); opacity: 0; transform: scale(.8); transition: opacity 300ms ease, transform 500ms var(--ease-out); }
.tl-card { padding: 20px 22px 22px; border-radius: var(--r); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); }
.tl-when { margin: 0 0 10px; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--page); transition: color 300ms ease; }
.tl-card h3 { margin: 0 0 8px; font: 650 clamp(19px, 1.7vw, 23px)/1.2 var(--f); letter-spacing: -0.02em; }
.tl-card > p:not([class]) { margin: 0; font-size: 15px; line-height: 1.55; color: color-mix(in srgb, var(--fg) 78%, transparent); }
.tl-get { display: inline-flex; align-items: center; gap: 9px; margin: 14px 0 0; padding: 7px 13px 7px 12px; border-radius: 999px; font: 600 13px/1.2 var(--f); color: color-mix(in srgb, var(--page) 55%, #fff); background: color-mix(in srgb, var(--page) 13%, transparent); }
.tl-get::before { content: ""; flex: none; width: 8px; height: 4px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
/* Live state: the steps wait in the dark until the line reaches them, the current one wears a ring. */
.tl.is-live .tl-step:not(.on) .tl-dot { color: var(--mut); transform: scale(.86); }
.tl.is-live .tl-step:not(.on) .tl-dot::before { opacity: 0; }
.tl.is-live .tl-step.cur .tl-dot::after { opacity: 1; transform: none; }
.tl.is-live .tl-step:not(.on) .tl-card { opacity: .36; transform: translateX(14px); }
.tl.is-live .tl-step:not(.on) .tl-when { color: var(--mut); }
.tl-count { display: none; }
@media (max-width: 979px) { .tl.is-live .tl-step:not(.on) .tl-card { transform: translateY(14px); } }
@media (min-width: 980px) {
  .tl-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
  .tl-head { position: sticky; top: calc(var(--nav-h) + 40px); }
  .tl-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: clamp(28px, 5vh, 56px) 0 0; }
  .tl-count b { font: 760 clamp(72px, 7.5vw, 112px)/.85 var(--f); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .tl-count span { font: 500 15px/1 var(--f-mono); color: var(--mut); }
  .tl-count em { flex-basis: 100%; font: 500 12px/1.3 var(--f-mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); }
  .tl-list { gap: 20px; }
  .tl-step { padding-left: 74px; }
  .tl-card { padding: 24px 28px 26px; }
}

/* ================= Calm versions ================= */
@media (prefers-reduced-motion: reduce) {
  .xa-logo i, .ag-hint i::after { animation: none; }
  .xa-pop { animation: none; opacity: 1; }
  .tl-spark { display: none; }
}
