/* ═══════════════════════════════════════════════════════════
   MTAL — Deep Seam Design System
   Museo × Museo Sans
   Adobe palette: #034159 #025951 #02735E #038C3E #0CF25D
═══════════════════════════════════════════════════════════ */

/* ── Museo (slab serif) — loaded from GitHub raw URLs ─────
   NOTE: for production, download these OTFs into static/fonts/
   and update the src URLs to relative paths (../fonts/...)
──────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Museo';
  src: url('../fonts/Museo300-Regular.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo';
  src: url('../fonts/Museo300-Italic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Museo';
  src: url('../fonts/Museo500-Regular.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo';
  src: url('../fonts/Museo500-Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Museo';
  src: url('../fonts/Museo700-Regular.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Museo Sans — add your files to static/fonts/ and uncomment ───
@font-face {
  font-family: 'MuseoSans';
  src: url('../fonts/MuseoSans-300.woff2') format('woff2'),
       url('../fonts/MuseoSans-300.woff')  format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MuseoSans';
  src: url('../fonts/MuseoSans-500.woff2') format('woff2'),
       url('../fonts/MuseoSans-500.woff')  format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
─────────────────────────────────────────────────────────── */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── Custom Properties ── */
:root {
  /* Colour variables are defined in option2.css (default) and option1.css (alternate). */

  --font-display: 'Museo', 'Georgia', serif;
  --font-body:    'MuseoSans', 'Outfit', 'Helvetica Neue', sans-serif;

  --max-w: 1280px;
  --px: clamp(1.5rem, 5vw, 4rem);
  --section-py: clamp(5rem, 10vw, 9rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

body {
  background-color: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--white);
}
.section-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--green-neon);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--teal-mid);
}

.body-text {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--cream-muted);
  line-height: 1.8;
  max-width: 52ch;
}
.body-text--center { text-align: center; max-width: 56ch; margin: 0 auto; }

/* ── Layout helpers ── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-py) var(--px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
}

.btn--primary {
  background: var(--green-neon);
  color: #010C12;
  border-color: var(--green-neon);
}
.btn--primary:hover {
  background: #3DF57A;
  border-color: #3DF57A;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--cream-muted);
  border-color: var(--border-light);
}
.btn--ghost:hover {
  color: var(--cream);
  border-color: var(--green-neon);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--border-light);
}
.btn--outline:hover {
  border-color: var(--teal-light);
  color: var(--green-neon);
}

.btn--copper {
  background: transparent;
  color: var(--teal-light);
  border-color: var(--teal-mid);
}
.btn--copper:hover {
  background: rgba(2, 115, 94, 0.15);
  border-color: var(--teal-light);
}

.btn--nav {
  background: var(--surface-3);
  color: var(--green-neon);
  border-color: var(--border-light);
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
}
.btn--nav:hover {
  background: var(--surface-4);
  border-color: var(--green-forest);
  color: var(--green-neon);
}

.btn--card {
  background: transparent;
  color: var(--green-forest);
  border-color: transparent;
  padding: 0.5rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.btn--card:hover { color: var(--green-neon); }

.btn--lg { padding: 1rem 2.4rem; font-size: 0.85rem; }

/* ═══════════════════════════════
   NAVIGATION
═══════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--px);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(1, 12, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-right: 1.5rem;
}
.nav__logo-mark {
  font-size: 1.1rem;
  color: var(--green-forest);
  line-height: 1;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--white);
}
.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 2.5rem);
  flex: 1;
  padding: 0;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: 1.5rem;
}
.nav__secondary-link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream-muted);
  padding: 0.5rem 0.25rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__secondary-link:hover {
  color: var(--white);
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--green-neon);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); }
/* ── Theme toggle ── */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0;
  flex-shrink: 0;
}
.theme-toggle__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s, opacity 0.3s;
  white-space: nowrap;
}
/* Default = Minetech active (thumb right, label-2 lit) */
.theme-toggle__label--1 { color: var(--cream-muted); opacity: 0.5; }
.theme-toggle__label--2 { color: #F5A623; opacity: 1; }

.theme-toggle__track {
  width: 38px;
  height: 20px;
  border: 1px solid rgba(245, 166, 35, 0.5);
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.12);
  position: relative;
  transition: border-color 0.35s, background 0.35s;
  flex-shrink: 0;
}
.theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #F5A623;
  box-shadow: 0 0 6px rgba(245, 166, 35, 0.8);
  transform: translateX(18px);
  transition: transform 0.35s var(--ease-out), background 0.35s, box-shadow 0.35s;
}

