/* ============================================================
   TERAVENT — Carbon Removal Registry
   Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Mono:wght@300;400&family=Instrument+Sans:wght@400;500;600&display=swap');

/* ─── VARIABLES ─── */
:root {
  /* Light theme palette */
  --ink:        #1a2d1e;
  --forest:     #2d5e3a;
  --moss:       #3a7048;
  --sage:       #5c8a6a;
  --sage-mid:   #7aaa88;
  --mist:       #9abfa6;
  --dew:        #c8dece;
  --foam:       #e8f2eb;
  --cream:      #f4f0e8;
  --sand:       #ede8dc;
  --white:      #fafaf7;
  --gold:       #8a6f2e;
  --gold-mid:   #b08e44;
  --gold-light: #c9a85c;
  --gold-pale:  #f0e6cc;
  --ocean:      #1e4a5c;
  --sky:        #2e6b7e;

  /* Text */
  --text-primary:   #1a2d1e;
  --text-secondary: #3a5842;
  --text-muted:     #6a8a72;
  --text-light:     #9aaa9e;

  /* Surfaces */
  --surface-base:   #f7f9f6;
  --surface-card:   #ffffff;
  --surface-tinted: #eef4ef;
  --surface-dark:   #1e3024;

  /* Borders */
  --border-light: rgba(92,138,106,0.18);
  --border-mid:   rgba(92,138,106,0.3);
  --border-gold:  rgba(138,111,46,0.3);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--surface-base);
  color: var(--text-primary);
  font-family: 'Instrument Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ─── TYPOGRAPHY HELPERS ─── */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::after {
  content: '';
  display: block;
  flex: 1; max-width: 36px;
  height: 1px;
  background: var(--gold-mid);
  opacity: 0.6;
}
.section-label.center { justify-content: center; }
.section-label.center::after { display: none; }

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.section-heading em {
  font-style: italic;
  color: var(--moss);
}
.section-heading .gold { color: var(--gold); }
.section-heading.light { color: var(--white); }
.section-heading.light em { color: var(--dew); }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--forest);
  color: var(--white);
  padding: 0.85rem 2rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  border-radius: 2px;
}
.btn-primary:hover {
  background: var(--moss);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,94,58,0.25);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  padding: 0.85rem 2rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.25s, transform 0.2s;
  border-radius: 2px;
}
.btn-gold:hover { background: var(--gold-mid); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid var(--border-mid);
  color: var(--text-secondary);
  padding: 0.85rem 2rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: inline-block;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
  border-radius: 2px;
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--forest);
  color: var(--forest);
  transform: translateY(-2px);
}
.btn-outline.light {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
}
.btn-outline.light:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   TOP ANNOUNCEMENT BANNER
═══════════════════════════════════════════════════════════ */
.top-banner {
  background: var(--forest);
  color: rgba(255,255,255,0.9);
  padding: 0.55rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 200;
}
.top-banner-text { display: flex; align-items: center; gap: 1.2rem; }
.banner-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: blinkDot 2s ease-in-out infinite;
}
@keyframes blinkDot { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.top-banner-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.4rem;
  transition: color 0.2s;
}
.top-banner-close:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 72px;
  background: rgba(247,249,246,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 12px rgba(26,45,30,0.06);
  animation: fadeDown 0.7s ease forwards;
}
@keyframes fadeDown {
  from { opacity:0; transform:translateY(-12px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Logo area — swap-ready */
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* Placeholder shown when no image loaded */
}
.nav-logo-placeholder {
  /* Shown if no PNG uploaded; hide when logo present */
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
}
.nav-logo-text span { color: var(--forest); }
.nav-logo-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.nav-links {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}
.nav-links a {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  background: var(--surface-tinted);
  color: var(--forest);
}
.nav-links .nav-cta {
  background: var(--forest);
  color: var(--white);
  padding: 0.5rem 1.3rem;
  margin-left: 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover {
  background: var(--moss);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f2eb 0%, #f4f0e8 50%, #e6eeea 100%);
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(92,138,106,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,138,106,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 55%, rgba(45,94,58,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 70%, rgba(30,74,92,0.1) 0%, transparent 60%);
}

.hero-left {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem 5rem 7rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold-mid);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s ease forwards;
}
.hero-title em { font-style: italic; color: var(--moss); }
.hero-title .accent { color: var(--gold); }

.hero-sub {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s ease forwards;
}

.hero-right {
  position: relative; z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5rem 5rem 2rem;
  opacity: 0;
  animation: fadeIn 1.2s 0.6s ease forwards;
}

/* Globe visual */
.globe-wrap {
  position: relative;
  width: 360px; height: 360px;
}
.globe-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(92,138,106,0.2);
  animation: rotateRing 20s linear infinite;
}
.globe-ring:nth-child(2) {
  inset: 24px;
  border-color: rgba(138,111,46,0.25);
  animation-duration: 30s;
  animation-direction: reverse;
}
.globe-ring:nth-child(3) {
  inset: 52px;
  border-color: rgba(92,138,106,0.3);
  animation-duration: 16s;
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.globe-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #2d5e3a, #1a3024);
  border: 1px solid rgba(92,138,106,0.5);
  box-shadow:
    0 0 50px rgba(45,94,58,0.25),
    0 0 100px rgba(45,94,58,0.12),
    inset 0 0 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}
.globe-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}
.globe-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200,222,206,0.8);
  text-align: center;
  margin-top: 0.3rem;
}

