/* ============================================================
   TERAVENT HYBRID CARBON STANDARD — THS v1.0
   Stylesheet · Teravent Design System
   ============================================================ */

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  /* Palette — Hybrid: deep teal + amber */
  --c-navy:        #0B1F17;
  --c-teal-dark:   #1A4A3A;
  --c-teal-mid:    #2E7D5E;
  --c-teal-light:  #4BA07E;
  --c-teal-pale:   #EAF5EE;
  --c-teal-xpale:  #F3FAF5;
  --c-amber:       #B07A1A;
  --c-amber-mid:   #D4951F;
  --c-amber-pale:  #FFF3DC;
  --c-gold:        #C9A84C;
  --c-white:       #FFFFFF;
  --c-ink:         #1A2A22;
  --c-mid:         #4A6556;
  --c-muted:       #7A9A88;
  --c-border:      #D0E4D8;
  --c-surface:     #F6FCF8;

  /* Class colours */
  --cls-I:   #2E7D5E;
  --cls-II:  #B07A1A;
  --cls-III: #1A4A3A;

  /* Type */
  --f-display:  'Cormorant Garamond', Georgia, serif;
  --f-body:     'Instrument Sans', system-ui, sans-serif;
  --f-mono:     'DM Mono', 'Courier New', monospace;

  /* Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(26,74,58,0.08), 0 1px 2px rgba(26,74,58,0.06);
  --shadow-md: 0 4px 12px rgba(26,74,58,0.10), 0 2px 6px rgba(26,74,58,0.06);
  --shadow-lg: 0 12px 32px rgba(26,74,58,0.12), 0 4px 12px rgba(26,74,58,0.08);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-lg); }
}

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
.mono { font-family: var(--f-mono); font-size: 0.82rem; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-teal-mid);
  color: var(--c-white);
  border-color: var(--c-teal-mid);
}
.btn--primary:hover {
  background: var(--c-teal-dark);
  border-color: var(--c-teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--c-teal-dark);
  border-color: var(--c-border);
}
.btn--ghost-dark:hover {
  background: var(--c-teal-xpale);
  border-color: var(--c-teal-mid);
}

/* ── BADGES ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.badge--teal {
  background: var(--c-teal-mid);
  color: var(--c-white);
}
.badge--outline {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ── TAGS ──────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--c-teal-xpale);
  color: var(--c-teal-dark);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--c-border);
}

/* ── SECTION HEADER ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header--light .section-header__eyebrow,
.section-header--light .section-header__title,
.section-header--light .section-header__sub { color: var(--c-white); }
.section-header--light .section-header__sub { color: rgba(255,255,255,0.7); }

.section-header__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal-mid);
  margin-bottom: var(--space-md);
}
.section-header__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
.section-header__sub {
  font-size: 1rem;
  color: var(--c-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 31, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
}
.nav.nav--scrolled {
  background: rgba(26, 74, 58, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 28px;
  height: 28px;
  background: var(--c-teal-mid);
  color: var(--c-white);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
}
.nav__logo-text {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--c-white);
}
.nav__suite {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  padding-left: var(--space-lg);
  border-left: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  font-weight: 500;
}
.nav__links a:hover { color: var(--c-white); }
.nav__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-white);
  background: var(--c-teal-mid);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--c-teal-dark); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 900px) {
  .nav__suite { display: none; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.nav__links--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--c-navy);
    padding: var(--space-xl);
    gap: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 99;
  }
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-navy);
  padding-top: 64px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero__orb--1 {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(46,125,94,0.28) 0%, transparent 70%);
  animation: orb-drift 14s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 400px;
  height: 400px;
  bottom: 0;
  left: -80px;
  background: radial-gradient(circle, rgba(176,122,26,0.18) 0%, transparent 70%);
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  max-width: 760px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--c-white);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  color: var(--c-gold);
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: var(--space-2xl);
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__meta-val {
  font-family: var(--f-mono);
  font-size: 1.1rem;
  color: var(--c-white);
  font-weight: 500;
}
.hero__meta-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--f-mono);
  transition: opacity var(--transition);
}

/* ── PREAMBLE ──────────────────────────────────────────────── */
.preamble {
  padding: var(--space-3xl) 0;
  background: var(--c-white);
}
.preamble__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
@media (max-width: 768px) {
  .preamble__grid { grid-template-columns: 1fr; }
}
.preamble__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--c-mid);
  margin-bottom: var(--space-lg);
}
.preamble__text strong { color: var(--c-ink); font-weight: 600; }
.preamble__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 500px) {
  .preamble__facts { grid-template-columns: 1fr; }
}
.fact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition);
}
.fact-card:hover { box-shadow: var(--shadow-sm); }
.fact-card__icon {
  width: 32px;
  height: 32px;
  color: var(--c-teal-mid);
  flex-shrink: 0;
}
.fact-card__icon svg { width: 100%; height: 100%; }
.fact-card__label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 2px;
  font-family: var(--f-mono);
}
.fact-card__val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-ink);
}

