/* Landing page — full-bleed art sections with smooth dark transitions,
   fixed glass nav, black pill CTAs, Press Start 2P throughout */

:root {
  --cream: #f4e7d0;
  --wood: #3a2731;
  --ink: #0d0d0d;
  --gold: #CCFF00;
  --fade: #0c1710;          /* shared dark tone where sections blend */
  --radius: 14px;
  --font-pixel: 'Press Start 2P', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--fade);
  color: var(--cream);
  font-family: var(--font-pixel);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* ---------- Shared ---------- */

.eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gold);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(16px, 2.4vw, 26px);
  line-height: 1.6;
  color: #fff;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
  margin-bottom: 26px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 18px 36px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.btn-pill:active { transform: translateY(1px); }

/* Full-bleed sections share this base; gradients blend them into --fade
   at the top and bottom so one flows smoothly into the next */
.features,
.story,
.hero-full {
  position: relative;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.features::before,
.story::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: linear-gradient(to bottom, var(--fade), transparent);
  pointer-events: none;
}

.hero-full::after,
.features::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(to top, var(--fade), transparent);
  pointer-events: none;
}

/* Sections 2 & 3 match the hero's full-viewport height */
.features,
.story {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 110px 24px;
  text-align: center;
}

/* ---------- Fixed glass nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px clamp(24px, 4vw, 56px);
}

.nav-logo { justify-self: start; }
.nav > .btn-outline { justify-self: end; }

/* Progressive blur: strongest at the top edge, fading to none at the
   nav's bottom. Two masked backdrop layers approximate the gradient. */
.nav::before,
.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.nav::before {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(to bottom, black 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 75%);
}

.nav::after {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
}

.nav-logo img { height: 48px; }

.btn-outline {
  font-family: var(--font-pixel);
  font-size: 11px;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  border: 3px solid #fff;
  border-radius: 999px;
  padding: 12px 24px;
  transition: background 0.12s, color 0.12s;
}

.btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
  opacity: 0.85;
  transition: opacity 0.12s;
}

.nav-link:hover { opacity: 1; }

.nav-social {
  display: inline-flex;
  align-items: center;
  color: #fff;
  opacity: 0.85;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
  transition: opacity 0.12s;
}

.nav-social:hover { opacity: 1; }

.nav-social svg {
  width: 18px;
  height: 18px;
}

/* ---------- Hero ---------- */

.hero-full {
  min-height: 100vh;
  background-image: url('assets/landing/hero.webp');
  display: flex;
  flex-direction: column;
}

.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 10vh;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: clamp(300px, 36vw, 520px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
  margin-bottom: 28px;
}

.hero-tagline {
  font-size: clamp(10px, 1.3vw, 13px);
  color: #fff;
  text-shadow: 2px 2px 0 rgba(20, 40, 24, 0.75);
  margin-bottom: 36px;
}

/* ---------- Features ---------- */

.features {
  background-image: url('assets/landing/forest.webp');
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  text-align: left;
}

.card {
  background: var(--cream);
  border: 6px solid var(--wood);
  border-radius: var(--radius);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.35);
  padding: 28px 24px;
}

.card h3 {
  font-size: 12px;
  line-height: 1.7;
  color: var(--wood);
  margin-bottom: 14px;
}

.card p {
  font-size: 9px;
  line-height: 2;
  color: #6d5440;
}

/* ---------- Story ---------- */

.story {
  background-image: url('assets/landing/camp.webp');
}

.story-inner {
  max-width: 720px;
}

.story-copy {
  font-size: 10px;
  line-height: 2.2;
  color: rgba(244, 231, 208, 0.92);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
  margin-bottom: 40px;
}

.story-copy em {
  font-style: normal;
  color: var(--gold);
}

/* ---------- Footer ---------- */

.footer {
  background: #000;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 8px;
  color: rgba(244, 231, 208, 0.65);
}

.footer a { color: var(--gold); }

.footer .x-link {
  display: inline-flex;
  color: rgba(244, 231, 208, 0.65);
  transition: color 0.12s;
}

.footer .x-link:hover { color: #fff; }

/* ---------- Lore page ---------- */

.lore-hero {
  position: relative;
  min-height: 100vh;
  background: url('assets/landing/hero.webp') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.lore-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 23, 16, 0.55) 0%, rgba(12, 23, 16, 0.35) 40%, var(--fade) 100%);
  z-index: 0;
  pointer-events: none;
}

.lore-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 130px 24px 60px;
  text-align: center;
}

.lore-hero h1 {
  font-family: var(--font-pixel);
  font-size: clamp(16px, 2.6vw, 28px);
  line-height: 1.7;
  color: #fff;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
  margin-bottom: 32px;
}

.lore-intro {
  font-size: 11px;
  line-height: 2.2;
  color: rgba(244, 231, 208, 0.92);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
  margin-bottom: 18px;
}

.lore-intro-soft {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
}

.lore-lands,
.lore-factions,
.lore-people,
.lore-cta {
  background: var(--fade);
  position: relative;
  isolation: isolate;
}

.lore-factions {
  background: url('assets/landing/forest.webp') center / cover no-repeat var(--fade);
}

.lore-factions::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--fade) 0%, rgba(12, 23, 16, 0.78) 30%, rgba(12, 23, 16, 0.78) 70%, var(--fade) 100%);
  z-index: 0;
  pointer-events: none;
}

.lore-factions .section-inner { z-index: 1; }

/* The Lands — single column, narrative entries */
.land-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  margin: 44px auto 0;
  text-align: left;
}

