/* ==========================================================================
   FIXSTEM — Modern Design System & Stylesheet
   Designed for High Accessibility, Rich Aesthetics & Micro-interactions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  /* Brand Palette */
  --brand-navy: #091124;
  --brand-navy-dark: #050914;
  --brand-navy-light: #131f38;
  --brand-blue: #1d4ed8;
  --brand-blue-glow: #2563eb;
  --brand-blue-hover: #1e40af;
  --brand-cyan: #00d2ff;
  --brand-cyan-muted: #38bdf8;
  --brand-cyan-glow: rgba(0, 210, 255, 0.4);
  --brand-lime: #10b981;
  --brand-lime-volt: #84cc16;
  --brand-lime-glow: #22c55e;
  --brand-amber: #f59e0b;
  --brand-purple: #8b5cf6;

  /* Neutrals & Surfaces */
  --bg-dark: #070d1b;
  --bg-dark-card: rgba(16, 26, 48, 0.75);
  --bg-dark-border: rgba(255, 255, 255, 0.08);
  --bg-dark-border-hover: rgba(0, 210, 255, 0.35);
  
  --bg-light: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-card-light: #ffffff;
  --line-light: #e2e8f0;
  --line-light-subtle: #edf2f7;

  /* Text Colors */
  --text-dark: #0f172a;
  --text-muted: #334155;
  --text-subtle: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  --text-light-subtle: #64748b;

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Glows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 10px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.09), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 38px -8px rgba(0, 0, 0, 0.12), 0 8px 12px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow-cyan: 0 0 25px rgba(0, 210, 255, 0.25);
  --shadow-glow-lime: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-card-dark: 0 16px 40px -4px rgba(0, 0, 0, 0.5);

  /* Layout */
  --wrap-max: 1240px;
  --wrap-pad: clamp(1.25rem, 4vw, 2.5rem);
  --nav-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Accessibility Overrides */
  --reading-line-height: 1.7;
  --reading-letter-spacing: normal;
  --reading-word-spacing: normal;
}

/* Dyslexia / Extra Reading Space Mode */
body.dyslexia-mode {
  --font-body: 'Outfit', sans-serif;
  --reading-line-height: 2.1;
  --reading-letter-spacing: 0.05em;
  --reading-word-spacing: 0.12em;
}

/* High Contrast Mode */
body.high-contrast {
  --bg-dark: #000000;
  --bg-dark-card: #090e18;
  --bg-dark-border: #ffffff;
  --text-light-muted: #ffffff;
  --text-muted: #000000;
  --line-light: #000000;
  --bg-subtle: #ffffff;
}

body.high-contrast .evidence-card,
body.high-contrast .pipeline-stage,
body.high-contrast .briefing-col,
body.high-contrast .evaluation-table-v2,
body.high-contrast .research-ethics-panel,
body.high-contrast .ethics-item {
  border-color: #000000 !important;
  color: #000000 !important;
}
body.high-contrast .evidence-card-title,
body.high-contrast .pipeline-stage h3,
body.high-contrast .evaluation-table-v2 th,
body.high-contrast .evaluation-table-v2 td {
  color: #000000 !important;
}
body.high-contrast .card-tier-badge {
  border: 1.5px solid #000000 !important;
  color: #000000 !important;
  background: #ffffff !important;
}

/* Reduced Motion Override */
body.reduce-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: var(--reading-line-height);
  letter-spacing: var(--reading-letter-spacing);
  word-spacing: var(--reading-word-spacing);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: #ffffff;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* --- Skip Link for Accessibility --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  text-decoration: underline;
  transition: top 0.2s ease;
  box-shadow: var(--shadow-lg);
}
.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--brand-cyan);
}

/* --- Layout Wrapper --- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-dark);
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.85rem;
}
.eyebrow .line {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, currentColor 30%, transparent 100%);
  border-radius: 2px;
}
.dark-section .eyebrow,
.hero .eyebrow {
  color: var(--brand-cyan);
}

/* Pill Eyebrow with Pulsing Live Dot */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.28);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
  animation: pulse-dot 2s infinite ease-in-out;
}

em {
  font-style: normal;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 60%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero h1 em,
.dark-section em,
.investor-hero em,
.page-hero em {
  background: linear-gradient(135deg, #00d2ff 0%, #38bdf8 45%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: var(--reading-line-height);
}
p:last-child {
  margin-bottom: 0;
}

.body-p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.28rem);
  line-height: 1.68;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1.85rem;
}
.hero-copy .lead {
  color: #cbd5e1;
  max-width: 560px;
}

