/* ---------- Tokens ---------- */
:root {
  --bg:           #0a0a0a;
  --bg-elev:      #111111;
  --fg:           #f5f5f5;
  --fg-muted:     #888888;
  --fg-dim:       #555555;
  --border:       #1f1f1f;
  --border-soft:  #161616;
  --max-w:        1100px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ---------- Base ---------- */
html, body {
  height: 100%;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
::selection { background: var(--fg); color: var(--bg); }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-soft);
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  letter-spacing: 0.02em;
  font-weight: 500;
  font-size: 14px;
}
.brand-mark { width: 22px; height: 22px; color: var(--fg); }
.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  font-size: 14px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
  transition: color 120ms ease;
}
.site-nav a:hover { color: var(--fg); }

/* ---------- Hero / Home logo ---------- */
.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.logo-stack {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.logo-mark {
  width: clamp(140px, 22vw, 220px);
  height: auto;
  color: var(--fg);
  animation: fade-up 700ms ease both;
}
.logo-wordmark {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: 0.18em;
  font-weight: 400;
  text-transform: uppercase;
  animation: fade-up 800ms ease 80ms both;
}
.logo-tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-dim);
  animation: fade-up 900ms ease 160ms both;
}

/* ---------- Generic page ---------- */
.page {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 80px 32px;
}
.page h1 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  font-weight: 500;
}
.page .lede {
  color: var(--fg-muted);
  font-size: 18px;
  max-width: 60ch;
  margin: 0 0 48px;
}
.placeholder {
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 48px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 32px;
  border-top: 1px solid var(--border-soft);
  color: var(--fg-dim);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}
.footer-dot { color: var(--fg-dim); }

/* ---------- Animations ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .site-header { padding: 16px 20px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .page { padding: 56px 20px; }
  .site-footer { flex-direction: column; gap: 4px; padding: 20px; }
  .footer-dot { display: none; }
}
