/* =========================================================
   Silverline Institute - Homepage (v2, polished)
   Dark theme, editorial, silver-blue palette with glow accents
   ========================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Dark palette */
  --bg: #020509;        /* matches cloud-bottom exactly */
  --bg-2: #050a15;
  --bg-3: #08101f;
  --bg-4: #0a1325;
  --line: #1a2240;
  --line-soft: #141a2e;

  /* Text */
  --text: #f5f7fc;
  --text-2: #c7cedc;
  --text-3: #8a93a8;
  --text-4: #5a6280;

  /* Brand */
  --silver: #9fa8b8;
  --silver-lt: #c7cedc;
  --sky: #3c6ee0;
  --sky-bright: #5a8aff;
  --sky-deep: #1f3d7a;
  --sky-wash: rgba(60, 110, 224, 0.12);
  --sky-glow: rgba(90, 138, 255, 0.22);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Hide scrollbar permanently in all browsers */
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE / old Edge */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;              /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
}
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Scroll-lock using position:fixed on body keeps the viewport stable and
   never shows a scrollbar. No "jump" on release. */
html.scroll-locked body {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
html.scroll-locked {
  overflow: hidden;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Full-page gradient: holds cloud-dark #020509 through the entire mission,
   then fades slowly (over ~15% of page) into a slightly lighter dark for
   the audience+ sections. Every stop is smooth, no abrupt color cut. */
body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(
    180deg,
    #020509 0%,
    #020509 45%,
    #030710 55%,
    #050a17 65%,
    #07101f 75%,
    #091425 85%,
    #0b1628 100%
  );
}

body::before {
  /* Ambient noise texture for depth */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* ===== ANIMATED MESH BACKGROUND (auto-drifts + mouse-reactive) =====
   Sits at z-index 0 on body. Sections below are transparent so the mesh
   shows through everywhere. */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.bg-mesh::before,
.bg-mesh::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.bg-mesh::before {
  width: 70vmax;
  height: 70vmax;
  left: -15%;
  top: 5%;
  background: radial-gradient(circle, rgba(60, 110, 224, 0.42) 0%, rgba(60, 110, 224, 0.12) 35%, transparent 70%);
  animation: meshDrift1 22s ease-in-out infinite;
}

.bg-mesh::after {
  width: 55vmax;
  height: 55vmax;
  right: -10%;
  top: 45%;
  background: radial-gradient(circle, rgba(140, 160, 210, 0.28) 0%, rgba(140, 160, 210, 0.08) 40%, transparent 70%);
  animation: meshDrift2 28s ease-in-out infinite;
}

/* Third blob near bottom for a third point of visual interest */
.bg-mesh-extra {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.bg-mesh-extra::before {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  left: 30%;
  bottom: -20%;
  border-radius: 50%;
  filter: blur(100px);
  background: radial-gradient(circle, rgba(100, 140, 230, 0.3) 0%, rgba(100, 140, 230, 0.08) 40%, transparent 70%);
  animation: meshDrift3 34s ease-in-out infinite;
}

@keyframes meshDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(18vw, -10vh) scale(1.12); }
  66%      { transform: translate(-10vw, 15vh) scale(0.93); }
}

@keyframes meshDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-14vw, 10vh) scale(1.15); }
  66%      { transform: translate(12vw, -18vh) scale(0.88); }
}

@keyframes meshDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-18vw, -15vh) scale(1.1); }
  66%      { transform: translate(14vw, 8vh) scale(0.94); }
}

/* Hero (video) sits above the mesh */
.hero { z-index: 2; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 3;
}

.section { position: relative; z-index: 1; }
.hero { position: relative; z-index: 2; }

/* ===== REVEAL ON SCROLL =====
   Pronounced blur + translateY + opacity so the fade is clearly visible.
   Children stagger via nth-child delays. */
.will-reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(12px);
  transition: opacity 1.6s cubic-bezier(0.33, 0, 0.67, 1),
              transform 1.6s cubic-bezier(0.33, 0, 0.67, 1),
              filter 1.6s cubic-bezier(0.33, 0, 0.67, 1);
  will-change: opacity, transform, filter;
}

.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Hero children fade up on load (used on sub-pages). Pronounced blur +
   translate + opacity, ~1.4s duration so the fade is unmistakable. */
.hero-child-fade {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(14px);
  transition: opacity 1.8s cubic-bezier(0.33, 0, 0.67, 1),
              transform 1.8s cubic-bezier(0.33, 0, 0.67, 1),
              filter 1.8s cubic-bezier(0.33, 0, 0.67, 1);
  will-change: opacity, transform, filter;
}
.hero-child-fade.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger-children inside a revealed section. No blur here to avoid
   stacking with the section's own blur animation. */
.stagger-child {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s cubic-bezier(0.33, 0, 0.67, 1),
              transform 1.1s cubic-bezier(0.33, 0, 0.67, 1);
}
.will-reveal.revealed .stagger-child {
  opacity: 1;
  transform: translateY(0);
}

.narrative-col.will-reveal { transition-delay: 0.1s; }
.narrative-col:nth-child(2).will-reveal { transition-delay: 0.25s; }

