@font-face {
  font-family: "Fenyora Pixel";
  src: url("fenyora-pixel.woff2") format("woff2");
  font-display: swap;
}

:root {
  --sky: #cfe9f5;
  --sky-deep: #6db6dd;
  --day: #eef6f9;
  --paper: #fbfaf5;
  --sand: #efe3c8;
  --meadow: #8cc152;
  --meadow-deep: #5f9a34;
  --leaf: #3f7a2a;
  --cliff: #cf7a4a;
  --cliff-deep: #a75a30;
  --bark: #5c3d2a;
  --snow: #f7f8f4;
  --night: #1d2a4a;
  --night-deep: #131c33;
  --ink: #2a2622;
  --ink-soft: #5d5650;
  --line: rgba(42, 38, 34, 0.14);
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 62ch;
  --display: "Fenyora Pixel", ui-monospace, monospace;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  /* The pixel face is eight game pixels tall, so it stays crisp at multiples of 8 px. */
  --px-1: 16px;
  --px-2: 24px;
  --px-3: 32px;
  --px-4: 40px;
  --px-6: 48px;
  --px-8: 64px;
  --steps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 28' preserveAspectRatio='none'%3E%3Cpath d='M0 0h24v10h16v-6h20v14h18v-8h26v4h20v-12h22v16h18v-6h24v10h20v-14h32v28H0z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--day);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1rem;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0 0 0.5em;
  color: var(--bark);
  text-wrap: balance;
  -webkit-font-smoothing: none;
  font-smooth: never;
}

