:root {
  color-scheme: light;
  --cream: #faf5e9;
  --paper-deep: #f2e8d8;
  --wine: #48171c;
  --wine-deep: #331014;
  --accent: #8d2c34;
  --ink: #301a1a;
  --body: #66504a;
  --line: #dfceba;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --wrap: 1240px;
  --edge: clamp(22px, 5.5vw, 88px);
}

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

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 500 1rem/1.65 var(--sans); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:where(a, button):focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
:where(h1, h2, h3, p, figure) { margin: 0; }
:where(h1, h2, h3) { font-family: var(--serif); font-weight: 500; }
:where(h1, h2) { line-height: 1.04; letter-spacing: -.055em; }
em { font-weight: inherit; }
[id] { scroll-margin-top: 24px; }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--edge))); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 20;
  inset: 10px auto auto 10px;
  padding: .65rem .9rem;
  background: var(--cream);
  color: var(--wine-deep);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: var(--cream); }
.header-inner { min-height: 81px; display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { width: 110px; height: auto; }
.site-nav { display: flex; gap: clamp(20px, 3.25vw, 49px); align-items: center; }
.site-nav > a { text-decoration: none; font-size: .89rem; font-weight: 750; }
.site-nav > a:not(.button):hover { color: var(--accent); text-decoration: underline; text-underline-offset: .35em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 51px;
  padding: .72rem 1.36rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 220ms, color 220ms, border-color 220ms;
}

.button--nav { color: var(--cream); background: var(--wine); min-height: 43px; padding-inline: 1.16rem; }
.button--nav:hover { background: var(--accent); }
.button--ivory { background: var(--cream); color: var(--wine-deep); }
.button--ivory:hover { background: #eedfc9; }
.hero .button:focus-visible, .trade .button:focus-visible { outline-color: var(--cream); }

.hero { display: grid; min-height: clamp(590px, 48vw, 735px); position: relative; isolation: isolate; color: var(--cream); background: var(--wine-deep); }
.hero-media, .hero::after { inset: 0; position: absolute; z-index: -1; }
.hero-media { overflow: hidden; }
.hero-media img { height: 100%; width: 100%; object-fit: cover; object-position: 50% 51%; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, rgba(34, 8, 12, .72), rgba(34, 8, 12, .42) 43%, transparent 66%);
}

.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: 64px; }
.hero-content { max-width: 570px; }
.eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; line-height: 1.35; color: var(--accent); }
.hero-eyebrow { color: #f1c6aa; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ""; width: 25px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(4.1rem, 6.65vw, 6.7rem); margin-top: 20px; }
.hero h1 em { color: #f0c6ab; }
.hero-description { max-width: 365px; margin: 22px 0 28px; color: #f4e4d9; font-size: clamp(1rem, 1.4vw, 1.12rem); }

.flavors { padding-block: clamp(67px, 7vw, 106px); }
.section-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-bottom: 33px; }
h2 { font-size: clamp(2.7rem, 5vw, 5.1rem); color: var(--wine-deep); }
h2 em { color: var(--accent); }
.section-heading h2, .story h2, .trade h2 { margin-top: 11px; }
.text-link { display: inline-flex; width: fit-content; gap: 9px; align-items: center; padding-block: .25rem; border-bottom: 1px solid #bb8b7a; color: var(--wine); font-weight: 800; font-size: .91rem; text-decoration: none; transition: border-color 200ms, color 200ms; }
.text-link:hover { color: var(--accent); border-color: currentColor; }
.catalog-top { flex-shrink: 0; margin-bottom: 4px; }
.catalog-top span { border: 1px solid #d4b9a5; border-radius: 3px; padding: 1px 4px; font-weight: 800; font-size: .68rem; letter-spacing: .05em; line-height: 1.25; }
.flavor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2.4vw, 32px); }
.flavor-card { border-bottom: 1px solid var(--line); min-width: 0; }
.flavor-image { aspect-ratio: 1.08; overflow: hidden; border-radius: 3px; }
.flavor-image--pistachio { background: #a7ab84; }
.flavor-image--stracciatella { background: #b08a69; }
.flavor-image--strawberry { background: #be8888; }
.flavor-image img { height: 100%; object-fit: cover; transition: transform 560ms cubic-bezier(.22,.65,.3,1); }
@media (hover: hover) { .flavor-card:hover img { transform: scale(1.055); } }
.card-copy { padding: 15px 0 20px; }
.card-copy h3 { color: var(--wine-deep); font-size: clamp(1.65rem, 2.6vw, 2.45rem); line-height: 1.15; letter-spacing: -.035em; }
.card-copy p { color: var(--body); margin-top: 7px; }

.story { background: var(--paper-deep); padding-block: clamp(60px, 8vw, 100px); }
.story-inner { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: clamp(32px, 7.8vw, 118px); }
.story-image { aspect-ratio: 1.12; overflow: hidden; border-radius: 3px; background: #d3bda7; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.story-content > p:not(.eyebrow) { max-width: 400px; color: var(--body); margin: 22px 0 20px; }

.trade { background: var(--wine); color: var(--cream); }
.trade-inner { min-height: 306px; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 60px; }
.trade .eyebrow, .trade h2 em { color: #f0c6ab; }
.trade h2 { color: var(--cream); }
.trade-inner p:not(.eyebrow) { max-width: 470px; color: #f2dfd4; margin-top: 17px; }
.trade-actions { display: grid; justify-items: center; gap: 13px; flex-shrink: 0; }
.trade-email { color: #f3e2d8; font-size: .89rem; font-weight: 700; text-underline-offset: .25em; }
.trade-email:hover { color: white; }

.footer { padding: 43px 0 15px; }
.footer-main { display: grid; grid-template-columns: .8fr 1fr 1.24fr 1fr; align-items: start; gap: 24px; }
.footer-main address { font-style: normal; }
.footer-label { color: var(--wine); font-size: .89rem; font-weight: 800; margin-bottom: 8px; }
.footer-main address a, .footer-bottom { color: var(--body); font-size: .89rem; }
.footer-main address a { display: block; width: fit-content; text-decoration: none; overflow-wrap: anywhere; }
.footer-main address a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 35px; padding-block: 12px; display: flex; justify-content: space-between; gap: 12px; }
.footer-bottom a { font-weight: 750; text-underline-offset: .2em; }

@keyframes rise-in {
  from { opacity: .3; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: rise-in 650ms cubic-bezier(.2,.7,.3,1) both; }
  [data-reveal].visible { animation: rise-in 560ms cubic-bezier(.2,.7,.3,1) both; }
}

@media (max-width: 850px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(3.8rem, 8.5vw, 5.8rem); }
  .hero-media img { object-position: 18% 51%; }
  .hero::after { background: linear-gradient(90deg, rgba(34, 8, 12, .76), rgba(34, 8, 12, .6) 48%, transparent 87%); }
}

@media (max-width: 680px) {
  .header-inner { min-height: 65px; flex-wrap: wrap; column-gap: 15px; row-gap: 0; }
  .brand img { width: 91px; }
  .site-nav { flex-wrap: wrap; gap: 12px 18px; padding-bottom: 15px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 10px; min-height: 43px; padding: 0 0 0 6px; color: var(--wine); background: transparent; border: 0; font-size: .91rem; font-weight: 800; cursor: pointer; }
  .menu-icon { position: relative; width: 19px; height: 14px; }
  .menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; width: 19px; height: 1.5px; background: currentColor; transition: transform 180ms; }
  .menu-icon::before { top: 3px; }
  .menu-icon::after { bottom: 3px; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-3px) rotate(-45deg); }
  .site-nav.is-enhanced { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); padding: 3px var(--edge) 19px; border-top: 1px solid var(--line); box-shadow: 0 8px 12px #25090e20; }
  .site-nav.is-enhanced > a:not(.button) { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .site-nav.is-enhanced > .button { margin-top: 14px; }

  .hero { min-height: 690px; }
  .hero-media { top: 26%; }
  .hero-media img { object-position: center 53%; }
  .hero::after { background: linear-gradient(180deg, #331014 17%, #331014 26%, #331014d9 38%, #33101415 57%, transparent 68%); }
  .hero-inner { align-items: start; padding-top: 47px; }
  .hero h1 { font-size: clamp(2.4rem, 12.65vw, 5rem); margin-top: 14px; }
  .hero-description { margin: 16px 0 19px; max-width: 320px; }
  .hero .button { min-height: 46px; }

  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 23px; gap: 12px; }
  .flavor-grid { grid-template-columns: 1fr; gap: 27px; }
  .flavor-image { aspect-ratio: 1.19; }
  .card-copy { padding-bottom: 17px; }
  .story-inner { grid-template-columns: 1fr; gap: 27px; }
  .story-image { aspect-ratio: 1.23; }
  .story-content > p:not(.eyebrow) { margin-top: 16px; }
  .trade-inner { align-items: flex-start; flex-direction: column; gap: 23px; }
  .trade-actions { justify-items: start; }
}

@media (max-width: 365px) {
  .footer-main { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