.large-copy {
  font-size: 1.2rem;
  line-height: 1.68;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.caption {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-top: 0.85rem;
}

/* --- Badge & Tag System --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.1);
  color: #0284c7;
  border: 1px solid rgba(0, 210, 255, 0.25);
  width: fit-content;
}
.dark-section .tag,
.hero .tag {
  background: rgba(0, 210, 255, 0.12);
  color: var(--brand-cyan);
  border-color: rgba(0, 210, 255, 0.3);
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.badge-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* --- Buttons & Links --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-blue-glow) 0%, #1e40af 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}
.button:hover::after {
  opacity: 1;
}
.button:active {
  transform: translateY(0);
}

.button .btn-arrow {
  transition: transform 0.25s ease;
}
.button:hover .btn-arrow {
  transform: translateX(4px);
}

.button.primary-glow {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), 0 0 15px rgba(0, 210, 255, 0.2);
}
.button.primary-glow:hover {
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.55), 0 0 25px rgba(0, 210, 255, 0.35);
}

.button.button-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.button.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.4);
  color: var(--brand-cyan);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.button.dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}
.button.dark:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.4);
  border-color: rgba(0, 210, 255, 0.35);
}

.button.outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--line-light);
  box-shadow: none;
}
.button.outline:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.dark-section .button.outline,
.hero .button.outline {
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.2);
}
.dark-section .button.outline:hover,
.hero .button.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

.button.small {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-blue);
  position: relative;
  padding-bottom: 2px;
}
.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0.7);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.text-link:hover::after {
  transform: scaleX(1);
}
.text-link .link-arrow {
  transition: transform 0.2s ease;
}
.text-link:hover .link-arrow {
  transform: translateX(4px);
}

.dark-section .text-link,
.hero .text-link {
  color: var(--brand-cyan);
}

/* ==========================================================================
   Header & Sticky Navigation Bar
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 17, 36, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.nav-wrap {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.brand:hover .brand-logo {
  opacity: 0.92;
  transform: scale(1.02);
}

nav#navigation {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

nav#navigation a {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: #94a3b8;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
nav#navigation a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
nav#navigation a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}
nav#navigation a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2.5px;
  background: var(--brand-cyan);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--brand-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Accessibility Control Bar */
.access-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 12px;
}
.access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.access-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
.access-btn[aria-pressed="true"] {
  background: rgba(0, 210, 255, 0.22);
  color: var(--brand-cyan);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* Mobile Menu Toggle Button */
.menu {
  display: none;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.menu:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  position: relative;
  background: 
    radial-gradient(circle at 85% 15%, rgba(0, 210, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 15% 70%, rgba(37, 99, 235, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--brand-navy) 0%, #060b18 100%);
  color: #ffffff;
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.14;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-copy .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-copy .micro {
  font-size: 0.825rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-copy .micro-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
}

/* Hero Media Display with Ambient Backlight Glow */
.hero-image-wrapper {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: -15px;
  border-radius: 30px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, rgba(37, 99, 235, 0.18) 50%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.hero-image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.14);
  background: #0f172a;
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.hero-image:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
  box-shadow: 0 32px 64px -12px rgba(0, 210, 255, 0.28),
              inset 0 1px 0 rgba(255, 255, 255, 0.35),
              0 0 0 1px rgba(0, 210, 255, 0.45);
}

.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.hero-image:hover img {
  transform: scale(1.03);
}

.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 9, 20, 0.85) 100%);
  pointer-events: none;
}

.image-label {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(5, 9, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--brand-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.floating-note {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(9, 17, 36, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.floating-note .note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}
.floating-note strong {
  display: block;
  font-size: 0.925rem;
  color: #ffffff;
  font-weight: 600;
}
.floating-note span {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
}

.image-caption {
  position: absolute;
  bottom: 6px;
  right: 18px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  display: none;
}

/* Hero Bottom Connected Track */
.hero-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero-bottom-label {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  color: #64748b;
  text-transform: uppercase;
}
.hero-journey-track {
  display: flex;
  align-items: center;
  gap: 10px;
}
.journey-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.journey-node .node-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-cyan);
}
.journey-node:hover {
  background: rgba(0, 210, 255, 0.16);
  color: #ffffff;
  border-color: rgba(0, 210, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.25);
}
.journey-connector {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(0, 210, 255, 0.6));
  border-radius: 2px;
}

