/* ==========================================================================
   GROWINGO 2.0 Design System — Core Tokens & Framework
   ========================================================================== */

:root {
  /* Obsidian Base Scale */
  --black-0: #000000;
  --black-1: #0a0a0b;
  --black-2: #121214;
  --grey-1:  #18181b;
  --grey-2:  #222226;
  --grey-3:  #2e2e33;
  --grey-4:  #3d3d43;
  --grey-5:  #55555d;
  --grey-6:  #7a7a83;
  --grey-7:  #a3a3ab;
  --grey-8:  #c8c8ce;
  --grey-9:  #e4e4e8;
  --white:   #f7f7f9;

  /* Fluorescent & Status Accents (10% Rule) */
  --acid:          #d6ff3f;
  --acid-dim:      #a8cc2f;
  --acid-glow:     rgba(214, 255, 63, 0.4);
  --acid-glow-soft:rgba(214, 255, 63, 0.12);
  --cyan:          #3ff8e8;
  --cyan-glow:     rgba(63, 248, 232, 0.35);
  --magenta:       #ff3fc7;
  --amber:         #ffd23f;
  --red:           #ff4f5e;

  /* Surfaces */
  --surface-app:         var(--black-1);
  --surface-canvas:      var(--black-2);
  --surface-card:        var(--grey-1);
  --surface-card-raised: var(--grey-2);
  --surface-inset:       var(--black-0);
  --surface-glass:       rgba(18, 18, 20, 0.85);

  /* Borders */
  --border-hairline: var(--grey-3);
  --border-strong:   var(--grey-4);
  --border-focus:    var(--acid);

  /* Legacy compatibility aliases for WordPress posts */
  --text-primary:   var(--white);
  --text-secondary: var(--grey-8);
  --text-tertiary:  var(--grey-6);
  --accent:         var(--acid);

  /* Type — Semi-Bold 600 Headline System (Easy on Eyes, Executive Polish) */
  --font-body:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Archivo Expanded', 'Archivo', sans-serif;
  --font-black:   'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'Archivo', ui-monospace, Menlo, Monaco, monospace;

  /* Type Scales — Absolute minimum font size is 14px (Ease of reading is non-negotiable) */
  --font-size-min: 14px;
  --fs-display-xl: clamp(2.1rem, 3.8vw, 3rem);
  --fs-display-l:  clamp(1.75rem, 2.6vw, 2.45rem);
  --fs-display-m:  clamp(1.45rem, 2.1vw, 1.95rem);
  --fs-display-s:  1.35rem;
  --fs-h1:         clamp(1.75rem, 2.6vw, 2.45rem);
  --fs-h2:         clamp(1.4rem, 2vw, 1.85rem);
  --fs-h3:         clamp(1.2rem, 1.6vw, 1.35rem);
  --fs-body-l:     1.125rem; /* 18px */
  --fs-body:       1rem;     /* 16px */
  --fs-body-s:     0.9375rem;/* 15px */
  --fs-caption:    0.875rem; /* 14px - ABSOLUTE MINIMUM */
  --fs-mono:       0.875rem; /* 14px - ABSOLUTE MINIMUM */

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  32px;
  --space-8:  40px;
  --space-9:  56px;
  --space-10: 72px;
  --space-11: 96px;
  --space-12: 128px;

  /* Radii */
  --radius-xs:   3px;
  --radius-s:    6px;
  --radius-m:    10px;
  --radius-l:    16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card:       0 1px 0 rgba(0,0,0,.6), 0 8px 24px rgba(0,0,0,.45);
  --shadow-raised:     0 2px 0 rgba(0,0,0,.6), 0 16px 40px rgba(0,0,0,.55);
  --shadow-glow-acid:  0 0 0 1px rgba(214,255,63,.4), 0 0 28px rgba(214,255,63,.22);
  --shadow-glow-cyan:  0 0 0 1px rgba(63,248,232,.4), 0 0 24px rgba(63,248,232,.18);

  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast:   140ms;
  --dur-normal: 240ms;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  touch-action: pan-y pinch-zoom;
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--surface-app);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

html, body, #main-content, main, header, footer, section, .section, .hero-section {
  max-width: 100vw;
  overflow-x: clip;
  box-sizing: border-box;
}

/* Eliminate horizontal text cutting: all text containers wrap safely */
h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, div {
  overflow-wrap: break-word;
  word-break: break-word;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
}

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--space-6); box-sizing: border-box; }
.container-narrow { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 var(--space-6); box-sizing: border-box; }
.section { padding: clamp(var(--space-9), 7vw, var(--space-12)) 0; border-top: 1px solid var(--border-hairline); position: relative; max-width: 100vw; box-sizing: border-box; }
.section.canvas { background-color: var(--surface-canvas); }

