/* ==========================================================================
   PROJECT LAZARUS — LIFE WIKI
   Shared chrome (nav + sidebar + article + perks) layered on tokens.css.
   Loaded on every Life page after tokens.css + style.css.
   life.theprojectlazarus.com
   ========================================================================== */

/* Gold accent + nav metrics available on every Life page (home already
   sets the same values via .page--life; identical here for topic/perks
   pages that don't use that wrapper). */
body {
  --accent:       #9dff2b;
  --accent-deep:  #5fc300;
  --accent-soft:  rgba(157, 255, 43, 0.15);
  --accent-line:  rgba(157, 255, 43, 0.30);
  --accent-glow:  rgba(157, 255, 43, 0.22);
  --lnav-h:       64px;
}

/* Wiki + perks pages get an atmospheric base (home keeps its own .page bg). */
body.wiki-page {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(157,255,43,0.10), transparent 60%),
    var(--ink);
  min-height: 100vh;
}

/* ==========================================================================
   TOP NAV — gold-branded, sticky, on every page
   ========================================================================== */
.lnav {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(10, 13, 10, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--accent-line);
  box-shadow: 0 1px 0 rgba(157,255,43,0.10), 0 14px 34px rgba(0,0,0,0.45);
}
.lnav::after {  /* faint gold under-glow hairline */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
  pointer-events: none;
}
.lnav__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: var(--lnav-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.lnav__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast);
}
.lnav__brand img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}
.lnav__brand:hover { transform: translateY(-1px); filter: brightness(1.08); }

.lnav__spacer { flex: 1 1 auto; }

.lnav__tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.lnav__tab {
  position: relative;
  font-family: var(--font-hed);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: var(--bone-2);
  padding: 10px 16px;
  border-radius: var(--r-sharp);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast);
}
.lnav__tab::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-out);
}
.lnav__tab:hover { color: var(--bone); }
.lnav__tab:hover::after { transform: scaleX(1); }
.lnav__tab.is-active { color: var(--accent); }
.lnav__tab.is-active::after { transform: scaleX(1); }

/* Mobile "Topics" sidebar trigger — only rendered on topic pages */
.lnav__menu {
  display: none;
  align-items: center;
  gap: 9px;
  background: rgba(157,255,43,0.10);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--font-hed);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  padding: 9px 14px;
  border-radius: var(--r-sharp);
  cursor: pointer;
}
.lnav__menu svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; }

/* ==========================================================================
   WIKI SHELL — sidebar / article / on-this-page
   ========================================================================== */
.wiki-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px 96px;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr) 196px;
  gap: 40px;
  align-items: start;
}

/* ---- Left sidebar -------------------------------------------------------- */
.wiki-sidebar {
  position: sticky;
  top: calc(var(--lnav-h) + 22px);
  max-height: calc(100vh - var(--lnav-h) - 40px);
  overflow-y: auto;
  padding: 26px 4px 26px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(157,255,43,0.35) transparent;
}
.wiki-sidebar::-webkit-scrollbar { width: 8px; }
.wiki-sidebar::-webkit-scrollbar-thumb { background: rgba(157,255,43,0.30); border-radius: 999px; }

.wiki-search {
  position: relative;
  margin-bottom: 22px;
}
.wiki-search__input {
  width: 100%;
  background: rgba(19,24,26,0.85);
  border: 1px solid var(--hairline-strong);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 11px 12px 11px 34px;
  border-radius: var(--r-sharp);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.wiki-search__input::placeholder { color: var(--bone-3); }
.wiki-search__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(157,255,43,0.16);
}
.wiki-search__icon {
  position: absolute;
  left: 11px; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  stroke: var(--bone-3);
  stroke-width: 2;
  fill: none;
  pointer-events: none;
}
.wiki-search__results {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 6px);
  background: var(--ink-2);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  max-height: 340px;
  overflow-y: auto;
  z-index: 40;
  display: none;
}
.wiki-search__results.is-open { display: block; }
.wiki-search__result {
  display: block;
  padding: 10px 13px;
  border-bottom: 1px solid var(--hairline);
}
.wiki-search__result:last-child { border-bottom: 0; }
.wiki-search__result:hover,
.wiki-search__result.is-active { background: var(--accent-soft); }
.wiki-search__result strong {
  display: block;
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  color: var(--bone);
}
.wiki-search__result span {
  font-size: 12px;
  color: var(--bone-3);
}
.wiki-search__result mark {
  background: rgba(157,255,43,0.30);
  color: var(--bone);
  border-radius: 2px;
}
.wiki-search__empty {
  padding: 14px;
  font-size: 13px;
  color: var(--bone-3);
  text-align: center;
}

.wiki-nav__group { margin-bottom: 20px; }
.wiki-nav__group-label {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--accent);
  padding: 0 10px;
  margin-bottom: 8px;
  opacity: 0.85;
}
.wiki-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sharp);
  border-left: 2px solid transparent;
  color: var(--bone-2);
  font-family: var(--font-hed);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 14.5px;
  line-height: 1.15;
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.wiki-nav__link svg {
  width: 17px; height: 17px;
  flex: 0 0 17px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  opacity: 0.7;
}
.wiki-nav__link:hover {
  color: var(--bone);
  background: rgba(255,255,255,0.03);
}
.wiki-nav__link.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  border-left-color: var(--accent);
}
.wiki-nav__link.is-active svg { opacity: 1; }

/* ---- Center column ------------------------------------------------------- */
.wiki-main { min-width: 0; padding-top: 22px; }

