:root {
  --ink:        #07070a;
  --ink-line:   #1e1e28;
  --sclera:     #ece7dd;
  --sclera-dim: #8d8a84;
  --iris:       #b82b1e;
  --iris-hot:   #e8503c;
  --focus:      #ffd23f;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--sclera);
  font: 400 17px/1.65 ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70ch 55ch at 22% -10%, #17141c 0%, transparent 70%),
    radial-gradient(60ch 60ch at 88% 108%, #150f11 0%, transparent 72%);
}

a { color: var(--iris-hot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sclera); }

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

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  padding: clamp(1rem, 4vw, 2.5rem) 1.5rem 1rem;
  text-align: center;
}

.wordmark {
  width: min(28rem, 78vw);
  height: auto;
  margin: 0;
  filter: invert(1);
}

.tagline {
  margin: -0.75rem 0 0;
  max-width: 30ch;
  font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.5rem);
  line-height: 1.3;
}

.about {
  margin: 0;
  max-width: 60ch;
  text-align: left;
  color: var(--sclera-dim);
  font-size: 1rem;
}
.about p { margin: 0 0 1rem; }
.about p:last-child { margin: 0; }

.cta { margin: 0; }

.button {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--iris);
  border-radius: 2px;
  background: var(--iris);
  color: var(--sclera);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}
.button:hover { background: var(--iris-hot); border-color: var(--iris-hot); color: var(--sclera); }

.social {
  margin: -1rem 0 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.social a {
  display: inline-flex;
  padding: 0.4rem;
  color: var(--sclera-dim);
  transition: color 120ms ease;
}
.social a:hover { color: var(--sclera); }
.social svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

.email {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
}

main.prose-page {
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 6vw, 4.5rem) 1.5rem 0;
}
.prose { max-width: 64ch; }
.prose p { margin: 0 0 1.15rem; }
.updated { color: var(--sclera-dim); }

.prose h2 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

footer.thin {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 1.5rem 3rem;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--sclera-dim);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
