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

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Core palette — matches TTS v1.0 document exactly */
  --c-bg:          #060D1A;        /* page dark base              */
  --c-navy:        #0D2B4E;        /* primary dark                */
  --c-navy-deep:   #071524;        /* deeper sections             */
  --c-blue:        #185FA5;        /* primary brand blue          */
  --c-blue-bright: #2E86D4;        /* hover / accent              */
  --c-blue-pale:   #CFE2F3;        /* light tint (docx match)     */
  --c-blue-xpale:  #EDF4FB;        /* surface backgrounds         */
  --c-gold:        #C9A84C;        /* accent gold                 */
  --c-gold-bright: #E8C56A;        /* hover gold                  */
  --c-gold-pale:   #FFF8E8;        /* gold surface                */
  --c-white:       #FFFFFF;
  --c-ink:         #0B1929;        /* body text on light          */
  --c-text:        #2A4A66;        /* secondary text              */
  --c-muted:       #5A7A96;        /* muted / meta                */
  --c-border:      #B8D4EA;        /* border on light             */
  --c-border-dark: rgba(255,255,255,0.10); /* border on dark      */
  --c-surface:     #F0F6FD;        /* card surfaces               */

  /* Credit type accents */
  --ctype-R-bg:    rgba(26,120,74,0.18);
  --ctype-R-fg:    #22A862;
  --ctype-D-bg:    rgba(180,100,30,0.18);
  --ctype-D-fg:    #D4862A;

  /* Durability class accents */
  --cls-I-bg:      rgba(24,95,165,0.12);
  --cls-I-fg:      #185FA5;
  --cls-II-bg:     rgba(13,110,110,0.12);
  --cls-II-fg:     #0D7A7A;
  --cls-III-bg:    rgba(201,168,76,0.18);
  --cls-III-fg:    #C9A84C;

  /* 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(13,43,78,0.10), 0 1px 2px rgba(13,43,78,0.06);
  --sh-md: 0 4px 14px rgba(13,43,78,0.13), 0 2px 6px rgba(13,43,78,0.07);
  --sh-lg: 0 12px 36px rgba(13,43,78,0.18), 0 4px 14px rgba(13,43,78,0.10);

  --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-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
}
.btn--primary:hover {
  background: var(--c-blue-bright);
  border-color: var(--c-blue-bright);
  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.10);
  border-color: rgba(255,255,255,0.65);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-border);
}
.btn--ghost-dark:hover {
  background: var(--c-blue-xpale);
  border-color: var(--c-blue);
}

/* ── 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--blue    { background: var(--c-blue);  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-blue-xpale);
  color: var(--c-navy);
  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-blue);
  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, 13, 26, 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(13, 43, 78, 0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
  border-bottom-color: rgba(24,95,165,0.3);
}
.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-blue);
  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-blue);
  padding: 0.42rem 1.1rem;
  border-radius: var(--r-sm);
  transition: background var(--ease);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--c-blue-bright); }
.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-navy);
    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: -180px;
  background: radial-gradient(circle, rgba(24,95,165,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(46,134,212,0.20) 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(201,168,76,0.09) 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.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 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); }
.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
   ================================================================ */
.preamble {
  padding: var(--sp-3xl) 0;
  background: var(--c-white);
  border-top: 4px solid var(--c-blue);
}
/* Preamble fact cards use blue-xpale surface */
.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-blue-xpale);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: all var(--ease);
}
.fact-card:hover {
  border-color: var(--c-blue);
  box-shadow: var(--sh-sm);
}
.fact-card__icon { width: 32px; height: 32px; color: var(--c-blue); 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); }

/* ================================================================
   CREDIT TYPES — navy dark section
   ================================================================ */
.credit-types {
  padding: var(--sp-3xl) 0;
  background: var(--c-bg);
}
.credit-types .section-header__eyebrow { color: var(--c-gold-bright); }
.credit-types .section-header__title   { color: var(--c-white); }
.credit-types .section-header__sub     { color: rgba(255,255,255,0.6); }

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

