/* Calltree marketing site — shared styles (all three pages) */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper-1); }

/* ---------- Nav (floating liquid-glass pill) ---------- */
.ct-nav {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1180px, calc(100% - 36px));
  border-radius: 999px;
  /* Liquid glass: heavy blur + saturation, subtle tint, crisp inner highlight, soft outer shadow */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.32) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 8px 24px -8px rgba(14,17,22,0.18),
    0 20px 60px -20px rgba(14,17,22,0.22);
  transition: background 200ms var(--ease-standard), border-color 200ms var(--ease-standard);
}
.ct-nav-inner {
  max-width: 100%;
  margin: 0;
  padding: 10px 12px 10px 22px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.ct-nav-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.ct-nav-brand img { height: 24px; width: auto; display: block; }
.ct-nav-brand .ct-nav-brand-dark { display: none; }
.ct-nav.on-photo .ct-nav-brand .ct-nav-brand-light { display: none; }
.ct-nav.on-photo .ct-nav-brand .ct-nav-brand-dark { display: block; }

/* Hamburger button — hidden by default, shown on mobile.
   Sits to the left of the logo. Uses inline SVG icons (menu / close)
   so the lines stay crisp at every size. */
.ct-nav-burger {
  display: none;
  width: 36px; height: 36px; border-radius: 10px;
  background: transparent; border: 0; padding: 0;
  align-items: center; justify-content: center;
  color: var(--ink-1); cursor: pointer;
  margin-left: -6px;
  transition: background 150ms var(--ease-standard);
}
.ct-nav-burger:hover { background: rgba(14,17,22,0.06); }
.ct-nav-burger:active { background: rgba(14,17,22,0.10); }
.ct-nav-burger svg { display: block; }
.ct-nav.on-photo .ct-nav-burger { color: #fff; }
.ct-nav.on-photo .ct-nav-burger:hover { background: rgba(255,255,255,0.15); }

/* Mobile drawer — collapsed by default, expands when nav.is-open */
.ct-nav-drawer {
  display: none;
  flex-direction: column;
  padding: 8px 12px 14px;
  border-top: 1px solid rgba(14,17,22,0.08);
  margin-top: 6px;
}
.ct-nav-drawer a {
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  color: var(--ink-1); text-decoration: none;
  padding: 12px 14px; border-radius: 10px;
}
.ct-nav-drawer a.is-active { background: rgba(14,17,22,0.06); color: var(--ink-1); }
.ct-nav.on-photo .ct-nav-drawer { border-top-color: rgba(255,255,255,0.18); }
.ct-nav.on-photo .ct-nav-drawer a { color: rgba(255,255,255,0.92); }
.ct-nav.on-photo .ct-nav-drawer a.is-active { background: rgba(255,255,255,0.18); color: #fff; }
.ct-nav-links { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.ct-nav-links a {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500;
  color: var(--ink-1);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast);
  display: inline-block;
  line-height: 1.2;
}
.ct-nav-links a:hover { background: rgba(255,255,255,0.55); color: var(--brand-red-deep); }
.ct-nav-links a.is-active {
  background: rgba(14,17,22,0.06);
  color: var(--ink-1);
  box-shadow: inset 0 0 0 1px rgba(14,17,22,0.08);
}
.ct-nav-links a.is-active::after { display: none; }
.ct-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ct-nav-cta .ct-link-quiet {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  transition: background var(--dur-fast);
}
.ct-nav-cta .ct-link-quiet:hover { background: rgba(255,255,255,0.55); color: var(--ink-1); }
.ct-nav-cta .ct-btn {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 4px 12px -2px rgba(212,28,44,0.4), 0 1px 0 rgba(255,255,255,0.25) inset;
}

/* On-photo variant — darker base so the glass reads on bright photography */
.ct-nav.ct-nav.on-photo {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 100%) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 10px 30px -10px rgba(0,0,0,0.35),
    0 24px 60px -20px rgba(0,0,0,0.45) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
}
.ct-nav.on-photo .ct-nav-links a { color: rgba(255,255,255,0.92); }
.ct-nav.on-photo .ct-nav-links a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.ct-nav.on-photo .ct-nav-links a.is-active {
  background: rgba(255,255,255,0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
}
.ct-nav.on-photo .ct-nav-cta .ct-link-quiet { color: rgba(255,255,255,0.85); }
.ct-nav.on-photo .ct-nav-cta .ct-link-quiet:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Link utilities (kept) */
.ct-link { font-family: var(--font-sans); font-size: 14px; color: var(--brand-red-deep); font-weight: 500; text-decoration: none; }
.ct-link:hover { color: var(--brand-red); }

/* ---------- Buttons ---------- */
.ct-btn {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 10px 18px; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; line-height: 1.2;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast), transform var(--dur-fast);
}
.ct-btn-primary { background: var(--brand-red); color: #fff; }
.ct-btn-primary:hover { background: var(--brand-red-deep); }
.ct-btn-primary:active { background: var(--brand-red-ink); transform: translateY(0); }
.ct-btn-sm { padding: 8px 14px; font-size: 13px; }
.ct-btn-lg { padding: 14px 22px; font-size: 15px; }
.ct-btn-on-dark { background: var(--brand-yellow); color: var(--ink-1); padding: 14px 22px; font-size: 15px; font-weight: 600; }
.ct-btn-on-dark:hover { background: var(--brand-yellow-deep); }
.ct-btn-ghost { background: transparent; color: var(--ink-1); border-color: var(--line-strong); padding: 14px 22px; font-size: 15px; }
.ct-btn-ghost:hover { border-color: var(--brand-red); color: var(--brand-red); }

/* ---------- Eyebrow / rule / type ---------- */
.ct-eyebrow { font-family: var(--font-sans); font-size: 11px; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--brand-red); }
.ct-eyebrow-muted { color: var(--ink-4); }
.ct-eyebrow-on-dark { color: var(--brand-yellow); }
.ct-rule-brand { height: 2px; width: 48px; background: var(--brand-red); border: 0; margin: 18px 0; }

.ct-display-xl { font-family: var(--font-serif); font-size: 76px; line-height: 1.02; letter-spacing: -0.025em; font-weight: 600; color: var(--ink-1); margin: 0; text-wrap: balance; }
.ct-display { font-family: var(--font-serif); font-size: 60px; line-height: 1.06; letter-spacing: -0.022em; font-weight: 600; color: var(--ink-1); margin: 0; text-wrap: balance; }
.ct-display em { font-style: italic; color: var(--brand-red); font-weight: 600; }
.ct-h2 { font-family: var(--font-serif); font-size: 40px; line-height: 1.12; letter-spacing: -0.018em; font-weight: 600; color: var(--ink-1); margin: 0; text-wrap: balance; }
.ct-h3 { font-family: var(--font-serif); font-size: 24px; line-height: 1.3; font-weight: 600; color: var(--ink-1); margin: 0 0 10px; }
.ct-h4 { font-family: var(--font-serif); font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ink-1); margin: 0 0 8px; }
.ct-lede { font-family: var(--font-serif); font-size: 22px; line-height: 1.45; color: var(--ink-2); font-weight: 400; max-width: 620px; margin: 0 0 32px; text-wrap: pretty; }
.ct-body { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.ct-body-l { font-family: var(--font-sans); font-size: 18px; line-height: 1.65; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.ct-body-s { font-family: var(--font-sans); font-size: 13px; line-height: 1.55; color: var(--ink-3); margin: 0; }
.ct-on-dark { color: #fff; }
.ct-on-dark-muted { color: rgba(255,255,255,0.66); }

/* ---------- Layout utility ---------- */
.ct-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.ct-wrap-narrow { max-width: 960px; margin: 0 auto; padding: 0 40px; }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { transform: translateX(-28px); }
.reveal-r { transform: translateX(28px); }
.reveal-l.in, .reveal-r.in { transform: none; }

/* ---------- Footer ---------- */
.ct-footer { background: var(--ink-1); color: rgba(255,255,255,0.66); position: relative; overflow: hidden; }
.ct-footer::before { content: ''; position: absolute; inset: 0; background-image: url('assets/pattern-dots.svg'); opacity: 0.35; pointer-events: none; }
.ct-footer-inner { max-width: 1280px; margin: 0 auto; padding: 72px 40px 32px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 80px; position: relative; }
.ct-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.ct-footer-cols ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ct-footer-cols a { font-family: var(--font-sans); font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; }
.ct-footer-cols a:hover { color: #fff; }
.ct-footer-fine { max-width: 1280px; margin: 0 auto; padding: 22px 40px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-family: var(--font-sans); font-size: 12px; color: rgba(255,255,255,0.45); position: relative; }
.ct-footer-fine a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
.ct-footer-fine a:hover { color: var(--brand-yellow); }

/* ---------- CTA band (shared) ---------- */
.ct-cta-band { background: var(--ink-1); color: #fff; position: relative; overflow: hidden; }
.ct-cta-band::before { content: ''; position: absolute; inset: 0; background-image: url('assets/pattern-dots.svg'); opacity: 0.5; }
.ct-cta-inner { max-width: 1280px; margin: 0 auto; padding: 88px 40px; display: flex; align-items: center; justify-content: space-between; gap: 60px; position: relative; }
.ct-cta-inner > div { display: flex; flex-direction: column; gap: 18px; }
.ct-cta-inner h2 { color: #fff; max-width: 640px; margin: 0; }
.ct-cta-inner p { margin: 0; max-width: 540px; }

/* ============================================================
   PHOTO HERO (shared across pages — Delicate Arch)
   ============================================================ */
.ct-photo-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink-1);
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-bottom: 1px solid var(--line-soft);
}
.ct-photo-hero .bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/hero-utah.png');
  background-size: cover; background-position: center 42%;
}
.ct-photo-hero .scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,17,22,0.82) 0%, rgba(14,17,22,0.62) 26%, rgba(14,17,22,0.28) 50%, rgba(14,17,22,0) 72%),
    linear-gradient(180deg, rgba(14,17,22,0.4) 0%, rgba(14,17,22,0) 38%, rgba(14,17,22,0) 72%, rgba(14,17,22,0.55) 100%);
}
.ct-photo-hero .scrim::after { content: none; }
.ct-photo-hero .hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 120px 40px 56px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: end;
}
.ct-photo-hero .hero-body {
  max-width: 820px; color: #fff;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 560px;
}
.ct-photo-hero .hero-cta { margin-top: auto; }
.ct-photo-hero .hero-body::before { content: none; }
/* Force reveal visible inside photo hero so SSR-less screenshots still show content */
.ct-photo-hero .reveal { opacity: 1 !important; transform: none !important; }
.ct-photo-hero .eyebrow-dark { font-family: var(--font-sans); font-size: 11px; line-height: 1.2; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--brand-yellow); }
.ct-photo-hero .brand-rule { height: 2px; width: 48px; background: var(--brand-yellow); border: 0; margin: 18px 0 24px; }
.ct-photo-hero h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 84px; line-height: 1.02; letter-spacing: -0.028em;
  color: #fff; margin: 0 0 26px; max-width: 17ch; text-wrap: balance;
}
.ct-photo-hero .hero-inner-solo { grid-template-columns: 1fr; max-width: 1280px; padding: 140px 40px 72px; align-items: start; }
.ct-photo-hero .hero-inner-solo .hero-body::before {
  inset: -40px -80px -40px -80px;
  background: radial-gradient(ellipse 860px 560px at 30% 55%, rgba(14,17,22,0.62) 0%, rgba(14,17,22,0.32) 50%, rgba(14,17,22,0) 80%);
}
.ct-photo-hero h1 em.emph-line {
  display: block;
  margin-top: 4px;
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
}
.ct-photo-hero h1 .nowrap { white-space: nowrap; }
.ct-photo-hero .lede {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 22px; line-height: 1.5; color: rgba(255,255,255,0.82);
  max-width: 620px; margin: 0 0 34px;
}
.ct-photo-hero .hero-cta { display: flex; gap: 20px; align-items: center; }
.ct-photo-hero .hero-cta .ct-btn-primary { box-shadow: 0 12px 32px -12px rgba(212,28,44,0.65); }
.ct-photo-hero .hero-cta .ct-link-light { font-family: var(--font-sans); font-size: 14px; color: #fff; text-decoration: none; padding: 14px 4px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.35); transition: border-color 150ms var(--ease-standard); }
.ct-photo-hero .hero-cta .ct-link-light:hover { border-color: var(--brand-yellow); color: var(--brand-yellow); }

/* Hero proof — bottom-right on Home */
.ct-photo-hero .hero-proof {
  padding: 22px 24px; border-radius: 8px;
  background: rgba(14,17,22,0.42);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: #fff;
  max-width: 380px;
  margin-bottom: 4px;
}
.ct-photo-hero .hero-proof .eb { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-yellow); font-weight: 600; }
.ct-photo-hero .hero-proof .row { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ct-photo-hero .hero-proof .row:last-child { border-bottom: 0; padding-bottom: 0; }
.ct-photo-hero .hero-proof .row:first-of-type { padding-top: 14px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.1); }
.ct-photo-hero .hero-proof .n { font-family: var(--font-serif); font-size: 26px; font-weight: 600; line-height: 1; flex: 0 0 72px; letter-spacing: -0.015em; }
.ct-photo-hero .hero-proof .n em { font-style: normal; color: var(--brand-yellow); font-size: 14px; font-family: var(--font-mono); margin-left: 2px; }
.ct-photo-hero .hero-proof .t { font-family: var(--font-sans); font-size: 12px; line-height: 1.45; color: rgba(255,255,255,0.75); }

