:root {
  --ink:        #0e1230;
  --ink-2:      #1e2657;
  --paper:      #f6f4ee;
  --paper-2:    #ece8db;
  --brand:      #1e2657;
  --brand-2:    #2d3a82;
  --accent:     #f0a040;
  --warn:       #e03030;
  --good:       #1ea97c;
  --muted:      #6b6478;
  --rule:       rgba(14,18,48,0.10);

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}
::selection { background: var(--ink); color: var(--accent); }
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

/* ────── Topbar ────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(246,244,238,0.85);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  max-width: 1240px; margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: center;
  transition: transform 0.2s;
}
.logo:hover { transform: scale(1.02); }
.logo-img { height: 44px; width: auto; display: block; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  transition: opacity 0.2s, color 0.2s;
}
.nav a:hover { opacity: 0.65; }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none; cursor: pointer;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: '▾'; font-size: 10px; opacity: 0.6; }
.nav-dropdown[open] summary { color: var(--brand); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: -16px;
  margin-top: 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(14,18,48,0.08);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-dropdown-menu a:hover { background: var(--paper-2); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,18,48,0.18); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,160,64,0.4); }

@media (max-width: 900px) {
  .nav { display: none; }
}

/* ────── Hero (page) ────── */
.page-hero {
  padding: 80px 0 60px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--good);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(30,169,124,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(30,169,124,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,169,124,0); }
}

h1.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 920px;
}
h1.page-title em { font-style: italic; color: var(--brand); }
h1.page-title .accent {
  background: linear-gradient(120deg, var(--brand) 0%, var(--warn) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.page-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 640px;
  margin-bottom: 32px;
}
.page-sub strong { font-weight: 700; color: var(--ink); }

/* ────── Sections ────── */
section.block { padding: 100px 0; position: relative; z-index: 2; }
section.block-sm { padding: 60px 0; position: relative; z-index: 2; }
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 880px;
}
.section-title em { font-style: italic; color: var(--brand); }
.section-intro { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }

.dark-section { background: var(--ink); color: var(--paper); }
.dark-section .section-label { color: var(--accent); }
.dark-section .section-title { color: var(--paper); }
.dark-section .section-title em { color: var(--accent); }
.dark-section .section-intro { color: rgba(246,244,238,0.7); }

/* ────── Cards ────── */
.card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(14,18,48,0.08);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ────── Testimonials ────── */
.quotes {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.quote-card {
  background: var(--paper-2);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  color: var(--ink);
}
.quote-card .quote-text { color: var(--ink); }
.dark-section .quote-card { background: var(--paper-2); }
.dark-section .quote-card .quote-text { color: var(--ink); }
.dark-section .quote-card .quote-name { color: var(--ink); }
.quote-card.featured { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.quote-mark {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.7;
  color: var(--brand);
  margin-bottom: 12px;
}
.quote-card.featured .quote-mark { color: var(--ink); }
.quote-text {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 24px;
  font-weight: 500;
  flex: 1;
}
.quote-card.featured .quote-text { font-size: 18px; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--paper);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.quote-card.featured .quote-avatar { background: var(--ink); color: var(--accent); }
.quote-name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.quote-role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.quote-card.featured .quote-role { color: var(--ink-2); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ────── CTA ────── */
.cta-block {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 80px auto 100px;
  max-width: 1180px;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 100%, var(--brand-2) 0%, transparent 50%),
              radial-gradient(circle at 80% 0%, var(--accent) 0%, transparent 40%);
  opacity: 0.25;
}
.cta-block > * { position: relative; z-index: 2; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.cta-title em { font-style: italic; color: var(--accent); }
.cta-sub {
  font-size: 17px;
  color: rgba(246,244,238,0.78);
  margin: 0 auto 36px;
  max-width: 600px;
  line-height: 1.5;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-block .btn-primary { background: var(--accent); color: var(--ink); }
.cta-block .btn-ghost { color: var(--paper); border-color: rgba(246,244,238,0.3); }
.cta-block .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* ────── Footer ────── */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}
.footer-logo { height: 56px; width: auto; display: block; margin-bottom: 16px; }
.footer-tag { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 320px; margin-bottom: 20px; }
.footer-contact { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.footer-contact a { display: inline-block; transition: opacity 0.2s; }
.footer-contact a:hover { opacity: 0.6; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block; font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 10px;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 0.6; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.social-pill {
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.social-pill:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ────── Reveals ────── */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ────── Misc ────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
}

.stat {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 28px;
  color: var(--brand);
  transition: transform 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p, .faq details > ul { padding-top: 16px; color: var(--ink-2); line-height: 1.6; }

ul.checks { list-style: none; padding: 0; margin: 16px 0; }
ul.checks li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid var(--rule);
}
ul.checks li:last-child { border-bottom: none; }
ul.checks li::before {
  content: '✓';
  position: absolute; left: 0; top: 11px;
  width: 22px; height: 22px;
  background: var(--brand);
  color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.dark-section ul.checks li { border-bottom-color: rgba(246,244,238,0.1); }
.dark-section ul.checks li::before { background: var(--accent); color: var(--ink); }

.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; margin: 48px 0 16px; }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin: 32px 0 12px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin-bottom: 16px; max-width: 720px; }
.prose ul { margin: 16px 0 16px 24px; }
.prose li { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; }

form.contact-form { display: grid; gap: 18px; max-width: 560px; }
form.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30,38,87,0.1);
}
form.contact-form textarea { resize: vertical; min-height: 120px; }
/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES — comprehensive mobile, tablet, desktop
   These rules use !important to override inline styles where needed.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Container padding ─────────────────────────────────────────── */
@media (max-width: 760px) {
  .container { padding: 0 20px; }
}

/* ── Hamburger menu (mobile/tablet) ─────────────────────────────── */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
}
.menu-toggle svg { width: 22px; height: 22px; display: block; }

.mobile-nav {
  display: block;
  visibility: hidden;
  position: fixed;
  top: 0; right: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  background: var(--paper);
  border-left: 1px solid var(--rule);
  z-index: 200;
  padding: 80px 28px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0s 0.3s;
  box-shadow: -20px 0 40px rgba(14,18,48,0.15);
}
.mobile-nav.open {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.3s ease, visibility 0s;
}
.mobile-nav-overlay {
  display: block;
  visibility: hidden;
  position: fixed;
  inset: 0;
  background: rgba(14,18,48,0.4);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.mobile-nav-overlay.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s, visibility 0s;
}
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none; cursor: pointer;
  font-size: 28px; line-height: 1;
  color: var(--ink); padding: 6px 12px;
}
.mobile-nav h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 24px 0 12px;
  font-weight: 500;
}
.mobile-nav h4:first-child { margin-top: 0; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--brand); }
.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .topbar-inner > .btn-primary { display: none; }
  .topbar-inner { gap: 12px; }
}
@media (max-width: 760px) {
  .topbar-inner { padding: 14px 20px; }
}