/* ==========================================================================
   Editorial Subpage Hero
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--brand-navy) 0%, #0d172e 100%);
  color: #ffffff;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.page-hero .lead {
  color: #cbd5e1;
}

.editorial-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 4vw, 4rem);
  align-items: center;
}

.editorial-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  background: #0f172a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.1);
}
.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.editorial-image:hover img {
  transform: scale(1.03);
}
.editorial-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 9, 20, 0.9) 100%);
}
.editorial-image figcaption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 2;
  color: #ffffff;
}
.editorial-image figcaption span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 6px;
}
.editorial-image figcaption strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
}
.editorial-image figcaption small {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 6px;
}

/* ==========================================================================
   Sections & Component Grids
   ========================================================================== */
.section {
  padding-block: clamp(4.5rem, 7.5vw, 7rem);
  position: relative;
}

.section.pale {
  background: var(--bg-subtle);
  border-block: 1px solid var(--line-light);
}

.section-top {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: flex-end;
  margin-bottom: 3.5rem;
}
.section-top h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  line-height: 1.15;
}
.section-top p,
.section-top-p {
  font-size: 1.125rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

/* ==========================================================================
   Section: The Opportunity & Intro
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: flex-start;
}
.intro-main h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  margin-bottom: 1.5rem;
  line-height: 1.18;
  letter-spacing: -0.022em;
}
.large-copy-wrapper {
  border-left: 4px solid var(--brand-blue);
  padding: 1.25rem 1.75rem;
  margin-block: 1.75rem 2rem;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.04) 0%, transparent 100%);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.large-copy-wrapper .large-copy {
  margin-bottom: 0;
  font-size: 1.24rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-weight: 500;
}

.intro-aside {
  display: flex;
  flex-direction: column;
}
.aside-insight-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  margin-top: 0.5rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.aside-insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.1);
}
.aside-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}
.aside-insight-card p {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.65;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
.aside-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 500;
}

/* ==========================================================================
   Section: Visual Story (Virtual Lab)
   ========================================================================== */
.visual-story {
  background: 
    radial-gradient(ellipse at 15% 20%, rgba(0, 210, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
    var(--bg-subtle);
  border-block: 1px solid #e2e8f0;
  padding-block: clamp(4.5rem, 7.5vw, 6.5rem);
}
.visual-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.visual-frame {
  position: relative;
}
.visual-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.08);
  transition: all 0.4s ease;
}
.visual-image-box:hover {
  box-shadow: 0 28px 56px -8px rgba(0, 210, 255, 0.2), 0 0 0 1px rgba(0, 210, 255, 0.35);
}
.visual-image-box img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.visual-image-box:hover img {
  transform: scale(1.025);
}
.frame-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(9, 17, 36, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--brand-cyan);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.visual-frame figcaption {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-top: 12px;
}
.visual-story-copy h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.022em;
}
.feature-bullets {
  list-style: none;
  margin-block: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.feature-bullets li:hover {
  background: rgba(37, 99, 235, 0.04);
  transform: translateX(4px);
}
.bullet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   Section: The FIXSTEM Pathway (3-Phase Cards)
   ========================================================================== */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.phase-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: clamp(2rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.phase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.phase-card.phase-understand::before {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}
.phase-card.phase-prepare::before {
  background: linear-gradient(90deg, #00d2ff, #06b6d4);
}
.phase-card.phase-participate::before {
  background: linear-gradient(90deg, #10b981, #22c55e);
}

.phase-card:hover {
  transform: translateY(-8px);
  border-color: #cbd5e1;
}
.phase-card.phase-understand:hover {
  box-shadow: 0 24px 48px -10px rgba(37, 99, 235, 0.16), 0 0 25px rgba(37, 99, 235, 0.08);
}
.phase-card.phase-prepare:hover {
  box-shadow: 0 24px 48px -10px rgba(0, 210, 255, 0.18), 0 0 25px rgba(0, 210, 255, 0.1);
}
.phase-card.phase-participate:hover {
  box-shadow: 0 24px 48px -10px rgba(16, 185, 129, 0.18), 0 0 25px rgba(16, 185, 129, 0.08);
}
.phase-card:hover::before {
  transform: scaleX(1);
}

.phase-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}
.phase-index {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-blue);
}
.phase-card.phase-prepare .phase-index {
  color: #0284c7;
}
.phase-card.phase-participate .phase-index {
  color: #059669;
}
.phase-index span {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
}

.phase-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  border: 1px solid rgba(37, 99, 235, 0.12);
  transition: transform 0.3s ease;
}
.phase-card.phase-prepare .phase-icon {
  background: rgba(0, 210, 255, 0.1);
  color: #0284c7;
  border-color: rgba(0, 210, 255, 0.2);
}
.phase-card.phase-participate .phase-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}
.phase-card:hover .phase-icon {
  transform: scale(1.08) rotate(3deg);
}

