/* ==========================================================================
   MEDIA GLITCH - DESIGN SYSTEM
   Dark neon editorial. Purple/cyan on deep space blue.
   Structure: 01 Tokens · 02 Base · 03 Type · 04 Layout · 05 Nav · 06 Buttons
   07 Heroes · 08 Marquee · 09 Cards · 10 Funnel · 11 Stats · 12 Cases
   13 Compare/Lists · 14 Founder · 15 FAQ · 16 Forms · 17 Article/Guides
   18 CTA blocks · 19 Footer · 20 Motion · 21 Responsive
   ========================================================================== */

/* ==========================================================================
   01 · TOKENS
   ========================================================================== */
:root {
  /* Surfaces - each step is a real elevation, not a random hex */
  --bg-dark: #0b0f19;
  --bg-surface: #0f1422;
  --bg-surface-elevated: #161d2f;
  --bg-raised: #1c2438;

  --glass-bg: rgba(19, 25, 42, 0.72);
  --glass-bg-strong: rgba(19, 25, 42, 0.92);
  --glass-border: rgba(143, 0, 255, 0.20);
  --glass-border-cyan: rgba(0, 240, 255, 0.26);

  /* Brand */
  --purple: #8f00ff;
  --purple-soft: #a855f7;
  --purple-deep: #6000c8;
  --purple-glow: rgba(143, 0, 255, 0.35);
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.32);
  --emerald: #00ff9d;
  --emerald-glow: rgba(0, 255, 157, 0.28);
  --rose: #ff5c7a;
  --amber: #ffc860;

  /* Legacy aliases kept so older inline styles keep resolving */
  --bright: #a855f7;

  /* Ink - every value here clears 4.5:1 on --bg-dark */
  --ink: #f8fafc;
  --muted: #97a3b8;
  --muted-light: #c8d2e0;
  --white: #ffffff;
  --black: #05070d;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --soft: rgba(143, 0, 255, 0.12);
  --soft2: rgba(0, 240, 255, 0.08);

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(143, 0, 255, 0.18);
  --shadow-cyan: 0 20px 44px -12px rgba(0, 240, 255, 0.28);
  --shadow-purple: 0 20px 44px -12px rgba(143, 0, 255, 0.34);

  /* Geometry */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Rhythm */
  --space-section: clamp(64px, 8vw, 112px);
  --gap: 24px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.35s;
}

/* ==========================================================================
   02 · BASE
   ========================================================================== */
* { box-sizing: border-box; }

html {
  background-color: var(--bg-dark);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv11' 1;
}

/* Fine grain over the whole page - kills the flat "CSS gradient" plastic look */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { text-decoration: none; color: inherit; transition: color var(--dur) var(--ease); }
img { max-width: 100%; display: block; }

::selection { background: var(--purple); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ==========================================================================
   03 · TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--white);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 800;
  text-shadow: 0 0 40px rgba(143, 0, 255, 0.22);
}

h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 18px; font-weight: 700; }

p {
  font-size: 17px;
  color: var(--muted-light);
  margin: 0 0 18px;
  text-wrap: pretty;
}

ul { margin: 0; padding-left: 20px; color: var(--muted-light); font-size: 17px; }
li { margin: 8px 0; }

strong, b { color: var(--white); font-weight: 700; }

/* Inline links inside body copy get an underline that grows on hover */
.article a:not(.btn),
.faq-a a,
.case a:not(.btn),
section p a:not(.btn) {
  color: var(--cyan);
  font-weight: 600;
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease);
}
.article a:not(.btn):hover,
.faq-a a:hover,
.case a:not(.btn):hover,
section p a:not(.btn):hover { background-size: 100% 1px; }

/* Eyebrow pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  font-size: 12.5px;
  margin-bottom: 18px;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.24);
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.highlight {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--white) 50%, var(--purple-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.micro { font-size: 14px; font-weight: 600; color: var(--muted); }
.micro a { color: var(--cyan); font-weight: 700; }

.service-label {
  display: inline-block;
  color: var(--cyan);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

/* Backend-only pages */
.hidden-admin .admin-note,
.admin-note {
  display: inline-block;
  background: rgba(255, 200, 96, 0.1);
  border: 1px solid rgba(255, 200, 96, 0.3);
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}

/* ==========================================================================
   04 · LAYOUT
   ========================================================================== */
.container { width: min(1360px, 92%); margin: 0 auto; }

section {
  padding: var(--space-section) 0;
  position: relative;
}

/* Hairline light-leak between stacked sections */
section + section::before,
section.soft::before,
section.dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 0, 255, 0.35), rgba(0, 240, 255, 0.28), transparent);
  opacity: 0.65;
}

.soft { background: var(--bg-surface); }

.dark {
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(143, 0, 255, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 100%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
    #0a0d16;
}

/* Two-column editorial split - used on every service page */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.split > div > .eyebrow { margin-bottom: 14px; }
.split h2 { margin-bottom: 14px; }
.split > div:last-child > .btn { margin-top: 8px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
}

.section-head p { max-width: 580px; font-size: 18px; margin-bottom: 0; }
.section-head > div { max-width: 720px; }

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 20px;
}

.center-action, .proof-actions { text-align: center; }

/* ==========================================================================
   05 · NAVIGATION
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* .is-stuck is applied by motion.js once the page scrolls */
.nav.is-stuck {
  background: rgba(9, 12, 21, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* space-between centres nothing: it distributes the leftover space, so a narrow
   logo on one side and a wide CTA on the other drag the links off-centre by
   whatever the width difference is. A symmetric 1fr auto 1fr grid pins the
   links to the true page centre no matter how long the CTA label gets.
   Desktop only, because below 980px the links become an absolute dropdown. */
@media (min-width: 981px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-inner > .logo { justify-self: start; }
  .nav-inner > .nav-actions { justify-self: end; }
}

.logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(143, 0, 255, 0.45));
  transition: transform var(--dur) var(--ease);
}
.logo:hover img { transform: scale(1.06); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-weight: 600;
  color: var(--muted-light);
}

.nav-links a { position: relative; font-size: 15px; }
.nav-links a:hover { color: var(--cyan); }

.nav-links a::after {
  content: "";
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  left: 0;
  bottom: -6px;
  width: 0;
  border-radius: 4px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  cursor: pointer;
}

/* ==========================================================================
   06 · BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--r-pill);
  padding: 14px 26px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 50%, #0099ff 100%);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(143, 0, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Sheen sweep on hover */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.35) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover::before { transform: translateX(120%); }

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0, 240, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--white);
  border: 1px solid var(--glass-border-cyan);
  backdrop-filter: blur(16px);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-cyan);
}

.btn:active { transform: translateY(-1px); }

/* Money-bill easter egg on high-intent CTAs */
.money-hover .bill {
  position: absolute;
  width: 22px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--emerald), #05c07a);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.money-hover:hover .bill { animation: billFly 1s var(--ease) forwards; }
