:root {
  --night: #080b10;
  --night-soft: #101722;
  --panel: rgba(12, 17, 25, 0.86);
  --panel-strong: rgba(8, 11, 16, 0.94);
  --paper: #e8d2a1;
  --paper-soft: #f4e6c3;
  --ink: #f9edcf;
  --ink-muted: #c9b995;
  --coal: #17130f;
  --gold: #d6a73a;
  --gold-soft: #ffe29a;
  --ember: #be4830;
  --cyan: #4fb6c5;
  --forest: #2f6c4f;
  --violet: #7060b8;
  --line: rgba(255, 226, 154, 0.22);
  --line-strong: rgba(255, 226, 154, 0.48);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(rgba(255, 226, 154, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 226, 154, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #07090d 0%, #101722 42%, #241a10 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

figure {
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: 5rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

p {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  min-height: 70px;
  padding: var(--safe-top) 24px 0;
  transform: none;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: calc(8px + var(--safe-top)) 0 8px;
  z-index: -1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(8, 11, 16, 0.78);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
}

.brand__sigil {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 800;
}

.brand__name,
.nav-links a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  padding: 10px 11px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 226, 154, 0.12);
}

.hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  background: #05070a;
}

.hero__backdrop,
.hero__scrim {
  position: absolute;
  inset: 0 0 auto;
  height: clamp(560px, 84svh, 920px);
}

.hero__backdrop {
  width: 100%;
  height: clamp(560px, 84svh, 920px);
  object-fit: cover;
  object-position: center top;
  background: #05070a;
}

.hero-portrait-grid img {
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.hero__scrim {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.9), rgba(5, 7, 10, 0.56) 46%, rgba(5, 7, 10, 0.2)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.7), rgba(5, 7, 10, 0.12) 45%, rgba(5, 7, 10, 0.88) 100%);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: min(1500px, calc(100% - 48px));
  min-height: auto;
  margin: 0 auto;
  padding: calc(104px + var(--safe-top)) 0 64px;
}

.hero__copy {
  max-width: 860px;
}

.hero__aftercopy {
  max-width: 940px;
}

.command-panel {
  grid-column: 1;
  grid-row: auto;
}

.hero__tagline {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-size: 1.45rem;
  font-weight: 900;
}