.orbit-dot {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
}
.orbit-dot:nth-child(4) {
  top: 10%; left: 52%;
  background: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-light);
  animation: float1 5s ease-in-out infinite;
}
.orbit-dot:nth-child(5) {
  top: 52%; right: 4%;
  background: var(--sage-mid);
  box-shadow: 0 0 12px var(--sage-mid);
  animation: float2 7s ease-in-out infinite;
}
.orbit-dot:nth-child(6) {
  bottom: 14%; left: 18%;
  background: #4a9aaa;
  box-shadow: 0 0 12px #4a9aaa;
  animation: float3 6s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translateY(0);} 50%{transform:translateY(8px);} }
@keyframes float2 { 0%,100%{transform:translateX(0);} 50%{transform:translateX(-8px);} }
@keyframes float3 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(5px,-6px);} }

.globe-tag {
  position: absolute;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(232,242,235,0.9);
  border: 1px solid var(--border-mid);
  padding: 0.25rem 0.65rem;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(26,45,30,0.08);
}
.globe-tag:nth-of-type(1) { top: 4%; left: -8%; }
.globe-tag:nth-of-type(2) { top: 28%; right: -20%; }
.globe-tag:nth-of-type(3) { bottom: 8%; right: 2%; }
.globe-tag:nth-of-type(4) { bottom: 30%; left: -22%; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--ink);
  padding: 0 7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.04); }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}
.stat-desc {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200,222,206,0.6);
  margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════════════════════
   BUYERS / SELLERS / REGISTRY
═══════════════════════════════════════════════════════════ */
.stakeholders {
  padding: 8rem 7rem;
  background: var(--cream);
  border-top: 4px solid var(--forest);
}
.stakeholders-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 5rem;
}
.stakeholders-header .section-label { justify-content: center; }
.stakeholders-header .section-label::after { display: none; }
.stakeholders-header p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-top: 0.8rem;
}

.stakeholder-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 4rem;
}
.tab-btn {
  padding: 1rem 2.5rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.25s, border-color 0.25s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tab-btn.active {
  color: var(--forest);
  border-bottom-color: var(--forest);
}
.tab-btn:hover:not(.active) { color: var(--text-secondary); }
.tab-icon { font-size: 1.1rem; }

.tab-content { display: none; }
.tab-content.active { display: grid; grid-template-columns: 1.1fr 1fr; gap: 7rem; align-items: center; }

.tab-text {}
.tab-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.tab-text h3 em { font-style: italic; color: var(--moss); }
.tab-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}
.tab-features {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.tab-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.tab-feature-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface-tinted);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--forest);
  font-size: 0.65rem;
}
.tab-feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.tab-feature strong { color: var(--ink); font-weight: 600; }