/* Typography — Semi-Bold 600 Global Standard (Overrides all heavy 700/800/900 inline weights on headings) */
h1, h2, h3, h4, h5, h6,
.article-h1, .cs-hero h1,
.card-title-lg,
.font-black,
.entry-content h1, .entry-content h2, .entry-content h3 {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
  text-wrap: balance;
  -webkit-hyphens: none;
  hyphens: none;
}
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.text-acid { color: var(--acid); }
.text-cyan { color: var(--cyan); }
.text-secondary { color: var(--grey-8); }
.text-muted { color: var(--grey-6); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acid);
  flex-wrap: wrap;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-body);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-standard);
  white-space: nowrap;
}
.btn-primary {
  background: var(--acid);
  color: var(--black-0);
  border: 1px solid var(--acid);
}
.btn-primary:hover {
  background: var(--acid-dim);
  box-shadow: var(--shadow-glow-acid);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--surface-card);
  color: var(--white);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--surface-card-raised);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--grey-8);
  border: 1px solid var(--border-hairline);
}
.btn-ghost:hover {
  background: var(--surface-card);
  color: var(--acid);
  border-color: var(--acid);
}
.btn-lg {
  height: 52px;
  padding: 0 var(--space-7);
  font-size: var(--fs-body-l);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 1000;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  overflow-x: clip;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 72px;
  gap: var(--space-4);
}
@media (max-width: 1023px) {
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 64px !important;
    z-index: 1000 !important;
    background: rgba(10, 10, 11, 0.92) !important;
  }
  body {
    padding-top: 64px !important;
  }
  .header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    height: 64px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }
  .header-inner > div:last-child {
    gap: 0 !important;
  }
  .mobile-menu-btn {
    margin-left: auto;
  }
}

/* Zone 1 — Brand Logo with sovereign airspace (Sole preserved 900-weight brandmark) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-family: 'Archivo Black', 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-right: var(--space-6);
  white-space: nowrap;
}
.brand-logo .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}
@media (max-width: 1023px) {
  .brand-logo {
    font-size: 1.25rem !important;
    margin-right: 0 !important;
  }
}

/* Zone 2 — Centered floating nav dock */
.site-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}
@media (min-width: 1024px) {
  .site-nav { display: flex; }
}
.nav-link {
  font-size: var(--fs-body-s);
  font-weight: 600;
  color: var(--grey-7);
  text-decoration: none;
  transition: color var(--dur-fast);
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--acid); }

/* Zone 3 — CTA + mobile menu */
@media (max-width: 1023px) {
  .header-desktop-cta { display: none !important; }
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  cursor: pointer;
  padding: 8px;
}
@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}
.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform var(--dur-normal);
}

/* Mobile Nav Drawer — Surgical Flight-Deck Hierarchy */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  background: rgba(10, 10, 12, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px 20px;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-hairline);
  z-index: 999;
  overflow-y: auto;
  box-sizing: border-box;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: var(--font-display) !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--grey-8) !important;
  text-decoration: none !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid var(--border-hairline) !important;
  min-height: 48px !important;
  letter-spacing: -0.01em !important;
  transition: color 0.18s ease, padding-left 0.18s ease;
  box-sizing: border-box !important;
}
.mobile-drawer a:hover,
.mobile-drawer a:active {
  color: var(--white) !important;
  padding-left: 4px !important;
}
.mobile-drawer a::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-6);
  letter-spacing: 0.08em;
}
.mobile-drawer a.drawer-cta {
  margin-top: 24px !important;
  background: var(--acid) !important;
  color: var(--black-0) !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 20px !important;
  justify-content: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(214, 255, 63, 0.25) !important;
}
.mobile-drawer a.drawer-cta::before {
  display: none !important;
}

/* Mobile Sticky Floating Pill CTA Dock */
.mobile-book-cta {
  display: none;
}
@media (max-width: 1023px) {
  .mobile-book-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 32px);
    max-width: 380px;
    margin: 0 auto;
    height: 48px;
    padding: 0 20px;
    background: var(--acid);
    color: #0c0d0e;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-pill, 999px);
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.75), 0 0 16px rgba(214, 255, 63, 0.35);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-sizing: border-box;
    touch-action: manipulation;
  }
  .mobile-book-cta:active {
    transform: scale(0.98);
  }
  .mobile-book-cta.is-hidden {
    transform: translateY(calc(100% + 30px));
    opacity: 0;
    pointer-events: none;
  }
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   Interactive Dynamic Card Highlight System (Apple/Vercel Fluid Highlighting)
   Eliminates stuck/static highlights: hover and tap smoothly shifts focus.
   ========================================================================== */
