@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --paper: #fffef7;
  --white: #fff;
  --ink: #211a18;
  --wine: #79001f;
  --wine-dark: #650019;
  --muted: #8d8582;
  --line: #e9e5de;
  --peach: #f6ddd1;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --header-h: 72px;
  --page-pad: clamp(18px, 4.2vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); overscroll-behavior-y: none; overflow-x: clip; }
body { margin: 0; overscroll-behavior-y: none; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
body.is-locked { position: fixed; width: 100%; overflow: hidden; }
button, input, select, textarea { font: inherit; }
:where(button, a, input, select, textarea, label, [role="button"]) { -webkit-tap-highlight-color: transparent; }
button { color: inherit; appearance: none; -webkit-appearance: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }

.site-header { height: var(--header-h); position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-pad); background: rgb(255 254 247 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.brand { width: 118px; height: 54px; display: flex; align-items: center; justify-content: flex-start; color: var(--wine); }
.brand-logo { width: 118px; height: 54px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.brand-name { font-family: "URW Chancery L", "Apple Chancery", "Brush Script MT", cursive; font-size: 38px; font-weight: 600; font-style: italic; line-height: .74; letter-spacing: -2px; }
.brand-subtitle { align-self: center; margin-top: 3px; font-family: var(--serif); font-size: 12px; font-style: italic; line-height: 1; }
.header-actions { display: flex; align-items: center; gap: clamp(13px, 3vw, 26px); }
.icon-button { position: relative; display: grid; place-items: center; width: 34px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--wine); cursor: pointer; }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-trigger svg { width: 23px; }
.cart-count { position: absolute; top: 1px; right: -5px; min-width: 16px; height: 16px; display: grid; place-items: center; padding: 0 4px; border-radius: 99px; background: var(--wine); color: white; font-size: 9px; font-weight: 700; }

.section-shell { width: min(100% - var(--page-pad) * 2, 1260px); margin-inline: auto; }
.hero { padding-top: clamp(28px, 6vw, 68px); }
.hero-copy { max-width: 650px; }
.hero-word { display: block; }
.hero-copy h1 em { display: block; }
.eyebrow { margin: 0 0 15px; color: var(--wine); font-size: 10px; font-weight: 700; letter-spacing: .22em; }
h1, .catalog-heading h2, .section-title, .panel h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 610px; margin: 0 0 24px; font-size: clamp(43px, 11.2vw, 72px); line-height: .99; }
h1 em, .catalog-heading h2 em, .panel h2 em { color: var(--wine); font-weight: 500; }
.hero-description { max-width: 525px; margin: 0 0 29px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.business-info { margin-bottom: 28px; }
.info-label { margin: 0 0 13px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.locations { display: grid; gap: 10px; margin: 0 0 15px; padding: 0; list-style: none; }
.locations li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline; font-size: 12px; line-height: 1.55; }
.locations li > span:first-child { color: var(--wine); font-family: var(--serif); font-size: 13px; }
.hours { display: flex; gap: 10px; margin: 0 0 11px; color: var(--muted); font-size: 11px; }
.hours span { color: var(--ink); }
.social-links { display: flex; gap: 22px; }
.social-links button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 11px; cursor: pointer; }
.social-icon { flex: 0 0 14px; width: 14px; height: 14px; object-fit: contain; }
.hero-actions { display: grid; gap: 10px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 20px; border: 1px solid transparent; border-radius: 0; font-size: 12px; font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease; }
.button:active { opacity: .92; }
.button-primary { background: var(--wine); color: white; }
.button-primary:hover { background: var(--wine-dark); }
.icon-arrow { flex: 0 0 18px; width: 18px; height: 18px; display: inline-block; background-color: currentColor; -webkit-mask: url("https://cdn.jsdelivr.net/npm/lucide-static@1.58.0/icons/arrow-right.svg") center / contain no-repeat; mask: url("https://cdn.jsdelivr.net/npm/lucide-static@1.58.0/icons/arrow-right.svg") center / contain no-repeat; }
.button-secondary { border-color: var(--wine); background: transparent; color: var(--wine); }
.button-secondary:hover { background: #f8ece8; }
.hero-photo { position: relative; margin: 30px calc(var(--page-pad) * -1) 0; height: clamp(320px, 92vw, 550px); overflow: hidden; background: var(--peach); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; transform: scale(1.14); transition: transform .7s cubic-bezier(.2,.7,.25,1); }
@media (hover: hover) and (pointer: fine) {
  .hero-photo:hover img { transform: scale(1.18); }
}

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--wine); color: white; }
.feature { min-height: 134px; display: flex; align-items: flex-start; gap: 12px; padding: 25px 16px; border-bottom: 1px solid rgb(255 255 255 / 18%); }
.feature:nth-child(odd) { border-right: 1px solid rgb(255 255 255 / 18%); }
.feature:nth-last-child(-n+2) { border-bottom: 0; }
.feature-icon { flex: 0 0 23px; width: 23px; height: 23px; filter: brightness(0) invert(1); }
.feature h2 { margin: 1px 0 7px; font-family: var(--serif); font-size: 14px; font-weight: 500; }
.feature p { margin: 0; color: rgb(255 255 255 / 72%); font-size: 10px; line-height: 1.5; }