.money-hover:hover .b2 { animation-delay: 0.12s; }
.money-hover:hover .b3 { animation-delay: 0.24s; }

@keyframes billFly {
  0%   { opacity: 0; transform: translate(0, 20px) rotate(0deg); }
  35%  { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--bx, 30px), -46px) rotate(var(--br, 40deg)); }
}
.money-hover .b1 { left: 18%; --bx: -26px; --br: -35deg; }
.money-hover .b2 { left: 48%; --bx: 8px;   --br: 15deg; }
.money-hover .b3 { left: 76%; --bx: 30px;  --br: 42deg; }

/* ==========================================================================
   07 · HEROES
   ========================================================================== */

/* Homepage hero - canvas shader lives behind this */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, #1c0535 0%, var(--bg-dark) 70%);
  padding: 80px 0 70px;
  min-height: 82vh;
  display: flex;
  align-items: center;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero .container { position: relative; z-index: 2; }
.hero-center { max-width: 940px; margin: 0 auto; text-align: center; }

.hero-copy {
  font-size: 20px;
  max-width: 820px;
  color: var(--muted-light);
  line-height: 1.6;
}
.hero-center .hero-copy { margin-left: auto; margin-right: auto; }

/* Inner page hero - the homepage hero's quieter sibling.
   Aurora wash + engineering grid so inner pages read as designed, not default. */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(52px, 6vw, 80px);
  background:
    radial-gradient(ellipse 60% 80% at 15% 0%, rgba(143, 0, 255, 0.28) 0%, transparent 62%),
    radial-gradient(ellipse 50% 70% at 85% 10%, rgba(0, 240, 255, 0.13) 0%, transparent 60%),
    linear-gradient(180deg, #14082a 0%, var(--bg-dark) 78%);
  border-bottom: 1px solid var(--line);
}

/* Grid lines, faded out toward the bottom */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* Slow-drifting glow orb */
.page-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 0, 255, 0.30) 0%, transparent 68%);
  filter: blur(46px);
  pointer-events: none;
  animation: orbDrift 18s ease-in-out infinite alternate;
}

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-70px, 46px) scale(1.14); }
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 800;
  max-width: 16ch;
}

.page-hero .hero-copy { max-width: 720px; }

/* Page heroes are left-aligned; the homepage centres its own */
.page-hero .cta-row { justify-content: flex-start; margin-top: 34px; }

/* ==========================================================================
   08 · MARQUEE
   ========================================================================== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
  z-index: 2;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.track {
  display: flex;
  white-space: nowrap;
  animation: scroll 34s linear infinite;
  padding: 20px 0;
  font-weight: 800;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 15px;
  width: max-content;
}

.marquee:hover .track { animation-play-state: paused; }

.mgroup { display: flex; align-items: center; }
.mgroup span { margin: 0 40px; display: inline-flex; align-items: center; gap: 8px; }
.mgroup span::before { content: "✦"; color: var(--cyan); font-size: 12px; }

/* Client marks ship as white silhouettes on transparent, pre-normalised to a
   shared canvas height so they stay optically level at one CSS height. */
.mlogo {
  height: 34px;
  width: auto;
  margin: 0 44px;
  flex-shrink: 0;
  opacity: 0.72;
  transition: opacity var(--dur) var(--ease);
}

/* Hovering pauses the strip, so brighten the marks at the same time */
.marquee:hover .mlogo { opacity: 0.95; }

/* The track holds 6 identical groups and shifts by exactly one of them (100/6).
   Five groups therefore always remain on screen, so the loop never runs out of
   marks and leaves a gap - which two groups did on any viewport wider than one
   group. Keep the group count and this percentage in sync. */
@keyframes scroll { to { transform: translateX(-16.6667%); } }

/* ==========================================================================
   09 · CARDS
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.card {
  display: block;
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  overflow: hidden;
}

/* Cursor spotlight - motion.js feeds --mx/--my */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 240, 255, 0.10), transparent 62%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }

.card:hover {
  transform: translateY(-7px);
  border-color: var(--glass-border-cyan);
  box-shadow: var(--shadow-cyan);
}

.card h3 { font-size: 22px; margin-bottom: 12px; color: var(--white); }
.card p { color: var(--muted-light); font-size: 15.5px; }
.card p:last-child { margin-bottom: 0; }
.card ul { font-size: 16px; }

.icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(143, 0, 255, 0.24), rgba(0, 240, 255, 0.12));
  border: 1px solid rgba(143, 0, 255, 0.3);
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Cards that are whole-card links */
.click-card { color: inherit; }
.click-card .arrow {
  margin-top: 16px;
  font-weight: 700;
  color: var(--cyan);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--dur) var(--ease);
}
.click-card:hover .arrow { gap: 12px; }

/* Flagship card gets a gradient rim */
.featured-service {
  border-color: rgba(0, 240, 255, 0.34);
  background:
    linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
    linear-gradient(135deg, var(--purple), var(--cyan)) border-box;
  border: 1px solid transparent;
}

/* Why-us feature grid */
.why-us-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 4vw, 52px);
  align-items: center;
}

.why-us-content h2 { font-size: clamp(32px, 3.4vw, 42px); margin-bottom: 18px; }
.why-us-content p { font-size: 18px; line-height: 1.65; }

.why-us-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-cyan);
  box-shadow: var(--shadow-cyan);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 14px;
  margin-bottom: 14px;
}

.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; line-height: 1.55; margin: 0; color: var(--muted); }

/* Service rows (services page) */
.service-education { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 34px;
  backdrop-filter: blur(20px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-row:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-cyan);
  box-shadow: var(--shadow-cyan);
}

.service-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 14px;
  padding: 10px 16px;
  flex-shrink: 0;
}

.service-row h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.service-row p { font-size: 15.5px; margin-bottom: 10px; }
.service-row p strong { color: var(--cyan); }

.row-arrow {
  font-size: 24px;
  color: var(--cyan);
  font-weight: 800;
  margin-left: auto;
  align-self: center;
  transition: transform var(--dur) var(--ease);
}
.service-row:hover .row-arrow { transform: translateX(6px); }

/* Growth loop / engine cards */
.growth-loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.growth-loop.compact { grid-template-columns: repeat(4, 1fr); }

.eng {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.eng:hover { transform: translateY(-5px); border-color: var(--glass-border-cyan); }

.eng .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.eng h3 { font-size: 20px; margin-bottom: 10px; }
.eng p { font-size: 15px; margin-bottom: 0; }

/* Process steps - numbered rail */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step; /* without this every step renders "01" */
}

.step {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  backdrop-filter: blur(20px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}

.step::before {
  content: "0" counter(step);
  counter-increment: step;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 14px;
}

/* Connector dashes between steps */
.step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -10px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.5;
}
.step:last-child::after { display: none; }

