:root {
  --paper: #f3eee4;
  --paper-deep: #e8dfd0;
  --paper-light: #fffdf8;
  --ink: #0a1324;
  --ink-soft: #334054;
  --night: #08101f;
  --night-soft: #111d32;
  --lapis: #1856b8;
  --lapis-dark: #103b82;
  --clay: #df5e2e;
  --clay-bright: #ff7542;
  --sun: #f2c84b;
  --white: #fffdf8;
  --line: rgba(10, 19, 36, 0.16);
  --line-light: rgba(255, 253, 248, 0.18);
  --shadow: 0 28px 80px rgba(8, 16, 31, 0.18);
  --display: "Avenir Next Condensed", "Franklin Gothic Medium", "Roboto Condensed", sans-serif;
  --body: "Avenir Next", "Segoe UI", Roboto, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(10, 19, 36, 0.08) 0.65px, transparent 0.65px);
  background-size: 7px 7px;
  content: "";
  opacity: 0.16;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

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

a {
  color: inherit;
}

button,
summary {
  font: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

:focus-visible {
  outline: 3px solid var(--clay-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  color: var(--lapis);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0;
  height: 0;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.55rem solid var(--clay);
  content: "";
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

/* The wordmark is live text rather than part of the image, so it stays crisp at
   any size, is readable to search engines and screen readers, and lets the
   header stay compact. The emblem is the only part that has to be artwork. */
.brand-mark {
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  display: grid;
  gap: 0.1rem;
  font-family: var(--display);
  line-height: 1;
  text-transform: uppercase;
}

.brand-name-primary {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.brand-name-secondary {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.site-nav a,
.mobile-panel a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--clay);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-contact:hover {
  background: var(--clay);
  border-color: var(--clay);
  transform: translateY(-2px);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ink);
  cursor: pointer;
  list-style: none;
  place-items: center;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
}

.menu-icon::before { top: -0.35rem; }
.menu-icon::after { top: 0.35rem; }

.mobile-nav[open] .menu-icon { background: transparent; }
.mobile-nav[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.mobile-nav[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.mobile-panel {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  display: grid;
  width: min(19rem, calc(100vw - 2.5rem));
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-panel a {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.mobile-panel a:last-child {
  border-bottom: 0;
  background: var(--ink);
  color: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button::after {
  content: "↗";
  font-size: 1rem;
  line-height: 1;
}

.button:hover {
  border-color: var(--clay);
  background: var(--clay);
  transform: translateY(-2px);
}

.button-quiet {
  background: transparent;
  color: var(--ink);
}

.button-quiet::after {
  content: "↓";
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.hero::after {
  position: absolute;
  top: 8%;
  left: 48%;
  z-index: -1;
  width: 44rem;
  height: 44rem;
  background: radial-gradient(circle, rgba(24, 86, 184, 0.14), transparent 64%);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-title {
  max-width: 12ch;
  margin-bottom: 1.7rem;
  font-size: clamp(4rem, 9.5vw, 8.5rem);
  letter-spacing: -0.07em;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero-title em {
  display: block;
  margin-left: clamp(1.5rem, 6vw, 6rem);
  color: var(--clay);
  font-style: normal;
}

.hero-lead {
  max-width: 35rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.cover-link {
  position: relative;
  display: grid;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transform: none;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cover-link:hover {
  transform: translateY(-0.45rem);
}

.cover-link::before {
  position: absolute;
  inset: 0.9rem -0.9rem -0.9rem 0.9rem;
  z-index: -1;
  border: 1px solid var(--ink);
  background: var(--clay);
  content: "";
}

.cover-frame {
  position: relative;
  display: block;
  overflow: hidden;
  padding: clamp(0.6rem, 1.35vw, 1rem);
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at 82% 10%, rgba(24, 86, 184, 0.12), transparent 30%),
    linear-gradient(145deg, var(--white), var(--paper-deep));
  isolation: isolate;
}

.cover-frame::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(rgba(10, 19, 36, 0.09) 0.6px, transparent 0.6px);
  background-size: 8px 8px;
  content: "";
}

.cover-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1921 / 934;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(8, 16, 31, 0.2));
}

.cover-kicker,
.cover-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cover-kicker {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--ink);
  border-bottom: 0;
  background: var(--paper-light);
}

.cover-kicker span {
  color: var(--lapis-dark);
}

.cover-caption {
  align-items: end;
  margin-left: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--ink);
  border-top: 0;
  background: var(--night);
  color: var(--white);
}

.cover-caption strong {
  max-width: 13ch;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.hero-meta {
  display: grid;
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.46);
  grid-template-columns: repeat(3, 1fr);
}

.meta-item {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--line);
}

.meta-item:last-child {
  border-right: 0;
}

.meta-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--lapis);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-value {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-dark {
  background: var(--night);
  color: var(--white);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.55fr);
  gap: 2rem;
}

.section-heading h2 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  text-transform: uppercase;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.catalog {
  display: grid;
  gap: 1.25rem;
}

.game-feature {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 0 20px 55px rgba(8, 16, 31, 0.1);
  grid-template-columns: minmax(23rem, 1.08fr) minmax(0, 0.92fr);
}

.game-feature figure {
  display: grid;
  min-height: 0;
  margin-bottom: 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  background:
    radial-gradient(circle at 16% 84%, rgba(24, 86, 184, 0.12), transparent 30%),
    linear-gradient(145deg, var(--paper-deep), var(--white));
  place-items: center;
}

.game-feature figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1921 / 934;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(8, 16, 31, 0.18));
}

.game-copy {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(24, 86, 184, 0.05), transparent 42%),
    var(--white);
}

.catalog-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-number {
  color: var(--lapis);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--clay);
  content: "";
}

.game-copy h3,
.catalog-secondary h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  text-transform: uppercase;
}

