/* ============================================================
   KEPT — shared stylesheet
   Brand tokens in BRAND-KIT.md. Every value below traces to one.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* palette */
  --paper: #f7f3f0;
  --paper-2: #efe7e2;
  --paper-3: #e4d9d3;
  --ink: #221a1d;
  --ink-deep: #171013;
  --mu: #6a5a5e;          /* 5.9:1 on paper, 5.3:1 on paper-2, 4.7:1 on paper-3 */
  --ac: #8b2f4e;
  --ac-soft: #b4708a;
  --ac-2: #d98e2b;        /* marigold — 7.0:1 on ink-deep. DARK BACKGROUNDS ONLY */
  --ac-2-ink: #8f5a10;    /* the same marigold, darkened for light backgrounds — 5.2:1 */
  --line: rgba(34, 26, 29, .11);
  --line-strong: rgba(34, 26, 29, .2);
  --line-dark: rgba(247, 243, 240, .14);

  /* type */
  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* motion — Module C tokens */
  --t-micro: 150ms;
  --t-ui: 300ms;
  --t-reveal: 700ms;
  --t-hero: 1100ms;
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-in-out: cubic-bezier(.65, 0, .35, 1);
  --e-expo: cubic-bezier(.16, 1, .3, 1);

  /* layout */
  --shell: 1220px;
  --gut: clamp(20px, 5vw, 56px);
  --nav-h: 68px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--ac); color: var(--paper); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 400;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 4px;
  font-size: .82rem; font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--t-ui) var(--e-out);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}

.display-xl { font-size: clamp(2.9rem, 7.4vw, 6rem); font-weight: 600; }
.display-l  { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.display-m  { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.display-s  { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.72;
  color: var(--mu);
  max-width: 54ch;
}

.sec-label {
  font-family: var(--f-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mu);
  display: flex; align-items: center; gap: 12px;
}
.sec-label::before {
  content: ""; width: 26px; height: 1px;
  background: var(--ac); flex: none;
}

/* Numbers are ALWAYS Inter. No exceptions. */
.num, .price, .stat-n, .kept-no, .qty, time { font-family: var(--f-body); font-variant-numeric: tabular-nums; }

/* Signature: the Kept index numeral.
   Marigold is the signature colour, but at #d98e2b it is only 2.4:1 on paper — so light
   contexts get the darkened variant and dark contexts get the bright one. Same hue either way. */
.kept-no {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--ac-2-ink);
  text-transform: uppercase;
}
.band-dark .kept-no, .pcard-note .kept-no, .footer .kept-no { color: var(--ac-2); }

/* ---------- 4. Layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.rule { height: 1px; background: var(--line); border: 0; }

.band-dark {
  background: var(--ink-deep);
  color: var(--paper);
}
.band-dark .lede, .band-dark .sec-label { color: rgba(247, 243, 240, .6); }
/* berry is only 2.3:1 on --ink-deep, so the dark bands use the soft berry (5.1:1)
   rather than reaching for marigold. Marigold is the Kept index and nothing else. */
.band-dark .sec-label::before { background: var(--ac-soft); }

.band-soft { background: var(--paper-2); }

/* ---------- 5. Navigation — centered logo (Type K) ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 200;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gut);
  background: rgba(247, 243, 240, .88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-ui) var(--e-out);
}
.nav.is-scrolled { box-shadow: 0 6px 30px rgba(34, 26, 29, .07); }

.nav-list { display: flex; gap: 2px; align-items: center; }
.nav-list--right { justify-content: flex-end; }

.nav-link {
  font-size: .82rem; font-weight: 500; color: var(--mu);
  padding: 9px 13px; border-radius: 4px;
  position: relative;
  transition: color var(--t-micro) var(--e-out), background var(--t-micro) var(--e-out);
}
.nav-link:hover { color: var(--ink); background: rgba(34, 26, 29, .045); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 1.5px; background: var(--ac);
}

.wordmark {
  font-family: var(--f-display);
  font-weight: 900; font-size: 1.32rem;
  letter-spacing: .13em; text-transform: uppercase;
  text-align: center; line-height: 1;
  display: inline-flex; align-items: flex-start; gap: 3px;
  transition: opacity var(--t-micro) var(--e-out);
}
.wordmark:hover { opacity: .68; }
.wordmark sup {
  font-family: var(--f-body);
  font-size: .42rem; font-weight: 700; letter-spacing: .06em;
  color: var(--ac-2-ink); margin-top: 2px;
}
.footer .wordmark sup { color: var(--ac-2); }

/* cart button */
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: .8rem; font-weight: 600;
  transition: background var(--t-micro) var(--e-out), border-color var(--t-micro) var(--e-out), color var(--t-micro) var(--e-out);
}
.cart-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cart-count {
  min-width: 20px; height: 20px; padding-inline: 6px;
  display: grid; place-items: center;
  background: var(--ac); color: var(--paper);
  border-radius: 100px; font-size: .68rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: transform var(--t-ui) var(--e-out);
}
.cart-count[data-empty="true"] { background: var(--paper-3); color: var(--mu); }
.cart-count.is-bumped { transform: scale(1.32); }

