/* Google Fonts loaded via HTML <link> for better performance - see base templates */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ══════════════════════════════════════════════════════════════════════
     i4i Professional Palette — Refined Enterprise Analytics
     ══════════════════════════════════════════════════════════════════════ */
  
  /* Core brand */
  --accent: #0f766e;                /* Teal — trustworthy, professional */
  --accent-hover: #0d9488;
  --accent-muted: rgba(15, 118, 110, 0.1);
  
  /* Figma Design Palette */
  --olive: #5c6b4a;
  --olive-dark: #4a5a3a;
  --olive-light: #7a8a68;
  --olive-muted: rgba(92, 107, 74, 0.1);
  --cream: #f5f3ee;
  --cream-dark: #e8e4db;
  --beige: #d4cfc4;
  
  /* Surfaces */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-hover: #f1f5f9;
  --bg-accent: #ffffff;
  
  /* Sidebar — dark, authoritative */
  --sidebar-bg: #0f172a;
  --sidebar-text: #f1f5f9;
  --sidebar-text-muted: #94a3b8;
  --sidebar-border: rgba(148, 163, 184, 0.1);
  --sidebar-hover: rgba(255, 255, 255, 0.05);
  --sidebar-active: rgba(255, 255, 255, 0.08);
  
  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-on-dark: #ffffff;
  
  /* Borders */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
  
  /* Legacy mappings for compatibility */
  --primary: #0f172a;
  --primary-light: var(--accent);
  --border-medium: var(--border);
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 3px;
  --ease-standard: ease;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.01em;
  background: var(--bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 14px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Accessibility
   ───────────────────────────────────────────────────────────────────────── */

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
}

/* Screen reader only utility - visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   Content Pages (Wagtail)
   ───────────────────────────────────────────────────────────────────────── */

.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.content-page h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.content-page h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.content-page h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.content-page p,
.content-page li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-page p {
  margin-bottom: 1rem;
}

.content-page ul,
.content-page ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.content-intro p:last-child {
  margin-bottom: 1.5rem;
}

/* Standard Page (About/Content) */
.standard-page__header {
  padding: 4rem 2rem 2.25rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 1));
  border-bottom: 1px solid var(--border-light);
}

.standard-page__header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.standard-page__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.standard-page__header h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.standard-page__intro {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 760px;
}

.standard-page__intro p:last-child {
  margin-bottom: 0;
}

.standard-page__richtext {
  padding: 3rem 2rem 2rem;
  background: var(--bg-primary);
}

.standard-page__richtext-inner {
  max-width: 860px;
  margin: 0 auto;
}

.standard-page__richtext-inner h2 {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.standard-page__richtext-inner p,
.standard-page__richtext-inner li {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.975rem;
}

.standard-page__richtext-inner p {
  margin-bottom: 1rem;
}

/* Staff Grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.staff-card {
  display: flex;
  flex-direction: column;
}

.staff-photo {
  width: 100%;
  max-width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.staff-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.staff-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.125rem;
}

.staff-previous-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.staff-bio {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.875rem;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   Navigation (Public Pages)
   ───────────────────────────────────────────────────────────────────────── */

nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────────────────── */

.btn {
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
}

a.btn-primary {
  color: white;
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-hover);
}

/* ─────────────────────────────────────────────────────────────────────────
   Hero Section
   ───────────────────────────────────────────────────────────────────────── */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.hero-metric {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-primary);
  text-align: left;
}

.hero-metric-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero-metric-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.125rem;
}

.hero-metric-hint {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Sections
   ───────────────────────────────────────────────────────────────────────── */

.features {
  background: var(--bg-secondary);
  padding: 3.5rem 2rem;
}

.section {
  background: var(--bg-primary);
  padding: 3.5rem 2rem;
}

.features-container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-primary);
  padding: 1.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease;
}

.feature-card:hover {
  border-color: var(--accent);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-muted);
  color: var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.875rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   CTA Section
   ───────────────────────────────────────────────────────────────────────── */

.cta-section {
  padding: 3.5rem 2rem;
  background: var(--bg-primary);
}

.cta-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 3rem 2.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.cta-container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cta-container p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.cta-container .btn-primary {
  background: var(--accent);
  color: white;
}

.cta-container .btn-primary:hover {
  background: var(--accent-hover);
}

/* ─────────────────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────────────────── */

footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem 1.5rem;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────────────────────────
   What We Do Section
   ───────────────────────────────────────────────────────────────────────── */

.what-we-do,
.features,
#projects,
#impact,
#case-studies,
#partners,
#governance {
  scroll-margin-top: 80px;
}

.what-we-do {
  padding: 3.5rem 2rem;
  background: var(--bg-primary);
}

.what-we-do + .what-we-do {
  padding-top: 0;
  border-top: 1px solid var(--border);
}

.what-we-do + .cta-section {
  padding-top: 0;
}

.section + .cta-section {
  padding-top: 0;
}

.what-we-do-container {
  max-width: 1120px;
  margin: 0 auto;
}

.what-we-do-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}

.what-we-do .lead-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.what-we-do p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.what-we-do ul {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.what-we-do li {
  margin-bottom: 0.375rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  body {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-container {
    position: relative;
  }

  nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 2rem;
    right: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .cta-container {
    padding: 2rem 1.5rem;
  }

  .cta-container h2 {
    font-size: 1.375rem;
  }

  .content-page {
    padding: 2rem 1.5rem;
  }

  .standard-page__header {
    padding: 2.4rem 1.5rem 1.5rem;
  }

  .standard-page__intro {
    font-size: 0.98rem;
  }

  .standard-page__richtext {
    padding: 2rem 1.5rem 1.5rem;
  }

  .standard-page__richtext-inner h2 {
    font-size: 1.45rem;
  }

  .staff-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .what-we-do-panel {
    padding: 1.5rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Tables
   ───────────────────────────────────────────────────────────────────────── */

.table-container {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-primary);
  margin-bottom: 1.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.table th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: var(--bg-hover);
}

/* ─────────────────────────────────────────────────────────────────────────
   Forms
   ───────────────────────────────────────────────────────────────────────── */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all 0.15s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   Badges
   ───────────────────────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA DESIGN BLOCKS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   Full-Bleed Hero
   ───────────────────────────────────────────────────────────────────────── */

.hero-fullbleed {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-fullbleed__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fullbleed__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fullbleed__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 40%,
    rgba(255, 255, 255, 0.4) 100%
  );
  z-index: 1;
}

.hero-fullbleed__content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-fullbleed__headline {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.hero-fullbleed__dashboard {
  position: relative;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-fullbleed__dashboard img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-fullbleed__viz {
  position: relative;
  max-width: 1020px;
  margin: 0 auto 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.92));
}

.hero-fullbleed__viz svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-viz-map__title,
.hero-viz-memory__label {
  fill: #0f172a;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-viz-map__subtitle {
  fill: #475569;
  font-size: 14px;
  font-weight: 500;
}

.hero-viz-map__areas path {
  fill: rgba(15, 118, 110, 0.08);
  stroke: rgba(15, 118, 110, 0.22);
  stroke-width: 1.5;
}

.hero-viz-map__routes path {
  fill: none;
  stroke: url(#mapRoute);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 10;
  animation: hero-viz-route-flow 16s linear infinite;
}

.hero-viz-map__node {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2;
  animation: hero-viz-pulse 4s ease-in-out infinite;
}

.hero-viz-map__node--high {
  fill: #dc2626;
}

.hero-viz-map__node--mid {
  fill: #f59e0b;
}

.hero-viz-map__node--low {
  fill: #0f766e;
}

.hero-viz-map__trend rect {
  fill: rgba(255, 255, 255, 0.76);
  stroke: rgba(15, 23, 42, 0.12);
}

.hero-viz-map__trend path {
  fill: none;
  stroke: #2563eb;
  stroke-width: 3;
  stroke-linecap: round;
}

.hero-viz-map__trend text,
.hero-viz-map__legend text {
  fill: #334155;
  font-size: 12px;
  font-weight: 600;
}

.hero-viz-map__axis {
  stroke: rgba(71, 85, 105, 0.5);
  stroke-width: 1.5;
}

.hero-viz-london__title {
  fill: #0f172a;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-viz-london--static {
  width: 100%;
}

.hero-viz-london__static-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.hero-viz-london__subtitle {
  fill: #475569;
  font-size: 14px;
  font-weight: 500;
}

.hero-viz-london__raster {
  fill: url(#londonRasterGrid);
  stroke: rgba(100, 116, 139, 0.18);
}

.hero-viz-london__borough {
  fill: rgba(226, 232, 240, 0.28);
  stroke: rgba(100, 116, 139, 0.35);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-viz-london__hex {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.1;
  opacity: 0.84;
  vector-effect: non-scaling-stroke;
}

.hero-viz-london__borough-outline-halo {
  fill: none;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 2.6;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.hero-viz-london__borough-outline {
  fill: none;
  stroke: rgba(15, 23, 42, 0.88);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.hero-viz-london__borough--a {
  fill: rgba(236, 242, 248, 0.8);
}

.hero-viz-london__borough--b {
  fill: rgba(229, 238, 246, 0.84);
}

.hero-viz-london__borough--c {
  fill: rgba(221, 233, 242, 0.9);
}

.hero-viz-london__legend-card,
.hero-viz-london__insight-card {
  fill: rgba(255, 255, 255, 0.9);
  stroke: rgba(148, 163, 184, 0.55);
  stroke-width: 1.1;
}

.hero-viz-london__legend-ramp {
  fill: url(#londonLegendRamp);
  stroke: rgba(100, 116, 139, 0.32);
  stroke-width: 0.6;
}

.hero-viz-london__route {
  fill: none;
  stroke-width: 2.2;
  stroke-dasharray: 5 7;
  stroke-linecap: round;
  animation: hero-viz-route-flow 16s linear infinite;
}

.hero-viz-london__route--stable {
  stroke: rgba(14, 116, 144, 0.38);
}

.hero-viz-london__route--watch {
  stroke: rgba(217, 119, 6, 0.48);
}

.hero-viz-london__route--critical {
  stroke: rgba(220, 38, 38, 0.6);
}

.hero-viz-london__marker-shadow {
  fill: rgba(15, 23, 42, 0.18);
}

.hero-viz-london__marker-stem--critical {
  fill: rgba(220, 38, 38, 0.7);
}

.hero-viz-london__marker-stem--watch {
  fill: rgba(217, 119, 6, 0.62);
}

.hero-viz-london__marker-stem--stable {
  fill: rgba(15, 118, 110, 0.58);
}

.hero-viz-london__marker-glow--critical {
  fill: rgba(220, 38, 38, 0.18);
}

.hero-viz-london__marker-glow--watch {
  fill: rgba(245, 158, 11, 0.14);
}

.hero-viz-london__marker-glow--stable {
  fill: rgba(15, 118, 110, 0.12);
}

.hero-viz-london__marker-top {
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 1.4;
}

.hero-viz-london__marker-top--critical {
  fill: #dc2626;
}

.hero-viz-london__marker-top--watch {
  fill: #f59e0b;
}

.hero-viz-london__marker-top--stable {
  fill: #0f766e;
}

.hero-viz-london__signal-dot {
  fill: #0f766e;
  opacity: 0.86;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 0.8;
}

.hero-viz-london__marker-key {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.4;
}

.hero-viz-london__marker-key--critical {
  fill: #dc2626;
}

.hero-viz-london__marker-key--watch {
  fill: #f59e0b;
}

.hero-viz-london__marker-key--stable {
  fill: #0f766e;
}

.hero-viz-london__legend text,
.hero-viz-london__insight text {
  fill: #334155;
  font-size: 11.5px;
  font-weight: 600;
}

.hero-viz-london__insight text:first-of-type {
  fill: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.hero-viz-london__status {
  fill: #475569;
  font-size: 12px;
  font-weight: 600;
}

.hero-viz-london--fallback .hero-viz-london__borough {
  fill: rgba(148, 163, 184, 0.22);
  stroke: rgba(100, 116, 139, 0.45);
}

.hero-viz-memory__ring path {
  animation: hero-viz-ring-spin 36s linear infinite;
  transform-origin: 550px 290px;
}

.hero-viz-memory__arrow {
  fill: none;
  stroke: rgba(37, 99, 235, 0.7);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  animation: hero-viz-route-flow 12s linear infinite;
}

.hero-viz-memory__node circle {
  fill: rgba(255, 255, 255, 0.95);
  stroke-width: 2;
}

.hero-viz-memory__node--listen circle {
  stroke: rgba(15, 118, 110, 0.55);
}

.hero-viz-memory__node--interpret circle {
  stroke: rgba(37, 99, 235, 0.55);
}

.hero-viz-memory__node--act circle {
  stroke: rgba(217, 119, 6, 0.55);
}

.hero-viz-memory__node--learn circle {
  stroke: rgba(92, 107, 74, 0.55);
}

.hero-viz-memory__node text {
  fill: #0f172a;
  text-anchor: middle;
  font-size: 13px;
  font-weight: 600;
}

.hero-viz-memory__rail rect {
  fill: rgba(15, 118, 110, 0.08);
  stroke: rgba(15, 118, 110, 0.25);
  animation: hero-viz-bar-breathe 5s ease-in-out infinite;
}

.hero-viz-memory__rail text,
.hero-viz-memory__baseline text {
  fill: #334155;
  font-size: 12px;
  font-weight: 600;
}

.hero-viz-memory__baseline path {
  fill: none;
  stroke: rgba(15, 118, 110, 0.75);
  stroke-width: 3;
  stroke-linecap: round;
}

.hero-viz-memory__baseline .hero-viz-memory__axis {
  stroke: rgba(71, 85, 105, 0.5);
  stroke-width: 1.5;
}

@keyframes hero-viz-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes hero-viz-route-flow {
  to {
    stroke-dashoffset: -180;
  }
}

@keyframes hero-viz-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-viz-bar-breathe {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}

.hero-fullbleed__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-fullbleed__logos img {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.hero-fullbleed__logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.hero-fullbleed__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-fullbleed__stat {
  text-align: center;
}

.hero-fullbleed__stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 0.25rem;
}

.hero-fullbleed__stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-fullbleed__cta {
  margin-top: 1.5rem;
}

.hero-tranches {
  margin-top: 2.75rem;
  display: grid;
  gap: 1rem;
  text-align: left;
}

.hero-tranches__header {
  padding: 1.25rem 1.3rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.88);
}

.hero-tranches__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f766e;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hero-tranches__header h2 {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.35;
}

.hero-tranche {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.93);
  overflow: hidden;
}

.hero-tranche__viz-wrap {
  flex: 1.15;
  min-width: 0;
}

.hero-tranche__content {
  flex: 0.95;
  min-width: 0;
  padding: 1.2rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.hero-tranche__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
  margin-bottom: 0.38rem;
}

.hero-tranche h3 {
  font-size: 1.14rem;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.55rem;
}

.hero-tranche p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

.hero-tranche--reverse {
  flex-direction: row-reverse;
}

.hero-tranche__viz {
  height: 288px;
  border-radius: 0;
  border: 0;
}

#feature-divergence .hero-tranche__viz {
  background: linear-gradient(165deg, rgba(219, 234, 254, 0.7), rgba(255, 255, 255, 0.95));
}

#feature-capacity .hero-tranche__viz {
  background: linear-gradient(165deg, rgba(224, 242, 254, 0.72), rgba(255, 255, 255, 0.95));
}

#feature-memory .hero-tranche__viz {
  background: linear-gradient(165deg, rgba(236, 253, 245, 0.76), rgba(255, 255, 255, 0.95));
}

.hero-feature-pod__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f766e;
  text-decoration: none;
}

.hero-feature-pod__cta:hover {
  color: #0d9488;
}

.hero-feature-pod__cta::after {
  content: "→";
  transition: transform 0.2s ease;
}

.hero-feature-pod__cta:hover::after {
  transform: translateX(3px);
}

.hero-feature-pod__viz {
  position: relative;
  height: 100%;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.9));
  overflow: hidden;
}

.hero-feature-pod__viz--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.75rem;
  text-align: center;
}

