/* ==========================================================================
   MSET Unified Design Tokens. inlined from mset-hub/styles/_design.css
   ========================================================================== */
:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-hover: #f4f3ef;
  --surface-elevated: #ffffff;
  --surface-active: #ecebe5;
  --surface-glass: rgba(255,255,255,0.72);
  --border: #e5e5e3;
  --border-strong: #d4d4d2;
  --border-soft: #efeeea;

  --fg: #0a0a0a;
  --fg-secondary: #4b4b48;
  --fg-muted: #6b6b6b;
  --fg-subtle: #a3a3a0;

  --accent: #0a0a0a;
  --accent-hover: #1f1f1f;
  --accent-2: #1e293b;
  --gradient-headline: linear-gradient(135deg, #0f172a 0%, #1e293b 35%, #475569 75%, #94a3b8 100%);
  --gradient-accent:   linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);

  --ok: #16a34a;
  --warn: #16a34a;
  --danger: #2563eb;
  --info: #2563eb;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 2px 6px rgba(15,23,42,0.06), 0 0 0 1px rgba(15,23,42,0.04);
  --shadow-lg: 0 8px 30px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04);
  --shadow-xl: 0 24px 60px -20px rgba(15,23,42,0.18), 0 0 0 1px rgba(15,23,42,0.05);
  --shadow-tile-hover: 0 12px 32px -12px rgba(15,23,42,0.14), 0 0 0 1px rgba(15,23,42,0.05);

  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 17px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --text-5xl: 60px;

  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.08em;

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 350ms;
}

@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}
@keyframes mset-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mset-scale-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--fg-subtle); border: 2px solid transparent; background-clip: padding-box; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Switzer', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent); color: #fff; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.gradient-text {
  background: var(--gradient-headline);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* Container */
.wrap {
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* Status bar */
.dot-online {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
  animation: pulse-soft 2.4s ease-in-out infinite;
}

/* Header */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 16px;
  position: relative;
}
header.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand .wordmark { height: 38px; width: auto; display: block; flex-shrink: 0; }
.sep { color: var(--fg-subtle); font-weight: 200; font-size: 22px; line-height: 1; }
.site-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 500;
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  line-height: 1.25;
  gap: 1px;
}
.site-label .label-top { color: var(--fg-muted); font-weight: 500; }
.site-label .label-bot { color: var(--fg-muted); font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: var(--text-sm); color: var(--fg-muted); }
.nav-links a { transition: color var(--dur-base) var(--ease-out-expo); }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 0;
  transition: background var(--dur-base) var(--ease-out-expo), transform 50ms var(--ease-in-out);
}
.nav-cta:hover { background: var(--accent-hover); }
.nav-cta:active { transform: scale(0.97); }
@media (max-width: 820px) { .nav-links { display: none; } .nav-toggle { display: inline-flex; } }
@media (max-width: 640px) {
  .sep, .site-label, .nav-cta { display: none; }
  .nav-right { gap: 0; }
}

/* Hero */
main.hero-main {
  padding: 96px 0 64px;
  animation: mset-fade-up .55s var(--ease-out-expo) both;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
}
.hero-left { text-align: left; }
@media (max-width: 980px) {
  main.hero-main { padding: 64px 0 48px; }
}
.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--text-xs);
  color: var(--fg-muted);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-subtle); }
h1.hero-title {
  font-size: clamp(40px, 5.8vw, 64px);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.025em;
  font-family: 'Switzer', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin-bottom: 20px;
  font-feature-settings: "cv11", "ss01", "ss03";
  color: var(--fg);
}
h1.hero-title .hero-it {
  font-style: italic;
  font-weight: inherit;
  padding-right: 0.04em;
}
h1.hero-title em {
  font-style: normal;
  font-weight: 700;
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: var(--fg-muted);
  font-size: var(--text-base);
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  max-width: 540px;
}
.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 18px;
  border-right: 1px solid var(--border-soft);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; padding-right: 0; }
.hero-stat-num {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hero-stat-label {
  font-size: 10px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: 600;
}

/* Apply card */
.apply-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: mset-scale-in .35s var(--ease-out-expo) both;
}
.apply-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.apply-card-head h3 { font-size: var(--text-md); font-weight: 600; letter-spacing: -0.01em; flex: 1; }
.apply-card-head .badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--ok);
  background: rgba(22,163,74,0.08);
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.apply-card-head .badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
  animation: pulse-soft 2.4s ease-in-out infinite;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: var(--text-sm);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--fg);
  outline: none;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}
.field textarea { resize: vertical; min-height: 76px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.submit-btn {
  width: 100%;
  padding: 14px 18px;
  background: var(--accent-bright);
  color: #fff;
  border: 0;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-top: 8px;
  transition: background var(--dur-base), transform 50ms var(--ease-in-out);
}
.submit-btn:hover { background: var(--accent-bright-hover); }
.submit-btn:active { transform: scale(0.98); }
.privacy {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--text-xs);
  color: var(--fg-muted);
  margin-top: 12px;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Stats bar. 6-up (FIX #2: real numbers, more depth, more breathing room)
   ========================================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 32px 0 72px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(244,243,239,0.4) 100%);
  pointer-events: none;
}
.stats-bar > div {
  padding: 32px 24px;
  border-right: 1px solid var(--border-soft);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats-bar > div:last-child { border-right: 0; }
.stats-bar .stat-lbl-top {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: 600;
}
.stats-bar .num {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.stats-bar .num small {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0;
}
.stats-bar .lbl {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
  font-weight: 500;
  line-height: 1.4;
}
.stats-bar .delta {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: var(--ok);
  letter-spacing: 0.01em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stats-bar .delta::before {
  content: '▲';
  font-size: 8px;
  line-height: 1;
}
@media (max-width: 980px) {
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .stats-bar > div:nth-child(3) { border-right: 0; }
  .stats-bar > div:nth-child(-n+3) { border-bottom: 1px solid var(--border-soft); }
}
@media (max-width: 580px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar > div { border-right: 1px solid var(--border-soft) !important; border-bottom: 1px solid var(--border-soft); padding: 22px 18px; }
  .stats-bar > div:nth-child(2n) { border-right: 0 !important; }
  .stats-bar > div:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Section frame */
section { padding: 48px 0; }
.section-head { margin-bottom: 28px; max-width: 720px; }
.section-eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--text-xs);
  color: var(--fg-muted);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-eyebrow .pulse-dot,
.contact-eyebrow .pulse-dot,
.proof-bar-eyebrow .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
  animation: pulse-soft 2.4s ease-in-out infinite;
  display: inline-block;
}
h2.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--fg);
}
h2.section-title em {
  font-style: normal;
  background: var(--gradient-headline);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
/* ===== TRUST STRIP (post-hero social proof anchor) ===== */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 44px 0;
}
.trust-strip-inner {
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.trust-strip-label {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
  position: relative;
  padding-bottom: 14px;
}
.trust-strip-label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: var(--border);
}
.trust-strip-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-logo {
  height: 64px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.9;
}
.trust-logo-text {
  font-family: var(--font-display, inherit);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.015em;
}
.trust-logo-pending {
  font-weight: 400;
  color: var(--fg-subtle);
  font-style: italic;
}
.trust-logo-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fg-subtle);
  color: transparent;
  font-size: 0;
  user-select: none;
  opacity: 0.55;
}
@media (max-width: 640px) {
  .trust-strip { padding: 32px 0; }
  .trust-strip-inner { gap: 16px; }
  .trust-strip-logos { gap: 20px; }
  .trust-logo-text { font-size: var(--text-md); }
}

.section-sub {
  font-size: var(--text-md);
  color: var(--fg-secondary);
  line-height: 1.6;
  max-width: 600px;
}

/* ==========================================================================
   FIX #3. Case Study Section
   ========================================================================== */
.case-section { padding: 56px 0 64px; }
.case-header { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 820px; }
.case-eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--text-xs);
  color: var(--fg-muted);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.case-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
  animation: pulse-soft 2.4s ease-in-out infinite;
}
.case-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.case-title-row img.client-logo {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.case-title-row h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.1;
  color: var(--fg);
}
.case-title-row h2 em {
  font-style: normal;
  background: var(--gradient-headline);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.case-subtitle {
  font-size: var(--text-md);
  color: var(--fg-secondary);
  line-height: 1.5;
  max-width: 680px;
}
.case-context { font-size: 13px; color: var(--fg-muted); margin-top: 10px; max-width: 720px; line-height: 1.55; font-style: italic; }
.case-context b { color: var(--fg-secondary); font-style: normal; font-weight: 600; }

.case-narrative {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 48px;
}
@media (max-width: 980px) { .case-narrative { grid-template-columns: 1fr; gap: 20px; } }
.case-narrative-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.case-narrative-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.case-narrative-block h4 {
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 10px;
  color: var(--fg);
}
.case-narrative-block p {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* Screenshot frame */
.case-screenshot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-lg);
  max-width: 880px;
  margin: 0 auto 16px;
}
.case-screenshot-frame {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-hover);
}
.case-screenshot-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28px;
  background: linear-gradient(180deg, #f4f3ef 0%, #ecebe5 100%);
  border-bottom: 1px solid var(--border);
  z-index: 1;
}
.case-screenshot-frame::after {
  content: '● ● ●';
  position: absolute;
  top: 8px;
  left: 12px;
  color: #c7c6c1;
  font-size: 11px;
  letter-spacing: 4px;
  z-index: 2;
}
.case-screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
}
.case-screenshot-cap {
  font-size: var(--text-xs);
  color: var(--fg-muted);
  line-height: 1.55;
  margin-top: 14px;
  padding: 0 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.01em;
}
.case-screenshot-cap b { color: var(--fg-secondary); font-weight: 600; }

