:root {
  --green: #80b243;
  --green-dark: #527d25;
  --green-soft: #edf4e6;
  --brown: #624c4d;
  --brown-dark: #382a2b;
  --cream: #fbf8f1;
  --paper: #fffdf9;
  --ink: #403838;
  --muted: #746b67;
  --line: #e7e0d8;
  --shadow: 0 20px 55px rgba(74, 55, 43, .12);
  --radius: 24px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(128,178,67,.12), transparent 28rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f0a33a; outline-offset: 4px; border-radius: 4px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-180%); padding: 10px 16px; color: #fff; background: var(--brown-dark); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(98,76,77,.12); background: rgba(255,253,249,.94); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 292px; width: 292px; height: 64px; overflow: hidden; background: url(../logo-sprite.png) 0 0 / 292px auto no-repeat; text-indent: -9999px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--brown); font-size: .9rem; font-weight: 750; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: var(--green); }
.main-nav .shop-link { display: flex; align-items: center; gap: 8px; border: 1px solid var(--green); color: var(--green-dark); }
.main-nav .shop-link::before { content: ""; width: 17px; height: 17px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l1.8 9.1a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 1.9-1.4L20 8H6.1'/%3E%3Ccircle cx='9' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l1.8 9.1a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 1.9-1.4L20 8H6.1'/%3E%3Ccircle cx='9' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--green-soft); color: var(--brown); cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }

.hero { position: relative; min-height: 660px; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--brown); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,30,25,.82) 0%, rgba(38,30,25,.56) 42%, rgba(38,30,25,.05) 78%), linear-gradient(0deg, rgba(38,30,25,.45), transparent 50%); }
.hero-content { position: relative; z-index: 1; max-width: 690px; padding-block: 100px 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; margin: 0 0 18px; color: var(--green-dark); font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #d7f3b4; }
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 38px;
  height: 9px;
  flex: 0 0 auto;
  background: currentColor;
  clip-path: polygon(0 46%, 28% 46%, 40% 10%, 49% 42%, 58% 10%, 70% 46%, 100% 46%, 100% 54%, 70% 54%, 58% 90%, 49% 58%, 40% 90%, 28% 54%, 0 54%);
  opacity: .48;
}
.eyebrow::after { transform: scaleX(-1); }
h1, h2, h3 { margin-top: 0; color: var(--brown); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { margin-bottom: 22px; color: #fff; font-size: clamp(2.8rem, 7vw, 5.8rem); font-weight: 500; letter-spacing: -.04em; }
h2 { font-size: clamp(1.8rem, 2.7vw, 2.5rem); font-weight: 500; letter-spacing: -.03em; }
h3 { font-size: 1.4rem; }
.hero-lead { width: 100%; margin: 0 0 32px; color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border: 1px solid transparent; border-radius: 999px; color: #fff; background: var(--green); font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.button::after { content: "↗"; flex: 0 0 auto; font-size: 1.05em; line-height: 1; transition: transform .2s; }
.button:hover { transform: translateY(-2px); color: #fff; background: var(--green-dark); }
.button:hover::after { transform: translate(2px,-2px); }
.button.secondary { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.button.light { border-color: var(--line); color: var(--brown); background: #fff; }
.button.light:hover { color: #fff; background: var(--brown); }
.button svg { width: 18px; height: 18px; }

.intro-strip { position: relative; z-index: 2; margin-top: -38px; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border-radius: 18px; background: var(--line); box-shadow: var(--shadow); }
.quick-fact { padding: 22px 26px; background: var(--paper); }
.quick-fact strong { display: block; color: var(--brown); font-family: Georgia, serif; font-size: 1.18rem; }
.quick-fact span { color: var(--muted); font-size: .88rem; }

.section { padding-block: 100px; border-top: 1px solid rgba(98,76,77,.14); box-shadow: inset 0 1px rgba(255,255,255,.5); }
.section.compact { padding-block: 68px; }
.section.alt { background: var(--green-soft); }
.section-heading { width: 100%; max-width: none; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-heading h2::after, .features-heading h2::after, .story-copy h2::after, .history-lead h2::after {
  content: "";
  width: 60px;
  height: 2px;
  display: block;
  margin-top: 17px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(128,178,67,.88) 0 62%, rgba(98,76,77,.22) 62% 100%);
}
.section-heading.center h2::after { margin-inline: auto; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 10px 32px rgba(74,55,43,.07); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: 27px; }
.card-body h3 { margin-bottom: 12px; font-size: 1.55rem; }
.card-body p { margin: 0 0 18px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 850; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }

.home-features { position: relative; overflow: hidden; }
.home-features::before, .home-features::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.home-features::before { width: 420px; height: 420px; top: 80px; left: -260px; border: 80px solid rgba(128,178,67,.08); }
.home-features::after { width: 360px; height: 360px; right: -240px; bottom: 20px; background: rgba(98,76,77,.045); }
.features-heading { max-width: 1080px; margin: 0 auto 42px; text-align: center; }
.features-heading .eyebrow { justify-content: center; }
.features-heading h2 { margin-bottom: 18px; }
.features-heading h2::after { margin-inline: auto; }
.features-heading > p:not(.eyebrow) { width: 100%; max-width: none; margin: 0 auto; color: var(--muted); font-size: 1rem; }
.feature-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(98,76,77,.16); border-radius: 22px; background: var(--paper); box-shadow: 0 12px 34px rgba(74,55,43,.08); transition: transform .3s, box-shadow .3s, border-color .3s; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(128,178,67,.55); box-shadow: 0 19px 44px rgba(74,55,43,.13); }
.feature-visual { position: relative; display: block; overflow: hidden; background: var(--green-soft); }
.feature-visual::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: inherit; transition: border-color .25s, background .25s; }
.feature-visual:hover::after, .feature-visual:focus-visible::after { border-color: rgba(128,178,67,.72); background: rgba(128,178,67,.06); }
.feature-visual img { width: 100%; aspect-ratio: 1.78 / 1; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.feature-card:hover .feature-visual img { transform: scale(1.035); }
.feature-body { display: flex; flex: 1; align-items: flex-start; flex-direction: column; padding: 22px 23px 23px; }
.feature-body h3 { margin-bottom: 9px; font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 400; }
.feature-body > p { margin: 0 0 18px; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.feature-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-top: auto; color: var(--green-dark); font-size: .84rem; font-weight: 850; text-decoration: none; }
.feature-link span { font-size: 1.05rem; transition: transform .2s; }
.feature-link:hover span { transform: translateX(4px); }
.recipe-preview { position: relative; display: grid; grid-template-columns: minmax(250px, .78fr) minmax(0, 1.55fr); grid-template-areas: "copy steps" "copy more"; align-items: start; gap: 15px 34px; margin-top: 28px; padding: 30px 32px 22px; overflow: hidden; border: 1px solid rgba(128,178,67,.32); border-radius: 18px; background: linear-gradient(120deg, rgba(246,249,239,.98), rgba(235,244,224,.96)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.65); }
.recipe-preview::after { content: ""; position: absolute; width: 240px; height: 240px; right: -110px; bottom: -160px; border: 42px solid rgba(128,178,67,.1); border-radius: 50%; pointer-events: none; }
.recipe-preview-copy { grid-area: copy; align-self: center; }
.recipe-preview-copy .eyebrow { margin-bottom: 13px; }
.recipe-preview-copy h3 { margin-bottom: 15px; font-size: clamp(1.65rem, 2.4vw, 2.2rem); font-weight: 400; }
.recipe-preview-copy p:not(.eyebrow) { margin: 0 0 22px; color: var(--muted); font-size: .92rem; }
.recipe-preview-copy .button { min-height: 46px; padding: 10px 17px; font-size: .8rem; }
.recipe-preview-steps { position: relative; z-index: 1; grid-area: steps; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 14px; }
.preview-step { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(98,76,77,.16); border-radius: 15px; color: var(--brown); background: rgba(255,253,249,.94); box-shadow: 0 7px 20px rgba(74,55,43,.07); text-align: center; text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.preview-step:hover { transform: translateY(-3px); border-color: rgba(128,178,67,.58); box-shadow: 0 12px 28px rgba(74,55,43,.11); }
.preview-image { position: relative; display: block; overflow: hidden; background: #fff; }
.preview-image img { width: 100%; aspect-ratio: 1.08 / 1; object-fit: cover; transition: transform .35s; }
.preview-step:hover .preview-image img { transform: scale(1.04); }
.preview-badge { position: absolute; top: 9px; left: 9px; width: 28px; height: 28px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 3px 10px rgba(56,42,43,.2); font-size: .75rem; font-weight: 900; }
.preview-step strong { flex: 1; display: grid; place-items: center; min-height: 58px; padding: 9px 11px 11px; color: var(--brown); font-family: Georgia, serif; font-size: .82rem; line-height: 1.35; }
.recipe-preview-link { position: relative; z-index: 1; grid-area: more; justify-self: center; display: inline-flex; align-items: center; gap: 18px; color: var(--green-dark); font-size: .78rem; font-weight: 850; text-decoration: none; }
.recipe-preview-link span { transition: transform .2s; }
.recipe-preview-link:hover span { transform: translateX(4px); }

@media (min-width: 921px) {
  .features-heading h2 { white-space: nowrap; }
}

.story-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 8vw, 100px); }
.story-image { position: relative; padding: 10px; border: 1px solid rgba(98,76,77,.2); border-radius: 30px; background: #fffdf9; box-shadow: 0 20px 48px rgba(74,55,43,.13); }
.story-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 21px; }
.story-image::before { content: ""; position: absolute; inset: 5px; z-index: 1; border: 1px solid rgba(128,178,67,.35); border-radius: 25px; pointer-events: none; }
.story-copy p:not(.eyebrow) { color: var(--muted); }
.quote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--green); color: var(--brown); background: #fff; font-family: Georgia, serif; font-size: 1.2rem; font-style: italic; }

.section.names-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #f7f1e6;
  background-image: url("../../images/fond-alsace-lammele.webp");
  background-position: center;
  background-size: cover;
}
.names-section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(255,251,244,.18); }
.names-section .story-split { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(48px, 7vw, 86px); }
.names-section .story-image { padding: 7px; border-color: rgba(115,101,66,.55); border-radius: 20px; background: rgba(255,253,248,.9); box-shadow: 0 18px 45px rgba(84,66,45,.15), 0 0 0 3px rgba(255,253,248,.72), 0 0 0 4px rgba(128,178,67,.32); }
.names-section .story-image::before { inset: 3px; border-color: rgba(128,178,67,.52); border-radius: 16px; }
.names-section .story-image img { aspect-ratio: 1.26 / 1; border-radius: 13px; }
.names-section .story-copy { padding-block: 12px; }
.names-section .story-copy .eyebrow { margin-bottom: 13px; }
.names-section .story-copy h2 { margin-bottom: 20px; }
.names-section .story-copy p:not(.eyebrow) { color: #665d58; }
.names-section .quote { position: relative; margin: 27px 0 24px; padding: 20px 24px 20px 62px; border: 1px solid rgba(98,76,77,.18); border-left: 4px solid var(--green); border-radius: 15px; background: rgba(255,253,249,.86); box-shadow: 0 8px 24px rgba(84,66,45,.07); backdrop-filter: blur(3px); }
.names-section .quote::before { content: "“"; position: absolute; top: 9px; left: 18px; color: var(--green); font-family: Georgia, serif; font-size: 3.2rem; font-style: normal; font-weight: 700; line-height: 1; }
.names-section .button.light { border-color: var(--green); color: #fff; background: var(--green); }
.names-section .button.light:hover { border-color: var(--green); color: var(--green-dark); background: #fff; }

.products .section-heading { max-width: 820px; margin-bottom: 46px; }
.product-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.product { min-width: 0; display: flex; align-items: center; flex-direction: column; padding: 16px 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: center; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.product:hover { transform: translateY(-4px); border-color: rgba(128,178,67,.55); box-shadow: 0 12px 30px rgba(74,55,43,.1); }
.product img { width: 100%; aspect-ratio: 1.18; object-fit: contain; }
.product-name { min-height: 2.7em; display: grid; place-items: center; margin-top: 8px; color: var(--brown); font-size: .82rem; font-weight: 800; line-height: 1.35; }
.product-cart { width: 38px; height: 38px; display: grid; place-items: center; margin-top: 12px; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 6px 16px rgba(82,125,37,.22); transition: transform .2s, background .2s; }
.product-cart svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product:hover .product-cart { transform: scale(1.08); background: var(--green-dark); }

.page-hero { padding: 85px 0 74px; color: #fff; background: var(--brown); }
.page-hero .eyebrow { color: #d7f3b4; }
.page-hero h1 { max-width: 850px; font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero p:not(.eyebrow) { width: 100%; max-width: none; margin: 0; color: rgba(255,255,255,.84); font-size: 1.15rem; }
.breadcrumb { margin-bottom: 30px; color: rgba(255,255,255,.64); font-size: .84rem; }
.breadcrumb a { color: #fff; }

.recipe-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); align-items: start; gap: 64px; }
.recipe-sidebar { position: sticky; top: 110px; }
.ingredient-card { padding: 28px; border-radius: var(--radius); color: #fff; background: var(--brown); box-shadow: var(--shadow); }
.ingredient-card h2 { color: #fff; font-size: 1.8rem; }
.ingredient-card ul { margin: 0; padding: 0; list-style: none; }
.ingredient-card li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.ingredient-card li:last-child { border: 0; }
.recipe-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 34px; }
.meta-box { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.meta-box strong { display: block; color: var(--brown); font-family: Georgia, serif; font-size: 1.2rem; }
.meta-box span { color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.steps-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps-list li { position: relative; min-height: 72px; padding: 18px 20px 18px 78px; border: 1px solid var(--line); border-radius: 16px; background: #fff; counter-increment: steps; }
.steps-list li::before { content: counter(steps); position: absolute; left: 18px; top: 17px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-weight: 850; }
.download-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 22px 26px; border-radius: 18px; background: var(--green-soft); }
.download-box p { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(74,55,43,.13); }
.step-card::after { content: "Agrandir"; position: absolute; top: 14px; right: 14px; padding: 7px 12px 7px 31px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; color: #fff; background: rgba(56,42,43,.78); box-shadow: 0 6px 20px rgba(0,0,0,.15); font-size: .72rem; font-weight: 800; letter-spacing: .02em; opacity: 0; transform: translateY(-6px); transition: .2s; backdrop-filter: blur(8px); }
.step-card::before { content: "+"; position: absolute; top: 18px; right: 72px; z-index: 1; width: 17px; height: 17px; display: grid; place-items: center; border: 1.5px solid #fff; border-radius: 50%; color: #fff; font-size: .75rem; font-weight: 900; line-height: 1; opacity: 0; transform: translateY(-6px); transition: .2s; }
.step-card:hover::after, .step-card:hover::before, .step-card:focus-visible::after, .step-card:focus-visible::before { opacity: 1; transform: translateY(0); }
.step-card img { width: 100%; aspect-ratio: 1.56; object-fit: cover; transition: transform .45s; }
.step-card:hover img { transform: scale(1.025); }
.step-card div { padding: 18px; }
.step-card small { color: var(--green-dark); font-weight: 850; text-transform: uppercase; }
.step-card strong { display: block; color: var(--brown); font-family: Georgia, serif; font-size: 1.12rem; }

html:has(.lightbox[open]) { overflow: hidden; }
.lightbox { width: min(1040px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: visible; border: 0; border-radius: 28px; color: #fff; background: transparent; box-shadow: 0 28px 90px rgba(0,0,0,.45); }
.lightbox::backdrop { background: rgba(29,23,21,.84); backdrop-filter: blur(10px); }
.lightbox-shell { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr) 62px; align-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: #241e1d; }
.lightbox-figure { min-width: 0; margin: 0; padding: 20px 0; }
.lightbox-image-wrap { display: grid; min-height: min(66vh, 620px); place-items: center; overflow: hidden; border-radius: 18px; background: #171313; }
.lightbox-image { width: auto; max-width: 100%; height: auto; max-height: min(66vh, 620px); object-fit: contain; }
.lightbox-caption { min-height: 72px; display: flex; align-items: center; gap: 20px; padding: 18px 6px 0; }
.lightbox-counter { flex: 0 0 auto; color: #b8db91; font-size: .74rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.lightbox-title { color: #fff; font-family: Georgia, serif; font-size: 1.18rem; font-weight: 500; }
.lightbox-close, .lightbox-nav { display: grid; place-items: center; border: 0; color: #fff; cursor: pointer; transition: transform .2s, background .2s; }
.lightbox-close svg, .lightbox-nav svg { width: 24px; height: 24px; }
.lightbox-close { position: absolute; top: -18px; right: -18px; z-index: 2; width: 48px; height: 48px; border: 3px solid #fff; border-radius: 50%; background: var(--green); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.lightbox-close:hover { transform: rotate(5deg) scale(1.06); background: var(--green-dark); }
.lightbox-nav { width: 44px; height: 56px; margin: auto; border-radius: 14px; background: rgba(255,255,255,.09); }
.lightbox-nav:hover { transform: scale(1.06); background: var(--green); }
.lightbox[open] { animation: lightbox-in .22s ease-out; }
@keyframes lightbox-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .lightbox[open], .step-card, .step-card img, .lightbox-close, .lightbox-nav { animation: none; transition: none; }
}

.prose { max-width: 820px; margin-inline: auto; }
.prose.wide { max-width: 980px; }
.prose h2 { margin-top: 55px; font-size: clamp(1.65rem, 2.5vw, 2.3rem); }
.prose h3 { margin-top: 35px; }
.prose p:not(.eyebrow), .prose li { color: var(--muted); }
.prose figure { margin: 40px 0 0; }
.prose figure img { max-height: 530px; margin-inline: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose figcaption { margin-top: 10px; color: var(--muted); font-size: .85rem; text-align: center; }
.history-lead { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.history-lead img { border-radius: var(--radius); box-shadow: var(--shadow); }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(74,55,43,.07); }
.video-card h2 { margin: 0; padding: 22px 24px; font-size: 1.25rem; }
.video-frame { aspect-ratio: 16 / 9; background: #181515; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.recipe-main-image { margin: 0 0 1rem; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.recipe-main-image img { display: block; width: 100%; height: auto; }
.recipe-byline { margin: 0 0 1.5rem; color: var(--muted); font-size: .95rem; }
.recipe-byline a { color: var(--green-dark); }
.recipe-video { margin-top: 3rem; }
.ingredient-yield { margin: -.35rem 0 1.1rem; color: rgba(255,255,255,.78); font-size: .86rem; line-height: 1.45; }

.site-footer { position: relative; padding-top: 58px; border-top: 1px solid rgba(98,76,77,.2); color: rgba(255,255,255,.9); background: repeating-linear-gradient(125deg, rgba(255,255,255,.035) 0 1px, transparent 1px 5px), linear-gradient(135deg, #8bbc4d, #679a31); box-shadow: 0 -1px 12px rgba(74,55,43,.1); }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 8% 30%, rgba(255,255,255,.1), transparent 24rem), linear-gradient(90deg, transparent, rgba(56,42,43,.07)); }
.footer-grid, .footer-bottom { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: clamp(44px, 7vw, 90px); padding-bottom: 45px; }
.footer-brand { display: block; width: 292px; height: 64px; margin-bottom: 17px; background: url(../logo-sprite.png) 0 0 / 292px auto no-repeat; text-indent: -9999px; }
.footer-about > p { width: 100%; max-width: none; margin: 0 0 22px; }
.site-footer h2 { margin-bottom: 18px; color: #fff; font-family: Georgia, serif; font-size: 1.22rem; font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-page-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-page-links a { font-size: .82rem; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.footer-page-links a:hover, .footer-site-links a:hover { text-decoration-color: #fff; }
.social-links { display: grid; gap: 10px; }
.social-link { min-height: 46px; display: flex; align-items: center; gap: 12px; padding: 5px 14px 5px 6px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(255,255,255,.12); font-size: .84rem; font-weight: 800; transition: transform .2s, background .2s; }
.social-link:hover { transform: translateX(4px); background: rgba(255,255,255,.22); }
.social-icon { position: relative; flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--brown); }
.social-link.facebook .social-icon { background: #1877f2; }
.social-link.facebook .social-icon::before { content: "f"; transform: translateY(3px); font-family: Arial, sans-serif; font-size: 27px; font-weight: 900; line-height: 1; }
.social-link.x-social .social-icon { color: #fff; background: #101010; }
.social-link.x-social .social-icon::before { content: "X"; font-size: 15px; font-weight: 900; }
.social-link.youtube .social-icon { background: #f00; }
.social-link.youtube .social-icon::before { content: ""; margin-left: 2px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid #fff; }
.footer-site-links { display: grid; gap: 10px; }
.footer-site-links a { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 750; }
.footer-site-links a::before { content: "→"; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--green-dark); background: #fff; font-size: .78rem; transition: transform .2s; }
.footer-site-links a:hover::before { transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.28); font-size: .78rem; }

@media (max-width: 920px) {
  body { font-size: 16px; }
  .nav-wrap { min-height: 76px; }
  .brand { flex-basis: 220px; width: 220px; height: 48px; background-size: 220px auto; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; visibility: hidden; opacity: 0; transform: translateY(-8px); padding: 14px 20px 22px; border-bottom: 1px solid var(--line); background: var(--paper); transition: .2s; }
  .main-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav ul { display: grid; }
  .main-nav a { padding: 13px 16px; }
  .hero { min-height: 610px; }
  .hero-content { padding-block: 85px 75px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .feature-showcase { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .feature-card:last-child .feature-visual img { height: 100%; aspect-ratio: auto; }
  .recipe-preview { grid-template-columns: 1fr; grid-template-areas: "copy" "steps" "more"; gap: 26px; }
  .card-grid .card:last-child { grid-column: 1 / -1; }
  .story-split, .history-lead { grid-template-columns: 1fr; }
  .story-image { max-width: 570px; }
  .names-section { background-position: 58% center; background-size: auto 100%; }
  .names-section::before { background: rgba(255,251,244,.5); }
  .names-section .story-split { grid-template-columns: 1fr; gap: 42px; }
  .names-section .story-image { width: min(100%, 620px); max-width: none; }
  .product-row { grid-template-columns: repeat(3, 1fr); }
  .recipe-layout { grid-template-columns: 1fr; gap: 44px; }
  .recipe-sidebar { position: static; }
  .ingredient-card { max-width: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { min-height: 590px; }
  .hero::after { background: linear-gradient(0deg, rgba(38,30,25,.9) 0%, rgba(38,30,25,.45) 80%); }
  .hero-media img { object-position: 58% center; }
  .hero-content { padding-block: 160px 66px; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .intro-strip { margin-top: 0; }
  .quick-facts { grid-template-columns: 1fr; border-radius: 0 0 18px 18px; }
  .quick-fact { padding: 16px 20px; }
  .section { padding-block: 70px; }
  .eyebrow { gap: 8px; letter-spacing: .09em; }
  .eyebrow::before, .eyebrow::after { width: 24px; }
  .card-grid, .gallery, .video-grid { grid-template-columns: 1fr; }
  .names-section { background-position: 52% center; }
  .names-section::before { background: rgba(255,251,244,.72); }
  .names-section .story-split { gap: 34px; }
  .names-section .story-image { width: 100%; padding: 5px; border-radius: 16px; }
  .names-section .story-image::before { border-radius: 13px; }
  .names-section .story-image img { border-radius: 10px; }
  .names-section .story-copy { padding-block: 0; }
  .names-section .quote { padding: 18px 18px 18px 52px; font-size: 1.05rem; }
  .names-section .quote::before { left: 14px; font-size: 2.8rem; }
  .features-heading { margin-bottom: 34px; }
  .feature-showcase { grid-template-columns: 1fr; gap: 18px; }
  .feature-card:last-child { grid-column: auto; display: flex; }
  .feature-card:last-child .feature-visual img { height: auto; aspect-ratio: 1.78 / 1; }
  .recipe-preview { gap: 24px; margin-top: 22px; padding: 27px 20px 24px; }
  .recipe-preview-copy { text-align: center; }
  .recipe-preview-copy .eyebrow { justify-content: center; }
  .recipe-preview-steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .preview-step { flex: 0 0 72%; scroll-snap-align: start; }
  .recipe-preview-link { justify-self: center; }
  .step-card::after, .step-card::before { opacity: 1; transform: none; }
  .lightbox { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 20px; }
  .lightbox-shell { grid-template-columns: 50px minmax(0, 1fr) 50px; border-radius: 20px; }
  .lightbox-figure { padding: 12px 0; }
  .lightbox-image-wrap { min-height: 44vh; border-radius: 12px; }
  .lightbox-image { max-height: 62vh; }
  .lightbox-caption { min-height: 82px; align-items: flex-start; flex-direction: column; gap: 3px; padding: 14px 4px 4px; }
  .lightbox-title { font-size: 1rem; }
  .lightbox-close { top: -8px; right: -8px; width: 44px; height: 44px; }
  .lightbox-nav { width: 38px; height: 52px; }
  .card-grid .card:last-child { grid-column: auto; }
  .product-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .product { flex: 0 0 72%; scroll-snap-align: start; }
  .page-hero { padding-block: 55px; }
  .recipe-meta { grid-template-columns: 1fr 1fr; }
  .recipe-meta .meta-box:last-child { grid-column: 1 / -1; }
  .download-box { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-about { grid-column: auto; }
  .footer-brand { width: 250px; height: 55px; background-size: 250px auto; }
  .social-link { min-height: 52px; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  .site-header, .site-footer, .page-hero, .download-box, .products { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 0; }
  .recipe-layout { display: block; }
  .recipe-sidebar { margin-bottom: 20px; }
  .ingredient-card { color: #000; background: #fff; border: 1px solid #aaa; box-shadow: none; }
  .ingredient-card h2 { color: #000; }
}