/* Topic hero banner */
.topic-hero {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  padding: 30px 30px 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--hairline);
  isolation: isolate;
}
.topic-hero__bg {
  position: absolute; inset: -7%;            /* bleed so the blur never shows hard edges */
  background-image: var(--banner, none);
  background-size: cover;
  background-position: center 34%;
  filter: blur(2px) saturate(1.14) contrast(1.06) brightness(0.92);
  transform: scale(1.04);
  z-index: -2;
}
.topic-hero__bg::after {  /* film grain over the image */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.28;
  mix-blend-mode: overlay;
}
.topic-hero::before {  /* gold grade + scrim, darker toward lower-left for the title */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 130% at 14% 4%, rgba(157,255,43,0.32), transparent 50%),
    linear-gradient(90deg, rgba(10,13,10,0.72) 0%, rgba(10,13,10,0.12) 46%, transparent 70%),
    linear-gradient(180deg, rgba(10,13,10,0.28) 0%, rgba(10,13,10,0.55) 52%, rgba(10,13,10,0.96) 100%);
}
.topic-hero::after {  /* scanline + vignette */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 46% 42%, transparent 48%, rgba(0,0,0,0.5) 100%);
}
/* gradient fallback when no banner image is present yet */
.topic-hero {
  background:
    linear-gradient(135deg, rgba(157,255,43,0.16), rgba(10,13,10,0.9) 60%),
    var(--ink-2);
}
.topic-hero__kicker {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.topic-hero__kicker::before {
  content: ""; width: 26px; height: 1px; background: var(--accent);
}
.topic-hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.94;
  letter-spacing: 0.01em;
  color: var(--bone);
  text-shadow: 0 4px 22px rgba(0,0,0,0.55);
}
.topic-hero__lede {
  margin-top: 14px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* ---- Article body -------------------------------------------------------- */
.topic-body {
  padding-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--bone-2);
}
.topic-body > section { padding-top: 26px; scroll-margin-top: calc(var(--lnav-h) + 20px); }
.topic-body h2 {
  font-family: var(--font-hed);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 25px;
  color: var(--bone);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.topic-body h2::before {  /* gold tick */
  content: "";
  width: 14px; height: 3px;
  background: var(--accent);
  flex: 0 0 14px;
  transform: translateY(-5px);
}
.topic-body h3 {
  font-family: var(--font-hed);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 17px;
  color: var(--accent);
  margin: 24px 0 8px;
}
.topic-body p { margin-bottom: 14px; }
.topic-body a:not(.btn-gold):not(.btn-ghost) {
  color: var(--accent);
  border-bottom: 1px solid rgba(157,255,43,0.35);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.topic-body a:not(.btn-gold):not(.btn-ghost):hover {
  color: #c4ff78;
  border-bottom-color: var(--accent);
}
.topic-body strong { color: var(--bone); font-weight: 600; }
.topic-body em { color: var(--bone); font-style: italic; }
.topic-body ul, .topic-body ol { margin: 0 0 16px; padding-left: 4px; list-style: none; }
.topic-body ul li, .topic-body ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.topic-body ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}
.topic-body ol { counter-reset: li; }
.topic-body ol li { counter-increment: li; }
.topic-body ol li::before {
  content: counter(li);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}
.topic-body .lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--bone);
  margin-bottom: 20px;
}

/* Inline command / key chips */
.cmd, .key {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
}
.cmd {
  background: rgba(157,255,43,0.12);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.key {
  background: var(--ink-3);
  border: 1px solid var(--hairline-strong);
  border-bottom-width: 2px;
  color: var(--bone);
}

/* Callouts */
.callout {
  position: relative;
  display: flex;
  gap: 14px;
  margin: 20px 0;
  padding: 16px 18px;
  background: rgba(19,24,26,0.7);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-card);
}
.callout__icon {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  margin-top: 1px;
}
.callout__icon svg { width: 22px; height: 22px; stroke-width: 2; fill: none; stroke: var(--accent); }
.callout__body { font-size: 14.5px; line-height: 1.6; }
.callout__body > *:last-child { margin-bottom: 0; }
.callout__title {
  display: block;
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 5px;
}
.callout--warn { border-left-color: #ff9b2d; }
.callout--warn .callout__icon svg { stroke: #ff9b2d; }
.callout--warn .callout__title { color: #ff9b2d; }
.callout--danger { border-left-color: var(--danger); background: rgba(255,45,45,0.06); }
.callout--danger .callout__icon svg { stroke: var(--danger); }
.callout--danger .callout__title { color: #ff6b6b; }
.callout--rule { border-left-color: var(--accent); background: rgba(157,255,43,0.06); }

/* Key-facts pill grid */
.keyfacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 8px 0 22px;
}
.keyfact {
  background: rgba(19,24,26,0.8);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 14px 16px;
}
.keyfact__val {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
}
.keyfact__lbl {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--bone-3);
  margin-top: 6px;
}

/* Data tables */
.wiki-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 22px; border-radius: var(--r-card); border: 1px solid var(--hairline); }
.wiki-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 460px;
}
.wiki-table thead th {
  background: rgba(157,255,43,0.10);
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11.5px;
  color: var(--accent);
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--accent-line);
}
.wiki-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
  color: var(--bone-2);
  vertical-align: top;
}
.wiki-table tbody tr:last-child td { border-bottom: 0; }
.wiki-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.018); }
.wiki-table tbody tr:hover td { background: rgba(157,255,43,0.05); }
.wiki-table strong { color: var(--bone); }
.wiki-table .num { font-family: var(--font-mono); color: var(--bone); white-space: nowrap; }

/* Step cards (flows) */
.steps { counter-reset: step; margin: 8px 0 22px; padding: 0 !important; list-style: none; }
.steps > li {
  position: relative;
  counter-increment: step;
  padding: 4px 0 18px 50px !important;
  margin: 0 !important;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 17px;
  border-radius: var(--r-sharp);
}
.steps > li::after {  /* connector line */
  content: "";
  position: absolute;
  left: 17px; top: 38px; bottom: 6px;
  width: 1px;
  background: var(--hairline-strong);
}
.steps > li:last-child::after { display: none; }
.steps > li strong { color: var(--bone); }
.steps__t {
  display: block;
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  color: var(--bone);
  margin-bottom: 3px;
}

/* Cross-link cards (related topics inside a page) */
.linkcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 10px 0 22px;
}
.linkcard {
  display: block;
  padding: 14px 16px;
  background: rgba(19,24,26,0.8);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  border-bottom: 0 !important;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast), background var(--dur-fast);
}
.linkcard:hover { transform: translateY(-2px); border-color: var(--accent-line); background: rgba(27,33,36,0.9); }
.linkcard__t {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  color: var(--accent) !important;
}
.linkcard__d { font-size: 13px; color: var(--bone-3); margin-top: 4px; }