/* Adset breakdown table */
.case-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 48px 0 32px;
  max-width: 880px;
}
.case-table-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-hover);
}
.case-table-head h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.case-table-head .meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.case-table thead th {
  text-align: left;
  padding: 10px 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.case-table thead th.r { text-align: right; }
.case-table tbody td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg-secondary);
  font-variant-numeric: tabular-nums;
}
.case-table tbody td.r { text-align: right; }
.case-table tbody tr:nth-child(even) td { background: var(--surface-hover); }
.case-table tbody tr.total-row td {
  font-weight: 700;
  color: var(--fg);
  border-top: 1px solid var(--border-strong);
  border-bottom: 0;
  background: var(--surface) !important;
}
.case-table tbody tr.total-row td:first-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-muted);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}
.status-pill .pdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg-subtle);
}
.status-pill.active { color: var(--ok); }
.status-pill.active .pdot {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
}
.case-table tbody td.adset-name {
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.case-table tbody td.roas-cell {
  color: var(--fg);
  font-weight: 600;
}

/* Pull quote callout */
.case-pullquote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
  position: relative;
  overflow: visible;
}
.case-pullquote::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gradient-headline);
}
.case-pullquote-num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-headline);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  display: inline-block;
  margin-bottom: 14px;
}
.case-pullquote blockquote {
  font-size: var(--text-lg);
  color: var(--fg);
  line-height: 1.45;
  letter-spacing: -0.012em;
  font-weight: 500;
  margin-bottom: 16px;
  max-width: 760px;
}
.case-pullquote cite {
  font-style: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--text-xs);
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Service tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
/* When exactly 4 tiles, force 2x2 to avoid an orphan in the third row */
.tile-grid.tile-grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .tile-grid, .tile-grid.tile-grid--4 { grid-template-columns: 1fr; } }
.tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out-expo),
              box-shadow var(--dur-base) var(--ease-out-expo),
              border-color var(--dur-fast);
  display: flex;
  flex-direction: column;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-tile-hover);
  border-color: var(--border-strong);
}
.tile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tile-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-subtle);
  text-transform: uppercase;
  padding: 3px 7px;
  background: var(--surface-hover);
  border-radius: 4px;
}
.tile-num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--fg-subtle); font-weight: 500; }
.tile-title { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.012em; margin-bottom: 8px; }
.tile-desc { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.55; margin-bottom: 18px; }
.tile-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.tile-list li { font-size: var(--text-sm); color: var(--fg-secondary); line-height: 1.55; position: relative; padding-left: 14px; }
.tile-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--fg-subtle);
}
.tile-list li strong { color: var(--fg); font-weight: 600; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
@media (max-width: 980px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { padding: 24px 22px; border-right: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 8px; }
.process-step:last-child { border-right: 0; }
@media (max-width: 980px) {
  .process-step { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .process-step:last-child { border-bottom: 0; }
}
.process-num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--text-xs); color: var(--fg-subtle); letter-spacing: 0.05em; font-weight: 600; }
.process-title { font-size: var(--text-md); font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.process-desc { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.55; }

/* About */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-base);
}
.pillar:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-md);
  background: var(--surface-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--fg-secondary);
}
.pillar-title { font-size: var(--text-md); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.pillar-desc { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.55; }

/* FAQ */
.faq-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 18px 22px;
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: -0.005em;
  transition: background var(--dur-fast);
}
.faq-q:hover { background: var(--surface-hover); }
.faq-q .chev { flex-shrink: 0; color: var(--fg-muted); transition: transform var(--dur-base) var(--ease-out-expo); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out-expo); }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 22px 20px; font-size: var(--text-sm); color: var(--fg-secondary); line-height: 1.65; max-width: 760px; }

/* Final CTA */
.final-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}
.final-cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.final-cta p {
  color: var(--fg-secondary);
  font-size: var(--text-md);
  margin-bottom: 24px;
  line-height: 1.6;
}
.final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 0;
  transition: background var(--dur-base) var(--ease-out-expo),
              transform 50ms var(--ease-in-out),
              gap var(--dur-base) var(--ease-out-expo);
}
.final-cta-btn:hover { background: var(--accent-2); gap: 12px; }
.final-cta-btn:active { transform: scale(0.98); }

/* Footer */
footer.site-footer {
  padding: 56px 0 28px;
  margin-top: 56px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--text-xs);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
footer.site-footer a { color: var(--fg-muted); transition: color .15s; }
footer.site-footer a:hover { color: var(--fg); }
footer.site-footer .v { color: var(--fg-subtle); }

@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;
  }
}

/* ===== EXPANDED FOOTER ===== */
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.footer-brand-mark { display: flex; align-items: center; gap: 10px; }
.footer-brand-mark img { height: 24px; width: auto; }
.footer-tagline { font-size: var(--text-xs); color: var(--fg-muted); line-height: 1.55; font-family: 'Switzer', 'Inter', sans-serif; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg); font-weight: 600; margin-bottom: 6px; font-family: 'Switzer', 'Inter', sans-serif; }
.footer-col a { color: var(--fg-muted); text-decoration: none; font-size: var(--text-sm); transition: color .15s; font-family: 'Switzer', 'Inter', sans-serif; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border-soft); }
@media (max-width: 768px) {
  footer.site-footer { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 0 24px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}


/* ===== HOME STAT CALLOUT (visual treatment) ===== */
.stat-callout {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 880px;
  margin: 0 auto;
}
.stat-callout .section-eyebrow { justify-content: center; }
.stat-callout h2 { font-size: clamp(32px, 4vw, 44px); margin: 12px 0 12px; letter-spacing: -0.02em; }
.stat-callout p { color: var(--fg-secondary); margin: 0 auto 28px; max-width: 540px; }
.stat-callout .nav-cta { display: inline-block; }
@media (max-width: 640px) {
  .stat-callout { padding: 40px 24px; }
}


/* ===========================================================================
   DESIGN SYSTEM v3 (DanAds + Fanntastic patterns)
   ========================================================================== */

/* === Dark section variant (alternating backgrounds for visual rhythm) === */
section.dark-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1e293b 100%);
  color: #fff;
  margin: 64px 0;
  padding: 72px 40px;
  border-radius: var(--radius-xl);
  position: relative;
}
section.dark-section .section-eyebrow { color: rgba(255,255,255,0.7); }
section.dark-section .section-eyebrow .pulse-dot { background: #16a34a; }
section.dark-section .section-title { color: #fff; }
section.dark-section .section-title em { color: #94a3b8; font-style: italic; }
section.dark-section .section-sub { color: rgba(255,255,255,0.7); }
section.dark-section .pull-num,
section.dark-section .stat-bold { color: #fff; }

/* === BIG STATS BAR — light treatment, big-brand polish === */
.stats-banner {
  background: var(--surface);
  color: var(--fg);
  padding: 44px 32px;
  margin: 48px 0 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-bright) 30%, var(--accent-bright) 70%, transparent 100%);
  opacity: 0.6;
}
.stats-banner-inner {
  max-width: 1130px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stats-banner-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.stats-banner-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stats-banner-num {
  font-size: clamp(40px, 5.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--fg);
  font-feature-settings: "tnum";
}
.stats-banner-num small {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0;
  margin-left: 2px;
}
.stats-banner-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-subtle);
  font-weight: 600;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .stats-banner { padding: 36px 24px; }
  .stats-banner-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-banner-stat:not(:last-child)::after { display: none; }
  .stats-banner-stat:not(:last-child) {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
  }
}

/* === SOCIAL PROOF / TESTIMONIAL CARD (DanAds pattern) === */
.testimonial-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 36px 28px;
  box-shadow: 0 22px 56px -32px rgba(15, 23, 42, 0.20);
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}

.testimonial-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.testimonial-meta-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.testimonial-meta-bar > span + span::before {
  content: "·";
  margin-right: 6px;
  color: var(--fg-subtle);
}
.testimonial-meta-bar .meta-verified {
  color: #15803d;
}
.testimonial-meta-bar .meta-verified::after {
  content: "✓";
  margin-left: 4px;
  font-weight: 700;
}

.testimonial-mark {
  font-family: 'Playfair Display', 'Times New Roman', Georgia, serif;
  font-size: 140px;
  line-height: 0.85;
  color: rgba(37, 99, 235, 0.20);
  position: absolute;
  top: 70px;
  left: 22px;
  font-style: italic;
  font-weight: 700;
  pointer-events: none;
  z-index: 0;
}

.testimonial-quote {
  font-family: var(--font-display, ui-serif), Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--fg);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 26px;
  padding-top: 24px;
  padding-left: 56px;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .testimonial-mark { font-size: 110px; top: 18px; left: 18px; }
  .testimonial-quote { padding-left: 36px; padding-top: 18px; font-size: 17px; }
}

.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.36);
  flex-shrink: 0;
  font-family: 'Switzer', 'Inter', sans-serif;
}
.testimonial-attr-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-attr-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  font-family: 'Switzer', 'Inter', sans-serif;
  line-height: 1.3;
}
.testimonial-attr-title {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: 'Switzer', 'Inter', sans-serif;
  line-height: 1.4;
}

/* === SECTION WITH BG VARIANT (subtle alternating) === */
section.alt-section {
  background: #fff;
  padding: 72px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  margin: 48px 0;
}

/* === ENHANCED CTA BUTTONS (DanAds-style with hover lift) === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: transform .15s, box-shadow .15s, background .15s;
  font-family: 'Switzer', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fg);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  transition: transform .15s, border-color .15s;
  font-family: 'Switzer', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}
.btn-secondary:hover {
  border-color: var(--fg);
  transform: translateY(-1px);
}

/* === HERO ENHANCEMENT (more weight) === */
.hero-eyebrow-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-secondary);
  font-weight: 500;
  font-family: 'Switzer', 'Inter', sans-serif;
  margin-bottom: 28px;
}
.hero-eyebrow-bar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === FEATURE STRIP (used for "Why MSET" inline list) === */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0;
}
.feature-strip-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-strip-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  margin-bottom: 4px;
}
.feature-strip-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg);
  font-family: 'Switzer', 'Inter', sans-serif;
}
.feature-strip-desc {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.55;
  font-family: 'Switzer', 'Inter', sans-serif;
}
@media (max-width: 768px) {
  .feature-strip { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
}


/* ===== TILE ENHANCEMENTS — color-coded discipline accents ===== */
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  isolation: isolate;
}
.tile-desc { flex: 1; }
/* Removed top stripe — replaced with bottom progress line that draws on hover */
.tile::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  transition: width 0.6s cubic-bezier(.2,.8,.2,1);
  z-index: 2;
}
.tile:hover::before { width: 100%; }
/* Giant ghost numeral in background — the visual hook */
.tile::after {
  content: attr(data-num);
  position: absolute;
  right: -8px;
  bottom: -32px;
  font-family: var(--font-display, inherit);
  font-size: 180px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(59, 130, 246, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color 0.5s ease, transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.tile:hover::after {
  color: rgba(59, 130, 246, 0.09);
  transform: translateY(-4px);
}
.tile-top,
.tile-title,
.tile-desc,
.tile-icon { position: relative; z-index: 1; }

/* Icon: clean SVG only, no decorative frame */
.tile-icon {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  color: #2563eb;
  margin-bottom: 24px;
  padding: 0;
}
.tile-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}

/* Tile-top: just the tag — small mono num is hidden because ghost numeral handles it */
.tile-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 14px;
}
.tile-num { display: none; }
.tile-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  color: #2563eb !important;
  text-transform: uppercase;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  position: relative;
  padding-left: 18px !important;
}
.tile-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 1.5px;
  background: #2563eb;
}

.tile-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  margin-bottom: 12px !important;
  color: #0f172a;
}
.tile-desc {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
}

.tile.tile--media,
.tile.tile--creative,
.tile.tile--leadgen,
.tile.tile--tracking { --tile-accent: #3b82f6; --tile-accent-bg: rgba(59, 130, 246,0.10); }

/* Tighter section title weighting (drop italic in favor of color contrast) */
.section-title em {
  font-style: normal;
  color: var(--fg-secondary);
  font-weight: 700;
  letter-spacing: -0.02em;
}


/* ===== INCLUDED-IN-EVERY-ENGAGEMENT GRID (6 deliverables) ===== */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.included-item {
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .15s;
}
.included-item:hover { background: var(--bg); }
.included-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--text-xs);
  color: var(--fg-subtle);
  letter-spacing: 0.1em;
}
.included-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.included-desc {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  line-height: 1.55;
}
@media (max-width: 768px) {
  .included-grid { grid-template-columns: 1fr; }
}

