/* ============================================================
 * Brainy Neurals — Generative AI Development Services page
 *
 * Organized for WordPress theme migration. Sections:
 *   1. Tokens
 *   2. Base / reset
 *   3. Layout primitives
 *   4. Type
 *   5. Buttons
 *   6. Nav
 *   7. Hero + Router Panel (signature)
 *   8. Reality Check + stat cards
 *   9. Model Matrix (signature)
 *  10. Service Ledger (7 rows)
 *  11. Tech Stack (dark grid)
 *  12. Industries
 *  13. Case Studies (featured grid)
 *  14. Deliver (dark band, phases)
 *  15. Why (bento)
 *  16. Versus comparison (signature)
 *  17. FAQ (accordion)
 *  18. Related Services (dark cards)
 *  19. Final CTA (atmospheric blue + Calendly)
 *  20. Footer + social
 *  21. Sticky CTA + back-to-top
 *  22. Motion + utilities + responsive
 * ============================================================ */

/* ============ 1 · TOKENS ============ */
:root {
  --ink:        #0A0A0B;
  --ink-2:      #1A1A1D;
  --ink-3:      #2A2A2E;
  --paper:      #FFFFFF;
  --paper-2:    #F4F4F2;
  --paper-3:    #E8E8E4;
  --bone:       #FAFAF8;

  --line:       rgba(10,10,11,0.14);
  --line-soft:  rgba(10,10,11,0.08);
  --line-dark:  rgba(244,239,230,0.14);

  --muted:      rgba(10,10,11,0.58);
  --muted-dark: rgba(244,239,230,0.62);

  --blue:       #0655FF;
  --blue-2:     #0444CC;
  --blue-tint:  #DCE5FF;
  --blue-deep:  #03257A;
  --signal:     #B5FF3C;
  --rust:       #C2410C;

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;
  --r-xl: 22px;

  --container: 1320px;
  --gutter: 32px;

  --t1: cubic-bezier(.2,.7,.2,1);
  --t2: cubic-bezier(.7,0,.3,1);

  /* model colors for the live router panel */
  --m-gpt:     #7AA0FF;
  --m-claude:  #FFB089;
  --m-llama:   #B5FF3C;
  --m-mistral: #C4B5FD;
  --m-gemini:  #67E8F9;
}

/* ============ 2 · BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--ink); color: var(--paper); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; border-radius: var(--r);
  z-index: 9999; font-size: 14px;
}
.skip:focus { left: 16px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ 3 · LAYOUT ============ */
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.dark { background: var(--ink); color: var(--bone); }
.dark a { color: var(--bone); }

