/* Layout: one wide column; section name left, content right. The dotted name is the only showpiece. */
:root {
  --bg: #242526;
  --line: #3b3c3c;
  --muted: #aaa7a1;
  --text: #d6d3cd;
  --light: #efece6;
  --display: "Familjen Grotesk", "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.125rem/1.6 var(--body); }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--light); outline-offset: 4px; border-radius: 2px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

.skip { position: absolute; left: -999px; top: 12px; padding: 8px 14px; background: var(--light); color: var(--bg); z-index: 2; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding-block: 20px; }
.brand { font: 700 1.125rem var(--display); color: var(--light); text-decoration: none; padding-block: 10px; }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; padding-block: 10px; transition: color .2s; }
nav a:hover { color: var(--light); }

.hero { padding-block: clamp(40px, 8vw, 88px) clamp(72px, 10vw, 120px); }
.name { position: relative; font: 700 clamp(7rem, 35vw, 25rem)/.95 var(--display); letter-spacing: -.02em; color: var(--light); }
.name-text { display: inline-block; }
.name.live .name-text { color: transparent; user-select: none; }
#dots { position: absolute; touch-action: pan-y; }
.lead { margin-top: 28px; font: 500 clamp(1.375rem, 2.6vw, 1.875rem)/1.35 var(--display); text-wrap: balance; }

.row { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding-block: clamp(48px, 7vw, 80px); scroll-margin-top: 8px; }
.row > * { min-width: 0; }
.row h2 { font: 500 1.125rem/1.6 var(--body); color: var(--muted); }
.row > :not(h2) { grid-column: 2; }
.game { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.game h3 { font: 700 clamp(2.25rem, 5vw, 3.75rem)/1.1 var(--display); color: var(--light); text-wrap: balance; }
.game p { margin-top: 10px; color: var(--muted); }
.text { max-width: 36em; font-size: 1.25rem; }
.mail { display: inline-block; margin-top: 10px; padding-block: 6px; color: var(--light); text-underline-offset: .25em; text-decoration-color: var(--muted); }
.mail:hover { text-decoration-color: var(--light); }
footer { padding-block: 48px 32px; color: var(--muted); font-size: 1rem; }

@media (max-width: 680px) {
  .row { grid-template-columns: 1fr; gap: 14px; }
  .row > :not(h2) { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  nav a { transition: none; }
}