h1 { font-size: var(--px-6); }
h2 { font-size: var(--px-3); }
h3 { font-size: var(--px-2); }
h4 { font-size: var(--px-1); }
@media (min-width: 900px) {
  h1 { font-size: var(--px-8); }
  h2 { font-size: var(--px-4); }
}
p { margin: 0 0 1em; }
a { color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { color: var(--cliff-deep); }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--cliff); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons are little blocks: flat top, a darker underside you can see. */
.button {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.62em 1.25em 0.68em;
  background: var(--meadow);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 4px 0 var(--meadow-deep);
  cursor: pointer;
  line-height: 1;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.button:hover { color: #fff; }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--meadow-deep); }
.button.sky { background: var(--sky-deep); box-shadow: 0 4px 0 #3f8fb8; }
.button.sky:active { box-shadow: 0 1px 0 #3f8fb8; }
.button.sand { background: var(--sand); color: var(--bark); box-shadow: 0 4px 0 #cdb98c; }
.button.sand:hover { color: var(--bark); }
.button.sand:active { box-shadow: 0 1px 0 #cdb98c; }
.button.small { font-size: 0.98rem; padding: 0.5em 1em 0.56em; box-shadow: 0 3px 0 var(--meadow-deep); }

/* Media frames look like a chunky piece: a pale rim with a shadowed inner edge. */
.frame {
  background: var(--night-deep);
  border: 6px solid var(--snow);
  border-radius: 8px;
  box-shadow: 0 6px 0 rgba(42, 38, 34, 0.14), inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gutter);
  background: rgba(238, 246, 249, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display); font-weight: 400; font-size: var(--px-2); color: var(--bark);
  text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; gap: 10px;
}
.brand::before { content: ""; width: 18px; height: 18px; border-radius: 4px; background: linear-gradient(180deg, var(--sky-deep) 0 45%, var(--meadow) 45% 100%); box-shadow: 0 2px 0 var(--meadow-deep); }
.menu { display: flex; gap: 22px; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 4px 0; }
.menu a[aria-current="page"] { color: var(--leaf); box-shadow: 0 3px 0 var(--meadow); }
.menu-toggle { display: none; }
.drawer { display: none; }

@media (max-width: 860px) {
  .menu, .follow { display: none; }
  .menu-toggle {
    display: inline-block; font: inherit; font-weight: 700; background: var(--paper); border: 1px solid var(--line);
    border-radius: 6px; padding: 6px 12px; color: var(--ink); cursor: pointer;
  }
  .drawer {
    position: sticky; top: 56px; z-index: 19; display: flex; flex-direction: column;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .drawer[hidden] { display: none; }
  .drawer a { padding: 14px var(--gutter); color: var(--ink); text-decoration: none; font-weight: 700; border-top: 1px solid var(--line); }
}

/* Hero */
.hero {
  position: relative; background: var(--night-deep); color: #fff;
  min-height: min(90vh, 920px); display: grid; align-items: end; overflow: hidden;
}
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19, 28, 51, 0.2) 0%, rgba(19, 28, 51, 0.05) 30%, rgba(19, 28, 51, 0.55) 62%, rgba(19, 28, 51, 0.85) 100%);
}
.hero-inner {
  position: relative; z-index: 1; padding: 26vh var(--gutter) 64px; max-width: 1200px; width: 100%;
  display: grid; gap: 16px;
}
.hero h1 { color: #fff; max-width: 13ch; margin: 0; text-shadow: 0 2px 18px rgba(19, 28, 51, 0.55), 0 1px 2px rgba(19, 28, 51, 0.5); }
.hero .lede { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 44ch; margin: 0; color: #eef4f8; text-shadow: 0 1px 12px rgba(19, 28, 51, 0.6), 0 1px 2px rgba(19, 28, 51, 0.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.hero-alpha {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #fff; font-size: 0.95rem;
  background: var(--cliff); padding: 5px 12px 6px; border-radius: 6px; box-shadow: 0 3px 0 var(--cliff-deep);
  width: max-content;
}
.hero-sound {
  position: absolute; right: var(--gutter); bottom: 64px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--snow); color: var(--bark);
  border: 0; border-radius: 6px; box-shadow: 0 4px 0 rgba(42, 38, 34, 0.35);
  cursor: pointer; font: inherit; font-weight: 600; font-size: 1.05rem; font-family: var(--display);
  padding: 11px 16px 12px;
}
.hero-sound:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(42, 38, 34, 0.35); }
.hero-sound svg { width: 22px; height: 22px; }
.hero-sound .when-off, .hero-sound[aria-pressed="true"] .when-on { display: none; }
.hero-sound[aria-pressed="true"] .when-off { display: inline; }
.hero > .steps { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; color: var(--day); }
@media (max-width: 640px) {
  .hero-sound { position: static; margin-top: 4px; width: max-content; }
  .hero-inner { padding-bottom: 48px; }
}

/* A stepped block skyline between sections, drawn in the colour of the section it belongs to. */
.steps { display: block; height: 28px; width: 100%; background-color: currentColor; -webkit-mask: var(--steps) 0 0 / 240px 28px repeat-x; mask: var(--steps) 0 0 / 240px 28px repeat-x; }
.section { position: relative; padding: clamp(48px, 8vw, 104px) var(--gutter); }
.section.tight { padding-block: clamp(28px, 4vw, 56px); }
.section.paper { background: var(--paper); }
.section.sand { background: var(--sand); }
.section.meadow { background: #dcedc4; }
.section.night { background: var(--night); color: #e6ecf5; }
.section.night h2, .section.night h3 { color: #fff; }
.section.night a { color: var(--sky); }
.section > .steps { position: absolute; left: 0; right: 0; top: -1px; transform: scaleY(-1); }
.section.paper > .steps { color: var(--paper); }
.section.sand > .steps { color: var(--sand); }
.section.meadow > .steps { color: #dcedc4; }
.section.night > .steps { color: var(--night); }
.section > .steps.day { color: var(--day); }
.inner { max-width: 1200px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: var(--measure); }
.night .lede { color: #c5d0e2; }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); }
.night .section-head p { color: #c5d0e2; }

.alpha-strip .inner { display: flex; flex-wrap: wrap; gap: 6px 32px; align-items: baseline; }
.alpha-strip strong { color: var(--cliff-deep); font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.alpha-strip p { margin: 0; color: var(--ink-soft); max-width: 70ch; }

/* Panorama: a wide clip with text laid over the quiet part of it. */
.panorama { position: relative; color: #fff; min-height: 600px; display: grid; align-items: end; overflow: hidden; background: var(--night-deep); }
.panorama img, .panorama video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panorama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 28, 51, 0) 30%, rgba(19, 28, 51, 0.82) 100%); }
.panorama .inner { position: relative; z-index: 1; padding: 140px var(--gutter) 64px; }
.panorama h2 { color: #fff; }
.panorama p { max-width: 58ch; text-shadow: 0 1px 8px rgba(19, 28, 51, 0.6); font-size: 1.15rem; }
.panorama a { color: #fff; }
.panorama > .steps { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; color: var(--day); }

/* Flows: media and text side by side */
.flow { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(48px, 7vw, 96px); }
.flow:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .flow { grid-template-columns: 7fr 5fr; }
  .flow.reverse .flow-media { order: 2; }
}
.flow-media { aspect-ratio: 16 / 10; }
.flow-media.wide { aspect-ratio: 1280 / 670; align-self: center; }
.flow-text h2 { margin-bottom: 0.4em; }
.flow-text p { max-width: 52ch; }
.flow-text ul { padding-left: 1.2em; margin: 0 0 1em; }
.flow-text li { margin-bottom: 0.35em; }
.flow-more { font-weight: 800; }

/* Character carousel */
.carousel { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.carousel-track { display: flex; height: 100%; transition: transform 420ms cubic-bezier(.2, .7, .2, 1); }
.carousel-slide { flex: 0 0 100%; margin: 0; position: relative; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide figcaption {
  position: absolute; left: 14px; bottom: 14px; font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  color: var(--bark); background: var(--snow); padding: 6px 12px 7px; border-radius: 6px; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 8px; cursor: pointer; background: var(--snow); color: var(--bark);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4); transition: background 120ms ease, color 120ms ease;
}
.carousel-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.carousel-arrow:hover { background: var(--meadow); color: #fff; }
.carousel-arrow:active { transform: translateY(calc(-50% + 3px)); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-dots { position: absolute; right: 14px; bottom: 16px; display: flex; gap: 6px; }
.carousel-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 3px; background: rgba(247, 248, 244, 0.55); cursor: pointer; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }
.carousel-dots button[aria-selected="true"] { background: var(--meadow); }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

/* Creature line-up */
.lineup { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
@media (min-width: 900px) { .lineup { grid-template-columns: repeat(8, 1fr); } }
.lineup li { text-align: center; }
.lineup .frame { aspect-ratio: 1; border-radius: 12px; border-width: 5px; }
.lineup .frame img { object-position: center 40%; }
.lineup b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin-top: 10px; color: var(--bark); }
.lineup span { font-size: 0.95rem; color: var(--ink-soft); }
.lineup .hostile span { color: var(--cliff-deep); }

/* Posts */
.post-card { display: grid; background: var(--paper); text-decoration: none; color: var(--ink); overflow: hidden; border-radius: 8px; border: 6px solid var(--snow); box-shadow: 0 6px 0 rgba(42, 38, 34, 0.14); }
.post-card.large { grid-template-columns: 1fr; }
@media (min-width: 900px) { .post-card.large { grid-template-columns: 3fr 2fr; } }
.post-cover { display: block; background: var(--sky); aspect-ratio: 16 / 9; overflow: hidden; }
.post-card.large .post-cover { aspect-ratio: auto; min-height: 320px; }
.post-cover img, .post-cover video { width: 100%; height: 100%; object-fit: cover; }
.post-body { display: grid; align-content: center; gap: 8px; padding: 22px 24px 26px; }
.post-body time { color: var(--ink-soft); font-size: 0.95rem; font-weight: 700; }
.post-title { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.12; color: var(--bark); }
.post-card.large .post-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.post-summary { color: var(--ink-soft); }
.post-more { color: var(--leaf); font-weight: 800; text-decoration: underline; text-underline-offset: 0.18em; }
.post-card:hover .post-title { color: var(--cliff-deep); }
.post-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.post { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.post-head time { color: var(--ink-soft); font-weight: 700; }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.post-hero { border-radius: 8px; margin: 24px 0 32px; border: 6px solid var(--snow); box-shadow: 0 6px 0 rgba(42, 38, 34, 0.14); }
.post .clip { margin: 24px 0 32px; }
.post-back { margin-top: 40px; }

.prose h2, .prose h3 { margin-top: 1.6em; }
.prose img, .prose video { border-radius: 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.35em; }
.prose blockquote { margin: 1.4em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 4px solid var(--meadow); color: var(--ink-soft); }
.prose pre { background: var(--night-deep); color: #e6eef5; padding: 16px 18px; border-radius: 6px; overflow-x: auto; font-size: 0.95rem; }
.prose code { font-size: 0.92em; }

.clip { margin: 0; }
.clip video { border-radius: 8px; width: 100%; border: 6px solid var(--snow); box-shadow: 0 6px 0 rgba(42, 38, 34, 0.14); }
.clip figcaption { font-size: 0.95rem; color: var(--ink-soft); margin-top: 8px; }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gallery-filters button {
  font: inherit; font-weight: 800; background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 14px 7px; cursor: pointer; box-shadow: 0 3px 0 rgba(42, 38, 34, 0.1);
}
.gallery-filters button[aria-pressed="true"] { background: var(--bark); color: #fff; border-color: var(--bark); box-shadow: 0 3px 0 #3a251a; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.shot[hidden] { display: none; }
.shot p { margin: 10px 2px 0; font-size: 0.98rem; color: var(--ink-soft); }
.shot-open, .shot-link { display: block; width: 100%; padding: 0; cursor: zoom-in; aspect-ratio: 16 / 10; }
.shot-open { background: var(--night-deep); border: 6px solid var(--snow); border-radius: 8px; box-shadow: 0 6px 0 rgba(42, 38, 34, 0.14), inset 0 0 0 1px rgba(0, 0, 0, 0.18); overflow: hidden; }
.shot-open img, .shot-open video { width: 100%; height: 100%; object-fit: cover; }
.shot-link { cursor: pointer; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(19, 28, 51, 0.94); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox-stage { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; gap: 8px; padding: 64px 12px 12px; min-height: 0; }
.lightbox-figure { margin: 0; min-width: 0; display: grid; justify-items: center; align-content: center; gap: 12px; }
.lightbox-media { width: 100%; display: grid; justify-items: center; cursor: pointer; }
.lightbox-media img, .lightbox-media video { max-width: 100%; max-height: calc(100vh - 260px); width: auto; height: auto; object-fit: contain; border-radius: 8px; border: 6px solid var(--snow); background: #000; box-shadow: 0 8px 0 rgba(0, 0, 0, 0.45); }
.lightbox-figure figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 16px; text-align: center; max-width: 70ch; }
.lightbox-caption { font-size: 1.1rem; }
.lightbox-count { font-family: var(--display); font-weight: 600; color: var(--sky); font-size: 0.95rem; background: rgba(255, 255, 255, 0.1); padding: 2px 10px 3px; border-radius: 999px; }
.lightbox-arrow, .lightbox-close {
  display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--snow); color: var(--bark); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.5), inset 0 -2px 0 rgba(42, 38, 34, 0.12);
  transition: background 120ms ease, color 120ms ease, transform 80ms ease, box-shadow 80ms ease;
}
.lightbox-arrow svg, .lightbox-close svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-arrow:hover, .lightbox-close:hover { background: var(--meadow); color: #fff; }
.lightbox-arrow:active, .lightbox-close:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); }
.lightbox-arrow.prev { justify-self: end; }
.lightbox-arrow.next { justify-self: start; }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; }
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-strip { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 16px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.lightbox-thumb { flex: 0 0 auto; width: 96px; height: 60px; padding: 0; border: 3px solid transparent; border-radius: 6px; background: #000; cursor: pointer; overflow: hidden; opacity: 0.55; scroll-snap-align: center; position: relative; transition: opacity 120ms ease, border-color 120ms ease; }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-thumb:hover { opacity: 0.9; }
.lightbox-thumb.current { opacity: 1; border-color: var(--meadow); }
.lightbox-thumb.is-clip::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-40%, -50%); border-left: 12px solid rgba(255, 255, 255, 0.9); border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6)); }
@media (max-width: 760px) {
  .lightbox-stage { grid-template-columns: 1fr; padding: 56px 8px 8px; }
  .lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; }
  .lightbox-arrow.prev { left: 6px; }
  .lightbox-arrow.next { right: 6px; }
  .lightbox-arrow:active { transform: translateY(calc(-50% + 4px)); }
  .lightbox-media img, .lightbox-media video { max-height: calc(100vh - 220px); }
  .lightbox-thumb { width: 72px; height: 45px; }
}
.reel-frame { margin: 0; }
.reel-frame video { width: 100%; background: #000; border-radius: 8px; border: 6px solid var(--snow); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3); }

/* Bestiary */
.bestiary { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.creature { background: var(--paper); overflow: hidden; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 4px 0 rgba(42, 38, 34, 0.08); }
.creature[hidden] { display: none; }
.creature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.creature-body { padding: 14px 16px 18px; }
.creature-body h3 { margin-bottom: 2px; }
.creature-body p { font-size: 0.98rem; margin-bottom: 0.5em; color: var(--ink-soft); }
.creature-tags { color: var(--leaf); font-weight: 800; }
.creature[data-kind="hostile"] .creature-tags { color: var(--cliff-deep); }
.creature-play { color: var(--ink); }

/* Feature page */
.feature-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 16px 0 0; }
.feature-nav a { font-weight: 800; text-decoration: none; color: var(--ink); border-bottom: 3px solid var(--sky-deep); }
.feature { padding-top: 24px; }
.feature-media { aspect-ratio: 21 / 9; margin: 0 0 22px; }
.feature-media video, .feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { scroll-margin-top: 90px; }
.two-col { display: grid; gap: 24px 48px; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h3 { margin-top: 0.4em; }
.two-col ul { padding-left: 1.2em; margin-top: 0; }
.now-next { display: grid; gap: 20px; margin-top: 12px; }
@media (min-width: 800px) { .now-next { grid-template-columns: 1fr 1fr; } }
.now-next > div { background: var(--paper); padding: 18px 22px 8px; border-radius: 8px; border: 1px solid var(--line); border-top: 5px solid var(--meadow); }
.now-next > .next { border-top-color: var(--sky-deep); }
.now-next h4 { margin: 0 0 8px; color: var(--leaf); }
.now-next .next h4 { color: #3f8fb8; }
.now-next ul { padding-left: 1.1em; }
.now-next li { margin-bottom: 0.35em; }

/* Mission page */
.preview-banner { background: var(--cliff); color: #fff; padding: 12px var(--gutter); text-align: center; font-weight: 800; box-shadow: inset 0 -4px 0 var(--cliff-deep); }
.preview-banner a { color: #fff; }
.mission-hero { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .mission-hero { grid-template-columns: 3fr 2fr; } }
.mission-video { margin: 0; }
.mission-video video { width: 100%; background: #000; }
.support-box { background: var(--paper); padding: 24px 26px 28px; border-radius: 8px; border: 6px solid var(--snow); box-shadow: 0 6px 0 rgba(42, 38, 34, 0.14); }
.support-box .big { font-family: var(--display); font-size: 2.2rem; font-weight: 700; line-height: 1; margin: 0 0 6px; color: var(--bark); }
.support-box .muted { color: var(--ink-soft); margin-bottom: 18px; }
.support-box .button { width: 100%; text-align: center; margin-bottom: 12px; }
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.tier { background: var(--paper); padding: 22px 24px 26px; border-radius: 8px; border: 1px solid var(--line); border-top: 5px solid var(--meadow); }
.tier h3 { margin-bottom: 4px; }
.tier .price { font-family: var(--display); font-weight: 600; font-size: 1.4rem; margin: 0 0 10px; color: var(--ink-soft); }
.tier ul { padding-left: 1.1em; margin: 0; }
.tier li { margin-bottom: 0.35em; }
.pillars { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); list-style: none; padding: 0; margin: 0; }
.pillars li { background: rgba(255, 255, 255, 0.07); padding: 20px 22px 22px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12); }
.pillars h3 { font-size: 1.25rem; margin-bottom: 6px; }
.pillars p { margin: 0; font-size: 1rem; color: #c5d0e2; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline .dot { width: 22px; height: 22px; border-radius: 5px; background: var(--sky); margin-top: 4px; box-shadow: 0 3px 0 rgba(42, 38, 34, 0.18); }
.timeline li.done .dot { background: var(--meadow); box-shadow: 0 3px 0 var(--meadow-deep); }
.timeline li.now .dot { background: var(--cliff); box-shadow: 0 3px 0 var(--cliff-deep); }
.timeline b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--bark); }
.timeline p { margin: 2px 0 0; color: var(--ink-soft); }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-weight: 600; font-size: 1.2rem; cursor: pointer; color: var(--bark); }
.faq details p { margin: 10px 0 0; max-width: var(--measure); }

/* Contact */
.contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-grid .block { background: var(--paper); padding: 22px 24px 26px; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 4px 0 rgba(42, 38, 34, 0.08); }
.contact-grid h3 { margin-bottom: 6px; }
.contact-grid p { margin-bottom: 12px; color: var(--ink-soft); }

/* Footer: night sky */
.foot { position: relative; background: var(--night-deep); color: #c5d0e2; padding: 76px var(--gutter) 28px; overflow: hidden; }
.foot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: radial-gradient(1.5px 1.5px at 12% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 62%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 41% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 57% 44%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 83% 58%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 93% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 70%, #fff 50%, transparent 51%);
}
.foot > .steps { position: absolute; left: 0; right: 0; top: -1px; color: var(--night-deep); transform: scaleY(-1); }
.foot-inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; gap: 24px; }
@media (min-width: 760px) { .foot-inner { grid-template-columns: 2fr 1fr; } }
.foot-brand { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: 4px; }
.foot-alpha { color: #f2b58c; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a { color: #fff; }
.foot-small { position: relative; max-width: 1200px; margin: 32px auto 0; font-size: 0.9rem; color: #8d9bb5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .hero-sound { transition: none; }
}

/* Steam prep mock: the store's dark layout, so the copy can be judged in place. */
.steam-mock { background: #1b2838; color: #c6d4df; }
.steam-store { max-width: 1100px; margin: 0 auto; font-family: "Nunito", system-ui, sans-serif; }
.steam-crumbs { font-size: 0.85rem; color: #8f98a0; margin-bottom: 6px; }
.steam-title { color: #fff; font-family: var(--body); font-weight: 400; font-size: 1.7rem; margin: 0 0 12px; }
.steam-hero { display: grid; gap: 14px; }
@media (min-width: 900px) { .steam-hero { grid-template-columns: 1fr 324px; } }
.steam-media video { width: 100%; background: #000; }
.steam-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 6px; }
.steam-thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .8; }
.steam-side img { width: 100%; }
.steam-short { font-size: 0.9rem; line-height: 1.45; margin: 10px 0; }
.steam-facts { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 0.85rem; margin: 0 0 10px; }
.steam-facts dt { color: #556772; text-transform: uppercase; font-size: 0.75rem; letter-spacing: .04em; }
.steam-facts dd { margin: 0; color: #67c1f5; }
.steam-tags span { display: inline-block; background: #3d4450; color: #67c1f5; font-size: 0.75rem; padding: 1px 6px 2px; border-radius: 2px; margin: 0 3px 4px 0; }
.steam-buy { margin: 16px 0 22px; padding: 14px 16px; background: linear-gradient(90deg, #2a475e, #1b2838); border-radius: 4px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.steam-buy b { color: #fff; font-size: 1.15rem; font-weight: 400; }
.steam-buy p { margin: 2px 0 0; font-size: 0.85rem; color: #8f98a0; }
.steam-button { background: linear-gradient(90deg, #75b022, #588a1b); color: #d2efa9; padding: 6px 16px 7px; border-radius: 2px; font-size: 0.95rem; }
.steam-body { display: grid; gap: 16px; }
@media (min-width: 900px) { .steam-body { grid-template-columns: 1fr 324px; } }
.steam-block { background: rgba(0, 0, 0, 0.2); padding: 14px 18px 16px; border-radius: 4px; margin-bottom: 16px; }
.steam-block h3 { color: #fff; font-family: var(--body); font-weight: 400; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid #000; padding-bottom: 6px; margin-bottom: 12px; }
.steam-block h4 { color: #67c1f5; font-family: var(--body); font-weight: 700; font-size: 1rem; margin: 14px 0 4px; }
.steam-block p, .steam-block li { font-size: 0.92rem; line-height: 1.5; }
.steam-block ul { padding-left: 1.2em; }
.steam-ea { background: linear-gradient(90deg, rgba(26, 60, 90, .8), rgba(0, 0, 0, .2)); }
.steam-ea details { border-top: 1px solid rgba(255, 255, 255, .06); padding: 8px 0; }
.steam-ea summary { color: #fff; cursor: pointer; font-size: 0.95rem; }
.steam-ea details p { margin: 8px 0 0; }
.steam-fields { font-size: 0.88rem; }
.steam-fields dt { color: #556772; text-transform: uppercase; font-size: 0.72rem; letter-spacing: .04em; margin-top: 10px; }
.steam-fields dd { margin: 2px 0 0; color: #c6d4df; }
.steam-art { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steam-art img { width: 100%; display: block; }
.steam-art span { display: block; font-size: 0.8rem; color: #8f98a0; margin-top: 3px; }
.steam-note { color: #8f98a0; font-size: 0.85rem; }
.steam-copy { white-space: pre-wrap; background: var(--night-deep); color: #e6eef5; padding: 18px 20px; border-radius: 8px; font-size: 0.92rem; line-height: 1.5; max-height: 70vh; overflow: auto; }

.steam-about .steam-lead { font-size: 1rem; color: #dfe7ee; }
.steam-about em { color: #ffd27f; font-style: normal; }
.steam-banner { margin: 22px 0 8px; width: 100%; max-width: 616px; aspect-ratio: 616 / 347; background: #000; }
.steam-banner img, .steam-banner video { width: 100%; height: 100%; object-fit: cover; display: block; }
.steam-about h4 { font-size: 1.15rem; margin-top: 8px; }
.steam-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px 18px; }
@media (min-width: 700px) { .steam-features { grid-template-columns: 1fr 1fr; } }
.steam-features li { padding-left: 14px; border-left: 3px solid #67c1f5; }
.steam-features b { color: #fff; font-weight: 700; }

.steam-videos .steam-video-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .steam-videos .steam-video-grid { grid-template-columns: 1fr 1fr 1fr; } }
.steam-videos figure { margin: 0; }
.steam-videos video { width: 100%; background: #000; }
.steam-videos figcaption { font-size: 0.82rem; color: #8f98a0; margin-top: 6px; }
.steam-videos figcaption b { color: #fff; font-weight: 700; }
.steam-videos code { font-size: 0.78rem; color: #67c1f5; }
.steam-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.steam-social a { background: #2a475e; color: #fff; text-decoration: none; padding: 7px 14px 8px; border-radius: 3px; font-size: 0.9rem; font-weight: 700; }
.steam-social a:hover { background: #67c1f5; color: #1b2838; }
.steam-about h4 { font-size: 1.3rem; color: #fff; margin-top: 26px; }

.steam-checklist { max-width: 760px; padding-left: 1.2em; }
.steam-checklist li { margin-bottom: 6px; }

/* Pixel type: every use of the game font sits on an 8 px step so each game pixel lands on whole screen pixels. */
.brand, .menu a, .drawer a, .button, .hero-alpha, .hero-sound, .alpha-strip strong, .post-title, .lineup b,
.carousel-slide figcaption, .timeline b, .faq summary, .tier .price, .lightbox-count, .gallery-filters button,
.feature-nav a, .foot-brand, .flow-more, .post-more, .creature-tags, .now-next h4, .post-body time {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: none;
}
.menu a, .drawer a, .button, .button.small, .hero-alpha, .hero-sound, .alpha-strip strong, .lineup b,
.carousel-slide figcaption, .timeline b, .faq summary, .lightbox-count, .gallery-filters button,
.feature-nav a, .flow-more, .post-more, .creature-tags, .now-next h4, .post-body time { font-size: var(--px-1); }
.brand, .post-title, .tier .price, .foot-brand { font-size: var(--px-2); }
.post-card.large .post-title { font-size: var(--px-3); }
.button { padding: 12px 18px 12px; line-height: 1; }
.button.small { padding: 10px 14px 10px; }
.menu a { padding: 6px 0; }
.lineup span { font-size: 0.9rem; }

/* Phones: the hero video keeps its own shape above the words instead of being cropped behind them. */
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; }
  .hero video { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .hero::after { display: none; }
  .hero-inner { padding: 20px var(--gutter) 60px; gap: 12px; }
  .hero h1 { font-size: var(--px-3); max-width: none; text-shadow: none; }
  .hero .lede { font-size: 1.05rem; text-shadow: none; }
  .hero-sound { position: absolute; top: 10px; right: 10px; bottom: auto; margin: 0; padding: 8px 10px; gap: 6px; width: auto; }
  .hero-sound svg { width: 20px; height: 20px; }
  .hero-actions .button { flex: 1 1 auto; text-align: center; }
  .panorama { display: block; min-height: 0; }
  .panorama video, .panorama img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; }
  .panorama::after { display: none; }
  .panorama .inner { padding: 24px var(--gutter) 60px; }
  .panorama p { text-shadow: none; font-size: 1.02rem; }
  .lineup { grid-template-columns: repeat(2, 1fr); }
  .flow-text p { max-width: none; }
  .section { padding-block: 44px; }
  .section:has(> .steps) { padding-top: 64px; }
  .gallery { grid-template-columns: 1fr; }
  .post-card.large .post-cover { min-height: 0; aspect-ratio: 16 / 9; }
  .contact-grid { grid-template-columns: 1fr; }
}