/* ============ 4 · TYPE ============ */
.h-display {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.h-display em, .h-display .blue {
  font-style: italic;
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.h-display .blue { color: var(--blue); }

.h-section {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.030em;
  margin: 0 0 48px;
  text-wrap: balance;
}
.h-section em {
  font-style: italic;
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.h-section.invert { color: var(--bone); }
.h-section.invert em { color: var(--blue-tint); }

.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 880px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.dark .lede { color: var(--bone); }

.prose {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 820px;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.prose em {
  font-style: italic;
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-weight: 400;
}
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-dark); }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-feature-settings: "tnum";
}

/* ============ 5 · BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background .2s var(--t1), color .2s var(--t1), border-color .2s var(--t1);
  min-height: 44px;
}
.btn .arr { transition: transform .25s var(--t1); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost { color: var(--bone); border-color: var(--line-dark); }
.dark .btn-ghost:hover { border-color: var(--bone); }

/* ============ 6 · NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 14.5px; color: var(--ink);
  padding: 8px 12px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s var(--t1);
  min-height: 44px;
}
.nav-link:hover { background: rgba(10,10,11,0.06); }
.nav-link .caret { font-size: 10px; opacity: .5; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.nav-mono .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 0 rgba(22,163,74,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-mono  { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta .btn { padding: 0 16px; height: 44px; font-size: 14px; }
}
@media (max-width: 540px) {
  .nav-cta .btn { display: none; }
}

/* ============ 7 · HERO ============ */
.hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: 0.02em;
  background: var(--bone);
  margin-bottom: 28px;
}
.hero-eyebrow .badge {
  background: var(--ink); color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; letter-spacing: 0.05em;
  padding: 4px 9px; border-radius: 999px;
}
.hero h1 { margin-bottom: 28px; }
.hero-sub {
  font-size: clamp(17px, 1.3vw, 19.5px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 660px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 56px; }

/* proof metrics — six tiles */
.proof-strip {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-cell {
  padding: 22px 18px 20px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.proof-cell:last-child { border-right: 0; }
.proof-v {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 2px;
}
.proof-v .plus {
  color: var(--blue);
  font-size: 0.65em;
  font-style: normal;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
}
.proof-cell.mono .proof-v {
  font-family: "IBM Plex Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: -0.025em;
}
.proof-cell.mono .proof-v::before {
  content: ""; width: 6px; height: 6px;
  background: var(--blue);
  display: inline-block;
  margin-right: 8px;
  align-self: center;
  flex-shrink: 0;
}
.mono-tag {
  white-space: nowrap;
}
.proof-l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .proof-strip { grid-template-columns: repeat(3, 1fr); }
  .proof-cell:nth-child(3n) { border-right: 0; }
  .proof-cell:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .proof-cell:nth-child(2n) { border-right: 0; }
  .proof-cell:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
}

/* ============ HERO RIGHT — LIVE MODEL ROUTER PANEL (SIGNATURE) ============ */
.router-panel {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--ink-3);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10,10,11,0.35), 0 2px 6px rgba(10,10,11,0.06);
}
.router-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,85,255,0.12), transparent 30%),
    radial-gradient(120% 60% at 100% 0%, rgba(6,85,255,0.16), transparent 50%);
}
.rp-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted-dark);
  position: relative;
}
.rp-dots { display: flex; gap: 6px; }
.rp-dots span { width: 8px; height: 8px; border-radius: 50%; background: #5C5C66; }
.rp-dots span:nth-child(2) { background: #3B3B42; }
.rp-dots span:nth-child(3) { background: #2A2A2E; }
.rp-title {
  color: var(--bone);
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
  position: relative;
}
.rp-title .sig { color: var(--signal); margin-right: 8px; }
.rp-rule { height: 1px; background: var(--line-dark); margin: 14px 0 12px; position: relative; }

.rp-rows { position: relative; display: flex; flex-direction: column; gap: 8px; }
.rp-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center; gap: 10px;
  font-size: 11.5px;
}
.rp-row .ts { color: var(--muted-dark); }
.rp-row .ev {
  color: var(--bone);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rp-row .model {
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  white-space: nowrap;
}
.rp-row .model.gpt     { color: var(--m-gpt);     border-color: rgba(122,160,255,0.4); }
.rp-row .model.claude  { color: var(--m-claude);  border-color: rgba(255,176,137,0.4); }
.rp-row .model.llama   { color: var(--m-llama);   border-color: rgba(181,255,60,0.4); }
.rp-row .model.mistral { color: var(--m-mistral); border-color: rgba(196,181,253,0.4); }
.rp-row .model.gemini  { color: var(--m-gemini);  border-color: rgba(103,232,249,0.4); }

.rp-meter {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 14px;
}
.rp-meter-lbl {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--muted-dark);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 10px;
}
.rp-meter-lbl span:last-child { color: var(--signal); text-transform: none; letter-spacing: 0; }
.rp-stack {
  display: flex; gap: 2px;
  height: 14px;
  border-radius: 3px; overflow: hidden;
}
.rp-stack i[data-m="gpt"]     { background: var(--m-gpt); }
.rp-stack i[data-m="claude"]  { background: var(--m-claude); }
.rp-stack i[data-m="llama"]   { background: var(--m-llama); }
.rp-stack i[data-m="mistral"] { background: var(--m-mistral); }
.rp-stack i[data-m="gemini"]  { background: var(--m-gemini); }
.rp-legend {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
}
.rp-legend span { display: inline-flex; align-items: center; gap: 5px; }
.rp-legend i { width: 8px; height: 8px; border-radius: 2px; }
.rp-legend i[data-m="gpt"]     { background: var(--m-gpt); }
.rp-legend i[data-m="claude"]  { background: var(--m-claude); }
.rp-legend i[data-m="llama"]   { background: var(--m-llama); }
.rp-legend i[data-m="mistral"] { background: var(--m-mistral); }
.rp-legend i[data-m="gemini"]  { background: var(--m-gemini); }

.rp-foot {
  position: relative;
  margin-top: 14px;
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: var(--muted-dark);
}
.rp-foot .ok { color: var(--signal); }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .router-panel { order: 2; }
}

/* ============ 8 · REALITY CHECK ============ */
.reality { background: var(--paper); }
.reality-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.reality-body .prose strong { color: var(--ink); font-weight: 500; }

.reality-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
}
.stat-card {
  background: var(--bone);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
}
.stat-card.warn { background: var(--ink); color: var(--bone); }
.stat-v {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.stat-v .unit, .stat-v .cur {
  font-family: "IBM Plex Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.5em;
  color: var(--blue);
  letter-spacing: 0;
}
.stat-card.warn .stat-v .unit,
.stat-card.warn .stat-v .cur { color: var(--signal); }
.stat-l {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 280px;
}
.stat-card.warn .stat-l { color: var(--muted-dark); }
.stat-cite {
  margin-top: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-card.warn .stat-cite { color: var(--muted-dark); }

@media (max-width: 1024px) {
  .reality-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .reality-stats { grid-template-columns: 1fr; }
}

/* ============ 9 · MODEL MATRIX (SIGNATURE) ============ */
.models { padding-top: 0; }
.model-matrix {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
.mm-list { list-style: none; padding: 0; margin: 0; }
.mm-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--t1);
}
.mm-row:last-child { border-bottom: 0; }
.mm-row:hover { background: var(--bone); }

.mm-id, .mm-col {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.mm-col:last-child { border-right: 0; }
.mm-ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.mm-name {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}
.mm-name .vendor {
  display: block;
  margin-top: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.mm-bars {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.bar {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
}
.bar-l {
  color: var(--muted);
  letter-spacing: 0.04em;
}
.bar i {
  display: block;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.bar i::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--w, 0%);
  background: var(--ink);
  border-radius: 2px;
  transition: width .8s var(--t1) .1s;
}
.mm-row[data-model="gpt"]     .bar i::after { background: var(--blue); }
.mm-row[data-model="claude"]  .bar i::after { background: var(--ink); }
.mm-row[data-model="llama"]   .bar i::after { background: #54B948; }
.mm-row[data-model="mistral"] .bar i::after { background: #6D5BE3; }
.mm-row[data-model="gemini"]  .bar i::after { background: #1A73E8; }

.mm-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mm-lbl em {
  font-style: italic;
  font-family: "IBM Plex Serif", serif;
  text-transform: none;
  letter-spacing: 0;
  color: var(--rust);
  margin-left: 4px;
}
.mm-strength .mm-lbl::before { content: "✓"; margin-right: 6px; color: #54B948; font-family: inherit; }
.mm-honest   .mm-lbl::before { content: "!"; margin-right: 6px; color: var(--rust); font-weight: 700; }
.mm-best     .mm-lbl::before { content: "→"; margin-right: 6px; color: var(--blue); font-weight: 500; }

.mm-col p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--ink);
}
.mm-honest p { color: var(--muted); }

.models-closer { max-width: 920px; margin: 36px 0 0; font-size: 16px; color: var(--ink); line-height: 1.6; }
.models-closer em {
  font-style: italic;
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  color: var(--blue);
}

@media (max-width: 1100px) {
  .mm-row { grid-template-columns: 1fr 1fr; }
  .mm-id { grid-column: span 2; border-right: 0; border-bottom: 1px solid var(--line); background: var(--bone); }
  .mm-col:nth-child(2) { border-right: 1px solid var(--line); }
  .mm-col:nth-child(3) { border-right: 0; }
  .mm-col:nth-child(4) { grid-column: span 2; border-right: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .mm-row, .mm-id, .mm-col { grid-template-columns: 1fr !important; grid-column: auto !important; border-right: 0 !important; }
  .mm-col { border-top: 1px solid var(--line); }
}

/* ============ 10 · SERVICE LEDGER ============ */
.svc-ledger {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.svc-row {
  display: grid;
  grid-template-columns: 96px 1.2fr 2fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background .2s var(--t1);
}
.svc-row::before {
  content: "";
  position: absolute; inset: 0 -20px;
  background: var(--bone);
  opacity: 0;
  transition: opacity .2s var(--t1);
  z-index: -1;
  border-radius: 8px;
}
.svc-row:hover::before { opacity: 1; }
.svc-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  padding-top: 6px;
}
.svc-title h3 {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0 0 14px;
  line-height: 1.2;
}
.svc-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.svc-chip {
  display: inline-block;
  padding: 4px 9px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}
.svc-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
.svc-desc p { margin: 0 0 14px; }
.svc-desc p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .svc-row { grid-template-columns: 80px 1fr; row-gap: 16px; }
  .svc-desc { grid-column: 1 / -1; padding-left: 0; }
}
@media (max-width: 560px) {
  .svc-row { grid-template-columns: 1fr; }
}

/* ============ 11 · TECH STACK (dark) ============ */
.stack.dark { background: var(--ink); }
.stack.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 80%);
  opacity: 0.6;
}
.stack.dark .wrap { position: relative; }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stack-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.stack-card-dark {
  background: var(--ink-2);
  border-color: var(--ink-3);
  color: var(--bone);
}
.stack-card-wide { grid-column: span 3; }
.stack-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.stack-card-dark .stack-head { border-bottom-color: var(--line-dark); }
.stack-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bone);
  color: var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.stack-icon svg { width: 18px; height: 18px; }
.stack-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.stack-items { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-chip {
  display: inline-block;
  padding: 5px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  white-space: nowrap;
}
.stack-card-dark .stack-chip {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-dark);
  color: var(--bone);
}
.stack-chip.stack-chip-icon {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 7px;
}
.chip-mark {
  width: 14px; height: 14px;
  display: block; object-fit: contain;
  flex-shrink: 0;
}
.stack-card-dark .chip-mark { filter: invert(1) brightness(1.2); }

@media (max-width: 1024px) {
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-card-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .stack-grid { grid-template-columns: 1fr; }
  .stack-card-wide { grid-column: auto; }
}

/* ============ 12 · INDUSTRIES ============ */
.ind-list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.ind-card {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .2s var(--t1);
}
.ind-head {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
.ind-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.ind-card h3 {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.ind-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.ind-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 900px) {
  .ind-card { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
}

/* ============ 13 · CASE STUDIES ============ */
.cases-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(300px, auto);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.case-card {
  background: var(--bone);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: background .2s var(--t1);
}
.case-card:hover { background: #fff; }
.case-card.featured {
  grid-row: span 2;
  background: var(--ink);
  color: var(--bone);
  padding: 36px;
}
.case-card.featured:hover { background: var(--ink-2); }

.case-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.case-tag .sq { width: 8px; height: 8px; background: var(--blue); display: inline-block; }
.case-card.featured .case-tag { color: var(--muted-dark); }
.case-card.featured .case-tag .sq { background: var(--signal); }

.case-metric {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.0;
  letter-spacing: -0.030em;
  margin: 0;
  text-wrap: balance;
}
.case-card.featured .case-metric { font-size: clamp(40px, 5vw, 72px); line-height: 0.95; }
.case-metric em {
  font-style: italic;
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  color: var(--blue);
}
.case-card.featured .case-metric em { color: var(--blue-tint); }

.case-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.case-card.featured .case-desc { color: var(--muted-dark); font-size: 15.5px; max-width: 580px; }
.case-card .case-desc strong, .case-card.featured .case-desc strong { color: inherit; font-weight: 500; }
.case-card .case-desc strong { color: var(--ink); }
.case-card.featured .case-desc strong { color: var(--bone); }

.case-stack {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}
.cs-chip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(10,10,11,0.06);
  border: 1px solid var(--line);
  color: var(--ink);
}
.case-card.featured .cs-chip {
  background: rgba(255,255,255,0.05);
  border-color: var(--line-dark);
  color: var(--bone);
}

.case-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.case-card.featured .case-foot { border-top-color: var(--line-dark); }
.case-foot .ba { color: var(--muted); }
.case-card.featured .case-foot .ba { color: var(--muted-dark); }
.case-foot .read { color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.case-foot .read .ts { color: var(--blue); }
.case-card.featured .case-foot .read { color: var(--signal); }

@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .case-card.featured { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 640px) {
  .cases-grid { grid-template-columns: 1fr; }
  .case-card.featured { grid-column: auto; }
}

/* ============ 14 · DELIVER (dark band, phases) ============ */
.deliver { background: var(--ink); }
.deliver::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 75%);
  opacity: 0.55;
}
.deliver .wrap { position: relative; }
.phases {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.phase {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
  position: relative;
}
.phase::before {
  /* indicator dot */
  content: "";
  position: absolute;
  left: 0;
  top: 44px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--ink-2);
}
.phase.ongoing::before { background: var(--signal); }
.phase-meta {
  padding-left: 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.phase-ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone);
}
.phase-when {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 8px;
}
.phase-when.sig { color: var(--signal); }
.phase-when .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  animation: pulse-sig 2s infinite;
}
@keyframes pulse-sig {
  0%   { box-shadow: 0 0 0 0 rgba(181,255,60,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(181,255,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(181,255,60,0); }
}
.phase-name {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--bone);
}
.phase-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted-dark);
  margin: 0;
  max-width: 760px;
}
.phase-text strong { color: var(--bone); font-weight: 500; }
.phase.ongoing { background: linear-gradient(180deg, rgba(181,255,60,0.04), transparent); }

