:root {
  color-scheme: dark;
  --bg: #000;
  --text: #fff;
  --muted: #a3a3a3;
  --line: #252525;
  --section-space: clamp(56px, 7vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Arial, Helvetica, sans-serif; }
body.intro-active { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
/* Main is a focus destination after the intro, not an interactive control. */
#main:focus { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
p { color: var(--muted); }
.wrap { width: min(1080px, 88%); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 6%; padding: 12px; background: #fff; color: #000; z-index: 5; }
.skip:focus { top: 12px; }
nav { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; font-size: 24px; font-weight: 900; letter-spacing: -1px; }
.brand-ring { object-fit: contain; filter: invert(1); width: 38px; height: 38px; flex-shrink: 0; align-self: center; animation: halo-spin 6s linear infinite; }
@keyframes halo-spin { to { transform: rotate(360deg); } }
.brand span { font: 10px monospace; letter-spacing: 2px; }
.navlinks { display: flex; flex-wrap: wrap; gap: 32px; font-size: 13px; }
.navlinks a[href]:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.forum-link { cursor: default; color: var(--muted); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 32px; padding-block: 32px 64px; }
.hero-copy { padding-block: 32px; }
h1 { font-size: clamp(56px, 6.8vw, 94px); font-weight: 500; line-height: 1.03; letter-spacing: -.065em; }
.hero-copy p { margin-top: 28px; font-size: 15px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 28px; padding: 12px 20px; background: #fff; color: #000; border: 1px solid #fff; font-size: 13px; font-weight: 700; }
.button:hover { background: #000; color: #fff; }
.hero-art { width: 100%; max-width: 370px; justify-self: end; pointer-events: none; }
.hero-art img { display: block; width: 100%; height: auto; }
.section { padding-block: var(--section-space); border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; font-weight: 500; letter-spacing: -.04em; }
h3 { font-size: 16px; font-weight: 500; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading p { font-size: 13px; }
.server { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.server-note { color: var(--muted); font-size: 12px; }
#servers { padding-bottom: 0; }
#carl { border-top: 0; }
.creator { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 7vw, 88px); }
.portrait { width: min(100%, 320px); justify-self: center; }
.portrait img { display: block; width: 100%; height: auto; }
.creator-copy > p { margin-block: 16px 28px; font-size: 14px; }
.channel { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.channel-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.channel-logo { display: block; flex-shrink: 0; object-fit: contain; }
.channel small { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.channel:hover small { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
footer { border-top: 1px solid var(--line); padding-block: 28px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top { font-size: 11px; }
.footer-name { font-weight: 700; letter-spacing: 1px; }
.forum-note { color: var(--muted); }
.footer-bottom { margin-top: 20px; }
.footer-bottom p { font-size: 10px; }
.footer-bottom button { padding: 4px 0; border: 0; background: none; font-size: 11px; white-space: nowrap; }
.footer-bottom button:hover { text-decoration: underline; }
.intro { position: fixed; inset: 0; z-index: 100; background: #000; }
.intro:focus { outline: none; }
.intro canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 800px) {
  .hero { gap: 16px; }
  h1 { font-size: clamp(44px, 7vw, 64px); }
  .creator { gap: 32px; }
}
@media (max-width: 600px) {
  nav { min-height: 76px; flex-wrap: wrap; gap: 0; padding-block: 18px; }
  .menu-toggle { display: block; }
  .navlinks { width: 100%; padding-top: 20px; gap: 28px; }
  .navlinks[data-collapsible="true"] { display: none; }
  .navlinks.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 40px 48px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(52px, 12vw, 72px); }
  .hero-copy p { margin-top: 20px; font-size: 14px; }
  .button { margin-top: 24px; }
  .hero-art { max-width: 270px; justify-self: center; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading p { margin-top: 12px; }
  .server { gap: 12px; flex-wrap: wrap; }
  .server-note { font-size: 11px; }
  .creator { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { flex-wrap: wrap; gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .brand-ring { animation: none; } }