/* Tagline strip at the very bottom (like "Investing. Building. Advisory.") */
.ct-photo-hero .hero-tagline {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.14);
  background: rgba(14,17,22,0.55);
  backdrop-filter: blur(8px);
}
.ct-photo-hero .hero-tagline-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 40px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); font-weight: 500;
}
.ct-photo-hero .hero-tagline .strong { color: #fff; }
.ct-photo-hero .hero-tagline .dot { color: var(--brand-red); margin: 0 10px; }

/* How-It-Works hero — different photo, centered headline variant */
.ct-photo-hero.compact { height: 100vh; min-height: 640px; justify-content: flex-end; }
.ct-photo-hero.compact .bg { background-image: url('assets/hero-how.png'); background-position: center 55%; }
.ct-photo-hero.compact .scrim {
  background:
    linear-gradient(90deg, rgba(14,17,22,0.82) 0%, rgba(14,17,22,0.62) 26%, rgba(14,17,22,0.28) 50%, rgba(14,17,22,0) 72%),
    linear-gradient(180deg, rgba(14,17,22,0.4) 0%, rgba(14,17,22,0) 38%, rgba(14,17,22,0) 72%, rgba(14,17,22,0.55) 100%);
}
.ct-photo-hero.compact .hero-inner { grid-template-columns: 1fr; max-width: 1280px; padding: 140px 40px 72px; margin: 0 auto; align-items: start; }
.ct-photo-hero.compact .hero-body { max-width: 820px; }
.ct-photo-hero.compact .hero-body::before { content: none; }
.ct-photo-hero.compact h1 { font-size: 84px; max-width: 17ch; }

/* How-It-Works hero height variants (Tweaks) */
body.hero-short .ct-photo-hero.compact { height: 72vh; min-height: 540px; }
body.hero-short .ct-photo-hero.compact h1 { font-size: 64px; }
body.hero-tall .ct-photo-hero.compact { height: 112vh; min-height: 780px; }
body.hero-tall .ct-photo-hero.compact h1 { font-size: 88px; }

/* Hero TOC — top-left, stacked above the headline (no overlap) */
.w-hero-toc {
  position: absolute; top: 96px; left: 40px; z-index: 2;
  max-width: 620px;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-sans);
}
.w-hero-toc-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-yellow);
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}
.w-hero-toc ol {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 36px;
}
.w-hero-toc li {
  display: grid; grid-template-columns: 26px 1fr; gap: 10px;
  padding: 4px 0;
  font-size: 12.5px; line-height: 1.3;
  color: rgba(255,255,255,0.82);
}
.w-hero-toc .n {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--brand-yellow); font-weight: 600;
  padding-top: 1px;
}
.w-hero-toc .t { font-family: var(--font-serif); font-size: 13.5px; color: rgba(255,255,255,0.92); }

/* The-AI hero — same photo, darker scrim to pair with transcript card */
.ct-photo-hero.ai .scrim {
  background:
    linear-gradient(180deg, rgba(14,17,22,0.7) 0%, rgba(14,17,22,0.45) 40%, rgba(14,17,22,0.9) 100%),
    linear-gradient(90deg, rgba(14,17,22,0.55) 0%, rgba(14,17,22,0.1) 55%, rgba(14,17,22,0.75) 100%);
}
.ct-photo-hero.ai { height: 100vh; min-height: 720px; border-bottom: 2px solid var(--brand-red); }
.ct-photo-hero.ai .bg { background-image: url('assets/hero-ai.png'); background-position: center 40%; }
.ct-photo-hero.ai .hero-inner { grid-template-columns: 1fr; max-width: 1280px; padding: 140px 40px 72px; }

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* Hero — warm paper background with brand rule, big serif headline */
.h-hero { background: var(--paper-1); border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.h-hero::after {
  content: ''; position: absolute; right: -120px; top: 40px; width: 560px; height: 560px;
  background-image: url('assets/pattern-dots.svg'); opacity: 0.4; pointer-events: none;
}
.h-hero-inner { max-width: 1280px; margin: 0 auto; padding: 110px 40px 120px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: end; position: relative; }
.h-hero-copy h1 { margin-top: 18px; margin-bottom: 28px; max-width: 14ch; }
.h-hero-cta { display: flex; gap: 22px; align-items: center; margin-top: 14px; }
.h-hero-proof { padding-bottom: 8px; }
.h-hero-proof .proof-row { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.h-hero-proof .proof-row:first-of-type { border-top: 1px solid var(--line-soft); }
.h-hero-proof .proof-n { font-family: var(--font-serif); font-size: 40px; line-height: 1; font-weight: 600; color: var(--ink-1); letter-spacing: -0.02em; flex: 0 0 auto; min-width: 100px; }
.h-hero-proof .proof-n em { color: var(--brand-red); font-style: normal; }
.h-hero-proof .proof-t { font-family: var(--font-sans); font-size: 14px; color: var(--ink-3); line-height: 1.45; }

/* Problem / solution alternating sections */
.h-alt { background: var(--paper-0); border-bottom: 1px solid var(--line-soft); }
.h-alt-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.h-alt-inner.reverse .h-alt-visual { order: -1; }
.h-alt-copy h2 { max-width: 16ch; margin-bottom: 20px; }
.h-alt-copy p { margin-top: 18px; }

/* Visual: "Offshore BPO ledger" — stacked call cards getting worse */
.h-ledger { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 10px; padding: 28px; box-shadow: var(--shadow-xs); }
.h-ledger-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line-medium); margin-bottom: 16px; }
.h-ledger-head .t { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--ink-1); }
.h-ledger-row { display: grid; grid-template-columns: 70px 1fr 90px 90px; gap: 14px; padding: 14px 4px; align-items: center; border-bottom: 1px solid var(--line-soft); font-family: var(--font-sans); font-size: 13px; }
.h-ledger-row .id { font-family: var(--font-mono); color: var(--ink-4); font-size: 12px; }
.h-ledger-row .who { color: var(--ink-2); }
.h-ledger-row .who small { color: var(--ink-4); display: block; font-size: 11px; margin-top: 2px; }
.h-ledger-row .aht { font-family: var(--font-mono); color: var(--ink-2); text-align: right; font-feature-settings: 'tnum' 1; }
.h-ledger-row .status { text-align: right; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.h-ledger-row .status.neg { color: var(--color-danger); }
.h-ledger-row .status.warn { color: var(--color-warning); }
.h-ledger-row:last-child { border-bottom: 0; }
.h-ledger-foot { margin-top: 18px; display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-medium); font-family: var(--font-sans); font-size: 13px; color: var(--ink-3); }
.h-ledger-foot strong { color: var(--color-danger); font-family: var(--font-mono); font-feature-settings: 'tnum' 1; }