.interactive-group {
  position: relative;
}
.interactive-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-m);
  transition: border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.28s ease;
  cursor: pointer;
}
.interactive-card:hover,
.interactive-card.is-active {
  border-color: var(--acid) !important;
  box-shadow: 0 0 24px rgba(214, 255, 63, 0.18), inset 0 0 12px rgba(214, 255, 63, 0.04) !important;
  transform: translateY(-3px);
  z-index: 2;
}
.interactive-card.cyan-theme:hover,
.interactive-card.cyan-theme.is-active {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 24px rgba(63, 248, 232, 0.18), inset 0 0 12px rgba(63, 248, 232, 0.04) !important;
  transform: translateY(-3px);
  z-index: 2;
}
.interactive-card.alert-theme:hover,
.interactive-card.alert-theme.is-active {
  border-color: #f43f5e !important;
  box-shadow: 0 0 24px rgba(244, 63, 94, 0.2), inset 0 0 12px rgba(244, 63, 94, 0.04) !important;
  transform: translateY(-3px);
  z-index: 2;
}
.interactive-card.purple-theme:hover,
.interactive-card.purple-theme.is-active {
  border-color: #a855f7 !important;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2), inset 0 0 12px rgba(168, 85, 247, 0.04) !important;
  transform: translateY(-3px);
  z-index: 2;
}

/* Subtle dimming of sibling cards when one is hovered */
.interactive-group:hover .interactive-card:not(:hover) {
  opacity: 0.88;
}
.interactive-group:hover .interactive-card:hover {
  opacity: 1;
}

.active-indicator-pill {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.interactive-card:hover .active-indicator-pill,
.interactive-card.is-active .active-indicator-pill {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   2-3 Card Responsive Grid Architecture (Optimal Legibility Standard)
   Desktop: Strictly 2 or 3 cards per row for maximum horizontal breathing room.
   Mobile/Tablet: 1 card per row for zero cramping and effortless scanning.
   ========================================================================== */
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 30px);
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 24px);
}

.cards-grid-2-or-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: clamp(20px, 2.5vw, 30px);
}

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

