/* Market Movers — shared styles.
   Brand: Ink #000000 · Paper #ffffff · Signal Blue #1c72e6 · Gold #af9e65
   Type: Archivo 900 (display) · Inter (body) · Source Serif 4 italic (accents) */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --fog: #f4f4f4;
  --blue: #1c72e6;
  --blue-dark: #0f56b8;
  --gold: #af9e65;
  --line: #d9d9d9;
  --text-2: #262626;
  --muted: #6b6b6b;
  --muted-dark: #8f8f8f;
  --soft: #c7c7c7;
  --gutter: clamp(20px, 5vw, 72px);
  --display: 'Archivo', sans-serif;
  --serif: 'Source Serif 4', serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; }
[id] { scroll-margin-top: 68px; }

/* Signal down the machine rail: a ~3.2s pass, then idle — repeats every 9s, first pass at 1.3s. */
@keyframes mmSignal { 0% { top: -60px; opacity: 1; } 36% { top: 100%; opacity: 1; } 36.01%, 100% { top: 100%; opacity: 0; } }
@keyframes mmLive { 0% { box-shadow: 0 0 0 0 var(--sig); opacity: 1; } 70% { box-shadow: 0 0 0 6px transparent; opacity: .55; } 100% { box-shadow: 0 0 0 0 transparent; opacity: 1; } }

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; }
.sec { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.sec--hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 116px) var(--gutter) clamp(56px, 7vw, 96px); }
.sec--cta { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 140px) var(--gutter); }
.dark { background: var(--ink); color: var(--paper); }
.fog { background: var(--fog); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr)); }
.rel { position: relative; }
.glow { position: absolute; pointer-events: none; }
.hero-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px); background-size: 100% 88px; pointer-events: none; }
.hero-grid { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 5vw, 72px); align-items: center; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 15px; color: var(--blue); margin-bottom: 18px; }
.eyebrow--gold { color: var(--gold); }
/* Homepage hero: clickable webinar promo pill, centred above the hero content. */
.hero-promo-row { position: relative; max-width: 1240px; margin: calc(-1 * clamp(20px, 3vw, 44px)) auto clamp(32px, 4vw, 52px); text-align: center; }
.hero-promo { --sig: var(--blue); display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 10px 20px 10px 16px; text-align: left; border: 1px solid var(--paper); border-radius: 22px; background: var(--paper); color: var(--ink); font-size: 13.5px; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 0 4px rgba(175,158,101,0.18); transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.hero-promo:hover, .hero-promo:focus-visible { background: #faf7ee; border-color: var(--gold); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 0 4px rgba(175,158,101,0.35); }
.hero-promo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; animation: mmLive 2.4s ease-in-out infinite; }
.hero-promo__text { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; }
.hero-promo__meta { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.hero-promo__name { font-family: var(--display); font-weight: 900; font-size: 18px; letter-spacing: -0.015em; color: var(--ink); }
.hero-promo__cta { font-weight: 700; color: var(--blue); white-space: nowrap; }
.hero-promo__cta span { display: inline-block; transition: transform .2s ease; }
.hero-promo:hover .hero-promo__cta span { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .hero-promo__dot { animation: none; } }
.h1 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5.6vw, 78px); line-height: 0.94; letter-spacing: -0.035em; margin: 0 0 26px; text-wrap: balance; }
.h1-accent { color: var(--blue); }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.4vw, 60px); line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 52px; max-width: 820px; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.8vw, 50px); line-height: 0.96; letter-spacing: -0.03em; margin: 0 0 16px; text-wrap: balance; }
.h-cta { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5.4vw, 74px); line-height: 0.94; letter-spacing: -0.035em; margin: 0 0 22px; text-wrap: balance; }
.lede { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 680px; margin: 0 0 56px; text-wrap: pretty; }
.hero-lede { font-size: 18.5px; line-height: 1.55; color: var(--soft); max-width: 560px; margin: 0 0 34px; text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; }
.mono-tags { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.card-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3vw, 38px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; }
.tag--gold { background: var(--gold); color: var(--ink); }
.tag--ink { background: var(--ink); color: var(--paper); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-size: 14.5px; font-weight: 700; padding: 15px 28px; border-radius: 40px; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn--sm { font-size: 13px; padding: 11px 20px; }
.btn--md { padding: 14px 26px; }
.btn--lg { font-size: 15px; padding: 16px 32px; }
.btn--blue { background: var(--blue); color: var(--paper); }
.btn--blue:hover { background: var(--blue-dark); color: var(--paper); }
.btn--ghost { border: 1px solid rgba(255,255,255,0.28); color: var(--paper); font-weight: 600; }
.btn--ghost:hover { border-color: var(--paper); color: var(--paper); }
.btn--black { background: var(--ink); color: var(--paper); }
.btn--black:hover { background: var(--blue); color: var(--paper); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--paper); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--blue::after { content: "→"; display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.btn--blue:hover::after { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 40; transition: background-color .3s ease; background: rgba(0,0,0,0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-header__bar { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); height: 68px; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); transition: height .3s ease; }
.site-header.is-compact { background: rgba(0,0,0,0.98); }
.site-header.is-compact .site-header__bar { height: 56px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand img { width: 36px; height: 36px; display: block; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; }
/* Fixed-height wrapping row: when space runs out, whole tabs drop out from the right instead of being cut in half. */
.nav { display: flex; justify-content: flex-end; column-gap: clamp(14px, 1.8vw, 26px); margin-left: auto; align-items: center; white-space: nowrap; min-width: 0; line-height: 20px; }
.nav a { color: rgba(255,255,255,0.72); font-size: 13.5px; font-weight: 500; }
.nav a:hover { color: var(--paper); }
.nav a.is-accent { color: var(--gold); font-weight: 600; }
.nav a.is-accent:hover { color: var(--paper); }
.nav a[aria-current="page"] { color: var(--paper); font-weight: 600; }
.nav a.is-accent[aria-current="page"] { color: var(--gold); }
/* Services dropdown: opens on hover, or on click / Enter (site.js toggles .is-open). */
.nav__drop { position: relative; }
.nav__drop-btn { display: inline-flex; align-items: center; gap: 7px; padding: 0; background: none; border: 0; cursor: pointer; font-family: 'Inter', system-ui, sans-serif; font-size: 13.5px; font-weight: 500; line-height: 20px; color: rgba(255,255,255,0.72); }
.nav__drop-btn:hover, .nav__drop:hover .nav__drop-btn, .nav__drop.is-open .nav__drop-btn { color: var(--paper); }
.nav__drop-btn.is-current { color: var(--paper); font-weight: 600; }
.nav__caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav__drop:hover .nav__caret, .nav__drop.is-open .nav__caret { transform: translateY(1px) rotate(225deg); }
.nav__menu { position: absolute; top: 100%; left: 50%; margin-top: 16px; min-width: 240px; padding: 8px; display: flex; flex-direction: column; background: #0b0b0b; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 18px 40px rgba(0,0,0,0.45); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 17px; }
.nav__drop:hover .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .nav__menu a { padding: 10px 12px; font-size: 14px; color: rgba(255,255,255,0.82); }
.nav .nav__menu a:hover, .nav .nav__menu a:focus-visible { background: rgba(255,255,255,0.07); color: var(--paper); }
.nav .nav__menu a[aria-current="page"] { color: var(--gold); font-weight: 600; }
.nav .nav__menu a:last-child { margin-top: 4px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px; color: rgba(255,255,255,0.6); }
.menu-btn { display: none; margin-left: auto; min-width: 44px; height: 44px; padding: 0 16px; align-items: center; gap: 8px; background: none; border: 1px solid rgba(255,255,255,0.28); border-radius: 40px; color: var(--paper); font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid rgba(255,255,255,0.12); padding: 8px var(--gutter) 24px; background: var(--ink); }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); color: var(--paper); font-size: 16px; font-weight: 600; }
.mobile-nav__group { display: block; padding: 16px 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.mobile-nav a.mobile-nav__sub { padding: 11px 0 11px 16px; border-bottom: 0; border-left: 2px solid rgba(255,255,255,0.16); font-size: 15px; font-weight: 500; }
.mobile-nav a.mobile-nav__sub[aria-current="page"] { color: var(--gold); border-left-color: var(--gold); }
.mobile-nav a.mobile-nav__sub:last-of-type { margin-bottom: 8px; }
.mobile-nav a.mobile-nav__cta { margin-top: 20px; text-align: center; background: var(--blue); font-size: 15px; font-weight: 700; padding: 15px 24px; border-radius: 40px; border-bottom: 0; }
/* The full menu needs about 1080px before it reaches the logo, so narrower screens get the Menu button. */
@media (max-width: 1099.98px) {
  .nav, .site-header__cta { display: none; }
  .menu-btn { display: flex; }
  .site-header.is-open .mobile-nav { display: block; }
}

/* ---------- Hero "machine" panel ---------- */
.machine { --sig: var(--blue); border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.03); padding: 26px 26px 30px; position: relative; overflow: hidden; }
.machine__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
.machine__live { display: flex; align-items: center; gap: 7px; }
.machine__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--sig); display: inline-block; animation: mmLive 2.4s ease-in-out infinite; }
.machine__steps { position: relative; padding-left: 26px; }
.machine__list { list-style: none; margin: 0; padding: 0; }
.machine__rail { position: absolute; left: 5px; top: 6px; bottom: 16px; width: 1px; background: rgba(255,255,255,0.18); overflow: hidden; }
.machine__rail i { position: absolute; left: 0; top: -60px; display: block; width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, var(--sig), transparent); animation: mmSignal 9s linear 1.3s infinite; }
.machine--gold { --sig: var(--gold); --sig-soft: rgba(175,158,101,0.28); }
.machine__step { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.machine__node { position: absolute; left: 0; width: 11px; height: 11px; border: 1px solid rgba(255,255,255,0.4); background: var(--ink); }
.machine__name { font-family: var(--display); font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; }
.machine__note { font-size: 12.5px; color: var(--muted-dark); margin-top: 3px; }
.machine__tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--gold); }
.machine__foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; color: var(--soft); line-height: 1.5; }