/* ===== INDUSTRY GRID (who we work with) ===== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.industry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.industry-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.industry-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  background: rgba(15,23,42,0.06);
  color: var(--fg);
  border-radius: 999px;
}
.industry-desc {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .industry-grid { grid-template-columns: 1fr; }
}


/* ===========================================================================
   DESIGN v4 — DARK-FIRST PATTERN (DanAds + Fanntastic visual language)
   ========================================================================== */

:root {
  --accent-bright: #3b82f6;
  --accent-bright-hover: #2563eb;
  --accent-lime: #16a34a;
  --dark-bg: #0a0e1a;
  --dark-bg-grad: linear-gradient(135deg, #0a0e1a 0%, #1e293b 50%, #0a0e1a 100%);
  --dark-fg: #f8fafc;
  --dark-fg-muted: #94a3b8;
  --dark-border: rgba(255,255,255,0.08);
}

/* === HERO: light bg, visual right side, accent CTAs (light variant of v4 hero) === */
.hero-dark {
  background: var(--bg);
  color: var(--fg);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}
.hero-dark > .site-header,
.hero-dark > main.hero-main {
  max-width: 1130px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  position: relative;
  z-index: 1;
}
.hero-dark::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246,0.025) 0%, transparent 60%);
  pointer-events: none;
}
/* (hero-dark::after radial removed — same green-wash issue 2026-05-05) */
.hero-dark main.hero-main {
  padding: 80px 0 64px;
  position: relative;
  z-index: 1;
}
.hero-dark .hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  max-width: 1130px;
  align-items: center;
}

/* HERO VISUAL on right side — abstract geometric shapes */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: absolute;
  box-shadow: var(--shadow-xl);
}
.hero-visual-card.card-1 {
  top: 0;
  right: 0;
  width: 72%;
  transform: rotate(-2deg);
}
.hero-visual-card.card-2 {
  top: 44%;
  left: -8%;
  width: 62%;
  transform: rotate(3deg);
  background: linear-gradient(135deg, #fff 0%, rgba(59, 130, 246,0.04) 100%);
  border-color: rgba(59, 130, 246,0.2);
}
.hero-visual-card .vc-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.hero-visual-card .vc-num {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.hero-visual-card .vc-num small {
  font-size: 0.55em;
  color: var(--accent-bright);
  font-weight: 600;
}
.hero-visual-card .vc-sub {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  margin-top: 6px;
}
.hero-visual-card .vc-bar {
  margin-top: 18px;
  display: flex;
  align-items: end;
  gap: 4px;
  height: 60px;
}
.hero-visual-card .vc-bar span {
  flex: 1;
  background: linear-gradient(to top, var(--accent-bright), rgba(59, 130, 246,0.3));
  border-radius: 2px 2px 0 0;
}
.hero-visual-card .vc-bar span:nth-child(1) { height: 30%; }
.hero-visual-card .vc-bar span:nth-child(2) { height: 45%; }
.hero-visual-card .vc-bar span:nth-child(3) { height: 60%; }
.hero-visual-card .vc-bar span:nth-child(4) { height: 75%; }
.hero-visual-card .vc-bar span:nth-child(5) { height: 90%; background: linear-gradient(to top, var(--accent-bright), rgba(59, 130, 246,0.3)); }

/* DARK NAV (hero is dark, header sits on top) */
.hero-dark + .site-header,
.hero-dark .site-header {
  background: transparent;
  border-bottom: 1px solid var(--dark-border);
}

/* === DARK SECTION variant for any other section === */
.section-dark {
  background: var(--dark-bg-grad);
  color: var(--dark-fg);
  margin: 64px -9999px;
  padding: 80px 9999px;
  position: relative;
}
.section-dark .section-eyebrow { color: var(--dark-fg-muted); }
.section-dark .section-eyebrow .pulse-dot { background: #16a34a; box-shadow: 0 0 12px rgba(22,163,74,0.6); }
.section-dark .section-title { color: var(--dark-fg); }
.section-dark .section-title em {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.section-dark .section-sub { color: var(--dark-fg-muted); }

/* DARK TILE variant */
.section-dark .tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(10px);
}
.section-dark .tile-title { color: var(--dark-fg); }
.section-dark .tile-desc { color: var(--dark-fg-muted); }
.section-dark .tile-tag { background: rgba(255,255,255,0.06); color: var(--dark-fg-muted); }
.section-dark .tile-num { color: var(--dark-fg-muted); }

/* === ACCENT BUTTON (electric blue, used on dark sections) === */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bright);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent-bright);
  transition: transform .15s, box-shadow .15s, background .15s;
  font-family: 'Switzer', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}
.btn-accent:hover {
  background: var(--accent-bright-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 130, 246,0.4);
}
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark-fg);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--dark-border);
  transition: border-color .15s, background .15s;
  font-family: 'Switzer', 'Inter', sans-serif;
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}

/* RESPONSIVE — hero-dark becomes single column on mobile */
@media (max-width: 980px) {
  .hero-dark .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-dark main.hero-main { padding: 56px 0 48px; }
  .hero-visual { height: 320px; }
  .hero-visual-card.card-1 { width: 80%; left: 10%; }
  .hero-visual-card.card-2 { width: 70%; right: 5%; }
}
@media (max-width: 640px) {
  .hero-visual { min-height: auto; padding: 8px 0; }
}


/* ===== COMPARE TABLE (Us vs Them, Fanntastic-style differentiator section) ===== */
.compare-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  border-top: 1px solid var(--border-soft);
}
.compare-row:first-child { border-top: 0; }
.compare-row.compare-head {
  background: var(--bg);
}
.compare-row.compare-head .compare-col {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--fg);
  padding: 14px 20px;
  font-family: 'Switzer', 'Inter', sans-serif;
}
.compare-row.compare-head .compare-them { color: var(--fg-muted); }
.compare-row.compare-head .compare-us { color: var(--accent-bright); }
.compare-col {
  padding: 18px 20px;
  font-size: var(--text-sm);
  line-height: 1.55;
  border-right: 1px solid var(--border-soft);
}
.compare-col:last-child { border-right: 0; }
.compare-label {
  font-weight: 600;
  color: var(--fg);
  background: var(--bg);
  display: flex;
  align-items: center;
}
.compare-them {
  color: var(--fg-muted);
}
.compare-us {
  color: var(--fg);
  font-weight: 500;
  background: linear-gradient(90deg, rgba(59, 130, 246,0.04) 0%, rgba(59, 130, 246,0.01) 100%);
}
.compare-us::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-row.compare-head { display: none; }
  .compare-col {
    border-right: 0;
    border-top: 1px solid var(--border-soft);
  }
  .compare-label {
    background: var(--bg);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 16px;
  }
  .compare-them::before {
    content: "OTHER AGENCIES : ";
    font-weight: 600;
    color: var(--fg-subtle);
    font-size: 11px;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
  }
  .compare-us::before {
    background: none;
    width: auto;
    height: auto;
    margin: 0 0 4px 0;
    content: "MSET : ";
    font-weight: 600;
    color: var(--accent-bright);
    font-size: 11px;
    letter-spacing: 0.08em;
    display: block;
  }
}


/* ===========================================================================
   PAGE-HERO — every non-home page hero (matches home hero polish)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
}
/* Apply page — compress hero so the form is above the fold */
.page-hero.page-hero--center { padding: 56px 0 28px; }
/* (page-hero radial gradients removed — read as greenish wash on cream bg per feedback 2026-05-05) */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-hero-left { display: flex; flex-direction: column; gap: 18px; }
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15,23,42,0.04);
  border: 1px solid var(--border);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-secondary);
  font-weight: 500;
  font-family: 'Switzer', 'Inter', sans-serif;
  align-self: flex-start;
  margin-bottom: 4px;
}
.page-hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: pulse 2s ease-in-out infinite;
}
.page-hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
  margin: 0;
  font-family: 'Switzer', 'Inter', sans-serif;
}
.page-hero-title em {
  font-style: normal;
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.page-hero-sub {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  line-height: 1.55;
  max-width: 580px;
  margin: 0;
}

/* === PAGE-HERO VISUAL (right side, varies per page) === */
.page-hero-visual {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: absolute;
  box-shadow: var(--shadow-xl);
}
.page-hero-card.card-a {
  top: 0;
  left: 8%;
  width: 78%;
  transform: rotate(-2deg);
}
.page-hero-card.card-b {
  bottom: 20px;
  right: 0;
  width: 64%;
  transform: rotate(3deg);
  background: linear-gradient(135deg, #fff 0%, rgba(59, 130, 246,0.04) 100%);
  border-color: rgba(59, 130, 246,0.2);
}
.page-hero-card .ph-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.page-hero-card .ph-num {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.page-hero-card .ph-num small {
  font-size: 0.55em;
  color: var(--accent-bright);
  font-weight: 600;
}
.page-hero-card .ph-sub {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  margin-top: 6px;
}
.page-hero-card .ph-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-hero-card .ph-list li {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  padding-left: 16px;
  position: relative;
}
.page-hero-card .ph-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}
.page-hero-card .ph-bar {
  margin-top: 18px;
  display: flex;
  align-items: end;
  gap: 4px;
  height: 60px;
}
.page-hero-card .ph-bar span {
  flex: 1;
  background: linear-gradient(to top, var(--accent-bright), rgba(59, 130, 246,0.25));
  border-radius: 2px 2px 0 0;
}
.page-hero-card .ph-bar span:nth-child(1) { height: 30%; }
.page-hero-card .ph-bar span:nth-child(2) { height: 50%; }
.page-hero-card .ph-bar span:nth-child(3) { height: 70%; }
.page-hero-card .ph-bar span:nth-child(4) { height: 85%; }
.page-hero-card .ph-bar span:nth-child(5) { height: 100%; }

@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding: 56px 0 48px; }
}
@media (max-width: 640px) {
  .page-hero-visual { display: flex; justify-content: center; }
}


/* ===== PAGE-HERO VARIANT VISUALS — different per page (no design spam) ===== */

/* Variant: 4-grid mini cards (used on services) */
.ph-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 440px;
}
.ph-mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.ph-mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ph-mini-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--mini-accent, var(--accent-bright));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
/* All mini-cards use the same blue accent — palette discipline */
.ph-mini-card.mini--blue,
.ph-mini-card.mini--orange,
.ph-mini-card.mini--green,
.ph-mini-card.mini--purple { --mini-accent: #3b82f6; }
.ph-mini-card .mini-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: var(--fg-subtle);
  letter-spacing: 0.1em;
}
.ph-mini-card .mini-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ph-mini-card .mini-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mini-accent, var(--accent-bright));
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(0,0,0,0.03);
  border-radius: 4px;
  align-self: flex-start;
}

/* Variant: horizontal flow (used on process) */
.ph-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.ph-flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.ph-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -14px;
  width: 1px;
  height: 14px;
  background: var(--border-strong);
}
.ph-flow-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-bright);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.ph-flow-meta { display: flex; flex-direction: column; gap: 2px; }
.ph-flow-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ph-flow-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg);
}

