/* ===== Home hero: pinned dot globe + opener headline ===== */
.hero { --pin: 0; --a: clamp(0, calc((var(--pin) - .14) * 6), 1); --a-out: clamp(0, calc((var(--pin) - .52) * 8), 1); --b: clamp(0, calc((var(--pin) - .54) * 6), 1); --end: clamp(0, calc((var(--pin) - .88) * 8), 1); position: relative; z-index: 2; }
.has-motion .hero { height: 230vh; }
.hero__sticky { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-block: calc(var(--header-h) + var(--space-8)) var(--space-12); overflow: clip; }
/* Auto margin = bottom-aligned when there is room, top-aligned (never under the header) when there is not. */
.hero__inner { margin-top: auto; min-height: 0; }
@media (min-width: 900px) and (max-height: 820px) { .hero__title { font-size: clamp(2.4rem, 6.2vw, 6rem); } .hero__foot { margin-top: var(--space-8); } }
@media (min-width: 900px) and (max-height: 680px) { .hero__title { font-size: clamp(2.2rem, 5vw, 4.5rem); } .hero__copy { max-width: 40ch; } .hero__sticky { padding-bottom: var(--space-8); } }
.has-motion .hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__sphere { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.has-motion .hero__sphere { animation: sphere-in 1.4s var(--ease-out) .15s both; }
@keyframes sphere-in { 0% { opacity: 0; transform: scale(.96); } }
@media (hover: hover) and (pointer: fine) { .has-motion .hero__sticky { cursor: grab; } .has-motion .hero[data-dragging] .hero__sticky { cursor: grabbing; user-select: none; } }
.has-motion .hero__sticky { touch-action: pan-y; }
.hero__hint { position: absolute; z-index: 1; right: var(--gutter); top: calc(var(--header-h) + var(--space-8) + 3.5rem); display: none; color: var(--color-text-muted); font-size: var(--fs-micro); opacity: 0; transition: opacity var(--dur-ui-slow) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .has-motion .hero__hint { display: block; animation: hint-in .6s var(--ease-out) 2.4s forwards; } .has-motion .hero[data-dragged] .hero__hint { animation: none; opacity: 0; } }
@keyframes hint-in { to { opacity: .8; } }
.hero__legend { position: absolute; z-index: 1; top: calc(var(--header-h) + var(--space-8)); right: var(--gutter); display: flex; gap: var(--space-5); color: var(--color-text-muted); font-size: var(--fs-micro); }
.hero__legend-item { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__clock { padding-right: var(--space-5); border-right: 1px solid rgb(245 245 242 / .18); color: var(--color-text); }
.hero__clock time { font-variant-numeric: tabular-nums; }
.hero__legend .hero__key { width: .3125rem; height: .3125rem; }
.hero__legend .hero__key--customer { width: .4375rem; height: .4375rem; background: var(--color-dot); box-shadow: 0 0 8px #cdfb5099; }
.hero__states { position: absolute; z-index: 1; top: calc(var(--header-h) + var(--space-8) + 1.75rem); right: var(--gutter); display: grid; padding: 0; color: var(--color-text-muted); font-size: var(--fs-micro); list-style: none; }
.hero__state { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: flex-end; gap: var(--space-2); opacity: 0; transition: opacity var(--dur-ui-slow) var(--ease-out); }
.hero__state:nth-child(1) { opacity: calc(var(--a) - var(--b)); }
.hero__state:nth-child(2) { opacity: var(--b); }
.hero__key { width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--color-text-muted); }
.hero__state:nth-child(1) .hero__key { background: var(--color-text); }
.hero__state:nth-child(2) .hero__key { background: var(--color-dot); box-shadow: 0 0 10px #cdfb5099; }
.hero__title { margin-top: var(--space-2); }
.hero__foot { display: grid; gap: var(--space-8); margin-top: clamp(2.5rem, 1rem + 4vw, 5rem); }
.hero__copy { max-width: 30ch; }
.has-motion .hero__copy[data-reveal=fade] { opacity: 1; transform: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (min-width: 900px) { .hero__actions { margin-right: calc(10.5rem + var(--space-4)); } }
.has-motion .hero__line--a { opacity: calc(1 - (var(--a-out) - var(--end)) * .72); transition: opacity .12s linear; }
.has-motion .hero__line--b { opacity: calc(1 - (var(--a) - var(--b)) * .72); transition: opacity .12s linear; }
@media (min-width: 900px) { .hero__foot { grid-template-columns: 1fr auto; align-items: end; } .hero__line--b { padding-left: 8vw; } }
@media (min-width: 900px) and (max-width: 1439px) { .hero__sticky { padding-bottom: 5.5rem; } }
@media (max-width: 899px) {
  .hero__actions { margin-bottom: 3.75rem; }
  .hero__legend, .hero__states, .hero__hint { display: none; }
  .hero__sphere { inset: auto 0; top: calc(var(--header-h) * .5); height: 60%; -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); mask-image: linear-gradient(#000 55%, transparent 100%); }
  .hero__sticky { padding-block: calc(var(--header-h) + var(--space-8)) var(--space-8); }
  .hero__title { font-size: clamp(2.6rem, 11.2vw, 3.6rem); line-height: .92; }
  .hero__foot { gap: var(--space-6); margin-top: var(--space-6); }
  .hero__copy { max-width: 34ch; }
}

/* ===== Sliding panels (rp): a rounded "sheet" that slides into place as it enters the viewport ===== */
.rp { position: relative; border-radius: var(--rp-radius, 0); background: var(--rp-bg); color: var(--color-text); }
.rp--surface { --rp-bg: var(--gradient-surface), var(--color-surface); }
.rp--space { --rp-bg: var(--gradient-space); --color-text-muted: var(--color-text-muted-on-space); --color-border: rgb(245 245 242 / .18); --color-border-control: rgb(245 245 242 / .45); --btn-secondary-bg: rgb(245 245 242 / .08); --btn-secondary-border: rgb(245 245 242 / .5); }
.rp--bg { --rp-bg: var(--color-bg); }
.rp--under-space { --rp-under: var(--c-purple-700); }
.rp--under-bg { --rp-under: var(--color-bg); }
.rp--r-card { --rp-radius: var(--r-card); }
.rp--r-panel { --rp-radius: var(--r-panel); }
.rp--r-stage { --rp-radius: var(--r-stage); }
.rp__content { position: relative; }
.rp--padded .rp__content { padding: var(--panel-pad); }
.rp--transition { --rp-p: var(--p, 1); isolation: isolate; background: var(--rp-under, none); border-radius: 0; }
.rp__shape { position: absolute; inset: 0; z-index: -1; background: var(--rp-bg); border-radius: var(--r-stage) var(--r-stage) 0 0; }
.has-motion .rp__shape { --q: calc(1 - var(--p, 0)); border-radius: 0; clip-path: inset(calc(var(--q) * var(--space-16)) calc(var(--q) * var(--gutter)) 0 round calc(var(--q) * var(--r-stage))); will-change: clip-path; }
html.bg-morph .rp--transition { background: transparent; }
html.bg-morph .rp--transition .rp__shape { display: none; }
.rp--fade-out .rp__shape::after { content: ""; position: absolute; inset: auto 0 0; height: min(55%, 32rem); background: linear-gradient(to bottom, rgb(8 8 8 / 0), var(--color-bg)); pointer-events: none; }
.rp--peek { --peek-h: 22svh; --peek-left: 48%; }
.has-motion .rp--peek { margin-top: calc(var(--peek-h) * -1); }
.has-motion .rp--peek .rp__content { padding-top: var(--peek-h); }
.has-motion .rp--peek .rp__shape { clip-path: inset(0 calc(var(--q) * var(--gutter)) 0 calc(var(--q) * var(--peek-left)) round calc(var(--q) * var(--r-stage))); }
@media (max-width: 639px) { .rp--peek { --peek-h: 14svh; --peek-left: 38%; } }

/* ===== Fork: "two problems, same result" ===== */
.fork__track { --loss-1: 25%; --loss-2: 75%; --g1: clamp(0, calc((var(--p) - .25) * 7), 1); --g2: clamp(0, calc((var(--p) - .75) * 7), 1); position: relative; height: 5.5rem; margin-block: clamp(3rem, 2rem + 4vw, 6rem) var(--space-8); }
.fork__line { position: absolute; left: 0; right: 0; top: 1.5rem; height: 1px; background: var(--color-border-control); }
.fork__click { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--color-text); }
.fork__click .t-label { position: absolute; left: 50%; bottom: 0; transform: translate(-50%); padding: .2rem .6rem; border: 1px solid var(--color-text); border-radius: var(--r-pill); background: var(--c-purple-700); font-size: var(--fs-micro); }
.fork__loss { position: absolute; top: 1.5rem; width: 1px; height: 2.5rem; background: linear-gradient(var(--color-border-control), transparent); }
.fork__loss--1 { left: var(--loss-1); } .fork__loss--2 { left: var(--loss-2); }
.fork__runner, .fork__ghost { position: absolute; top: 1.5rem; translate: -50% -50%; }
.fork__runner { left: calc(var(--p) * 100%); }
.fork__ghost--1 { left: var(--loss-1); opacity: var(--g1); transform: translateY(calc(var(--g1) * 2.5rem)); }
.fork__ghost--2 { left: var(--loss-2); opacity: var(--g2); transform: translateY(calc(var(--g2) * 2.5rem)); }
.fork__goal { position: absolute; right: 0; top: 1.5rem; translate: 0 -170%; }
.fork__sides { display: grid; gap: var(--space-16); }
.fork__side { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); }
.fork__foot { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); margin-top: auto; padding-top: var(--space-2); }
.fork__statement { max-width: 14ch; }
.fork__services { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; }
.fork__services a { min-height: 2.25rem; text-decoration: none; }
@media (min-width: 900px) { .fork__sides { grid-template-columns: 1fr 1fr; gap: var(--grid-gap); } .fork__side:last-child { padding-left: var(--space-8); } }

/* ===== Journey: pinned road with the customer dot travelling along the funnel ===== */
.journey { --pin: 1; padding-block: var(--section-y); }
.has-motion .journey { --pin: 0; }
.journey__sticky { position: relative; isolation: isolate; }
.journey__sticky::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gradient-glow-top-right); pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%), linear-gradient(to right, transparent 0%, #000 35%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0%, #000 22%), linear-gradient(to right, transparent 0%, #000 35%); mask-composite: intersect; }
.has-motion .journey__sticky::before { opacity: clamp(0, calc((var(--rp-p, 1) - .92) * 12.5), 1); }
.journey__road { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(to top, #000 0%, rgb(0 0 0 / .6) 30%, transparent 62%); mask-image: linear-gradient(to top, #000 0%, rgb(0 0 0 / .6) 30%, transparent 62%); }
.journey__road-lines line { stroke: #f5f5f233; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.journey__road-edges line { stroke: #f5f5f24a; stroke-width: 2; vector-effect: non-scaling-stroke; }
.journey__road-center { stroke: #f5f5f257; stroke-width: 3; stroke-dasharray: 32 54; stroke-dashoffset: calc(var(--pin) * -640); vector-effect: non-scaling-stroke; }
.journey__inner { position: relative; display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); }
.journey__head { display: grid; gap: var(--space-8); }
.journey__copy { max-width: 34ch; color: var(--color-text-muted); }
.journey__map { --jp: var(--p); }
.journey__track { position: relative; }
.journey__phases { display: none; }
.journey__rail { position: absolute; left: .5rem; top: .75rem; bottom: .75rem; width: 1px; background: var(--color-border-control); }
.journey__fill { position: absolute; inset: 0; background: var(--color-text); transform-origin: top; transform: scaleY(var(--jp)); }
.journey__dot { position: absolute; left: 0; top: calc(var(--jp) * 100%); translate: -50% -50%; }
.journey__steps { display: grid; gap: var(--space-8); padding: 0 0 0 var(--space-12); list-style: none; }
.journey__step { --r: clamp(0, calc((var(--jp) - var(--at)) * 30 + 1), 1); position: relative; display: flex; align-items: center; gap: var(--space-4); min-height: 2.5rem; opacity: calc(.35 + var(--r) * .65); transition: opacity var(--dur-ui) var(--ease-out); }
.journey__node { position: absolute; left: calc(var(--space-12) * -1 + .5rem); width: .625rem; height: .625rem; border: 1px solid color-mix(in srgb, var(--color-dot) calc(var(--r) * 100%), var(--color-text)); border-radius: 50%; background: color-mix(in srgb, var(--color-dot) calc(var(--r) * 100%), var(--color-bg)); translate: -50% 0; transition: background-color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out); }
.journey__label { font-size: var(--fs-h3); font-weight: var(--fw-semibold); line-height: 1.1; letter-spacing: -.025em; }
.journey__click { position: absolute; left: 0; top: calc(var(--space-8) / -2); translate: 0 -50%; padding: .15rem .5rem; border: 1px solid var(--color-text); border-radius: var(--r-pill); background: var(--color-bg); font-size: var(--fs-micro); z-index: 1; }
@media (min-width: 900px) {
  .journey__map { --col: calc(100% / var(--steps)); --jp: min(1, calc(var(--pin) * 1.2)); }
  .has-motion .journey { height: 280vh; padding-block: 0; }
  .has-motion .journey__sticky { position: sticky; top: 0; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding-block: calc(var(--header-h) + var(--space-8)) var(--space-8); }
  .journey__head { grid-template-columns: 8fr 4fr; align-items: end; gap: var(--grid-gap); }
  .journey__copy { justify-self: end; }
  .journey__phases { display: grid; grid-template-columns: 3fr 4fr; margin-bottom: var(--space-8); color: var(--color-text-muted); }
  .journey__phases span + span { padding-left: var(--space-4); }
  .journey__rail { left: calc(var(--col) / 2); right: calc(var(--col) / 2); top: 1.8125rem; bottom: auto; width: auto; height: 1px; }
  .journey__fill { transform-origin: left; transform: scaleX(var(--jp)); }
  .journey__dot { left: calc(var(--jp) * 100%); top: 0; }
  .journey__steps { grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); gap: 0; padding: 0; }
  .journey__step { flex-direction: column; align-items: center; gap: var(--space-6); padding-top: 1.5rem; text-align: center; }
  .journey__node { position: static; translate: none; }
  .journey__label { font-size: clamp(.8125rem, 1.3vw, 1.375rem); white-space: nowrap; }
  .journey__click { left: 0; top: 1.8125rem; translate: -50% -50%; }
}

/* ===== Deck: flipping, fanning cards pinned while scrolling ===== */
.deck { position: relative; height: calc(100vh + var(--n) * 55vh); }
.deck__sticky { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding-block: calc(var(--header-h) + var(--space-2)) var(--space-6); }
.deck .deck__sticky .deck__head { margin-bottom: clamp(1.25rem, .75rem + 1.5vw, 2.25rem); }
.deck__stage { --cols: var(--grid-cols); display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--grid-gap); perspective: 1600px; }
.deck-card { min-width: 0; --k: clamp(0, calc((var(--deck, 0) - var(--start)) / var(--dur)), 1); --lift: calc(var(--k) * (1 - var(--k)) * 4); position: relative; z-index: calc(10 - var(--i)); transform: translate(calc((1 - var(--k)) * var(--fan-x))) translateY(calc((1 - var(--k)) * var(--fan-y) - var(--lift) * 1.5rem)) rotate(calc((1 - var(--k)) * var(--fan-r))); transform-origin: 50% 110%; will-change: transform; }
.deck-card__inner { display: grid; height: 100%; transform-style: preserve-3d; transform: rotateY(calc((1 - var(--k)) * 180deg)) scale(calc(1 + var(--lift) * .04)); }
.deck-card__face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-panel); }
.deck .deck-card .deck-card__front { min-height: 0; }
.deck-card__mirror { position: static; align-self: flex-end; margin-top: auto; padding-top: var(--space-2); font-size: var(--fs-ui); font-weight: var(--fw-semibold); line-height: 1; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--color-text-muted); white-space: nowrap; transform: rotate(180deg); }
.deck-card__back { position: relative; overflow: hidden; transform: rotateY(180deg); background: radial-gradient(circle at 50% 46%, rgb(189 108 247 / .28) 0%, rgb(60 28 126 / .18) 34%, transparent 62%), radial-gradient(rgb(245 245 242 / .13) .9px, transparent 1.2px) 0 0 / 11px 11px, linear-gradient(160deg, #1a0f33, #0b0716 55%, #08080a); box-shadow: inset 0 0 0 1px #bd6cf759, 0 30px 60px -30px #000c; }
.deck-card__frame { position: absolute; inset: 12px; border: 1px solid rgb(245 245 242 / .18); border-radius: calc(var(--r-panel) - 8px); }
.deck-card__frame::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgb(189 108 247 / .25); border-radius: inherit; }
.deck-card__crest { position: absolute; inset: 0; display: grid; place-items: center; }
.deck-card__crest::before { content: ""; position: absolute; width: 52%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(245 245 242 / .22); box-shadow: 0 0 0 10px #3c1c7e40, 0 0 0 11px #f5f5f21a; }
.deck-card__crest .symbol { position: relative; width: 34%; filter: drop-shadow(0 0 18px rgb(205 251 80 / .35)); }
.deck-card__index { position: absolute; top: 26px; left: 26px; display: grid; gap: 2px; font-size: var(--fs-ui); font-weight: var(--fw-semibold); letter-spacing: var(--ls-label); color: var(--color-action); }
.deck-card__index small { font-size: .68rem; color: #f5f5f2b3; text-transform: uppercase; }
.deck-card__index--flip { inset: auto 26px 26px auto; transform: rotate(180deg); }
.deck .deck-card .service { gap: var(--space-3); padding: clamp(1.25rem, .75rem + 1.2vw, 2rem); }
.deck .deck-card .service--long .service__title { font-size: clamp(1.05rem, .55rem + 1.05vw, 1.6rem); line-height: 1.05; overflow-wrap: normal; hyphens: manual; }
.deck .deck-card .service__visual { margin-bottom: 0; max-width: 22rem; }
.deck .deck-card .service__cta { padding-top: var(--space-4); }
@media (min-width: 900px) and (max-height: 820px) { .deck .deck-card .service__visual { display: none; } }
@media (max-width: 899px) {
  .deck { height: auto; }
  .deck__sticky { position: static; min-height: 0; padding-block: var(--section-y); }
  .deck__stage { grid-template-columns: 1fr; gap: var(--space-5); perspective: none; }
  .deck-card { --k: 1; --cover: 0; position: sticky; top: calc(var(--space-5) + var(--i) * .75rem); z-index: calc(1 + var(--i)); transform: scale(calc(1 - var(--cover) * .06)); transform-origin: 50% 0; }
  .deck-card__inner { transform: none; }
  .deck-card__back { display: none; }
  .deck-card__front { position: relative; box-shadow: inset 0 0 0 1px #f5f5f214, 0 -24px 48px -24px #080808cc; }
  .deck-card__front::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-black-900); opacity: calc(var(--cover) * .55); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .deck { height: auto; } .deck__sticky { position: static; } .deck-card, .deck-card__inner { transform: none; } .deck-card__back { display: none; } }
@media (min-width: 900px) and (max-height: 760px) { .deck__sticky { padding-top: var(--header-h) !important; padding-bottom: var(--space-3) !important; } .deck .deck-card .service, .deck .deck-card .solution { gap: var(--space-2); } .deck-card__mirror { padding-top: 0; } }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) { .deck-card__front { opacity: clamp(0, calc((var(--k) - .5) * 1000), 1); } }

/* Solutions (two big cards) */
.solutions { padding-block: var(--section-y); }
.solutions__head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.solutions__panels { display: grid; gap: var(--grid-gap); }
.solution { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--panel-pad); border-radius: var(--r-panel); background: var(--gradient-panel); box-shadow: inset 0 0 0 1px #f5f5f214; --color-text-muted: var(--color-text-muted-default); --color-border: var(--color-border-default); }
.solution__title { margin-bottom: 0; }
.solution__visual { max-width: 30rem; margin-block: var(--space-2) var(--space-4); }
.solution__list { display: grid; margin-bottom: var(--space-8); padding: 0; list-style: none; border-top: 1px solid var(--color-border); }
.solution__link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4rem; border-bottom: 1px solid var(--color-border); font-size: var(--fs-h3); font-weight: var(--fw-semibold); letter-spacing: -.025em; text-decoration: none; }
.solution__cta { margin-top: auto; }
@media (min-width: 900px) { .solutions__panels { grid-template-columns: 1fr 1fr; } .solution { min-height: 36rem; } }
.solutions.deck__sticky { padding-block: calc(var(--header-h) + var(--space-2)) var(--space-6); }
.solutions__head.deck__head { margin-bottom: clamp(1.25rem, .75rem + 1.5vw, 2.25rem); }
@media (min-width: 900px) { .deck--solutions .solution { min-height: 0; gap: var(--space-3); padding: clamp(1.25rem, .75rem + 1.3vw, 2.25rem); } .deck--solutions .solution__visual { max-width: 22rem; } }
@media (min-width: 900px) and (max-height: 960px) { .deck--solutions .solution__visual { display: none; } .deck--solutions .solution__title { font-size: clamp(2rem, 1rem + 4.5vh, 4rem); } }
@media (max-width: 899px) { .solutions.deck__sticky { padding-block: var(--section-y); } }
@media (max-width: 419px) { .solution__link { font-size: clamp(.95rem, .5rem + 3.4vw, 1.1rem); } }

/* Service cards (used inside decks and stacks) */
.services { padding-block: var(--section-y); }
.services__head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.services__grid { --cols: 1; display: grid; gap: var(--grid-gap); }
.service { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--panel-pad); border-radius: var(--r-panel); background: var(--gradient-panel); box-shadow: inset 0 0 0 1px #f5f5f214; --color-text-muted: var(--color-text-muted-default); --color-border: var(--color-border-default); }
.service__visual { width: 100%; max-width: 30rem; margin-bottom: var(--space-3); }
.service__title { font-size: min(var(--fs-h2), calc(6.4vw / var(--cols)), 2.6rem); overflow-wrap: break-word; hyphens: manual; font-weight: var(--fw-display); text-transform: uppercase; letter-spacing: var(--ls-heading); }
.service__claim { font-weight: var(--fw-semibold); }
.service__text { max-width: 38ch; color: var(--color-text-muted); }
.service__cta { margin-top: auto; padding-top: var(--space-6); }
@media (max-width: 899px) { .service__title { font-size: var(--fs-h2); } }
@media (min-width: 900px) { .services__grid { --cols: var(--grid-cols); grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); } .service { min-height: var(--service-min-h, 30rem); } }
.services--stack .services__grid { grid-template-columns: 1fr; gap: var(--space-6); }
.services--stack .service { --cover: 0; position: sticky; top: calc(var(--header-h) + var(--space-8) + var(--i) * var(--space-5)); min-height: 0; box-shadow: inset 0 0 0 1px #f5f5f214, 0 -24px 48px -24px #080808cc; transform: scale(calc(1 - var(--cover) * .07)); transform-origin: 50% 0; will-change: transform; }
.services--stack .service::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-black-900); opacity: calc(var(--cover) * .55); pointer-events: none; }
.services--stack .service__title { font-size: var(--fs-h2); }
.services--stack .service--long .service__title { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.75rem); overflow-wrap: break-word; line-height: 1.02; }
@media (min-width: 900px) {
  .services--stack { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--grid-gap); align-items: start; }
  .services--stack .services__head { position: sticky; top: calc(var(--header-h) + var(--space-8)); margin-bottom: 0; }
  .services--stack .services__head .line { white-space: normal; }
  .services--stack .services__head.is-linked .line__inner { opacity: .32; transition: opacity var(--dur-ui-slow) var(--ease-out), transform 1.1s var(--ease-out); }
  .services--stack .services__head.is-linked .line.is-active .line__inner { opacity: 1; background: linear-gradient(90deg, var(--color-text) 0%, var(--color-action) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .services--stack .services__grid { --cols: 1; grid-template-columns: 1fr; }
  .services--stack .service { min-height: 22rem; }
}

/* ===== Cases: featured case + project index ===== */
.cases { padding-block: var(--section-y); }
.cases__head { margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.cases__more { margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
.fcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); padding: clamp(1.25rem, .8rem + 1.6vw, 2.25rem); border: 1px solid rgb(205 251 80 / .25); border-radius: 32px; background: radial-gradient(120% 140% at 0% 0%, rgb(205 251 80 / .08), transparent 55%), #ffffff06; color: inherit; text-decoration: none; transition: border-color .4s var(--ease-out), transform .6s var(--ease-out); }
.fcase:hover { border-color: #cdfb508c; }
.fcase__label { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); }
.fcase__pill { padding: .32rem .75rem; border-radius: 999px; background: var(--color-action); color: var(--color-on-action); font-weight: 800; box-shadow: 0 0 20px #cdfb5066; }
.fcase__title { margin: 0; font-weight: 800; font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.6rem); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.fcase__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 1.2rem 0 1.8rem; color: var(--color-text-muted); }
.fcase__meta strong { color: var(--color-text); }
.fcase__media { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #111; }
.fcase__media video, .fcase__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.fcase:hover .fcase__media video, .fcase:hover .fcase__media img { transform: scale(1.06); }
@media (max-width: 899px) { .fcase { grid-template-columns: 1fr; } .fcase__media { order: -1; } }
.pix { position: relative; }
.pix__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-border-control); }
.pix__item { border-bottom: 1px solid var(--color-border-control); }
.pix__row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: var(--space-4) var(--space-6); padding-block: clamp(1.75rem, 1rem + 2vw, 2.75rem); color: inherit; text-decoration: none; transition: opacity var(--dur-ui-slow) var(--ease-out); }
.pix__num { display: none; color: var(--color-text-muted); }
.pix__main { display: grid; gap: var(--space-3); min-width: 0; }
.pix__engpass { position: relative; margin: 0; max-width: 22ch; font-size: clamp(1.5rem, .9rem + 2.4vw, 3.25rem); font-weight: var(--fw-display); line-height: 1.02; letter-spacing: var(--ls-heading); text-transform: uppercase; text-wrap: balance; transition: transform var(--dur-ui-slow) var(--ease-out); }
.pix__dot { position: absolute; top: .42em; left: -.2em; width: .24em; height: .24em; border-radius: 50%; background: var(--color-dot); box-shadow: 0 0 .4em #cdfb50b3; opacity: 0; transform: scale(.3); transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui-slow) var(--ease-out); }
.pix__meta { display: flex; flex-wrap: wrap; gap: 0 var(--space-3); color: var(--color-text-muted); font-size: var(--fs-small); }
.pix__meta > * + *::before { content: "·"; margin-right: var(--space-3); }
.pix__client { color: var(--color-text); font-weight: var(--fw-semibold); }
.pix__cat { display: none; color: var(--color-text-muted); }
.pix__arrow { align-self: start; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--color-border-control); border-radius: 50%; transition: border-color var(--dur-ui) var(--ease-out), background-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out); }
.pix__media { grid-column: 1 / -1; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-media); background: var(--color-surface); }
.pix__media img, .pix__media video { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(.7) brightness(.55); transition: filter .7s var(--ease-out); }
.pix__item.is-active .pix__media :is(img, video) { filter: none; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .pix__row { --slot: clamp(15rem, 24vw, 23rem); grid-template-columns: 3.5rem minmax(0, 1fr) var(--slot) 2.75rem; align-items: center; column-gap: var(--grid-gap); padding-block: clamp(1.25rem, .8rem + 1vw, 1.75rem); }
  .pix__num { display: block; align-self: start; padding-top: .6em; }
  .pix__cat { display: block; grid-column: 3; justify-self: end; text-align: right; transition: opacity var(--dur-ui) var(--ease-out); }
  .pix__media { position: absolute; top: 0; right: 0; bottom: 0; display: block; width: calc(var(--slot) + 2.75rem + var(--grid-gap)); aspect-ratio: auto; border-radius: 0; clip-path: inset(50% 0 50% 0); transition: clip-path .62s cubic-bezier(.65, 0, .25, 1); }
  .pix__media :is(img, video) { filter: none; transform: scale(1.06); transition: transform .9s var(--ease-out); }
  .pix__arrow { position: relative; z-index: 1; background: #0808088c; }
  .pix:has(.pix__row:hover) .pix__row:not(:hover) { opacity: .32; }
  .pix__row:hover .pix__engpass { transform: translate(.55em); }
  .pix__row:hover .pix__dot { opacity: 1; transform: translate(-.55em) scale(1); }
  .pix__row:hover .pix__cat { opacity: 0; }
  .pix__row:hover .pix__media { clip-path: inset(0 0 0 0); }
  .pix__row:hover .pix__media :is(img, video) { transform: none; }
  .pix__row:hover .pix__arrow { border-color: var(--color-action); background: var(--color-action); color: var(--color-on-action); }
}
@media (max-width: 899px) { .pix__meta { flex-direction: column; gap: .15rem; } .pix__meta > span + span { display: none; } .pix__meta > span:first-of-type::before { content: none; } }
a.pix__row:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--r-sm); }