.release-note {
  display: inline-flex;
  max-width: 680px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 226, 154, 0.34);
  border-radius: 6px;
  background: rgba(8, 11, 16, 0.72);
  color: var(--paper-soft);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero-title {
  max-width: 780px;
  margin: 6px 0 16px;
  font-size: clamp(2.35rem, 9.4vw, 3.15rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.title-main,
.title-accent {
  display: block;
}

.title-main {
  color: var(--paper-soft);
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.42);
}

.title-separator {
  color: inherit;
}

.hero-title .title-accent {
  color: #9fb3c8;
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: 0 10px 34px rgba(8, 17, 28, 0.38);
}

@media (min-width: 761px) {
  .title-main,
  .title-accent {
    display: inline;
  }
}

@media (min-width: 1121px) {
  .hero-title {
    font-size: clamp(4.35rem, 5.6vw, 5rem);
    line-height: 0.95;
  }
}

.hero__lede {
  max-width: 710px;
  margin-bottom: 28px;
  color: rgba(249, 237, 207, 0.88);
  font-size: 1.13rem;
}

.hero__lede--compact {
  max-width: 760px;
  margin-top: -12px;
  font-size: 1rem;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__actions,
.online-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  border-color: rgba(255, 226, 154, 0.36);
  background: linear-gradient(180deg, #e0b449, #a86f20);
  color: #130c04;
  box-shadow: 0 14px 32px rgba(168, 111, 32, 0.26);
}

.button--ghost {
  border-color: rgba(249, 237, 207, 0.42);
  background: rgba(249, 237, 207, 0.12);
  color: var(--ink);
}

.button--quiet {
  border-color: rgba(79, 182, 197, 0.42);
  background: rgba(79, 182, 197, 0.12);
  color: #d8f7fb;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.command-panel {
  align-self: start;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.command-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.command-panel__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05070a;
}

.command-panel__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.command-panel__actions {
  display: none;
}

.reel-fullscreen-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(249, 237, 207, 0.46);
  border-radius: 9px;
  background: rgba(5, 7, 10, 0.58);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.reel-fullscreen-button:hover,
.reel-fullscreen-button:focus-visible {
  background: rgba(5, 7, 10, 0.78);
  border-color: rgba(255, 226, 154, 0.72);
}

.reel-fullscreen-button__corners {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.reel-fullscreen-button__corners::before,
.reel-fullscreen-button__corners::after {
  content: "";
  position: absolute;
  inset: 0;
  border-color: currentColor;
  border-style: solid;
}

.reel-fullscreen-button__corners::before {
  border-width: 2px 0 0 2px;
}

.reel-fullscreen-button__corners::after {
  border-width: 0 2px 2px 0;
}

.reel-audio-button {
  position: absolute;
  right: 62px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(249, 237, 207, 0.46);
  border-radius: 9px;
  background: rgba(5, 7, 10, 0.58);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.reel-audio-button:hover,
.reel-audio-button:focus-visible {
  background: rgba(5, 7, 10, 0.78);
  border-color: rgba(255, 226, 154, 0.72);
}

.reel-audio-button[aria-pressed="true"] {
  border-color: rgba(255, 226, 154, 0.72);
  color: var(--paper-soft);
}

.reel-audio-button__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.reel-share-button {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(249, 237, 207, 0.46);
  border-radius: 9px;
  background: rgba(5, 7, 10, 0.58);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.reel-share-button:hover,
.reel-share-button:focus-visible,
.reel-share-button[aria-expanded="true"] {
  background: rgba(5, 7, 10, 0.78);
  border-color: rgba(255, 226, 154, 0.72);
}

.reel-share-button__dots {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
  align-items: center;
}

.reel-share-button__dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.reel-share-menu {
  position: absolute;
  left: 12px;
  bottom: 62px;
  z-index: 3;
  display: grid;
  width: min(230px, calc(100% - 24px));
  overflow: hidden;
  border: 1px solid rgba(255, 226, 154, 0.46);
  border-radius: 9px;
  background: rgba(5, 7, 10, 0.88);
  color: var(--ink);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
}

.reel-share-menu[hidden] {
  display: none;
}

.reel-share-menu__action {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 226, 154, 0.14);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.reel-share-menu__action:hover,
.reel-share-menu__action:focus-visible {
  background: rgba(255, 226, 154, 0.12);
}

.reel-share-menu__status {
  min-height: 24px;
  margin: 0;
  padding: 6px 12px 8px;
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.reel-share-menu__link {
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 226, 154, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
}

.reel-share-menu__link[hidden] {
  display: none;
}

.command-panel__bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: rgba(255, 226, 154, 0.16);
}

.command-panel__bar span {
  display: grid;
  min-height: 44px;
  place-items: center;
  background: rgba(8, 11, 16, 0.9);
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
}

.origin-section,
.assets-section,
.playable-section,
.fog-section,
.signals-section,
.glossary-section,
.loop-section,
.combat-section,
.screens-section,
.online-section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.origin-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  padding: 88px 0 52px;
}

.legend-section {
  margin: 24px 0 0;
  padding: 76px 0;
  border-top: 1px solid rgba(214, 167, 58, 0.36);
  border-bottom: 1px solid rgba(214, 167, 58, 0.26);
  background:
    linear-gradient(rgba(69, 42, 22, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 42, 22, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #f0dfb8 0%, #d7b673 54%, #8d5d2f 100%);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow:
    inset 0 32px 80px rgba(32, 18, 8, 0.42),
    inset 0 -28px 70px rgba(32, 18, 8, 0.3);
}

.legend-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.legend-section h2 {
  color: #2e1b10;
}

.legend-section .eyebrow {
  color: #6f421d;
}

.legend-section__copy p {
  color: #4f3320;
  font-size: 1.05rem;
}

.legend-section__copy--lead {
  grid-column: 1 / -1;
  max-width: 920px;
}

.legend-section__copy--lead h2 {
  max-width: 820px;
}

.veil-feature-video {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(46, 27, 16, 0.34);
  border-radius: 8px;
  background: #21140c;
  box-shadow: 0 24px 58px rgba(46, 27, 16, 0.3);
}

.veil-feature-video__media {
  position: relative;
  overflow: hidden;
  background: #05070a;
}

.veil-feature-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}

.veil-feature-video figcaption {
  margin: 0;
  padding: 12px 16px;
  color: #ead8ad;
  font-size: 0.92rem;
  line-height: 1.45;
}

.legend-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legend-gallery figure {
  overflow: hidden;
  border: 1px solid rgba(46, 27, 16, 0.28);
  border-radius: 8px;
  background: #21140c;
  box-shadow: 0 18px 38px rgba(46, 27, 16, 0.26);
}

.legend-gallery__wide {
  grid-column: 1 / -1;
}

.legend-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.legend-gallery figure:not(.legend-gallery__wide) img {
  aspect-ratio: 4 / 3;
}

.legend-gallery figcaption {
  min-height: 58px;
  margin: 0;
  padding: 12px 14px;
  color: #ead8ad;
  font-size: 0.9rem;
  line-height: 1.42;
}

.mechanic-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mechanic-strip article {
  display: grid;
  min-height: 0;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(46, 27, 16, 0.26);
  border-radius: 8px;
  background: rgba(255, 249, 232, 0.46);
}

.mechanic-strip strong {
  display: block;
  grid-column: 2;
  margin: 0;
  align-self: center;
  color: #2e1b10;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.2;
}

.mechanic-strip span {
  display: block;
  grid-column: 2;
  color: #50341f;
  font-size: 0.94rem;
  line-height: 1.48;
}

.assets-section {
  padding: 82px 0 56px;
}

.asset-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 28px;
}

.asset-showcase--wide {
  display: block;
  grid-template-columns: none;
}

.asset-showcase figure,
.asset-manual-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.asset-showcase img,
.asset-manual-grid img {
  width: 100%;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.asset-showcase__feature img {
  height: auto;
  min-height: 0;
}

.asset-showcase figcaption,
.asset-manual-grid figcaption {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 14px 16px;
  color: var(--ink-muted);
  line-height: 1.46;
}

.asset-showcase figcaption strong,
.asset-manual-grid figcaption strong {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.asset-showcase figcaption span {
  display: block;
}

.asset-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.asset-showcase__grid img {
  aspect-ratio: 16 / 10;
}

.unit-link-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 24px;
  align-items: center;
  width: min(100% - 42px, 1120px);
  margin: 34px auto 0;
  padding: 28px;
  border: 1px solid rgba(255, 226, 154, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(106, 202, 202, 0.12), transparent 44%),
    rgba(8, 11, 16, 0.82);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.unit-link-section__copy {
  display: grid;
  gap: 12px;
}

.unit-link-section__copy h2 {
  margin-bottom: 0;
  font-size: 2.15rem;
}

.unit-link-section__copy p {
  color: var(--ink-muted);
}

.unit-link-section__copy .button {
  width: fit-content;
}

.unit-link-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.unit-link-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center bottom;
  border: 1px solid rgba(255, 226, 154, 0.16);
  border-radius: 8px;
  background: rgba(14, 19, 26, 0.72);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.34));
}

.camera-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1.48fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.camera-showcase__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

.camera-showcase__copy h3 {
  margin-bottom: 12px;
  color: var(--paper-soft);
  font-size: 1.6rem;
}

.camera-showcase__copy p:last-child {
  margin-bottom: 0;
  color: var(--ink-muted);
}

.camera-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.camera-showcase figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.camera-showcase img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.camera-showcase figcaption {
  margin: 0;
  padding: 12px 14px;
  color: var(--ink-muted);
}

.camera-showcase figcaption strong {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.02rem;
}

.town-showcase {
  display: grid;
  gap: 16px;
  align-items: stretch;
  margin-top: 18px;
}

.town-showcase__copy {
  max-width: 860px;
}

.town-showcase__copy h3 {
  margin: 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.town-showcase__copy p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

.town-showcase figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.town-showcase__media {
  position: relative;
}

.town-showcase img,
.town-showcase video {
  display: block;
  width: 100%;
  aspect-ratio: 30 / 17.2;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.town-showcase figcaption {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 14px 16px;
  color: var(--ink-muted);
  line-height: 1.46;
}

.town-showcase figcaption strong {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.town-showcase figcaption span {
  display: block;
}

.hero-portrait-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}

.hero-portrait-showcase__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(214, 167, 58, 0.13), transparent 46%),
    rgba(8, 11, 16, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

.hero-portrait-showcase__copy h3 {
  margin: 0 0 12px;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.hero-portrait-showcase__copy p:last-child {
  margin-bottom: 0;
  color: var(--ink-muted);
  line-height: 1.58;
}

.hero-portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-portrait-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.hero-portrait-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-position: center center;
  background: #05070a;
}

.hero-portrait-grid figcaption {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 13px 14px;
  color: var(--ink-muted);
  line-height: 1.35;
}

.hero-portrait-grid figcaption strong {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.fresh-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.fresh-screens figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.fresh-screens img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.fresh-screens figcaption {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 14px 16px;
  color: var(--ink-muted);
  line-height: 1.46;
}

.fresh-screens figcaption strong {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.fresh-screens figcaption span {
  display: block;
}

.spell-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.spell-strip article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(79, 182, 197, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(79, 182, 197, 0.13), transparent 52%),
    rgba(8, 11, 16, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

.spell-strip img {
  grid-row: span 2;
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
}

.spell-strip strong,
.spell-strip span {
  display: block;
}

.spell-strip strong {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1rem;
}

.spell-strip span {
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.asset-manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.asset-manual-grid img {
  aspect-ratio: 16 / 9;
}

.section-copy {
  max-width: 760px;
}

.section-copy--wide {
  max-width: 920px;
  margin-bottom: 32px;
}

.answer-grid,
.minute-list,
.signal-grid,
.glossary-grid,
.combat-row,
.screen-grid {
  display: grid;
  gap: 12px;
}

.answer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
}

.answer-grid article,
.signal-grid article,
.loop-list li,
.minute-list li,
.glossary-grid article,
.combat-row article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 226, 154, 0.08), rgba(255, 226, 154, 0.025)),
    var(--panel);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.answer-grid article {
  min-height: 168px;
  padding: 20px;
}

.answer-grid article::before,
.mechanic-strip article::before,
.minute-list li::before,
.signal-grid article::before,
.glossary-grid article::before,
.loop-list li::before,
.combat-row article::before,
.manual-grid:not(.manual-grid--resources) article::before {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(255, 226, 154, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 36%),
    rgba(8, 11, 16, 0.36);
  color: var(--paper-soft);
  font-size: 1.14rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.answer-grid article::before,
.mechanic-strip article::before,
.signal-grid article::before,
.glossary-grid article::before,
.loop-list li::before,
.combat-row article::before,
.manual-grid:not(.manual-grid--resources) article::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

.answer-grid article:nth-child(1)::before {
  content: "🧠";
}

.answer-grid article:nth-child(2)::before {
  content: "⏳";
}

.answer-grid article:nth-child(3)::before {
  content: "🧭";
}

.mechanic-strip article:nth-child(1)::before {
  content: "⏳";
}

.mechanic-strip article:nth-child(2)::before {
  content: "🔀";
}

.mechanic-strip article:nth-child(3)::before {
  content: "🌫️";
}

.mechanic-strip article:nth-child(4)::before {
  content: "🗝️";
}

.fr-page .legend-section .mechanic-strip article:nth-child(1)::before {
  content: "👁️";
}

.fr-page .legend-section .mechanic-strip article:nth-child(2)::before {
  content: "🌫️";
}

.fr-page .legend-section .mechanic-strip article:nth-child(3)::before {
  content: "🧲";
}

.fr-page .legend-section .mechanic-strip article:nth-child(4)::before {
  content: "⚔️";
}

.minute-list li:nth-child(1)::before {
  content: "🧭";
}

.minute-list li:nth-child(2)::before {
  content: "👁️";
}

.minute-list li:nth-child(3)::before {
  content: "🥾";
}

.minute-list li:nth-child(4)::before {
  content: "🗝️";
}

.minute-list li:nth-child(5)::before {
  content: "🌅";
}

.minute-list li:nth-child(6)::before {
  content: "⚔️";
}

.loop-list li:nth-child(1)::before {
  content: "👁️";
}

.loop-list li:nth-child(2)::before {
  content: "⚡";
}

.loop-list li:nth-child(3)::before {
  content: "🧭";
}

.loop-list li:nth-child(4)::before {
  content: "⚔️";
}

.signal-grid article:nth-child(1)::before,
.manual-grid--screen-read article:nth-child(1)::before {
  content: "👁️";
}

.signal-grid article:nth-child(2)::before {
  content: "🌫️";
}

.signal-grid article:nth-child(3)::before {
  content: "🧭";
}

.signal-grid article:nth-child(4)::before {
  content: "⚔️";
}

.glossary-grid article:nth-child(1)::before {
  content: "🧲";
}

.glossary-grid article:nth-child(2)::before {
  content: "🧭";
}

.glossary-grid article:nth-child(3)::before {
  content: "⚔️";
}

.glossary-grid article:nth-child(4)::before {
  content: "🧱";
}

.manual-grid--first-game article:nth-child(1)::before {
  content: "🧠";
}

.manual-grid--first-game article:nth-child(2)::before {
  content: "⏳";
}

.manual-grid--first-game article:nth-child(3)::before {
  content: "⚔️";
}

.manual-grid--first-game article:nth-child(4)::before {
  content: "🧭";
}

.manual-grid--screen-read article:nth-child(2)::before {
  content: "🧭";
}

.manual-grid--screen-read article:nth-child(3)::before {
  content: "🧲";
}

.manual-grid--screen-read article:nth-child(4)::before {
  content: "🧱";
}

.manual-grid--systems article:nth-child(1)::before {
  content: "🛡️";
}

.manual-grid--systems article:nth-child(2)::before {
  content: "🏰";
}

.manual-grid--systems article:nth-child(3)::before {
  content: "🪙";
}

.manual-grid--systems article:nth-child(4)::before {
  content: "🎴";
}

.manual-grid--systems article:nth-child(5)::before {
  content: "🗝️";
}

.manual-grid--systems article:nth-child(6)::before {
  content: "⚔️";
}

.combat-row article:nth-child(1)::before {
  content: "🌅";
}

.combat-row article:nth-child(2)::before {
  content: "🧭";
}

.combat-row article:nth-child(3)::before {
  content: "⚔️";
}

.answer-grid strong,
.combat-row strong,
.loop-list strong,
.minute-list strong,
.glossary-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.2;
}

.answer-grid span,
.combat-row span,
.loop-list span,
.minute-list span,
.glossary-grid span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.answer-grid article,
.combat-row article,
.loop-list li,
.glossary-grid article,
.manual-grid:not(.manual-grid--resources) article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
}

.answer-grid strong,
.combat-row strong,
.loop-list strong,
.glossary-grid strong,
.manual-grid:not(.manual-grid--resources) strong {
  grid-column: 2;
  margin: 0;
  align-self: center;
}

.answer-grid span,
.combat-row span,
.loop-list span,
.glossary-grid span,
.manual-grid:not(.manual-grid--resources) span {
  grid-column: 2;
}

.playable-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
  padding: 70px 0 78px;
}

.playable-section__copy p {
  font-size: 1.02rem;
}

.minute-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.minute-list li {
  display: grid;
  min-height: 150px;
  grid-template-columns: 38px auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
  padding: 16px;
}

.minute-list li::before {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
}

.minute-list .minute-list__number {
  grid-column: 1;
  margin: 0;
  align-self: center;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
}

.minute-list strong {
  grid-column: 3;
  margin: 0;
  align-self: center;
  font-size: 1.08rem;
}

.minute-list span:not(.minute-list__number) {
  grid-column: 2 / -1;
  font-size: 0.9rem;
}

.playable-shot {
  overflow: hidden;
  border: 1px solid rgba(79, 182, 197, 0.42);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.playable-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.playable-shot figcaption {
  margin: 0;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.playable-video {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 154, 0.22);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.82);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.34);
}

.playable-video__media {
  position: relative;
}

.playable-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.playable-video figcaption {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  line-height: 1.46;
}

.playable-video figcaption strong {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.playable-video figcaption span {
  display: block;
}

.fog-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  padding: 82px 0;
}

.fog-section__image {
  overflow: hidden;
  border: 1px solid rgba(79, 182, 197, 0.42);
  border-radius: 8px;
  background: #031019;
  box-shadow: var(--shadow);
}

.fog-section__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.fog-section__copy p {
  font-size: 1.04rem;
}

.signals-section,
.glossary-section,
.combat-section,
.screens-section {
  padding: 72px 0;
}

.signal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-grid article {
  display: grid;
  min-height: 270px;
  grid-template-columns: 38px auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 6px;
  align-items: start;
  padding: 20px;
}

.signal-grid__number {
  display: block;
  grid-column: 2;
  margin: 0;
  align-self: center;
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.signal-grid h3 {
  grid-column: 3;
  margin: 0;
  align-self: center;
  font-size: 1.05rem;
}

.signal-grid p {
  grid-column: 2 / -1;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.glossary-section {
  padding-top: 42px;
}

.glossary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.glossary-grid article {
  min-height: 168px;
  padding: 20px;
}

.glossary-grid strong {
  color: var(--gold-soft);
}

.loop-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  gap: 48px;
  align-items: center;
  padding: 78px 0;
}

.loop-section__media {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0b1118;
  box-shadow: var(--shadow);
}

.loop-section__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.loop-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.loop-list li {
  padding: 18px 20px;
}

.combat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.combat-row article {
  min-height: 150px;
  padding: 22px;
}

.screen-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.screen-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.screen-grid figcaption {
  min-height: 70px;
  margin: 0;
  padding: 14px 16px;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.online-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 80px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(79, 182, 197, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(12, 17, 25, 0.98), rgba(15, 34, 31, 0.94));
  box-shadow: var(--shadow);
}

.online-section h2,
.online-section p {
  margin-bottom: 0;
}

.online-section__actions {
  justify-content: flex-start;
}

.online-section__actions span {
  display: block;
  max-width: 300px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  gap: 10px;
  min-height: 146px;
  place-items: center;
  padding: 18px 16px calc(20px + var(--safe-bottom));
  border-top: 1px solid rgba(255, 226, 154, 0.12);
  background: rgba(5, 7, 10, 0.94);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(249, 237, 207, 0.68);
  font-size: 0.9rem;
}

.site-footer__brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__line {
  max-width: 620px;
  color: rgba(249, 237, 207, 0.84);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 3.8vw, 1.65rem);
  line-height: 1.25;
}

.site-footer__invite {
  max-width: 620px;
  color: var(--gold);
  font-weight: 800;
}

.site-footer__contact {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 520px);
  margin-top: 8px;
}

.site-footer__contact-trigger,
.site-footer__contact-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 226, 154, 0.32);
  border-radius: 999px;
  background: rgba(255, 226, 154, 0.08);
  color: rgba(249, 237, 207, 0.9);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.site-footer__contact-trigger:hover,
.site-footer__contact-close:hover,
.site-footer__contact-trigger:focus-visible,
.site-footer__contact-close:focus-visible {
  border-color: rgba(255, 226, 154, 0.68);
  background: rgba(255, 226, 154, 0.16);
  color: var(--ink);
  transform: translateY(-1px);
}

.site-footer__contact-panel {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(100%, 440px);
  padding: 14px 16px;
  border: 1px solid rgba(117, 199, 255, 0.22);
  border-radius: 8px;
  background: rgba(11, 18, 25, 0.74);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.site-footer__contact-panel[hidden] {
  display: none;
}

.site-footer__contact-panel p {
  color: rgba(249, 237, 207, 0.76);
  font-size: 0.86rem;
}

.site-footer__contact-panel a {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.site-footer__contact-panel a:hover,
.site-footer__contact-panel a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__contact-close {
  min-height: 34px;
  padding: 8px 12px;
}

.manual-body {
  background:
    linear-gradient(rgba(255, 226, 154, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 226, 154, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, #07090d 0%, #121927 46%, #21170d 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

.manual-body .site-header::before {
  background: rgba(8, 11, 16, 0.94);
}

.manual-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 136px 0 80px;
}

.manual-document {
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 17, 25, 0.96), rgba(15, 19, 24, 0.94)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.manual-document h1 {
  font-size: 4rem;
}

.manual-document h2 {
  margin-top: 46px;
  font-size: 2rem;
}

.manual-document h3 {
  margin-top: 34px;
}

.manual-document h1,
.manual-document h2,
.manual-document h3 {
  scroll-margin-top: 96px;
}

.manual-document section {
  scroll-margin-top: 96px;
}

.manual-lede {
  max-width: 760px;
  color: var(--paper-soft);
  font-size: 1.14rem;
}

.manual-figure {
  overflow: hidden;
  margin: 20px 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #091018;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.manual-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.manual-figure figcaption {
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.manual-document li,
.manual-document td,
.manual-document th {
  color: var(--ink-muted);
  line-height: 1.55;
}

.manual-document li + li {
  margin-top: 8px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.guide-steps li,
.scenario-strip article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(249, 237, 207, 0.07);
}

.guide-steps li {
  min-height: 132px;
  padding: 16px;
}

.guide-steps strong,
.guide-steps span {
  display: block;
}

.guide-steps strong {
  margin-bottom: 8px;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.guide-steps span {
  color: var(--ink-muted);
  line-height: 1.5;
}

.scenario-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.scenario-strip article {
  min-height: 214px;
  padding: 16px;
}

.scenario-strip article > span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 42px;
  place-items: center;
  border: 1px solid rgba(79, 182, 197, 0.56);
  border-radius: 50%;
  color: #d8f7fb;
  font-weight: 900;
}

.scenario-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.scenario-strip p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.48;
}

.manual-document table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.manual-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.manual-document th,
.manual-document td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 226, 154, 0.14);
  text-align: left;
  vertical-align: top;
}

.manual-document th {
  color: var(--paper-soft);
  background: rgba(255, 226, 154, 0.12);
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.manual-grid--resources {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.manual-grid article {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(249, 237, 207, 0.08);
}

.manual-grid strong,
.manual-grid span {
  display: block;
}

.manual-grid strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--paper-soft);
}

.manual-grid span {
  color: var(--ink-muted);
  line-height: 1.5;
}

.catalog-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.catalog-grid--factions,
.catalog-grid--heroes,
.catalog-grid--towns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-grid--roster,
.catalog-grid--actions,
.catalog-grid--items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-grid--units {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 226, 154, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent, var(--gold)) 18%, transparent), transparent 44%),
    rgba(249, 237, 207, 0.07);
}