.tab-visual {
  position: relative;
}
.tab-card-stack {
  position: relative;
  height: 320px;
}
.tab-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: 0 4px 24px rgba(26,45,30,0.08);
}
.tab-card:nth-child(1) { top: 0; left: 0; right: 40px; z-index: 3; }
.tab-card:nth-child(2) { top: 20px; left: 15px; right: 25px; z-index: 2; background: var(--foam); }
.tab-card:nth-child(3) { top: 40px; left: 30px; right: 10px; z-index: 1; background: var(--dew); opacity:0.6; }

.tab-card-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 0.8rem;
}
.tab-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.tab-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.tab-card-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}
.tab-card-meta span {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.tab-card-meta strong {
  display: block;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0;
}

/* ═══════════════════════════════════════════════════════════
   MISSION / ABOUT
═══════════════════════════════════════════════════════════ */
.mission {
  padding: 8rem 7rem;
  background: var(--white);
  border-top: 4px solid var(--gold-mid);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8rem;
  align-items: center;
}
.mission-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}
.mission-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--border-light);
}
.mission-card {
  background: var(--white);
  padding: 2rem;
  transition: background 0.3s, transform 0.2s;
}
.mission-card:hover {
  background: var(--foam);
  transform: translateY(-2px);
}
.mission-card-icon { font-size: 1.7rem; margin-bottom: 0.8rem; }
.mission-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.mission-card p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════
   PATHWAYS
═══════════════════════════════════════════════════════════ */
.pathways {
  padding: 8rem 7rem;
  background: var(--foam);
  border-top: 4px solid var(--forest);
}
.pathways-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}
.pathways-intro {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-secondary);
}
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border-light);
}
.pathway-card {
  position: relative;
  background: var(--white);
  padding: 2.5rem 2rem;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s;
  border-bottom: 2px solid transparent;
}
.pathway-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.pathway-card:hover { background: var(--surface-tinted); }
.pathway-card:hover::after { transform: scaleX(1); }
.pathway-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}
.pathway-icon { font-size: 2rem; margin-bottom: 1rem; }
.pathway-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.pathway-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.pathway-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-mid);
  border: 1px solid var(--border-gold);
  padding: 0.2rem 0.6rem;
  background: var(--gold-pale);
}

