/* ============================================================
   BAHARI NATURE CAPITAL — Shared Stylesheet
   Blue Carbon Credit Origination Platform
   Flagship project: Kaboni Yetu (Mnazi Bay, Mtwara)
   ============================================================ */

/* === UTILITY CLASSES === */
.section-label-accent { color: var(--accent); }
.detail-value-status { color: var(--accent); font-size: 0.95rem; }
.footer-h5-spaced { margin-top: 1.5rem; }
.flagship-detail-label-accent { color: var(--accent); }
.page-sub-spaced { margin-top: 1.5rem; }
.btn-spaced { margin-top: 1.5rem; }

/* === DESIGN TOKENS === */
:root {
  --mangrove:  #1B3A2D;
  --tide:      #2E6B52;
  --seafoam:   #4E9E7A;
  --sand:      #F5EFE0;
  --estuary:   #A8C5B5;
  --charcoal:  #1A1A1A;
  --mist:      #EEF4F1;
  --accent:    #C8A96E;
  --white:     #FFFFFF;
  --text-mid:  #444444;
  --text-soft: #666666;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--sand);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

/* === SKIP NAVIGATION (accessibility) === */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--mangrove);
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0.75rem; }

/* === GLOBAL FOCUS VISIBILITY (accessibility) === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Gold ring is invisible on the gold bands — switch to mangrove there */
.cta-banner :focus-visible,
.investors :focus-visible { outline-color: var(--mangrove); }

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(27, 58, 45, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.nav-logo {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sand);
  letter-spacing: 0.01em;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--estuary);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.25rem 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--sand); }
.nav-links a.active {
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 0.1rem;
}

/* === NAV DROPDOWN (Projects: Kaboni Yetu / Kunduchi Eco Park / Glossary) === */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  margin-left: 0.4rem;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  opacity: 0.65;
}
.nav-dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.9rem;
  min-width: 200px;
  background: var(--mangrove);
  border: 1px solid rgba(168, 197, 181, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  color: rgba(168, 197, 181, 0.82);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--sand);
  background: rgba(255, 255, 255, 0.05);
}
.nav-dropdown-menu a.active { border-bottom: none; }

/* === HAMBURGER TOGGLE === */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--estuary);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--sand);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--sand);
}

/* Nav overlay (mobile) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
}
.nav-overlay.open { display: block; }

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  background: var(--mangrove);
  color: var(--sand);
  border: 1px solid rgba(168, 197, 181, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s, background 0.2s;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
.scroll-top:hover {
  background: var(--tide);
  transform: translateY(-2px);
}

/* === COOKIE NOTICE === */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #111;
  color: #aaa;
  padding: 1rem 4rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.8rem;
  line-height: 1.5;
  border-top: 1px solid #333;
}
.cookie-notice.visible { display: flex; }
.cookie-notice a { color: var(--estuary); }
.cookie-btn {
  background: var(--accent);
  color: var(--mangrove);
  border: none;
  padding: 0.5rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.cookie-btn:hover { background: #d9bc85; }

/* === PROJECT STATUS BADGE === */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 169, 110, 0.12);
  border: 1px solid rgba(200, 169, 110, 0.45);
  padding: 0.35rem 1rem 0.35rem 0.7rem;
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* === COMMON SECTION COMPONENTS === */
section { padding: 5rem 4rem; }
.section-label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tide);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--mangrove);
}
.section-title.light { color: var(--sand); }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: var(--mangrove);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: #d9bc85; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--estuary);
  color: var(--estuary);
  margin-left: 1rem;
}
.btn-outline:hover { border-color: var(--sand); color: var(--sand); background: transparent; transform: translateY(-1px); }
.btn-dark {
  background: var(--mangrove);
  color: var(--sand);
  white-space: nowrap;
}
.btn-dark:hover { background: var(--tide); }

/* === INNER PAGE HERO === */
.page-hero {
  background: var(--mangrove);
  background-size: cover;
  background-position: center;
  padding: 9rem 4rem 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* eased from 0.97/0.92/0.84 once real photography replaced the stock
     placeholders: the old overlay was tuned to hide the image entirely.
     Still dense top-left where the heading sits. */
  background: linear-gradient(
    160deg,
    rgba(16, 38, 28, 0.93) 0%,
    rgba(22, 48, 37, 0.80) 45%,
    rgba(27, 58, 45, 0.58) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
.page-eyebrow {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.page-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--sand);
  line-height: 1.1;
  max-width: 700px;
}
.page-title em { color: var(--seafoam); font-style: normal; }
.page-sub {
  color: var(--estuary);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 580px;
}

/* === FOOTER === */
footer {
  background: var(--charcoal);
  color: var(--estuary);
  padding: 3.5rem 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.2rem;
  color: var(--sand);
  margin-bottom: 0.75rem;
  text-decoration: none;
  display: block;
}
.footer-brand span { color: var(--accent); }
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 290px;
  color: #9a9a9a;
}
.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
  font-weight: 600;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.15rem; }
footer ul a {
  color: #9a9a9a;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
  display: inline-block;
  padding: 0.35rem 0;
}
footer ul a:hover { color: var(--estuary); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.2rem; }
.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a9a9a;
  text-decoration: none;
  font-size: 0.78rem;
  font-family: var(--font-label);
  letter-spacing: 0;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--estuary); color: var(--estuary); }
.footer-legal {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid #333;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: #9a9a9a; }
.footer-disclaimer {
  font-size: 0.8rem;
  color: #9a9a9a;
  line-height: 1.6;
  border-left: 2px solid #3a3a3a;
  padding-left: 1rem;
  max-width: 78ch;
}
.footer-disclaimer strong { color: var(--estuary); }


/* ============================================================
   PAGE: HOME (index.html)
   ============================================================ */

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--mangrove);
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 4rem 4rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(27, 58, 45, 0.97) 0%,
    rgba(27, 58, 45, 0.9) 42%,
    rgba(27, 58, 45, 0.78) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.hero-text { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--sand);
  margin-bottom: 1.4rem;
}
.hero-title em { color: var(--seafoam); font-style: normal; }
.hero-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--estuary);
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 197, 181, 0.2);
  padding: 1.8rem 2rem;
  position: relative;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 11px; height: 11px;
  border-top: 1.5px solid rgba(200, 169, 110, 0.42);
  border-left: 1.5px solid rgba(200, 169, 110, 0.42);
  pointer-events: none;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 8px; right: 8px;
  width: 11px; height: 11px;
  border-bottom: 1.5px solid rgba(200, 169, 110, 0.42);
  border-right: 1.5px solid rgba(200, 169, 110, 0.42);
  pointer-events: none;
}
.stat-num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--seafoam);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--estuary);
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
}
.stat-qualifier {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-top: 0.3rem;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* What We Do */
.what { background: var(--mist); }
.what-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.what-card {
  background: var(--white);
  padding: 2.5rem;
  border-top: 3px solid var(--seafoam);
}
.what-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--seafoam);
}
.what-icon svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.what-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mangrove);
  margin-bottom: 1rem;
}
.what-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-mid); }

/* Flagship Block (Home) */
.flagship-block {
  background: var(--mangrove);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 6rem 4rem;
}
.flagship-body {
  color: var(--estuary);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 2rem;
}
.flagship-body p { margin-bottom: 1rem; }
.flagship-detail {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 197, 181, 0.2);
  padding: 2rem;
  position: relative;
}
.flagship-detail::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 11px; height: 11px;
  border-top: 1.5px solid rgba(200, 169, 110, 0.42);
  border-left: 1.5px solid rgba(200, 169, 110, 0.42);
  pointer-events: none;
}
.flagship-detail::after {
  content: '';
  position: absolute;
  bottom: 8px; right: 8px;
  width: 11px; height: 11px;
  border-bottom: 1.5px solid rgba(200, 169, 110, 0.42);
  border-right: 1.5px solid rgba(200, 169, 110, 0.42);
  pointer-events: none;
}
.flagship-detail h3 {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(168, 197, 181, 0.12);
  gap: 1rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { font-size: 0.82rem; color: var(--estuary); flex-shrink: 0; }
.detail-value {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.2rem;
  color: var(--sand);
  text-align: right;
}

/* Impact Strip */
.impact-strip {
  background: var(--tide);
  padding: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.impact-num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
}
.impact-desc {
  font-size: 0.83rem;
  color: var(--estuary);
  margin-top: 0.5rem;
  line-height: 1.45;
}

/* Certification */
.cert { background: var(--sand); }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.cert-card {
  border: 1px solid var(--estuary);
  padding: 2rem;
  background: var(--white);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.cert-badge {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--mangrove);
  color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.3;
}
.cert-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mangrove);
  margin-bottom: 0.5rem;
}
.cert-card p { font-size: 0.88rem; color: #555; line-height: 1.6; }

/* CTA Banner */
.cta-banner {
  background: var(--accent);
  padding: 5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-banner h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--mangrove);
  max-width: 600px;
  line-height: 1.25;
}
.cta-banner-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 4rem;
  gap: 0;
}
.cta-eyebrow {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mangrove);
  margin-bottom: 1rem;
}
.cta-banner-centered h2 {
  max-width: 540px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 auto;
}
.cta-sub {
  font-size: 0.95rem;
  color: var(--mangrove);
  max-width: 460px;
  margin: 1.25rem auto 0;
  line-height: 1.72;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-outline-light {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid var(--mangrove);
  color: var(--mangrove);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-light:hover {
  border-color: var(--mangrove);
  background: rgba(27, 58, 45, 0.08);
}


/* ============================================================
   PAGE: ABOUT
   ============================================================ */

/* Origin */
.origin { background: var(--mist); }
.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}
.origin-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}
.origin-pull {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--mangrove);
  font-style: italic;
}