.land {
  background: var(--cream);
  border: 6px solid var(--wood);
  border-radius: var(--radius);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35);
  padding: 22px 28px;
}

.land h3 {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--wood);
  margin-bottom: 12px;
}

.land p {
  font-size: 10px;
  line-height: 2;
  color: var(--ink-soft, #6d5440);
}

/* Factions — pixel sprite + text card. 6-col grid lets us center the bottom row of 2 cards under the row of 3. */
.faction-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin: 44px auto 0;
  max-width: 1000px;
  text-align: left;
}

.faction-card { grid-column: span 2; }
.faction-card:nth-child(4) { grid-column: 2 / span 2; }
.faction-card:nth-child(5) { grid-column: 4 / span 2; }

.faction-card {
  background: var(--cream);
  border: 6px solid var(--wood);
  border-radius: var(--radius);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.35);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Show the first 192x192 frame natively — sprite sheets stored as <img> use object-fit */
.faction-img {
  width: 144px;
  height: 144px;
  object-fit: contain;
  image-rendering: pixelated;
  margin-bottom: 6px;
}

.faction-card h3 {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--wood);
  margin: 4px 0 14px;
  line-height: 1.7;
}

.faction-card p {
  font-size: 9px;
  line-height: 2;
  color: var(--ink-soft, #6d5440);
}

.faction-card.faction-red    { box-shadow: 0 10px 0 rgba(120, 30, 30, 0.45); }
.faction-card.faction-purple { box-shadow: 0 10px 0 rgba(60, 30, 110, 0.45); }
.faction-card.faction-black  { box-shadow: 0 10px 0 rgba(20, 20, 30, 0.55); }
.faction-card.faction-goblin { box-shadow: 0 10px 0 rgba(80, 60, 30, 0.45); }

/* The People — avatar-led cards */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 44px;
  text-align: left;
}

.person-card {
  background: var(--cream);
  border: 6px solid var(--wood);
  border-radius: var(--radius);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.35);
  padding: 24px 22px 26px;
  text-align: center;
}

.person-avatar {
  width: 128px;
  height: 128px;
  image-rendering: pixelated;
  margin: 0 auto 14px;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.25));
}

.person-card h3 {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--wood);
  margin-bottom: 8px;
}

.person-tag {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--gold);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 14px;
}

.person-card p:not(.person-tag) {
  font-size: 9px;
  line-height: 2;
  color: var(--ink-soft, #6d5440);
  text-align: left;
}

/* Final CTA */
.lore-cta {
  text-align: center;
}

.lore-cta .section-inner {
  padding: 130px 24px;
}

.lore-cta h2 {
  margin-bottom: 18px;
}

.lore-cta .lore-intro {
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ---------- Roadmap page ---------- */

.roadmap-hero {
  position: relative;
  background: url('assets/landing/camp.webp') center / cover no-repeat var(--fade);
  isolation: isolate;
}

.roadmap-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 23, 16, 0.6) 0%, rgba(12, 23, 16, 0.45) 45%, var(--fade) 100%);
  z-index: 0;
  pointer-events: none;
}

.roadmap-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 24px 90px;
  text-align: center;
}

.roadmap-hero h1 {
  font-family: var(--font-pixel);
  font-size: clamp(18px, 3vw, 30px);
  line-height: 1.7;
  color: #fff;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
  margin-bottom: 28px;
}

.roadmap-intro {
  font-size: 11px;
  line-height: 2.2;
  color: rgba(244, 231, 208, 0.92);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
}

.hl-now  { color: #7fd17f; }
.hl-next { color: #6fb7ec; }

.roadmap-board {
  background: var(--fade);
  padding: 20px 0 40px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

.phase {
  background: var(--cream);
  border: 6px solid var(--wood);
  border-radius: var(--radius);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.35);
  padding: 24px 20px;
}

.phase-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 3px solid rgba(58, 39, 49, 0.15);
}

.phase-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--wood);
  flex-shrink: 0;
}

.phase-head h2 {
  font-family: var(--font-pixel);
  font-size: 15px;
  color: var(--wood);
  text-shadow: none;
  margin: 0;
}

.phase-sub {
  width: 100%;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: #9b7e63;
}

.phase-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phase-items li {
  font-family: var(--font-pixel);
  font-size: 9px;
  line-height: 1.9;
  color: var(--ink-soft, #6d5440);
  padding-left: 16px;
  position: relative;
}

.phase-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--wood);
}

.phase-items li strong { color: var(--wood); }

.phase-note {
  display: block;
  margin-top: 8px;
  font-size: 8px;
  line-height: 1.9;
  color: #a3733b;
  padding: 8px 10px;
  background: rgba(243, 179, 64, 0.16);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}

/* Phase accent colors */
.phase-now  .phase-dot { background: #5bbf5b; }
.phase-next .phase-dot { background: var(--blue); }
.phase-later .phase-dot { background: #a07bd6; }
.phase-exploring .phase-dot { background: #b8ad9c; }

.phase-exploring { opacity: 0.92; }

/* ---------- Token utility spotlight ---------- */

.token-spotlight {
  background: var(--fade);
  padding: 0 0 10px;
}

.token-spotlight-inner {
  max-width: 820px;
  padding: 0 24px;
  text-align: left;
}

.token-card {
  background: var(--cream);
  border: 6px solid var(--wood);
  border-radius: var(--radius);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.35);
  padding: 40px clamp(24px, 5vw, 56px);
  text-align: center;
}

.token-eyebrow {
  color: #a3733b;
  text-shadow: none;
  margin-bottom: 16px;
}

.token-heading {
  color: var(--wood);
  text-shadow: none;
  font-size: clamp(15px, 2vw, 20px);
  margin-bottom: 20px;
}

.token-copy {
  color: #6d5440;
  text-shadow: none;
  max-width: 600px;
  margin: 0 auto 36px;
}

.econ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
  margin-bottom: 32px;
}

.econ-item {
  background: rgba(58, 39, 49, 0.05);
  border: 3px solid var(--wood);
  border-radius: 10px;
  padding: 18px 16px;
  transition: transform 0.12s ease;
}

.econ-item:hover { transform: translateY(-3px); }

.econ-item-title {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--wood);
  margin-bottom: 10px;
}

