:root {
  --paper: #f3efe6;
  --ink: #171916;
  --muted: #65695f;
  --accent: #b74d2b;
  --line: rgba(23, 25, 22, 0.2);
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 12%, rgba(183, 77, 43, 0.13), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

main,
footer {
  width: min(100% - 3rem, 1240px);
  margin-inline: auto;
}

nav {
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: grid;
  width: 2.8rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-link,
.text-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - 7rem);
  min-height: calc(100svh - 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  grid-template-rows: auto 1fr auto;
  gap: 2rem 5vw;
  align-items: end;
  padding: 7vh 0 6vh;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  grid-column: 1 / -1;
  align-self: start;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(5.5rem, 15vw, 13.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.7;
}

h1 span {
  color: var(--accent);
}

.lede {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.text-link {
  grid-column: 2;
  justify-self: start;
}

.about {
  min-height: 75vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 10rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  max-width: 12ch;
  margin: 1.5rem 0 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.about-copy {
  max-width: 34rem;
  padding-top: 2.2rem;
}

.about-copy p {
  margin-bottom: 1.5rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.5;
}

footer {
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

footer p {
  margin: 0;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  main,
  footer {
    width: min(100% - 2rem, 1240px);
  }

  nav {
    min-height: 5.5rem;
  }

  .hero {
    min-height: calc(100svh - 5.5rem);
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(5.2rem, 28vw, 9rem);
  }

  .lede {
    margin-top: 2rem;
  }

  .text-link {
    grid-column: 1;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 7rem 0;
  }

  .about-copy {
    padding-top: 0;
  }

  footer {
    min-height: 8rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
  }
}

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