@media (max-width: 900px) {
  .phase { grid-template-columns: 1fr; gap: 16px; }
  .phase::before { top: 42px; }
}

/* ============ 15 · WHY (bento) ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.why-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .2s var(--t1), border-color .2s var(--t1);
}
.why-card:hover { background: #fff; }
.why-card.feat {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink-3);
}
.why-card.feat:hover { background: var(--ink-2); }
.why-card .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
}
.why-card.feat .num { color: var(--muted-dark); }
.why-card .num .badge {
  background: var(--blue);
  color: #fff;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
}
.why-card h3 {
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.why-card h3 em {
  font-style: italic;
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
}
.why-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.why-card.feat p { color: var(--muted-dark); }
.why-card .inline-link {
  color: var(--bone);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 1px;
}
.why-card .inline-link:hover { color: var(--blue-tint); border-color: var(--blue-tint); }
.cred-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

/* span helpers */
.span-12 { grid-column: span 12; }
.span-7  { grid-column: span 7; }
.span-5  { grid-column: span 5; }

/* founder card */
.founder-card {
  background: var(--bone);
}
.founder-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
}
.founder-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-3);
}
.founder-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.founder-cap {
  position: absolute;
  left: 10px; bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  background: var(--bone);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--ink);
}

/* badges row in security card */
.why-badge-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.why-badge-row img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* US card */
.us-card .us-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.us-pills {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.us-pills li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
}
.us-pills .mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  white-space: nowrap;
}
.us-pills li > span:last-child {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .span-7, .span-5 { grid-column: span 12; }
}
@media (max-width: 720px) {
  .founder-row { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 220px; }
  .us-card .us-grid { grid-template-columns: 1fr; gap: 24px; }
  .us-pills { grid-template-columns: 1fr; }
}