/* ── Hero (homepage) ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .page-hero .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}
@media (max-width: 760px) {
  .page-hero { padding: 40px 0 30px; }
  h1.page-title { font-size: clamp(34px, 9vw, 48px) !important; }
  .page-sub { font-size: 16px; }
  /* Stack hero buttons full-width on small mobile */
  .page-hero .btn { font-size: 13px; padding: 12px 18px; }
  /* Hero "trust line" KPIs strip */
  .page-hero [style*="font-family:var(--font-mono)"][style*="font-size:12px"] {
    font-size: 11px !important;
    gap: 10px !important;
  }
}

/* ── Sections (general) ───────────────────────────────────────── */
@media (max-width: 760px) {
  section.block { padding: 60px 0; }
  section.block-sm { padding: 40px 0; }
  .section-title { font-size: clamp(26px, 7vw, 36px) !important; }
  .section-intro { font-size: 16px; }
}

/* ── Force any 2-column grid to stack on mobile ─────────────── */
@media (max-width: 760px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
/* Tablet: keep 2-col where it makes sense, but tighten */
@media (min-width: 761px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr !important; }
  .grid-4 { grid-template-columns: 1fr 1fr !important; }
}

/* ── Card padding on small screens ──────────────────────────── */
@media (max-width: 760px) {
  .card { padding: 24px; }
  .card h3 { font-size: 19px; }
  .card p { font-size: 14px; }
}

/* ── Case study card ─────────────────────────────────────────── */
@media (max-width: 760px) {
  /* The case study container has padding:48px inline; override */
  section.block-sm .container > div[style*="padding:48px"] {
    padding: 24px !important;
  }
  /* Case study headline is too big at default 36px */
  section.block-sm h2[style*="font-size:36px"] {
    font-size: 26px !important;
  }
  /* Case study before/after metrics rows: keep readable */
  section.block-sm [style*="background:rgba(224,48,48,0.06)"],
  section.block-sm [style*="background:rgba(30,169,124,0.06)"] {
    padding: 18px !important;
  }
  /* Case study quote block padding */
  section.block-sm [style*="background:var(--ink)"][style*="padding:28px"] {
    padding: 22px !important;
  }
}

