:root {
  --ink: #17130f;
  --paper: #fffaf0;
  --cream: #f7edda;
  --gold: #f2ad24;
  --orange: #e86d20;
  --red: #b93424;
  --green: #315c3b;
  --muted: #71675e;
  --white: #fff;
  --line: rgba(23, 19, 15, .13);
  --shadow: 0 20px 50px rgba(54, 35, 17, .12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: radial-gradient(circle at 1px 1px, var(--ink) 1px, transparent 0);
  background-size: 18px 18px;
  z-index: 99;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.announcement { background: var(--ink); color: var(--white); text-align: center; font-size: .78rem; letter-spacing: .14em; padding: 8px 16px; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 240, .94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 950; letter-spacing: -.05em; font-size: 1.2rem; }
.brand-mark { width: 42px; height: 42px; border-radius: 50% 50% 48% 52%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-family: Georgia, serif; font-weight: 900; box-shadow: inset 0 0 0 3px rgba(255,255,255,.55); }
.brand small { display: block; font-size: .58rem; color: var(--red); letter-spacing: .16em; line-height: 1; }
.brand-lockup { gap: 10px; line-height: 1; }
.brand-monogram { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: #0789e8; border: 3px solid #f58220; font: 900 .86rem/1 Georgia, serif; letter-spacing: -.08em; box-shadow: 0 6px 15px rgba(7,137,232,.18); }
.brand-wordmark { display: grid; gap: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; letter-spacing: -.055em; white-space: nowrap; }
.brand-wordmark b { color: #f06d17; font-weight: 950; }
.brand-wordmark em { color: #0789e8; font-weight: 950; font-style: italic; }
.brand-wordmark small { color: var(--ink); font: 850 .52rem/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .16em; }
.main-nav { display: flex; justify-content: center; gap: 28px; font-weight: 750; font-size: .92rem; }
.main-nav a { position: relative; padding: 27px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 3px; background: var(--orange); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 800; }
.cart-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 5px; border-radius: 999px; background: var(--red); color: white; font-size: .72rem; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; padding: 8px; }

.eyebrow { margin: 0 0 12px; color: var(--red); font-size: .76rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 8vw, 6.8rem); margin: 0 0 22px; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 20px; }
h3 { font-size: 1.45rem; margin: 0 0 10px; }
.lead { font-size: clamp(1rem, 2vw, 1.24rem); color: #4c423a; max-width: 640px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 22px; background: var(--red); color: var(--white); font-weight: 900; box-shadow: 0 10px 24px rgba(185,52,36,.2); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(185,52,36,.28); }
.button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; }
.button.gold { background: var(--gold); color: var(--ink); box-shadow: none; }
.button.full { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { min-height: 690px; display: grid; align-items: center; position: relative; overflow: hidden; color: var(--white); background: linear-gradient(90deg, rgba(19,13,8,.93) 0%, rgba(19,13,8,.66) 48%, rgba(19,13,8,.2) 100%), url("https://images.unsplash.com/photo-1596040033229-a9821ebd058d?auto=format&fit=crop&w=1800&q=88") center/cover; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -140px; width: 440px; aspect-ratio: 1; border: 70px solid rgba(242,173,36,.55); border-radius: 50%; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); gap: 70px; align-items: center; }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 110px 0; }
.hero-logo-card { position: relative; border-radius: 30px; overflow: hidden; background: #242424; box-shadow: 0 32px 80px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.22); transform: rotate(1.5deg); }
.hero-logo-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero .eyebrow { color: var(--gold); }
.hero h1 span { display: block; color: var(--gold); font-style: italic; }
.hero .lead { color: rgba(255,255,255,.82); }
.hero-stats { display: flex; gap: 44px; margin-top: 48px; }
.hero-stat strong { display: block; font: 800 1.5rem Georgia, serif; color: var(--gold); }
.hero-stat span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.section { padding: 100px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--ink); color: var(--white); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head p { max-width: 540px; color: var(--muted); }
.section.dark .section-head p { color: rgba(255,255,255,.66); }
.grid { display: grid; gap: 24px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }

.feature-card { padding: 30px; background: rgba(255,255,255,.65); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--gold); border-radius: 15px; font-size: 1.45rem; margin-bottom: 24px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.product-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 20px rgba(23,19,15,.04); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-image { position: relative; aspect-ratio: 1 / .92; overflow: hidden; background: #dfc395; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; padding: 7px 10px; border-radius: 999px; }
.product-body { padding: 22px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.product-body p { color: var(--muted); font-size: .9rem; min-height: 44px; }
.price { font-weight: 950; color: var(--red); white-space: nowrap; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 18px; }
.add-button { border: 0; border-radius: 12px; background: var(--ink); color: var(--white); padding: 11px 14px; font-weight: 850; }
.details-link { display: grid; place-items: center; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; font-weight: 800; }

.recipe-card { position: relative; min-height: 430px; overflow: hidden; border-radius: var(--radius); color: var(--white); }
.recipe-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.recipe-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(17,12,8,.9)); }
.recipe-copy { position: absolute; z-index: 2; inset: auto 26px 25px; }
.recipe-copy p { margin: 0; color: rgba(255,255,255,.76); }

.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-image { min-height: 560px; border-radius: 36% 64% 54% 46% / 39% 36% 64% 61%; background: url("https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1000&q=86") center/cover; box-shadow: var(--shadow); }
.quote { border-left: 5px solid var(--gold); padding-left: 24px; font: italic 1.4rem/1.5 Georgia, serif; }

.page-hero { padding: 95px 0 75px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); max-width: 900px; }
.page-hero .lead { margin-bottom: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.filter-button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 15px; font-weight: 800; }
.filter-button.active { background: var(--ink); color: var(--white); }

.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.product-detail-image { aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: var(--cream); }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.detail-price { font-size: 1.5rem; color: var(--red); font-weight: 950; }
.option-row { display: grid; gap: 8px; margin: 24px 0; }
.option-row label { font-weight: 850; }
.option-row select, .form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 13px 14px; color: var(--ink); }
.nutrition { border-collapse: collapse; width: 100%; margin-top: 24px; }
.nutrition td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.nutrition td:last-child { text-align: right; font-weight: 800; }

.cart-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 34px; align-items: start; }
.cart-items, .checkout-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; }
.cart-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 90px; height: 90px; object-fit: cover; border-radius: 14px; }
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.quantity button { border: 0; background: var(--cream); width: 34px; height: 34px; }
.quantity span { min-width: 34px; text-align: center; font-weight: 800; }
.remove-button { border: 0; background: transparent; color: var(--red); font-weight: 800; padding: 8px 0; }
.summary-line { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; }
.summary-line.total { margin-top: 8px; padding-top: 17px; border-top: 2px solid var(--ink); font-size: 1.2rem; font-weight: 950; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { display: flex; gap: 8px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 750; }
.empty-state { text-align: center; padding: 70px 20px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-weight: 800; }
.form-field.full { grid-column: 1 / -1; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.contact-card { padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.contact-card a { color: var(--gold); }
.notice { padding: 14px 16px; background: #fff2c6; border-left: 4px solid var(--gold); border-radius: 8px; color: #4e3b0e; }

.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stars { color: var(--gold); letter-spacing: .15em; font-size: 1.1rem; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.policy-nav a { padding: 9px 14px; background: var(--cream); border-radius: 999px; font-weight: 800; }
.policy-section { max-width: 850px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.policy-section h2 { font-size: 2.2rem; }

.newsletter { padding: 55px; background: var(--gold); border-radius: 28px; display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; }
.newsletter h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 8px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { min-width: 260px; border: 0; border-radius: 999px; padding: 14px 18px; }

.site-footer { background: #100d0a; color: var(--white); padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: rgba(255,255,255,.58); max-width: 320px; }
.footer-lockup .brand-monogram { width: 52px; height: 52px; }
.footer-lockup .brand-wordmark { font-size: 1.4rem; }
.footer-lockup .brand-wordmark small { color: rgba(255,255,255,.72); }
.footer-column h3 { font-family: inherit; font-size: .82rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); }
.footer-column a { display: block; color: rgba(255,255,255,.7); margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 38px; margin-top: 45px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: .82rem; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 120; background: var(--ink); color: white; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 920px) {
  .nav-wrap { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 18px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav a::after { display: none; }
  .header-actions .cart-link > span:first-child { display: none; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 70px; }
  .hero-content { padding-bottom: 45px; }
  .hero-logo-card { width: min(100%, 520px); }
  .story-split, .product-detail, .cart-layout, .contact-layout { grid-template-columns: 1fr; }
  .story-image { min-height: 430px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 620px; }
  .hero-content { padding: 85px 0; }
  .hero-grid { padding-bottom: 50px; }
  .hero-content { padding-bottom: 38px; }
  .hero-logo-card { width: 100%; border-radius: 20px; }
  .hero-stats { gap: 20px; }
  .section { padding: 70px 0; }
  .section-head { display: block; }
  .grid.three, .grid.four { grid-template-columns: 1fr; }
  .recipe-card { min-height: 360px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .newsletter { padding: 32px 23px; }
  .newsletter-form { display: grid; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cart-row { grid-template-columns: 70px 1fr; }
  .cart-row img { width: 70px; height: 70px; }
  .cart-row > :last-child { grid-column: 2; }
  .choice-grid { grid-template-columns: 1fr; }
}