.step:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-cyan);
  box-shadow: var(--shadow-cyan);
}

.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; margin-bottom: 0; }

/* Chips */
.stage-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-light);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--glass-border-cyan); color: var(--white); }

/* ==========================================================================
   BRAND PHRASE BANNER
   ========================================================================== */
.phrase-banner { text-align: center; margin-bottom: 60px; }

.phrase-badge {
  display: inline-block;
  background: #ffffff;
  color: var(--purple);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3.5vw, 38px);
  padding: 10px 28px;
  border-radius: var(--r-sm);
  transform: rotate(-1.8deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 255, 255, 0.16);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.phrase-main {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  margin: 10px 0;
  text-shadow: 0 0 40px rgba(143, 0, 255, 0.4);
}

.phrase-pill {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 50%, var(--cyan) 100%);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.8vw, 44px);
  padding: 10px 32px;
  border-radius: var(--r-pill);
  transform: rotate(1.2deg);
  box-shadow: 0 15px 35px rgba(143, 0, 255, 0.5), 0 0 30px rgba(0, 240, 255, 0.28);
  margin-top: 10px;
  letter-spacing: -0.02em;
}

.phrase-sub { font-size: 19px; max-width: 640px; margin: 28px auto 0; }

/* ==========================================================================
   10 · SCROLL FUNNEL
   ========================================================================== */
#funnel-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 50%, #150628 0%, var(--bg-dark) 80%);
  padding: 100px 0;
  overflow: hidden;
}

.funnel-container { max-width: 1000px; margin: 0 auto; position: relative; }

.funnel-laser-track {
  position: absolute;
  top: 100px;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
  border-radius: 4px;
}

.funnel-laser-beam {
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--purple), var(--cyan) 70%, var(--emerald));
  box-shadow: 0 0 20px var(--cyan), 0 0 40px var(--purple);
  transition: height 0.3s ease-out;
  border-radius: 4px;
}

.funnel-stages { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 40px; }

.funnel-stage {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 36px 42px;
  backdrop-filter: blur(24px);
  transition: all 0.5s var(--ease);
  opacity: 0.4;
  transform: translateY(30px) scale(0.96);
}

.funnel-stage.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: var(--glass-border-cyan);
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.18);
}

.stage-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}

.stage-1 .stage-badge { background: rgba(143, 0, 255, 0.2); color: #c084fc; border: 1px solid var(--purple); }
.stage-2 .stage-badge { background: rgba(0, 240, 255, 0.2); color: var(--cyan); border: 1px solid var(--cyan); }
.stage-3 .stage-badge { background: rgba(0, 255, 157, 0.2); color: var(--emerald); border: 1px solid var(--emerald); }

/* ==========================================================================
   11 · STATS
   ========================================================================== */
.results-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.results-band .rb {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  backdrop-filter: blur(16px);
  text-align: center;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

/* Top edge glow */
.results-band .rb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.6;
}

.results-band .rb:hover { transform: translateY(-5px); border-color: var(--glass-border-cyan); }

.results-band .rb b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1;
  color: var(--cyan);
  display: block;
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.4);
  font-variant-numeric: tabular-nums;
}

.results-band .rb small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ==========================================================================
   12 · CASE STUDIES
   ========================================================================== */
.cases { display: grid; gap: 32px; }

.case {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 44px);
  backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.case::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), transparent);
}

.case:hover { border-color: var(--glass-border-cyan); }

.case-top { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }

.case-tag {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-light);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* The honest paragraph at the foot of an SEO case study. Set apart from the
   case body so it reads as a caveat rather than more of the pitch. */
.cta-proof {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-light);
}
.cta-proof a { color: var(--cyan); }

.case-note {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-md);
}
.case-note p { font-size: 15px; line-height: 1.65; color: var(--muted-light); margin: 0 0 12px; }
.case-note p:last-child { margin-bottom: 0; }
.case-note strong { color: var(--ink); }
.case .tbl { margin-top: 26px; }

.case-tag.svc {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white);
  border: 0;
}

.case h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 22px; max-width: 860px; }

.case-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }

.case-grid .label {
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
  margin: 16px 0 6px;
}
.case-grid .label:first-child { margin-top: 0; }

.headline-stat {
  background: linear-gradient(135deg, #1c0535 0%, #3b007d 60%, var(--purple) 100%);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid rgba(143, 0, 255, 0.3);
  margin-bottom: 16px;
  box-shadow: var(--shadow-purple);
}

.headline-stat b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1;
  display: block;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  margin-bottom: 8px;
}

.headline-stat span { color: var(--muted-light); font-weight: 600; font-size: 14px; }

.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.tile {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
}

.tile .m { font-weight: 700; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.tile .after {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

/* before → after pairs, e.g. 4 creators grew to 20+ */
.tile .ba { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

.tile .before {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--muted);
  position: relative;
}
.tile .before::after {
  content: "→";
  margin-left: 10px;
  color: var(--cyan);
  font-weight: 800;
}

/* Sourcing / caveat note under a case study */
.disclaimer {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0;
}
.case > .disclaimer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.delta.good {
  background: rgba(0, 255, 157, 0.14);
  color: var(--emerald);
  border: 1px solid rgba(0, 255, 157, 0.3);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-top: 6px;
}

.vid-list { display: grid; gap: 12px; margin-top: 24px; }

.vid-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.vid-row:hover {
  border-color: var(--glass-border-cyan);
  transform: translateX(4px);
  background: var(--bg-raised);
}

/* Real frame from the actual video - proof beats a text link */
.vid-thumb {
  width: 132px;
  height: 74px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-dark);
}

/* Instagram gives no public thumbnail endpoint, so those rows get a brand tile */
.vid-thumb-ig {
  width: 132px;
  height: 74px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
}

.vid-info { flex: 1; min-width: 0; }
.vid-info b { font-size: 16px; color: var(--white); display: block; margin-bottom: 2px; }
.vid-info span { font-size: 13.5px; color: var(--muted); }

.vid-play {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.28);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.vid-row:hover .vid-play { background: rgba(0, 240, 255, 0.22); transform: scale(1.08); }

@media (max-width: 560px) {
  .vid-thumb, .vid-thumb-ig { width: 96px; height: 54px; }
  .vid-row { padding: 10px 12px; gap: 12px; }
  .vid-play { display: none; }
}

/* ==========================================================================
   13 · COMPARISON, LISTS, PLATFORMS
   ========================================================================== */
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }

.compare-box {
  position: relative;
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.compare-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.compare-box h3::before {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.compare-box.bad {
  border-color: rgba(255, 92, 122, 0.26);
  background: linear-gradient(180deg, rgba(255, 92, 122, 0.06), transparent 55%), var(--glass-bg);
}
.compare-box.bad h3::before {
  content: "✕";
  background: rgba(255, 92, 122, 0.16);
  border: 1px solid rgba(255, 92, 122, 0.4);
  color: var(--rose);
}

.compare-box.good {
  border-color: rgba(0, 255, 157, 0.26);
  background: linear-gradient(180deg, rgba(0, 255, 157, 0.06), transparent 55%), var(--glass-bg);
}
.compare-box.good h3::before {
  content: "✓";
  background: rgba(0, 255, 157, 0.14);
  border: 1px solid rgba(0, 255, 157, 0.4);
  color: var(--emerald);
}

/* Icon lists - no default bullets, custom markers instead */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted-light);
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

.compare-box.good .check-list li::before {
  background-color: rgba(0, 255, 157, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 157, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff9d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.compare-box.bad .check-list li::before {
  background-color: rgba(255, 92, 122, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 122, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5c7a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* Standalone check-list (outside a compare box) */
.check-list li::before {
  background-color: rgba(0, 240, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 240, 255, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f0ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
/* …but the compare-box variants above still win via specificity order */
.compare-box.good .check-list li::before {
  background-color: rgba(0, 255, 157, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 157, 0.35);
}
.compare-box.bad .check-list li::before {
  background-color: rgba(255, 92, 122, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 122, 0.35);
}

/* "What's included" deliverable grid */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.service-list .item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--muted-light);
  backdrop-filter: blur(14px);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.service-list .item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.service-list .item:hover {
  border-color: var(--glass-border-cyan);
  transform: translateY(-3px);
  color: var(--white);
}

/* Platform badges */
.platforms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.platforms span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted-light);
  letter-spacing: 0.03em;
  transition: all var(--dur) var(--ease);
}

.platforms span:hover {
  border-color: var(--cyan);
  color: var(--white);
  background: rgba(0, 240, 255, 0.08);
}

/* Small print under a card */
.form-note {
  font-size: 13.5px !important;
  color: var(--muted) !important;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 16px;
}

/* ==========================================================================
   14 · FOUNDER
   ========================================================================== */
.founder-led { align-items: center; }

.founder-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(ellipse at top left, rgba(143, 0, 255, 0.16), transparent 60%),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.founder-photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 0 6px rgba(0, 240, 255, 0.07), var(--shadow-md);
}

.founder-card h3 { font-size: 24px; margin-bottom: 2px; }
.founder-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }

.founder-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.founder-linkedin,
.founder-meeting {
  font-size: 13.5px;
  padding: 10px 18px;
}

.founder-linkedin {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--white);
}
.founder-linkedin:hover { border-color: var(--cyan); background: rgba(0, 240, 255, 0.1); }

.founder-meeting {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(143, 0, 255, 0.3);
}
.founder-meeting:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(143, 0, 255, 0.42); }

/* ==========================================================================
   15 · FAQ
   ========================================================================== */
.faq-block { max-width: 900px; margin: 0 auto; }

.faq-head { text-align: center; margin-bottom: 32px; }
.faq-head .eyebrow { margin-left: auto; margin-right: auto; }
.faq-sub { color: var(--muted); font-size: 16.5px; max-width: 560px; margin: 8px auto 0; }

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 4px 24px;
  margin-bottom: 12px;
  backdrop-filter: blur(16px);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.faq-item:hover { border-color: var(--glass-border); }
.faq-item[open] { border-color: var(--glass-border-cyan); background: var(--glass-bg-strong); }

.faq-item summary {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }

.faq-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.28);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.faq-ico::after {
  content: "+";
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
  font-weight: 700;
}

.faq-item[open] .faq-ico { transform: rotate(45deg); background: rgba(0, 240, 255, 0.2); }

.faq-a {
  padding-bottom: 20px;
  color: var(--muted-light);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 74ch;
}
.faq-a p:last-child { margin-bottom: 0; }

/* Closing CTA under an FAQ list */
.faq-foot {
  margin-top: 32px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(143, 0, 255, 0.18), transparent 65%),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  backdrop-filter: blur(20px);
}

.faq-foot h3 { font-size: 24px; margin-bottom: 10px; }
.faq-foot p { max-width: 560px; margin: 0 auto 22px; }

/* ==========================================================================
   16 · FORMS
   ========================================================================== */
.form-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }

.form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 36px;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-md);
}

.form h3 { margin-bottom: 22px; }

label { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted-light); margin-bottom: 8px; }

input, textarea, select {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 15px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 16px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

textarea { min-height: 140px; resize: vertical; }

input::placeholder, textarea::placeholder { color: #6b7688; }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--bg-raised);
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.13);
}

input.invalid, textarea.invalid, select.invalid {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 92, 122, 0.13);
}

.form-status { font-size: 14.5px; font-weight: 600; margin-top: 14px; border-radius: var(--r-sm); padding: 12px 16px; }
.form-status.ok { background: rgba(0, 255, 157, 0.1); border: 1px solid rgba(0, 255, 157, 0.3); color: var(--emerald); }
.form-status.err { background: rgba(255, 92, 122, 0.1); border: 1px solid rgba(255, 92, 122, 0.3); color: var(--rose); }

/* Multi-step form (contact-form.js drives the step classes) */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.step-head { margin-bottom: 24px; }

.step-count {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.step-bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.step-fill {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
  transition: width 0.45s var(--ease);
}

/* contact-form.js puts .js-multistep on the <form> itself.
   Without JS every step stays visible and the form posts normally. */
.js-multistep .fstep { display: none; }
.js-multistep .fstep.is-active { display: block; animation: stepIn 0.4s var(--ease); }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}

.fstep-actions { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
/* Cloudflare Turnstile. The widget renders its own 300x65 iframe, so this
   only handles the space around it and the message shown if it cannot load. */
.cf-wrap { margin: 0 0 16px; min-height: 65px; }
.cf-wrap iframe { border-radius: 8px; }
.cf-fail {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-light);
  background: var(--glass-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  margin: 0;
}
.cf-fail a { color: var(--cyan); }

.fstep-actions .btn { flex: 1; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted-light);
  flex: 0 0 auto !important;
  padding: 14px 20px;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); }

input.is-invalid, textarea.is-invalid, select.is-invalid {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 92, 122, 0.13);
}

.ferr {
  display: block;
  min-height: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 10px;
}

.form-done { text-align: center; padding: 20px 0; }

.form-done .done-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--emerald);
  background: rgba(0, 255, 157, 0.12);
  border: 1px solid rgba(0, 255, 157, 0.4);
  box-shadow: 0 0 0 8px rgba(0, 255, 157, 0.06);
}

/* Honeypot - hidden from people, visible to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   17 · ARTICLE / GUIDES
   These pages previously inherited light-theme colours and were unreadable.
   ========================================================================== */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) 24px clamp(64px, 7vw, 90px);
}

.article h1 {
  font-size: clamp(32px, 5vw, 50px);
  text-align: left;
  line-height: 1.1;
  margin-bottom: 14px;
}

