/* ==========================================================
   CRYPTID MAP — styles (design shared with The Phenomenon Files)
   ========================================================== */
/* Fonts are hosted on this site (SIL Open Font License), not loaded from Google Fonts. Variable files:
   one per family and subset. font-display: optional + the preloads in each page's <head> mean text never
   re-flows when a font arrives late (that counted against Core Web Vitals); a slow first visit just keeps
   the fallback font for that one page. */
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: optional; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: optional; src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: optional; src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: optional; src: url("/assets/fonts/space-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: optional; src: url("/assets/fonts/unbounded-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: optional; src: url("/assets/fonts/unbounded-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #050807;
  --bg-2: #0a0f0c;
  --panel: rgba(16, 26, 21, 0.62);
  --panel-solid: #0e1612;
  --line: rgba(164,255,114, 0.14);
  --line-strong: rgba(164,255,114, 0.35);
  --text: #e9efe8;
  --muted: #94a399;
  --accent: #a4ff72;      /* night-vision green */
  --accent-2: #ffb547;    /* lantern amber */
  --warn: #ff5f57;        /* sighting red */
  --glow: 0 0 24px rgba(164,255,114, 0.35);
  --radius: 16px;
  --font: "Space Grotesk", system-ui, sans-serif;
  --display: "Unbounded", "Space Grotesk", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% -10%, #14281c 0%, var(--bg) 55%) fixed, var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--accent); color: #001; }

.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.accent { color: var(--accent); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: #071300; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Background layers ---------- */
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.scanlines {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: var(--glow); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5,8,7, 0.75); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--mono); font-size: 1rem; letter-spacing: .14em; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--accent); font-weight: 600; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); filter: drop-shadow(0 0 6px rgba(164,255,114,.6)); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .9rem; padding: 6px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(164,255,114,.08); text-decoration: none; }
.nav-links a[aria-current] { color: var(--accent); background: rgba(164,255,114,.08); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.nav-search { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .85rem; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 10px 7px 12px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.nav-search:hover { color: var(--text); border-color: var(--accent); background: rgba(164,255,114,.08); }
.nav-search svg, .btn svg, .explore-search svg { width: 16px; height: 16px; flex: none; }
kbd { font-family: var(--mono); font-size: .7rem; padding: 1px 6px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--muted); }
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 64px; left: 16px; right: 16px; max-height: calc(100svh - 84px); overflow-y: auto; flex-direction: column; padding: 12px; background: rgba(9,14,11,.96); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--radius); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .25s; visibility: hidden; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-links a { padding: 12px 16px; font-size: 1rem; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 560px) { .nav-search span, .nav-search kbd { display: none; } .nav-search { padding: 9px; } }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; position: relative; display: grid; place-items: center;
  padding: 120px 16px 80px; text-align: center; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 920px; width: 100%; min-width: 0; }
.news-pill { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 auto 22px; padding: 6px 16px 6px 6px; border-radius: 999px; font-size: .88rem; color: var(--text); background: rgba(255,95,87,.08); border: 1px solid rgba(255,95,87,.35); transition: background .2s, transform .2s; }
.news-pill:hover { text-decoration: none; background: rgba(255,95,87,.16); transform: translateY(-1px); }
.news-tag { font-size: .68rem; font-weight: 600; letter-spacing: .12em; color: #1a0504; background: var(--warn); padding: 4px 10px; border-radius: 999px; flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--accent); padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(164,255,114,.05); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 10px var(--warn); animation: pulse 1.4s infinite; }
/* Fixed width (the longest word plus the cursor) so the badge doesn't change size as the words change. */
#typer { display: inline-block; min-width: calc(13ch + 2px); text-align: left; }
#typer::after { content: "▌"; animation: blink 1s steps(1) infinite; margin-left: 2px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 7rem); letter-spacing: -0.02em; margin: 28px 0 18px;
  background: linear-gradient(180deg, #ffffff 30%, #a9c9a4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(255,181,71,.25);
}
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #c6d2c7; max-width: 720px; margin: 0 auto 36px; }
.hero-sub strong { color: var(--accent); font-weight: 500; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Glitch heading */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0;
}
.glitch::before { animation: glitch-a 6s infinite; text-shadow: -3px 0 var(--warn); }
.glitch::after { animation: glitch-b 6s infinite; text-shadow: 3px 0 var(--accent-2); }

/* Radar */
.hero-radar { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; opacity: .5; }
.radar {
  width: min(820px, 120vw); aspect-ratio: 1; border-radius: 50%; position: relative;
  background:
    repeating-radial-gradient(circle, transparent 0 79px, var(--line) 80px 81px),
    linear-gradient(var(--line), var(--line)) center / 1px 100% no-repeat,
    linear-gradient(90deg, var(--line), var(--line)) center / 100% 1px no-repeat;
  mask-image: radial-gradient(circle, #000 40%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%);
}
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(164,255,114,.35), rgba(164,255,114,0) 60deg, transparent 360deg);
  animation: sweep 6s linear infinite;
}
.blip {
  position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 16px var(--accent);
  opacity: 0; animation: blip 6s var(--d) infinite;
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 500; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
/* <button class="btn"> must match <a class="btn">: buttons don't inherit the page font or drop their border by default. */
.btn { font-family: inherit; font-size: inherit; line-height: inherit; cursor: pointer; }
:where(button.btn) { border: 0; }
.btn-primary { background: var(--accent); color: #071300; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 40px rgba(164,255,114,.6); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: rgba(164,255,114,.08); }

/* ---------- Stats ---------- */
.stats {
  width: min(1180px, 100% - 32px); margin: -40px auto 0; position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(10px);
}
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--accent); text-shadow: var(--glow); font-weight: 500; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(14,22,18,.55) 15%, rgba(14,22,18,.55) 85%, transparent); }
.section-head { margin-bottom: 48px; }
.kicker { color: var(--accent); font-size: .8rem; margin: 0 0 12px; }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4.5vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; font-weight: 700; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #d5dfd6; }
.intro p { margin: 0 0 1.2em; }

/* Redaction reveal */
.redact { background: var(--text); color: transparent; padding: 0 4px; border-radius: 2px; cursor: help; transition: background .4s, color .4s; }
.redact:hover, .redact:focus { background: rgba(255,95,87,.15); color: var(--warn); outline: none; }

/* ---------- Quote band ---------- */
.quote-band { padding: 100px 16px; text-align: center; border-block: 1px solid var(--line); background: linear-gradient(90deg, transparent, rgba(164,255,114,.05), transparent); }
.quote-band blockquote { margin: 0 auto; max-width: 920px; }
.quote-band p { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 3vw, 2.1rem); line-height: 1.35; margin: 0 0 20px; }
.quote-band cite { color: var(--muted); font-style: normal; font-size: .8rem; }