/* ═══════════════════════════════════════════════════════════
   SCIENTIFIC ADVISORY
═══════════════════════════════════════════════════════════ */
.science-section {
  padding: 8rem 7rem;
  background: linear-gradient(160deg, #1e3024 0%, #1a2d1e 50%, #1e3a32 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.science-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,222,206,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,222,206,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.science-inner {
  position: relative; z-index: 1;
}
.science-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-bottom: 5rem;
}
.science-header .section-label { color: var(--gold-light); }
.science-header .section-label::after { background: var(--gold-light); }
.science-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(200,222,206,0.75);
  margin-top: 2.5rem;
}
.science-cred {
  margin-top: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,222,206,0.15);
  padding: 1.5rem;
  border-left: 3px solid var(--gold-light);
}
.science-cred p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(200,222,206,0.8);
  font-style: italic;
}
.science-cred cite {
  display: block;
  margin-top: 0.7rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: rgba(200,222,206,0.1);
  margin-bottom: 3rem;
}
.expert-card {
  background: rgba(14,28,18,0.8);
  padding: 2rem 1.5rem;
  transition: background 0.3s;
}
.expert-card:hover { background: rgba(31,55,38,0.9); }
.expert-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--moss), var(--ocean));
  border: 2px solid rgba(200,222,206,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(200,222,206,0.9);
  margin-bottom: 1rem;
}
.expert-name {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.expert-role {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}
.expert-affil {
  font-size: 0.78rem;
  color: rgba(154,191,166,0.7);
  line-height: 1.5;
}
.expert-area {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  background: rgba(92,138,106,0.2);
  border: 1px solid rgba(92,138,106,0.3);
  padding: 0.2rem 0.5rem;
}

.science-fields {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(200,222,206,0.1);
}
.field-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200,222,206,0.7);
  border: 1px solid rgba(200,222,206,0.2);
  padding: 0.35rem 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.field-tag:hover {
  background: rgba(200,222,206,0.1);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   CONSORTIUM
═══════════════════════════════════════════════════════════ */
.consortium {
  padding: 6rem 7rem;
  background: var(--white);
  border-top: 4px solid var(--gold-mid);
}
.consortium-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.consortium-header .section-label { justify-content: center; }
.consortium-header .section-label::after { display: none; }
.consortium-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-family: 'Instrument Sans', sans-serif;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.consortium-logo {
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-light);
  opacity: 0.65;
  transition: opacity 0.25s;
  min-width: 140px;
}
.consortium-logo:last-child { border-right: none; }
.consortium-logo:hover { opacity: 1; }

/* Placeholder text logos (until real logos uploaded) */
.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.logo-placeholder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-placeholder-type {
  font-family: 'DM Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* When actual image logo is provided */
.consortium-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.25s;
}
.consortium-logo:hover img { filter: grayscale(0%); }

