/* HYNTER website. One look only: night. */
:root {
  /* Layout: a night walk past the Hunter. Full-bleed key art lit by your headlamp, then a file on each map. */
  --void: #07060a;        /* the page: night with a bruise of violet, like the Hunter's skin */
  --pitch: #0f0c13;       /* raised panels */
  --bruise: #231b29;      /* lines and borders */
  --bone: #ece4d4;        /* text: the logo's bone white */
  --ash: #aea79f;         /* quieter text */
  --blood: #a8131c;       /* buttons, tape, the logo's glow */
  --blood-hot: #ef2b35;   /* red words on black */
  --ember: #ff8a1f;       /* the Hunter's eyes */
  --toxic: #4ad67a;       /* Specimen 9's tank, used there only */

  --font-display: "Big Shoulders Display", Impact, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-file: "Special Elite", "Courier New", Courier, monospace;

  --wrap: 1200px;
  --side-l: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --side-r: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  --section: clamp(72px, 9vw, 128px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font: 500 1.125rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--blood); color: var(--bone); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  background: url(../img/grain.png) repeat;
  opacity: .07;
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--side-l);
  padding-right: var(--side-r);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--bone);
  color: var(--void);
  font-weight: 700;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: .005em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
p { margin: 0; }
.red { color: var(--blood-hot); }
.eyebrow {
  font-family: var(--font-file);
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blood-hot);
}
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--bone); max-width: 62ch; }
.section { padding-block: var(--section); position: relative; }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  min-height: 54px;
  padding: .85rem 1.5rem;
  border: 2px solid transparent;
  font: 700 1.05rem/1.1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .25s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-blood { background: var(--blood); border-color: var(--blood); color: var(--bone); }
.btn-blood:hover { background: var(--blood-hot); border-color: var(--blood-hot); box-shadow: 0 0 34px rgba(239, 43, 53, .45); }
.btn-ghost { border-color: rgba(236, 228, 212, .55); color: var(--bone); background: rgba(7, 6, 10, .35); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(236, 228, 212, .1); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { min-height: 64px; padding: 1rem 2rem; font-size: 1.2rem; }
.soon {
  font: 400 .78rem/1 var(--font-file);
  letter-spacing: .08em;
  padding: .35em .55em;
  border: 1px dashed currentColor;
  opacity: .85;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 6, 10, .88); border-bottom-color: var(--bruise); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
  height: 68px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--side-l);
  padding-right: var(--side-r);
}
.nav-logo { flex: none; opacity: 0; transition: opacity .35s; }
.nav.scrolled .nav-logo, .nav-logo:focus-visible { opacity: 1; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); margin-right: auto; }
.nav-links a {
  font: 800 1.15rem/1 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ash);
  transition: color .2s;
}
.nav-links a:hover { color: var(--bone); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.sound {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  padding: .4rem .8rem;
  background: transparent;
  border: 1px solid rgba(236, 228, 212, .3);
  color: var(--ash);
  font: 400 .85rem/1 var(--font-file);
  letter-spacing: .06em;
  cursor: pointer;
}
.sound:hover, .sound[aria-pressed="true"] { color: var(--bone); border-color: var(--bone); }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-bars i { width: 3px; height: 5px; background: currentColor; }
.sound-bars i:nth-child(2) { height: 9px; }
.sound-bars i:nth-child(3) { height: 13px; }
.sound[aria-pressed="false"] .sound-bars { opacity: .55; }
.sound[aria-pressed="true"] .sound-bars i { animation: bars 1s ease-in-out infinite; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.4s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.7s; }
@keyframes bars { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 100svh, 1120px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--void);
}
.hero-art, .hero-eyes { position: absolute; inset: 0; margin: 0; }
.hero-art img, .hero-eyes img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 68% 50%;
}
.hero-dark {
  position: absolute;
  inset: 0;
  --beam: clamp(220px, 24vw, 380px);
  background: radial-gradient(circle var(--beam) at var(--mx, 72%) var(--my, 46%),
    rgba(7, 6, 10, 0) 0%, rgba(7, 6, 10, .18) 38%, rgba(7, 6, 10, .8) 78%, rgba(7, 6, 10, .93) 100%);
}
.hero-eyes { mix-blend-mode: screen; animation: watch 9s infinite; pointer-events: none; }
@keyframes watch {
  0%, 58%, 66%, 100% { opacity: 1; }
  60%, 61% { opacity: 0; }       /* a slow blink */
  63% { opacity: .55; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(7, 6, 10, 0), var(--void));
  pointer-events: none;
}
.fog {
  position: absolute;
  left: 0;
  width: calc(100% + 1024px);
  height: 60%;
  background: url(../img/fog.webp) repeat-x 0 100% / 1024px 512px;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 45%, #000 75%, transparent);
  animation: drift 90s linear infinite;
}
.fog-back { bottom: 12%; opacity: .16; animation-duration: 150s; animation-direction: reverse; }
.fog-front { bottom: -8%; opacity: .26; z-index: 1; }
@keyframes drift { to { transform: translateX(-1024px); } }

