:root {
  --ink: #002f00;
  --paper: #fcf7ee;
  --paper-deep: #f7eddf;
  --sage: #b9dab2;
  --line: rgba(0, 47, 0, 0.16);
  --page-gutter: 64px;
  --shell: calc(100vw - (var(--page-gutter) * 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Assistant", Arial, sans-serif; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section-space { margin-top: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header { position: sticky; top: 0; z-index: 50; height: 94px; background: rgba(247,237,223,.94); backdrop-filter: blur(12px); }
.header-inner { width: var(--shell); height: 94px; margin: auto; position: relative; display: flex; align-items: center; justify-content: space-between; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a, .mobile-menu a { font: 500 12px/1 "Inter", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.desktop-nav a, .footer-links a { position: relative; }
.desktop-nav a::after, .footer-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .25s ease; }
.desktop-nav a:hover::after, .footer-links a:hover::after { right: 0; }
.brand { position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 132px; height: 78px; overflow: hidden; }
.brand img { width: 182px; height: 182px; object-fit: contain; position: absolute; left: 50%; top: 49%; transform: translate(-50%, -50%); }
.cart-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.cart-button:hover { background: rgba(0,47,0,.08); }
.cart-button img { width: 30px; height: 30px; }
.menu-toggle, .mobile-menu { display: none; }

.hero { min-height: 785px; padding: 80px 20px 66px; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 0; }
.hero-image { height: auto; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; }
.hero-image img { height: 100%; object-fit: cover; object-position: center 56%; }
.hero-copy { max-width: 540px; padding: 0 20px; margin: auto; text-align: center; }
h1, .story h2, .occasion-card h3, .footer-panel h2 { font-family: Arial, sans-serif; font-weight: 400; }
h1 { margin: 0; font-size: clamp(42px, 3.2vw, 64px); line-height: 1.08; letter-spacing: -.04em; }
.hero-copy p { max-width: 420px; margin: 22px auto 0; font-size: 18px; line-height: 1.5; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; margin-top: 30px; min-height: 64px; padding: 0 30px; border-radius: 7px; background: var(--ink); color: #fff; font: 500 12px/1 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: #0a4609; }

.marquee { overflow: hidden; padding: 16px 0; background: #fff; border-block: 1px solid rgba(0,47,0,.04); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 54px; animation: scroll 28s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 14px; min-width: max-content; font: italic 700 18px/1 Arial, sans-serif; }
.marquee img { width: 32px; height: 35px; object-fit: contain; }
@keyframes scroll { to { transform: translateX(-50%); } }

.products { width: var(--shell); }
.products > h2, .occasions > h2 { margin: 0 0 20px; font: 400 20px/1.2 Arial, sans-serif; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.05vw, 20px); }
.product-card { position: relative; min-width: 0; aspect-ratio: 325 / 393; background: #f5e5c8; border-radius: 15px; overflow: visible; transition: transform .25s, box-shadow .25s; }
.product-card:hover, .occasion-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(0,47,0,.12); }
.product-image { height: 63.62%; overflow: hidden; border-radius: 15px 15px 0 0; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-card:nth-child(1) .product-image img { object-fit: contain; object-position: center; transform: scale(1.08); }
.product-card:nth-child(2) .product-image img { object-fit: contain; object-position: center; padding: 10px; }
.product-card:nth-child(3) .product-image img { object-fit: contain; object-position: center; padding: 10px; }
.product-card:nth-child(4) .product-image img { object-fit: contain; object-position: center; padding: 10px; }
.product-card h3 { margin: 10px clamp(18px, 1.57vw, 30px) 0; font: 400 clamp(16px, 1.2vw, 23px)/1.18 Arial, sans-serif; }
.product-card.delivery { background: var(--sage); }
.product-card.delivery .product-image img { object-fit: cover; object-position: center 61%; }
.card-link { display: block; margin: 20px clamp(18px, 1.57vw, 30px) 0; font: 500 clamp(9px, .63vw, 12px)/1 "Inter", sans-serif; text-transform: uppercase; }
.badge { position: absolute; z-index: 2; left: -10px; top: -8px; width: 72px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: #fff9e7; font: 600 10px/.9 "Inter", sans-serif; text-align: center; transform: rotate(-7deg); }

.story { max-width: 1200px; padding: 70px 0 55px; border: 1px solid rgba(0,47,0,.32); border-radius: 4px; background: var(--sage); }
.story-block { min-height: 390px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.story-image { width: min(72%, 390px); height: auto; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; }
.story-top .story-image { margin-left: -8px; transform: rotate(-3deg); }
.story-bottom .story-image { justify-self: end; margin-right: -6px; transform: rotate(3deg); }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { padding: 56px; }
.story-copy h2 { font-size: clamp(34px, 3vw, 52px); line-height: 1.04; letter-spacing: -.035em; margin: 0; }
.story-copy p { max-width: 520px; margin: 24px 0 0; font-size: 17px; line-height: 1.55; }

.occasions { padding-bottom: 72px; }
.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.occasion-card { min-width: 0; border-radius: 15px; overflow: hidden; background: var(--paper-deep); transition: transform .25s, box-shadow .25s; }
.occasion-card > img { height: 374px; object-fit: cover; object-position: center; }
.occasion-card:nth-child(2) > img { object-position: center 43%; }
.occasion-copy { min-height: 218px; padding: 22px 24px 28px; display: flex; flex-direction: column; }
.occasion-copy h3 { margin: 0; font-size: 31px; line-height: 1.2; }
.occasion-copy p { margin: 12px 0 26px; font-size: 17px; line-height: 1.5; }
.occasion-copy a { margin-top: auto; font: 500 12px/1 "Inter", sans-serif; text-transform: uppercase; letter-spacing: .02em; }

.site-footer { padding-top: 36px; }
.footer-panel { min-height: 436px; padding: 40px 20px; border-radius: 15px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; background: var(--ink); color: #fff; }
.footer-contact { text-align: center; justify-self: center; width: min(100%, 446px); }
.cookie-mark { width: 70px; height: 70px; margin: 0 auto 26px; }
.footer-contact h2 { margin: 0; font-size: 26px; }
.footer-contact p { max-width: 360px; margin: 20px auto 22px; font-size: 16px; line-height: 1.5; }
.email-form { display: flex; width: min(360px, 100%); height: 47px; margin: auto; border: 1px solid #fff; border-radius: 8px; overflow: hidden; }
.email-form input { min-width: 0; flex: 1; padding: 0 16px; border: 0; outline: none; color: #fff; background: transparent; }
.email-form input::placeholder { color: #fff; opacity: 1; }
.email-form button { width: 48px; border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 22px; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 22px; font: 400 16px/1 Arial, sans-serif; }
.socials { display: flex; justify-content: center; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; }
.socials img { width: 20px; height: 20px; }
.copyright { height: 82px; display: flex; align-items: center; margin: 0; font-size: 14px; }

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

@media (max-width: 900px) {
  :root { --page-gutter: 32px; }
  .site-header, .header-inner { height: 76px; }
  .desktop-nav { display: none; }
  .menu-toggle { width: 44px; height: 44px; padding: 7px 5px; border: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; color: var(--ink); background: transparent; cursor: pointer; }
  .menu-toggle-line { width: 32px; height: 3px; border-radius: 999px; background: currentColor; transform-origin: center; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .brand { top: 0; width: 105px; height: 74px; }
  .brand img { width: 150px; height: 150px; }
  .mobile-menu { display: grid; position: absolute; left: 16px; right: 16px; top: 68px; padding: 16px; gap: 0; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a { padding: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero { min-height: auto; padding: 32px 0 56px; grid-template-columns: 1fr; gap: 38px; }
  .hero-image { height: auto; aspect-ratio: 1 / 1; }
  .hero-copy { order: -1; padding: 36px 12px 0; }
  h1 { font-size: clamp(42px, 12vw, 60px); }
  .hero-copy p { font-size: 17px; }
  .products { width: var(--shell); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .story { padding: 35px 22px; }
  .story-block { min-height: 0; grid-template-columns: 1fr; gap: 28px; }
  .story-bottom { margin-top: 72px; }
  .story-bottom .story-copy { order: 2; }
  .story-image, .story-top .story-image, .story-bottom .story-image { width: min(82%, 390px); height: auto; aspect-ratio: 3 / 4; margin: 0 auto; }
  .story-copy { padding: 24px 6px; }
  .occasion-grid { grid-template-columns: 1fr; }
  .occasion-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .occasion-card > img { height: 100%; min-height: 360px; }
  .footer-panel { grid-template-columns: 1fr; gap: 52px; padding: 54px 20px; }
}

@media (max-width: 560px) {
  :root { --page-gutter: 12px; }
  .cart-button { width: 38px; height: 38px; }
  .cart-button img { width: 25px; height: 25px; }
  .hero { width: 100%; }
  .hero-copy { width: calc(100% - 24px); }
  .hero-image { border-radius: 0; height: auto; aspect-ratio: 1 / 1; }
  .section-space { margin-top: 54px; }
  .products > h2, .occasions > h2 { font-size: 18px; }
  .products { width: var(--shell); }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { aspect-ratio: auto; min-height: 235px; display: grid; grid-template-columns: 44% 56%; align-items: center; }
  .product-image { height: 190px; }
  .product-card h3 { margin: 18px; font-size: 20px; }
  .product-card .card-link { position: absolute; left: 44%; bottom: 20px; margin-left: 18px; }
  .story { width: 100%; border-inline: 0; border-radius: 0; }
  .story-image, .story-top .story-image, .story-bottom .story-image { width: min(88%, 360px); height: auto; aspect-ratio: 3 / 4; }
  .story-copy h2 { font-size: 38px; }
  .occasion-card { display: block; }
  .occasion-card > img { height: 330px; min-height: 0; }
  .site-footer { width: 100%; padding-top: 0; }
  .footer-panel { border-radius: 0; }
  .copyright { padding-left: 12px; }
}

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