.audience-card.will-reveal:nth-child(1) { transition-delay: 0.05s; }
.audience-card.will-reveal:nth-child(2) { transition-delay: 0.2s; }
.audience-card.will-reveal:nth-child(3) { transition-delay: 0.35s; }

.metric.will-reveal:nth-child(1) { transition-delay: 0.05s; }
.metric.will-reveal:nth-child(2) { transition-delay: 0.2s; }
.metric.will-reveal:nth-child(3) { transition-delay: 0.35s; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, border-bottom-color 0.3s;
  border-bottom: 1px solid transparent;
  opacity: 0;
  animation: fadeIn 1s ease-out 4.4s forwards;
}

.nav.nav-solid {
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(22px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-mark {
  width: 24px;
  height: 24px;
  background: linear-gradient(170deg, #eef2fb 0%, #7280a0 55%, var(--sky) 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(60, 110, 224, 0.35);
  flex-shrink: 0;
}

.nav-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  width: 1px;
  height: 32%;
  background: white;
  opacity: 0.45;
  box-shadow: -3px 0 0 white, 3px 0 0 white;
}

.nav-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 55%;
  height: 1px;
  background: white;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.85rem;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links a {
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.nav-muted { color: var(--text-4); font-size: 0.8rem; }
.nav-links a.nav-muted:hover { color: var(--text-2); }

.nav-cta {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  transition: all 0.25s;
  backdrop-filter: blur(10px);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Poster image shows immediately at page load (zero delay) and holds
   behind the video while it buffers. Video fades in on 'playing' event. */
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.9s ease-out;
}

.hero-video.is-playing { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(2, 5, 9, 0.55) 0%,
      rgba(2, 5, 9, 0.20) 40%,
      rgba(2, 5, 9, 0.45) 80%,
      rgba(2, 5, 9, 1) 100%
    );
}

/* Bottom feather so the hero blends seamlessly into the page.
   Target color matches the exact cloud-bottom dark that the body starts with. */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  background: linear-gradient(180deg, transparent 0%, #020509 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 32px;
  max-width: 960px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-brand {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  color: white;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 1.8s cubic-bezier(0.33, 0, 0.67, 1) 1.8s forwards;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: fadeInUp 1.7s cubic-bezier(0.33, 0, 0.67, 1) 2.8s forwards;
}

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.65;
  opacity: 0;
  animation: fadeInUp 1.5s cubic-bezier(0.33, 0, 0.67, 1) 3.5s forwards;
}

.hero-sub strong { color: white; font-weight: 600; }

.hero-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1.4s cubic-bezier(0.33, 0, 0.67, 1) 4.1s forwards;
}

.hero-tab {
  padding: 11px 22px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.hero-tab.primary {
  background: white;
  color: var(--bg-3);
  font-weight: 600;
}

.hero-tab.primary:hover {
  background: #f0f4fc;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.hero-tab-arrow {
  font-size: 0.85em;
  transition: transform 0.2s;
  display: inline-block;
}

.hero-tab:hover .hero-tab-arrow { transform: translateX(3px); }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease-out 5s forwards;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  animation: scrollPulse 2.8s ease-in-out infinite 5.5s;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.4); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* .section-glow removed - was adding unwanted light to mission area */

.section-glow-subtle {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle at 70% 30%, var(--sky-wash) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  filter: blur(30px);
}

/* Sections are fully transparent - the body gradient and mesh show through,
   giving smooth seamless transitions from top (dark) to bottom (lighter). */
/* Mission section is transparent now - body gradient provides the cloud-dark
   color, and a tail gradient at the bottom eases smoothly into the next section. */
.section-mission {
  position: relative;
}

.section-audience { }
.section-metrics { padding: 80px 0; }

/* Status strip: compact, sits right before footer, no hairlines */
.section-status {
  padding: 28px 0 24px;
  position: relative;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sky-bright);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--sky-bright) 0%, var(--silver) 100%);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 820px;
}

