/* The Mũgumo site. Static: no build step.
   Palette: the site's gold and forest greens, plus the Creation Triad
   (white for Mwene Nyaga, ochre for Mũmbi, blue for Gĩkũyũ). */
:root {
  --ink: #070b07;
  --ink-2: #0d150d;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(229, 190, 90, 0.16);
  --line-strong: rgba(229, 190, 90, 0.42);
  --gold: #e5be5a;
  --gold-hi: #f6dc8f;
  --gold-lo: #b8862a;
  --mist: #e9e0c9;
  --dim: #b9ad92;
  --faint: #8a7a5c;
  --grove: #3e7a2a;
  --ember: #ff7a2f;
  --blood: #c8352b;
  --triad-white: #f4f1ea;
  --triad-ochre: #c8742f;
  --triad-blue: #2f5e9e;
  --display: Cinzel, Georgia, serif;
  --hud: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Poppins, system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: #fff;
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.shell { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- type */
.hud { font-family: var(--hud); text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 13px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h2.title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-top: 14px;
}
.title em { font-style: normal; color: var(--gold); }
.sub { color: var(--dim); max-width: 620px; margin-top: 14px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--hud); font-weight: 700; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 28px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: transform .15s ease-out, filter .15s ease-out;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: #120d02; box-shadow: 0 10px 30px rgba(229, 190, 90, .3); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(229, 190, 90, .14); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(7, 11, 7, .82); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-row { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: .04em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(229, 190, 90, .4); object-fit: cover; }
.nav nav { display: flex; align-items: center; gap: 2px; }
.nav-link { font-family: var(--hud); text-transform: uppercase; letter-spacing: .16em; font-weight: 600; font-size: 14px; color: var(--mist); padding: 8px 14px; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 9px 20px; font-size: 15px; margin-left: 10px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; background: var(--ink-2); }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: heroFade 24s infinite; transform-origin: center;
}
.hero-bg img:nth-child(1) { animation-delay: -1s; }
.hero-bg img:nth-child(2) { animation-delay: 5s; }
.hero-bg img:nth-child(3) { animation-delay: 11s; }
.hero-bg img:nth-child(4) { animation-delay: 17s; }
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.12) translate3d(1%, 0, 0); }
  5%, 25% { opacity: 1; }
  30% { opacity: 0; transform: scale(1) translate3d(-1%, 0, 0); }
  100% { opacity: 0; }
}
.hero::before { /* grade: dark bottom for the copy, warm burn at the top */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 11, 7, .55) 0%, rgba(7, 11, 7, 0) 28%, rgba(7, 11, 7, .25) 55%, var(--ink) 100%),
    radial-gradient(ellipse at 50% 120%, rgba(255, 122, 47, .22), transparent 55%),
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .55) 100%);
}
#embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-copy { padding-block: 140px 56px; max-width: 760px; }
.hero-copy .kicker { color: var(--gold-hi); text-shadow: 0 2px 10px #000; }
.logo-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(56px, 11vw, 132px); line-height: .92; letter-spacing: .01em;
  margin-top: 18px;
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold-hi) 30%, #fff6d8 45%, var(--gold) 60%, var(--gold-lo) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .7));
  animation: sheen 7s ease-in-out infinite;
}
.logo-title small { display: block; font-size: .32em; letter-spacing: .5em; margin-bottom: .2em; }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero-lead { font-size: clamp(16px, 2vw, 19px); color: var(--mist); margin-top: 22px; max-width: 600px; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
.hero-lead b { color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hud-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(7, 11, 7, .4), var(--ink));
}
.hud-bar div { padding: 20px 8px; text-align: center; border-right: 1px solid var(--line); }
.hud-bar div:last-child { border-right: 0; }
.hud-bar b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.4vw, 40px); color: var(--gold); line-height: 1; }
.hud-bar span { display: block; margin-top: 8px; font-size: 12px; color: var(--dim); }

