/* ════════════════════════════════════════════════════════════════════════
   Site styles
   Type: Archivo (one variable family; width axis does the heavy lifting)
   Colour: navy "night inventory" + cool paper, bid blue, win green,
           cut coral, sun yellow.
   ════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F3F5FA;
  --white: #FFFFFF;
  --ink: #0B1A44;
  --ink-soft: #44527D;
  --line: #D5DBEB;

  --navy: #081238;
  --navy-2: #0E1C52;
  --navy-line: rgba(255, 255, 255, .16);
  --on-navy: #F1F4FF;
  --on-navy-soft: #AEB9DE;

  --bid: #2B4DFF;
  --bid-deep: #1D38D1;
  --win: #00996B;
  --win-bright: #19E3A4;
  --cut: #FF5A3C;
  --sun: #FFC83A;
  --violet: #8B6CFF;
  --error: #C2301A;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 76px;
  --r-slot: 6px;
  --r-ctl: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: var(--bid);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-stretch: 100%; font-weight: 400; font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; }
address { font-style: normal; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sun); color: var(--navy); padding: .7rem 1rem; border-radius: var(--r-ctl); font-weight: 650; text-decoration: none; transition: top .2s; }
.skip:focus { top: 1rem; }
.i { width: 1.1em; height: 1.1em; flex: none; }

.on-dark { background: var(--navy); color: var(--on-navy); --focus: var(--sun); }

/* ── Type ─────────────────────────────────────────────────────────────── */
.display, .h-display {
  font-stretch: 66%; font-weight: 800; text-transform: uppercase;
  line-height: .92; letter-spacing: -.005em; text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 9.2cqi, 7.25rem); }
.display .line, .h-display .line { display: block; }
.display--page { font-size: clamp(2.75rem, 7.2vw, 6.25rem); }
.h-display { font-stretch: 68%; font-size: clamp(2.1rem, 4.6vw, 4rem); }
.h-display--xl { font-size: clamp(2.5rem, 6.2vw, 5.5rem); }
.h-display--sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; max-width: 58ch; color: var(--ink-soft); }
.lede--dark { color: var(--ink); }
.on-dark .lede { color: var(--on-navy-soft); }

.link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--bid);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em;
}
.link .i { transition: transform .25s var(--ease); }
.link:hover .i { transform: translateX(4px); }
.link--sm { font-size: .95rem; }
.on-dark .link { color: var(--sun); }

