@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/cormorant.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --ivory: #faf7f2;
  --ink: #2b2520;
  --muted: #67584c;
  --gold: #806239;
  --line: #d9cfc1;
  --mat: clamp(.75rem, 1.6vw, 1.4rem);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font: 1rem / 1.55 var(--sans);
}

img {
  display: block;
  max-width: 100%;
}

p, h1, figure {
  margin: 0;
}

.page-width {
  width: min(91%, 80rem);
  margin-inline: auto;
}

.masthead {
  display: grid;
  place-items: center;
  min-height: clamp(4.75rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}

.signature {
  width: clamp(10.25rem, 17vw, 13.75rem);
  height: auto;
}

.landing {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  padding-block: clamp(1.5rem, 3.6vw, 3.5rem);
}

.announcement {
  padding-inline: clamp(1.5rem, 5vw, 5.75rem) clamp(1.5rem, 4vw, 4rem);
}

h1 {
  margin-bottom: .24em;
  font: 500 clamp(4rem, 8.5vw, 8rem) / .88 var(--serif);
  letter-spacing: -.048em;
  overflow-wrap: anywhere;
}

h1 em {
  display: block;
  color: var(--gold);
  font-weight: inherit;
}

.intro {
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.125rem;
}

.shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: 1.75rem;
  padding: .625rem 1.65rem;
  border: 1px solid var(--ink);
  color: var(--ivory);
  background: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
}

.shop-link:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.shop-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.feature {
  padding: var(--mat);
  padding-bottom: 0;
  border: 1px solid var(--line);
  background: #fffdf9;
}

.photo {
  aspect-ratio: 1.2;
  overflow: hidden;
  background: #f2f2f2;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  padding-block: .85rem;
  color: var(--muted);
  text-align: center;
  font-size: .875rem;
}

figcaption strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .12em;
}

.colophon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  padding: 1rem .5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: .875rem;
}

.colophon img {
  object-fit: contain;
}

@media (max-height: 30rem) and (min-width: 48rem) {
  .landing {
    align-items: start;
    padding-block: 1.25rem;
  }

  .announcement {
    padding-top: .75rem;
  }

  h1 {
    font-size: clamp(3rem, 13vh, 5rem);
  }
}

@media (max-width: 48rem) {
  .landing {
    max-width: 35rem;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 1.75rem;
    padding-block: 2rem 1.5rem;
  }

  .announcement {
    padding-inline: calc(var(--mat) + 1px);
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 5rem);
  }

  h1 em {
    display: inline;
  }

  .intro {
    font-size: 1.0625rem;
  }

  .shop-link {
    margin-top: 1.25rem;
  }
}