/* Visual: Customer voices — what your customers actually say about support */
.h-voices {
  background: var(--paper-0);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 28px 30px 26px;
  box-shadow: 0 24px 60px -30px rgba(14,17,22,0.18);
}
.h-voices-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); margin-bottom: 18px;
  gap: 20px;
}
.h-voices-head .eb {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-red);
  margin-bottom: 6px;
}
.h-voices-head .sub {
  font-family: var(--font-serif); font-style: italic; font-size: 14px;
  color: var(--ink-3);
}
.h-voices-score { text-align: right; min-width: 110px; }
.h-voices-score .n {
  font-family: var(--font-serif); font-size: 40px; line-height: 1;
  font-weight: 600; color: var(--color-danger); letter-spacing: -0.02em;
}
.h-voices-score .stars {
  font-size: 14px; color: var(--brand-yellow-deep);
  letter-spacing: 2px; margin-top: 4px;
}
.h-voices-score .stars.pos { color: var(--brand-yellow-deep); letter-spacing: 2px; }
.h-voices.pos .h-voices-score .n,
.h-voices .h-voices-score .n.pos { color: var(--color-success); }
.h-voices-score .stars span { color: var(--line-medium); }
.h-voices-score .meta {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--ink-4); margin-top: 4px;
}

.h-voices-sent { margin-bottom: 22px; }
.h-voices-sent .bar {
  display: flex; height: 6px; border-radius: 3px; overflow: hidden;
  background: var(--line-soft);
}
.h-voices-sent .bar span { display: block; height: 100%; }
.h-voices-sent .bar .neg { background: var(--color-danger); }
.h-voices-sent .bar .neu { background: var(--ink-4); }
.h-voices-sent .bar .pos { background: var(--color-success); }
.h-voices-sent .legend {
  display: flex; gap: 18px; margin-top: 10px;
  font-family: var(--font-sans); font-size: 12px; color: var(--ink-3);
}
.h-voices-sent .legend i.d {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 6px; vertical-align: middle;
}
.h-voices-sent .legend i.neg { background: var(--color-danger); }
.h-voices-sent .legend i.neu { background: var(--ink-4); }
.h-voices-sent .legend i.pos { background: var(--color-success); }
.h-voices-sent .legend b { color: var(--ink-1); font-weight: 600; margin-left: 4px; }

.h-voices-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.h-voices-list li {
  padding: 14px 16px 12px;
  background: var(--paper-2);
  border-left: 3px solid var(--color-danger);
  border-radius: 0 6px 6px 0;
}
.h-voices-list .q {
  font-family: var(--font-serif); font-size: 16px; line-height: 1.45;
  color: var(--ink-1); font-style: italic;
}
.h-voices-list .m {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; gap: 12px;
}
.h-voices-list .src {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4);
}
.h-voices-list .tag {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
}
.h-voices-list .tag.neg { color: var(--color-danger); background: rgba(212,28,44,0.08); }

.h-voices-drivers { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.h-voices-drivers li { display: grid; gap: 8px; }
.h-voices-drivers .dl { display: flex; justify-content: space-between; align-items: baseline; }
.h-voices-drivers .dt { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--ink-1); }
.h-voices-drivers .ds { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); font-feature-settings: 'tnum' 1; }
.h-voices-drivers .dbar { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.h-voices-drivers .dbar span { display: block; height: 100%; background: var(--color-danger); border-radius: 3px; }

/* Public-reviews variant */
.h-voices-platforms {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 14px 0 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px;
}
.h-voices-platforms .plat {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 12px;
  background: var(--paper-0); border: 1px solid var(--line-soft); border-radius: 6px;
}
.h-voices-platforms .pn {
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4);
}
.h-voices-platforms .pr {
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--color-danger);
  display: flex; align-items: baseline; gap: 4px; line-height: 1;
}
.h-voices-platforms .pr span { font-size: 13px; color: var(--color-danger); }
.h-voices-platforms .pr .grade { font-family: var(--font-sans); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.h-voices-platforms .pr.pos { color: var(--color-success); }
.h-voices-platforms .pr.pos span { color: var(--brand-yellow-deep); }

/* Before→after shift bar (positive reviews card) */
.h-voices-shift {
  padding: 14px 0 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px;
}
.h-voices-shift .shift-row { display: flex; align-items: center; gap: 14px; }
.h-voices-shift .shift-label {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4);
  flex: 0 0 auto;
}
.h-voices-shift .shift-bar {
  position: relative; flex: 1; height: 8px;
  background: var(--paper-2); border-radius: 4px; overflow: hidden;
}
.h-voices-shift .shift-bar i {
  position: absolute; top: 0; bottom: 0; display: block;
}
.h-voices-shift .shift-bar .before { background: var(--color-danger); opacity: 0.6; }
.h-voices-shift .shift-bar .after { background: var(--color-success); }
.h-voices-shift .shift-legend {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-4);
}
.h-voices-shift .shift-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.h-voices-shift .shift-legend .d-before { background: var(--color-danger); opacity: 0.6; }
.h-voices-shift .shift-legend .d-after { background: var(--color-success); }
.h-voices-shift .shift-legend b { color: var(--ink-1); font-weight: 600; }
.h-voices-shift .shift-legend .arr { color: var(--ink-3); }

.h-voices-reviews { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.h-voices-reviews li {
  padding: 14px 16px 12px;
  background: var(--paper-0);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  position: relative;
}
.h-voices-reviews .rv-h {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
  font-family: var(--font-sans); font-size: 11px;
}
.h-voices-reviews .rv-plat {
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); padding: 3px 7px;
  background: var(--paper-2); border-radius: 3px;
}
.h-voices-reviews .rv-stars {
  font-size: 13px; color: var(--color-danger); letter-spacing: 1px; line-height: 1;
}
.h-voices-reviews .rv-stars.pos { color: var(--brand-yellow-deep); }
.h-voices-reviews .rv-stars i { color: var(--line-medium); font-style: normal; }
.h-voices-reviews .rv-when {
  margin-left: auto; color: var(--ink-4); font-family: var(--font-mono); font-size: 10.5px;
}
.h-voices-reviews .rv-q {
  font-family: var(--font-serif); font-size: 15px; line-height: 1.45;
  color: var(--ink-1); font-style: italic; margin: 0 0 6px;
}
.h-voices-reviews .rv-by {
  font-family: var(--font-sans); font-size: 11px; color: var(--ink-4);
}

/* Rep showcase — portrait with floating customer quote card */
.h-rep { position: relative; width: 100%; touch-action: pan-y; user-select: none; }
.h-rep-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 30px 80px -40px rgba(14,17,22,0.35), 0 2px 10px rgba(14,17,22,0.06);
}
.h-rep-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.95);
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity;
}
.h-rep-img.on { opacity: 1; }

.h-rep-badge {
  position: absolute; top: 20px; left: 20px;
  background: rgba(14,17,22,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 16px 14px;
  border-radius: 3px;
  color: #fff;
  max-width: 260px;
  animation: repFade 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.h-rep-badge-eb {
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 6px;
}
.h-rep-badge-name {
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 1.1;
  letter-spacing: -0.01em;
}
.h-rep-badge-meta {
  font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.h-rep-quote {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  background: var(--paper-0);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--brand-red);
  padding: 18px 20px 16px;
  box-shadow: 0 20px 50px -20px rgba(14,17,22,0.3);
  border-radius: 3px;
  animation: repFade 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.h-rep-quote-stars {
  font-size: 14px; color: var(--brand-yellow-deep); letter-spacing: 2px;
  line-height: 1; margin-bottom: 10px;
}
.h-rep-quote-body {
  font-family: var(--font-serif); font-size: 17px; line-height: 1.4;
  color: var(--ink-1); font-style: italic;
  text-wrap: pretty;
}
.h-rep-quote-by {
  font-family: var(--font-sans); font-size: 11px; color: var(--ink-4);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* Nav arrows — flank the photo, always visible */
.h-rep-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-0);
  border: 1px solid var(--line-soft);
  color: var(--ink-1);
  font-family: var(--font-serif); font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(14,17,22,0.18);
  transition: transform 150ms var(--ease-out), background 150ms, border-color 150ms;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.h-rep-arr-l { left: -22px; }
.h-rep-arr-r { right: -22px; }
.h-rep-arr:hover {
  background: var(--ink-1); color: #fff; border-color: var(--ink-1);
  transform: translateY(-50%) scale(1.06);
}
.h-rep-arr:active { transform: translateY(-50%) scale(0.96); }

.h-rep-dots {
  position: absolute; top: 20px; right: 20px;
  display: flex; gap: 6px;
}
.h-rep-dots button {
  width: 24px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 200ms, width 200ms;
  position: relative;
  overflow: hidden;
}
.h-rep-dots button.on {
  background: rgba(255,255,255,0.3);
  width: 32px;
}
.h-rep-dots button.on::after {
  content: '';
  position: absolute; inset: 0;
  background: #fff;
  transform-origin: left;
  animation: repDotFill 5200ms linear;
}
.h-rep:hover .h-rep-dots button.on::after { animation-play-state: paused; }
.h-rep-dots button:hover:not(.on) { background: rgba(255,255,255,0.55); }

@keyframes repDotFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes repFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.h-voices-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap;
}
.h-voices-foot .k {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
  padding-top: 4px;
}
.h-voices-foot .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.h-voices-foot .chip {
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--ink-1); color: #fff;
}
.h-voices-foot .chip.pos {
  background: var(--color-success); color: #fff;
}

/* Visual: Calltree stack diagram */
.h-stack { display: flex; flex-direction: column; gap: 12px; }
.h-stack-card { background: var(--paper-0); border: 1px solid var(--line-soft); border-radius: 6px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard); }
.h-stack-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.h-stack-card .l { display: flex; align-items: center; gap: 16px; }
.h-stack-card .badge { width: 36px; height: 36px; border-radius: 4px; background: var(--brand-cream); color: var(--brand-red-deep); font-family: var(--font-mono); font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.h-stack-card .t { font-family: var(--font-serif); font-weight: 600; font-size: 17px; color: var(--ink-1); }
.h-stack-card .s { font-family: var(--font-sans); font-size: 13px; color: var(--ink-4); margin-top: 2px; }
.h-stack-card .tag { font-family: var(--font-sans); font-size: 11px; font-weight: 600; color: var(--color-success); padding: 4px 10px; border: 1px solid var(--color-success); border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.h-stack-sum { margin-top: 6px; padding: 20px 22px; background: var(--ink-1); color: #fff; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; }
.h-stack-sum .l { font-family: var(--font-serif); font-size: 18px; font-weight: 600; }
.h-stack-sum .r { font-family: var(--font-mono); font-size: 18px; color: var(--brand-yellow); font-feature-settings: 'tnum' 1; }

/* How it works — 3 up */
.h-how { background: var(--paper-1); border-bottom: 1px solid var(--line-soft); }
.h-how-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; }
.h-how-head { max-width: 720px; margin-bottom: 64px; }
.h-how-head h2 { margin: 8px 0 0; }
.h-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.h-how-cta { display: flex; justify-content: center; margin-top: 56px; }
.h-how-card { background: var(--paper-0); border: 1px solid var(--line-soft); border-radius: 6px; padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.h-how-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.h-how-num { font-family: var(--font-mono); font-size: 12px; color: var(--brand-red); letter-spacing: 0.1em; margin-bottom: 14px; }
.h-how-card h3 { margin: 4px 0 12px; }
.h-how-card p { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* Clients grid */
.h-clients { background: var(--paper-0); border-bottom: 1px solid var(--line-soft); }
.h-clients-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px; }
.h-clients-copy h2 { max-width: 18ch; }
.h-clients-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.h-client-cell { padding: 32px 28px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--paper-0); }
.h-client-cell .name { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink-1); margin-bottom: 10px; }
.h-client-cell .scope { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-red); font-weight: 600; margin-bottom: 16px; }
.h-client-cell p { font-family: var(--font-sans); font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0; }