/* Variant: founder portrait card (used on about) */
.ph-founder {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: 100%;
  max-width: 380px;
}
.ph-founder-portrait {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-headline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0 auto 16px;
}
.ph-founder-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.ph-founder-role {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.ph-founder-meta {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.ph-founder-meta span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Variant: featured single dashboard card (used on case-studies) */
.ph-dashboard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 440px;
}
.ph-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 18px;
}
.ph-dashboard-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg);
}
.ph-dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #16a34a;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ph-dashboard-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 8px rgba(22,163,74,0.5);
}
.ph-dashboard-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ph-dashboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
}
.ph-dashboard-row .lbl { color: var(--fg-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.ph-dashboard-row .val { color: var(--fg); font-weight: 600; }
.ph-dashboard-row .val.up { color: #16a34a; }

/* Variant: apply page — center single column (no right visual) */
.page-hero.page-hero--center .page-hero-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.page-hero.page-hero--center .page-hero-eyebrow { align-self: center; }
.page-hero.page-hero--center .page-hero-sub { margin: 0 auto; }

@media (max-width: 980px) {
  .ph-mini-grid { grid-template-columns: 1fr; }
}

/* ===== DELIVERABLES GRID (process page — week-by-week concrete spec) ===== */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.deliverable-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.deliverable-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.deliverable-week {
  display: inline-block;
  background: var(--accent-bright);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  align-self: flex-start;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.deliverable-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--fg);
  margin: 0 0 4px;
}
.deliverable-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.deliverable-list li {
  font-size: 13.5px;
  color: var(--fg-secondary);
  line-height: 1.55;
  position: relative;
  padding-left: 14px;
}
.deliverable-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-bright);
}
@media (max-width: 980px) {
  .deliverables-grid { grid-template-columns: 1fr; }
}

/* ===== PATTERN GRID (case-studies — repeatable methodology) ===== */
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.pattern-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.pattern-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.pattern-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--accent-bright);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.pattern-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.3;
  color: var(--fg);
  margin: 0 0 4px;
}
.pattern-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}
@media (max-width: 980px) {
  .pattern-grid { grid-template-columns: 1fr; }
}

/* ===== APPLY PAGE — two-column form + contact sidebar (DanAds pattern) ===== */
.apply-grid {
  max-width: 1130px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.apply-disclaimer {
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.5;
}

.contact-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 24px;
}
.contact-sidebar-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}
.contact-sidebar-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg);
  margin: 4px 0 0;
}
.contact-sidebar-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 4px 0 0;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0;
}
.contact-channel-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-channel-icon svg { width: 18px; height: 18px; }
.contact-channel-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-channel-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 600;
}
.contact-channel-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  word-break: break-word;
}
a.contact-channel-value:hover { color: var(--accent-bright); }

.contact-expect {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-expect-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.contact-expect-list {
  list-style: none;
  counter-reset: expect;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-expect-list li {
  counter-increment: expect;
  font-size: 13.5px;
  color: var(--fg-secondary);
  line-height: 1.55;
  padding-left: 30px;
  position: relative;
}
.contact-expect-list li::before {
  content: counter(expect, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-bright);
  background: rgba(59, 130, 246, 0.08);
  border-radius: 6px;
  padding: 3px 6px;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .apply-grid { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
}

/* ===== PROOF BAR (home page — outcomes between trust strip and services) ===== */
.proof-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px 36px;
  box-shadow: var(--shadow-md);
}
.proof-bar-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.proof-bar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}
.proof-bar-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg);
  margin: 4px 0 0;
}
.proof-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.proof-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.proof-bar-num {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
  font-feature-settings: "tnum";
}
.proof-bar-num small {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0;
  margin-left: 2px;
}
.proof-bar-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 600;
  margin-top: 4px;
}
.proof-bar-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin-top: 8px;
}
@media (max-width: 980px) {
  .proof-bar { padding: 24px 22px 28px; }
  .proof-bar-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== ADDITIVE POLISH — dot grid background + scroll-reveal ===== */

/* Subtle dot grid texture on body — barely visible, adds depth */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}
.wrap, .hero-dark { position: relative; z-index: 1; }

/* Section accent divider — thin gradient line between major sections */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.18) 30%, rgba(59, 130, 246, 0.18) 70%, transparent 100%);
  margin: 48px auto;
  max-width: 360px;
  border: 0;
}

/* Scroll-reveal animations REMOVED per Nate's request — content is always visible.
   Classes still in HTML but rendered as no-ops. */
.reveal-up,
.reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ===== HERO ADDITIVE FEATURES — status badge, floating accents ===== */

/* Currently accepting status badge — sits above the eyebrow */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #2563eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}
.hero-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.20);
  animation: pulse-soft 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* Count-up: prevent layout shift while animating */
.count-up {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Floating accent shapes — sit in negative space around hero visual cards */
.hero-accents {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.accent-shape {
  position: absolute;
  display: block;
  opacity: 0.55;
  will-change: transform;
}
.accent-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.45);
  background: transparent;
  animation: accent-float-a 6s ease-in-out infinite;
}
.accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.55);
  animation: accent-float-b 4.8s ease-in-out infinite;
}
.accent-plus {
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center/100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 100% no-repeat;
  color: rgba(15, 23, 42, 0.30);
  animation: accent-float-c 7s ease-in-out infinite;
}
.accent-line {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.0) 0%, rgba(59, 130, 246, 0.45) 50%, rgba(59, 130, 246, 0.0) 100%);
  animation: accent-float-d 5.5s ease-in-out infinite;
}
.accent-pos-1 { top: 8%; left: 6%; }
.accent-pos-2 { top: 22%; right: 4%; }
.accent-pos-3 { bottom: 28%; left: 2%; }
.accent-pos-4 { top: 50%; left: 38%; transform: rotate(12deg); }
.accent-pos-5 { bottom: 8%; right: 14%; }
.accent-pos-6 { top: 4%; left: 38%; }
.accent-pos-7 { top: 14%; right: 22%; }
.accent-pos-8 { top: 36%; left: 4%; }
.accent-pos-9 { top: 64%; right: 6%; }
.accent-pos-10 { bottom: 12%; left: 30%; }
.accent-pos-11 { top: 28%; left: 56%; }
.accent-pos-12 { bottom: 38%; right: 36%; }
.accent-pos-13 { top: 78%; left: 18%; }
.accent-pos-14 { top: 12%; left: 18%; }

.accent-bubble {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.09);
  border: 1.5px solid rgba(37, 99, 235, 0.22);
  animation: accent-float-a 7s ease-in-out infinite;
}
.accent-bubble--lg {
  width: 38px;
  height: 38px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.6) 0%, rgba(37, 99, 235, 0.10) 60%, rgba(37, 99, 235, 0.04) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.18);
  animation: accent-float-d 9s ease-in-out infinite;
}
.accent-bubble--sm {
  width: 12px;
  height: 12px;
  background: rgba(59, 130, 246, 0.20);
  border: 1.5px solid rgba(37, 99, 235, 0.32);
  animation: accent-float-e 5.5s ease-in-out infinite;
}
.accent-bubble--soft {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.22) 0%, rgba(37, 99, 235, 0.06) 70%, transparent 100%);
  border: 1px solid rgba(37, 99, 235, 0.10);
  animation: accent-float-c 10s ease-in-out infinite;
}
.accent-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px dashed rgba(37, 99, 235, 0.20);
  background: transparent;
  animation: accent-float-b 12s ease-in-out infinite;
}

@keyframes accent-float-a {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(10px, -16px) rotate(10deg); }
  50%      { transform: translate(18px, -28px) rotate(22deg); }
  75%      { transform: translate(8px, -14px) rotate(10deg); }
}
@keyframes accent-float-b {
  0%, 100% { transform: translate(0, 0); opacity: 0.55; }
  33%      { transform: translate(-12px, 10px); opacity: 0.72; }
  66%      { transform: translate(-22px, 20px); opacity: 0.9; }
}
@keyframes accent-float-c {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(10px, -12px) rotate(25deg); }
  66%      { transform: translate(18px, -22px) rotate(55deg); }
}
@keyframes accent-float-d {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50%      { transform: translate(-16px, -22px) scale(1.08); opacity: 0.85; }
}
@keyframes accent-float-e {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.55; }
  35%      { transform: translate(14px, 8px) rotate(12deg); opacity: 0.8; }
  70%      { transform: translate(24px, 16px) rotate(-22deg); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .accent-shape { animation: none; }
}
/* Bubbles render on every breakpoint — they live inside .hero-visual--laptop
   and use percentage positioning, so they scale with the container */

/* ============================================================
   v3 POLISH LAYER — additive depth + motion (2026-05-05)
   Strict 3-color palette: blue / green / dark navy
   No structural changes. CSS-only. Easy to revert.
   ============================================================ */

/* Hero h1 emphasis: blue gradient on the italic accent text */
.page-hero-title em,
.hero-headline em,
h1 em {
  background: linear-gradient(100deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, #60a5fa 85%, #93c5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
  position: relative;
}

/* Stats banner: subtle hover lift + gradient underline accent */
.stats-banner-stat {
  padding: 14px 8px 18px;
  border-radius: 12px;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), background 0.32s ease;
}
.stats-banner-stat::before {
  content: "";
  position: absolute;
  bottom: 6px; left: 50%;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  border-radius: 2px;
}
.stats-banner-stat:hover { transform: translateY(-3px); }
.stats-banner-stat:hover::before { transform: translateX(-50%) scaleX(1); }

/* Case narrative blocks: depth + label accent on hover */
.case-narrative-block {
  position: relative;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.case-narrative-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
}
.case-narrative-block .case-narrative-label {
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}
.case-narrative-block:hover .case-narrative-label { color: #2563eb; }

/* Case screenshot frame: stronger depth + blue glow on hover */
.case-screenshot-frame {
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.22), 0 4px 12px -6px rgba(15, 23, 42, 0.08);
}
.case-screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px -28px rgba(30, 64, 175, 0.28), 0 6px 16px -8px rgba(15, 23, 42, 0.10);
}

/* Pull quote 10x: bigger, layered depth, on-palette */
.case-pullquote {
  position: relative;
  overflow: visible;
}
.case-pullquote::after {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.case-pullquote-num {
  font-size: clamp(56px, 7vw, 84px) !important;
  background: linear-gradient(100deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, #60a5fa 85%, #93c5fd 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
  position: relative;
  z-index: 1;
  padding-right: 0.15em !important;
  padding-bottom: 0.05em !important;
  letter-spacing: 0 !important;
  overflow: visible !important;
  display: inline-block !important;
  line-height: 1.05 !important;
}
.case-pullquote blockquote, .case-pullquote cite { position: relative; z-index: 1; }

/* Pattern items: numbered token + hover lift */
.pattern-item {
  position: relative;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.pattern-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px -16px rgba(15, 23, 42, 0.14);
  border-color: rgba(59, 130, 246, 0.3);
}
.pattern-item .pattern-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(59, 130, 246, 0.18);
  transition: background 0.3s ease, transform 0.32s cubic-bezier(.2,.8,.2,1);
}
.pattern-item:hover .pattern-num {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  transform: scale(1.06);
}

/* Process step: parallel polish to pattern items */
.process-step {
  transition: background 0.3s ease;
}
.process-step:hover { background: rgba(59, 130, 246, 0.025); }
.process-step .process-num {
  color: #2563eb;
  font-weight: 700;
}

/* Deliverable items: hover depth */
.deliverable-item {
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.deliverable-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -16px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.28);
}
.deliverable-week {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  display: inline-block;
}

