/* ============================================================
   LOGICAL BOOST — V2 "The Compounding Machine"
   Motion-driven redesign. Brand tokens carried over verbatim.
   ============================================================ */

:root {
  --bg: #0a0d0c;
  --bg-elev: #111614;
  --bg-card: #151a18;
  --ink: #f0ebe1;
  --ink-mute: #d4d4cf;
  --ink-dim: #b8b8b0;
  --line: #1f2522;
  --line-bright: #2d3530;
  --accent: #10b981;
  --accent-bright: #34d399;
  --accent-warm: #ff7a45;
  --accent-deep: #1a3a2a;
  --bad: #ef4444;
  --bad-dim: #dc2626;
  --gray-line: #c0c0c0;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter Tight', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1320px;
  --pad: clamp(16px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

::selection { background: var(--accent); color: #061008; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  /* JS-failure bail-out: never trap the user behind the overlay */
  animation: preloader-bail 0.6s ease 3s forwards;
}
@keyframes preloader-bail { to { opacity: 0; visibility: hidden; } }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.preloader-logo { height: 34px; width: auto; opacity: 0.9; }
.preloader-bar {
  width: 180px; height: 1px;
  background: var(--line-bright);
  overflow: hidden;
  position: relative;
}
.preloader-fill {
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: left;
}

/* ============ ATMOSPHERE ============ */
.atmo-grid {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 110% 90% at 50% 40%, black 50%, transparent 100%);
          mask-image: radial-gradient(ellipse 110% 90% at 50% 40%, black 50%, transparent 100%);
}
.atmo-orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(70px);
  will-change: transform;
}
.atmo-orb--a {
  top: -14vh; left: -8vw;
  width: 48vw; height: 48vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.04) 55%, transparent 75%);
  animation: orb-a 26s ease-in-out infinite alternate;
}
.atmo-orb--b {
  right: -12vw; bottom: 8vh;
  width: 42vw; height: 42vw;
  max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.14) 0%, rgba(16, 185, 129, 0.03) 55%, transparent 75%);
  animation: orb-b 32s ease-in-out infinite alternate;
}
@keyframes orb-a { to { transform: translate(12vw, 10vh) scale(1.12); } }
@keyframes orb-b { to { transform: translate(-10vw, -8vh) scale(1.1); } }
.atmo-noise {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.06  0 0 0 0 0.72  0 0 0 0 0.50  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

main { position: relative; z-index: 2; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  background: rgba(10, 13, 12, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
          backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 30px; width: auto; display: block; }
.logo-img--foot { height: 26px; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-link {
  font-size: 15px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--accent); }
.nav-cta {
  display: inline-flex;
  align-items: baseline;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  color: var(--ink); text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #061008; }
.nav-cta-dot { color: var(--accent); margin-left: 1px; }
.nav-cta:hover .nav-cta-dot { color: #061008; }
@media (max-width: 600px) {
  .nav-actions { gap: 12px; }
  .nav-link { font-size: 14px; }
  .nav-cta { padding: 8px 14px; font-size: 14px; }
  .logo-img { height: 26px; }
  /* Not enough room for Results in the sticky header on phones; it stays
     available in every in-page CTA section and the hero. */
  .nav-link--results { display: none; }
}

/* ============ TYPOGRAPHY ============ */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 1000px;
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.h2 em { font-style: normal; color: var(--accent); }
/* Serif-italic glyphs collide under the roman tracking; give them air. */
.h2 em, .h1-line em, .case-headline em, .feat-head em { letter-spacing: 0.012em; }
/* Italics are killed site-wide — this serif's italic degrades badly. Accent
   <em> stays upright, distinguished by color only. */
.h2 em, .h1-line em, .case-headline em, .feat-head em, .tier-desc em,
.tf-step-hero em, .case-break-line em, .fm-title em, .cta-kicker { font-style: normal; }
.h2--center { margin-left: auto; margin-right: auto; text-align: center; }

/* kinetic split lines: each [data-kinetic] gets word masks injected by JS */
[data-kinetic] .kw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* room for deep serif-italic descenders (g/y/p/j) inside the reveal mask —
     0.12em clipped them. Negative margin cancels it for layout, so line
     spacing is unchanged; only the visible mask extends downward. */
  padding-bottom: 0.34em;
  margin-bottom: -0.34em;
}
[data-kinetic] .kw > span {
  display: inline-block;
  will-change: transform;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 28px;
}
.section-label .num { color: var(--accent); }
.section-label--center { justify-content: center; }
.label-rule {
  display: inline-block;
  width: 44px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section-label--center .label-rule { background: linear-gradient(90deg, transparent, var(--accent), transparent); }

.section-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 720px;
  margin: 0 0 clamp(40px, 5vw, 64px);
}

section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }

/* Ghost numerals */
.ghost-num {
  position: absolute;
  top: 4%; right: -1%;
  font-family: var(--serif);
  font-size: clamp(200px, 34vw, 520px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 185, 129, 0.10);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.ghost-num--dia { font-size: clamp(160px, 26vw, 400px); }
section > .container { position: relative; z-index: 1; }

/* ============ CTA PAIR ============ */
.cta-pair {
  display: flex;
  gap: 14px;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
  margin: clamp(48px, 6vw, 80px) auto 0;
}
.cta-pair--hero { justify-content: flex-start; margin: 40px 0 0; }
.cta-pair--center { justify-content: center; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
}
.cta-btn > * { position: relative; z-index: 2; }
.cta-primary {
  background: var(--accent);
  color: #061008;
  border: 1.5px solid var(--accent);
  flex-direction: column;
  gap: 2px;
  padding: 16px 34px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 6px 18px rgba(16,185,129,0.28);
}
.cta-primary:hover {
  background: var(--accent-bright);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 16px 40px rgba(16,185,129,0.4);
}
.cta-primary--xl { padding: 20px 44px; }
.cta-kicker {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  opacity: 0.72;
}
.cta-main {
  font-weight: 800;
  font-size: clamp(18px, 2vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.cta-primary--xl .cta-main { font-size: clamp(22px, 2.4vw, 28px); }
.cta-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  font-size: 16px;
  padding: 18px 30px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.cta-ghost:hover { border-color: var(--accent); color: var(--accent); }
/* sheen sweep on primary */
.cta-primary::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 50%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 70%, transparent 100%);
  transform: skewX(-18deg);
  animation: sheen 5s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes sheen { 0% { left: -75%; } 55% { left: 125%; } 100% { left: 125%; } }
@media (max-width: 420px) {
  .cta-pair { flex-direction: column; align-items: stretch; }
  .cta-btn { width: 100%; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 20%; right: -20%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 10.5vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.h1-line { display: block; }
.h1-line em { font-style: normal; color: var(--accent); }
.hero-formula {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 34px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line-bright);
  max-width: 760px;
}
.f-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.f-op--ghost { visibility: hidden; }
.f-term {
  font-family: var(--mono);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.05em;
  padding: 12px 22px;
  border: 1px solid var(--line-bright);
  background: rgba(255,255,255,0.04);
  text-transform: uppercase;
  line-height: 1.4;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 8px rgba(0,0,0,0.3);
}
.f-op { font-family: var(--mono); font-size: 22px; color: var(--ink-dim); }
@media (max-width: 480px) {
  .f-term { font-size: 13px; padding: 11px 18px; letter-spacing: 0.04em; }
}
.f-result {
  color: var(--accent);
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.08);
  animation: result-pulse 3.2s ease-in-out infinite;
}
@keyframes result-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.0); }
  50% { box-shadow: 0 0 24px 0 rgba(16, 185, 129, 0.25); }
}
.hero-sub {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 560px;
}
.hero-geo {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.hero-geo-mask { overflow: hidden; }
.hero-geo-img {
  width: 100%;
  max-width: 430px;
  height: auto;
  aspect-ratio: 819 / 955;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 900px) {
  .hero { padding-top: 96px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-geo { margin-top: 12px; }
  .hero-geo-img { max-width: 280px; }
}

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: rgba(17, 22, 20, 0.5);
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(20px, 2.6vw, 34px);
  color: var(--ink-dim);
  white-space: nowrap;
  padding-right: 0.4em;
}

/* ============ 01 PROBLEM ============ */
/* ============ PLATFORM BAR (top trust strip) ============ */
.platform-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 22, 20, 0.6), rgba(10, 13, 12, 0.6));
}
.platform-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.platform-bar-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.platform-bar-logos { display: flex; align-items: center; gap: 12px; }
.platform-tile {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background: #000;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.platform-tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.platform-tile svg { width: 20px; height: 20px; flex-shrink: 0; }
.platform-tile-name { font-size: 13px; font-weight: 600; color: var(--ink-dim); white-space: nowrap; }
@media (max-width: 720px) {
  .platform-bar-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .platform-bar-logos { flex-wrap: wrap; gap: 10px; }
  .platform-tile { padding: 8px 12px; }
}

/* ============ 03 THE SYSTEM — three feature sections ============ */
.feats { position: relative; }
.feat { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.feat--alt { background: linear-gradient(180deg, rgba(17, 22, 20, 0.55), rgba(10, 13, 12, 0.2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Performance Creative is the flagship pillar — bigger type, emerald glow */
.feat--hero {
  background:
    radial-gradient(ellipse 75% 65% at 18% 30%, rgba(16, 185, 129, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(12, 22, 18, 0.55), rgba(10, 13, 12, 0.2));
  border-top: 1px solid rgba(16, 185, 129, 0.3);
}
.feat--hero .feat-head { font-size: clamp(34px, 4.8vw, 62px); }
.feat--hero .feat-head em { color: var(--accent-bright); }
.feat--hero .feat-sub { font-size: clamp(18px, 2vw, 24px); }
.feat--accent {
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(16, 185, 129, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(12, 22, 18, 0.85), rgba(9, 15, 13, 0.9));
  border-top: 1px solid rgba(16, 185, 129, 0.28);
  border-bottom: 1px solid rgba(16, 185, 129, 0.28);
}
.feat-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}
.feat-inner--rev .feat-copy { order: 2; }
.feat-inner--rev .feat-media { order: 1; }
.feat-copy { min-width: 0; }
.feat-eyebrow {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 16px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-bright);
}
.feat-eyebrow-rule { display: inline-block; width: 22px; height: 2px; background: var(--accent); margin-right: 12px; }
.feat-head {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}
.feat-head em { font-family: var(--serif); font-style: normal; font-weight: 400; color: var(--ink); }
.feat--accent .feat-head em { color: var(--accent-bright); }
.feat-sub {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 16px;
}
.feat-body { font-size: 16px; line-height: 1.65; color: var(--ink-dim); max-width: 46ch; }
.feat-media { min-width: 0; }
.feat-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line-bright);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

/* Creative wall — industry tabs + per-industry audience avatars on ad mockups */
.creative-wall {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line-bright);
  background: linear-gradient(180deg, rgba(18, 23, 21, 0.9), rgba(11, 15, 14, 0.92));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.cw-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cw-tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: transparent;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.cw-tab:hover { color: var(--ink); border-color: rgba(16, 185, 129, 0.5); }
.cw-tab.is-active {
  color: #061008;
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  font-weight: 700;
}
.cw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cw-cta { transition: opacity 0.25s; }
.cw-grid.is-switching .cw-cta { opacity: 0; }
.cw-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  border-radius: 9px;
  background: #0d1211;
  border: 1px solid var(--line);
}
.cw-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 40%, #05100c));
}
.cw-bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); width: 100%; }
.cw-bar--head { height: 7px; width: 78%; background: rgba(255, 255, 255, 0.34); }
.cw-cta {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
}
.cw-count {
  align-self: center;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--bg);
  background: var(--accent-bright);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}

