@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/jetbrains-mono-400.woff2") format("woff2");
}

:root {
  --bg: #0a0a0a;
  --text: #f0f0f0;
  --accent: #ff3300;
  --surface: #1a1a1a;
  --muted: #8a8a8a;
  --label: #9a9a9a;
  --rule: #2a2a2a;
  --max: 1080px;
  --pulse: 3px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.skip:focus {
  left: 16px;
  outline-color: #fff;
}

.pulse {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--pulse);
  height: 100%;
  background: var(--accent);
  z-index: 50;
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: 64px;
  gap: 16px;
}
.header-inner .brand { justify-self: start; }
.header-inner nav.primary { justify-self: center; flex: none; }
.header-inner .langs { justify-self: end; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
  display: block;
}

.brand-mark .god-dot {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-mark .god-dot {
    animation: pulse-dot 2.8s ease-in-out infinite;
  }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
}

.status-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 8px;
  white-space: nowrap;
  margin-left: 4px;
}

nav.primary {
  display: flex;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c8c8c8;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}

nav.primary a[href="#sound"] { color: var(--accent); }

.langs {
  display: flex;
  list-style: none;
  gap: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  border: 1px solid var(--rule);
  flex: none;
}

.langs a,
.langs button {
  display: block;
  padding: 5px 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  color: var(--muted);
}

.langs a[aria-current="true"],
.langs button[aria-current="true"] {
  background: var(--accent);
  color: #fff;
}

.langs a:hover,
.langs button:hover {
  color: var(--text);
}

.langs a[aria-current="true"]:hover,
.langs button[aria-current="true"]:hover {
  color: #fff;
}

main { display: block; }

.hero {
  position: relative;
  padding: 88px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.lockup {
  width: min(540px, 100%);
  margin: 0 0 40px;
}

.creed {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.creed .god { color: var(--accent); }

.ibwt {
  margin-top: 36px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-status {
  margin-top: 28px;
  max-width: 52ch;
  color: var(--label);
  font-size: 15px;
  line-height: 1.55;
}

section {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}

.kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 28px;
}

.lead { max-width: 62ch; }
.lead p + p { margin-top: 1em; }
em.term, .lead em { font-style: italic; }

#sound {
  background: linear-gradient(180deg, #0a0a0a 0%, #100808 18%, #100808 82%, #0a0a0a 100%);
  position: relative;
}

.nave {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 56px;
  align-items: start;
}

.stack {
  width: 160px;
  height: auto;
  position: sticky;
  top: 96px;
}

.quote {
  margin: 36px 0 28px;
  padding: 8px 0 8px 24px;
  border-left: 3px solid var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 48ch;
}

.sound-note {
  max-width: 58ch;
  color: #d0d0d0;
}

.roadmap {
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 68ch;
  position: relative;
}

.roadmap::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--rule);
}

.roadmap li {
  position: relative;
  padding: 0 0 32px 36px;
}

.roadmap li:last-child { padding-bottom: 0; }

.roadmap .dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}

.roadmap h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.roadmap p {
  color: #d4d4d4;
  max-width: 58ch;
}

.horizon {
  display: inline-block;
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.aside {
  margin-top: 48px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  max-width: 68ch;
}

.aside h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.aside p { color: #d4d4d4; }

footer {
  padding: 48px 0 64px;
  color: var(--muted);
  font-size: 13px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.foot-name {
  display: block;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  font-size: 14px;
}

.foot .tag {
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .nave, .foot { grid-template-columns: 1fr; }
  .nave { display: block; }
  .stack { display: none; }
  nav.primary { display: none; }
  .header-inner {
    display: flex;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .wrap, .header-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-inner { height: 56px; gap: 10px; }
  .status-pill { display: none; }
  .hero { padding: 56px 0 56px; }
  .lockup { margin-bottom: 32px; }
  section { padding: 56px 0; }
  .brand-name { font-size: 12px; letter-spacing: 0.1em; }
  .langs a, .langs button { padding: 5px 7px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 11px; letter-spacing: 0.08em; }
  .langs a, .langs button { padding: 5px 6px; }
}

@media (max-width: 720px) {
  .foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