/* ── DURABILITY ────────────────────────────────────────────── */
.durability {
  padding: var(--space-3xl) 0;
  background: var(--c-teal-xpale);
}
.dur-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
@media (max-width: 768px) {
  .dur-cards { grid-template-columns: 1fr; }
}
.dur-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.dur-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.dur-card--I::before { background: var(--cls-I); }
.dur-card--II::before { background: var(--cls-II); }
.dur-card--III::before { background: var(--cls-III); }
.dur-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dur-card__class {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}
.dur-card--I .dur-card__class { color: var(--cls-I); }
.dur-card--II .dur-card__class { color: var(--cls-II); }
.dur-card--III .dur-card__class { color: var(--cls-III); }
.dur-card__name {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--space-xs);
}
.dur-card__horizon {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--c-border);
}
.dur-card__desc {
  font-size: 0.9rem;
  color: var(--c-mid);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}
.dur-card__buffer {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: var(--space-md);
}
.dur-card--I .dur-card__buffer { background: rgba(46,125,94,0.1); color: var(--cls-I); }
.dur-card--II .dur-card__buffer { background: rgba(176,122,26,0.1); color: var(--cls-II); }
.dur-card--III .dur-card__buffer { background: rgba(26,74,58,0.1); color: var(--cls-III); }
.dur-card__examples {
  font-size: 0.78rem;
  color: var(--c-muted);
  font-style: italic;
  line-height: 1.5;
}
.dur-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: rgba(26,74,58,0.06);
  border: 1px solid rgba(26,74,58,0.15);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--c-mid);
  line-height: 1.65;
}
.dur-note svg { flex-shrink: 0; margin-top: 2px; color: var(--c-teal-mid); }

/* ── MODULES ───────────────────────────────────────────────── */
.modules {
  padding: var(--space-3xl) 0;
  background: var(--c-white);
}
.module-list {
  display: grid;
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.module-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  background: var(--c-white);
  transition: background var(--transition);
  cursor: default;
}
.module-item:hover { background: var(--c-teal-xpale); }
.module-item__num {
  font-family: var(--f-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-border);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-xl) 0 var(--space-xl) var(--space-xl);
  transition: color var(--transition);
}
.module-item:hover .module-item__num { color: var(--c-teal-mid); }
.module-item__body {
  padding: var(--space-xl);
  border-left: 1px solid var(--c-border);
}
.module-item__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--space-sm);
}
.module-item__desc {
  font-size: 0.9rem;
  color: var(--c-mid);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}
.module-item__tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

/* ── PATHWAYS ──────────────────────────────────────────────── */
.pathways {
  padding: var(--space-3xl) 0;
  background: var(--c-navy);
}
.pathways .section-header__eyebrow { color: var(--c-gold); }
.pathways .section-header__title { color: var(--c-white); }
.pathways .section-header__sub { color: rgba(255,255,255,0.6); }

.pathway-filter {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}
.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--c-white);
}
.filter-btn--active {
  background: var(--c-teal-mid);
  border-color: var(--c-teal-mid);
  color: var(--c-white);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.pw-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pw-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--transition);
}
.pw-card[data-class="I"]::before { background: var(--cls-I); }
.pw-card[data-class="II"]::before { background: var(--cls-II); }
.pw-card[data-class="III"]::before { background: var(--cls-III); }
.pw-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.pw-card:hover::before { opacity: 1; }
.pw-card--hidden { display: none; }

