/* ============================================================
   TERAVENT NATURE-BASED CARBON STANDARD — TNS v1.0
   Stylesheet · Teravent Design System
   ============================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Core palette — matches TNS v1.0 document exactly */
  --c-bg: #061209; /* page dark base              */
  --c-forest: #0b1f10; /* deep forest                 */
  --c-green-dark: #1a3d1a; /* primary dark green (docx)   */
  --c-green-mid: #2d6a2d; /* primary brand green (docx)  */
  --c-green-light: #4a8c4a; /* hover / accent              */
  --c-green-pale: #d9ead3; /* light tint (docx match)     */
  --c-green-xpale: #eef6e8; /* surface backgrounds         */
  --c-gold: #8b6914; /* amber gold accent (docx)    */
  --c-gold-bright: #c9a84c; /* hover gold                  */
  --c-gold-pale: #fff8dc; /* gold surface                */
  --c-white: #ffffff;
  --c-ink: #0f1f0f; /* body text on light          */
  --c-text: #2a4a2a; /* secondary text              */
  --c-muted: #5a7a5a; /* muted / meta                */
  --c-border: #b8d4b8; /* border on light             */
  --c-border-dark: rgba(255, 255, 255, 0.09); /* border on dark     */
  --c-surface: #f2f8ef; /* card surfaces               */

  /* Permanence class accents */
  --cls-I-bg: rgba(45, 106, 45, 0.14);
  --cls-I-fg: #2d6a2d;
  --cls-II-bg: rgba(139, 105, 20, 0.14);
  --cls-II-fg: #8b6914;

  /* Credit type accents */
  --removal-bg: rgba(26, 100, 45, 0.16);
  --removal-fg: #1e7a38;
  --avoid-bg: rgba(100, 70, 20, 0.16);
  --avoid-fg: #8b5e14;

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

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

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(26, 61, 26, 0.1), 0 1px 2px rgba(26, 61, 26, 0.06);
  --sh-md: 0 4px 14px rgba(26, 61, 26, 0.13), 0 2px 6px rgba(26, 61, 26, 0.07);
  --sh-lg: 0 12px 36px rgba(26, 61, 26, 0.18), 0 4px 14px rgba(26, 61, 26, 0.1);

  --ease: 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.65;
  -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(--sp-xl);
}
@media (max-width: 768px) {
  .container {
    padding: 0 var(--sp-lg);
  }
}

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

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.72rem 1.6rem;
  border-radius: var(--r-sm);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-green-mid);
  color: var(--c-white);
  border-color: var(--c-green-mid);
}
.btn--primary:hover {
  background: var(--c-green-light);
  border-color: var(--c-green-light);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}
.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.38);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-border);
}
.btn--ghost-dark:hover {
  color: var(--c-green-dark);
  background: var(--c-green-xpale);
  border-color: var(--c-green-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.74rem;
  font-weight: 500;
  letter-spacing: 0.07em;
}
.badge--green {
  background: var(--c-green-mid);
  color: var(--c-white);
}
.badge--outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

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

.section-header__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-green-mid);
  margin-bottom: var(--sp-md);
}
.section-header__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.12;
  margin-bottom: var(--sp-md);
}
.section-header__sub {
  font-size: 1rem;
  color: var(--c-text);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.72;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(6, 18, 9, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-border-dark);
  transition: background var(--ease);
}
.nav.nav--scrolled {
  background: rgba(26, 61, 26, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 28px;
  height: 28px;
  background: var(--c-green-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.16em;
  color: var(--c-white);
}
.nav__suite {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.08em;
  padding-left: var(--sp-lg);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  list-style: none;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--ease);
  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-green-mid);
  padding: 0.42rem 1.1rem;
  border-radius: var(--r-sm);
  transition: background var(--ease);
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--c-green-light);
}
.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(--ease);
}
@media (max-width: 900px) {
  .nav__suite,
  .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-bg);
    padding: var(--sp-xl);
    gap: var(--sp-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 199;
  }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-bg);
  padding-top: 64px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero__orb--1 {
  width: 750px;
  height: 750px;
  top: -180px;
  right: -160px;
  background: radial-gradient(
    circle,
    rgba(45, 106, 45, 0.32) 0%,
    transparent 68%
  );
  animation: orb 16s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 420px;
  height: 420px;
  bottom: -80px;
  left: -80px;
  background: radial-gradient(
    circle,
    rgba(74, 140, 74, 0.2) 0%,
    transparent 70%
  );
  animation: orb 21s ease-in-out infinite alternate-reverse;
}
.hero__orb--3 {
  width: 320px;
  height: 320px;
  top: 45%;
  left: 38%;
  background: radial-gradient(
    circle,
    rgba(139, 105, 20, 0.1) 0%,
    transparent 70%
  );
  animation: orb 13s ease-in-out infinite alternate;
}
@keyframes orb {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(28px, 18px) scale(1.07);
  }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-xl);
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 7.5vw, 5.6rem);
  font-weight: 600;
  line-height: 1.03;
  color: var(--c-white);
  margin-bottom: var(--sp-xl);
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  color: var(--c-gold-bright);
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.78;
  max-width: 580px;
  margin-bottom: var(--sp-2xl);
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero__meta-val {
  font-family: var(--f-mono);
  font-size: 1.05rem;
  color: var(--c-white);
  font-weight: 500;
}
.hero__meta-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hero__meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}
.hero__actions {
  display: flex;
  gap: var(--sp-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.28);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--f-mono);
  transition: opacity var(--ease);
}

