:root {
  /* Colors — Steep */
  --ink: #17191c;
  --paper: #ffffff;
  --mist: #f2f2f3;
  --fog: #fafafb;
  /* muted grays darkened from the Steep tokens (#777b86 / #979799 / #a3a6af) to pass WCAG AA on white, fog and mist */
  --slate: #5f636d;
  --ash: #686b74;
  --smoke: #73767f;
  --peach: #fbe1d1;
  --sienna: #5d2a1a;
  --hairline: #ececec;
  /* surfaces measured on live steep.app (not in the Refero extract) */
  --card: #f7f7f8;
  --sky: #d3e3fc;
  --night: #121212;
  --night-card: #1c1c1c;
  --on-night: #ffffff;
  --on-night-muted: rgba(255,255,255,.62);
  --on-night-line: rgba(255,255,255,.1);

  --font-serif: 'Newsreader', 'Signifier', 'Tiempos Headline', ui-serif, Georgia, serif;
  --font-sans: 'Inter', 'Sohne', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-display: clamp(46px, 7vw, 100px);
  --text-heading-lg: clamp(38px, 5.4vw, 64px);
  --text-heading: clamp(32px, 3.8vw, 44px);

  --radius-card: 24px;
  --radius-elevated: 20px;
  --radius-small: 16px;
  --radius-input: 16px;
  --radius-image: 12px;
  --radius-pill: 9999px;

  --shadow-artifact: 0 0 0 1px rgba(4,23,43,.05), 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --shadow-popover: 0 0 0 1px rgba(0,0,0,.05), 0 4px 24px 0 rgba(0,0,0,.08);

  --ease: cubic-bezier(.22, 1, .36, 1);

  --max: 1200px;
  --gutter: 24px;
  --section: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
section { scroll-margin-top: 72px; }

/* ---------- Type ---------- */
.display, .h-lg, .h-md {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.3;
  text-wrap: balance;
}
.display { font-size: var(--text-display); letter-spacing: -0.025em; line-height: 1.05; }
.h-lg { font-size: var(--text-heading-lg); letter-spacing: -0.015em; }
.h-md { font-size: var(--text-heading); letter-spacing: -0.015em; }
.display em, .h-lg em, .h-md em { font-style: italic; }
.h-sm { font-size: 26px; line-height: 1.18; letter-spacing: -0.24px; font-weight: 450; }
.lead { font-size: 20px; line-height: 1.5; font-weight: 400; color: var(--ink); }
.muted { color: var(--slate); }
.tag { font-size: 14px; line-height: 1.4; color: var(--ash); font-weight: 400; letter-spacing: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: var(--slate); font-weight: 400; }
.eyebrow::after { content: "›"; font-size: 18px; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 18px; font-weight: 430; line-height: 1;
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 16px; }
.btn-filled { background: var(--ink); color: var(--paper); }
.btn-filled:hover { background: #2a2d31; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 430; color: var(--ink); padding: 10px 0; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.logo svg { width: 24px; height: 24px; flex: none; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 16px; font-weight: 430; padding: 2px 0; }
.nav-links a[aria-current] { color: var(--slate); }
.nav-links a:hover { color: var(--slate); }
.nav-cta { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.nav-cta .text-link { font-size: 16px; }
.nav-cta .text-link:hover { color: var(--slate); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -64px; padding-top: 64px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-glow::before, .hero-glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-glow::before { width: 760px; height: 700px; left: 50%; top: 14%; transform: translateX(-22%); background: radial-gradient(closest-side, rgba(250,182,150,.95), rgba(251,214,193,.55) 50%, transparent); filter: blur(70px); }
.hero-glow::after { width: 680px; height: 600px; left: 50%; top: 26%; transform: translateX(-88%); background: radial-gradient(closest-side, rgba(218,200,238,.9), rgba(236,226,246,.4) 55%, transparent); filter: blur(70px); }
.hero-stage { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; min-height: 940px; display: flex; align-items: flex-start; justify-content: center; padding: 0 var(--gutter); }
.hero-copy { position: relative; z-index: 2; max-width: 1000px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 140px 0 280px; }
.hero-copy .display { max-width: min(1000px, 64vw); font-size: clamp(46px, 6.9vw, 100px); }
.hero-copy .lead { max-width: 620px; color: var(--ink); font-size: 22px; }
.hero-copy .btn-row { justify-content: center; margin-top: 8px; }

/* Floating product artifacts */
.artifact {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-elevated);
  box-shadow: var(--shadow-artifact);
  padding: 16px 20px 14px;
}
.hero .artifact { position: absolute; z-index: 1; }
.a-label { font-size: 14px; font-weight: 500; color: var(--ink); }
.a-sub { font-size: 12px; color: var(--slate); }
.a-metric { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }

.art-table { left: -12px; top: 170px; width: 320px; display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 18px 20px 18px 22px; }
.art-table .bars { display: flex; align-items: flex-end; gap: 9px; height: 92px; margin-top: 14px; }
.art-table .bars i { display: block; width: 9px; border-radius: 3px; background: var(--ink); }
.art-table .bars i:nth-child(1){height:38%;opacity:.25}
.art-table .bars i:nth-child(2){height:55%;opacity:.35}
.art-table .bars i:nth-child(3){height:72%;opacity:.55}
.art-table .bars i:nth-child(4){height:88%;opacity:.8}
.art-table .bars i:nth-child(5){height:100%}
.art-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.art-table th { text-align: left; font-weight: 500; font-size: 14px; padding: 0 0 8px; }
.art-table td { padding: 6px 0; border-top: 1px solid var(--hairline); color: var(--ash); }
.art-table td:last-child { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }

.art-ring { right: 0; top: 400px; width: 320px; background: linear-gradient(160deg, #fff 0%, #fdf3ec 100%); }
.art-ring .ring-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 14px; }
.art-ring .a-label { color: var(--sienna); }
.art-ring .a-metric { color: var(--sienna); }
.art-ring .a-sub { color: var(--sienna); opacity: .75; }
.ring { position: relative; width: 108px; height: 108px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--sienna); }
.ring-val b { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.ring-val span { font-size: 11px; opacity: .7; margin-top: 3px; }

.art-chart { left: 11%; bottom: 70px; width: 310px; }
.art-chart .chart-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: end; margin-top: 6px; }
.art-chart svg { width: 100%; height: 96px; overflow: visible; }
.art-chart .months { display: flex; justify-content: space-between; font-size: 11px; color: var(--ash); margin-top: 4px; padding-left: 4px; }
.art-chart .months span:last-child { border: 1px solid var(--ink); color: var(--ink); border-radius: 99px; padding: 0 6px; }

.art-composer { left: 50%; bottom: 120px; width: 420px; margin-left: 20px; padding: 14px 14px 12px 18px; border-radius: var(--radius-small); }
.composer-ph { font-size: 15px; color: var(--smoke); min-height: 1.5em; }
.composer-ph.typing { color: var(--ink); }
.composer-ph.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.send { transition: transform .4s var(--ease); }
.send.ready { transform: scale(1.12); }
.composer-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 8px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; color: var(--slate); background: var(--mist); border-radius: 99px; padding: 4px 10px; }
.send { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ink); display: grid; place-content: center; }
.send svg { width: 14px; height: 14px; }

.avatar { position: absolute; width: 42px; height: 42px; border-radius: 50%; display: grid; place-content: center; font-size: 15px; font-weight: 500; border: 1.5px solid var(--ink); z-index: 3; }
.avatar::after { content: ""; position: absolute; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 14px solid var(--ink); }
.av-1 { left: -26px; top: 70px; background: #fbe1d1; color: var(--sienna); }
.av-1::after { right: -12px; top: -12px; transform: rotate(40deg); }
.av-2 { right: 150px; bottom: -26px; background: #eceef2; color: var(--ink); }
.av-2::after { left: -2px; top: -16px; transform: rotate(-30deg); }

/* ---------- Logos ---------- */
.logos { padding: 24px 0 var(--section); }
.logos-title { text-align: center; margin-bottom: 28px; font-size: 16px; color: var(--ink); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { width: auto; height: 30px; margin: 0 48px; flex: none; opacity: .8; filter: grayscale(1); transition: opacity .2s; }
.marquee-track img[src*="google"], .marquee-track img[src*="healthlabs"] { height: 36px; }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.section { padding: var(--section) 0; }
.band-fog { background: var(--fog); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 64px; max-width: 820px; }
.section-head.center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }
.section-head .lead { color: var(--slate); font-size: 20px; max-width: 620px; }

/* Section bands taken from live steep.app: sky-blue customer stories, a dark platform band, soft glows */
.band-sky { background: var(--sky); }
.band-sky .pill-tab[aria-selected="true"] { border-color: transparent; }
.band-night { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.band-night > .container { position: relative; z-index: 1; }
.band-night .eyebrow, .band-night .tag, .band-night .section-head .lead { color: var(--on-night-muted); }
.band-night .pill-tab { color: var(--on-night-muted); }
.band-night .pill-tab:hover { color: var(--on-night); }
.band-night .pill-tab[aria-selected="true"] { background: var(--on-night); color: var(--ink); border-color: transparent; }
.band-night .btn-filled { background: var(--on-night); color: var(--ink); }
.band-night .btn-filled:hover { background: #e9e9ea; }
.band-night .link-arrow { color: var(--on-night); }
.glow { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(80px); }
.glow-violet { background: radial-gradient(closest-side, rgba(146, 92, 214, .55), rgba(146, 92, 214, .18) 55%, transparent); }
.glow-warm { background: radial-gradient(closest-side, rgba(250, 182, 150, .7), rgba(251, 214, 193, .35) 55%, transparent); }
.glow-lilac { background: radial-gradient(closest-side, rgba(218, 200, 238, .8), rgba(236, 226, 246, .35) 55%, transparent); }

/* ---------- Services (tabs) ---------- */
.pill-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.pill-tab {
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-pill);
  height: 40px; padding: 0 18px; font-size: 15px; font-weight: 450; color: var(--slate); cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.pill-tab:hover { color: var(--ink); }
.pill-tab[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--hairline); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pill-tab .logo-tab { height: 22px; width: auto; display: block; filter: grayscale(1); opacity: .7; }
.pill-tab[aria-selected="true"] .logo-tab { opacity: 1; }

.panel[hidden] { display: none; }

.service {
  background: var(--card); border-radius: var(--radius-card);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px; align-items: center; min-height: 520px;
}
.service-copy { display: flex; flex-direction: column; gap: 20px; }
.service-copy p { font-size: 17px; line-height: 1.55; }
.checklist { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 450; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2317191c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/20px no-repeat;
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.band-night .service { background: var(--night-card); box-shadow: inset 0 0 0 1px var(--on-night-line); }
.band-night .checklist li::before { box-shadow: none; }
.service-visual::before { content: ""; position: absolute; inset: -10% -6%; border-radius: 50%; filter: blur(70px); pointer-events: none; background: radial-gradient(closest-side, rgba(146, 92, 214, .5), rgba(146, 92, 214, .12) 60%, transparent); opacity: 0; }
.band-night .service-visual::before { opacity: 1; }
.service-visual > .artifact { position: relative; z-index: 1; }
.service-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.service-visual .artifact { width: 100%; max-width: 440px; }
.service-visual .artifact.small { position: absolute; width: 210px; right: -16px; bottom: -28px; }

/* service mock pieces */
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pill-mini { font-size: 11px; border: 1px solid var(--hairline); border-radius: 99px; padding: 2px 8px; color: var(--slate); }
.timeline { display: grid; gap: 10px; }
.tl-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--slate); }
.tl-track { position: relative; height: 22px; background: var(--fog); border-radius: 6px; }
.tl-track i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: var(--ink); }
.tl-quarters { display: grid; grid-template-columns: 110px repeat(4, 1fr); font-size: 11px; color: var(--ash); margin-top: 8px; gap: 10px; }
.tl-quarters span:first-child { visibility: hidden; }

.flow { display: grid; gap: 10px; }
.flow-step { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--fog); }
.flow-step .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); display: grid; place-content: center; font-size: 13px; font-weight: 500; }
.flow-step b { font-weight: 500; font-size: 14px; display: block; }
.flow-step small { font-size: 12px; color: var(--slate); }
.flow-step .live { font-size: 11px; color: var(--sienna); background: var(--peach); border-radius: 99px; padding: 2px 8px; }

