/* ============================================================
   breathe2026.org — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --teal-dark:    #1F7A7A;
  --teal-mid:     #2B9E9E;
  --teal-light:   #D4EDEA;
  --teal-xlight:  #EBF7F6;
  --amber:        #C8966A;
  --amber-light:  #F7EDE3;
  --charcoal:     #1C2B2B;
  --charcoal-soft:#2E4040;
  --gray:         #6B8A8A;
  --gray-light:   #C4D8D8;
  --off-white:    #F5F9F8;
  --white:        #FFFFFF;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-full:999px;

  --shadow-sm:  0 1px 4px rgba(31,122,122,0.09);
  --shadow:     0 4px 20px rgba(31,122,122,0.13);
  --shadow-lg:  0 12px 48px rgba(31,122,122,0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --trans: 0.22s var(--ease);

  --max-w: 1200px;
  --pad-x: clamp(20px, 5vw, 80px);
  --pad-section: clamp(60px, 8vw, 100px);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--off-white);
}
img { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { max-width: 68ch; }
strong { font-weight: 600; }

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--charcoal-soft);
  max-width: 60ch;
}

.label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-mid);
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section {
  padding: var(--pad-section) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

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

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  text-decoration: none;
}
.btn-primary {
  background: var(--teal-mid);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(43,158,158,0.35);
}
.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 24px rgba(43,158,158,0.45);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--teal-mid);
  border: 2px solid var(--teal-mid);
}
.btn-outline:hover {
  background: var(--teal-light);
  text-decoration: none;
}
.btn-amber {
  background: var(--amber);
  color: var(--white);
}
.btn-amber:hover {
  background: #b37d56;
  text-decoration: none;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--trans), box-shadow var(--trans);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-icon {
  flex-shrink: 0;
}
.nav-logo .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal-light);
}
.nav.scrolled .nav-logo { color: var(--charcoal); }
.nav.scrolled .nav-logo .dot { background: var(--teal-mid); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}
.nav.scrolled .nav-links a { color: var(--charcoal-soft); }
.nav.scrolled .nav-links a:hover { background: var(--teal-xlight); color: var(--teal-dark); }
.nav-menu-btn {
  display: none;
  background: none; border: none;
  cursor: pointer;
  color: var(--white);
  padding: 6px;
}
.nav.scrolled .nav-menu-btn { color: var(--charcoal); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 16px var(--pad-x) 24px;
    box-shadow: var(--shadow);
    gap: 4px;
  }
  .nav-links.open a { color: var(--charcoal-soft); }
  .nav-menu-btn { display: flex; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #133D3D 0%, var(--teal-dark) 40%, #236666 80%, #2B5C5C 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px var(--pad-x) 80px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero .lead {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 56ch;
}
.hero-attrib {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 40px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.hero-attrib a { color: rgba(255,255,255,0.65); text-decoration: underline; }

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.2; }
  25%  { transform: translateY(-25vh) translateX(15px) scale(1.05); opacity: 0.4; }
  50%  { transform: translateY(-50vh) translateX(-10px) scale(0.95); opacity: 0.35; }
  75%  { transform: translateY(-75vh) translateX(12px) scale(1.02); opacity: 0.25; }
  100% { transform: translateY(-100vh) translateX(-5px) scale(0.85); opacity: 0; }
}

/* Wave divider */
.wave-top, .wave-bottom {
  position: absolute;
  left: 0; right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-bottom { bottom: -1px; }
.wave-top    { top: -1px; }
.wave-top svg, .wave-bottom svg { width: 100%; display: block; }

/* Sub-page hero (shorter) */
.hero-sub {
  min-height: 52vh;
  padding: 120px var(--pad-x) 80px;
}
.hero-sub h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--teal-light);
}
.stats-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--teal-light);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.83rem;
  color: var(--gray);
  margin-top: 6px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--teal-light); }
}

