/* The Manuale: the site reads as the manual of a game of the 1980s. Two faces,
   four stripes, numbered sections, and the palette the visitor's system asks
   for. Nothing on the page switches it, because the page runs no script: dark
   is the base and lives in :root, light is the second palette below. */
:root {
  color-scheme: dark light;
  --paper: #0e0f11;
  --ink: #efe9dc;
  --soft: #98948a;
  --rule: #2c2d30;
  --hot: oklch(0.72 0.17 55);
  /* The text inside the filled tag and the filled button: near black on the
     orange, 7.23:1. The light palette swaps it for the paper. */
  --hot-ink: #111111;
  --stripe-warm: oklch(0.72 0.17 55);
  --stripe-red: oklch(0.72 0.17 25);
  --stripe-violet: oklch(0.72 0.12 300);
  --stripe-blue: oklch(0.72 0.12 230);
  --face-display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --face-body: "IBM Plex Mono", "Courier New", monospace;
  --frame-width: 77.5rem;
  --frame-gutter: 1.25rem;
  --measure: 62ch;
  --stripe-height: 9px;
  --stripe-gap: 5px;
  --label-size: 0.875rem;
  --label-tracking: 0.08em;
  --rule-weight: 1px;
  --rule-weight-strong: 2px;
}
@media (prefers-color-scheme: light) {
  :root {
    --paper: #efe9dc;
    --ink: #141414;
    --soft: #5e5a52;
    --rule: #cfc8b8;
    /* oklch(0.55 0.17 45), the value on the canvas, gives 4.30:1 on this paper
       and 3.63:1 for dark text inside the filled tag, both under the 4.5:1 of
       AA. At 0.50 the accent is 5.31:1, and the text inside the filled tag
       takes the paper for the same 5.31:1. */
    --hot: oklch(0.50 0.17 45);
    --hot-ink: #efe9dc;
  }
}
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/big-shoulders-display-800.088f423f09.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/ibm-plex-mono-400.08949f728d.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/ibm-plex-mono-500.01d2854474.woff2) format("woff2");
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--face-body);
  font-size: 100%; line-height: 1.6; }
body { margin: 0; min-height: 100vh; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; border-bottom: var(--rule-weight-strong) solid var(--hot); }
a:hover { color: var(--hot); }
a:focus-visible { outline: var(--rule-weight-strong) solid var(--hot); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--hot); color: var(--hot-ink);
  border-bottom: none; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; z-index: 1; }
.page-frame { width: min(100% - 2 * var(--frame-gutter), var(--frame-width)); margin-inline: auto; }
/* Head of the manual: the kicker and the navigation on one line above the
   masthead, which on the home is the word itself and elsewhere a link back. */
.site-header { display: flex; flex-direction: column; gap: .75rem; padding-block: 1.75rem;
  font-size: var(--label-size); text-transform: uppercase; letter-spacing: var(--label-tracking); }