.section-title .accent {
  background: linear-gradient(180deg, var(--silver-lt) 0%, var(--sky-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-weight: 500;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.section-sub strong { color: var(--text); font-weight: 600; }

/* ===== MISSION NARRATIVE ===== */
.mission-narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
  margin-bottom: 56px;
}

.narrative-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.stat-val {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--text) 0%, var(--silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.narrative-col h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--silver-lt);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.narrative-col p {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.narrative-col p:last-child { margin-bottom: 0; }

.narrative-col strong {
  color: var(--text);
  font-weight: 600;
}

.mission-bridge {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 52px;
  background: rgba(10, 18, 36, 0.5);
  border: 1px solid rgba(60, 110, 224, 0.22);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.mission-bridge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(90, 138, 255, 0.7) 50%, transparent 100%);
}

.bridge-rays {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 140%;
  background: radial-gradient(ellipse 40% 30% at 50% 0%, var(--sky-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.bridge-label {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 2;
}

.mission-bridge p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

/* ===== AUDIENCE CARDS ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.audience-card {
  padding: 44px 36px 32px;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--sky-bright) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.audience-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle at 50% 0%, var(--sky-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  filter: blur(30px);
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(90, 138, 255, 0.4);
  box-shadow: 0 24px 70px rgba(60, 110, 224, 0.18);
  background: linear-gradient(180deg, var(--bg-4) 0%, var(--bg-3) 100%);
}

.audience-card:hover::before { opacity: 1; }
.audience-card:hover::after { opacity: 1; }

.audience-icon {
  font-size: 1.5rem;
  color: var(--sky-bright);
  margin-bottom: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-wash);
  border-radius: 12px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(60, 110, 224, 0.2);
}

.audience-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

.audience-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--silver-lt);
  margin-bottom: 20px;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.audience-body {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 26px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.audience-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--sky-bright);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.cta-arrow {
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: inline-block;
}

.audience-card:hover .cta-arrow {
  transform: translateX(5px);
}

/* ===== STATUS STRIP ===== */
/* Plain inline flow so commas sit tight after the strong names (no flex gap) */
.status-line {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-2);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.status-line strong {
  color: var(--text);
  font-weight: 600;
}

.status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--sky-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--sky-bright), 0 0 24px rgba(90, 138, 255, 0.4);
  animation: statusPulse 2s ease-in-out infinite;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ===== METRICS ===== */
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 52px;
}

.metric {
  padding: 28px 28px;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sky-bright);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 138, 255, 0.3);
}

.metric-rank {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sky-bright);
  font-weight: 600;
}

.metric-body h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: -0.005em;
}

.metric-body p {
  font-size: 0.92rem;
  color: var(--text-3);
  line-height: 1.55;
}

.metric-neg {
  border-left-color: var(--silver);
  opacity: 0.65;
}

.metric-neg:hover {
  opacity: 0.85;
  border-color: rgba(159, 168, 184, 0.3);
}

.metric-neg .metric-rank { color: var(--silver); font-style: italic; }
.metric-neg .metric-body h4 { color: var(--text-2); font-style: italic; }

/* ===== FOOTER ===== */
.footer {
  padding: 36px 0 40px;
  position: relative;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .nav-mark {
  width: 28px;
  height: 28px;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-brand-sub {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-top: 2px;
}

.footer-meta {
  text-align: right;
  color: var(--text-3);
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-contact {
  color: var(--text-3);
}

.footer-contact a {
  color: var(--text-2);
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--sky-bright); }

/* ===== TABLET ===== */
@media (max-width: 1000px) {
  .container { padding: 0 28px; }
  .mission-narrative { gap: 48px; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-card:nth-child(3) { grid-column: 1 / -1; }
}

/* ===== MOBILE ===== */
@media (max-width: 720px) {
  .container { padding: 0 20px; }

  /* Nav: compact, hide link list; keep brand + CTA */
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-brand { font-size: 0.95rem; }
  .nav-cta { padding: 7px 14px; font-size: 0.78rem; }

  /* Hero: text scales down, tabs stack as compact pill column */
  .hero-brand {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
    margin-bottom: 20px;
  }
  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 22px;
    padding: 0 8px;
  }
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 32px;
    padding: 0 4px;
  }
  .hero-tabs {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 4px;
    border-radius: 16px;
    padding: 6px;
  }
  .hero-tab {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
    border-radius: 12px;
  }
  .hero-tab.primary { border-radius: 12px; }

  .scroll-hint {
    bottom: 20px;
    font-size: 0.62rem;
  }

  /* Sections: smaller padding, smaller type */
  .section { padding: 64px 0; }
  .section-label { margin-bottom: 14px; font-size: 0.68rem; letter-spacing: 0.18em; }
  .section-title {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
    margin-bottom: 20px;
  }
  .section-sub { font-size: 1rem; margin-bottom: 28px; }

  /* Mission narrative stacks */
  .mission-narrative {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 32px;
    margin-bottom: 40px;
  }
  .narrative-col h3 { font-size: 1.25rem; }
  .narrative-col p { font-size: 0.95rem; }
  .stat-val { font-size: 2.4rem; }

  .mission-bridge {
    padding: 28px 24px;
    border-radius: 12px;
  }
  .bridge-label { font-size: 1.2rem; }
  .mission-bridge p { font-size: 0.95rem; }

  /* Audience cards full stack */
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }
  .audience-card {
    padding: 28px 22px;
    border-radius: 12px;
  }
  .audience-card h3 { font-size: 1.3rem; }
  .audience-tagline { font-size: 0.92rem; margin-bottom: 14px; }
  .audience-body { font-size: 0.9rem; margin-bottom: 20px; }

  /* Status line wraps cleanly */
  .status-line { font-size: 0.86rem; line-height: 1.6; padding: 0 8px; }

  /* Footer stacks */
  .footer { padding: 28px 0; }
  .footer-inner { flex-direction: column; gap: 18px; text-align: left; }
  .footer-meta { text-align: left; }
}

/* ===== VERY SMALL MOBILE ===== */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-brand { font-size: 2.2rem; }
  .section-title { font-size: 1.5rem; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bg-mesh::before,
  .bg-mesh::after,
  .bg-mesh-extra::before { animation: none !important; }
}