.catalog { padding-top: 66px; }
.catalog-heading { padding-bottom: 25px; }
.catalog-heading .eyebrow { margin-bottom: 13px; }
.catalog-heading h2 { max-width: 560px; margin: 0; font-size: clamp(34px, 8vw, 56px); line-height: 1.02; }
.category-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.category-nav-inner { width: min(100%, 1260px); display: flex; gap: 26px; overflow-x: auto; margin-inline: auto; padding: 0 var(--page-pad); scrollbar-width: none; }
.category-nav-inner::-webkit-scrollbar { display: none; }
.category-tab { flex: 0 0 auto; position: relative; padding: 17px 0 15px; color: #8e8883; font-size: 12px; font-weight: 600; white-space: nowrap; transition: color .2s ease; }
.category-tab.is-active { color: var(--wine); }
.category-tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--wine); content: ""; }
.catalog-sections { padding-top: 30px; }
.product-section { padding-bottom: 47px; scroll-margin-top: calc(var(--header-h) + 61px); }
.section-title { margin: 0 0 21px; font-size: clamp(28px, 7.2vw, 42px); line-height: 1.08; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 12px; }
.product-card { min-width: 0; }
.product-photo { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; margin: 0 0 12px; padding: 0; background: #f3ddd0; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo::after { position: absolute; inset: 9px; border: 1px solid rgb(255 255 255 / 84%); content: ""; pointer-events: none; }
.product-name { min-height: 39px; margin: 0 0 8px; font-family: var(--serif); font-size: 14px; font-weight: 500; line-height: 1.35; }
.product-bottom { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.product-price { margin: 0; color: var(--wine); font-size: 13px; font-weight: 700; white-space: nowrap; }
.add-button { position: relative; flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid #896e70; border-radius: 50%; background: transparent; color: var(--wine); cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.add-button:hover, .add-button.has-items { border-color: var(--wine); background: var(--wine); color: white; }
.add-button:active { opacity: .78; }
.add-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.add-quantity { position: absolute; top: -4px; right: -5px; min-width: 16px; height: 16px; display: grid; place-items: center; padding: 0 4px; border-radius: 99px; background: #a80b36; color: white; font-size: 9px; font-weight: 700; }
.section-divider { width: 100%; height: 1px; margin: 2px 0 40px; background: var(--line); }

.site-footer { display: flex; flex-direction: column; align-items: center; padding: 44px var(--page-pad) 28px; background: #f6f0e8; text-align: center; }
.brand-footer { align-items: center; margin-bottom: 15px; }
.site-footer p { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.site-footer > a:not(.brand) { color: var(--wine); font-size: 11px; }
.site-footer small { margin-top: 30px; color: var(--muted); font-size: 9px; }

.overlay { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; }
.backdrop { position: absolute; inset: 0; border: 0; background: rgb(34 20 20 / 42%); opacity: 0; animation: fade-in .22s ease forwards; }
.panel { position: relative; z-index: 1; width: min(100%, 520px); height: 100%; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: var(--white); animation: panel-in .28s cubic-bezier(.2,.7,.25,1) both; }
.panel-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 23px; border-bottom: 1px solid var(--line); }
.panel-header h2 { margin: 0; font-size: 30px; }
.close-button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: transparent; color: var(--wine); cursor: pointer; }
.close-button span { font-family: var(--sans); font-size: 30px; font-weight: 300; line-height: 1; }
.cart-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 8px 23px 30px; }
.cart-items { display: grid; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row-main { min-width: 0; }
.cart-row h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.25; }
.cart-row .unit-price { margin: 0; color: var(--wine); font-size: 11px; font-weight: 600; }
.cart-row-total { color: var(--wine); font-family: var(--serif); font-size: 16px; white-space: nowrap; }
.cart-controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; }
.quantity-button { width: 31px; height: 31px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); background: white; color: var(--wine); font-size: 17px; cursor: pointer; }
.quantity { min-width: 20px; text-align: center; font-size: 12px; font-weight: 600; }
.remove-button { margin-left: auto; padding: 7px 0 7px 10px; border: 0; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.empty-state { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-mark { color: var(--wine); font-family: var(--serif); font-size: 42px; }
.empty-state h3 { margin: 14px 0 7px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.empty-state p { color: var(--muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding: 7px 0; border: 0; background: transparent; color: var(--wine); font-size: 11px; font-weight: 700; cursor: pointer; }
.text-link .icon-arrow { flex-basis: 14px; width: 14px; height: 14px; }
.cart-footer { flex: 0 0 auto; padding: 19px 23px calc(19px + env(safe-area-inset-bottom)); background: var(--wine); color: white; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 15px; }
.cart-total span { color: rgb(255 255 255 / 78%); font-size: 11px; }
.cart-total strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.button-light { width: 100%; min-height: 50px; justify-content: space-between; background: white; color: var(--wine); }
.button-light:hover { background: #f6efeb; }

.checkout-panel, .custom-panel { width: min(100%, 700px); margin-inline: auto; }
.checkout-topline { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.checkout-topline .eyebrow { margin: 0; }
.checkout-content { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px calc(36px + env(safe-area-inset-bottom)); }
.checkout-content h2 { max-width: 570px; margin: 8px 0 30px; font-size: clamp(33px, 8vw, 48px); line-height: 1.04; }
.checkout-content form { display: grid; gap: 20px; }
.field { display: grid; gap: 9px; color: var(--ink); font-size: 12px; font-weight: 600; }
.field > span small { color: var(--muted); font-weight: 400; }
.field b, .delivery-choice legend b { color: var(--wine); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); font-size: 13px; font-weight: 400; }
.field textarea { min-height: 86px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #c1bbb7; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%2379001f' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field-error { min-height: 0; color: #a6002a; font-size: 10px; font-weight: 500; }
.delivery-choice { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.delivery-choice legend { margin-bottom: 11px; font-size: 12px; font-weight: 600; }
.choice-card { min-height: 66px; display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 12px; padding: 12px 15px; border: 1px solid var(--line); cursor: pointer; }
.choice-card.is-selected { border-color: var(--wine); box-shadow: inset 3px 0 var(--wine); }
.choice-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.radio-mark { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #bdb4b0; border-radius: 50%; }
.choice-card.is-selected .radio-mark { border-color: var(--wine); }
.choice-card.is-selected .radio-mark::after { width: 8px; height: 8px; border-radius: 50%; background: var(--wine); content: ""; }
.choice-card strong { display: block; margin-bottom: 5px; font-size: 12px; }
.choice-card small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; }
.checkout-order { display: grid; gap: 9px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checkout-line { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.checkout-line strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
.checkout-total { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 2px; }
.checkout-total span { font-size: 12px; }
.checkout-total strong { color: var(--wine); font-family: var(--serif); font-size: 24px; font-weight: 500; }
.submit-order { width: 100%; }
.form-message { min-height: 0; margin: -7px 0 0; color: var(--wine); font-size: 12px; line-height: 1.55; }
.custom-intro { margin: -15px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.menu-panel { width: min(100%, 430px); padding-bottom: calc(25px + env(safe-area-inset-bottom)); }
.menu-panel .panel-header { border-bottom: 0; }
.menu-links { display: grid; margin: 18px 24px 30px; }
.menu-links a { display: flex; align-items: baseline; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 24px; }
.menu-links a span { color: var(--wine); font-family: var(--sans); font-size: 10px; }
.menu-panel > .button { margin: auto 24px 0; }
.toast { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; width: max-content; max-width: calc(100% - 36px); margin-inline: auto; padding: 13px 18px; background: var(--ink); color: white; font-size: 12px; line-height: 1.4; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
@keyframes fade-in { to { opacity: 1; } }
@keyframes panel-in { from { transform: translateX(28px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-from-left { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: translateX(0); } }
@keyframes intro-from-right { from { opacity: .72; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }

html.motion-ready .hero-copy > .eyebrow { animation: intro-rise .48s cubic-bezier(.2,.7,.25,1) .04s both; }
html.motion-ready .hero-copy > h1 { animation: intro-from-left .58s cubic-bezier(.2,.7,.25,1) .1s both; }
html.motion-ready .hero-copy > .hero-description { animation: intro-from-left .52s cubic-bezier(.2,.7,.25,1) .18s both; }
html.motion-ready .hero-copy > .business-info { animation: intro-rise .52s cubic-bezier(.2,.7,.25,1) .25s both; }
html.motion-ready .hero-copy > .hero-actions { animation: intro-rise .52s cubic-bezier(.2,.7,.25,1) .32s both; }
html.motion-ready .hero-photo { animation: intro-from-right .72s cubic-bezier(.2,.7,.25,1) both; }

.scroll-reveal { opacity: 0; transform: translateY(12px); transition: opacity .42s ease, transform .42s cubic-bezier(.2,.7,.25,1); transition-delay: var(--reveal-delay, 0ms); }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 719px) {
  .hero {
    position: relative;
    isolation: isolate;
    padding-bottom: clamp(36px, 9vw, 48px);
  }
  .hero-copy { position: relative; z-index: 1; }
  #hero-title {
    -webkit-text-stroke: .45px #e3d3c2;
    paint-order: stroke fill;
    text-shadow: 0 0 2px #e3d3c2, 0 0 5px rgb(227 211 194 / 38%);
  }
  .hero-photo {
    position: absolute;
    top: 0;
    right: calc(var(--page-pad) * -1);
    z-index: 0;
    width: min(78vw, 340px);
    height: min(84vw, 350px);
    margin: 0;
    background: var(--paper);
  }
  .hero-photo img { object-position: left center; transform: translateX(36px) scale(1.01); }
  .hero-photo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--paper) 0%, rgb(255 254 247 / 90%) 10%, rgb(255 254 247 / 58%) 22%, rgb(255 254 247 / 16%) 36%, transparent 46%),
      linear-gradient(0deg, var(--paper) 0%, rgb(255 254 247 / 10%) 10%, transparent 22%);
    content: "";
    pointer-events: none;
  }
}

@media (min-width: 720px) {
  :root { --header-h: 78px; }
  .hero-word, .hero-copy h1 em { display: inline; }
  .hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr); align-items: center; gap: clamp(36px, 6vw, 100px); min-height: 640px; padding-block: 45px 55px; }
  .hero-copy { max-width: 620px; padding: 0; }
  h1 { font-size: clamp(54px, 6vw, 78px); }
  .hero-description { font-size: 15px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
  .hero-actions .button { min-width: 190px; }
  .hero-photo { height: min(62vw, 620px); margin: 0; }
  .hero-photo img { object-position: center; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .feature { min-height: 145px; padding: 30px clamp(18px, 3vw, 44px); border-right: 1px solid rgb(255 255 255 / 18%); border-bottom: 0; }
  .feature:last-child { border-right: 0; }
  .catalog { padding-top: 100px; }
  .catalog-heading { padding-bottom: 32px; }
  .category-nav-inner { gap: 36px; }
  .category-tab { padding-block: 20px 18px; font-size: 13px; }
  .catalog-sections { padding-top: 42px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 22px; }
  .product-section { padding-bottom: 70px; }
  .product-name { font-size: 16px; }
  .product-price { font-size: 14px; }
  .site-footer { padding-block: 58px 32px; }
  .cart-panel { width: min(480px, 100%); }
  .checkout-panel, .custom-panel { width: min(680px, 100%); }
  .checkout-content { padding-inline: clamp(32px, 7vw, 76px); }
}
@media (min-width: 1080px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature { padding-inline: clamp(22px, 4vw, 58px); }
}
@media (max-width: 359px) {
  :root { --page-pad: 16px; }
  h1 { font-size: 41px; }
  .header-actions { gap: 9px; }
  .product-grid { gap: 24px 10px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 12px; }
  .add-button { flex-basis: 33px; width: 33px; height: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scroll-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