/* ================================================================
   PREAMBLE — white section with green top border
   ================================================================ */
.preamble {
  padding: var(--sp-3xl) 0;
  background: var(--c-white);
  border-top: 4px solid var(--c-green-mid);
}
.preamble__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}
@media (max-width: 768px) {
  .preamble__grid {
    grid-template-columns: 1fr;
  }
}
.preamble__text {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--c-text);
  margin-bottom: var(--sp-lg);
}
.preamble__text strong {
  color: var(--c-ink);
  font-weight: 600;
}
.preamble__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
@media (max-width: 500px) {
  .preamble__facts {
    grid-template-columns: 1fr;
  }
}
.fact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--c-green-xpale);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: all var(--ease);
}
.fact-card:hover {
  border-color: var(--c-green-mid);
  box-shadow: var(--sh-sm);
}
.fact-card__icon {
  width: 32px;
  height: 32px;
  color: var(--c-green-mid);
  flex-shrink: 0;
}
.fact-card__icon svg {
  width: 100%;
  height: 100%;
}
.fact-card__label {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 3px;
  font-family: var(--f-mono);
}
.fact-card__val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-ink);
}

/* ================================================================
   PERMANENCE — forest dark section
   ================================================================ */
.permanence {
  padding: var(--sp-3xl) 0;
  background: var(--c-forest);
}
.permanence .section-header__eyebrow {
  color: var(--c-gold-bright);
}
.permanence .section-header__title {
  color: var(--c-white);
}
.permanence .section-header__sub {
  color: rgba(255, 255, 255, 0.6);
}

.perm-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}
@media (max-width: 768px) {
  .perm-cards {
    grid-template-columns: 1fr;
  }
}

.perm-card {
  padding: var(--sp-2xl);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-dark);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: all var(--ease);
}
.perm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.perm-card--I::before {
  background: var(--cls-I-fg);
}
.perm-card--II::before {
  background: var(--c-gold-bright);
}
.perm-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.perm-card__class {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--sp-sm);
}
.perm-card--I .perm-card__class {
  color: #7ec87e;
}
.perm-card--II .perm-card__class {
  color: var(--c-gold-bright);
}
.perm-card__name {
  font-family: var(--f-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: var(--sp-xs);
  line-height: 1.2;
}
.perm-card__horizon {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.perm-card__desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.72;
  margin-bottom: var(--sp-lg);
}
.perm-card__buffer {
  font-family: var(--f-mono);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: var(--r-sm);
  display: inline-block;
  margin-bottom: var(--sp-md);
}
.perm-card--I .perm-card__buffer {
  background: rgba(126, 200, 126, 0.15);
  color: #7ec87e;
}
.perm-card--II .perm-card__buffer {
  background: rgba(201, 168, 76, 0.18);
  color: var(--c-gold-bright);
}
.perm-card__examples {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.32);
  font-style: italic;
  line-height: 1.55;
}
.perm-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-lg);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.68;
}
.perm-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-gold-bright);
}