.hero-feature-pod__viz svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-viz-panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
}

.feature-viz-controls {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) minmax(120px, 1fr);
  gap: 0.4rem;
  align-items: end;
  padding: 0.5rem 0.55rem 0.45rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.86);
}

.feature-viz-controls--scenario {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  justify-content: flex-start;
}

.feature-viz-control {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.feature-viz-control span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.feature-viz-control input[type="range"] {
  width: 100%;
}

.feature-viz-control select {
  width: 100%;
  min-height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 7px;
  background: #fff;
  color: #0f172a;
  font-size: 0.74rem;
  padding: 0.18rem 0.4rem;
}

.feature-viz-chip {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.5rem;
  min-width: 82px;
}

.feature-viz-pill {
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: #fff;
  color: #334155;
  font-size: 0.69rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.feature-viz-pill:hover {
  border-color: rgba(15, 118, 110, 0.45);
  color: #0f766e;
}

.feature-viz-pill--active {
  border-color: rgba(15, 118, 110, 0.5);
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.feature-viz-svg {
  flex: 1;
  min-height: 120px;
}

.feature-viz-svg--map {
  min-height: 132px;
}

.feature-viz-note {
  margin: 0;
  padding: 0.36rem 0.56rem 0.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #475569;
  font-size: 0.68rem;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.84);
}

.feature-viz-map__borough {
  fill: #eef2f7;
  stroke: #cbd5e1;
  stroke-width: 0.7;
}

.feature-viz-map__borough--active {
  fill: #f8fafc;
  stroke: #0f766e;
  stroke-width: 1.6;
}

.feature-viz-map__hex {
  stroke: rgba(30, 41, 59, 0.26);
  stroke-width: 0.8;
}

.feature-viz-scenario__borough {
  stroke: rgba(100, 116, 139, 0.42);
  stroke-width: 0.78;
}

.feature-viz-memory__line {
  fill: none;
  stroke: rgba(15, 118, 110, 0.78);
  stroke-width: 2.3;
}

.feature-viz-memory__stem {
  stroke: rgba(148, 163, 184, 0.4);
  stroke-width: 1.2;
}

.feature-viz-memory__node {
  fill: rgba(15, 118, 110, 0.92);
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.6;
}

.feature-viz-memory__stage {
  fill: #475569;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.feature-viz-memory__value {
  fill: #0f172a;
  font-size: 10px;
  font-weight: 700;
}

.btn-olive {
  background: var(--olive);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease;
}

.btn-olive:hover {
  background: var(--olive-dark);
  color: white;
}

/* ─────────────────────────────────────────────────────────────────────────
   Split Media Section
   ───────────────────────────────────────────────────────────────────────── */

.split-media {
  padding: 5rem 2rem;
  background: var(--bg-primary);
  scroll-margin-top: 80px;
}

.split-media__container {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-media--reversed .split-media__container {
  direction: rtl;
}

.split-media--reversed .split-media__container > * {
  direction: ltr;
}

.split-media__images {
  position: relative;
}

.split-media__image-main {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.split-media__image-main img {
  width: 100%;
  height: auto;
  display: block;
}

.split-media__image-secondary {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 45%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.split-media--reversed .split-media__image-secondary {
  right: auto;
  left: -2rem;
}

.split-media__image-secondary img {
  width: 100%;
  height: auto;
  display: block;
}

.split-media__content {
  padding: 1rem 0;
}

.split-media__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.split-media__body {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.split-media__body p {
  margin-bottom: 1rem;
}

.split-media__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.split-media__checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.split-media__checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────────
   Testimonial Section
   ───────────────────────────────────────────────────────────────────────── */

.testimonial {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
}

.testimonial--olive {
  background: var(--olive);
  color: white;
}

.testimonial--cream {
  background: var(--cream);
  color: var(--text-primary);
}

.testimonial--white {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.testimonial__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.testimonial__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.testimonial__container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.testimonial--olive .testimonial__quote {
  color: white;
}

.testimonial__quote::before {
  content: """;
  display: block;
  font-size: 4rem;
  line-height: 1;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.testimonial__author {
  font-size: 1rem;
  font-weight: 600;
}

.testimonial--olive .testimonial__author {
  color: white;
}

.testimonial__role {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Numbered Steps Section
   ───────────────────────────────────────────────────────────────────────── */

.numbered-steps {
  padding: 5rem 2rem;
  background: var(--bg-primary);
  scroll-margin-top: 80px;
}

.numbered-steps__container {
  max-width: 1120px;
  margin: 0 auto;
}

.numbered-steps__header {
  text-align: center;
  margin-bottom: 3rem;
}

.numbered-steps__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
}

.numbered-steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.numbered-steps__step {
  text-align: center;
  padding: 1rem;
}

.numbered-steps__number {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 1rem;
}

.numbered-steps__step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.numbered-steps__step-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Contact Form Section
   ───────────────────────────────────────────────────────────────────────── */

.contact-form-section {
  padding: 5rem 2rem;
}

.contact-form-section--olive {
  background: var(--olive);
  color: white;
}

.contact-form-section--dark {
  background: var(--sidebar-bg);
  color: white;
}

.contact-form-section__container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-section__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.contact-form-section__subtitle {
  opacity: 0.85;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-form-section__form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.contact-form-section__input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  background: white;
  color: var(--text-primary);
}

.contact-form-section__input::placeholder {
  color: var(--text-muted);
}

.contact-form-section__input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contact-form-section__submit {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.contact-form-section--olive .contact-form-section__submit {
  background: var(--olive-dark);
  color: white;
}

.contact-form-section--olive .contact-form-section__submit:hover {
  background: #3d4a2f;
}

.contact-form-section--dark .contact-form-section__submit {
  background: var(--accent);
  color: white;
}

.contact-form-section--dark .contact-form-section__submit:hover {
  background: var(--accent-hover);
}

/* ─────────────────────────────────────────────────────────────────────────
   Figma Blocks — Responsive
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .split-media__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-media--reversed .split-media__container {
    direction: ltr;
  }

  .split-media__image-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    width: 60%;
    margin-top: -3rem;
    margin-left: auto;
  }

  .split-media--reversed .split-media__image-secondary {
    left: auto;
    margin-left: auto;
  }

  .hero-fullbleed__stats {
    gap: 1.5rem;
  }

  .hero-tranche,
  .hero-tranche--reverse {
    flex-direction: column;
  }

  .hero-tranche__viz {
    height: 248px;
  }
}

@media (max-width: 768px) {
  .hero-fullbleed {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-fullbleed__content {
    padding: 2rem 1.5rem;
  }

  .hero-fullbleed__headline {
    font-size: 2rem;
  }

  .hero-fullbleed__viz {
    margin-bottom: 1.75rem;
    border-radius: 10px;
  }

  .hero-fullbleed__logos {
    gap: 1.5rem;
  }

  .hero-fullbleed__logos img {
    height: 22px;
  }

  .hero-fullbleed__stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-tranches {
    margin-top: 2rem;
  }

  .hero-tranches__header {
    padding: 1rem;
  }

  .hero-tranches__header h2 {
    font-size: 1.0625rem;
  }

  .hero-tranche__content {
    padding: 1rem;
  }

  .hero-tranche__viz {
    height: 232px;
  }

  .feature-viz-controls {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }

  .feature-viz-control--range {
    grid-column: 1 / -1;
  }

  .feature-viz-chip {
    justify-self: start;
  }

  .feature-viz-note {
    font-size: 0.66rem;
  }

  .split-media {
    padding: 3rem 1.5rem;
  }

  .split-media__title {
    font-size: 1.5rem;
  }

  .testimonial {
    padding: 3rem 1.5rem;
  }

  .numbered-steps {
    padding: 3rem 1.5rem;
  }

  .numbered-steps__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .numbered-steps__number {
    font-size: 2.5rem;
  }

  .contact-form-section {
    padding: 3rem 1.5rem;
  }

  .contact-form-section__form {
    flex-direction: column;
  }

  .contact-form-section__submit {
    width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Product Showcase — Landing page product-area sections
   ───────────────────────────────────────────────────────────────────────── */

.product-showcase {
  border-top: 1px solid var(--border);
}

.product-showcase__section {
  padding: 5rem 2rem;
  background: var(--bg-primary);
}

.product-showcase__section--tinted {
  background: var(--bg-secondary);
}

.product-showcase__container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-showcase__section--reversed .product-showcase__container {
  direction: rtl;
}

.product-showcase__section--reversed .product-showcase__content,
.product-showcase__section--reversed .product-showcase__viz-wrap {
  direction: ltr;
}

.product-showcase__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-showcase__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  background: var(--accent-muted);
  border-radius: 100px;
  width: fit-content;
}

.product-showcase__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.25;
}

.product-showcase__description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46ch;
}

.product-showcase__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  width: fit-content;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.product-showcase__cta:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.product-showcase__viz-wrap {
  min-height: 300px;
  position: relative;
}

.product-showcase__viz-wrap .hero-feature-pod__viz {
  width: 100%;
  min-height: 300px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow: hidden;
}

.product-showcase__viz-wrap .hero-feature-pod__viz--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* ── Sentiment trend chart SVG styles ─────────────────────────────────── */

.product-viz-sentiment__grid line {
  stroke: var(--border);
  stroke-width: 1;
}

.product-viz-sentiment__grid path {
  display: none;
}

.product-viz-sentiment__axis text {
  fill: var(--text-muted);
  font-size: 10px;
  font-family: "DM Sans", sans-serif;
}

.product-viz-sentiment__axis path,
.product-viz-sentiment__axis line {
  stroke: var(--border);
}

.product-viz-sentiment__signal-band {
  fill: var(--accent);
  opacity: 0.05;
}

.product-viz-sentiment__line--baseline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-viz-sentiment__line--disabled {
  fill: none;
  stroke: #7c3aed;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-viz-sentiment__line--lgbtq {
  fill: none;
  stroke: #dc2626;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 5 3;
}

.product-viz-sentiment__line--carers {
  fill: none;
  stroke: #d97706;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 4;
}

.product-viz-sentiment__dot--baseline {
  fill: var(--accent);
}

.product-viz-sentiment__dot--disabled {
  fill: #7c3aed;
}

.product-viz-sentiment__dot--lgbtq {
  fill: #dc2626;
}

.product-viz-sentiment__dot--carers {
  fill: #d97706;
}

.product-viz-sentiment__dot {
  animation: sentimentDotPulse 2.8s ease-in-out infinite;
}

.product-viz-sentiment__dot:nth-child(2) { animation-delay: 0.7s; }
.product-viz-sentiment__dot:nth-child(3) { animation-delay: 1.4s; }
.product-viz-sentiment__dot:nth-child(4) { animation-delay: 2.1s; }

@keyframes sentimentDotPulse {
  0%, 100% { r: 4; opacity: 1; }
  50% { r: 6; opacity: 0.7; }
}

.product-viz-sentiment__legend-pill {
  fill: var(--bg-secondary);
  stroke: var(--border);
  stroke-width: 1;
  rx: 4;
}

.product-viz-sentiment__legend-text {
  fill: var(--text-secondary);
  font-size: 9.5px;
  font-family: "DM Sans", sans-serif;
}

/* ── Strategy balance chart SVG styles ────────────────────────────────── */

.product-viz-strategy__grid line {
  stroke: var(--border-light);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.product-viz-strategy__grid path {
  display: none;
}

.product-viz-strategy__axis text {
  fill: var(--text-muted);
  font-size: 10px;
  font-family: "DM Sans", sans-serif;
}

.product-viz-strategy__axis path,
.product-viz-strategy__axis line {
  stroke: var(--border);
}

.product-viz-strategy__center-line {
  stroke: var(--text-primary);
  stroke-width: 1.5;
}

.product-viz-strategy__bar--positive {
  fill: var(--accent);
  opacity: 0.82;
}

.product-viz-strategy__bar--concern {
  fill: #dc2626;
  opacity: 0.75;
}

.product-viz-strategy__bar--positive:hover,
.product-viz-strategy__bar--concern:hover {
  opacity: 1;
}

.product-viz-strategy__cohort-label {
  fill: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
}

.product-viz-strategy__value-label {
  fill: white;
  font-size: 10px;
  font-family: "DM Sans", sans-serif;
}

.product-viz-strategy__concern-dot {
  fill: #dc2626;
  stroke: white;
  stroke-width: 1.5;
}

.product-viz-strategy__legend-text {
  fill: var(--text-muted);
  font-size: 9.5px;
  font-family: "DM Sans", sans-serif;
}

/* ── Product showcase responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
  .product-showcase__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-showcase__section--reversed .product-showcase__container {
    direction: ltr;
  }

  .product-showcase__viz-wrap {
    min-height: 260px;
  }

  .product-showcase__viz-wrap .hero-feature-pod__viz {
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  .product-showcase__section {
    padding: 3.5rem 1.5rem;
  }

  .product-showcase__container {
    gap: 2rem;
  }

  .product-showcase__viz-wrap {
    min-height: 220px;
  }

  .product-showcase__viz-wrap .hero-feature-pod__viz {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-viz-map__routes path,
  .hero-viz-london__route,
  .hero-viz-map__node,
  .hero-viz-memory__ring path,
  .hero-viz-memory__arrow,
  .hero-viz-memory__rail rect,
  .feature-viz-capacity__pressure-dot,
  .feature-viz-memory-mini__link,
  .product-viz-sentiment__dot {
    animation: none !important;
  }
}
