:root {
  --ground: #221a16;
  --milk: #f0e2d4;
  --honey: #e8b75a;
  --taupe: #a79184;
  --line: rgba(240, 226, 212, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--ground);
  color: var(--milk);
  font-family: "Karla", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 48px 32px;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  max-width: 660px;
  margin-left: max(32px, 8vw);
}

.page > * {
  opacity: 0;
  animation: settle 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page > *:nth-child(1) {
  animation-delay: 0.05s;
}
.page > *:nth-child(2) {
  animation-delay: 0.15s;
}
.page > *:nth-child(3) {
  animation-delay: 0.28s;
}
.page > *:nth-child(4) {
  animation-delay: 0.38s;
}
.page > *:nth-child(5) {
  animation-delay: 0.48s;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mark {
  font-size: 15px;
  color: var(--taupe);
  margin-bottom: 64px;
}

a {
  color: var(--milk);
  text-decoration: none;
  font-size: 16px;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

a:hover {
  color: var(--honey);
  border-bottom-color: var(--honey);
}

a:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 4px;
  border-radius: 2px;
}

h1 {
  font-family: "Fraunces", serif;
  font-variation-settings:
    "SOFT" 60,
    "WONK" 1;
  font-weight: 300;
  font-size: clamp(40px, 7.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.body-copy {
  font-size: 17px;
  line-height: 1.65;
  color: var(--taupe);
  max-width: 44ch;
  margin-bottom: 20px;
}

.body-copy strong {
  color: var(--milk);
  font-weight: 400;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  .page > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  body {
    align-items: flex-start;
    padding: 64px 24px;
  }
  .page {
    margin-left: 0;
  }
  .mark {
    margin-bottom: 44px;
  }
  .links {
    gap: 20px 24px;
  }
}
