:root {
  color-scheme: dark;
  --background: #100f0d;
  --surface: #191611;
  --ink: #f7f0e5;
  --muted: #c9c0b1;
  --gold: #e4bd72;
  --edge: #453927;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 400 1rem/1.8 system-ui, "Hiragino Sans", "Yu Gothic", sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: .25em; }
a:hover { color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 69rem); margin-inline: auto; }
.header { border-bottom: 1px solid var(--edge); }
.bar { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; }
nav a { color: var(--muted); font-size: .875rem; text-decoration: none; }
nav a:hover { color: var(--gold); }
.wordmark { color: var(--ink); font: 700 1.125rem/1 Georgia, serif; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--gold); }
main { min-height: 65vh; }
.skip { position: absolute; top: -4rem; left: 1rem; background: var(--background); padding: .5rem; }
.skip:focus { top: 1rem; z-index: 2; }
.brand-hero, .game-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1rem, 5vw, 5rem); padding-block: clamp(2rem, 6vw, 5rem); }
.brand-copy h1 {
  margin: 0;
  font: 400 clamp(3rem, 8vw, 7rem)/.96 Georgia, serif;
  letter-spacing: -.055em;
  color: var(--gold);
}
.brand-copy p, .game-copy p, .section > p { color: var(--muted); }
.brand-copy p, .game-copy p { margin-block: 1.4rem; font-size: 1.125rem; }
.brand-art { width: 100%; aspect-ratio: 1; border: 1px solid var(--edge); }
.button { display: inline-flex; align-items: baseline; gap: .75rem; padding: .65rem 1.05rem; border: 1px solid var(--gold); color: var(--gold); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
a.button:hover { color: var(--background); background: var(--gold); }
.status { border-color: var(--edge); background: var(--surface); }
.section { margin-bottom: clamp(2.5rem, 7vw, 5rem); scroll-margin-top: 1rem; }
h2 { margin: 0 0 1rem; color: var(--ink); line-height: 1.45; }
.game-card { display: grid; grid-template-columns: 1fr .85fr; align-items: center; background: var(--surface); border: 1px solid var(--edge); }
.game-card > a, .game-card img { width: 100%; }
.game-card .game-copy { padding: clamp(1.25rem, 5vw, 3rem); }
.game-card h3 { margin: 0; font-size: clamp(1.25rem, 3vw, 2rem); }
.game-hero h1 { margin: 0; }
.key-art { border: 1px solid var(--edge); }
.dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dishes figure { margin: 0; border: 1px solid var(--edge); background: var(--surface); text-align: center; }
.dishes img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.dishes figcaption { padding: .65rem; color: var(--muted); border-top: 1px solid var(--edge); }
.support { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; list-style: none; padding: 0; }
.article { width: min(100%, 46rem); margin-inline: auto; padding-block: clamp(2rem, 6vw, 4.5rem); overflow-wrap: anywhere; }
.article h1 { margin: .5rem 0 1.4rem; font-size: clamp(1.75rem, 5vw, 3rem); line-height: 1.3; }
.article h2 { padding-top: .8rem; margin: 2rem 0 .55rem; border-top: 1px solid var(--edge); font-size: 1.25rem; }
.article p { margin: .75rem 0; }
.updated, .related, .back { font-size: .875rem; }
.updated, .article dd { color: var(--muted); }
.article dt { margin-top: 1rem; font-weight: 700; }
.article dd { margin: .2rem 0 0; }
details { border-bottom: 1px solid var(--edge); }
summary { cursor: pointer; padding: .8rem 0; font-weight: 600; }
details p { padding-bottom: .5rem; color: var(--muted); }
.footer { border-top: 1px solid var(--edge); color: var(--muted); }
.footer .bar { padding-block: 1rem; }
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .bar { flex-wrap: wrap; min-height: 3.75rem; }
  .brand-hero, .game-hero, .game-card { grid-template-columns: minmax(0, 1fr); }
  .game-hero .key-art { grid-row: 1; }
  .brand-art { width: min(100%, 21rem); }
  .wide { display: none; }
  .footer .bar { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