/* Final CTA: subtle radial accent + tighter button */
.final-cta {
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta-btn {
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s ease, background 0.28s ease;
  box-shadow: 0 8px 20px -8px rgba(10, 10, 10, 0.35);
}
.final-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(10, 10, 10, 0.4);
}

/* Nav CTA: smoother lift */
.nav-cta {
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(10, 10, 10, 0.4);
}

/* Hero dashboard: stronger depth + green pulse on .up values */
.ph-dashboard {
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.18), 0 4px 12px -6px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.ph-dashboard:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 76px -28px rgba(15, 23, 42, 0.22), 0 6px 14px -6px rgba(15, 23, 42, 0.08);
}
.ph-dashboard-row .val.up {
  position: relative;
  padding-right: 4px;
}

/* Section eyebrow: tighten spacing on the pulse-dot */
.section-eyebrow,
.contact-eyebrow,
.proof-bar-eyebrow,
.case-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Tile cards: hover lift consistent with rest of site */
.tile {
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -18px rgba(15, 23, 42, 0.14);
  border-color: rgba(59, 130, 246, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .stats-banner-stat,
  .case-narrative-block,
  .case-screenshot-frame,
  .pattern-item,
  .deliverable-item,
  .ph-dashboard,
  .tile,
  .pattern-item .pattern-num,
  .final-cta-btn,
  .nav-cta { transition: none; }
}

/* v3 POLISH — extend headline emphasis gradient to existing high-spec selectors */
h1.hero-title em,
h2.section-title em,
.section-title em,
.page-hero-title em {
  background: linear-gradient(100deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, #60a5fa 85%, #93c5fd 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
}
/* Keep dark-section / section-dark headlines on their existing light tone */
section.dark-section .section-title em,
.section-dark .section-title em {
  background: none !important;
  -webkit-text-fill-color: #94a3b8 !important; color: #94a3b8 !important;
}

/* ============================================================
   v3.1 POLISH — second pass (2026-05-05)
   Targeted depth + motion. Strict palette.
   ============================================================ */

/* Big stats numbers: blue gradient on the headline numerals */
.stats-banner-num,
.vc-stat-num,
.proof-stat-num,
.proof-bar-num,
.metric-num {
  background: linear-gradient(100deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, #60a5fa 85%, #93c5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Scroll progress bar removed per Nate's request */

/* Nav links: animated underline on hover */
.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--fg); }

/* Section eyebrow pulse dot: stronger glow */
.pulse-dot {
  position: relative;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45);
  animation: pulseGlow 2.4s ease-out infinite;
}
@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Hero dashboard: gradient-border accent (subtle blue → green) */
.ph-dashboard {
  position: relative;
}
.ph-dashboard::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(59, 130, 246, 0.15) 50%, rgba(22, 163, 74, 0.25) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.ph-dashboard > * { position: relative; z-index: 1; }

/* Page-hero subtle dot-grid background (already on body but reinforced here) */
.page-hero {
  position: relative;
  overflow: hidden;
}
/* (v3.1 page-hero radial removed — same green-wash issue 2026-05-05) */
.page-hero > * { position: relative; z-index: 1; }

/* Case-eyebrow + page-hero-eyebrow: blue-tinted background pill */
/* (v3.1 eyebrow pill removed — kept eyebrows clean per palette feedback 2026-05-05) */

/* Footer: subtle top accent line + brand mark glow */
.site-footer {
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.25) 50%, transparent 100%);
}

/* Apply page form: tighter focus state on inputs */
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
  body::after { transition: none; }
}

/* ============================================================
   SERVICES PAGE — editorial 6-card grid (2026-05-07)
   Layer-tagged, numbered, with detail bullets.
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.34s cubic-bezier(.2,.8,.2,1), box-shadow 0.34s ease, border-color 0.34s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px -22px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.35);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.service-card-layer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  padding: 5px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.service-card-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 32px;
  font-weight: 300;
  color: rgba(15, 23, 42, 0.16);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.34s ease;
}
.service-card:hover .service-card-num {
  color: rgba(37, 99, 235, 0.42);
}

.service-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--fg);
  line-height: 1.18;
  margin-top: 2px;
}
.service-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.service-card-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.04) 100%);
  margin: 4px 0 0;
}

.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: var(--fg);
  line-height: 1.5;
}
.service-card-list li::before {
  content: "›";
  color: #2563eb;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .service-icon { transition: none; }
}

/* ============================================================
   SERVICES PAGE — SYSTEM MAP (2026-05-07)
   Three-layer architecture connecting the seven services.
   ============================================================ */
.services-system {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 38px 32px 36px;
  position: relative;
  overflow: hidden;
}
.services-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 36%),
    radial-gradient(circle at 88% 80%, rgba(30, 58, 138, 0.05) 0%, transparent 40%);
  pointer-events: none;
}
.services-system-head {
  position: relative;
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}
.services-system-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 14px;
}
.services-system-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}
.services-system-title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--fg);
  font-weight: 700;
  margin-bottom: 12px;
}
.services-system-title em {
  font-style: normal;
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.services-system-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
}
.services-system-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.services-system-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.16) 18%, rgba(37, 99, 235, 0.28) 50%, rgba(37, 99, 235, 0.16) 82%, transparent 100%);
  z-index: 0;
}
@media (max-width: 860px) {
  .services-system-grid { grid-template-columns: 1fr; gap: 12px; }
  .services-system-grid::before { display: none; }
}
.services-system-layer {
  position: relative;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 14px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.services-system-layer:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 14px 32px -16px rgba(15, 23, 42, 0.16);
}
.services-system-layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.services-system-layer-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #2563eb;
}
.services-system-layer-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--fg);
  line-height: 1.2;
}
.services-system-layer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.services-system-layer-services > span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: #1e3a8a;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}
.services-system-layer-desc {
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-top: 4px;
}

/* ============================================================
   v3.3 GRADIENT RESTORE + HERO COMPLEXITY (2026-05-05)
   - Restore gradient text on hero-stat-num count-up children
   - Restore subtle blue radial accents on hero areas (NO green)
   - Add layered grid pattern to home hero
   - Style new card-3 (live ops mini-dashboard)
   - Beef up accent shape opacity for more visual energy
   ============================================================ */

/* Restore gradient on home hero stats — apply to .count-up directly so
   inline-block child correctly receives the background-clip: text */
.hero-stat-num .count-up,
.hero-stat-num small {
  background: linear-gradient(100deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, #60a5fa 85%, #93c5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Subtle blue radial accent on page-hero (no green this time) */
.page-hero {
  position: relative;
  overflow: hidden;
}
/* (page-hero radial removed — re-introduced rectangular wash 2026-05-06) */
.page-hero > * { position: relative; z-index: 1; }

/* Home hero: blue radial accents + layered dot-grid background */
.hero-dark {
  position: relative;
  overflow: hidden;
}
/* (v3.3 hero-dark::before larger radial removed — re-introduced wash 2026-05-06) */
/* (v3.3 hero-dark::after removed — re-introduced wash 2026-05-06) */
.hero-dark .hero-main { position: relative; z-index: 1; }

/* Layered decorative grid behind home hero — expanded coverage within hero bounds, soft elliptical fade at all edges, never crosses into the header */
.hero-dark .hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  filter: blur(0.6px);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 25%, transparent 90%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 25%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}
.hero-dark .hero-main > * { position: relative; z-index: 1; }

/* Beef up accent shape visibility — they were too subtle */
.accent-shape {
  opacity: 0.7;
}
.accent-circle {
  border: 1.5px solid rgba(59, 130, 246, 0.35);
}
.accent-dot {
  background: rgba(37, 99, 235, 0.5);
}
.accent-line {
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246,0.6), transparent);
}
.accent-plus {
  color: rgba(37, 99, 235, 0.45);
}

/* === Card 3 (live ops mini-dashboard) === */
.hero-visual-card.card-3 {
  position: absolute;
  bottom: 0;
  right: 4%;
  z-index: 4;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 20px 22px;
  width: 68%;
  min-width: 260px;
  transform: rotate(-1deg);
  box-shadow: 0 18px 42px -22px rgba(15, 23, 42, 0.18), 0 4px 12px -6px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.hero-visual-card.card-3:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px -22px rgba(30, 64, 175, 0.22), 0 6px 14px -6px rgba(15, 23, 42, 0.08);
}
.vc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}
.vc-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(59, 130, 246,0.08);
  padding: 4px 10px;
  border-radius: 999px;
}
.vc-mini-status {
  font-size: 12px;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vc-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22,163,74,0.45);
  animation: pulseGlow 2s ease-out infinite;
}
.vc-mini-rows {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.vc-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.vc-mini-lbl {
  color: var(--fg-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.vc-mini-val {
  color: var(--fg);
  font-weight: 600;
}

/* Card-3 hides on mobile to keep layout clean */
@media (max-width: 1024px) {
  .hero-visual-card.card-3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vc-pulse { animation: none; }
  .hero-visual-card.card-3 { transition: none; }
}

/* ============================================================
   v3.4 PH-STAT-CARD — captivating single-stat hero card
   For services + apply page heroes (results-focused, no spam)
   ============================================================ */
.ph-stat-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 28px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.18), 0 4px 12px -6px rgba(15, 23, 42, 0.06);
  max-width: 380px;
  margin-left: auto;
}
.ph-stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}
.ph-stat-card-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ph-stat-card-num {
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(100deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, #60a5fa 85%, #93c5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.ph-stat-card-num small {
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 2px;
}
.ph-stat-card-label {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.4;
  font-weight: 500;
}
.ph-stat-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--border-soft);
}
.ph-stat-card-meta span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(15, 23, 42, 0.04);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .ph-stat-card { margin-left: 0; max-width: 100%; }
}

/* ============================================================
   v3.5 — fix Switzer P-e kerning + multi-line gradient continuity
   ============================================================ */
/* Loosen Switzer kerning at headline sizes (Switzer's default is tight at 60+px) */
h1.hero-title,
.hero-title,
.page-hero-title,
h2.section-title,
.section-title {
  letter-spacing: -0.018em;
  font-feature-settings: "kern" 1, "liga" 0;
  font-kerning: normal;
}

/* Multi-line gradient fix: each line wraps gets its own gradient slice */
h1.hero-title em,
.hero-title em,
h2.section-title em,
.section-title em,
.page-hero-title em {
  display: inline-block;
  padding-right: 0.08em;
  padding-bottom: 0.08em;
  line-height: 1.12;
  letter-spacing: 0;
  overflow: visible;
  background: linear-gradient(100deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, #60a5fa 85%, #93c5fd 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
}

/* ============================================================
   CASE DIVIDERS — prominent section labels separating cases
   ============================================================ */
.case-divider {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 96px 0 24px;
  padding: 0 4px;
}
.case-divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.25) 30%, rgba(37, 99, 235, 0.25) 70%, transparent);
}
.case-divider-label {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  padding: 14px 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  box-shadow: 0 14px 32px -10px rgba(37, 99, 235, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.7);
  position: relative;
}
@media (max-width: 640px) {
  .case-divider { gap: 16px; margin: 60px 0 16px; }
  .case-divider-label { font-size: 12px; padding: 10px 22px; letter-spacing: 0.18em; }
}