/* Signal flow — data sources → we train → ad platform algorithms → result */
.signal-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 24px;
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.9), rgba(9, 15, 13, 0.92));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.sf-sources { display: flex; gap: 10px; width: 100%; }
.sf-tile {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 14px 8px;
  border-radius: 10px;
  background: #000;
  border: 1px solid var(--line-bright);
  white-space: nowrap;
}
.sf-arrow { position: relative; width: 2px; height: 30px; background: linear-gradient(180deg, var(--accent), rgba(16, 185, 129, 0.2)); }
.sf-arrow::after { content: ""; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--accent); }
.sf-arrow-label { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.sf-engine {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.42);
}
.sf-engine-label { font-weight: 700; font-size: 16px; color: var(--ink); }
.sf-engine-logos { display: flex; gap: 22px; align-items: center; }
.sf-engine-logos svg { width: 24px; height: 24px; }
.sf-result {
  width: 100%;
  text-align: center;
  padding: 16px 14px;
  border-radius: 12px;
  background: var(--accent-bright);
  color: #061008;
}
.sf-result-main { display: block; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.sf-result-metrics { display: block; font-family: var(--mono); font-size: 11.5px; margin-top: 4px; color: rgba(6, 16, 8, 0.82); }
.sf-result-metrics b { font-weight: 700; }

@media (max-width: 900px) {
  .feat-inner { grid-template-columns: 1fr; gap: 32px; }
  .feat-inner--rev .feat-copy { order: 1; }
  .feat-inner--rev .feat-media { order: 2; }
  .feat-body { max-width: none; }
}
@media (max-width: 440px) {
  .cw-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-sources { flex-direction: column; }
  .sf-tile { white-space: normal; }
}

/* ============ 01 GROWTH LOOP — qualifying-funnel cascade ============ */
.growth {
  position: relative;
  padding: clamp(70px, 10vw, 130px) 0 clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(16, 185, 129, 0.07), transparent 70%),
    var(--bg);
}
.growth .section-label { justify-content: center; }
.growth-sub {
  max-width: 620px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
  color: var(--ink-dim);
}