/* Model */
.model { background: var(--sand); }
.model-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.model-card {
  background: var(--white);
  border-top: 3px solid var(--mangrove);
  padding: 2.5rem;
}
.model-card.accent-card { border-top-color: var(--accent); }
.model-tag {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 0.75rem;
}
.model-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.35rem;
  color: var(--mangrove);
  margin-bottom: 1rem;
}
.model-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-mid); }
.model-note { font-size: 0.88rem; color: var(--text-soft); margin-top: 2rem; line-height: 1.7; }

/* Team */
.team { background: var(--mangrove); }
.team .section-title { color: var(--sand); }
.team .section-label { color: var(--accent); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  border: 1px solid rgba(168, 197, 181, 0.2);
  padding: 2rem;
}
.team-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  color: var(--sand);
  margin-bottom: 0.3rem;
}
.team-role {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.team-bio { font-size: 0.87rem; color: var(--estuary); line-height: 1.65; }

/* Partners */
.partners { background: var(--mist); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.partner-card {
  background: var(--white);
  padding: 1.8rem 2rem;
  border-top: 1px solid var(--estuary);
}
.partner-card h3 { font-size: 1rem; font-weight: 700; color: var(--mangrove); margin-bottom: 0.4rem; }
.partner-card p { font-size: 0.85rem; color: #666; line-height: 1.5; }
.partner-region {
  font-family: var(--font-label);
  font-size: 0.68rem;
  color: var(--seafoam);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}


/* ============================================================
   PAGE: OUR WORK
   ============================================================ */

/* Workstreams */
.workstreams { background: var(--mist); }
.ws-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.ws-card {
  background: var(--white);
  padding: 2.5rem;
  border-top: 4px solid var(--seafoam);
}
.ws-num {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.ws-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.35rem;
  color: var(--mangrove);
  margin-bottom: 1rem;
}
.ws-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-mid); margin-bottom: 1.2rem; }
.ws-deliverable {
  font-size: 0.8rem;
  font-family: var(--font-label);
  color: var(--tide);
  border-left: 2px solid var(--estuary);
  padding-left: 0.75rem;
  line-height: 1.65;
}

/* Flagship Detail (Our Work page) */
.flagship-section { background: var(--sand); }
.flagship-lead {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}
.flagship-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}
.data-block {
  background: var(--mangrove);
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.data-block::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 11px; height: 11px;
  border-top: 1.5px solid rgba(200, 169, 110, 0.42);
  border-left: 1.5px solid rgba(200, 169, 110, 0.42);
  pointer-events: none;
}
.data-block::after {
  content: '';
  position: absolute;
  bottom: 8px; right: 8px;
  width: 11px; height: 11px;
  border-bottom: 1.5px solid rgba(200, 169, 110, 0.42);
  border-right: 1.5px solid rgba(200, 169, 110, 0.42);
  pointer-events: none;
}
.data-block h3 {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(168, 197, 181, 0.15);
  gap: 1rem;
}
.data-row:last-child { border-bottom: none; }
.data-label { font-size: 0.8rem; color: var(--estuary); flex-shrink: 0; }
.data-val {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem;
  color: var(--sand);
  text-align: right;
}

/* Timeline */
.timeline { background: var(--mangrove); }
.timeline .section-title { color: var(--sand); }
.timeline .section-label { color: var(--accent); }
.tl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.tl-grid::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: rgba(168, 197, 181, 0.2);
}
.tl-item { padding: 1.5rem 1rem; }
.tl-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.tl-period {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.tl-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 0.4rem;
}
.tl-body { font-size: 0.82rem; color: var(--estuary); line-height: 1.55; }

/* Kunduchi */
.kunduchi { background: var(--mist); }
.kunduchi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: center;
}
.kunduchi-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.badge-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.badge {
  background: var(--mangrove);
  color: var(--sand);
  font-size: 0.72rem;
  font-family: var(--font-label);
  padding: 0.35rem 0.85rem;
  letter-spacing: 0.06em;
}
.kunduchi-card {
  background: var(--white);
  border: 1px solid var(--estuary);
  padding: 2rem;
}
.kunduchi-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.2rem;
  color: var(--mangrove);
  margin-bottom: 1rem;
}
.kunduchi-card p { font-size: 0.88rem; color: #555; line-height: 1.65; }
.btn-card-mt { display: inline-block; margin-top: 1.25rem; }

/* Regulatory */
.regulation { background: var(--sand); }
.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.reg-card {
  border: 1px solid var(--estuary);
  padding: 2rem;
  background: var(--white);
}
.reg-card h3 {
  font-weight: 700;
  color: var(--mangrove);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.reg-card p { font-size: 0.85rem; color: #555; line-height: 1.6; }
.reg-ref {
  font-family: var(--font-label);
  font-size: 0.7rem;
  color: var(--seafoam);
  margin-top: 0.75rem;
}


/* ============================================================
   PAGE: IMPACT
   ============================================================ */

/* Impact hero — teal variant */
.page-hero-teal { background-color: var(--tide); }
.page-hero-teal::before {
  background: linear-gradient(
    160deg,
    rgba(19, 58, 42, 0.97) 0%,
    rgba(19, 58, 42, 0.92) 50%,
    rgba(19, 58, 42, 0.85) 100%
  );
}

/* Headline numbers */
.numbers {
  background: var(--mangrove);
  padding: 4rem;
}
.num-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.num-cell {
  background: rgba(255, 255, 255, 0.04);
  padding: 3rem 2.5rem;
  text-align: center;
}
.num-big {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
}
.num-unit {
  font-family: var(--font-label);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}
.num-desc { font-size: 0.83rem; color: var(--estuary); margin-top: 0.4rem; line-height: 1.5; }
.num-qualifier {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.4rem;
}

/* Bento num-grid — featured first stat */
.num-cell:nth-child(1) {
  grid-column: span 3;
  grid-row: span 2;
  text-align: left;
  padding: 3.5rem 3rem;
  border-right: 1px solid rgba(200, 169, 110, 0.14);
}
.num-cell:nth-child(1) .num-big {
  font-size: 6rem;
  color: var(--sand);
}
.num-cell:nth-child(1) .num-unit { color: var(--accent); font-size: 0.78rem; }
.num-cell:nth-child(2),
.num-cell:nth-child(3) { grid-column: span 3; }
.num-cell:nth-child(4),
.num-cell:nth-child(5),
.num-cell:nth-child(6) { grid-column: span 2; }

/* Indicators Table */
.indicators { background: var(--sand); }
.ind-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
  font-size: 0.88rem;
}
.ind-table th {
  background: var(--mangrove);
  color: var(--sand);
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}
.ind-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #E0D9CA;
  vertical-align: top;
  line-height: 1.5;
}
.ind-table tr:nth-child(even) td { background: var(--mist); }
.ind-code {
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--seafoam);
}
.ind-target { font-weight: 600; color: var(--mangrove); }

/* Ecosystem */
.ecosystem { background: var(--tide); }
.ecosystem .section-title { color: var(--sand); }
.ecosystem .section-label { color: var(--accent); }
/* Horizontal eco cards with shadow */
.eco-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 3rem;
}
.eco-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(245, 239, 224, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.16);
  position: relative;
}
.eco-row::before {
  content: '';
  position: absolute;
  top: 7px; left: 7px;
  width: 11px; height: 11px;
  border-top: 1.5px solid rgba(200, 169, 110, 0.45);
  border-left: 1.5px solid rgba(200, 169, 110, 0.45);
  pointer-events: none;
}
.eco-row::after {
  content: '';
  position: absolute;
  bottom: 7px; right: 7px;
  width: 11px; height: 11px;
  border-bottom: 1.5px solid rgba(200, 169, 110, 0.45);
  border-right: 1.5px solid rgba(200, 169, 110, 0.45);
  pointer-events: none;
}
.eco-row-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 5px;
  background: rgba(245, 239, 224, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.eco-row-icon svg {
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eco-row h3 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sand);
  margin: 0 0 0.4rem;
  letter-spacing: 0.01em;
}
.eco-row p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(245, 239, 224, 0.82);
  margin: 0;
}

/* SDG */
.sdg { background: var(--sand); }
.sdg-note {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
  margin-top: 2rem;
  max-width: 800px;
}


/* ============================================================
   PAGE: CONTACT
   ============================================================ */

