/* ============================================================
   Revealify — landing site
   Aesthetic: cinematic "cultural atlas" — deep navy, editorial
   serif display, cartographic mono labels, brand gradient accents.
   ============================================================ */

:root {
  --navy-950: #05080f;
  --navy-900: #080d1c;
  --navy-850: #0a1124;
  --navy-800: #0e1733;
  --ink: #f3efe6;
  --muted: rgba(243, 239, 230, 0.62);
  --faint: rgba(243, 239, 230, 0.4);
  --line: rgba(243, 239, 230, 0.1);
  --line-strong: rgba(243, 239, 230, 0.18);

  --green: #2bbd8c;
  --indigo: #8e86ec;
  --pink: #e96a93;

  --grad: linear-gradient(105deg, #2bbd8c 0%, #8e86ec 52%, #e96a93 100%);

  --display: "Fraunces", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  background: var(--navy-900);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Atmosphere ─────────────────────────────────────────────── */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(43, 189, 140, 0.16), transparent 60%),
    radial-gradient(55% 55% at 88% 18%, rgba(142, 134, 236, 0.16), transparent 60%),
    radial-gradient(70% 60% at 75% 95%, rgba(233, 106, 147, 0.14), transparent 62%),
    linear-gradient(180deg, var(--navy-850), var(--navy-950));
}
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Shared ─────────────────────────────────────────────────── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) clamp(1.25rem, 5vw, 2.5rem);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.1rem;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--muted);
  max-width: 46ch;
  margin-top: 1.5rem;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glass {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
}
.lead + .lead { margin-top: 1.1rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid {
  background: var(--grad);
  color: #07101a;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(142, 134, 236, 0.32);
}
.btn-solid:hover { box-shadow: 0 12px 40px rgba(233, 106, 147, 0.4); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover { border-color: var(--green); color: #fff; }
.btn-ghost { padding: 0.6rem 1.1rem; font-size: 0.88rem; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--green); }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 5vw, 2.5rem);
  background: rgba(8, 13, 28, 0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark { border-radius: 9px; display: block; }
.brand-name { font-family: var(--display); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { white-space: nowrap; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 11vw, 8.5rem) clamp(1.25rem, 5vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
/* Keep the hero copy above the globe canvas (so text stays interactive and the
   globe sits behind it on the left, beside it on the right). */
.hero-inner { position: relative; z-index: 2; }
/* Hero spinning Earth — equirectangular texture scrolled inside a circular
   mask (translateX(-50%) of two side-by-side maps loops seamlessly), with a
   shading overlay for the sphere + a soft brand glow behind. */
.hero-globe {
  position: fixed;       /* fixed backdrop — keeps animating as the page scrolls */
  right: clamp(-60px, -2vw, 16px);
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;           /* behind all content; globe.js fades it on scroll */
  display: grid;
  place-items: center;
  pointer-events: none;  /* purely ambient — never intercepts clicks/scroll */
}
.globe-glow {
  position: absolute;
  width: clamp(320px, 46vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%, rgba(43, 189, 140, 0.4), transparent 55%),
    radial-gradient(circle at 68% 66%, rgba(233, 106, 147, 0.38), transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(142, 134, 236, 0.3), transparent 66%);
  filter: blur(52px);
  opacity: 0.7;
  animation: float 16s ease-in-out infinite;
}
/* The Three.js dot-globe (globe.js) fills this box; the .globe-glow behind it
   provides the brand-colored halo. Sits on the right of the hero. */
.hero-globe-canvas {
  width: clamp(340px, 50vw, 640px);
  aspect-ratio: 1;
}
.hero-globe-canvas canvas { display: block; width: 100%; height: 100%; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-26px) scale(1.04); }
}
.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-top: 0.4rem;
}
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--muted);
  max-width: 40ch;
  margin-top: 1.8rem;
}
.hero-sub em { color: var(--ink); font-style: normal; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stats dt { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.stats dd { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-top: 0.5rem; }

/* ── How it works ───────────────────────────────────────────── */
.steps {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.step { padding: 1.8rem 1.6rem; }
.step-no { font-family: var(--mono); font-size: 0.8rem; color: var(--green); letter-spacing: 0.15em; }
.step h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; margin: 0.7rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ── Categories ─────────────────────────────────────────────── */
.cat-grid {
  list-style: none;
  padding: 0;
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.cat {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.15rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.08rem;
  transition: padding-left 0.25s ease, color 0.25s ease;
}
.cat:hover { padding-left: 1rem; color: #fff; }
.cat-no { font-family: var(--mono); font-size: 0.78rem; color: var(--green); }

/* ── Global scope ───────────────────────────────────────────── */
.scope { text-align: center; }
.scope .lead { margin-left: auto; margin-right: auto; }
.flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.4rem;
}
.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.025);
}
.flag-chip img { border-radius: 3px; display: block; }
/* Equal fixed width + single line so swapping country names never changes a
   chip's size — the row's layout (and wrap) stays identical every cycle, so
   nothing below it jumps. (Long names are abbreviated in main.js.) */
.flags .flag-chip:not(.more) {
  width: 11rem;
  flex: none;
  justify-content: center;
  white-space: nowrap;
}
/* Cycling chips fade as their country swaps (see main.js). */
.flag-chip.cycle { transition: opacity 0.34s ease, transform 0.34s ease; will-change: opacity, transform; }
.flag-chip .chip-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flag-chip.more { color: var(--faint); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; }

/* Flowing flag marquee — many countries scrolling; pauses on hover */
.flag-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.flag-track {
  display: flex;
  gap: 0.7rem;
  width: max-content;
  animation: flag-scroll 64s linear infinite;
}
.flag-track img {
  height: 30px;
  width: 45px;
  flex: none;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
@keyframes flag-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.flag-marquee:hover .flag-track { animation-play-state: paused; }

/* ── For nations ────────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
  margin-top: 3rem;
}
.pillar { padding: 1.9rem 1.7rem; }
.pillar h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.6rem; }
.pillar p { color: var(--muted); font-size: 0.98rem; }

/* ── Waitlist ───────────────────────────────────────────────── */
.waitlist { display: flex; justify-content: center; }
.waitlist-card { width: 100%; max-width: 680px; padding: clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.waitlist .lead { margin: 1.2rem auto 0; }
#waitlist-form {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
#waitlist-email {
  flex: 1 1 260px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}
#waitlist-email::placeholder { color: var(--faint); }
#waitlist-email:focus { border-color: var(--green); }
.form-msg { min-height: 1.4rem; margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--pink); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem clamp(1.25rem, 5vw, 2.5rem) 4rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-mark { width: 150px; height: auto; border-radius: 14px; opacity: 0.95; }
.footer-tag { font-family: var(--display); font-size: 1.05rem; color: var(--muted); margin-top: 1.2rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin: 1.6rem 0; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--faint); }

/* ── Hero kicker (Explore · Reveal · Discover) ──────────────── */
.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.kicker span { position: relative; }
.kicker span + span::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}

/* ── Glass card lift ────────────────────────────────────────── */
.step, .pillar, .challenge, .poll, .rank, .waitlist-card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease, background 0.3s ease;
}
.step:hover, .pillar:hover, .challenge:hover, .poll:hover, .rank:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