/* ---- Growth Cycle: one industry example + 4-step ad→page→signal→leads ---- */
.cycle {
  max-width: 1080px;
  margin: 0 auto;
}
.cycle-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(24px, 3.5vw, 36px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cycle-tag-icon { font-size: 14px; }

/* Orbit widget — circular audience visual + SVG ring with an orbiting dot
   and 4 frosted badges at N/E/S/W (own build; geometry only, own colors). */
.orbit {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-arc {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.5;
  stroke-width: 2.5;
  stroke-linecap: round;
  color: var(--accent);
  transition: stroke 0.4s;
}
.orbit-dot {
  fill: var(--accent-bright);
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.75));
}
.orbit-photo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 70%; height: 70%;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: radial-gradient(ellipse at 35% 30%, color-mix(in srgb, var(--oc) 55%, #0a0d0c), #05100c 72%);
}
.orbit-photo-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(64px, 13vw, 108px);
  opacity: 0.5;
  filter: saturate(0.7);
  transition: opacity 0.3s;
}
.orbit.is-switching .orbit-photo-icon,
.orbit.is-switching .orbit-photo-audience { opacity: 0; }
.orbit-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.4));
}
.orbit-photo-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 17%;
  text-align: center;
}
.orbit-photo-kicker {
  font-family: var(--mono);
  font-size: clamp(8px, 1.4vw, 11px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.orbit-photo-audience {
  margin-top: 6px;
  font-size: clamp(15px, 2.6vw, 24px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s;
}
.orbit-badge {
  position: absolute;
  top: var(--pos-top);
  left: var(--pos-left);
  transform: translate(-50%, -50%);
  width: 23%; height: 23%;
  min-width: 64px; min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(10, 13, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.orbit-badge-num {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--accent-bright);
  color: #061008;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.orbit-badge-label {
  padding: 0 6px;
  text-align: center;
  font-size: clamp(9px, 1.6vw, 12px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.orbit-steps {
  max-width: 720px;
  margin: clamp(36px, 5vw, 52px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.orbit-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-bright);
  background: linear-gradient(180deg, rgba(18, 23, 21, 0.85), rgba(11, 15, 14, 0.9));
}
.orbit-step-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}
.orbit-step-title { font-weight: 700; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.orbit-step-desc { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--ink-mute); }

@media (max-width: 640px) {
  .orbit-steps { grid-template-columns: 1fr; }
  .orbit-badge-label { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-dot { display: none; }
}

/* ============ 04 AUDIENCE TARGETING ============ */
.bf { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bf-tabs {
  position: relative;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: rgba(10, 13, 12, 0.7);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  margin-bottom: 34px;
}
.bf-tab {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  background: transparent;
  border: none;
  color: var(--ink-mute);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap;
}
.bf-tab.is-active { color: #061008; }
.bf-tab-glider {
  position: absolute;
  top: 6px; bottom: 6px;
  left: 0;
  background: var(--accent);
  border-radius: 999px;
  z-index: 0;
  transition: left 0.45s var(--ease-out), width 0.45s var(--ease-out);
}
.bf-panels { position: relative; }
.bf-panel { display: none; flex-direction: column; gap: 14px; }
.bf-panel.is-active { display: flex; }
.bf-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: rgba(10, 13, 12, 0.6);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s;
}
.bf-row:hover { border-color: rgba(16, 185, 129, 0.4); }
.bf-info { display: flex; flex-direction: column; gap: 8px; }
.bf-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #061008;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bf-aud {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
  color: var(--ink);
  margin: 4px 0 0;
  font-weight: 400;
}
.bf-bio { font-size: 13px; line-height: 1.55; color: var(--ink-mute); }
.bf-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.bf-shot {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  box-shadow: 0 6px 22px rgba(0,0,0,0.4);
}
.bf-shot:hover { transform: translateY(-4px) scale(1.015); box-shadow: 0 18px 44px rgba(0,0,0,0.55); }
.bf-shot img { width: 100%; height: auto; display: block; }
.bf-shot figcaption {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(10, 13, 12, 0.85);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}
.bf-connector {
  color: var(--accent);
  width: 44px;
  opacity: 0.85;
}
.bf-connector svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .bf-row { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .bf-pair { grid-template-columns: 1fr; }
  .bf-connector { transform: rotate(90deg); margin: -2px auto; width: 34px; }
  .bf-tabs {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .bf-tabs::-webkit-scrollbar { display: none; }
}

/* ============ 05 MEASUREMENT — stacked tiers ============ */
.tier-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto clamp(60px, 8vw, 110px);
}
.tier-card {
  position: sticky;
  top: 110px;
  border-radius: 16px;
  padding: 34px 38px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--line-bright);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
  will-change: transform;
}
.tier-card--bad  { border-left: 3px solid var(--bad); }
.tier-card--mid  { border-left: 3px solid var(--accent-warm); top: 130px; }
.tier-card--good { border-left: 3px solid var(--accent); top: 150px; box-shadow: 0 -10px 60px rgba(16,185,129,0.15); }
.tier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.tier-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.tier-tag--bad { color: var(--bad); border: 1px solid rgba(239,68,68,0.4); background: rgba(239,68,68,0.07); }
.tier-tag--mid { color: var(--accent-warm); border: 1px solid rgba(255,122,69,0.4); background: rgba(255,122,69,0.07); }
.tier-tag--good { color: var(--accent); border: 1px solid rgba(16,185,129,0.5); background: rgba(16,185,129,0.1); }
.tier-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--ink-dim); }
.tier-headline {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.tier-desc { color: var(--ink-mute); font-size: 15px; line-height: 1.6; max-width: 720px; }
.tier-desc em { color: var(--accent); font-style: normal; }
.tier-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-bright);
}
.tier-stat { display: flex; gap: 12px; align-items: flex-start; }
.tier-stat-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--accent);
  border: 1px solid rgba(16,185,129,0.35);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
}
.tier-stat-icon svg { width: 100%; height: 100%; }
.tier-stat-text b { display: block; font-size: 14px; margin-bottom: 3px; }
.tier-stat-text span { font-size: 12.5px; color: var(--ink-dim); line-height: 1.5; }
@media (max-width: 760px) {
  .tier-card { position: relative; top: auto !important; padding: 24px 20px; }
  .tier-stats { grid-template-columns: 1fr; }
}

