/* Tiltshot Studio: neutral page, one loud thing (the tilted, framed wordmark) */
@font-face {
  font-family: "Grenze Gotisch";
  src: url("/assets/fonts/grenze-gotisch.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-ext.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f3f4f2;
  --panel: #ffffff;
  --ink: #15181b;
  --muted: #5c636a;
  --line: #d9ddda;
  --cobalt: #1d4ed8;
  --jade: #0e9f6e;
  --link: #1d4ed8;
  --brand: linear-gradient(100deg, var(--cobalt) 8%, var(--jade) 92%);
  --display: "Grenze Gotisch", "UnifrakturMaguntia", Georgia, serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1213; --panel: #161a1b; --ink: #e9ecea; --muted: #9aa3a8; --line: #262c2e;
    --cobalt: #6d93ff; --jade: #34d399; --link: #8fb0ff; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1213; --panel: #161a1b; --ink: #e9ecea; --muted: #9aa3a8; --line: #262c2e;
  --cobalt: #6d93ff; --jade: #34d399; --link: #8fb0ff; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  font-feature-settings: "ss01";
}
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 980px; margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
}

/* ---------- wordmark in a tilted viewfinder ---------- */
.mark { display: inline-block; text-decoration: none; color: inherit; }
.wordmark {
  font-family: var(--display); font-weight: 700; line-height: 0.9; letter-spacing: -0.01em;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0;
}
.mark small {
  display: block; font-family: var(--body); font-weight: 500; color: var(--muted);
  letter-spacing: 0.02em;
}

.hero { padding: clamp(56px, 12vh, 140px) 0 clamp(40px, 8vh, 96px); }
.frame {
  position: relative; display: inline-block;
  padding: clamp(18px, 3.2vw, 34px) clamp(22px, 4vw, 44px) clamp(16px, 2.6vw, 28px);
  transform: rotate(-4deg); transform-origin: 30% 60%;
  animation: tilt 1.1s cubic-bezier(.2,.8,.2,1) 0.15s both;
}
.frame .wordmark { font-size: clamp(76px, 17vw, 184px); }
.frame small { font-size: clamp(15px, 1.7vw, 19px); margin: 6px 0 0 0.35em; }
.corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--ink); opacity: 0.85; }
.corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.rec {
  position: absolute; top: 10px; right: 38px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--jade); box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 25%, transparent);
}
@keyframes tilt { from { transform: rotate(0deg); } to { transform: rotate(-4deg); } }

.lede { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.4; max-width: 30ch; margin: clamp(36px, 6vw, 56px) 0 0; }

/* ---------- sections ---------- */
.block { border-top: 1px solid var(--line); padding: 36px 0 44px; display: grid; grid-template-columns: 180px 1fr; gap: 12px 32px; }
.block > h2 { font-size: 17px; font-weight: 600; margin: 4px 0 0; color: var(--muted); }
@media (max-width: 680px) { .block { grid-template-columns: 1fr; } }

.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 600px) { .games { grid-template-columns: 1fr; gap: 22px; } }
.game { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; }
.game img { width: 84px; height: 84px; border-radius: 20px; display: block; box-shadow: 0 1px 0 var(--line); }
.game h3 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.2; }
.game p { margin: 2px 0 0; color: var(--muted); }

.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.addr { font-size: clamp(20px, 2.6vw, 26px); font-weight: 500; overflow-wrap: anywhere; }
button.copy {
  font: 500 15px var(--body); color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer;
}
button.copy:hover { border-color: var(--muted); }

.site-foot {
  border-top: 1px solid var(--line); padding: 22px 0 40px; color: var(--muted); font-size: 15px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.site-foot a { color: var(--muted); }
.site-foot span { margin-right: auto; }
@media (max-width: 520px) { .site-foot span { flex-basis: 100%; } }

/* ---------- text pages (privacy, legal, pitch) ---------- */
.top { padding: 28px 0 8px; }
.top .wordmark { font-size: 44px; }
.top small { font-size: 13px; margin: 2px 0 0 0.3em; }
.doc { max-width: 68ch; padding: 24px 0 48px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); line-height: 1.15; margin: 18px 0 6px; font-weight: 600; letter-spacing: -0.01em; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 21px; margin: 34px 0 8px; font-weight: 600; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 1.2em; }
.doc ul.go { padding-left: 0; }
.doc li + li { margin-top: 4px; }
.summary { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px 10px; margin: 8px 0 8px; }
.path { font-weight: 600; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 18px 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; gap: 2px 0; } dl.facts dd { margin-bottom: 10px; } }

@media (prefers-reduced-motion: reduce) { .frame { animation: none; } }