.hero-inner { position: relative; z-index: 3; padding-top: 120px; padding-bottom: clamp(64px, 11vh, 120px); }
.hero-copy { max-width: 740px; display: grid; gap: clamp(18px, 2.4vh, 26px); }
.kicker {
  font-family: var(--font-file);
  font-size: clamp(.9rem, 1.3vw, 1.05rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero h1 { margin-left: -1.5%; }
.hero-logo { width: min(620px, 88vw); filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .8)); animation: buzz 7s infinite; }
@keyframes buzz {
  0%, 89%, 100% { opacity: 1; }
  90% { opacity: .4; }
  91% { opacity: 1; }
  93% { opacity: .2; }
  94%, 96% { opacity: 1; }
  95% { opacity: .6; }
}
.tagline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: .98;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .9);
}
.tagline span { color: var(--blood-hot); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.rating { font-family: var(--font-file); font-size: .9rem; color: var(--ash); letter-spacing: .04em; }
.scroll-cue {
  position: absolute;
  z-index: 3;
  right: var(--side-r);
  bottom: clamp(28px, 5vh, 48px);
  font: 400 .85rem/1 var(--font-file);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--ash), transparent); animation: drip 2.4s ease-in infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- caution tape ---------- */
.tape {
  position: relative;
  z-index: 5;
  margin-block: -30px 0;
  background: var(--blood);
  transform: rotate(-1.6deg) scale(1.03);
  border-block: 3px solid var(--void);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.tape-track { display: flex; width: max-content; animation: tape 38s linear infinite; }
.tape span {
  display: inline-flex;
  align-items: center;
  gap: 1.1em;
  padding: .5em 0 .5em 1.1em;
  font: 900 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  color: var(--bone);
}
.tape span::after { content: ""; width: .32em; height: .32em; background: var(--void); transform: rotate(45deg); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- the hunt ---------- */
.hunt { padding-top: calc(var(--section) + 20px); }
.hunt-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.hunter-portrait { margin: 0; position: relative; }
.hunter-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.hunter-portrait::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 19, 28, .5), transparent);
  filter: blur(40px);
  z-index: -1;
}
.hunter-portrait figcaption { margin-top: .5rem; text-align: center; font: 400 1rem/1.4 var(--font-file); color: var(--ash); }
.hunt-copy { display: grid; gap: 1.4rem; min-width: 0; }
.roles { display: grid; margin-top: .6rem; }
.role { display: grid; gap: .5rem; padding-block: 1.4rem; border-top: 1px solid var(--bruise); }
.role p { color: var(--ash); }