.contact-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  padding: 5rem 4rem;
  align-items: start;
}
.audience-label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 1.5rem;
}
.audience-cards { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.aud-card {
  background: var(--white);
  border-top: 1px solid var(--mangrove);
  padding: 2rem;
}
.aud-card.inv  { border-top-color: var(--accent); }
.aud-card.buyer { border-top-color: var(--seafoam); }
.aud-card.partner { border-top-color: var(--tide); }
.aud-card h3 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--mangrove);
  margin-bottom: 0.5rem;
}
.aud-card p { font-size: 0.88rem; color: #555; line-height: 1.65; }

.contact-card {
  background: var(--mangrove);
  padding: 2.5rem;
  position: sticky;
  top: 100px;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 11px; height: 11px;
  border-top: 1.5px solid rgba(200, 169, 110, 0.42);
  border-left: 1.5px solid rgba(200, 169, 110, 0.42);
  pointer-events: none;
}
.contact-card::after {
  content: '';
  position: absolute;
  bottom: 8px; right: 8px;
  width: 11px; height: 11px;
  border-bottom: 1.5px solid rgba(200, 169, 110, 0.42);
  border-right: 1.5px solid rgba(200, 169, 110, 0.42);
  pointer-events: none;
}
.contact-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.3rem;
  color: var(--sand);
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(168, 197, 181, 0.15);
}
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-icon {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  display: flex;
  align-items: flex-start;
  color: var(--estuary);
}
.contact-icon svg { display: block; stroke: currentColor; }
.contact-label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.contact-val { font-size: 0.93rem; color: var(--sand); line-height: 1.5; }
.contact-val a { color: var(--estuary); text-decoration: none; }
.contact-val a:hover { color: var(--sand); }

.investors {
  background: var(--accent);
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}
.investors h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--mangrove);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.investors p { font-size: 0.95rem; color: #3a2a12; line-height: 1.75; }
.inv-facts { display: flex; flex-direction: column; gap: 1rem; }
.inv-fact {
  background: rgba(27, 58, 45, 0.12);
  padding: 1.2rem 1.5rem;
}
.inv-fact-label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mangrove);
  opacity: 0.7;
  margin-bottom: 0.3rem;
}
.inv-fact-val { font-size: 0.93rem; font-weight: 600; color: var(--mangrove); }
.fls-disclaimer {
  font-size: 0.78rem;
  color: rgba(58, 42, 18, 0.65);
  margin-top: 1.5rem;
  line-height: 1.55;
  font-style: italic;
}

.knowledge { background: var(--mist); padding: 5rem 4rem; }
.know-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.know-card {
  background: var(--white);
  padding: 2rem;
  border-top: 3px solid var(--estuary);
}
.know-tag {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 0.75rem;
}
.know-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem;
  color: var(--mangrove);
  margin-bottom: 0.75rem;
}
.know-card p { font-size: 0.85rem; color: #555; line-height: 1.6; }
.know-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tide);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.know-link:hover { color: var(--mangrove); }


/* ============================================================
   PAGE: GLOSSARY
   ============================================================ */

.glossary-intro {
  background: var(--mist);
  padding: 5rem 4rem;
}
.glossary-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 700px;
  margin-top: 1.5rem;
}
.glossary-main { background: var(--sand); padding: 4rem; }
.glossary-list { max-width: 860px; }
.glossary-item {
  border-bottom: 1px solid #D8D0C0;
  padding: 2.5rem 0;
}
.glossary-item:first-child { padding-top: 0; }
.glossary-item:last-child { border-bottom: none; }
.glossary-term {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.3rem;
  color: var(--mangrove);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.glossary-abbr {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--seafoam);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.glossary-def {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-mid);
}
.glossary-def-list {
  margin-top: 0.75rem;
  padding-left: 1.5rem;
  line-height: 2;
  font-size: 0.95rem;
  color: #444;
}
.glossary-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-style: italic;
  margin-top: 0.5rem;
  line-height: 1.6;
}
.glossary-cta {
  background: var(--mangrove);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.glossary-cta h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.6rem;
  color: var(--sand);
  max-width: 480px;
  line-height: 1.3;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  /* Nav */
  nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    flex-direction: column;
    background: var(--mangrove);
    width: 280px;
    padding: 5rem 2rem 2rem;
    gap: 0;
    list-style: none;
    visibility: hidden;
    transition: right 0.3s ease, visibility 0s linear 0.3s;
    z-index: 99;
    border-left: 1px solid rgba(168, 197, 181, 0.15);
  }
  .nav-links.open { right: 0; visibility: visible; transition: right 0.3s ease; }
  .nav-links li { border-bottom: 1px solid rgba(168, 197, 181, 0.12); }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
  }
  .nav-links a.active { border-bottom: none; padding-bottom: 1rem; }

  /* Nav dropdown — static indented sub-list, always visible, no hover */
  .nav-dropdown > a::after { display: none; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0.25rem 1.25rem;
    margin-top: 0;
  }
  .nav-dropdown-menu a { padding: 0.7rem 0; font-size: 0.82rem; }

  /* Hero */
  .hero { grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; min-height: 0; }
  .hero-title { font-size: clamp(1.7rem, 6.4vw, 2.3rem); margin-bottom: 1.1rem; }
  .hero-body { font-size: 0.98rem; line-height: 1.65; margin-bottom: 1.75rem; }
  .status-badge { margin-bottom: 1.1rem; }
  .hero-eyebrow { margin-bottom: 1.1rem; }
  /* Condensed hero stat strip (replaces the hidden desktop visual) */
  .hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 2.25rem;
  }
  .hero-visual .stat-row { display: contents; }
  .hero-visual .stat-card { padding: 1rem 1.1rem; }
  .hero-visual > .stat-card:first-child,
  .hero-visual > .stat-card:last-child { grid-column: 1 / -1; }
  .hero-visual .stat-card::before,
  .hero-visual .stat-card::after { display: none; }
  .hero-visual .stat-num { font-size: 1.85rem; }
  .hero-visual .stat-label { font-size: 0.75rem; margin-top: 0.2rem; line-height: 1.35; }
  .hero-visual .stat-qualifier { font-size: 0.58rem; }

  /* Flagship block */
  .flagship-block { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 2.5rem; }

  /* Impact strip */
  .impact-strip { grid-template-columns: 1fr 1fr; padding: 3rem 1.5rem; }

  /* Cert */
  .cert-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-banner { flex-direction: column; padding: 3rem 1.5rem; }

  /* Sections */
  section { padding: 3.5rem 1.5rem; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .page-hero-2col { grid-template-columns: 1fr; }

  /* What */
  .what-grid { grid-template-columns: 1fr; }

  /* About */
  .origin-grid, .model-cards, .team-grid, .partners-grid, .gov-grid { grid-template-columns: 1fr; }

  /* Our Work */
  .ws-grid, .flagship-lead, .kunduchi-inner, .reg-grid { grid-template-columns: 1fr; }
  .tl-grid { grid-template-columns: 1fr 1fr; }
  .tl-grid::before { display: none; }

  /* Impact */
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num-cell:nth-child(1) { grid-column: span 2; grid-row: span 1; text-align: center; padding: 2.5rem 1.5rem; border-right: none; }
  .num-cell:nth-child(1) .num-big { font-size: 4rem; }
  .num-cell:nth-child(2), .num-cell:nth-child(3) { grid-column: span 1; }
  .num-cell:nth-child(4), .num-cell:nth-child(5), .num-cell:nth-child(6) { grid-column: span 1; }
  .numbers { padding: 2.5rem 1.5rem; }
  .community-grid, .eco-rows { grid-template-columns: 1fr; }
  .ind-table th, .ind-table td { padding: 0.75rem 1rem; }

  /* Contact */
  .contact-main { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .contact-card { position: static; }
  .investors { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .knowledge { padding: 3.5rem 1.5rem; }
  .know-grid { grid-template-columns: 1fr; }

  /* Footer */
  footer { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
  .footer-legal { margin-top: 0; padding-top: 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; align-items: flex-start; }

  /* Cookie */
  .cookie-notice { flex-direction: column; padding: 1rem 1.5rem; align-items: flex-start; }

  /* Scroll top */
  .scroll-top { bottom: 1rem; right: 1rem; }

  /* Glossary */
  .glossary-intro, .glossary-main { padding: 3rem 1.5rem; }
  .glossary-cta { flex-direction: column; padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
  .impact-strip { grid-template-columns: 1fr; }
  .num-grid { grid-template-columns: 1fr; }
  .num-cell:nth-child(1) { grid-column: span 1; }
  .stat-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .tl-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   HERO BACKGROUND IMAGES
   Real AFO field photography (assets/photos/), two frames watermarked
   (c) Javis Bashabula for AFO. Mangrove and restoration frames are from
   the Mnazi Bay landscape; fishing-mangroves and dhow-coast are from AFO's
   Tanga seascape. Frames showing identifiable faces are deliberately not
   used here — no consent is on file for this site.
   WebP with a JPEG fallback via image-set. The duotone treatment
   (grayscale + multiply mangrove gradient + darkening overlay) is
   unchanged; only the sources moved off stock.
   ============================================================ */
.hero-bg-home {
  background-image: image-set(url('assets/photos/mangrove-channel.webp') type('image/webp'), url('assets/photos/mangrove-channel.jpg') type('image/jpeg'));
}
.hero-bg-about {
  background-image: image-set(url('assets/photos/mangrove-forest.webp') type('image/webp'), url('assets/photos/mangrove-forest.jpg') type('image/jpeg'));
}
.hero-bg-work {
  background-image: image-set(url('assets/photos/restoration-site.webp') type('image/webp'), url('assets/photos/restoration-site.jpg') type('image/jpeg'));
}
.hero-bg-impact {
  background-image: image-set(url('assets/photos/mangrove-channel.webp') type('image/webp'), url('assets/photos/mangrove-channel.jpg') type('image/jpeg'));
}


/* ============================================================
   21st.dev — MODERN DESIGN ENHANCEMENTS
   ============================================================ */

/* --- Nav scroll state --- */
nav { transition: background 0.35s ease, box-shadow 0.35s ease; }
nav.scrolled {
  background: rgba(10, 24, 17, 0.99);
  box-shadow: 0 1px 0 rgba(168, 197, 181, 0.08), 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* --- Hero animated background orbs --- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero-orb-1 {
  width: 620px;
  height: 620px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(78, 158, 122, 0.15) 0%, transparent 65%);
  filter: blur(64px);
  animation: orb-drift 22s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -40px;
  left: 4%;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.11) 0%, transparent 70%);
  filter: blur(72px);
  animation: orb-drift 30s ease-in-out infinite reverse;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(28px, -20px) scale(1.04); }
  66%       { transform: translate(-18px, 14px) scale(0.97); }
}

/* --- Hero entry animations --- */
.hero-animate {
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
  animation: hero-fade-up 0.75s cubic-bezier(0.25, 0.4, 0.25, 1) forwards;
}
.hero-animate-1 { animation-delay: 0.08s; }
.hero-animate-2 { animation-delay: 0.22s; }
.hero-animate-3 { animation-delay: 0.38s; }
.hero-animate-4 { animation-delay: 0.54s; }
.hero-animate-5 { animation-delay: 0.68s; }
@keyframes hero-fade-up {
  to { opacity: 1; transform: none; }
}

/* --- Inner page hero entrance --- */
.page-eyebrow {
  animation: hero-fade-up 0.65s cubic-bezier(0.25, 0.4, 0.25, 1) 0.05s both;
}
.page-title {
  animation: hero-fade-up 0.75s cubic-bezier(0.25, 0.4, 0.25, 1) 0.18s both;
}
.page-sub {
  animation: hero-fade-up 0.75s cubic-bezier(0.25, 0.4, 0.25, 1) 0.32s both;
}

/* --- Status dot live pulse --- */
.status-dot { position: relative; }
.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  will-change: transform, opacity;
  animation: dot-pulse 2.8s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%   { transform: scale(0.8); opacity: 0.5; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* --- Section label accent rule --- */
.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0.55rem;
  margin-bottom: 1px;
  opacity: 0.55;
}

/* --- Card hover lifts (light bg cards) --- */
.what-card,
.cert-card,
.model-card,
.partner-card,
.know-card,
.reg-card,
.kunduchi-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.what-card:hover,
.cert-card:hover,
.model-card:hover,
.partner-card:hover,
.know-card:hover,
.reg-card:hover,
.kunduchi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(27, 58, 45, 0.13);
}

/* Workstream cards — also shift border accent on hover */
.ws-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-top-color 0.28s ease;
}
.ws-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(27, 58, 45, 0.12);
  border-top-color: var(--tide);
}