.bars-h { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr 48px; gap: 10px; align-items: center; font-size: 13px; color: var(--slate); }
.bar-row .tracks { display: grid; gap: 4px; }
.bar-row .tracks i { display: block; height: 8px; border-radius: 4px; }
.bar-row .tracks i.ltv { background: var(--ink); }
.bar-row .tracks i.cac { background: var(--smoke); opacity: .6; }
.bar-row b { text-align: right; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--slate); margin-top: 14px; }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--ink); }
.legend span:last-child::before { background: var(--smoke); opacity: .6; }

.sources { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.src-list { display: grid; gap: 8px; }
.src { font-size: 13px; padding: 9px 12px; border-radius: 10px; background: var(--fog); box-shadow: inset 0 0 0 1px var(--hairline); }
.src-arrow { color: var(--smoke); font-size: 18px; }
.dwh { border-radius: 14px; background: var(--ink); color: var(--paper); padding: 16px; text-align: center; font-size: 13px; }
.dwh b { display: block; font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.dwh span { opacity: .65; }

.creators { width: 100%; border-collapse: collapse; font-size: 13px; }
.creators td { padding: 9px 0; border-top: 1px solid var(--hairline); }
.creators tr:first-child td { border-top: 0; }
.creators .who { display: flex; align-items: center; gap: 10px; }
.creators .face { width: 26px; height: 26px; border-radius: 50%; background: var(--mist); display: grid; place-content: center; font-size: 11px; font-weight: 500; }
.creators td:not(:first-child) { text-align: right; color: var(--slate); font-variant-numeric: tabular-nums; }
.creators .up { color: var(--ink); font-weight: 500; }

.ds-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.swatches i { aspect-ratio: 1; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.type-spec { margin-top: 12px; font-family: var(--font-serif); font-size: 34px; line-height: 1; }
.type-spec small { display: block; font-family: var(--font-sans); font-size: 11px; color: var(--slate); margin-top: 6px; }
.wire { border-radius: 12px; background: var(--fog); padding: 12px; display: grid; gap: 8px; box-shadow: inset 0 0 0 1px var(--hairline); }
.wire i { display: block; border-radius: 4px; background: var(--mist); height: 8px; }
.wire i.hero-b { height: 54px; background: linear-gradient(135deg, #fbe1d1, #f2f2f3); }
.wire i.cta { width: 46%; height: 18px; border-radius: 99px; background: var(--ink); }
.wire i.w70 { width: 70%; } .wire i.w50 { width: 50%; }

/* ---------- Team ---------- */
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.founder { background: var(--card); border-radius: var(--radius-card); padding: 12px 12px 28px; display: flex; flex-direction: column; }
.founder-photo { position: relative; border-radius: var(--radius-image); overflow: hidden; aspect-ratio: 4 / 4.2; background: #e6e6e8; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(1) contrast(1.05) brightness(1.04); }
.founder-body { padding: 24px 12px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.founder-name { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.li { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-content: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); transition: background .2s; }
.li:hover { background: var(--ink); }
.li:hover svg { fill: var(--paper); }
.li svg { width: 15px; height: 15px; fill: var(--ink); }
.founder-hl { font-size: 15px; font-weight: 480; color: var(--ink); }
.founder-bio { font-size: 15px; line-height: 1.55; color: var(--slate); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.stat { border-top: 1px solid var(--hairline); padding-top: 20px; }
.stat b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: var(--text-heading-lg); line-height: 1; letter-spacing: -0.015em; }
.stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--slate); }

.team-card {
  margin-top: 64px; background: var(--peach); color: var(--sienna); border-radius: var(--radius-card);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; padding: 16px 16px 16px 48px; align-items: center;
}
.team-card .h-lg { color: var(--sienna); }
.team-card p { font-size: 18px; font-weight: 430; }
.team-copy { display: flex; flex-direction: column; gap: 20px; padding: 32px 0; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles span { font-size: 14px; border: 1px solid rgba(93,42,26,.28); border-radius: 99px; padding: 6px 14px; }
.team-img { border-radius: 16px; overflow: hidden; aspect-ratio: 1080 / 630; }
.team-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) sepia(.12); }

/* ---------- Cases ---------- */
.case-list { display: grid; gap: 24px; }
.case {
  background: var(--paper); border-radius: var(--radius-card); box-shadow: inset 0 0 0 1px var(--hairline);
  display: grid; grid-template-columns: 380px 1fr; gap: 48px; padding: 12px 48px 12px 12px; align-items: center;
}
.case-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--mist); position: relative; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-img .brand { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-radius: 99px; padding: 6px 12px; display: flex; }
.case-img .brand img { height: 18px; width: auto; }
.case-copy { display: flex; flex-direction: column; gap: 16px; padding: 28px 0; }
.case-copy .h-sm { text-wrap: balance; }
.case-copy p { font-size: 16px; line-height: 1.6; color: var(--slate); }
.case-kpis { display: flex; flex-wrap: wrap; gap: 8px; }
.case-kpis span { font-size: 13px; font-weight: 450; background: var(--mist); border-radius: 99px; padding: 5px 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 110px; }
.contact-copy .lead { color: var(--slate); font-size: 18px; }
.trust { display: flex; align-items: center; gap: 18px; background: var(--card); border-radius: var(--radius-small); padding: 20px 24px; max-width: 440px; margin-top: 8px; }
.trust b { font-family: var(--font-serif); font-weight: 400; font-size: var(--text-heading); line-height: 1; letter-spacing: -0.015em; }
.contact-band { position: relative; overflow: hidden; }
.contact-band > .container { position: relative; z-index: 1; }
.trust span { font-size: 15px; color: var(--slate); }
.form { padding: 32px; border-radius: var(--radius-card); display: grid; gap: 16px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 450; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-input);
  padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--smoke); }
.field input:focus, .field textarea:focus { border-color: #c9cbd0; box-shadow: 0 0 0 4px var(--mist); }
.form .btn { justify-self: start; height: 48px; padding: 0 24px; }
.form-note { font-size: 13px; color: var(--ash); }
.form-success { display: none; text-align: center; padding: 48px 16px; }
.form-success .h-md { margin-bottom: 12px; }
.form.is-sent > :not(.form-success) { display: none; }
.form.is-sent .form-success { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--card); padding: 80px 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--hairline); }
.footer-top p { font-size: 15px; color: var(--slate); margin-top: 16px; max-width: 300px; }
.footer h4, .footer .footer-title { font-family: var(--font-sans); font-size: 14px; line-height: 1.4; letter-spacing: 0; color: var(--ash); font-weight: 400; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer ul a:hover { color: var(--slate); }
.footer-company { font-size: 15px; color: var(--slate); line-height: 1.7; }
.footer-word { font-family: var(--font-serif); font-size: clamp(96px, 23vw, 300px); line-height: .8; letter-spacing: -0.045em; text-align: center; margin: 48px 0 -0.14em; color: var(--ink); user-select: none; }
.footer-word em { font-style: italic; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 14px; color: var(--slate); border-top: 1px solid var(--hairline); position: relative; background: var(--card); }

/* ---------- Motion (Steep-style: word reveals, fade-up on scroll, floating artifacts) ---------- */
.split .w { display: inline-block; }
.motion .split .w { opacity: 0; transform: translateY(100%); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * 55ms); }
.motion .split.in .w { opacity: 1; transform: none; }

