/* khomby.co.uk: the look shared by every page (Kevin, 2026-11-15). The game's fonts and paper-and-wood colours. */
@font-face { font-family: 'Coiny'; src: url('/coiny.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('/rubik.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --paper: #e8dcc8;
  --card: #f3ebde;
  --wood: #4a2c17;
  --soft: #7a5a3e;
  --line: #cdbb9f;
}

* { box-sizing: border-box; margin: 0; }

body {
  min-height: 100svh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--wood);
  font: 400 17px/1.6 'Rubik', system-ui, sans-serif;
}

a { color: var(--wood); text-underline-offset: 3px; }
a:hover { color: var(--soft); }

/* Header on the inner pages: the studio name, back to home. */
.site-head { padding: 18px 16px 0; text-align: center; }
.site-head a { font: 400 22px/1.2 'Coiny', system-ui, sans-serif; color: var(--soft); text-decoration: none; }

/* The page's words, in one readable column. */
main.page { width: 100%; max-width: 720px; margin: 0 auto; padding: 24px 16px 40px; flex: 1; }
main.page h1 { font: 400 clamp(30px, 8vw, 44px)/1.15 'Coiny', system-ui, sans-serif; margin-bottom: 6px; }
main.page .updated { color: var(--soft); font-size: 15px; margin-bottom: 24px; }
main.page h2 { font-size: 21px; font-weight: 700; margin: 28px 0 8px; }
main.page h3 { font-size: 18px; font-weight: 700; margin: 20px 0 6px; }
main.page p, main.page ul, main.page ol { margin-bottom: 12px; }
main.page ul, main.page ol { padding-left: 24px; }
main.page li { margin-bottom: 4px; }

/* A note box, e.g. "this page is being written". */
.note { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 16px 0; }

/* Footer on every page. */
.site-foot { border-top: 1px solid var(--line); padding: 18px 16px 24px; text-align: center; font-size: 15px; color: var(--soft); }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.site-foot a { color: var(--soft); }
