:root {
  --ink: #141414;
  --sand: #f4f1ec;
  --stone: #e8e3da;
  --ember: #d9480f;
  --ember-dark: #b03a0b;
  --muted: #625e57;
  --line: #d9d3c8;
  --white: #ffffff;
  --max: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; background: var(--stone); }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.06; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.hl { font-style: italic; color: var(--ember); }

.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 32em; }

/* Announcement */
.announce { margin: 0; background: var(--ink); color: var(--sand); text-align: center; font-size: .8rem; letter-spacing: .06em; padding: 9px 16px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .95em 1.9em;
  background: var(--ink);
  color: var(--sand);
  font: inherit; font-weight: 600; font-size: .84rem;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  border: 1.500px solid var(--ink);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--ember); border-color: var(--ember); color: var(--white); }
.btn:focus-visible, .filter:focus-visible, .add:focus-visible, .bag:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--sand); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(244,241,236,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { background: none; }
.wordmark { display: flex; flex-direction: column; font-weight: 800; font-size: 1.25rem; letter-spacing: .22em; line-height: 1; }
.wordmark small { font-weight: 500; font-size: .6rem; letter-spacing: .42em; text-transform: uppercase; color: var(--ember); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.nav a:hover { color: var(--ember); }
.bag { position: relative; display: grid; place-items: center; width: 44px; height: 44px; }
.bag svg { width: 25px; height: 25px; fill: none; stroke: var(--ink); stroke-width: 1.600; stroke-linejoin: round; stroke-linecap: round; }
.bag-count { position: absolute; top: 3px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--sand); font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.bag-count.has-items { background: var(--ember); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 56px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--stone); }
.section-dark { background: var(--ink); color: var(--sand); }
.section-dark .eyebrow { color: #b9b2a6; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.cat { position: relative; display: block; overflow: hidden; text-decoration: none; color: var(--white); }
.cat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
.cat:hover img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(transparent, rgba(20,20,20,.72)); }
.cat-label { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; }
.cat-label strong { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; }
.cat-label small { font-size: .9rem; opacity: .92; }

/* Shop */
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.shop-head h2 { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.filter { font: inherit; font-weight: 500; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; padding: .4em 0; background: none; color: var(--muted); border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); border-bottom-color: var(--ember); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; margin-top: 36px; }
.product { display: flex; flex-direction: column; }
.product-art { position: relative; overflow: hidden; }
.product-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
.product:hover .product-art img { transform: scale(1.04); }
.tag { position: absolute; left: 0; bottom: 14px; z-index: 1; background: var(--sand); color: var(--ink); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .4em .9em; }
.product-body { padding-top: 14px; display: flex; flex-direction: column; flex: 1; }
.product-cat { margin: 0 0 .2em; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.product-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-size: 1.05rem; font-weight: 600; }
.add { font: inherit; font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .6em .9em; background: transparent; color: var(--ink); border: 1.500px solid var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.add:hover { background: var(--ink); color: var(--sand); }

/* Responsibility */
.resp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.resp-inner img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.resp-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.resp-list li { display: flex; flex-direction: column; padding: 18px 0; border-bottom: 1px solid var(--line); }
.resp-list strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.resp-list span { color: var(--muted); }

/* Perks */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid rgba(244,241,236,.2); }
.perk { display: flex; flex-direction: column; padding: 26px 24px 4px 0; }
.perk + .perk { padding-left: 24px; border-left: 1px solid rgba(244,241,236,.2); }
.perk strong { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--white); }
.perk span { color: #b9b2a6; font-size: .95rem; }

/* Contact */
.contact { text-align: center; }
.contact .lead { margin: 0 auto 1.7em; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .btn { text-transform: none; letter-spacing: .02em; font-size: 1rem; }

/* Footer */
.site-footer { background: var(--ink); color: #b9b2a6; font-size: .88rem; }
.footer-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-inner img { background: none; border: 1px solid rgba(244,241,236,.25); border-radius: 6px; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 1020px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { padding-left: 0; border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid rgba(244,241,236,.2); }
}

@media (max-width: 880px) {
  .hero-inner, .resp-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 64px 0; }
  .nav { display: none; }
  .bag { margin-left: auto; }
  .cats { grid-template-columns: 1fr; }
  .cat img { aspect-ratio: 4 / 3; }
  .resp-inner img { aspect-ratio: 4 / 3; }
  .marquee-inner { justify-content: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .add { width: 100%; }
  .announce { font-size: .72rem; }
  .perks { grid-template-columns: 1fr; }
  .perk, .perk + .perk { padding: 20px 0 4px; border-left: 0; border-top: 1px solid rgba(244,241,236,.2); }
  .perk:first-child { border-top: 0; }
  .wordmark { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