/* Stat cards (hero) */
.stat-card {
  transition: background 0.28s ease, border-color 0.28s ease;
}
.stat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(168, 197, 181, 0.38);
}

/* Team cards */
.team-card {
  transition: border-color 0.28s ease, background 0.28s ease, transform 0.28s ease;
}
.team-card:hover {
  border-color: rgba(168, 197, 181, 0.45);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

/* Audience cards (contact page) — slide right */
.aud-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.aud-card:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 22px rgba(27, 58, 45, 0.08);
}

/* Impact strip items */
.impact-item { transition: transform 0.25s ease; }
.impact-item:hover { transform: translateY(-3px); }

/* --- Button shimmer sweep --- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn:hover::after { transform: translateX(120%); }

/* --- Timeline dot glow --- */
.tl-dot {
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.18);
  transition: box-shadow 0.3s ease;
}
.tl-item:hover .tl-dot {
  box-shadow: 0 0 0 5px rgba(200, 169, 110, 0.22), 0 0 18px rgba(200, 169, 110, 0.28);
}

/* --- Glossary item hover: left inset bar --- */
.glossary-item { transition: box-shadow 0.2s ease; }
.glossary-item:hover { box-shadow: -3px 0 0 var(--accent); }

/* --- Indicators table row hover --- */
.ind-table tbody tr { transition: background 0.15s; }
.ind-table tbody tr:hover td { background: rgba(78, 158, 122, 0.06) !important; }

/* --- Tabular numerics for stable count-up width --- */
.num-big, .impact-num, .stat-num { font-variant-numeric: tabular-nums; }

/* --- Reduced motion: disable all decorative motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero-orb-1, .hero-orb-2 { animation: none; }
  .hero-animate { animation: none; opacity: 1; transform: none; }
  .page-eyebrow, .page-title, .page-sub { animation: none; }
  .status-dot::after { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   2026-08 REPOSITIONING — added for the standalone-company rebuild
   ============================================================ */

/* --- Mid-width nav: 8 items don't fit the 2.5rem desktop gap
       between the 900px hamburger breakpoint and full desktop --- */
@media (min-width: 901px) and (max-width: 1180px) {
  nav { padding: 1.1rem 2rem; }
  .nav-links { gap: 1.4rem; }
  .nav-links a { font-size: 0.76rem; letter-spacing: 0.04em; }
}

/* --- Extra per-page hero backgrounds --- reuse the four proven image URLs
       from the original build (the ~90% mangrove overlay makes the specific
       photo near-invisible anyway; real AFO photography to replace all of these
       before public launch). --- */
.hero-bg-projects {
  background-image: image-set(url('assets/photos/mangrove-forest.webp') type('image/webp'), url('assets/photos/mangrove-forest.jpg') type('image/jpeg'));
}
.hero-bg-communities {
  background-image: image-set(url('assets/photos/fishing-mangroves.webp') type('image/webp'), url('assets/photos/fishing-mangroves.jpg') type('image/jpeg'));
}
.hero-bg-careers {
  background-image: image-set(url('assets/photos/planting-propagule.webp') type('image/webp'), url('assets/photos/planting-propagule.jpg') type('image/jpeg'));
}
.hero-bg-resources {
  background-image: image-set(url('assets/photos/mangrove-crab.webp') type('image/webp'), url('assets/photos/mangrove-crab.jpg') type('image/jpeg'));
}
.hero-bg-news {
  background-image: image-set(url('assets/photos/restoration-seedlings.webp') type('image/webp'), url('assets/photos/restoration-seedlings.jpg') type('image/jpeg'));
}
.hero-bg-standards {
  background-image: image-set(url('assets/photos/mangrove-channel.webp') type('image/webp'), url('assets/photos/mangrove-channel.jpg') type('image/jpeg'));
}

/* --- "For Communities" plain-language lead line under each commitment --- */
.commitment-lead {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mangrove);
  margin-bottom: 0.5rem;
}

/* --- Horizontal scroll wrapper for wide tables on small screens --- */
.table-scroll { overflow-x: auto; }

/* --- Small qualifier line under a contact value --- */
.contact-val-note { font-size: 0.78rem; opacity: 0.68; margin-top: 0.3rem; }

/* --- Simple full-width callout used on Communities + Standards --- */
.callout {
  background: var(--mangrove);
  color: var(--sand);
  padding: 2.5rem clamp(1.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--accent);
  max-width: 820px;
  margin: 3rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
}
.callout strong { color: var(--white); }


/* ============================================================
   2026-09 LAUNCH-SAFETY — contrast, focus, a11y floor
   ============================================================ */

/* Mono eyebrow / label text on light backgrounds: --seafoam fails AA
   (~2.8:1 on sand/mist). Move these to --tide (~5.5:1). */
.model-tag,
.know-tag,
.partner-region,
.reg-ref,
.glossary-abbr,
.audience-label,
.ind-code { color: var(--tide); }

/* Section label on dark surfaces keeps the gold treatment */
.flagship-block .section-label { color: var(--accent); }

/* .glossary-intro p wins the cascade over .section-label — restore the label green */
.glossary-intro .section-label { color: var(--tide); margin-top: 0; }

/* Co-benefit row body sat a touch low on the teal band */
.ecosystem .eco-row p { color: rgba(245, 239, 224, 0.92); }

/* Forward-looking disclaimer + fact labels on the gold investor band:
   solid ink, no alpha (alpha dropped these under 3:1). */
