:root {
  color-scheme: light;
  --terracotta: #b8845c;
  --clay: #c68a68;
  --sand: #f5ebd9;
  --cream: #fff6e7;
  --white: #ffffff;
  --ink: #5c3828;
  --focus: #70432f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(2rem, 8vh, 5rem) 1.25rem;
}

.hero {
  display: flex;
  width: min(100%, 40rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  animation: arrive 700ms ease-out both;
}

.brand__logo {
  display: block;
  width: clamp(12.5rem, 48vw, 17rem);
  height: auto;
  margin-inline: auto;
  mix-blend-mode: multiply;
}

h1 {
  margin: clamp(2.75rem, 8vh, 4.75rem) 0 0;
  font-family: Didot, "Bodoni MT", Baskerville, Georgia, serif;
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 5vh, 2.5rem);
}

.social-link {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgb(112 67 47 / 28%);
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: rgb(255 255 255 / 68%);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-link svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: var(--clay);
  transition: fill 180ms ease;
}

.social-link:hover {
  border-color: var(--terracotta);
  background: var(--white);
  color: var(--focus);
  transform: translateY(-2px);
}

.social-link:hover svg {
  fill: var(--terracotta);
}

.social-link:focus-visible,
.contact a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: clamp(2.75rem, 7vh, 4.5rem);
  color: #70432f;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.contact a {
  border-radius: 0.15rem;
  text-decoration-color: rgb(112 67 47 / 45%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.contact a:hover {
  text-decoration-color: currentColor;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