.practice-head { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 4vw, 48px); }
.practice-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.practice-h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.practice-sub { color: var(--ink-mute); font-size: 16px; line-height: 1.6; }

.dash-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(21, 26, 24, 0.95), rgba(17, 22, 20, 0.9));
  border: 1px solid var(--line-bright);
  border-left: 2px solid var(--accent);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 24px 70px rgba(0,0,0,0.5);
}
.dash-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.dash-h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  margin-bottom: 28px;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.dash-stat {
  border: 1px solid var(--line);
  background: rgba(10, 13, 12, 0.6);
  padding: 24px;
  border-radius: 10px;
  min-width: 0;
}
.dash-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: block;
  margin-bottom: 10px;
}
.dash-stat-value {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.dash-stat-sub { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); display: block; }
.dash-stat-sub .warm { color: var(--accent-warm); }
@media (max-width: 640px) { .dash-stats { grid-template-columns: 1fr; } }
.dash-heat-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.dash-heat-scroll { overflow-x: auto; }
.dash-heat { width: 100%; border-collapse: separate; border-spacing: 4px; min-width: 600px; }
.dash-heat th {
  text-align: left;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 8px 12px;
  font-family: var(--mono);
}
.dash-heat td {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 12px;
  font-family: var(--mono);
  border-radius: 4px;
}
.dash-heat td.hm-date { background: transparent; color: var(--ink-mute); font-family: var(--sans); font-size: 13px; }