@media (max-width: 820px) {
  .cards-grid-2,
  .cards-grid-3,
  .cards-grid-2-or-3 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* Card Content Typography Standards (Non-negotiable minimum 14px) */
.card-meta-badge {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-title-lg {
  font-family: var(--font-black);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 12px;
}

.card-copy-text {
  font-size: 1rem; /* 16px */
  color: var(--grey-8);
  line-height: 1.65;
  margin-bottom: 18px;
}

.card-deliverables-box {
  background: #18181b;
  border-radius: var(--radius-s);
  padding: 16px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--border-hairline);
}

.card-deliverables-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.card-deliverables-list {
  font-size: 15px;
  color: var(--grey-7);
  line-height: 1.65;
  padding-left: 20px;
  margin: 0;
}

.card-action-link {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.card-action-link:hover {
  gap: 10px;
}

/* ==========================================================================
   Universal Clinical Diagnosis Modal Pop-up System
   ========================================================================== */
.diagnosis-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 8, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.diagnosis-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.diagnosis-modal-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: center;
}

.diagnosis-modal-card {
  position: relative;
  width: 100%;
  background: #111114;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-l);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.15);
  padding: clamp(24px, 4vw, 44px);
  transform: scale(0.96) translateY(12px);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.diagnosis-modal-backdrop.is-open .diagnosis-modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.diagnosis-modal-close {
  position: absolute;
  top: clamp(16px, 2.5vw, 24px);
  right: clamp(16px, 2.5vw, 24px);
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  border-radius: 50%;
  color: var(--grey-8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.diagnosis-modal-close:hover {
  background: rgba(226, 253, 91, 0.12);
  border-color: var(--acid);
  color: var(--acid);
  transform: rotate(90deg);
}

.diagnosis-modal-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(24px, 3.5vw, 40px);
}

/* ==========================================================================
   1-FOLD COMPACT MOBILE FORM ARCHITECTURE (High Conversion Efficiency)
   ========================================================================== */
@media (max-width: 900px) {
  .diagnosis-modal-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .diagnosis-modal-card {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 14px 14px 10px !important;
    overflow-y: auto;
  }
  /* In modal on mobile, hide secondary agenda column so the form fits in 1 screen fold */
  .diagnosis-modal-grid > div:last-child {
    display: none !important;
  }
}

@media (max-width: 680px) {
  /* Retain compact 2-column paired layout on mobile */
  .form-row,
  .diagnosis-modal-card .form-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  /* Compact form inputs & micro-labels */
  .diagnosis-form-area form,
  .diagnosis-modal-card form,
  form.compact-mobile-form {
    gap: 8px !important;
  }

  .diagnosis-form-area label,
  .diagnosis-modal-card label,
  form.compact-mobile-form label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.04em !important;
  }

  .diagnosis-form-area input[type="text"],
  .diagnosis-form-area input[type="email"],
  .diagnosis-form-area input[type="tel"],
  .diagnosis-form-area select,
  .diagnosis-modal-card input[type="text"],
  .diagnosis-modal-card input[type="email"],
  .diagnosis-modal-card input[type="tel"],
  .diagnosis-modal-card select,
  form.compact-mobile-form input,
  form.compact-mobile-form select {
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 16px !important; /* Strict iOS Safari auto-zoom prevention */
    border-radius: var(--radius-s) !important;
  }

  .diagnosis-form-area textarea,
  .diagnosis-modal-card textarea,
  form.compact-mobile-form textarea {
    height: 38px !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: 16px !important;
    resize: none !important;
  }

  .modal-eyebrow {
    font-size: 11px !important;
    margin-bottom: 2px !important;
  }

  .diagnosis-modal-card h3,
  #modal-diagnosis-title {
    font-size: 1.15rem !important;
    margin: 2px 0 8px !important;
    line-height: 1.18 !important;
  }

  .modal-diagnosis-desc {
    display: none !important; /* Streamline header to fit 1-fold */
  }

  .diagnosis-form-area button[type="submit"],
  .diagnosis-modal-card button[type="submit"] {
    height: 42px !important;
    font-size: 13.5px !important;
    margin-top: 4px !important;
  }

  .form-confidential-note {
    font-size: 10.5px !important;
    margin-top: 4px !important;
    letter-spacing: 0.02em !important;
  }
}

/* ==========================================================================
   Editorial Article & Case Study Styling (WordPress Posts & Pages Compatibility)
   ========================================================================== */
.article-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Breadcrumbs Reset & Polish — Strict No-Numbered List */
ol.breadcrumb, ul.breadcrumb, .breadcrumb {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  color: var(--grey-6) !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 clamp(20px, 3vw, 36px) 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
}
ol.breadcrumb li, ul.breadcrumb li, .breadcrumb li {
  display: inline-flex !important;
  align-items: center !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--grey-6) !important;
}
ol.breadcrumb li::marker, ul.breadcrumb li::marker, .breadcrumb li::marker {
  display: none !important;
  content: "" !important;
}
ol.breadcrumb li a, ul.breadcrumb li a, .breadcrumb a {
  color: var(--grey-6) !important;
  text-decoration: none !important;
  transition: color 150ms ease;
}
ol.breadcrumb li a:hover, .breadcrumb a:hover {
  color: var(--acid) !important;
}
ol.breadcrumb li:last-child, .breadcrumb li:last-child {
  color: var(--acid) !important;
}

/* Article Hero & Case Study Hero */
.article-hero, .cs-hero {
  padding: clamp(24px, 3.5vw, 44px) 0 clamp(20px, 3vw, 36px);
  position: relative;
  background: radial-gradient(ellipse at 85% 15%, rgba(214,255,63,0.06) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.article-h1, .cs-hero h1 {
  font-family: var(--font-black) !important;
  font-size: clamp(1.85rem, 3vw, 2.75rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  color: var(--white) !important;
  margin: 12px 0 20px !important;
  text-wrap: balance !important;
}
.cs-hero-tag, .article-tag {
  display: inline-flex;
  margin-bottom: 12px;
}
.cs-hero-tag-text, .article-tag-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--acid);
  background: rgba(214, 255, 63, 0.1);
  border: 1px solid rgba(214, 255, 63, 0.28);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey-6);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Article Body Typography */
.article-body, .entry-content {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.75;
  color: var(--grey-8);
}
.article-body p, .entry-content p {
  margin-bottom: 24px;
}
.article-body h2, .entry-content h2 {
  font-family: var(--font-black);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 48px 0 18px;
  line-height: 1.2;
}
.article-body h3, .entry-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  margin: 36px 0 14px;
  line-height: 1.25;
}
.article-body ul, .entry-content ul {
  margin: 0 0 24px 24px;
  padding: 0;
  list-style-type: disc;
}
.article-body ol:not(.breadcrumb), .entry-content ol:not(.breadcrumb) {
  margin: 0 0 24px 24px;
  padding: 0;
  list-style-type: decimal;
}
.article-body li, .entry-content li {
  margin-bottom: 10px;
  color: var(--grey-8);
  line-height: 1.7;
}
.article-body a, .entry-content a {
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover, .entry-content a:hover {
  color: var(--white);
}

/* Pullquotes */
.article-pullquote, blockquote {
  border-left: 3px solid var(--acid) !important;
  background: rgba(214, 255, 63, 0.04) !important;
  border-radius: 0 var(--radius-m) var(--radius-m) 0 !important;
  padding: 20px 28px !important;
  margin: 36px 0 !important;
}
.article-pullquote p, blockquote p {
  font-family: var(--font-display) !important;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem) !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Article CTA Box */
.article-cta {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-m);
  padding: clamp(28px, 4vw, 44px);
  margin: 56px 0;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
}
.article-cta h3 {
  font-family: var(--font-black);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--white);
  margin-bottom: 12px;
}
.article-cta p {
  color: var(--grey-7);
  max-width: 54ch;
  margin: 0 auto 24px;
}

