/* =================================================================
   BLIP — landing page
   Plain CSS, no build step, matches the rest of this repo's stack
   (see server/admin/*.html for the same "no framework" convention).
   Organized by component, in the same order they appear in index.html.
   ================================================================= */

:root {
  /* --- palette -------------------------------------------------- */
  /* Sampled from Spike/Assets.xcassets/AppIcon.appiconset/icon.png
     (the frog/sprout mark, corner pixel ~#010107) so the hero image
     blends into the page instead of sitting in a visible square. */
  --void: #06070a;
  --void-soft: #0b0f0d;
  --paper: #f6f4ee;
  --paper-alt: #efece2;
  --ink: #0c0d0b;
  --ink-soft: #3a3f38;
  --muted: #767b71;
  --muted-on-dark: #9aa39a;
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --line-on-light: rgba(12, 13, 11, 0.12);

  /* Used sparingly: buttons, glow, tiny highlights — never as a fill. */
  --accent: #57e38c;
  --accent-deep: #1f8f52;
  --accent-soft: rgba(87, 227, 140, 0.16);
  --amber: #f2c14e;

  --font-display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
}

/* --- reset ------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
section { position: relative; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  left: 0;
  top: -100%;
  z-index: 200;
  padding: 0.6em 1em;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- shared utilities --------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex-shrink: 0;
}
.eyebrow--dark { color: var(--accent-deep); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title--light { color: var(--paper); }

.section-lede {
  margin-top: 1.1em;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  color: var(--muted);
}
.gameplay .section-lede { color: var(--muted-on-dark); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.8em;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  overflow: hidden;
}
.btn > span { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset;
}
.btn--primary:hover {
  box-shadow: 0 10px 30px -8px rgba(87, 227, 140, 0.45);
}
.btn--lg {
  padding: 1.15em 2.4em;
  font-size: 0.9rem;
}

.btn--ghost {
  border: 1px solid var(--line-on-dark);
  color: var(--paper);
}
.hero .btn--ghost { color: var(--paper); }
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn__ping {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.btn.is-pinged .btn__ping::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--accent);
  animation: btnPing 0.9s var(--ease) forwards;
}
@keyframes btnPing {
  from { opacity: 0.9; transform: scale(1); }
  to { opacity: 0; transform: scale(1.35); }
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* --- scroll reveal -------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.float {
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}

/* =================================================================
   NAVBAR
   ================================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-on-dark);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.nav__logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-on-dark);
}
.nav__links a {
  transition: color 0.25s var(--ease);
}
.nav__links a:hover { color: var(--paper); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav__cta {
  display: none;
  padding: 0.55em 1.15em;
  border-radius: 999px;
  border: 1px solid var(--line-on-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__cta:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
  max-height: 0;
  overflow: hidden;
  background: rgba(6, 7, 10, 0.96);
  backdrop-filter: blur(18px);
  transition: max-height 0.4s var(--ease);
}
.nav__mobile[data-open="true"] {
  max-height: 320px;
}
.nav__mobile a {
  display: block;
  padding: 1.05rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--paper);
  border-top: 1px solid var(--line-on-dark);
}
.nav__mobile-cta {
  color: var(--accent) !important;
  font-weight: 600;
}

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none; }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--void);
  overflow: hidden;
  padding: 7.5rem 1.5rem 4rem;
}

.hero__field {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__stars {
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 90px 60px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 140px 140px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 40px 170px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 190px 20px, rgba(255,255,255,0.7), transparent);
  background-repeat: repeat;
  background-size: 220px 220px;
  opacity: 0.55;
}

.hero__rings {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 1px;
  height: 1px;
}
.hero__rings span {
  position: absolute;
  top: 0;
  left: 0;
  width: 620px;
  height: 620px;
  margin: -310px;
  border-radius: 50%;
  border: 1px solid rgba(87, 227, 140, 0.16);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__rings span {
    animation: ringPulse 6s var(--ease) infinite;
  }
  .hero__rings span:nth-child(2) { animation-delay: 1.4s; }
  .hero__rings span:nth-child(3) { animation-delay: 2.8s; }
  .hero__rings span:nth-child(4) { animation-delay: 4.2s; }
}
@keyframes ringPulse {
  0% { transform: scale(0.55); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: scale(1); opacity: 0; }
}

.hero__glow {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(87, 227, 140, 0.18), transparent 70%);
  filter: blur(10px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__copy { max-width: 640px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 10vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 34px rgba(87, 227, 140, 0.45);
}

.hero__desc {
  margin-top: 1.6rem;
  max-width: 34ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted-on-dark);
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__mark-rings {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 227, 140, 0.14), transparent 62%);
}
.hero__mark {
  position: relative;
  width: min(70vw, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__mark { animation: markFloat 8s ease-in-out infinite; }
}
@keyframes markFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.chip--float {
  position: absolute;
  animation: floatY 7s ease-in-out infinite;
}
.chip--a { top: 6%; left: -4%; animation-delay: 0.4s; }
.chip--b { bottom: 10%; right: -6%; animation-delay: 1.6s; }

.hero__scroll {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-top: 3rem;
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--line-on-dark);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__scroll span {
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll span { animation: scrollDot 1.8s ease-in-out infinite; }
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  71% { transform: translateY(0); opacity: 0; }
  100% { opacity: 1; }
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
  .hero__visual { justify-content: flex-end; }
  .hero__mark { width: min(38vw, 460px); }
  .hero__scroll { position: absolute; left: 1.5rem; bottom: 2.5rem; margin-top: 0; }
}

/* =================================================================
   WORLD SECTION
   ================================================================= */