/* Prev / next footer nav */
.wiki-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.wiki-prevnext__link {
  display: block;
  padding: 16px 18px;
  background: rgba(19,24,26,0.75);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast), background var(--dur-fast);
}
.wiki-prevnext__link:hover { transform: translateY(-2px); border-color: var(--accent-line); background: rgba(27,33,36,0.9); }
.wiki-prevnext__link--next { text-align: right; }
.wiki-prevnext__dir {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--bone-3);
}
.wiki-prevnext__t {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 16px;
  color: var(--accent);
  margin-top: 4px;
}
.wiki-prevnext__link--next:only-child { grid-column: 2; }

/* ---- Right rail: On this page -------------------------------------------- */
.wiki-onthispage {
  position: sticky;
  top: calc(var(--lnav-h) + 22px);
  padding-top: 30px;
  font-size: 13px;
}
.wiki-onthispage__label {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--bone-3);
  margin-bottom: 12px;
}
.wiki-onthispage a {
  display: block;
  padding: 5px 0 5px 12px;
  border-left: 2px solid var(--hairline);
  color: var(--bone-3);
  line-height: 1.35;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.wiki-onthispage a:hover { color: var(--bone-2); border-left-color: var(--bone-3); }
.wiki-onthispage a.is-active { color: var(--accent); border-left-color: var(--accent); }

/* ==========================================================================
   WIKI FOOTER (shared, injected)
   ========================================================================== */
.wiki-footer {
  border-top: 1px solid var(--hairline);
  margin-top: 40px;
  padding: 40px 28px;
  text-align: center;
}
.wiki-footer__links {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.wiki-footer__links a {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--bone-2);
  transition: color var(--dur-fast);
}
.wiki-footer__links a:hover { color: var(--accent); }
.wiki-footer__note {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--bone-3);
}

/* ==========================================================================
   HOME — feature cards become topic links (wired on the wiki landing)
   ========================================================================== */
.feat { cursor: pointer; }
.feat__link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0 !important;
}
.feat__link::after {
  content: "\2192";              /* → */
  position: absolute;
  right: 16px; bottom: 12px;
  font-family: var(--font-hed);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.feat:hover .feat__link::after { opacity: 1; transform: translateX(0); }
.feat--hero .feat__link::after { right: 24px; bottom: 20px; font-size: 26px; }
@media (prefers-reduced-motion: reduce) {
  .feat__link::after { transition: none; }
}

/* ==========================================================================
   WIKI HOME — portal landing
   ========================================================================== */
.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 28px 66px;
  text-align: center;
  border-bottom: 1px solid var(--accent-line);
  background:
    linear-gradient(135deg, rgba(157,255,43,0.16), rgba(10,13,10,0.92) 60%),
    var(--ink-2);
}
.home-hero__bg {
  position: absolute; inset: -5%;
  background-image: var(--banner, none);
  background-size: cover;
  background-position: center 40%;
  filter: saturate(1.16) contrast(1.06) brightness(0.96);
  transform: scale(1.04);
  z-index: -3;
  /* static 4K hero image — effects provide the motion */
}
.home-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  z-index: -2; opacity: 0;
  transition: opacity 900ms ease;
  pointer-events: none;
}
.home-hero__video.is-ready { opacity: 1; }
/* once the real video is playing, drop the CSS drift + flashing-light fallback */
.home-hero--video .home-hero__bg { animation: none; opacity: 0; }
.home-hero__video { height: 100% !important; }
.home-hero--video .home-hero__fx::before,
.home-hero--video .home-hero__fx::after { opacity: 0 !important; animation: none; }
.home-hero__bg::after {  /* film grain over the hero image */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.26; mix-blend-mode: overlay;
}
.home-hero__fx {  /* subtle gold corner accent + vignette + scrim + scanline */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 42% at 50% 30%, rgba(8,10,7,0.46), transparent 70%),
    radial-gradient(58% 46% at 92% -12%, rgba(157,255,43,0.20), transparent 54%),
    radial-gradient(56% 50% at 8% 108%, rgba(157,255,43,0.09), transparent 58%),
    radial-gradient(112% 98% at 50% 42%, transparent 46%, rgba(8,10,7,0.48) 100%),
    linear-gradient(180deg, rgba(8,10,7,0.10) 0%, rgba(8,10,7,0.30) 60%, rgba(8,10,7,0.84) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
}
/* zombie-infected ambience — breathing toxic-green miasma + low drifting fog */
.home-hero__fx::before,
.home-hero__fx::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.home-hero__fx::before {  /* breathing toxic miasma bloom */
  background:
    radial-gradient(62% 54% at 50% 72%, rgba(157,255,43,0.16), transparent 70%),
    radial-gradient(38% 34% at 24% 28%, rgba(120,200,40,0.10), transparent 72%);
  animation: miasmaPulse 6.5s ease-in-out infinite;
}
.home-hero__fx::after {  /* low toxic fog creeping across the base */
  background: linear-gradient(0deg, rgba(120,190,45,0.12) 0%, rgba(120,190,45,0.05) 22%, transparent 44%);
  opacity: 0.7;
  animation: fogCreep 16s ease-in-out infinite alternate;
}
/* faint failing-power flicker over the scene — post-apocalyptic, kept gentle */
.home-hero__bg { animation: heroFlicker 11s linear infinite; }
@keyframes heroDrift {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.10) translate(-1.4%, -0.8%); }
}
@keyframes miasmaPulse { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.85; transform: scale(1.05); } }
@keyframes fogCreep { from { transform: translate3d(-3%, 0, 0); opacity: 0.5; } to { transform: translate3d(3%, 0, 0); opacity: 0.85; } }
@keyframes heroFlicker {
  0%, 46%, 52%, 82%, 100% { filter: saturate(1.16) contrast(1.06) brightness(0.96); }
  48% { filter: saturate(1.18) contrast(1.12) brightness(0.78); }
  50% { filter: saturate(1.16) contrast(1.06) brightness(1.03); }
  84% { filter: saturate(1.18) contrast(1.12) brightness(0.82); }
}
/* Home hero motion (cash, embers, cruiser lights) plays for ALL visitors by owner
   request — it stays fully alive even with the OS "reduce motion" setting on. */