.chip {
  display: inline-block; font-stretch: 112%; font-size: .7rem; font-weight: 650; letter-spacing: .03em;
  padding: .28rem .6rem; border-radius: 99px; background: var(--sun); color: var(--navy);
  text-transform: none; line-height: 1.2; vertical-align: middle;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.4rem; border-radius: var(--r-ctl); border: 2px solid transparent;
  font-weight: 650; font-stretch: 104%; font-size: 1rem; line-height: 1; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--sm { padding: .7rem 1.05rem; font-size: .95rem; }
.btn--primary { background: var(--bid); color: #fff; }
.btn--primary:hover { background: var(--bid-deep); }
.on-dark .btn--primary { background: var(--sun); color: var(--navy); }
.on-dark .btn--primary:hover { background: #FFD867; }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.form-card .btn--ghost:hover { background: var(--paper); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--on-navy); --focus: var(--sun);
  transition: background .3s, color .3s, box-shadow .3s, transform .4s var(--ease);
}
.site-header__in { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.site-header.is-solid { background: rgba(243, 245, 250, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); --focus: var(--bid); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header .btn--primary { background: var(--sun); color: var(--navy); }
.site-header .btn--primary:hover { background: #FFD867; }
.site-header.is-solid .btn--primary { background: var(--bid); color: #fff; }
.site-header.is-solid .btn--primary:hover { background: var(--bid-deep); }

.brand { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; flex: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__wedge { fill: var(--sun); opacity: .32; }
.brand__earn { stroke: var(--sun); }
.brand__cost { stroke: currentColor; }
.site-header.is-solid .brand__wedge { fill: var(--bid); opacity: .2; }
.site-header.is-solid .brand__earn { stroke: var(--bid); }
.brand__name { font-stretch: 68%; font-weight: 800; font-size: 1.75rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.brand__img { height: 36px; width: auto; max-width: 220px; object-fit: contain; }
.brand__img--on-light { display: none; }
.site-header.is-solid .brand__img--on-dark { display: none; }
.site-header.is-solid .brand__img--on-light { display: block; }

.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; position: relative; padding: .4rem 0;
  font-weight: 550; font-size: .98rem; text-decoration: none; color: inherit;
}
.nav__link .i { width: .9em; height: .9em; opacity: .7; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: var(--r-ctl); background: transparent; color: inherit; cursor: pointer; place-items: center; }
.nav-toggle__bars { display: grid; gap: 6px; }
.nav-toggle__bars i { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav { display: grid; }
.mobile-menu__nav a {
  display: flex; align-items: center; gap: .5rem; padding: .7rem 0; border-bottom: 1px solid var(--navy-line);
  font-stretch: 66%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1; text-decoration: none;
  animation: menuIn .5s var(--ease) both;
}
.mobile-menu__nav a:nth-child(2) { animation-delay: .04s; } .mobile-menu__nav a:nth-child(3) { animation-delay: .08s; }
.mobile-menu__nav a:nth-child(4) { animation-delay: .12s; } .mobile-menu__nav a:nth-child(5) { animation-delay: .16s; }
.mobile-menu__nav a:nth-child(6) { animation-delay: .2s; }
.mobile-menu__nav a[aria-current] { color: var(--sun); }
.mobile-menu__nav .i { width: .5em; height: .5em; }
.mobile-menu__foot { display: grid; gap: .4rem; margin-top: 2rem; color: var(--on-navy-soft); }
.mobile-menu__foot a { text-decoration: none; }
.mobile-menu__social { display: flex; gap: 1.25rem; margin-top: .5rem; flex-wrap: wrap; }
@keyframes menuIn { from { opacity: 0; transform: translateY(16px); } }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { color: var(--on-navy); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; --focus: var(--sun); }
body.menu-open .site-header .brand__earn { stroke: var(--sun); }
body.menu-open .site-header .brand__wedge { fill: var(--sun); opacity: .32; }
body.menu-open .site-header .brand__img--on-dark { display: block; }
body.menu-open .site-header .brand__img--on-light { display: none; }

/* ── Hero: the auction wall ───────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(1rem, 3vw, 2.25rem)) 0 clamp(1.5rem, 3vw, 2.5rem); }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58rem 38rem at 88% -12%, rgba(43, 77, 255, .6), transparent 62%),
    radial-gradient(40rem 30rem at -8% 108%, rgba(139, 108, 255, .34), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 100%;
}
.hero .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(190px, auto); gap: 14px; }
.hero__caption { margin-top: .9rem; text-align: right; font-size: .78rem; color: var(--on-navy-soft); }

.slot {
  position: relative; min-width: 0; margin: 0; border: 1.5px solid rgba(255, 255, 255, .24); border-radius: var(--r-slot);
  background: rgba(255, 255, 255, .045); transition: border-color .4s, background .4s;
}
.slot__tag {
  position: absolute; top: -1.5px; left: -1.5px; z-index: 3; display: inline-flex; align-items: center; gap: .55rem;
  padding: .32rem .6rem; border-radius: var(--r-slot) 0 var(--r-slot) 0; background: rgba(8, 18, 56, .82);
  border: 1.5px solid rgba(255, 255, 255, .24); border-color: inherit;
  font-size: .7rem; font-stretch: 112%; font-weight: 600; letter-spacing: .03em; line-height: 1.2;
  color: var(--on-navy-soft); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.slot__state { color: var(--win-bright); }
/* Ad-size labels in the slot corners (970 × 250 and so on) are switched off.
   Delete the next line to show them again. */
.slot__size { display: none; }
.slot__body { height: 100%; border-radius: inherit; clip-path: inset(0 0 0 0); transition: opacity .45s ease, clip-path .75s var(--ease); }

.slot[data-state="open"], .slot[data-state="bidding"] { border-style: dashed; background: transparent; }
.slot[data-state="open"] { border-color: rgba(255, 255, 255, .3); }
.slot[data-state="bidding"] { border-color: var(--sun); }
.slot[data-state="open"] .slot__state { color: var(--on-navy-soft); }
.slot[data-state="bidding"] .slot__state { color: var(--sun); }
.js .slot:not([data-state="won"]) .slot__body { opacity: 0; clip-path: inset(0 100% 0 0); transition: opacity .25s ease, clip-path 0s .25s; }
/* Before the script takes over, keep slot contents hidden so they don't flash;
   if the script never loads, show them anyway after a moment. */
.js [data-boot]:not(.is-live) .slot__body { opacity: 0; animation: bootFailsafe 0s 2.5s forwards; }
@keyframes bootFailsafe { to { opacity: 1; } }
.slot.is-flash::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; border: 2px solid var(--win-bright);
  pointer-events: none; animation: slotFlash 1s ease-out forwards;
}
@keyframes slotFlash { from { opacity: 1; box-shadow: 0 0 0 0 rgba(25, 227, 164, .55); } to { opacity: 0; box-shadow: 0 0 0 16px rgba(25, 227, 164, 0); } }

.slot--main { grid-column: 1 / 10; grid-row: 1; container-type: inline-size; }
.slot--main .slot__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 1.4rem; padding: clamp(3rem, 6cqi, 4.5rem) clamp(1.25rem, 4.5cqi, 3rem) clamp(1.25rem, 4.5cqi, 3rem); min-height: clamp(330px, 46vh, 470px); }
.slot--main .lede { max-width: 54ch; }
.slot--tall { grid-column: 10 / 13; grid-row: 1 / 3; }
.slot--chart { grid-column: 1 / 4; grid-row: 2; }
.slot--creative { grid-column: 4 / 7; grid-row: 2; }
.slot--wide { grid-column: 7 / 10; grid-row: 2; }

.stream { display: flex; flex-direction: column; padding: 2.6rem .9rem .9rem; }
.stream__title { display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem; font-size: .8rem; font-weight: 600; font-stretch: 110%; color: var(--on-navy-soft); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--win-bright); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25, 227, 164, .6); } 100% { box-shadow: 0 0 0 10px rgba(25, 227, 164, 0); } }
.stream__rows { list-style: none; display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.stream__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .6rem; flex: none;
  padding: .62rem .7rem; border-radius: 4px; background: rgba(255, 255, 255, .07);
  font-size: .84rem; font-variant-numeric: tabular-nums; line-height: 1.2;
}
.stream__row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stream__row b { font-weight: 600; }
.stream__row em { font-style: normal; font-size: .7rem; font-weight: 650; padding: .2rem .5rem; border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--on-navy-soft); }
.stream__row.is-won em { background: rgba(25, 227, 164, .16); color: var(--win-bright); }
.stream__row.is-new { animation: rowIn .55s var(--ease); }
@keyframes rowIn { from { opacity: 0; margin-top: calc(var(--h, 40px) * -1 - 6px); } }

.mini { display: flex; flex-direction: column; gap: .5rem; padding: 2.6rem .9rem .9rem; }
.mini__title { font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1; }
.mini__chart { flex: 1; min-height: 70px; width: 100%; overflow: visible; }
.mini__chart path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mini__earn { stroke: var(--win-bright); }
.mini__cost { stroke: var(--cut); }
.mini__chart .mini__area { fill: rgba(255, 200, 58, .22); stroke: none; }
.mini__legend { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .45rem; font-size: .7rem; color: var(--on-navy-soft); line-height: 1.2; }
.k { display: inline-block; width: 12px; height: 3px; border-radius: 2px; }
.k--earn { background: var(--win-bright); }
.k--cost { background: var(--cut); margin-left: .35rem; }

.creative { position: relative; overflow: hidden; }
.creative img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.creative__label { position: absolute; left: .7rem; bottom: .7rem; padding: .3rem .6rem; border-radius: 99px; background: rgba(8, 18, 56, .78); font-size: .72rem; font-weight: 600; font-stretch: 108%; }

.outcome { display: flex; align-items: center; gap: .9rem; padding: 2.3rem 1rem 1rem; }
.outcome__badge { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--win-bright); color: var(--navy); font-size: 1.2rem; }
.outcome__text { display: grid; min-width: 0; }
.outcome__text b { font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.05; }
.outcome__text small { font-size: .78rem; color: var(--on-navy-soft); }

/* ── Ticker ───────────────────────────────────────────────────────────── */
.ticker { background: var(--sun); color: var(--navy); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__run { display: flex; flex: none; list-style: none; }
.ticker__run li {
  display: flex; align-items: center; gap: 1.4rem; padding: .95rem 0 .95rem 1.4rem; white-space: nowrap;
  font-stretch: 66%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1;
}
.ticker .i--star { width: .7em; height: .7em; }
@keyframes ticker { to { transform: translateX(-33.3333%); } }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-foot { margin-top: clamp(2rem, 4vw, 3.5rem); }

/* Intro + rate card */
.intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ratecard { margin: 2rem 0; border-top: 2px solid var(--ink); }
.ratecard__row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.ratecard dt { font-size: .88rem; font-weight: 550; color: var(--ink-soft); padding-top: .1rem; }
.ratecard dd { font-weight: 600; }

/* Services tabs */
.svc-section { background: var(--white); }
.svc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.svc__list { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.svc__tab {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  padding: 1.05rem .25rem; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer;
  font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3.1vw, 2.7rem); line-height: 1;
  color: var(--ink-soft); transition: color .2s, padding .35s var(--ease);
}
.svc__tab .i { width: .6em; height: .6em; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .35s var(--ease); }
.svc__tab:hover { color: var(--ink); }
.svc__tab[aria-selected="true"] { color: var(--bid); padding-left: 1rem; }
.svc__tab[aria-selected="true"] .i { opacity: 1; transform: none; }
.svc__panels { position: sticky; top: 96px; }
.js .svc__panel { display: none; }
.js .svc__panel.is-active { display: block; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.svc__img, .service__art, .step__art, .partner__art { aspect-ratio: 4 / 3; border-radius: var(--r-slot); overflow: hidden; background: var(--navy); }
.svc__img img, .service__art img, .step__art img, .partner__art img, .desk__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__img { margin-bottom: 1.3rem; }
.svc__name { font-size: 1.25rem; font-weight: 700; margin-bottom: .4rem; }
.js .svc__name { display: none; }
html:not(.js) .svc__list { display: none; }
html:not(.js) .svc__panel + .svc__panel { margin-top: 3rem; }
.svc__summary { font-size: 1.15rem; line-height: 1.5; max-width: 46ch; margin-bottom: 1rem; }

/* Verticals + the spread */
.verticals__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.verticals__lead .lede { margin-top: 1.25rem; }
.verticals__list ul { list-style: none; margin-bottom: 2rem; border-top: 2px solid var(--on-navy); }
.vertical { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: .5rem 2rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--navy-line); }
.vertical__name { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1; }
.vertical p { color: var(--on-navy-soft); }

.spread { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); aspect-ratio: 640 / 340; }
.spread svg { width: 100%; height: 100%; overflow: visible; }
.spread__gridlines path { fill: none; stroke: rgba(255, 255, 255, .12); stroke-dasharray: 3 7; }
.spread__earn, .spread__cost { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.spread__earn { stroke: var(--win-bright); }
.spread__cost { stroke: var(--cut); }
.spread__area { opacity: .42; }
.spread__label { position: absolute; font-size: .8rem; font-weight: 600; white-space: nowrap; line-height: 1; }
.spread__label--earn { right: 0; top: calc(11.8% - 1.5rem); color: var(--win-bright); }
.spread__label--cost { right: 0; top: calc(71.8% + .8rem); color: var(--cut); }
.spread__label--gap { right: 5%; top: 40%; font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, 2.2vw, 1.9rem); color: var(--navy); background: var(--sun); padding: .3rem .6rem; border-radius: 4px; }
.js .spread:not(.is-in) .spread__earn, .js .spread:not(.is-in) .spread__cost { stroke-dashoffset: 1; }
.js .spread:not(.is-in) .spread__area, .js .spread:not(.is-in) .spread__label { opacity: 0; }
.spread.is-in .spread__cost { transition: stroke-dashoffset 1.5s var(--ease) .1s; }
.spread.is-in .spread__earn { transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.spread.is-in .spread__area { transition: opacity 1s ease 1.5s; }
.spread.is-in .spread__label { transition: opacity .6s ease 1.7s; }
.spread.is-in .spread__label--gap { transition-delay: 2.1s; }

/* Calculator */
.calc__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.calc__copy .lede { margin-top: 1.25rem; }
.calc__note { margin-top: 1.5rem; font-size: .85rem; color: var(--ink-soft); max-width: 38ch; }
.calc__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-slot); overflow: hidden; }
.calc__inputs { display: grid; gap: 1.7rem; align-content: center; padding: clamp(1.25rem, 3vw, 2.25rem); }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .5rem; }
.range label { font-weight: 600; font-size: .95rem; }
.range output { font-stretch: 68%; font-weight: 800; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 0; padding: 0; background: transparent; border: 0; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--bid) var(--p), var(--line) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 3px solid var(--bid); box-shadow: 0 2px 6px rgba(11, 26, 68, .25); transition: transform .15s; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--bid); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 3px solid var(--bid); }
.calc__results { display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--navy); color: var(--on-navy); --focus: var(--sun); }
.calc__results .btn--primary { background: var(--sun); color: var(--navy); align-self: flex-start; }
.calc__results .btn--primary:hover { background: #FFD867; }
.calc__bars { display: grid; gap: .6rem; }
.calc__bar { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) 6.2rem; align-items: center; gap: .7rem; font-size: .85rem; }
.calc__bar span { color: var(--on-navy-soft); }
.calc__bar i { display: block; height: 14px; width: var(--w, 50%); min-width: 4px; border-radius: 3px; background: var(--cut); transition: width .5s var(--ease); }
.calc__bar--rev i { background: var(--win-bright); }
.calc__bar b { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.calc__stats dt { font-size: .8rem; color: var(--on-navy-soft); }
.calc__stats dd { font-stretch: 68%; font-weight: 800; font-size: 1.9rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc__profit { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--navy-line); }
.calc__stats .calc__profit dd { font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--win-bright); transition: color .3s; }
.calc__stats .calc__profit.is-loss dd { color: var(--cut); }

