@font-face {
  font-family: "Archivo";
  src: url("assets/archivo-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #f6f2ea;
  --soot: #22211d;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--ivory);
}

body {
  margin: 0;
  color: var(--soot);
  background-color: var(--ivory);
  background-image: url("assets/ivory-paper.webp");
  background-size: cover;
  background-position: center;
  font-family: "Archivo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(32px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}

.identity {
  width: min(100%, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  padding-bottom: clamp(12px, 4vh, 40px);
}

.wordmark {
  width: 100%;
  margin: 0;
  line-height: 0;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 190px;
  max-width: 100%;
  padding: 16px 28px;
  border: 1px solid var(--soot);
  border-radius: 0;
  color: var(--soot);
  background: transparent;
  font-size: .875rem;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: .1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
  -webkit-tap-highlight-color: #22211d18;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}

.instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--soot);
  transition: opacity 160ms ease;
}

.shop:focus-visible,
.instagram:focus-visible {
  outline: 2px solid var(--soot);
  outline-offset: 5px;
}

@media (hover: hover) {
  .instagram:hover { opacity: .65; }
  .shop:hover {
    color: var(--ivory);
    background-color: var(--soot);
  }
}

.shop:active {
  color: var(--ivory);
  background-color: var(--soot);
}

@media (prefers-reduced-motion: reduce) {
  .shop, .instagram { transition: none; }
}