/* ---------- Old way / new way ---------- */
.compare { --min: 300px; gap: 0; }
.compare__col { position: relative; background: var(--fog); padding: clamp(22px, 3vw, 32px) clamp(20px, 2.6vw, 30px); }
.compare__col--new { background: var(--ink); color: var(--paper); }
.compare__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.compare__col--new .compare__label { color: var(--gold); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--muted); }
.compare li:last-child { border-bottom: 0; }
.compare li::before { content: "×"; color: #8f8f8f; font-weight: 700; font-size: 15px; }
.compare__col--new li { color: var(--paper); font-weight: 500; border-bottom-color: rgba(255,255,255,0.14); }
.compare__col--new li::before { content: "✓"; color: var(--gold); font-weight: 900; }

/* ---------- Webinar flagship ---------- */
.flagship { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.flagship__body { position: relative; display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); padding: clamp(30px, 4vw, 48px); }
.flagship__steps { flex: 1 1 260px; align-self: flex-start; min-width: 0; display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,0.14); border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); list-style: none; margin: 0; padding: 0; }
.flagship__steps li { background: var(--ink); display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: baseline; padding: 13px 2px; font-size: 14.5px; line-height: 1.45; color: var(--paper); font-weight: 500; }
.flagship__steps span { font-family: var(--mono); font-size: 10.5px; color: var(--gold); letter-spacing: 0.08em; font-weight: 400; }
.flagship__proof { position: relative; border-top: 1px solid rgba(255,255,255,0.14); padding: 18px clamp(30px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 10px 32px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- FAQ ---------- */
.faq { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: flex-start; }
.faq__intro { flex: 1 1 280px; min-width: 0; }
.faq__intro h2 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; text-wrap: balance; }
.faq__intro p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
.faq__list { flex: 2 1 420px; min-width: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: none; border: none; padding: 24px 0; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; text-align: left; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 18.5px; letter-spacing: -0.015em; color: var(--ink); }
.faq__q::after { content: "+"; font-size: 22px; color: var(--blue); text-align: center; font-weight: 400; }
.faq__q[aria-expanded="true"]::after { content: "−"; }
.faq__a { margin: 0 0 26px; font-size: 15.5px; line-height: 1.65; color: var(--text-2); max-width: 640px; text-wrap: pretty; }

/* ---------- CTA + footer ---------- */
.cta__inner { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.cta__inner > img { width: 46px; height: 46px; display: block; margin: 0 auto 28px; }
.cta__inner p { font-size: 18px; line-height: 1.55; color: var(--soft); max-width: 560px; margin: 0 auto 34px; text-wrap: pretty; }
.cta__inner .btn-row { justify-content: center; }
.glow--cta { left: 50%; bottom: -240px; width: 900px; height: 560px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(28,114,230,0.34), transparent); }
.glow--hero { left: 50%; top: -160px; width: 900px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(28,114,230,0.30), transparent); }
.glow--hero-gold { background: radial-gradient(closest-side, rgba(175,158,101,0.24), transparent); }

.site-footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid rgba(255,255,255,0.12); padding: 36px var(--gutter); }
.site-footer__row { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-size: 12.5px; }
.site-footer .brand img { width: 24px; height: 24px; }
.site-footer .brand { gap: 10px; }
.site-footer .brand span { font-size: 14px; }
.site-footer__copy { margin-left: auto; }
.site-footer a.site-footer__link { color: var(--muted-dark); }
.site-footer a.site-footer__link:hover { color: var(--paper); }

/* ---------- Cards / misc ---------- */
.path-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.5vw, 44px); transition: background-color .15s, transform .25s ease, box-shadow .25s ease; }
.path-card--light { background: var(--fog); color: var(--ink); border-top: 3px solid var(--ink); }
.path-card--light:hover { background: #ececec; color: var(--ink); }
.path-card--dark { background: var(--ink); color: var(--paper); border-top: 3px solid var(--gold); }
.path-card--dark:hover { background: #111111; color: var(--paper); }
.path-card p { margin: 0; font-size: 15.5px; line-height: 1.6; flex: 1; text-wrap: pretty; }

.outline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr)); gap: 1px; }
.outline-grid > * { background: var(--paper); outline: 1px solid var(--line); }

.service { padding: 28px 26px 32px; display: flex; flex-direction: column; gap: 10px; min-height: 210px; transition: background-color .15s; }
.service:hover { background: var(--fog); }

.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.who { font-size: 14.5px; font-weight: 700; }
.role { font-size: 13px; color: var(--muted); }