.game-copy p {
  max-width: 39rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--lapis-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-transform: uppercase;
}

.text-link::after {
  content: "↗";
  font-size: 1rem;
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translate(0.2rem, -0.2rem);
}

.catalog-secondary {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 21rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--ink);
  background:
    linear-gradient(118deg, rgba(255, 253, 248, 0.28), transparent 44%),
    var(--sun);
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 3rem;
}

.catalog-secondary::after {
  position: absolute;
  top: 50%;
  right: -1rem;
  color: rgba(10, 19, 36, 0.09);
  content: "02";
  font-family: var(--display);
  font-size: clamp(12rem, 30vw, 27rem);
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 0.65;
  transform: translateY(-50%);
}

.secondary-index,
.secondary-copy {
  position: relative;
  z-index: 1;
}

.secondary-index {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.secondary-copy {
  align-self: end;
}

.secondary-copy p {
  max-width: 38rem;
}

.manifesto-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.4fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.manifesto-quote {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 8.5vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-transform: uppercase;
}

.manifesto-quote span {
  color: var(--clay-bright);
}

.manifesto-notes {
  display: grid;
  gap: 2.5rem;
  padding-top: 1rem;
}

.manifesto-note {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
}

.manifesto-note span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--sun);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manifesto-note p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.72);
}

.story-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(16rem, 0.55fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.story-title {
  font-size: clamp(3rem, 7vw, 6.4rem);
  text-transform: uppercase;
}

.story-copy {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.contact-strip {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem);
  background: var(--lapis);
  color: var(--white);
}

.contact-strip::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 19rem;
  height: 19rem;
  border: 3rem solid rgba(255, 255, 255, 0.08);
  content: "";
  transform: rotate(25deg);
}

.contact-strip > * {
  position: relative;
  z-index: 1;
}

.contact-strip h2 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  text-transform: uppercase;
}

.contact-strip p {
  max-width: 38rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 253, 248, 0.78);
}

.contact-strip .eyebrow {
  color: var(--sun);
}

.contact-strip .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--night);
  color: var(--white);
}

.footer-grid {
  display: grid;
  padding-bottom: 3rem;
  grid-template-columns: minmax(18rem, 1fr) repeat(2, minmax(9rem, 0.25fr));
  gap: 3rem;
}

.site-footer .brand {
  margin-bottom: 1.25rem;
  color: var(--white);
}