.article h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  margin-top: 52px;
  margin-bottom: 16px;
  text-align: left;
  scroll-margin-top: 100px;
}

/* Accent tick before every article H2 */
.article h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  margin-bottom: 18px;
}

.article h3 { font-size: 21px; margin-top: 34px; margin-bottom: 10px; }

.article p,
.article li {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--muted-light);
}

.article ul, .article ol { margin: 0 0 20px; padding-left: 22px; }
.article li { margin: 10px 0; }
.article li::marker { color: var(--cyan); }

.article .kicker {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
  display: inline-block;
  padding: 5px 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.24);
  border-radius: var(--r-pill);
}

.article .lede {
  font-size: 20px;
  line-height: 1.65;
  color: var(--white);
  font-weight: 500;
  border-left: 3px solid var(--purple);
  padding-left: 22px;
  margin: 26px 0 36px;
}

.article .meta {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  word-break: break-word;
}

.article strong { color: var(--white); }

.article blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--cyan);
  font-size: 19px;
  font-style: italic;
  color: var(--white);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 15.5px;
}
.article th, .article td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.article th { color: var(--cyan); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; }
.article td { color: var(--muted-light); }

.article code {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.9em;
  color: var(--cyan);
}

/* Pull-out note inside an article */
.callout {
  background:
    radial-gradient(ellipse at top left, rgba(143, 0, 255, 0.14), transparent 65%),
    var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--purple);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin: 30px 0;
  font-size: 16.5px;
  color: var(--muted-light);
}
.callout b, .callout strong { color: var(--cyan); }
.callout p:last-child { margin-bottom: 0; }

/* Guide index list */
.g-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.g-item {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(18px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.g-item:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-cyan);
  box-shadow: var(--shadow-cyan);
}

.g-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.g-item:hover .g-title { color: var(--cyan); }

.g-meta {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  word-break: break-word;
  opacity: 0.75;
}

.g-excerpt { font-size: 15px; line-height: 1.6; color: var(--muted-light); margin: 0; }

/* Related guides block at the foot of an article */
.related-guides {
  margin-top: 48px;
  padding: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.related-guides h3 { font-size: 18px; margin-bottom: 16px; }

.rg-links { display: grid; gap: 10px; }

.rg-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-light);
  font-size: 15.5px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all var(--dur) var(--ease);
}

.rg-links a::before { content: "→"; color: var(--cyan); font-weight: 800; }
.rg-links a:hover { color: var(--white); border-color: var(--glass-border-cyan); background: rgba(0, 240, 255, 0.06); transform: translateX(4px); }

/* ==========================================================================
   18 · CTA BLOCKS
   ========================================================================== */
.cta-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(143, 0, 255, 0.45) 0%, transparent 62%),
    radial-gradient(ellipse at bottom left, rgba(0, 240, 255, 0.14) 0%, transparent 58%),
    #14082a;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 38px;
  color: var(--white);
  margin-top: 48px;
  box-shadow: var(--shadow-lg);
}

.cta-box h3 { color: var(--white); font-size: 25px; margin-bottom: 10px; }
.cta-box p { color: var(--muted-light); margin-bottom: 22px; }
.cta-box p:last-child { margin-bottom: 0; }

/* ==========================================================================
   19 · FOOTER
   ========================================================================== */
.footer {
  position: relative;
  padding: 76px 0 44px;
  background: var(--black);
  border-top: 1px solid var(--line);
  color: var(--muted-light);
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), transparent);
  opacity: 0.5;
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }

.footer h3 { font-size: 15px; color: var(--white); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer p { font-size: 15px; color: var(--muted); }
.footer small { font-size: 13px; color: var(--muted); opacity: 0.8; }

.footer a { display: block; color: var(--muted); margin: 9px 0; font-size: 15px; width: fit-content; }
.footer a:hover { color: var(--cyan); }

/* .footer a is more specific than .btn-primary, so buttons in the footer need
   their colour and type restated or the label renders muted grey (and cyan on hover). */
.footer .btn {
  display: inline-flex;
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  color: var(--white);
}
.footer .btn:hover { color: var(--white); }

.footer-logo img { height: 42px; margin-bottom: 18px; }

/* ==========================================================================
   20 · MOTION
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* If JS never runs, nothing should stay invisible */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ==========================================================================
   21 · RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .growth-loop.compact { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 980px) {
  .nav-inner { min-height: 74px; }
  .menu-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 86px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .menu-open .nav-links { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; font-size: 16px; }
  .nav-links a::after { display: none; }

  /* Keep the CTA on phones - it is the primary conversion path - just smaller */
  .nav-actions { gap: 8px; }
  .nav-actions .btn-primary { padding: 11px 16px; font-size: 13.5px; }
  .menu-toggle { padding: 10px 14px; font-size: 13.5px; }

  .cards,
  .service-education,
  .results-band,
  .footer-grid,
  .case-grid,
  .form-wrap,
  .why-us-grid,
  .why-us-features,
  .comparison,
  .split,
  .growth-loop,
  .growth-loop.compact { grid-template-columns: 1fr; }

  .results-band { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .funnel-laser-track { display: none; }
  .funnel-stage { padding: 28px 24px; }
  .founder-card { flex-direction: column; text-align: center; }
  .founder-actions { justify-content: center; }
  .service-row { flex-wrap: wrap; }
  .row-arrow { display: none; }
}

@media (max-width: 640px) {
  :root { --gap: 16px; }

  h1 { font-size: clamp(32px, 8vw, 40px); }
  h2 { font-size: clamp(26px, 6.5vw, 32px); }

  .phrase-badge { font-size: 20px; padding: 8px 18px; }
  .phrase-main { font-size: 38px; }
  .phrase-pill { font-size: 22px; padding: 8px 20px; }

  .cards, .results-band, .footer-grid, .process, .service-list { grid-template-columns: 1fr; }
  .stat-tiles { grid-template-columns: 1fr; }

  .cta-row { gap: 12px; }
  .cta-row .btn { width: 100%; }

  .card, .case, .form, .compare-box, .founder-card { padding: 24px; }
  .article { padding-left: 20px; padding-right: 20px; }
  .article .lede { font-size: 18px; padding-left: 16px; }
  .faq-item { padding: 2px 18px; }
  .faq-item summary { font-size: 16.5px; }
  .hero-copy { font-size: 17.5px; }
}

/* ==========================================================================
   22 · TIMELINE
   A vertical rail for sequenced work (engagement weeks, phases).
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 42px;
  counter-reset: phase;
}

/* The rail itself, fading out at both ends */
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--purple) 8%, var(--cyan) 55%, var(--emerald) 92%, transparent);
  opacity: 0.7;
}

.phase {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 26px 30px;
  backdrop-filter: blur(18px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* Node on the rail */
.phase::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.12), 0 0 14px var(--cyan);
}

