:root {
  --green: #153b32;
  --green-2: #214e43;
  --cream: #f6f0e4;
  --paper: #fffdf8;
  --ink: #1c221e;
  --muted: #6b706b;
  --gold: #d8a34b;
  --rust: #b95936;
  --line: rgba(28, 34, 30, .14);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; background: white; color: black; }
.skip-link:focus { top: 20px; }
.demo-bar { padding: 8px 20px; background: var(--green); color: rgba(255,255,255,.82); text-align: center; font-size: 12px; letter-spacing: .02em; }
.demo-bar span { display: inline-block; margin-right: 8px; padding: 3px 8px; border: 1px solid rgba(255,255,255,.4); border-radius: 99px; color: white; text-transform: uppercase; font-size: 9px; letter-spacing: .14em; }

.site-header { height: 92px; padding: 0 clamp(22px, 4vw, 72px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 46px; background: rgba(255,253,248,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50% 50% 45% 45%; background: var(--green); color: var(--cream); }
.brand-mark svg { width: 29px; height: 29px; }
.brand strong { display: block; font-family: var(--serif); font-size: 25px; line-height: .86; font-weight: 400; }
.brand small { display: block; margin-top: 5px; font-size: 8px; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); }
.main-nav { justify-self: center; display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); }
.main-nav a { position: relative; padding: 34px 0; font-size: 13px; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 25px; height: 1px; background: var(--green); transition: right .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.cart-button { min-width: 112px; height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 12px; font-weight: 700; }
.cart-button svg { width: 19px; }
.cart-count { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--rust); font-size: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero { min-height: calc(100vh - 125px); height: 720px; max-height: 840px; position: relative; overflow: hidden; display: flex; align-items: flex-end; color: white; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,23,19,.88) 0%, rgba(8,23,19,.62) 37%, rgba(8,23,19,.08) 70%), linear-gradient(0deg, rgba(8,23,19,.55), transparent 46%); }
.hero-copy { position: relative; z-index: 1; width: min(670px, 78vw); margin: 0 0 clamp(76px, 11vh, 120px) clamp(24px, 8vw, 132px); }
.eyebrow { margin: 0 0 20px; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; display: inline-block; vertical-align: middle; margin-right: 11px; background: currentColor; }
.eyebrow.dark { color: var(--green); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .94; letter-spacing: -.03em; }
h1 { font-size: clamp(64px, 7.6vw, 116px); }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.hero-copy > p:not(.eyebrow) { width: min(520px, 100%); margin: 26px 0 32px; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.65; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; border: 1px solid transparent; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.button span { font-size: 18px; transition: transform .2s; }
.button:hover span { transform: translateX(4px); }
.button-light { background: var(--cream); color: var(--ink); }
.button-dark { background: var(--green); color: white; border: 0; }
.button-outline { border-color: rgba(255,255,255,.45); color: white; }
.text-button { padding: 10px 0 6px; color: white; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); background: transparent; font-size: 12px; font-weight: 700; }
.hero-note { position: absolute; z-index: 2; right: clamp(22px, 4vw, 72px); bottom: 42px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.42); }
.hero-note span, .hero-note b { display: block; }
.hero-note span { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hero-note b { margin-top: 5px; font-family: var(--serif); font-size: 18px; font-weight: 400; }

.quick-choice { padding: clamp(82px, 10vw, 150px) clamp(22px, 6.2vw, 105px); background: var(--cream); }
.section-heading { width: min(750px, 100%); margin: 0 auto 60px; text-align: center; }
.section-heading h2, .shop-intro h2, .atelier h2, .closing-cta h2 { font-size: clamp(48px, 5.2vw, 80px); }
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; }
.category-grid { max-width: 1320px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.category-card { min-height: 385px; padding: 30px; position: relative; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.24); overflow: hidden; transition: transform .28s, box-shadow .28s; }
.category-card:hover { z-index: 2; transform: translateY(-7px); box-shadow: 0 20px 50px rgba(21,59,50,.18); }
.category-card::after { content: ""; width: 260px; height: 260px; position: absolute; right: -90px; top: -105px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.category-bread { background: #214e43; color: white; }
.category-pastry { background: #d5a55b; color: #2a2419; }
.category-cake { background: #b95b3d; color: white; }
.category-box { background: #ece2cb; color: var(--ink); }
.category-number { font-size: 9px; letter-spacing: .2em; opacity: .65; }
.category-icon { margin: 54px 0 30px; font-family: var(--serif); font-size: 74px; line-height: .6; opacity: .76; }
.category-card h3 { margin: auto 0 8px; font-family: var(--serif); font-size: 37px; font-weight: 400; }
.category-card p { min-height: 44px; margin: 0 0 30px; font-size: 12px; line-height: 1.6; opacity: .72; }
.category-card b { display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid currentColor; font-size: 11px; }

.shop-section { padding: clamp(85px, 10vw, 150px) clamp(22px, 6.2vw, 105px); }
.shop-intro { max-width: 1320px; margin: auto; display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.shop-intro > p { width: 420px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.filter-row { max-width: 1320px; margin: 55px auto 32px; display: flex; gap: 9px; flex-wrap: wrap; }
.filter { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }
.filter.active { color: white; border-color: var(--green); background: var(--green); }
.products { max-width: 1320px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 20px; }
.product-card { min-width: 0; transition: opacity .2s, transform .2s; }
.product-card.is-hidden { display: none; }
.product-photo { height: 365px; position: relative; background-image: url("assets/producten-grid.png"); background-size: 300% 200%; background-repeat: no-repeat; overflow: hidden; }
.product-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); transition: background .2s; }
.product-card:hover .product-photo::after { background: rgba(255,255,255,.08); }
.crop-1 { background-position: 0% 0%; }.crop-2 { background-position: 50% 0%; }.crop-3 { background-position: 100% 0%; }
.crop-4 { background-position: 0% 100%; }.crop-5 { background-position: 50% 100%; }.crop-6 { background-position: 100% 100%; }
.product-photo span { position: absolute; z-index: 1; left: 15px; top: 15px; padding: 7px 10px; color: white; background: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-info { padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; }
.product-info p { margin: 0 0 5px; color: var(--rust); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.product-info h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.product-info small { color: var(--muted); font-size: 10px; }
.product-buy { display: flex; align-items: center; gap: 12px; }
.product-buy b { white-space: nowrap; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.product-buy button { width: 40px; height: 40px; flex: 0 0 40px; border: 0; border-radius: 50%; color: white; background: var(--green); font-size: 23px; font-weight: 300; transition: transform .2s, background .2s; }
.product-buy button:hover { transform: scale(1.08); background: var(--rust); }

.atelier { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--green); color: white; }
.atelier-copy { padding: clamp(80px, 9vw, 140px); background: linear-gradient(145deg, var(--green), #0d2c25); }
.atelier-copy > p:not(.eyebrow) { max-width: 550px; margin: 30px 0; color: rgba(255,255,255,.66); line-height: 1.8; font-size: 14px; }
.atelier-steps { display: flex; flex-direction: column; justify-content: center; background: var(--cream); color: var(--ink); }
.atelier-steps article { padding: 42px clamp(30px, 5vw, 80px); display: grid; grid-template-columns: 52px 1fr; gap: 22px; border-bottom: 1px solid var(--line); }
.atelier-steps article:last-child { border: 0; }
.atelier-steps > article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--green); color: var(--green); font-size: 10px; }
.atelier-steps h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.atelier-steps p { margin: 0; color: var(--muted); font-size: 12px; }
.closing-cta { padding: clamp(100px, 13vw, 190px) 24px; text-align: center; background: #efe4cd; }
.closing-cta > p:not(.eyebrow) { max-width: 600px; margin: 25px auto 30px; color: var(--muted); line-height: 1.7; }

footer { padding: 70px clamp(22px, 6.2vw, 105px) 26px; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 50px; color: white; background: #0f2923; }
.brand-footer .brand-mark { color: var(--green); background: var(--cream); }
.brand-footer small { color: rgba(255,255,255,.5); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 16px 24px; font-size: 12px; }
.footer-links a:hover { color: var(--gold); }
.footer-note { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }
.footer-note strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.footer-note p { max-width: 380px; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.7; }
.copyright { grid-column: 1 / -1; margin: 40px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.overlay, .modal-overlay { position: fixed; inset: 0; z-index: 69; border: 0; background: rgba(8,23,19,.56); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.show { opacity: 1; pointer-events: auto; }
.cart { width: min(460px, 94vw); height: 100vh; padding: 34px; position: fixed; z-index: 70; top: 0; right: 0; display: flex; flex-direction: column; background: var(--paper); transform: translateX(104%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 70px rgba(0,0,0,.18); }
.cart.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.cart-head .eyebrow { margin-bottom: 8px; }
.cart-head h2 { font-size: 43px; }
.cart-head button, .modal-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 25px; }
.cart-empty { margin: auto; text-align: center; }
.cart-empty span { font-family: var(--serif); font-size: 55px; color: var(--gold); }
.cart-empty h3 { margin: 12px 0 5px; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.cart-empty p { color: var(--muted); font-size: 12px; }
.cart-items { overflow: auto; flex: 1; }
.cart-line { padding: 18px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; border-bottom: 1px solid var(--line); }
.cart-line h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.cart-line p { margin: 0; color: var(--muted); font-size: 11px; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.pickup-panel { margin: 20px 0; display: none; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.pickup-panel.show { display: grid; }
.pickup-panel label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.pickup-panel select { width: 100%; padding: 11px; border: 1px solid var(--line); background: white; font-size: 11px; }
.cart-total { padding: 19px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.cart-total b { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.checkout { width: 100%; }
.checkout:disabled { opacity: .42; cursor: not-allowed; }
.cart > small { margin-top: 11px; color: var(--muted); text-align: center; font-size: 9px; }
.demo-modal { width: min(520px, 90vw); padding: 55px; position: fixed; z-index: 81; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; background: var(--paper); box-shadow: 0 25px 90px rgba(0,0,0,.25); }
.demo-modal[hidden], .modal-overlay[hidden] { display: none; }
.modal-overlay { z-index: 80; opacity: 1; pointer-events: auto; }
.modal-close { position: absolute; right: 18px; top: 18px; }
.modal-check { width: 64px; height: 64px; margin: 0 auto 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 30px; }
.demo-modal h2 { font-size: 45px; }
.demo-modal > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; font-size: 13px; }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; padding: 12px 18px; border-radius: 999px; color: white; background: var(--green); font-size: 11px; font-weight: 700; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .site-header { gap: 22px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 11px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .atelier { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .demo-bar { padding-inline: 12px; font-size: 9px; }
  .site-header { height: 76px; grid-template-columns: auto auto 1fr; padding: 0 18px; }
  .brand strong { font-size: 21px; }
  .brand-mark { width: 39px; height: 39px; }
  .menu-toggle { justify-self: end; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
  .menu-toggle span { width: 20px; height: 1px; background: var(--ink); }
  .menu-toggle b { display: none; }
  .main-nav { position: fixed; z-index: 35; top: 108px; left: 0; right: 0; padding: 22px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .cart-button { min-width: 48px; width: 48px; padding: 0; justify-self: end; }
  .cart-button span { display: none; }
  .hero { height: 680px; min-height: 0; align-items: flex-end; }
  .hero > img { object-position: 61% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,23,19,.91), rgba(8,23,19,.12) 85%); }
  .hero-copy { width: auto; margin: 0 22px 62px; }
  h1 { font-size: clamp(58px, 18vw, 78px); }
  .hero-note { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 310px; }
  .shop-intro { align-items: start; flex-direction: column; gap: 25px; }
  .shop-intro > p { width: auto; }
  .products { grid-template-columns: 1fr; }
  .product-photo { height: min(92vw, 430px); }
  .atelier-copy { padding: 80px 25px; }
  footer { grid-template-columns: 1fr; }
  .footer-note { padding: 25px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
