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

@font-face {
  font-family: "Fraunces";
  src: url("./assets/fraunces.woff2") format("woff2");
  font-weight: 500 650;
  font-display: swap;
}

:root {
  --paper: #fbf7ef;
  --ink: #263326;
  --muted: #514e44;
  --line: #e3d9ca;
  --accent: #f4ba9a;
  --brand: #813d2b;
  --hero-fallback: #e5d5bd;
  --hero-heading-width: 13ch;
  --hero-heading-size: clamp(2.7rem, 5.1vw, 4.65rem);
  --hero-heading-size-mobile: clamp(2.45rem, 8.7vw, 4rem);
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

.hero { border-radius: 12px; }
.hero h1 { letter-spacing: -.045em; line-height: 1.02; }
.hero .intro { max-width: 37ch; }
.hero .primary { border-radius: 6px; }
.primary span, .shop-link span { display: none; }

.cover-slide { background: var(--hero-fallback); }
.cover-slide-image {
  display: grid;
  place-items: center;
  width: min(100%, clamp(13rem, 26vw, 21rem));
  aspect-ratio: 1;
  padding: clamp(.7rem, 2vw, 1.4rem);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px #26332620;
}
.cover-slide-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 1;
}

.card-image.lilac { background: #eee8db; }
.card-image.mint { background: #e1e7d6; }
.card-image.peach { background: #f0e1d5; }
.card-image.yellow { background: #efe9d2; }
.card-image img {
  padding: .5rem;
  border-radius: 5px;
  background: white;
  object-fit: contain;
}

.card h3 { font-size: 1.25rem; }
.card .summary { font-size: .96rem; }
.top-picks-list a { background: #fffdf9; }
.top-picks-list img { object-fit: contain; background: white; }