.world {
  background: var(--paper);
  padding: clamp(5rem, 10vw, 8rem) 1.5rem;
}
.world__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.world__list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}
.world__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line-on-light);
}

.world__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-width: 420px;
  border-radius: 20px;
  background: var(--paper-alt);
  border: 1px solid var(--line-on-light);
  box-shadow: 0 24px 50px -30px rgba(12, 13, 11, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* explore: radar sweep — fixed px scope (not % of a 16:10 box) so the
   rings stay true circles instead of being squashed into an ellipse. */
.radar__scope {
  position: relative;
  width: clamp(150px, 40vw, 220px);
  height: clamp(150px, 40vw, 220px);
}
.radar__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(31, 143, 82, 0.26);
  border-radius: 50%;
}
.radar__ring--inner { inset: 22%; }
.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
}
.radar__sweep::before {
  content: "";
  position: absolute;
  inset: -2%;
  background: conic-gradient(from 0deg, rgba(31, 143, 82, 0.5), transparent 26deg, transparent 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .radar__sweep::before { animation: spin 4.5s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.radar__dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 5px rgba(31, 143, 82, 0.16);
}
.radar__dot--a { top: 26%; left: 66%; }
.radar__dot--b { top: 62%; left: 32%; }
@media (prefers-reduced-motion: no-preference) {
  .radar__dot { animation: radarBlip 3s ease-in-out infinite; }
  .radar__dot--b { animation-delay: 1.1s; }
}
@keyframes radarBlip {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* build: growing skyline */
.world__visual--build { align-items: flex-end; justify-content: center; gap: 0.85rem; padding: 2.2rem 12% 16%; }
.grow__bar {
  position: relative;
  width: 16%;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, var(--accent-deep), rgba(31, 143, 82, 0.55));
  transform-origin: bottom;
}
.grow__bar--1 { height: 34%; }
.grow__bar--2 { height: 58%; }
.grow__bar--3 { height: 88%; }
.grow__sprout {
  position: absolute;
  top: -1.55rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  line-height: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .world__item[data-reveal] .grow__bar {
    transform: scaleY(0);
    transition: transform 0.9s var(--ease);
  }
  .world__item[data-reveal].is-visible .grow__bar { transform: scaleY(1); }
  .world__item[data-reveal].is-visible .grow__bar--1 { transition-delay: 0.1s; }
  .world__item[data-reveal].is-visible .grow__bar--2 { transition-delay: 0.25s; }
  .world__item[data-reveal].is-visible .grow__bar--3 { transition-delay: 0.4s; }
  .grow__sprout { animation: floatY 4.5s ease-in-out infinite; }
}

/* compete: two claims colliding */
.clash__arena {
  position: absolute;
  width: 68%;
  height: 68%;
  border: 1px dashed rgba(12, 13, 11, 0.14);
  border-radius: 50%;
}
.clash__dot {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  transform: rotate(45deg);
}
.clash__dot--a { left: 22%; background: var(--ink-soft); }
.clash__dot--b { right: 22%; background: var(--accent-deep); }
.clash__spark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 193, 78, 0.95), transparent 72%);
}
.clash__shock {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 193, 78, 0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .clash__dot--a { animation: clashA 2.8s ease-in-out infinite; }
  .clash__dot--b { animation: clashB 2.8s ease-in-out infinite; }
  .clash__spark { animation: clashSpark 2.8s ease-in-out infinite; }
  .clash__shock { animation: clashShock 2.8s ease-in-out infinite; }
}
@keyframes clashA { 0%, 100% { left: 22%; transform: rotate(45deg); } 50% { left: 42%; transform: rotate(135deg); } }
@keyframes clashB { 0%, 100% { right: 22%; transform: rotate(45deg); } 50% { right: 42%; transform: rotate(135deg); } }
@keyframes clashSpark {
  0%, 38% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.2); }
  64%, 100% { opacity: 0; transform: scale(0.3); }
}
@keyframes clashShock {
  0%, 42% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 0.8; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(3.4); }
}

.world__text { max-width: 420px; }
.world__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.6em;
}
.world__text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.world__text p {
  margin-top: 0.5em;
  color: var(--muted);
  font-size: 1.02rem;
}

@media (min-width: 760px) {
  .world__item {
    grid-template-columns: 420px 1fr;
    gap: 3.5rem;
  }
  .world__item:nth-child(even) .world__visual { order: 2; }
  .world__item:nth-child(even) .world__text { order: 1; }
}

/* =================================================================
   GAMEPLAY SECTION
   ================================================================= */
