:root {
  color-scheme: light;
  --background: #f1efe9;
  --foreground: #171816;
  --muted: #686a64;
  --line: rgb(23 24 22 / 18%);
  --page-padding: clamp(1.5rem, 5vw, 4.5rem);
  --shell-width: 74rem;
  --measure: 68rem;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--background);
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--foreground);
  background: var(--background);
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(100%, var(--shell-width));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 3.75rem) var(--page-padding);
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  font-weight: 590;
  letter-spacing: -0.025em;
}

.wordmark__mark {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid var(--foreground);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1;
}

.site-main {
  display: flex;
  align-items: center;
  padding-block: clamp(5.5rem, 15vh, 11rem) clamp(6.5rem, 18vh, 13rem);
}

.hero {
  width: 100%;
  max-width: var(--measure);
}

.hero::before {
  display: block;
  width: clamp(2.5rem, 5vw, 4.5rem);
  height: 1px;
  margin-bottom: clamp(1.75rem, 4vw, 3.25rem);
  background: var(--line);
  content: "";
}

.hero h1 {
  width: fit-content;
  margin: 0;
  font-size: clamp(1.3rem, 6vw, 4.25rem);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.slogan__line {
  display: block;
  white-space: nowrap;
}

.slogan__line + .slogan__line {
  margin-top: 0.16em;
}

.slogan__line:nth-child(2) {
  margin-left: clamp(0.25rem, 1vw, 0.8rem);
}

.slogan__line:nth-child(3) {
  margin-left: clamp(0.5rem, 2vw, 1.6rem);
}

@media (max-width: 31rem) {
  .site-main {
    align-items: flex-start;
    padding-top: clamp(7rem, 19vh, 9rem);
  }

  .hero h1 {
    font-size: clamp(1.3rem, 6.1vw, 1.8rem);
    line-height: 1;
    letter-spacing: 0.04em;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #343632;
    --line: rgb(23 24 22 / 42%);
  }
}