.phase:hover {
  transform: translateX(5px);
  border-color: var(--glass-border-cyan);
  box-shadow: var(--shadow-cyan);
}

.phase-when {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.24);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  margin-bottom: 14px;
}

.phase h3 { font-size: 21px; margin-bottom: 8px; }
.phase p { font-size: 15.5px; margin-bottom: 0; }
.phase p + p { margin-top: 10px; }

.phase-out {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.phase-out span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 13px;
}

/* ==========================================================================
   23 · CTA BAND
   Full-width closing call to action.
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 100% at 20% 0%, rgba(143, 0, 255, 0.30) 0%, transparent 62%),
    radial-gradient(ellipse 50% 100% at 85% 100%, rgba(0, 240, 255, 0.14) 0%, transparent 60%),
    #0a0715;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 10%, transparent 72%);
  pointer-events: none;
}

.cta-band .container { position: relative; z-index: 2; }

.cta-band-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta-band-inner h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.cta-band-inner p { font-size: 18.5px; max-width: 620px; margin: 0 auto 8px; }
.cta-band-inner .cta-row { justify-content: center; }

/* Trust strip under the CTA */
.cta-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.cta-trust span::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 800;
}

@media (max-width: 640px) {
  .timeline { padding-left: 30px; }
  .timeline::before { left: 9px; }
  .phase { padding: 22px 20px; }
  .phase::before { left: -28px; top: 26px; width: 12px; height: 12px; }
}

/* ==========================================================================
   ACCESSIBILITY & PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .track { animation: none; }
}/* Comparison tables inside articles. Scoped to .article: no other surface on
   the site uses a table,
and this must not leak into one later. */
.article .tbl {
  overflow-x: auto;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  -webkit-overflow-scrolling: touch;
}

.article .tbl table,
.case .tbl table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.article .tbl th,
.case .tbl th,
.article .tbl td,
.case .tbl td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.article .tbl thead th,
.case .tbl thead th {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.05);
  white-space: nowrap;
}

.article .tbl td,
.case .tbl td { color: var(--muted-light); }

.article .tbl td strong,
.case .tbl td strong { color: var(--ink); }

.article .tbl tbody tr:last-child th,
.case .tbl tbody tr:last-child th,
.article .tbl tbody tr:last-child td,
.case .tbl tbody tr:last-child td { border-bottom: 0; }

.article .tbl tbody tr:hover td,
.case .tbl tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

@media print {
  body::after, .nav, .footer .btn, #hero-canvas { display: none; }
  body { background: #fff; color: #000; }
  .article p, .article li { color: #222; }
}

/* ==========================================================================
   VSL - homepage sales video
   A click-to-play facade, not a live iframe. The YouTube player is roughly
   900 KB of JavaScript, and most visitors never press play, so the embed is
   only injected on click. Until then this is one 78 KB image and no scripts.
   ========================================================================== */
.vsl-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-surface-elevated);
}

/* Reserve the 16:9 box before the poster loads, so nothing shifts under it */
.vsl-frame::after {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.vsl-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
  color: inherit;
  font: inherit;
}

.vsl-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.vsl-play:hover img,
.vsl-play:focus-visible img { transform: scale(1.02); filter: brightness(1.06); }

/* Keeps the button readable over a bright frame, and darkens on hover so the
   play control stays the brightest thing in the box */
.vsl-play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(5, 7, 13, 0.30), rgba(5, 7, 13, 0.62));
  transition: opacity var(--dur) var(--ease);
  opacity: 0.85;
}

.vsl-play:hover::before,
.vsl-play:focus-visible::before { opacity: 1; }

.vsl-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 88px);
  height: clamp(64px, 8vw, 88px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 11, 20, 0.78);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(0, 240, 255, 0.55);
  box-shadow: var(--shadow-cyan), 0 0 0 6px rgba(0, 240, 255, 0.07);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.vsl-play:hover .vsl-btn,
.vsl-play:focus-visible .vsl-btn {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: var(--shadow-cyan), 0 0 0 12px rgba(0, 240, 255, 0.10);
}

.vsl-btn svg {
  width: 38%;
  height: 38%;
  fill: var(--cyan);
  margin-left: 9%;
  filter: drop-shadow(0 0 10px var(--cyan-glow));
}

.vsl-dur {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--glass-bg-strong);
  border: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.vsl-play:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* Once clicked, the iframe replaces the button and fills the same box */
.vsl-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--r-lg);
}

.vsl-note {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin: 18px auto 0;
  max-width: 560px;
}

@media (max-width: 640px) {
  .vsl-frame { border-radius: var(--r-md); }
  .vsl-frame iframe { border-radius: var(--r-md); }
  .vsl-dur { right: 10px; bottom: 10px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .vsl-play img,
  .vsl-btn { transition: none; }
  .vsl-play:hover img,
  .vsl-play:focus-visible img { transform: none; }
}

/* ==========================================================================
   Nav dropdown
   Hover on desktop, focus-within for keyboard, and on phones it simply
   unfolds inline because the nav is already a vertical column there. No JS,
   so it cannot break if a script fails to load.
   ========================================================================== */
.nav-item { position: relative; display: flex; align-items: center; }

.nav-parent::before {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: 0.6;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.has-sub:hover .nav-parent::before,
.has-sub:focus-within .nav-parent::before {
  opacity: 1;
  transform: translateY(-20%) rotate(225deg);
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 330px;
  margin-top: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* Near solid rather than glass: this panel sits over the hero, and text on
     a translucent ground over a busy shader is the one place blur is not
     enough. Browsers without backdrop-filter still get a readable panel. */
  background: rgba(16, 21, 35, 0.985);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}

/* Bridges the gap between the nav item and the panel, so moving the pointer
   down onto the panel does not pass through dead space and close it. */
.nav-sub::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.has-sub:hover .nav-sub,
.has-sub:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-sub a {
  display: block;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease);
}

.nav-sub a:hover,
.nav-sub a:focus-visible { background: rgba(143, 0, 255, 0.14); }
.nav-sub a::after { display: none; }
.nav-sub b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; }
.nav-sub a:hover b { color: var(--cyan); }
.nav-sub small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav-item { display: block; width: 100%; }
  .nav-parent::before { display: none; }

  .nav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 2px 0 8px;
    padding: 0 0 0 14px;
    min-width: 0;
    background: none;
    backdrop-filter: none;
    border: 0;
    border-left: 1px solid var(--line-strong);
    border-radius: 0;
    box-shadow: none;
  }

  .nav-sub::before { display: none; }
  .nav-sub a { padding: 8px 0; }
  .nav-sub small { display: none; }
}

/* ==========================================================================
   Client reviews
   A quote is only worth the attribution under it, so the card is built
   attribution first: the name, role and company logo get real weight rather
   than being a grey afterthought under the text.
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.review:hover { border-color: var(--glass-border-cyan); transform: translateY(-3px); }

.review .mark {
  width: 26px;
  height: 22px;
  fill: var(--purple-soft);
  opacity: 0.55;
  flex: none;
}

.review blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-light);
}

.review blockquote strong { color: var(--ink); font-weight: 600; }

/* Pushes the attribution to the bottom so cards of different quote lengths
   still line their names up across the row. */