/* mobile menu */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-burger span {
  width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform var(--t-ui) var(--e-out), opacity var(--t-micro) var(--e-out);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 199;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--gut) 28px;
  display: none; flex-direction: column;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto 1fr; }
  .nav-list--left { display: none; }
  .nav-burger { display: flex; }
  .nav-list--right .nav-link { display: none; }
}

.page-top { padding-top: var(--nav-h); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 30px;
  font-size: .87rem; font-weight: 600; letter-spacing: .01em;
  border-radius: 3px; cursor: pointer;
  transition: background var(--t-ui) var(--e-out), color var(--t-ui) var(--e-out),
              border-color var(--t-ui) var(--e-out), transform var(--t-micro) var(--e-out),
              box-shadow var(--t-ui) var(--e-out), opacity var(--t-micro) var(--e-out);
}
.btn:active { transform: scale(.975); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--ac); color: var(--paper); }
.btn-primary:hover:not([disabled]) { background: #74253f; box-shadow: 0 8px 26px rgba(139, 47, 78, .26); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover:not([disabled]) { background: #3a2c31; }

.btn-line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-line:hover:not([disabled]) { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.band-dark .btn-line { border-color: var(--line-dark); color: var(--paper); }
.band-dark .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn-block { width: 100%; }

.btn .arrow { transition: translate var(--t-micro) var(--e-out); }
.btn:hover .arrow { translate: 4px 0; }

/* text link with sliding rule */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; font-weight: 600; font-size: .87rem;
  color: var(--ac); min-height: 44px;   /* touch target */
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 11px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform var(--t-ui) var(--e-out);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.band-dark .tlink { color: var(--ac-soft); }

/* ---------- 7. Product card ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: clamp(20px, 2.6vw, 34px) clamp(16px, 2vw, 26px);
}

.pcard { display: block; position: relative; }

.pcard-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  overflow: hidden;
  border-radius: 2px;
}
.pcard-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-hero) var(--e-out), filter var(--t-ui) var(--e-out);
}
.pcard:hover .pcard-media img { transform: scale(1.045); }

.pcard-index {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(247, 243, 240, .93);
  padding: 4px 9px; border-radius: 100px;
  backdrop-filter: blur(6px);
}

.pcard-flag {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 4px 10px; border-radius: 100px;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ac); color: var(--paper);
}
.pcard-flag[data-flag="soldout"] { background: var(--ink); }

/* curator note slides up over the image on hover — the signature interaction */
.pcard-note {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: 16px 15px 15px;
  background: linear-gradient(to top, rgba(23, 16, 19, .93), rgba(23, 16, 19, .78) 62%, transparent);
  color: var(--paper);
  font-size: .81rem; line-height: 1.6;
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--t-ui) var(--e-out), transform var(--t-ui) var(--e-out);
}
.pcard:hover .pcard-note, .pcard:focus-within .pcard-note { opacity: 1; transform: none; }
.pcard-note b { display: block; font-weight: 600; color: var(--ac-2); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 5px; }

.pcard-body { padding-top: 13px; display: flex; flex-direction: column; gap: 3px; }
.pcard-maker { font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--mu); }
.pcard-name { font-family: var(--f-display); font-size: 1.04rem; font-weight: 600; line-height: 1.28; }
.pcard:hover .pcard-name { color: var(--ac); }
.pcard-price { display: flex; align-items: baseline; gap: 8px; margin-top: 3px; }
.price { font-size: .92rem; font-weight: 600; }
.price-was { font-size: .8rem; color: var(--mu); text-decoration: line-through; }
.pcard[data-soldout="true"] .pcard-media img { filter: grayscale(.75) opacity(.72); }

