/* tokkura.com */

:root {
  --bg: #0d0e12;
  --glow: #16181f;
  --text: #ecedf1;
  --muted: #9598a4;
  --accent: #d9a441;
  --rule: #23252e;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf9f7;
    --glow: #f2f0ec;
    --text: #15161a;
    --muted: #5f616b;
    --accent: #96671d;
    --rule: #e2ded7;
  }
}

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

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

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 1.5rem;
  background: var(--bg);
  background-image: radial-gradient(60rem 40rem at 50% -10%, var(--glow), transparent 70%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.stage {
  max-width: 34rem;
  text-align: center;
  animation: rise 700ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.wordmark {
  margin: 0;
  font-size: clamp(2.75rem, 11vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.tagline {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 3.4vw, 1.125rem);
  color: var(--accent);
  letter-spacing: 0.01em;
}

.lede {
  margin: 2rem auto 0;
  max-width: 30rem;
  color: var(--muted);
  text-wrap: pretty;
}

.contact {
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.contact a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}

.contact a:hover,
.contact a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.footer {
  color: var(--muted);
  font-size: 0.8125rem;
}

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

@keyframes rise {
  from { opacity: 0; transform: translateY(0.75rem); }
  to   { opacity: 1; transform: none; }
}

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