@font-face { font-family: 'Bungee'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/bungee-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 700; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-italic.woff2) format('woff2'); }

:root {
  --bg: #0b0910;        /* the woods at night */
  --panel: #16121b;     /* inside the cabin */
  --panel-2: #1e1925;
  --line: #2c2533;
  --fg: #f1e9d6;        /* the game's cream text */
  --muted: #b3a78f;
  --accent: #fff3a0;    /* flashlight yellow */
  --accent-ink: #1c1410;
  --gold: #e8c060;
  --blood: #e5484d;
  --calm: #7ab85e;
  --shadow: #4a2a14;    /* the LOST title's brown drop shadow */
  --veil: rgba(4, 3, 6, 0.86);
  --font-title: 'Bungee', 'Impact', 'Arial Black', sans-serif;   /* arcade-sign titles */
  --font-display: 'Atkinson Hyperlegible', 'Verdana', sans-serif;   /* labels, nav, buttons */
  --font-body: 'Atkinson Hyperlegible', 'Verdana', system-ui, sans-serif;   /* readable for parents and young readers */
  
  --px: 2px;
  --sk-eye: var(--bg);
  --sk-off: #3a3242;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #e9dfc6;        /* Joe's journal paper */
  --panel: #f6efdc;
  --panel-2: #efe4c8;
  --line: #c9b78f;
  --fg: #2a1e14;
  --muted: #65523a;
  --accent: #8a5a10;
  --accent-ink: #fff8e6;
  --gold: #9a6a10;
  --blood: #a01c1c;
  --calm: #3f7a2a;
  --shadow: #d8c49a;
  --veil: rgba(233, 223, 198, 0.55);
  --sk-off: #c9b78f;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 18px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
img.px, .px img { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; font-family: var(--font-display); }
.skip:focus { left: 16px; }
h1, h2, h3, .h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: 0.02em; }
h1, h2 { font-size: clamp(26px, 4vw, 38px); }
h3, .h3 { font-size: 20px; }
p { margin: 0; max-width: 65ch; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.01em; color: var(--muted); }
.small { font-size: 15px; color: var(--muted); }
.src { font-size: 14px; color: var(--muted); }
ul.plain, ol.plain { padding: 0; margin: 0; list-style: none; }

/* ---------- header ---------- */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: var(--px) solid var(--line); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); justify-self: start; }
.brand b { font-family: var(--font-title); font-weight: 400; font-size: 16px; line-height: 1.05; letter-spacing: 0.04em; }
.brand b span { color: var(--accent); display: block; font-size: 12px; letter-spacing: 0.2em; }
nav.main { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; justify-self: center; }
nav.main a { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 10px 10px; }
nav.main a:hover { color: var(--fg); }
nav.main a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -4px 0 var(--accent); }
.tools { display: flex; gap: 10px; align-items: center; justify-self: end; }
.theme { font-family: var(--font-display); font-weight: 700; font-size: 12px; background: var(--panel); color: var(--fg); border: 2px solid var(--line); padding: 9px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.theme:hover { border-color: var(--accent); }
#themeIcon { font-size: 22px; line-height: 0.8; display: inline-block; vertical-align: middle; }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer; padding: 12px 18px; min-height: 44px; border: 0; background: var(--accent); color: var(--accent-ink); box-shadow: 4px 4px 0 var(--shadow); transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shadow); }
.btn.sm { font-size: 12px; padding: 9px 12px; min-height: 40px; }
.btn.ghost { background: transparent; color: var(--fg); border: 2px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); transform: none; }
.micro { font-size: 15px; color: var(--muted); }

/* ---------- pages ---------- */
main.page { padding-block: 36px 72px; }
.stack { display: grid; gap: 64px; }
.intro { display: grid; gap: 14px; }
.block { display: grid; gap: 18px; }

/* hero: the flashlight follows your pointer through the woods */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: center; }
.logo { font-family: var(--font-title); font-weight: 400; letter-spacing: 0; font-size: clamp(32px, 4.8vw, 54px); line-height: 1.08; color: var(--fg); text-shadow: 5px 5px 0 var(--shadow); }
.logo em { font-style: normal; color: var(--accent); }
.hero p.lede { font-size: 20px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.screen { position: relative; border: var(--px) solid var(--line); background: #000;  aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; margin: 0; }
.screen img, .screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
video.px { image-rendering: pixelated; image-rendering: crisp-edges; }
.torch { --x: 55%; --y: 50%; }
.torch::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle 180px at var(--x) var(--y), transparent 0 55%, rgba(4, 3, 6, 0.45) 100%); }
:root[data-theme="light"] .torch::after { background: none; }
.screen figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; font-family: var(--font-display); font-weight: 700; font-size: 11px; color: #e8dcc0; background: rgba(0,0,0,.65); letter-spacing: .08em; }

/* safety promises */
.promises { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: var(--px) solid var(--line); background: var(--panel); }
.promises li { padding: 14px 14px; display: grid; gap: 4px; align-content: start; border-right: 2px solid var(--line); }
.promises li:last-child { border-right: 0; }
.promises b { font-family: var(--font-display); font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.promises b::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--calm); box-shadow: 2px 2px 0 var(--shadow); }
.promises span { font-size: 15px; color: var(--muted); line-height: 1.35; }

/* two doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.door { background: var(--panel); border: var(--px) solid var(--line); padding: 22px; display: grid; gap: 12px; align-content: start; }
.door ul { display: grid; gap: 6px; }
.door li { font-size: 16px; display: grid; grid-template-columns: 18px 1fr; gap: 6px; }
.door li::before { content: "\203A"; font-family: var(--font-display); color: var(--accent); }

/* research callout */
.why { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.bigstat { font-family: var(--font-title); font-size: clamp(64px, 11vw, 120px); line-height: 0.9; color: var(--accent); text-shadow: 6px 6px 0 var(--shadow); font-variant-numeric: tabular-nums; }
.why ul { display: grid; gap: 10px; }
.why li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 17px; }
.why li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; background: var(--gold); box-shadow: 2px 2px 0 var(--shadow); }