/* Related Posts Slider & Cards */
.related-posts {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  margin-top: 32px !important;
}
.related-card {
  padding: 22px !important;
  background: var(--surface-card) !important;
  border: 1px solid var(--border-hairline) !important;
  border-radius: var(--radius-m) !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  transition: all 180ms ease !important;
}
.related-card:hover {
  border-color: var(--acid) !important;
  transform: translateY(-2px) !important;
}
.related-card-cat {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--acid) !important;
}
.related-card-title {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  line-height: 1.35 !important;
}

/* ==========================================================================
   GUNJAN IVF INFORMATIONAL ARCHITECTURE & DESIGN SYSTEM (GROWINGO HOUSE STYLE)
   1. 70/30 Asymmetrical Hero Header
   2. Executive Key Takeaways Capsule (TL;DR Box)
   3. Founder Strategic Insight Callouts
   4. Operational Pipeline Step-by-Step Cards (01, 02, 03)
   5. Clinical Micro-Cards Grid
   6. Regulatory & Statutory Safeguard Callouts
   7. Collapsible Boardroom FAQ Accordions (<details>/<summary>)
   8. Contextual 45-Minute Clinical Diagnosis CTA
   9. 2-Column Sticky Filter Hub Layout (Desktop & Mobile)
   ========================================================================== */

/* ── 1. 70/30 Hero Header ─────────────────────────────────────────────────── */
.blog-hero-section {
  background: linear-gradient(180deg, rgba(17,17,20,0.98) 0%, rgba(9,9,11,1) 100%);
  border-bottom: 1px solid var(--border-hairline);
  padding: clamp(32px, 4vw, 56px) 0 clamp(28px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}

@media (max-width: 900px) {
  .blog-hero-grid {
    grid-template-columns: 1fr;
  }
}

.blog-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey-6);
  text-transform: uppercase;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.blog-hero-breadcrumb a {
  color: var(--grey-6);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.blog-hero-breadcrumb a:hover {
  color: var(--acid);
}

.blog-hero-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(214,255,63,0.12);
  color: var(--acid);
  border: 1px solid rgba(214,255,63,0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.blog-hero-title {
  font-family: var(--font-black);
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 16px;
  text-wrap: balance;
}

.blog-hero-author-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-hairline);
  margin-top: 10px;
}

.blog-hero-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(214,255,63,0.1);
  border: 2px solid var(--acid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acid);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.blog-hero-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-hero-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.blog-hero-author-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-6);
}

.blog-hero-image-card {
  width: 100%;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-raised);
  background: var(--surface-card);
}

.blog-hero-image-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.blog-hero-image-caption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #0d0d10;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── 2. Executive Key Takeaways Capsule (TL;DR Box) ────────────────────────── */
.executive-takeaways-box {
  background: linear-gradient(135deg, rgba(214,255,63,0.06) 0%, rgba(17,17,20,0.95) 100%);
  border: 1px solid rgba(214,255,63,0.25);
  border-left: 5px solid var(--acid);
  border-radius: var(--radius-m);
  padding: clamp(20px, 2.8vw, 30px);
  margin: clamp(28px, 3.5vw, 42px) 0;
  box-shadow: var(--shadow-card);
}

.takeaways-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(214,255,63,0.15);
}