.catalog-note {
  max-width: 780px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 226, 154, 0.16);
  border-radius: 8px;
  background: rgba(249, 237, 207, 0.06);
  color: rgba(249, 237, 207, 0.82);
  font-size: 0.94rem;
}

.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--card-accent, var(--gold));
}

.catalog-card__top,
.action-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.catalog-sigil {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--gold)) 72%, white 12%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.18), transparent 38%),
    color-mix(in srgb, var(--card-accent, var(--gold)) 26%, #080b10);
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.catalog-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
}

.catalog-kicker {
  color: color-mix(in srgb, var(--card-accent, var(--gold)) 48%, var(--paper-soft));
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.catalog-card h4 {
  margin: 16px 0 6px;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.34rem;
  line-height: 1.12;
}

.catalog-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.52;
}

.unit-card__art {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: -4px 0 12px;
  object-fit: contain;
  object-position: center bottom;
  border-bottom: 1px solid rgba(255, 226, 154, 0.14);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.38));
}

.catalog-card__subtitle {
  color: color-mix(in srgb, var(--card-accent, var(--gold)) 36%, var(--ink-muted));
  font-weight: 800;
}

.catalog-card__meta {
  margin-top: 14px;
}

.catalog-card__meta strong {
  display: block;
  margin-bottom: 7px;
  color: var(--paper-soft);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.catalog-card__meta--quiet strong {
  color: color-mix(in srgb, var(--card-accent, var(--gold)) 40%, var(--ink-muted));
}

.manual-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.manual-pill-row span,
.action-card__footer > span,
.catalog-more {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(255, 226, 154, 0.16);
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.34);
  color: rgba(249, 237, 207, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.resource-token {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 226, 154, 0.18);
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.38);
  color: rgba(249, 237, 207, 0.9);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.1;
}