/* Option 1 (Deep Seam) toggle state — thumb left, label-1 lit */
html[data-theme="option1"] .theme-toggle__thumb {
  transform: translateX(0);
  background: var(--green-neon);
  box-shadow: 0 0 6px var(--green-neon);
}
html[data-theme="option1"] .theme-toggle__track {
  border-color: var(--border-light);
  background: var(--surface-3);
}
html[data-theme="option1"] .theme-toggle__label--1 { color: var(--green-neon); opacity: 1; }
html[data-theme="option1"] .theme-toggle__label--2 { color: var(--cream-muted); opacity: 0.5; }

/* ── Burger ── */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream-muted);
  transition: all 0.3s;
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.topo-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.scan-line {
  animation: scanDown 6s linear infinite;
  transform-origin: 0 0;
}

@keyframes scanDown {
  0%   { transform: translateY(-20px); opacity: 0; }
  5%   { opacity: 0.35; }
  95%  { opacity: 0.35; }
  100% { transform: translateY(910px); opacity: 0; }
}

.hero__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(12, 242, 93, 0.05) 0%,
    rgba(2, 115, 94, 0.05) 35%,
    transparent 70%);
  pointer-events: none;
}

/* Dark vignette on left side to make text readable */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(1, 12, 18, 0.88) 0%,
    rgba(1, 12, 18, 0.58) 45%,
    rgba(1, 12, 18, 0.12) 100%
  );
  pointer-events: none;
  z-index: 1;
}
/* Bottom gradient */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-neon);
  border: 1px solid rgba(12, 242, 93, 0.25);
  padding: 0.45rem 1rem;
  margin-bottom: 2rem;
  background: rgba(12, 242, 93, 0.04);
}
.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-neon);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.6); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--green-neon);
}

.hero__sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--cream-muted);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__coords {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
  font-variant-numeric: tabular-nums;
}
.coord-divider { color: var(--border-light); }

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: var(--px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
}
.hero__scroll-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--teal-mid));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ═══════════════════════════════
   STATS
═══════════════════════════════ */
.stats {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 2rem 2.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat:last-child { border-right: none; }

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--green-neon);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
}
.stat__suffix {
  font-size: 0.55em;
  color: var(--green-forest);
  font-weight: 400;
}
.stat__label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--cream-muted);
  line-height: 1.4;
}

/* ═══════════════════════════════
   ABOUT
═══════════════════════════════ */
.about { background: var(--bg); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 3.5rem;
}
.about__copy .section-headline { margin-bottom: 1.5rem; }
.about__copy .body-text { margin-bottom: 1.25rem; }
.about__copy .btn { margin-top: 1.5rem; }

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.pillar:first-child { border-top: 1px solid var(--border); }

.pillar__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: transform 0.3s var(--ease-out);
}
.pillar:hover .pillar__icon { transform: scale(1.1); }

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.35rem;
  grid-column: 2;
}
.pillar p {
  font-size: 0.88rem;
  color: var(--cream-muted);
  line-height: 1.7;
  grid-column: 2;
}

/* ═══════════════════════════════
   SERVICES
═══════════════════════════════ */
.services {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}
.services .section-headline { margin-bottom: 4rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}

.service-card {
  background: var(--surface-2);
  padding: 2.5rem;
  position: relative;
  transition: background 0.3s;
}
.service-card:hover { background: var(--surface-3); }

.service-card__number {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--teal-mid);
  margin-bottom: 1.5rem;
}

.service-card__visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border-radius: 2px;
  background: var(--surface-3);
  overflow: hidden;
  position: relative;
}

/* GeoScan rings */
.geo-rings {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--teal-mid);
}
.r1 { width: 90px; height: 90px; opacity: 0.15; animation: ringPulse 3s ease-in-out infinite 0s; }
.r2 { width: 64px; height: 64px; opacity: 0.25; animation: ringPulse 3s ease-in-out infinite 0.5s; }
.r3 { width: 38px; height: 38px; opacity: 0.45; animation: ringPulse 3s ease-in-out infinite 1s; }
.geo-dot {
  width: 8px; height: 8px;
  background: var(--green-neon);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--green-neon);
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.05); opacity: 0.45; }
}

/* OptiMine bars */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  padding: 0 1rem;
}
.bar {
  width: 12px;
  background: var(--surface-4);
  border: 1px solid var(--border-light);
  transition: height 1s var(--ease-out);
  position: relative;
}
.bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, var(--surface-3), var(--teal-mid));
  opacity: 0.7;
  transform: scaleY(var(--h, 0));
  transform-origin: bottom;
  transition: transform 1.2s var(--ease-out);
}
.bar--active::after {
  background: linear-gradient(to top, var(--green-forest), var(--green-neon));
  opacity: 1;
}
.service-card.in-view .bar::after { transform: scaleY(1); }
.chart-line {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--green-forest), transparent);
  opacity: 0.3;
}