.review-by {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.review-by img.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--line-strong);
}

/* Fallback when there is no headshot: the person's initials */
.review-by .initials {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: linear-gradient(140deg, rgba(143, 0, 255, 0.55), rgba(0, 240, 255, 0.35));
  border: 1px solid var(--line-strong);
}

.review-by .who { min-width: 0; }
.review-by b { display: block; font-size: 14.5px; color: var(--ink); }
.review-by span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.review-by img.rlogo { height: 22px; width: auto; margin-left: auto; opacity: 0.75; flex: none; }

@media (max-width: 980px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review { padding: 22px; }
}

/* ==========================================================================
   Pricing
   Same card language as .service-row, but the price has to be the thing the
   eye lands on, so it gets its own scale step above the service name.
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: stretch;
}

.price {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.price:hover { border-color: var(--glass-border-cyan); transform: translateY(-3px); }

.price .service-num {
  align-self: flex-start;
  margin-bottom: 2px;
}

.price h2,
.price h3 { font-size: 22px; margin: 0; }

.price .amount {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(30px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.price .amount span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--cyan);
}

.price > p { font-size: 15px; color: var(--muted-light); margin: 0; }

/* The tier table. Numbers align on the right so the rates read as a column. */
.tiers {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.tiers div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--muted-light);
}

.tiers div + div { border-top: 1px solid var(--line); }
.tiers b {
  color: var(--cyan);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex: none;
}

.price .note {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.price .fills { margin-top: auto; }

/* --- Engagement terms ---------------------------------------------------- */
.terms {
  max-width: 780px;
  margin: 40px auto 0;
  padding: 26px 30px;
  border-radius: var(--r-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line);
}

.terms h3 { font-size: 16px; margin: 0 0 12px; color: var(--ink); }
.terms p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted-light); }
.terms p + p { margin-top: 10px; }
.terms strong { color: var(--ink); }

/* --- The guarantee ------------------------------------------------------- */
/* This is the page's argument, so it gets the only gradient border on the
   site outside the hero. Everything else here is deliberately quieter. */
.guarantee-wrap {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 2px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--purple), var(--cyan) 55%, rgba(0, 255, 157, 0.7));
}

.guarantee {
  border-radius: calc(var(--r-xl) - 2px);
  background: #0a0d16;
  padding: clamp(28px, 4vw, 46px);
}

.guarantee h2 { margin: 14px 0 20px; }

.guarantee p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted-light);
  margin: 0 0 18px;
}

.guarantee p:last-child { margin-bottom: 0; }
.guarantee p strong { color: var(--ink); }

/* The honesty paragraph. Set apart because it is the part that earns the
   rest of the page, not a disclaimer to be skimmed past. */
.guarantee .limits {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--amber);
  font-size: 15.5px;
  color: var(--muted-light);
}

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .terms { padding: 22px; }
}

/* ==========================================================================
   Method timelines and time cost
   Same row language as .tiers on the pricing page, because these are read the
   same way: a fixed left column you scan down, and detail on the right.
   ========================================================================== */
.tl {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tl > div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted-light);
}

.tl > div + div { border-top: 1px solid var(--line); }

.tl b {
  color: var(--cyan);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* The day-60 checkpoint is the guaranteed one, so it reads differently. */
.tl .check { color: var(--ink); }
.tl .check em { font-style: normal; color: var(--emerald); }

.hours {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--glass-bg);
  overflow: hidden;
}

.hours > div {
  display: grid;
  grid-template-columns: 130px 120px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 15px 20px;
  font-size: 15px;
  color: var(--muted-light);
}

.hours > div + div { border-top: 1px solid var(--line); }
.hours b { color: var(--ink); font-weight: 700; }
.hours span.dur { color: var(--cyan); font-weight: 700; font-variant-numeric: tabular-nums; }

@media (max-width: 620px) {
  .hours > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
}

/* ============================================================
   Lead magnet forms  (magnet-form.js)
   Any block using .magnet-card / form.magnet-form picks these up.
   ============================================================ */

.magnet-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.75rem;
  margin: 2.5rem 0;
}

.magnet-card h3 {
  margin: 0 0 .5rem;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.3;
}

.magnet-card p.magnet-blurb {
  margin: 0 0 1.25rem;
  color: var(--muted-light);
  font-size: .95rem;
  line-height: 1.6;
}

form.magnet-form {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: flex-start;
}

form.magnet-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: .8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--bg-surface);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
}

form.magnet-form input[type="email"]::placeholder { color: var(--muted); }

form.magnet-form input[type="email"]:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

form.magnet-form .magnet-submit { flex: 0 0 auto; }

form.magnet-form .magnet-submit[disabled] { opacity: .6; cursor: progress; }

.magnet-turnstile { flex: 1 1 100%; min-height: 0; }

.magnet-msg {
  flex: 1 1 100%;
  margin: .25rem 0 0;
  min-height: 1.2em;
  color: var(--rose);
  font-size: .88rem;
}

.magnet-note {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.magnet-done {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-cyan);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  color: var(--muted-light);
  font-size: .95rem;
  line-height: 1.6;
}

.magnet-done strong { color: var(--emerald); }

@media (max-width: 520px) {
  form.magnet-form .magnet-submit { flex: 1 1 100%; }
}

/* ---- lead magnet landing page (get.php) ---- */

/*
   This page has no nav and no hero canvas, so it has to carry the brand on
   its own. The radial glow is the same one .hero uses, which is what makes
   it read as the same site rather than a bare form on a dark rectangle.
*/
body.magnet-page {
  background: radial-gradient(circle at 50% 0%, #1c0535 0%, var(--bg-dark) 62%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.magnet-lp {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.25rem 4.5rem;
}

/* centred, like .hero-center on every other page */
.magnet-lp-head { text-align: center; }

/* block, not inline-block: the eyebrow below is inline-flex, so an inline
   logo shares a line box with it and both drift off centre */
.magnet-lp-logo {
  display: block;
  width: max-content;
  margin: 0 auto 2.25rem;
}
.magnet-lp-logo img {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(143, 0, 255, 0.45));
}