.phase-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.phase-card p {
  font-size: 0.975rem;
  line-height: 1.68;
  margin-bottom: 1.85rem;
  flex-grow: 1;
  color: #475569;
}
.phase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phase-arrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.25s ease;
}
.phase-card:hover .phase-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Section: Adaptive Task Preview & Demos
   ========================================================================== */
.twin-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.demo-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.04);
  position: relative;
}

.demo-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-light);
}
.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.w-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
}
.w-dot.red { background: #ef4444; }
.w-dot.yellow { background: #f59e0b; }
.w-dot.green { background: #10b981; }

.window-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  color: var(--brand-blue);
}
.live-concept-tag {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
  font-size: 0.7rem;
}

.switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--bg-subtle);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-light);
}

/* Custom iOS-style Switch Toggles */
.custom-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}
.switch-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 9999px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.switch-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.switch-checkbox:checked + .switch-toggle {
  background: var(--brand-blue);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}
.switch-checkbox:checked + .switch-toggle::after {
  transform: translateX(16px);
}

.task-content {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}
.task-content.roomy {
  line-height: 2.2;
  letter-spacing: 0.05em;
  word-spacing: 0.12em;
  background: #f0fdf4;
  border-color: #86efac;
  box-shadow: 0 0 20px rgba(134, 239, 172, 0.2);
}
.task-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.task-meta-bar .eyebrow {
  margin-bottom: 0;
  font-size: 0.75rem;
}
.meta-level {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-subtle);
  background: #ffffff;
  border: 1px solid var(--line-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.task-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.task-content [data-task-text] p {
  font-size: 1.05rem;
  color: #1e293b;
  line-height: inherit;
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.read-icon {
  flex-shrink: 0;
}

/* Audio Wave Visualizer */
.audio-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  margin-left: 6px;
}
.audio-bar {
  width: 3px;
  height: 100%;
  background: var(--brand-cyan);
  border-radius: 2px;
  animation: audio-jump 0.8s infinite ease-in-out alternate;
}
.audio-bar:nth-child(2) { animation-delay: 0.2s; }
.audio-bar:nth-child(3) { animation-delay: 0.4s; }
@keyframes audio-jump {
  0% { transform: scaleY(0.2); }
  100% { transform: scaleY(1); }
}

/* ==========================================================================
   Dark Section (Midnight Space UI)
   ========================================================================== */
.dark-section {
  position: relative;
  background: linear-gradient(180deg, var(--brand-navy) 0%, #050b18 100%);
  color: #ffffff;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.dark-mesh-glow {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.16) 0%, transparent 45%);
  pointer-events: none;
}
.dark-section h2, .dark-section h3 {
  color: #ffffff;
}
.dark-section p,
.dark-section-p {
  color: #cbd5e1;
  font-size: 1.125rem;
  line-height: 1.68;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.audience-grid > a.audience-card {
  display: flex;
  flex-direction: column;
  padding: 2.35rem;
  background: rgba(16, 26, 48, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 34px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.audience-grid > a.audience-card:hover {
  transform: translateY(-8px);
  background: rgba(20, 34, 64, 0.85);
  border-color: rgba(0, 210, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 210, 255, 0.2);
}
.audience-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 210, 255, 0.12);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 210, 255, 0.28);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.2);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}
.audience-grid > a.audience-card:hover .audience-icon-badge {
  transform: scale(1.08) rotate(3deg);
}
.audience-grid .number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-cyan);
  margin-bottom: 1rem;
}
.audience-grid h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.audience-grid p {
  margin-bottom: 1.75rem;
  flex-grow: 1;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Section: Evidence Stat Band
   ========================================================================== */
.evidence-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.evidence-stat-col {
  padding-right: clamp(1.5rem, 3vw, 3rem);
  border-right: 1.5px solid #e2e8f0;
}
.stat-highlight {
  display: flex;
  flex-direction: column;
  margin-block: 0.5rem 0.85rem;
}
.stat {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  font-weight: 850;
  line-height: 0.95;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 45%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  filter: drop-shadow(0 4px 14px rgba(0, 210, 255, 0.15));
}
.stat span {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}
.stat-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-top: 6px;
}
.stat-copy {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text-dark);
  margin-top: 1rem;
}
.source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin-top: 1rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.source:hover {
  color: var(--brand-blue-hover);
}