/* Approach */
.approach { background: var(--white); }
.approach__list, .pillars__list, .next__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); }
.approach__item { padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.approach__item h3, .pillars__list h3, .partner__list h3, .next__list h3 { font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1; margin-bottom: .8rem; }
.approach__item p { color: var(--ink-soft); }

/* Platforms + partners */
.platforms__list { list-style: none; border-bottom: 1px solid var(--line); }
.platforms__item { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: .75rem 3rem; align-items: center; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.platforms__item:first-child { border-top: 2px solid var(--ink); }
.platforms__name { font-stretch: 64%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 5.6vw, 4.75rem); line-height: .95; transition: color .25s, transform .4s var(--ease); }
.platforms__item:hover .platforms__name { color: var(--bid); transform: translateX(.6rem); }
.platforms__item p { color: var(--ink-soft); max-width: 44ch; }
.partners { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 2.5rem; }
.partners__title { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.partners__list { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }

/* Desk gallery */
.desk { background: var(--white); }
.desk__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; }
.desk__item { position: relative; overflow: hidden; border-radius: var(--r-slot); background: var(--navy); }
.desk__item:first-child { grid-row: span 2; }
.desk__img { height: 100%; aspect-ratio: 16 / 10; }
.desk__item:first-child .desk__img { aspect-ratio: auto; min-height: 320px; }
.desk__img img { transition: transform 1s var(--ease); }
.desk__item:hover .desk__img img { transform: scale(1.04); }
.desk__item figcaption { position: absolute; inset: auto 0 0 0; display: grid; gap: .2rem; padding: 4.5rem 1.25rem 1.1rem; color: #fff; background: linear-gradient(transparent, rgba(8, 18, 56, .9) 45%, rgba(8, 18, 56, .97)); }
.desk__item strong { font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.desk__item span { font-size: .95rem; color: var(--on-navy-soft); }

/* Contact block + form */
.contact-block__grid, .contact-page__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-block__copy .lede { margin-top: 1.25rem; }
.contact-block__mail { margin-top: 1.5rem; }
.contact-page__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.form-card { position: relative; padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-slot); scroll-margin-top: 100px; }
.form__title, .form-success h3 { font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.form__intro { margin: .6rem 0 1.5rem; font-size: .98rem; color: var(--ink-soft); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r-ctl);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230B1A44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bid); background-color: var(--white); box-shadow: 0 0 0 3px rgba(43, 77, 255, .18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__error { font-size: .85rem; color: var(--error); }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.form__status { font-size: .92rem; color: var(--error); }
.form-success { padding: 1rem 0; }
.form-success[hidden], .form[hidden] { display: none; }
.form-success p { margin: .7rem 0 1.5rem; color: var(--ink-soft); max-width: 44ch; }
.form-success__badge { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.1rem; border-radius: 50%; background: var(--win); color: #fff; font-size: 1.5rem; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); } }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { padding: clamp(3.5rem, 7vw, 6rem) 0 1.5rem; overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.3fr)); gap: 2.5rem; }
.site-footer__tagline .line { display: block; }
.site-footer__tagline { margin: 1.3rem 0 .8rem; font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: 1.8rem; line-height: .98; }
.site-footer__blurb { max-width: 38ch; font-size: .95rem; color: var(--on-navy-soft); }
.site-footer__h { margin-bottom: .9rem; font-size: .85rem; font-weight: 600; color: var(--on-navy-soft); }
.site-footer__h--gap { margin-top: 1.6rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .5rem; }
.site-footer__col a { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.site-footer__col a:hover { color: var(--sun); }
.site-footer__col .i { width: .85em; height: .85em; opacity: .7; }
.site-footer__wordmark {
  margin: clamp(2.5rem, 5vw, 4rem) 0 1.25rem; white-space: nowrap; user-select: none;
  font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(4.5rem, 20vw, 17rem); line-height: .8; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .26);
}
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-top: 1.25rem; border-top: 1px solid var(--navy-line); font-size: .88rem; color: var(--on-navy-soft); }
.site-footer__bottom a:hover { color: var(--sun); }

/* ── Inner page hero ──────────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(2.5rem, 5vw, 4.5rem); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50rem 34rem at 92% -20%, rgba(43, 77, 255, .55), transparent 62%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 100%;
}
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.page-hero--plain .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
.page-hero__copy .lede { margin-top: 1.5rem; }
.page-hero__copy .actions { margin-top: 2rem; }
.page-hero__art { aspect-ratio: 4 / 3; }
.page-hero__art .slot__body { overflow: hidden; }
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--tall { min-height: 82vh; display: grid; align-items: center; }
.notfound__code { font-stretch: 62%; font-weight: 900; font-size: clamp(6rem, 22vw, 16rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--sun); margin-bottom: 1.5rem; }

/* ── About ────────────────────────────────────────────────────────────── */
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pullquote { margin-top: clamp(3rem, 7vw, 6rem); padding: clamp(1.75rem, 5vw, 4rem); background: var(--bid); color: #fff; border-radius: var(--r-slot); }
.pullquote p { font-stretch: 66%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5.6vw, 4.9rem); line-height: .94; text-wrap: balance; }
.partner { background: var(--white); }
.partner__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.partner__grid .lede { margin-top: 1rem; }
.partner__list { list-style: none; margin-top: 2rem; }
.partner__list li { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.partner__list li:first-child { border-top: 2px solid var(--ink); }
.partner__list h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: .45rem; }
.partner__list p { color: var(--ink-soft); }
.pillars__list { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pillars__list li, .next__list li { padding-top: 1.4rem; border-top: 2px solid var(--on-navy); }
.pillars__list h3 { color: var(--sun); }
.pillars__list p, .next__list p { color: var(--on-navy-soft); }
.stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.stats__item { display: flex; flex-direction: column; padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.stats__item dd { font-stretch: 62%; font-weight: 900; font-size: clamp(4.5rem, 11vw, 9.5rem); line-height: .82; font-variant-numeric: tabular-nums; color: var(--bid); }
.stats__item dt { margin-top: .9rem; font-weight: 600; max-width: 16ch; }

/* ── Services page ────────────────────────────────────────────────────── */
.chipnav { background: var(--white); border-bottom: 1px solid var(--line); }
.chipnav__in { display: flex; gap: .5rem; padding-block: .9rem; overflow-x: auto; scrollbar-width: none; }
.chipnav__in::-webkit-scrollbar { display: none; }
.chipnav a { flex: none; padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.chipnav a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.service { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service:last-child { padding-bottom: 0; }
.service:nth-child(even) .service__art { order: 2; }
.service__copy > .lede { margin: 1.1rem 0 1rem; }
.service__copy > p { color: var(--ink-soft); max-width: 58ch; }
.service__points-title { margin-top: 1.6rem; font-size: .95rem; font-weight: 650; }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; margin: .8rem 0 1.8rem; }
.ticks li { display: flex; align-items: flex-start; gap: .55rem; font-weight: 550; line-height: 1.35; }
.ticks .i { margin-top: .12em; color: var(--win); }

/* ── Process page ─────────────────────────────────────────────────────── */
.plan-section { background: var(--white); }
.plan-section__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.plan-section__grid .lede { margin-top: 1.25rem; }
.plan { padding: clamp(1rem, 2.5vw, 2rem); background: var(--navy); color: var(--on-navy); border-radius: var(--r-slot); }
.plan__head, .plan__row { display: grid; grid-template-columns: minmax(8.5rem, 13rem) minmax(0, 1fr); align-items: center; gap: 1rem; }
.plan__head { margin-bottom: .6rem; font-size: .78rem; font-weight: 600; color: var(--on-navy-soft); }
.plan__ticks { display: grid; grid-template-columns: repeat(12, 1fr); }
.plan__ticks i { height: 8px; border-left: 1px solid var(--navy-line); }
.plan__rows { list-style: none; }
.plan__row { padding: .65rem 0; border-top: 1px solid var(--navy-line); }
.plan__name { display: flex; gap: .65rem; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; }
.plan__name b { font-weight: 500; color: var(--on-navy-soft); font-variant-numeric: tabular-nums; }
.plan__track { display: grid; grid-template-columns: repeat(12, 1fr); height: 22px; background: linear-gradient(to right, var(--navy-line) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%; }
.plan__bar { grid-column: calc(var(--start) + 1) / span var(--span); border-radius: 3px; background: var(--sun); transform-origin: left center; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * .16s + .25s); }
.plan__bar--2 { background: var(--violet); }
.plan__bar--3 { background: #5E7BFF; }
.plan__bar--4 { background: var(--win-bright); }
.plan__bar--5 { background: var(--cut); }
.plan__bar.is-ongoing { -webkit-mask-image: linear-gradient(to right, #000 65%, rgba(0, 0, 0, .25)); mask-image: linear-gradient(to right, #000 65%, rgba(0, 0, 0, .25)); }
.js .plan:not(.is-in) .plan__bar { transform: scaleX(0); }

.steps { list-style: none; display: grid; gap: clamp(3.5rem, 8vw, 7rem); }
.step { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; scroll-margin-top: 90px; }
.step:nth-child(even) .step__art { order: -1; }
.step__num { display: block; margin-bottom: 1.1rem; font-stretch: 62%; font-weight: 900; font-size: clamp(4.5rem, 9vw, 8rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.step__copy > .lede { margin: 1rem 0; }
.step__copy > p { color: var(--ink-soft); max-width: 56ch; }
.step__copy > .step__deliv { margin-top: 1.4rem; padding: .9rem 1.1rem; border-left: 4px solid var(--sun); background: var(--white); color: var(--ink); font-weight: 600; }
.step__deliv span { display: block; font-size: .8rem; font-weight: 550; color: var(--ink-soft); }

/* ── Contact page ─────────────────────────────────────────────────────── */
.details__list { margin-top: 1.75rem; border-top: 2px solid var(--ink); }
.details__list > div { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.details__list dt { margin-bottom: .35rem; font-size: .85rem; font-weight: 550; color: var(--ink-soft); }
.details__list address { margin-bottom: .6rem; }
.details__big { font-stretch: 72%; font-weight: 750; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; text-decoration: none; overflow-wrap: anywhere; }
.details__big:hover { color: var(--bid); }
.details__social { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.next__list { margin-top: clamp(2.5rem, 5vw, 4rem); }
.next__num { display: block; margin-bottom: .9rem; font-stretch: 62%; font-weight: 900; font-size: 3.2rem; line-height: .8; color: var(--sun); }

/* ── Legal ────────────────────────────────────────────────────────────── */
.legal__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.legal__toc { position: sticky; top: 100px; font-size: .92rem; }
.legal__toc ol { list-style: none; border-left: 2px solid var(--line); }
.legal__toc a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; }
.legal__toc a:hover { color: var(--ink); border-left-color: var(--bid); }
.prose { max-width: 70ch; }
.prose > * + *, .prose section > * + *, .prose__intro > * + * { margin-top: 1em; }
.prose section { margin-top: 2.75rem; scroll-margin-top: 100px; }
.prose h2 { font-stretch: 72%; font-weight: 800; font-size: 1.75rem; line-height: 1.1; }
.prose ul { list-style: disc; padding-left: 1.3rem; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--bid); }
.prose__intro { font-size: 1.15rem; }
.prose--lg { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; max-width: 60ch; }

/* ── Scroll reveal ────────────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .75s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__grid { grid-template-rows: auto; }
  .slot--main { grid-column: 1 / -1; }
  .slot--chart { grid-column: 1 / 5; }
  .slot--creative { grid-column: 5 / 9; }
  .slot--tall { grid-column: 9 / 13; grid-row: 2; max-height: 230px; }
  .slot--wide { grid-column: 1 / -1; grid-row: 3; }
  .outcome { padding-top: 2.1rem; }
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .nav, .site-header__cta { display: none; }
  .nav-toggle { display: grid; }
  .section-head, .intro__grid, .svc, .verticals__grid, .calc__grid, .contact-block__grid, .contact-page__grid,
  .page-hero__grid, .story__grid, .partner__grid, .service, .step, .plan-section__grid, .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .service:nth-child(even) .service__art { order: 0; }
  .step .step__art, .step:nth-child(even) .step__art { order: -1; }
  .legal__toc { position: static; }
  .svc__panels { position: static; }
  .svc__list { flex-direction: row; gap: .5rem; overflow-x: auto; border-top: 0; padding-bottom: .4rem; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .svc__list::-webkit-scrollbar { display: none; }
  .svc__tab, .svc__tab[aria-selected="true"] { flex: none; width: auto; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 99px; font-stretch: 100%; text-transform: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
  .svc__tab[aria-selected="true"] { background: var(--bid); border-color: var(--bid); color: #fff; }
  .svc__tab .i { display: none; }
  .approach__list, .pillars__list, .next__list { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms__item { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .slot--chart { grid-column: 1 / 7; }
  .slot--creative { grid-column: 7 / 13; min-height: 170px; }
  .slot--tall { display: none; }
  .slot--main .slot__body { min-height: 0; }
  .hero__caption { text-align: left; }
  .vertical { grid-template-columns: minmax(0, 1fr); }
  .calc__panel { grid-template-columns: minmax(0, 1fr); }
  .desk__grid { grid-template-columns: minmax(0, 1fr); }
  .desk__item:first-child .desk__img { aspect-ratio: 16 / 10; min-height: 0; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .ticks { grid-template-columns: minmax(0, 1fr); }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratecard__row { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .plan__head, .plan__row { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .plan__head > span:first-child { display: none; }
  .spread__label--gap { right: 2%; }
  .actions .btn { flex: 1 1 auto; }
}

@media (max-width: 460px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .stats__list { gap: 1.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ticker__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Sections focused by an in-page link or script don't need a focus ring. */
[tabindex="-1"]:focus { outline: none; }

/* ════════════════════════════════════════════════════════════════════════
   Home banner fits the first screen
   The banner, plus the yellow strip under it, is sized to the visible screen
   on any device, and everything inside scales with the space each box gets.
   If a screen is too small even after scaling, the script adds .hero--flow
   and the banner goes back to its natural, scrollable height.
   ════════════════════════════════════════════════════════════════════════ */
:root { --ticker-h: clamp(3.2rem, 2.4vw + 1.9rem, 3.9rem); }
.ticker { display: flex; align-items: center; height: var(--ticker-h); }
.ticker__track { flex: none; }
.ticker__run li { padding-block: 0; }

@media (max-width: 720px), (max-height: 600px) { :root { --header-h: 64px; } }

.js .hero:not(.hero--flow) {
  display: flex; flex-direction: column;
  height: calc(100vh - var(--ticker-h)); height: calc(100svh - var(--ticker-h));
  min-height: 300px; max-height: 1000px;
  padding: calc(var(--header-h) + clamp(.4rem, 2vh, 1.75rem)) 0 clamp(.5rem, 1.6vh, 1.25rem);
}
.js .hero:not(.hero--flow) > .wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.js .hero:not(.hero--flow) .hero__grid { flex: 1; min-height: 0; gap: clamp(8px, 1.4vh, 14px); grid-template-rows: minmax(0, 1.85fr) minmax(0, 1fr); }
.js .hero:not(.hero--flow) .hero__caption { flex: none; margin-top: clamp(.3rem, 1vh, .9rem); line-height: 1.3; }
.js .hero:not(.hero--flow) .slot { min-height: 0; max-height: none; container-type: size; }
.js .hero:not(.hero--flow) .slot__body { overflow: hidden; }

/* Headline box: type and spacing follow the box's own width (cqi) and height (cqh).
   --fit is a last-resort shrink factor set by the script when text is edited longer. */
.js .hero:not(.hero--flow) .slot--main { container: heromain / size; }
.js .hero:not(.hero--flow) .slot--main .slot__body {
  --f: var(--fit, 1);
  justify-content: flex-start; min-height: 0;
  gap: calc(clamp(.55rem, 3.2cqh, 1.4rem) * var(--f));
  padding: clamp(1.75rem, 9cqh, 4rem) clamp(1rem, 4.5cqi, 3rem) calc(clamp(.8rem, 5cqh, 3rem) * var(--f));
}
.js .hero:not(.hero--flow) .slot--main .slot__body > :first-child { margin-top: auto; }
.js .hero:not(.hero--flow) .slot--main .slot__body > :last-child { margin-bottom: auto; }
.js .hero:not(.hero--flow) .display { font-size: calc(clamp(1.7rem, min(9.2cqi, 19cqh), 7.25rem) * var(--f)); }
.js .hero:not(.hero--flow) .slot--main .lede { font-size: calc(clamp(.875rem, min(1rem + .35cqi, 4.6cqh), 1.3125rem) * var(--f)); line-height: 1.45; max-width: 62ch; }
.js .hero:not(.hero--flow) .slot--main .actions { gap: calc(.75rem * var(--f)); }
.js .hero:not(.hero--flow) .slot--main .btn { font-size: calc(clamp(.875rem, 3.4cqh, 1rem) * var(--f)); padding: calc(clamp(.55rem, 2.8cqh, .95rem) * var(--f)) clamp(.7rem, 2.2cqi, 1.4rem); }
.js .hero.hero--tight:not(.hero--flow) .slot--main .lede { display: none; }
@container heromain (max-width: 520px) and (max-aspect-ratio: 3 / 2) {
  .js .hero:not(.hero--flow) .display { font-size: calc(clamp(1.7rem, min(12.6cqi, 12.4cqh), 4rem) * var(--f)); }
}
@container heromain (max-width: 360px) {
  .js .hero:not(.hero--flow) .slot--main .btn .i { display: none; }
}
@container heromain (max-height: 300px) and (min-width: 700px) {
  .js .hero:not(.hero--flow) .slot--main .lede { max-width: 84ch; }
}

/* Small boxes */
.js .hero:not(.hero--flow) .stream { padding: clamp(1.7rem, 9cqh, 2.6rem) .9rem .9rem; }
.js .hero:not(.hero--flow) .mini { padding: clamp(1.6rem, 20cqh, 2.6rem) .9rem clamp(.45rem, 6cqh, .9rem); gap: clamp(.2rem, 3cqh, .5rem); }
.js .hero:not(.hero--flow) .mini__title { font-size: clamp(.95rem, 12cqh, 1.35rem); }
.js .hero:not(.hero--flow) .mini__chart { min-height: 0; }
.js .hero:not(.hero--flow) .outcome { padding: clamp(1.4rem, 22cqh, 2.3rem) 1rem clamp(.4rem, 8cqh, 1rem); }
.js .hero:not(.hero--flow) .outcome__badge { width: clamp(28px, 30cqh, 46px); height: clamp(28px, 30cqh, 46px); font-size: clamp(.8rem, 9cqh, 1.2rem); }
.js .hero:not(.hero--flow) .outcome__text b { font-size: clamp(1rem, min(1.9vw, 18cqh), 1.7rem); }
@container (max-height: 150px) {
  .js .hero:not(.hero--flow) .stream__title { display: none; }
  .js .hero:not(.hero--flow) .stream { padding-top: 1.9rem; }
}
@container (max-height: 125px) {
  .js .hero:not(.hero--flow) .mini__legend { display: none; }
}
@container (max-height: 100px) {
  .js .hero:not(.hero--flow) .outcome { padding: .3rem 1rem .3rem 6.6rem; }
  .js .hero:not(.hero--flow) .outcome__text b { font-size: clamp(.95rem, 34cqh, 1.4rem); }
  .js .hero:not(.hero--flow) .creative__label { display: none; }
}
@container (max-height: 64px) {
  .js .hero:not(.hero--flow) .outcome__text small { display: none; }
}

@media (max-width: 1100px) {
  .js .hero:not(.hero--flow) .hero__grid { grid-template-rows: minmax(0, 2.6fr) minmax(0, 1.25fr) minmax(0, .55fr); }
}
@media (max-width: 720px) {
  .js .hero:not(.hero--flow) .hero__grid { grid-template-rows: minmax(0, 3.4fr) minmax(0, 1fr) minmax(0, .5fr); }
}
/* Very short screens (a phone on its side): keep the headline and the bid stream only. */
@media (max-height: 520px) {
  .js .hero:not(.hero--flow) .hero__grid { grid-template-rows: minmax(0, 1fr); }
  .js .hero:not(.hero--flow) .slot--chart, .js .hero:not(.hero--flow) .slot--creative, .js .hero:not(.hero--flow) .slot--wide { display: none; }
  .js .hero:not(.hero--flow) .slot--main { grid-column: 1 / 9; grid-row: 1; }
  .js .hero:not(.hero--flow) .slot--tall { grid-column: 9 / 13; grid-row: 1; }
}
@media (max-height: 520px) and (max-width: 720px) {
  .js .hero:not(.hero--flow) .slot--main { grid-column: 1 / -1; }
}