.takeaways-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--black-0);
  background: var(--acid);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.takeaways-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.takeaways-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.takeaways-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--grey-8);
  margin: 0 !important;
}

.takeaways-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--acid);
  font-size: 1.15rem;
}

/* ── 3. Founder Strategic Insight Callout ───────────────────────────── */
.partner-insight-box {
  display: flex;
  gap: 18px;
  background: rgba(17,17,22,0.9);
  border: 1px solid var(--border-hairline);
  border-left: 5px solid var(--cyan);
  border-radius: var(--radius-m);
  padding: clamp(18px, 2.2vw, 24px) clamp(20px, 2.5vw, 28px);
  margin: clamp(28px, 3.5vw, 40px) 0;
  align-items: flex-start;
}

.partner-insight-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(63,248,232,0.12);
  border: 1px solid rgba(63,248,232,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 18px;
  flex-shrink: 0;
}

.partner-insight-content {
  flex: 1;
}

.partner-insight-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.partner-insight-box p {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: var(--grey-8) !important;
  font-style: italic;
  margin: 0 !important;
}

/* ── 4. Operational Pipeline Step-by-Step Cards (01, 02, 03) ─────────────────── */
.pipeline-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: clamp(28px, 3.5vw, 40px) 0;
}

.pipeline-step-card {
  display: flex;
  gap: 18px;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-m);
  padding: clamp(18px, 2vw, 24px);
  align-items: flex-start;
  transition: border-color var(--dur-fast);
}

.pipeline-step-card:hover {
  border-color: rgba(214,255,63,0.3);
}

.pipeline-step-badge {
  background: rgba(214,255,63,0.1);
  color: var(--acid);
  border: 1px solid rgba(214,255,63,0.3);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-s);
  white-space: nowrap;
  flex-shrink: 0;
}

.pipeline-step-body h3,
.pipeline-step-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
}

.pipeline-step-body p {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: var(--grey-7) !important;
  margin: 0 !important;
}

/* ── 5. Clinical Micro-Cards Grid ─────────────────────────────────────────── */
.growth-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: clamp(24px, 3vw, 36px) 0;
}

.growth-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-m);
  padding: 22px;
  transition: all var(--dur-normal);
}

.growth-card:hover {
  transform: translateY(-2px);
  border-color: var(--acid);
  box-shadow: var(--shadow-raised);
}

.growth-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(214,255,63,0.1);
  color: var(--acid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}

.growth-card h3,
.growth-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
}

.growth-card p {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: var(--grey-7) !important;
  margin: 0 !important;
}

/* ── 6. Regulatory & Statutory Safeguard Box ──────────────────────────────── */
.compliance-safeguard-box {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.25);
  border-left: 5px solid #10b981;
  border-radius: var(--radius-m);
  padding: clamp(18px, 2.2vw, 24px) clamp(20px, 2.5vw, 28px);
  margin: clamp(28px, 3.5vw, 40px) 0;
}

.compliance-safeguard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.compliance-safeguard-header h3,
.compliance-safeguard-header h4 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.compliance-safeguard-box p {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: var(--grey-8) !important;
  margin: 0 !important;
}

/* ── 7. Collapsible Boardroom FAQ Accordions ───────────────────────────────── */
.boardroom-faq-group {
  margin: clamp(36px, 5vw, 56px) 0 clamp(24px, 3vw, 36px);
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.5vw, 36px);
}

.boardroom-faq-heading {
  font-family: var(--font-black);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hairline);
}

.boardroom-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.boardroom-faq-item {
  background: #0c0c0e;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}

.boardroom-faq-item[open] {
  border-color: rgba(214,255,63,0.3);
}

.boardroom-faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.boardroom-faq-summary::-webkit-details-marker {
  display: none;
}

.boardroom-faq-summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--acid);
  font-weight: 700;
  transition: transform var(--dur-fast);
}

.boardroom-faq-item[open] .boardroom-faq-summary::after {
  content: '−';
  color: var(--acid);
}

.boardroom-faq-answer {
  padding: 0 22px 20px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--grey-8);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: -6px;
  padding-top: 14px;
}

/* ── 8. Contextual 45-Minute Diagnosis CTA Banner ─────────────────────────── */
.blog-bottom-cta {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(135deg, #111116 0%, #171720 100%);
  border: 1px solid rgba(214,255,63,0.25);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-raised);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.blog-bottom-cta-left {
  max-width: 620px;
}

.blog-bottom-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--acid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.blog-bottom-cta-title {
  font-family: var(--font-black);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 10px;
}

.blog-bottom-cta-desc {
  font-size: 0.98rem;
  color: var(--grey-8);
  line-height: 1.6;
  margin: 0;
}

/* ── 9. Blog Hub 2-Column Sticky Layout (Gunjan IVF IA) ───────────────────── */
.blog-layout-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}