.consortium-note {
  text-align: center;
  margin-top: 2.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.consortium-note a {
  color: var(--forest);
  border-bottom: 1px solid currentColor;
}
.consortium-note a:hover { color: var(--moss); }

/* ═══════════════════════════════════════════════════════════
   GLOBAL SOUTH
═══════════════════════════════════════════════════════════ */
.global-focus {
  padding: 8rem 7rem;
  background: var(--surface-tinted);
  border-top: 4px solid var(--forest);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 7rem;
  align-items: center;
}
.map-visual {
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(26,45,30,0.07);
  padding: 2.5rem;
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.map-dots {
  display: grid;
  grid-template-columns: repeat(28, 1fr);
  gap: 5px;
  width: 100%;
}
.map-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(92,138,106,0.15);
  transition: background 0.3s;
}
.map-dot.active {
  background: var(--sage-mid);
}
.map-dot.focus {
  background: var(--forest);
  box-shadow: 0 0 8px rgba(45,94,58,0.5);
  animation: pulseMap 2.5s ease-in-out infinite;
}
@keyframes pulseMap { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.map-caption {
  position: absolute;
  bottom: 1.2rem; right: 1.2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.focus-points { display: flex; flex-direction: column; gap: 1.8rem; margin-top: 2.5rem; }
.focus-point { display: flex; gap: 1.2rem; align-items: flex-start; }
.focus-point-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--forest);
  margin-top: 0.35rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(45,94,58,0.4);
}
.focus-point h5 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.focus-point p { font-size: 0.82rem; line-height: 1.65; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.how-it-works {
  padding: 8rem 7rem;
  background: var(--cream);
  border-top: 4px solid var(--gold-mid);
}
.hiw-header { text-align: center; max-width: 600px; margin: 0 auto 5rem; }
.hiw-header .section-label { justify-content: center; }
.hiw-header .section-label::after { display: none; }
.hiw-header p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-top: 0.8rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 2.8rem; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), var(--border-mid), transparent);
}
.step { padding: 0 2rem; text-align: center; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--forest);
  position: relative; z-index: 1;
  transition: background 0.3s, border-color 0.3s;
}
.step:hover .step-num {
  background: var(--foam);
  border-color: var(--forest);
}
.step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.step p { font-size: 0.82rem; line-height: 1.7; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════
   INTEGRITY
═══════════════════════════════════════════════════════════ */
.integrity {
  padding: 8rem 7rem;
  background: var(--white);
  border-top: 4px solid var(--forest);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.integrity-pillars {}
.pillar {
  display: flex;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
  transition: padding-left 0.3s;
}
.pillar:first-of-type { border-top: 1px solid var(--border-light); }
.pillar:hover { padding-left: 0.4rem; }
.pillar-icon { font-size: 1.3rem; flex-shrink: 0; padding-top: 0.1rem; }
.pillar h4 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.pillar p { font-size: 0.82rem; line-height: 1.65; color: var(--text-secondary); }

.integrity-quote {}
.integrity-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.38;
  color: var(--ink);
  padding-left: 2rem;
  border-left: 2px solid var(--gold-mid);
}
.integrity-quote cite {
  display: block;
  margin-top: 1.5rem;
  padding-left: 2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}
.integrity-badges {
  margin-top: 2.5rem;
  padding-left: 2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.badge {
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.9rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-mid);
  background: var(--gold-pale);
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════ */
.cta-section {
  padding: 8rem 7rem;
  background: linear-gradient(135deg, #2d5e3a 0%, #1e3024 55%, #1e3a32 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,222,206,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,222,206,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-content {
  position: relative; z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content .section-label { justify-content: center; color: var(--gold-light); }
.cta-content .section-label::after { display: none; }
.cta-content p {
  font-size: 1.05rem;
  line-height: 1.78;
  color: rgba(200,222,206,0.78);
  margin: 1.5rem 0 3rem;
}
.cta-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
footer {
  background: #111c14;
  border-top: 1px solid rgba(92,138,106,0.12);
  padding: 4.5rem 7rem 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(92,138,106,0.1);
}
.footer-brand p {
  font-size: 0.83rem;
  line-height: 1.75;
  color: rgba(92,138,106,0.65);
  margin-top: 1rem;
  max-width: 280px;
}
.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}
.footer-logo-text span { color: var(--sage-mid); }
.footer-col h5 {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(200,222,206,0.35);
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  font-size: 0.83rem;
  color: rgba(92,138,106,0.65);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(92,138,106,0.35);
}
.footer-bottom a {
  color: rgba(92,138,106,0.5);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--sage-mid); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .hero-left { padding: 5rem 4rem 4rem 5rem; }
  .mission, .global-focus, .integrity { gap: 5rem; padding: 6rem 5rem; }
  .pathways, .how-it-works, .stakeholders, .science-section, .consortium { padding: 6rem 5rem; }
  .cta-section { padding: 6rem 5rem; }
  footer { padding: 4rem 5rem 2rem; }
}

@media (max-width: 1024px) {
  nav { padding: 0 2.5rem; }
  .top-banner { padding: 0.55rem 2.5rem; }  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 6rem 3rem 5rem; }
  .stats-bar { padding: 0 3rem; grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .mission, .global-focus, .integrity { grid-template-columns: 1fr; gap: 3.5rem; padding: 5rem 3rem; }
  .pathway-grid { grid-template-columns: 1fr 1fr; }
  .pathways-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .tab-content.active { grid-template-columns: 1fr; gap: 3rem; }
  .tab-card-stack { height: 240px; }
  .science-header { grid-template-columns: 1fr; gap: 2rem; }
  .expert-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .pathways, .how-it-works, .stakeholders, .science-section, .consortium { padding: 5rem 3rem; }
  .cta-section { padding: 5rem 3rem; }
  footer { padding: 3.5rem 3rem 2rem; }
}

@media (max-width: 700px) {
  nav { padding: 0 1.5rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .pathway-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .logo-row { gap: 0; }
  .consortium-logo { min-width: 120px; padding: 1rem 1.5rem; }
  .top-banner { display: none; }
  .mission-card-grid { grid-template-columns: 1fr; }
  .stakeholder-tabs { overflow-x: auto; }
}