.econ-item-copy {
  font-size: 9px;
  line-height: 1.9;
  color: #6d5440;
}

.token-note {
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
}

.roadmap-cta {
  background: var(--fade);
  text-align: center;
}

.roadmap-cta .section-inner {
  padding: 110px 24px 130px;
}

.roadmap-cta h2 { margin-bottom: 18px; }

.roadmap-cta .roadmap-intro {
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ---------- Herald's Purse page (reuses the roadmap blocks) ---------- */

.herald-hero {
  background-image: url('assets/landing/herald.jpg');
}

/* Stacked roadmap cards need breathing room between them */
.herald-hero + main .token-spotlight { padding-bottom: 36px; }

.herald-rules { text-align: left; }
.herald-rules .token-heading { text-align: center; }
.herald-rules .eyebrow { text-align: center; }

.herald-list {
  max-width: 600px;
  margin: 0 auto 32px;
}

.herald-winners {
  display: grid;
  gap: 16px;
  text-align: left;
}

.herald-empty {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.herald-week-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.herald-week-list a {
  color: var(--wood);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 110px 24px; }
  .nav-logo img { height: 38px; }
  .nav-links { gap: 18px; }
  .faction-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .econ-grid { grid-template-columns: 1fr; }
  /* .section-inner's mobile padding would put 220px between the stacked herald cards */
  .herald-hero + main .token-spotlight-inner { padding: 0 24px; }
}

@media (max-width: 560px) {
  .board-grid { grid-template-columns: 1fr; }

  /* Phones: the three-column nav squeezed the logo to zero width. Logo + PLAY on
     the first row, the page links centered on a second row. */
  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
    row-gap: 10px;
    padding: 12px 16px;
  }
  .nav-logo img { height: 32px; }
  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 18px;
  }
  .nav-link { font-size: 9px; }
  .btn-outline { padding: 9px 14px; font-size: 10px; }
}


/* =====================================================================
   v2 refresh (2026-10-27): landing, lore and roadmap.
   Ported from docs/mockups/{landing,lore,roadmap}-v2.html. These rules come
   after the v1 rules above and override them where the class names are shared.
   ===================================================================== */

/* ---------- Landing v2 (index.html, landing.js) ---------- */
:root {
  --sky: #2f8fdc;
  --ink-soft: #6d5440;
  --live: #7fd17f;
}