/* ============================================================
   CONTACT SPLIT — Fantastic Media style. Info LEFT, form RIGHT.
   Form visible immediately on page load (above the fold).
   ============================================================ */
.contact-split {
  padding: 56px 0 64px;
}
.contact-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) {
  .contact-split-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-split { padding: 40px 0 48px; }
}

.contact-split-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-split-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
  margin: 0;
  font-family: 'Switzer', 'Inter', sans-serif;
}
.contact-split-sub {
  color: var(--fg-muted);
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 460px;
  margin: 0;
}
.contact-split-channels {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  margin-top: 8px;
}

/* RIGHT: the form card — visually prominent so it's instantly seen */
.contact-split-form-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.18), 0 4px 12px -6px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}
.contact-split-form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}
.contact-split-form-card .apply-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.contact-split-form-card .apply-card-head h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--fg);
}
.contact-split-form-card .apply-card-head .badge {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.20);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.contact-split-form-card form { display: flex; flex-direction: column; gap: 14px; }
.contact-split-form-card .field { display: flex; flex-direction: column; gap: 6px; }
.contact-split-form-card label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.contact-split-form-card input,
.contact-split-form-card select,
.contact-split-form-card textarea {
  font-family: 'Switzer', 'Inter', sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-split-form-card input:focus,
.contact-split-form-card select:focus,
.contact-split-form-card textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.contact-split-form-card .submit-btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s ease, transform 0.18s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s ease;
  box-shadow: 0 8px 18px -8px rgba(10, 10, 10, 0.35);
}
.contact-split-form-card .submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(10, 10, 10, 0.4);
}
.contact-split-form-card .apply-disclaimer {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Title em uses the same gradient as the rest of the site */
.contact-split-title em {
  display: inline-block;
  padding-right: 0.08em;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  letter-spacing: 0;
  background: linear-gradient(100deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, #60a5fa 85%, #93c5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
  font-weight: 700;
}

/* ===== ABOUT — Founder card (replaces hero dashboard) ===== */
.founder-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 22px 56px -32px rgba(15, 23, 42, 0.18);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}
.founder-card-photo {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.15);
}
.founder-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-card-body {
  flex: 1;
  min-width: 0;
}
.founder-card-eyebrow {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #2563eb;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.founder-card-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #0f172a;
}
.founder-card-bio {
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 16px;
}
.founder-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.founder-card-meta-item {
  font-size: 12px;
  color: var(--fg-muted);
}
.founder-card-meta-item b {
  color: var(--fg);
  font-weight: 700;
  margin-right: 4px;
}
@media (max-width: 640px) {
  .founder-card { flex-direction: column; align-items: stretch; }
  .founder-card-photo { width: 80px; height: 80px; }
}

/* ===== ABOUT — Horizontal "MSET at a glance" strip ===== */
.glance-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 28px 0;
}
.glance-strip-inner {
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.glance-strip-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}
.glance-strip-rows {
  display: flex;
  flex: 1;
  gap: 0;
  flex-wrap: wrap;
}
.glance-strip-row {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 20px;
  border-right: 1px solid var(--border-soft);
  min-width: 140px;
}
.glance-strip-row:last-child {
  border-right: none;
}
.glance-strip-row .glance-lbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.glance-strip-row .glance-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
@media (max-width: 980px) {
  .glance-strip-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .glance-strip-label { border-right: none; padding-right: 0; padding-bottom: 12px; border-bottom: 1px solid var(--border); width: 100%; }
}
@media (max-width: 640px) {
  .glance-strip-rows { flex-direction: column; gap: 16px; }
  .glance-strip-row { border-right: none; padding: 0; }
}

/* ===== HERO EDITORIAL LAYOUT v3 — typographic, no boxes, asymmetric ===== */
.hero-visual--editorial {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  height: auto;
  min-height: 480px;
  padding: 12px 8px 12px 0;
  position: relative;
}

/* Floating tag */
.ed-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.16);
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  margin-left: 6%;
}
.ed-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.20);
  animation: ed-pulse 2.4s ease-in-out infinite;
}
@keyframes ed-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.20); }
  50% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.10); }
}

/* Primary number with sparkline */
.ed-primary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 4%;
}
.ed-num {
  font-family: 'Switzer', 'Inter', sans-serif;
  font-size: clamp(72px, 9vw, 104px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 35%, #3b82f6 70%, #60a5fa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  flex-shrink: 0;
  position: relative;
}
.ed-num::after {
  content: "";
  position: absolute;
  inset: -10px -20px;
  background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.10) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.ed-num small { font-size: 0.50em; font-weight: 700; }

.ed-spark {
  flex: 1;
  height: 70px;
  max-width: 240px;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.18));
}

.ed-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-secondary);
  letter-spacing: -0.005em;
  margin-left: 4%;
  margin-top: -4px;
}

/* Inline stats — typography with vertical dividers, no box */
.ed-inline {
  display: flex;
  margin: 18px 0 6px 4%;
  align-items: center;
}
.ed-inline-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  border-right: 1px solid var(--border-soft);
  min-width: 0;
}
.ed-inline-item:first-child { padding-left: 0; }
.ed-inline-item:last-child { border-right: none; padding-right: 0; }
.ed-inline-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ed-inline-lbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  white-space: nowrap;
}

/* Section divider rule */
.ed-rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.30) 0%, rgba(37, 99, 235, 0.05) 60%, transparent 100%);
  margin: 18px 0 16px 4%;
  width: 88%;
}

/* Secondary metric — different alignment, less weight, sets up contrast */
.ed-secondary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 4%;
  padding: 16px 22px 16px 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.01) 100%);
  border-left: 2px solid #2563eb;
  border-radius: 0 14px 14px 0;
  align-self: flex-start;
  width: fit-content;
  max-width: 92%;
}
.ed-secondary-num {
  font-family: 'Switzer', 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #1e3a8a;
  flex-shrink: 0;
}
.ed-secondary-num small { font-size: 0.55em; font-weight: 700; }
.ed-secondary-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ed-secondary-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563eb;
}
.ed-secondary-line {
  font-size: 13px;
  color: var(--fg-secondary);
  letter-spacing: -0.005em;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .ed-primary { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ed-spark { width: 100%; max-width: 100%; height: 50px; }
  .ed-inline { flex-wrap: wrap; gap: 14px; }
  .ed-inline-item { padding: 0; border-right: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-tag-dot { animation: none; }
}
.proof-card {
  position: relative;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.045) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 28px 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 28px 60px -32px rgba(15, 23, 42, 0.20),
    0 6px 14px -8px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
  overflow: hidden;
  isolation: isolate;
}
/* Top corner glow accent — replaces side stripe with a more architectural mark */
.proof-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, transparent 100%);
}
/* Corner mark — small bracket in the top-right */
.proof-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  border-top: 1.5px solid rgba(37, 99, 235, 0.4);
  border-right: 1.5px solid rgba(37, 99, 235, 0.4);
  pointer-events: none;
}
.proof-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 36px 72px -28px rgba(30, 64, 175, 0.25),
    0 8px 18px -8px rgba(15, 23, 42, 0.08);
}
.proof-card--ecom { transform: rotate(-1deg); margin-right: 4%; }
.proof-card--service { transform: rotate(1deg); margin-left: 4%; }
.proof-card--ecom:hover { transform: rotate(-1deg) translateY(-4px); }
.proof-card--service:hover { transform: rotate(1deg) translateY(-4px); }

.proof-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 18px;
  padding: 4px 10px 4px 8px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
}
.proof-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
  animation: proof-pulse 2.4s ease-in-out infinite;
}
@keyframes proof-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
  50% { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.10); }
}

.proof-headline {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
/* Radial spotlight glow behind the big number for depth */
.proof-headline::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 200px;
  height: 110px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.10) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.proof-num {
  font-family: 'Switzer', 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 35%, #3b82f6 70%, #60a5fa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  flex-shrink: 0;
}
.proof-num small {
  font-size: 0.5em;
  font-weight: 700;
}
.proof-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-secondary);
  line-height: 1.4;
  letter-spacing: -0.005em;
  align-self: flex-end;
  padding-bottom: 6px;
}

/* Gradient accent rule under the headline */
.proof-card .proof-headline + .proof-rule,
.proof-card .proof-headline ~ .proof-bar {
  margin-top: 16px;
}
.proof-rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0.10) 50%, transparent 100%);
  margin: 4px 0 16px;
}

/* Bar chart for ecom card — more saturated, taller */
.proof-bar {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 36px;
  margin: 4px 0 18px;
}
.proof-bar span {
  flex: 1;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.30), rgba(59, 130, 246, 0.10));
  border-radius: 4px 4px 1px 1px;
  position: relative;
  transition: transform 0.3s ease;
}
.proof-card:hover .proof-bar span { transform: scaleY(1.05); transform-origin: bottom; }
.proof-bar span:nth-child(1) { height: 28%; }
.proof-bar span:nth-child(2) { height: 48%; }
.proof-bar span:nth-child(3) { height: 65%; }
.proof-bar span:nth-child(4) { height: 82%; }
.proof-bar span:nth-child(5) {
  height: 100%;
  background: linear-gradient(to top, #2563eb 0%, #3b82f6 60%, #60a5fa 100%);
  box-shadow: 0 0 12px -2px rgba(37, 99, 235, 0.35);
}

/* Stat grid — vertical separators, larger numbers, mono labels */
.proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  position: relative;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 14px;
  border-right: 1px solid var(--border-soft);
}
.proof-stat:first-child { padding-left: 0; }
.proof-stat:last-child { border-right: none; padding-right: 0; }
.proof-stat b {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.proof-stat span {
  font-size: 9.5px;
  color: var(--fg-subtle);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 980px) {
  .proof-card--ecom, .proof-card--service { transform: none; margin: 0; }
  .proof-card--ecom:hover, .proof-card--service:hover { transform: translateY(-4px); }
  .proof-num { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .proof-eyebrow-dot { animation: none; }
  .proof-card:hover .proof-bar span { transform: none; }
}

/* ===== HERO LAPTOP — floating laptop with dashboard on screen + faded chart bg ===== */
.hero-visual--laptop {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 540px;
  padding: 32px 0 80px;
  perspective: 1800px;
  perspective-origin: center 35%;
  position: relative;
  /* Break out of the right-column constraint so laptop can be larger */
  width: 122%;
  margin: 0 -15%;
  overflow: visible;
}

/* Layered cast shadow — broad ambient (::before) + tight contact (::after).
   Matches the laptop's tilted silhouette under top-front light. */
/* Shadow ellipses are ROTATED to match the laptop body's -12° tilt in the source image.
   Major axis runs along the laptop's long edge (upper-left to lower-right diagonal).
   Aspect ratio matches MacBook base proportions (~1.55:1 wide-to-deep). */
/* Shadow ellipses anchor at left:61% because the macbook-hero image (122% width)
   overflows its container to the right, putting its visual center at ~61% of
   the container, NOT 50%. Rotated -12° to match the laptop body's tilt. */
.hero-visual--laptop::before {
  content: "";
  position: absolute;
  bottom: 22px;
  left: 61%;
  transform: translateX(-50%) rotate(12deg);
  width: 70%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.34) 0%, rgba(15, 23, 42, 0.10) 55%, transparent 82%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: shadow-pulse-broad 5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: transform, opacity, filter;
}
.hero-visual--laptop::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 61%;
  transform: translateX(-50%) rotate(12deg);
  width: 48%;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.28) 50%, transparent 85%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: shadow-pulse-tight 5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: transform, opacity, filter;
}