/* ── Manifesto triad ────────────────────────────────────────── */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(142, 134, 236, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.018);
}
.triad { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.triad-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.triad-item {
  padding: 0.4rem clamp(1rem, 3vw, 2rem);
  border-left: 1px solid var(--line);
}
.triad-item:first-child { border-left: none; padding-left: 0; }
.triad-no {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--green);
}
.triad-item p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-top: 0.9rem;
}

/* ── Ethos chips ────────────────────────────────────────────── */
.ethos {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.2rem;
}
.ethos li {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

/* ── The Problem ────────────────────────────────────────────── */
.problem-grid {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.1rem;
}
.challenge { padding: 1.7rem 1.6rem; }
.challenge-no {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--pink);
}
.challenge h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0.7rem 0 0.5rem;
}
.challenge p { color: var(--muted); font-size: 0.96rem; }

/* ── Problem pull-quote ─────────────────────────────────────── */
.pullquote {
  margin: 2.4rem 0 0.5rem;
  padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 2px solid var(--pink);
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.7rem, 4.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

/* ── The Engine (patent moat) ───────────────────────────────── */
.engine-panel {
  margin-top: 2.6rem;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.8rem);
  align-items: center;
}
.engine-lead { font-size: clamp(1.05rem, 1.9vw, 1.25rem); color: var(--muted); }
.engine-lead strong { color: var(--ink); font-weight: 600; }
.engine-lead em { color: var(--ink); font-style: italic; }
.engine-stats {
  display: grid;
  gap: 1.4rem;
  border-left: 1px solid var(--line);
  padding-left: clamp(1.2rem, 3vw, 2rem);
}
.engine-stats dt {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.engine-stats dt span { font-size: 0.45em; color: var(--faint); -webkit-text-fill-color: var(--faint); }
.engine-stats dd {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 0.5rem;
}
.moat {
  list-style: none;
  padding: 0;
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
}
.moat-item {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 1.1rem 0.3rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}
.moat-no { font-family: var(--mono); font-size: 0.76rem; color: var(--indigo); }

/* ── The Solution (infrastructure) ──────────────────────────── */
.infra {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.infra-item {
  display: flex;
  gap: clamp(1rem, 4vw, 2.4rem);
  align-items: baseline;
  padding: 1.6rem 0.3rem;
  border-bottom: 1px solid var(--line);
}
.infra-no {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--green);
  flex: none;
  width: 2.2rem;
}
.infra-item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: 0.35rem;
}
.infra-item p { color: var(--muted); font-size: 1rem; max-width: 52ch; }