.home-hero__inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.home-hero__logo {
  display: block; margin: 4px auto 16px;
  max-width: 420px; width: 66%; height: auto;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,0.9));
}
.home-hero__kicker {
  font-family: var(--font-hed);
  text-transform: uppercase; letter-spacing: 0.3em; font-size: 13px;
  color: var(--accent); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.home-hero__kicker::before, .home-hero__kicker::after { content: ""; width: 30px; height: 1px; background: var(--accent); }
.home-hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(46px, 7.6vw, 108px);
  line-height: 0.84; letter-spacing: 0.012em; color: #f1ffe0;
  text-shadow:
    0 1px 0 #3a4a22, 0 2px 0 #31401c, 0 3px 0 #283517, 0 4px 0 #1f2a12, 0 5px 0 #16200c,
    0 6px 2px rgba(0,0,0,.45), 0 12px 26px rgba(0,0,0,.62), 0 0 44px rgba(157,255,43,.30);
  animation: heroTitleIn 1s .14s cubic-bezier(.2,.7,.2,1) both;
}
.home-hero__title em {
  color: var(--accent); font-style: normal;
  text-shadow:
    0 1px 0 #5a7a1e, 0 2px 0 #4c6818, 0 3px 0 #3e5613, 0 4px 0 #30440e, 0 5px 0 #223209,
    0 6px 2px rgba(0,0,0,.5), 0 12px 28px rgba(0,0,0,.68), 0 0 50px rgba(157,255,43,.62);
}
@keyframes heroTitleIn { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }
/* orchestrated hero entrance (staggered) */
.home-hero__kicker { animation: heroIn .7s 0s cubic-bezier(.2,.7,.2,1) both; }
.home-hero__logo   { animation: heroIn .7s .06s cubic-bezier(.2,.7,.2,1) both; }
.home-hero__lede   { animation: heroIn .7s .30s cubic-bezier(.2,.7,.2,1) both; }
.home-hero__search { animation: heroIn .7s .38s cubic-bezier(.2,.7,.2,1) both; }
.home-hero__cta    { animation: heroIn .7s .46s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .home-hero__title, .home-hero__kicker, .home-hero__logo, .home-hero__lede, .home-hero__search, .home-hero__cta { animation: none; }
}
.home-hero__lede {
  margin: 18px auto 0; max-width: 620px;
  font-size: 17px; line-height: 1.6; color: var(--bone);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.home-hero__search { max-width: 540px; margin: 28px auto 0; }
.home-hero__search .wiki-search__input { padding: 15px 14px 15px 44px; font-size: 15px; background: rgba(10,13,10,0.8); }
.home-hero__search .wiki-search__icon { left: 15px; width: 18px; height: 18px; }
.home-hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ======================================================================
   HERO EFFECTS — money rain · gold title sheen · cop-light pulse · scroll cue
   ====================================================================== */
html { scroll-behavior: smooth; }
#browse { scroll-margin-top: 84px; }

/* floating money — extends the cash-storm from the video up into the page */
.home-hero__money { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; perspective: 700px; }
.home-hero__money span {
  position: absolute; top: -44px; left: var(--x, 50%);
  width: calc(11px * var(--s, 1)); height: calc(11px * var(--s, 1));
  opacity: 0; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(circle at 50% 40%, rgba(206,255,140,0.95), rgba(157,255,43,0.55) 46%, transparent 72%);
  filter: drop-shadow(0 0 6px rgba(157,255,43,0.7));
  animation: moneyFall var(--dur, 13s) var(--delay, 0s) linear infinite;
}
/* gentle 3D flutter — tilts within ±26deg so the flat bill never goes edge-on or shows a mirrored back */
@keyframes moneyFall {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) rotateX(-14deg) rotateY(20deg) rotateZ(var(--rot, 0deg)); }
  7%   { opacity: var(--op, 0.85); }
  25%  { transform: translate3d(calc(var(--drift, 20px) * 0.3), 230px, 0) rotateX(24deg) rotateY(-22deg) rotateZ(calc(var(--rot, 0deg) + 34deg)); }
  50%  { transform: translate3d(calc(var(--drift, 20px) * 0.56), 450px, 0) rotateX(-26deg) rotateY(23deg) rotateZ(calc(var(--rot, 0deg) + 72deg)); }
  75%  { transform: translate3d(calc(var(--drift, 20px) * 0.8), 670px, 0) rotateX(20deg) rotateY(-18deg) rotateZ(calc(var(--rot, 0deg) + 108deg)); }
  90%  { opacity: var(--op, 0.85); }
  100% { opacity: 0; transform: translate3d(var(--drift, 20px), 890px, 0) rotateX(-12deg) rotateY(16deg) rotateZ(calc(var(--rot, 0deg) + 148deg)); }
}

/* acid shine sweep across the primary CTA */
.home-hero .laz-btn--primary { position: relative; overflow: hidden; }
.home-hero .laz-btn--primary::after {
  content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-220%); animation: ctaShine 5.5s 2.2s ease-in-out infinite;
}
@keyframes ctaShine { 0% { transform: translateX(-220%); } 20% { transform: translateX(360%); } 100% { transform: translateX(360%); } }


/* scroll-down cue */
.home-hero__scroll {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; padding: 12px; color: var(--bone); text-decoration: none;
  opacity: 0; animation: scrollFadeIn 0.8s 0.8s ease both;
}
.home-hero__scroll:hover { color: var(--accent); }
.home-hero__scroll-chev { display: block; width: 26px; height: 26px; animation: scrollBob 1.9s ease-in-out infinite; }
.home-hero__scroll-chev svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6)); }
@keyframes scrollFadeIn { from { opacity: 0; } to { opacity: 0.85; } }
@keyframes scrollBob { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(6px); opacity: 1; } }
@media (max-width: 640px) { .home-hero__scroll { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .home-hero__scroll-chev { animation: none; }
  .home-hero .laz-btn--primary::after { animation: none; opacity: 0; }
}

.home-body { max-width: 1200px; margin: 0 auto; padding: 58px 28px 92px; }
.home-section-head { text-align: center; margin-bottom: 38px; }
.home-section-head__kicker {
  font-family: var(--font-hed); text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 12px; color: var(--accent);
}
.home-section-head__title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(28px, 4vw, 44px); line-height: 1; color: var(--bone); margin-top: 8px;
}