.motion .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.motion .reveal.in { opacity: 1; transform: none; }

.motion .nav { animation: navIn .8s var(--ease) both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-12px); } }

/* hero artifacts: intro uses `scale`/`filter`, scroll parallax uses `translate`, idle float uses `transform` */
.motion .hero .artifact { opacity: 0; scale: .94; filter: blur(8px); transition: opacity 1s var(--ease), scale 1.2s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.motion .hero .artifact.in { opacity: 1; scale: 1; filter: none; animation: float var(--fd, 7s) ease-in-out calc(var(--d, 0s) + 1.2s) infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.motion .avatar { animation: drift 5.5s ease-in-out infinite; }
.motion .av-2 { animation-duration: 6.5s; animation-delay: -2s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 33% { translate: 6px -5px; } 66% { translate: -4px 4px; } }

.motion .art-table .bars i { transform-origin: bottom; transform: scaleY(.3); transition: transform 1.2s var(--ease); }
.motion .art-table.in .bars i { transform: none; }
.motion .art-table.in .bars i:nth-child(2) { transition-delay: .08s; }
.motion .art-table.in .bars i:nth-child(3) { transition-delay: .16s; }
.motion .art-table.in .bars i:nth-child(4) { transition-delay: .24s; }
.motion .art-table.in .bars i:nth-child(5) { transition-delay: .32s; }
.motion .art-chart path { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.motion .art-chart.in path { stroke-dashoffset: 0; }
.motion .ring circle:last-child { transition: stroke-dashoffset 1.8s var(--ease) .4s; }
.motion .art-ring:not(.in) .ring circle:last-child { stroke-dashoffset: 301.6; }

/* tab panels replay their entrance on every switch */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes growX { from { transform: scaleX(0); } }
@keyframes zoomOut { from { transform: scale(1.08); } }
@keyframes fadeIn { from { opacity: 0; } }
.motion .panel:not(.play) .service, .motion .panel:not(.play) .case { opacity: 0; }
.motion .panel.play .service { animation: fadeIn .6s var(--ease) both; }
.motion .panel.play .service-copy > * { animation: rise .8s var(--ease) both; }
.motion .panel.play .service-copy > :nth-child(2) { animation-delay: .06s; }
.motion .panel.play .service-copy > :nth-child(3) { animation-delay: .12s; }
.motion .panel.play .service-copy > :nth-child(4) { animation-delay: .18s; }
.motion .panel.play .service-copy > :nth-child(5) { animation-delay: .24s; }
.motion .panel.play .service-visual .artifact { animation: pop 1s var(--ease) .2s both; }
.motion .panel.play .service-visual .artifact.small { animation-delay: .45s; }
.motion .panel.play .tl-track i { transform-origin: left; animation: growX 1.1s var(--ease) both; }
.motion .panel.play .tl-row:nth-child(1) i { animation-delay: .45s; }
.motion .panel.play .tl-row:nth-child(2) i { animation-delay: .55s; }
.motion .panel.play .tl-row:nth-child(3) i { animation-delay: .65s; }
.motion .panel.play .tl-row:nth-child(4) i { animation-delay: .75s; }
.motion .panel.play .bar-row .tracks i { transform-origin: left; animation: growX 1.1s var(--ease) both; }
.motion .panel.play .bar-row:nth-child(1) i { animation-delay: .45s; }
.motion .panel.play .bar-row:nth-child(2) i { animation-delay: .55s; }
.motion .panel.play .bar-row:nth-child(3) i { animation-delay: .65s; }
.motion .panel.play .bar-row:nth-child(4) i { animation-delay: .75s; }
.motion .panel.play .flow-step, .motion .panel.play .src, .motion .panel.play .creators tr, .motion .panel.play .swatches i, .motion .panel.play .wire i { animation: rise .7s var(--ease) both; }
.motion .panel.play :is(.flow-step, .src, .creators tr, .swatches i, .wire i):nth-child(1) { animation-delay: .45s; }
.motion .panel.play :is(.flow-step, .src, .creators tr, .swatches i, .wire i):nth-child(2) { animation-delay: .53s; }
.motion .panel.play :is(.flow-step, .src, .creators tr, .swatches i, .wire i):nth-child(3) { animation-delay: .61s; }
.motion .panel.play :is(.flow-step, .src, .creators tr, .swatches i, .wire i):nth-child(4) { animation-delay: .69s; }
.motion .panel.play :is(.swatches i, .wire i):nth-child(5) { animation-delay: .77s; }
.motion .panel.play :is(.swatches i, .wire i):nth-child(6) { animation-delay: .85s; }
.motion .panel.play .dwh { animation: pop .9s var(--ease) .8s both; }
.motion .panel.play .case { animation: rise 1s var(--ease) both; }
.motion .panel.play .case:nth-child(2) { animation-delay: .12s; }
.motion .panel.play .case:nth-child(3) { animation-delay: .24s; }
.motion .panel.play .case-img > img { animation: zoomOut 1.6s var(--ease) both; }

/* hover details */
.link-arrow span[aria-hidden], .btn span[aria-hidden] { display: inline-block; }
.link-arrow:hover span[aria-hidden], .btn:hover span[aria-hidden] { animation: arrowSlide .55s var(--ease); }
@keyframes arrowSlide { 0% { transform: none; } 45% { transform: translateX(100%); opacity: 0; } 46% { transform: translateX(-100%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.btn:active { scale: .97; }
.founder-photo img, .case-img > img, .team-img img { transition: transform 1.2s var(--ease); }
.founder:hover .founder-photo img, .case:hover .case-img > img, .team-card:hover .team-img img { transform: scale(1.04); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .art-table { left: -72px; }
  .art-ring { right: -72px; }
  .art-chart { left: 4%; }
  .art-composer { margin-left: 0; }
}
@media (max-width: 1024px) {
  :root { --section: 96px; }
  .nav-links { gap: 24px; }
  .hero-stage { flex-direction: column; align-items: center; min-height: 0; }
  .hero-copy { padding: 96px 0 48px; }
  .hero-copy .display { max-width: 100%; font-size: var(--text-display); }
  .hero .artifact { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 0; }
  .hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; padding-bottom: 96px; }
  .art-table, .art-ring, .art-chart, .art-composer { width: auto; }
  .av-1, .av-2 { display: none; }
  .service { grid-template-columns: 1fr; padding: 40px; }
  .service-visual .artifact.small { right: 0; }
  .founders { grid-template-columns: 1fr 1fr; }
  .founders .founder:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
  .founders .founder:last-child .founder-body { padding-top: 12px; }
  .team-card { grid-template-columns: 1fr; padding: 16px; }
  .team-copy { padding: 24px 24px 8px; }
  .case { grid-template-columns: 300px 1fr; gap: 32px; padding-right: 32px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links, .nav-cta .text-link, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: block; position: fixed; inset: 64px 0 auto 0; background: var(--paper); padding: 8px var(--gutter) 24px; box-shadow: var(--shadow-popover); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 49; }
  .mobile-menu a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--hairline); }
  .mobile-menu .btn { display: flex; margin-top: 20px; border: 0; }
  body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open .nav { background: var(--paper); }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
  .marquee-track img { height: 24px; margin: 0 28px; }
  .marquee-track img[src*="google"], .marquee-track img[src*="healthlabs"] { height: 29px; }
  .case { grid-template-columns: 1fr; gap: 0; padding: 12px; }
  .case-img { aspect-ratio: 16 / 10; }
  .case-copy { padding: 24px 12px 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 80px; }
  .hero-copy { padding: 72px 0 40px; gap: 20px; }
  .hero-copy .display { font-size: 41px; }
  .hero-copy .lead { font-size: 18px; }
  .hero-art { grid-template-columns: 1fr; padding-bottom: 72px; }
  .art-chart, .art-composer { display: none; }
  .pill-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter); scrollbar-width: none; }
  .pill-tabs::-webkit-scrollbar { display: none; }
  .pill-tab { flex: none; }
  .service { padding: 28px 20px; gap: 28px; }
  .service-visual { min-height: 0; }
  .service-visual .artifact.small { display: none; }
  .founders { grid-template-columns: 1fr; }
  .founders .founder:last-child { display: flex; }
  .team-copy { padding: 16px 8px 0; }
  .form { padding: 22px; }
  .form .row-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .section-head { margin-bottom: 36px; }
  .stat b { font-size: 44px; }
  .art-table { grid-template-columns: 96px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  .marquee-track img[aria-hidden] { display: none; }
}

/* hero announcement pill, after Steep's "New in Steep" badge */
.hero-copy .eyebrow { font-size: 15px; color: var(--ink); background: rgba(0,0,0,.04); box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); border-radius: var(--radius-pill); padding: 9px 16px; margin-bottom: 8px; }

/* ---------- Case study pages ---------- */
.page-top { padding-top: 96px; }
.cs-hero { position: relative; overflow: hidden; padding-bottom: 32px; }
.cs-hero .page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 1000px; }
.cs-hero .display { font-size: clamp(44px, 6.4vw, 92px); }
.cs-back { font-size: 16px; color: var(--slate); }
.cs-back:hover { color: var(--ink); }
.cs-cover { position: relative; margin-top: 56px; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16 / 8; background: var(--card); }
.cs-cover > img:not(.cs-popup) { width: 100%; height: 100%; object-fit: cover; }
.cs-popup { position: absolute; right: 40px; bottom: 40px; width: min(300px, 34%); border-radius: var(--radius-elevated); overflow: hidden; box-shadow: var(--shadow-artifact); }