.resource-token strong {
  margin: 0;
  color: var(--paper-soft);
  font-size: 0.86rem;
  line-height: 1;
}

.resource-token span {
  margin: 0;
}

.resource-token__icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.32));
}

.resource-token--gold {
  border-color: rgba(255, 226, 154, 0.32);
  background: rgba(214, 167, 58, 0.14);
}

.resource-token--wood {
  border-color: rgba(102, 151, 95, 0.35);
  background: rgba(47, 108, 79, 0.18);
}

.resource-token--stone {
  border-color: rgba(188, 194, 191, 0.25);
  background: rgba(126, 132, 129, 0.14);
}

.resource-token--mana,
.resource-token--action {
  border-color: rgba(79, 182, 197, 0.34);
  background: rgba(79, 182, 197, 0.13);
}

.cost-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cost-stack {
  display: grid;
  gap: 8px;
}

.labeled-cost {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 226, 154, 0.12);
  border-radius: 7px;
  background: rgba(8, 11, 16, 0.25);
}

.labeled-cost > span {
  color: rgba(249, 237, 207, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0;
}

.hero-stat-grid span {
  display: grid;
  min-height: 50px;
  place-items: center;
  padding: 6px 4px;
  border: 1px solid rgba(255, 226, 154, 0.14);
  border-radius: 6px;
  background: rgba(8, 11, 16, 0.34);
  color: rgba(201, 185, 149, 0.86);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.hero-stat-grid em {
  color: var(--paper-soft);
  font-style: normal;
  line-height: 1;
}

.hero-stat-grid strong {
  margin-bottom: 3px;
  color: var(--paper-soft);
  font-size: 1rem;
  line-height: 1;
}

.action-card,
.roster-card {
  --card-accent: var(--cyan);
}

.action-card--claim_action,
.roster-card--pressure_strike {
  --card-accent: var(--ember);
}

.action-card--temporal_action,
.action-card--world_op_action,
.roster-card--rhythm_strike,
.roster-card--surge_strike {
  --card-accent: var(--violet);
}

.action-card--fog_action,
.action-card--mobility_action,
.roster-card--rally_strike,
.roster-card--expose_strike {
  --card-accent: var(--cyan);
}

.roster-card--guarded_strike,
.roster-card--pierce_strike,
.roster-card--basic_strike {
  --card-accent: var(--gold);
}

.action-card__footer {
  justify-content: flex-start;
  margin-top: 14px;
}

.action-card__footer .cost-badges {
  flex: 1 1 100%;
}

.town-card__read {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 4px;
}

.town-card__read span {
  display: grid;
  min-height: 50px;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 226, 154, 0.14);
  border-radius: 7px;
  background: rgba(8, 11, 16, 0.28);
  color: rgba(201, 185, 149, 0.86);
  font-size: 0.74rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.town-card__read strong {
  color: var(--paper-soft);
  font-size: 1.1rem;
  line-height: 1;
}

.item-card--travel {
  --card-accent: var(--forest);
}

.item-card--portal,
.item-card--fog {
  --card-accent: var(--cyan);
}

.item-card--combat {
  --card-accent: var(--ember);
}

.item-card--economy {
  --card-accent: var(--gold);
}

.item-card--world,
.item-card--passive {
  --card-accent: var(--violet);
}

.item-card {
  display: grid;
  align-content: start;
}

.item-card .catalog-card__top {
  justify-content: flex-start;
}

.item-card .catalog-card__meta {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 226, 154, 0.12);
}

.item-card .manual-pill-row span {
  max-width: 100%;
  border-radius: 8px;
  white-space: normal;
}

.manual-card--accent {
  border-top: 3px solid var(--card-accent, var(--gold));
}

.manual-card--veilwalker_guild {
  --card-accent: #06b6d4;
}

.manual-card--order_of_chronos {
  --card-accent: #a855f7;
}

.manual-card--human_kingdom {
  --card-accent: #4169e1;
}

.manual-card--undead_legion {
  --card-accent: #4b0082;
}

.manual-card em {
  display: block;
  margin-top: 12px;
  color: rgba(255, 226, 154, 0.74);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.45;
}

.manual-document td strong,
.manual-document td span {
  display: block;
}

.manual-document td strong {
  color: var(--paper-soft);
}

.manual-document td span {
  margin-top: 4px;
  color: rgba(201, 185, 149, 0.82);
  font-size: 0.88rem;
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.screenshot-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.screenshot-callouts figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.68);
}