/* ---------- 8. Hero mosaic ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 78px)); padding-bottom: clamp(52px, 7vw, 96px); }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 4vw, 68px); align-items: center;
}
.hero-copy { max-width: 33ch; }
.hero h1 { margin-bottom: 22px; }
.hero-eyebrow { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(52px, 7.2vw, 96px);
  gap: clamp(8px, 1vw, 14px);
}
.mosaic figure { position: relative; overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m1 { grid-column: 1 / span 3; grid-row: 1 / span 3; }
.mosaic .m2 { grid-column: 4 / span 3; grid-row: 1 / span 2; }
.mosaic .m3 { grid-column: 4 / span 2; grid-row: 3 / span 2; }
.mosaic .m4 { grid-column: 1 / span 3; grid-row: 4 / span 2; }
.mosaic .m5 { grid-column: 6 / span 1; grid-row: 3 / span 2; }
.mosaic figcaption {
  position: absolute; left: 8px; bottom: 8px;
  background: rgba(247, 243, 240, .93); backdrop-filter: blur(6px);
  padding: 3px 8px; border-radius: 100px;
}

/* hero tile entrance — the one orchestrated moment */
.mosaic figure { opacity: 0; transform: translateY(18px) scale(.985); }
.mosaic.is-in figure { animation: tile-in var(--t-hero) var(--e-expo) forwards; }
.mosaic.is-in .m1 { animation-delay: .06s; }
.mosaic.is-in .m2 { animation-delay: .16s; }
.mosaic.is-in .m3 { animation-delay: .26s; }
.mosaic.is-in .m4 { animation-delay: .36s; }
.mosaic.is-in .m5 { animation-delay: .46s; }
@keyframes tile-in { to { opacity: 1; transform: none; } }

/* word-by-word blur-in for the H1 */
h1 .w {
  display: inline-block; opacity: 0;
  filter: blur(5px); transform: translateY(11px);
  animation: word-in .74s var(--e-out) forwards;
}
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }

/* ---------- 9. 3D tilt (the one interactive flourish — hero keeps only) ---------- */
.tilt {
  transform-style: preserve-3d;
  transition: transform var(--t-ui) var(--e-out);
  will-change: transform;
}
.tilt-shine {
  position: absolute; inset: 0; border-radius: inherit; opacity: 0; z-index: 3;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .3), transparent 58%);
  pointer-events: none;
  transition: opacity var(--t-ui) var(--e-out);
}
.tilt:hover .tilt-shine { opacity: 1; }

/* ---------- 10. Editorial stat split (home social proof) ---------- */
.statsplit {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(24px, 5vw, 76px); align-items: center;
}
.statsplit-n {
  font-family: var(--f-body);
  font-size: clamp(4.4rem, 13vw, 11rem);
  font-weight: 700; line-height: .84; letter-spacing: -.04em;
  color: var(--ac); font-variant-numeric: tabular-nums;
}
.statsplit-t { font-family: var(--f-display); font-size: clamp(1.3rem, 2.5vw, 2.05rem); font-weight: 400; line-height: 1.34; }
.statsplit-t em { font-style: normal; color: var(--ac); }