.gameplay {
  background: var(--void-soft);
  padding: clamp(5rem, 10vw, 8rem) 1.5rem;
  overflow: hidden;
}
.gameplay__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.gameplay .section-head { max-width: 700px; }

.gameplay__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.gameplay__stage {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: 22px;
  border: 1px solid var(--line-on-dark);
  background:
    radial-gradient(circle at 30% 20%, rgba(87, 227, 140, 0.1), transparent 55%),
    #0e130f;
  overflow: hidden;
}
.stage__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 95%);
}

.stage__zone {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.stage__zone--a {
  width: 46%;
  height: 46%;
  top: 8%;
  left: 6%;
  background: radial-gradient(circle, rgba(87, 227, 140, 0.16), transparent 70%);
}
.stage__zone--b {
  width: 38%;
  height: 38%;
  bottom: 6%;
  right: 8%;
  background: radial-gradient(circle, rgba(242, 193, 78, 0.12), transparent 70%);
}

.stage__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px;
  border-radius: 50%;
  border: 1px solid rgba(87, 227, 140, 0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .stage__pulse { animation: stagePulse 3.4s var(--ease) infinite; }
  .stage__pulse--delay { animation-delay: 1.7s; }
}
@keyframes stagePulse {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(6.5); opacity: 0; }
}
.stage__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 1.4rem;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.45));
}

.stage__entity {
  position: absolute;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.4));
}
.stage__entity--building1 { top: 16%; left: 14%; }
.stage__entity--building2 { bottom: 14%; left: 22%; font-size: clamp(1.3rem, 2.6vw, 1.9rem); opacity: 0.9; }
.stage__entity--creature1 { top: 22%; right: 16%; animation-delay: 0.3s; }
.stage__entity--creature2 { bottom: 18%; right: 12%; animation-delay: 1.4s; }

.stage__chip {
  position: absolute;
  font-family: var(--font-display);
}
.stage__chip--a { top: 8%; right: 8%; }
.stage__chip--b { bottom: 9%; left: 8%; }

.gameplay__facts {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gameplay__facts li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-on-dark);
  color: var(--muted-on-dark);
  font-size: 0.98rem;
  line-height: 1.6;
}
.gameplay__facts li:last-child { border-bottom: 1px solid var(--line-on-dark); }
.fact__mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--paper);
  margin-bottom: 0.35em;
}

@media (min-width: 940px) {
  .gameplay__layout {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 4rem;
  }
}

/* =================================================================
   PROGRESSION SECTION
   ================================================================= */
.progression {
  background: var(--paper-alt);
  padding: clamp(5rem, 10vw, 8rem) 1.5rem;
}
.progression__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.path__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.path__glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 12px 30px -14px rgba(12, 13, 11, 0.35);
  font-size: 1.7rem;
}
.path__step:nth-child(1) .path__glyph { width: 54px; height: 54px; font-size: 1.3rem; }
.path__step:nth-child(3) .path__glyph { width: 76px; height: 76px; font-size: 1.9rem; }
.path__step:nth-child(5) .path__glyph { width: 86px; height: 86px; font-size: 2.1rem; }
.path__step--mystery { position: relative; }
.path__step--mystery::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 104px;
  height: 104px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(31, 143, 82, 0.3);
}
.path__glyph--mystery {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .path__step--mystery .path__glyph--mystery {
    animation: mysteryShimmer 3.2s ease-in-out infinite;
  }
  .path__step--mystery::before {
    animation: ringPulse 3.2s var(--ease) infinite;
  }
}
@keyframes mysteryShimmer {
  0%, 100% { transform: scale(1) rotate(0deg); filter: hue-rotate(0deg); }
  45% { transform: scale(1.08) rotate(-4deg); filter: hue-rotate(40deg); }
  55% { transform: scale(0.97) rotate(3deg); }
}
.path__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.path__line {
  width: 1.5px;
  height: 2.5rem;
  background: var(--line-on-light);
}

@media (min-width: 760px) {
  .path {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0;
  }
  .path__line {
    width: 100%;
    height: 1.5px;
    margin-bottom: 34px;
    background: var(--line-on-light);
  }
}

/* =================================================================
   FINAL CTA
   ================================================================= */
.final-cta {
  background: var(--void);
  padding: clamp(6rem, 14vw, 10rem) 1.5rem;
  overflow: hidden;
  text-align: center;
}
.final-cta__field { z-index: 0; }
.final-cta__glow {
  top: 20%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 90vw;
  height: 90vw;
  max-width: 900px;
  max-height: 900px;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.final-cta .eyebrow {
  font-size: 0.95rem;
  justify-content: center;
}
.final-cta__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 14vw, 8rem);
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1;
  margin-bottom: 0.6em;
}
.final-cta__caption {
  margin-top: 1.4rem;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: var(--void);
  border-top: 1px solid var(--line-on-dark);
  padding: 2.2rem 1.5rem;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--paper);
}
.footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}
.footer__links a:hover { color: var(--paper); }
.footer__meta {
  font-size: 0.8rem;
  color: var(--muted-on-dark);
}