/* The footer uses a white emblem asset rather than a CSS invert filter, so the
   mark renders identically everywhere instead of depending on filter support. */
.site-footer .brand-mark {
  width: 3.6rem;
  height: 3.6rem;
}

.site-footer .brand-name-secondary {
  opacity: 0.62;
}

.footer-intro {
  max-width: 28rem;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.62);
}

.footer-group h2 {
  margin-bottom: 1rem;
  color: var(--sun);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-group nav {
  display: grid;
  gap: 0.55rem;
}

.footer-group a {
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-group a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 253, 248, 0.48);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  top: 50%;
  right: -7rem;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border: 4rem solid rgba(24, 86, 184, 0.08);
  content: "";
  transform: translateY(-50%) rotate(32deg);
}

.page-hero h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.8rem, 9vw, 8rem);
  text-transform: uppercase;
}

.page-hero p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.game-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(28rem, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
}

.game-hero-grid .cover-link {
  max-width: 46rem;
  justify-self: end;
}

.game-hero-grid .cover-link:hover {
  transform: none;
}

.game-hero-grid h1 span {
  display: block;
  color: var(--clay);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
}

.tag {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.5);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-detail-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.workbench-section {
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background:
    radial-gradient(circle at 8% 14%, rgba(24, 86, 184, 0.22), transparent 26rem),
    linear-gradient(135deg, var(--night), var(--night-soft));
  color: var(--white);
}

.workbench-section .section-heading p {
  color: rgba(255, 253, 248, 0.72);
}

.workbench-section .eyebrow {
  color: var(--sun);
}

.screen-grid {
  display: grid;
  gap: clamp(3.5rem, 8vw, 7rem);
}

.screen-card {
  display: grid;
  align-items: center;
  margin: 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 253, 248, 0.2);
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.32fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.screen-card-offset {
  grid-template-columns: minmax(13rem, 0.32fr) minmax(0, 1fr);
}

.screen-card-offset .screen-mat {
  grid-column: 2;
  grid-row: 1;
}

.screen-card-offset figcaption {
  grid-column: 1;
  grid-row: 1;
}

.screen-mat {
  position: relative;
  overflow: hidden;
  padding: clamp(0.7rem, 1.8vw, 1.35rem);
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at 82% 14%, rgba(24, 86, 184, 0.14), transparent 28%),
    linear-gradient(145deg, var(--white), var(--paper-deep));
  box-shadow: 0.9rem 0.9rem 0 var(--clay);
}

.screen-mat::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(10, 19, 36, 0.1) 0.55px, transparent 0.55px);
  background-size: 8px 8px;
  content: "";
}

.screen-mat-parchment {
  background:
    radial-gradient(circle at 12% 84%, rgba(223, 94, 46, 0.12), transparent 30%),
    linear-gradient(145deg, var(--white), var(--paper-deep));
}

.screen-mat img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(8, 16, 31, 0.24));
}

.screen-card figcaption {
  display: grid;
  gap: 0.8rem;
}