/* ================================================================
   MODULES — white section
   ================================================================ */
.modules {
  padding: var(--sp-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(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.module-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  background: var(--c-white);
  transition: background var(--ease);
  cursor: default;
}
.module-item:hover {
  background: var(--c-green-xpale);
}
.module-item__num {
  font-family: var(--f-mono);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--c-border);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--sp-xl) 0 var(--sp-xl) var(--sp-xl);
  transition: color var(--ease);
}
.module-item:hover .module-item__num {
  color: var(--c-green-mid);
}
.module-item__body {
  padding: var(--sp-xl);
  border-left: 1px solid var(--c-border);
}
.module-item__title {
  font-family: var(--f-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--sp-sm);
}
.module-item__desc {
  font-size: 0.88rem;
  color: var(--c-text);
  line-height: 1.68;
  margin-bottom: var(--sp-md);
}
.module-item__tags {
  display: flex;
  gap: var(--sp-xs);
  flex-wrap: wrap;
}

/* ================================================================
   PATHWAYS — darkest forest section
   ================================================================ */
.pathways {
  padding: var(--sp-3xl) 0;
  background: var(--c-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pathway-filter {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
}
.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--c-white);
}
.filter-btn--active {
  background: var(--c-green-mid);
  border-color: var(--c-green-mid);
  color: var(--c-white);
}

.pathway-grid-nature {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: var(--sp-lg);
}
.pw-card {
  cursor: pointer;
  background: rgba(45, 106, 45, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.pw-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--ease);
}
.pw-card[data-class="I"]::before {
  background: var(--cls-I-fg);
}
.pw-card[data-class="II"]::before {
  background: var(--c-gold-bright);
}
.pw-card:hover {
  background: rgba(45, 106, 45, 0.16);
  border-color: rgba(45, 106, 45, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}
.pw-card:hover::before {
  opacity: 1;
}

.pw-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-sm);
}
.pw-card__annex {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.pw-card__type {
  display: inline-flex;
  padding: 0.18rem 0.52rem;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pw-card__type--removal {
  background: var(--removal-bg);
  color: #4ad47a;
}
.pw-card__type--avoidance {
  background: var(--avoid-bg);
  color: #d4a84a;
}

.pw-card__class {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-md);
}
.pw-card__class--I {
  background: rgba(45, 106, 45, 0.28);
  color: #7ec87e;
}
.pw-card__class--II {
  background: rgba(201, 168, 76, 0.22);
  color: var(--c-gold-bright);
}

.pw-card__title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.28;
  margin-bottom: var(--sp-md);
}
.pw-card__desc {
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.62;
  margin-bottom: var(--sp-md);
}
.pw-card__methods {
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.26);
  letter-spacing: 0.03em;
}

/* ================================================================
   CREDITS — white section
   ================================================================ */
.credits-band {
  padding: var(--sp-3xl) 0;
  background: var(--c-white);
  border-top: 4px solid var(--c-green-mid);
}

/* Serial demo */
.serial-demo {
  background: var(--c-green-dark);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.serial-demo__label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: var(--sp-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.72rem, 2vw, 1rem);
  margin-bottom: var(--sp-md);
  cursor: pointer;
}
.serial-seg {
  padding: 0.3rem 0.62rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: transform var(--ease);
}
.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.96);
  color: var(--c-ink);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.66rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
  z-index: 20;
}
.serial-seg:hover::after {
  opacity: 1;
}
.serial-sep {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.serial-seg--registry {
  background: rgba(45, 106, 45, 0.38);
  color: #7ec87e;
}
.serial-seg--standard {
  background: rgba(201, 168, 76, 0.3);
  color: var(--c-gold-bright);
}
.serial-seg--pathway {
  background: rgba(74, 140, 74, 0.32);
  color: #9ed89e;
}
.serial-seg--country {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
}
.serial-seg--project {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
}
.serial-seg--vintage {
  background: rgba(201, 168, 76, 0.22);
  color: var(--c-gold-bright);
}
.serial-seg--unit {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.32);
}

.serial-demo__legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.32);
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: var(--sp-md);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}
.legend-dot--registry {
  background: #7ec87e;
}
.legend-dot--standard {
  background: var(--c-gold-bright);
}
.legend-dot--pathway {
  background: #9ed89e;
}
.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-gold-bright);
}
.legend-dot--unit {
  background: rgba(255, 255, 255, 0.15);
}