/* scare scale */
.scale { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.scale li { list-style: none; background: var(--panel); border: 2px solid var(--line); padding: 14px 12px; display: grid; gap: 6px; align-content: start; }
.scale li b { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.scale li small { color: var(--muted); font-size: 15px; line-height: 1.35; }
.scale .ages { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--fg); background: var(--panel-2); padding: 3px 6px; justify-self: start; }
.skulls { display: inline-flex; gap: 3px; color: var(--blood); }
.skulls svg { width: 18px; height: 18px; }
.skulls .off { color: var(--sk-off); }
.skulls.calm { color: var(--calm); }
.never { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.never span.tag { font-family: var(--font-display); font-weight: 700; font-size: 12px; border: 2px solid var(--line); padding: 5px 8px; text-decoration: line-through; text-decoration-color: var(--blood); text-decoration-thickness: 2px; }

/* game parent guide */
.report { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--panel); border: var(--px) solid var(--line);  }
.report .shots { padding: 18px; display: grid; gap: 10px; align-content: start; border-right: var(--px) solid var(--line); }
.report .shots .main { aspect-ratio: 4/3; width: 100%; height: auto; object-fit: cover; border: 2px solid var(--line); display: block; background: #000; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.thumbs button { padding: 0; border: 2px solid var(--line); background: #000; cursor: pointer; aspect-ratio: 4/3; }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-caption { font-size: 15px; color: var(--muted); min-height: 2.6em; }
.report .facts { padding: 22px; display: grid; gap: 18px; align-content: start; }
.title-row { display: flex; align-items: baseline; gap: 10px 12px; flex-wrap: wrap; }
.title-row h3 { font-size: 34px; text-shadow: 3px 3px 0 var(--shadow); }
.age.ok { background: var(--calm); color: #0d0b10; }
.age { font-family: var(--font-display); font-weight: 700; font-size: 14px; background: var(--blood); color: #fff8e6; padding: 4px 8px; }
.meters { display: grid; gap: 10px; }
.meter { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; align-items: center; }
.meter .label { font-size: 12px; }
.meter em { font-style: normal; font-size: 15px; color: var(--muted); grid-column: 2; margin-top: -6px; }
dl.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
dl.stats div { background: var(--panel-2); border: 2px solid var(--line); padding: 10px; }
dl.stats dt { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
dl.stats dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.report .full { grid-column: 1 / -1; border-top: var(--px) solid var(--line); padding: 22px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 28px; }

/* what's inside: one row per content type, four-step bar */
.inside { display: grid; gap: 2px; }
.inside li { display: grid; grid-template-columns: 11em 96px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 2px solid var(--line); }
.inside li:last-child { border-bottom: 0; }
.inside .what { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .04em; padding-top: 2px; }
.lvl { display: grid; gap: 4px; }
.lvl .bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; height: 12px; margin-top: 4px; }
.lvl .bars i { background: var(--line); }
.lvl[data-l="1"] .bars i:nth-child(-n+1), .lvl[data-l="2"] .bars i:nth-child(-n+2), .lvl[data-l="3"] .bars i { background: var(--blood); }
.lvl[data-l="0"] .bars i { background: transparent; border: 2px solid var(--calm); }
.lvl b { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.lvl[data-l="0"] b { color: var(--calm); }
.inside p { font-size: 16px; line-height: 1.45; }
.talk { background: var(--panel-2); border: 2px solid var(--line); padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
.talk ul { display: grid; gap: 8px; }
.talk li { font-size: 16px; padding-left: 14px; border-left: var(--px) solid var(--gold); }
.verdict { background: var(--panel-2); border-left: var(--px) solid var(--gold); padding: 12px 14px; font-size: 16px; }
.warnbox { border: 2px solid var(--blood); padding: 12px 14px; font-size: 16px; display: grid; gap: 4px; }
.warnbox b { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--blood); letter-spacing: .06em; }

/* motion strip */
.gifs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gifs figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.gifs .screen { box-shadow: 6px 6px 0 var(--shadow); }
.gifs figcaption.under { font-size: 16px; }
.gifs figcaption.under b { font-family: var(--font-display); font-weight: 700; font-size: 13px; display: block; letter-spacing: .06em; }

/* jumpscares: covered until someone chooses to look */
.scares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scare { background: var(--panel); border: var(--px) solid var(--line); display: grid; align-content: start; }
.scare .screen { border: 0; border-bottom: var(--px) solid var(--line); box-shadow: none; }
.scare .cover { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; background: repeating-linear-gradient(45deg, #120d12 0 8px, #19121a 8px 16px); color: #e8dcc0; text-align: center; padding: 12px; }
.scare .cover .label { color: #c8b890; }
.scare .body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.scare .when { font-size: 15px; color: var(--muted); }
.intensity { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.minor { display: grid; gap: 10px; background: var(--panel); border: 2px dashed var(--line); padding: 16px 18px; }
.minor ol { display: grid; gap: 6px; }
.minor li { font-size: 16px; display: grid; grid-template-columns: 3.4em 1fr; gap: 8px; }
.minor li span { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--muted); padding-top: 3px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { background: var(--panel); border: 2px solid var(--line); padding: 16px; display: grid; gap: 8px; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--font-title); font-size: 28px; color: var(--accent); text-shadow: 3px 3px 0 var(--shadow); line-height: 1; }
.steps b { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.steps p { font-size: 16px; color: var(--muted); }

/* bravery test (for kids) */
.quiz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--panel); border: var(--px) solid var(--line);  }
.quiz .q { padding: 22px; display: grid; gap: 16px; align-content: start; border-right: var(--px) solid var(--line); }
.quiz fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.quiz legend { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 8px; letter-spacing: .03em; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-block; font-size: 16px; border: 2px solid var(--line); padding: 8px 12px; background: var(--bg); min-height: 40px; }
.opts input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz .result { padding: 22px; display: grid; gap: 12px; align-content: start; }
.result .lvlname { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 36px); text-shadow: 3px 3px 0 var(--shadow); }

/* tips + faq + cta band */
.tips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tips div { border-top: var(--px) solid var(--gold); padding-top: 10px; display: grid; gap: 6px; align-content: start; }
.tips b { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.tips p { font-size: 16px; color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--panel); border: 2px solid var(--line); padding: 12px 16px; }
.faq details[open] { border-color: var(--gold); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 17px; cursor: pointer; line-height: 1.35; }
.faq p { margin-top: 10px; font-size: 16px; }
.band { background: var(--panel-2); border: var(--px) solid var(--line);  padding: 28px; display: flex; gap: 20px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { font-size: clamp(22px, 3.4vw, 32px); }
.band .ctas { flex-direction: column; align-items: flex-start; gap: 8px; }

/* home: kid half */
.kidhero .logo { font-size: clamp(36px, 6vw, 66px); }
.parentnote { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); border-left: var(--px) solid var(--calm); padding: 6px 0 6px 12px; max-width: 60ch; }
.parentnote a { color: var(--fg); }
.dothis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dothis figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.dothis figcaption b { font-family: var(--font-title); font-weight: 400; font-size: 20px; display: block; }
.dothis figcaption { font-size: 16px; }
.endings { display: flex; gap: 10px; flex-wrap: wrap; }
.endings span { font-family: var(--font-title); font-size: 15px; border: 2px dashed var(--line); padding: 10px 14px; color: var(--muted); }
.endings span.found { border-style: solid; border-color: var(--accent); color: var(--accent); }
/* the switch from kid to grown-up */
.switch { border-top: var(--px) dashed var(--line); border-bottom: var(--px) dashed var(--line); padding-block: 28px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.switch .tag { font-family: var(--font-title); font-size: 15px; background: var(--calm); color: #0d0b10; padding: 8px 12px; }
.switch h2 { font-size: clamp(24px, 3.6vw, 36px); }
/* parent worries */
.worries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.worry { background: var(--panel); border: 2px solid var(--line); padding: 18px; display: grid; gap: 8px; align-content: start; }
.worry .pct { font-family: var(--font-title); font-size: 34px; line-height: 1; color: var(--muted); }
.worry .pct small { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; display: block; margin-top: 6px; }
.worry h3 { font-size: 18px; }
.worry .ans { border-top: 2px solid var(--line); padding-top: 10px; font-size: 16px; }
.worry .ans b { color: var(--calm); font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; display: block; margin-bottom: 2px; }
/* parent journey */
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: var(--px) solid var(--line); background: var(--panel); counter-reset: j; }
.journey li { padding: 18px 16px; display: grid; gap: 8px; align-content: start; border-right: 2px solid var(--line); counter-increment: j; }
.journey li:last-child { border-right: 0; }
.journey li::before { content: counter(j); font-family: var(--font-title); font-size: 30px; color: var(--accent); text-shadow: 3px 3px 0 var(--shadow); line-height: 1; }
.journey b { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.journey p { font-size: 15px; color: var(--muted); }
.journey a { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
/* calming by age */
.ages2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.agecard { background: var(--panel); border: 2px solid var(--line); padding: 20px; display: grid; gap: 10px; align-content: start; }
.agecard h3, .h3 { font-size: 20px; }
.agecard ul { display: grid; gap: 8px; }
.agecard li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; font-size: 16px; }
.agecard li::before { content: "\203A"; font-family: var(--font-title); color: var(--accent); }
/* money promise */
.money { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0; background: var(--panel); border: var(--px) solid var(--line);  }
.money .l { padding: 24px; border-right: var(--px) solid var(--line); display: grid; gap: 12px; align-content: start; }
.money .r { padding: 24px; display: grid; gap: 10px; align-content: start; }
/* control page */
.ctl { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.ctl-why { display: grid; gap: 14px; align-content: start; }
.ctl form, .ctl .card2 { background: var(--panel); border: var(--px) solid var(--line);  padding: 22px; display: grid; gap: 16px; }
.setting { display: grid; gap: 8px; border-top: 2px solid var(--line); padding-top: 14px; }
.setting:first-of-type { border-top: 0; padding-top: 0; }
.setting .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.setting output { font-family: var(--font-title); font-size: 20px; color: var(--accent); min-width: 6ch; }
.setting input[type=range] { flex: 1; min-width: 180px; accent-color: var(--accent); padding: 0; min-height: 30px; border: 0; background: none; }
.setting input[type=time] { width: auto; }
.lvlset { display: flex; gap: 6px; flex-wrap: wrap; }
.lvlset label { cursor: pointer; }
.lvlset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lvlset label > span { display: inline-flex; flex-direction: column; gap: 4px; border: 2px solid var(--line); padding: 8px 10px; background: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.lvlset .skulls svg { width: 12px; height: 12px; }
.lvlset input:checked + span { border-color: var(--accent); box-shadow: inset 0 -4px 0 var(--accent); }
.lvlset input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.usage { display: grid; gap: 6px; }
.usage .track { height: 16px; background: var(--bg); border: 2px solid var(--line); }
.usage .fill { height: 100%; background: var(--calm); width: 0; }
.usage .fill.low { background: var(--blood); }
.ctl-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.status { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--panel-2); border: 2px solid var(--line); padding: 10px 14px; font-size: 15px; }
.status b { font-family: var(--font-display); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 13px; color: var(--calm); }
.status.stop b { color: var(--blood); }
.timesup { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; background: rgba(8, 6, 10, .94); color: #e8dcc0; padding: 20px; z-index: 2; }
.timesup b { font-family: var(--font-title); font-weight: 400; font-size: clamp(26px, 5vw, 44px); color: #fff3a0; }
.dlgwarn { font-size: 14px; color: var(--blood); font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; }
/* games page: pick a scare level */
.levelpick { display: flex; flex-wrap: wrap; gap: 8px; }
.levelpick button { font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--fg); background: var(--panel); border: 2px solid var(--line); padding: 8px 12px; min-height: 44px; cursor: pointer; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.levelpick button .skulls svg { width: 13px; height: 13px; }
.levelpick button .small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.levelpick button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 -4px 0 var(--accent); }
.levelpick button:hover { border-color: var(--accent); }
.cart .screen.soon { display: grid; place-items: center; font-family: var(--font-title); color: var(--muted); font-size: 44px; background: var(--panel-2); }
.cart .lvl-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cart .go { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
a.cart:hover { border-color: var(--accent); }
/* game page */
.crumbs { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--muted); display: flex; gap: 8px; }
.crumbs a { color: var(--muted); }
.detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gallery button { padding: 0; border: 2px solid var(--line); background: #000; cursor: pointer; aspect-ratio: 4/3; display: block; width: 100%; }
.gallery button:first-child { grid-column: 1 / -1; border-width: var(--px);  cursor: default; margin-bottom: 6px; }
.gallery button:not(:first-child):hover { border-color: var(--accent); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: pixelated; }
.gcap { font-size: 15px; color: var(--muted); min-height: 1.5em; }
.sense { background: var(--panel); border: var(--px) solid var(--line); padding: 18px; display: grid; gap: 12px; }
.sense .head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sense .head b { font-family: var(--font-title); font-weight: 400; font-size: 22px; }
.sense dl { margin: 0; display: grid; gap: 10px; }
.sense dl div { display: grid; grid-template-columns: 8.5em 1fr; gap: 10px; border-top: 2px solid var(--line); padding-top: 10px; }
.sense dt { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.sense dd { margin: 0; font-size: 16px; line-height: 1.45; }
.btn.big { font-size: 22px; padding: 16px 28px; width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.playrow { display: grid; gap: 8px; justify-items: center; text-align: center; }
.storycol { display: grid; gap: 16px; align-content: start; }
.storycol p { font-size: 17px; }
.storycol h3 { font-size: 20px; margin-top: 6px; }
.facts2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.facts2 div { background: var(--panel); border: 2px solid var(--line); padding: 10px; }
.facts2 dt { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.facts2 dd { margin: 4px 0 0; font-family: var(--font-title); font-size: 17px; }
/* jumpscare report table */
.jt-wrap { overflow-x: auto; border: var(--px) solid var(--line); background: var(--panel); }
table.jt { width: 100%; border-collapse: collapse; min-width: 860px; }
.jt th, .jt td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--line); font-size: 15px; line-height: 1.4; }
.jt thead th { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--panel-2); }
.jt td.n { font-family: var(--font-title); color: var(--muted); }
.jt td.ch { font-family: var(--font-display); font-weight: 700; font-size: 13px; white-space: nowrap; }
.jt td.what b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.jt .skulls svg { width: 14px; height: 14px; }
.jt tr.group th { background: var(--panel-2); font-family: var(--font-title); font-weight: 400; font-size: 15px; color: var(--accent); }
.pill { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .06em; padding: 3px 7px; border: 2px solid var(--line); white-space: nowrap; display: inline-block; margin-bottom: 4px; }
.pill.yes { border-color: var(--calm); color: var(--calm); }
.pill.no { color: var(--muted); }
.jfilter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.jfilter .btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.sumrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sumrow div { background: var(--panel); border: 2px solid var(--line); padding: 12px; display: grid; gap: 4px; }
.sumrow b { font-family: var(--font-title); font-weight: 400; font-size: 30px; color: var(--accent); text-shadow: 3px 3px 0 var(--shadow); line-height: 1; }
.sumrow span { font-size: 15px; color: var(--muted); }
/* the player opens in a dialog */
/* the game fills the whole window (and goes full screen) */
dialog.playdlg { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #e8dcc0; }
dialog.playdlg[open] { display: flex; flex-direction: column; }
dialog.playdlg::backdrop { background: #000; }
.dlgbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 4px 10px; background: #0b0910; border-bottom: 2px solid #2a2436; }
.dlgbar b { font-family: var(--font-title); font-weight: 400; font-size: 15px; }
.dlgbar .small { font-size: 13px; color: #c8b890; }
.dlgbar #fullwin { display: none; }
.playdlg { position: relative; }
.playdlg.nobar .dlgbar { display: none; }
.playdlg .dlgx { display: none; position: absolute; top: 4px; right: 4px; z-index: 2; opacity: 0.5; width: 26px; height: 26px; padding: 0; justify-content: center; align-items: center; font-size: 16px; line-height: 1; box-shadow: none; }
.playdlg.nobar .dlgx { display: inline-flex; }
.playdlg .dlgx:hover, .playdlg .dlgx:focus-visible { opacity: 1; }
.dlgframe { position: relative; flex: 1; width: 100%; background: #000; }
.dlgframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* games page */
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cart { background: var(--panel); border: var(--px) solid var(--line); display: grid; align-content: start; text-align: left; padding: 0; color: var(--fg); font: inherit; }
button.cart { cursor: pointer; }
button.cart:hover, button.cart[aria-pressed="true"] { border-color: var(--accent); }
.cart .screen { border: 0; border-bottom: var(--px) solid var(--line); box-shadow: none; }
.cart .body { padding: 14px 16px; display: grid; gap: 8px; }
.cart .meta { display: flex; gap: 6px 12px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.cart.locked { opacity: .6; }
.cart.locked .screen { display: grid; place-items: center; font-family: var(--font-display); color: #6a5a6e; font-size: 40px; }
.player { display: grid; gap: 14px; }
.player .frame { position: relative; aspect-ratio: 4/3; width: 100%; max-width: 960px; border: var(--px) solid var(--line); background: #000;  }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .start { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; background: #000 center / cover no-repeat; color: #e8dcc0; text-align: center; padding: 16px; }
.player .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ready { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.panel { background: var(--panel); border: 2px solid var(--line); padding: 18px; display: grid; gap: 12px; align-content: start; }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; margin: 0; }
.keys dt { font-family: var(--font-display); font-weight: 700; font-size: 12px; background: var(--panel-2); border: 2px solid var(--line); border-bottom-width: var(--px); padding: 4px 8px; text-align: center; }
.keys dd { margin: 0; font-size: 16px; }
.check li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 16px; padding: 4px 0; }
.check li::before { content: ""; width: 12px; height: 12px; margin-top: 6px; border: 2px solid var(--accent); }

/* pricing */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--panel); border: var(--px) solid var(--line);  max-width: 960px; }
.plan .left { padding: 28px; display: grid; gap: 16px; align-content: start; border-right: var(--px) solid var(--line); }
.price { font-family: var(--font-title); font-size: 64px; line-height: 1; text-shadow: 4px 4px 0 var(--shadow); font-variant-numeric: tabular-nums; }
.price small { font-size: 18px; color: var(--muted); text-shadow: none; }
.plan .right { padding: 28px; display: grid; gap: 12px; align-content: start; }
.know { display: grid; gap: 8px; }
.know li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 16px; line-height: 1.45; }
.know li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; background: var(--gold); box-shadow: 2px 2px 0 var(--shadow); }
.notice { font-size: 15px; background: var(--panel-2); border: 2px solid var(--line); padding: 10px 12px; }
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--panel); border: var(--px) solid var(--line); }
.compare th, .compare td { padding: 12px 14px; border-bottom: 2px solid var(--line); text-align: left; font-size: 16px; }
.compare th { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .05em; }
.compare td.y { color: var(--calm); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.compare tbody th { font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: 0; }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare td.n { color: var(--blood); font-family: var(--font-display); font-weight: 700; font-size: 14px; }

/* contact + about */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
form.card { background: var(--panel); border: var(--px) solid var(--line); padding: 22px; display: grid; gap: 14px;  }
label.f { display: grid; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; }
label.f .opt { color: var(--muted); font-size: 11px; }
input, select, textarea { font: inherit; font-family: var(--font-body); font-size: 17px; color: var(--fg); background: var(--bg); border: 2px solid var(--line); padding: 10px 12px; width: 100%; min-height: 44px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--blood); }
.err { font-family: var(--font-body); font-size: 15px; color: var(--blood); letter-spacing: 0; }
textarea { min-height: 140px; resize: vertical; }
.sent { background: var(--panel-2); border: 2px solid var(--gold); padding: 12px 14px; font-size: 16px; }
.next { display: grid; gap: 10px; }
.next li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; font-size: 16px; }
.next li b { font-family: var(--font-title); font-weight: 400; font-size: 18px; color: var(--accent); text-shadow: 2px 2px 0 var(--shadow); }
.story { display: grid; gap: 16px; }
.story p { font-size: 18px; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rules li { background: var(--panel); border: 2px solid var(--line); padding: 16px; display: grid; gap: 6px; align-content: start; }
.rules b { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.rules p { font-size: 16px; color: var(--muted); }
.cred { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cred div { background: var(--panel); border: 2px solid var(--line); padding: 14px; }
.cred b { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--muted); display: block; letter-spacing: .08em; }

footer { border-top: var(--px) solid var(--line); padding-block: 32px 40px; background: var(--panel); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
.fgrid .fh { font-size: 13px; color: var(--muted); letter-spacing: .1em; margin-bottom: 10px; }
.fgrid ul { display: grid; gap: 6px; }
.fgrid a { color: var(--fg); text-decoration: none; font-size: 16px; }
.fgrid a:hover { color: var(--accent); text-decoration: underline; }
.fgrid .fh { font-family: var(--font-display); font-weight: 700; text-shadow: none; text-transform: uppercase; }
.fine { margin-top: 24px; padding-top: 16px; border-top: 2px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; color: var(--muted); font-size: 14px; }


/* ---------- additions for the multi-page site ---------- */
a.cart { text-decoration: none; }
a.cart:hover h3 { color: var(--accent); }
.cart[hidden] { display: none; }
.shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.freeline { font-size: 17px; }
.freeline b { color: var(--calm); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: 15px; }
.lede { font-size: 20px; }
.dothis figcaption, .endings span { font-family: var(--font-body); }
.dothis figcaption b { font-family: var(--font-title); }
.menu { display: none; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; background: var(--panel); color: var(--fg); border: 2px solid var(--line); padding: 8px 12px; min-height: 44px; cursor: pointer; }
.menu[aria-expanded="true"] { border-color: var(--accent); }
.handoff { background: var(--panel); border: var(--px) solid var(--line);  padding: 26px; display: grid; gap: 20px; }
.handoff .tag { font-family: var(--font-title); font-size: 14px; background: var(--calm); color: #0d0b10; padding: 6px 10px; justify-self: start; }
.handoff .promises { border-width: 2px; background: var(--panel-2); }
.parenthero { align-items: start; }
.founders { background: var(--panel); border: var(--px) solid var(--line); border-left: 8px solid var(--calm); padding: 22px; display: grid; gap: 12px; align-content: start; }
.founders p { font-size: 18px; }
.agenudge { font-size: 16px; text-align: center; color: var(--muted); border: 2px dashed var(--line); padding: 10px 12px; }
.playrow .btn.ghost { margin-top: 2px; }
.scale .ex { font-size: 14px; color: var(--fg); border-top: 2px solid var(--line); padding-top: 6px; margin-top: 4px; }
.quiz .result .ctas { margin-top: 4px; }
.quiz .result .lvlname { font-family: var(--font-title); font-weight: 400; }
.posts { display: grid; gap: 18px; max-width: 760px; }
.postcard { background: var(--panel); border: var(--px) solid var(--line); padding: 22px; display: grid; gap: 10px; }
.postcard h2 { font-size: clamp(22px, 3vw, 28px); }
.postcard h2 a { color: var(--fg); text-decoration: none; }
.postcard h2 a:hover { color: var(--accent); }
.postcard .go { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.prose { display: grid; gap: 14px; max-width: 760px; }
.prose h2 { font-size: clamp(20px, 2.6vw, 26px); margin-top: 18px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.check1 { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 16px; cursor: pointer; }
.check1 input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--accent); }
.waitlist { display: grid; gap: 14px; }
.linkbtn { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.cover-again { position: absolute; right: 8px; top: 8px; background: rgba(0,0,0,.65); color: #e8dcc0; }
.notice b { font-family: var(--font-display); }

@media (max-width: 1060px) {
  .bar { grid-template-columns: auto 1fr auto; }
  .menu { display: inline-flex; align-items: center; justify-self: end; grid-column: 2; }
  .tools { grid-column: 3; }
  nav.main { display: none; grid-column: 1 / -1; grid-row: 2; justify-self: stretch; flex-direction: column; gap: 0; border-top: 2px solid var(--line); padding-top: 4px; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 4px; font-size: 16px; }
  nav.main a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 12px; }
}
@media (max-width: 980px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises li { border-right: 0; border-bottom: 2px solid var(--line); }
  .steps, .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report .full { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero, .report, .plan, .two, .why, .quiz, .doors, .ready, .detail, .money, .ages2, .ctl { grid-template-columns: 1fr; }
  .money .l { border-right: 0; border-bottom: var(--px) solid var(--line); }
  .dothis, .worries { grid-template-columns: 1fr; max-width: 560px; }
  .journey { grid-template-columns: 1fr; }
  .journey li { border-right: 0; border-bottom: 2px solid var(--line); }
  .sumrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report .shots, .plan .left, .quiz .q { border-right: 0; border-bottom: var(--px) solid var(--line); }
  .scale { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gifs, .scares { grid-template-columns: 1fr; max-width: 560px; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules, .cred { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .shelf { grid-template-columns: 1fr; }
  body { font-size: 17px; }
  .scale, .tips, .steps, .rules, .cred, .promises { grid-template-columns: 1fr; }
  .switch { grid-template-columns: 1fr; }
  dl.stats, .facts2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sense dl div { grid-template-columns: 1fr; gap: 4px; }
  .meter { grid-template-columns: 1fr; gap: 4px; }
  .meter em { grid-column: 1; margin-top: 0; }
  .inside li { grid-template-columns: 1fr 96px; }
  .inside li p { grid-column: 1 / -1; }
  .brand b { font-size: 13px; }
  .brand canvas { width: 28px !important; height: 28px !important; }
  .theme #themeText { display: none; }
  .tools .btn.sm { padding: 9px 10px; }
  .bar { gap: 8px; }
  .handoff { padding: 18px; }
  .lede { font-size: 18px; }
  .band { padding: 20px; }
}


/* =====================================================================
   REDESIGN: kid pages are a night-time game menu; grown-up pages are paper
   ===================================================================== */
body { font-size: 18px; }
.muted { color: var(--muted); }
.textlink { font: inherit; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 10px 4px; cursor: pointer; text-decoration: underline; }

/* header */
header.top { border-bottom: 0; }
.bar { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-block: 14px; }
.brand { gap: 10px; }
.brand .mark { width: 32px; height: 32px; color: var(--fg); flex: none; }
.brand b { font-family: var(--font-title); font-size: 18px; letter-spacing: 0; line-height: 1; }
.brand b span { display: inline; font-size: inherit; letter-spacing: 0; color: var(--accent); }
nav.main { flex-grow: 1; justify-content: flex-start; gap: 6px; }
nav.main a { font-family: var(--font-body); font-weight: 700; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--muted); padding: 10px 10px; }
nav.main a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -3px 0 var(--accent); }
.grownups { background: #f3ead6; color: #2a1e14; font-weight: 700; font-size: 16px; text-decoration: none; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; }
.grownups:hover, .grownups[aria-current] { background: #fff8e6; color: #2a1e14; }
:root[data-theme="light"] .grownups { background: #2a1e14; color: #f3ead6; }
.menu { order: 2; }

/* hero with the scare-level doors */
.hero2 { position: relative; overflow: hidden; }
.hero2 .herobg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; image-rendering: pixelated; }
.hero2::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 35%, rgba(11,9,16,0) 0, rgba(11,9,16,.5) 200px, rgba(11,9,16,.97) 460px); }
.heroin { position: relative; z-index: 1; padding-block: 64px 56px; display: grid; gap: 22px; }
.hero2 h1 { font-size: clamp(48px, 8vw, 88px); line-height: 1; text-shadow: 6px 6px 0 var(--shadow); }
.hero2 h1 em, .storeinfo h1 em { font-style: normal; color: var(--accent); }
.hero2.short .heroin { padding-block: 48px 44px; }
.hero2 .lede { font-size: 21px; max-width: 46ch; }
.doors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.door { font: inherit; cursor: pointer; text-align: left; color: var(--fg); background: rgba(22,18,27,.94); border: 3px solid var(--line); padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 190px; --sk-eye: #16121b; }
.door:hover { border-color: var(--muted); }
.door[aria-pressed="true"] { border-color: var(--accent); background: #1e1925; }
.door .skulls svg { width: 16px; height: 16px; }
.dname { font-family: var(--font-title); font-size: 20px; line-height: 1.1; }
.dwhat { font-size: 15px; line-height: 1.4; }
.dmeta { font-size: 14px; color: var(--muted); margin-top: auto; }

/* spotlight */
.spot { background: var(--panel); display: flex; flex-wrap: wrap; --sk-eye: var(--panel); }
.spotmedia { flex: 999 1 520px; min-width: 0; position: relative; background: #000; }
.spotmedia video { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.badge { position: absolute; left: 14px; top: 14px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-title); font-size: 14px; padding: 6px 10px; }
.spotinfo { flex: 1 1 380px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.spotinfo h2 { font-size: clamp(40px, 5vw, 54px); line-height: 1; text-shadow: 4px 4px 0 var(--shadow); }
.facts3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 16px; }
.facts3 b { color: var(--accent); }
.spotinfo .ctas { margin-top: auto; }
.btn.big2 { font-family: var(--font-title); font-weight: 400; font-size: 24px; padding: 12px 30px; }

/* game cards */
.grow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.grow .skulls svg { width: 16px; height: 16px; }
.glevel { font-size: 15px; font-weight: 700; }
.gage { font-size: 15px; font-weight: 700; color: var(--muted); }
.agechip { background: var(--blood); color: #fff8ec; font-weight: 700; font-size: 14px; padding: 2px 8px; }
.agechip.ok { background: var(--calm); color: #0b0910; }
.shelfhead { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.shelf2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.gcard { text-decoration: none; color: var(--fg); background: var(--panel); display: flex; flex-direction: column; transition: opacity .2s, transform .12s; --sk-eye: var(--panel); }
.gcard:hover { transform: translateY(-3px); }
.gcard:hover .gtitle { color: var(--accent); }
.gcard.dim { opacity: .22; }
.gcover { position: relative; display: block; }
.gcover img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; display: block; image-rendering: pixelated; }
.gtime { position: absolute; right: 10px; top: 10px; background: rgba(11,9,16,.85); color: #f1e9d6; font-size: 14px; font-weight: 700; padding: 4px 8px; }
.gbody { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.gbody .gage { margin-left: auto; }
.gtitle { font-family: var(--font-title); font-size: 22px; line-height: 1.1; }
.ghook { font-size: 16px; line-height: 1.45; }
.gtags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.tag { font-size: 13px; font-weight: 700; border: 2px solid var(--sk-off); padding: 2px 8px; color: var(--fg); }

/* challenges */
.chals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.chal { text-decoration: none; color: var(--fg); border: 3px dashed var(--sk-off); padding: 18px; display: grid; gap: 4px; align-content: start; }
.chal:hover { border-color: var(--accent); }
.chal b { font-family: var(--font-title); font-weight: 400; font-size: 44px; line-height: 1; color: var(--accent); text-shadow: 3px 3px 0 var(--shadow); }
.chal span { font-weight: 700; }
.chal small { font-size: 15px; color: var(--muted); }

/* the Monster */
.mband { background: var(--bg); padding: 28px 0; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.monster { display: block; flex: none; image-rendering: pixelated; }
.mtext { display: grid; gap: 10px; flex: 1 1 360px; }
.mtext h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; }
.bubble { justify-self: start; background: #f1e9d6; color: #1a120c; font-weight: 700; padding: 8px 12px; }

/* grown-ups strip */
.gustrip { background: #f3ead6; color: #2a1e14; }
.gustrip .wrap { padding-block: 26px; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.gustrip h2 { font-family: var(--font-body); font-weight: 700; font-size: 18px; text-shadow: none; letter-spacing: 0; }
.gustrip p { flex: 1 1 420px; max-width: none; }
.gustrip a { color: #2a1e14; font-weight: 700; }
main.page:has(+ footer) { }
body:has(.gustrip) main.page { padding-bottom: 0; }

/* game store page */
.store { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.storemedia { flex: 999 1 560px; min-width: 0; display: grid; gap: 8px; }
.storemedia .gallery button:first-child { box-shadow: none; border-width: 0; }
.storeinfo { flex: 1 1 360px; display: grid; gap: 16px; --sk-eye: var(--bg); }
.storeinfo h1 { font-size: clamp(48px, 6vw, 80px); line-height: .98; text-shadow: 6px 6px 0 var(--shadow); }
.storeinfo .grow .skulls svg { width: 22px; height: 22px; }
.hook { font-size: 21px; line-height: 1.4; }
.storeinfo .playrow { justify-items: stretch; text-align: center; }
.storeinfo .btn.big { font-family: var(--font-title); font-weight: 400; font-size: 34px; padding: 16px 24px; box-shadow: 6px 6px 0 var(--shadow); }
.storeinfo .ctas { gap: 12px 16px; }
.agenudge { border: 0; padding: 0; text-align: left; font-size: 16px; }
.tablist { display: flex; gap: 4px; border-bottom: 3px solid var(--line); flex-wrap: wrap; }
.tablist [role=tab] { font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; padding: 14px 20px; min-height: 48px; border: 0; margin-bottom: -3px; color: var(--muted); background: transparent; border-bottom: 3px solid transparent; }
.tablist [role=tab][aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
.tablist .papertab[aria-selected="true"] { background: #f3ead6; color: #2a1e14; }
.tabpanel { padding-top: 30px; }
.aboutgrid { display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-start; }
.aboutgrid .storycol { flex: 1 1 520px; max-width: 66ch; }
.aboutgrid .facts2 { flex: 1 1 320px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts2 div { background: var(--panel); border: 0; padding: 16px; }
.facts2 dt { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; text-transform: none; }
.facts2 dd { font-size: 26px; }
#panel-play .panel { border: 0; background: none; padding: 0; }
#panel-play .keys { grid-template-columns: auto 1fr; gap: 14px 18px; max-width: 760px; }
#panel-play .keys dt { font-size: 15px; min-width: 64px; }
.paperpanel { background: #f3ead6; color: #2a1e14; padding: 28px; margin-top: 0; --panel: #f6efdc; --line: #c9b78f; --muted: #65523a; --fg: #2a1e14; --blood: #a01c1c; }
.paperpanel a { color: #2a1e14; font-weight: 700; }
.paperpanel .btn { background: #2a1e14; color: #f3ead6; box-shadow: 4px 4px 0 #c9b78f; }
.grownin { display: flex; gap: 32px; flex-wrap: wrap; }
.grownin > div:first-child { flex: 1 1 520px; display: grid; gap: 14px; }
.growncta { flex: 1 1 260px; display: grid; gap: 14px; align-content: start; justify-items: start; }
.sense { border: 0; padding: 0; background: none; }
.sense dl div { border-top-width: 1px; }
.warnbox { border: 2px solid var(--blood); padding: 12px 14px; display: grid; gap: 2px; }
.warnbox b { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; color: var(--blood); }
.shelf2.three .gcard .gcover img { aspect-ratio: 4 / 3; object-position: center 20%; }

/* parent guide page */
.pghead { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.pghead .intro { flex: 1 1 520px; }
.pghead .ctas a:not(.btn) { font-weight: 700; color: var(--fg); }
.pgcover { width: 200px; height: auto; flex: none; }

/* bravery test */
.quiz2 { max-width: 760px; display: grid; gap: 24px; --sk-eye: var(--bg); }
.quizhead { display: flex; gap: 18px; align-items: center; }
.quizhead h1 { font-size: clamp(32px, 5vw, 48px); }
.pips { display: flex; gap: 8px; }
.pips i { width: 40px; height: 10px; background: var(--line); }
.pips i.on { background: var(--accent); }
.qstep { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.qstep legend { padding: 0; margin-bottom: 18px; display: grid; gap: 6px; }
.qnum { color: var(--muted); font-weight: 700; font-size: 15px; }
.qtext { font-family: var(--font-title); font-size: clamp(28px, 4.4vw, 40px); line-height: 1.1; }
.answers { display: grid; gap: 12px; }
.quiz2 .ans { font: inherit; font-weight: 700; font-size: 20px; text-align: left; color: var(--fg); background: var(--panel); border: 3px solid var(--line); padding: 16px 18px; display: flex; align-items: center; gap: 18px; cursor: pointer; min-height: 84px; }
.quiz2 .ans:hover, .quiz2 .ans:focus-visible { border-color: var(--accent); }
.ansicon { width: 56px; height: 56px; flex: none; display: block; }
.answers.ages { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.quiz2 .agebtn { justify-content: center; font-family: var(--font-title); font-weight: 400; font-size: 30px; min-height: 96px; }
.reveal { display: grid; gap: 14px; justify-items: center; text-align: center; }
.reveal .revcover img { width: 240px; height: auto; display: block; box-shadow: 6px 6px 0 var(--shadow); image-rendering: pixelated; }
.reveal .skulls svg { width: 20px; height: 20px; }
.reveal p { max-width: 40ch; }

/* paper pages: calmer, flatter */
:root[data-theme="light"] body { background: var(--bg); }
:root[data-theme="light"] h1 { text-shadow: none; }
:root[data-theme="light"] .btn { box-shadow: 3px 3px 0 var(--shadow); }
:root[data-theme="light"] .worry, :root[data-theme="light"] .scale li, :root[data-theme="light"] .faq details, :root[data-theme="light"] .postcard, :root[data-theme="light"] .agecard { border-width: 1px; }
.founders { border-width: 1px; border-left-width: 6px; }
.promises { border-width: 1px; }
.journey { border-width: 1px; }
.logo { text-shadow: 4px 4px 0 var(--shadow); }
:root[data-theme="light"] .logo { text-shadow: none; }

@media (max-width: 1060px) {
  .bar { display: flex; }
  .menu { display: inline-flex; margin-left: auto; }
  nav.main { order: 3; flex-basis: 100%; }
  .grownups { order: 1; margin-left: auto; }
  .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shelf2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .brand b { font-size: 15px; }
  .brand .mark { width: 26px; height: 26px; }
  .grownups { padding: 0 12px; font-size: 15px; }
  .doors { display: flex; overflow-x: auto; margin-right: -16px; padding-right: 16px; scroll-snap-type: x mandatory; }
  .door { flex: none; width: 160px; min-height: 176px; scroll-snap-align: start; }
  .heroin { padding-block: 40px 32px; }
  .hero2 .lede { font-size: 18px; }
  .shelf2 { grid-template-columns: 1fr; gap: 14px; }
  .gcard { flex-direction: row; padding: 10px; gap: 14px; }
  .gcover { flex: none; width: 112px; }
  .gcover img { aspect-ratio: 3 / 4; }
  .gtime { display: none; }
  .gbody { padding: 0; gap: 6px; }
  .gtitle { font-size: 18px; }
  .ghook { font-size: 15px; }
  .gbody .gage { margin-left: 0; }
  .spotinfo { padding: 20px; }
  .spotmedia video { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .mband { padding: 22px; }
  .mband .monster { width: 72px !important; height: 72px !important; }
  .storeinfo .btn.big { font-size: 28px; }
  .tablist [role=tab] { padding: 12px 12px; font-size: 16px; }
  .paperpanel { padding: 20px; }
  .pgcover { display: none; }
  .quiz2 .ans { font-size: 18px; min-height: 76px; }
}
.stack > * { min-width: 0; }
.gallery img { max-width: 100%; height: auto; }
@media (max-width: 600px) {
  .bar { flex-wrap: wrap; gap: 8px; }
  .brand b { font-size: 14px; line-height: 1.05; }
  .brand b span { display: block; }
  .menu { padding: 0 12px; }
}
.storeinfo h1 { font-size: clamp(32px, 8.5vw, 80px); overflow-wrap: anywhere; }
.storeinfo { min-width: 0; }
.facts2 div { min-width: 0; }
.facts2 dd { overflow-wrap: anywhere; }
@media (max-width: 600px) { .facts2 dd { font-size: 20px; } }

.spotinfo .badge { position: static; justify-self: start; align-self: flex-start; }
.gcover img { aspect-ratio: 3 / 4; object-position: center; }
.gtitle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shelf2.three .gtitle, .shelf2.three .gcover img { }
@media (max-width: 600px) { .gtitle { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; } }
.shelf2.three .gcard .gcover img { aspect-ratio: 3 / 4; object-position: center; }

/* the grown-up zone on the home page: same paper look as the parent pages */
.paperzone {
  --bg: #e9dfc6; --panel: #f6efdc; --panel-2: #efe4c8; --line: #c9b78f; --fg: #2a1e14; --muted: #65523a;
  --accent: #8a5a10; --accent-ink: #fff8e6; --gold: #9a6a10; --blood: #a01c1c; --calm: #3f7a2a; --shadow: #d8c49a; --sk-off: #c9b78f; --sk-eye: #f6efdc;
  background: var(--bg); color: var(--fg); padding-block: 64px; margin-top: 56px;
}
.paperzone a { color: var(--accent); }
.paperzone .btn { box-shadow: 3px 3px 0 var(--shadow); }
.paperzone h2 { text-shadow: none; }
.paperzone .worry, .paperzone .scale li, .paperzone .faq details { border-width: 1px; }
.zonehead { max-width: 760px; }
.zoneh { font-size: clamp(30px, 4.4vw, 46px); }
.shelfempty { font-size: 18px; color: var(--muted); }
.shortans { font-size: 19px; background: var(--panel); border-left: 6px solid var(--calm); padding: 14px 16px; max-width: 70ch; }
.pglinks { display: grid; gap: 10px; }
.pglinks a { font-weight: 700; }
.pgcards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.pgcards a { display: grid; gap: 6px; text-decoration: none; color: var(--fg); }
.pgcards img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; image-rendering: pixelated; }
.pgcards b { font-size: 16px; }
.pgcards span { font-size: 14px; color: var(--muted); }
.pgcards a:hover b { color: var(--accent); text-decoration: underline; }
@media (max-width: 900px) { .pgcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .paperzone { padding-block: 44px; margin-top: 40px; } .pgcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.paperzone a.btn, :root[data-theme="light"] a.btn { color: var(--accent-ink); }
.kicker { font-family: var(--font-title); font-size: clamp(18px, 2.4vw, 24px); color: var(--accent); }
.hero2 h1 { font-size: clamp(42px, 7vw, 80px); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: 16px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 10px; height: 10px; background: var(--calm); flex: none; }
.doorshead { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin-top: 8px; }
.doorsh { font-size: clamp(22px, 2.6vw, 28px); text-shadow: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.how { padding-top: 8px; }
.howsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.howsteps li { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); padding: 18px; }
.howsteps b { font-family: var(--font-title); font-weight: 400; font-size: 34px; line-height: 1; color: var(--accent); flex: none; }
.howsteps span { display: grid; gap: 4px; font-size: 16px; }
.howsteps strong { font-size: 18px; }
.shelfsub { margin-top: -8px; }
@media (max-width: 900px) { .howsteps { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .trust { font-size: 15px; gap: 6px 16px; } .grownups { font-size: 14px; } }
.kicker.sm { font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--muted); margin-bottom: -8px; }
nav.main { gap: 2px; }
nav.main a { font-size: 16px; padding: 10px 9px; }
.tailzone { margin-top: 56px; }
@media (max-width: 1180px) and (min-width: 1061px) { .brand b { font-size: 16px; } nav.main a { padding: 10px 6px; font-size: 15px; } }
.near { position: absolute; left: 10px; top: 10px; background: #f3ead6; color: #2a1e14; font-size: 13px; font-weight: 700; padding: 4px 8px; }
.near[hidden] { display: none; }
/* covers are shown smaller than their real size: shrink them smoothly so no pixel row gets dropped (keeps eyes and outlines even) */
.gcover img.px, .reveal .revcover img.px, img.px.pgcover, .pgcards img.px { image-rendering: auto; }