.blog-featured-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-m);
  overflow: hidden;
  margin-bottom: clamp(28px, 3.5vw, 40px);
  box-shadow: var(--shadow-raised);
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.blog-sidebar {
  position: sticky;
  top: 90px;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-m);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.blog-category-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-filter-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-7);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-fast);
}

.category-filter-btn:hover {
  background: #141418;
  color: var(--white);
  border-color: var(--border-hairline);
}

.category-filter-btn.active-filter {
  background: rgba(214,255,63,0.1);
  color: var(--acid);
  border-color: rgba(214,255,63,0.3);
}

.cat-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #181820;
  color: var(--grey-6);
}

.category-filter-btn.active-filter .cat-badge {
  background: var(--acid);
  color: var(--black-0);
}

/* ── Mobile Responsive Optimizations (<= 900px & <= 600px) ────────────────── */
@media (max-width: 900px) {
  .blog-layout-grid {
    grid-template-columns: 100%;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .blog-layout-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .blog-featured-grid {
    grid-template-columns: 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .blog-featured-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .blog-main-stream {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .blog-featured-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .blog-sidebar {
    position: static;
    top: auto;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .blog-sidebar-title,
  .blog-sidebar-lead-prompt {
    display: none !important;
  }
  .blog-category-nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .blog-category-nav::-webkit-scrollbar {
    display: none;
  }
  #articles-grid {
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  #articles-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .category-filter-btn {
    width: auto;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: #141418;
    border: 1px solid var(--border-hairline);
    flex-shrink: 0;
    font-size: 12px;
  }
  .category-filter-btn.active-filter {
    background: rgba(214,255,63,0.12);
    border-color: var(--acid);
  }
}

@media (max-width: 600px) {
  .blog-hero-section {
    padding: 24px 0 20px;
  }
  .blog-hero-title {
    font-size: clamp(1.45rem, 5vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 12px;
  }
  .blog-hero-breadcrumb {
    font-size: 11px;
    gap: 5px;
    margin-bottom: 10px;
  }
  .blog-hero-category-pill {
    font-size: 11px;
    padding: 3px 10px;
    margin-bottom: 10px;
  }
  .blog-hero-author-strip {
    gap: 10px;
    padding-top: 12px;
    margin-top: 8px;
  }
  .blog-hero-author-avatar {
    width: 36px;
    height: 36px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .blog-hero-author-name {
    font-size: 13px;
    line-height: 1.35;
  }
  .blog-hero-author-role {
    font-size: 11px;
    line-height: 1.35;
  }
  .blog-hero-image-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 10px;
    padding: 8px 12px;
  }
  .executive-takeaways-box {
    padding: 16px 14px;
    border-left-width: 4px;
    margin: 24px 0;
  }
  .takeaways-badge {
    font-size: 9.5px;
    padding: 2px 7px;
  }
  .takeaways-title {
    font-size: 1.02rem;
  }
  .takeaways-list {
    gap: 10px;
  }
  .takeaways-list li {
    font-size: 0.9rem;
    padding-left: 22px;
    line-height: 1.55;
  }
  .takeaways-list li::before {
    font-size: 1rem;
  }
  .partner-insight-box {
    padding: 16px 14px;
    gap: 12px;
    border-left-width: 4px;
    margin: 24px 0;
  }
  .partner-insight-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .partner-insight-label {
    font-size: 10.5px;
  }
  .partner-insight-box p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }
  .pipeline-timeline {
    gap: 12px;
    margin: 24px 0;
  }
  .pipeline-step-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px 14px;
  }
  .pipeline-step-badge {
    align-self: flex-start;
    font-size: 11px;
    padding: 3px 8px;
  }
  .pipeline-step-body h3,
  .pipeline-step-body h4 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .pipeline-step-body p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
  .growth-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0;
  }
  .growth-card {
    padding: 16px 14px;
  }
  .boardroom-faq-group {
    padding: 18px 14px;
    margin: 28px 0 20px;
    border-radius: var(--radius-m);
  }
  .boardroom-faq-heading {
    font-size: 1.25rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .boardroom-faq-summary {
    padding: 14px;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .boardroom-faq-answer {
    padding: 0 14px 14px;
    font-size: 0.9rem;
  }
  .blog-bottom-cta {
    padding: 20px 16px;
    margin-top: 32px;
  }
  .blog-bottom-cta-title {
    font-size: 1.25rem;
  }
  .blog-bottom-cta-desc {
    font-size: 0.88rem;
  }
  .blog-bottom-cta .btn {
    width: 100%;
    justify-content: center;
    height: 46px;
  }
  .container, .container-narrow {
    padding-left: clamp(18px, 4.5vw, 24px);
    padding-right: clamp(18px, 4.5vw, 24px);
  }
  .entry-content {
    padding-bottom: 90px;
  }
}

/* Table responsive wrappers must strictly stay inside parent width */
.table-responsive-wrapper,
.cmp-wrap {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
}

@media (max-width: 960px) {
  .hero-grid,
  .methodology-hero-grid,
  .about-hero-grid,
  .about-grid-split,
  .cs-hero-grid,
  .telemetry-grid,
  .matrix-pipeline-grid,
  .contact-grid,
  .cards-grid-2,
  .cards-grid-3,
  .cards-grid-2-or-3,
  .cards-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 820px) {
  /* Prevent buttons with long labels from blowing out mobile width via nowrap */
  .btn {
    white-space: normal !important;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
    height: auto !important;
    min-height: 44px;
    padding: 10px 18px !important;
  }

  .nav-link {
    white-space: normal !important;
  }

  /* Prevent iOS Safari auto-zoom on form focus by enforcing 16px font-size */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Display horizontal scroll cues for data tables */
  .table-scroll-hint {
    display: flex !important;
  }

  /* Ensure minimum 44px touch targets on mobile interactive elements */
  .mobile-drawer a,
  .mobile-drawer button {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Enforce clean mobile gutters so text never touches screen edges */
  .container,
  .container-narrow {
    padding-left: clamp(18px, 4.5vw, 24px) !important;
    padding-right: clamp(18px, 4.5vw, 24px) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 640px) {
  /* Stack 3-column telemetry cards into clean, readable cards */
  .telemetry-compact-card {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .telemetry-compact-card > div {
    border-left: none !important;
    padding-left: 0 !important;
    border-bottom: 1px solid var(--border-hairline);
    padding-bottom: 10px;
  }
  .telemetry-compact-card > div:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
  }

  /* Stack methodology interactive layers */
  .methodology-flow-layer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  .methodology-flow-layer > div:last-child {
    text-align: left !important;
    align-self: flex-start !important;
  }

  .methodology-telemetry-strip {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* ==========================================================================
   HERO COCKPIT MOBILE & DESKTOP ARCHITECTURE
   ========================================================================== */
.hero-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(12px, 1.5vw, 18px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-hairline);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-hud-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
}

.hero-hud-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--grey-5);
  flex-shrink: 0;
}

.hero-hud-sub {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--grey-6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  word-break: break-word;
}

.hero-hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 255, 63, 0.1);
  border: 1px solid rgba(214, 255, 63, 0.25);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  flex-shrink: 0;
}

.hero-hud-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
  flex-shrink: 0;
}

.hero-hud-badgetext {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.5vw, 36px);
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 961px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-cta-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  width: 100%;
}