.screen-card figcaption span {
  color: var(--sun);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-card figcaption strong {
  max-width: 12ch;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.game-summary {
  position: sticky;
  top: 7rem;
  align-self: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
  box-shadow: 0.65rem 0.65rem 0 rgba(24, 86, 184, 0.12);
}

.game-summary h2,
.document-index h2 {
  margin-bottom: 1rem;
  color: var(--lapis);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.game-summary dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.game-summary dl div {
  display: grid;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
}

.game-summary dt {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-summary dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.prose {
  max-width: 49rem;
}

.prose h2 {
  margin: 3.25rem 0 1rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  font-size: clamp(2rem, 4vw, 3.35rem);
  text-transform: uppercase;
}

.prose h2:first-child,
.prose .last-updated + h2 {
  margin-top: 0;
}

.prose h3 {
  margin: 2rem 0 0.75rem;
  font-family: var(--body);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.35;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p {
  margin-bottom: 1.1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.55rem;
}

.prose a {
  color: var(--lapis-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.prose strong {
  color: var(--ink);
}

.note {
  margin-bottom: 2.5rem;
  padding: 1.35rem 1.5rem;
  border-left: 0.35rem solid var(--clay);
  background: var(--paper-light);
}

.note p:last-child {
  margin-bottom: 0;
}

.last-updated {
  color: var(--lapis) !important;
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-grid {
  display: grid;
  grid-template-columns: minmax(13rem, 0.3fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.document-index {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.document-index nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.document-index a {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-decoration: none;
}

.document-index a:hover {
  color: var(--lapis);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.support-card {
  position: sticky;
  top: 7rem;
  align-self: start;
  padding: 2rem;
  background: var(--lapis);
  color: var(--white);
}

.support-card span {
  color: var(--sun);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-card h2 {
  margin: 1rem 0;
  font-size: 2.4rem;
  text-transform: uppercase;
}

.support-card p {
  color: rgba(255, 253, 248, 0.76);
}

.support-card a {
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--clay);
  content: "+";
  font-family: var(--mono);
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 3rem 1.5rem 0;
  color: var(--ink-soft);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.support-note {
  margin-top: 3rem;
}

.reveal {
  animation: reveal 650ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-delay-1 { animation-delay: 100ms; }
.reveal-delay-2 { animation-delay: 190ms; }

@keyframes reveal {
  from {
    transform: translateY(1.2rem);
  }
}

@media (max-width: 900px) {
  .site-nav,
  .header-contact {
    display: none;
  }

  /* Centre the logo on mobile: a three-column track keeps the brand truly
     centred in the viewport rather than centred in the space the menu leaves. */
  .nav-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
  }

  .mobile-nav {
    display: block;
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }

  .hero-grid,
  .game-hero-grid,
  .game-feature,
  .catalog-secondary,
  .manifesto-grid,
  .story-grid,
  .screen-card,
  .screen-card-offset,
  .game-detail-grid,
  .document-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 4rem;
  }

  .hero-title {
    font-size: clamp(4.2rem, 16vw, 7rem);
  }

  .cover-link,
  .game-hero-grid .cover-link {
    width: min(100%, 42rem);
    justify-self: center;
  }

  .game-feature figure {
    max-height: 36rem;
  }

  .game-copy {
    min-height: 26rem;
  }

  .catalog-secondary {
    gap: 5rem;
  }

  .screen-card-offset .screen-mat,
  .screen-card-offset figcaption {
    grid-column: 1;
    grid-row: auto;
  }

  .screen-card-offset figcaption {
    order: 2;
  }

  .game-summary,
  .document-index,
  .support-card {
    position: static;
  }

  .document-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .nav-shell {
    min-height: 4.5rem;
  }

  .brand-mark {
    width: 2.7rem;
    height: 2.7rem;
  }

  .brand-name-primary {
    font-size: 1.15rem;
    letter-spacing: 0.15em;
  }

  .brand-name-secondary {
    font-size: 0.63rem;
    letter-spacing: 0.38em;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-title {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }

  .hero-title em {
    margin-left: 1.1rem;
  }

  .cover-frame,
  .screen-mat {
    padding: 0.55rem;
  }

  .cover-caption {
    align-items: flex-start;
    margin-left: 0.55rem;
  }

  .cover-caption strong {
    max-width: 11ch;
  }

  .cover-kicker {
    gap: 0.5rem;
    font-size: 0.55rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .meta-item,
  .meta-item:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .meta-item:last-child {
    border-bottom: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .story-title,
  .page-hero h1 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .game-copy {
    min-height: 0;
    padding: 2rem 1.25rem;
  }

  .catalog-topline {
    margin-bottom: 3rem;
  }

  .catalog-secondary {
    padding: 2rem 1.25rem;
  }

  .manifesto-quote {
    font-size: clamp(3.2rem, 16vw, 5.5rem);
  }

  .screen-card {
    gap: 1.5rem;
  }

  .screen-card figcaption strong {
    max-width: 14ch;
  }

  .contact-strip {
    padding: 3rem 1.25rem;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .document-index nav {
    grid-template-columns: 1fr;
  }

  .game-summary dl div {
    grid-template-columns: 5rem 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