/* ============ ◇ SERVICES ============ */
.services { background: var(--bg); }
.svc-flagship {
  position: relative;
  margin-top: 8px;
  padding: clamp(30px, 4.5vw, 52px);
  border: 1.5px solid var(--accent);
  background: linear-gradient(180deg, rgba(16,185,129,0.1), rgba(16,185,129,0.02) 60%, transparent);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(16,185,129,0.25), 0 24px 60px rgba(0,0,0,0.5), 0 0 60px rgba(16,185,129,0.08);
}
.svc-flagship-tag, .svc-card-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.svc-card-tag { color: var(--ink-dim); font-size: 11px; }
.svc-flagship-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 18px;
}
.svc-flagship-body {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 780px;
  margin-bottom: 28px;
}
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 9px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.svc-btn--primary { background: var(--accent); color: #061008; border: 1.5px solid var(--accent); }
.svc-btn--primary:hover { background: var(--accent-bright); }
.svc-btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-bright); align-self: flex-start; }
.svc-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.svc-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line-bright);
  background: var(--bg-elev);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 8px 28px rgba(0,0,0,0.35);
}
.svc-card:hover { border-color: rgba(16,185,129,0.5); transform: translateY(-3px); }
.svc-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.svc-card-body { font-size: 15px; line-height: 1.6; color: var(--ink-dim); flex: 1; }
/* spotlight hover overlay */
[data-spotlight] { position: relative; }
[data-spotlight]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgba(16, 185, 129, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight] > * { position: relative; z-index: 1; }
.caps-head { margin-top: clamp(64px, 9vw, 110px); }
.caps-sub {
  color: var(--ink-mute);
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
  margin: 14px auto 0;
  text-align: center;
}
.caps-standouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}
.cap-hero {
  padding: 32px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.05);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(16,185,129,0.2), 0 12px 32px rgba(0,0,0,0.4);
}
.cap-hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cap-hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 12px;
}
.cap-hero-body { font-size: 15px; line-height: 1.6; color: var(--ink-dim); }
.caps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.cap-chip {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 10px;
  color: var(--ink-mute);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}
.cap-chip:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
@media (max-width: 880px) {
  .svc-grid, .caps-standouts { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============ TRY IT ============ */
.offer {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(16, 185, 129, 0.1), transparent 65%),
    var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.anchor-only { display: block; height: 0; scroll-margin-top: 80px; pointer-events: none; }
.try-intro { text-align: center; max-width: 800px; margin: 0 auto clamp(32px, 4vw, 52px); }
.try-lede {
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 auto 22px;
  max-width: 680px;
}
.try-req {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 18px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
  border-radius: 999px;
  white-space: nowrap;
  max-width: 100%;
}
.try-req-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  50% { box-shadow: 0 0 0 7px rgba(16,185,129,0.05); }
}
@media (max-width: 480px) {
  .try-req { font-size: 10px; letter-spacing: 0.08em; padding: 8px 12px; gap: 8px; }
}
.try-card {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  /* fully green card — the form must read as THE action on the page */
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(52, 211, 153, 0.28), transparent 70%),
    linear-gradient(180deg, #135840, #0b3527);
  border: 1px solid rgba(52, 211, 153, 0.6);
  border-top: 2px solid var(--accent-bright);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 40px 90px rgba(0,0,0,0.6),
    0 0 0 1px rgba(16,185,129,0.2),
    0 0 90px rgba(16,185,129,0.3);
}
/* Card head: trial badge + progress bar */
.tf-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tf-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  padding: 8px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(52,211,153,0.5);
  border-radius: 999px;
  white-space: nowrap;
}
.tf-card-badge-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.25);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
/* Step-1 hero line — high-impact opener instead of a formal header */
.tf-step-hero {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.tf-step-hero em { color: var(--accent-bright); }

.tf-form { display: flex; flex-direction: column; gap: 18px; }
.tf-steps { position: relative; }
/* Only the active step shows */
.tf-step {
  display: none;
  flex-direction: column;
  gap: 16px;
}
.tf-step.is-active { display: flex; }
.tf-step-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding-bottom: 14px;
}
.tf-step-num {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(52,211,153,0.6);
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
}
.tf-step-titles { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tf-step-title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tf-step-optional {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
}
.tf-step-desc { color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.5; }
.tf-step-body { display: flex; flex-direction: column; gap: 14px; }
.tf-row-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
@media (max-width: 600px) { .tf-row-2 { grid-template-columns: 1fr; } }
.tf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tf-field-label { font-size: 13px; font-weight: 600; color: var(--ink); opacity: 0.92; }
.tf-form input, .tf-form select, .tf-form textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 14px;
  border-radius: 8px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  min-width: 0;
}
.tf-form input::placeholder, .tf-form textarea::placeholder { color: var(--ink-mute); opacity: 0.68; }
.tf-form input:focus, .tf-form select:focus, .tf-form textarea:focus {
  border-color: var(--accent-bright);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}