.fls-disclaimer { color: #3a2a12; }
.inv-fact-label { opacity: 1; }

/* Footer legal block now lives inside <footer>; keep it full-width and
   readable against the charcoal ground. */
.footer-legal :where(p, .footer-disclaimer) { color: #9a9a9a; }

/* Privacy note (about.html) — was a hidden empty anchor, now real content */
.privacy-note { background: var(--mist); }
.privacy-body { max-width: 680px; margin-top: 1.5rem; }
.privacy-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.privacy-body p:last-child { margin-bottom: 0; }
.privacy-body a { color: var(--tide); }

/* Reduced motion: neutralise the JS scroll-reveal so no content is ever
   left invisible for these users */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ============================================================
   2026-09 BATCH 2 + 3 — contact form, IA, layout differentiation
   ============================================================ */

/* --- CONTACT FORM (contact.html) --- */
.contact-form-col { max-width: 34rem; }
.form-intro {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 1rem 0 2rem;
  max-width: 46ch;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tide);
}
.form-row label span { color: var(--accent); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--estuary);
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s ease;
}
.contact-form textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover { border-color: var(--seafoam); }
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  border-color: var(--tide);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.contact-form [aria-invalid="true"] { border-color: #8a3327; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { align-self: flex-start; margin-top: 0.25rem; border: none; cursor: pointer; }
.form-submit[disabled] { opacity: 0.6; cursor: progress; }
.form-status {
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--tide);
  background: var(--mist);
  color: var(--text-mid);
}
.form-status.is-error { border-left-color: #8a3327; background: #f7e9e6; color: #7a2620; }
.form-status.is-success { border-left-color: var(--seafoam); background: rgba(78, 158, 122, 0.1); color: #1f5a3f; }
.form-field-error { font-size: 0.78rem; color: #8a3327; }

/* Audience cards move below the form into their own band */
.audiences { background: var(--mist); }

@media (max-width: 900px) {
  .contact-form-col { max-width: none; }
}

/* --- IN-PAGE SUB-NAV (investors.html) --- */
.subnav {
  position: sticky;
  top: 65px;
  z-index: 50;
  background: rgba(238, 244, 241, 0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--estuary);
  display: flex;
  gap: 0.6rem 1.75rem;
  padding: 0.85rem clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.subnav a { color: var(--tide); text-decoration: none; white-space: nowrap; padding: 0.15rem 0; }
.subnav a:hover { color: var(--mangrove); }
@media (max-width: 900px) {
  .subnav { top: 76px; flex-wrap: nowrap; overflow-x: auto; }
}

/* --- COMPACT PHASE BAR (investors.html roadmap — dedupes the projects timeline) --- */
.roadmap-strip { background: var(--mangrove); }
.roadmap-strip .section-title { color: var(--sand); }
.roadmap-strip .section-label { color: var(--accent); }
.roadmap-strip .model-note { color: var(--estuary); }
.roadmap-strip .model-note a { color: var(--sand); }
.phase-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 3rem;
  list-style: none;
  background: rgba(168, 197, 181, 0.18);
  border: 1px solid rgba(168, 197, 181, 0.18);
}
.phase {
  background: var(--mangrove);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 2px solid rgba(200, 169, 110, 0.3);
}
.phase.is-active { border-top-color: var(--accent); background: rgba(200, 169, 110, 0.08); }
.phase-when {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.phase-what { font-size: 0.95rem; color: var(--sand); font-weight: 500; line-height: 1.35; }
@media (max-width: 700px) { .phase-bar { grid-template-columns: 1fr 1fr; } }

/* --- SDG: typographic list replaces the eight external icon images --- */
.sdg-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2.5rem;
  margin-top: 2rem;
  max-width: 660px;
  list-style: none;
}
.sdg-list li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #E0D9CA;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.4;
}
.sdg-no {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--tide);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
@media (max-width: 640px) { .sdg-list { grid-template-columns: 1fr; } }

/* --- Section-background alternation fixes (adjacent same-colour sections) --- */
.section-mist { background: var(--mist); }

/* about.html: the 99% subscriber structure is the key trust point — give it
   the dark treatment so it breaks the origin/structure/partners run of light
   sections and reads as a callout. */
.model-dark { background: var(--mangrove); }
.model-dark .section-label { color: var(--accent); }
.model-dark .section-title { color: var(--sand); }
.model-dark .origin-text p { color: var(--estuary); }
.model-dark .origin-pull {
  border-left-color: var(--accent);
  color: var(--sand);
}

/* Governance facts panel — a dark-section-safe alternative to origin-grid's
   prose+quote split, so consecutive sections don't repeat the same layout */
.gov-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}
.fact-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 169, 110, 0.28);
  padding: 2rem;
}
.fact-panel h3 {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

/* --- Footer social: real LinkedIn glyph --- */
.social-link svg { display: block; width: 16px; height: 16px; }

/* Hairline where the gold stage band meets the gold CTA (investors.html) */
.investors + .cta-banner { border-top: 1px solid rgba(27, 58, 45, 0.16); }


/* ============================================================
   2026-09 BATCH 3b — due-diligence scorecard + benefit-flow diagram
   ============================================================ */

/* --- Due-diligence scorecard (investors.html) --- */
.scorecard-sec { background: var(--sand); }
.scorecard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.score-col {
  background: var(--white);
  border-top: 3px solid var(--estuary);
  padding: 2rem 2.25rem;
}
.score-col.score-settled { border-top-color: var(--seafoam); }
.score-col.score-progress { border-top-color: var(--accent); }
.score-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mangrove);
  margin-bottom: 1.5rem;
}
.score-head svg { width: 18px; height: 18px; flex-shrink: 0; }
.score-settled .score-head svg { color: var(--seafoam); }
.score-progress .score-head svg { color: var(--accent); }
.score-col ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.score-col li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-mid);
  padding-left: 1rem;
  border-left: 2px solid var(--mist);
}
.score-settled li { border-left-color: rgba(78, 158, 122, 0.4); }
.score-progress li { border-left-color: rgba(200, 169, 110, 0.4); }
.score-col li strong { color: var(--mangrove); font-weight: 600; }

@media (max-width: 800px) {
  .scorecard { grid-template-columns: 1fr; }
}

/* --- Benefit-flow diagram (communities.html) --- */
.flow-sec { background: var(--mangrove); }
.flow-sec .section-label { color: var(--accent); }
.flow-sec .section-title { color: var(--sand); }
.benefit-flow {
  list-style: none;
  margin-top: 3rem;
  max-width: 720px;
  position: relative;
}
.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}
.flow-step:last-child { padding-bottom: 0; }
/* connector line down the column of numbers */
.flow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: rgba(168, 197, 181, 0.25);
}
.flow-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--mangrove);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.flow-step h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  color: var(--sand);
  margin-bottom: 0.4rem;
  line-height: 1.3;
  padding-top: 0.35rem;
}
.flow-step p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--estuary);
}
.flow-note {
  margin-top: 2.5rem;
  max-width: 720px;
  border-top: 1px solid var(--accent);
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--sand);
}

@media (max-width: 600px) {
  .flow-step { gap: 1rem; }
  .flow-step:not(:last-child)::before { left: 17px; }
}


/* ============================================================
   2026-09 BATCH 3c — projects locator map (Leaflet, projects.html)
   ============================================================ */

.map-sec { background: var(--mist); }
.project-map {
  height: 480px;
  margin-top: 3rem;
  border: 1px solid var(--estuary);
  background: var(--mist);
  position: relative;
  z-index: 0;
}
.map-caption {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 660px;
}
.map-caption a { color: var(--tide); }
@media (max-width: 700px) { .project-map { height: 380px; } }

/* Brand-fit Leaflet overrides */
.project-map .leaflet-container { font: 400 0.85rem 'Hanken Grotesk', system-ui, sans-serif; background: var(--mist); }
/* Mute the OSM tiles toward the site's warm neutral palette */
.project-map .leaflet-tile-pane { filter: saturate(0.6) brightness(1.03) contrast(0.96); }
@media (prefers-reduced-motion: reduce) {
  .project-map .leaflet-fade-anim .leaflet-tile { transition: none; }
}
.project-map .leaflet-popup-content-wrapper {
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(27, 58, 45, 0.18);
}
.project-map .leaflet-popup-content { margin: 0.9rem 1.1rem; line-height: 1.55; color: var(--text-mid); }
.project-map .leaflet-popup-content strong {
  font-family: 'Newsreader', Georgia, serif;
  color: var(--mangrove);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.project-map .leaflet-popup-content a { color: var(--tide); font-weight: 600; }
.project-map .leaflet-bar a { color: var(--mangrove); }
.project-map .leaflet-bar a:hover { color: var(--tide); }
.ky-map-pin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--mangrove);
  box-shadow: 0 0 0 2px rgba(245, 239, 224, 0.9), 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   V2 LAYER: "Tidal Ledger" revamp (2026-09-27)
   Loaded last so it refines every page without rewriting the
   base components above. Palette values are unchanged from the
   brand brief; type, rhythm, motion and the home page are new.
   ============================================================ */