.cs-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.cs-intro-text { display: grid; gap: 24px; }
.cs-xl { font-size: 26px; line-height: 1.38; letter-spacing: -0.24px; color: var(--ink); }
.cs-xl + .cs-xl { color: var(--slate); }
.cs-facts { margin: 0; background: var(--card); border-radius: var(--radius-card); padding: 8px 28px; }
.cs-fact { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 20px 0; }
.cs-fact + .cs-fact { border-top: 1px solid var(--hairline); }
.cs-fact dt { font-size: 15px; color: var(--slate); padding-top: 4px; }
.cs-fact dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cs-fact dd span { font-size: 15px; background: var(--paper); border-radius: var(--radius-pill); padding: 4px 12px; box-shadow: inset 0 0 0 1px var(--hairline); }
.cs-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-grid-col { display: grid; gap: 16px; align-content: start; }
.cs-grid img, .cs-figure img, .cs-figure video, .cs-media-img img, .cs-big img, .cs-gallery img, .cs-quote-img img { width: 100%; height: auto; border-radius: var(--radius-small); background: var(--card); }

.cs-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; align-items: start; }
.cs-body .toc { position: sticky; top: 104px; display: grid; gap: 2px; }
.cs-body .toc a { font-size: 16px; color: var(--slate); padding: 7px 0 7px 16px; border-left: 2px solid var(--hairline); transition: color .2s, border-color .2s; }
.cs-body .toc a:hover { color: var(--ink); }
.cs-body .toc a.is-active { color: var(--ink); border-left-color: var(--ink); }
.cs-chapter { display: grid; gap: 72px; scroll-margin-top: 96px; }
.cs-chapter + .cs-chapter { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--hairline); }