.tf-form select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2310b981' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
  color-scheme: dark; /* native dropdown popup renders dark instead of light-gray-on-blue */
}
.tf-form select option {
  background-color: #111614;
  color: #f2f5f3;
  font-size: 15px;
  padding: 10px 14px;
}
.tf-form select option:disabled { color: rgba(242, 245, 243, 0.45); }
.tf-form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.tf-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.tf-chip-grid-svc { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tf-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.26);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
  position: relative;
}
.tf-chip input[type="checkbox"] {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.tf-chip:hover { border-color: rgba(16, 185, 129, 0.5); transform: translateY(-1px); }
.tf-chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tf-chip:has(input:checked) {
  background: rgba(16, 185, 129, 0.16);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.14), 0 4px 12px rgba(16,185,129,0.18);
}
.tf-chip-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.tf-chip-icon svg { width: 17px; height: 17px; }
.tf-chip-icon-glyph { background: rgba(255,255,255,0.06); color: var(--ink-mute); font-weight: 700; }
.tf-chip-label { font-size: 14px; font-weight: 600; line-height: 1.2; flex: 1; min-width: 0; }
.tf-chip-check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.tf-chip:has(input:checked) .tf-chip-check { background: var(--accent); border-color: var(--accent); color: #061008; }
.tf-chip-svc { padding-left: 16px; }
.tf-error {
  display: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent-warm);
  padding: 8px 12px;
  background: rgba(255, 122, 69, 0.08);
  border: 1px solid rgba(255, 122, 69, 0.3);
  border-radius: 6px;
}
/* Wizard nav: Back (ghost) on the left, Continue/Submit (green) on the right */
.tf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}
.tf-nav-right { display: flex; }
.tf-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.tf-back:hover { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.tf-next {
  display: inline-flex;
  align-items: center;
  padding: 15px 34px;
  background: #fff;
  color: #0b3527;
  border: none;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s, color 0.2s;
}
.tf-next:hover { background: var(--accent-bright); color: #061008; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 32px rgba(52,211,153,0.5); }
.tf-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 38px;
  background: #fff;
  color: #0b3527;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.32);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.tf-submit::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -75%; width: 50%;
  background: linear-gradient(115deg, transparent, rgba(16,185,129,0) 30%, rgba(16,185,129,0.28) 50%, rgba(16,185,129,0) 70%, transparent);
  transform: skewX(-18deg);
  animation: sheen 5s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.tf-submit > * { position: relative; z-index: 2; }
.tf-submit:hover { background: var(--accent-bright); color: #061008; box-shadow: 0 14px 32px rgba(16,185,129,0.38); }
.tf-submit-arrow { font-size: 20px; line-height: 1; }
.tf-fineprint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-top: 16px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 60px 24px;
}
.success-mark {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h5 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin-bottom: 10px; }
.form-success p { color: var(--ink-mute); }
@media (max-width: 720px) {
  .tf-chip-grid, .tf-chip-grid-svc { grid-template-columns: 1fr; }
  .tf-nav-right { flex: 1; }
  .tf-next, .tf-submit { flex: 1; width: 100%; justify-content: center; }
  .tf-back { padding: 14px 18px; }
}
@media (max-width: 420px) {
  .tf-card-head { flex-direction: column; align-items: stretch; gap: 12px; }
}

/* ============ 02 RESULTS — branded bar charts ============ */
.results { background: var(--bg); }
.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 10px;
}
.res-card {
  position: relative;
  padding: 26px 26px 24px;
  background: linear-gradient(180deg, rgba(21, 26, 24, 0.92), rgba(17, 22, 20, 0.85));
  border: 1px solid var(--line-bright);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 8px 28px rgba(0,0,0,0.35);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.res-card:hover { border-color: rgba(16, 185, 129, 0.5); transform: translateY(-3px); }
.res-delta {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 6px 13px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.1);
  border-radius: 999px;
}
.res-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -0.015em;
  line-height: 1.16;
  flex: 1;
}
.res-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 150px;
  border-bottom: 1px solid var(--line-bright);
  padding: 0 6px;
}
.res-bar {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
/* Small Logical Boost logo inside the emerald "after" bar. Rendered all-white
   via filter so the green "boost" wordmark doesn't vanish on the green bar. */
.res-bar-logo {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 64%;
  max-width: 76px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  pointer-events: none;
}
.res-bar-fill {
  width: 100%;
  max-width: 110px;
  height: var(--h);
  min-height: 5px;
  border-radius: 8px 8px 2px 2px;
}
.res-bar-fill--before {
  background: linear-gradient(180deg, rgba(212, 212, 207, 0.22), rgba(212, 212, 207, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
}
.res-bar-fill--after {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent) 60%, #0c8f66);
  box-shadow: 0 0 26px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.res-bar-label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}
.res-bar-label--before { color: var(--ink-dim); }
.res-bar-label--after { color: var(--ink); font-weight: 600; font-size: 15px; }
@media (max-width: 640px) {
  .res-grid { grid-template-columns: 1fr; }
  .res-chart { height: 120px; }
}

/* legacy carousel styles kept below (unused) */
.carousel { position: relative; margin-top: 8px; }
.car-viewport { overflow: hidden; border-radius: 16px; }
.car-track {
  display: flex;
  transition: transform 0.7s var(--ease-out);
}
.car-slide { flex: 0 0 100%; min-width: 0; padding: 0 2px; }
.car-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: center;
}
.car-frame {
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.5);
}
.car-frame img { width: 100%; height: auto; }
.car-arrow {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 13, 12, 0.8);
  border: 1px solid var(--line-bright);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.car-arrow:hover { border-color: var(--accent); color: var(--accent); }
