/* ==========================================================================
   Al Capone Downtown - design system
   Warm terracotta + olive on cream. Fraunces display, Inter body.
   ASCII only. Mobile-first responsive.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  --primary: #B23A20;
  --primary-dark: #8A2B16;
  --primary-700: #6E2212;
  --primary-tint: #F6E0D6;
  --accent: #6B7A3A;
  --accent-dark: #515E29;
  --accent-tint: #E7EBD6;
  --gold: #C2922E;
  --gold-soft: #E7C77B;
  --ink: #2B2420;
  --ink-soft: #6E6258;
  --ink-faint: #9C8F83;
  --cream: #FBF6EE;
  --cream-2: #F4EADC;
  --panel: #FFFFFF;
  --line: #E7DAC6;
  --line-strong: #D8C6AC;
  --dark: #2A1C16;
  --dark-2: #38271F;
  --shadow-sm: 0 2px 8px rgba(60,38,24,0.07);
  --shadow: 0 14px 36px rgba(74,43,22,0.12);
  --shadow-lg: 0 26px 60px rgba(74,43,22,0.20);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --maxw: 1200px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--serif); line-height: 1.12; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.section { padding: 84px 0; }
.section-tight { padding: 52px 0; }
.center { text-align: center; }
.bg-cream2 { background: var(--cream-2); }
.bg-dark { background: var(--dark); color: #F1E4D6; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: #D8C3B2; }

.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem;
  color: var(--primary); margin-bottom: 14px;
}
.bg-dark .eyebrow { color: var(--gold-soft); }
.lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.7; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(178,58,32,0.28); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1d130e; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--primary-tint); border-color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--cream-2); }
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill-free { background: var(--accent-tint); color: var(--accent-dark); }
.pill-member { background: var(--gold); color: #3a2a06; }
.pill-cat { background: var(--primary-tint); color: var(--primary-700); }
.tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: #EAD9C7; font-size: 0.8rem; }
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.topbar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }
.topbar-sep { color: #6c5347; }
.topbar-muted { color: #b59b88; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,246,238,0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(251,246,238,0.96); }
.nav-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px;
  background: var(--primary); color: var(--cream);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700;
  font-size: 1.5rem; box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-sm);
}
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; color: var(--ink); }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-dark); }
.brand-on-dark .brand-name { color: #fff; }
.brand-on-dark .brand-tag { color: var(--gold-soft); }
.brand-on-dark .brand-mark { background: var(--cream); color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a {
  padding: 9px 13px; border-radius: 999px; font-weight: 500; font-size: 0.95rem;
  color: var(--ink); transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--primary-tint); color: var(--primary-700); }
.main-nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav-link { padding: 9px 12px; font-weight: 600; font-size: 0.92rem; color: var(--ink); border-radius: 999px; }
.nav-link:hover { color: var(--primary); }
.cart-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); border: 1px solid var(--line); background: #fff; }
.cart-btn:hover { color: var(--primary); border-color: var(--primary); }
.cart-count {
  position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--primary); color: #fff; border-radius: 999px; font-size: 0.68rem;
  font-weight: 700; display: grid; place-items: center; border: 2px solid var(--cream);
}
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(82vw, 340px);
  background: var(--cream); z-index: 90; transform: translateX(100%);
  transition: transform .28s ease; padding: 88px 26px 26px; overflow-y: auto;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 4px;
}
.drawer.open { transform: translateX(0); }
.drawer a { padding: 13px 8px; font-size: 1.06rem; font-weight: 500; border-bottom: 1px solid var(--line); color: var(--ink); }
.drawer a.drawer-cta { margin-top: 14px; background: var(--primary); color: #fff; text-align: center; border-radius: 999px; border: none; font-weight: 600; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(42,28,22,0.45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(178,58,32,0.10), transparent 70%); z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lead { margin-bottom: 26px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--ink-soft); font-size: 0.9rem; }
.hero-trust .stars { color: var(--gold); font-weight: 700; letter-spacing: 1px; }
.hero-stat strong { font-family: var(--serif); font-size: 1.3rem; color: var(--primary); }

.hero-art { position: relative; }
.hero-art .hero-photo { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-badge {
  position: absolute; left: -26px; bottom: 34px; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow); padding: 16px 18px; display: flex; align-items: center; gap: 12px;
  max-width: 260px; border: 1px solid var(--line);
}
.hero-badge .hb-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-dark); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.hero-badge .hb-text { font-size: 0.85rem; line-height: 1.35; }
.hero-badge .hb-text strong { display: block; color: var(--ink); }
.hero-tag-float {
  position: absolute; top: 22px; right: -14px; background: var(--gold); color: #3a2a06;
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 0.8rem; box-shadow: var(--shadow-sm);
  transform: rotate(3deg);
}

/* ---------- Marquee / strip of words ---------- */
.flavor-strip { background: var(--primary); color: #fff; padding: 16px 0; overflow: hidden; }
.flavor-strip .fs-inner { display: flex; gap: 38px; justify-content: center; flex-wrap: wrap; font-family: var(--serif); font-size: 1.05rem; }
.flavor-strip .fs-inner span { display: inline-flex; align-items: center; gap: 38px; opacity: 0.92; }
.flavor-strip .fs-inner span::after { content: "*"; color: var(--gold-soft); }

/* ---------- Photo mosaic ---------- */
.photo-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.photo-mosaic .pm-tile { border-radius: var(--r); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.photo-mosaic .pm-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-mosaic .pm-tile:hover img { transform: scale(1.06); }
.photo-mosaic .pm-tile:nth-child(1) { grid-row: span 2; }
.photo-mosaic .pm-tile:nth-child(6) { grid-row: span 2; }
.pm-label { position: absolute; left: 12px; bottom: 12px; background: rgba(42,28,22,0.6); color: #fff; padding: 4px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; backdrop-filter: blur(4px); }

/* ---------- Photo strip ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.photo-strip .ps-tile { aspect-ratio: 1/1; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-strip .ps-tile:hover img { transform: scale(1.08); }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,28,22,0.78), rgba(42,28,22,0.05) 55%); }
.cat-card .cat-name { position: absolute; left: 14px; bottom: 14px; right: 14px; z-index: 2; color: #fff; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.cat-card .cat-count { display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin-top: 2px; }

/* ---------- Recipe cards ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.recipe-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.recipe-card { background: var(--panel); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.recipe-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.recipe-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.recipe-card:hover .recipe-thumb img { transform: scale(1.06); }
.recipe-thumb .cat-chip { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,0.92); color: var(--primary-700); padding: 4px 11px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.lock-badge {
  position: absolute; top: 11px; right: 11px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #3a2a06; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(42,28,22,0.35); border: 2px solid #fff;
}
.lock-badge svg { width: 17px; height: 17px; }
.recipe-body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.recipe-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.recipe-body p { font-size: 0.9rem; margin-bottom: 14px; flex: 1; }
.recipe-meta { display: flex; align-items: center; gap: 14px; font-size: 0.8rem; color: var(--ink-faint); font-weight: 500; border-top: 1px solid var(--line); padding-top: 12px; }
.recipe-meta .rm { display: inline-flex; align-items: center; gap: 5px; }
.recipe-meta .rm-rate { color: var(--gold); font-weight: 700; margin-left: auto; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--panel); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--cream-2); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-body .tag { margin-bottom: 7px; }
.product-body h3 { font-size: 1.04rem; margin-bottom: 6px; }
.product-body p { font-size: 0.86rem; margin-bottom: 14px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.price small { font-size: 0.78rem; color: var(--ink-faint); font-family: var(--sans); font-weight: 500; }

/* ---------- Feature band / steps / stats ---------- */
.feature-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.feature-card .fc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.feature-card .fc-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.94rem; }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step-item { position: relative; padding-top: 8px; }
.step-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.step-item h3 { margin: 10px 0 6px; }
.step-item p { font-size: 0.94rem; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-row .stat strong { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--primary); line-height: 1; }
.bg-dark .stat-row .stat strong { color: var(--gold-soft); }
.stat-row .stat span { font-size: 0.86rem; color: var(--ink-soft); }
.bg-dark .stat-row .stat span { color: #D8C3B2; }

/* ---------- Membership band ---------- */
.join-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.plan-toggle-cards { display: grid; gap: 14px; }
.plan-card { background: var(--panel); border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.plan-card.is-best { border-color: var(--primary); box-shadow: var(--shadow); }
.plan-card h3 { font-size: 1.2rem; }
.plan-card .plan-price { font-family: var(--serif); font-size: 1.7rem; color: var(--primary); font-weight: 700; }
.plan-card .plan-price small { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); font-weight: 500; }
.plan-best-tag { background: var(--gold); color: #3a2a06; font-size: 0.66rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.quote-card .q-stars { color: var(--gold); font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.quote-card blockquote { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); line-height: 1.5; margin-bottom: 14px; }
.quote-card .q-who { display: flex; align-items: center; gap: 10px; }
.q-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-dark); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.q-who .q-name { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.q-who .q-role { font-size: 0.78rem; color: var(--ink-faint); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-700)); color: #fff; border-radius: var(--r-lg); padding: 54px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #FBE3D8; max-width: 560px; margin: 0 auto 24px; }
.cta-band .btn-light { box-shadow: var(--shadow); }

/* ---------- Recipe gallery (detail) ---------- */
.recipe-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.recipe-gallery figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.recipe-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cap { text-align: center; font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding: 60px 0; background: var(--cream-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero.has-photo { color: #fff; border: none; }
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(42,28,22,0.78), rgba(42,28,22,0.35)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero.has-photo h1, .page-hero.has-photo .lead { color: #fff; }
.page-hero.has-photo .eyebrow { color: var(--gold-soft); }
.page-hero.has-photo .lead { color: #EAD9C7; max-width: 640px; }
.page-title { margin-bottom: 8px; }
.breadcrumbs { font-size: 0.84rem; color: var(--ink-faint); margin-bottom: 16px; }
.page-hero.has-photo .breadcrumbs { color: #d8c3b2; }
.breadcrumbs a:hover { color: var(--primary); }
.page-hero.has-photo .breadcrumbs a:hover { color: var(--gold-soft); }

/* ---------- Recipe detail ---------- */
.rd-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.rd-hero .rd-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.rd-hero .rd-photo img { width: 100%; height: 100%; object-fit: cover; }
.rd-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rd-meta-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.meta-tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 10px; text-align: center; }
.meta-tile strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--primary); }
.meta-tile span { font-size: 0.74rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.rd-body { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; margin-top: 8px; }
.ingredients-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; align-self: start; position: sticky; top: 96px; }
.ingredients-card h3 { margin-bottom: 14px; }
.ingredients-card ul li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px dashed var(--line-strong); color: var(--ink); font-size: 0.95rem; }
.ingredients-card ul li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.method-steps { counter-reset: m; }
.method-steps h3 { margin-bottom: 16px; }
.method-step { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.method-step .ms-num { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.method-step p { color: var(--ink); margin: 5px 0 0; }

/* ---------- Paywall ---------- */
.paywall { background: linear-gradient(135deg, var(--primary), var(--primary-700)); color: #fff; border-radius: var(--r-lg); padding: 40px 36px; text-align: center; box-shadow: var(--shadow); }
.paywall .pw-lock { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.16); display: grid; place-items: center; margin: 0 auto 18px; }
.paywall .pw-lock svg { width: 32px; height: 32px; color: #fff; }
.paywall h3 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.paywall p { color: #FBE3D8; max-width: 460px; margin: 0 auto 18px; }
.paywall .pw-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; max-width: 480px; margin: 0 auto 24px; text-align: left; }
.paywall .pw-list li { color: #fff; font-size: 0.92rem; padding-left: 26px; position: relative; }
.paywall .pw-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 9px; border-left: 2px solid var(--gold-soft); border-bottom: 2px solid var(--gold-soft); transform: rotate(-45deg); }
.paywall .pw-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.preview-fade { position: relative; }
.preview-note { color: var(--ink-faint); font-style: italic; font-size: 0.9rem; padding: 8px 0; }

/* ---------- Free strip banner ---------- */
.free-strip { background: var(--accent-tint); border: 1px solid #d3dcb4; border-radius: var(--r); padding: 18px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.free-strip .fs-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: 0 0 44px; }
.free-strip p { color: var(--accent-dark); margin: 0; flex: 1; min-width: 240px; }
.free-strip strong { color: var(--accent-dark); }

/* ---------- Forms ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 540px; }
.auth-card { background: var(--panel); padding: 44px; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.auth-aside { background: var(--dark); color: #EAD9C7; border-radius: var(--r-lg); padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-aside h2 { color: #fff; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--ink); }
.input, input[type=text], input[type=email], input[type=password], input[type=tel], textarea, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border .15s ease, box-shadow .15s ease;
}
.input:focus, input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.84rem; color: var(--ink-faint); }
.alert { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 16px; font-size: 0.92rem; }
.alert-error { background: #FBE2DC; color: var(--primary-700); border: 1px solid #f0bdb0; }
.alert-success { background: var(--accent-tint); color: var(--accent-dark); border: 1px solid #cdd9a8; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.cart-rows { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cart-row img { width: 88px; height: 88px; border-radius: var(--r-sm); object-fit: cover; }
.cart-row .ci-name { font-weight: 600; color: var(--ink); }
.cart-row .ci-price { font-size: 0.86rem; color: var(--ink-faint); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty button { width: 30px; height: 30px; font-size: 1.1rem; color: var(--primary); }
.qty span { min-width: 30px; text-align: center; font-weight: 600; }
.ci-remove { color: var(--ink-faint); font-size: 0.82rem; }
.ci-remove:hover { color: var(--primary); }
.summary { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; position: sticky; top: 96px; }
.summary h3 { margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--ink-soft); font-size: 0.95rem; }
.summary-row.total { border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 14px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.summary-row.total span:last-child { font-family: var(--serif); color: var(--primary); }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .es-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; margin: 0 auto 18px; color: var(--primary); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card .bc-thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .bc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .bc-thumb img { transform: scale(1.05); }
.blog-card .bc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card .bc-meta { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 8px; }
.blog-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.blog-card p { font-size: 0.9rem; flex: 1; }
.blog-card .bc-read { margin-top: 14px; color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.post { max-width: 760px; margin: 0 auto; }
.post .post-lead { font-size: 1.2rem; color: var(--ink); font-family: var(--serif); line-height: 1.5; margin-bottom: 24px; }
.post p { margin-bottom: 18px; font-size: 1.04rem; line-height: 1.8; }
.post-hero-img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 30px; aspect-ratio: 16/8; box-shadow: var(--shadow); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Prose (legal / about) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.16rem; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; line-height: 1.8; }
.prose ul { margin: 0 0 16px; padding-left: 0; }
.prose ul li { position: relative; padding: 4px 0 4px 22px; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose a { color: var(--primary); text-decoration: underline; }
.legal-meta { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 18px; }
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }
.data-table th, .data-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.data-table th { background: var(--cream-2); font-family: var(--sans); font-weight: 700; }

/* ---------- Team / about ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-card .tc-photo { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; box-shadow: var(--shadow-sm); }
.team-card .tc-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.08rem; }
.team-card .tc-role { color: var(--primary); font-weight: 600; font-size: 0.84rem; margin-bottom: 8px; }
.team-card p { font-size: 0.88rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 600; font-family: var(--serif); font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--primary); font-family: var(--sans); line-height: 1; }
.faq-item[open] summary::after { content: "-"; }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Misc cards / grids ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.value-card h3 { margin-bottom: 8px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sitemap-grid h3 { margin-bottom: 10px; font-size: 1.1rem; }
.sitemap-grid li { padding: 5px 0; }
.sitemap-grid a { color: var(--ink-soft); }
.sitemap-grid a:hover { color: var(--primary); }
.job-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; box-shadow: var(--shadow-sm); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.job-card h3 { margin-bottom: 4px; }
.job-card .job-meta { font-size: 0.84rem; color: var(--ink-faint); }

.mt-0 { margin-top: 0; } .mt-2 { margin-top: 18px; } .mt-3 { margin-top: 28px; } .mb-3 { margin-bottom: 28px; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 13px 18px; border-radius: var(--r-sm); box-shadow: var(--shadow); font-size: 0.92rem; display: flex; align-items: center; gap: 10px; transform: translateY(16px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast .t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Cookie bar ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; background: var(--dark); color: #EAD9C7; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 260px; font-size: 0.88rem; color: #D8C3B2; margin: 0; }
.cookie-text strong { color: #fff; }
.cookie-text a { color: var(--gold-soft); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #C9B4A4; }
.foot-top { padding: 66px 24px 44px; }
.foot-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.5fr; gap: 36px; }
.foot-brand { max-width: 340px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-tag { font-family: var(--serif); font-style: italic; color: #E7D4C4; margin-bottom: 14px; }
.foot-addr { font-size: 0.86rem; line-height: 1.6; color: #A88F7E; }
.foot-col h4 { color: #fff; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col ul li { margin-bottom: 9px; }
.foot-col ul li a { color: #C9B4A4; font-size: 0.92rem; transition: color .15s ease; }
.foot-col ul li a:hover { color: var(--gold-soft); }
.foot-support p { font-size: 0.9rem; color: #C9B4A4; margin-bottom: 10px; }
.foot-support .support-link { color: var(--gold-soft); font-weight: 600; }
.foot-support .support-link:hover { text-decoration: underline; }
.foot-fine { font-size: 0.82rem; color: #8E7666; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: #9C8473; }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-legal a { color: #9C8473; }
.foot-legal a:hover { color: var(--gold-soft); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav, .nav-link { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 520px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .recipe-grid, .recipe-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic { grid-template-columns: repeat(3, 1fr); }
  .rd-body { grid-template-columns: 1fr; }
  .ingredients-card { position: static; }
  .join-band, .split, .auth-wrap { grid-template-columns: 1fr; gap: 28px; }
  .feature-band, .steps-row, .quote-grid, .blog-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .summary, .ingredients-card { position: static; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .photo-strip { grid-template-columns: repeat(4, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-hero { grid-template-columns: 1fr; }
  .rd-meta-tiles { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-gallery { grid-template-columns: repeat(3, 1fr); }
  .feature-band, .steps-row, .quote-grid, .blog-grid, .value-grid, .team-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero-badge { left: 12px; }
  .paywall .pw-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .recipe-grid, .recipe-grid.cols-4, .product-grid, .blog-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .recipe-gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cart-row { grid-template-columns: 64px 1fr; grid-auto-rows: auto; }
  .cart-row img { width: 64px; height: 64px; }
  .brand-tag { display: none; }
  .topbar-muted, .topbar-sep { display: none; }
}