:root {
  --deep:      #0F241B;               /* darker mangrove for the heaviest bands */
  --line:      rgba(27, 58, 45, 0.16);
  --line-dark: rgba(168, 197, 181, 0.18);
  --gutter:    clamp(1.25rem, 5vw, 4.5rem);
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}
body { font-size: 1.02rem; line-height: 1.6; }
body::after {
  /* faint paper grain so the sand reads as material, not flat fill */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
section { padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); }
.mono { font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* --- Type: lighter, larger editorial serif --- */
.section-title, .page-title, .hero-title, .display {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.page-title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1.02; max-width: 16ch; }
.page-title em, .hero-title em, .display em { font-style: italic; color: var(--accent); }
.display { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.05; color: var(--mangrove); max-width: 20ch; }
.display.light { color: var(--sand); }
.display em { color: var(--tide); }
.display.light em { color: var(--accent); }
.section-label { letter-spacing: 0.18em; font-size: 0.7rem; }

/* --- Navigation --- */
nav { padding: 1.1rem var(--gutter); background: rgba(15, 36, 27, 0.92); border-bottom: 1px solid var(--line-dark);
      transition: background 0.4s var(--ease-out); }
nav.scrolled { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.nav-logo { font-weight: 400; font-size: 1.35rem; letter-spacing: -0.01em; }
.nav-logo span { font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; margin-left: 0.35rem; vertical-align: 0.2em; }
.nav-links a { font-size: 0.78rem; letter-spacing: 0.1em; position: relative; }
.nav-links > li > a::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.nav-links > li > a:hover::before { transform: scaleX(1); }
.nav-links a.active { border-bottom: none; }
.nav-links a.active::before { transform: scaleX(1); }
.home nav:not(.scrolled) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* --- Buttons --- */
.btn { padding: 1rem 1.6rem; font-size: 0.78rem; letter-spacing: 0.1em; border-radius: 2px; transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-out); }
.btn-arrow::after { content: '\2192'; display: inline-block; margin-left: 0.75rem; transition: transform 0.3s var(--ease-out); }
.btn-arrow:hover::after { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--sand); box-shadow: inset 0 0 0 1px rgba(245, 239, 224, 0.4); }
.btn-ghost:hover { background: rgba(245, 239, 224, 0.08); box-shadow: inset 0 0 0 1px var(--sand); }
.text-link { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.5rem; font-weight: 600; font-size: 0.9rem; color: var(--tide); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link::after { content: '\2192'; transition: transform 0.3s var(--ease-out); }
.text-link:hover::after, a:hover .text-link::after { transform: translateX(4px); }

/* --- Inner page hero: duotone photo, tide line --- */
.page-hero { padding: clamp(8rem, 14vw, 11rem) var(--gutter) clamp(4rem, 7vw, 6rem); background-color: var(--deep); }
.page-hero::before { background: linear-gradient(100deg, rgba(15, 36, 27, 0.96) 0%, rgba(15, 36, 27, 0.88) 55%, rgba(27, 58, 45, 0.7) 100%); }
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(200, 169, 110, 0) 70%);
}
.page-hero[class*="hero-bg-"] { background-blend-mode: luminosity; }
.page-eyebrow { font-size: 0.7rem; letter-spacing: 0.18em; }

/* --- Footer --- */
footer { background: var(--deep); padding: 5rem var(--gutter) 3rem; }
.footer-brand { font-size: 1.6rem; font-weight: 400; }
.footer-brand span { font-style: italic; }
.footer-legal { border-top-color: var(--line-dark); }
.footer-disclaimer { border-left-color: rgba(200, 169, 110, 0.4); }
.social-link { border-color: var(--line-dark); }

/* ============================================================
   HOME (v2)
   ============================================================ */
.h2-hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 9rem var(--gutter) 0; background: var(--deep); color: var(--sand); overflow: hidden;
}
.h2-hero-media {
  position: absolute; inset: -4%; z-index: 0;
  background: image-set(url('assets/photos/mangrove-channel.webp') type('image/webp'), url('assets/photos/mangrove-channel.jpg') type('image/jpeg')) center / cover;
  filter: grayscale(1) contrast(1.15) brightness(1.25);
  animation: slow-drift 22s var(--ease-out) both;
}
.h2-hero::before {
  /* duotone: luminosity photo tinted mangrove, darker bottom-left where the text sits */
  content: ''; position: absolute; inset: 0; z-index: 1; mix-blend-mode: multiply;
  background: linear-gradient(15deg, #10261c 10%, #2E6B52 60%, #4E9E7A 100%);
}
.h2-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(11, 28, 21, 0.92) 0%, rgba(11, 28, 21, 0.35) 50%, rgba(11, 28, 21, 0.1) 75%, rgba(11, 28, 21, 0.5) 100%), linear-gradient(90deg, rgba(11, 28, 21, 0.55) 0%, rgba(11, 28, 21, 0) 60%);
}
.h2-hero-inner, .h2-hero-meta { position: relative; z-index: 2; }
.h2-hero-inner { max-width: 80rem; padding-bottom: clamp(3rem, 7vh, 5.5rem); }
.h2-kicker { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--estuary); margin-bottom: 2rem; }
.h2-title { font-family: 'Newsreader', Georgia, serif; font-weight: 300; font-size: clamp(2.3rem, 4.7vw, 5.2rem); line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 2rem; }
.h2-title .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.08em; }
.h2-title .line > span { display: inline-block; }
.h2-title em { font-style: italic; color: var(--accent); }
.h2-lede { max-width: 38rem; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; color: rgba(245, 239, 224, 0.82); margin-bottom: 2.4rem; }
.h2-lede strong { color: var(--sand); font-weight: 600; }
.h2-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.h2-hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding: 1.3rem 0 2.2rem; color: var(--estuary); }
.h2-pill { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(200, 169, 110, 0.45); padding: 0.45rem 0.9rem; }
.status-dot { position: relative; }
.status-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2.6s var(--ease-out) infinite; }

.tide-line { position: absolute; left: 0; bottom: 0; width: 200%; height: 28px; z-index: 3; overflow: visible; animation: tide 18s linear infinite; }
.tide-line path { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0.55; vector-effect: non-scaling-stroke; }
.tide-top { top: -14px; bottom: auto; }

/* Hero entrance: each line rises out of its mask */
[data-rise] { animation: rise 1.1s var(--ease-out) both; }
.h2-title [data-rise] { animation-name: rise-mask; }
[data-rise="1"] { animation-delay: 0.1s; } [data-rise="2"] { animation-delay: 0.22s; }
[data-rise="3"] { animation-delay: 0.34s; } [data-rise="4"] { animation-delay: 0.46s; }
[data-rise="5"] { animation-delay: 0.65s; } [data-rise="6"] { animation-delay: 0.8s; }

/* Ledger: hairline row, not cards */
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-bottom: 0; border-bottom: 1px solid var(--line); }
.ledger-cell { padding: 2.8rem 2rem 2.6rem; border-right: 1px solid var(--line); }
.ledger-cell:first-child { padding-left: 0; }
.ledger-cell:last-child { border-right: none; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; color: var(--text-soft); margin-bottom: 1.2rem; }
.ledger-num { font-family: 'Newsreader', Georgia, serif; font-weight: 300; font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1; color: var(--mangrove); display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1rem; }
.ledger-num small { font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tide); }
.ledger-cell p { font-size: 0.9rem; color: var(--text-mid); max-width: 26ch; }
.tag { font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.25rem 0.5rem; white-space: nowrap; }
.tag-done     { background: rgba(78, 158, 122, 0.16); color: #1f5a41; }
.tag-progress { background: rgba(200, 169, 110, 0.24); color: #6b5222; }
.tag-target   { background: rgba(27, 58, 45, 0.07); color: var(--text-mid); }

/* Below the waterline */
.waterline { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.waterline-text > p:not(.section-label) { color: var(--text-mid); margin-top: 1.5rem; max-width: 34rem; }
.waterline-text .cite { padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.95rem; }
.waterline-text .cite strong { font-family: 'Newsreader', Georgia, serif; font-size: 1.5rem; font-weight: 400; color: var(--mangrove); }
.waterline-text .cite .mono { display: block; margin-top: 0.6rem; color: var(--text-soft); font-size: 0.62rem; }
.core { position: relative; background: var(--deep); color: var(--sand); padding: 2rem 10.5rem 1.6rem 2rem; }
.core-head { display: flex; justify-content: space-between; color: var(--estuary); padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line-dark); }
.core-layer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; margin-bottom: 6px; border-left: 2px solid;
  transform-origin: left; transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out); }
