:root {
  color-scheme: light dark;
  --page: #FFE066;
  --head: #3A2C27;
  --ink: #3A2C27;
  --muted: #5E4636;
  --line: #3A2C27;
  --under: #3A2C27;
  --card: #FFF8EE;
  --press: #F1E3C8;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .09em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .75rem; background: var(--card); z-index: 1; }
.skip:focus { top: 1rem; }
main { flex: 1; }
.home { width: min(100%, 52rem); margin: auto; padding: clamp(2rem, 7vh, 5rem) 1.25rem 3rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
h1, h2, p { margin: 0; }
h1, h2 { color: var(--head); }
.identity { width: min(100%, 38rem); position: relative; }
/* Match r3's composition while keeping the wordmark independently replaceable. */
.wordmark { position: absolute; left: 1.89189%; top: 2.04545%; width: 81.08108%; height: auto; }
.games { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.cast { display: block; width: 100%; height: auto; }
.intro { max-width: 26ch; margin: 1.75rem 0 1.5rem; font-size: clamp(1.45rem, 4.8vw, 1.9rem); line-height: 1.35; font-weight: 750; text-wrap: balance; }
.contact { display: inline-block; padding: .85rem 1.35rem; border: 2.5px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: 0 4px 0 var(--under); font-size: 1rem; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.contact:hover { background: var(--press); }
.contact:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--under); }
footer { padding: 1.5rem 1rem; text-align: center; font-size: .9rem; font-weight: 600; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer p { margin-top: .5rem; }
.document { width: min(100%, 42rem); margin: auto; padding: clamp(2rem, 9vh, 6rem) 1.5rem; font-size: 1.125rem; line-height: 1.65; }
.back { display: inline-block; margin-bottom: 2rem; font-weight: 750; }
.document h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); line-height: 1.1; margin-bottom: 1.5rem; }
.document h2 { margin-top: 2rem; font-size: 1.5rem; }
.document p + p { margin-top: 1rem; }
.document a { overflow-wrap: anywhere; }
@media (prefers-color-scheme: dark) {
  :root {
    --page: #2A2118;
    --head: #FFE066;
    --ink: #FBEBD3;
    --muted: #D3BFA5;
    --line: #A08A70;
    --under: #120D09;
    --card: #3A2E24;
    --press: #4A3C2F;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact:active { transform: none; }
}