.home-group { margin-bottom: 38px; }
.home-group__label {
  font-family: var(--font-hed); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 13px; color: var(--accent); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--hairline);
}
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 186px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.home-card__media {
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--banner, none);
  background-size: cover; background-position: center 38%;
  filter: saturate(1.12) contrast(1.05) brightness(0.62);
  transform: scale(1.03);
  transition: transform 600ms var(--ease-out), filter 300ms;
}
.home-card__media::after {  /* film grain + scanline effects */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px);
  opacity: 0.6; mix-blend-mode: overlay;
}
.home-card::after {  /* gold grade + vignette + strong base for legible titles */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(130% 85% at 0% 0%, rgba(157,255,43,0.22), transparent 46%),
    radial-gradient(120% 110% at 50% 40%, transparent 52%, rgba(0,0,0,0.5) 100%),
    linear-gradient(180deg, rgba(10,13,10,0.05) 0%, rgba(10,13,10,0.32) 42%, rgba(10,13,10,0.8) 74%, rgba(10,13,10,0.97) 100%);
}
.home-card::before {  /* gold top accent */
  content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 3px; z-index: 1;
  background: var(--accent);
  transition: width 350ms var(--ease-out);
}
.home-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: 0 22px 46px rgba(0,0,0,0.5); }
.home-card:hover::before { width: calc(100% - 32px); }
.home-card:hover .home-card__media { transform: scale(1.08); filter: saturate(1.18) contrast(1.05) brightness(0.78); }
.home-card__icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(10,13,10,0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-sharp);
  align-self: flex-start;
}
.home-card__icon svg { width: 21px; height: 21px; stroke: var(--accent); stroke-width: 1.8; fill: none; }
.home-card__body { position: relative; display: block; }
.home-card__body::before {  /* short gold rule above the title */
  content: ""; display: block; width: 28px; height: 2px; background: var(--accent); margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(157,255,43,0.5);
}
.home-card__t {
  display: block;
  font-family: var(--font-hed); text-transform: uppercase; font-weight: 800;
  letter-spacing: 0.03em; font-size: 18px; color: var(--bone); line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}
.home-card__d {
  display: block;
  font-size: 13px; line-height: 1.42; color: var(--bone-2); margin-top: 5px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.95);
}

.home-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.home-teaser {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 212px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 28px 26px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-card);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
.home-teaser__media {
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--banner, none);
  background-size: cover; background-position: center right;
  filter: saturate(1.12) contrast(1.05) brightness(0.72);
  transform: scale(1.02);
  transition: transform 600ms var(--ease-out);
}
.home-teaser::after {  /* left-weighted dark gradient so the text reads */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,13,10,0.94) 0%, rgba(10,13,10,0.6) 44%, rgba(10,13,10,0.22) 100%),
    linear-gradient(180deg, transparent 42%, rgba(10,13,10,0.55) 100%);
}
.home-teaser:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0,0,0,0.45); }
.home-teaser:hover .home-teaser__media { transform: scale(1.06); }
.home-teaser__kicker { position: relative; font-family: var(--font-hed); text-transform: uppercase; letter-spacing: 0.2em; font-size: 11px; color: var(--accent); }
.home-teaser__title { position: relative; font-family: var(--font-display); text-transform: uppercase; font-size: 32px; line-height: 1; color: var(--bone); margin: 8px 0; text-shadow: 0 3px 16px rgba(0,0,0,0.85); }
.home-teaser__desc { position: relative; font-size: 14px; line-height: 1.5; color: var(--bone-2); max-width: 86%; text-shadow: 0 1px 8px rgba(0,0,0,0.9); }
.home-teaser__go { position: relative; margin-top: 14px; font-family: var(--font-hed); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--accent); }
.home-teaser--perks::after {
  background:
    linear-gradient(90deg, rgba(10,13,10,0.94) 0%, rgba(18,13,3,0.62) 44%, rgba(157,255,43,0.14) 100%),
    linear-gradient(180deg, transparent 42%, rgba(10,13,10,0.55) 100%);
}

/* features page intro hint */
.mash__hint { margin-top: 18px; font-size: 14px; color: var(--bone-3); }
.mash__hint a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }

@media (max-width: 900px) {
  .home-cards { grid-template-columns: repeat(2, 1fr); }
  .home-teasers { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-hero { padding: 78px 18px 50px; }
  .home-cards { grid-template-columns: 1fr; }
  .home-body { padding: 44px 18px 72px; }
}

/* ==========================================================================
   PERKS PAGE — VIP donor tiers
   ========================================================================== */
.perks-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px 100px; }
.perks-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0 46px;
}
.perks-hero__kicker {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.perks-hero__kicker::before,
.perks-hero__kicker::after { content: ""; width: 30px; height: 1px; background: var(--accent); }
.perks-hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--bone);
}
.perks-hero__title em { color: var(--accent); font-style: normal; }
.perks-hero__lede {
  margin: 18px auto 0;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--bone-2);
}

.perk-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.perk-card {
  position: relative;
  background: rgba(19,24,26,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 30px 26px 28px;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base);
}
.perk-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--tier, var(--accent)), transparent);
  opacity: 0.8;
}
.perk-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: 0 22px 50px rgba(0,0,0,0.4); }
.perk-card--featured {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 1px var(--accent-line), 0 24px 60px rgba(0,0,0,0.45);
}
.perk-card__pop {
  position: absolute;
  top: 14px; right: -34px;
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-hed);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  padding: 5px 40px;
}
.perk-card__badge {
  height: 116px;
  margin: 6px auto 14px;
  display: block;
  width: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.6))
          drop-shadow(0 0 26px color-mix(in srgb, var(--tier, var(--accent)) 40%, transparent));
}
.perk-card__name {
  text-align: center;
  font-family: var(--font-hed);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 24px;
  color: var(--bone);
}
.perk-card__price {
  text-align: center;
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
  margin: 6px 0 2px;
}
.perk-card__price span { font-size: 16px; color: var(--bone-3); font-family: var(--font-hed); letter-spacing: 0.1em; }
.perk-card__sub {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--bone-3);
  margin-bottom: 20px;
}
.perk-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: var(--font-hed);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: var(--r-sharp);
  border: 1px solid var(--accent-line);
  background: rgba(157,255,43,0.08);
  color: var(--accent);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), box-shadow var(--dur-fast);
}
.perk-cta:hover { transform: translateY(-2px); background: rgba(157,255,43,0.16); }
.perk-card--featured .perk-cta {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(157,255,43,0.5), 0 12px 30px rgba(157,255,43,0.22);
}
.perk-card--featured .perk-cta:hover { background: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(157,255,43,0.3); }