/* ── Tourism intelligence ───────────────────────────────────── */
.polls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
  margin-top: 3rem;
}
.poll { position: relative; padding: 2rem 1.8rem 1.7rem; overflow: hidden; }
.poll-tag {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}
.poll h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.poll p { color: var(--muted); font-size: 0.98rem; }
.poll p em { color: var(--ink); font-style: normal; font-weight: 500; }
.flow { margin-top: 1.6rem; display: grid; gap: 0.6rem; }
.flow span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.flow i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.poll.in .flow i { width: var(--w, 70%); }
.flow span:nth-child(1) i { --w: 88%; transition-delay: 0.05s; }
.flow span:nth-child(2) i { --w: 64%; transition-delay: 0.15s; }
.flow span:nth-child(3) i { --w: 47%; transition-delay: 0.25s; }
.flow span:nth-child(4) i { --w: 31%; transition-delay: 0.35s; }
.note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 2rem;
  max-width: 60ch;
  font-size: 0.95rem;
  color: var(--muted);
}
.note-dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(43, 189, 140, 0.18);
}

/* ── Annual recognition ─────────────────────────────────────── */
.recognition { position: relative; text-align: center; overflow: hidden; }
.recognition .eyebrow { color: var(--indigo); }
.recognition .lead { margin-left: auto; margin-right: auto; }
.orbit {
  position: absolute;
  top: clamp(2rem, 6vw, 4rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 90vw);
  aspect-ratio: 1;
  z-index: -1;
  opacity: 0.5;
}
.orbit span {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px dashed rgba(142, 134, 236, 0.3);
}
.orbit span:nth-child(1) { width: 100%; height: 100%; animation: spin 80s linear infinite; }
.orbit span:nth-child(2) { width: 70%; height: 70%; border-color: rgba(43, 189, 140, 0.28); animation: spin 56s linear infinite reverse; }
.orbit span:nth-child(3) { width: 42%; height: 42%; border-color: rgba(233, 106, 147, 0.28); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.podium {
  list-style: none;
  padding: 0;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 760px;
  align-items: end;
}
.rank {
  padding: 1.8rem 1.2rem;
  text-align: center;
}
.rank-no {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rank h3 {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.98rem;
  margin-top: 0.7rem;
  color: var(--ink);
}
.rank-1 {
  order: 2;
  padding-top: 2.6rem;
  padding-bottom: 2.6rem;
  border-color: rgba(142, 134, 236, 0.4);
  background: rgba(142, 134, 236, 0.07);
}
.rank-1 .rank-no { font-size: 3rem; }
.rank-2 { order: 1; }
.rank-3 { order: 3; }
.criteria {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.7rem;
  margin: 2.4rem auto 0;
}
.criteria li {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.disclaimer {
  max-width: 54ch;
  margin: 1.8rem auto 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  line-height: 1.5;
}

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
/* stagger children inside grids */
.steps .step:nth-child(2), .pillars .pillar:nth-child(2),
.polls .poll:nth-child(2), .triad-grid .triad-item:nth-child(2) { transition-delay: 0.08s; }
.steps .step:nth-child(3), .pillars .pillar:nth-child(3),
.triad-grid .triad-item:nth-child(3) { transition-delay: 0.16s; }
.problem-grid .challenge:nth-child(2), .infra-item:nth-child(2) { transition-delay: 0.06s; }
.problem-grid .challenge:nth-child(3), .infra-item:nth-child(3) { transition-delay: 0.12s; }
.problem-grid .challenge:nth-child(4), .infra-item:nth-child(4) { transition-delay: 0.18s; }
.problem-grid .challenge:nth-child(5) { transition-delay: 0.24s; }
.problem-grid .challenge:nth-child(6) { transition-delay: 0.3s; }
.podium .rank-2 { transition-delay: 0.08s; }
.podium .rank-1 { transition-delay: 0.16s; }
.moat-item:nth-child(2) { transition-delay: 0.06s; }
.moat-item:nth-child(3) { transition-delay: 0.12s; }
.moat-item:nth-child(4) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .globe-glow, .flag-track, .orbit span { animation: none; }
  .poll.in .flow i { transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .triad-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .triad-item { border-left: none; padding-left: 0; padding-right: 0; }
  .triad-item:not(:first-child) { padding-top: 1.6rem; border-top: 1px solid var(--line); }
  /* Engine: stack the paragraph over the stats. */
  .engine-panel { grid-template-columns: 1fr; gap: 1.6rem; }
  .engine-stats {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 1.6rem;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  /* Show the whole globe, centered behind the hero copy — clearly a globe and
     still auto-rotating. Decorative (no drag), so it never blocks taps/scroll. */
  .hero-globe {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }
  .hero-globe-canvas { width: min(86vw, 380px); }
  .globe-glow { width: min(98vw, 460px); opacity: 0.5; }
  /* Podium → simple stack in natural rank order. */
  .podium { grid-template-columns: 1fr; }
  .rank-1, .rank-2, .rank-3 { order: 0; }
  .rank-1 { padding-top: 1.8rem; padding-bottom: 1.8rem; }
}