.cs-text { display: grid; gap: 20px; max-width: 820px; }
.cs-sub { display: grid; gap: 14px; max-width: 760px; }
.cs-sub p { font-size: 18px; line-height: 1.55; color: var(--slate); }
.cs-rich { display: grid; gap: 14px; font-size: 17px; line-height: 1.6; color: var(--slate); }
.cs-rich strong { color: var(--ink); font-weight: 500; }

.cs-icons { display: grid; gap: 24px; }
.cs-icons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-icon-card { background: var(--card); border-radius: var(--radius-small); padding: 24px; display: grid; gap: 12px; align-content: start; }
.cs-icon-card img, .cs-result img { width: 32px; height: 32px; object-fit: contain; }
.cs-card-title { font-size: 17px; font-weight: 500; line-height: 1.35; }
.cs-card-text { font-size: 15px; line-height: 1.55; color: var(--slate); }

.cs-quote { background: var(--sky); border-radius: var(--radius-card); padding: 16px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.cs-quote-img img { aspect-ratio: 4 / 5; object-fit: cover; }
.cs-quote blockquote { margin: 0; display: grid; gap: 28px; padding: 24px 32px 24px 0; }
.cs-quote blockquote p { font-family: var(--font-serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -0.015em; }
.cs-quote footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cs-person b { display: block; font-size: 16px; font-weight: 500; }
.cs-person span { display: block; font-size: 15px; color: var(--slate); }
.cs-quote footer img { height: 26px; width: auto; }

.cs-media { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.cs-media-copy { display: grid; gap: 18px; }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 20px; border-top: 1px solid var(--hairline); }

.cs-figure video { display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.cs-text-media { display: grid; gap: 32px; }

.cs-mini-quote { display: grid; grid-template-columns: 64px 1fr; gap: 20px; background: var(--card); border-radius: var(--radius-elevated); padding: 24px; max-width: 760px; }
.cs-mini-quote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.cs-mini-quote p { font-size: 17px; line-height: 1.55; margin-bottom: 14px; }

.cs-big { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.cs-big-num { font-family: var(--font-serif); font-size: clamp(80px, 10vw, 144px); line-height: 1; letter-spacing: -0.03em; }
.cs-big-text { font-size: 22px; line-height: 1.4; margin-top: 16px; }
.cs-big-text span { display: block; color: var(--slate); font-size: 18px; margin-top: 6px; }

.cs-gallery { display: grid; gap: 28px; }
.cs-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-gallery figure { margin: 0; display: grid; gap: 12px; }
.cs-gallery figcaption { font-size: 16px; font-weight: 500; }

.cs-numbers { display: grid; gap: 32px; }
.cs-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs-num { border-top: 1px solid var(--hairline); padding-top: 20px; }
.cs-num b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: var(--text-heading-lg); line-height: 1; letter-spacing: -0.015em; }
.cs-num span { display: block; margin-top: 12px; font-size: 15px; color: var(--slate); }
.cs-icon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cs-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--on-night-line); border-radius: var(--radius-card); overflow: hidden; }
.cs-result { background: var(--night); padding: 32px 28px; display: grid; gap: 14px; align-content: start; }
.cs-result img { width: auto; height: 72px; max-width: 100%; object-fit: contain; object-position: left; }
.cs-result h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.009em; }
.cs-result p { font-size: 15px; line-height: 1.55; color: var(--on-night-muted); }

