@font-face { font-family: Archivo; font-weight: 400; font-display: swap; src: url(/fonts/archivo-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Archivo; font-weight: 600; font-display: swap; src: url(/fonts/archivo-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Archivo; font-weight: 800; font-display: swap; src: url(/fonts/archivo-latin-800-normal.woff2) format('woff2'); }

:root {
  --night: #04060a;
  --bone: #ede8e0;
  --dim: #9a958e;
  --rule: #23262d;
  --tide: #8fd3d6;
}
* { box-sizing: border-box; }
html { background: var(--night); color: var(--bone); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px; line-height: 1.6;
}
a { color: var(--bone); text-underline-offset: 3px; text-decoration-color: var(--tide); }
a:hover { color: var(--tide); }
:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

header.bar { border-bottom: 1px solid var(--rule); }
header.bar .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap; }
.mark { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; }
nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
nav a { text-decoration: none; color: var(--dim); }
nav a:hover, nav a[aria-current] { color: var(--bone); }

main { padding: 3rem 0 4rem; }
h1 { font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 1rem; }
h2 { font-weight: 800; font-size: 1.35rem; line-height: 1.25; margin: 2.6rem 0 0.6rem; }
h3 { font-weight: 600; font-size: 1.05rem; margin: 1.6rem 0 0.3rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.35rem; }
.lede { font-size: 1.2rem; color: var(--bone); max-width: 36rem; }
.meta { color: var(--dim); font-size: 0.95rem; }
.note { border-left: 2px solid var(--tide); padding: 0.2rem 0 0.2rem 1rem; margin: 1.5rem 0; }
strong { font-weight: 600; }

/* Studio home */
.isle { margin: 0 0 2.5rem; }
.isle h1 { font-size: clamp(3rem, 10vw, 5.5rem); margin-bottom: 0.4rem; }
.game { display: block; margin: 2rem 0 0; text-decoration: none; }
.game img { display: block; width: 100%; height: auto; border-radius: 6px; }
.game .cap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 0.8rem; }
.game .cap b { font-weight: 800; font-size: 1.25rem; }
.game .cap span { color: var(--dim); }
.links { list-style: none; padding: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }

footer { border-top: 1px solid var(--rule); color: var(--dim); font-size: 0.9rem; }
footer .wrap { padding-top: 1.4rem; padding-bottom: 2rem; display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--dim); }