/* Logo wall */
.h-clients-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.h-client-logo { display: flex; align-items: center; justify-content: center; padding: 48px 36px; min-height: 180px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--paper-0); }
.h-client-logo img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.78; transition: filter var(--dur-fast) var(--ease-standard), opacity var(--dur-fast) var(--ease-standard); }
.h-client-logo:hover img { filter: grayscale(0%); opacity: 1; }
.h-client-more { font-family: var(--font-serif); font-size: 22px; font-style: italic; color: var(--ink-3); }

/* Big quote */
.h-quote { background: var(--paper-2); border-bottom: 1px solid var(--line-soft); }
.h-quote-inner { max-width: 1080px; margin: 0 auto; padding: 120px 40px; position: relative; }
.h-quote-mark { position: absolute; left: 20px; top: 80px; font-family: var(--font-serif); font-size: 200px; line-height: 1; color: var(--brand-red); opacity: 0.18; }
.h-quote-text { font-family: var(--font-serif); font-size: 40px; line-height: 1.28; font-weight: 400; color: var(--ink-1); margin: 0 0 32px; max-width: 900px; text-wrap: balance; font-style: italic; }
.h-quote-by { display: flex; gap: 14px; align-items: baseline; font-family: var(--font-sans); font-size: 14px; color: var(--ink-3); }
.h-quote-by strong { color: var(--ink-1); font-weight: 600; }

/* Better-over-time section with animated chart */
.h-curve { background: var(--ink-1); color: #fff; position: relative; overflow: hidden; }
.h-curve::before { content: ''; position: absolute; inset: 0; background-image: url('assets/pattern-dots.svg'); opacity: 0.25; }
.h-curve-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.h-curve h2 { color: #fff; margin-bottom: 32px; font-size: 56px; line-height: 1.08; max-width: none; }
.h-curve p { color: rgba(255,255,255,0.75); }
.h-curve-chart { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 32px; }
.h-curve-chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.h-curve-chart-head .eb { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-yellow); font-weight: 600; }
.h-curve-chart-head .toggles { display: flex; gap: 6px; }
.h-curve-chart-head .t { font-family: var(--font-mono); font-size: 11px; padding: 3px 9px; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; color: rgba(255,255,255,0.65); }
.h-curve-chart-head .t.on { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.h-curve-svg { width: 100%; height: 260px; }
.h-curve-legend { display: flex; gap: 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); font-family: var(--font-sans); font-size: 12px; color: rgba(255,255,255,0.6); }
.h-curve-legend .sw { display: inline-block; width: 16px; height: 2px; margin-right: 8px; vertical-align: middle; }

/* Final CTA with light surface variant */
.h-final-cta { background: var(--paper-0); }
.h-final-cta-inner { max-width: 1080px; margin: 0 auto; padding: 140px 40px; text-align: center; }
.h-final-cta h2 { font-size: 56px; margin: 0 0 22px; max-width: 18ch; margin-inline: auto; }
.h-final-cta p { max-width: 560px; margin: 0 auto 36px; }
.h-final-cta .cta-row { display: inline-flex; gap: 18px; align-items: center; }

/* ============================================================
   HOW IT WORKS page
   ============================================================ */
.w-hero { background: var(--paper-1); border-bottom: 1px solid var(--line-soft); }
.w-hero-inner { max-width: 1080px; margin: 0 auto; padding: 110px 40px 80px; }
.w-hero-inner h1 { font-family: var(--font-serif); font-size: 68px; line-height: 1.04; letter-spacing: -0.022em; font-weight: 600; margin: 22px 0 20px; color: var(--ink-1); max-width: 16ch; }
.w-hero-inner p { font-family: var(--font-serif); font-size: 24px; line-height: 1.45; color: var(--ink-2); max-width: 620px; margin: 0; }

/* Sticky-eyebrow section pattern: on the left, an eyebrow sits sticky while the content scrolls */
.w-section { background: var(--paper-0); border-bottom: 1px solid var(--line-soft); }
.w-section.alt { background: var(--paper-1); }
.w-section-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 260px 1fr; gap: 80px; align-items: start; }
.w-sticky { position: sticky; top: 120px; }
.w-sticky .eb { color: var(--brand-red); font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.w-sticky .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); margin-top: 8px; letter-spacing: 0.08em; }
.w-sticky::before { content: ''; display: block; width: 48px; height: 2px; background: var(--brand-red); margin-bottom: 18px; }
.w-content h2 { max-width: 18ch; margin: 0 0 32px; }
.w-content .lede { font-family: var(--font-serif); font-size: 22px; line-height: 1.5; color: var(--ink-2); margin: 0 0 28px; max-width: 680px; }
.w-content p { font-family: var(--font-sans); font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 680px; margin: 0 0 20px; }
.w-content .kicker { font-family: var(--font-serif); font-size: 20px; color: var(--ink-1); font-weight: 600; margin-top: 40px; margin-bottom: 14px; }

/* What You Bring — 3 deliverable cards that slide in */
.w-bring { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 36px 0 28px; }
.w-bring-card { background: var(--paper-0); border: 1px solid var(--line-soft); border-radius: 6px; padding: 24px 28px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.w-bring-card:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.w-section.alt .w-bring-card { background: var(--paper-0); }
.w-bring-card .icon { width: 44px; height: 44px; border-radius: 4px; background: var(--brand-cream); color: var(--brand-red-deep); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; font-size: 15px; }
.w-bring-card .t { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--ink-1); margin: 2px 0 6px; }
.w-bring-card .d { font-family: var(--font-sans); font-size: 15px; color: var(--ink-3); line-height: 1.55; margin: 0; }
.w-note { font-family: var(--font-serif); font-size: 20px; font-style: italic; color: var(--ink-1); padding: 20px 0 0 24px; border-left: 2px solid var(--brand-red); margin-top: 20px; }

/* Journey — horizontal track */
.w-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line-soft); position: relative; }
.w-journey::after { content: ''; position: absolute; top: -1px; left: 0; width: var(--progress, 0%); height: 2px; background: var(--brand-red); transition: width 1200ms var(--ease-out); }
.w-journey-step { padding: 28px 24px 28px 0; position: relative; }
.w-journey-step .dot { position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 999px; background: var(--paper-0); border: 2px solid var(--brand-red); }
.w-journey-step .num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); letter-spacing: 0.08em; margin-bottom: 12px; }
.w-journey-step .t { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink-1); margin-bottom: 10px; }
.w-journey-step p { font-family: var(--font-sans); font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0; }

/* Tech / People split */
.w-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 36px; }
.w-split-card { background: var(--paper-0); border: 1px solid var(--line-soft); border-radius: 6px; padding: 32px; }
.w-section.alt .w-split-card { background: var(--paper-1); }
.w-split-card .eb { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--brand-red); }
.w-split-card h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink-1); margin: 10px 0 16px; }
.w-split-card p { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; }

/* Calibration loop — circular diagram */
.w-loop { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 36px; }
.w-loop-svg { width: 100%; height: 320px; }
.w-loop-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.w-loop-list li { padding: 18px 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.w-loop-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.w-loop-list .idx { font-family: var(--font-mono); font-size: 12px; color: var(--brand-red); padding-top: 2px; }
.w-loop-list .t { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--ink-1); margin-bottom: 4px; }
.w-loop-list .d { font-family: var(--font-sans); font-size: 14px; color: var(--ink-3); line-height: 1.55; }

/* What you don't have to manage — checklist with strike */
.w-nomanage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin-top: 32px; }
.w-nomanage-item { padding: 20px 22px; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--paper-0); position: relative; }
.w-section.alt .w-nomanage-item { background: var(--paper-1); }
.w-nomanage-item .t { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--ink-1); margin-bottom: 6px; text-decoration: line-through; text-decoration-color: var(--brand-red); text-decoration-thickness: 2px; }
.w-nomanage-item .d { font-family: var(--font-sans); font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0; }

/* ============================================================
   AI PAGE
   ============================================================ */
.a-hero { background: linear-gradient(180deg, var(--ink-1) 0%, #1a1d24 100%); color: #fff; position: relative; overflow: hidden; border-bottom: 2px solid var(--brand-red); }
.a-hero::before { content: ''; position: absolute; inset: 0; background-image: url('assets/pattern-dots.svg'); opacity: 0.35; }
.a-hero-inner { max-width: 1280px; margin: 0 auto; padding: 130px 40px 140px; position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }
.a-hero h1 { font-family: var(--font-serif); font-size: 76px; line-height: 1.02; letter-spacing: -0.025em; font-weight: 600; color: #fff; margin: 20px 0 28px; max-width: 15ch; }
.a-hero h1 em { font-style: italic; color: var(--brand-yellow); font-weight: 600; }
.a-hero p { font-family: var(--font-serif); font-size: 22px; line-height: 1.45; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0; font-weight: 400; }
.a-hero .eyebrow { color: var(--brand-yellow); }

/* AI visual — transcript card */
.a-transcript { background: rgba(14,17,22,0.55); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 24px; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.a-transcript-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.a-transcript-head .t { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }
.a-transcript-head .live { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--brand-red); text-transform: uppercase; letter-spacing: 0.1em; }
.a-transcript-head .live::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--brand-red); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.a-msg { display: grid; grid-template-columns: 50px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.a-msg:last-of-type { border-bottom: 0; }
.a-msg .ts { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.4); padding-top: 2px; }
.a-msg .who { font-family: var(--font-sans); font-size: 11px; font-weight: 600; color: var(--brand-yellow); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.a-msg.cust .who { color: rgba(255,255,255,0.5); }
.a-msg .text { font-family: var(--font-sans); font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.9); }
.a-transcript-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.5); }
.a-transcript-foot .k { color: var(--brand-yellow); }