.magnet-lp h1 {
  margin: .85rem 0 1.15rem;
  font-size: clamp(1.85rem, 4.6vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.magnet-lp-blurb {
  margin: 0 auto;
  max-width: 34em;
  color: var(--muted-light);
  font-size: 1.06rem;
  line-height: 1.65;
}

/*
   Bullets stay left aligned. Centred body copy is hard to scan the moment a
   line wraps, and every one of these wraps.
*/
.magnet-lp-list {
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.magnet-lp-list li {
  position: relative;
  padding: .45rem 0 .45rem 1.6rem;
  color: var(--muted-light);
  line-height: 1.55;
}

.magnet-lp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.magnet-lp-effort {
  margin: 1.75rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(0, 240, 255, .05);
  color: var(--muted-light);
  font-size: .94rem;
  line-height: 1.62;
}

/* the ask, raised above the rest of the page */
.magnet-lp .magnet-card {
  margin: 2.75rem 0 2rem;
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-cyan);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  padding: 2rem;
}

.magnet-lp .magnet-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}

.magnet-lp-foot {
  margin: 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.magnet-lp-foot a { color: var(--muted-light); }

@media (max-width: 560px) {
  .magnet-lp { padding: 2.5rem 1.1rem 3.5rem; }
  /* six centred lines is hard to read on a phone. The heading stays
     centred, the paragraph under it does not. */
  .magnet-lp-blurb { text-align: left; }
  .magnet-lp .eyebrow { font-size: 11.5px; letter-spacing: .09em; padding: 6px 14px; }
  .magnet-lp-logo { margin-bottom: 1.75rem; }
  .magnet-lp-logo img { height: 38px; }
  /* Turnstile renders at a fixed 300px and will not reflow. On a 375px
     phone the card only has 274px of inner width, so the widget is scaled
     rather than clipped: clipping hides the Cloudflare branding, which
     their terms require stay visible. Height is set to the scaled height
     so the transform does not leave dead space under it. */
  .magnet-lp .magnet-card { padding: 1.4rem 1.05rem; }
  .magnet-turnstile {
    transform: scale(.88);
    transform-origin: left top;
    height: 58px;
  }
}

/* Inline SVG diagrams inside guides. The svg is authored at a fixed viewBox
   and scaled to the column, so one set of coordinates works at every width.
   Colours come from the palette tokens rather than baked hexes, so a future
   palette change reaches the figures too. */
.article .fig {
  margin: 32px 0;
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  overflow-x: auto;
}
.article .fig svg {
  display: block;
  width: 100%;
  min-width: 520px;
  height: auto;
  font-family: 'Inter', system-ui, sans-serif;
}
.article .fig figcaption {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .article .fig { padding: 16px 14px 14px; }
  .article .fig figcaption { font-size: 13.5px; }
}

/* Case header: tags and title on the left, the client's logo card on the
   right. Columns match .case-grid below, so the logo sits directly over the
   numbers it belongs to. Putting the logo here, rather than above the stats,
   fills the empty right half of the header row and stops the stats column
   from towering over the story text beside it. */
.case-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 26px;
}
.case-head h3 { margin-bottom: 0; }

/* The logo card. A white landscape panel carrying the client's full wordmark,
   taken from each company's own site or brand page. Wordmarks run from about
   3.8:1 (Rocket) to 6.4:1 (ImagineArt); a fixed width with a height cap keeps
   the wide ones from looking thin and the compact ones from looking heavy. */
.case-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 1;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.case-brand img {
  width: 52%;
  height: auto;
  max-height: 50%;
  object-fit: contain;
}

/* The card scales in rather than only rising, which reads as an arrival.
   Everything else about the reveal comes from [data-reveal]. */
[data-reveal].case-brand { transform: translateY(20px) scale(0.96); }
[data-reveal].case-brand.is-visible { transform: none; }

/* Trailing margins that stacked into dead space: the last paragraph of the
   story column, and the stat block on cases that have no tiles under it,
   where its margin sat on top of the video list's own top margin. */
.case-grid > div > p:last-child { margin-bottom: 0; }
.case-grid .headline-stat:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .case-grid { gap: 22px; }
  /* One column: logo first, so the reader knows whose case it is before the
     headline makes its claim. */
  .case-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 20px; }
  .case-brand { order: -1; aspect-ratio: 5 / 2; }
  .case-brand img { width: 58%; }
}

/* Results page showreel, edge to edge as the hero itself. Scoped to
   .page-hero--reel so the other pages sharing .page-hero keep their spacing.
   The video keeps its full 16:9: cropping it to a shorter band would cut the
   headline type and the funnel graphic, which sit near the top and bottom. */
/* On /results the reel is the whole hero: it sits flush under the sticky nav,
   whose own bottom border already draws the line above it. */
.page-hero--reel { padding: 0; }
.page-hero--reel .reel {
  position: relative;
  z-index: 2;                       /* above the hero grid and the glow orb */
  margin: 0;
}
.page-hero--reel .reel-frame { border-top: 0; }

/* Desktop: inset the reel with room either side and round its corners, so it
   reads as a feature on the page rather than a band behind it. At 1280px wide
   it matches the 720p files pixel for pixel. Tablets and phones keep it edge
   to edge, where the screen is too narrow to spare the margin. */
@media (min-width: 981px) {
  .page-hero--reel .reel {
    width: min(1280px, calc(100% - 96px));
    margin: 28px auto 0;
  }
  .page-hero--reel .reel-frame {
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
  }
}

/* Hidden from view, still read by screen readers and search engines. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.reel-frame {
  position: relative;
  aspect-ratio: 16 / 9;             /* reserves the box before the poster loads */
  overflow: hidden;
  background: var(--bg-dark);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.reel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-toggle {
  position: absolute;
  right: clamp(12px, 2.5vw, 32px);
  bottom: clamp(12px, 2.5vw, 28px);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.reel-toggle:hover { border-color: var(--purple-soft); }
.reel-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.reel figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 16px 28px;
}
@media (max-width: 640px) {
  .reel-toggle { padding: 6px 12px; font-size: 12px; }
  .reel figcaption { font-size: 14px; padding-bottom: 22px; }
}

/* The results page's ground rule, set quietly between the closing CTA and the
   footer so it reads as the terms the page's numbers were written under. */
.page-rule { padding: 30px 0; border-top: 1px solid var(--line); }
.page-rule p {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.page-rule b { color: var(--ink); font-weight: 600; }


/* ==========================================================================
   10DLC additions (22 Oct 2026): footer legal line, SMS consent, company details
   ========================================================================== */
.footer .legal-line { display: block; margin-top: 10px; line-height: 1.6; }
.footer .legal-line a { display: inline; margin: 0; font-size: 13px; width: auto; }
.form .opt { font-weight: 500; opacity: 0.7; }
.sms-consent { display: flex; gap: 12px; align-items: flex-start; margin: 2px 0 16px; }
.sms-consent input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; padding: 0; accent-color: var(--cyan); cursor: pointer; }
.sms-consent label { font-size: 13px; font-weight: 400; line-height: 1.55; color: var(--muted); margin: 0; cursor: pointer; }
.sms-consent label strong { color: var(--muted-light); font-weight: 700; }
.sms-consent a, .company-details a { color: var(--cyan); text-decoration: underline; }
.company-details { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 18px 0 0; }