/* ---------- Home: clients strip (continuous horizontal scroll) ---------- */
.clients { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients__row { max-width: 1240px; margin: 0 auto; padding: 30px var(--gutter); display: flex; align-items: center; }
/* The label sits centred on a dark band that continues the hero above the strip. */
.clients__label { margin: 0; background: var(--ink); padding: 0 var(--gutter) clamp(22px, 2.6vw, 30px); display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.clients__label::before, .clients__label::after { content: ""; width: clamp(28px, 4vw, 48px); height: 1px; background: var(--gold); opacity: 0.6; }
.clients__viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.clients__track { display: flex; width: max-content; animation: mmMarquee 48s linear infinite; }
.clients__viewport:hover .clients__track { animation-play-state: paused; }
.clients__set { display: flex; align-items: center; gap: clamp(36px, 4.5vw, 64px); padding-right: clamp(36px, 4.5vw, 64px); flex: none; }
.client { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.01em; color: var(--muted); white-space: nowrap; }
.client-logo { display: block; height: 34px; width: auto; max-width: none; }
.client-logo--stacked { height: 50px; }
.client-logo--crest { height: 44px; }
.client-logo--icon { height: 46px; }
@keyframes mmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 599.98px) {
  .clients__row { padding: 24px 0; }
  .clients__label { font-size: 12px; }
  .clients__track { animation-duration: 36s; }
  .client-logo { height: 28px; }
  .client-logo--stacked { height: 42px; }
  .client-logo--crest { height: 36px; }
  .client-logo--icon { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; }
  .clients__viewport { overflow-x: auto; }
}

/* ---------- Home: testimonials ---------- */
.video { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.video video { width: 100%; aspect-ratio: 1 / 1; display: block; background: var(--ink); object-fit: cover; }
.video figcaption, .quote footer { border-top: 2px solid var(--ink); padding-top: 12px; display: flex; flex-direction: column; gap: 3px; }
.quote { position: relative; margin: 0; padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 20px; }
.quote p { margin: 0; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.35; letter-spacing: -0.015em; flex: 1; }
.quote footer { padding-top: 14px; }
/* 1 → 2 → 3 columns; with 2 columns an odd last review spans the full row so no empty cell is left. */
.quotes { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .quotes > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .quotes > :last-child:nth-child(odd) { grid-column: auto; }
}
.quote footer:has(.quote__avatar) { flex-direction: row; align-items: center; gap: 14px; }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: block; flex: none; background: var(--fog); }
.quote__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

/* ---------- Home: approach ---------- */
.partner-box { --min: 260px; margin-top: clamp(40px, 5vw, 64px); background: var(--fog); padding: clamp(28px, 4vw, 44px); gap: 28px 40px; align-items: start; }
.partner-box__title { grid-column: 1 / -1; font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.02em; max-width: 760px; }
.partner-box p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
/* One column until all three paragraphs fit side by side — never a 2 + 1 split. */
.partner-box { grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 960px) { .partner-box { grid-template-columns: repeat(3, 1fr); gap: 28px 40px; } }

/* ---------- Home: results ---------- */
.stats { --min: 290px; gap: clamp(28px, 4vw, 48px); }
.stat { border-top: 1px solid rgba(255,255,255,0.22); padding-top: 22px; min-width: 0; }
.stat__value { font-family: var(--display); font-weight: 900; font-size: clamp(46px, 5.6vw, 88px); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__bar { width: 52px; height: 4px; background: var(--blue); margin: 18px 0 14px; }
.stat__label { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.stat__note { font-size: 13.5px; color: var(--muted-dark); margin-top: 6px; line-height: 1.5; }

/* ---------- Home: SEO flagship + services ---------- */
.seo { background: var(--fog); border: 1px solid var(--line); }
.seo__body { display: flex; flex-wrap: wrap; gap: clamp(24px, 3.5vw, 48px); padding: clamp(30px, 4vw, 48px); }
.seo__tie { border-top: 1px solid var(--line); background: var(--paper); padding: clamp(26px, 3.5vw, 38px) clamp(30px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); align-items: flex-start; }
.pillar { flex: 1 1 230px; min-width: 0; background: var(--paper); outline: 1px solid var(--line); padding: 20px 20px 22px; }
.pillar__n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 10px; }
.pillar__t { font-family: var(--display); font-weight: 900; font-size: 17px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 8px; }
.pillar__b { font-size: 14px; line-height: 1.5; color: var(--muted); }
.service__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--blue); }
.service__title { font-family: var(--display); font-weight: 900; font-size: 20px; line-height: 1.1; letter-spacing: -0.02em; margin-top: 6px; }
.service__body { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.service__arrow { margin-top: auto; font-size: 18px; color: var(--ink); }

/* ---------- Home: case studies + chat proof ---------- */
.case { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.case__media { position: relative; height: 220px; background: #e6e6e6; overflow: hidden; }
.case__placeholder { position: absolute; inset: 0; background: #e6e6e6 url("../img/mark-ink.png") center / 72px no-repeat; opacity: 0.35; }
.case__arrow { position: absolute; top: 0; right: 0; width: 52px; height: 52px; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; pointer-events: none; }
.case__body { padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.case__metric { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 48px); line-height: 0.92; letter-spacing: -0.035em; color: var(--blue); }
.case__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; }
.case__body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.chat { margin: 0; }
.chat__frame { height: 300px; border: 1px solid var(--line); background: #f0f0f0; }
.chat__frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.chat figcaption { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 15px; margin-top: 14px; color: var(--ink); }

/* ---------- Home: reach, founder, team ---------- */
.reach__n { font-family: var(--display); font-weight: 900; font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.reach__l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); margin-top: 8px; }
.founder-p { font-size: 16.5px; line-height: 1.65; color: var(--text-2); margin: 0; text-wrap: pretty; }
/* Three per row on wide screens (a short last row is centered); stacks on small ones. */
.team { --gap: clamp(20px, 2.5vw, 32px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); max-width: min(886px, 74%); margin: 0 auto; }
.member { display: flex; flex-direction: column; gap: 14px; flex: 0 1 calc((100% - 2 * var(--gap)) / 3); min-width: min(100%, 180px); }
.member__photo { aspect-ratio: 4 / 5; background: var(--fog); overflow: hidden; }
.member__info { border-top: 2px solid var(--ink); padding-top: 12px; display: flex; flex-direction: column; gap: 3px; }
.member__info .who { font-size: 15px; }
.member__info p { font-size: 14px; line-height: 1.55; color: var(--text-2); margin: 10px 0 0; text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .machine__rail i, .machine__live i { animation: none; }
}

/* ---------- Free tools ---------- */
.tool { display: flex; flex-direction: column; gap: 14px; background: var(--fog); color: var(--ink); border-top: 3px solid var(--ink); padding: clamp(26px, 3vw, 36px); min-height: 280px; transition: background-color .15s, color .15s; }
.tool:hover { background: var(--ink); color: var(--paper); }
.tool__meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue); }
.tool__kind { color: var(--gold); }
.tool__name { margin: 6px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.tool p { margin: 0; font-size: 15px; line-height: 1.6; opacity: 0.78; flex: 1; text-wrap: pretty; }
.tool__open { font-size: 14.5px; font-weight: 700; color: var(--blue); }

/* ---------- Community ---------- */
.big-num { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 6.4vw, 96px); line-height: 0.88; letter-spacing: -0.045em; }
.inside-card { background: var(--fog); border-top: 3px solid var(--ink); padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.inside-card__n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; color: var(--blue); }
.inside-card h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1.05; letter-spacing: -0.02em; }
.inside-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

/* ---------- Privacy ---------- */
.back-link { margin-left: auto; color: rgba(255,255,255,0.72); font-size: 13.5px; font-weight: 500; }
.back-link:hover { color: var(--paper); }