/* ---------- Hero: pixel art, bright, matches the X posts ---------- */
.v2-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: url('assets/landing/hero-poster.jpg') center / cover no-repeat var(--fade);
  image-rendering: pixelated;
  isolation: isolate;
}
.v2-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(8, 20, 40, 0.42) 0%, rgba(8, 20, 40, 0) 60%),
    linear-gradient(to bottom, rgba(12, 23, 16, 0) 55%, var(--fade) 100%);
}
/* Cinematic loop behind the logo: muted, inline on phones, poster while it loads */
.v2-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  object-fit: cover; object-position: center; image-rendering: pixelated;
}
/* Reduced motion: keep the poster still, no video */
@media (prefers-reduced-motion: reduce) { .v2-hero-video { display: none; } }
.v2-hero-inner { padding: 120px 20px 140px; max-width: 760px; }
.v2-hero-logo { width: clamp(260px, 34vw, 480px); margin: 0 auto 26px; image-rendering: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.v2-tagline { font-size: clamp(12px, 1.6vw, 17px); color: #fff; line-height: 1.8; text-shadow: 3px 3px 0 rgba(0,0,0,.65); margin-bottom: 14px; }
.v2-sub { font-size: clamp(9px, 1.1vw, 11px); color: #e9f3ff; text-shadow: 2px 2px 0 rgba(0,0,0,.6); margin-bottom: 34px; }
.v2-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
  font-family: var(--font-pixel); font-size: 11px; color: #fff; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; border: 3px solid rgba(255,255,255,.85);
  background: rgba(12, 23, 16, .35); backdrop-filter: blur(3px);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* Trust strip pinned to the bottom of the hero */
.v2-trust {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center;
  width: max-content; max-width: calc(100% - 32px);
  font-size: 9px; color: var(--cream); padding: 12px 20px; border-radius: 999px;
  background: rgba(12, 23, 16, .72); border: 2px solid rgba(244, 231, 208, .18);
}
.v2-trust[hidden] { display: none; }   /* shown by landing.js once a live count arrives */
.v2-trust span { white-space: nowrap; }
.v2-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-right: 8px; box-shadow: 0 0 8px var(--live); }

/* ---------- Features: 6 picture cards ---------- */
.v2-features { background: var(--fade); }
.v2-features .section-inner { padding-top: 90px; }
.v2-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; text-align: left;
}
.v2-card {
  background: var(--cream); border: 6px solid var(--wood); border-radius: var(--radius);
  box-shadow: 0 10px 0 rgba(0,0,0,.35); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .12s ease;
}
.v2-card:hover { transform: translateY(-4px); }
.v2-card-art {
  aspect-ratio: 16 / 9; background: #20302a center / cover no-repeat;
  border-bottom: 6px solid var(--wood); image-rendering: pixelated;
}
.v2-card-body { padding: 20px 20px 22px; }
.v2-card h3 { font-size: 12px; line-height: 1.7; color: var(--wood); margin-bottom: 10px; }
.v2-card p { font-size: 9px; line-height: 2; color: var(--ink-soft); }
.v2-tag { display: inline-block; font-size: 7px; color: #a3733b; background: rgba(243,179,64,.18); border-radius: 4px; padding: 4px 7px; margin-bottom: 10px; }

/* ---------- Real gameplay strip ---------- */
.v2-shots { background: var(--fade); }
.v2-shots .section-inner { padding-top: 40px; padding-bottom: 90px; }
.v2-gameplay { margin: 34px auto 0; max-width: 960px; }
.v2-gameplay video {
  width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 12px; background: #000;
  border: 4px solid rgba(244,231,208,.85); image-rendering: pixelated;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.v2-gameplay figcaption { font-size: 8px; color: rgba(244,231,208,.75); margin-top: 14px; text-align: center; letter-spacing: .5px; }

/* ---------- Story (pixel art, same voice as today) ---------- */
/* The tale as a storybook page: framed art beside left-aligned text, on the dark base. Kept
   deliberately unlike the full-bleed closing scene below so the two don't read as the same block. */
.v2-story { background: var(--fade); }
.v2-story .section-inner {
  max-width: 1120px; padding: 110px 24px 180px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; text-align: left;
}
.v2-story-art { margin: 0; }
.v2-story-art img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% center; display: block;
  border-radius: 12px; border: 4px solid rgba(244,231,208,.85); image-rendering: pixelated;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.v2-story .story-copy { margin-left: 0; margin-right: 0; }

/* ---------- Final CTA ---------- */
/* Closing scene: the knight from the hero has landed on the isle at dusk. Text sits in the open sky.
   The picture fades in from the dark base over --blend through a mask, so there's no hard edge. */
.v2-final {
  --blend: 200px;
  position: relative; isolation: isolate; text-align: center;
  min-height: calc(clamp(560px, 56vw, 860px) + var(--blend));
}
.v2-final::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: url('assets/landing/final-night.webp') center bottom / cover no-repeat;
  image-rendering: pixelated;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.5) calc(var(--blend) * .5), #000 var(--blend));
          mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.5) calc(var(--blend) * .5), #000 var(--blend));
}
.v2-final::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 40% at 50% 36%, rgba(6,12,10,.35) 0%, rgba(6,12,10,0) 100%),
              linear-gradient(to top, var(--fade) 0%, rgba(12,23,16,.5) 5%, rgba(12,23,16,0) 14%);
}
.v2-final .section-inner { padding: calc(40px + var(--blend)) 24px 120px; } /* text sits in the dark sky, above the moon */
.v2-final h2 { margin-bottom: 16px; text-shadow: 0 4px 0 rgba(0,0,0,.35); }
.v2-final p { font-size: 10px; color: var(--cream); margin-bottom: 34px; line-height: 2; text-shadow: 0 2px 0 rgba(0,0,0,.5); }

@media (max-width: 960px) {
  .v2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .v2-grid { grid-template-columns: 1fr; }
  .v2-trust { border-radius: 14px; bottom: 18px; }
  /* Phone hero: logo up top, an open gap in the middle where the knight rows, text and buttons below */
  .v2-hero { place-items: stretch; }
  .v2-hero-inner {
    min-height: 100svh; display: flex; flex-direction: column;
    padding: 112px 20px 92px; margin: 0 auto;
  }
  .v2-hero-logo { width: 200px; margin-bottom: 0; }
  .v2-tagline { margin-top: auto; } /* pushes the text block down, leaving the knight clear */
  .v2-hero { background-image: url('assets/landing/hero-mobile.webp'); background-position: center top; }
  .v2-hero-video { display: none; }
  .v2-story .section-inner { grid-template-columns: 1fr; gap: 32px; padding: 80px 20px 100px; text-align: center; }
  .v2-story .story-copy { margin-left: auto; margin-right: auto; }
  /* Portrait crop of the closing scene: keep the knight and his campfire in view */
  .v2-final { --blend: 160px; min-height: calc(640px + var(--blend)); }
  .v2-final::before { background-position: 22% bottom; }
  .v2-final .section-inner { padding-top: calc(90px + var(--blend)); }
}
  