/* Token hex */
.token-hex { width: 80px; height: 80px; }

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.service-card__body {
  font-size: 0.88rem;
  color: var(--cream-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-card__features li {
  font-size: 0.78rem;
  color: var(--cream-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.service-card__features li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--teal-mid);
  flex-shrink: 0;
}

/* ═══════════════════════════════
   PROCESS
═══════════════════════════════ */
.process { background: var(--bg); }
.process .section-headline { margin-bottom: 5rem; }

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  padding: 0 2.5rem;
  border-left: 1px solid var(--border);
  position: relative;
}
.process-step:first-child { padding-left: 0; border-left: none; }

.process-step__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--teal-mid);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.process-step__num::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--border-light);
}

.process-step__content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.process-step__content p {
  font-size: 0.85rem;
  color: var(--cream-muted);
  line-height: 1.75;
}

.process-connector {
  width: 1px;
  display: none; /* steps use border-left instead */
}

/* ═══════════════════════════════
   GOVERNANCE
═══════════════════════════════ */
.governance {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}

.governance__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: var(--section-py) var(--px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.governance__copy .section-headline { margin-bottom: 1.5rem; }
.governance__copy .body-text { margin-bottom: 2.5rem; }

.token-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
}
.token-fact {
  background: var(--surface-2);
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.token-fact__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.token-fact__value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--green-neon);
}

/* Token diagram */
.governance__visual { display: flex; justify-content: center; align-items: center; }

.token-diagram {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.token-diagram__ring {
  position: absolute;
  border-radius: 50%;
}

.ring-outer {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(2, 115, 94, 0.35);
  animation: tokenSpin 20s linear infinite;
}
.ring-mid {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(2, 89, 81, 0.30);
  animation: tokenSpin 14s linear infinite reverse;
}
.token-diagram__core {
  width: 90px;
  height: 90px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.token-diagram__core svg {
  animation: tokenPulse 3s ease-in-out infinite;
}
@keyframes tokenSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes tokenPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.ring-label {
  position: absolute;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
  white-space: nowrap;
}
.rl-1 { top: 10px; left: 50%; transform: translateX(-50%); }
.rl-2 { right: -4px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.rl-3 { bottom: 10px; left: 50%; transform: translateX(-50%); }
.rl-4 { left: -4px; top: 50%; transform: translateY(-50%) rotate(-90deg); }

/* ═══════════════════════════════
   SPONSOR / PROJECTS
═══════════════════════════════ */
.sponsor { background: var(--bg); }
.sponsor .section-headline { margin-bottom: 1rem; }
.sponsor .body-text { margin-bottom: 3.5rem; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  margin-bottom: 4rem;
}

.project-card {
  background: var(--surface-1);
  padding: 2.2rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.project-card:hover { background: var(--surface-2); }

/* ── Coming Soon overlay ── */
.coming-soon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 10, 30, 0.72);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 10;
  border: 1px solid rgba(245, 166, 35, 0.18);
}
.coming-soon-overlay__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-neon);
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(245, 166, 35, 0.45);
  border-radius: 2px;
  background: rgba(245, 166, 35, 0.06);
}

.project-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.project-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid rgba(2, 115, 94, 0.35);
  padding: 0.25rem 0.6rem;
  background: rgba(2, 115, 94, 0.08);
}

.project-status {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.status--active { color: #7ECBA6; }
.status--upcoming { color: var(--cream-muted); }

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.project-card__location {
  font-size: 0.75rem;
  color: var(--cream-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
}

.project-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.project-metric { display: flex; flex-direction: column; gap: 0.2rem; }
.pm-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.pm-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--green-neon);
}

.project-card__bar {
  height: 2px;
  background: var(--border-light);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.project-bar-fill {
  height: 100%;
  width: var(--pct, 0%);
  background: linear-gradient(to right, var(--teal-mid), var(--green-neon));
  transition: width 1.5s var(--ease-out);
}

.sponsor__cta {
  text-align: center;
  border: 1px solid var(--border);
  padding: 3rem;
  background: var(--surface-1);
}
.sponsor__cta p {
  font-size: 0.9rem;
  color: var(--cream-muted);
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════
   CTA BAND
═══════════════════════════════ */
.cta-band {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.cta-band__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7rem var(--px);
  text-align: center;
  position: relative;
}
.cta-band__topo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  pointer-events: none;
}
.cta-band__topo svg { width: 100%; max-width: 900px; }

.cta-band__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-band__sub {
  font-size: 1rem;
  color: var(--cream-muted);
  margin-bottom: 2.5rem;
  position: relative;
}
.cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
}
.footer__brand .nav__logo { margin-bottom: 1rem; }
.footer__tagline {
  font-size: 0.9rem;
  color: var(--cream);
  letter-spacing: 0.06em;
  font-style: italic;
  font-family: var(--font-display);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.5rem;
}
.footer__col a {
  font-size: 0.92rem;
  color: var(--cream);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--green-neon); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__bottom p {
  font-size: 0.82rem;
  color: var(--cream-muted);
  max-width: 60ch;
}
.footer__login {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--teal-light);
  flex-shrink: 0;
  transition: color 0.2s;
}
.footer__login:hover { color: var(--green-neon); }