.scroll-cue { position: absolute; right: 24px; bottom: 120px; writing-mode: vertical-rl; font-size: 11px; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------------------------------------------------------------- marquee */
.marquee { overflow: hidden; padding-block: 18px; background: var(--gold); color: #140f03; transform: rotate(-1.2deg) scale(1.02); margin-block: 10px 0; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.marquee-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee ul { display: flex; list-style: none; }
.marquee li { white-space: nowrap; padding-inline: 22px; font-family: var(--hud); font-weight: 700; font-size: 20px; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: 44px; }
.marquee li::after { content: "✦"; font-size: 14px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
.section { padding-block: 120px 40px; position: relative; }
.divider { height: 26px; margin-top: 90px; opacity: .55;
  background:
    linear-gradient(135deg, transparent 33%, var(--triad-ochre) 33% 40%, transparent 40% 60%, var(--triad-ochre) 60% 67%, transparent 67%) 0 0 / 26px 26px,
    linear-gradient(45deg, transparent 33%, var(--gold) 33% 40%, transparent 40% 60%, var(--gold) 60% 67%, transparent 67%) 13px 0 / 26px 26px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

/* Story */
.story { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.story-text p { color: var(--mist); margin-top: 18px; font-size: 17px; }
.story-text .drop::first-letter { font-family: var(--display); font-weight: 900; float: left; font-size: 64px; line-height: .9; padding: 6px 10px 0 0; color: var(--gold); }
.quote { margin-top: 30px; padding: 18px 22px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(229, 190, 90, .1), transparent); font-family: var(--display); font-size: 19px; color: var(--gold-hi); }
.triad { position: relative; }
.triad-img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 14px rgba(229, 190, 90, .05), 0 30px 80px rgba(0, 0, 0, .6); animation: spinSlow 120s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.triad ul { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.triad li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; color: var(--dim); font-size: 14px; }
.triad li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; transform: rotate(45deg); background: var(--c); box-shadow: 0 0 12px var(--c); }
.triad li b { color: #fff; font-weight: 600; }

/* Gameplay cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card {
  position: relative; overflow: hidden; border-radius: 4px; background: var(--ink-2);
  aspect-ratio: 4 / 5; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s ease-out, box-shadow .25s;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease-out, filter .3s; filter: saturate(.9) brightness(.85); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 7, 0) 30%, rgba(7, 11, 7, .92) 82%); }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--gold), 0 24px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(229, 190, 90, .15); }
.card:hover img { transform: scale(1.08); filter: saturate(1.1) brightness(1); }
.card-body { position: absolute; inset: auto 0 0; padding: 24px; }
.card .tag { display: inline-block; font-size: 12px; color: #140f03; background: var(--gold); padding: 3px 10px; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.card h3 { font-family: var(--display); font-weight: 900; font-size: 26px; margin-top: 12px; line-height: 1.1; }
.card p { color: var(--mist); font-size: 14px; margin-top: 8px; }
.card .num { position: absolute; top: 16px; right: 18px; font-family: var(--hud); font-weight: 700; font-size: 14px; letter-spacing: .2em; color: rgba(255, 255, 255, .7); }

/* Stealth demo */
.stealth { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.meter-box { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: inset 0 0 0 1px var(--line); background: var(--ink-2); }
.meter-box img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.9); }
.troop-mark {
  position: absolute; left: 50%; top: 18%; transform: translateX(-50%);
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 40px;
  background: conic-gradient(var(--mark) calc(var(--aware) * 1%), rgba(255, 255, 255, .12) 0);
  color: var(--mark); --mark: var(--gold); --aware: 0;
  filter: drop-shadow(0 4px 12px #000);
}
.troop-mark span { width: 52px; height: 52px; border-radius: 50%; background: rgba(7, 11, 7, .85); display: grid; place-items: center; }
.troop-mark.seen { --mark: var(--blood); animation: pulse .6s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: translateX(-50%) scale(1.12); } }
.meter-status { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.modes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.mode { font-family: var(--hud); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 15px; padding: 10px 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.mode[aria-pressed="true"] { background: var(--gold); color: #140f03; }
.facts { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.facts li { color: var(--dim); font-size: 14.5px; padding-left: 22px; position: relative; }
.facts li::before { content: "▸"; color: var(--gold); position: absolute; left: 0; }
.facts b { color: #fff; font-weight: 600; }

/* Wisdom */
.wisdom { text-align: center; }
.wisdom .sub { margin-inline: auto; }
.proverb-card {
  margin: 48px auto 0; max-width: 820px; min-height: 260px; padding: 48px 40px;
  position: relative; border-radius: 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(229, 190, 90, .14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 80px rgba(0, 0, 0, .45);
  display: grid; place-items: center; gap: 18px;
}
.proverb-card::before, .proverb-card::after { content: "❝"; position: absolute; font-family: var(--display); font-size: 120px; color: rgba(229, 190, 90, .1); line-height: 1; top: 10px; left: 24px; }
.proverb-card::after { content: "❞"; top: auto; left: auto; bottom: -30px; right: 24px; }
.proverb-gk { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.3; color: var(--gold-hi); }
.proverb-en { color: var(--mist); font-size: 17px; max-width: 600px; transition: opacity .35s, filter .35s; }
.proverb-en.hidden { opacity: 0; filter: blur(8px); }
.proverb-count { font-size: 12px; color: var(--faint); }
.proverb-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.fade-swap { animation: swap .45s ease-out; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

/* Roadmap teaser */
.track { list-style: none; margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: linear-gradient(90deg, var(--grove) 0 14%, var(--gold) 14% 28%, rgba(138, 122, 92, .4) 28%); }
.step { position: relative; padding-right: 14px; }
.step i { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 2px var(--faint); position: relative; }
.step.done i { background: var(--grove); box-shadow: 0 0 0 4px rgba(62, 122, 42, .25); }
.step.done i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.step.now i { background: var(--gold); box-shadow: 0 0 0 6px rgba(229, 190, 90, .2), 0 0 24px var(--gold); animation: beacon 1.6s ease-in-out infinite; }
@keyframes beacon { 50% { box-shadow: 0 0 0 12px rgba(229, 190, 90, 0), 0 0 30px var(--gold); } }
.step .hud { display: block; margin-top: 16px; font-size: 12px; color: var(--faint); }
.step.done .hud { color: #9fd38a; }
.step.now .hud { color: var(--gold); }
.step h3 { font-family: var(--display); font-size: 17px; margin-top: 6px; line-height: 1.25; }

/* Download */
.download { display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: center; padding: 48px; border-radius: 6px; background: linear-gradient(135deg, rgba(62, 122, 42, .22), rgba(7, 11, 7, .6)); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.download::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 190, 90, .18), transparent 70%); pointer-events: none; }
.apks { display: grid; gap: 12px; }
.apk { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 18px 20px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); border-radius: 4px; transition: box-shadow .2s, transform .2s; }
.apk:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateX(4px); }
.apk b { font-family: var(--hud); font-size: 19px; letter-spacing: .08em; text-transform: uppercase; }
.apk small { color: var(--dim); font-size: 13px; grid-column: 1; }
.apk .size { grid-row: 1 / span 2; grid-column: 2; font-family: var(--hud); font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.apk .rec { font-size: 10px; background: var(--gold); color: #140f03; padding: 2px 7px; margin-left: 8px; vertical-align: middle; letter-spacing: .14em; }
.note { color: var(--faint); font-size: 13px; margin-top: 16px; }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 26px; border-radius: 4px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.video video { width: 100%; height: 100%; object-fit: contain; }
.soon { padding: 26px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); border-radius: 4px; }
.soon h3 { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1.2; }
.soon p { color: var(--dim); font-size: 14.5px; margin-top: 10px; }
.soon .ctas { margin-top: 22px; }

/* Join */
.join { text-align: center; padding-block: 120px; }
.join .sub { margin-inline: auto; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding-block: 56px 28px; background: #050805; position: relative; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--triad-white) 0 33.3%, var(--triad-ochre) 33.3% 66.6%, var(--triad-blue) 66.6%); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer p { color: var(--faint); font-size: 13.5px; max-width: 360px; margin-top: 14px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { font-family: var(--hud); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--gold); }
.footer-links a { color: var(--dim); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--faint); font-size: 12px; }

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease-out, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------------------------------------------------------------- roadmap page */
.page-hero { position: relative; padding-block: 160px 60px; overflow: hidden; isolation: isolate; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 7, .5), var(--ink)); }
.page-hero .logo-title { font-size: clamp(54px, 10vw, 110px); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 13px; color: var(--mist); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; }
.quests { list-style: none; display: grid; gap: 22px; margin-top: 24px; counter-reset: q; }
.quest {
  display: grid; grid-template-columns: 300px 1fr; gap: 0; overflow: hidden; border-radius: 6px;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); counter-increment: q;
}
.quest-art { position: relative; min-height: 220px; }
.quest-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quest-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--ink-2)); }
.quest-art .qn { position: absolute; left: 18px; top: 14px; z-index: 1; font-family: var(--display); font-weight: 900; font-size: 54px; color: rgba(255, 255, 255, .85); text-shadow: 0 4px 20px #000; }
.quest-body { padding: 28px 30px; }
.quest-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.quest h2 { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1.15; }
.status { font-family: var(--hud); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; padding: 4px 12px; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.st-done { background: var(--grove); color: #e9ffe0; }
.st-now { background: var(--gold); color: #140f03; }
.st-next { background: rgba(229, 190, 90, .14); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.st-later { background: rgba(255, 255, 255, .05); color: var(--dim); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.quest .summary { color: var(--mist); margin-top: 10px; }
.objectives { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.objectives li { position: relative; padding-left: 30px; font-size: 14.5px; color: #efe9da; }
.objectives li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--faint); }
.quest.done .objectives li::before { background: var(--grove); box-shadow: none; }
.quest.done .objectives li::after { content: "✓"; position: absolute; left: 3px; top: -1px; font-size: 13px; font-weight: 700; }
.quest.now { box-shadow: inset 0 0 0 1px var(--gold), 0 0 50px rgba(229, 190, 90, .12); }
.quest.now .objectives li::before { box-shadow: inset 0 0 0 2px var(--gold); }
.quest.later { opacity: .82; }
.quest.later .quest-art img { filter: grayscale(.7) brightness(.7); }
.disclaimer { margin-top: 40px; padding: 20px 24px; border-left: 3px solid var(--gold); background: rgba(229, 190, 90, .06); color: var(--mist); font-size: 14.5px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .nav-link { display: none; }
  .story, .stealth, .download { grid-template-columns: 1fr; gap: 40px; }
  .triad { max-width: 380px; margin-inline: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .track { grid-template-columns: 1fr; gap: 22px; }
  .track::before { left: 13px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--grove) 0 14%, var(--gold) 14% 28%, rgba(138, 122, 92, .4) 28%); }
  .step { display: grid; grid-template-columns: 28px 1fr; column-gap: 18px; }
  .step i { grid-row: span 2; }
  .step .hud { margin-top: 0; }
  .quest { grid-template-columns: 1fr; }
  .quest-art { min-height: 170px; }
  .quest-art::after { background: linear-gradient(180deg, transparent 40%, var(--ink-2)); }
  .scroll-cue { display: none; }
  .download { padding: 28px; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3.4; }
  .hud-bar { grid-template-columns: repeat(2, 1fr); }
  .hud-bar div:nth-child(2) { border-right: 0; }
  .hud-bar div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding-top: 90px; }
  .proverb-card { padding: 40px 22px; }
  .quest-body { padding: 22px 20px; }
  .btn { padding: 13px 22px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-bg img:first-child { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  #embers { display: none; }
}
a.inline { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