/* ---------- Case files ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.case {
  display: block; text-decoration: none !important;
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: linear-gradient(160deg, #1a1a12 0%, #12110b 100%);
  border: 1px solid rgba(214, 190, 120, .2); border-radius: 6px 18px 18px 18px;
  padding: 26px 22px 22px; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.case::before { content: ""; position: absolute; top: -1px; left: -1px; width: 90px; height: 14px; background: #2a2618; border: 1px solid rgba(214,190,120,.25); border-bottom: 0; border-radius: 6px 10px 0 0; transform: translateY(-13px); }
.case:hover, .case:focus-visible { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(214,190,120,.45); outline: none; }
.case-id { font-family: var(--mono); font-size: .72rem; color: #d6be78; letter-spacing: .12em; }
.case h3 { font-family: var(--display); font-weight: 500; font-size: 1.35rem; margin: 10px 0 6px; color: #f3ead2; }
.case .place { font-size: .85rem; color: #a99e7e; margin: 0 0 14px; }
.case p.sum { font-size: .95rem; color: #d8cfb5; margin: 0 0 18px; }
.case .status { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; padding: 4px 8px; border: 1.5px solid var(--warn); color: var(--warn); transform: rotate(-3deg); border-radius: 3px; }
.case .open { position: absolute; bottom: 20px; right: 20px; font-family: var(--mono); font-size: .75rem; color: #d6be78; opacity: 0; transition: opacity .3s; }
.case:hover .open { opacity: 1; }

.case[hidden] { display: none; }
.case-img { margin: -26px -22px 18px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px 18px 0 0; border-bottom: 1px solid rgba(214,190,120,.2); background: #0b0a06; }
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(.35) contrast(1.05) brightness(.85); transition: transform .6s ease, filter .6s ease; }
.case:hover .case-img img { transform: scale(1.05); filter: sepia(.1) contrast(1.05) brightness(1); }
.case.has-img::before { display: none; }

/* Modal */
.modal-img { margin: 0 0 24px; }
.modal-img img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 10px; display: block; border: 1px solid rgba(214,190,120,.25); }
.credit { font-size: .82rem; color: #c8bf9f; margin-top: 8px; }
.credit span { display: block; font-family: var(--mono); font-size: .68rem; color: #8f876b; margin-top: 2px; }
.credit a { color: #d6be78; }
.t-img { margin: -22px -24px 16px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line); }
.t-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.3) brightness(.85); }
.credits-title { font-size: 1.1rem; margin: 48px 0 14px; }
.credits { font-size: .82rem; color: var(--muted); padding-left: 1.4em; }
.credits li { margin-bottom: .4em; }
.case-sources { margin-top: 18px; font-size: .88rem; }
.case-sources h3 { font-size: .8rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #d6be78; margin: 0 0 8px; }
.case-sources ul { margin: 0; padding-left: 1.1em; }
.case-sources li { margin-bottom: .35em; }
.case-sources a { color: #e9d9a6; }
.arch { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; font-family: var(--mono); font-size: .72em; color: var(--muted) !important; vertical-align: 1px; }
.arch .arch-icon { width: 11px; height: 11px; }
.arch:hover { color: var(--text) !important; }

.stamp { font-family: var(--mono); font-weight: 600; font-size: .85rem; letter-spacing: .2em; color: var(--warn); border: 2px solid var(--warn); padding: 6px 12px; border-radius: 4px; transform: rotate(-8deg); display: inline-block; opacity: .85; }

/* ---------- Videos ---------- */
.video-frame { position: relative; background: #000; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #000; }
.sub-head { margin: 64px 0 28px; }
.sub-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); }

/* ---------- Versus ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.side { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.side-known { border-top: 3px solid var(--accent-2); }
.side-unknown { border-top: 3px solid var(--warn); }
.side ul { padding-left: 1.1em; margin: 0; }
.side li { margin-bottom: .6em; color: #c9d5cb; }
.side li b { color: var(--text); }
.side-unknown .mini { border-color: var(--warn); background: rgba(255,95,87,.06); }
.side-known .mini { border-color: var(--accent-2); background: rgba(255,181,71,.06); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 1.1rem; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.4rem; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: #c3cec5; }

/* ---------- Sources ---------- */
.sources { padding-left: 1.4em; font-size: .95rem; }
.sources li { margin-bottom: .6em; }
.sources li::marker { font-family: var(--mono); color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 60px; text-align: center; }
.footer .brand { justify-content: center; margin-bottom: 12px; }
.footer p { max-width: 640px; margin-inline: auto; }

/* ---------- Case pages ---------- */
.case-page { padding-top: 120px; }
.crumbs { font-size: .75rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.case-sheet { position: relative; background: linear-gradient(160deg, #1b1a12, #0f0e09); border: 1px solid rgba(214,190,120,.35); border-radius: 18px; padding: clamp(24px, 5vw, 48px); color: #e2dac2; }
.case-sheet h1 { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 6vw, 3.2rem); overflow-wrap: anywhere; hyphens: auto; color: #f3ead2; margin: 10px 0 8px; }
.case-sheet .case-id { font-family: var(--mono); font-size: .75rem; color: #d6be78; letter-spacing: .12em; }
.case-sheet .stamp { position: absolute; top: 34px; right: 34px; }
.case-sheet .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: .8rem; color: #a99e7e; margin-bottom: 24px; }
.case-sheet ol { padding-left: 1.2em; font-size: 1.05rem; }
.case-sheet ol li { margin-bottom: .9em; }
.case-sheet ol li::marker { color: #d6be78; font-family: var(--mono); }
.case-sheet .witness { border-top: 1px dashed rgba(214,190,120,.3); padding-top: 16px; margin-top: 20px; font-size: .95rem; color: #c8bf9f; }
.case-updated { font-size: .75rem; color: var(--muted); margin: 18px 0 0; }
.case-more { margin: 24px 0 0; }
.related-title { margin: 80px 0 24px; }
.cases.related .case p.sum { display: none; }
@media (max-width: 720px) { .case-sheet .stamp { display: none; } }
.case-sources h2 { font-size: .8rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #d6be78; margin: 0 0 8px; }

/* ---------- Section links and sub-page navigation ---------- */
.section-more { margin: 36px 0 0; text-align: center; }
@media (max-width: 420px) { .nav .brand span { font-size: .8rem; } .nav .btn.small { padding: 8px 12px; font-size: .82rem; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body:has(dialog[open]) { overflow: hidden; }

/* ---------- Key figure, video and hearing pages ("dossier" sheets) ---------- */
.case-page { position: relative; }
.case-page::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 78% 12%, #dfc, transparent),
    radial-gradient(1.5px 1.5px at 34% 64%, #fff, transparent), radial-gradient(1px 1px at 88% 52%, #fff, transparent),
    radial-gradient(1px 1px at 56% 32%, #bfa, transparent), radial-gradient(1.5px 1.5px at 22% 86%, #fff, transparent),
    radial-gradient(1px 1px at 66% 82%, #fff, transparent), radial-gradient(1px 1px at 46% 8%, #fff, transparent),
    radial-gradient(1px 1px at 94% 90%, #dfc, transparent), radial-gradient(1px 1px at 4% 48%, #fff, transparent);
  background-size: 640px 640px; animation: drift 120s linear infinite; }
@keyframes drift { to { background-position: 640px 320px; } }
.clearance { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: -8px 0 22px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); font-size: .66rem; letter-spacing: .18em; color: var(--muted); }
.clearance span:first-child { color: var(--accent); }
@media (max-width: 560px) { .clearance { letter-spacing: .1em; font-size: .62rem; } .clearance span:last-child { display: none; } }
.clearance span:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); box-shadow: var(--glow); animation: pulse 2s ease-in-out infinite; vertical-align: 1px; }
.hearing-sheet .stamp { position: static; margin: 0 0 18px; transform: rotate(-4deg); }
.dossier { background: linear-gradient(165deg, rgba(18,30,23,.92), rgba(7,11,9,.96)); border-color: var(--line-strong); color: #d5dfd6; box-shadow: 0 30px 80px -40px rgba(164,255,114,.25); overflow: hidden; }
.dossier::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent-2), var(--accent), transparent); }
.dossier h1 { color: #f3f7f2; font-size: clamp(1.6rem, 5.5vw, 3rem); line-height: 1.15; }
.dossier .case-id { color: var(--accent); }
.dossier .meta { color: var(--muted); }
.dossier > p { font-size: 1.05rem; line-height: 1.75; margin: 0 0 1.1em; }
.dossier .witness { border-top: 0; border-left: 2px solid var(--accent); background: rgba(164,255,114,.05); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 0 0 24px; color: #cad6cb; }
.dossier .credit, .dossier .credit span { color: var(--muted); }
.dossier .credit a, .dossier .case-sources a { color: var(--accent); }
.dossier .case-sources { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }
.dossier .case-sources h2, .dossier .related-links h2 { color: var(--accent); }
.dossier .modal-img img { border-color: var(--line); }
.dossier blockquote.mini { margin: 8px 0 24px; }
.profile-head { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.profile-head h1 { margin: 6px 0 4px; }
.profile-role { color: var(--accent-2); font-size: .85rem; margin: 0; }
.avatar.large { width: 132px; height: 132px; font-size: 2rem; box-shadow: 0 0 0 1px var(--line-strong), 0 0 40px rgba(164,255,114,.2); }
.avatar.large.pair { width: 200px; height: 132px; box-shadow: none; }
.avatar.large.pair img { width: 132px; height: 132px; }
.avatar.large.pair img:last-child { left: 68px; }
.profile p.credit { font-family: var(--mono); font-size: .68rem; margin: 0 0 4px; }
.video-sheet .video-frame { margin: 0 0 28px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.related-links { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.related-links h2 { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #d6be78; margin: 0 0 10px; }
.related-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.related-links li { display: flex; align-items: baseline; gap: 10px; font-size: .95rem; }
.related-links li .mono { flex: none; font-size: .66rem; letter-spacing: .12em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.case-sheet:not(.dossier) .related-links a { color: #e9d9a6; }
.card-more { display: inline-block; margin-top: 12px; font-size: .72rem; letter-spacing: .06em; color: var(--accent); }
.person h3 a, .hearing h3 a { color: inherit; }
/* The whole person / hearing card is clickable (the title link stretches over it). */
.person, .hearing { position: relative; transition: border-color .25s, transform .25s, box-shadow .25s; }
.person h3 a::after, .hearing h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.person:has(h3 a):hover, .hearing:has(h3 a):hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(164,255,114,.35); }
.person:has(h3 a):hover .card-more, .hearing:has(h3 a):hover .card-more { text-decoration: underline; }
.person h3 a:focus-visible { outline: none; }
.person:has(h3 a:focus-visible), .hearing:has(h3 a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.person h3 a:hover, .hearing h3 a:hover { color: var(--accent); text-decoration: none; }
.t-page { color: var(--accent-2); border-color: rgba(255,181,71,.4); }
.t-page:hover { background: rgba(255,181,71,.1); }
.video-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.video-link { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); transition: border-color .2s, transform .2s; }
.video-link:hover { border-color: var(--line-strong); transform: translateY(-3px); text-decoration: none; }
.video-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #000; margin-bottom: 6px; }
.video-link .mono { color: var(--accent); font-size: .85rem; letter-spacing: .1em; }
.video-link small { color: var(--muted); font-size: .78rem; }
.hub-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 7vw, 4rem); overflow-wrap: anywhere; line-height: 1.05; margin: 0 0 16px; background: linear-gradient(120deg, #fff 30%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub-intro { max-width: 720px; color: #c3cec5; font-size: 1.1rem; margin: 0; }
.case-page .sub-title { margin: 56px 0 24px; }
@media (max-width: 720px) {
  .profile-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .avatar.large { width: 96px; height: 96px; }
  .avatar.large.pair { width: 150px; height: 96px; }
  .avatar.large.pair img { width: 96px; height: 96px; }
  .avatar.large.pair img:last-child { left: 54px; }
}

/* ---------- Legal pages ---------- */
.legal { padding-top: 140px; }
.legal-title { font-size: clamp(2.2rem, 7vw, 3.6rem); margin: 0 0 8px; }
.legal h2 { font-size: 1.35rem; margin: 2.2em 0 .5em; }
.legal p { color: #c9d5cb; }
.nav .btn.small { padding: 8px 16px; white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */
/* Entrance on the home page: an animation on the "translate" property, so it never replaces a card's own
   hover transitions (which use "transform"). */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: reveal-in .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes reveal-in { from { opacity: 0; translate: 0 30px; } }

/* ---------- Animations ---------- */
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.5); } 8% { opacity: 1; transform: scale(1.2); } 30% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes glitch-a { 0%, 92%, 100% { opacity: 0; transform: none; } 93% { opacity: .8; transform: translate(-4px, 2px); clip-path: inset(10% 0 60% 0); } 95% { opacity: .8; transform: translate(3px, -2px); clip-path: inset(55% 0 20% 0); } 97% { opacity: 0; } }
@keyframes glitch-b { 0%, 93%, 100% { opacity: 0; transform: none; } 94% { opacity: .8; transform: translate(4px, -1px); clip-path: inset(40% 0 35% 0); } 96% { opacity: .8; transform: translate(-3px, 2px); clip-path: inset(70% 0 5% 0); } 98% { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .versus { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .timeline::before { left: 7px; }
  .t-item, .t-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 32px 36px; }
  .t-item::before, .t-item:nth-child(even)::before { left: 0; right: auto; }
  .hearing { grid-template-columns: 1fr; gap: 12px; }
  .hearing-date { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .hearing-date br { display: none; }
  .hearing-date b { margin-left: 8px; }
  .t-era { display: none; }
}
@media (max-width: 480px) {
  .news-pill { font-size: .8rem; border-radius: 18px; text-align: left; }
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Site-wide search ---------- */
.search { width: min(720px, 100% - 24px); max-height: min(80vh, 760px); margin: 8vh auto auto; padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: #080d0a; color: var(--text); box-shadow: 0 40px 120px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(164,255,114,.08), 0 0 60px -10px rgba(164,255,114,.25); overflow: hidden; }
.search[open] { display: flex; animation: modal-in .25s ease; }
.search::backdrop { background: rgba(2,4,10,.7); backdrop-filter: blur(4px); }
.search-box { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-bar svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.search-bar input { flex: 1; min-width: 0; font: inherit; font-size: 1.15rem; color: var(--text); background: none; border: 0; outline: none; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-close { font-size: .68rem; color: var(--muted); background: none; border: 1px solid var(--line-strong); border-radius: 6px; padding: 4px 8px; cursor: pointer; }
.search-close:hover { color: var(--text); }
.search-status { margin: 0; padding: 10px 18px 6px; font-size: .7rem; letter-spacing: .08em; color: var(--muted); }
.search-results { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; list-style: none; margin: 0; padding: 4px 10px 10px; overflow-y: auto; flex: 1; min-height: 0; }
.search-results a { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); border: 1px solid transparent; }
.search-results a:hover, .search-results li[aria-selected="true"] a { background: rgba(164,255,114,.08); border-color: var(--line); text-decoration: none; }
.sr-kind { grid-row: span 2; align-self: start; margin-top: 3px; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 6px; white-space: nowrap; }
.sr-title { font-weight: 500; line-height: 1.35; }
.sr-text { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.search-results mark { background: rgba(164,255,114,.22); color: inherit; border-radius: 2px; padding: 0 1px; }
.search-hint { margin: 0; padding: 10px 18px; border-top: 1px solid var(--line); font-size: .66rem; color: var(--muted); }
@media (max-width: 560px) {
  .search { margin-top: 12px; max-height: calc(100svh - 24px); }
  .search-results a { grid-template-columns: 1fr; }
  .sr-kind { grid-row: auto; justify-self: start; }
  .search-hint { display: none; }
}

/* ---------- Home page directory ---------- */
.explore { padding-top: 40px; }
.explore-search { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 22px; padding: 16px 20px; font: inherit; font-size: 1rem; text-align: left; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--line-strong); border-radius: 999px; cursor: text; transition: border-color .2s, box-shadow .2s; }
.explore-search:hover { border-color: var(--accent); box-shadow: var(--glow); }
.explore-search svg { width: 20px; height: 20px; color: var(--accent); }
.explore-search span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Footer site map ---------- */
.footer { text-align: left; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-about .brand { justify-content: flex-start; margin-bottom: 12px; }
.footer-about p { margin: 0 0 16px; max-width: 420px; }
.footer-about .btn { display: inline-flex; }
.footer-col h2 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 6px 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: #c3cec5; font-size: .92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-tag { text-align: center; margin: 40px auto 0; max-width: none !important; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- An entry opened from a link or search result ---------- */
.t-item:target .t-card, details:target, .glossary div:target, .pf:target { box-shadow: 0 0 0 2px var(--accent), var(--glow); border-radius: var(--radius); }
.t-item:target, details:target, .glossary div:target, .pf:target { scroll-margin-top: 90px; }
.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.case-filter .mono { opacity: .7; font-size: .75em; margin-left: 4px; }

/* Pentagon file pages: the video player, image, or a link to the page that plays the video */
.pf-player, .pf-figure, .pf-watch { margin: 0 0 24px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.pf-player video { max-height: 75vh; }
.pf-figure img { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
.pf-player figcaption, .pf-figure figcaption { padding: 8px 12px; font-size: .68rem; letter-spacing: .04em; color: var(--muted); border-top: 1px solid var(--line); background: rgba(255,255,255,.02); }
.pf-watch { position: relative; display: block; }
.pf-watch img { display: block; width: 100%; height: auto; opacity: .7; transition: opacity .25s; }
.pf-watch:hover img { opacity: 1; }
.pf-watch span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: var(--accent); font-size: .8rem; letter-spacing: .06em; }
.pf-watch:hover { text-decoration: none; }


/* ==========================================================
   2026 redesign: home hub, bento tiles, rails, video tiles,
   eras, timeline page, page transitions
   ========================================================== */

/* ---------- Page transitions (cross-document view transitions) ---------- */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
/* The reduce-motion rule below (*, ::before, ::after) doesn't reach the transition's own pseudo-elements. */
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* Sub-page cards rise into view as you scroll (no JavaScript; browsers without support just show them). */
@supports (animation-timeline: view()) {
  .case-page :is(.case, .pf, .t-item, .person, .hearing, .doc, .lib-group, .vtile, .glossary-page > div, .faq-page details, .verdict) {
    animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
  }
}
@keyframes rise-in { from { opacity: 0; translate: 0 28px; scale: .985; } }

/* ---------- Hero: live feeds and ticker ---------- */
.home .hero { padding-bottom: 120px; }
.hero-feeds { position: absolute; inset: 0; z-index: 1; pointer-events: none; perspective: 1200px; }
.feed { position: absolute; margin: 0; width: clamp(170px, 15vw, 250px); aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #000;
  border: 1px solid rgba(164,255,114,.28); box-shadow: 0 30px 60px -30px #000, 0 0 40px -10px rgba(164,255,114,.25); opacity: .6;
  animation: feed-float 14s ease-in-out infinite alternate; }
.feed img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.35) brightness(.85); transform: scale(1.12); animation: feed-pan 18s ease-in-out infinite alternate; }
.feed::before { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(164,255,114,.12), transparent 40%, rgba(5,8,7,.6)); }
.feed figcaption { position: absolute; left: 8px; right: 8px; top: 7px; z-index: 2; font-size: .55rem; letter-spacing: .12em; color: rgba(236,255,226,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-rec { color: var(--warn); animation: blink 1.2s steps(1) infinite; }
.feed-reticle { position: absolute; z-index: 2; left: 50%; top: 54%; width: 34px; height: 34px; transform: translate(-50%, -50%); border: 1px solid rgba(236,255,226,.6);
  clip-path: polygon(0 0, 30% 0, 30% 2px, 2px 2px, 2px 30%, 0 30%, 0 70%, 2px 70%, 2px calc(100% - 2px), 30% calc(100% - 2px), 30% 100%, 70% 100%, 70% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 70%, 100% 70%, 100% 30%, calc(100% - 2px) 30%, calc(100% - 2px) 2px, 70% 2px, 70% 0, 100% 0, 100% 100%, 0 100%); }
.feed-1 { left: 3.5vw; top: 19%; --ry: 24deg; transform: rotateY(var(--ry)) rotateZ(-2deg); }
.feed-2 { left: 7vw; bottom: 21%; --ry: 18deg; transform: rotateY(var(--ry)) rotateZ(1.5deg); animation-delay: -5s; }
.feed-3 { right: 3.5vw; top: 15%; --ry: -24deg; transform: rotateY(var(--ry)) rotateZ(2deg); animation-delay: -3s; }
.feed-4 { right: 7vw; bottom: 24%; --ry: -18deg; transform: rotateY(var(--ry)) rotateZ(-1.5deg); animation-delay: -8s; }
@keyframes feed-float { to { translate: 0 -14px; } }
@keyframes feed-pan { to { transform: scale(1.2) translate(3%, -2%); } }
@media (max-width: 1180px) { .hero-feeds { display: none; } }

.ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; height: 46px; border-block: 1px solid var(--line); background: rgba(5,8,7,.72); backdrop-filter: blur(10px); }
.ticker-tag { flex: none; display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px; font-size: .66rem; letter-spacing: .16em; color: var(--warn); border-right: 1px solid var(--line); background: rgba(255,95,87,.06); }
.ticker-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 10px var(--warn); animation: pulse 1.4s infinite; }
.ticker-track { flex: 1; min-width: 0; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker ul { flex: none; display: flex; gap: 44px; margin: 0; padding: 0 22px; list-style: none; animation: marquee 80s linear infinite; }
.ticker-track:hover ul, .ticker-track:focus-within ul { animation-play-state: paused; }
.ticker li { white-space: nowrap; font-size: .88rem; }
.ticker a { color: #d5dfd6; }
.ticker a:hover { color: var(--accent); text-decoration: none; }
.ticker a .mono { color: var(--accent); font-size: .7rem; margin-right: 6px; letter-spacing: .08em; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { overflow-x: auto; } .ticker ul[aria-hidden] { display: none; } }
.home .stats { margin: 56px auto 0; }

/* ---------- Section heads ---------- */
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
.section-head.split h2 { margin-bottom: 0; }
.section-head.split > p.muted { max-width: 460px; margin: 0; }
.btn.small { padding: 10px 18px; font-size: .9rem; }
.home .section { padding: clamp(56px, 7vw, 92px) 0; }

/* ---------- Latest dispatches ---------- */
.dispatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dispatch { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  transition: border-color .3s, transform .3s, box-shadow .3s; }
.dispatch:hover { text-decoration: none; border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(164,255,114,.4); }
.dispatch-img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.dispatch-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.25) brightness(.85); transition: transform .8s ease, filter .6s; }
.dispatch:hover .dispatch-img img { transform: scale(1.05); filter: none; }
.dispatch-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.dispatch-date { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.dispatch-title { font-size: 1.12rem; line-height: 1.3; }
.dispatch-text { color: #b9c6bc; font-size: .92rem; line-height: 1.55; }
.dispatch .card-more { margin-top: auto; padding-top: 8px; opacity: .8; }
.dispatch.lead { grid-column: span 2; grid-row: span 2; }
.dispatch.lead .dispatch-img { aspect-ratio: 16 / 8; }
.dispatch.lead .dispatch-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.15; }
.dispatch.lead .dispatch-text { font-size: 1rem; }
.dispatch:not(.lead):has(.dispatch-img) .dispatch-img { aspect-ratio: 16 / 7; }
.latest-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 28px; }
.latest-foot .mini { flex: 1 1 420px; margin: 0; }
.latest-foot .hero-cta { justify-content: flex-start; }

/* ---------- Explore bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; border-radius: 20px;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(22,34,27,.75), rgba(9,14,11,.85)); color: var(--text); transition: border-color .3s, transform .3s, box-shadow .3s; }
.tile:hover { text-decoration: none; border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 26px 60px -32px rgba(164,255,114,.45); }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile-bg { position: absolute; inset: 0; z-index: -1; }
.tile-bg img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .42; filter: grayscale(.5) contrast(1.1); transition: transform 1s ease, opacity .5s; }
.tile:hover .tile-bg img { transform: scale(1.06); opacity: .6; }
.tile-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,7,.1) 0%, rgba(5,8,7,.55) 55%, rgba(5,8,7,.95) 100%); }
.tile-bg.collage img { opacity: .72; filter: grayscale(.2) contrast(1.15) brightness(1.1); }
.tile-pursue .tile-bg::after { background: linear-gradient(180deg, rgba(5,8,7,0) 0%, rgba(5,8,7,.35) 45%, rgba(5,8,7,.95) 100%); }
.tile-bg.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; transform: rotate(-4deg) scale(1.15); transform-origin: 70% 30%; }
.tile-bg.collage img:first-child { grid-row: span 2; }
.tile-n { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: var(--accent); text-shadow: 0 0 30px rgba(164,255,114,.35); }
.tile.big .tile-n { font-size: clamp(3rem, 7vw, 5.5rem); }
.tile-text b { display: block; font-size: 1.08rem; }
.tile.big .tile-text b { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; margin-bottom: 6px; }
.tile-text span { display: block; color: #afbdb2; font-size: .86rem; line-height: 1.45; }
.tile.big .tile-text span { font-size: 1rem; max-width: 460px; }
.tile-go { position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--accent); transition: transform .3s, background .3s; }
.tile:hover .tile-go { transform: translate(3px, -3px) rotate(-45deg); background: rgba(164,255,114,.12); }
.tile-eras { display: flex; gap: 6px; margin-bottom: auto; }
.tile-eras i { flex: 1; height: 6px; border-radius: 3px; background: var(--accent-2); }
.tile-eras .silent { background: #c9a7ff; flex: 1.4; } .tile-eras .disclosure { background: var(--accent); flex: .6; }
.tile-faces { display: flex; margin-bottom: auto; }
.tile-faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-2); margin-left: -10px; }
.tile-faces img:first-child { margin-left: 0; }
.tile-versus { background: linear-gradient(110deg, rgba(255,181,71,.16), rgba(9,14,11,.85) 45%, rgba(9,14,11,.85) 55%, rgba(255,95,87,.16)); }
.tile-versus .tile-n { background: linear-gradient(90deg, var(--accent-2), var(--warn)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile.big { grid-row: span 1; min-height: 300px; } }
@media (max-width: 520px) { .bento { gap: 10px; grid-auto-rows: minmax(150px, auto); } .tile { padding: 16px; border-radius: 16px; } .tile-text span { font-size: .8rem; } .tile-go { display: none; } }

/* ---------- Case rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 23vw, 300px); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 26px max(16px, calc((100vw - 1180px) / 2)) 30px; scroll-padding-inline: max(16px, calc((100vw - 1180px) / 2)); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.rail > .case { scroll-snap-align: start; display: flex; flex-direction: column; }
.rail .case .status { margin-top: auto; align-self: flex-start; }
.rail-nav { display: flex; align-items: center; gap: 10px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--text); font: inherit; font-size: 1.1rem; cursor: pointer; transition: background .2s, border-color .2s; }
.rail-btn:hover { background: rgba(164,255,114,.1); border-color: var(--accent); }
@media (max-width: 640px) { .rail-btn { display: none; } }
.case-ph svg { width: 100%; height: 100%; display: block; }
.case:hover .case-ph svg { filter: brightness(1.15); }

/* ---------- Video tiles ---------- */
.vgrid { display: grid; gap: 20px; }
.vgrid-3 { grid-template-columns: repeat(3, 1fr); }
.vgrid-4 { grid-template-columns: repeat(4, 1fr); }
.vgrid-title { margin: 56px 0 22px; }
.vtile { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--text); transition: border-color .3s, transform .3s, box-shadow .3s; }
.vtile:hover { text-decoration: none; border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(164,255,114,.45); }
.vtile-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.vtile-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.3) contrast(1.15) brightness(.85); transition: transform .8s ease, filter .5s; }
.vtile:hover .vtile-media img { transform: scale(1.06); filter: none; }
.vtile-media::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); pointer-events: none; }
.vtile-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 62px; height: 62px; margin: -31px 0 0 -31px; display: grid; place-items: center; border-radius: 50%; color: #071300; background: var(--accent);
  box-shadow: 0 0 0 8px rgba(164,255,114,.18), var(--glow); transition: transform .3s, box-shadow .3s; }
.vtile-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vtile:hover .vtile-play { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(164,255,114,.2), 0 0 40px rgba(164,255,114,.6); }
.vtile-len, .vtile-rec { position: absolute; z-index: 1; font-size: .66rem; padding: 2px 7px; border-radius: 4px; background: rgba(0,0,0,.65); }
.vtile-len { right: 10px; bottom: 10px; color: #fff; }
.vtile-rec { left: 10px; top: 10px; color: var(--warn); letter-spacing: .1em; }
.vtile-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.vtile-code { color: var(--accent); font-size: .95rem; letter-spacing: .12em; }
.vtile-body b { font-size: .82rem; font-weight: 500; color: var(--muted); }
.vtile-desc { font-size: .9rem; color: #c3cec5; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vgrid-4 .vtile-desc { -webkit-line-clamp: 2; font-size: .85rem; }
@media (max-width: 960px) { .vgrid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .vgrid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .home .vgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 14px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .home .vgrid > * { scroll-snap-align: start; }
  .case-page .vgrid-3, .case-page .vgrid-4 { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pchip { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .pchip span span { display: none; }
}

/* ---------- Explained + FAQ teasers, finale ---------- */
.faq-head { margin-top: 88px; }
.home .faq { max-width: 860px; }
.finale { text-align: center; padding-bottom: 140px !important; }
.finale .lead { margin: 0 auto 32px; max-width: 640px; }
.explore-search.big { max-width: 680px; margin: 0 auto 26px; padding: 20px 24px; font-size: 1.1rem; border-radius: 999px; }
.finale-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.quote-band cite a { color: var(--accent); }

/* ---------- Info pages (glossary, FAQ, explained, documents) ---------- */
.glossary-page { grid-template-columns: repeat(2, 1fr); }
.glossary-page > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) { .glossary-page { grid-template-columns: 1fr; } }
.verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.verdict { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.verdict h3 { display: flex; justify-content: space-between; font-size: 1.05rem; }
.verdict h3 .mono { color: var(--muted); }
.verdict-explained { border-top: 3px solid var(--accent-2); } .verdict-debated { border-top: 3px solid #ffcf6e; } .verdict-open { border-top: 3px solid var(--warn); }
.verdict ul { list-style: none; margin: 0; padding: 0; }
.verdict li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.verdict li .mono { color: var(--muted); font-size: .78rem; }
@media (max-width: 860px) { .verdicts { grid-template-columns: 1fr; } }
.case-page .versus { margin-top: 8px; }
.pursue-callout { margin-top: 56px; }
.dispatch-ph { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px 22px; aspect-ratio: 16 / 7;
  background: radial-gradient(circle at 80% 30%, rgba(164,255,114,.16), transparent 55%), repeating-linear-gradient(90deg, rgba(164,255,114,.06) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(164,255,114,.06) 0 1px, transparent 1px 28px), #080d0a; }
.dispatch-ph .mono { font-size: .62rem; letter-spacing: .18em; color: var(--muted); }
.dispatch-ph b { font-family: var(--display); font-weight: 500; font-size: 1.9rem; line-height: 1; color: var(--text); text-transform: uppercase; }
.faq-duo { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.gloss-card { padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(22,34,27,.7), rgba(9,14,11,.85)); }
.gloss-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; }
.gloss-card dl { margin: 0; display: grid; gap: 12px; }
.gloss-card dt { font-family: var(--mono); font-weight: 600; font-size: .9rem; }
.gloss-card dd { margin: 2px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
@media (max-width: 960px) { .faq-duo { grid-template-columns: 1fr; } .dispatches { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dispatches { grid-template-columns: 1fr; } .dispatch.lead { grid-column: auto; grid-row: auto; } }
.tile-stamp { position: absolute; top: 26px; left: 22px; z-index: 1; font-size: .78rem; font-weight: 600; letter-spacing: .22em; color: var(--warn); border: 2px solid var(--warn); padding: 5px 10px; border-radius: 4px; transform: rotate(-6deg); background: rgba(5,8,7,.5); }
.tile-pursue .tile-bg.collage img { filter: sepia(.35) contrast(1.05) brightness(.9); opacity: .55; }
@media (max-width: 600px) {
  .pill-more { display: none; }
  .home .stats { grid-template-columns: 1fr 1fr; }
  .home .stats .stat { padding: 18px 16px; border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .home .stats .stat:nth-child(2n) { border-right: 0 !important; }
  .home .stats .stat:nth-child(n+3) { border-bottom: 0; }
  .home .stats .stat b { font-size: 1.7rem; }
  .home .stats .stat span { font-size: .78rem; line-height: 1.4; display: block; }
}
@media (max-width: 600px) {
  .tl-page .t-card .t-img { aspect-ratio: 16 / 8; }
  .tl-page .t-card { padding: 18px 18px; }
  .tl-page .t-card .t-img { margin: -18px -18px 14px; }
  .cases.related { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 8px 16px 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .cases.related > * { scroll-snap-align: start; }
}

/* Keyboard focus, everywhere */
:where(a, button, summary, input, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
/* News ticker pause button */
.ticker-toggle { flex: none; display: grid; place-items: center; width: 46px; height: 100%; padding: 0; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.ticker-toggle:hover { color: var(--text); background: rgba(255,255,255,.04); }
.ticker-toggle svg { width: 16px; height: 16px; }
.ticker-toggle .i-play, .ticker-toggle[aria-pressed="true"] .i-pause { display: none; }
.ticker-toggle[aria-pressed="true"] .i-play { display: block; }
.ticker.paused ul { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker-toggle { display: none; } }
.ph-blip { animation: ph-blink 2.4s ease-in-out infinite; }
@keyframes ph-blink { 50% { opacity: .25; } }

/* ==========================================================
   CRYPTID MAP components: region picker, tile map, field files,
   place pages, news desk, video player, ads
   ========================================================== */
.narrow-wide { width: min(980px, 100% - 32px); }
.nav-loc { display: inline-flex; align-items: center; gap: 6px; max-width: 190px; font: inherit; font-size: .85rem; color: var(--text); background: rgba(164,255,114,.07); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 12px 7px 9px; cursor: pointer; transition: border-color .2s, background .2s; }
.nav-loc:hover { border-color: var(--accent); background: rgba(164,255,114,.13); }
.nav-loc svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
.nav-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .nav-loc { max-width: 110px; } }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.busy { opacity: .6; pointer-events: none; }
.hero-cta.left { justify-content: flex-start; margin-top: 24px; }

/* Hero: topographic map with blinking sighting pins */
.hero-topo { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.topo { position: absolute; left: 50%; top: 50%; width: max(1100px, 120vw); height: max(1100px, 120vw); transform: translate(-50%, -50%); animation: topo-turn 240s linear infinite; }
.topo path { fill: none; stroke: rgba(164,255,114,.16); stroke-width: 1.2; }
.topo path:nth-child(3n) { stroke: rgba(255,181,71,.12); }
.hero-topo::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(164,255,114,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(164,255,114,.05) 1px, transparent 1px); background-size: 64px 64px; }
.pin-blip { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 18px var(--accent-2); opacity: 0; animation: pin-ping 6s var(--d) infinite; }
.pin-blip::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--accent-2); opacity: 0; animation: pin-ring 6s var(--d) infinite; }
@keyframes pin-ping { 0%, 100% { opacity: 0; transform: scale(.4); } 6% { opacity: 1; transform: scale(1.1); } 40% { opacity: .8; transform: scale(1); } 55% { opacity: 0; } }
@keyframes pin-ring { 0% { opacity: 0; transform: scale(.3); } 8% { opacity: .9; } 35% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; } }
@keyframes topo-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* The 50-state tile map */
.usmap { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(8, auto); gap: clamp(3px, .7vw, 8px); max-width: 860px; margin: 0 auto 32px; }
.usmap-tile { --h: 0; grid-column: var(--c); grid-row: var(--r); position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  border-radius: clamp(4px, .8vw, 10px); color: var(--text); border: 1px solid rgba(164,255,114, calc(.12 + var(--h) * .5));
  background: linear-gradient(160deg, rgba(164,255,114, calc(.04 + var(--h) * .42)), rgba(164,255,114, calc(.02 + var(--h) * .18)));
  box-shadow: 0 0 calc(var(--h) * 26px) rgba(164,255,114, calc(var(--h) * .35)); transition: transform .2s, border-color .2s, background .2s; }
.usmap-tile b { font-family: var(--mono); font-size: clamp(.55rem, 1.35vw, .95rem); font-weight: 600; letter-spacing: .04em; }
.usmap-tile span { font-family: var(--mono); font-size: clamp(.45rem, 1vw, .7rem); color: var(--muted); }
.usmap-tile:hover, .usmap-tile:focus-visible { text-decoration: none; transform: translateY(-3px) scale(1.06); border-color: var(--accent); z-index: 2; background: rgba(164,255,114,.3); }
.usmap-tile.current { border-color: var(--accent-2); background: rgba(255,181,71,.28); box-shadow: 0 0 24px rgba(255,181,71,.45); }
.usmap-tile.current b { color: #fff; }
.usmap-tile::after { content: attr(data-name) "  ·  " attr(data-top); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap; pointer-events: none;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--text); background: #0b120e; border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 10px; opacity: 0; transition: opacity .15s, transform .15s; box-shadow: 0 10px 30px -10px #000; }
.usmap-tile[data-top=""]::after { content: attr(data-name); }
.usmap-tile:hover::after, .usmap-tile:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.usmap.small { max-width: 620px; margin: 0; }
@media (max-width: 560px) { .usmap-tile span { display: none; } .usmap-tile::after { display: none; } }
.state-index { list-style: none; margin: 0 0 40px; padding: 0; columns: 4 200px; column-gap: 24px; }
.state-index li { break-inside: avoid; }
.state-index a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); color: #d5dfd6; font-size: .93rem; }
.state-index a:hover { color: var(--accent); text-decoration: none; }
.state-index .mono { color: var(--muted); font-size: .78rem; }

/* Cards without a photo */
.case-ph { position: relative; display: grid; place-items: center; color: rgba(214,190,120,.55);
  background: radial-gradient(circle at 70% 30%, rgba(214,190,120,.12), transparent 60%), repeating-radial-gradient(circle at 30% 120%, transparent 0 14px, rgba(214,190,120,.07) 15px 16px), #0d0c08; }
.ph-icon { width: 34%; height: auto; max-height: 70%; filter: drop-shadow(0 0 14px rgba(214,190,120,.25)); }
.ph-label { position: absolute; left: 12px; bottom: 9px; font-size: .58rem; letter-spacing: .18em; color: rgba(214,190,120,.6); }
.case .status.hoax { color: #ffb547; border-color: #ffb547; }
.case .status.folk { color: #c9a7ff; border-color: #c9a7ff; }
.case .status.extinct { color: #7fd3ff; border-color: #7fd3ff; }
.cases > .case { display: flex; flex-direction: column; }
.cases > .case .status { margin-top: auto; align-self: flex-start; }
.case h3 { overflow-wrap: anywhere; }

/* Cryptid page (field file) */
.cryptid-sheet h1 { margin-bottom: 6px; }
.aka { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.aka b { color: #d5dfd6; font-weight: 500; }
.cryptid-sheet .meta svg { width: 13px; height: 13px; vertical-align: -2px; color: var(--accent-2); }
.cryptid-sheet .meta a { color: var(--muted); }
.cryptid-sheet .meta a:hover { color: var(--accent); }
.cryptid-sheet .lead { font-size: 1.18rem; color: #e3ece2; line-height: 1.6; margin: 0 0 1em; }
.cryptid-sheet > h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 44px 0 14px; color: var(--text); }
.cryptid-sheet > p { line-height: 1.75; }
.factbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; margin: 32px 0 8px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.factbox div { background: rgba(9,14,11,.92); padding: 14px 16px; }
.factbox dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.factbox dd { margin: 0; font-size: .95rem; color: #d5dfd6; }
.factbox div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sightings { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line-strong); }
.sightings li { position: relative; margin: 0 0 22px; }
.sightings li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-2); box-shadow: 0 0 10px rgba(255,181,71,.5); }
.s-date { display: block; font-size: .72rem; letter-spacing: .1em; color: var(--accent-2); text-transform: uppercase; }
.sightings b { display: block; font-size: 1.05rem; margin: 2px 0; }
.s-place { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); }
.s-place svg { width: 12px; height: 12px; }
.sightings p { margin: 6px 0 0; color: #c9d5cb; font-size: .97rem; }
.explain { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.explain li { padding: 12px 16px 12px 44px; position: relative; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); color: #c9d5cb; }
.explain li::before { content: "?"; position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-family: var(--mono); font-size: .75rem; color: #071300; background: var(--accent); }
.visit { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.visit-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.visit-card b { display: block; }
.visit-card .mono { display: block; font-size: .7rem; color: var(--accent-2); letter-spacing: .06em; margin: 2px 0 6px; }
.visit-card p { margin: 0; font-size: .9rem; color: #c3cec5; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-block; font-size: .85rem; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: #d5dfd6; background: rgba(255,255,255,.02); }
.chip-link:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.chip-link.plain { color: var(--muted); border-style: dashed; }
.factbox .chip-link { font-size: .78rem; padding: 3px 9px; margin: 2px 2px 2px 0; }

/* Place, hub and type pages */
.place-head { margin-bottom: 40px; }
.place-head .hub-intro { font-size: 1.12rem; line-height: 1.7; }
.place-stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.place-stats b { color: var(--accent); font-family: var(--display); font-weight: 500; font-size: 1.5rem; margin-right: 4px; letter-spacing: 0; }
.place-sec { margin-top: 64px; }
.place-sec .sub-title { margin: 0 0 22px; }
.place-sec .sub-title a { color: inherit; }
.prose p { max-width: 820px; color: #c9d5cb; line-height: 1.75; }
[data-set-region].is-mine { background: transparent; color: var(--accent); border: 1px solid var(--accent); box-shadow: none; }
.hotspots { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.hotspot { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.hotspot svg { width: 22px; height: 22px; flex: none; color: var(--accent-2); margin-top: 2px; }
.hotspot b { display: block; margin-bottom: 4px; }
.hotspot p { margin: 0; font-size: .92rem; color: #c3cec5; }
.near { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.near a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); transition: border-color .2s, transform .2s; }
.near a[aria-current] { border-color: var(--accent-2); }
.near a:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.near .mono { font-size: .72rem; color: var(--muted); }
.tl-mini { list-style: none; margin: 0; padding: 0; }
.tl-mini li { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.tl-mini li > .mono { color: var(--accent-2); font-size: .78rem; letter-spacing: .06em; padding-top: 3px; }
.tl-mini p { margin: 4px 0 0; color: #c3cec5; font-size: .95rem; }
.tl-tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 999px; margin-left: 6px; white-space: nowrap; }
@media (max-width: 600px) { .tl-mini li { grid-template-columns: 1fr; gap: 4px; } }
.continents { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; }
.tile.continent { min-height: 200px; }
.tile-ico { position: absolute; right: 18px; top: 50px; width: 42%; max-width: 160px; color: rgba(164,255,114,.18); z-index: -1; }
.tile-ico svg { width: 100%; height: auto; }
.pf-select { min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #0b120e; color: var(--text); font: inherit; font-size: .9rem; }
.filter-bar .chips .mono { opacity: .7; font-size: .75em; margin-left: 4px; }
.notfound { padding-top: 160px; padding-bottom: 80px; }

/* Home: cryptids near you */
.near-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.near-help { margin: -12px 0 24px; }
.rail-title { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin: 8px 0 20px; }

/* News desk */
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 10px var(--warn); animation: pulse 1.4s infinite; vertical-align: 1px; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.news-item[hidden] { display: none; }
.news-item a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); transition: border-color .2s, transform .2s; }
.news-item a:hover { border-color: var(--line-strong); transform: translateX(3px); text-decoration: none; }
.news-item a:hover b { color: var(--accent); }
.news-meta { font-size: .7rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.news-item b { font-weight: 500; font-size: 1.04rem; line-height: 1.4; transition: color .2s; }
.news-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.news-tags span { font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; color: var(--accent-2); border: 1px solid rgba(255,181,71,.35); border-radius: 999px; padding: 1px 8px; }
.cryptid-sheet .news-item a { background: rgba(255,255,255,.02); }

/* Video player (loads only on press) */
.vtile[hidden] { display: none; }
.vplay { aspect-ratio: 16 / 10; }
.vplay-btn { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.vplay-btn img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.3) contrast(1.1) brightness(.8); transition: transform .8s, filter .5s; }
.vplay-btn:hover img, .vplay-btn:focus-visible img { transform: scale(1.05); filter: none; }
.vplay-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.vplay.playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vplay.playing::after { display: none; }
.vtile-title { font-size: 1rem; margin: 2px 0 2px; line-height: 1.35; }
.vtile-code { font-size: .72rem; letter-spacing: .12em; color: var(--accent); }
.vtile-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .7rem; color: var(--muted); }
.vtile-src:hover { color: var(--accent); }
.out-icon { width: 12px; height: 12px; }
.cryptid-sheet .vgrid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Region picker + toast */
.region-dialog { max-height: min(86vh, 820px); }
.region-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.region-tabs { display: flex; gap: 6px; }
.region-tabs button { font: inherit; font-size: .88rem; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.region-tabs button[aria-selected="true"] { color: #071300; background: var(--accent); border-color: var(--accent); }
.region-body { overflow-y: auto; padding: 6px 18px 18px; scrollbar-width: thin; }
.region-note { margin: 16px 0 8px; font-size: .66rem; letter-spacing: .14em; color: var(--muted); }
.region-note a { color: var(--accent); }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.region-opt { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: #d5dfd6; font-size: .92rem; }
.region-opt:hover { border-color: var(--accent); color: var(--text); text-decoration: none; background: rgba(164,255,114,.06); }
.region-opt.current { border-color: var(--accent-2); color: var(--accent-2); }
.region-opt .mono { color: var(--muted); font-size: .75rem; }
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 300; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(9,14,11,.96); backdrop-filter: blur(10px); box-shadow: 0 20px 60px -20px #000; font-size: .92rem;
  transform: translate(-50%, 140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast > svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.toast b { color: var(--accent); }
.toast-actions { display: flex; gap: 6px; }
.toast .chip { padding: 5px 12px; }

/* Ads: reserve space so pages don't jump when an ad loads */
.ad-slot { margin: 36px 0; min-height: 120px; text-align: center; }
.ad-slot::before { content: "Advertisement"; display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; opacity: .7; }
/* A–Z list */
.mini-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mini-card { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 1px solid rgba(214,190,120,.2); border-radius: 12px; background: linear-gradient(160deg, #1a1a12, #12110b); color: #f3ead2; transition: border-color .2s, transform .2s; }
.mini-card:hover { border-color: rgba(214,190,120,.55); transform: translateY(-2px); text-decoration: none; }
.mini-card[hidden] { display: none; }
.mini-card img, .mini-card svg { flex: none; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; filter: sepia(.25); }
.mini-card svg { padding: 10px; color: rgba(214,190,120,.6); background: #0d0c08; }
.mini-card b { display: block; font-family: var(--display); font-weight: 500; font-size: 1rem; line-height: 1.2; }
.mini-card .mono { display: block; font-size: .66rem; letter-spacing: .04em; color: #a99e7e; margin-top: 3px; }
/* Video watch pages */
a.vtile-media { display: block; }
a.vtile-media:hover img { transform: scale(1.06); filter: none; }
.vtile-title a { color: var(--text); }
.vtile-title a:hover { color: var(--accent); text-decoration: none; }
.watch-player { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: #000; box-shadow: 0 30px 80px -40px rgba(164,255,114,.35); }
.watch-player .vplay-btn img { object-fit: contain; background: #000; }
.watch-player .vtile-play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.watch-player .vtile-play svg { width: 34px; height: 34px; }
.watch-kicker { margin: 24px 0 8px; }
.watch-kicker a { color: var(--accent); }
.watch-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 4.5vw, 2.6rem); line-height: 1.15; margin: 0 0 8px; }
.watch-by { color: var(--muted); margin: 0 0 18px; }
.watch-about { display: flex; gap: 20px; align-items: flex-start; margin-top: 36px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.watch-about-img { width: 160px; height: 120px; object-fit: cover; border-radius: 10px; flex: none; }
.watch-about h2 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; margin: 4px 0 6px; }
.watch-about h2 a { color: var(--text); }
.watch-about p:not(.kicker) { margin: 0; color: #c3cec5; }
@media (max-width: 600px) { .watch-about { flex-direction: column; } .watch-about-img { width: 100%; height: 180px; } }
.quick-answer { max-width: 760px; margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--accent-2); background: rgba(255,181,71,.06); border-radius: 0 10px 10px 0; color: #e3ece2; }
.quick-answer b { color: var(--accent-2); font-weight: 600; margin-right: 4px; }
/* Filter chips (shared with The Phenomenon Files) */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.chip { font: inherit; font-size: .85rem; color: var(--muted); background: var(--panel); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.active { color: #071300; background: var(--accent); border-color: var(--accent); box-shadow: var(--glow); }
/* Filter bars, search box, counters, note box (shared with The Phenomenon Files) */
.pf-tools { position: sticky; top: 68px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 32px 0 20px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,11,9,.92); backdrop-filter: blur(10px); }
.pf-search { flex: 1 1 240px; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--text); font: inherit; font-size: .95rem; }
.pf-search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.pf-tools .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pf-count { margin: 0; font-size: .72rem; color: var(--muted); }
.pf-note-box { margin-top: 40px; padding: 20px 24px; border-left: 2px solid var(--accent); background: rgba(164,255,114,.04); border-radius: 0 12px 12px 0; }
.pf-note-box p { margin: 0 0 8px; }
@media (max-width: 720px) { .pf-tools { position: static; padding: 10px; } }