/* Big number callouts */
.a-callout { background: var(--brand-cream); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.a-callout-inner { max-width: 1280px; margin: 0 auto; padding: 100px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.a-callout-n { font-family: var(--font-serif); font-size: 132px; line-height: 0.95; font-weight: 600; color: var(--ink-1); letter-spacing: -0.028em; }
.a-callout-n span { color: var(--brand-red); }
.a-callout p { font-family: var(--font-serif); font-size: 22px; line-height: 1.45; color: var(--ink-2); margin: 0; max-width: 520px; }

/* AI page build process — timeline */
.a-build { background: var(--paper-0); border-bottom: 1px solid var(--line-soft); }
.a-build-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; }
.a-build-head { max-width: 720px; margin-bottom: 64px; }
.a-build-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.a-build-step { background: var(--paper-0); padding: 40px 32px 36px; display: flex; flex-direction: column; gap: 10px; transition: background var(--dur-base); }
.a-build-step:hover { background: var(--paper-1); }
.a-build-step .num { font-family: var(--font-mono); font-size: 12px; color: var(--brand-red); letter-spacing: 0.08em; margin-bottom: 18px; }
.a-build-step h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; margin: 0 0 16px; color: var(--ink-1); }
.a-build-step p { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--ink-3); margin: 0; }

/* Handoff diagram section */
.a-handoff { background: var(--paper-1); border-bottom: 1px solid var(--line-soft); }
.a-handoff-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.a-handoff-copy h2 { max-width: 16ch; margin-bottom: 20px; }
.a-handoff-viz { background: var(--paper-0); border: 1px solid var(--line-soft); border-radius: 10px; padding: 28px; box-shadow: var(--shadow-xs); }
.a-handoff-viz .pipe { position: relative; padding: 18px 0; }
.a-hand-node { display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; padding: 16px; border-radius: 6px; background: var(--paper-1); border: 1px solid var(--line-soft); position: relative; }
.a-hand-node + .a-hand-node { margin-top: 42px; }
.a-hand-node + .a-hand-node::before { content: ''; position: absolute; left: 41px; top: -36px; width: 2px; height: 32px; background: linear-gradient(180deg, var(--brand-red), var(--brand-red) 50%, transparent 50%, transparent); background-size: 2px 8px; }
.a-hand-node .av { width: 54px; height: 54px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; color: #fff; font-size: 13px; }
.a-hand-node.ai .av { background: var(--brand-red); }
.a-hand-node.rep .av { background: var(--ink-1); }
.a-hand-node .who { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--ink-1); }
.a-hand-node .ctx { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); margin-top: 4px; }
.a-hand-node .pill { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border: 1px solid var(--line-medium); border-radius: 999px; color: var(--ink-3); }
.a-hand-node.ai .pill { color: var(--color-success); border-color: var(--color-success); }

/* Loop card */
.a-loop { background: var(--ink-1); color: #fff; position: relative; overflow: hidden; }
.a-loop::before { content: ''; position: absolute; inset: 0; background-image: url('assets/pattern-dots.svg'); opacity: 0.3; }
.a-loop-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.a-loop h2 { color: #fff; margin-bottom: 20px; max-width: 18ch; }
.a-loop p { color: rgba(255,255,255,0.75); font-size: 17px; line-height: 1.65; }
.a-loop-ring { width: 100%; height: 360px; overflow: visible; }

/* Integrations */
.a-integ { background: var(--paper-0); border-bottom: 1px solid var(--line-soft); }
.a-integ-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; }
.a-integ-head { max-width: 720px; margin-bottom: 56px; }
.a-integ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.a-integ-card { background: var(--paper-1); border: 1px solid var(--line-soft); border-radius: 6px; padding: 26px 28px; }
.a-integ-card .cat { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-red); font-weight: 600; }
.a-integ-card h4 { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--ink-1); margin: 12px 0 8px; }
.a-integ-card p { font-family: var(--font-sans); font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0 0 14px; }
.a-integ-card .tools { display: flex; flex-wrap: wrap; gap: 6px; }
.a-integ-card .tools span { font-family: var(--font-mono); font-size: 11px; padding: 3px 10px; background: var(--paper-0); border: 1px solid var(--line-medium); border-radius: 999px; color: var(--ink-3); }

/* Security */
.a-sec { background: var(--paper-2); border-bottom: 1px solid var(--line-soft); }
.a-sec-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.a-sec-copy h2 { max-width: 18ch; margin-bottom: 20px; }
.a-sec-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.a-sec-badge { background: var(--paper-0); border: 1px solid var(--line-soft); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: start; }
.a-sec-badge .logo { width: 68px; height: 68px; margin-bottom: 4px; }
.a-sec-badge .logo svg { display: block; }
.a-sec-badge .logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.a-sec-badge .mark { width: 36px; height: 36px; border-radius: 4px; background: var(--brand-red); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.a-sec-badge .name { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink-1); }
.a-sec-badge .d { font-family: var(--font-sans); font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* Changelog card (AI improvement section) */
.a-changelog {
  background: var(--paper-0);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.a-changelog .ll-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.a-changelog .ll-title {
  font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--ink-1);
}
.a-changelog .ll-meta {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.cl-list { display: flex; flex-direction: column; gap: 0; position: relative; }
.cl-list::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line-soft);
}
.cl-entry {
  position: relative; padding: 10px 0 14px 28px;
  border-bottom: 1px dashed var(--line-soft);
}
.cl-entry:last-child { border-bottom: 0; }
.cl-entry::before {
  content: ''; position: absolute; left: 3px; top: 16px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper-0); border: 2px solid var(--ink-4);
}
.cl-entry.current::before {
  background: var(--brand-red); border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(212,28,44,0.14);
}
.cl-entry.faded { opacity: 0.62; }
.cl-ver {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--ink-1); letter-spacing: 0.02em;
  display: inline-block; margin-right: 12px;
}
.cl-entry.current .cl-ver { color: var(--brand-red); }
.cl-date {
  font-family: var(--font-sans); font-size: 11px; color: var(--ink-4);
  display: inline-block; text-transform: uppercase; letter-spacing: 0.08em;
}
.cl-body { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.cl-line {
  font-family: var(--font-sans); font-size: 12.5px; color: var(--ink-2); line-height: 1.5;
  display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: baseline;
}
.cl-line b { color: var(--ink-1); font-weight: 600; }
.cl-tag {
  font-family: var(--font-sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 6px; border-radius: 3px;
  text-align: center; justify-self: start;
}
.cl-tag.add { color: var(--color-success); background: rgba(34,122,84,0.1); }
.cl-tag.fix { color: var(--brand-red); background: rgba(212,28,44,0.08); }
.cl-tag.tune { color: var(--ink-2); background: var(--paper-2); }
.cl-summary {
  font-family: var(--font-serif); font-style: italic; font-size: 13px;
  color: var(--ink-3); grid-column: 1 / -1;
}
.a-changelog .ll-foot {
  font-family: var(--font-sans); font-size: 12px; color: var(--ink-4); line-height: 1.5;
  border-top: 1px solid var(--line-soft); padding-top: 14px;
}
.a-changelog .ll-foot b { color: var(--ink-1); font-weight: 600; }

/* Learning log card (AI improvement section) */
.a-learnlog {
  background: var(--paper-0);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 24px 24px 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.a-learnlog .ll-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.a-learnlog .ll-title {
  font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--ink-1);
}
.a-learnlog .ll-meta {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 6px;
}
.a-learnlog .ll-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(14,145,74,0.18);
  animation: a-ll-pulse 2s infinite;
}
@keyframes a-ll-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.a-learnlog .ll-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.a-learnlog .ll-stat {
  display: flex; flex-direction: column; gap: 4px;
}
.a-learnlog .ll-stat .n {
  font-family: var(--font-serif); font-size: 32px; font-weight: 600;
  color: var(--ink-1); line-height: 1; letter-spacing: -0.02em;
}
.a-learnlog .ll-stat .n span {
  font-size: 15px; color: var(--ink-4); font-weight: 500; margin-left: 1px;
}
.a-learnlog .ll-stat .n.pos { color: var(--color-success); }
.a-learnlog .ll-stat .n.pos span { color: var(--color-success); opacity: 0.7; }
.a-learnlog .ll-stat .l {
  font-family: var(--font-sans); font-size: 11px; color: var(--ink-4); line-height: 1.35;
}
.a-learnlog .ll-feed {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--paper-2); border-radius: 6px; padding: 10px 4px;
}
.a-learnlog .ll-entry {
  display: grid;
  grid-template-columns: 88px 78px 1fr;
  gap: 10px;
  padding: 8px 12px;
  align-items: baseline;
  border-radius: 4px;
}
.a-learnlog .ll-entry:hover { background: var(--paper-0); }
.a-learnlog .ll-when {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4);
  font-feature-settings: 'tnum' 1;
}
.a-learnlog .ll-tag {
  font-family: var(--font-sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px;
  background: #0E1116; color: #FCCC44;
  text-align: center; justify-self: start;
}
.a-learnlog .ll-desc {
  font-family: var(--font-sans); font-size: 12.5px; color: var(--ink-2); line-height: 1.45;
}
.a-learnlog .ll-desc b { color: var(--ink-1); font-weight: 600; }
.a-learnlog .ll-foot {
  font-family: var(--font-sans); font-size: 12px; color: var(--ink-4); line-height: 1.5;
  border-top: 1px solid var(--line-soft); padding-top: 14px;
}
.a-learnlog .ll-foot b { color: var(--ink-1); font-weight: 600; }

/* Supplement callout on AI page */
.a-suppl { background: var(--brand-cream); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.a-suppl-inner { max-width: 1080px; margin: 0 auto; padding: 100px 40px; text-align: center; }
.a-suppl h2 { margin: 0 auto 18px; max-width: 20ch; }
.a-suppl p { max-width: 640px; margin: 0 auto 28px; font-family: var(--font-serif); font-size: 20px; line-height: 1.5; color: var(--ink-2); }

/* ============================================================
   CALL STUDY section (How it works · 04/08)
   ============================================================ */
.w-study {
  margin-top: 44px;
  background: var(--paper-0);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(14,17,22,0.18);
}
.w-study-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: var(--ink-1);
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 20px; flex-wrap: wrap;
}
.w-study-toolbar .tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.w-study-toolbar .tab {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em;
  padding: 7px 12px; border-radius: 4px;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: 1px solid transparent;
}
.w-study-toolbar .tab.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.14);
}
.w-study-toolbar .chip {
  font-family: var(--font-mono); font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  padding: 5px 10px; border-radius: 4px;
  background: rgba(255,255,255,0.04);
}
.w-study-toolbar .meta { display: flex; gap: 8px; }
.w-study-toolbar .pill {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
}
.w-study-toolbar .pill.on { background: var(--brand-yellow); color: var(--ink-1); }