/* ---------- Lore v2 (lore.html) ---------- */
/* v2: pixel-art hero (dawn over the village, the knight watching Redmane's men march off) */
.lore-hero { background-image: url('assets/landing/lore-hero.webp'); background-position: center 65%; image-rendering: pixelated; }
/* v2: factions over pixel art (the knight looking toward the far castle) instead of the painted forest */
.lore-factions { background-image: url('assets/landing/lore-factions.webp'); image-rendering: pixelated; }
/* v2: the isles players actually explore, as a compact 3-column grid under the campaign lands */
.play-isles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 34px auto 0; text-align: left; }
.play-isles .land h3 small { display: block; font-size: 8px; color: #8a6d3b; margin-top: 8px; letter-spacing: .5px; }
@media (max-width: 760px) { .play-isles { grid-template-columns: 1fr; } }

/* ---------- v2 style: the lore page as a codex ---------- */
/* the campaign lands: a numbered chronicle */
.land-list { counter-reset: chron; position: relative; }
.lore-lands:first-of-type .land { position: relative; padding-left: 74px; counter-increment: chron; }
.lore-lands:first-of-type .land::before {
  content: counter(chron, upper-roman); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center; font-size: 11px; color: #fbe9c6;
  background: #6e4b31; border: 3px solid #2e1d14; box-shadow: 0 3px 0 rgba(0,0,0,.3);
}
/* the isle map */
.map-frame { max-width: 1000px; margin: 34px auto 0; padding: 12px; background: #6e4b31; border: 6px solid #2e1d14; box-shadow: 0 12px 0 rgba(0,0,0,.35); }
/* the world map, stitched from the real game (video/capture_world_map.mjs), with numbered pins on top so they match the isle cards */
.isle-map { position: relative; }
.isle-map img { display: block; width: 100%; height: auto; }   /* a real in-game capture at half size: smooth downscaling reads better than pixelated here */
.isle-map .map-pin {
  position: absolute; transform: translate(-50%, -50%); width: 32px; height: 32px; display: grid; place-items: center;
  font-family: var(--font-pixel); font-size: 12px; color: #fff; background: #c0392b; border: 4px solid #3a2731;
  box-shadow: 0 4px 0 rgba(0,0,0,.4);
}
.isle-map .map-note {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-family: var(--font-pixel); font-size: 8px;
  color: #fbe9c6; background: rgba(46,29,20,.85); padding: 5px 7px; border-radius: 3px;
}
@media (max-width: 600px) {
  .isle-map .map-pin { width: 22px; height: 22px; font-size: 9px; border-width: 3px; }
  .isle-map .map-note { font-size: 6px; padding: 3px 5px; }
}
.map-frame figcaption { font-size: 8px; line-height: 1.9; color: #fbe9c6; text-align: center; padding: 12px 8px 2px; }
.pin-no {
  display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; vertical-align: middle;
  font-size: 10px; color: #fff; background: #c0392b; border: 3px solid #3a2731;
}
/* factions: hanging banners in their own colours */
.faction-card {
  --banner: #2f5d9e; position: relative; border: none; border-radius: 0; color: #fbe9c6;
  background: var(--banner); padding: 34px 22px 64px; margin-top: 14px;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%);
  box-shadow: inset 0 0 0 4px rgba(0,0,0,.25);
}
.faction-card::before { /* the pole it hangs from */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 12px; background: #4a3021;
}
.faction-card h3 { color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.35); }
.faction-card p { color: rgba(255,244,222,.9); }
.faction-img { background: #f1e2c2; border: 4px solid rgba(0,0,0,.35); border-radius: 50%; padding: 8px; }
.faction-card.faction-blue { --banner: #2f5d9e; }
.faction-card.faction-red { --banner: #9e3434; }
.faction-card.faction-goblin { --banner: #5d7a2c; }
.faction-card.faction-purple { --banner: #64428f; }
.faction-card.faction-black { --banner: #34343f; }
.faction-card.faction-red, .faction-card.faction-purple, .faction-card.faction-black, .faction-card.faction-goblin { box-shadow: inset 0 0 0 4px rgba(0,0,0,.25); }
.faction-img { flex-shrink: 0; aspect-ratio: 1; }
/* phones: one banner per row (the base sheet's span-2 columns otherwise squeeze them into slivers) */
@media (max-width: 760px) {
  .faction-grid { grid-template-columns: 1fr; max-width: 360px; }
  .faction-card, .faction-card:nth-child(4), .faction-card:nth-child(5) { grid-column: auto; }
}
/* people: framed character cards with a name plate */
.person-card { position: relative; padding-top: 0; overflow: hidden; border-color: #2e1d14; box-shadow: 0 10px 0 rgba(0,0,0,.35), inset 0 0 0 3px #c9a46a; }
.person-avatar { display: block; margin: 0 -22px 14px; width: calc(100% + 44px); max-width: none; height: 150px; object-fit: contain; padding: 14px 0 6px; background: linear-gradient(180deg, #3d6f78, #2b4f57); border-bottom: 5px solid #2e1d14; }
.person-tag { color: #8a5a2b; } /* the lime accent is unreadable on cream */
.person-card h3 { background: #6e4b31; color: #fbe9c6; margin: -14px -22px 12px; padding: 10px 8px; border-bottom: 4px solid #2e1d14; }
  

/* ---------- Roadmap v2 (roadmap.html) ---------- */
/* Scoped to <body class="page-roadmap">: privacy.html and herald.html reuse the roadmap/token classes. */
/* v2: pixel-art hero (the road ahead: a signpost toward the mine, the castle, the pier) instead of the painted camp */
.page-roadmap .roadmap-hero { background-image: url('assets/landing/roadmap-hero.webp'); background-position: center 75%; image-rendering: pixelated; }
.page-roadmap .roadmap-hero-content { padding-bottom: 140px; }
.page-roadmap .phase-items li small { display: block; color: var(--ink-soft, #6b5a45); font-size: .85em; margin-top: 6px; }

/* ---------- v2 style: the roadmap as a wooden quest board ---------- */
.page-roadmap .roadmap-board { padding: 30px 16px 70px; }
.page-roadmap .quest-board {
  position: relative; max-width: 1240px; margin: 0 auto; padding: 70px 30px 46px;
  border: 10px solid #2e1d14; border-radius: 6px;
  /* planks (seams every 64px), wood grain, base tone */
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 60px, rgba(20,10,5,.55) 60px 64px),
    repeating-linear-gradient(90deg, rgba(255,230,190,.035) 0 2px, rgba(0,0,0,0) 2px 9px, rgba(0,0,0,.05) 9px 11px, rgba(0,0,0,0) 11px 23px),
    linear-gradient(180deg, #6e4b31, #5b3c27);
  box-shadow: inset 0 0 0 4px #8a5f3e, inset 0 0 60px rgba(0,0,0,.45), 0 18px 0 rgba(0,0,0,.35);
}

/* nails in the frame corners */
.page-roadmap .quest-board::before, .page-roadmap .quest-board::after {
  content: ''; position: absolute; top: 12px; width: 10px; height: 10px; background: #c9b79a;
  box-shadow: 0 2px 0 #3a2a1e; image-rendering: pixelated;
}
.page-roadmap .quest-board::before { left: 14px; }
.page-roadmap .quest-board::after { right: 14px; }
.page-roadmap .board-sign {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  background: #8a5f3e; color: #fbe9c6; font-size: 13px; letter-spacing: 2px; white-space: nowrap;
  padding: 14px 26px; border: 6px solid #2e1d14; border-radius: 4px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.25), 0 6px 0 rgba(0,0,0,.35); text-shadow: 2px 2px 0 rgba(0,0,0,.45);
}
.page-roadmap .board-grid { gap: 26px; padding: 0; }

/* parchment notes, pinned and a little crooked */
.page-roadmap .phase {
  position: relative; border: none; border-radius: 2px; padding: 30px 20px 24px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.35), rgba(255,255,255,0) 55%),
    radial-gradient(ellipse at 85% 90%, rgba(150,110,60,.18), rgba(150,110,60,0) 60%),
    #f1e2c2;
  box-shadow: 0 8px 0 rgba(0,0,0,.35), inset 0 0 0 3px rgba(150,110,60,.25);
  transform: rotate(-1.2deg); transition: transform .15s ease;
}
.page-roadmap .phase:nth-child(2) { transform: rotate(1deg); margin-top: 10px; }
.page-roadmap .phase:nth-child(3) { transform: rotate(-.6deg); margin-top: 4px; }
.page-roadmap .phase:nth-child(4) { transform: rotate(1.4deg); margin-top: 14px; }
.page-roadmap .phase:hover { transform: rotate(0) translateY(-4px); }
.page-roadmap .phase::before { /* the pin */
  content: ''; position: absolute; top: 8px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  background: #c0392b; box-shadow: inset -3px -3px 0 rgba(0,0,0,.3), inset 2px 2px 0 rgba(255,255,255,.35), 0 3px 0 rgba(0,0,0,.35);
}
.page-roadmap .phase-exploring { opacity: 1; }
.page-roadmap .phase-head { border-bottom: 3px dashed rgba(110,75,49,.3); margin-bottom: 18px; }
.page-roadmap .phase-dot { display: none; }

/* the column title as a rubber stamp */
.page-roadmap .phase-head h2 {
  font-size: 13px; padding: 7px 10px 5px; border: 3px solid currentColor; border-radius: 3px;
  transform: rotate(-3deg); letter-spacing: 1px;
}
.page-roadmap .phase-now h2 { color: #3f9a3f; }
.page-roadmap .phase-next h2 { color: #2f6fb0; }
.page-roadmap .phase-later h2 { color: #8a5cc8; }
.page-roadmap .phase-exploring h2 { color: #8b7f70; }
.page-roadmap .phase-sub { color: #8a6d4b; margin-top: 4px; }
.page-roadmap .phase-items li { padding-left: 20px; color: #5a4433; }
.page-roadmap .phase-items li::before {
  width: 10px; height: 10px; top: 3px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%233f9a3f' d='M6 1h2v2H7v1H6v1H5v1H4v1H2V6H1V5H0V3h2v1h1v1h1V4h1V3h1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-roadmap .phase-next .phase-items li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%232f6fb0' d='M2 0h2v1h1v1h1v1h1v2H6v1H5v1H4v1H2z'/%3E%3C/svg%3E"); }
.page-roadmap .phase-later .phase-items li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%238a5cc8' d='M3 0h2v2h3v2H7v1h1v3H6V7H2v1H0V5h1V4H0V2h3z'/%3E%3C/svg%3E"); }
.page-roadmap .phase-exploring .phase-items li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%239a8f80' d='M3 0h2v1h1v1h1v1h1v2H7v1H6v1H5v1H3V7H2V6H1V5H0V3h1V2h1V1h1z'/%3E%3C/svg%3E"); }
@media (max-width: 960px) { .page-roadmap .board-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .page-roadmap .board-grid { grid-template-columns: 1fr; }
  .page-roadmap .quest-board { padding: 64px 16px 30px; border-width: 8px; }
  .page-roadmap .phase, .page-roadmap .phase:nth-child(n) { transform: none; margin-top: 0; }
  .page-roadmap .board-sign { font-size: 10px; padding: 12px 18px; }
}

/* ---------- v2 style: the $HAVEN spotlight as a royal decree scroll ---------- */
.page-roadmap .token-spotlight { padding: 30px 0 20px; }
.page-roadmap .token-card {
  position: relative; border: none; border-radius: 0; margin: 22px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.3), rgba(255,255,255,0) 60%),
    #f1e2c2;
  box-shadow: inset 0 0 0 3px rgba(150,110,60,.25), 0 10px 0 rgba(0,0,0,.3);
}

/* wooden rods the scroll hangs from */
.page-roadmap .token-card::before, .page-roadmap .token-card::after {
  content: ''; position: absolute; left: -18px; right: -18px; height: 22px; border-radius: 11px;
  background: linear-gradient(180deg, #a2724c, #6e4b31 60%, #4a3021);
  box-shadow: 0 4px 0 rgba(0,0,0,.35);
}
.page-roadmap .token-card::before { top: -16px; }
.page-roadmap .token-card::after { bottom: -16px; }
.page-roadmap .econ-item { position: relative; background: rgba(110,75,49,.06); border: 3px solid #6e4b31; padding-top: 30px; margin-top: 14px; }

/* a wax seal on each pillar */
.page-roadmap .econ-item::before {
  content: ''; position: absolute; top: -16px; left: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #e0584a, #a8291f 70%);
  box-shadow: 0 3px 0 rgba(0,0,0,.3), inset 0 0 0 4px rgba(0,0,0,.12);
}
@media (max-width: 760px) { .page-roadmap .econ-grid { grid-template-columns: 1fr; gap: 26px; } }
  

/* Official $HAVEN contract slot (landing hero, roadmap, docs). Filled by contract-slot.js from config.js once live. */
.contract-slot { margin: 0 auto 34px; max-width: 620px; padding: 16px 18px; border: 3px dashed #6e4b31; border-radius: 6px;
  background: rgba(110,75,49,.06); text-align: center; }
.contract-slot.is-live { border-style: solid; background: rgba(91,191,91,.12); }
.contract-label { font-size: 8px; letter-spacing: 1px; color: #8a5a2b; margin-bottom: 10px; }
.contract-value { font-size: 9px; line-height: 2; color: #5a4433; }
.contract-slot.is-live .contract-value { word-break: break-all; }
.contract-slot.is-live .contract-value { font-size: 10px; color: var(--wood); }
.contract-value a { color: #8a5a2b; }
.contract-actions { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }
.contract-copy { display: inline-flex; align-items: center; justify-content: center; margin-left: 10px; vertical-align: middle;
  color: var(--wood); background: #f1e2c2; border: 3px solid #6e4b31; padding: 4px; cursor: pointer; }
.contract-copy.is-copied { color: #fff; background: #5bbf5b; }
.contract-copy[hidden] { display: none; }
/* Landing hero: the same slot as one line of dark glass over the video ("$HAVEN CONTRACT  SOON") */
.v2-hero .contract-slot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
  margin: 30px auto 0; width: fit-content; max-width: 100%; padding: 10px 16px; border: 2px dashed rgba(244,231,208,.45);
  background: rgba(12,23,16,.55); backdrop-filter: blur(3px); }
.v2-hero .contract-label { margin-bottom: 0; }
.v2-hero .contract-actions { margin-top: 0; }
.v2-hero .contract-actions:has(> :not([hidden])) { flex-basis: 100%; margin-top: 6px; }
.v2-hero .contract-slot.is-live { border: 2px solid #5bbf5b; background: rgba(12,23,16,.72); }
.v2-hero .contract-label { color: #CCFF00; }
.v2-hero .contract-value, .v2-hero .contract-slot.is-live .contract-value { color: #f4e7d0; text-shadow: 1px 1px 0 rgba(0,0,0,.6); }
.v2-hero .contract-value a { color: #CCFF00; }

/* Roadmap: the bounty board, one pinned card per item with DONE / SOON stamps (user pick, 2026-11-03) */
.page-roadmap .bounty-board { padding-top: 64px; }
.page-roadmap .bgroup { font-size: 10px; letter-spacing: 1px; color: #fbe9c6; margin: 26px 0 14px; display: flex; align-items: center; gap: 10px; text-shadow: 2px 2px 0 rgba(0,0,0,.4); }
.page-roadmap .bgroup::before { content: ''; width: 14px; height: 14px; background: var(--c); border: 3px solid #2e1d14; }
.page-roadmap .bgroup:first-of-type { margin-top: 6px; }
.page-roadmap .bounties { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 16px; }
.page-roadmap .bounty { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 22px 12px 16px; background: #f1e2c2; box-shadow: 0 6px 0 rgba(0,0,0,.35), inset 0 0 0 3px rgba(150,110,60,.25);
  transform: rotate(var(--r)); transition: transform .15s; }
.page-roadmap .bounty:hover { transform: rotate(0) translateY(-4px); }
.page-roadmap .bounty::before { content: ''; position: absolute; top: 7px; left: 50%; width: 10px; height: 10px; margin-left: -5px; background: #c0392b;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,.3), 0 2px 0 rgba(0,0,0,.35); }
.page-roadmap .bounty img { width: 42px; height: 42px; object-fit: contain; }
.page-roadmap .bounty b { font-size: 8px; line-height: 1.8; color: #2b1d14; }
.page-roadmap .bounty .q { width: 34px; height: 34px; display: grid; place-items: center; background: #8b7f70; color: #fff; font-size: 14px; }
.page-roadmap .stamp { position: absolute; right: -6px; top: 34%; transform: rotate(-14deg); font-style: normal; font-size: 9px; letter-spacing: 1px;
  color: #c0392b; border: 3px solid #c0392b; padding: 5px 6px 3px; background: rgba(241,226,194,.85); }
.page-roadmap .stamp.blue { color: #2f6fb0; border-color: #2f6fb0; }
.page-roadmap .b-done { opacity: .9; } .b-later { opacity: .7; filter: grayscale(.5); } .b-rumor { opacity: .75; }
.page-roadmap .b-next { box-shadow: 0 6px 0 rgba(0,0,0,.35), inset 0 0 0 3px #2f6fb0; }
@media (max-width: 600px) { .page-roadmap .bounties { grid-template-columns: 1fr 1fr; } .page-roadmap .bounty { transform: none; } }

/* ---------- /haven: the $HAVEN page (2026-11-05) ---------- */
.page-haven .section-inner { padding: 90px 24px; }
.haven-hero { position: relative; isolation: isolate; background: url('assets/landing/haven-launch-banner.webp') center 30% / cover no-repeat var(--fade); }
.haven-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(12,23,16,.55) 0%, rgba(12,23,16,.5) 50%, var(--fade) 100%); }
.haven-hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 160px 24px 90px; text-align: center; }
.haven-hero h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.3; color: var(--gold); text-shadow: 6px 6px 0 #3a2731, 0 0 30px rgba(255,179,71,.45); margin-bottom: 24px; }
.haven-intro, .haven-lead { font-size: 11px; line-height: 2.2; color: rgba(244,231,208,.92); text-shadow: 1px 1px 0 rgba(0,0,0,.7); }
.haven-intro { max-width: 620px; margin: 0 auto 34px; }
.haven-lead { max-width: 760px; margin: 0 auto 34px; }
.haven-lead a, .haven-official a { color: var(--gold); }
.haven-official { margin-top: 18px; font-size: 9px; line-height: 2; color: rgba(244,231,208,.8); text-shadow: 1px 1px 0 rgba(0,0,0,.7); }
/* the hero slot as dark glass, like the landing hero */
.haven-hero .contract-slot { margin: 0 auto; max-width: 620px; border: 2px dashed rgba(244,231,208,.5); background: rgba(12,23,16,.6); backdrop-filter: blur(3px); }
.haven-hero .contract-slot.is-live { border: 2px solid #5bbf5b; background: rgba(12,23,16,.78); }
.haven-hero .contract-label { color: var(--gold); }
.haven-hero .contract-value, .haven-hero .contract-slot.is-live .contract-value { color: var(--cream); font-size: 12px; }

.haven-uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.haven-use { background: rgba(244,231,208,.06); border: 3px solid rgba(244,231,208,.18); border-radius: 10px; padding: 26px 22px; }
.haven-use h3 { font-size: 12px; color: #fff; margin: 18px 0 10px; }
.haven-use p { font-size: 9px; line-height: 2.1; color: rgba(244,231,208,.88); }
.haven-use b { color: var(--gold); font-weight: normal; }
.haven-heroes { width: 100%; height: 110px; object-fit: contain; background: rgba(93,156,70,.35); border-radius: 6px; padding: 10px; }
.haven-icons { height: 110px; display: flex; align-items: center; justify-content: center; gap: 22px; background: rgba(93,156,70,.35); border-radius: 6px; }
.haven-icons img { height: 72px; width: auto; }
.haven-icons .haven-flame { height: 72px; width: 76px; object-fit: cover; object-position: left; }   /* first frame of the flame sheet */
.haven-note { margin-top: 26px; font-size: 9px; line-height: 2; color: rgba(244,231,208,.7); }

.haven-halves { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.haven-half { border: 3px solid rgba(244,231,208,.18); border-radius: 10px; overflow: hidden; background: rgba(0,0,0,.25); }
.haven-half img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: pixelated; }
.haven-half-body { padding: 20px 22px 22px; font-size: 9px; line-height: 2.1; }
.haven-big { font-size: 13px; line-height: 1.7; margin-bottom: 6px; }
.haven-big.burn { color: #ff8a3d; }
.haven-big.treasury { color: var(--gold); }
.haven-tx { margin-top: 8px; color: rgba(244,231,208,.65); }
.haven-tx a, .haven-treasury a { color: var(--gold); word-break: break-all; }

.haven-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.haven-facts div { background: rgba(244,231,208,.06); border: 3px solid rgba(244,231,208,.18); border-radius: 10px; padding: 22px 16px; }
.haven-facts b { display: block; font-size: clamp(16px, 2.4vw, 24px); color: var(--gold); font-weight: normal; margin-bottom: 10px; }
.haven-facts span { font-size: 9px; line-height: 2; color: rgba(244,231,208,.85); }
.haven-treasury { margin: 0 auto; max-width: 620px; border: 2px dashed rgba(244,231,208,.45); background: rgba(0,0,0,.25); }
.haven-treasury .contract-label { color: var(--gold); }
.haven-treasury .contract-value { color: var(--cream); font-size: 10px; word-break: break-all; }
.haven-log-title { font-size: 12px; color: #fff; margin: 46px 0 16px; }
.haven-log { list-style: none; max-width: 620px; margin: 0 auto; font-size: 9px; line-height: 2; }
.haven-log li { padding: 12px 16px; border-bottom: 2px solid rgba(244,231,208,.12); }
.haven-log-empty { color: rgba(244,231,208,.6); }

.haven-safety h2 { margin-bottom: 20px; }
.haven-rules { list-style: none; max-width: 640px; margin: 0 auto 40px; text-align: left; font-size: 9px; line-height: 2.1; }
.haven-rules li { padding: 10px 0 10px 26px; position: relative; color: rgba(244,231,208,.9); }
.haven-rules li::before { content: '\25B8'; position: absolute; left: 4px; color: var(--gold); }

@media (max-width: 860px) {
  .haven-uses, .haven-halves, .haven-facts { grid-template-columns: 1fr; }
  .haven-hero-content { padding: 130px 20px 70px; }
}
.page-roadmap a.bounty { color: inherit; text-decoration: none; }   /* the $HAVEN card links to /haven */

/* Haven single-line wordmark and pending contract */
.nav-logo img{height:auto;width:156px;max-width:100%}.contract-value{font-family:"Press Start 2P","Microsoft YaHei",sans-serif}.v2-hero .contract-value{font-size:16px}@media(max-width:600px){.nav-logo img{width:112px}}