.core-name { font-family: 'Newsreader', Georgia, serif; font-size: 1.15rem; }
.core-note { color: var(--estuary); font-size: 0.6rem; text-align: right; }
.l1 { background: rgba(78, 158, 122, 0.22); border-color: var(--seafoam); min-height: 3.2rem; }
.l2 { background: rgba(46, 107, 82, 0.35); border-color: var(--tide); min-height: 3.8rem; }
.l3 { background: rgba(122, 96, 52, 0.45); border-color: var(--accent); min-height: 5.2rem; }
.l4 { background: rgba(70, 54, 30, 0.6); border-color: #8a6d3b; min-height: 7rem; }
.core-soil { position: relative; }
.core-bracket { position: absolute; top: 0; bottom: 6px; left: calc(100% + 1.2rem); width: 7.5rem; border: 1px solid var(--accent); border-left: none;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 0.9rem; text-align: right; color: var(--accent); transition: clip-path 1s 0.9s var(--ease-out); clip-path: inset(0 0 0 0); }
.core-bracket .mono { font-size: 0.62rem; line-height: 1.5; }
.core-cap { font-size: 0.78rem; color: var(--estuary); margin-top: 1.2rem; line-height: 1.5; }
.core.pending .core-layer { transform: scaleX(0.04); opacity: 0; }
.core.pending .core-bracket { clip-path: inset(0 100% 0 0); }
.core .l2 { transition-delay: 0.12s; } .core .l3 { transition-delay: 0.24s; } .core .l4 { transition-delay: 0.36s; }

/* Stage tracker */
.tracker-sec { background: #FAF6EC; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tracker-top { margin-bottom: 3.5rem; }
.tracker-top > p { margin-top: 1.2rem; max-width: 60ch; }
.tracker-top > p { color: var(--text-mid); }
.tracker { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; padding-top: 2.4rem; }
.tracker::before, .tracker::after { content: ''; position: absolute; top: 0.45rem; left: 0; height: 2px; }
.tracker::before { right: 0; background: var(--line); }
.tracker::after { width: 50%; background: var(--accent); transform-origin: left; transition: transform 1.6s 0.2s var(--ease-out); }
.tracker.pending::after { transform: scaleX(0); }
.stage { position: relative; padding: 0 1.4rem 0 0; }
.stage::before { content: ''; position: absolute; top: -2.4rem; left: 0; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: #FAF6EC; border: 2px solid var(--line); box-sizing: border-box; }
.stage.is-done::before { background: var(--tide); border-color: var(--tide); }
.stage.is-now::before  { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(200, 169, 110, 0.22); }
.stage-no { color: var(--text-soft); }
.stage h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 1.3rem; line-height: 1.15; color: var(--mangrove); margin: 0 0 0.6rem; }
.stage p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.55; }
.stage-status { display: block; margin-top: 1rem; font-size: 0.6rem; color: var(--text-soft); }
.is-done .stage-status { color: var(--tide); }
.is-now .stage-status { color: #8a6a2c; }
.stage:not(.is-done):not(.is-now) h3 { color: var(--text-soft); }
.here { position: absolute; top: -4.6rem; left: -0.2rem; background: var(--mangrove); color: var(--accent); font-size: 0.58rem; padding: 0.3rem 0.55rem; white-space: nowrap; }

/* Portfolio */
.portfolio-top { margin-bottom: 3rem; }
.portfolio-top > p { margin-top: 1.2rem; max-width: 60ch; }
.portfolio-top > p { color: var(--text-mid); }
.portfolio-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 1.5rem; }
.project-panel { display: flex; flex-direction: column; background: #FAF6EC; border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden; transition: border-color 0.3s; }
.project-panel:hover { border-color: var(--tide); }
.project-img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; filter: saturate(0.75) contrast(1.05); transition: transform 1.2s var(--ease-out), filter 0.6s; }
.project-side .project-img { aspect-ratio: 4 / 3; }
.project-panel:hover .project-img { transform: scale(1.04); filter: saturate(0.95) contrast(1.05); }
.img-ky { background-image: image-set(url('assets/photos/mangrove-channel.webp') type('image/webp'), url('assets/photos/mangrove-channel.jpg') type('image/jpeg')); }
.img-kd { background-image: image-set(url('assets/photos/dhow-coast.webp') type('image/webp'), url('assets/photos/dhow-coast.jpg') type('image/jpeg')); }
.project-body { padding: 1.8rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--tide); margin-bottom: 1rem; font-size: 0.62rem; }
.project-body h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 2rem; color: var(--mangrove); margin-bottom: 0.8rem; }
.project-body p { color: var(--text-mid); font-size: 0.95rem; }
.project-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.5rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.project-facts dt { color: var(--text-soft); font-size: 0.6rem; margin-bottom: 0.3rem; }
.project-facts dd { font-weight: 600; color: var(--mangrove); }
.project-body .text-link { margin-top: auto; padding-top: 1.6rem; align-self: flex-start; border-bottom: none; }

/* Integrity ledger */
.integrity { background: var(--deep); color: var(--sand); }
.integrity-top { margin-bottom: 3rem; }
.integrity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.integrity-col { border: 1px solid var(--line-dark); padding: 2rem 2.2rem; }
.integrity-col h3 { display: flex; align-items: center; gap: 0.6rem; color: var(--estuary); padding-bottom: 1.2rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--line-dark); font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-done { background: var(--seafoam); } .dot-progress { background: var(--accent); }
.integrity-col ul { list-style: none; }
.integrity-col li { padding: 0.95rem 0; border-bottom: 1px solid rgba(168, 197, 181, 0.08); color: rgba(245, 239, 224, 0.72); font-size: 0.92rem; line-height: 1.55; }
.integrity-col li:last-child { border-bottom: none; }
.integrity-col li strong { color: var(--sand); font-weight: 600; }