.w-study-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; }
.w-study-col {
  padding: 28px 32px 32px;
  border-right: 1px solid var(--line-soft);
}
.w-study-col:last-child { border-right: 0; background: var(--paper-2); }
.w-study-col .col-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px dashed var(--line-soft);
}
.w-study-col .col-head .eb {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-red);
}
.w-study-col .col-head .sub {
  font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--ink-3);
}

/* Transcript rows */
.tx-row {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.tx-row:last-child { border-bottom: 0; }
.tx-row .ts {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-4);
  padding-top: 3px;
}
.tx-row .who {
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 4px;
}
.tx-row .what {
  font-family: var(--font-serif); font-size: 16px; line-height: 1.5; color: var(--ink-1);
}

/* Activity rows — color-coded by tone */
.act-row {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 14px 14px 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.act-row:last-child { border-bottom: 0; }
.act-row::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 2px 2px 0;
  background: var(--ink-4);
}
.act-row.action::before { background: var(--brand-red); }
.act-row.warn::before { background: var(--brand-yellow-deep); }
.act-row.miss::before { background: #B02020; }
.act-row .ts {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-4);
  padding-top: 3px;
}
.act-row .app-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.act-row .app {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--ink-1); letter-spacing: 0.02em;
  padding: 2px 8px; background: rgba(14,17,22,0.06); border-radius: 3px;
}
.act-row .query {
  font-family: var(--font-sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-red);
}
.act-row .what {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.act-row.miss .what { color: #8E1A1A; font-weight: 500; }

/* Findings strip */
.w-study-findings {
  background: var(--ink-1);
  color: #fff;
  padding: 32px 40px;
}
.w-study-findings .fhead {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-yellow); margin-bottom: 20px;
}
.w-study-findings .fgrid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.w-study-findings .f-num {
  font-family: var(--font-serif); font-size: 44px; line-height: 1;
  font-weight: 600; color: var(--brand-yellow); letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.w-study-findings .f-t {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
}
.w-study-findings .f-d {
  font-family: var(--font-serif); font-size: 14.5px; line-height: 1.5;
  color: rgba(255,255,255,0.72);
}

/* Takeaway list */
.w-study-takeaway {
  margin-top: 44px;
  padding: 36px 40px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--paper-0);
}
.w-study-takeaway .ta-eb {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-red);
  margin-bottom: 22px;
}
.w-study-takeaway .ta-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px;
}
.w-study-takeaway .ta-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.w-study-takeaway .ta-list .n {
  font-family: var(--font-mono); font-size: 12px; color: var(--brand-red);
  letter-spacing: 0.05em; padding-top: 4px;
}
.w-study-takeaway .ta-list .t {
  font-family: var(--font-serif); font-size: 18px; line-height: 1.35; font-weight: 600;
  color: var(--ink-1); margin-bottom: 6px; text-wrap: balance;
}
.w-study-takeaway .ta-list .d {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.55; color: var(--ink-2);
}

/* ───────── How-It-Works floating side navigation ───────── */
.w-sidenav {
  position: fixed; left: 24px; top: 50%; transform: translate(-8px,-50%);
  z-index: 50;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  font-family: var(--font-sans);
}
.w-sidenav.is-visible { opacity: 1; pointer-events: auto; transform: translate(0,-50%); }

.w-sidenav-inner {
  position: relative;
  background: rgba(253,251,247,0.88);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(30,22,15,0.09), 0 1px 0 rgba(255,255,255,0.6) inset;
  padding: 16px 18px 14px;
  width: 248px;
  transition: width .3s ease, padding .3s ease, opacity .25s ease;
}
.w-sidenav.is-collapsed .w-sidenav-inner {
  width: 0; padding: 0; opacity: 0; pointer-events: none; overflow: hidden;
}

.w-sidenav-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.w-sidenav-head .eb {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-red);
}
.w-sidenav-head .prog {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4);
  letter-spacing: 0.06em;
}

.w-sidenav-list { list-style: none; padding: 0; margin: 0; }
.w-sidenav-list li a {
  display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: baseline;
  padding: 5px 0;
  text-decoration: none;
  color: var(--ink-3);
  position: relative;
  transition: color .15s ease, transform .15s ease;
}
.w-sidenav-list li a:hover { color: var(--ink-1); transform: translateX(2px); }
.w-sidenav-list li .n {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--ink-5); font-weight: 500;
}
.w-sidenav-list li .t {
  font-family: var(--font-serif); font-size: 13.5px; line-height: 1.35;
}
.w-sidenav-list li.is-active a { color: var(--ink-1); }
.w-sidenav-list li.is-active .n { color: var(--brand-red); font-weight: 700; }
.w-sidenav-list li.is-active a::before {
  content: ''; position: absolute; left: -18px; top: 8px;
  width: 3px; height: calc(100% - 12px);
  background: var(--brand-red); border-radius: 2px;
}

.w-sidenav-top {
  display: block; margin-top: 12px; padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-sans); font-size: 11px; color: var(--ink-4);
  text-decoration: none; letter-spacing: 0.04em;
}
.w-sidenav-top:hover { color: var(--brand-red); }

.w-sidenav-toggle {
  position: absolute;
  left: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(253,251,247,0.92);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line-soft);
  box-shadow: 0 6px 18px rgba(30,22,15,0.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; cursor: pointer; padding: 0;
  transition: transform .25s ease, left .3s ease, background .15s ease;
}
.w-sidenav-toggle:hover { background: #fff; }
.w-sidenav-toggle .bar {
  display: block; width: 13px; height: 1.5px; background: var(--ink-2); border-radius: 1px;
  transition: transform .25s ease;
}
.w-sidenav.is-collapsed .w-sidenav-toggle { left: 0; }
.w-sidenav.is-collapsed .w-sidenav-toggle .bar:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.w-sidenav.is-collapsed .w-sidenav-toggle .bar:nth-child(2) { opacity: 0; }
.w-sidenav.is-collapsed .w-sidenav-toggle .bar:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1200px) { .w-sidenav { display: none; } }

/* Anchor offset so clicked sections don't sit under the nav */
.w-section[id] { scroll-margin-top: 80px; }

/* Misc */
@media (max-width: 900px) {
  .ct-nav-links { display: none; }
  .h-hero-inner, .h-alt-inner, .h-how-grid, .h-clients-inner, .h-curve-inner, .w-section-inner, .w-split, .w-loop, .w-nomanage, .w-study-grid, .w-study-findings .fgrid, .w-study-takeaway .ta-list, .a-hero-inner, .a-handoff-inner, .a-loop-inner, .a-sec-inner, .a-callout-inner, .a-build-grid, .a-integ-grid, .h-people-grid, .h-press-list { grid-template-columns: 1fr; gap: 40px; }
  .w-journey { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   COMPANY page
   ============================================================ */
.ct-photo-hero.company .bg { background: none; }
.ct-photo-hero.company .bg-slc {
  background-image: url('assets/hero-slc-skyline.jpg');
  background-size: cover; background-position: 20% 55%;
  clip-path: polygon(0 0, 60% 0, 40% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 60% 0, 40% 100%, 0 100%);
}
.ct-photo-hero.company .bg-sf {
  background-image: url('assets/hero-sf-ggb.jpg');
  background-size: cover; background-position: 75% 45%;
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 40% 100%);
  -webkit-clip-path: polygon(60% 0, 100% 0, 100% 100%, 40% 100%);
}
.ct-photo-hero.company .scrim {
  background:
    linear-gradient(90deg, rgba(14,17,22,0.86) 0%, rgba(14,17,22,0.68) 24%, rgba(14,17,22,0.42) 46%, rgba(14,17,22,0.22) 68%, rgba(14,17,22,0.35) 100%),
    linear-gradient(180deg, rgba(14,17,22,0.48) 0%, rgba(14,17,22,0) 40%, rgba(14,17,22,0) 68%, rgba(14,17,22,0.6) 100%);
}

/* Founders grid — two cards, photo + name + title + bio + links */
.h-people { background: var(--paper-1); border-bottom: 1px solid var(--line-soft); }
.h-people-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; }
.h-people-head { max-width: 720px; margin-bottom: 56px; }
.h-people-head h2 { max-width: 20ch; }
.h-people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.h-person { background: var(--paper-0); border: 1px solid var(--line-soft); border-radius: 6px; padding: 32px; display: grid; grid-template-columns: 168px 1fr; gap: 32px; align-items: start; transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.h-person:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.h-person-photo { width: 168px; height: 168px; border-radius: 4px; overflow: hidden; background: var(--brand-cream); display: flex; align-items: center; justify-content: center; color: var(--brand-red-deep); font-family: var(--font-serif); font-size: 44px; font-weight: 600; }
.h-person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-person-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-red); margin-bottom: 10px; }
.h-person-name { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--ink-1); margin: 0 0 14px; letter-spacing: -0.01em; }
.h-person-bio { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; }
.h-person-links { display: flex; gap: 16px; font-family: var(--font-sans); font-size: 13px; font-weight: 600; }
.h-person-links a { color: var(--brand-red-deep); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color 150ms var(--ease-standard); }
.h-person-links a:hover { border-color: var(--brand-red-deep); }

/* Offices grid — mirror clients grid styling for consistency */
.h-offices { background: var(--paper-0); border-bottom: 1px solid var(--line-soft); }
.h-offices-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px; }
.h-offices-copy h2 { max-width: 18ch; }
.h-offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.h-office-cell { padding: 28px 26px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--paper-0); display: flex; flex-direction: column; gap: 10px; }
.h-office-cell .role { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-red); font-weight: 600; }
.h-office-cell .city { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink-1); }
.h-office-cell .note { font-family: var(--font-sans); font-size: 13px; color: var(--ink-3); line-height: 1.55; margin: 0; }