/* Physics-correct shadow pulse:
   - Contact (::after): FADES when laptop lifts (loses ground contact)
   - Ambient (::before): GROWS WIDE + intensifies (penumbra spreads)
   Both rotation locked at -12° to stay parallel with laptop body. */
@keyframes shadow-pulse-broad {
  0%, 100% { transform: translateX(-50%) rotate(12deg) scale(1, 1); opacity: 0.65; filter: blur(18px); }
  50%      { transform: translateX(-50%) rotate(12deg) scale(1.35, 1.15); opacity: 1; filter: blur(26px); }
}
@keyframes shadow-pulse-tight {
  0%, 100% { transform: translateX(-50%) rotate(12deg) scale(1, 1); opacity: 1; filter: blur(7px); }
  50%      { transform: translateX(-50%) rotate(12deg) scale(0.9, 0.9); opacity: 0.25; filter: blur(11px); }
}

.laptop {
  position: relative;
  width: 100%;
  max-width: 580px;
  transform: rotateX(8deg) rotateY(-10deg);
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
  animation: laptop-float 5.5s ease-in-out infinite;
  filter:
    drop-shadow(0 22px 30px rgba(15, 23, 42, 0.16))
    drop-shadow(0 50px 80px rgba(15, 23, 42, 0.16))
    drop-shadow(0 14px 36px rgba(37, 99, 235, 0.14));
  z-index: 1;
}

@keyframes laptop-float {
  0%, 100% { transform: rotateX(8deg) rotateY(-10deg) translateY(0); }
  50%      { transform: rotateX(8deg) rotateY(-10deg) translateY(-10px); }
}
@keyframes laptop-shadow-breathe {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 1; }
  50%      { transform: translateX(-50%) scaleX(0.92); opacity: 0.75; }
}

.laptop:hover {
  animation-play-state: paused;
  transform: rotateX(2deg) rotateY(-4deg) translateY(-12px);
}

@media (prefers-reduced-motion: reduce) {
  .laptop, .hero-visual--laptop::after, .hero-visual--laptop::before { animation: none; }
}

/* Mobile: laptop scene must fit viewport (kills 122% width / -15% margin overflow) */
@media (max-width: 640px) {
  .hero-visual--laptop {
    width: 100%;
    margin: 0;
    min-height: 0;
    padding: 16px 0 24px;
    overflow: visible;
  }
  /* Mobile: laptop IS centered (margin: 0 auto on macbook-hero), so anchor at 50% */
  .hero-visual--laptop::before { width: 72%; height: 26px; bottom: 16px; left: 50%; filter: blur(14px); }
  .hero-visual--laptop::after { width: 46%; height: 10px; bottom: 22px; left: 50%; filter: blur(6px); }
}