/* ── Section Backgrounds ─────────────────────────────────── */
.bg-white     { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-teal-xlight { background: var(--teal-xlight); }
.bg-teal-light  { background: var(--teal-light); }
.bg-charcoal    { background: var(--charcoal); }
.bg-charcoal h2, .bg-charcoal h3, .bg-charcoal p { color: var(--white); }
.bg-charcoal .label { color: var(--teal-light); }

/* ── Section Header ──────────────────────────────────────── */
.section-header {
  margin-bottom: 48px;
}
.section-header .label {
  display: block;
  margin-bottom: 12px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header .lead {
  color: var(--gray);
}
.section-header.centered {
  text-align: center;
}
.section-header.centered p {
  margin: 0 auto;
}

/* ── Science Pillars (Sense/Assess/Protect) ──────────────── */
.pillar {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--teal-light);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--teal-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon svg {
  width: 26px; height: 26px;
  stroke: var(--teal-dark);
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar h3 {
  margin-bottom: 10px;
  color: var(--teal-dark);
}

/* ── Program Cards ───────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.programs-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: calc(66.66% + 12px);
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--teal-light);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--trans);
  box-shadow: var(--shadow-sm);
}
.program-card:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.program-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.program-badge {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.program-badge svg {
  width: 22px; height: 22px;
  stroke: var(--teal-dark);
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.program-setting {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}
.program-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.program-org {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 500;
}
.program-card p {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  flex: 1;
  max-width: none;
}
.program-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.program-link:hover { color: var(--teal-dark); text-decoration: none; }
.program-link::after { content: '→'; }
@media (max-width: 960px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid-bottom { max-width: 100%; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .programs-grid, .programs-grid-bottom { grid-template-columns: 1fr; }
}

/* ── Map ─────────────────────────────────────────────────── */
.map-section {
  background: var(--charcoal);
  padding: var(--pad-section) var(--pad-x);
}
.map-section .section-header h2 { color: var(--white); }
.map-section .section-header .lead { color: rgba(255,255,255,0.65); }
.map-section .label { color: var(--teal-light); }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}
#us-map-container {
  width: 100%;
  overflow-x: auto;
}
#us-map {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: block;
}
.map-tile {
  cursor: default;
  transition: var(--trans);
}
.map-tile.active { cursor: pointer; }
.map-tile rect {
  rx: 4;
  ry: 4;
  transition: var(--trans);
}
.map-tile.active:hover rect { filter: brightness(1.15); }
.map-tooltip {
  position: fixed;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  z-index: 999;
  max-width: 220px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.map-tooltip.visible { opacity: 1; }
.map-tooltip .tt-program {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.map-tooltip .tt-state {
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 500;
}
.map-tooltip .tt-org {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 2px;
}

/* ── Demo Day ────────────────────────────────────────────── */
.demoday-section {
  background: linear-gradient(135deg, #0F2929 0%, var(--charcoal) 60%);
  padding: var(--pad-section) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.demoday-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.demoday-text { flex: 1; }
.demoday-text h2 { color: var(--white); margin-bottom: 16px; }
.demoday-text p { color: rgba(255,255,255,0.7); max-width: 48ch; }
.demoday-date {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 12px;
}
.demoday-visual {
  flex-shrink: 0;
  width: 240px;
  height: 160px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .demoday-inner { flex-direction: column; }
  .demoday-visual { width: 100%; }
}

/* ── Press Bar ───────────────────────────────────────────── */
.press-bar {
  background: var(--white);
  border-top: 1px solid var(--teal-light);
  border-bottom: 1px solid var(--teal-light);
  padding: 28px var(--pad-x);
}
.press-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.press-bar-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
  margin-right: 8px;
}
.press-outlet {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--off-white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  text-decoration: none;
  border: 1px solid var(--gray-light);
  transition: var(--trans);
  white-space: nowrap;
}
.press-outlet:hover {
  background: var(--teal-xlight);
  border-color: var(--teal-mid);
  color: var(--teal-dark);
  text-decoration: none;
}

/* ── About Section ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--teal-light);
  box-shadow: var(--shadow-sm);
}
.about-card h3 {
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.about-card p {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  max-width: none;
}
.about-card a {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-mid);
}
@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 48px var(--pad-x) 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 34ch;
  line-height: 1.55;
}
.footer-brand a {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
  color: var(--gray);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--trans);
}
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  max-width: none;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── Sub-page content sections ───────────────────────────── */
.content-section {
  padding: var(--pad-section) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Sense/Assess/Protect 4-panel ────────────────────────── */
.sap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sap-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--teal-light);
  box-shadow: var(--shadow-sm);
}
.sap-card .sap-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 12px;
}
.sap-card h3 {
  font-size: 1rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.sap-card p {
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  max-width: none;
  line-height: 1.55;
}
@media (max-width: 860px) {
  .sap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sap-grid { grid-template-columns: 1fr; }
}

/* ── Video embed ─────────────────────────────────────────── */
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: var(--charcoal);
}
.video-wrap iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.video-caption {
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--gray);
  text-align: center;
  font-style: italic;
}