.perk-includes {
  margin: 22px 0 16px;
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--bone-2);
  padding: 9px 12px;
  background: rgba(157,255,43,0.07);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-sharp);
}
.perk-includes strong { color: var(--accent); }
.perk-groups-label {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--bone-3);
  margin: 18px 0 12px;
}
.perk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.perk {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 11px;
  border-radius: var(--r-sharp);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
a.perk { cursor: pointer; }
a.perk:hover { background: color-mix(in srgb, var(--tier, var(--accent)) 9%, transparent); border-color: color-mix(in srgb, var(--tier, var(--accent)) 42%, transparent); }
a.perk:hover .perk__ic { background: color-mix(in srgb, var(--tier, var(--accent)) 26%, transparent); }
a.perk:hover .perk__t { color: var(--tier, var(--accent)); }
.perk__ic {
  flex: 0 0 34px; width: 34px; height: 34px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--tier, var(--accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tier, var(--accent)) 42%, transparent);
  border-radius: var(--r-sharp);
  transition: background var(--dur-fast);
}
.perk__ic svg { width: 18px; height: 18px; stroke: var(--tier, var(--accent)); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.perk__txt { min-width: 0; }
.perk__t {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14px;
  color: var(--bone);
  margin-bottom: 2px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  transition: color var(--dur-fast);
}
.perk__cmd {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--tier, var(--accent));
  background: color-mix(in srgb, var(--tier, var(--accent)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tier, var(--accent)) 42%, transparent);
  padding: 1px 6px;
  border-radius: 3px;
}
.perk__d { font-size: 12.5px; line-height: 1.45; color: var(--bone-3); }

.perks-note {
  text-align: center;
  margin-top: 44px;
  font-size: 14px;
  color: var(--bone-3);
}
.perks-note a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }

@media (max-width: 920px) {
  .perk-tiers { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ==========================================================================
   MOBILE SIDEBAR DRAWER
   ========================================================================== */
.wiki-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base);
}
.wiki-scrim.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .wiki-shell { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .wiki-onthispage { display: none; }
}

@media (max-width: 900px) {
  .wiki-shell { grid-template-columns: 1fr; padding: 0 20px 72px; }
  .lnav__menu { display: inline-flex; }

  .wiki-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 290px;
    max-width: 86vw;
    max-height: none;
    z-index: 115;
    background: var(--ink-2);
    border-right: 1px solid var(--accent-line);
    padding: calc(var(--lnav-h) + 18px) 18px 24px;
    transform: translateX(-104%);
    transition: transform var(--dur-base) var(--ease-out);
  }
  .wiki-sidebar.is-open { transform: translateX(0); box-shadow: 24px 0 60px rgba(0,0,0,0.6); }

  /* Mobile header: compact icon-only Topics button + tabs that scroll (rightward,
     reachable) instead of pushing the whole page wide. Spacer kept so tabs stay right-aligned. */
  .lnav__menu { padding: 9px 11px; gap: 0; }
  .lnav__menu span { display: none; }
  .lnav__tabs {
    flex: 0 1 auto; min-width: 0;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .lnav__tabs::-webkit-scrollbar { display: none; }
}

@media (max-width: 680px) {
  .lnav__inner { padding: 0 16px; gap: 12px; }
  .lnav__brand img { height: 36px; }
  .lnav__tab { padding: 9px 8px; font-size: 12.5px; letter-spacing: 0.07em; }
  .lnav__tab::after { left: 8px; right: 8px; }
  .topic-hero { padding: 24px 20px 20px; min-height: 180px; }
  .topic-body { font-size: 15px; }
  .topic-body h2 { font-size: 22px; }
  .wiki-prevnext { grid-template-columns: 1fr; }
  .wiki-prevnext__link--next { text-align: left; }
  .wiki-prevnext__link--next:only-child { grid-column: 1; }

  /* Tables: shrink to fit + wrap long cells so they don't force a wide page */
  .wiki-table { min-width: 0; font-size: 13px; }
  .wiki-table thead th { padding: 9px 10px; font-size: 10.5px; letter-spacing: 0.06em; }
  .wiki-table tbody td { padding: 8px 10px; }
  .wiki-table .num { white-space: normal; }
}

/* Reduced motion — disable transitions/transforms (no blanket override). */
@media (prefers-reduced-motion: reduce) {
  .lnav__brand, .lnav__tab, .lnav__tab::after,
  .linkcard, .wiki-prevnext__link, .wiki-sidebar,
  .wiki-scrim, .wiki-nav__link, .wiki-search__input { transition: none; }
  .linkcard:hover, .wiki-prevnext__link:hover, .lnav__brand:hover { transform: none; }
}

/* ── In-game item showcase (inline icons + cards) ─────────────────────── */
.item-ico { width: 1.5em; height: 1.5em; object-fit: contain; vertical-align: middle; margin-right: .4em; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }

.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .6rem; margin: 1.3rem 0; }
.item-grid--sm { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }

.item-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem;
  padding: .95rem .55rem .8rem;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid color-mix(in srgb, var(--rarity, var(--accent)) 32%, transparent);
  border-radius: 13px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.item-card:hover { border-color: var(--rarity, var(--accent)); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.45); }