/* ═══════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal--delay-1.in-view { transition-delay: 0.12s; }
.reveal--delay-2.in-view { transition-delay: 0.24s; }
.reveal--delay-3.in-view { transition-delay: 0.36s; }
.reveal--delay-4.in-view { transition-delay: 0.50s; }

/* ═══════════════════════════════
   SINGLE / LIST PAGE LAYOUTS
═══════════════════════════════ */
.page-main {
  min-height: 80vh;
  padding: var(--section-py) var(--px);
  background: var(--bg);
}
.page-inner {
  max-width: 860px;
  margin: 0 auto;
}
.page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.page-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}
.page-description {
  font-size: 1.1rem;
  color: var(--cream-muted);
  line-height: 1.7;
  max-width: 65ch;
}
.page-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--cream-muted);
  margin-top: 1rem;
}
.page-content {
  color: var(--cream);
  line-height: 1.8;
  font-size: 1rem;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  margin: 2.5rem 0 1rem;
}
.page-content h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--teal-light);
  margin: 2rem 0 0.75rem;
}
.page-content p { margin-bottom: 1.4rem; }
.page-content ul, .page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.page-content li { margin-bottom: 0.4rem; }
.page-content a { color: var(--teal-light); text-decoration: underline; }
.page-content blockquote {
  border-left: 2px solid var(--green-neon);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  color: var(--cream-muted);
  font-style: italic;
}

.page-content figure.float-right {
  float: right;
  width: 320px;
  margin: 0 0 1.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.page-content figure.float-right img {
  width: 100%;
  height: auto;
  display: block;
}

.page-content figure.float-right figcaption {
  font-size: 0.75rem;
  color: var(--cream-muted);
  padding: 0.5rem 0.75rem;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .page-content figure.float-right {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
  }
}

/* ── Post / list grid ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.post-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s;
}
.post-card:hover { border-color: var(--border-light); }
.post-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.35;
}
.post-card__title a { color: var(--white); }
.post-card__title a:hover { color: var(--teal-light); }
.post-card__summary { font-size: 0.9rem; color: var(--cream-muted); line-height: 1.6; }
.post-card__meta { font-size: 0.78rem; color: var(--cream-muted); display: flex; gap: 1rem; margin-top: auto; padding-top: 0.5rem; }
.post-card .btn--card { margin-top: 0.5rem; align-self: flex-start; }

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pagination__btn {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream-muted);
  border: 1px solid var(--border-light);
  padding: 0.5rem 0.9rem;
  transition: color 0.2s, border-color 0.2s;
}
.pagination__btn:hover { color: var(--white); border-color: var(--teal-mid); }
.pagination__btn--active { color: var(--green-neon); border-color: var(--green-neon); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--border); }
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .services__grid { grid-template-columns: 1fr; gap: 1.5px; }
  .governance__grid { grid-template-columns: 1fr; gap: 4rem; }
  .governance__visual { order: -1; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .theme-toggle { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface-2);
    align-items: center;
    justify-content: center;
    z-index: 99;
    gap: 1.5rem;
  }
  .nav__links.open a {
    font-size: 1.3rem;
    font-family: var(--font-display);
    color: var(--cream);
    font-weight: 300;
  }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .process__steps { flex-direction: column; gap: 2rem; }
  .process-step { border-left: none; border-top: 1px solid var(--border); padding: 2rem 0 0; }
  .process-step:first-child { border-top: none; padding-top: 0; }
  .hero__sub .br-desktop { display: none; }
  .token-diagram { width: 240px; height: 240px; }
  .ring-outer { width: 220px; height: 220px; }
  .ring-mid { width: 148px; height: 148px; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .cta-band__actions { flex-direction: column; align-items: center; }
  .pillar { grid-template-columns: 40px 1fr; }
}

@media (max-width: 480px) {
  .stats__inner { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .project-card__metrics { grid-template-columns: 1fr 1fr; }
  .sponsor__cta { padding: 2rem 1.5rem; }
}

/* ─── Noise overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  color: white;
  background-color: var(--surface-1);
  padding: 10px 16px;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: var(--surface-3);
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
}

.dropdown-content a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: white;
}

.dropdown-content a:hover {
  background: #f1f1f1;
  color: gray;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown:focus-within .dropdown-content {
  display: block;
}

input.email {
    height: 48px;
    padding: 20px;
    margin-right: 2em;
}