.evidence-pilot-col h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 1.25rem;
  line-height: 1.18;
  letter-spacing: -0.022em;
}
.pilot-metrics-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 1.5rem 1.75rem;
}
.pilot-pill {
  font-size: 0.825rem;
  font-weight: 600;
  color: #0f172a;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}
.pilot-pill:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

/* ==========================================================================
   Interactive Practical Journey (Tabs & Panels)
   ========================================================================== */
.journey-demo {
  background: rgba(14, 23, 44, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-dark);
}

.tab-list {
  display: flex;
  background: rgba(8, 14, 28, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}
.tab-list > button {
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.tab-list > button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}
.tab-list > button[aria-selected="true"] {
  color: #ffffff;
  border-bottom-color: var(--brand-cyan);
  background: rgba(0, 210, 255, 0.06);
}

.journey-panel {
  padding: clamp(2rem, 4vw, 3rem);
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 1.5rem;
}
.choice {
  padding: 14px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}
.choice:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.choice.selected,
.choice[aria-pressed="true"] {
  background: rgba(0, 210, 255, 0.15);
  color: #ffffff;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}

.profile-output {
  background: rgba(5, 9, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--brand-cyan);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  margin-top: 1rem;
}
.profile-output .number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-cyan);
  margin-bottom: 6px;
  display: block;
}
.profile-output h4 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.profile-output p {
  color: #94a3b8;
  font-size: 1rem;
}

/* Quiz Feedback in Rehearsal */
.quiz-feedback {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-block: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
.quiz-feedback.correct {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #6ee7b7;
}
.quiz-feedback.retry {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #fcd34d;
}

/* Lab Step Simulator */
.lab-step {
  background: rgba(5, 9, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-block: 1.5rem;
  position: relative;
}
.step-counter {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.75rem;
}
.lab-step p {
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.lab-step small {
  display: block;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Write-up Worked Example */
.write-example {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-block: 1.75rem;
}
.write-example > div {
  background: rgba(5, 9, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}
.write-example .number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-cyan);
  display: block;
  margin-bottom: 0.5rem;
}
.write-example p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* ==========================================================================
   Investor Calculator & Roadmaps
   ========================================================================== */
.calculator {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}
.calculator label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}
.calculator output {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-blue);
}
.calculator input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  margin-bottom: 1.75rem;
  accent-color: var(--brand-blue);
  cursor: pointer;
}
.calculation-result {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}
.calculation-result span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-cyan);
  margin-bottom: 0.5rem;
}
.calculation-result strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.calculation-result p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Roadmap Details / Accordion */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.roadmap details {
  background: rgba(16, 26, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  transition: all 0.25s ease;
}
.roadmap details[open] {
  background: rgba(22, 36, 68, 0.85);
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.roadmap summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-heading);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.roadmap summary::-webkit-details-marker {
  display: none;
}
.roadmap summary span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.12);
  color: var(--brand-cyan);
  font-weight: 800;
  font-size: 0.95rem;
}
.roadmap summary b {
  font-size: 1.2rem;
  color: #ffffff;
  flex-grow: 1;
}
.roadmap summary small {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}
.roadmap details > div {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 50px;
}
.roadmap details p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   School Mastery Portfolio & Perspective Tabs
   ========================================================================== */
.portfolio {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portfolio-header {
  padding: 1.75rem 2.25rem;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}
.portfolio-header .number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 4px;
}
.portfolio-header h3 {
  font-size: 1.35rem;
}

.portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 2.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--line-light);
}
.portfolio-metrics > div {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--line-light);
}
.portfolio-metrics span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 4px;
}
.portfolio-metrics strong {
  display: block;
  font-size: 1.05rem;
  color: var(--brand-blue);
  margin-bottom: 2px;
}
.portfolio-metrics small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portfolio-body {
  padding: 2.25rem;
  min-height: 200px;
}
.portfolio-body .number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 8px;
}
.portfolio-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   Grids & Content Cards (Three, Four, Revenue, Profile Flow)
   ========================================================================== */