.item-card__img {
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 11px;
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--rarity, var(--accent)) 18%, transparent), transparent 72%);
}
.item-card__img img, .item-card > img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 3px 7px rgba(0,0,0,.6)); }
.item-card__n { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: .9rem; color: #fff; line-height: 1.08; }
.item-card__d { font-size: .73rem; color: rgba(255,255,255,.6); line-height: 1.22; }
.item-grid--sm .item-card { padding: .7rem .4rem .6rem; }
.item-grid--sm .item-card__img { width: 48px; height: 48px; }
.item-grid--sm .item-card__img img, .item-grid--sm .item-card > img { width: 40px; height: 40px; }
.item-grid--sm .item-card__n { font-size: .78rem; }

@media (prefers-reduced-motion: reduce) { .item-card { transition: none; } .item-card:hover { transform: none; } }

/* ── Site-wide textured background + ambient depth ─────────────────────── */
body.wiki-page {
  background-color: var(--ink, #0a0d0a);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.42 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(125% 85% at 6% -8%, rgba(157,255,43,.085), transparent 42%),
    radial-gradient(115% 78% at 104% 110%, rgba(157,255,43,.055), transparent 46%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.014) 0 1px, transparent 1px 30px);
  background-attachment: fixed;
  background-size: 150px 150px, cover, cover, auto;
}

/* ── Scroll reveal (added to below-the-fold blocks by wiki.js) ─────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.reveal--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ── Gold highlight sweep for key emphasis (hyperframes-style) ─────────── */
.hl-sweep { position: relative; display: inline; }
.hl-sweep::before {
  content: ""; position: absolute; left: -.12em; right: -.12em; top: .1em; bottom: .06em;
  background: linear-gradient(90deg, rgba(157,255,43,.34), rgba(157,255,43,.14));
  transform: scaleX(0); transform-origin: left center; border-radius: 3px; z-index: -1;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.home-hero .hl-sweep::before { animation: hlSweep .9s .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hlSweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hl-sweep::before { transform: scaleX(1); animation: none; } }

/* ── Clickable item cards + detail modal ──────────────────────────────── */
.item-card--clickable { cursor: pointer; }
.item-card--clickable:focus-visible { outline: 2px solid var(--rarity, var(--accent)); outline-offset: 3px; }
.item-card--clickable::after {
  content: "i"; position: absolute; top: 7px; right: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  font: 700 11px/16px 'Barlow Condensed', sans-serif; text-align: center;
  color: var(--rarity, var(--accent)); background: color-mix(in srgb, var(--rarity, var(--accent)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--rarity, var(--accent)) 38%, transparent);
  opacity: 0; transition: opacity .18s ease;
}
.item-card { position: relative; }
.item-card--clickable:hover::after, .item-card--clickable:focus-visible::after { opacity: 1; }
/* Touch devices have no hover — surface the "i" affordance so the detail modal is discoverable. */
@media (hover: none) { .item-card--clickable::after { opacity: .68; } }

.item-modal[hidden] { display: none; }
.item-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.item-modal__scrim { position: absolute; inset: 0; background: rgba(6,8,6,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.item-modal__box {
  position: relative; z-index: 1; width: min(440px, 100%); max-height: 86vh; overflow: auto;
  background: linear-gradient(180deg, #15170f, #0b0d09);
  border: 1px solid var(--accent-line); border-radius: 16px; padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: imIn .24s cubic-bezier(.2,.7,.2,1);
}
@keyframes imIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.item-modal__close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--accent-line); border-radius: 9px; color: #fff; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.item-modal__close:hover { border-color: var(--accent); color: var(--accent); }
.item-modal__x { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.item-modal__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding-right: 34px; }
.item-modal__img { width: 74px; height: 74px; flex: none; display: grid; place-items: center; border-radius: 13px; background: radial-gradient(circle at 50% 40%, rgba(157,255,43,.2), transparent 72%); }
.item-modal__img img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.6)); }
.item-modal__cat { display: inline-block; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--accent); margin-bottom: 3px; }
.item-modal__title h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 1.4rem; line-height: 1.04; color: #fff; margin: 0; }
.item-modal__desc { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.5; margin: 0 0 14px; }
.item-modal__stats { display: grid; gap: 9px; margin: 0; }
.item-modal__stat { padding: 10px 12px; background: rgba(255,255,255,.03); border: 1px solid var(--accent-line); border-radius: 10px; }
.item-modal__stat dt { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; color: var(--accent); margin-bottom: 3px; }
.item-modal__stat dd { margin: 0; color: rgba(255,255,255,.86); font-size: .87rem; line-height: 1.45; }
body.item-modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .item-modal__box { animation: none; } }

/* ── Skill / perk boxes — vertical cards, colour-coded per tree ───────── */
.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: .6rem; margin: 1rem 0 1.7rem; padding: 0 !important; list-style: none; }
.skill-box {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem;
  padding: 1rem .7rem .9rem;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  border: 1px solid color-mix(in srgb, var(--rarity, var(--accent)) 32%, transparent);
  border-radius: 13px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.skill-box:hover { border-color: var(--rarity, var(--accent)); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.45); }
.skill-box__ic {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 12px;
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--rarity, var(--accent)) 28%, transparent), transparent 72%), rgba(8,10,7,.4);
  border: 1px solid color-mix(in srgb, var(--rarity, var(--accent)) 24%, transparent);
}
.skill-box__ic img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--rarity, var(--accent)) 60%, transparent)) drop-shadow(0 1px 3px rgba(0,0,0,.55)); }
.skill-box__b { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.skill-box__n {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-hed); text-transform: uppercase; letter-spacing: .02em;
  font-weight: 700; font-size: 13.5px; color: var(--bone); line-height: 1.1;
}
.skill-box__cost {
  font-family: var(--font-mono); font-size: 10px; color: var(--rarity, var(--accent));
  background: color-mix(in srgb, var(--rarity, var(--accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--rarity, var(--accent)) 40%, transparent);
  padding: 1px 8px; border-radius: 999px; white-space: nowrap; letter-spacing: .05em;
}
.skill-box__d { display: block; font-size: 12px; line-height: 1.36; color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: reduce) { .skill-box { transition: none; } .skill-box:hover { transform: none; } }

/* ==========================================================================
   ANIMATION ENHANCEMENT PASS  ·  UI/UX polish (appended layer)
   Cohesion + tasteful set-pieces. Every effect is reduced-motion guarded.
   Appended (not interleaved) so it layers cleanly over the base rules above.
   ========================================================================== */

/* ── Cross-page view transitions — quick gold-tuned cross-fade between same-origin pages ── */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .32s; animation-timing-function: cubic-bezier(.2,.7,.2,1);
}

/* ── Topic hero: staggered cinematic entrance + very slow background drift ── */
.topic-hero__kicker { animation: laz-rise .7s .02s cubic-bezier(.2,.7,.2,1) both; }
.topic-hero__title  { animation: laz-rise .7s .12s cubic-bezier(.2,.7,.2,1) both; }
.topic-hero__lede   { animation: laz-rise .7s .22s cubic-bezier(.2,.7,.2,1) both; }
.topic-hero__bg     { will-change: transform; animation: laz-heroDrift 32s ease-in-out infinite alternate; }
@keyframes laz-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes laz-heroDrift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.10) translate(-1.2%, -1%); } }

