/* ============================================================
   InnovateX — Graphite & Coral Design System
   All colors driven from :root — swap the kit in one place.
   ============================================================ */

:root {
  --primary: #24282E;        /* graphite */
  --accent: #FF6B5A;         /* coral */
  --accent-hover: #EC5748;
  --label: #C9584A;          /* terracotta labels on white */
  --accent-soft: #F2A68C;    /* salmon accents on dark */
  --surface: #FBF7F4;        /* warm off-white */
  --surface-2: #F3EEEA;
  --line: #ece4df;
  --ink: #22262b;
  --muted: #6f6b68;
  --white: #ffffff;

  --font-head: 'Poppins', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --max-w: 1180px;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(36, 40, 46, 0.09);
  --shadow-lg: 0 24px 64px rgba(36, 40, 46, 0.14);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--primary); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--label); margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--accent-soft); }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 46em; }
.on-dark .lead { color: rgba(255,255,255,0.78); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.98rem; padding: 15px 32px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: all 0.22s ease;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(236,87,72,0.35); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.on-dark .btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,244,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; color: var(--primary); letter-spacing: -0.02em; }
.logo:hover { color: var(--primary); }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-family: var(--font-head); font-size: 0.92rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-hover); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2.5px;
  background: var(--accent); border-radius: 2px;
}
.nav-cta { margin-left: 6px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a::before { content: ''; }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 10px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 500; }
.dropdown-menu a:hover { background: var(--surface-2); }
.dropdown-menu a.active::after { display: none; }
.caret { font-size: 0.6em; margin-left: 4px; opacity: 0.6; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--primary); margin: 5px 0; border-radius: 2px; transition: 0.25s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
    background: var(--surface); flex-direction: column; align-items: flex-start;
    padding: 28px 24px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.28s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 15px 0; font-size: 1.05rem; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 0 0 8px 16px;
  }
  .nav-cta { margin: 18px 0; border-bottom: none !important; }
  body.nav-open { overflow: hidden; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { padding: 110px 0 96px; }
.hero-dark { background: var(--primary); color: #fff; }
.hero-dark h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats-band { background: var(--primary); color: #fff; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.7rem; font-weight: 800; color: var(--accent-soft); line-height: 1.05; }
.stat-label { font-size: 0.92rem; color: rgba(255,255,255,0.72); margin-top: 8px; }
.stats-light .stat-num { color: var(--accent-hover); }
.stats-light .stat-label { color: var(--muted); }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: all 0.25s ease; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-link { display: inline-block; margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; }
a.card { color: inherit; display: block; }

.card-dark { background: var(--primary); border-color: var(--primary); }
.card-dark h3, .card-dark h4 { color: #fff; }
.card-dark p { color: rgba(255,255,255,0.75); }

.card-num {
  font-family: var(--font-head); font-weight: 800; font-size: 0.85rem;
  color: var(--label); letter-spacing: 0.1em; margin-bottom: 12px; display: block;
}

/* Tag / badge */
.tag {
  display: inline-block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px;
  border-radius: 999px; background: var(--surface-2); color: var(--label);
  margin-bottom: 14px;
}
.tag.tag-real { background: #e9f2ec; color: #2f6b47; }
.tag.tag-composite { background: var(--surface-2); color: var(--label); }

/* Big-stat case cards */
.case-stat { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--accent-hover); line-height: 1.1; margin-bottom: 8px; }

/* ---------- Sections ---------- */
.section-alt { background: var(--surface-2); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- 4D timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 24px; }
@media (max-width: 880px) { .timeline { grid-template-columns: 1fr; } }
.timeline-step { padding: 30px 26px 30px 30px; border-left: 2px solid var(--line); position: relative; }
.timeline-step::before {
  content: ''; position: absolute; left: -7px; top: 38px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,107,90,0.18);
}
.timeline-step .step-d { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--line); line-height: 1; margin-bottom: 10px; }
.timeline-step:hover .step-d { color: var(--accent-soft); }

/* ---------- Process / numbered list ---------- */
.num-list { counter-reset: step; list-style: none; }
.num-list li { position: relative; padding: 22px 0 22px 68px; border-bottom: 1px solid var(--line); }
.num-list li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--accent);
}
.num-list h4 { margin-bottom: 4px; }
.num-list p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Quote / testimonial ---------- */
.quote-block {
  background: #fff; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 34px 38px; box-shadow: var(--shadow); max-width: 820px; margin: 0 auto;
}
.quote-block blockquote { font-family: var(--font-head); font-size: 1.25rem; font-weight: 500; color: var(--primary); line-height: 1.5; }
.quote-attr { margin-top: 16px; font-size: 0.92rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); border-radius: 20px; padding: 68px 56px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 40em; margin: 0 auto 30px; }
@media (max-width: 640px) { .cta-band { padding: 48px 26px; } }