/* ── Benefits grid ───────────────────────────────────────── */
.benefit-card {
  padding: 28px;
  background: var(--teal-xlight);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--teal-mid);
}
.benefit-card h4 {
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  max-width: none;
}

/* ── Partner list ────────────────────────────────────────── */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.partner-pill {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--charcoal-soft);
  white-space: nowrap;
}
.partner-pill.featured {
  border-color: var(--teal-mid);
  color: var(--teal-dark);
  background: var(--teal-xlight);
}

/* ── News items ──────────────────────────────────────────── */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--teal-light);
  transition: var(--trans);
}
.news-item:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow-sm);
}
.news-outlet-tag {
  padding: 4px 10px;
  background: var(--teal-xlight);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-dark);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.news-item-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.news-item-text h4 a { color: var(--charcoal); }
.news-item-text h4 a:hover { color: var(--teal-dark); text-decoration: none; }
.news-item-text p {
  font-size: 0.83rem;
  color: var(--gray);
  max-width: none;
}

/* ── CTA section ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--teal-dark), #0F4F4F);
  padding: 72px var(--pad-x);
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.72); margin: 0 auto 32px; max-width: 50ch; }
.cta-email {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-light);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-block;
  transition: var(--trans);
  text-decoration: none;
}
.cta-email:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  text-decoration: none;
}

/* ── Page-specific hero colors ───────────────────────────── */
.hero-brave    { background: linear-gradient(135deg, #1A3D2E 0%, #2D7A4F 50%, #1F5C3A 100%); }
.hero-scale    { background: linear-gradient(135deg, #133D3D 0%, var(--teal-dark) 40%, #236666 100%); }
.hero-haiqu    { background: linear-gradient(135deg, #1A2A4D 0%, #1F5C99 50%, #163D66 100%); }
.hero-defense  { background: linear-gradient(135deg, #1C1A2D 0%, #3D3566 50%, #2A2450 100%); }
.hero-micro    { background: linear-gradient(135deg, #2D1A00 0%, #7A4F1F 50%, #5C3C14 100%); }

/* ── Map section mini (subpages) ─────────────────────────── */
.mini-map-section {
  padding: var(--pad-section) var(--pad-x);
}
.state-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.state-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--teal-mid);
  color: var(--white);
}
.state-pill.est {
  background: var(--teal-xlight);
  color: var(--teal-dark);
  border: 1px solid var(--teal-light);
}

/* ── Footnote ────────────────────────────────────────────── */
.footnote {
  font-size: 0.78rem;
  color: var(--gray);
  font-style: italic;
  margin-top: 12px;
}

/* ── Animations ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ── Press page ──────────────────────────────────────────── */
.press-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--gray-light);
  background: var(--white);
  color: var(--charcoal-soft);
  cursor: pointer;
  transition: var(--trans);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--teal-mid);
  color: var(--white);
  border-color: var(--teal-mid);
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.press-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--teal-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--trans);
}
.press-card:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.press-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.press-card-tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag-scale   { background: #D4EDEA; color: #1F7A7A; }
.tag-brave   { background: #D4EDEB; color: #1F7A50; }
.tag-haiqu   { background: #D4E0ED; color: #1F5080; }
.tag-defense { background: #E0DAF0; color: #4A3580; }
.tag-microbe { background: #F0E8D4; color: #7A5020; }
.tag-breathe { background: #E8F4F4; color: #1F6060; }
.press-date {
  font-size: 0.75rem;
  color: var(--gray);
  font-family: var(--font-display);
}
.press-card h4 { font-size: 0.95rem; line-height: 1.35; }
.press-card h4 a { color: var(--charcoal); }
.press-card h4 a:hover { color: var(--teal-dark); text-decoration: none; }
.press-card .outlet {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
  font-family: var(--font-display);
}
@media (max-width: 800px) {
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .press-grid { grid-template-columns: 1fr; }
}

/* ── Background imagery overlays ─────────────────────────── */
.bg-people-programs {
  position: relative;
}
.bg-people-programs::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=800&q=60&auto=format') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.7), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.7), transparent);
}

.bg-people-about {
  position: relative;
}
.bg-people-about::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 35%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?w=800&q=60&auto=format') center/cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

.bg-people-demoday::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=800&q=60&auto=format') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
}

@media (max-width: 700px) {
  .bg-people-programs::before,
  .bg-people-about::before,
  .bg-people-demoday::before {
    display: none;
  }
}

/* ── Divider ─────────────────────────────────────────────── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: block;
  margin: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
}