/* ── Section reveal flourishes: the gold H2 tick draws in, step connectors draw down ── */
.topic-body h2::before { transform-origin: left center; }
.topic-body > section.reveal--in h2::before { animation: laz-tickDraw .55s .05s cubic-bezier(.2,.7,.2,1) both; }
.steps > li::after { transform-origin: top center; }
.topic-body > section.reveal--in .steps > li::after { animation: laz-connDraw .5s .12s ease-out both; }
@keyframes laz-tickDraw { from { transform: translateY(-5px) scaleX(0); } to { transform: translateY(-5px) scaleX(1); } }
@keyframes laz-connDraw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ── Pointer spotlight on the home topic cards (a faint gold glow tracks the cursor) ── */
.home-card__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(157,255,43,0.20), transparent 62%);
  opacity: 0; transition: opacity .25s ease; mix-blend-mode: screen;
}
.home-card:hover .home-card__glow { opacity: 1; }
.home-card__icon, .home-card__body { position: relative; z-index: 1; }
@media (hover: none) { .home-card__glow { display: none; } }

/* ── Count-up figures keep a steady width while the number animates ── */
.bs__val, .perk-card__price { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .topic-hero__kicker, .topic-hero__title, .topic-hero__lede { animation: none; }
  .topic-hero__bg { animation: none; transform: scale(1.04); }
  .topic-body > section.reveal--in h2::before,
  .topic-body > section.reveal--in .steps > li::after { animation: none; }
  .home-card__glow { transition: none; }
}

/* ── Topic-hero zombie ambiance — static toxic-green base glow (compositor-cheap) ── */
.topic-hero { box-shadow: inset 0 -46px 110px -34px rgba(157,255,43,0.26); }
/* ============================================================
   UI/UX polish pass (ui-ux-pro-max): focus rings, press feedback,
   refined hover motion, tabular figures. transform/opacity only,
   150-300ms easing, reduced-motion guarded.
   ============================================================ */
.home-card:focus-visible, .home-teaser:focus-visible, .linkcard:focus-visible,
.wiki-prevnext__link:focus-visible, .feat:focus-visible, .feat__link:focus-visible,
.perk:focus-visible, .perk-cta:focus-visible, .laz-btn:focus-visible,
.wiki-nav__link:focus-visible, .home-hero__scroll:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px;
}
.home-card:active, .home-teaser:active, .linkcard:active, .wiki-prevnext__link:active { transform: translateY(-1px) scale(.986); }
.laz-btn:active, .perk-cta:active { transform: translateY(0) scale(.97); }
.feat:active { transform: translateY(-2px) scale(.99); }
.home-card__icon { transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base); }
.home-card:hover .home-card__icon { transform: translateY(-2px) scale(1.06); border-color: var(--accent); }
.home-card__body::before { transition: width var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.home-card:hover .home-card__body::before { width: 46px; }
.wiki-table .num, .keyfact__val, .bs__val { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .home-card:active, .home-teaser:active, .linkcard:active, .wiki-prevnext__link:active,
  .laz-btn:active, .perk-cta:active, .feat:active { transform: none; }
  .home-card:hover .home-card__icon { transform: none; }
}
/* ============================================================
   Hero motion v2 (ui-ux-pro): cinematic. Retired the falling
   particle curtain; a slow Ken Burns drift on the hero image
   carries the motion alongside the breathing green miasma + low
   fog. transform-only; reduced-motion safe.
   ============================================================ */
.home-hero__money { display: none; }
.home-hero__bg { animation: heroKenBurns 36s ease-in-out infinite alternate; }
@keyframes heroKenBurns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.8%, -1.4%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__bg { animation: none; transform: scale(1.06); }
}
/* ============================================================
   Hero motion v5 - subtle scary. The zombie scene carries the
   horror; motion is atmosphere, NOT a colour wash. Failing-light
   flicker (the real scare) + slow dread push-in + a breathing
   blood-red danger vignette + thin drifting fog + a faint toxic
   seep at the very base. Reduced-motion safe.
   ============================================================ */
.home-hero__money { display: none !important; }

/* slow dread push-in + failing-light flicker (image-based, no colour tint) */
.home-hero__bg {
  animation: heroDread 50s ease-in-out infinite alternate,
             heroFlicker 12s linear infinite;
}
@keyframes heroDread {
  from { transform: scale(1.05); }
  to   { transform: scale(1.13) translate3d(-1%, -1%, 0); }
}
@keyframes heroFlicker {
  /* mostly steady dim, then a brief generator-style failure twice per cycle */
  0%, 30%, 40%, 73%, 100% { filter: brightness(0.9) contrast(1.04); }
  34% { filter: brightness(0.32) contrast(1.18); }
  36% { filter: brightness(1.0)  contrast(1.08); }
  38% { filter: brightness(0.6)  contrast(1.08); }
  75% { filter: brightness(0.4)  contrast(1.18); }
  77% { filter: brightness(0.88) contrast(1.04); }
}

/* toxic-green glow seeping up from the floor (screen blend = it glows on dark) */
.home-hero__fx::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 36% at 24% 106%, rgba(110,255,40,0.40), transparent 66%),
    radial-gradient(46% 34% at 78% 108%, rgba(85,225,30,0.34), transparent 68%);
  mix-blend-mode: screen;
  animation: heroPulse 4.5s ease-in-out infinite;
}

/* smoke/fog layer removed per design — kept disabled so the scene stays clear */
.home-hero__fx::after { display: none; }

/* the green infection glow breathes a slow heartbeat (lub-dub) */
@keyframes heroPulse {
  0%, 100% { opacity: 0.5; }
  14% { opacity: 0.9; }
  28% { opacity: 0.62; }
  42% { opacity: 0.86; }
  56% { opacity: 0.5; }
}

/* title keeps its original acid extrude; just a subtle failing-light flicker */
.home-hero__title em { animation: titleFlicker 9s steps(1) infinite; }
@keyframes titleFlicker {
  0%, 49%, 52.5%, 100% { opacity: 1; }
  51% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__bg { animation: none; transform: scale(1.06); filter: brightness(0.9) contrast(1.04); }
  .home-hero__fx::before { animation: none; opacity: 0.6; }
  .home-hero__title em   { animation: none; opacity: 1; }
}