/* ---------- Article / longform ---------- */
.article { padding: 72px 0 88px; }
.article-head { max-width: 780px; margin: 0 auto 44px; padding: 0 24px; }
.article-meta { font-size: 0.88rem; color: var(--muted); margin-top: 16px; display: flex; gap: 18px; flex-wrap: wrap; }
.article-body { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-body h2 { font-size: 1.65rem; margin: 44px 0 16px; }
.article-body h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body .callout {
  background: var(--surface-2); border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0; padding: 22px 26px; margin: 28px 0;
}
.article-body .callout p:last-child { margin-bottom: 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
.article-body th, .article-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.article-body th { font-family: var(--font-head); font-weight: 600; color: var(--primary); background: var(--surface-2); }
.article-body .sources { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; }
.article-body .sources ol { margin-left: 18px; }

/* Disclosure note */
.disclosure {
  font-size: 0.85rem; color: var(--muted); background: var(--surface-2);
  border-radius: 10px; padding: 14px 18px; margin-top: 28px;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--primary); display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--ink);
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--line); padding: 6px 0; }
details.faq summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--primary); padding: 16px 32px 16px 0; list-style: none; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.4rem;
  color: var(--accent); transition: transform 0.2s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 0 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.75); padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.72); font-size: 0.94rem; }
