/* Tokens — single accent (warm orange) against an editorial black/cream
   palette. Auto light/dark via prefers-color-scheme. */
:root {
  --ink: #0a0a0a;
  --paper: #fafaf7;
  --paper-tint: #f4ecde;
  --accent: #f97316;
  --muted: #6b6b6b;
  /* A softer/lighter gray than --muted, used for low-emphasis copy
     like the footer where we want the text to recede further. */
  --muted-soft: #a3a3a3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #fafaf7;
    --paper: #0a0a0a;
    --paper-tint: #1a1410;
    --muted: #8a8a8a;
    /* In dark mode the same role wants a lower-contrast tone against
       the dark paper, not a brighter one. */
    --muted-soft: #5a5a5a;
  }
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Subtle radial warmth — keeps the page from feeling sterile.
     Pinned via background-attachment so it doesn't scroll-tile. */
  background-image: radial-gradient(
    circle at 20% 30%,
    var(--paper-tint),
    transparent 50%
  );
  background-attachment: fixed;
  /* Flex column on body so <main> grows and <footer> pins to the
     bottom of the viewport. dvh handles mobile-browser address-bar
     show/hide without the layout jumping. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.landing {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero {
  text-align: center;
  max-width: 560px;
  /* Soft entrance — long enough to register, short enough not to feel laggy. */
  animation: rise 0.9s cubic-bezier(0.21, 0.61, 0.35, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wordmark {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  /* Tight letter-spacing pulls the wordmark together; the ".7." opening
     glyph in Inter sits a little lonely at default tracking. */
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 2rem;
}

.dot {
  color: var(--accent);
}

.tagline {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 3rem;
}

.contact {
  font-size: 0.875rem;
  color: var(--muted);
}

.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
}

.contact a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer {
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.75rem;
  color: var(--muted-soft);
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }
}