.ctype-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);
}
.ctype-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.ctype-card--removal::before  { background: var(--ctype-R-fg); }
.ctype-card--reduction::before { background: var(--ctype-D-fg); }
.ctype-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);
}
.ctype-card__badge {
  display: inline-flex;
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-lg);
}
.ctype-card--removal .ctype-card__badge  { background: var(--ctype-R-bg); color: var(--ctype-R-fg); }
.ctype-card--reduction .ctype-card__badge { background: var(--ctype-D-bg); color: var(--ctype-D-fg); }
.ctype-card__title {
  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;
}
.ctype-card__sub {
  font-family: var(--f-mono);
  font-size: 0.76rem; color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.ctype-card__desc {
  font-size: 0.92rem; color: rgba(255,255,255,0.62);
  line-height: 1.72; margin-bottom: var(--sp-lg);
}
.ctype-card__pathways-label {
  font-family: var(--f-mono);
  font-size: 0.66rem; letter-spacing: 0.11em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-sm);
}
.ctype-card__pathways-list {
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ================================================================
   DURABILITY — deep navy-blue section
   ================================================================ */
.durability {
  padding: var(--sp-3xl) 0;
  background: var(--c-navy);
}
.durability .section-header__eyebrow { color: var(--c-gold-bright); }
.durability .section-header__title   { color: var(--c-white); }
.durability .section-header__sub     { color: rgba(255,255,255,0.6); }

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

.dur-card {
  padding: var(--sp-xl);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  transition: all var(--ease);
  position: relative; overflow: hidden;
}
.dur-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.dur-card--I::before   { background: var(--cls-I-fg); }
.dur-card--II::before  { background: var(--cls-II-fg); }
.dur-card--III::before { background: var(--c-gold); }
.dur-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.4);
}
.dur-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);
}
.dur-card--I .dur-card__class   { color: #5BAAEE; }
.dur-card--II .dur-card__class  { color: #3ED6D6; }
.dur-card--III .dur-card__class { color: var(--c-gold-bright); }
.dur-card__name {
  font-family: var(--f-display);
  font-size: 1.65rem; font-weight: 600;
  color: var(--c-white);
  margin-bottom: var(--sp-xs); line-height: 1.2;
}
.dur-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.08);
}
.dur-card__desc {
  font-size: 0.88rem; color: rgba(255,255,255,0.58);
  line-height: 1.68; margin-bottom: var(--sp-lg);
}
.dur-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);
}
.dur-card--I .dur-card__buffer   { background: rgba(91,170,238,0.15);  color: #5BAAEE; }
.dur-card--II .dur-card__buffer  { background: rgba(62,214,214,0.15);  color: #3ED6D6; }
.dur-card--III .dur-card__buffer { background: rgba(201,168,76,0.18);  color: var(--c-gold-bright); }
.dur-card__examples {
  font-size: 0.76rem; color: rgba(255,255,255,0.32);
  font-style: italic; line-height: 1.55;
}
.dur-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;
}
.dur-note strong { color: var(--c-gold-bright); }
.dur-note svg { flex-shrink: 0; margin-top: 2px; color: var(--c-gold); }

/* ================================================================
   MODULES — white section with subtle blue tint
   ================================================================ */
.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-blue-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-blue); }
.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 navy section
   ================================================================ */
.pathways {
  padding: var(--sp-3xl) 0;
  background: var(--c-navy);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.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-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: var(--sp-lg);
}
.pw-card {
  background: rgba(255,255,255,0.04);
  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="II"]::before  { background: var(--cls-II-fg); }
.pw-card[data-class="III"]::before { background: var(--c-gold); }
.pw-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
  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__ctype {
  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__ctype--R  { background: var(--ctype-R-bg); color: var(--ctype-R-fg); }
.pw-card__ctype--D  { background: var(--ctype-D-bg); color: var(--ctype-D-fg); }
.pw-card__ctype--RD { background: rgba(24,95,165,0.25); color: #7EBDE8; }

.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--II  { background: rgba(13,122,122,0.22); color: #3ED6D6; }
.pw-card__class--III { 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-blue);
}

/* Serial number demo */
.serial-demo {
  background: var(--c-bg);
  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.10);
}
.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.68rem, 1.8vw, 0.92rem);
  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.18); font-weight: 300; }

.serial-seg--registry  { background: rgba(24,95,165,0.35);   color: #7EBDE8; }
.serial-seg--standard  { background: rgba(201,168,76,0.28);  color: var(--c-gold-bright); }
.serial-seg--R         { background: rgba(26,120,74,0.32);   color: #3DD68C; font-weight: 700; }
.serial-seg--D         { background: rgba(180,100,30,0.32);  color: #F0A858; font-weight: 700; }
.serial-seg--pathway   { background: rgba(46,134,212,0.28);  color: #7EBDE8; }
.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: #7EBDE8; }
.legend-dot--standard { background: var(--c-gold-bright); }
.legend-dot--R        { background: #3DD68C; }
.legend-dot--D        { background: #F0A858; }
.legend-dot--pathway  { background: #7EBDE8; }
.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); }

/* Labels */
.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-surface);
  transition: all var(--ease);
}
.label-card:hover {
  border-color: var(--c-blue);
  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--permanent { background: rgba(201,168,76,0.16); color: var(--c-gold); }
.label-card__icon--frontier  { background: rgba(24,95,165,0.14);  color: var(--c-blue); }
.label-card__icon--zero      { background: rgba(13,122,122,0.14); color: var(--cls-II-fg); }
.label-card__icon--circular  { background: rgba(13,122,122,0.14); color: var(--cls-II-fg); }
.label-card__icon--community { background: rgba(24,95,165,0.14);  color: var(--c-blue); }
.label-card__icon--water     { background: rgba(24,95,165,0.14);  color: var(--c-blue); }
.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 — blue-pale section
   ================================================================ */
.annexes {
  padding: var(--sp-3xl) 0;
  background: var(--c-surface);
  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-bg);
  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-blue-xpale); transition: background 0.18s ease; }
.annex-ref {
  font-family: var(--f-mono); font-weight: 700;
  color: var(--c-navy) !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--II  { background: var(--cls-II-bg);  color: var(--cls-II-fg); }
.cls--III { background: rgba(13,43,78,0.10); color: var(--c-navy); }
.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--R  { background: var(--ctype-R-bg); color: var(--ctype-R-fg); }
.ctype--D  { background: var(--ctype-D-bg); color: var(--ctype-D-fg); }
.ctype--RD { background: var(--cls-I-bg);   color: var(--c-blue); }

/* ================================================================
   CTA
   ================================================================ */
.cta-section {
  padding: var(--sp-3xl) 0;
  background: var(--c-white);
}
.cta-box {
  background: var(--c-bg);
  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(24,95,165,0.38) 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.20);
}

/* ================================================================
   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; }
}
