:root {
  color-scheme: light;
  --paper: #f0ece3;
  --ink: #23211e;
  --muted: #68645e;
  --line: #cbc5bb;
  --red: #c63323;
  --heading: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.wordmark { font: 800 44px/.8 var(--heading); letter-spacing: -2px; font-style: italic; }
.logo, .age-brand { display: flex; gap: 13px; align-items: center; }
.logo > span:last-child, .age-brand > span:last-child { max-width: 84px; font-size: 9px; font-weight: 700; letter-spacing: 2px; }
.logo::before { content: ""; width: 8px; height: 36px; background: var(--red); transform: skew(-13deg); margin-right: 3px; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 600; }
nav button { background: none; border: 0; padding: 8px 0; }
nav a:hover, nav button:hover, .text-button:hover { color: var(--red); }
nav button span { margin-left: 5px; }
.age-label { padding: 7px 8px; color: var(--red); border: 1px solid currentColor; font-size: 12px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; margin: 0 0 18px; }
.intro { display: grid; grid-template-columns: 1.8fr 1fr; gap: 42px; align-items: end; padding-block: 55px 48px; }
.intro h1 { font: 800 clamp(60px, 7.8vw, 112px)/.86 var(--heading); letter-spacing: -2.8px; margin: 0; }
.intro h1 span { color: var(--red); }
.intro-aside { border-left: 1px solid var(--line); padding-left: 35px; }
.intro-aside p { font-size: 12px; line-height: 1.7; margin: 15px 0 17px; color: var(--muted); }
.intro-aside a { font-size: 12px; font-weight: 700; display: flex; justify-content: space-between; }
.intro-aside a:hover { color: var(--red); }
.language-mark { position: relative; font: 700 48px/.78 var(--heading); letter-spacing: -1.5px; display: inline-flex; gap: 6px; }
.language-mark span { color: var(--red); }
.language-mark i { position: absolute; top: -6px; right: -27px; color: var(--red); font: normal 25px Inter, sans-serif; }
.catalogue { border-top: 4px solid var(--ink); padding-top: 22px; scroll-margin-top: 20px; }
.catalogue-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.catalogue-top h2 { font: 700 34px/1 var(--heading); margin: 0; }
.catalogue-top > span { font-size: 11px; color: var(--muted); }
.catalogue-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { border: 1px solid transparent; background: transparent; border-radius: 30px; padding: 8px 13px; font-size: 11px; font-weight: 600; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tabs button:hover { border-color: var(--ink); }
.search { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #8c857b; padding-block: 7px; width: 228px; }
.search input { width: 100%; min-width: 0; border: 0; background: transparent; font-size: 11px; }
.search input::placeholder { color: var(--muted); }
.search span:last-child { font-size: 23px; line-height: .8; }
.project-row { display: grid; grid-template-columns: 1fr 125px 165px; gap: 24px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line); }
.project-row h3 { margin: 0; font: 700 clamp(32px, 3.5vw, 47px)/.95 var(--heading); letter-spacing: -.5px; }
.project-row p { color: var(--muted); font-size: 10px; margin: 9px 0 0; overflow-wrap: anywhere; }
.project-state { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.project-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.project-row a { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid var(--ink); padding: 12px 15px; font-size: 11px; font-weight: 600; }
.project-row a span { font-size: 20px; line-height: 1; }
.project-row a:hover { background: var(--ink); color: var(--paper); }
.note { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding-block: 35px; margin-top: 45px; border-top: 1px solid var(--line); }
.note h2 { margin: 0; font: 700 23px/1 var(--heading); letter-spacing: .2px; }
.note blockquote { font-size: 13px; line-height: 1.8; margin: 0; color: var(--muted); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--ink); padding-block: 22px 28px; }
.footer .wordmark { font-size: 30px; }
.footer > span { font-size: 9px; letter-spacing: 1.2px; color: var(--muted); }
.footer button { background: none; border: 0; font-size: 10px; font-weight: 600; }
.no-results { padding: 38px 0; text-align: center; border-bottom: 1px solid var(--line); }
.no-results p { font-size: 14px; }
.text-button { border: 0; background: none; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 15px 20px; background: var(--red); color: #fff; border: 1px solid var(--red); font-size: 12px; font-weight: 700; min-height: 46px; }
.button:hover { background: #a6271a; border-color: #a6271a; }
.age-screen { min-height: 100vh; min-height: 100svh; padding: 40px max(24px, 5vw); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.age-brand { align-self: flex-start; margin-bottom: auto; }
.age-panel { display: grid; grid-template-columns: .85fr 1.25fr; gap: 50px; align-items: center; width: min(780px, 100%); padding-block: 60px; }
.age-number { color: var(--red); font: 800 clamp(140px, 21vw, 270px)/.8 var(--heading); letter-spacing: -10px; }
.age-copy { border-left: 1px solid var(--line); padding-left: 40px; }
.age-copy h1 { font: 800 62px/.9 var(--heading); margin: 0; letter-spacing: -1px; }
.age-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 22px 0; }
.age-copy .text-button { display: block; margin-top: 12px; }
.age-caption { align-self: flex-end; margin-top: auto; font-size: 9px; letter-spacing: 1.6px; color: var(--muted); }
dialog { width: min(550px, calc(100% - 32px)); max-height: calc(100vh - 40px); border: 0; padding: 0; background: var(--paper); color: var(--ink); border-top: 5px solid var(--red); }
dialog::backdrop { background: #171411c9; backdrop-filter: blur(4px); }
body:has(dialog[open]) { overflow: hidden; }
.modal-inner { position: relative; padding: 34px; }
.modal-close { position: absolute; right: 16px; top: 12px; background: none; border: 0; font-size: 28px; }
.modal-inner h2 { font: 700 44px/.95 var(--heading); margin: 12px 25px 18px 0; }
.modal-inner h3 { font: 700 24px/1 var(--heading); margin: 0 0 12px; }
.modal-inner p, .modal-inner li { font-size: 13px; line-height: 1.8; }
.modal-inner .game-version { padding: 12px; border: 1px solid var(--line); overflow-wrap: anywhere; }
.download-panel { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.download-panel a { margin: 8px 8px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; background: var(--ink); color: var(--paper); z-index: 5; }
.skip-link:focus { top: 16px; }
@media(max-width:900px) {
  .wrap { width: calc(100% - 48px); }
  .intro { gap: 24px; grid-template-columns: 1.7fr 1fr; }
  .intro h1 { font-size: clamp(58px, 9vw, 83px); letter-spacing: -1.8px; }
  .intro-aside { padding-left: 20px; }
  .project-row { grid-template-columns: 1fr 110px 140px; gap: 18px; }
}
@media(max-width:620px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 76px; gap: 14px; }
  .wordmark { font-size: 37px; }
  .logo { gap: 8px; }
  .logo > span:last-child { font-size: 7px; letter-spacing: 1px; }
  .logo::before { width: 5px; height: 29px; margin-right: 0; }
  nav { gap: 14px; font-size: 10px; }
  nav > a { display: none; }
  .age-label { padding: 5px; font-size: 10px; }
  .intro { grid-template-columns: 1fr; padding-block: 38px; gap: 22px; }
  .intro h1 { font-size: clamp(55px, 12vw, 76px); letter-spacing: -1.5px; }
  .intro-aside { border-left: 0; padding-left: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; }
  .language-mark { display: none; }
  .intro-aside p { margin: 0; font-size: 11px; }
  .intro-aside a { font-size: 10px; gap: 10px; }
  .catalogue-controls { align-items: stretch; flex-direction: column; gap: 10px; }
  .search { width: 100%; }
  .tabs button { padding-inline: 12px; }
  .project-row { grid-template-columns: 1fr auto; padding-block: 22px; gap: 17px 10px; }
  .project-row > div:first-child { grid-column: 1 / -1; }
  .project-row h3 { font-size: 37px; }
  .project-row a { padding: 10px 13px; min-width: 150px; }
  .note { grid-template-columns: 1fr; gap: 15px; margin-top: 30px; padding-block: 26px; }
  .note h2 br { display: none; }
  .note blockquote { font-size: 12px; }
  .footer { gap: 16px; flex-wrap: wrap; }
  .footer > span { font-size: 8px; flex: 1; line-height: 1.6; }
  .footer button { width: 100%; text-align: left; padding-left: 0; }
  .age-screen { padding: 28px 24px; }
  .age-panel { grid-template-columns: 1fr; gap: 26px; padding-block: 42px; max-width: 380px; }
  .age-number { font-size: 120px; letter-spacing: -5px; }
  .age-copy { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
  .age-copy h1 { font-size: 54px; }
  .age-copy .eyebrow { font-size: 10px; }
  .age-caption { font-size: 8px; }
  .modal-inner { padding: 28px 23px; }
}
@media(prefers-reduced-motion:reduce) { :root { scroll-behavior: auto; } dialog::backdrop { backdrop-filter: none; } }
