:root {
  --mineral: #eef3f7;
  --paper: #f8fafb;
  --ink: #111922;
  --muted: #64707c;
  --line: #cbd5dd;
  --signal: #174ee8;
  --display: "Syne", "Helvetica Neue", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--mineral);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.field {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.25rem, 2.7vw, 2.5rem);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: clamp(0.68rem, 0.75vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

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

.wordmark {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  text-decoration: none;
}

.wordmark-mark {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
  border: 1px solid var(--signal);
  border-radius: 50%;
}

.wordmark-mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  transform: translate(-50%, -50%);
}

.contact-link,
.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  transition: color 180ms ease;
}

.contact-link:hover,
.text-link:hover {
  color: var(--signal);
}

.contact-link:focus-visible,
.text-link:focus-visible,
.wordmark:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--signal);
  outline-offset: 5px;
}

main {
  display: block;
  align-items: end;
  padding: clamp(4rem, 8vh, 7.5rem) 0 clamp(2.25rem, 5vh, 4.5rem);
}

.hero {
  width: min(100%, 78rem);
}

.eyebrow,
.site-footer,
.text-link {
  font-family: var(--mono);
}

.eyebrow {
  margin: 0 0 clamp(1.5rem, 4vh, 3rem);
  color: var(--muted);
  font-size: clamp(0.65rem, 0.8vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 10.3vw, 10.5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

h1 span {
  color: var(--signal);
  font-weight: 400;
}

.hero-title-long {
  font-size: clamp(3.1rem, 8.6vw, 8.75rem);
  line-height: 0.86;
}

.hero-footer {
  display: grid;
  grid-template-columns: minmax(18rem, 29rem) auto;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-top: clamp(3rem, 7vh, 6.5rem);
}

.intro {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  gap: 1rem;
  justify-self: start;
  padding-bottom: 0.2rem;
  font-size: clamp(0.68rem, 0.8vw, 0.78rem);
  white-space: nowrap;
}

.text-link span {
  color: var(--signal);
}

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

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 1.15rem;
  }

  .contact-link {
    font-size: 0;
  }

  .contact-link::after {
    font-size: 0.68rem;
    content: "Contact ↗";
  }

  main {
    display: block;
    padding: 5rem 0 3rem;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 6rem);
    line-height: 0.88;
  }

  .hero-title-long {
    font-size: clamp(2.75rem, 12.5vw, 4.9rem);
  }

  .hero-footer {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-top: 3.5rem;
  }

  .intro {
    max-width: 31rem;
  }

  .site-footer {
    gap: 1.5rem;
    align-items: flex-end;
  }

  .site-footer p:first-child {
    max-width: 12rem;
  }
}

@media (max-height: 680px) and (min-width: 721px) {
  main {
    padding-block: 3rem 2rem;
  }

  h1 {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
  }

  .hero-title-long {
    font-size: clamp(3rem, 7.5vw, 6.4rem);
  }

  .hero-footer {
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .contact-link,
  .text-link {
    transition: none;
  }
}
