:root {
  color-scheme: light;
  --ink: #121212;
  --muted: #65645f;
  --line: rgba(18, 18, 18, 0.16);
  --paper: #f2f0eb;
  --paper-light: #f8f7f3;
  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.7), transparent 32rem),
    linear-gradient(145deg, var(--paper-light) 0%, var(--paper) 62%, #ebe8e1 100%);
}

a {
  color: inherit;
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: 1;
  text-decoration: none;
}

.hero {
  align-self: center;
  max-width: 62rem;
  padding: clamp(4rem, 12vh, 8rem) 0;
}

.eyebrow {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8.2vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.intro {
  max-width: 30rem;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.55;
}

.site-footer {
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.email-link {
  color: var(--ink);
  text-underline-offset: 0.3em;
  text-decoration-color: var(--line);
  transition: text-decoration-color 160ms ease;
}

.email-link:hover {
  text-decoration-color: currentColor;
}

.email-link:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0.4rem;
}

@media (max-width: 600px) {
  .site-shell {
    padding: 1.35rem;
  }

  .site-header {
    padding-bottom: 1.25rem;
  }

  .wordmark {
    font-size: 1rem;
  }

  .hero {
    padding: 4rem 0;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.25rem, 17vw, 5.25rem);
  }

  .intro {
    max-width: 20rem;
  }

  .site-footer {
    align-items: flex-start;
    padding-top: 1.25rem;
  }
}

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