/* Partners strip */
.partners-strip { padding-top: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.partners-strip h2 { color: var(--text-soft); font-weight: 500; margin-bottom: 1.8rem; }
.partners-strip ul { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.partners-strip strong { display: block; font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 1.5rem; color: var(--mangrove); }
.partners-strip .mono { font-size: 0.58rem; color: var(--text-soft); }

/* Closing CTA */
.cta2 { position: relative; overflow: hidden; background: var(--mangrove); color: var(--sand); display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: end; }
.cta2 p { color: var(--estuary); margin-top: 1.2rem; max-width: 34rem; }
.cta2-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: flex-end; }
.cta2 :focus-visible { outline-color: var(--accent); }

/* Generic scroll reveal (JS adds .pending until in view) */
[data-reveal] { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal].pending { opacity: 0; transform: translateY(24px); }

@keyframes rise      { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise-mask { from { transform: translateY(105%); } to { transform: none; } }
@keyframes slow-drift{ from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes tide      { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ping      { 0% { transform: scale(0.6); opacity: 0.9; } 80%, 100% { transform: scale(2.2); opacity: 0; } }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .tracker { grid-template-columns: repeat(3, 1fr); row-gap: 3.5rem; }
  .tracker::after { width: 100%; }
  .partners-strip ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger-cell { padding: 2rem 1.2rem; border-bottom: 1px solid var(--line); }
  .ledger-cell:nth-child(odd) { padding-left: 0; }
  .ledger-cell:nth-child(2n) { border-right: none; }
  .waterline, .portfolio-grid, .integrity-grid, .cta2 { grid-template-columns: 1fr; }
  .cta2-actions { justify-content: flex-start; }
  .core { padding-right: 2rem; }
  .core-bracket { position: static; width: auto; border: none; border-top: 1px solid var(--accent); padding: 0.8rem 0 0; margin-top: 0.6rem; justify-content: flex-start; text-align: left; }
}
@media (max-width: 640px) {
  .h2-hero { padding-top: 7rem; min-height: 92svh; }
  .h2-hero-meta { padding-bottom: 2.4rem; }
  .ledger { grid-template-columns: 1fr; }
  .ledger-cell { padding-left: 0; padding-right: 0; border-right: none; }
  /* Vertical tracker on phones */
  .tracker { grid-template-columns: 1fr; padding-top: 0; padding-left: 2.2rem; row-gap: 2.2rem; }
  .tracker::before, .tracker::after { top: 0.3rem; bottom: 0; left: 0.4rem; width: 2px; height: auto; }
  .tracker::after { bottom: 50%; transform-origin: top; }
  .tracker.pending::after { transform: scaleY(0); }
  .stage::before { top: 0.1rem; left: -2.2rem; }
  .here { position: static; display: inline-block; margin-left: 0.6rem; }
  .partners-strip ul { grid-template-columns: 1fr 1fr; }
  .project-facts { grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
  .integrity-col { padding: 1.5rem; }
  .core-layer { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .core-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .h2-hero-media, [data-rise], .tide-line, .status-dot::after { animation: none !important; }
  [data-reveal].pending, .core.pending .core-layer { opacity: 1; transform: none; }
  .core.pending .core-bracket { clip-path: none; }
  .tracker.pending::after { transform: none; }
}

/* Cookie bar in the v2 palette */
.cookie-notice { background: var(--deep); color: var(--estuary); border-top: 1px solid var(--line-dark); padding: 1rem var(--gutter); }
.integrity .section-label, .cta2 .section-label { color: var(--accent); }

/* --- Audit fixes 2026-09-27 --- */
:root { --accent-ink: #7A5C22; }   /* gold for text on light grounds: 5.3:1 on sand, 6.2:1 on white */
.ws-num, .is-now .stage-status, .contact-form label span, label span[aria-hidden="true"] { color: var(--accent-ink); }
.timeline .model-note { color: var(--estuary); }                 /* was #666 on mangrove, 2.2:1 */
.ecosystem { background: var(--mangrove); }                      /* gold + sand text on tide failed AA */
.subnav a { display: inline-block; padding: 0.7rem 0; }          /* 24px+ target */
.know-link { padding: 0.35rem 0; }
.fact-panel, .fact-panel * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .fact-panel { padding: 1.4rem; } }
@media (max-width: 640px) {
  .data-row { flex-wrap: wrap; gap: 0.2rem 1rem; }
  .data-val { text-align: left; min-width: 0; }
}
/* Focus ring: 3:1+ against whichever ground it lands on */
:focus-visible { outline-color: var(--mangrove); }
nav :focus-visible, footer :focus-visible, .h2-hero :focus-visible, .page-hero :focus-visible, .integrity :focus-visible,
.cta2 :focus-visible, .timeline :focus-visible, .roadmap-strip :focus-visible, .ecosystem :focus-visible,
.flagship-block :focus-visible, .model-dark :focus-visible, .flow-sec :focus-visible, .core :focus-visible { outline-color: var(--accent); }

/* ============================================================
   BRAND MARK (v1.0 "Rooted B" logo, 2026-10-20)
   ============================================================ */
.nav-logo { display: inline-flex; align-items: center; line-height: 0; }
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}
@media (max-width: 560px) { .nav-logo img { height: 32px; } }

.footer-brand { line-height: 0; margin-bottom: 1.25rem; }
.footer-brand img {
  height: 52px;
  width: auto;
  display: block;
}

/* --- Partners strip: two real partner logos on sand --- */
.partners-strip ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 820px;
  align-items: start;
}
.partners-strip li { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
/* fixed logo row so both captions sit on one line regardless of logo aspect */
.partners-strip li a {
  display: flex;
  align-items: center;
  height: 58px;
  line-height: 0;
  border-bottom: none;
  transition: opacity 0.25s var(--ease-out);
}
.partners-strip li a:hover { opacity: 0.72; }
.partners-strip li img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  display: block;
}
.partners-strip li img[src*="orraa"] { height: 50px; }
.partners-strip li img[src*="action-for-ocean"] { height: 56px; }
.partners-strip .mono { font-size: 0.62rem; letter-spacing: 0.12em; line-height: 1.5; }
@media (max-width: 640px) {
  .partners-strip ul { grid-template-columns: 1fr; gap: 2rem; }
  .partners-strip li a { height: 46px; }
  .partners-strip li img[src*="orraa"] { height: 40px; }
  .partners-strip li img[src*="action-for-ocean"] { height: 46px; }
}
/* partners strip follows a light section on the home page: don't stack both paddings */
.portfolio + .partners-strip { padding-top: 0; }

/* ============================================================
   CAREERS + RESOURCES (2026-10-20)
   ============================================================ */
.careers-values-sec { padding-top: 3rem; padding-bottom: 3rem; background: var(--mist); }
.careers-values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.careers-values li { border-top: 1px solid var(--line); padding-top: 1rem; }
.careers-values .mono {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tide);
  margin-bottom: 0.6rem;
}
.careers-values p { font-size: 0.92rem; line-height: 1.6; color: var(--text-mid); }

.roles-top { margin-bottom: 2.5rem; max-width: 62ch; }
.roles-top > p { margin-top: 1rem; color: var(--text-mid); }

.roles-list, .docs-list { display: grid; gap: 1.25rem; }
.role-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 1.9rem 2rem;
  background: var(--white);
}
.role-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.25rem; }
.role-card h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 1.5rem; color: var(--mangrove); }
.role-meta, .role-closes { font-size: 0.68rem; letter-spacing: 0.12em; color: var(--text-soft); }
.role-card > p { margin-top: 0.9rem; color: var(--text-mid); max-width: 64ch; }
.role-closes { margin-top: 0.9rem; text-transform: uppercase; }
.role-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.4rem; }

.roles-empty {
  border: 1px dashed var(--line);
  padding: 3rem 2rem;
  text-align: center;
}
.roles-empty .mono {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tide);
  margin-bottom: 0.9rem;
}
.roles-empty > p:last-child { color: var(--text-mid); max-width: 52ch; margin: 0 auto; }

.downloads-sec { background: var(--mist); }
.docs-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.doc-card {
  display: block;
  border: 1px solid var(--line);
  padding: 1.6rem 1.7rem;
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.doc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.doc-card h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 1.25rem; color: var(--mangrove); }
.doc-card > p { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-mid); }
.doc-meta { margin-top: 1rem; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }

@media (max-width: 900px) {
  .careers-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .careers-values { grid-template-columns: 1fr; gap: 1.5rem; }
  .role-card { padding: 1.5rem 1.3rem; }
  .role-actions { gap: 1rem; }
}
.docs-list .roles-empty { grid-column: 1 / -1; }

/* --- News & field notes --- */
.news-sec { background: var(--sand); }
.news-list { display: grid; gap: 0; margin-top: 2.5rem; }
.news-card {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  max-width: 72ch;
}
.news-card:last-child { border-bottom: 1px solid var(--line); }
.news-date {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}
.news-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.25;
  color: var(--mangrove);
}
.news-card h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.news-card h3 a:hover { border-bottom-color: var(--accent); }
.news-card > p { margin-top: 0.8rem; color: var(--text-mid); }
.news-card .know-link { display: inline-block; margin-top: 1.1rem; }
.news-empty-link { margin-top: 1.4rem; }
@media (max-width: 560px) {
  .news-card { padding: 1.5rem 0; }
  .news-card h3 { font-size: 1.35rem; }
}

/* Mobile menu now carries 10 items across two dropdown groups: let it scroll
   rather than pushing the last link off a short viewport. */
@media (max-width: 860px) {
  .nav-links {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 2rem;
  }
}

/* ============================================================
   TYPE ROLES (2026-10-20)
   The UI label voice was JetBrains Mono everywhere: 39 of the 79
   font-family declarations on the site, against 3 for the body sans.
   Mono micro-labels at 0.14-0.22em tracking above every section are
   the most recognisable templated-site signature, so labels now run
   in the brand sans and mono is reserved for genuine reference
   strings (regulation numbers, coordinates, codes).
   ============================================================ */
:root {
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans:  'Hanken Grotesk', system-ui, sans-serif;
  --font-label: 'Hanken Grotesk', system-ui, sans-serif;
  --font-data:  ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

/* Sans needs far less tracking than mono to read as a label, and a
   touch more weight to hold at small sizes. */
.mono,
.page-eyebrow,
.section-label,
.cta-eyebrow,
.know-tag,
.tag,
.footer-col-title,
.nav-logo span,
.h2-kicker,
.h2-pill,
.careers-values .mono,
.role-meta,
.role-closes,
.news-date,
.doc-meta,
.roles-empty .mono {
  font-family: var(--font-label);
  letter-spacing: 0.07em;
  font-weight: 600;
  text-transform: uppercase;
}
.mono { font-size: 0.72rem; }
.page-eyebrow, .cta-eyebrow, .section-label { letter-spacing: 0.09em; }
.know-tag, .tag { letter-spacing: 0.06em; }
.news-date, .role-meta, .role-closes, .doc-meta { letter-spacing: 0.06em; }

/* Reference strings stay monospaced, where the fixed width earns its keep. */
.inv-fact-val,
.detail-value,
.glossary-def-list dt,
time { font-family: var(--font-data); letter-spacing: 0.01em; text-transform: none; }
.mandate-lede { max-width: 68ch; margin: 1.1rem 0 2.5rem; color: var(--text-mid); }

/* Dark variant of the knowledge grid. The About page lost its mid-page
   contrast anchor when the governance section came out, leaving the origin
   and mandate sections on the same mist ground with nothing between them. */
.knowledge-dark { background: var(--deep); }
.knowledge-dark .section-title { color: var(--sand); }
.knowledge-dark .mandate-lede { color: var(--estuary); }
.knowledge-dark .know-card {
  background: rgba(245, 239, 224, 0.045);
  border-top-color: var(--accent);
}
.knowledge-dark .know-tag { color: var(--accent); }
.knowledge-dark .know-card h3 { color: var(--sand); }
.knowledge-dark .know-card p { color: var(--estuary); }

/* --- Homepage news strip --- */
.home-news { background: var(--mist); }
.home-news[hidden] { display: none; }
.home-news-top {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem;
}
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.home-news-card {
  display: block;
  background: var(--white);
  border-top: 3px solid var(--accent);
  padding: 1.8rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.home-news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(27, 58, 45, 0.09); }
.home-news-date { font-size: 0.64rem; color: var(--text-soft); margin-bottom: 0.7rem; }
.home-news-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400; font-size: 1.3rem; line-height: 1.25; color: var(--mangrove);
}
.home-news-sum { margin-top: 0.7rem; font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }
.home-news-card .know-link { margin-top: 1rem; }
@media (max-width: 900px) { .home-news-grid { grid-template-columns: 1fr; } }