/* ── Founder section (homepage) ─────────────────────────────── */
@media (max-width: 900px) {
  .home-founder {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .home-founder-photo-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
}
@media (max-width: 760px) {
  .home-founder-quote { font-size: 18px !important; padding-left: 18px; }
  .home-founder-bio { font-size: 14px; }
  .home-founder-stat-num { font-size: 22px !important; }
  .home-founder-stats { padding: 18px 0; gap: 12px; }
}
@media (max-width: 480px) {
  .home-founder-stats { grid-template-columns: 1fr !important; gap: 16px; text-align: center; }
}

/* ── Founder page (founder.html) ────────────────────────────── */
@media (max-width: 900px) {
  .founder-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .founder-hero-photo {
    max-width: 320px;
    margin: 0 auto;
  }
  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .story-eyebrow {
    position: relative !important;
    top: 0 !important;
  }
}
@media (max-width: 760px) {
  .founder-hero-name { font-size: clamp(40px, 11vw, 56px) !important; }
  .founder-hero-lede { font-size: 16px; }
  .article-grid { grid-template-columns: 1fr !important; }
  .founder-quote { padding: 36px 24px !important; margin: 48px 0; }
  .founder-quote-text { font-size: 18px !important; }
  .press-card {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
    gap: 6px !important;
  }
  .press-card .date { display: none; }
  .topics-strip { gap: 6px; }
  .topic-chip { font-size: 12px; padding: 6px 12px; }
}

/* ── About page founder section ─────────────────────────────── */
@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .founder-photo-wrap {
    max-width: 340px;
    margin: 0 auto;
  }
}
@media (max-width: 760px) {
  .founder-lede { font-size: 18px !important; }
  .founder-stats { grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 0; margin: 24px 0; }
  .founder-stat-num { font-size: 24px !important; }
  .founder-press a {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    padding: 14px !important;
  }
  .founder-press .press-date { display: none; }
}

/* ── Contact page founder card ───────────────────────────────── */
@media (max-width: 600px) {
  .contact-founder-card {
    grid-template-columns: 1fr !important;
    text-align: left;
    gap: 14px !important;
  }
  .contact-founder-img { width: 80px; }
}

/* ── Hero proof card on homepage ────────────────────────────── */
@media (max-width: 900px) {
  /* The hero proof card has transform: rotate(1.5deg) inline */
  .page-hero [style*="transform:rotate"] {
    transform: rotate(0deg) !important;
    margin-top: 16px;
  }
}

/* ── Quote cards / testimonials ──────────────────────────────── */
@media (max-width: 760px) {
  .quote-text { font-size: 14px; }
  .quote-card.featured .quote-text { font-size: 16px; }
}

/* ── CTA block ──────────────────────────────────────────────── */
@media (max-width: 760px) {
  .cta-block { padding: 48px 24px !important; margin: 40px auto 60px !important; }
  .cta-title { font-size: clamp(26px, 7vw, 36px) !important; }
  .cta-sub { font-size: 15px; }
  .cta-actions .btn { font-size: 13px; padding: 11px 18px; }
}

/* ── Forms (contact page) ───────────────────────────────────── */
@media (max-width: 760px) {
  form.contact-form input,
  form.contact-form select,
  form.contact-form textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

/* ── Footer ─────────────────────────────────────────────────── */
@media (max-width: 760px) {
  footer { padding: 60px 0 30px; }
  .footer-tag { font-size: 13px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-socials { width: 100%; }
}

/* ── FAQ ─────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .faq summary { font-size: 16px; }
  .faq details > p, .faq details > ul { font-size: 14px; }
}

/* ── Tabs (founder page) ────────────────────────────────────── */
@media (max-width: 600px) {
  .tabs { gap: 0; }
  .tab { padding: 12px 14px; font-size: 13px; }
}

/* ── Stats grids ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .stat { padding: 18px 14px; }
  .stat-num { font-size: 32px; }
}

/* ── Pill / badge wrapping on hero ──────────────────────────── */
@media (max-width: 760px) {
  .pill { font-size: 12px; padding: 6px 12px; }
  .eyebrow { font-size: 10px; padding: 6px 12px; }
}

/* ── Allow horizontal scroll on overflowing tables ─────────── */
table { max-width: 100%; }

/* ── Image fluidity ─────────────────────────────────────────── */
img { max-width: 100%; height: auto; }

/* ── Prevent text overflow on long words/emails ────────────── */
.footer-contact a, .contact-founder-link { word-break: break-word; }

/* ── Tablet refinements (768-1024) ──────────────────────────── */
@media (min-width: 761px) and (max-width: 1024px) {
  .container { padding: 0 28px; }
  h1.page-title { font-size: clamp(38px, 6vw, 60px); }
  .home-founder { grid-template-columns: 360px 1fr; gap: 48px; }
}

/* ── 5-column funnel diagram (for-coaches) ─────────────────── */
@media (max-width: 760px) {
  [style*="grid-template-columns: repeat(5"],
  [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
}
@media (max-width: 480px) {
  [style*="grid-template-columns: repeat(5"],
  [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── 3-column repeats on tight mobile ───────────────────────── */
@media (max-width: 480px) {
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}
