/* Katars design system
   Light, inset hero with the dune; black rounded buttons; mono labels; no icons.
   Loaded on every page. Story and legal pages also load the legacy styles.css
   for their article layouts; this file is loaded after it and wins on shared pieces. */

:root {
  --ink: #111111;
  --mid: #6b6b6b;
  --muted: #a8a8a8;
  --line: #ececec;
  --card: #f2f0ed;
  --black: #0e0b09;
  --white: #ffffff;
  --o: #fb8b4b;
  --o-deep: #f1584b;
  --sunset: linear-gradient(135deg, #FFC44D 0%, #FB8B4B 55%, #F1584B 100%);
  --max: 1400px;
  --side: clamp(14px, 2.2vw, 28px);
  --r: 24px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --spring: cubic-bezier(.22, 1, .36, 1);
  --sans: "Public Sans", Arial, sans-serif;
  --display: Archivo, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; background: var(--black); }
html.inner::before { content: none; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.skip-link { position: fixed; z-index: 9999; left: 20px; top: 10px; padding: 10px 18px; border-radius: 12px; background: #fff; color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
::selection { background: #ffd9c2; color: var(--ink); }

/* Type and layout primitives */
.h { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.dim { color: #9a948d; }
.mono { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.eb { color: var(--mid); }
.page { width: min(calc(100% - var(--side) * 2), var(--max)); margin-inline: auto; }
.page--narrow { max-width: 1120px; }
.page--footer { padding-bottom: 0; width: auto; max-width: none; margin: 0; }
.section { padding: 130px 0 0; }
.section--tight { padding-top: 130px; }
.sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; }
.sh h2 { font-size: clamp(38px, 4.1vw, 58px); }
.sh p { max-width: 380px; color: var(--mid); font-size: 16px; line-height: 1.55; }
.sh p.mono { max-width: none; font-size: 10.5px; line-height: 1.5; }
.sh p.mono + h2 { margin-top: 14px; }
.placeholder { background: repeating-linear-gradient(135deg, rgba(251,174,23,.18) 0 7px, transparent 7px 14px); border-radius: 6px; padding: 0 5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: transform .35s var(--spring), background .25s var(--ease), box-shadow .35s var(--spring), color .25s var(--ease); }
.btn--light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--white { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 13.5px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); background: #000; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
  .btn--light:hover, .btn--white:hover { background: #fff; box-shadow: inset 0 0 0 1px #d9d9d9, 0 10px 24px rgba(0,0,0,.08); }
}
.btn:active { transform: scale(.97); transition-duration: .1s; }

/* Header */
.site-header { display: flow-root; position: sticky; z-index: 1000; top: 0; background: #fff; transition: box-shadow .25s ease, transform .45s var(--spring); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.topbar { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: auto; height: 34px; transform: translateY(-7.3%); } /* centers the wordmark, not the blade, on the menu text */
.nav-primary { display: flex; align-items: center; gap: 26px; font-size: 13.5px; font-weight: 500; }
.nav-secondary { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 13.5px; font-weight: 500; }
.nav-link { position: relative; transition: opacity .2s ease; }
.nav-menu { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; padding: 24px 0; border: 0; background: none; cursor: pointer; font-size: 13.5px; font-weight: 500; transition: opacity .2s ease; }
@media (hover: hover) and (pointer: fine) { .nav-link:hover, .nav-trigger:hover { opacity: .55; } }
.mega-menu { position: absolute; top: calc(100% - 8px); left: -12px; width: 340px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: 24px 0; transition: opacity .22s var(--ease), transform .3s var(--spring), visibility 0s .22s; }
.nav-menu.is-open .mega-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-menu--wide { width: 600px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; transition: background .15s ease; }
@media (hover: hover) and (pointer: fine) { .mega-menu a:hover { background: var(--card); } }
.mega-menu .n { flex: none; width: 26px; padding-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 10.5px; }
.mega-menu b { display: block; font-size: 14px; font-weight: 600; }
.mega-menu small { display: block; margin-top: 2px; color: var(--mid); font-size: 12px; line-height: 1.3; }
.mobile-toggle { display: none; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; margin-top: 8px; border-radius: 28px; background: var(--card); min-height: 760px; overflow: hidden; text-align: center; isolation: isolate; }
.hero--bleed { margin-top: 0; border-radius: 0 0 28px 28px; min-height: 800px; height: max(800px, 88vh); max-height: 1000px; }
.hero--bleed .hero-copy { padding-top: 96px; }
/* full-bleed: size the dune by the hero's height, anchor it to the bottom and let it overflow the sides,
   so on wide or short screens the peak never climbs into the copy */
.hero--bleed .dune { left: 50%; bottom: -16%; width: auto; height: 62%; min-width: 100%; --px: 0px; --py: 0px; transform: translate(calc(-50% + var(--px)), var(--py)) scale(1.02); }
.hero--bleed canvas.dune { height: 62%; width: auto; }
@media (min-aspect-ratio: 21/10) { .hero--bleed .dune { height: 58%; bottom: -14%; } }
.dune { position: absolute; z-index: 0; left: -3%; bottom: -16%; width: 106%; max-width: none; height: auto; display: block; pointer-events: none; --px: 0px; --py: 0px; transform: translate(var(--px), var(--py)) scale(1.02); transition: transform .8s var(--spring), opacity .6s var(--ease); will-change: transform; }
canvas.dune { aspect-ratio: 1344 / 576; transform: scale(1.02); }
.hero-copy { position: relative; z-index: 2; padding: 84px 20px 0; }
.hero-kicker { color: var(--mid); margin-bottom: 26px; }
.hero h1 { font-size: clamp(50px, 7.2vw, 104px); letter-spacing: -.055em; line-height: .95; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; }
.hero-sub { max-width: 520px; margin: 22px auto 26px; font-size: 16px; line-height: 1.55; color: #4a4a4a; }
.hero-trust { margin-top: 18px; font-size: 13px; color: var(--mid); }
.hero-trust a { color: var(--ink); font-weight: 500; transition: opacity .2s ease; }
@media (hover: hover) and (pointer: fine) { .hero-trust a:hover { opacity: .6; } }
.hero-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.links3 { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1040px, 86%); display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 22px 22px 0 0; padding: 8px 8px 0; box-shadow: 0 -18px 40px -24px rgba(60,25,10,.35); }
.lk { position: relative; padding: 20px 22px 24px; display: flex; flex-direction: column; text-align: left; border-radius: 16px; transition: background .3s ease; }
/* soft inset dividers instead of full-height borders */
.lk + .lk::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--line); transition: opacity .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .lk:hover { background: var(--card); }
  .lk:hover::before, .lk:hover + .lk::before { opacity: 0; }
  .lk:hover .thumb { transform: translateY(-3px) scale(1.03); }
  .lk:hover .t::after { opacity: 1; transform: none; }
}
.lk .t { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--mid); }
.lk .t::after { content: "\2192"; font-size: 14px; color: var(--ink); opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .4s var(--spring); }
.lk .b { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 16px; }
.lk .b strong { font: 500 21px/1.15 var(--display); letter-spacing: -.025em; }
.thumb { flex: none; width: 72px; height: 72px; border-radius: 18px; background: var(--black); position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 8px 18px -10px rgba(40,15,5,.5); transition: transform .45s var(--spring); }
/* rising bars: three muted, the last in the brand orange */
.thumb--bars { display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding: 0 0 15px; }
.thumb--bars b { width: 8px; height: calc(var(--h) * .5); border-radius: 3px; background: rgba(255,255,255,.2); }
.thumb--bars b:nth-child(3) { background: rgba(251,139,75,.55); }
.thumb--bars b:last-child { background: linear-gradient(180deg, #fb8b4b, #fc5b2a); }
.thumb--photo { background-size: cover; background-position: center; }
.thumb--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14,11,9,.35)); }
.thumb--sunset { background: var(--sunset); }
/* guarantee: a 90 day count in the brand orange */
.thumb--days { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.thumb--days b { font: 600 27px/1 var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, #fb8b4b, #fc5b2a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.thumb--days small { margin-top: 3px; font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* thumbnails loop once the strip is in: bars climb in turn, the guarantee ring fills while the days count up */
.thumb--days svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.thumb--days circle { fill: none; stroke-width: 2.4; }
.thumb--days .trk { stroke: rgba(255,255,255,.08); }
.thumb--days .arc { stroke: #fb8b4b; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.thumb--days b, .thumb--days small { position: relative; font-variant-numeric: tabular-nums; }
.links3.go .thumb--bars b { transform-origin: bottom; animation: thumbBar 3.6s var(--spring) infinite; }
.links3.go .thumb--bars b:nth-child(2) { animation-delay: .12s; }
.links3.go .thumb--bars b:nth-child(3) { animation-delay: .24s; }
.links3.go .thumb--bars b:nth-child(4) { animation-delay: .36s; }
@keyframes thumbBar { 0% { transform: scaleY(.12); } 22%, 72% { transform: scaleY(1); } 92%, 100% { transform: scaleY(.12); } }
.links3.pre .thumb--days .arc { stroke-dashoffset: 100; }
.links3.go .thumb--days .arc { animation: thumbRing 5s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes thumbRing { 0% { stroke-dashoffset: 100; opacity: 1; } 50%, 86% { stroke-dashoffset: 0; opacity: 1; } 96% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 100; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .links3.go .thumb--bars b, .links3.go .thumb--days .arc { animation: none; } }

/* Hero choreography: runs once the page script marks the document ready */
[data-hero] { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .7s var(--spring); }
/* the link strip rises from below the hero edge rather than fading */
.links3[data-hero] { opacity: 1; transform: translate(-50%, 110%); transition: transform .8s var(--spring); }
.hero h1 .line > span { transform: translateY(110%); transition: transform 1.1s var(--spring); }
.hero h1 .line[data-hero] { opacity: 1; transform: none; }
html:not(.is-ready) .dune { opacity: 0; transform: translateY(70px) scale(1.02); }
/* the full-bleed dune is centred with -50%, so it keeps that while it rises */
html:not(.is-ready) .hero--bleed .dune { transform: translate(-50%, 70px) scale(1.02); }
html.is-ready [data-hero] { opacity: 1; transform: none; }
html.is-ready .hero h1 .line > span { transform: none; }
html.is-ready [data-hero="0"] { transition-delay: .05s; }
html.is-ready [data-hero="1"] > span { transition-delay: .1s; }
html.is-ready [data-hero="2"] > span { transition-delay: .2s; }
html.is-ready [data-hero="3"] { transition-delay: .4s; }
html.is-ready [data-hero="4"] { transition-delay: .5s; }
html.is-ready [data-hero="5"] { transition-delay: .75s; transform: translateX(-50%); }

/* Typed headline: the script splits the h1 into characters and reveals them one by one.
   The text stays in the HTML for search engines and screen readers. While typing, the rest
   of the hero waits; it comes in once the script marks the document "typed". */
.hero h1[data-type] .line > span, html.is-ready .hero h1[data-type] .line > span { transform: none; transition: none; }
.hero h1[data-type] .ch { opacity: 0; }
.hero h1[data-type] .ch.on { opacity: 1; }
.hero h1[data-type] .caret { display: inline-block; width: .055em; height: .82em; margin-left: .03em; vertical-align: -.04em; background: currentColor; border-radius: 1px; animation: caretBlink 1s steps(1, end) infinite; }
.hero h1[data-type] .caret.is-typing { animation: none; }
.hero h1[data-type] .caret.is-done { animation: caretBlink 1s steps(1, end) 2, caretOut .4s var(--ease) 2s forwards; }
@keyframes caretBlink { 50% { opacity: 0; } }
@keyframes caretOut { to { opacity: 0; } }
html.is-typing [data-hero="3"], html.is-typing [data-hero="4"], html.is-typing [data-hero="5"] { opacity: 0; transition-delay: 0s; }
html.is-typing [data-hero="3"] { transform: translateY(18px); }
html.is-typing [data-hero="4"] { transform: translateY(18px); }
html.is-typing [data-hero="5"] { opacity: 1; transform: translate(-50%, 110%); }
html.is-typed [data-hero="3"] { transition-delay: 0s; }
html.is-typed [data-hero="4"] { transition-delay: .06s; }
html.is-typed [data-hero="5"] { transition-delay: .12s; }
html.is-ready .dune { transition-delay: 0s; }

/* Logo row */
.logos { display: flex; align-items: center; gap: 56px; padding: 34px 8px; border-bottom: 1px solid var(--line); }
.logos small { flex: none; width: 130px; font-size: 11px; color: var(--muted); line-height: 1.4; }
.logos .row { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 32px; min-width: 0; }
.logos img { width: auto; height: 28px; filter: grayscale(1); opacity: .6; transition: opacity .3s ease, filter .3s ease; }
.logos img.sm { height: 20px; }
.logos img.xs { height: 15px; }
.logos img.lg { height: 40px; }
@media (hover: hover) and (pointer: fine) { .logos img:hover { opacity: 1; filter: none; } }

/* Statement */
.statement { padding: 150px 0 0; text-align: center; }
.statement h2 { max-width: 1000px; margin: 0 auto; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.1; letter-spacing: -.04em; }
/* black sentence on one line, orange sentence on the next */
/* three lines: two black sentences, then a larger orange line */
.statement h2 .sl { display: block; }
/* same size and rhythm as the lines above; grows with the scroll (--grow is set by site.js) */
/* grows as a visual zoom only: the layout box never changes, so nothing below moves and lines never re-wrap */
.statement h2 em { display: block; width: fit-content; max-width: 100%; margin-inline: auto; line-height: 1.1; transform: scale(var(--grow, 1)); transform-origin: 50% 0; transition: transform .6s var(--ease); }
@media (min-width: 861px) { .statement h2 { max-width: none; font-size: clamp(26px, 3vw, 48px); } .statement h2 .sl, .statement h2 em { white-space: nowrap; } }
.statement h2 span { color: #b3b3b3; }
/* scroll-driven word reveal: words sit light and darken one by one as the block scrolls up */
[data-scrollwords] .w { color: #c9c6c1; transition: color .35s var(--ease); }
[data-scrollwords] .w.on { color: var(--ink); }
[data-scrollwords] em { font-style: normal; }
[data-scrollwords] em .w.on { color: #fc5b2a; }
.statement p { margin-top: 36px; font-size: 14.5px; color: var(--mid); }

/* Results: one photo card per client */
.results { scroll-margin-top: 112px; margin-top: 130px; padding: 72px max(var(--side), calc((100vw - var(--max)) / 2)); border-radius: 28px; background: var(--black); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.results::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(45% 60% at 10% 0%, rgba(251,139,75,.16), transparent 70%); }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.results-head h2 { font-size: clamp(36px, 4vw, 56px); }
.results-head h2 span { color: rgba(255,255,255,.45); }
.results-head p { max-width: 340px; color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.55; }
/* Results dashboard */
.dash { border-radius: 22px; background: #17120f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.dash-title { font-size: 13px; font-weight: 600; }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.dash-live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.5); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.dash-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.kpi { display: flex; flex-direction: column; padding: 26px 24px 24px; border-left: 1px solid rgba(255,255,255,.07); transition: background .3s ease; }
.kpi:first-child { border-left: 0; }
@media (hover: hover) and (pointer: fine) { .kpi:hover { background: rgba(255,255,255,.03); } }
.kpi-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.kpi-logo { display: block; width: auto; max-width: 70%; height: 38px; margin-bottom: 18px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.kpi-logo--tall { height: 52px; margin-top: -7px; margin-bottom: 11px; }
.kpi-logo--pre { filter: none; }
.kpi-logo + .kpi-k { margin-top: 0; }
.kpi-c { margin-top: 4px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); }
.kpi-n { display: block; margin-top: 22px; font: 500 clamp(48px, 4.4vw, 64px)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.kpi-d { margin-top: 10px; min-height: 3em; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.6); }
/* every chart sits in the same 120px box at the bottom */
.viz { display: flex; flex-direction: column; justify-content: flex-end; height: 120px; margin-top: 22px; }
.viz > span { margin-top: 10px; font-size: 11px; color: rgba(255,255,255,.4); }
.viz-ba { flex-direction: row; align-items: flex-end; gap: 18px; }
.viz-ba div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.viz-ba div:first-child { --bh: 36px; } .viz-ba .hi { --bh: 72px; }
.viz-ba b { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.viz-ba .hi b { color: #fb8b4b; }
.viz-ba i { display: block; height: var(--bh); border-radius: 6px 6px 2px 2px; background: rgba(255,255,255,.14); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--spring) .5s; }
.viz-ba .hi i { background: #fb8b4b; transition-delay: .75s; }
.viz-ba span { margin-top: 8px; font-size: 11px; color: rgba(255,255,255,.45); }
.dash.in .viz-ba i { transform: none; }
.viz-cols .c { flex: 1; display: flex; align-items: flex-end; gap: 8px; }
.viz-cols .col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.viz-cols .col b { margin-bottom: 5px; text-align: center; font: 600 10px/1 var(--mono); letter-spacing: -.02em; color: rgba(255,255,255,.75); white-space: nowrap; opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--d) + 1.1s); }
.dash.in .viz-cols .col b { opacity: 1; }
.viz-cols .col:last-child b { color: #fff; }
.viz-cols .c i { height: calc(var(--h) - 15px); border-radius: 4px 4px 2px 2px; background: rgba(251,139,75,.85); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--spring); transition-delay: calc(var(--d) + .5s); }
/* light orange on the left to the darkest on the right, each bar shading from its top */
.viz-cols .col:nth-child(1) i { background: linear-gradient(180deg, #ffd2ae, #ffb987); }
.viz-cols .col:nth-child(2) i { background: linear-gradient(180deg, #ffb987, #fd9f66); }
.viz-cols .col:nth-child(3) i { background: linear-gradient(180deg, #fd9f66, #fb8b4b); }
.viz-cols .col:nth-child(4) i { background: linear-gradient(180deg, #fb8b4b, #f46f36); }
.viz-cols .col:nth-child(5) i { background: linear-gradient(180deg, #f46f36, #e4501f); }
.viz-cols .col:nth-child(6) i { background: linear-gradient(180deg, #e4501f, #c93f14); }
.dash.in .viz-cols .c i { transform: none; }
.viz-dots .d { display: grid; grid-template-columns: repeat(15, 1fr); gap: 6px; align-content: end; flex: 1; }
.viz-dots .d i { width: 100%; aspect-ratio: 1; max-width: 9px; border-radius: 50%; background: rgba(255,255,255,.12); }
.dash.in .viz-dots .d i { animation: dotOn .35s var(--ease) forwards; }
.viz-dots .d i:nth-child(15n+1){animation-delay:.5s}.viz-dots .d i:nth-child(15n+2){animation-delay:.54s}.viz-dots .d i:nth-child(15n+3){animation-delay:.58s}.viz-dots .d i:nth-child(15n+4){animation-delay:.62s}.viz-dots .d i:nth-child(15n+5){animation-delay:.66s}.viz-dots .d i:nth-child(15n+6){animation-delay:.7s}.viz-dots .d i:nth-child(15n+7){animation-delay:.74s}.viz-dots .d i:nth-child(15n+8){animation-delay:.78s}.viz-dots .d i:nth-child(15n+9){animation-delay:.82s}.viz-dots .d i:nth-child(15n+10){animation-delay:.86s}.viz-dots .d i:nth-child(15n+11){animation-delay:.9s}.viz-dots .d i:nth-child(15n+12){animation-delay:.94s}.viz-dots .d i:nth-child(15n+13){animation-delay:.98s}.viz-dots .d i:nth-child(15n+14){animation-delay:1.02s}.viz-dots .d i:nth-child(15n){animation-delay:1.06s}
@keyframes dotOn { to { background: #fb8b4b; } }
.viz-list { justify-content: flex-end; gap: 0; }
.viz-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: rgba(255,255,255,.8); }
.viz-list em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; color: #86efac; }
.viz-list em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.dash-note { padding: 12px 20px; border-top: 1px solid rgba(255,255,255,.07); font-size: 11px; color: rgba(255,255,255,.4); }

/* Results bento (legacy) */
.bento { position: relative; margin-top: 130px; background: var(--black); border-radius: 28px; padding: 22px; display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 14px; min-height: 440px; color: #fff; overflow: hidden; }
.bento::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 70% at 20% 100%, rgba(251,139,75,.22), transparent 70%); }
.bento > * { position: relative; }
/* full-bleed results band: spans the viewport, content stays on the page grid */
.bento--bleed { display: block; margin-top: 130px; padding: 22px max(var(--side), calc((100vw - var(--max)) / 2)); border-radius: 28px; min-height: 0; }
.bento--bleed .bento-inner { display: grid; grid-template-columns: 1.15fr repeat(4, 1fr); gap: 14px; min-height: 440px; padding-block: 22px; }
/* chart bars wait for their card to land before growing */
.bento .bars i { transition-delay: calc(var(--bd, 0s) + .45s); }
.bl { padding: 34px 26px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.bl h3 { font-size: clamp(34px, 3vw, 44px); line-height: 1.02; }
.bl p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 18px; max-width: 330px; line-height: 1.55; }
.bc { border-radius: 20px; padding: 22px; display: flex; flex-direction: column; }
.bc--w { background: #fff; color: var(--ink); }
.bc--d { background: #1d1814; border: 1px solid rgba(255,255,255,.07); }
.bc .big { font: 500 56px/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.bc .lab { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; font-size: 12px; line-height: 1.45; }
.bc--w .lab { color: var(--mid); }
.bc--d .lab { color: rgba(255,255,255,.6); }
.bc .lab a { color: #fff; font-weight: 600; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.3); transition: border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .bc .lab a:hover { border-color: #fff; } }
.bc .k { font-size: 12px; line-height: 1.45; color: var(--mid); margin-top: 10px; max-width: 26ch; }
.bc--d .k { color: rgba(255,255,255,.55); }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 120px; margin-top: 22px; }
.bars i { flex: 1; border-radius: 6px; background: #eceae6; transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--spring); }
.bars i:nth-child(n+5) { background: var(--sunset); }
.in .bars i { transform: none; }
.bars i:nth-child(2) { --bd: .06s; transition-delay: .06s } .bars i:nth-child(3) { --bd: .12s; transition-delay: .12s } .bars i:nth-child(4) { --bd: .18s; transition-delay: .18s } .bars i:nth-child(5) { --bd: .24s; transition-delay: .24s } .bars i:nth-child(6) { --bd: .3s; transition-delay: .3s }
.bento .bars i:nth-child(n) { transition-delay: calc(var(--bd, 0s) + .45s); }

/* Services accordion */
.svc-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 40px; }
.svc-top h2 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.04em; margin: 16px 0 22px; }
.svc-top .rt { max-width: 400px; font-size: 14px; color: var(--mid); line-height: 1.6; padding-bottom: 8px; }
.acc { border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 20px 50px rgba(0,0,0,.04); padding: 6px 34px; }
.acc-item { border-top: 1px solid var(--line); }
.acc-item:first-child { border-top: 0; }
.acc-head { display: grid; width: 100%; grid-template-columns: 70px 1fr 1.25fr 40px; align-items: center; gap: 24px; padding: 26px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.acc-head .n { font-family: var(--mono); font-size: 11px; color: var(--mid); }
.acc-head h3 { font: 500 20px var(--display); letter-spacing: -.02em; }
.acc-head p { font-size: 13px; color: var(--mid); line-height: 1.55; }
.acc-head .x { position: relative; width: 24px; height: 24px; justify-self: end; }
.acc-head .x::before, .acc-head .x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--mid); transform: translate(-50%, -50%); transition: transform .35s var(--spring); }
.acc-head .x::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-head .x::after { transform: translate(-50%, -50%) rotate(0); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--spring); }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-inner { display: grid; grid-template-columns: 70px 1fr 1.25fr 40px; gap: 24px; padding: 0 0 30px; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--spring); }
.acc-item.is-open .acc-inner { opacity: 1; transform: none; transition-delay: .1s; }
.acc-inner .desc { grid-column: 2; font-size: 13.5px; color: var(--mid); line-height: 1.6; max-width: 340px; }
.acc-inner .desc a { display: inline-block; margin-top: 12px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); transition: border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .acc-inner .desc a:hover { border-color: var(--ink); } }
.vis { grid-column: 3; display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.vis > * { position: relative; min-height: 170px; border-radius: 14px; background: var(--black); color: #fff; padding: 16px; overflow: hidden; }
.vis > *::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 100% 100%, rgba(251,139,75,.3), transparent 70%); }
.vis > * > * { position: relative; }
.ad-card { display: flex; flex-direction: column; }
.ad-card small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ad-card strong { margin-top: auto; font: 600 18px/1.15 var(--display); letter-spacing: -.03em; }
.ad-card span { margin-top: 6px; font-size: 11.5px; color: rgba(255,255,255,.6); }
.metric small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.metric-big { display: block; margin-top: 8px; font: 500 26px/1.05 var(--display); letter-spacing: -.03em; }
.metric span { display: block; margin-top: 6px; font-size: 11.5px; color: rgba(255,255,255,.6); line-height: 1.4; }
.mb { display: flex; align-items: flex-end; gap: 5px; height: 90px; margin-top: 12px; }
.mb i { flex: 1; border-radius: 4px; background: rgba(255,255,255,.14); }
.mb i:nth-last-child(-n+3) { background: var(--sunset); }
.thread { display: flex; flex-direction: column; gap: 6px; }
.msg { width: fit-content; max-width: 88%; padding: 8px 11px; border-radius: 12px 12px 12px 4px; background: rgba(255,255,255,.1); font-size: 12px; line-height: 1.4; }
.msg--me { margin-left: auto; border-radius: 12px 12px 4px 12px; background: var(--o); color: var(--ink); }
.record { display: grid; gap: 8px; align-content: start; }
.record > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 9px; background: rgba(255,255,255,.08); font-size: 11.5px; }
.record small { color: rgba(255,255,255,.55); font-size: 11px; }
.record strong { font-weight: 600; text-align: right; }

/* Two tracks: Growth and Systems */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.track { display: flex; flex-direction: column; padding: 40px; border-radius: var(--r); background: var(--card); }
.track--d { background: var(--black); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.track--d::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 70% at 100% 100%, rgba(251,139,75,.28), transparent 70%); }
.track-n { color: var(--mid); }
.track--d .track-n { color: rgba(255,255,255,.5); }
.track h3 { margin-top: 18px; font-size: clamp(36px, 3.6vw, 52px); }
.track-p { max-width: 46ch; margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--mid); }
.track--d .track-p { color: rgba(255,255,255,.62); }
.track-list { margin: 30px 0 32px; border-top: 1px solid rgba(0,0,0,.08); }
.track--d .track-list { border-color: rgba(255,255,255,.1); }
.track-list li { border-bottom: 1px solid rgba(0,0,0,.08); }
.track--d .track-list li { border-color: rgba(255,255,255,.1); }
.track-list a { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; padding: 15px 0; transition: padding .35s var(--spring), color .2s ease; }
.track-list b { font: 500 16px var(--display); letter-spacing: -.02em; }
.track-list span { font-size: 13.5px; color: var(--mid); line-height: 1.45; }
.track--d .track-list span { color: rgba(255,255,255,.55); }
@media (hover: hover) and (pointer: fine) { .track-list a:hover { padding-left: 8px; } }
.track .btn { align-self: flex-start; margin-top: auto; }
.track-how { margin: -8px 0 28px; max-width: 46ch; font-size: 14px; line-height: 1.55; color: var(--mid); }
.track-how .mono { display: block; margin-bottom: 6px; }
.track--d .track-how { color: rgba(255,255,255,.62); }
.track--d .track-how .mono { color: rgba(255,255,255,.45); }
.anchor { position: relative; top: -90px; display: block; }

/* Services mega menu: two columns */
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-h { padding: 10px 12px 4px; color: var(--muted); }
.ft-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 460px; }

/* Industries grid */
.ind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ind a { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 24px; border-radius: 20px; background: var(--black); color: #fff; transition: transform .4s var(--spring), background .3s ease; }
/* faint industry photo: sits behind the text and fades out toward it */
.ind a::before { content: ""; position: absolute; z-index: -2; inset: 0; background: var(--img) var(--pos, center) / cover no-repeat; opacity: var(--ind-op, .85); filter: var(--ind-filter, grayscale(.85) contrast(1.35) brightness(.7)) blur(3px); transform: scale(1.06); transition: opacity .5s var(--ease), transform .9s var(--spring); }
/* dark wash from the text corner so the photo reads as texture and the words stay crisp */
.ind a::after { content: ""; position: absolute; z-index: -1; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(20deg, rgba(14,11,9,.92) 12%, rgba(14,11,9,.45) 55%, rgba(14,11,9,.15)); background-size: 180px 180px, auto; }
@media (hover: hover) and (pointer: fine) { .ind a:hover::before { opacity: calc(var(--ind-op, .5) + .15); transform: scale(1.1); } }
@media (hover: hover) and (pointer: fine) { .ind a:hover { transform: translateY(-4px); } }
.ind .mono { color: rgba(255,255,255,.6); margin-bottom: auto; }
.ind h3 { font: 500 24px var(--display); letter-spacing: -.03em; }
.ind p { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }

/* Client stories */
.work { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.work > .tile { grid-column: span 2; }
.work > .tile:nth-child(n+4) { grid-column: span 3; height: 380px; }
/* story tiles without photos: the business name set large on a brand gradient */
.tile--type { background: var(--black); }
.tile--type::before { content: ""; position: absolute; inset: 0; z-index: 0; transition: transform .9s var(--spring); }
.tile--crown::before { background: radial-gradient(70% 90% at 85% 15%, rgba(251,139,75,.55), transparent 65%), radial-gradient(60% 70% at 10% 100%, rgba(241,88,75,.3), transparent 70%), #17110d; }
.tile--tcg::before { background: radial-gradient(70% 90% at 15% 15%, rgba(255,196,77,.5), transparent 65%), radial-gradient(60% 70% at 90% 100%, rgba(139,108,240,.35), transparent 70%), #13101a; }
@media (hover: hover) and (pointer: fine) { .tile--type:hover::before { transform: scale(1.04); } }
.tile > .tile-name { position: absolute; z-index: 0; left: 26px; right: 26px; top: 50%; transform: translateY(-62%); font: 500 clamp(44px, 5vw, 76px)/.95 var(--display); letter-spacing: -.05em; color: rgba(255,255,255,.14); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 460px; padding: 26px; border-radius: var(--r); overflow: hidden; background: var(--black); color: #fff; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent 50%); }
.tile > * { position: relative; z-index: 1; }
.tile img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--spring); }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.04); } }
.tile h3 { font: 500 26px var(--display); letter-spacing: -.03em; }
.tile .tags { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.7); }
.tile .res { position: absolute; top: 20px; left: 20px; z-index: 1; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #111; font-size: 12.5px; font-weight: 500; }

/* Guarantees */
.guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.g { padding: 26px 30px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.g .mono { color: var(--o); }
.g-t { margin-top: 10px; font: 500 19px/1.35 var(--display); letter-spacing: -.02em; }
/* on phones each guarantee sits inside its track, under the button */
.g--in { display: none; }
.track--d .g--in { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.track--d .g--in .g-t { color: #fff; }

/* Testimonial */
.testimonial { margin: 0; padding: 64px clamp(24px, 6vw, 96px); border-radius: var(--r); background: var(--card); text-align: center; }
.testimonial blockquote { max-width: 980px; margin: 22px auto 0; font-size: clamp(26px, 3vw, 42px); line-height: 1.14; letter-spacing: -.035em; }
.testimonial figcaption { margin-top: 28px; font-size: 14px; }
.testimonial figcaption b { font-weight: 600; }
.testimonial figcaption span { display: block; margin-top: 2px; color: var(--mid); }
.t-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 720px; margin: 40px auto 0; border-top: 1px solid rgba(0,0,0,.08); }
.t-stats div { padding: 20px 12px 0; }
.t-stats div + div { border-left: 1px solid rgba(0,0,0,.08); }
.t-stats dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); }
.t-stats dd { margin: 8px 0 0; font: 500 22px var(--display); letter-spacing: -.03em; }
.t-link { display: inline-block; margin-top: 30px; font-size: 14px; font-weight: 600; border-bottom: 1px solid rgba(0,0,0,.2); transition: border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .t-link:hover { border-color: var(--ink); } }

/* Fit: who this is for and not for */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fit-col { padding: 36px 40px; border-radius: var(--r); background: #efebe6; color: #5b5550; }
.fit-col--yes { background: linear-gradient(135deg, #fff1e4 0%, #fde0cb 55%, #fbd0bd 100%); color: #3a1d0e; box-shadow: inset 0 0 0 1px rgba(251,139,75,.18); }
.fit-col .mono { color: #8f8780; }
.fit-col--yes .mono { color: #e0662f; }
.fit-col ul { margin-top: 18px; }
.fit-col li { position: relative; padding: 16px 0 16px 22px; border-top: 1px solid rgba(91,85,80,.14); font: 500 18px/1.3 var(--display); letter-spacing: -.02em; }
.fit-col--yes li { border-color: rgba(224,102,47,.18); }
.fit-col:not(.fit-col--yes) li { color: #6b645e; }
/* row markers: a sunset dot for yes, a short grey dash for no */
/* not a fit: a faint line strikes through each item in turn, holds, then clears; loops */
.fit-strike span { background: linear-gradient(rgba(107,100,94,.55), rgba(107,100,94,.55)) 0 58% / 0 1.5px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.fit.in .fit-strike span { animation: strikeLoop 7s cubic-bezier(.65,0,.35,1) infinite; }
.fit.in .fit-strike li:nth-child(2) span { animation-delay: .45s; }
.fit.in .fit-strike li:nth-child(3) span { animation-delay: .9s; }
.fit.in .fit-strike li:nth-child(4) span { animation-delay: 1.35s; }
@keyframes strikeLoop {
  0%, 8% { background-position: 0 58%; background-size: 0 1.5px; }
  22% { background-position: 0 58%; background-size: 100% 1.5px; }
  70% { background-position: 0 58%; background-size: 100% 1.5px; }
  70.01% { background-position: 100% 58%; background-size: 100% 1.5px; }
  84%, 100% { background-position: 100% 58%; background-size: 0 1.5px; }
}
@media (prefers-reduced-motion: reduce) { .fit.in .fit-strike span { animation: none; } }
.fit-col li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; border-radius: 2px; background: #b3aca5; transform: translateY(-50%); }
.fit-col--yes li::before { width: 9px; height: 9px; border-radius: 50%; background: var(--sunset); }
.cta-note { max-width: 460px !important; font-size: 13px !important; color: rgba(255,255,255,.45) !important; }

/* Build / run model */
.model { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mc { display: flex; flex-direction: column; min-height: 300px; padding: 40px; border-radius: var(--r); background: var(--card); }
.mc--d { background: var(--black); color: #fff; }
.mc--d .eb { color: rgba(255,255,255,.5); }
.mc h3 { font-size: clamp(34px, 3.2vw, 44px); margin: 14px 0 12px; }
.mc p { max-width: 430px; font-size: 14.5px; line-height: 1.6; color: var(--mid); }
.mc--d p { color: rgba(255,255,255,.6); }
.mc p.mono { max-width: none; font-size: 10.5px; line-height: 1.5; }
.mc--d p.mono { color: rgba(255,255,255,.5); }
.mc ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 26px; }
.mc li { font-size: 12px; padding: 7px 11px; border-radius: 999px; background: #fff; }
.mc--d li { background: rgba(255,255,255,.08); }

/* CTA panel */
.cta-panel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 100px 40px; margin-inline: calc(50% - 50vw); border-radius: 28px; background: var(--black); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.cta-panel::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 80% at 50% 120%, rgba(251,139,75,.55), transparent 70%); }
.cta-panel h2 { max-width: 760px; font-size: clamp(38px, 4.6vw, 64px); }
.cta-panel p { max-width: 540px; color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.55; }
.cta-panel .btn { background: #fff; color: var(--ink); }

/* Footer */
.site-footer { margin-top: 130px; padding: 44px max(40px, calc((100vw - var(--max)) / 2 + 12px)) 30px; border-radius: 28px 28px 0 0; background: var(--black); color: #fff; overflow: hidden; }
.ft { display: grid; grid-template-columns: 1.3fr 1fr .5fr; gap: 40px; font-size: 13px; }
.ft .m { color: rgba(255,255,255,.45); margin-bottom: 14px; }
.ft .m--gap { margin-top: 28px; }
.ft .nav2 { font: 500 20px/1.55 var(--display); letter-spacing: -.02em; }
.ft .nav2 em { font-style: normal; color: rgba(255,255,255,.3); margin: 0 8px; }
.ft .col a { display: block; width: fit-content; color: rgba(255,255,255,.65); line-height: 2; transition: color .2s ease; }
.ft a.o { color: var(--o); }
.ft .r { text-align: right; }
.ft .r .col a { margin-left: auto; }
@media (hover: hover) and (pointer: fine) { .ft a:hover { color: #fff; } }
.nl { display: flex; gap: 8px; max-width: 360px; }
.nl input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; transition: background .2s ease; }
.nl input::placeholder { color: rgba(255,255,255,.4); }
.nl input:focus { background: rgba(255,255,255,.16); outline: 0; }
.nl-note { margin-top: 10px; font-size: 11px; color: rgba(255,255,255,.4); }
.wordmark { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 90px; }
.wordmark img { width: min(56%, 460px); height: auto; }
.fb { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; font-size: 11px; color: rgba(255,255,255,.35); }
.fb a { margin-left: 14px; transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .fb a:hover { color: #fff; } }

/* Scroll reveals (site.js adds .in) */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--spring); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="stagger"] { opacity: 1; transform: none; transition: none; }
[data-reveal="stagger"] > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--spring); transition-delay: var(--d, 0ms); }
[data-reveal="stagger"].in > * { opacity: 1; transform: none; }
/* bands that wrap their cards in an inner grid stagger the cards, not the wrapper */
[data-reveal="stagger"] > .bento-inner { opacity: 1; transform: none; transition: none; }
[data-reveal="stagger"] > .bento-inner > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--spring); transition-delay: var(--d, 0ms); }
[data-reveal="stagger"].in > .bento-inner > * { opacity: 1; transform: none; }

/* ---- Service pages ---- */
.pillar-hero { padding: 96px 0 56px; }
.pillar-hero h1 { max-width: 900px; margin-top: 22px; font-size: clamp(50px, 6.4vw, 92px); letter-spacing: -.055em; line-height: .96; }
.pillar-hero h1 .dim { display: block; }
.pillar-hero .sub { max-width: 54ch; margin-top: 26px; color: #4a4a4a; font-size: 17px; line-height: 1.6; }
.pillar-hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.demo-panel { position: relative; min-height: 520px; padding: 40px; border-radius: 28px; background: var(--black); color: #fff; overflow: hidden; isolation: isolate; }
.demo-panel::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(50% 70% at 85% 100%, rgba(251,139,75,.35), transparent 70%), radial-gradient(40% 50% at 10% 0%, rgba(255,196,77,.12), transparent 70%); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.demo-win { min-width: 0; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.demo-win .hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; color: rgba(255,255,255,.5); }
.demo-win .hd b { color: #ffc44d; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.demo-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; background: rgba(255,255,255,.07); font-size: 12.5px; margin-top: 8px; }
.demo-row small { display: block; color: rgba(255,255,255,.5); font-size: 11px; margin-top: 2px; }
.demo-row em { font-style: normal; color: #ffc44d; font-size: 11px; white-space: nowrap; }
.demo-msg { width: fit-content; max-width: 86%; margin-top: 8px; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.09); font-size: 12.5px; line-height: 1.4; }
.demo-msg--me { margin-left: auto; border-radius: 14px 14px 4px 14px; background: var(--o); color: #171717; }
.demo-chip { display: inline-flex; width: fit-content; align-items: center; margin-top: 10px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(251,174,23,.5); color: #ffc44d; }
.demo-chip--solid { background: var(--sunset); color: #171717; box-shadow: none; }
.demo-big { font: 500 44px/1 var(--display); letter-spacing: -.04em; margin-top: 6px; }
.demo-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 14px; }
.demo-bars i { flex: 1; border-radius: 5px; background: rgba(255,255,255,.14); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--spring); }
.demo-bars i:nth-child(n+5) { background: var(--sunset); }
.in .demo-bars i { transform: none; }
.demo-bars i:nth-child(2) { transition-delay: .06s } .demo-bars i:nth-child(3) { transition-delay: .12s } .demo-bars i:nth-child(4) { transition-delay: .18s } .demo-bars i:nth-child(5) { transition-delay: .24s } .demo-bars i:nth-child(6) { transition-delay: .3s }
.demo-ad { margin-top: 10px; border-radius: 12px; overflow: hidden; background: #211a15; }
.demo-ad .img { height: 120px; background: radial-gradient(70% 120% at 85% 10%, #fb8b4b, transparent 65%), linear-gradient(135deg, #2b2019, #0d0a08); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 16px; font: 600 20px/1.1 var(--display); letter-spacing: -.03em; }
.demo-ad .img small { display: block; font: 500 10px var(--mono); letter-spacing: .12em; color: rgba(255,255,255,.6); margin-bottom: 6px; text-transform: uppercase; }
.demo-ad .t { padding: 10px 14px; font-size: 12.5px; }
.demo-ad .t small { display: block; color: rgba(255,255,255,.5); font-size: 11px; margin-top: 2px; }
.demo-loop > * { opacity: 0; animation: demoIn 10s var(--ease) infinite; animation-delay: calc(var(--i, 0) * .9s); }
@keyframes demoIn { 0% { opacity: 0; transform: translateY(10px); } 6%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px); } }

.feature-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fcard { display: flex; flex-direction: column; min-height: 260px; padding: 28px; border-radius: 20px; background: var(--card); }
.fcard .n { color: var(--mid); margin-bottom: auto; }
.fcard h3 { font: 500 24px/1.15 var(--display); letter-spacing: -.03em; margin-top: 40px; }
.fcard p { margin-top: 10px; font-size: 14px; color: var(--mid); line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 34px 26px 30px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; padding-left: 0; }
.step .n { font: 600 46px/1 var(--display); letter-spacing: -.03em; }
.step:nth-child(1) .n { color: #fbbf3a; } .step:nth-child(2) .n { color: #fb9a4b; } .step:nth-child(3) .n { color: #f5704b; }
.step h4 { font: 600 19px var(--display); letter-spacing: -.02em; margin: 22px 0 10px; }
.step p { font-size: 14px; color: var(--mid); line-height: 1.55; }
.step small { display: block; margin-top: 28px; color: var(--muted); }
.step small.accent { color: var(--o); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 38px 38px 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font: 500 clamp(48px, 5.4vw, 80px)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat span { display: block; max-width: 26ch; margin-top: 14px; color: var(--mid); font-size: 14px; line-height: 1.5; }

/* ---- Story pages (overrides on top of legacy styles.css) ---- */
body.inner-page { background: #fff; }
.case-study-main--photo { padding-top: 8px; }
.case-hero--photo { border-radius: 28px; margin-inline: var(--side); width: auto; padding-top: 120px; }
.case-cta { background: var(--black); color: #fff; border-radius: 28px; width: auto !important; max-width: none !important; margin-inline: 0 !important; padding-inline: max(clamp(24px, 4vw, 52px), calc((100vw - 1120px) / 2)) !important; }
.legal-main { padding-top: 90px; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .nav-primary, .nav-secondary { gap: 18px; }
  .logos { gap: 32px; }
  .logos .row { display: grid; grid-template-columns: repeat(5, 1fr); justify-items: center; gap: 24px 28px; }
  .bento { grid-template-columns: 1fr 1fr; min-height: 0; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3), .kpi:nth-child(5) { border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.07); }
  .bento--bleed .bento-inner { grid-template-columns: 1fr 1fr; min-height: 0; }
  .bl { grid-column: 1 / -1; padding: 40px 10px 10px; }
  .acc-head, .acc-inner { grid-template-columns: 50px 1fr 1fr 32px; }
  .work { grid-template-columns: 1fr 1fr; }
  .work > .tile, .work > .tile:nth-child(n+4) { grid-column: span 1; height: 400px; }
  .work > .tile:nth-child(3) { grid-column: 1 / -1; height: 380px; }
}
@media (max-width: 860px) {
  .topbar { height: 64px; gap: 16px; }
  .results { scroll-margin-top: 72px; }
  .nav-primary, .nav-secondary .nav-link { display: none; }
  .nav-secondary { margin-left: auto; gap: 10px; }
  .mobile-toggle { position: relative; display: block; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--card); cursor: pointer; }
  .mobile-toggle span { position: absolute; left: 13px; top: 50%; width: 18px; height: 2px; margin-top: -1px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--spring); }
  .mobile-toggle span:first-child { transform: translateY(-3.5px); }
  .mobile-toggle span:last-child { transform: translateY(3.5px); }
  .mobile-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .mobile-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  /* absolute, not fixed: the header's backdrop-filter would otherwise trap a fixed child inside it */
  .mobile-menu { position: absolute; z-index: 999; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); display: block; padding: 20px var(--side) 40px; background: #fff; overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .35s var(--spring), visibility 0s .25s; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mobile-menu .m { margin: 22px 0 6px; color: var(--mid); }
  .mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font: 500 22px var(--display); letter-spacing: -.02em; }
  .mobile-menu a.small { font: 500 16px var(--sans); }
  .mobile-menu .btn { display: flex; width: 100%; min-height: 52px; margin-top: 28px; padding: 0 22px; border-bottom: 0; font: 600 15px var(--sans); color: #fff; }

  .hero { min-height: 0; padding-bottom: 290px; border-radius: 22px; }
  .hero--bleed { border-radius: 0 0 22px 22px; height: auto; max-height: none; }
  .hero--bleed .hero-copy { padding-top: 56px; }
  .hero--bleed .dune { left: -70%; bottom: -3%; width: 190%; min-width: 0; height: 50%; transform: translate(var(--px), var(--py)) scale(1.02); object-fit: cover; object-position: 50% 100%; }
  html:not(.is-ready) .hero--bleed .dune { transform: translateY(50px) scale(1.02); }
  .hero--bleed canvas.dune { width: 190%; height: 50%; }
  .hero-copy { padding: 48px 16px 0; }
  .hero-kicker { margin-bottom: 20px; font-size: 10px; }
  .hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero-sub { font-size: 15px; margin-top: 18px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: min(100%, 300px); }
  .hero-trust { max-width: 300px; margin: 16px auto 0; font-size: 12.5px; line-height: 1.5; }
  .dune { left: -70%; bottom: -3%; width: 190%; height: 50%; object-fit: cover; object-position: 50% 100%; }
  /* all three cards in a swipeable row; the next one peeks in */
  .links3 { width: 100%; padding: 0 12px; gap: 10px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; scrollbar-width: none; background: transparent; border-radius: 0; box-shadow: none; }
  .links3 .lk { background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 30px -18px rgba(60,25,10,.35); }
  .links3 .lk + .lk::before { display: none; }
  .links3 .lk:focus:not(:focus-visible) { outline: none; }
  .links3::-webkit-scrollbar { display: none; }
  .lk { scroll-snap-align: center; }
  .lk { padding: 14px 16px 18px; }
  .lk .b { margin-top: 16px; }
  .thumb { width: 56px; height: 56px; border-radius: 15px; }
  .thumb--bars { gap: 4px; padding-bottom: 12px; }
  .thumb--bars b { width: 6px; }

  .lk .b strong { font-size: 19px; }

  .logos { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 4px; }
  .logos .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; width: 100%; justify-items: center; }
  .logos img { height: 30px; max-width: 100%; opacity: .7; }
  .logos img.sm { height: 22px; }
  .logos img.xs { height: 16px; }
  .logos img.lg { height: 42px; }

  .section, .section--tight { padding-top: 84px; }
  .statement { padding-top: 90px; }
  .statement h2 { font-size: clamp(26px, 7.2vw, 34px); }
  .statement p { margin-top: 24px; }
  .sh { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
  .sh h2 { font-size: clamp(32px, 9vw, 40px); }

  .bento { margin-top: 84px; grid-template-columns: 1fr; padding: 14px; gap: 10px; border-radius: 22px; }
  .results { margin-top: 84px; padding: 44px var(--side) 18px; border-radius: 22px; }
  .results-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .results-head h2 { font-size: 36px; }
  .dash-grid { grid-template-columns: 1fr; }
  .kpi { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
  .kpi:first-child { border-top: 0; }
  .kpi-n { font-size: 56px; }
  .bento--bleed { padding: 8px var(--side); }
  .bento--bleed .bento-inner { grid-template-columns: 1fr; gap: 10px; padding-block: 6px; }
  .bl { padding: 30px 10px 14px; }
  .bl h3 { font-size: 34px; }
  .bc .big { font-size: 48px; }

  .svc-top { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
  .svc-top h2 { font-size: 32px; margin: 12px 0 18px; }
  .acc { padding: 4px 18px; border-radius: 18px; }
  .acc-head { grid-template-columns: 30px 1fr 24px; gap: 14px; padding: 20px 0; }
  .acc-head h3 { font-size: 18px; }
  .acc-head > p { display: none; }
  .acc-inner { grid-template-columns: 1fr; gap: 16px; padding-bottom: 22px; }
  .acc-inner .desc, .vis { grid-column: 1; max-width: none; }
  .vis { grid-template-columns: 1fr; }
  .vis > * { min-height: 0; }

  .ind { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ind a { min-height: 170px; padding: 18px; }
  .ind h3 { font-size: 19px; }
  .ind p { font-size: 12.5px; }

  .work { grid-template-columns: 1fr; gap: 10px; }
  .work > .tile, .work > .tile:nth-child(n+4), .work > .tile:nth-child(3) { grid-column: auto; height: 340px; padding: 20px; }
  .tile h3 { font-size: 24px; }

  .model { grid-template-columns: 1fr; gap: 10px; }
  .testimonial { padding: 40px 22px; }
  .testimonial blockquote { font-size: clamp(22px, 6.4vw, 28px); }
  .t-stats dd { font-size: 17px; }
  .t-stats div { padding: 16px 6px 0; }
  .fit { grid-template-columns: 1fr; gap: 10px; }
  .guarantees { display: none; }
  .g--in { display: block; margin-top: 18px; padding: 20px 22px; border-radius: 16px; }
  .g--in .g-t { font-size: 16.5px; }
  .g { padding: 22px; }
  .g-t { font-size: 17px; }
  .fit-col { padding: 26px; }
  .fit-col li { font-size: 16px; padding: 13px 0 13px 20px; }
  .tracks { grid-template-columns: 1fr; gap: 10px; }
  .track { padding: 26px; }
  .track h3 { font-size: 34px; }
  .track-list { margin: 22px 0 24px; }
  .track-list a { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .mc { padding: 26px; min-height: 0; }
  .mc h3 { font-size: 32px; }

  .cta-panel { padding: 64px 22px; border-radius: 22px; }
  .cta-panel h2 { font-size: clamp(32px, 9vw, 40px); }
  .cta-panel p { font-size: 15px; }

  .site-footer { padding: 34px 20px 24px; margin-top: 40px; border-radius: 22px 22px 0 0; }
  .ft { grid-template-columns: 1fr; gap: 28px; }
  .ft .nav2 { font-size: 18px; }
  .ft .r { text-align: left; }
  .ft .r .col a { margin-left: 0; }
  .nl { max-width: none; }
  .wordmark { margin-top: 44px; gap: 14px; }
  .wordmark img { width: min(60%, 220px); }
  .fb { flex-direction: column; align-items: flex-start; gap: 12px; }
  .fb a { margin: 0 14px 0 0; }

  .pillar-hero { padding: 48px 0 32px; }
  .pillar-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .pillar-hero .sub { font-size: 15.5px; }
  .pillar-hero .ctas .btn { width: min(100%, 300px); }
  .demo-panel { padding: 16px; min-height: 0; border-radius: 22px; }
  .demo-grid, .feature-trio, .steps, .stats { grid-template-columns: 1fr; }
  .demo-win { padding: 16px; }
  .fcard { min-height: 0; padding: 22px; }
  .fcard h3 { margin-top: 28px; font-size: 21px; }
  .step, .stat { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); }
  .step:first-child, .stat:first-child { border-top: 0; }
  .step { padding: 24px 0; }
  .stat { padding: 26px 0 0; }
  .case-hero--photo { margin-inline: var(--side); padding-top: 80px; }
}
@media (max-width: 480px) {
  .logos .row { grid-template-columns: repeat(3, 1fr); }
  .ind { grid-template-columns: 1fr; }
  .ind a { min-height: 0; padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1[data-type] .ch { opacity: 1; }
  .hero h1[data-type] .caret { display: none; }
  [data-hero], .hero h1 .line > span, html:not(.is-ready) .dune, [data-reveal], [data-reveal="stagger"] > *, [data-reveal="stagger"] > .bento-inner > * { opacity: 1; transform: none; transition: none; }
  .hero h1 .line > span { transform: none; }
  .bars i, .demo-bars i { transform: none; transition: none; }
  .viz-ba i, .viz-cols .c i { transform: none; transition: none; } .viz-cols .col b { opacity: 1; transition: none; } .viz-dots .d i { background: #fb8b4b; animation: none !important; }
    .dune, .tile img, .btn, .site-header { transition: none; }
  .site-header.is-hidden { transform: none; }
}

/* Results dashboard: continuous loops once the panel is on screen */
.dash.in .viz-ba i { animation: baLoop 6s var(--spring) infinite; transition: none; }
.dash.in .viz-ba .hi i { animation-delay: .25s; }
@keyframes baLoop { 0% { transform: scaleY(0); } 18%, 78% { transform: scaleY(1); } 92%, 100% { transform: scaleY(0); } }
.dash.in .viz-cols .c i { animation: colLoop 6s var(--spring) infinite; animation-delay: var(--d); transition: none; }
.dash.in .viz-cols .col b { animation: colLabel 6s ease infinite; animation-delay: var(--d); transition: none; }
@keyframes colLabel { 0%, 12% { opacity: 0; transform: translateY(4px); } 20%, 74% { opacity: 1; transform: none; } 84%, 100% { opacity: 0; transform: translateY(4px); } }
@keyframes colLoop { 0% { transform: scaleY(0); } 16%, 76% { transform: scaleY(1); } 90%, 100% { transform: scaleY(0); } }
.dash.in .viz-dots .d i { animation-name: dotLoop; animation-duration: 6s; animation-iteration-count: infinite; animation-timing-function: ease; animation-fill-mode: none; }
@keyframes dotLoop { 0%, 6% { background: rgba(255,255,255,.12); } 20%, 74% { background: #fb8b4b; } 90%, 100% { background: rgba(255,255,255,.12); } }
.viz-list li { position: relative; }
.viz-list li::after { content: ""; position: absolute; inset: 0 -8px; z-index: -1; border-radius: 8px; background: rgba(74,222,128,.08); opacity: 0; }
.viz-list { position: relative; isolation: isolate; }
.dash.in .viz-list li::after { animation: rowLoop 6s ease infinite; }
.dash.in .viz-list li:nth-child(2)::after { animation-delay: 2s; }
.dash.in .viz-list li:nth-child(3)::after { animation-delay: 4s; }
@keyframes rowLoop { 0% { opacity: 0; } 8%, 26% { opacity: 1; } 34%, 100% { opacity: 0; } }
.dash.in .viz-list em::before { animation: livePulse 2s infinite; }
@media (prefers-reduced-motion: reduce) {
  .dash.in .viz-ba i, .dash.in .viz-cols .c i, .dash.in .viz-cols .col b { animation: none; transform: none; opacity: 1; }
  .dash.in .viz-dots .d i { animation: none; background: #fb8b4b; }
  .dash.in .viz-list li::after, .dash.in .viz-list em::before { animation: none; }
}

/* Crown & Blade: their result climbs from fourth to first, on a loop */
.viz-serp { justify-content: flex-end; }
.serp { position: relative; height: 120px; }
.ranks { position: absolute; left: 0; top: 0; display: grid; grid-template-rows: repeat(4, 26px); row-gap: 5px; width: 16px; }
.ranks li { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.4); }
.ranks li:first-child { color: #fb8b4b; }
.sr { position: absolute; left: 24px; right: 0; display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 8px; border-radius: 7px; background: rgba(255,255,255,.04); font-size: 11.5px; }
.sr span { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.sr span i { display: block; height: 4px; border-radius: 3px; background: rgba(255,255,255,.14); }
.sr span i + i { width: 60%; background: rgba(255,255,255,.08); }
.sr--a { top: 0; } .sr--b { top: 31px; } .sr--c { top: 62px; }
.sr--us { top: 93px; z-index: 1; background: linear-gradient(rgba(251,139,75,.18), rgba(251,139,75,.18)), #17120f; box-shadow: inset 0 0 0 1px rgba(251,139,75,.45); }
.sr--us span { flex-direction: row; align-items: baseline; gap: 6px; }
.sr--us strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11.5px; font-weight: 600; color: #fff; }
.sr--us em { font-style: normal; font-size: 10.5px; color: rgba(255,255,255,.5); white-space: nowrap; }
.dash.in .sr--us { animation: srUs 7s var(--spring) infinite; }
.dash.in .sr--a, .dash.in .sr--b, .dash.in .sr--c { animation: srDown 7s var(--spring) infinite; }
@keyframes srUs { 0%, 12% { transform: translateY(0); } 30%, 42% { transform: translateY(-31px); } 56%, 68% { transform: translateY(-62px); } 80%, 94% { transform: translateY(-93px); } 100% { transform: translateY(0); } }
.dash.in .sr--c { animation-name: srDownC; } .dash.in .sr--b { animation-name: srDownB; } .dash.in .sr--a { animation-name: srDownA; }
@keyframes srDownC { 0%, 12% { transform: none; } 30%, 94% { transform: translateY(31px); } 100% { transform: none; } }
@keyframes srDownB { 0%, 42% { transform: none; } 56%, 94% { transform: translateY(31px); } 100% { transform: none; } }
@keyframes srDownA { 0%, 68% { transform: none; } 80%, 94% { transform: translateY(31px); } 100% { transform: none; } }
@media (max-width: 1100px) and (min-width: 861px) { .dash-grid { grid-template-columns: repeat(6, 1fr); } .kpi { grid-column: span 2; border-left: 1px solid rgba(255,255,255,.07); border-top: 0; } .kpi:nth-child(n+4) { grid-column: span 3; border-top: 1px solid rgba(255,255,255,.07); } .kpi:nth-child(1), .kpi:nth-child(4) { border-left: 0; } }
@media (max-width: 860px) { .dash-grid { grid-template-columns: 1fr; } .kpi:last-child { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .dash.in .sr--us { animation: none; transform: translateY(-93px); } .dash.in .sr--a, .dash.in .sr--b, .dash.in .sr--c { animation: none; transform: translateY(31px); } }
