@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk-latin-variable.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9f6f0;
  --ink: #251c2c;
  --muted: #5f5364;
  --purple: #491f68;
  --lavender: #e9dff5;
  --line: #d9cfdc;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
img { display: block; max-inline-size: 100%; }
a { color: var(--purple); text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--purple); outline-offset: 5px; }
h1, h2, p { margin: 0; }
.shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.reading-width { width: min(100% - 3rem, 43rem); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .5rem; left: .5rem; padding: .75rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.masthead-inner { min-height: 4.5rem; }
.wordmark { display: inline-flex; align-items: baseline; gap: .55rem; font-size: 1.55rem; font-weight: 700; letter-spacing: -.09em; text-decoration: none; }
.wordmark span { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; font-style: italic; letter-spacing: 0; }
.masthead-link { display: inline-grid; place-items: center; min-height: 44px; font-size: .95rem; font-weight: 700; }

.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); margin-block: 3rem 0; }
.eyebrow { color: var(--purple); font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero h1, .offer h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.058em; }
.hero h1 { max-width: 11ch; margin-block: .9rem 1.2rem; font-size: clamp(3rem, 6.1vw, 5.65rem); line-height: .99; text-wrap: balance; }
.hero h1 em { color: var(--purple); font-weight: 400; white-space: nowrap; }
.dek { max-width: 29rem; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.55; }
.byline { margin-top: 1.35rem; font-size: .875rem; font-weight: 700; }
.hero-image { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--lavender); border-radius: .3rem; }

.article-body { padding-block: clamp(2.25rem, 6vw, 4.75rem); }
.article-body p { font-size: 1.125rem; line-height: 1.68; }
.article-body .intro { border-top: 1px solid var(--line); padding-block: 1.4rem 2.25rem; font-size: 1.22rem; }
.reason { padding-block: 1.4rem; border-top: 1px solid var(--line); }
.reason h2, .recipe h2 { margin-bottom: .6rem; font-family: var(--serif); font-size: clamp(1.6rem, 3.7vw, 2.25rem); font-weight: 400; line-height: 1.14; letter-spacing: -.034em; }
.reason-number { color: var(--purple); }
.article-shop { display: inline-flex; align-items: center; min-height: 44px; margin-top: .42rem; font-weight: 700; }
.recipe { margin-top: 1rem; padding: clamp(1.3rem, 4vw, 2.25rem); border: 1px solid var(--line); border-left: 4px solid var(--purple); background: #f2ebf8; }
.recipe ol { margin: .8rem 0 0; padding-left: 1.4rem; font-size: 1.06rem; line-height: 1.6; }
.recipe li + li { margin-top: .36rem; }
.recipe li::marker { font-weight: 700; color: var(--purple); }

.offer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; overflow: hidden; background: var(--lavender); border-radius: .3rem; }
.offer-photo { display: grid; place-items: center; padding: 1rem; background: #e0d1ee; }
.offer-photo img { width: auto; height: clamp(16rem, 32vw, 25rem); object-fit: contain; }
.offer-copy { padding: clamp(1.5rem, 5vw, 4.5rem); }
.offer h2 { margin-block: .6rem .9rem; font-size: clamp(2.55rem, 5.1vw, 4.8rem); line-height: 1; }
.offer-copy > p:not(.eyebrow, .shop-note) { max-width: 29ch; margin-bottom: 1.45rem; font-size: 1.125rem; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .8rem 1.15rem; border-radius: .2rem; background: var(--purple); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.button:hover { background: #34144e; }
.shop-note { margin-top: .62rem; color: var(--muted); font-size: .875rem; }
.footer { padding-block: 2rem; color: var(--muted); font-size: .875rem; }
.mobile-shop { display: none; }

@media (max-width: 44rem) {
  body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  .shell, .reading-width { width: min(100% - 2rem, 43rem); }
  .masthead-inner { min-height: 3.65rem; }
  .hero { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.45rem; }
  .hero h1 { max-width: 13ch; margin-block: .65rem .85rem; font-size: clamp(2.55rem, 9vw, 4.3rem); text-wrap: initial; }
  .byline { margin-top: .9rem; }
  .hero-image { max-height: 30rem; }
  .article-body p { font-size: 1.06rem; }
  .article-body .intro { font-size: 1.125rem; }
  .offer { grid-template-columns: 1fr; }
  .offer-copy { padding: 1.5rem 1.25rem 1.8rem; }
  .mobile-shop { position: fixed; z-index: 4; inset: auto 0 0; display: block; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-shop .button { width: 100%; }
}