.cs-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

@media (max-width: 1024px) {
  .cs-body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cs-body .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .cs-body .toc a { border-left: 0; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--card); }
  .cs-body .toc a.is-active { background: var(--ink); color: var(--paper); }
  .cs-intro, .cs-media, .cs-big { grid-template-columns: 1fr; gap: 32px; }
  .cs-results { grid-template-columns: 1fr 1fr; }
  .cs-quote { grid-template-columns: 220px 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .page-top { padding-top: 64px; }
  .cs-cover { aspect-ratio: 4 / 3.4; margin-top: 36px; }
  .cs-popup { right: 12px; bottom: 12px; width: 46%; }
  .cs-xl { font-size: 21px; }
  .cs-fact { grid-template-columns: 1fr; gap: 8px; }
  .cs-grid, .cs-icons-grid, .cs-gallery-grid, .cs-nums, .cs-icon-list, .cs-cols, .cs-results { grid-template-columns: 1fr; }
  .cs-grid { gap: 12px; }
  .cs-quote { grid-template-columns: 1fr; padding: 12px; gap: 8px; }
  .cs-quote blockquote { padding: 16px 12px 12px; }
  .cs-chapter { gap: 48px; }
  .cs-chapter + .cs-chapter { margin-top: 64px; padding-top: 64px; }
}