.screenshot-callouts img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  background: #05070a;
}

.screenshot-callouts figcaption {
  min-height: 94px;
  margin: 0;
  padding: 14px 16px;
  color: var(--ink-muted);
  line-height: 1.48;
}

.screenshot-callouts figcaption strong {
  color: var(--paper-soft);
}

.faq-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.faq-list details {
  padding: 14px 16px;
}

.faq-list summary,
.reference-catalog summary,
.catalog-section summary,
.catalog-subsection summary {
  cursor: pointer;
  color: var(--paper-soft);
  font-weight: 900;
}

.faq-list p {
  margin: 10px 0 0;
}

.reference-catalog {
  margin-top: 18px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.36);
}

.catalog-section,
.catalog-subsection {
  border-bottom: 1px solid rgba(255, 226, 154, 0.12);
}

.catalog-section:last-child,
.catalog-subsection:last-child {
  border-bottom: 0;
}

.catalog-section > summary,
.catalog-subsection > summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
}

.catalog-subsection {
  margin-top: 12px;
  padding: 0 0 12px;
}

.catalog-subsection > summary {
  min-height: 42px;
  padding: 0;
  color: color-mix(in srgb, var(--gold) 44%, var(--paper-soft));
}

.catalog-section > p,
.catalog-section > .catalog-grid,
.catalog-subsection > .catalog-grid {
  margin-right: 8px;
  margin-left: 8px;
}