.car-prev { left: -8px; }
.car-next { right: -8px; }
.car-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.car-dot {
  width: 34px; height: 3px;
  border: none;
  border-radius: 999px;
  background: var(--line-bright);
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.car-dot.active { background: var(--accent); }
@media (max-width: 700px) {
  .car-arrow { width: 40px; height: 40px; }
  .car-prev { left: 4px; }
  .car-next { right: 4px; }
}

/* ============ 09 DIFFERENCE ============ */
.difference { background: var(--bg); }
.compare-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line-bright); background: var(--bg-elev); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td {
  padding: 18px 22px;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line-bright);
  padding-top: 22px;
  padding-bottom: 16px;
}
.compare-table thead th.col-bad { color: var(--bad); }
.compare-table thead th.col-us { color: var(--accent); }
.compare-table tbody td:first-child {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-transform: uppercase;
  width: 190px;
}
.compare-table td.col-bad { color: var(--ink-dim); }
.compare-table td.col-us { color: var(--ink); background: rgba(16, 185, 129, 0.05); border-left: 2px solid rgba(16,185,129,0.35); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ============ 10 FAQ ============ */
.faq { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-bright); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 26px);
  letter-spacing: -0.01em;
  padding: 26px 4px;
  cursor: pointer;
  transition: color 0.25s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform 0.4s var(--ease-out);
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; margin-top: -0.75px; }
.faq-icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; margin-left: -0.75px; }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg) scaleY(0); }
.faq-item.is-open .faq-icon::before { transform: rotate(180deg); }
.faq-a { overflow: hidden; height: 0; }
.faq-a-inner {
  padding: 0 4px 28px;
  color: var(--ink-mute);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 700px;
}

/* ============ 06 CASE STUDIES ============ */
.cases { background: var(--bg); border-top: 1px solid var(--line); overflow: hidden; }
/* Black CTA band between case studies */
.case-break {
  position: relative;
  z-index: 2; /* paint above the overhanging .case-parallax bands */
  background: #020403;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(52px, 7vw, 92px) 0;
  text-align: center;
}
.case-break-line {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.case-break-line em { color: var(--accent-bright); }
.case-break .cta-pair { margin: clamp(26px, 3.5vw, 40px) auto 0; }
.case-list {
  margin-top: clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vw, 96px);
}
.case {
  position: relative;
  padding: clamp(48px, 8vw, 120px) 0;
}
/* Parallax band — branded (grid + emerald glow), no stock photo needed.
   A tall layer that scrolls slower than the card for depth. */