.three-grid, .four-grid {
  display: grid;
  gap: 1.75rem;
}
.three-grid {
  grid-template-columns: repeat(3, 1fr);
}
.four-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card, .four-grid article {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover, .four-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.card .number, .four-grid .number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 0.85rem;
}
.card h3, .four-grid h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.card p, .four-grid p {
  font-size: 0.95rem;
}

/* ==========================================================================
   Subpage Interactive Components & Pipelines
   ========================================================================== */

/* Profile Flow (How It Will Work - Phase 01) */
.profile-flow {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.profile-flow > div {
  padding: 1.65rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.profile-flow > div:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.profile-flow .number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 0.5rem;
}
.profile-flow h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.profile-flow p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.profile-flow .profile-result {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #131f38 100%);
  color: #ffffff;
  border: 1px solid rgba(0, 210, 255, 0.3);
  box-shadow: 0 10px 30px rgba(9, 17, 36, 0.35);
}
.profile-flow .profile-result .number {
  color: var(--brand-cyan);
}
.profile-flow .profile-result h3 {
  color: #ffffff;
}
.profile-flow .profile-result p {
  color: #cbd5e1;
}

/* Rehearsal Card & Room List (How It Will Work - Phase 02) */
.rehearsal-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.rehearsal-card h3 {
  font-size: 1.45rem;
  margin-block: 0.5rem 1.5rem;
  line-height: 1.25;
}
.room-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.room-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}
.room-list li:hover {
  background: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.room-list b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.room-list span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}
.room-list small {
  display: block;
  font-size: 0.825rem;
  font-weight: 400;
  color: var(--text-subtle);
  margin-top: 3px;
}

/* Bridge Stack (How It Will Work - Phase 03) */
.bridge-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bridge-stack article {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--brand-blue);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.bridge-stack article:nth-child(2) {
  border-left-color: var(--brand-cyan);
}
.bridge-stack article:nth-child(3) {
  border-left-color: var(--brand-lime);
}
.bridge-stack article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.bridge-stack .number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 0.5rem;
}
.bridge-stack h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.bridge-stack p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Family Note Card (For Families) */
.family-note {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 5px solid #00d2ff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.family-note .tag {
  float: right;
}
.family-note h3 {
  font-size: 1.45rem;
  margin-block: 0.75rem 0.5rem;
}
.family-note hr {
  border: none;
  border-top: 1px dashed #cbd5e1;
  margin-block: 1.35rem;
}
.family-note h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: 1.15rem;
  margin-bottom: 0.35rem;
}
.family-note p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Revenue Stack (For Investors) */
.revenue-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.revenue-stack article {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.revenue-stack article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}
.revenue-stack article:first-child {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #131f38 100%);
  color: #ffffff;
  border: 1px solid rgba(0, 210, 255, 0.3);
  box-shadow: 0 10px 25px rgba(9, 17, 36, 0.3);
}
.revenue-stack article:first-child .number {
  color: var(--brand-cyan);
}
.revenue-stack article:first-child h3 {
  color: #ffffff;
}
.revenue-stack article:first-child p {
  color: #cbd5e1;
}
.revenue-stack .number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 0.5rem;
}

/* Investor Status Chips */
.investor-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.75rem;
}
.investor-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.investor-status b {
  color: #ffffff;
  font-weight: 700;
}

/* Evidence List & Principle List (For Schools) */
.evidence-list,
.principle-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.evidence-list article {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.evidence-list article:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.evidence-list article > span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-blue);
  min-width: 32px;
  line-height: 1;
}
.evidence-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.principle-list article {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.principle-list article:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.principle-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--brand-blue);
}

/* Founder Principles (About Page) */
.founder-principles {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #131f38 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: var(--shadow-card-dark);
}
.founder-principles h3 {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  margin-block: 1rem;
}
.founder-principles p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.68;
}

/* Clean List (For School Pilot section) */
.clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.clean-list li {
  position: relative;
  padding-left: 24px;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
}
.clean-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-cyan);
  font-weight: 800;
}