.catalog-section > p {
  max-width: 780px;
}

.catalog-subsection small {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 226, 154, 0.18);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.74rem;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 3.8rem;
  }

  .hero-title {
    font-size: clamp(3.25rem, 7.6vw, 4.35rem);
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero,
  .hero__content {
    min-height: 0;
  }

  .command-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .hero__content,
  .origin-section,
  .asset-showcase,
  .camera-showcase,
  .town-showcase,
  .hero-portrait-showcase,
  .legend-section__inner,
  .playable-section,
  .fog-section,
  .loop-section,
  .unit-link-section,
  .online-section {
    grid-template-columns: 1fr;
  }

  .command-panel {
    justify-self: stretch;
    max-width: none;
  }

  .answer-grid,
  .asset-showcase__grid,
  .camera-showcase__grid,
  .fresh-screens,
  .spell-strip,
  .unit-link-strip,
  .hero-portrait-grid,
  .mechanic-strip,
  .signal-grid,
  .glossary-grid,
  .combat-row,
  .screen-grid,
  .scenario-strip,
  .catalog-grid--roster,
  .catalog-grid--units,
  .catalog-grid--actions,
  .catalog-grid--items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .online-section__actions {
    justify-content: flex-start;
  }

  .unit-link-section__copy .button {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    width: min(100% - 24px, 1220px);
  }

  .site-header::before {
    left: -6px;
    right: -6px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .hero__content {
    min-height: 0;
  }

  .hero__content {
    padding-top: 88px;
    padding-bottom: 28px;
  }

  .hero__copy {
    display: contents;
  }

  .hero__copy > * {
    order: 1;
  }

  .hero__content > *,
  .hero__copy > *,
  .hero__aftercopy {
    min-width: 0;
    max-width: 100%;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-title {
    margin-top: 4px;
    margin-bottom: 14px;
    font-size: clamp(1.85rem, 6.9vw, 2.45rem);
    font-weight: 620;
    line-height: 1;
    letter-spacing: 0;
  }

  .hero-title .title-main {
    color: #f4e7c3;
  }

  .hero-title .title-separator {
    display: none;
  }

  .hero-title .title-accent {
    margin-top: 0.12em;
    color: #9fb3c8;
    font-size: 0.76em;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: 0 8px 28px rgba(6, 17, 30, 0.42);
  }

  h2 {
    font-size: 2rem;
  }

  .hero__tagline {
    margin-bottom: 14px;
    font-size: 1.16rem;
  }

  .hero__lede {
    order: 3;
    line-height: 1.5;
    font-size: 1rem;
  }

  .hero__lede--compact {
    display: none;
  }

  .hero__actions,
  .online-section__actions {
    display: grid;
    width: 100%;
  }

  .hero__actions {
    order: 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .button {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .hero__actions .button {
    flex: 0 0 auto;
    width: auto;
    min-width: 148px;
  }

  .command-panel__bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .command-panel__actions {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 0;
    border-top: 0;
    background: transparent;
  }

  .command-panel__fullscreen {
    width: auto;
    min-width: 0;
    min-height: 38px;
    border-color: rgba(255, 226, 154, 0.5);
    background: rgba(8, 11, 16, 0.78);
    color: var(--paper-soft);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  }

  .command-panel {
    width: 100%;
    max-width: none;
    order: 2;
  }

  .hero__aftercopy {
    order: 3;
  }

  .command-panel__bar span {
    min-height: 40px;
    padding: 0 4px;
    font-size: 0.74rem;
  }

  .command-panel__bar {
    display: none;
  }

  .origin-section,
  .assets-section,
  .legend-section,
  .playable-section,
  .fog-section,
  .signals-section,
  .glossary-section,
  .loop-section,
  .unit-link-section,
  .combat-section,
  .screens-section {
    padding: 48px 0;
  }

  .unit-link-section {
    width: min(100% - 32px, 1120px);
    padding: 20px;
  }

  .unit-link-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unit-link-section__copy .button {
    width: 100%;
  }

  .answer-grid,
  .asset-showcase,
  .asset-showcase__grid,
  .camera-showcase,
  .camera-showcase__grid,
  .town-showcase,
  .hero-portrait-showcase,
  .fresh-screens,
  .spell-strip,
  .asset-manual-grid,
  .hero-portrait-grid,
  .mechanic-strip,
  .minute-list,
  .signal-grid,
  .glossary-grid,
  .guide-steps,
  .scenario-strip,
  .screenshot-callouts,
  .combat-row,
  .screen-grid,
  .catalog-grid--factions,
  .catalog-grid--heroes,
  .catalog-grid--roster,
  .catalog-grid--units,
  .catalog-grid--actions,
  .catalog-grid--items,
  .catalog-grid--towns {
    grid-template-columns: 1fr;
  }

  .answer-grid article,
  .mechanic-strip article,
  .signal-grid article,
  .glossary-grid article,
  .guide-steps li,
  .scenario-strip article,
  .minute-list li,
  .combat-row article {
    min-height: 0;
  }

  .scenario-strip article > span {
    margin-bottom: 18px;
  }

  .fog-section__image img {
    aspect-ratio: auto;
  }

  .asset-showcase__feature img {
    aspect-ratio: auto;
  }

  .playable-shot img {
    aspect-ratio: 16 / 10;
  }

  .online-section {
    padding: 22px;
  }

  .manual-page {
    width: min(100% - 20px, 1120px);
    padding-top: 112px;
  }

  .manual-document {
    padding: 16px;
  }

  .manual-document h1 {
    font-size: 3rem;
  }

  .manual-document h1,
  .manual-document h2,
  .manual-document h3,
  .manual-document section {
    scroll-margin-top: 0;
  }

  .manual-grid {
    grid-template-columns: 1fr;
  }

  .catalog-section > p,
  .catalog-section > .catalog-grid,
  .catalog-subsection > .catalog-grid {
    margin-right: 0;
    margin-left: 0;
  }

  .catalog-card {
    padding: 16px;
  }

  .item-card {
    min-height: 0;
  }

  .item-card .catalog-card__top {
    gap: 10px;
  }

  .item-card .catalog-sigil {
    width: 38px;
    height: 38px;
  }

  .item-card h4 {
    margin-top: 12px;
    font-size: 1.48rem;
    overflow-wrap: anywhere;
  }

  .item-card p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .item-card .catalog-card__meta strong {
    margin-bottom: 8px;
    font-size: 0.76rem;
  }

  .item-card .manual-pill-row {
    display: grid;
  }

  .item-card .manual-pill-row span {
    justify-content: flex-start;
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .hero-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legend-section {
    padding: 48px 0;
  }

  .legend-gallery {
    grid-template-columns: 1fr;
  }

  .legend-gallery__wide {
    grid-column: auto;
  }
}

/* Landing reel framing override: the hero video is the main proof, not a side card. */
body .hero {
  min-height: auto;
}

body .hero__backdrop,
body .hero__scrim {
  inset: 0 0 auto;
  height: clamp(560px, 84svh, 920px);
}

body .hero__backdrop {
  object-fit: cover;
  object-position: center top;
}

body .hero__content {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  width: min(1500px, calc(100% - 48px));
  min-height: auto;
  padding: calc(104px + var(--safe-top)) 0 64px;
}

body .command-panel {
  grid-column: 1;
  grid-row: auto;
  width: 100%;
  max-width: none;
  margin: 0;
}

body .hero__aftercopy {
  max-width: 940px;
}

@media (max-width: 760px) {
  body .hero__backdrop,
  body .hero__scrim {
    height: min(720px, 86svh);
  }

  body .hero__content {
    width: calc(100% - 32px);
    padding: 24px 0 42px;
  }

  body .command-panel {
    border-radius: 8px;
  }

  body .reel-fullscreen-button {
    right: 8px;
    bottom: 8px;
    width: 38px;
    height: 38px;
  }

  body .reel-audio-button {
    right: 54px;
    bottom: 8px;
    width: 38px;
    height: 38px;
  }

  body .reel-share-button {
    left: 8px;
    bottom: 8px;
    width: 38px;
    height: 38px;
  }

  body .reel-share-menu {
    left: 8px;
    bottom: 54px;
    width: min(230px, calc(100% - 16px));
  }
}