.case-parallax {
  position: absolute;
  top: -14%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 128%;
  z-index: 0;
  pointer-events: none;
  /* Industry photo, only lightly darkened so it stays clearly visible */
  background-image:
    linear-gradient(180deg, rgba(8,11,10,0.62), rgba(8,11,10,0.34) 34%, rgba(8,11,10,0.34) 66%, rgba(8,11,10,0.72)),
    var(--case-img, none);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  will-change: transform;
}
/* The card is frosted glass — the parallax photo shows through it, blurred. */
.case-card {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(10, 13, 12, 0.42);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
          backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 40px 90px rgba(0,0,0,0.55);
}
/* Clear industry image header band at the top of the card */
.case-hero {
  position: relative;
  height: clamp(200px, 26vw, 300px);
  background-image:
    linear-gradient(180deg, rgba(8,11,10,0.15) 0%, rgba(8,11,10,0.1) 45%, rgba(10,13,12,0.85) 100%),
    var(--case-img, none);
  background-size: cover, cover;
  background-position: center 30%, center 30%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 3vw, 34px) clamp(24px, 4vw, 56px);
}
.case-hero .case-cat { margin-bottom: 0; }
.case-hero .case-big { align-self: flex-start; }
.case-body {
  position: relative;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px) clamp(30px, 4vw, 56px);
}
.case-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.case-cat {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.case-cat-dot {
  width: 9px; height: 9px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.16);
}
.case-big {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--accent-bright);
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 0 30px rgba(16,185,129,0.35);
}
.case-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  max-width: 900px;
}
.case-headline em { font-style: normal; color: var(--accent); }
.case-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 760px;
  margin-bottom: 28px;
}
.case-metric-pill {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  padding: 10px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  margin-bottom: 18px;
}
.case-chart {
  background: rgba(8,11,10,0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 30px) clamp(14px, 2vw, 26px) clamp(26px, 3vw, 36px);
  margin-bottom: clamp(28px, 4vw, 46px);
}
/* Tabbed chart variant — Leads / Revenue / Value-per-lead style switcher */
.case-chart-tabs.cw-tabs { border-bottom: none; padding-bottom: 0; margin-bottom: 14px; }
.case-chart--tabbed { margin-bottom: clamp(28px, 4vw, 46px); }
.case-chart-panel { display: none; }
.case-chart-panel.is-active { display: block; }
.cc-svg { width: 100%; height: auto; display: block; overflow: visible; }
.cc-grid { stroke: rgba(255,255,255,0.07); stroke-width: 1; }
.cc-axis { font-family: var(--mono); font-size: 17px; fill: rgba(244,241,234,0.5); }
.cc-bar {
  fill: rgba(231,235,239,0.22);
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.cc-bar--hi {
  fill: url(#cc-grad);
  fill: var(--accent);
  filter: drop-shadow(0 0 18px rgba(16,185,129,0.4));
}
.cc-val { font-family: var(--sans); font-weight: 700; font-size: 22px; fill: var(--ink); }
.cc-val--hi { fill: var(--accent); font-size: 26px; }
.cc-xlabel { font-family: var(--mono); font-size: 16px; fill: var(--ink-dim); letter-spacing: 0.1em; }
.cc-start { font-family: var(--mono); font-size: 11px; fill: var(--accent); letter-spacing: 0.1em; }
.case-did-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.case-did-note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink-dim);
}
.case-did-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.case-did-card {
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.case-did-card:hover { border-color: rgba(16,185,129,0.4); transform: translateY(-3px); }
.case-did-card h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.case-did-card p { font-size: 14px; line-height: 1.6; color: var(--ink-dim); }
@media (max-width: 700px) {
  .case-head { flex-direction: column; gap: 12px; }
  .case-big { font-size: clamp(52px, 16vw, 78px); }
  .cc-axis { font-size: 20px; }
  .cc-val { font-size: 26px; }
  .cc-val--hi { font-size: 30px; }
  .cc-xlabel { font-size: 18px; }
  .cc-start { font-size: 14px; }
}

/* ============ FINAL CTA ============ */
.final-cta { text-align: center; position: relative; overflow: hidden; background: var(--bg); }
.final-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 60vw;
  max-width: 1000px; max-height: 700px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.13) 0%, transparent 60%);
  pointer-events: none;
}
.h2--final { font-size: clamp(44px, 7.4vw, 108px); }
.final-sub {
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--ink-mute);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============ CLIENTS marquee ============ */
.clients { padding: clamp(70px, 8vw, 110px) 0; background: var(--bg-elev); border-top: 1px solid var(--line); }
.clients-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
  margin-bottom: 44px;
}
.client-marquee { overflow: hidden; padding: 10px 0; }
.client-marquee-track { display: flex; width: max-content; will-change: transform; }
.client-set { display: flex; gap: 14px; padding-right: 14px; }
.client-item {
  width: 168px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px 18px;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}
.client-item:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); }
.client-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.25s;
}
.client-item:hover img { opacity: 1; }

/* ============ HISTORY ============ */
.history { padding: 0; background: var(--bg); border-top: 1px solid var(--line); }
.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 80vh;
}
.history-text {
  padding: clamp(70px, 9vw, 140px) clamp(24px, 5vw, 80px);
  max-width: 720px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.history-text .h2 { margin-bottom: 34px; }
.history-text p {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: var(--ink-mute);
  margin-bottom: 22px;
}
.history-signoff {
  font-family: var(--serif);
  font-style: normal;
  font-size: 24px !important;
  color: var(--ink) !important;
  margin-top: 8px;
}
.history-img-col {
  position: relative;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.history-img-mask { width: 100%; height: 100%; overflow: hidden; display: flex; align-items: flex-end; }
.history-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.history-sig {
  position: absolute;
  bottom: 32px; right: 36px;
  width: clamp(160px, 20vw, 260px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55));
  z-index: 2;
}
@media (max-width: 900px) {
  .history-grid { grid-template-columns: 1fr; min-height: auto; }
  .history-img-col { aspect-ratio: 4 / 3; }
  .history-sig { bottom: 16px; right: 16px; width: clamp(120px, 30vw, 180px); }
}

/* ============ FOOTER ============ */
.footer { padding: 36px 0; background: #0d1210; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.foot-links a { color: var(--ink-mute); text-decoration: none; transition: color 0.2s; }
.foot-links a:hover { color: var(--accent); }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .preloader { display: none; }
}
