:root {
  --ink: #171815;
  --paper: #f6f6f2;
  --white: #fff;
  --muted: #777a72;
  --line: #dedfd8;
  --lime: #d7f36a;
  --red: #df473c;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
img { display: block; width: 100%; }
.wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }

.announcement { display: flex; justify-content: center; gap: 8px; padding: 10px 16px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .04em; }
.announcement strong { color: var(--lime); font-weight: 700; }
header { position: sticky; z-index: 5; top: 0; background: rgba(246,246,242,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.06em; }
.brand-mark { width: 30px; height: 23px; position: relative; overflow: hidden; }
.brand-mark i { position: absolute; display: block; height: 5px; background: currentColor; transform: skewY(-27deg); right: 0; }
.brand-mark i:nth-child(1) { width: 18px; bottom: 1px; }
.brand-mark i:nth-child(2) { width: 23px; bottom: 8px; }
.brand-mark i:nth-child(3) { width: 28px; bottom: 15px; }
.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; font-size: 13px; font-weight: 600; }
.nav-links a { transition: opacity .2s ease; }
.nav-links a:hover { opacity: .55; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; position: relative; }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 0; right: 0; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; background: var(--lime); border-radius: 50%; font-size: 9px; font-weight: 700; }
.menu-button { display: none; }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 510px; margin-top: 24px; background: #e7e9df; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 70px clamp(32px, 7vw, 100px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 23px; color: #4b5143; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: #8da73b; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 530px; margin-bottom: 20px; font: 600 clamp(46px, 6vw, 78px)/.98 "Space Grotesk", sans-serif; letter-spacing: -.075em; }
.hero-copy > p:not(.eyebrow) { max-width: 380px; margin-bottom: 30px; color: #55594f; font-size: 15px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.button:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-art { position: relative; min-height: 420px; overflow: hidden; background: #d3d8ca; }
.hero-art img { height: 100%; min-height: 510px; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.hero-note { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: var(--paper); font-size: 11px; font-weight: 700; }
.hero-note span { display: block; color: var(--muted); font-size: 10px; font-weight: 500; }
.hero-note b { font-size: 18px; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.benefit { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 22px 12px; border-right: 1px solid var(--line); }
.benefit:last-child { border-right: 0; }
.benefit svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.benefit strong { display: block; font-size: 12px; }
.benefit span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }

.catalog { padding: 76px 0 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font: 600 38px/1.05 "Space Grotesk", sans-serif; letter-spacing: -.06em; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); background: transparent; color: #55584f; font-size: 11px; font-weight: 600; transition: all .2s ease; }
.filter:hover, .filter.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product { min-width: 0; animation: appear .5s both; }
.product[hidden] { display: none; }
.product-image { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; background: #e8e9e3; }
.product-image img { height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.product:hover .product-image img { transform: scale(1.045); }
.tag { position: absolute; top: 12px; left: 12px; padding: 7px 9px; background: var(--lime); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.favorite { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); }
.favorite svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.favorite.selected svg { fill: var(--red); stroke: var(--red); }
.product-info { padding: 14px 2px 0; }
.product-type { margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.product-title { margin-bottom: 8px; font: 600 15px "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-size: 13px; font-weight: 700; }
.add-cart { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; transition: all .2s; }
.add-cart:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.add-cart svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.story { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; background: var(--lime); }
.story-image { min-height: 360px; overflow: hidden; }
.story-image img { height: 100%; object-fit: cover; }
.story-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px clamp(30px, 6vw, 82px); }
.story-copy .eyebrow { color: #404b24; }
.story h2 { max-width: 430px; margin-bottom: 15px; font: 600 43px/1.02 "Space Grotesk", sans-serif; letter-spacing: -.065em; }
.story-copy p:not(.eyebrow) { max-width: 390px; margin-bottom: 24px; color: #454a37; font-size: 13px; line-height: 1.7; }
.story .button { border-color: var(--ink); background: transparent; color: var(--ink); }
.story .button:hover { background: var(--ink); color: #fff; }

footer { padding: 48px 0 24px; background: var(--ink); color: white; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 42px; }
.footer-brand p { max-width: 260px; margin: 16px 0 0; color: #a7aaa2; font-size: 12px; line-height: 1.65; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 48px; }
.footer-column strong { display: block; margin-bottom: 15px; font-size: 11px; }
.footer-column a { display: block; margin-top: 10px; color: #a7aaa2; font-size: 11px; }
.footer-column a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid #393b36; color: #a7aaa2; font-size: 10px; }
.toast { position: fixed; z-index: 10; right: 24px; bottom: 24px; padding: 14px 18px; background: var(--ink); color: white; font-size: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .hero { min-height: 420px; }
  .hero-copy { padding: 48px 38px; }
  .hero-art img { min-height: 420px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .story h2 { font-size: 36px; }
  .footer-columns { gap: 24px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .announcement { font-size: 9px; }
  .nav { min-height: 64px; gap: 12px; }
  .brand { font-size: 19px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; align-items: stretch; gap: 0; padding: 8px 18px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; flex-direction: column; }
  .nav-links a { padding: 12px 0; }
  .nav-actions { gap: 5px; }
  .menu-button { display: inline-grid; }
  .hero { grid-template-columns: 1fr; margin-top: 12px; }
  .hero-copy { padding: 42px 28px 36px; }
  .hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-art { min-height: 290px; }
  .hero-art img { min-height: 290px; max-height: 370px; }
  .hero-note { right: 12px; bottom: 12px; }
  .benefit { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 10px; }
  .benefit strong { font-size: 10px; }
  .benefit span { font-size: 9px; line-height: 1.4; }
  .catalog { padding: 58px 0; }
  .section-heading h2 { font-size: 32px; }
  .filters { gap: 6px; }
  .filter { min-height: 33px; padding: 0 10px; font-size: 10px; }
  .products { gap: 24px 12px; }
  .product-title { font-size: 13px; }
  .product-type { font-size: 9px; }
  .price { font-size: 11px; }
  .product-image { aspect-ratio: 1 / 1.05; }
  .tag { top: 8px; left: 8px; padding: 6px; font-size: 8px; }
  .favorite { top: 6px; right: 6px; width: 30px; height: 30px; }
  .story { grid-template-columns: 1fr; }
  .story-image { min-height: 240px; max-height: 300px; }
  .story-copy { padding: 36px 26px 40px; }
  .story h2 { font-size: 38px; }
  .footer-main { flex-direction: column; }
  .footer-columns { width: 100%; gap: 12px; grid-template-columns: repeat(3, 1fr); }
  .footer-column strong { font-size: 10px; }
  .footer-column a { font-size: 10px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}