:root {
  color-scheme: dark;
  --background: #151515;
  --surface: #1e1e1e;
  --line: #282828;
  --text: #f6f6f6;
  --muted: #bdbdbd;
  --accent: #d97757;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 3.5vw, 3.5rem) clamp(1.25rem, 6vw, 7rem) clamp(1.25rem, 3.5vw, 3.5rem);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  font-size: 0.75rem;
  line-height: 1;
}

.site-footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  padding-bottom: 0;
  color: var(--muted);
}

.wordmark {
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.status {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero {
  align-self: center;
  max-width: 52rem;
  padding: clamp(5rem, 15vh, 12rem) 0 clamp(5rem, 15vh, 12rem);
}

h1 {
  margin: 0;
  font-size: clamp(4.5rem, 13vw, 12rem);
  font-weight: 300;
  letter-spacing: -0.085em;
  line-height: 0.84;
}

.tagline {
  max-width: 35rem;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.35rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: color 150ms ease-out, border-color 150ms ease-out;
}

.contact-links a span {
  color: var(--accent);
  font-size: 1rem;
  line-height: 0.7;
  transition: transform 150ms ease-out;
}

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

.contact-links a:hover span,
.contact-links a:focus-visible span {
  transform: translate(0.15rem, -0.15rem);
}

.contact-links a:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.35rem;
}

@media (max-width: 640px) {
  .page-shell {
    padding-inline: 1.25rem;
  }

  .hero {
    padding-block: 5rem;
  }

  @media (prefers-reduced-motion: reduce) {
  .contact-links a,
  .contact-links a span {
    transition: none;
  }
}