/* ============ 16 · VERSUS COMPARISON (SIGNATURE) ============ */
.vs-table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
.vs-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.3fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.vs-row:last-child { border-bottom: 0; }
.vs-rowhead {
  background: var(--bone);
  border-bottom: 1px solid var(--ink);
}
.vs-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.vs-cell:last-child { border-right: 0; }

.vs-factor {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
  background: var(--bone);
}
.vs-rowhead .vs-cell {
  padding: 20px 24px;
  background: var(--bone);
  color: var(--ink);
}
.vs-rowhead .vs-label {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  display: block;
  letter-spacing: -0.01em;
}
.vs-rowhead .vs-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

/* Brainy Neurals column — emphasized via ink fill */
.vs-bn-h {
  background: var(--ink) !important;
  color: var(--bone) !important;
  position: relative;
}
.vs-bn-h .vs-sub { color: var(--signal); }
.vs-bn-h::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
}
.vs-bn {
  background: var(--ink);
  color: var(--bone);
  font-size: 14.5px;
  position: relative;
}
.vs-bn::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: var(--signal);
  font-weight: 700;
}
.vs-bn strong { color: var(--signal); font-weight: 600; }

.vs-wrap, .vs-agency {
  background: var(--paper);
}

@media (max-width: 1024px) {
  .vs-table { border: 0; border-radius: 0; }
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 16px; overflow: hidden; }
  .vs-cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 20px; }
  .vs-cell:last-child { border-bottom: 0; }
  .vs-factor {
    background: var(--ink);
    color: var(--bone);
    padding: 14px 20px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .vs-wrap::before    { content: "ChatGPT Wrapper · "; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-bottom: 6px; }
  .vs-agency::before  { content: "Generic AI Agency · "; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-bottom: 6px; }
  .vs-bn::before      { content: "✓ Brainy Neurals · "; color: var(--signal); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-bottom: 6px; font-weight: 600; }
}