/* ---------- maps ---------- */
.maps { background: radial-gradient(ellipse 70% 50% at 80% 0%, rgba(168, 19, 28, .12), transparent 70%); }
.maps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.dossier {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--pitch);
  border: 1px solid var(--bruise);
  isolation: isolate;
}
.dossier img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.dossier:hover img { transform: scale(1.04); }
.dossier::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle clamp(180px, 22vw, 300px) at var(--cx, 50%) var(--cy, 36%),
    rgba(7, 6, 10, 0), rgba(7, 6, 10, .2) 55%, rgba(7, 6, 10, .58) 100%);
}
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  font: 400 .82rem/1.35 var(--font-file);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ember);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .95);
}
.dossier-body {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: .45rem;
  padding: clamp(20px, 2.4vw, 32px);
  padding-top: 70px;
  background: linear-gradient(to bottom, rgba(7, 6, 10, 0), rgba(7, 6, 10, .88) 58%);
}
.dossier h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 900; }
.hook { font-weight: 700; font-size: 1.15rem; color: var(--blood-hot); }
.dossier-body p:last-child { color: var(--ash); font-size: 1.02rem; max-width: 52ch; }

/* ---------- modes ---------- */
.modes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.mode {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--bruise);
  background: var(--pitch);
  overflow: hidden;
}
.mode h3 { font-size: clamp(3.4rem, 8.5vw, 7.4rem); font-weight: 900; line-height: .85; }
.mode-line { font: 800 clamp(1.3rem, 2vw, 1.7rem)/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.mode p:last-child { color: var(--ash); max-width: 54ch; }
.mode-classic { background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 138, 31, .14), transparent 60%), var(--pitch); }
.mode-classic .mode-line { color: var(--ember); }
.mode-infection { background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(168, 19, 28, .28), transparent 60%), var(--pitch); }
.mode-infection h3, .mode-infection .mode-line { color: var(--blood-hot); }

/* ---------- specimen 9 ---------- */
.specimen-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.specimen-figure { margin: 0; position: relative; }
.specimen-figure img { width: 100%; border: 1px solid rgba(74, 214, 122, .35); box-shadow: 0 0 80px rgba(74, 214, 122, .16), 0 0 0 6px var(--pitch); }
.specimen-figure figcaption {
  display: inline-block;
  margin-top: 18px;
  padding: .45rem .8rem;
  border: 1px solid var(--bruise);
  background: var(--pitch);
  font: 400 .9rem/1.2 var(--font-file);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bone);
}
.specimen-copy { display: grid; gap: 1.2rem; min-width: 0; }
.eyebrow-toxic { color: var(--toxic); }
.specimen-copy > p:last-child { font: 800 clamp(1.4rem, 2.2vw, 1.9rem)/1.1 var(--font-display); text-transform: uppercase; color: var(--toxic); }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.feat { display: grid; align-content: start; gap: .6rem; padding-block: 1.8rem; border-top: 1px solid var(--bruise); }
.feat h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.feat h3::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: .9rem; background: var(--blood); }
.feat p { color: var(--ash); }
.shop {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  margin-top: clamp(48px, 6vw, 80px);
  border: 1px solid var(--bruise);
  background: var(--pitch);
}
.shop img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.shop-copy { display: grid; align-content: center; gap: 1rem; padding: clamp(24px, 3.5vw, 48px); }
.shop-copy h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 900; }
.shop-copy p:last-child { color: var(--ash); }

/* ---------- warning ---------- */
.warning-band { padding-block: 0 var(--section); }
.warning {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(28px, 4vw, 52px);
  background: var(--void);
  border: 10px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--blood) 0 16px, var(--void) 16px 32px) 10;
}
.warning h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: var(--blood-hot); }
.warning p { font-family: var(--font-file); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 64ch; }
.warning strong { color: var(--bone); font-weight: 400; background: var(--blood); padding: 0 .25em; }
.warning .warning-small { font-size: .95rem; color: var(--ash); }

/* ---------- community ---------- */
.community { overflow: hidden; border-block: 1px solid var(--bruise); background: var(--pitch); }
.community-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 820px);
  background: url(../img/farm-window.webp) center / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%);
  mask-image: linear-gradient(to right, transparent, #000 45%);
}
.community-inner { position: relative; display: grid; justify-items: start; gap: 1.3rem; }
.community h2 { font-size: clamp(3.4rem, 9vw, 7.6rem); }
.community .lede { max-width: 44ch; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--bruise); }
.faq details { border-bottom: 1px solid var(--bruise); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
  font: 800 clamp(1.25rem, 1.9vw, 1.55rem)/1.15 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6em; line-height: .6; color: var(--blood-hot); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blood-hot); }