.hero-micro-reassurance {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey-7);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.45;
}

.telemetry-compact-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-m);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.telemetry-num {
  font-family: var(--font-black);
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1;
}

.telemetry-lbl {
  font-size: 13px;
  color: var(--grey-6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-top: 4px;
  line-height: 1.3;
}

@media (min-width: 681px) {
  .telemetry-compact-card {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px;
    align-items: center;
  }
  .telemetry-item:nth-child(2),
  .telemetry-item:nth-child(3) {
    border-left: 1px solid var(--border-hairline);
    padding-left: 14px;
  }
}

@media (max-width: 680px) {
  .hero-hud-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-hud-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .hero-hud-dot {
    display: none;
  }
  .hero-eyebrow {
    font-size: 12px !important;
    letter-spacing: 0.04em !important;
  }
  .hero-cta-cluster {
    flex-direction: column;
    gap: 10px;
  }
  .hero-cta-cluster .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .telemetry-compact-card {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .telemetry-item {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-hairline);
  }
  .telemetry-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hero-section h1 {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }
  .hero-section p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }
}

.hud-bar-top {
  padding: 10px 16px;
  background: #121214;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.hud-bar-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.hud-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hud-bar-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  word-break: break-word;
}

.hud-bar-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--acid);
  background: rgba(214,255,63,0.1);
  border: 1px solid rgba(214,255,63,0.25);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.hud-bottom-strip {
  padding-top: 12px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  width: 100%;
  box-sizing: border-box;
}