.laptop-screen {
  position: relative;
  background: linear-gradient(180deg, #1a1d23 0%, #2a2f37 100%);
  border-radius: 12px 12px 4px 4px;
  padding: 8px;
  aspect-ratio: 16 / 12;
  overflow: hidden;
}

/* Inner display surface */
.laptop-screen::before {
  content: "";
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 0 4px 4px;
  z-index: 3;
}
.laptop-screen > * {
  position: relative;
  z-index: 1;
}

/* Display content area (the "screen content") */
.laptop-chrome,
.laptop-bg-chart,
.laptop-content {
  position: absolute;
  border-radius: 0;
}
.laptop-chrome {
  top: 8px; left: 8px; right: 8px;
  height: 26px;
  background: linear-gradient(180deg, #f4f5f7 0%, #ebedf0 100%);
  border-bottom: 1px solid #d8dadd;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  z-index: 4;
}
.laptop-chrome .laptop-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cdd0d4;
}
.laptop-chrome .laptop-dot:nth-child(1) { background: #ed6a5e; }
.laptop-chrome .laptop-dot:nth-child(2) { background: #f4be4f; }
.laptop-chrome .laptop-dot:nth-child(3) { background: #61c454; }
.laptop-chrome .laptop-url {
  margin-left: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  color: #6b6e73;
  letter-spacing: 0.02em;
}

/* Faded background chart inside the laptop screen */
.laptop-bg-chart {
  top: 34px; left: 8px; right: 8px; bottom: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 42px);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 0 0 6px 6px;
  z-index: 1;
  opacity: 0.85;
}

/* Foreground dashboard content overlay */
.laptop-content {
  top: 34px; left: 8px; right: 8px; bottom: 8px;
  z-index: 2;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

/* === LAPTOP DECK — folds forward from screen hinge so keyboard is visible === */
.laptop-screen {
  margin: 0 auto;
  width: 100%;
  transform-style: preserve-3d;
  transform-origin: bottom center;
}

.laptop-deck {
  position: relative;
  width: 108%;
  margin: -1px auto 0;
  margin-left: -4%;
  height: auto;
  background:
    linear-gradient(180deg, #3a3f47 0%, #2a2e35 8%, #1a1d23 18%, #0f1115 100%);
  border-radius: 0 0 22px 22px;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.10),
    inset 0 -2px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 80px rgba(0, 0, 0, 0.35);
  padding: 18px 38px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Hinge highlight at the top edge */
.laptop-deck::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 25%,
    rgba(255, 255, 255, 0.22) 75%,
    transparent 100%);
}

/* === Keyboard keys === */
.laptop-keys {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.laptop-keys-row {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.laptop-keys-row span {
  flex: 1;
  height: 14px;
  background: linear-gradient(180deg, #2a2f37 0%, #1c2027 70%, #15181e 100%);
  border-radius: 3px;
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 1px 1px rgba(0, 0, 0, 0.3);
  min-width: 0;
}
.laptop-keys-row--fn span {
  height: 8px;
  border-radius: 2px;
}
.laptop-keys-row--bottom span {
  height: 16px;
}
.laptop-keys-row .key-tab { flex: 1.4; }
.laptop-keys-row .key-caps { flex: 1.6; }
.laptop-keys-row .key-shift { flex: 2; }
.laptop-keys-row .key-return { flex: 1.6; }
.laptop-keys-row .key-space { flex: 5; }
.laptop-keys-row .key-wide { flex: 1.4; }

/* === Trackpad === */
.laptop-trackpad {
  width: 50%;
  height: 32px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1f2329 0%, #181b21 100%);
  border-radius: 5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    inset 0 0 12px rgba(0, 0, 0, 0.3);
}

/* === Inside-laptop content tweaks (tightened to fit screen) === */
.laptop-content .ed-tag {
  margin-left: 0;
  margin-bottom: 10px;
  font-size: 9.5px;
  padding: 4px 10px 4px 8px;
}
.laptop-content .ed-primary {
  margin-left: 0;
  margin-bottom: 2px;
}
.laptop-content .ed-num {
  font-size: clamp(48px, 7vw, 64px);
  line-height: 0.92;
}
.laptop-content .ed-label {
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 12px;
}
.laptop-content .ed-inline {
  margin: 6px 0;
}
.laptop-content .ed-inline-item {
  padding: 0 14px;
}
.laptop-content .ed-inline-num {
  font-size: 18px;
}
.laptop-content .ed-inline-lbl {
  font-size: 8.5px;
}
.laptop-content .ed-rule {
  margin: 10px 0 10px 0;
  width: 100%;
}
.laptop-content .ed-secondary {
  margin-left: 0;
  padding: 10px 16px 10px 14px;
}
.laptop-content .ed-secondary-num {
  font-size: 30px;
}
.laptop-content .ed-secondary-tag {
  font-size: 9px;
}
.laptop-content .ed-secondary-line {
  font-size: 11.5px;
  line-height: 1.35;
}

/* Hide laptop-only background chart on smaller screens */
@media (max-width: 768px) {
  .laptop {
    transform: none;
  }
  .laptop-content {
    padding: 18px 20px;
  }
  .laptop-content .ed-num {
    font-size: 56px;
  }
  .laptop-content .ed-inline {
    flex-wrap: wrap;
    gap: 10px;
  }
  .laptop-content .ed-inline-item {
    border-right: none;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .laptop, .laptop:hover { transition: none; }
}

/* ===== MACBOOK MOCKUP — real photoreal frame with dashboard overlay on screen ===== */
.macbook {
  position: relative;
  width: 122%;
  max-width: 760px;
  margin: 0 auto;
  filter:
    drop-shadow(0 30px 60px rgba(15, 23, 42, 0.25))
    drop-shadow(0 14px 28px rgba(15, 23, 42, 0.15))
    drop-shadow(0 8px 22px rgba(37, 99, 235, 0.12));
  animation: macbook-float 5.5s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.macbook-frame {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Screen overlay — bounding box of the angled screen, then clipped to actual parallelogram corners */
.macbook-screen {
  position: absolute;
  /* Bounding box of all 4 screen corners */
  left: 43.8%;
  top: 14.2%;
  width: 30.0%;
  height: 52.0%;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  /* Clip to the actual parallelogram screen shape (TL → TR → BR → BL) */
  clip-path: polygon(15.4% 0%, 100% 24.3%, 82.2% 100%, 0% 69.7%);
}
/* Skew the inner content to match the screen's angle (~15° tilt) */
.macbook-screen-inner {
  width: 100%;
  height: 100%;
  transform: skewY(15deg) scaleY(0.92);
  transform-origin: top left;
}
.macbook-screen-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.macbook-bg-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.macbook-dash {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 6% 7%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Inner dashboard sizing — scales with screen overlay */
.macbook-dash .ed-tag {
  margin: 0 0 8px 0;
  font-size: 9px;
  padding: 3px 8px 3px 7px;
}
.macbook-dash .ed-primary {
  margin: 0 0 2px 0;
}
.macbook-dash .ed-num {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 0.92;
}
.macbook-dash .ed-label {
  margin: 0 0 12px 0;
  font-size: 11px;
}
.macbook-dash .ed-inline {
  margin: 4px 0;
}
.macbook-dash .ed-inline-item {
  padding: 0 10px;
}
.macbook-dash .ed-inline-num {
  font-size: 16px;
}
.macbook-dash .ed-inline-lbl {
  font-size: 7.5px;
}
.macbook-dash .ed-rule {
  margin: 10px 0;
  width: 100%;
}
.macbook-dash .ed-secondary {
  margin: 0;
  padding: 8px 12px 8px 10px;
}
.macbook-dash .ed-secondary-num {
  font-size: 24px;
}
.macbook-dash .ed-secondary-tag {
  font-size: 8px;
}
.macbook-dash .ed-secondary-line {
  font-size: 10px;
  line-height: 1.35;
}

/* Floating animation */
@keyframes macbook-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.macbook:hover {
  animation-play-state: paused;
  transform: translateY(-12px);
}

@media (max-width: 980px) {
  .macbook { max-width: 560px; }
}
@media (max-width: 640px) {
  .macbook { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .macbook { animation: none; }
}

/* ===== MACBOOK REAL — photoreal laptop with dashboard on screen ===== */
.macbook-real {
  position: relative;
  width: 122%;
  max-width: 1130px;
  margin: 0 auto;
  filter:
    drop-shadow(0 30px 60px rgba(15, 23, 42, 0.22))
    drop-shadow(0 14px 28px rgba(15, 23, 42, 0.12))
    drop-shadow(0 8px 22px rgba(37, 99, 235, 0.10));
  animation: macbook-real-float 5.5s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.macbook-real-frame {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes macbook-real-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.macbook-real:hover {
  animation-play-state: paused;
  transform: translateY(-12px);
}

/* Screen overlay — matches the dark screen area in the image */
.macbook-real-screen {
  position: absolute;
  /* Bounding box of the screen corners measured from the actual image */
  left: 38.38%;
  top: 11.67%;
  width: 55.18%;
  height: 53.12%;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  /* Clip to the actual parallelogram screen shape */
  clip-path: polygon(3.63% 0%, 100% 13.88%, 90.71% 100%, 0% 70.40%);
}
.macbook-real-screen-inner {
  position: relative;
  width: 100%;
  height: 100%;
  /* Skew to match the screen's perspective angle */
  transform: skewY(8deg);
  transform-origin: top left;
  padding: 4% 5%;
}

/* Override sizing for the dashboard content inside the screen */
.macbook-real-screen-inner .laptop-chrome {
  display: none; /* hide chrome bar — we don't have screen real estate */
}
.macbook-real-screen-inner .laptop-bg-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.macbook-real-screen-inner .laptop-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 6% 7%;
  display: flex;
  flex-direction: column;
}

.macbook-real-screen-inner .ed-tag {
  margin: 0 0 8px 0;
  font-size: 9px;
  padding: 3px 8px 3px 7px;
}
.macbook-real-screen-inner .ed-num {
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 0.92;
}
.macbook-real-screen-inner .ed-label {
  margin: 0 0 10px 0;
  font-size: 11px;
}
.macbook-real-screen-inner .ed-inline {
  margin: 4px 0;
}
.macbook-real-screen-inner .ed-inline-item {
  padding: 0 10px;
}
.macbook-real-screen-inner .ed-inline-num {
  font-size: 15px;
}
.macbook-real-screen-inner .ed-inline-lbl {
  font-size: 7.5px;
}
.macbook-real-screen-inner .ed-rule {
  margin: 8px 0;
  width: 100%;
}
.macbook-real-screen-inner .ed-secondary {
  margin: 0;
  padding: 8px 12px 8px 10px;
}
.macbook-real-screen-inner .ed-secondary-num {
  font-size: 22px;
}
.macbook-real-screen-inner .ed-secondary-tag {
  font-size: 7.5px;
}
.macbook-real-screen-inner .ed-secondary-line {
  font-size: 9.5px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .macbook-real { width: 100%; margin: 0; max-width: 600px; }
}
@media (prefers-reduced-motion: reduce) {
  .macbook-real { animation: none; }
}

/* ===== HERO MACBOOK — single composited image, floating ===== */
.macbook-hero {
  display: block;
  width: 122%;
  max-width: 1130px;
  height: auto;
  margin: 0 auto;
  filter:
    brightness(1.06) contrast(1.01)
    drop-shadow(0 4px 6px rgba(15, 23, 42, 0.08));
  animation: macbook-hero-float 5.5s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes macbook-hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.macbook-hero:hover {
  animation-play-state: paused;
  transform: translateY(-14px);
}
@media (max-width: 980px) {
  .macbook-hero { width: 100%; margin: 0; max-width: 600px; }
}
@media (max-width: 640px) {
  .macbook-hero { width: 90%; max-width: 90%; margin: 0 auto; display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .macbook-hero { animation: none; }
}

/* (Removed 2026-05-19: the "smoother" optimization block Donna added in a past session
   doubled the float distance from 10px to 26px, which made the drop-shadow recompute over
   a much bigger area each frame and caused the lag Nate noticed. Original 10px float
   above is what worked.) */

/* === Bubble accents around the laptop === */
.hero-visual--laptop .hero-accents {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-visual--laptop .accent-shape {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}
.hero-visual--laptop .accent-bubble {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.55) 0%, rgba(37, 99, 235, 0.18) 70%, transparent 100%);
  animation: accent-bob 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.hero-visual--laptop .accent-bubble--lg {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.45) 0%, rgba(37, 99, 235, 0.14) 70%, transparent 100%);
  animation: accent-bob 9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.hero-visual--laptop .accent-bubble--sm {
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 30% 30%, rgba(147, 197, 253, 0.5) 0%, rgba(59, 130, 246, 0.12) 70%, transparent 100%);
  animation: accent-bob 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.hero-visual--laptop .accent-bubble--soft {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.20) 0%, rgba(37, 99, 235, 0.05) 60%, transparent 100%);
  animation: accent-bob 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.hero-visual--laptop .accent-circle {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  background: transparent;
  animation: accent-bob 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.hero-visual--laptop .accent-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(96, 165, 250, 0.30);
  background: transparent;
  animation: accent-bob 9.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.hero-visual--laptop .accent-dot {
  width: 6px;
  height: 6px;
  background: rgba(37, 99, 235, 0.5);
  animation: accent-bob 6.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* Vertical-only bob — clean, smooth, no horizontal sway */
@keyframes accent-bob {
  0%   { transform: translate3d(0, 0, 0); opacity: 0.6; }
  50%  { transform: translate3d(0, -40px, 0); opacity: 1; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.6; }
}

/* Position scattered around the laptop area */
.hero-visual--laptop .accent-pos-1  { top:  8%;  left:  8%;  animation-delay: 0s; }
.hero-visual--laptop .accent-pos-2  { top: 18%;  right: 6%;  animation-delay: 0.5s; }
.hero-visual--laptop .accent-pos-3  { top: 32%;  left:  4%;  animation-delay: 1.2s; }
.hero-visual--laptop .accent-pos-4  { top:  4%;  right: 22%; animation-delay: 0.8s; }
.hero-visual--laptop .accent-pos-5  { top: 48%;  left: 12%;  animation-delay: 2s; }
.hero-visual--laptop .accent-pos-6  { top: 60%;  right: 4%;  animation-delay: 0.3s; }
.hero-visual--laptop .accent-pos-7  { top: 72%;  left:  6%;  animation-delay: 1.6s; }
.hero-visual--laptop .accent-pos-8  { top: 14%;  left: 28%;  animation-delay: 1s; }
.hero-visual--laptop .accent-pos-9  { top: 80%;  right: 18%; animation-delay: 0.6s; }
.hero-visual--laptop .accent-pos-10 { top: 38%;  right: 12%; animation-delay: 1.4s; }
.hero-visual--laptop .accent-pos-11 { top: 86%;  left: 32%;  animation-delay: 0.4s; }
.hero-visual--laptop .accent-pos-12 { top: 25%;  left: 78%;  animation-delay: 1.8s; }

@media (prefers-reduced-motion: reduce) {
  .hero-visual--laptop .accent-shape,
  .macbook-hero { animation: none !important; }
}

/* ===== MOBILE NAVIGATION — hamburger + slide-down menu ===== */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
  margin-left: 8px;
}
.nav-toggle:hover { background: rgba(15, 23, 42, 0.04); border-color: var(--border-strong); }
.nav-toggle svg { width: 20px; height: 20px; color: var(--fg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 80px 24px 32px;
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.12);
}
.mobile-nav.is-open {
  display: block;
  transform: translateY(0);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-links a {
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  letter-spacing: -0.01em;
}
.mobile-nav-links a:last-child {
  border-bottom: none;
  margin-top: 16px;
  padding: 16px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-close svg { width: 18px; height: 18px; color: var(--fg); }

/* Body scroll lock when menu open */
body.nav-open {
  overflow: hidden;
}

/* Hide hamburger on desktop — only show on mobile */
@media (min-width: 821px) {
  .nav-toggle { display: none !important; }
  .mobile-nav { display: none !important; }
}

/* ===== MOBILE SPACING REFINEMENTS — tighten hero + section vertical padding =====
   The desktop breakpoints (980px) keep generous padding for tablets. On true
   phones (<= 640px) those gaps read as dead space — this block compresses them. */
@media (max-width: 640px) {
  /* Hero blocks: cut top/bottom padding ~50% so content reaches eye-level faster */
  main.hero-main { padding: 32px 0 24px !important; }
  .hero-dark main.hero-main { padding: 32px 0 24px !important; }
  .page-hero { padding: 36px 0 28px; }
  .page-hero.page-hero--center { padding: 28px 0 16px; }
  .page-hero-grid { gap: 24px; }
  .hero-grid { gap: 24px; }

  /* Wider side gutters so nothing kisses the edge */
  .wrap { padding: 0 24px !important; }

  /* Hero CENTERED on mobile — looks balanced when stacked single-column */
  .hero-left { text-align: center; align-items: center; }
  .hero-left .hero-status,
  .hero-left .eyebrow { margin-left: auto; margin-right: auto; }
  .hero-left .hero-stats { margin-left: auto; margin-right: auto; }
  .hero-left > div[style*="margin-top:32px"] { justify-content: center; }

  /* Smaller, calmer hero typography */
  .hero-status { display: flex; width: fit-content; margin-bottom: 16px; }
  .eyebrow { display: flex; width: fit-content; margin-bottom: 18px; }
  .page-hero-eyebrow { margin-bottom: 14px; }
  h1.hero-title { font-size: 39px; line-height: 1.08; margin-bottom: 20px; letter-spacing: -0.028em; }
  .hero-main { padding-left: 20px !important; padding-right: 20px !important; }
  .hero-sub { margin-bottom: 24px; font-size: 13px; line-height: 1.55; max-width: 100%; padding-right: 4px; }
  .hero-stats { margin-top: 24px; padding: 14px 0; }
  .hero-left > div[style*="margin-top:32px"] { margin-top: 24px !important; gap: 10px !important; }
  .page-hero-title { font-size: 32px; line-height: 1.1; margin-bottom: 16px; }
  .page-hero-sub { font-size: 14.5px; line-height: 1.55; }

  /* Stats: shrink the number + label so they fit cleanly across 3 columns */
  .hero-stat-num { font-size: 22px !important; }
  .hero-stat-num small { font-size: 14px !important; }
  .hero-stat-label { font-size: 10px !important; line-height: 1.3 !important; }

  /* Sections: tighten the rhythm between sections */
  section { padding: 32px 0; }
  section.dark-section, section.alt-section { padding: 36px 0; }

  /* Section heads: shrink the gap before the tile-grid below */
  .section-head { margin-bottom: 18px; }

  /* Tile grids: tighter inter-card gap on stacked layouts */
  .tile-grid { gap: 16px; }

  /* Trust strip: don't let it eat 200px between hero and content */
  .trust-strip { padding: 24px 0 !important; }

  /* "Built on" footer values strip — tighter */
  .trust-strip-logos { gap: 8px 16px !important; }
}