.faq details p { padding-bottom: 1.4rem; color: var(--ash); max-width: 62ch; }

/* ---------- footer ---------- */
.footer { padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--bruise); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; }
.footer-brand { display: grid; gap: .5rem; }
.footer-brand img { width: 180px; }
.footer-brand p { font-family: var(--font-file); color: var(--ash); font-size: .95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: 1rem; }
.footer-links a { color: var(--bone); text-decoration-color: var(--blood); text-underline-offset: 4px; }
.footer-links a:hover { color: var(--blood-hot); }
.footer-links li:nth-child(2) { color: var(--ash); }
.legal { grid-column: 1 / -1; font-size: .85rem; color: var(--ash); }

/* ---------- the lurker (shows up when you stop moving) ---------- */
.lurker {
  position: fixed;
  left: var(--lx, 8vw);
  top: var(--ly, 70vh);
  z-index: 80;
  display: flex;
  gap: 22px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 3s ease;
}
.lurker.on { opacity: 1; transition-duration: 6s; }
.lurker i {
  width: 12px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #ffe0a6, var(--ember) 55%, rgba(255, 138, 31, 0));
  box-shadow: 0 0 18px 6px rgba(255, 138, 31, .35);
  animation: lurk-blink 6s infinite;
}
@keyframes lurk-blink { 0%, 70%, 76%, 100% { transform: scaleY(1); } 72%, 74% { transform: scaleY(.1); } }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  max-width: calc(100% - 32px);
  padding: .9rem 1.2rem;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--pitch);
  border: 1px solid var(--blood);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .7);
  font: 400 1rem/1.4 var(--font-file);
  color: var(--bone);
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- lights flicker on as a section comes into view (always visible at rest) ---------- */
.lit { animation: flicker-on 1s linear 1; }
@keyframes flicker-on {
  0% { opacity: 1; }
  6% { opacity: .15; }
  10% { opacity: 1; }
  16% { opacity: .35; }
  22% { opacity: 1; }
  30% { opacity: .7; }
  36%, 100% { opacity: 1; }
}

/* ---------- smaller screens ---------- */
@media (max-aspect-ratio: 4/5) {
  .hero-art img, .hero-eyes img { object-position: 50% 30%; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hunt-grid, .specimen-grid, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .hunter-portrait { max-width: 460px; margin-inline: auto; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .community-art { width: 100%; opacity: .3; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%); mask-image: linear-gradient(to bottom, transparent, #000 60%); }
}
@media (max-width: 720px) {
  .maps-grid, .modes-grid { grid-template-columns: minmax(0, 1fr); }
  .dossier { aspect-ratio: auto; display: grid; }
  .dossier img { position: relative; z-index: 0; aspect-ratio: 16 / 9; height: auto; }
  .dossier::after { bottom: auto; aspect-ratio: 16 / 9; z-index: 0; }
  .dossier-body { position: relative; padding-top: 18px; background: var(--pitch); }
  .tag { z-index: 1; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  /* phones: the Hunter gets the top of the screen to himself, the words come in below his face */
  .hero { display: block; min-height: 0; }
  .hero-art, .hero-eyes, .hero-dark { bottom: auto; height: max(480px, 74svh); }
  .hero::after { inset: auto 0 auto 0; top: calc(max(480px, 74svh) - 240px); height: 240px; }
  .hero-inner { padding-top: max(330px, 50svh); padding-bottom: 56px; }
  .kicker { font-size: .78rem; letter-spacing: .1em; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-lg { width: 100%; justify-content: center; }
  .btn .label, .soon { white-space: nowrap; }
  .sound .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { width: 100%; justify-content: center; }
  .lurker { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