/* Press list — stacked items on the Company page */
.h-press { background: var(--paper-1); border-bottom: 1px solid var(--line-soft); }
.h-press-inner { max-width: 1080px; margin: 0 auto; padding: 120px 40px; }
.h-press-head { max-width: 640px; margin-bottom: 48px; }
.h-press-list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-soft); }
.h-press-item { display: grid; grid-template-columns: 180px 1fr auto; gap: 40px; align-items: baseline; padding: 28px 8px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--ink-1); transition: background var(--dur-fast) var(--ease-standard); }
.h-press-item:hover { background: var(--paper-0); }
.h-press-pub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-red); font-weight: 600; }
.h-press-headline { font-family: var(--font-serif); font-size: 20px; font-weight: 500; color: var(--ink-1); line-height: 1.35; margin: 0; }
.h-press-arrow { font-family: var(--font-sans); font-size: 14px; color: var(--ink-4); }
.h-press-item:hover .h-press-arrow { color: var(--brand-red); }

/* ============================================================
   COMPANY page — refreshed sections (team wall, photo offices, news)
   ============================================================ */

.c-simple-sec { background: var(--paper-0); border-bottom: 1px solid var(--line-soft); }
.c-simple-sec-alt { background: var(--paper-1); }
.c-simple-inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; }
.c-simple-h {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink-1); margin: 0;
}
.c-simple-sub {
  font-family: var(--font-serif); font-style: italic; font-size: 22px;
  color: var(--ink-3); margin: 14px 0 0;
}

/* Team wall — square portrait grid */
.c-wall {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.c-wall-tile { display: flex; flex-direction: column; }
.c-wall-photo {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  overflow: hidden; background: var(--ink-1);
}
.c-wall-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; transition: filter var(--dur-fast) var(--ease-standard); transform-origin: 50% 50%; }
/* per-tile vertical anchor (where in the source to crop) */
.c-wall-tile[data-pos="top"] .c-wall-photo img { object-position: 50% 0%; }
.c-wall-tile[data-pos="mid"] .c-wall-photo img { object-position: 50% 50%; }
.c-wall-tile[data-pos="low"] .c-wall-photo img { object-position: 50% 65%; }
/* per-tile zoom-in (only zoom in, never out — would leave margins) */
.c-wall-tile[data-z="08"] .c-wall-photo img { transform: scale(1.08); }
.c-wall-tile[data-z="10"] .c-wall-photo img { transform: scale(1.10); }
.c-wall-tile[data-z="15"] .c-wall-photo img { transform: scale(1.15); }
.c-wall-tile[data-z="20"] .c-wall-photo img { transform: scale(1.20); }
.c-wall-tile[data-z="25"] .c-wall-photo img { transform: scale(1.25); }
/* per-tile transform-origin (anchor of the zoom) — useful when you want to crop top whitespace away */
.c-wall-tile[data-anchor="bot"] .c-wall-photo img { transform-origin: 50% 100%; }
.c-wall-tile[data-anchor="top"] .c-wall-photo img { transform-origin: 50% 0%; }
/* "contain" mode for tiles where the head is too big and we need the full natural framing */
.c-wall-tile[data-fit="contain"] .c-wall-photo { background: #f5f5f4; }
.c-wall-tile[data-fit="contain"] .c-wall-photo img { object-fit: contain; }
.c-wall-tile[data-fit="contain"] .c-wall-photo::after { display: none; }
.c-wall-photo .initial {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--brand-cream); color: var(--brand-red-deep);
  font-family: var(--font-serif); font-size: 56px; font-weight: 600;
}
.c-wall-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 -60px 80px -40px rgba(14,17,22,0.55);
}
.c-wall-tile:hover .c-wall-photo img { filter: brightness(1.05); }
.c-wall-name {
  font-family: var(--font-serif); font-size: 16px; font-weight: 500;
  color: var(--ink-1); margin-top: 12px; letter-spacing: -0.01em;
}
.c-wall-role {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 4px;
}
.c-wall-more {
  display: flex; align-items: flex-end; justify-content: center;
  background: transparent; padding: 0 4px 4px;
  text-align: center;
}
.c-wall-more-n {
  font-family: var(--font-serif); font-style: italic; font-size: 14px;
  color: var(--ink-3); letter-spacing: -0.01em; line-height: 1.4;
}
.c-wall-more-link {
  font-family: var(--font-serif); font-style: italic; font-size: 14px;
  color: var(--brand-red); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.c-wall-more-link:hover { color: var(--brand-red-ink); }
.c-wall-tile-more .c-wall-photo::after { display: none; }
.c-wall-coda {
  margin: 56px 0 0; font-family: var(--font-serif); font-style: italic;
  font-size: 22px; line-height: 1.4; color: var(--ink-3);
  letter-spacing: -0.005em;
}
.c-wall-coda-link {
  font-style: normal; font-family: var(--font-sans); font-size: 14px;
  font-weight: 600; color: var(--brand-red); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  margin-left: 4px; letter-spacing: 0;
}
.c-wall-coda-link:hover { color: var(--brand-red-ink); }

/* Offices — paired photo cards */
.c-offices-pair {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.c-office-card { display: flex; flex-direction: column; gap: 18px; }
.c-office-photo {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; background: var(--ink-1);
}
.c-office-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.c-office-eb {
  font-family: var(--font-serif); font-size: 28px; font-weight: 500;
  color: var(--ink-1); letter-spacing: -0.018em;
}
.c-office-addr {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 6px;
}

/* News — stacked items with mono tag */
.c-news { list-style: none; padding: 0; margin: 56px 0 0; border-top: 1px solid var(--line-soft); }
.c-news-item {
  display: grid; grid-template-columns: 200px 1fr 40px;
  gap: 32px; align-items: center; padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none; color: inherit;
  transition: background var(--dur-fast);
}
.c-news-item:hover { background: var(--paper-1); }
.c-news-item:hover .c-news-arrow { transform: translateX(6px); color: var(--brand-red); }
.c-news-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand-red); font-weight: 600;
  padding-left: 4px;
}
.c-news-t {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.35;
  color: var(--ink-1); font-weight: 500;
}
.c-news-arrow {
  font-family: var(--font-serif); font-size: 22px; color: var(--ink-3);
  text-align: right; padding-right: 4px;
  transition: transform var(--dur-fast), color var(--dur-fast);
}

/* ============================================================
   HOME page — Problem-section landscape photo (replaces rep carousel)
   ============================================================ */
.h-alt-photo { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(20,16,12,0.35); aspect-ratio: 4/5; background: var(--paper-2); }
.h-alt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.h-alt-photo-cap { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 14px 16px; background: rgba(20,16,12,0.78); color: #fff; backdrop-filter: blur(6px); border-radius: 10px; }
.h-alt-photo-cap .eb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-yellow); margin-bottom: 4px; }
.h-alt-photo-cap .t { font-family: var(--font-serif); font-size: 16px; line-height: 1.4; color: #fff; }

/* ============================================================
   LEGAL — Privacy / Terms long-form pages
   ============================================================ */
.lg-hero { background: var(--paper-1); border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.lg-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212,28,44,0.06), rgba(212,28,44,0) 70%); pointer-events: none; }
.lg-hero-inner { max-width: 1080px; margin: 0 auto; padding: 130px 40px 72px; position: relative; }
.lg-hero-inner h1 { font-family: var(--font-serif); font-size: 68px; line-height: 1.04; letter-spacing: -0.022em; font-weight: 600; margin: 22px 0 20px; color: var(--ink-1); max-width: 16ch; }
.lg-hero-inner .lede { font-family: var(--font-serif); font-size: 22px; line-height: 1.5; color: var(--ink-2); max-width: 720px; margin: 0 0 14px; font-weight: 400; }
.lg-hero-inner .lg-sublede { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 720px; margin: 0 0 36px; }
.lg-meta { display: inline-flex; gap: 14px; align-items: baseline; padding: 12px 18px; background: var(--paper-0); border: 1px solid var(--line-soft); border-radius: 4px; box-shadow: var(--shadow-xs); }
.lg-meta .k { font-family: var(--font-mono); font-weight: 600; color: var(--brand-red); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }
.lg-meta .v { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); }

.lg-body { background: var(--paper-0); border-bottom: 1px solid var(--line-soft); }
.lg-body-inner { max-width: 1280px; margin: 0 auto; padding: 96px 40px 140px; display: grid; grid-template-columns: 260px 1fr; gap: 80px; align-items: start; }

.lg-toc { position: sticky; top: 120px; }
.lg-toc::before { content: ''; display: block; width: 48px; height: 2px; background: var(--brand-red); margin-bottom: 18px; }
.lg-toc .eb { color: var(--brand-red); font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; display: block; }
.lg-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: lg-toc; }
.lg-toc li { counter-increment: lg-toc; border-top: 1px solid var(--line-soft); }
.lg-toc li:last-child { border-bottom: 1px solid var(--line-soft); }
.lg-toc a { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 2px; font-family: var(--font-sans); font-size: 13px; color: var(--ink-3); text-decoration: none; line-height: 1.45; transition: color var(--dur-fast) var(--ease-standard); }
.lg-toc a::before { content: counter(lg-toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--ink-5); padding-top: 1px; }
.lg-toc a:hover { color: var(--brand-red-deep); }
.lg-toc a:hover::before { color: var(--brand-red); }