.site-kicker { margin: 0; }
.mast-link { font-family: var(--face-display); font-weight: 800; font-size: 1.625rem;
  letter-spacing: .02em; border-bottom: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { border-bottom: var(--rule-weight-strong) solid transparent; }
.site-nav a[aria-current="page"], .site-nav a:hover { border-bottom-color: var(--hot); }
.mast { font-family: var(--face-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; letter-spacing: .005em; font-size: clamp(5rem, 16.4vw, 14.75rem); margin: .75rem 0 0; }
.stripes { display: flex; flex-direction: column; gap: var(--stripe-gap); margin-block-start: 1.75rem; }
.stripe { display: block; height: var(--stripe-height); }
.stripe-warm { background: var(--stripe-warm); }
.stripe-red { background: var(--stripe-red); }
.stripe-violet { background: var(--stripe-violet); }
.stripe-blue { background: var(--stripe-blue); }
/* A chapter opens on a solid rule, with its number on the left and a note on
   the right: the size is the small label size, so the bar never competes with
   the display type under it. */
.section-bar { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: .875rem;
  border-top: var(--rule-weight-strong) solid var(--ink); color: var(--soft);
  font-size: var(--label-size); text-transform: uppercase; letter-spacing: var(--label-tracking); }
.section-name, .section-note { margin: 0; font-size: inherit; font-weight: 500; letter-spacing: inherit; }
.creed { display: grid; gap: 2rem; padding-block: 3rem 4rem; }
.creed-title { font-family: var(--face-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; font-size: clamp(2.875rem, 9vw, 4.125rem); margin: 0; }
.creed-motto p { margin: 0 0 1.125rem; max-width: var(--measure); }
.title-row { display: grid; gap: .375rem; padding-block: 1.75rem 2.25rem;
  border-top: var(--rule-weight) solid var(--rule); }
.title-number { font-family: var(--face-display); font-weight: 800; color: var(--hot);
  font-size: 2.5rem; line-height: .9; margin: 0; }
.title-name { font-family: var(--face-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; font-size: clamp(3.5rem, 13vw, 7.75rem); margin: 0; overflow-wrap: anywhere; }
.title-name a { border-bottom: none; }
.title-rereads { color: var(--soft); margin: .875rem 0 0; }
.title-question-text { font-size: 1.1875rem; line-height: 1.5; margin: .75rem 0 1.125rem;
  max-width: var(--measure); }
.state-tag { display: inline-block; margin: 0; font-size: .8125rem; text-transform: uppercase;
  letter-spacing: var(--label-tracking); border: var(--rule-weight) solid var(--ink); padding: .375rem .625rem; }
.state-tag-live { background: var(--hot); border-color: var(--hot); color: var(--hot-ink); }
.note-list { display: grid; gap: 2rem; list-style: none; margin: 0; padding: 0 0 4rem;
  border-top: var(--rule-weight) solid var(--rule); padding-block-start: 2.25rem; }
.note-index { list-style: none; margin: 0; padding: 0; }
.note-index-item { padding-block: 1.75rem; border-top: var(--rule-weight) solid var(--rule); }
.note-date { color: var(--soft); margin: 0; font-size: var(--label-size);
  text-transform: uppercase; letter-spacing: var(--label-tracking); }
.note-title { font-family: var(--face-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; font-size: 2.25rem; margin: .625rem 0 .75rem; }
.note-title a { border-bottom: none; }
.note-summary { color: var(--soft); margin: 0; max-width: var(--measure); }
.game-title { font-family: var(--face-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; font-size: clamp(4.875rem, 18vw, 15.625rem); margin: 1.75rem 0 0; }
.game-open { display: grid; gap: 2rem; padding-block: 1.75rem 3.5rem; }
.game-lede { font-size: 1.15rem; line-height: 1.5; margin: 0 0 1.5rem; max-width: var(--measure); }
.game-meta { color: var(--soft); margin: 0 0 2rem; }
.action-button { display: inline-flex; align-items: center; min-height: 3.25rem; padding-inline: 1.625rem;
  background: var(--hot); color: var(--hot-ink); border-bottom: none; font-size: .9375rem;
  text-transform: uppercase; letter-spacing: var(--label-tracking); font-weight: 500; }
.action-button:hover { background: var(--ink); color: var(--paper); }
.action-hint { color: var(--soft); font-size: var(--label-size); margin: 1rem 0 0; }
.statement-row { display: grid; gap: 1.5rem; padding-block: 2.5rem 4.5rem; }
.statement { font-family: var(--face-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; font-size: 2.625rem; margin: 0; }
.statement-body p { margin: 0 0 1rem; max-width: var(--measure); }
.particulars { margin: 0; padding-block: .5rem 4rem; }
.particular { display: grid; gap: .125rem; padding-block: .875rem;
  border-bottom: var(--rule-weight) solid var(--rule); }
.particular-label { color: var(--soft); text-transform: uppercase; font-size: var(--label-size);
  letter-spacing: var(--label-tracking); }
.particular-value { margin: 0; font-weight: 500; }
.game-figure { margin: 0; padding-block-end: 4rem; }
.game-gallery-figure { margin: 0; padding-block-end: 3rem; }
.game-gallery-figure img { display: block; width: 100%; height: auto; }
.game-gallery-figure figcaption { color: var(--soft); margin: 1rem 0 0; max-width: var(--measure); }
.game-trailer { margin: 0; padding-block-end: 3rem; }
.game-trailer video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  background: #000; }
.game-trailer figcaption { color: var(--soft); margin: 1rem 0 0; max-width: var(--measure); }
.press { display: grid; gap: 2rem; padding-block: 2.5rem 5rem; }
.press-list { display: flex; flex-direction: column; gap: .875rem; list-style: none; margin: 0; padding: 0; }
.press-list li, .press-note { max-width: var(--measure); }
.press-note { margin: 0; }
.page-title { font-family: var(--face-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; font-size: clamp(3rem, 11vw, 5.5rem); margin: 2rem 0 1.5rem; }
.entry-date { color: var(--soft); margin: 0 0 1.5rem; font-size: var(--label-size);
  text-transform: uppercase; letter-spacing: var(--label-tracking); }
/* The opening line of a page that is prose: one size up from the body, and no
   wider than the measure. The log index and the home both use it. */
.lede { font-size: 1.15rem; line-height: 1.5; margin: 0 0 1.5rem; max-width: var(--measure); }
.page-prose { padding-block-end: 4rem; }
.page-prose h2 { font-family: var(--face-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; font-size: 2rem; margin: 2.5rem 0 .75rem; padding-block-start: 1rem;
  border-top: var(--rule-weight-strong) solid var(--ink); }
.page-prose p, .page-prose li { max-width: var(--measure); }
.page-prose ul { padding-inline-start: 1.25rem; }
.site-footer { border-top: var(--rule-weight-strong) solid var(--ink); padding-block: 1.5rem 3.5rem;
  font-size: var(--label-size); text-transform: uppercase; letter-spacing: var(--label-tracking); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 44rem) {
  :root { --frame-gutter: 3rem; }
  .site-header { flex-direction: row; justify-content: space-between; align-items: center; gap: 1.5rem; }
  .site-nav ul { gap: 2rem; }
  .creed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; padding-block: 4.5rem 6rem; }
  .title-row { grid-template-columns: 6rem minmax(0, 5fr) minmax(0, 4fr); gap: 2rem;
    align-items: start; padding-block: 2.25rem 2.75rem; }
  /* The middle column grows slower than the viewport, so the title follows the column. */
  .title-name { font-size: clamp(3.5rem, 12vw - 2rem, 7.75rem); }
  .title-number { font-size: 4.125rem; }
  .note-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .note-title { font-size: 2.75rem; }
  .game-open { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem;
    align-items: start; padding-block: 2.5rem 4.5rem; }
  .statement-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; padding-block: 2.5rem 5.5rem; }
  .statement { font-size: 3.625rem; }
  .particular { grid-template-columns: 15rem minmax(0, 1fr); gap: 1.5rem; }
  .press { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
  .page-prose h2 { font-size: 2.5rem; }
}
/* The only !important of the sheet: a visitor who asks for less motion must
   win over any rule added later, and there is no other way to say it. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