/* ============ 17 · FAQ ============ */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.faq-side .muted { font-size: 15px; line-height: 1.55; margin: 0 0 24px; max-width: 360px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq-q .qi {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.faq-q .qt {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.faq-q .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background .2s var(--t1);
  position: relative;
  align-self: start;
  margin-top: 2px;
}
.faq-q .ic::before, .faq-q .ic::after {
  content: ""; position: absolute;
  background: var(--ink);
  transition: transform .3s var(--t1), background .2s var(--t1);
}
.faq-q .ic::before { width: 10px; height: 1.5px; }
.faq-q .ic::after  { width: 1.5px; height: 10px; }
.faq-item[open] .faq-q .ic { background: var(--ink); }
.faq-item[open] .faq-q .ic::before,
.faq-item[open] .faq-q .ic::after { background: var(--bone); }
.faq-item[open] .faq-q .ic::after { transform: scaleY(0); }
.faq-a {
  padding: 0 0 28px 72px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 820px;
}
.faq-a p { margin: 0; }

@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-a { padding-left: 72px; }
}
@media (max-width: 560px) {
  .faq-q { grid-template-columns: 40px 1fr 28px; }
  .faq-a { padding-left: 56px; }
}

/* ============ 18 · RELATED ============ */
.related.dark { background: var(--ink); }
.related.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 75%);
  opacity: 0.5;
}
.related .wrap { position: relative; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.related-card {
  background: var(--ink);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
  position: relative;
  transition: background .2s var(--t1);
  border: 0;
}
.related-card:hover {
  background: var(--ink-2);
}
.rc-ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-dark);
}
.rc-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
  margin: 0;
  color: var(--bone);
}
.rc-blurb {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted-dark);
  margin: 0;
}
.rc-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted-dark);
  letter-spacing: 0.02em;
}
.rc-arr {
  color: var(--blue-tint);
  transition: transform .2s var(--t1);
}
.related-card:hover .rc-arr { transform: translateX(4px); color: var(--bone); }