/* Email Link (Contact Page) */
.email-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-block: 0.75rem 1.5rem;
  border-bottom: 2px solid currentColor;
  transition: all 0.2s ease;
}
.email-link:hover {
  color: #1e40af;
  border-bottom-color: transparent;
}

/* ==========================================================================
   Scientific Evidence & Research Architecture
   ========================================================================== */

/* Academic Hero Badges */
.evidence-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.evidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.evidence-badge span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
}
.evidence-badge.cyan span.dot { background: var(--brand-cyan); }
.evidence-badge.emerald span.dot { background: var(--brand-lime); }
.evidence-badge.amber span.dot { background: var(--brand-amber); }

/* Scientific Executive Briefing */
.briefing-card {
  background: linear-gradient(135deg, #091226 0%, #0d1a36 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 20px 45px -10px rgba(5, 10, 25, 0.5);
  padding: clamp(2rem, 4vw, 3rem);
  margin-block: 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.briefing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-lime));
}
.briefing-top {
  margin-bottom: 2rem;
}
.briefing-top h3 {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-top: 0.35rem;
}
.briefing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.briefing-col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.briefing-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.briefing-col.barrier h4 { color: #f87171; }
.briefing-col.solution h4 { color: #38bdf8; }
.briefing-col p {
  color: #cbd5e1;
  font-size: 0.925rem;
  line-height: 1.65;
}

/* Taxonomy Filter Bar */
.taxonomy-filter-wrapper {
  margin-block: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.taxonomy-filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.taxonomy-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  background: var(--bg-subtle);
  border: 1.5px solid var(--line-light);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.filter-btn:hover {
  background: #ffffff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
}
.filter-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}
.filter-btn .count-badge {
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.filter-btn.active .count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Scientific Evidence Grid & Cards */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-block: 1rem 3.5rem;
}
.evidence-card {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}
.evidence-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-3px);
}
.evidence-card.hidden {
  display: none !important;
}

.evidence-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.card-tier-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.tier-clt { background: #e0f2fe; color: #0284c7; }
.tier-spld { background: #f3e8ff; color: #7c3aed; }
.tier-curriculum { background: #dcfce7; color: #15803d; }
.tier-assistive { background: #ffedd5; color: #c2410c; }
.tier-governance { background: #fee2e2; color: #b91c1c; }

.evidence-card-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-subtle);
}

.evidence-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.evidence-citation {
  font-size: 0.825rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-light-subtle);
}

.evidence-block {
  margin-bottom: 1rem;
}
.evidence-block-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.35rem;
}
.evidence-block-label.finding { color: #0369a1; }
.evidence-block-label.translation { color: #059669; }
.evidence-block-label.safeguard { color: #b45309; }

.evidence-finding {
  background: #f8fafc;
  border-left: 3px solid #0284c7;
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.6;
}

.evidence-translation {
  background: #f0fdf4;
  border-left: 3px solid #10b981;
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: #064e3b;
  line-height: 1.6;
}

.evidence-safeguard {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: #78350f;
  line-height: 1.55;
}

.evidence-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
}

.btn-cite-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line-light);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.btn-cite-copy:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.btn-source-link:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* Research-Grade Theory of Change Pipeline */
.theory-of-change-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1.5px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-block: 2rem 3rem;
  background: #ffffff;
}
.pipeline-stage {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line-light);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.2s ease;
}
.pipeline-stage:hover {
  background: #f8fafc;
}
.pipeline-stage:last-child {
  border-right: none;
}
.pipeline-stage-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}
.pipeline-stage-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
  display: block;
}
.pipeline-stage h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.pipeline-stage p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.pipeline-stage-metric {
  background: #f1f5f9;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #334155;
  border-left: 3px solid var(--brand-blue);
  font-weight: 500;
}

/* Evaluation Table v2 */
.evaluation-table-v2 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1.5px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  margin-block: 1.5rem 2rem;
  font-size: 0.9rem;
}
.evaluation-table-v2 thead th {
  background: #0f172a;
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: left;
  border-bottom: 2px solid #334155;
}
.evaluation-table-v2 tbody tr {
  transition: background 0.15s ease;
}
.evaluation-table-v2 tbody tr:nth-child(even) {
  background: #f8fafc;
}
.evaluation-table-v2 tbody tr:hover {
  background: #f0f9ff;
}
.evaluation-table-v2 th,
.evaluation-table-v2 td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
  line-height: 1.6;
}
.evaluation-table-v2 th[scope="row"] {
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
}
.evaluation-table-v2 td.safeguard-cell {
  color: #92400e;
  background: rgba(254, 243, 199, 0.4);
  font-size: 0.86rem;
}
.evaluation-table-v2 tbody tr:last-child th,
.evaluation-table-v2 tbody tr:last-child td {
  border-bottom: none;
}