/* placeholder for data the client still has to provide */
mark.todo { background: var(--peach); color: var(--sienna); border-radius: 6px; padding: 1px 6px; font-weight: 500; }
.form-error { font-size: 15px; color: #a3261b; }
.form .btn:disabled { opacity: .6; cursor: progress; }
/* single-column stacks: let the track shrink below its content width */
.cs-chapter, .cs-text, .cs-sub, .cs-rich, .cs-icons, .cs-media-copy, .cs-text-media, .cs-gallery, .cs-numbers, .cs-intro-text { grid-template-columns: minmax(0, 1fr); }

/* ---------- Services: Steep "Engage everyone" pattern (light band, vertical list, product card) ---------- */
.svc-section { position: relative; overflow: hidden; }
.svc-section > .container { position: relative; z-index: 1; }
.glow-mint { background: radial-gradient(closest-side, rgba(190, 228, 210, .8), rgba(214, 238, 226, .35) 55%, transparent); }
.svc-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; }
.svc-list { display: grid; border-top: 1px solid var(--hairline); }
.svc-tab { display: grid; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--hairline); padding: 22px 0; cursor: pointer; font: inherit; color: inherit; }
.svc-name { font-size: 20px; font-weight: 450; letter-spacing: -0.2px; color: var(--slate); transition: color .2s; }
.svc-tab:hover .svc-name, .svc-tab[aria-selected="true"] .svc-name { color: var(--ink); }
.svc-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.svc-desc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s var(--ease), opacity .4s; }
.svc-desc > span { overflow: hidden; font-size: 16px; line-height: 1.55; color: var(--slate); }
.svc-tab[aria-selected="true"] .svc-desc { grid-template-rows: 1fr; opacity: 1; }
.svc-tab[aria-selected="true"] .svc-desc > span { padding-top: 10px; }
.svc-progress { display: block; height: 2px; margin-top: 18px; border-radius: 2px; background: var(--hairline); overflow: hidden; opacity: 0; transition: opacity .3s; }
.svc-tab[aria-selected="true"] .svc-progress { opacity: 1; }
.svc-progress i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.svc-list.running:not(.manual) .svc-tab[aria-selected="true"] .svc-progress i { animation: progressFill 9s linear forwards; }
.svc-list.manual .svc-tab[aria-selected="true"] .svc-progress i { transform: none; }
.svc-layout:hover .svc-progress i, .svc-list:focus-within .svc-progress i { animation-play-state: paused !important; }
@keyframes progressFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.svc-panel { background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-popover); padding: 12px; }
.svc-stage { position: relative; border-radius: var(--radius-small); background: linear-gradient(155deg, #f7f7f8 0%, #f4f1f6 55%, #fbeee6 100%); padding: 48px 56px; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.svc-stage .service-visual { width: 100%; min-height: 0; }
.svc-details { padding: 28px 28px 24px; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.svc-details .checklist { grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 0; }
.svc-details .btn-row { margin-top: 4px; }

.motion .svc-panel:not(.play) > * { opacity: 0; }
.motion .svc-panel.play .svc-stage { animation: fadeIn .6s var(--ease) both; }
.motion .svc-panel.play .svc-details > * { animation: rise .8s var(--ease) both; }
.motion .svc-panel.play .svc-details > :nth-child(2) { animation-delay: .08s; }
.motion .svc-panel.play .svc-details > :nth-child(3) { animation-delay: .16s; }

@media (max-width: 1024px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .svc-stage { padding: 28px 16px; min-height: 0; }
  .svc-details { padding: 20px 12px 12px; }
  .svc-details .checklist { grid-template-columns: 1fr; }
  .svc-name { font-size: 18px; }
}
.svc-tab:not([aria-selected="true"]) .svc-progress { height: 0; margin-top: 0; }