.footer-grid a:hover { color: var(--accent-soft); }
.footer-brand p { font-size: 0.94rem; max-width: 30em; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 48px; padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.84rem; color: rgba(255,255,255,0.5);
}
.footer-tagline { color: var(--accent-soft); font-family: var(--font-head); font-weight: 600; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Tool pages (printable) ---------- */
.tool-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; max-width: 860px; margin: 0 auto; }
.tool-sheet h2 { font-size: 1.4rem; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.tool-sheet .fill-line { border-bottom: 1px solid var(--line); height: 34px; margin-bottom: 8px; }
.check-list { list-style: none; }
.check-list li { padding: 12px 0 12px 40px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 14px; width: 20px; height: 20px;
  border: 2px solid var(--accent); border-radius: 5px;
}
.tool-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.tool-table th, .tool-table td { border: 1px solid var(--line); padding: 12px; text-align: left; font-size: 0.93rem; vertical-align: top; }
.tool-table th { background: var(--surface-2); font-family: var(--font-head); }
.tool-table td.tall { height: 72px; }

@media print {
  .site-header, .site-footer, .no-print, .nav-toggle { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .tool-sheet { border: none; padding: 0; box-shadow: none; }
  section { padding: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Editorial homepage components (MBB-grade landing)
   ============================================================ */

/* Oversized hero */
.hero-xl { position: relative; overflow: hidden; padding: 130px 0 110px; }
.hero-xl h1 { font-size: clamp(2.7rem, 6.2vw, 4.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; max-width: 13.5em; }
.hero-xl .lead { font-size: 1.28rem; max-width: 38em; }
.kicker { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 26px; }
.kicker::before { content: ''; width: 42px; height: 2px; background: var(--accent); }
.hero-ring { position: absolute; right: -180px; top: 50%; transform: translateY(-50%); width: 640px; height: 640px; opacity: 0.09; pointer-events: none; }
@media (max-width: 880px) { .hero-ring { width: 420px; right: -160px; } }
.hero-note { font-size: 0.9rem; color: rgba(255,255,255,0.55); }

/* Credibility strip */
.cred-strip { background: var(--surface); border-bottom: 1px solid var(--line); padding: 22px 0; }
.cred-strip .container { display: flex; flex-wrap: wrap; gap: 12px 0; align-items: center; justify-content: space-between; }
.cred-item { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; padding-right: 22px; }
.cred-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Editorial split section */
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.pull { font-family: var(--font-head); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: var(--primary); }
.pull em { font-style: normal; color: var(--accent-hover); }
.prose p { margin-bottom: 18px; color: var(--muted); font-size: 1.04rem; }
.prose p strong { color: var(--ink); }

/* Numbered capability list */
.cap-list { list-style: none; border-top: 1px solid var(--line); }
.cap-list li { border-bottom: 1px solid var(--line); }
.cap-list a { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: baseline; padding: 22px 4px; color: inherit; transition: background 0.2s, padding-left 0.2s; }
.cap-list a:hover { background: var(--surface-2); padding-left: 14px; }
.cap-list .cap-no { font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; color: var(--label); letter-spacing: 0.08em; }
.cap-list .cap-name { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--primary); }
.cap-list .cap-arrow { color: var(--accent); font-weight: 700; opacity: 0; transition: opacity 0.2s; }
.cap-list a:hover .cap-arrow { opacity: 1; }
@media (max-width: 640px) { .cap-list a { grid-template-columns: 44px 1fr; } .cap-list .cap-arrow { display: none; } }

/* Featured case (large) */
.feature-case { display: grid; grid-template-columns: 1fr 1fr; background: var(--primary); border-radius: 20px; overflow: hidden; color: #fff; }
@media (max-width: 880px) { .feature-case { grid-template-columns: 1fr; } }
.feature-case .fc-stat { display: flex; flex-direction: column; justify-content: center; padding: 56px 48px; background: linear-gradient(155deg, #2c313a, #1d2126); }
.feature-case .fc-stat .big { font-family: var(--font-head); font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; color: var(--accent-soft); line-height: 1; letter-spacing: -0.02em; }
.feature-case .fc-stat .big-label { margin-top: 14px; color: rgba(255,255,255,0.65); font-size: 1rem; }
.feature-case .fc-body { padding: 56px 48px; }
.feature-case .fc-body h3 { color: #fff; font-size: 1.5rem; margin: 10px 0 14px; }
.feature-case .fc-body p { color: rgba(255,255,255,0.75); }
@media (max-width: 640px) { .feature-case .fc-stat, .feature-case .fc-body { padding: 36px 28px; } }

/* Insight rows (magazine list) */
.insight-rows { list-style: none; border-top: 1px solid var(--line); }
.insight-rows li { border-bottom: 1px solid var(--line); }
.insight-rows a { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding: 26px 4px; color: inherit; transition: background 0.2s, padding-left 0.2s; }
.insight-rows a:hover { background: var(--surface-2); padding-left: 14px; }
.insight-rows .ir-tag { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
.insight-rows .ir-title { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--primary); line-height: 1.35; }
.insight-rows .ir-arrow { color: var(--accent); font-weight: 700; }
@media (max-width: 640px) { .insight-rows a { grid-template-columns: 1fr; gap: 6px; } .insight-rows .ir-arrow { display: none; } }

/* Founder featurette */
.founder-feat { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .founder-feat { grid-template-columns: 1fr; gap: 28px; } }
.monogram { aspect-ratio: 1; border-radius: 18px; background: linear-gradient(155deg, #2c313a, #1d2126); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.monogram span { font-family: var(--font-head); font-size: 4.2rem; font-weight: 800; color: var(--accent-soft); letter-spacing: 0.02em; }
.monogram::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(242,166,140,0.3); border-radius: 12px; }

/* Offer rail (no-price engagement cards) */
.offer-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
@media (max-width: 980px) { .offer-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .offer-rail { grid-template-columns: 1fr; } }
.offer-rail a { padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; transition: background 0.2s; display: block; }
.offer-rail a:hover { background: var(--surface-2); }
.offer-rail h4 { font-size: 1.08rem; margin: 12px 0 8px; }
.offer-rail p { font-size: 0.92rem; color: var(--muted); }
.offer-rail .of-kicker { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }

/* Section header with rule */
.rule-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-top: 2px solid var(--primary); padding-top: 22px; margin-bottom: 46px; flex-wrap: wrap; }
.rule-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.rule-head .rh-link { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }

/* ============================================================
   v2 — EDITORIAL LAYER
   Adds: accessibility, breadcrumbs, service index, FAQ,
   capability grid, proof bar, editorial serif accents.
   ============================================================ */

:root { --font-serif: 'Source Serif 4', Georgia, serif; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--primary); color: #fff; padding: 12px 20px;
  font-family: var(--font-head); font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 14px 0; margin: 0;
  font-size: .82rem; font-family: var(--font-head); font-weight: 500; }
.crumbs li + li::before { content: '/'; color: var(--muted); opacity: .5; margin-right: 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-hover); }
.crumbs span { color: var(--primary); font-weight: 600; }

/* ---------- Editorial type ---------- */
.serif { font-family: var(--font-serif); font-style: italic; }
.display-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.35;
  color: var(--primary); letter-spacing: -.01em;
}
.on-dark .display-quote { color: #fff; }
.overline {
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--label);
}
.on-dark .overline { color: var(--accent-soft); }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-dark .hairline { background: rgba(255,255,255,.16); }

/* ---------- Capability index (numbered, L.E.K.-style) ---------- */
.cap-index { list-style: none; border-top: 1px solid var(--line); }
.cap-index li { border-bottom: 1px solid var(--line); }
.cap-index a {
  display: grid; grid-template-columns: 62px 1fr auto; align-items: baseline;
  gap: 18px; padding: 26px 8px 26px 0; color: var(--primary);
  transition: background .2s ease, padding .2s ease;
}
.cap-index a:hover { background: var(--surface-2); padding-left: 14px; color: var(--primary); }
.cap-index .ci-no {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  color: var(--label); letter-spacing: .06em; padding-top: 4px;
}
.cap-index .ci-body h3 { font-size: 1.24rem; margin-bottom: 5px; }
.cap-index .ci-body p { color: var(--muted); font-size: .96rem; max-width: 60ch; margin: 0; }
.cap-index .ci-arrow { font-size: 1.3rem; color: var(--accent); transition: transform .2s ease; }
.cap-index a:hover .ci-arrow { transform: translateX(6px); }
@media (max-width: 640px) {
  .cap-index a { grid-template-columns: 46px 1fr; gap: 12px; padding: 20px 0; }
  .cap-index .ci-arrow { display: none; }
}

/* ---------- Proof bar ---------- */
.proof-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.proof-bar > div { padding: 26px 24px; border-right: 1px solid var(--line); }
.proof-bar > div:last-child { border-right: 0; }
.proof-bar .pb-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.75rem;
  color: var(--primary); letter-spacing: -.02em; line-height: 1.1;
}
.proof-bar .pb-label { font-size: .84rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }
@media (max-width: 720px) { .proof-bar > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .2s ease;
}
.faq[open] summary::after { content: '\2212'; }
.faq summary:hover { color: var(--accent-hover); }
.faq-a { padding: 0 40px 24px 0; color: var(--muted); }
.faq-a p + p { margin-top: 14px; }
.faq-a strong { color: var(--ink); }

/* ---------- Service page furniture ---------- */
.svc-hero { background: var(--primary); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.svc-hero .svc-no {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem);
  color: rgba(255,255,255,.07); position: absolute; right: 4%; top: 6%; line-height: 1; letter-spacing: -.04em;
}
.svc-hero h1 { color: #fff; max-width: 17em; }
.svc-hero .lead { color: rgba(255,255,255,.8); margin-top: 18px; }

.sig-list { list-style: none; }
.sig-list li {
  position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.sig-list li::before {
  content: ''; position: absolute; left: 6px; top: 22px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--accent);
}
.sig-list li:last-child { border-bottom: 0; }

.deliverable-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.deliverable {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; border-top: 3px solid var(--accent);
}
.deliverable h4 { margin-bottom: 8px; }
.deliverable p { font-size: .93rem; color: var(--muted); margin: 0; }

.week-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.week-rail > div { padding: 24px; border-right: 1px solid var(--line); }
.week-rail > div:last-child { border-right: 0; }
.week-rail .wk { font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--label); margin-bottom: 10px; }
.week-rail h4 { margin-bottom: 8px; }
.week-rail p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .week-rail > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Fit / not-fit ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.fit-col.no { background: var(--surface-2); }
.fit-col h4 { margin-bottom: 14px; }
.fit-col ul { list-style: none; }
.fit-col li { padding: 9px 0 9px 26px; position: relative; font-size: .95rem; color: var(--muted); }
.fit-col li::before { position: absolute; left: 0; font-weight: 700; }
.fit-col.yes li::before { content: '\2713'; color: #2f7d5f; }
.fit-col.no li::before { content: '\2715'; color: #b4564a; }
@media (max-width: 720px) { .fit-grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.note-band {
  background: var(--surface-2); border-left: 3px solid var(--accent);
  padding: 22px 26px; border-radius: 0 10px 10px 0;
}
.note-band p:last-child { margin-bottom: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--muted);
}
.on-dark .pill { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.82); }
.anchor-nav {
  position: sticky; top: 74px; z-index: 40; background: rgba(251,247,244,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.anchor-nav ul { display: flex; gap: 26px; list-style: none; padding: 14px 0; overflow-x: auto;
  font-family: var(--font-head); font-size: .88rem; font-weight: 500; }
.anchor-nav a { color: var(--muted); white-space: nowrap; }
.anchor-nav a:hover { color: var(--accent-hover); }
.related-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.related-rail a {
  display: block; padding: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--primary); transition: all .2s ease;
}
.related-rail a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--primary); }
.related-rail .rr-k { font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.related-rail h4 { margin-top: 8px; font-size: 1.02rem; line-height: 1.3; }

/* ---------- Wide capability dropdown ---------- */
.dropdown-menu.dd-wide {
  min-width: 620px; left: -18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px;
  padding: 14px;
}
.dd-wide a { display: flex; align-items: baseline; gap: 11px; font-size: .89rem; padding: 9px 12px; }
.dd-no { font-family: var(--font-head); font-weight: 700; font-size: .68rem;
  color: var(--label); letter-spacing: .08em; flex-shrink: 0; }
.dd-sep { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.dd-sep a { font-weight: 600; color: var(--accent); }
@media (max-width: 1080px) { .dropdown-menu.dd-wide { min-width: 460px; grid-template-columns: 1fr; max-height: 70vh; overflow-y: auto; } }
@media (max-width: 920px) {
  /* Breakpoint must match the mobile-nav rule above (920px). A mismatch leaves
     the drawer sub-menus permanently expanded in the gap between the two. */
  .dropdown-menu.dd-wide { min-width: 0; grid-template-columns: 1fr; }
  .dropdown-menu, .dropdown:hover .dropdown-menu {
    position: static; opacity: 1; visibility: hidden; transform: none;
    box-shadow: none; border: 0; max-height: 0; overflow: hidden; padding: 0;
    transition: max-height .25s ease;
  }
  .dropdown.open .dropdown-menu, .dropdown.open:hover .dropdown-menu {
    visibility: visible; max-height: 720px; padding: 4px 0 10px 14px;
  }
  .dropdown > a .caret { transition: transform .2s ease; display: inline-block; }
  .dropdown.open > a .caret { transform: rotate(180deg); }
  .dd-wide a { padding: 11px 0; }
  .nav-links .dd-sep { border-top: 1px solid var(--line); }
}


/* ---------- No-JS fallback nav ----------
   The header and footer are injected by site.js. If the script is blocked
   (strict local file policies, an extension, a CSP), the page would otherwise
   have no navigation at all. This renders a plain nav in that case. */
.nojs-nav { border-bottom: 1px solid var(--line); background: var(--surface); padding: 14px 0; }
.nojs-nav ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; }
.nojs-nav a { color: var(--ink); }
.nojs-nav a:hover { color: var(--accent-hover); }
.nojs-nav strong { font-weight: 800; font-size: 1.15rem; color: var(--primary); margin-right: 8px; }