/* Research Ethics Panel */
.research-ethics-panel {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-block: 2rem;
}
.research-ethics-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
}
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.ethics-item {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.ethics-item h4 {
  font-size: 0.98rem;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}
.ethics-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border: 1px solid rgba(0, 210, 255, 0.3);
}
.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Legacy Fallbacks for Logic Model & Callout */
.logic-model {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  list-style: none;
  margin-block: 2rem;
}
.logic-model li {
  padding: 2rem;
  background: #f8fafc;
  border-right: 1px solid var(--line-light);
  border-top: 4px solid var(--brand-cyan);
}
.logic-model li:last-child {
  border-right: none;
  border-top-color: var(--brand-lime);
}
.logic-model li > span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  display: block;
  margin-bottom: 1rem;
}
.logic-model h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.logic-model p {
  font-size: 0.9rem;
}

.callout {
  padding: 1.5rem 1.75rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  color: #0369a1;
  font-size: 0.95rem;
  margin-block: 1.5rem;
}

/* Contact Form */
.contact-form {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.contact-form select,
.contact-form textarea,
.contact-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.contact-form select:focus,
.contact-form textarea:focus,
.contact-form input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Brand Story Block */
.brand-story {
  padding-block: 4.5rem;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid var(--line-light);
}
.brand-story img {
  width: min(380px, 80%);
  margin: 0 auto 1.5rem;
}
.brand-story p {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==========================================================================
   Call to Action Section
   ========================================================================== */
.cta-section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  background: var(--bg-light);
  position: relative;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  background: 
    radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(37, 99, 235, 0.22) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-navy) 0%, #091226 50%, #050b18 100%);
  color: #ffffff;
  padding: clamp(3.25rem, 5.5vw, 4.75rem);
  border-radius: 26px;
  border: 1px solid rgba(0, 210, 255, 0.28);
  box-shadow: 0 28px 65px -12px rgba(5, 9, 20, 0.55), 0 0 35px rgba(0, 210, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-copy {
  position: relative;
  z-index: 1;
}
.cta-copy h2 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.cta-action-box {
  position: relative;
  z-index: 1;
}
.cta-action-box p {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.68;
  margin-bottom: 2rem;
}
.cta-btn {
  background: linear-gradient(135deg, #00d2ff 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 210, 255, 0.5), 0 0 20px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #040812;
  color: #cbd5e1;
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 4.5rem;
}

.footer-grid .brand {
  background: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1.5rem;
}
.footer-grid .brand-logo {
  filter: none;
  height: 34px;
}
.footer-grid p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
}

.footer-grid .eyebrow {
  color: var(--brand-cyan);
  margin-bottom: 1.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.footer-grid a {
  display: block;
  font-size: 0.925rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
  transition: all 0.2s ease;
}
.footer-grid a:hover {
  color: var(--brand-cyan);
  transform: translateX(4px);
}

.motion-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-top: 1.25rem;
  transition: all 0.2s ease;
}
.motion-button:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(0, 210, 255, 0.3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: #64748b;
}

/* ==========================================================================
   Micro-animations & Scroll Reveal
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.waiting {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .editorial-hero,
  .twin-grid,
  .split,
  .section-top,
  .evidence-band,
  .cta-inner,
  .visual-story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .phase-grid,
  .audience-grid,
  .three-grid {
    grid-template-columns: 1fr;
  }
  .four-grid,
  .logic-model {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-image,
  .editorial-image {
    height: 380px;
    transform: none;
  }
  .evidence-band > div:first-child {
    border-right: none;
    border-bottom: 1.5px solid var(--line-light);
    padding-right: 0;
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .menu {
    display: inline-flex;
  }
  nav#navigation {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(9, 17, 36, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 1.5rem var(--wrap-pad);
    gap: 0.75rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }
  nav#navigation.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  nav#navigation a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.05rem;
  }
  .nav-cta {
    display: none;
  }
  .four-grid,
  .logic-model,
  .write-example,
  .portfolio-metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .logic-model li {
    border-right: none;
    border-bottom: 1px solid var(--line-light);
  }
}