/* ---------- 11. Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.quote-card {
  width: min(78vw, 348px); flex: none;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 3px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.band-dark .quote-card { background: rgba(247, 243, 240, .05); border-color: var(--line-dark); }
.quote-card p { font-family: var(--f-display); font-size: 1rem; line-height: 1.52; font-weight: 400; }
.quote-card footer { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); margin-top: auto; }
.band-dark .quote-card footer { color: rgba(247, 243, 240, .5); }

/* ---------- 12. Filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 9px 17px;
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: .81rem; font-weight: 500; color: var(--mu);
  transition: background var(--t-micro) var(--e-out), color var(--t-micro) var(--e-out), border-color var(--t-micro) var(--e-out);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .chip-n { font-size: .72rem; opacity: .6; margin-inline-start: 6px; font-variant-numeric: tabular-nums; }

/* ---------- 13. Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 0; text-align: start;
  font-family: var(--f-display); font-size: 1.02rem; font-weight: 600;
  transition: color var(--t-micro) var(--e-out);
}
.acc-head:hover { color: var(--ac); }
.acc-icon { flex: none; width: 15px; height: 15px; position: relative; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: currentColor;
  transition: transform var(--t-ui) var(--e-out), opacity var(--t-ui) var(--e-out);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-head[aria-expanded="true"] .acc-icon::after { transform: rotate(0); opacity: 0; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-ui) var(--e-out); }
.acc-panel > div { overflow: hidden; }
.acc-head[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { padding-bottom: 20px; color: var(--mu); font-size: .93rem; max-width: 62ch; }

/* ---------- 14. Forms + states ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; min-height: 48px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 3px;
  font-size: .93rem;
  transition: border-color var(--t-micro) var(--e-out), box-shadow var(--t-micro) var(--e-out);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--mu); opacity: .72; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ac); box-shadow: 0 0 0 3px rgba(139, 47, 78, .15);
}
.field-msg { display: none; align-items: center; gap: 7px; font-size: .78rem; font-weight: 500; }
.field-msg svg { flex: none; }
.field[data-state="invalid"] input, .field[data-state="invalid"] textarea { border-color: #b3261e; }
.field[data-state="invalid"] .field-msg--error { display: flex; color: #b3261e; }
.field[data-state="valid"] .field-msg--ok { display: flex; color: #2e6b45; }

.form-note { font-size: .8rem; color: var(--mu); }

/* generic state blocks — Module E */
.state {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; padding: clamp(44px, 8vw, 80px) 20px;
  border: 1px dashed var(--line-strong); border-radius: 4px;
}
.state h3 { font-size: 1.24rem; }
.state p { color: var(--mu); font-size: .92rem; max-width: 42ch; }

/* skeleton */
.skel { position: relative; overflow: hidden; background: var(--paper-3); border-radius: 3px; }
.skel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .58), transparent);
  transform: translateX(-100%);
  animation: skel-sweep 1.4s var(--e-out) infinite;
}
@keyframes skel-sweep { to { transform: translateX(100%); } }
.skel-line { height: 11px; margin-top: 9px; }
.skel-media { aspect-ratio: 4 / 5; }

/* toast */
.toast-host { position: fixed; inset-inline: 0; bottom: 22px; z-index: 320; display: flex; flex-direction: column; align-items: center; gap: 9px; pointer-events: none; padding-inline: 16px; }
.toast {
  display: flex; align-items: center; gap: 11px;
  background: var(--ink-deep); color: var(--paper);
  padding: 13px 20px; border-radius: 100px;
  font-size: .85rem; font-weight: 500;
  box-shadow: 0 10px 34px rgba(23, 16, 19, .28);
  animation: toast-in .42s var(--e-out);
}
.toast svg { color: var(--ac-2); flex: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* ---------- 15. Cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 290;
  background: rgba(23, 16, 19, .48);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-ui) var(--e-out);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 300;
  width: min(420px, 100vw);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-ui) var(--e-out);
  box-shadow: -18px 0 50px rgba(23, 16, 19, .14);
}
.drawer.is-open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line); flex: none;
}
.drawer-head h2 { font-size: 1.16rem; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 100px;
  transition: background var(--t-micro) var(--e-out);
}
.icon-btn:hover { background: var(--paper-2); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { flex: none; padding: 18px 22px 24px; border-top: 1px solid var(--line); background: var(--paper-2); }
.drawer-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; font-size: .88rem; }
.drawer-row.total { font-size: 1.06rem; font-weight: 700; margin-block: 12px 16px; }