/* ---------- Hero intro: "the machine comes online" (only when <html> has .mm-intro; skipped for reduced motion) ---------- */
@keyframes mmRise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mmPanel { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mmStepOn { from { opacity: 0.35; } to { opacity: 1; } }
@keyframes mmNodePing {
  30% { background: var(--sig); border-color: var(--sig); box-shadow: 0 0 0 3px var(--sig-soft, rgba(28,114,230,0.22)), 0 0 14px var(--sig); }
  100% { background: var(--ink); border-color: rgba(255,255,255,0.4); box-shadow: none; }
}
.mm-intro .intro { animation: mmRise 0.7s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
.mm-intro .intro--panel { animation-name: mmPanel; animation-duration: 0.8s; }
.mm-intro .intro-word { display: inline-block; animation: mmRise 0.7s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
.mm-intro .machine__step { animation: mmStepOn 0.45s ease var(--on, 0s) both; }
.mm-intro .machine__node { animation: mmNodePing 1s ease var(--on, 0s) both; }

/* =====================================================================
   Motion system — one blue "signal" language across the site.
   Everything below is static unless <html> has .mm-motion (added by site.js
   only when the visitor has not asked for reduced motion).
   ===================================================================== */
:root { --ease-out: cubic-bezier(.2,.7,.2,1); }

/* Scroll reveals: small rise, staggered by site.js */
@keyframes mmReveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.mm-motion [data-rv] { opacity: 0; }
.mm-motion [data-rv].is-in { opacity: 1; animation: mmReveal .6s var(--ease-out) var(--rv, 0s) backwards; }

/* ---------- Signal flow: stages joined by a line that draws, a dot that travels, nodes that light ---------- */
.flow { --D: 10.8s; --line: rgba(255,255,255,0.18); --node-b: rgba(255,255,255,0.4); --node-bg: var(--ink); --lab: var(--muted-dark); --lab-on: var(--paper); position: relative; }
.flow--light { --line: rgba(0,0,0,0.14); --node-b: rgba(0,0,0,0.3); --node-bg: var(--paper); --lab: var(--muted); --lab-on: var(--ink); }
.flow__stages { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.flow__stage { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 0; }
.flow__node { width: 11px; height: 11px; border: 1px solid var(--blue); background: var(--blue); box-shadow: 0 0 10px rgba(28,114,230,0.55); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.flow__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lab-on); line-height: 1.3; }
.flow__track { position: absolute; top: 5px; height: 1px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); background: var(--line); }
.flow__fill { position: absolute; inset: 0; background: var(--blue); transform-origin: left center; }
.flow__dot { position: absolute; top: 50%; left: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); opacity: 0; }
.flow--compact .flow__label { font-size: 9.5px; letter-spacing: 0.08em; }
/* Long flows stack vertically on narrow screens */
@media (max-width: 699.98px) {
  .flow--long .flow__stages { grid-template-columns: 1fr; }
  .flow--long .flow__stage { flex-direction: row; gap: 14px; height: 32px; text-align: left; }
  .flow--long .flow__track { top: 16px; bottom: 16px; left: 5px; right: auto; width: 1px; height: auto; }
  .flow--long .flow__fill { transform-origin: center top; }
  .flow--long .flow__dot { left: 50%; top: 0; margin: -3.5px 0 0 -3.5px; }
}
/* Animated state */
@keyframes mmFillX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mmFillY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mmDotX { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes mmDotY { 0% { top: 0; opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes mmNodeOn { from { background: var(--node-bg); border-color: var(--node-b); box-shadow: none; } 40% { box-shadow: 0 0 0 3px rgba(28,114,230,0.22), 0 0 14px var(--blue); } to { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 10px rgba(28,114,230,0.55); } }
@keyframes mmLabelOn { from { color: var(--lab); } to { color: var(--lab-on); } }
.mm-motion .flow__fill { transform: scaleX(0); }
.mm-motion .flow__node { background: var(--node-bg); border-color: var(--node-b); box-shadow: none; }
.mm-motion .flow__label { color: var(--lab); }
.mm-motion .flow.is-on .flow__fill { animation: mmFillX var(--D) linear forwards; }
.mm-motion .flow.is-on .flow__dot { animation: mmDotX var(--D) linear forwards; }
.mm-motion .flow.is-on .flow__node { animation: mmNodeOn .5s ease calc(var(--D) * var(--i) / (var(--n) - 1)) forwards; }
.mm-motion .flow.is-on .flow__label { animation: mmLabelOn .4s ease calc(var(--D) * var(--i) / (var(--n) - 1)) forwards; }
@media (max-width: 699.98px) {
  .mm-motion .flow--long .flow__fill { transform: scaleY(0); }
  .mm-motion .flow--long.is-on .flow__fill { animation-name: mmFillY; }
  .mm-motion .flow--long.is-on .flow__dot { animation-name: mmDotY; }
}

/* Where the flows sit */
.path-card .flow { margin: 6px 0 4px; }
.flagship__flow { position: relative; border-top: 1px solid rgba(255,255,255,0.14); padding: 26px clamp(30px, 4vw, 48px) 28px; }

/* ---------- SEO demo: one query, three surfaces ---------- */
.seo__visual { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.seo__visual .serp { flex: none; max-width: none; }
.seo__pillars { border-top: 1px solid var(--line); padding: clamp(26px, 3.5vw, 40px) clamp(30px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 999.98px) { .seo__pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559.98px) { .seo__pillars { grid-template-columns: 1fr; } }
.seo__demo-side { min-width: 0; }
.seo__demo-side p { margin: 0 0 24px; font-size: 15.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.serp { flex: 1.3 1 320px; min-width: 0; max-width: 560px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,0.06); padding: 16px; font-size: 13.5px; }
.serp__tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.serp__tab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); transition: background-color .3s, color .3s, border-color .3s; }
.serp__tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.serp__bar { display: flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 22px; margin-bottom: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; }
.serp__bar::before { content: ""; width: 11px; height: 11px; border: 2px solid var(--muted); border-radius: 50%; margin-right: 10px; flex: none; }
@media (max-width: 479.98px) { .serp__bar { white-space: normal; min-height: 54px; padding: 8px 14px; line-height: 1.35; font-size: 13px; } }
.serp__caret { display: inline-block; width: 1px; height: 16px; background: var(--blue); margin-left: 2px; opacity: 0; }
.mm-motion .serp.is-typing .serp__caret { opacity: 1; animation: mmCaret .9s steps(1) infinite; }
@keyframes mmCaret { 50% { opacity: 0; } }
.serp__panes { display: grid; }
.serp__pane { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility .45s; }
.serp__pane.is-active { opacity: 1; visibility: visible; transform: none; }
.serp__hit { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 70px 10px 12px; border-left: 3px solid var(--blue); background: rgba(28,114,230,0.06); }
.serp__url { font-size: 12px; color: var(--muted); }
.serp__title { font-weight: 700; color: var(--blue); }
.serp__tag { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--blue); color: var(--paper); padding: 3px 6px; }
.serp__skel { display: flex; flex-direction: column; gap: 6px; padding: 4px 12px; }
.serp__skel i { display: block; height: 7px; background: #ececec; }
.serp__skel i:first-child { width: 45%; }
.serp__skel i:last-child { width: 80%; }
.serp__map { position: relative; height: 92px; background: #eef1f4 linear-gradient(90deg, transparent 49%, #fff 49%, #fff 51%, transparent 51%), #eef1f4; background-size: 60px 100%; border: 1px solid var(--line); }
.serp__pin { position: absolute; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #b9c2cc; }
.serp__pin--you { left: 48%; top: 40%; width: 14px; height: 14px; background: var(--blue); box-shadow: 0 0 0 5px rgba(28,114,230,0.18); }
.serp__ai { padding: 12px 14px; background: var(--fog); border: 1px solid var(--line); }
.serp__ai-label { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.serp__ai p { margin: 0; line-height: 1.55; color: var(--text-2); }
.serp__ai mark { background: rgba(28,114,230,0.14); color: var(--blue); font-weight: 700; padding: 0 3px; }

/* ---------- Testimonials: lift + client result on hover ---------- */
.quote__result { position: absolute; top: 10px; left: 30px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
@media (hover: hover) {
  .quote__result { opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; }
  .quote:hover .quote__result { opacity: 1; transform: none; }
}

/* ---------- Case studies: arrow nudge, border, glow behind the metric; signal draws into the number ---------- */
.case { transition: border-color .25s ease; }
.case__arrow { transition: transform .25s ease; }
.case__metric { position: relative; display: flex; align-items: center; }
.case__metric::before { content: ""; position: absolute; left: 30px; top: 50%; width: 160px; height: 80px; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(28,114,230,0.28), transparent); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.case__signal { flex: none; width: 36px; height: 2px; margin-right: 12px; background: linear-gradient(to right, transparent, var(--blue)); transform-origin: left center; }
.mm-motion .case__signal { transform: scaleX(0); }
.mm-motion .case.is-on .case__signal { animation: mmFillX 4.2s var(--ease-out) .25s forwards; }
@media (hover: hover) {
  .case:hover { border-color: #9d9d9d; }
  .case:hover .case__arrow { transform: translateX(5px); }
  .case:hover .case__metric::before { opacity: 1; }
}

/* ---------- Final CTA: the signal travels in and lands on "Your business" ---------- */
.cta__signal { position: relative; max-width: 1240px; margin: 0 auto clamp(34px, 4vw, 52px); display: flex; align-items: center; gap: 14px; }
.cta__line { position: relative; flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--blue)); transform-origin: left center; }
.cta__line::after { content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.cta__dest { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }
@keyframes mmDest { from { color: var(--muted-dark); text-shadow: none; } 50% { color: var(--paper); text-shadow: 0 0 14px rgba(28,114,230,0.9); } to { color: var(--paper); text-shadow: none; } }
.mm-motion .cta__line { transform: scaleX(0); }
.mm-motion .cta__dest { color: var(--muted-dark); }
.mm-motion .cta__signal.is-on .cta__line { animation: mmFillX 8.4s cubic-bezier(.45,0,.2,1) forwards; }
.mm-motion .cta__signal.is-on .cta__dest { animation: mmDest .9s ease 8.3s forwards; }

@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header__bar, .btn--blue::after, .quote, .case__arrow, .serp__pane { transition: none; }
}

/* ---------- Mobile carousels (reviews, team): swipe with snap points + dots ---------- */
.mcar__dots { display: none; }
@media (max-width: 699.98px) {
  .mcar { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
  .mcar::-webkit-scrollbar { display: none; }
  .mcar { justify-content: flex-start; }
  .mcar > * { flex: 0 0 86%; min-width: 0; scroll-snap-align: center; }
  .team.mcar { max-width: none; }
  .team.mcar > * { flex-basis: 60%; }
  .quotes.mcar > * { outline-offset: -1px; }
  .quotes.mcar > :last-child:nth-child(odd) { grid-column: auto; }
  .mcar__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .mcar__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .mcar__dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c7c7c7; transition: background-color .2s, transform .2s; }
  .mcar__dot[aria-current="true"]::before { background: var(--blue); transform: scale(1.25); }
}

/* ---------- Home: growth engine infographic (webinars + SEO → funnel) ---------- */
.mmg { --mmg-blue: var(--blue); --mmg-blue-tint: #eaf2fd; --mmg-blue-line: #d6e4f9;
  --mmg-gold: var(--gold); --mmg-gold-text: #7d6d3a; --mmg-gold-tint: #f5f1e6; --mmg-gold-line: #e6dfc8;
  position: relative; background: var(--fog); border: 1px solid var(--line); padding: clamp(28px, 5.3%, 64px); color: var(--ink); }
.mmg__top { display: grid; grid-template-columns: minmax(0, 1fr) 14.2% minmax(0, 1fr); grid-template-areas: "hb . hg" "cb feeds cg"; row-gap: 24px; }
.mmg__head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.mmg__head--blue { grid-area: hb; } .mmg__head--gold { grid-area: hg; }
.mmg__big { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4.4vw, 52px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.mmg__head--blue .mmg__big { color: var(--mmg-blue); } .mmg__head--gold .mmg__big { color: var(--mmg-gold-text); }
.mmg__who { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -0.01em; }
.mmg__card { background: var(--paper); padding: clamp(22px, 2.7vw, 32px); display: flex; flex-direction: column; gap: 24px; }
.mmg__card--blue { grid-area: cb; border: 1px solid var(--mmg-blue-line); border-top: 3px solid var(--mmg-blue); box-shadow: 0 18px 40px -24px rgba(28,114,230,.45); }
.mmg__card--gold { grid-area: cg; border: 1px solid var(--mmg-gold-line); border-top: 3px solid var(--mmg-gold); box-shadow: 0 18px 40px -24px rgba(175,158,101,.55); }
.mmg__ch { display: flex; gap: 16px; align-items: center; }
.mmg__badge { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mmg__card--blue .mmg__badge { background: var(--mmg-blue); color: var(--paper); }
.mmg__card--gold .mmg__badge { background: var(--mmg-gold); color: var(--ink); }
.mmg__ct { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.1; letter-spacing: -0.015em; }
.mmg__cd { font-size: 15px; line-height: 1.45; color: var(--text-2); margin-top: 4px; }
.mmg__rows { display: flex; flex-direction: column; gap: 18px; }
.mmg__row { display: flex; gap: 14px; align-items: flex-start; }
.mmg__ri { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mmg__card--blue .mmg__ri { background: var(--mmg-blue-tint); color: var(--mmg-blue); }
.mmg__card--gold .mmg__ri { background: var(--mmg-gold-tint); color: var(--mmg-gold-text); }
.mmg__rt { font-weight: 700; font-size: 16px; }
.mmg__rd { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.mmg__feeds { grid-area: feeds; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mmg__feeds svg { max-width: 100%; height: auto; }
.mmg__feeds-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.4; }
.mmg__connect { display: block; width: 100%; height: auto; overflow: visible; margin-top: 0; }
.mmg__merge { display: none; margin: 18px auto; }
.mmg__funnel { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.mmg__level { position: relative; display: flex; justify-content: center; }
.mmg__flabel { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.mmg__band { min-height: 112px; color: var(--paper); clip-path: polygon(0 0, 100% 0, calc(100% - 70px) 100%, 70px 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 14px 90px; }
.mmg__band--1 { width: 76.5%; background: var(--ink); }
.mmg__band--2 { width: 63.4%; background: var(--blue-dark); }
.mmg__band--3 { width: 50.4%; background: var(--mmg-gold); color: var(--ink); }
.mmg__bt { display: flex; gap: 10px; align-items: center; font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; font-size: clamp(19px, 2vw, 26px); }
.mmg__bd { font-size: 14px; line-height: 1.4; }
.mmg__down { display: block; margin: 14px auto 10px; }
.mmg__rev { max-width: 460px; margin: 0 auto; background: var(--mmg-blue); border-radius: 999px; padding: 18px 30px 18px 18px; display: flex; gap: 16px; align-items: center; color: var(--paper); box-shadow: 0 22px 44px -22px rgba(28,114,230,.7); }
.mmg__coin { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); color: var(--mmg-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mmg__rev-t { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.1vw, 26px); letter-spacing: -0.01em; }
.mmg__rev-d { font-size: 15px; line-height: 1.4; margin-top: 2px; }

/* Phones and small tablets: stack everything; one arrow replaces the curves. */
@media (max-width: 899.98px) {
  .mmg__top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hb" "cb" "feeds" "hg" "cg"; }
  .mmg__feeds { padding: 6px 0; }
  .mmg__feeds svg { transform: rotate(90deg); margin: 22px 0; }
  .mmg__connect { display: none; }
  .mmg__merge { display: block; }
  .mmg__funnel { gap: 18px; }
  .mmg__level { flex-direction: column; align-items: center; gap: 8px; }
  .mmg__flabel { position: static; transform: none; text-align: center; }
  .mmg__flabel br { display: none; }
  .mmg__band { clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 24px 100%); padding: 16px 36px; min-height: 0; }
  .mmg__band--1 { width: 100%; } .mmg__band--2 { width: 90%; } .mmg__band--3 { width: 80%; }
  .mmg__rev { padding: 14px 22px 14px 14px; }
}

/* Motion: static unless site.js enabled motion; plays once when scrolled into view. */
.mm-motion .mmg .mmg-a { opacity: 0; }
.mmg.is-play .mmg-up { animation: mmgUp .7s cubic-bezier(.2,.8,.2,1) forwards var(--d, 0s); }
.mmg.is-play .mmg-fromL { animation: mmgFromL .8s cubic-bezier(.2,.8,.2,1) forwards var(--d, 0s); }
.mmg.is-play .mmg-fromR { animation: mmgFromR .8s cubic-bezier(.2,.8,.2,1) forwards var(--d, 0s); }
.mmg.is-play .mmg-fade { animation: mmgFade .5s ease forwards var(--d, 0s); }
.mmg.is-play .mmg-drop { animation: mmgDrop .7s cubic-bezier(.2,.9,.25,1.15) forwards var(--d, 0s); }
.mmg.is-play .mmg-pop { animation: mmgPop .8s cubic-bezier(.2,.9,.25,1.3) forwards var(--d, 0s), mmgGlow 2.4s ease-in-out infinite calc(var(--d, 0s) + .9s); }
@keyframes mmgUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mmgFromL { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes mmgFromR { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes mmgFade { to { opacity: 1; } }
@keyframes mmgDrop { from { opacity: 0; transform: translateY(-30px) scaleX(.7); } to { opacity: 1; transform: none; } }
@keyframes mmgPop { 0% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; transform: scale(1); } }
@keyframes mmgGlow { 0%, 100% { box-shadow: 0 22px 44px -22px rgba(28,114,230,.7), 0 0 0 0 rgba(28,114,230,.35); } 50% { box-shadow: 0 22px 44px -22px rgba(28,114,230,.7), 0 0 0 14px rgba(28,114,230,0); } }
.mm-motion .mmg .mmg-draw { stroke-dasharray: 260; stroke-dashoffset: 260; }
.mmg.is-play .mmg-draw { animation: mmgDraw .9s ease-in-out forwards var(--d, 0s); }
@keyframes mmgDraw { to { stroke-dashoffset: 0; } }
.mm-motion .mmg .mmg-dash { animation: mmgDash 1s linear infinite; }
@keyframes mmgDash { to { stroke-dashoffset: -22; } }
.mmg.is-play .mmg__coin svg { animation: mmgBob 2.4s ease-in-out infinite 4.6s; }
@keyframes mmgBob { 0%, 100% { transform: none; } 50% { transform: translateY(-3px) scale(1.08); } }
.mmg__particles { opacity: 0; transition: opacity 1s ease 2.6s; }
.mmg.is-play .mmg__particles { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .mmg__particles { display: none; } }

/* ---------- Webinar page: webinar → content → SEO flywheel graphic ---------- */
.mmf { --mmf-tint: #eaf2fd; margin-top: clamp(36px, 5vw, 56px); color: var(--ink); }
.mmf__top { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr) 104px minmax(0, 1fr); align-items: stretch; }
.mmf__card { --c: var(--blue); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--c); padding: clamp(22px, 2.4vw, 30px); text-align: center; box-shadow: 0 18px 40px -28px rgba(0,0,0,.35); }
.mmf__card--ink { --c: var(--ink); } .mmf__card--gold { --c: var(--gold); }
.mmf__badge { width: 56px; height: 56px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--c); color: var(--paper); }
.mmf__card--gold .mmf__badge { color: var(--ink); }
.mmf__ct { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2vw, 25px); line-height: 1.1; letter-spacing: -0.015em; }
.mmf__cd { font-size: 15px; line-height: 1.5; color: var(--text-2); margin: 8px 0 18px; text-wrap: pretty; }
.mmf__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.mmf__list li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.45; }
.mmf__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--c); }
.mmf__list li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 4px; height: 8px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mmf__card--gold .mmf__list li::after { border-color: var(--ink); }
.mmf__link { --c: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 12px; }
.mmf__link--gold { --c: var(--gold); }
.mmf__link-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.mmf__arrow { position: relative; display: block; width: 100%; height: 3px; background: var(--c); transform-origin: left center; }
.mmf__arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; border: solid var(--c); border-width: 3px 3px 0 0; transform: translate(0, -50%) rotate(45deg); }
.mmf__mid { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr) 104px minmax(0, 1fr); }
.mmf__side { position: relative; min-height: 120px; }
.mmf__side--l { grid-column: 1; } .mmf__side--r { grid-column: 5; }
.mmf__curve { --c: var(--blue); position: absolute; top: 0; height: calc(50% + 20px); border: 0 solid var(--c); border-bottom-width: 3px; }
.mmf__side--l .mmf__curve { left: 50%; right: 6px; border-left-width: 3px; border-bottom-left-radius: 56px; }
.mmf__side--r .mmf__curve { --c: var(--gold); right: 50%; left: 6px; border-right-width: 3px; border-bottom-right-radius: 56px; }
.mmf__curve::after { content: ""; position: absolute; bottom: -6.5px; width: 10px; height: 10px; border: solid var(--c); border-width: 3px 3px 0 0; }
.mmf__side--l .mmf__curve::after { right: 0; transform: rotate(45deg); }
.mmf__side--r .mmf__curve::after { left: 0; transform: rotate(-135deg); }
.mmf__side-label { position: absolute; top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.mmf__side--l .mmf__side-label { left: calc(50% + 18px); }
.mmf__side--r .mmf__side-label { right: calc(50% + 18px); text-align: right; }
.mmf__panel { grid-column: 2 / 5; margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--blue-dark); }
.mmf__pillar { padding: 24px 18px 26px; text-align: center; }
.mmf__pillar + .mmf__pillar { border-left: 1px solid var(--line); }
.mmf__pi { width: 56px; height: 56px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--mmf-tint); color: var(--blue-dark); }
.mmf__pt { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.mmf__pd { font-size: 14.5px; line-height: 1.45; color: var(--text-2); margin-top: 4px; text-wrap: pretty; }
.mmf__converts { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 14px 0 16px; }
.mmf__down { position: relative; width: 3px; height: 44px; background: var(--blue-dark); }
.mmf__down::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 10px; height: 10px; border: solid var(--blue-dark); border-width: 0 3px 3px 0; transform: translate(-50%, 0) rotate(45deg); }
.mmf__result { max-width: 680px; margin: 0 auto; display: flex; align-items: center; gap: 18px; background: var(--blue); color: var(--paper); border-radius: 999px; padding: 18px 34px 18px 18px; box-shadow: 0 22px 44px -22px rgba(28,114,230,.7); }
.mmf__ri { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mmf__rt { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.3vw, 28px); letter-spacing: -0.015em; }
.mmf__rd { font-size: 15px; line-height: 1.45; margin-top: 2px; }

/* Phones and small tablets: one column, straight arrows between each step. */
@media (max-width: 899.98px) {
  .mmf__top { grid-template-columns: minmax(0, 1fr); }
  .mmf__link { padding: 14px 0; flex-direction: column-reverse; }
  .mmf__arrow { width: 3px; height: 40px; transform-origin: center top; }
  .mmf__arrow::after { right: auto; top: auto; left: 50%; bottom: 0; border-width: 0 3px 3px 0; transform: translate(-50%, 0) rotate(45deg); }
  .mmf__mid { grid-template-columns: minmax(0, 1fr); }
  .mmf__side { display: none; }
  .mmf__panel { grid-column: 1; margin-top: 0; grid-template-columns: minmax(0, 1fr); }
  .mmf__mid::before { content: ""; justify-self: center; width: 3px; height: 40px; margin: 14px 0; background: linear-gradient(var(--blue), var(--gold)); }
  .mmf__pillar + .mmf__pillar { border-left: 0; border-top: 1px solid var(--line); }
  .mmf__result { border-radius: 28px; padding: 18px 20px; }
  .mmf__ri { width: 52px; height: 52px; }
}

/* Motion: static unless site.js enabled motion; plays once in view (growth-engine.js). */
.mm-motion .mmf .mmf-a { opacity: 0; }
.mmf.is-play .mmf-up { animation: mmgUp .7s cubic-bezier(.2,.8,.2,1) forwards var(--d, 0s); }
.mmf.is-play .mmf-fade { animation: mmgFade .5s ease forwards var(--d, 0s); }
.mmf.is-play .mmf-pop { animation: mmgPop .7s cubic-bezier(.2,.9,.25,1.3) forwards var(--d, 0s); }
.mmf.is-play .mmf__result.mmf-pop { animation: mmgPop .8s cubic-bezier(.2,.9,.25,1.3) forwards var(--d, 0s), mmgGlow 2.4s ease-in-out infinite calc(var(--d, 0s) + .9s); }
.mmf.is-play .mmf-grow { animation: mmfGrowX .5s ease-out forwards var(--d, 0s); }
.mmf.is-play .mmf-reveal { animation: mmfReveal .8s ease-in-out forwards var(--d, 0s); }
@keyframes mmfGrowX { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes mmfGrowY { from { opacity: 1; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes mmfReveal { from { opacity: 1; clip-path: inset(-12px -12px 100% -12px); } to { opacity: 1; clip-path: inset(-12px); } }
@media (max-width: 899.98px) { .mmf.is-play .mmf-grow { animation-name: mmfGrowY; } }

/* Keep a phrase together on one line. */
.nowrap { white-space: nowrap; }
/* Headline sized to its column so a .nowrap phrase (e.g. "Steady enrollment.") never overflows. */
.h1--fit { font-size: clamp(32px, 4.3vw, 59px); }
@supports (font-size: 1cqi) {
  .hero-grid > :has(> .h1--fit) { container-type: inline-size; }
  .h1--fit { font-size: min(10cqi, 59px); }
}

/* Two white sections in a row: drop the second one's top padding so the gap isn't doubled. */
.sec:not(.fog):not(.dark) + .sec:not(.fog):not(.dark) { padding-top: 0; }

/* Standalone text links ("… →", "← Back to site"): same look, but a ~44px-tall tap area on touch screens. */
.text-link, .back-link { display: inline-block; padding: 14px 0; margin: -14px 0; }

/* Back-to-top arrow (added by site.js). */
.to-top { position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 45; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.28); background: var(--blue); color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 26px -8px rgba(0,0,0,0.45); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, visibility .25s, background-color .15s; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(calc(-1 * var(--lift, 0px))); }
.to-top:hover { background: var(--blue-dark); }
.to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* Webinar + course pages: "webinars build trust" cards. */
.trust { gap: clamp(16px, 2vw, 24px); }
.trust--gold .inside-card { border-top-color: var(--gold); }
.trust--gold .inside-card__n { color: #7d6d3a; }
.trust__close { margin: clamp(26px, 3vw, 36px) 0 clamp(48px, 6vw, 72px); max-width: 760px; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.4; letter-spacing: -0.01em; text-wrap: pretty; }

/* ---------- Case studies ---------- */
.cs-client { border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.03); padding: clamp(24px, 3vw, 34px); }
.cs-client__logo { background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 26px; margin-bottom: 24px; }
.cs-client__logo img { height: 72px; width: auto; }
.cs-client__facts { margin: 0; display: grid; gap: 14px; }
.cs-client__facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); }
.cs-client__facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-dark); padding-top: 3px; }
.cs-client__facts dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--paper); }
.cs-built { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 24px); }
.cs-built > * { flex: 1 1 300px; min-width: 0; background: var(--paper); }
.cs-quote { background: var(--paper); border: 1px solid var(--line); }
.cs-pullquote { margin: clamp(24px, 3vw, 36px) 0 0; padding-left: 20px; border-left: 3px solid var(--gold); }
.cs-pullquote p { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; color: var(--ink); text-wrap: balance; }
.cs-pullquote footer { font-size: 13.5px; color: var(--muted); }
.case__media--logo { display: flex; align-items: center; justify-content: center; background: var(--paper); border-bottom: 1px solid var(--line); }
.case__media--logo img { height: 84px; width: auto; }
.case__media--logo { height: 330px; }
.case__media--chat { flex-direction: column; justify-content: flex-start; gap: 18px; padding-top: 28px; background: linear-gradient(var(--paper) 0 26%, var(--fog) 26%); }
.case__media--chat img { flex: none; max-width: calc(100% - 128px); object-fit: contain; }
.case__media--chat .case__chat { height: auto; width: min(270px, 76%); max-width: none; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.16)); -webkit-mask-image: linear-gradient(transparent, #000 14px); mask-image: linear-gradient(transparent, #000 14px); }
.case__link { color: inherit; }
.case__link::after { content: ""; position: absolute; inset: 0; }
.case:has(.case__link) { position: relative; cursor: pointer; }
.case__more { margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--blue); }
@media (min-width: 760px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
.cs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099.98px) { .cs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519.98px) { .cs-stats { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Standard card hover: every box-style card grows 3.5% and lifts.
   Uses the `scale` property (not `transform`) so it never fights the
   scroll-reveal or infographic animations. Add new card classes here.
   ===================================================================== */
.path-card, .compare__col, .inside-card, .pillar, .service, .tool, .case, .quote, .mmf__card, .mmg__card {
  position: relative;
  transition: scale .25s ease, box-shadow .25s ease, background-color .15s ease, color .15s ease, border-color .25s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .path-card:hover, .path-card:focus-visible, .compare__col:hover, .inside-card:hover, .pillar:hover, .service:hover,
  .tool:hover, .tool:focus-visible, .case:hover, .quote:hover, .mmf__card:hover, .mmg__card:hover {
    scale: 1.035; box-shadow: 0 18px 40px rgba(0,0,0,0.18); z-index: 2;
  }
}
/* Case study: the two partner videos sit centered above the quotes (phones keep the swipe carousel). */
@media (min-width: 700px) { .cs-videos { max-width: 820px; margin-left: auto; margin-right: auto; } }
.cs-message { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-message img { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(0,0,0,0.35); }
.cs-message figcaption { border-top: 2px solid var(--ink); padding-top: 12px; display: flex; flex-direction: column; gap: 3px; }
.cs-stats .stat__value { font-size: clamp(40px, 4.2vw, 64px); white-space: nowrap; }
.cs-phone { margin: 0 auto; width: 100%; max-width: 360px; }
.cs-phone img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 36px rgba(0,0,0,0.18)); }
.cs-double { display: flex; align-items: baseline; gap: 18px; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 7vw, 104px); line-height: 0.9; letter-spacing: -0.04em; }
.cs-double span:last-child { color: var(--blue); }
.cs-double__arrow { font-weight: 400; font-size: 0.5em; color: var(--muted); }
.cs-double__label { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; border-top: 2px solid var(--ink); padding-top: 12px; margin: 16px 0 20px; max-width: 280px; }
/* Case study: acquisition funnel (bar width set per row with --w). */
.cs-funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs-funnel li { display: grid; grid-template-columns: minmax(130px, 190px) minmax(0, 1fr) minmax(120px, 170px); gap: 16px; align-items: center; }
.cs-funnel__label { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; text-align: right; line-height: 1.2; }
.cs-funnel__label small { display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.cs-funnel__bar { width: var(--w); min-width: 64px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--blue); color: var(--paper); font-family: var(--display); font-size: 19px; font-variant-numeric: tabular-nums; }
.cs-funnel li:nth-child(n+4) .cs-funnel__bar { background: var(--blue-dark); }
.cs-funnel li.cs-funnel__win .cs-funnel__bar { background: var(--gold); color: var(--ink); }
.cs-funnel__rate { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.cs-funnel__rate strong { color: var(--ink); }
@media (max-width: 639.98px) {
  .cs-funnel li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .cs-funnel__label { text-align: left; }
  .cs-funnel__bar { grid-column: 1 / -1; grid-row: 2; height: 42px; font-size: 17px; }
  .cs-funnel__rate { text-align: right; }
}
.cs-value { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(24px, 4vw, 48px); background: var(--ink); color: var(--paper); border-top: 3px solid var(--gold); padding: clamp(24px, 3vw, 36px); }
.cs-value__num { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 6vw, 80px); line-height: 0.9; letter-spacing: -0.04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.cs-value p { flex: 1 1 320px; margin: 0; font-size: 16px; line-height: 1.6; color: #c7c7c7; }
.cs-value p strong { color: var(--paper); }
/* Case study: results table (scrolls sideways on narrow phones). */
.cs-table__note { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 14px 0 0; }
/* Case study charts. .wchart: column chart per webinar (rows of horizontal bars on phones); --max sets the top of the scale.
   .wchart--pair adds a second (gold) bar per webinar. .dchart: labelled horizontal bars per row, with an optional dashed --avg line. */
.wchart { --chart-gold: #a3801a; position: relative; margin: 0; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: clamp(20px, 3vw, 36px); }
.wchart__sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-bottom: clamp(20px, 2.5vw, 28px); margin-bottom: clamp(20px, 2.5vw, 28px); border-bottom: 1px solid var(--line); }
.wchart__sum b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: -0.03em; }
.wchart__sum span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.wchart__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.wchart__key i, .wchart__col.is-live .wchart__bar { background: repeating-linear-gradient(135deg, var(--blue) 0 3px, #cfe0fa 3px 7px); }
.wchart__key i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -2px; border-radius: 2px; }
.wchart__plot { --h: 240px; position: relative; padding: 0 0 54px 36px; }
.wchart__grid { position: absolute; left: 0; right: 0; top: 0; height: var(--h); }
.wchart__grid span { position: absolute; left: 0; right: 0; bottom: calc(var(--y) / var(--max, 250) * 100%); transform: translateY(50%); display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wchart__grid span::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wchart__grid .wchart__base::after { background: var(--ink); }
.wchart__bars { list-style: none; margin: 0; padding: 0; position: relative; display: flex; height: var(--h); }
.wchart__col { position: relative; flex: 1 1 0; min-width: 0; height: 100%; outline: none; cursor: default; }
.wchart__bar { position: absolute; bottom: 0; left: 50%; translate: -50% 0; width: min(24px, 64%); height: calc(var(--v) / var(--max, 250) * 100%); min-height: 2px; background: var(--blue); border-radius: 4px 4px 0 0; transition: filter .15s ease; }
.wchart__col:hover .wchart__bar, .wchart__col:focus-visible .wchart__bar { filter: brightness(0.8); }
.wchart__col:focus-visible { box-shadow: inset 0 0 0 2px var(--blue); border-radius: 4px; }
.wchart__val { display: none; }
.wchart__col.is-peak .wchart__val { display: block; position: absolute; left: 0; right: 0; bottom: calc(var(--v) / var(--max, 250) * 100% + 6px); text-align: center; font-family: var(--display); font-weight: 700; font-size: 13px; }
.wchart__date { display: none; }
.wchart__day { position: absolute; top: calc(100% + 10px); left: 0; right: 0; text-align: center; font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.wchart__mon { position: absolute; top: calc(100% + 31px); left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.wchart__tip { position: absolute; z-index: 5; min-width: 168px; padding: 12px 14px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.5; box-shadow: 0 12px 28px rgba(0,0,0,0.25); pointer-events: none; }
.wchart__tip strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 15px; }
.wchart__tip span { display: flex; justify-content: space-between; gap: 16px; color: #c7c7c7; }
.wchart__tip b { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }
.wchart__tip em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: #c7c7c7; }
.wchart__keys { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.wchart__key--a i { background: var(--blue); }
.wchart__key--b i { background: var(--chart-gold); }
.wchart--pair .wchart__bar { width: min(20px, 34%); translate: calc(-100% - 1px) 0; }
.wchart--pair .wchart__bar--b { translate: 1px 0; background: var(--chart-gold); }
.wchart--pair .is-live .wchart__bar { translate: -50% 0; }
.dchart__rows { list-style: none; margin: 0; padding: 0; }
.dchart__row, .dchart__scale { display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 1fr) 84px; gap: 18px; align-items: center; }
.dchart--nofee .dchart__row, .dchart--nofee .dchart__scale { grid-template-columns: minmax(150px, 240px) minmax(0, 1fr); }
.dchart__row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.dchart__who b { display: block; font-family: var(--display); font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; }
.dchart__who small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.dchart__track { --w: calc(100% - 72px); position: relative; height: 22px; }
.dchart__track::before { content: ""; position: absolute; top: -13px; bottom: -13px; left: calc(var(--avg, -100) / var(--max) * var(--w)); border-left: 2px dashed rgba(0,0,0,0.35); }
.dchart__bar { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) / var(--max) * var(--w)); background: var(--blue); border-radius: 0 4px 4px 0; }
.dchart__days { position: absolute; top: 50%; translate: 0 -50%; left: calc(var(--v) / var(--max) * var(--w) + 6px); z-index: 1; padding: 0 4px; background: var(--paper); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dchart__fee { text-align: right; font-family: var(--display); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.dchart__scale { margin-top: 10px; }
.dchart__ticks { position: relative; height: 14px; margin-right: 72px; }
.dchart__ticks i { position: absolute; left: calc(var(--t) / var(--max) * 100%); translate: -50% 0; font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.dchart__ticks i:first-child { translate: 0 0; }
.dchart__ticks i:last-child { translate: -100% 0; }
.dchart__avgkey i { width: 0; height: 12px; background: none; border-left: 2px dashed rgba(0,0,0,0.5); border-radius: 0; }
@media (max-width: 639.98px) {
  .wchart__sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wchart__plot { padding: 0; }
  .wchart__grid, .wchart__day, .wchart__mon { display: none; }
  .wchart__bars { height: auto; flex-direction: column; gap: 6px; }
  .wchart__col { display: grid; grid-template-columns: 56px minmax(0, 1fr) 36px; align-items: center; gap: 10px; height: auto; padding: 2px 0; }
  .wchart__date { display: block; grid-column: 1; grid-row: 1; font-size: 13px; color: var(--text-2); }
  .wchart__bar { position: static; grid-column: 2; grid-row: 1; translate: none; width: calc(var(--v) / var(--max, 250) * 100%); height: 16px; border-radius: 0 4px 4px 0; }
  .wchart__val, .wchart__col.is-peak .wchart__val { display: block; position: static; grid-column: 3; grid-row: 1; text-align: right; font-family: inherit; font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
  .wchart--pair .wchart__col { grid-template-rows: auto auto; row-gap: 3px; }
  .wchart--pair .wchart__date { grid-row: 1 / span 2; }
  .wchart--pair .wchart__bar, .wchart--pair .is-live .wchart__bar { width: calc(var(--v) / var(--max, 250) * 100%); height: 12px; translate: none; }
  .wchart--pair .wchart__bar--b { grid-row: 2; }
  .wchart--pair .wchart__val--b { grid-row: 2; }
  .dchart__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .dchart--nofee .dchart__row { grid-template-columns: minmax(0, 1fr); }
  .dchart__who { grid-column: 1 / -1; }
  .dchart__scale { grid-template-columns: minmax(0, 1fr) 84px; }
  .dchart--nofee .dchart__scale { grid-template-columns: minmax(0, 1fr); }
  .dchart__scale > span:first-child { display: none; }
  .dchart__track::before { top: -4px; bottom: -4px; }
}

/* Case study: pipeline stats on a light background. */
.cs-pipeline { margin-top: clamp(40px, 5vw, 64px); }
.cs-pipeline .stat { border-top-color: var(--line); }
.cs-pipeline .stat__value { font-size: clamp(40px, 4.2vw, 64px); }
.cs-pipeline .stat__note { color: var(--muted); }
.cs-dark-lede { max-width: 720px; margin: 0 0 clamp(28px, 3.5vw, 40px); font-size: 17px; line-height: 1.6; color: #c7c7c7; text-wrap: pretty; }
.cs-funnel__title { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin: clamp(28px, 3.5vw, 44px) 0 14px; }
.cs-funnel__title:first-of-type { margin-top: 0; }
.cs-stats .stat__value.cs-stat--text { font-size: clamp(34px, 3.4vw, 52px); }

/* Anything marked hidden (e.g. expired [data-until] promos) stays hidden, even when a class sets display. */
[hidden] { display: none !important; }