.pw-card__annex {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.pw-card__class {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}
.pw-card__class--I  { background: rgba(46,125,94,0.2);  color: #7ECBA6; }
.pw-card__class--II { background: rgba(176,122,26,0.2); color: #D4AC5A; }
.pw-card__class--III{ background: rgba(26,74,58,0.3);   color: #4BA07E; }
.pw-card__title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}
.pw-card__nature,
.pw-card__tech {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 2px;
}
.pw-card__nature::before {
  content: '🌿 ';
  font-size: 0.7rem;
}
.pw-card__tech::before {
  content: '⚙️ ';
  font-size: 0.7rem;
}
.pw-card__methods {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ── CREDITS BAND ──────────────────────────────────────────── */
.credits-band {
  padding: var(--space-3xl) 0;
  background: var(--c-white);
}

/* Serial demo */
.serial-demo {
  background: var(--c-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  text-align: center;
}
.serial-demo__label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-lg);
}
.serial-demo__code {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: clamp(0.7rem, 2vw, 1rem);
  margin-bottom: var(--space-lg);
}
.serial-seg {
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition);
}
.serial-seg:hover { transform: translateY(-2px); }
.serial-seg::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(255,255,255,0.95);
  color: var(--c-ink);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 10;
}
.serial-seg:hover::after { opacity: 1; }
.serial-sep { color: rgba(255,255,255,0.25); font-weight: 300; }
.serial-seg--registry   { background: rgba(46,125,94,0.3);  color: #7ECBA6; }
.serial-seg--standard   { background: rgba(201,168,76,0.25); color: var(--c-gold); }
.serial-seg--pathway    { background: rgba(75,160,126,0.25); color: #7ECBA6; }
.serial-seg--country    { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.serial-seg--project    { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.55); }
.serial-seg--vintage    { background: rgba(176,122,26,0.25); color: var(--c-amber-mid); }
.serial-seg--durability { background: rgba(176,122,26,0.3);  color: #D4AC5A; }
.serial-seg--unit       { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.4); }

.serial-demo__legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}
.legend-dot--registry   { background: #7ECBA6; }
.legend-dot--standard   { background: var(--c-gold); }
.legend-dot--pathway    { background: #7ECBA6; }
.legend-dot--country    { background: rgba(255,255,255,0.4); }
.legend-dot--project    { background: rgba(255,255,255,0.25); }
.legend-dot--vintage    { background: var(--c-amber-mid); }
.legend-dot--durability { background: #D4AC5A; }
.legend-dot--unit       { background: rgba(255,255,255,0.2); }

/* Labels grid */
.labels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}
.label-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  transition: all var(--transition);
}
.label-card:hover {
  border-color: var(--c-teal-light);
  box-shadow: var(--shadow-sm);
  background: var(--c-teal-xpale);
}
.label-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}
.label-card__icon svg { width: 100%; height: 100%; }
.label-card__icon--soil      { background: rgba(46,125,94,0.12);  color: var(--c-teal-mid); }
.label-card__icon--bio       { background: rgba(46,125,94,0.12);  color: var(--c-teal-mid); }
.label-card__icon--food      { background: rgba(176,122,26,0.12); color: var(--c-amber); }
.label-card__icon--water     { background: rgba(46,125,94,0.12);  color: var(--c-teal-mid); }
.label-card__icon--live      { background: rgba(176,122,26,0.12); color: var(--c-amber); }
.label-card__icon--frontier  { background: rgba(201,168,76,0.15); color: var(--c-gold); }
.label-card__icon--gender    { background: rgba(46,125,94,0.12);  color: var(--c-teal-mid); }
.label-card__icon--indigenous{ background: rgba(176,122,26,0.12); color: var(--c-amber); }
.label-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.label-card__desc {
  font-size: 0.8rem;
  color: var(--c-mid);
  line-height: 1.55;
}

/* ── ANNEXES TABLE ─────────────────────────────────────────── */
.annexes {
  padding: var(--space-3xl) 0;
  background: var(--c-teal-xpale);
}
.annex-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.annex-table {
  width: 100%;
  background: var(--c-white);
  font-size: 0.875rem;
}
.annex-table thead {
  background: var(--c-teal-dark);
  color: var(--c-white);
}
.annex-table th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--f-mono);
  white-space: nowrap;
}
.annex-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-mid);
  line-height: 1.5;
}
.annex-table tbody tr:last-child td { border-bottom: none; }
.annex-table tbody tr:hover { background: var(--c-teal-xpale); }
.annex-ref {
  font-family: var(--f-mono);
  font-weight: 600;
  color: var(--c-teal-dark) !important;
  font-size: 1rem !important;
  text-align: center;
}
.cls {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.cls--I   { background: rgba(46,125,94,0.12);  color: var(--cls-I); }
.cls--II  { background: rgba(176,122,26,0.12); color: var(--cls-II); }
.cls--III { background: rgba(26,74,58,0.12);   color: var(--cls-III); }

/* ── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  padding: var(--space-3xl) 0;
  background: var(--c-white);
}
.cta-box {
  background: var(--c-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(46,125,94,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box__badge {
  display: inline-flex;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  border: 1px solid rgba(201,168,76,0.3);
  margin-bottom: var(--space-lg);
}
.cta-box__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: var(--space-md);
}
.cta-box__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}
.cta-box__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.cta-box__companions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--f-mono);
}
.cta-box__companions a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.cta-box__companions a:hover { color: var(--c-white); }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--c-navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-2xl) 0 var(--space-xl);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; }
}
.footer__brand {}
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--f-mono);
  line-height: 1.6;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
@media (max-width: 600px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer__col-head {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-sm);
}
.footer__col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--c-white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