.lg-article { max-width: 760px; }
.lg-article > section { padding: 40px 0 12px; border-top: 1px solid var(--line-soft); scroll-margin-top: 100px; }
.lg-article > section:first-child { padding-top: 0; border-top: 0; }
.lg-article .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--brand-red); font-weight: 600; margin: 0 0 12px; text-transform: uppercase; }
.lg-article h2 { font-family: var(--font-serif); font-size: 30px; line-height: 1.2; letter-spacing: -0.014em; font-weight: 600; color: var(--ink-1); margin: 0 0 18px; }
.lg-article h3 { font-family: var(--font-serif); font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--ink-1); margin: 28px 0 10px; }
.lg-article p { font-family: var(--font-sans); font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 18px; }
.lg-article ul { list-style: none; padding: 0; margin: 14px 0 22px; display: flex; flex-direction: column; gap: 12px; }
.lg-article li { font-family: var(--font-sans); font-size: 16px; line-height: 1.65; color: var(--ink-2); padding-left: 22px; position: relative; }
.lg-article li::before { content: ''; position: absolute; left: 0; top: 12px; width: 10px; height: 1px; background: var(--brand-red); }
.lg-article li strong { color: var(--ink-1); font-weight: 600; }
.lg-article a { color: var(--brand-red-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lg-article a:hover { color: var(--brand-red); }
.lg-article .lg-callout { border-left: 2px solid var(--brand-red); padding: 6px 0 6px 22px; margin: 26px 0; font-family: var(--font-serif); font-size: 19px; line-height: 1.5; color: var(--ink-1); font-style: italic; }
.lg-article address { font-style: normal; font-family: var(--font-sans); font-size: 16px; line-height: 1.7; color: var(--ink-2); padding: 22px 26px; background: var(--paper-1); border: 1px solid var(--line-soft); border-radius: 6px; margin: 14px 0 6px; }
.lg-article address strong { color: var(--ink-1); font-weight: 600; display: block; margin-bottom: 4px; }

@media (max-width: 980px) {
  .lg-body-inner { grid-template-columns: 1fr; gap: 40px; }
  .lg-toc { position: static; }
}

/* ============================================================
   MOBILE / TABLET RESPONSIVE
   ============================================================ */

/* Tablet and below — collapse multi-column layouts */
@media (max-width: 768px) {
  /* --- Containers / wraps --- */
  .ct-wrap, .ct-wrap-narrow { padding: 0 20px; }

  /* --- Nav (floating pill becomes a rounded panel when open) --- */
  .ct-nav { top: 12px; width: calc(100% - 20px); }
  .ct-nav-inner { padding: 8px 8px 8px 16px; gap: 12px; }
  .ct-nav-brand img { height: 22px; }
  .ct-nav-cta { gap: 4px; }
  .ct-nav-cta .ct-btn { padding: 8px 14px; font-size: 13px; }
  .ct-nav-burger { display: inline-flex; }
  .ct-nav.is-open { border-radius: 22px; }
  .ct-nav.is-open .ct-nav-drawer { display: flex; }

  /* --- Buttons --- */
  .ct-btn-lg { padding: 12px 18px; font-size: 14px; }

  /* --- Type scale --- */
  .ct-display-xl { font-size: 40px; line-height: 1.08; }
  .ct-display { font-size: 34px; line-height: 1.1; }
  .ct-h2 { font-size: 26px; line-height: 1.2; }
  .ct-h3 { font-size: 19px; }
  .ct-h4 { font-size: 17px; }
  .ct-lede { font-size: 17px; line-height: 1.5; }
  .ct-body-l { font-size: 15.5px; line-height: 1.55; }
  /* Big pull-quote (people page testimonial) — was rendering 40px and
     filling the entire mobile viewport. */
  .h-quote-inner { padding: 56px 20px; }
  .h-quote-mark { font-size: 96px; left: 12px; top: 32px; }
  .h-quote-text { font-size: 22px; line-height: 1.35; margin-bottom: 22px; }

  /* --- Photo hero (covers all variants: default, compact, ai, company) --- */
  .ct-photo-hero,
  .ct-photo-hero.compact,
  .ct-photo-hero.ai,
  .ct-photo-hero.company { height: auto; min-height: auto; }
  .ct-photo-hero .hero-inner,
  .ct-photo-hero .hero-inner-solo,
  .ct-photo-hero.compact .hero-inner,
  .ct-photo-hero.ai .hero-inner { padding: 110px 20px 56px; gap: 36px; }
  .ct-photo-hero .hero-body { min-height: 0; max-width: 100%; }
  .ct-photo-hero h1,
  .ct-photo-hero.compact h1 { font-size: 36px; line-height: 1.08; max-width: none; margin: 0 0 18px; }
  .ct-photo-hero .lede { font-size: 16px; line-height: 1.5; margin: 0 0 24px; }
  .ct-photo-hero .hero-cta { flex-wrap: wrap; gap: 14px; }
  .ct-photo-hero .hero-cta .ct-btn-lg { padding: 12px 18px; font-size: 14px; }
  .ct-photo-hero .scrim {
    background:
      linear-gradient(180deg, rgba(14,17,22,0.6) 0%, rgba(14,17,22,0.35) 30%, rgba(14,17,22,0.65) 100%);
  }
  .ct-photo-hero .eyebrow-dark { font-size: 10px; }
  /* a-hero (AI page secondary hero) */
  .a-hero-inner { padding: 80px 20px 80px; grid-template-columns: 1fr; gap: 32px; }
  .a-hero h1 { font-size: 40px; max-width: none; margin: 16px 0 22px; }
  .a-hero p { font-size: 17px; max-width: none; }

  /* --- CTA band --- */
  .ct-cta-inner { flex-direction: column; align-items: flex-start; padding: 56px 20px; gap: 24px; }

  /* --- Footer --- */
  .ct-footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 20px 24px; }
  .ct-footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ct-footer-fine { flex-direction: column; gap: 8px; padding: 18px 20px; }

  /* --- Home page --- */
  .h-alt-inner { padding: 64px 20px; gap: 32px; }
  .h-how-inner { padding: 64px 20px; }
  .h-how-head { margin-bottom: 36px; }
  .h-how-grid { grid-template-columns: 1fr; gap: 20px; }
  .h-how-card { padding: 28px 24px 24px; }
  .h-how-cta { margin-top: 36px; }
  .h-clients-inner { padding: 64px 20px; grid-template-columns: 1fr; gap: 28px; }
  .h-clients-wall { grid-template-columns: 1fr 1fr; gap: 0; }
  .h-client-logo { padding: 24px 16px; min-height: 110px; }
  .h-client-logo img { max-height: 56px; }
  .h-client-more { font-size: 16px; }
  .h-curve-inner { padding: 64px 20px; gap: 32px; }
  .h-curve-chart { padding: 20px; }
  .h-final-cta-inner { padding: 64px 20px; }
  .h-final-cta-inner h2 { font-size: 36px !important; }

  /* Stack pattern for split sections */
  .h-alt-inner.reverse, .h-alt-inner { grid-template-columns: 1fr; }
  /* On mobile, restore natural reading order: copy first, supporting visual after.
     The desktop `.reverse` order: -1 swap makes sense in a 2-col layout but loses
     context when stacked (cards appear before the explanation that frames them). */
  .h-alt-inner.reverse .h-alt-visual { order: 0; }
  .h-alt-photo img { aspect-ratio: 4/3; object-fit: cover; }

  /* --- How-it-works page --- */
  .w-section-inner { padding: 56px 20px; grid-template-columns: 1fr; gap: 24px; }
  .w-sticky { position: static; }
  .w-content h3 { font-size: 22px; }
  .w-journey { grid-template-columns: 1fr; }
  .w-loop, .w-split, .w-nomanage { grid-template-columns: 1fr; gap: 24px; }
  .w-study-grid, .w-study-findings .fgrid, .w-study-takeaway .ta-list { grid-template-columns: 1fr; gap: 20px; }

  /* --- AI page --- */
  .a-build-inner, .a-handoff-inner, .a-loop-inner, .a-sec-inner, .a-callout-inner, .a-integ-inner { padding: 64px 20px; }
  .a-build-grid, .a-integ-grid { grid-template-columns: 1fr; gap: 20px; }
  .a-handoff-inner, .a-loop-inner, .a-sec-inner { grid-template-columns: 1fr; gap: 32px; }
  .a-sec-badges { grid-template-columns: 1fr 1fr; gap: 14px; }
  .a-build-step, .a-integ-card { padding: 24px; }
  /* Handoff card — keep it inside the viewport */
  .a-handoff-viz { padding: 18px; }
  .a-hand-node { grid-template-columns: 40px 1fr; gap: 12px; padding: 14px; }
  .a-hand-node .av { width: 40px; height: 40px; }
  .a-hand-node .pill { grid-column: 1 / -1; justify-self: start; }
  .a-hand-node .ctx { word-break: break-word; }
  /* Loop ring SVG — labels overflow on small screens, hide; prose carries the idea */
  .a-loop-ring { display: none; }
  /* Continuous (changelog) and Supplement & SeeIt sections common */
  .a-callout-inner, .a-changelog-inner, .a-supp-inner, .a-seeit-inner { padding: 64px 20px; }

  /* --- People page ---
     Replace the multi-row grid with a horizontal scroll rail on mobile.
     Founders (Kun + Robertson) are first, so they're visible before any
     scrolling — the rest of the team is a swipeable row. Saves a lot of
     vertical space. Tiles stay full-color portrait squares. */
  .c-simple-sec { overflow: hidden; }
  .c-simple-inner { padding: 56px 0 64px; }
  .c-simple-inner > .reveal:first-child,
  .c-simple-inner > .c-simple-sub { padding: 0 20px; }
  .c-wall {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    margin-top: 32px;
    padding: 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .c-wall::-webkit-scrollbar { display: none; }
  .c-wall-tile {
    flex: 0 0 150px;
    width: 150px;
    aspect-ratio: auto;
    scroll-snap-align: start;
  }
  .c-wall-photo { aspect-ratio: 1 / 1; }
  .c-wall-name { font-size: 13px; margin-top: 8px; }
  .c-wall-role { font-size: 10px; letter-spacing: 0.08em; }
  /* Hint that there's more to scroll: trailing gap on the rail */
  .c-wall::after {
    content: '';
    flex: 0 0 8px;
  }

  /* In-the-news list (people page) — stack each item vertically on mobile */
  .c-news { margin-top: 32px; }
  .c-news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 4px;
  }
  .c-news-arrow { display: none; }
  .c-news-t { font-size: 17px; }

  /* --- Legal pages --- */
  .lg-hero-inner { padding: 100px 20px 40px; }
  .lg-hero h1 { font-size: 36px; }
  .lg-body-inner { padding: 40px 20px 80px; gap: 32px; }
  .lg-article h2 { font-size: 22px; }
}

/* Small phones — extra trims */
@media (max-width: 480px) {
  .ct-photo-hero h1 { font-size: 32px; }
  .ct-photo-hero .lede { font-size: 15.5px; }
  .ct-h2 { font-size: 24px; }
  .h-quote-text { font-size: 20px; }
  .h-final-cta-inner h2 { font-size: 30px !important; }
  .ct-footer-cols { grid-template-columns: 1fr; }
  .a-sec-badges { grid-template-columns: 1fr; }
  /* Tighten the team scroll rail on small phones */
  .c-wall-tile { flex: 0 0 140px; width: 140px; }
}