/* Formula strip */
.serial-demo__formula {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.serial-demo__formula-label {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: var(--sp-md);
}
.serial-demo__formula-eq {
  font-family: var(--f-mono);
  font-size: clamp(0.7rem, 1.6vw, 0.88rem);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-md);
  padding: var(--sp-lg) var(--sp-xl);
  line-height: 1.8;
}

/* Labels grid */
.labels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-md);
}
.label-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-green-xpale);
  transition: all var(--ease);
}
.label-card:hover {
  border-color: var(--c-green-mid);
  box-shadow: var(--sh-sm);
  background: var(--c-white);
}
.label-card__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 7px;
}
.label-card__icon svg {
  width: 100%;
  height: 100%;
}
.label-card__icon--bio {
  background: rgba(45, 106, 45, 0.14);
  color: var(--c-green-mid);
}
.label-card__icon--water {
  background: rgba(45, 106, 45, 0.14);
  color: var(--c-green-mid);
}
.label-card__icon--live {
  background: rgba(139, 105, 20, 0.14);
  color: var(--c-gold);
}
.label-card__icon--gender {
  background: rgba(45, 106, 45, 0.14);
  color: var(--c-green-mid);
}
.label-card__icon--indigenous {
  background: rgba(139, 105, 20, 0.14);
  color: var(--c-gold);
}
.label-card__icon--frontier {
  background: rgba(201, 168, 76, 0.16);
  color: var(--c-gold-bright);
}
.label-card__content {
  flex: 1;
}
.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-text);
  line-height: 1.56;
}

/* ================================================================
   ANNEXES — green-pale section
   ================================================================ */
.annexes {
  padding: var(--sp-3xl) 0;
  background: var(--c-green-xpale);
  border-top: 1px solid var(--c-border);
}
.annex-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-md);
}
.annex-table {
  width: 100%;
  background: var(--c-white);
  font-size: 0.84rem;
}
.annex-table thead {
  background: var(--c-green-dark);
  color: var(--c-white);
}
.annex-table th {
  padding: var(--sp-md) var(--sp-lg);
  text-align: left;
  font-weight: 600;
  font-size: 0.73rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--f-mono);
  white-space: nowrap;
}
.annex-table td {
  padding: 0.78rem var(--sp-lg);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  line-height: 1.5;
  vertical-align: middle;
}
.annex-table tbody tr:last-child td {
  border-bottom: none;
}
.annex-table tbody tr:hover {
  background: var(--c-green-xpale);
}
.annex-ref {
  font-family: var(--f-mono);
  font-weight: 700;
  color: var(--c-green-dark) !important;
  font-size: 1rem !important;
  text-align: center;
}
.cls {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.cls--I {
  background: var(--cls-I-bg);
  color: var(--cls-I-fg);
}
.cls--II {
  background: var(--cls-II-bg);
  color: var(--cls-II-fg);
}
.ctype {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.ctype--removal {
  background: var(--removal-bg);
  color: var(--removal-fg);
}
.ctype--avoidance {
  background: var(--avoid-bg);
  color: var(--avoid-fg);
}

/* ================================================================
   CTA
   ================================================================ */
.cta-section {
  padding: var(--sp-3xl) 0;
  background: var(--c-white);
}
.cta-box {
  background: var(--c-green-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    rgba(45, 106, 45, 0.35) 0%,
    transparent 68%
  );
  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.11em;
  color: var(--c-gold-bright);
  border: 1px solid rgba(201, 168, 76, 0.3);
  margin-bottom: var(--sp-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(--sp-md);
}
.cta-box__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin: 0 auto var(--sp-2xl);
  line-height: 1.78;
}
.cta-box__actions {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
}
.cta-box__companions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  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(--ease);
}
.cta-box__companions a:hover {
  color: var(--c-white);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--c-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: var(--sp-2xl) 0 var(--sp-xl);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}
.footer__tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--f-mono);
  line-height: 1.6;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
@media (max-width: 600px) {
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.footer__col-head {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: var(--sp-sm);
}
.footer__col a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--ease);
}
.footer__col a:hover {
  color: var(--c-white);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.52s ease,
    transform 0.52s 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;
  }
}