@media (max-width: 1024px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .related-grid { grid-template-columns: 1fr; } }

/* ============ 19 · FINAL CTA + CALENDLY ============ */
.cta-final {
  padding: 120px 0;
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(122,160,255,0.35), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(2,30,120,0.5), transparent 60%),
    linear-gradient(135deg, #0858FF 0%, #0540D6 50%, #0432A8 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 50%, black, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 30% 50%, black, transparent 85%);
}
.cta-final::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(8px 8px at 12% 30%, rgba(255,255,255,0.45), transparent 70%),
    radial-gradient(6px 6px at 88% 70%, rgba(181,255,60,0.65), transparent 70%);
}
.cta-final .wrap { position: relative; }
.cta-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
.cta-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.cta-h {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 22px;
  text-wrap: balance;
}
.cta-h em {
  font-style: italic;
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.cta-sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin: 0 0 32px;
}

.cta-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 560px;
}
.cta-channel {
  background: rgba(8,40,180,0.35);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
  transition: background .2s var(--t1);
  min-height: 64px;
}
.cta-channel:hover { background: rgba(8,40,180,0.6); }
.ch-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.ch-val {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.005em;
}

.cta-book {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.35), 0 6px 16px rgba(0,0,0,0.18);
}
.cta-book-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.cbh-lbl {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
  text-transform: uppercase;
}
.cbh-lbl .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
.cbh-when { color: var(--muted); }