/* ===== Clients marquee / grid ===== */
.clients { --card-w: clamp(11rem, 9rem + 5vw, 15rem); --card-h: clamp(5.5rem, 4.75rem + 2vw, 7rem); --gap: clamp(.75rem, .5rem + .8vw, 1.25rem); padding-block: clamp(4rem, 2.5rem + 4vw, 7rem); }
.clients__head { margin-bottom: clamp(2rem, 1.25rem + 2vw, 3.25rem); }
.clients__card { position: relative; display: grid; place-items: center; flex: none; width: var(--card-w); height: var(--card-h); padding: var(--space-4); border-radius: calc(var(--r-panel) * .6); background: radial-gradient(120% 140% at 0% 0%, rgb(60 28 126 / .16), transparent 55%), linear-gradient(160deg, #151418, #0f0f11); box-shadow: inset 0 0 0 1px #f5f5f214; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.clients__logo { display: block; height: calc(var(--h, 44px) * var(--logo-scale, .82)); width: auto; max-width: 100%; max-height: 3.25rem; object-fit: contain; opacity: .6; transition: opacity .35s var(--ease-out); filter: brightness(0) invert(1); }
.clients__logo--color { filter: none; }
@media (hover: hover) { .clients__card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #cdfb5066, 0 18px 40px -22px #cdfb5059; } .clients__card:hover .clients__logo { opacity: 1; } }
.clients__rows { display: grid; gap: var(--gap); }
.clients__viewport { overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients__track { display: flex; width: max-content; gap: var(--gap); }
.clients__viewport--reverse .clients__track { margin-left: calc(var(--card-w) / -2); }
@media (prefers-reduced-motion: no-preference) {
  .clients__track { animation: clients-run 60s linear infinite paused; }
  .clients__viewport--reverse .clients__track { animation-name: clients-run-reverse; animation-duration: 66s; }
  .clients__viewport.is-inview .clients__track { animation-play-state: running; }
  @media (hover: hover) { .clients__viewport:hover .clients__track { animation-play-state: paused; } }
}
@keyframes clients-run { 0% { transform: translate(0); } to { transform: translate(calc(-50% - var(--gap) / 2)); } }
@keyframes clients-run-reverse { 0% { transform: translate(calc(-50% - var(--gap) / 2)); } to { transform: translate(0); } }
@media (prefers-reduced-motion: reduce) { .clients__track { flex-wrap: wrap; justify-content: center; width: auto; margin-left: 0 !important; } .clients__card[aria-hidden=true] { display: none; } }
.clients__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.clients__grid .clients__card { width: auto; }
@media (min-width: 700px) { .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .clients__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.clients__more { display: flex; align-items: center; justify-content: center; gap: var(--space-3); color: var(--color-text-muted); font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem); font-weight: var(--fw-semibold); letter-spacing: -.01em; }
.clients__more-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--color-dot); box-shadow: 0 0 12px #cdfb5099; }

/* ===== Stance: sentences that assemble word by word while pinned ===== */
.stance { --pin: 1; padding-block: var(--section-y); }
.stance__stage { display: grid; gap: var(--space-10); justify-items: center; text-align: center; }
.stance__sentence { max-width: 24ch; margin: 0; font-size: clamp(1.75rem, .9rem + 3.2vw, 4.25rem); overflow-wrap: break-word; font-weight: var(--fw-semibold); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.w--lead { color: var(--color-text-muted); }
.stance__steps { display: none; }
.has-motion .stance { --pin: 0; height: calc(var(--n) * 90vh + 100vh); padding-block: 0; }
.has-motion .stance__sticky { position: sticky; top: 0; display: grid; align-items: center; min-height: 100vh; min-height: 100svh; background: radial-gradient(48% 42% at 50% 50%, #3c1c7e8c, #3c1c7e00); }
.has-motion .stance__stage { grid-template-areas: "stage" "steps"; }
.has-motion .stance__sentence { --raw: calc(var(--pin) * var(--n) - var(--i)); --in: clamp(0, calc((var(--raw) - .06) * 12), 1); --out: clamp(0, calc((var(--raw) - .8) * 7.5), 1); grid-area: stage; opacity: calc(var(--in) * (1 - var(--out))); transform: translateY(calc(var(--out) * -3rem + (1 - var(--in)) * 1.5rem)); }
.has-motion .stance__sentence[data-state=future], .has-motion .stance__sentence[data-state=past] { visibility: hidden; }
.has-motion .stance__sentence--last { --out: 0; }
.has-motion .stance__sentence .w { opacity: calc(.12 + clamp(0, calc((var(--raw) * 1.35 - var(--at)) * 7), 1) * .88); }
.has-motion .stance__steps { grid-area: steps; display: flex; gap: var(--space-3); padding: 0; margin: 0; list-style: none; }
.has-motion .stance__steps li { --on: clamp(0, calc((var(--pin) * var(--n) - var(--i)) * 12), 1); width: .375rem; height: .375rem; border-radius: 50%; background: color-mix(in srgb, var(--color-dot) calc(var(--on) * 100%), rgb(245 245 242 / .25)); }

/* ===== Strategy panel + chain ===== */
.strategy__panel { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); padding: var(--panel-pad); border-radius: var(--r-stage); background: var(--gradient-panel); box-shadow: inset 0 0 0 1px #f5f5f20f; }
.strategy__foot { display: grid; gap: var(--space-8); justify-items: start; }
.chain { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2) 0; padding: 0; list-style: none; }
.chain__step { position: relative; display: inline-flex; align-items: center; gap: var(--space-3); min-height: 2.5rem; color: var(--color-text-muted); font-size: var(--fs-body); font-weight: var(--fw-semibold); }
.chain__step[data-first] { color: var(--color-text); }
.chain__step + .chain__step { margin-top: var(--space-4); }
.chain__step + .chain__step::before { content: "↓"; position: absolute; left: .2rem; top: calc(var(--space-4) * -1 - .35rem); color: var(--color-text-muted); line-height: 1; font-size: var(--fs-small); }
@media (min-width: 640px) { .chain { flex-direction: row; align-items: center; } .chain__step + .chain__step { margin-top: 0; margin-left: var(--space-10); } .chain__step + .chain__step::before { content: "→"; left: calc(var(--space-10) * -.5); top: 50%; translate: -50% -50%; } }
@media (min-width: 900px) { .strategy__foot { grid-template-columns: 1fr auto; align-items: center; } }

/* ===== Process rail ===== */
.process__inner { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); }
.process__track { position: relative; padding-left: clamp(2.5rem, 1.5rem + 3vw, 5rem); }
.process__rail { position: absolute; left: .5rem; top: .5em; bottom: .5em; width: 1px; background: var(--color-border-control); }
.process__fill { position: absolute; inset: 0; background: var(--color-text); transform-origin: top; transform: scaleY(var(--p)); }
.process__dot { position: absolute; left: 0; top: calc(var(--p) * 100%); translate: -50% -50%; }
.process__steps { container-type: inline-size; display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); padding: 0; list-style: none; }
.process__step { --r: clamp(0, calc((var(--p) - var(--at)) * 30 + 1), 1); display: grid; gap: var(--space-2); opacity: calc(.28 + var(--r) * .72); transition: opacity var(--dur-ui) var(--ease-out); }
.process__num { color: var(--color-text-muted); }
.process__name { font-size: min(var(--fs-display-l), 12.5cqi); }
.process__text { max-width: 40ch; color: var(--color-text-muted); grid-column: 2; }
@media (min-width: 900px) {
  .process__head .line { white-space: nowrap; }
  .process__head .lines { font-size: min(var(--fs-h2), 4.6vw); }
  .process__name { font-size: min(var(--fs-display-l), 6.2vw, calc((100cqi - 4rem) / 8)); }
  .process__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--grid-gap); align-items: start; }
  .process__head { position: sticky; top: calc(var(--header-h) + var(--space-12)); }
  .process__step { grid-template-columns: 4rem 1fr; align-items: baseline; }
}
@media (min-width: 900px) and (max-width: 1279px) { .process__name { font-size: min(4.6vw, calc((100cqi - 4rem) / 8)); } }
@media (max-width: 899px) { .process__text { grid-column: 1; } }

/* ===== Agency teaser (home) ===== */
.agency__inner { display: grid; gap: var(--space-12); }
.agency__visual { position: relative; overflow: hidden; border-radius: var(--r-media); aspect-ratio: 4 / 5; background: var(--color-surface); --e: min(1, calc(var(--p) * 2.4)); }
.agency__img { width: 100%; height: 100%; object-fit: cover; }
.has-motion .agency__visual { clip-path: inset(calc((1 - var(--e)) * 7%) calc((1 - var(--e)) * 6%) round var(--r-media)); }
.has-motion .agency__img { transform: translate3d(0, calc((.5 - var(--p)) * 10%), 0) scale(1.12); will-change: transform; }
.agency__text { display: grid; gap: var(--space-8); align-content: end; justify-items: start; }
.agency__copy { max-width: 30ch; }
.agency__logo { margin: 0; line-height: 0; }
.agency__logo .logo { --logo-w: clamp(15rem, 9rem + 16vw, 26rem); min-height: 0; }
.has-motion .agency__logo .logo__dot { --k: clamp(0, calc(var(--p, 1) / .82), 1); --land: clamp(0, calc(1 - (max(var(--p, 1) - .86, .86 - var(--p, 1)) * 9)), 1); transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(calc((1 - var(--k)) * (1 - var(--k)) * -240px)) scale(calc(1 + (1 - var(--k)) * .6 + var(--land) * .18), calc(1 + (1 - var(--k)) * .6 - var(--land) * .22)); filter: drop-shadow(0 0 calc((1 - var(--k)) * 10px + 2px) rgb(205 251 80 / .7)); }
.agency__logo .logo__svg { overflow: visible; }
@media (min-width: 900px) { .agency__inner { grid-template-columns: 5fr 7fr; column-gap: calc(var(--grid-gap) * 3); align-items: end; } }

/* ===== Check CTA (closing section) ===== */
.check-cta { padding-block: var(--section-y); }
@media (min-width: 900px) { .check__head .line { white-space: nowrap; } }
.check__entries { margin-block: clamp(3rem, 2rem + 4vw, 5rem); padding: 0; list-style: none; border-top: 1px solid var(--color-border); }
.check__entry { display: flex; align-items: center; gap: 0; min-height: clamp(4.5rem, 3.5rem + 3vw, 7rem); border-bottom: 1px solid var(--color-border); font-size: var(--fs-h2); font-weight: var(--fw-display); line-height: 1; letter-spacing: var(--ls-heading); text-transform: uppercase; text-decoration: none; }
.check__label { flex: 1; }
.check__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