.citem { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.citem:last-child { border-bottom: 0; }
.citem-media { aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; background: var(--paper-2); }
.citem-media img { width: 100%; height: 100%; object-fit: cover; }
.citem-name { font-family: var(--f-display); font-size: .93rem; font-weight: 600; line-height: 1.3; }
.citem-maker { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); margin-top: 2px; }
.qty-ctl { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 100px; margin-top: 9px; }
.qty-ctl button { width: 30px; height: 30px; display: grid; place-items: center; font-size: 1rem; line-height: 1; color: var(--mu); transition: color var(--t-micro) var(--e-out); }
.qty-ctl button:hover { color: var(--ink); }
.qty { min-width: 22px; text-align: center; font-size: .84rem; font-weight: 600; }
.citem-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.citem-remove { font-size: .73rem; color: var(--mu); text-decoration: underline; text-underline-offset: 3px; transition: color var(--t-micro) var(--e-out); }
.citem-remove:hover { color: var(--ac); }

/* ---------- 16. Footer ---------- */
.footer { background: var(--ink-deep); color: var(--paper); padding-block: clamp(52px, 7vw, 82px) 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 54px); }
.footer h3 { font-family: var(--f-body); font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: rgba(247, 243, 240, .48); margin-bottom: 15px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .88rem; color: rgba(247, 243, 240, .78); transition: color var(--t-micro) var(--e-out); width: fit-content; }
.footer-links a:hover { color: var(--ac-2); }
.footer .wordmark { color: var(--paper); }
.footer-bottom {
  margin-top: clamp(38px, 5vw, 58px); padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .76rem; color: rgba(247, 243, 240, .62);
}

/* newsletter inline form */
.nl-form { display: flex; gap: 8px; margin-top: 14px; }
.nl-form input {
  flex: 1; min-width: 0; padding: 12px 14px; min-height: 46px;
  background: rgba(247, 243, 240, .06); color: var(--paper);
  border: 1px solid var(--line-dark); border-radius: 3px; font-size: .86rem;
}
.nl-form input::placeholder { color: rgba(247, 243, 240, .58); }
.nl-form input:focus { outline: none; border-color: var(--ac-2); }
.nl-form button { min-height: 46px; padding-inline: 20px; background: var(--ac-2); color: var(--ink-deep); border-radius: 3px; font-size: .84rem; font-weight: 700; transition: opacity var(--t-micro) var(--e-out); }
.nl-form button:hover { opacity: .85; }

/* ---------- 17. Scroll reveal ---------- */
.sr { opacity: 0; transform: translateY(22px); transition: opacity var(--t-reveal) var(--e-out), transform var(--t-reveal) var(--e-out); }
.sr.is-vis { opacity: 1; transform: none; }
.d1 { transition-delay: .07s; } .d2 { transition-delay: .14s; } .d3 { transition-delay: .21s; }
.d4 { transition-delay: .28s; } .d5 { transition-delay: .35s; } .d6 { transition-delay: .42s; }

/* clip reveal for editorial images */
.img-reveal { overflow: hidden; }
.img-reveal img { clip-path: inset(0 0 100% 0); transform: scale(1.06); transition: clip-path var(--t-hero) var(--e-out), transform 1.3s var(--e-out); }
.img-reveal.is-vis img { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 100%; }
  .mosaic { grid-auto-rows: clamp(58px, 13vw, 92px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .statsplit { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 620px) {
  /* five tiles leaves the last one a sliver at phone widths — drop it to four */
  .mosaic .m5 { display: none; }
  .mosaic .m3 { grid-column: 4 / span 3; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .pcard-name { font-size: .93rem; }
  .pcard-note { font-size: .74rem; padding: 12px 11px 11px; }
  .footer-grid { grid-template-columns: 1fr; }
  .drawer { width: 100vw; }
  .citem { grid-template-columns: 58px 1fr auto; gap: 11px; }
}

/* ---------- 19. Reduced motion (mandatory) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .sr, .mosaic figure, h1 .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .img-reveal img { clip-path: none !important; }
}

/* ---------- 20. Print ---------- */
@media print {
  .nav, .drawer, .scrim, .toast-host, .footer { display: none !important; }
  body { background: #fff; }
}