.calendly-inline-widget {
  border: 1px dashed var(--line);
  border-radius: var(--r);
  position: relative;
  background: var(--bone);
}
.cta-fallback {
  padding: 28px 20px;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.cta-fallback p { margin: 0 0 14px; }
.cta-fallback p:last-child { margin: 0; }
.cta-fallback a { color: var(--blue); border-bottom: 1px solid var(--blue); padding-bottom: 1px; }
.cta-fallback .btn { border-bottom: 0; color: #fff; }
.cta-fine { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

@media (max-width: 1024px) {
  .cta-card { grid-template-columns: 1fr; }
  .cta-secondary { grid-template-columns: 1fr; max-width: none; }
}

/* ============ 20 · FOOTER ============ */
.footer { background: var(--ink); color: var(--bone); padding: 80px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.9fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-logo {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand .desc {
  color: var(--muted-dark);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 360px;
}
.footer-col h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.footer-col a {
  color: var(--bone);
  font-size: 13.5px;
  transition: color .15s var(--t1);
}
.footer-col a:hover { color: var(--blue-tint); }
.footer-stack { display: flex; flex-direction: column; gap: 28px; }

.footer-bot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 28px;
  gap: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
}
.footer-bot > :first-child  { justify-self: start; }
.footer-bot > :nth-child(2) { justify-self: center; }
.footer-bot > :last-child   { justify-self: end; }
.footer-bot .legal { display: flex; gap: 24px; }
.footer-bot a:hover { color: var(--bone); }

/* social row */
.social-row { display: inline-flex; align-items: center; gap: 8px; }
.social-row .social {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  color: var(--muted-dark);
  transition: background .2s var(--t1), border-color .2s var(--t1);
}
.social-row .social:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--bone);
}
.social-row .social img {
  width: 16px; height: 16px; display: block;
  filter: invert(1) brightness(1.2);
  opacity: 0.82;
  transition: opacity .2s var(--t1);
}
.social-row .social:hover img { opacity: 1; }

@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bot { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .footer-bot > :first-child,
  .footer-bot > :nth-child(2),
  .footer-bot > :last-child { justify-self: start; }
}

/* ============ 21 · STICKY CTA + BACK TO TOP ============ */
.sticky-cta {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translate(-50%, 80px);
  z-index: 60;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 18px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: 0 18px 40px -10px rgba(10,10,11,0.4);
  transition: transform .35s var(--t1), opacity .25s var(--t1);
  opacity: 0;
  pointer-events: none;
}
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-cta .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(181,255,60,.6);
  animation: pulse-sig 2s infinite;
}
.sc-lbl { color: var(--muted-dark); font-size: 12px; font-family: "IBM Plex Mono", monospace; letter-spacing: 0.04em; }
.sticky-cta .cta-btn {
  background: var(--blue); color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 13.5px;
  transition: background .2s var(--t1);
}
.sticky-cta .cta-btn:hover { background: var(--blue-2); }
.sticky-cta .arr { transition: transform .25s var(--t1); }
.sticky-cta .cta-btn:hover .arr { transform: translateX(4px); }

@media (max-width: 640px) {
  .sticky-cta { left: 12px; right: 12px; transform: translateY(80px); width: auto; }
  .sticky-cta.show { transform: translateY(0); }
  .sc-lbl { display: none; }
}

.btt {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 44px; height: 44px;
  background: var(--ink); color: var(--bone);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 60;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s var(--t1), transform .3s var(--t1), background .2s var(--t1);
  box-shadow: 0 8px 24px rgba(10,10,11,0.25);
}
.btt.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.btt:hover { background: var(--ink-2); }
@media (max-width: 640px) {
  .btt { bottom: 80px; }
}

/* ============ 22 · MOTION + UTILITIES ============ */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--t1), transform .7s var(--t1); }
.fade-up.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
  .bar i::after { transition: none; }
}