/* NOIR ROAST - recreated from the 768px reference.
   Every measurement is in reference pixels multiplied by --u, so the layout
   scales proportionally from 768px up to the cap; below 768px a stacked
   mobile layout takes over with --u fixed at 1px. */

:root {
  --u: 1px;
  --bg: #f9f5ef;
  --bg-hero: #f6f1e7;
  --bar: #e8e1d3;
  --header: #f8f3e8;
  --line: #e6e0d1;
  --card: #fbf9f5;
  --card-progress: #faf6ee;
  --panel: #f3f1e4;
  --ink: #2a1d14;
  --ink-soft: #4b3a2d;
  --muted: #6e6156;
  --brown: #45291a;
  --brown-hover: #5a3826;
  --gold: #9c7c33;
  --track: #ddd1c1;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Jost", "Futura", "Century Gothic", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  container-type: inline-size;
}

/* Scale unit: 1 reference px. Resolved against <body>'s width (no scrollbar). */
body > * { --u: min(100cqw / 768, 1.6px); }

p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  position: relative;
  width: calc(768 * var(--u));
  margin-inline: auto;
}

.nowrap { white-space: nowrap; }

.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;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn-dark { background: var(--brown); color: #f4ebdf; border: 0; }
.btn-dark:hover { background: var(--brown-hover); }
.btn-outline { background: transparent; color: var(--ink); border: calc(1 * var(--u)) solid #3d2c20; }
.btn-outline:hover { background: var(--brown); color: #f4ebdf; }

/* ---------- Announcement bar ---------- */
.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(36 * var(--u));
  background: var(--bar);
  font-size: calc(11.4 * var(--u));
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #2b2219;
  text-align: center;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--header);
  border-bottom: calc(1 * var(--u)) solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(56 * var(--u));
  padding-inline: calc(60 * var(--u));
}
.main-nav { display: flex; gap: calc(22.5 * var(--u)); }
.main-nav a {
  font-size: calc(11 * var(--u));
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #2b2219;
}
.main-nav a:hover, .footer-nav a:hover { color: var(--gold); }
.logo {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.42em;
  white-space: nowrap;
}
.header-inner .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: calc(15.5 * var(--u));
  margin-left: calc(0.21em + 1 * var(--u));
}
.bag { position: relative; display: block; width: calc(22 * var(--u)); height: calc(22 * var(--u)); margin-right: calc(-2 * var(--u)); color: #2b2219; }
.bag svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.bag-count {
  position: absolute; top: calc(-4 * var(--u)); right: calc(-6 * var(--u));
  min-width: calc(14 * var(--u)); height: calc(14 * var(--u)); padding: 0 calc(3 * var(--u));
  border-radius: 999px; background: var(--brown); color: #fff;
  font-size: calc(9 * var(--u)); line-height: calc(14 * var(--u)); text-align: center;
}
.bag-count[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(462 * var(--u));
  background: var(--bg-hero);
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 78%;
}
/* Soft page-colour wash on the left keeps the headline legible over the photo. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 241, 231, .93) 0%, rgba(246, 241, 231, .78) 26%, rgba(246, 241, 231, .25) 46%, rgba(246, 241, 231, 0) 60%);
  pointer-events: none;
}
.hero-inner { z-index: 1; }
.hero-inner { padding: calc(54 * var(--u)) 0 0 calc(140 * var(--u)); }
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(53.5 * var(--u));
  line-height: calc(47.5 * var(--u));
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-title em { font-style: italic; color: #4a3527; }
.hero-copy {
  width: calc(256 * var(--u));
  margin-top: calc(12 * var(--u));
  font-size: calc(14.6 * var(--u));
  letter-spacing: -0.008em;
  line-height: calc(20 * var(--u));
  color: #2d231b;
}
.btn-hero {
  margin-top: calc(18 * var(--u));
  width: calc(155 * var(--u));
  height: calc(41 * var(--u));
  font-size: calc(12 * var(--u));
}

/* ---------- Order-goal card (tab-shaped) ---------- */
.progress-card {
  --frame-tab-x: calc(353 * var(--u));
  --tab-x: var(--frame-tab-x);
  --step: calc(32 * var(--u));
  position: relative;
  z-index: 1;
  width: calc(534 * var(--u));
  margin: calc(-74 * var(--u)) 0 0 calc(117 * var(--u));
  filter: drop-shadow(0 calc(4 * var(--u)) calc(7 * var(--u)) rgba(90, 70, 50, .09));
}
/* The frame is the 1px border; the shape inside it is inset by 1px. */
.progress-frame, .progress-shape {
  clip-path: polygon(
    0 0, var(--tab-x) 0,
    calc(var(--tab-x) + 4 * var(--u)) calc(var(--step) * .024),
    calc(var(--tab-x) + 8 * var(--u)) calc(var(--step) * .095),
    calc(var(--tab-x) + 12 * var(--u)) calc(var(--step) * .206),
    calc(var(--tab-x) + 16 * var(--u)) calc(var(--step) * .345),
    calc(var(--tab-x) + 20 * var(--u)) calc(var(--step) * .5),
    calc(var(--tab-x) + 24 * var(--u)) calc(var(--step) * .655),
    calc(var(--tab-x) + 28 * var(--u)) calc(var(--step) * .794),
    calc(var(--tab-x) + 32 * var(--u)) calc(var(--step) * .905),
    calc(var(--tab-x) + 36 * var(--u)) calc(var(--step) * .976),
    calc(var(--tab-x) + 40 * var(--u)) var(--step),
    100% var(--step), 100% 100%, 0 100%
  );
}
.progress-frame { padding: calc(1 * var(--u)); background: #dcd4c7; }
.progress-shape {
  --tab-x: calc(var(--frame-tab-x) - 0.5 * var(--u));
  height: calc(172 * var(--u));
  padding: calc(20 * var(--u)) calc(22 * var(--u)) 0;
  background: var(--card-progress);
}
.progress-head {
  display: flex;
  align-items: last baseline;
  justify-content: space-between;
}
.progress-head h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: calc(21.8 * var(--u));
  line-height: calc(25 * var(--u));
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--ink);
}
.progress-count {
  display: flex;
  align-items: baseline;
  gap: calc(16 * var(--u));
  font-size: calc(16 * var(--u));
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.progress-count strong { font-weight: 700; margin-right: calc(-12 * var(--u)); }
.live {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-size: calc(12.5 * var(--u));
  text-transform: none;
  color: #8f857b;
}
.live-dot { width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: #cfc6bb; }
.progress-track {
  --progress: 0%;
  position: relative;
  height: calc(31 * var(--u));
  margin-top: calc(19 * var(--u));
  border-radius: 999px;
  background: var(--track);
}
.progress-fill {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9b762b 0%, #b08a3b 28%, #d9b866 58%, #c09a49 75%, #a27c30 100%);
}
.progress-marker {
  position: absolute;
  left: var(--progress);
  top: calc(-13 * var(--u));
  transform: translateX(-50%);
  border-inline: calc(4.5 * var(--u)) solid transparent;
  border-bottom: calc(5.5 * var(--u)) solid #a68640;
}
.progress-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: calc(9 * var(--u));
  font-size: calc(12.6 * var(--u));
  color: #3a2f26;
}
.progress-goal {
  font-weight: 500;
  font-size: calc(16.6 * var(--u));
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Products ---------- */
.products {
  display: grid;
  gap: calc(16 * var(--u));
  width: calc(505 * var(--u));
  margin: calc(51 * var(--u)) 0 0 calc(132 * var(--u));
}
.product {
  display: grid;
  grid-template-columns: calc(220 * var(--u)) 1fr;
  height: calc(182 * var(--u));
  background: var(--card);
  box-shadow: 0 calc(1 * var(--u)) calc(6 * var(--u)) rgba(80, 60, 40, .05);
}
.product img, .story img { display: block; width: 100%; height: auto; min-width: 0; min-height: 0; align-self: stretch; object-fit: cover; }
.product:first-child img { object-position: 52% 55%; }
.product:nth-child(2) img { object-position: 56% 50%; }
.story img { object-position: 46% 62%; }
.product-body { padding: calc(15 * var(--u)) 0 0 calc(23 * var(--u)); }
.eyebrow {
  font-family: var(--display);
  font-size: calc(9 * var(--u));
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3e342c;
}
.product h3 {
  margin-top: calc(2 * var(--u));
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(22.5 * var(--u));
  line-height: calc(26 * var(--u));
  color: var(--ink);
}
.product-desc {
  margin-top: calc(1 * var(--u));
  font-size: calc(11.6 * var(--u));
  line-height: calc(16.5 * var(--u));
  letter-spacing: 0.02em;
  color: var(--muted);
}
.price {
  margin-top: calc(7 * var(--u));
  font-family: var(--serif);
  font-weight: 600;
  font-variant-numeric: lining-nums;
  font-size: calc(21 * var(--u));
  line-height: calc(24 * var(--u));
  color: var(--ink);
}
.price span {
  margin-left: calc(3 * var(--u));
  font-family: var(--sans);
  font-size: calc(11 * var(--u));
  color: var(--muted);
}
.btn-add {
  margin-top: calc(9 * var(--u));
  width: calc(199 * var(--u));
  height: calc(29 * var(--u));
  font-size: calc(10 * var(--u));
}

/* ---------- Story ---------- */
.story {
  display: grid;
  grid-template-columns: calc(216 * var(--u)) 1fr;
  width: calc(533 * var(--u));
  height: calc(153 * var(--u));
  margin: calc(21 * var(--u)) 0 0 calc(118 * var(--u));
  background: var(--panel);
}
.story-body { padding: calc(11 * var(--u)) calc(12 * var(--u)) 0 calc(36 * var(--u)); }
.eyebrow-rule { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(8.6 * var(--u)); }
.eyebrow-rule::after { content: ""; width: calc(20 * var(--u)); height: calc(1 * var(--u)); background: #b9b0a5; }
.story h2 {
  margin-top: calc(3 * var(--u));
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(24.5 * var(--u));
  letter-spacing: -0.01em;
  line-height: calc(28 * var(--u));
  color: var(--ink);
}
.story-body p:not(.eyebrow) {
  max-width: calc(262 * var(--u));
  margin-top: calc(5 * var(--u));
  font-size: calc(9.9 * var(--u));
  letter-spacing: -0.005em;
  line-height: calc(12.9 * var(--u));
  color: #3b3027;
}
.btn-outline {
  margin-top: calc(10 * var(--u));
  width: calc(105 * var(--u));
  height: calc(25 * var(--u));
  font-size: calc(8.4 * var(--u));
  letter-spacing: 0.18em;
}

/* ---------- Footer ---------- */
.site-footer { margin-top: calc(13 * var(--u)); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: calc(506 * var(--u));
  height: calc(91 * var(--u));
  padding-top: calc(11 * var(--u));
  border-top: calc(1 * var(--u)) solid #e3ddd4;
}
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav a {
  font-family: var(--display);
  font-size: calc(7.6 * var(--u));
  line-height: calc(14.3 * var(--u));
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #3a2f26;
}
.footer-brand { text-align: center; padding-top: calc(2 * var(--u)); }
.footer-brand .logo { font-size: calc(13.2 * var(--u)); letter-spacing: 0.45em; margin-right: -0.45em; }
.footer-brand p {
  margin-top: calc(7 * var(--u));
  font-family: var(--display);
  font-size: calc(8.6 * var(--u));
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: #3a2f26;
}
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; }
.social { display: flex; gap: calc(12 * var(--u)); margin-top: calc(1 * var(--u)); margin-right: calc(1 * var(--u)); }
.social a { display: block; width: calc(14.5 * var(--u)); height: calc(14.5 * var(--u)); color: #2b2219; }
.social a:hover { color: var(--gold); }
.social svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-meta p {
  margin-top: calc(9 * var(--u));
  font-family: var(--display);
  font-size: calc(6.2 * var(--u));
  line-height: calc(9 * var(--u));
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
  color: #3a2f26;
}

/* ---------- Desktop (1024px and up) ----------
   Stop proportional scaling at a moderate size and give the header + hero a
   shared content edge so the nav, headline, copy and button line up on the left. */
@media (min-width: 1024px) {
  body > * { --u: min(100cqw / 768, 1.2px); }

  .announcement { height: 32px; font-size: 12px; }

  .site-header .container,
  .hero .container { width: min(1200px, 100% - 96px); }
  .header-inner { height: 56px; padding-inline: 0; }
  .main-nav { gap: 32px; }
  .main-nav a { font-size: 12px; letter-spacing: 0.06em; }
  .header-inner .logo { font-size: 17px; }
  .bag { width: 22px; height: 22px; margin-right: 0; }

  .hero { height: clamp(540px, 42vw, 640px); }
  .hero-photo { object-position: 74% 80%; }
  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding: 0 0 calc(74 * var(--u));
  }
  .hero-title { font-size: clamp(44px, min(4.6vw, 8.2svh), 72px); line-height: 0.9; letter-spacing: -0.02em; }
  .hero-copy { width: auto; max-width: 400px; margin-top: 20px; font-size: 17px; line-height: 1.55; letter-spacing: 0; }
  .btn-hero { width: auto; height: 50px; margin-top: 22px; padding: 0 32px; font-size: 13px; }

  /* Order-goal card: lifted into the hero and aligned to the hero text edge */
  /* Hero height follows the window so the whole order card sits above the fold. */
  /* Hero fills the screen under the header; the order card sits inside the photo, 40px above its bottom edge. */
  :root { --card-h: 142px; --card-gap: 40px; }
  .hero { height: max(580px, calc(100svh - 89px)); }
  .hero-inner { padding-bottom: calc(var(--card-h) + var(--card-gap) + 6px); }
  main > .container { width: min(1200px, 100% - 96px); }
  .products { margin-top: 96px; }

  .progress-card {
    --frame-tab-x: calc(100% - 178px);
    --step: 20px;
    width: min(540px, 100%);
    margin: calc(-1 * (var(--card-h) + var(--card-gap))) 0 0;
    filter: drop-shadow(0 18px 30px rgba(60, 40, 20, .12)) drop-shadow(0 2px 4px rgba(60, 40, 20, .06));
  }
  .progress-frame { padding: 1px; background: linear-gradient(135deg, #d8c39a, #e9dfcf 45%, #d2bd94); }
  .progress-shape { height: auto; padding: 22px 26px 20px; background: #fbf8f2; }
  .progress-head h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 14.5px;
    line-height: 21px;
    letter-spacing: 0.1em;
  }
  .progress-count { gap: 12px; font-family: var(--display); font-size: 11px; letter-spacing: 0.12em; }
  .progress-count strong { margin-right: -7px; font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0; font-variant-numeric: lining-nums; }
  .live { gap: 5px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.04em; }
  .live-dot { width: 6px; height: 6px; background: #b99a52; box-shadow: 0 0 0 2.5px rgba(185, 154, 82, .18); }
  .progress-track {
    height: 9px;
    margin-top: 18px;
    background: #e9e0d2;
    box-shadow: inset 0 1px 2px rgba(60, 40, 20, .12);
  }
  .progress-fill { box-shadow: 0 1px 6px rgba(160, 124, 48, .35); }
  .progress-marker {
    top: -12px;
    border-inline-width: 4px;
    border-bottom-width: 5px;
    border-bottom-color: #b08d43;
  }
  .progress-foot { margin-top: 12px; font-size: 11.5px; color: #5e5146; }
  .progress-goal {
    font-family: var(--display);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--ink);
  }
}

/* ---------- Lower sections: tablet (768-1023px) ----------
   Fluid layout, centred on the page, replacing the 768px reference scaling. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  body > * { --u: min(100cqw / 768, 1.05px); }
  .site-header .container, .hero .container, main > .container, .footer-inner { width: calc(100% - 64px); margin-inline: auto; }
  .header-inner { padding-inline: 0; }
  .hero-inner { padding-left: 0; }
  .progress-card { --frame-tab-x: calc(100% - 190px); width: min(620px, 100%); margin: calc(-74 * var(--u)) 0 0; }

  .products { grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; margin: 56px 0 0; }
  .product { grid-template-columns: 1fr; height: auto; }
  .product img { height: auto; aspect-ratio: 4 / 3; }
  .product-body { padding: 22px 24px 26px; }
  .eyebrow { font-size: 10px; }
  .product h3 { margin-top: 6px; font-size: 27px; line-height: 30px; }
  .product-desc { margin-top: 6px; font-size: 14px; line-height: 21px; }
  .price { margin-top: 12px; font-size: 24px; line-height: 28px; }
  .price span { font-size: 12.5px; }
  .btn-add { width: 100%; height: 44px; margin-top: 16px; font-size: 11.5px; }

  .story { grid-template-columns: 40% 1fr; width: 100%; height: auto; min-height: 260px; margin: 24px 0 0; }
  .story img { height: auto; align-self: stretch; }
  .story-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px 32px; }
  .eyebrow-rule { font-size: 10px; }
  .story h2 { margin-top: 8px; font-size: 30px; line-height: 34px; }
  .story-body p:not(.eyebrow) { max-width: none; margin-top: 10px; font-size: 14.5px; line-height: 23px; letter-spacing: 0; }
  .btn-outline { width: auto; height: 42px; margin-top: 18px; padding: 0 24px; font-size: 11px; }

  .site-footer { margin-top: 48px; }
  .footer-inner { height: auto; padding: 30px 0 38px; }
  .footer-nav a { font-size: 10.5px; line-height: 22px; }
  .footer-brand .logo { font-size: 17px; }
  .footer-brand p { margin-top: 10px; font-size: 10px; }
  .social { gap: 16px; }
  .social a { width: 18px; height: 18px; }
  .footer-meta p { margin-top: 12px; font-size: 9.5px; line-height: 14px; }
}

/* ---------- Lower sections: desktop (1024px and up) ----------
   Products, story and footer share the hero's 1200px content width and are centred. */
@media (min-width: 1024px) {
  main > .container, .footer-inner { width: min(1200px, 100% - 96px); margin-inline: auto; }

  .products { grid-template-columns: 1fr 1fr; gap: 32px; width: 100%; margin: 88px 0 0; }
  .product { grid-template-columns: 44% 1fr; height: auto; min-height: 260px; }
  .product img { height: auto; min-height: 260px; align-self: stretch; }
  .product-body { display: flex; flex-direction: column; justify-content: center; padding: 28px 36px; }
  .eyebrow { font-size: 11px; }
  .product h3 { margin-top: 6px; font-size: 30px; line-height: 34px; }
  .product-desc { margin-top: 6px; font-size: 14.5px; line-height: 22px; }
  .price { margin-top: 14px; font-size: 26px; line-height: 30px; }
  .price span { font-size: 13px; }
  .btn-add { width: 100%; max-width: 260px; height: 46px; margin-top: 18px; font-size: 12px; }

  .story { grid-template-columns: 40% 1fr; width: 100%; height: auto; min-height: 320px; margin: 32px 0 0; }
  .story img { height: auto; align-self: stretch; }
  .story-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 64px; }
  .eyebrow-rule { font-size: 11px; }
  .eyebrow-rule::after { width: 32px; }
  .story h2 { margin-top: 10px; font-size: 40px; line-height: 44px; }
  .story-body p:not(.eyebrow) { max-width: 560px; margin-top: 14px; font-size: 16px; line-height: 26px; letter-spacing: 0; }
  .btn-outline { width: auto; height: 46px; margin-top: 24px; padding: 0 30px; font-size: 12px; }

  .site-footer { margin-top: 64px; }
  .footer-inner { height: auto; padding: 36px 0 44px; }
  .footer-nav a { font-size: 11px; line-height: 24px; }
  .footer-brand .logo { font-size: 20px; }
  .footer-brand p { margin-top: 12px; font-size: 11px; }
  .social { gap: 18px; }
  .social a { width: 20px; height: 20px; }
  .footer-meta p { margin-top: 14px; font-size: 10px; line-height: 15px; }
}

/* ---------- Mobile (below the 768px reference) ---------- */
@media (max-width: 767.98px) {
  body > * { --u: 1px; }
  .container { width: auto; margin-inline: 16px; }

  .announcement { height: auto; min-height: 36px; padding: 8px 16px; font-size: 11px; line-height: 1.4; }

  .header-inner {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 16px 0 12px;
  }
  .header-inner .logo { position: static; transform: none; margin-left: 0.42em; font-size: 16px; }
  .main-nav { order: 2; gap: 24px; }
  .main-nav a { font-size: 12px; padding: 4px 0; }
  .bag { position: absolute; top: 15px; right: 0; margin: 0; }

  .hero { height: auto; display: flex; flex-direction: column; }
  .hero-inner { order: 1; margin: 0 16px; padding: 40px 0 28px; }
  .hero-title { font-size: clamp(44px, 13vw, 54px); line-height: 0.88; }
  .hero-copy { width: auto; max-width: 300px; }
  .hero::after { display: none; }
  .hero-photo {
    order: 2; position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1 / 1;
    object-position: 66% 60%;
  }

  /* Compact, minimal order card */
  .progress-card {
    --frame-tab-x: calc(100% - 92px);
    --step: 14px;
    width: auto;
    margin: -48px 0 0;
    filter: drop-shadow(0 8px 16px rgba(60, 40, 20, .12)) drop-shadow(0 1px 2px rgba(60, 40, 20, .06));
  }
  .progress-frame { background: linear-gradient(135deg, #d8c39a, #e9dfcf 45%, #d2bd94); }
  .progress-shape { height: auto; padding: 16px 16px 14px; background: #fbf8f2; }
  .progress-head { flex-direction: column; align-items: stretch; gap: 8px; }
  .progress-head h2 {
    font-family: var(--display); font-weight: 400;
    font-size: 12.5px; line-height: 18px; letter-spacing: 0.1em;
  }
  .progress-count {
    width: 100%; justify-content: space-between; gap: 6px;
    font-family: var(--display); font-size: 10.5px; letter-spacing: 0.1em;
  }
  .progress-count strong { margin-right: -2px; font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: 0; font-variant-numeric: lining-nums; }
  .live { margin-left: auto; gap: 5px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.03em; }
  .live-dot { width: 6px; height: 6px; background: #b99a52; box-shadow: 0 0 0 2.5px rgba(185, 154, 82, .18); }
  .progress-track { height: 6px; margin-top: 12px; background: #e9e0d2; box-shadow: inset 0 1px 1px rgba(60, 40, 20, .1); }
  .progress-marker { top: -9px; border-inline-width: 3.5px; border-bottom-width: 4.5px; border-bottom-color: #b08d43; }
  .progress-foot { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 9px; font-size: 10.5px; color: #5e5146; }
  .progress-goal { font-family: var(--display); font-weight: 400; font-size: 10px; letter-spacing: 0.1em; white-space: nowrap; }
  .progress-detail { display: none; }

  .products { width: auto; margin: 40px 0 0; }
  .product { grid-template-columns: 42% 1fr; height: auto; }
  .product-body { padding: 18px 16px 18px; }
  .eyebrow { font-size: 10px; }
  .product h3 { font-size: 24px; }
  .product-desc { font-size: 13px; line-height: 18px; }
  .price span { font-size: 12px; }
  .btn-add { width: 100%; max-width: 220px; height: 40px; font-size: 11px; }

  .story { grid-template-columns: 1fr; width: auto; height: auto; margin: 24px 0 0; }
  .story img { height: auto; aspect-ratio: 16 / 10; align-self: start; }
  .story-body { padding: 22px 20px 24px; }
  .eyebrow-rule { font-size: 10px; }
  .story h2 { font-size: 27px; line-height: 1.1; margin-top: 8px; }
  .story-body p:not(.eyebrow) { max-width: none; margin-top: 10px; font-size: 14px; line-height: 21px; }
  .btn-outline { margin-top: 16px; width: auto; height: 38px; padding: 0 18px; font-size: 10.5px; }

  .site-footer { margin-top: 28px; }
  .footer-inner {
    grid-template-columns: 1fr; justify-items: center; gap: 20px;
    width: auto; height: auto; margin-inline: 16px; padding: 24px 0 32px; text-align: center;
  }
  .footer-brand { order: -1; }
  .footer-brand .logo { font-size: 15px; }
  .footer-brand p { font-size: 10px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
  .footer-nav a { font-size: 10.5px; line-height: 24px; }
  .footer-meta { align-items: center; }
  .social { gap: 20px; }
  .social a { width: 20px; height: 20px; }
  .footer-meta p { font-size: 9.5px; line-height: 14px; text-align: center; }
}

@media (max-width: 360px) {
  .progress-shape { padding-inline: 14px; }
  .progress-foot { font-size: 10px; gap: 6px; }
  .progress-goal { font-size: 9.5px; letter-spacing: 0.05em; }
}

@media (max-width: 520px) {
  .product { grid-template-columns: 1fr; }
  .product img { height: auto; aspect-ratio: 4 / 3; align-self: start; }
  .btn-add { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(28, 17, 9, .46);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; flex-direction: column;
  width: min(448px, 100vw);
  background: #faf7e8;
  color: var(--ink);
  box-shadow: -18px 0 50px rgba(28, 17, 9, .22);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.22, .8, .24, 1), visibility 0s linear .35s;
}
.cart.is-open { transform: none; visibility: visible; transition-delay: 0s; }
body.cart-open { overflow: hidden; }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 32px 22px;
  border-bottom: 1px solid #e8e2cc;
}
.cart-head h2 { font-family: var(--serif); font-weight: 600; font-size: 29px; line-height: 1.1; color: var(--ink); font-variant-numeric: lining-nums; }
.cart-close { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.cart-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.cart-close:hover { color: var(--gold); }

.cart-body { flex: 1; overflow-y: auto; padding: 24px 32px 32px; overscroll-behavior: contain; }
.cart-items { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px;
  padding: 16px; background: #fffdf3; border-radius: 4px;
}
.cart-item img { width: 80px; height: 96px; object-fit: cover; border-radius: 2px; }
.cart-item-name { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 24px; }
.cart-item-sub { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.cart-item-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.cart-stepper { display: inline-flex; align-items: center; border: 1px solid #dcd5bf; border-radius: 3px; }
.cart-qty { min-width: 28px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-icon-btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: #3d3027; cursor: pointer; }
.cart-icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-icon-btn:hover:not(:disabled) { color: var(--gold); }
.cart-icon-btn:disabled { opacity: .35; cursor: default; }
.cart-item-foot .cart-icon-btn[data-act="remove"] svg { width: 19px; height: 19px; stroke-width: 1.5; }
.cart-item-price { margin-left: auto; font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--gold); font-variant-numeric: lining-nums; }

.cart-empty { padding: 56px 0 24px; text-align: center; }
.cart-empty p { margin-bottom: 20px; font-family: var(--serif); font-size: 24px; color: var(--ink-soft); }
.cart-empty[hidden], .cart-summary[hidden] { display: none; }

.cart-summary { margin-top: 24px; }
.cart-lines { margin: 0; display: grid; gap: 14px; }
.cart-lines div { display: flex; justify-content: space-between; font-size: 17px; }
.cart-lines div[hidden] { display: none; }
.cart-lines dt, .cart-lines dd { margin: 0; }
.cart-lines dd { font-variant-numeric: lining-nums; }
.cart-eta { display: grid; gap: 4px; margin-top: 18px; padding: 14px 16px; border: 1px solid #e5dfc9; border-radius: 4px; }
.cart-eta span { font-size: 13px; color: var(--muted); }
.cart-eta strong { font-weight: 600; font-size: 15px; }
.cart-total {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid #e3dcc4;
  font-family: var(--serif); font-weight: 600; font-size: 25px;
}
.cart-total strong { color: var(--gold); font-weight: 600; font-variant-numeric: lining-nums; }
.cart .cart-btn { width: 100%; height: 50px; margin: 0; padding: 0; font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; border-radius: 3px; }
.cart .cart-summary .cart-btn { margin-top: 14px; }
.cart .cart-total + .cart-btn { margin-top: 22px; }

@media (max-width: 520px) {
  .cart { width: 100vw; }
  .cart-head { padding: 20px 20px 16px; }
  .cart-head h2 { font-size: 26px; }
  .cart-body { padding: 18px 20px 28px; }
  .cart-item { grid-template-columns: 72px 1fr; gap: 14px; padding: 14px; }
  .cart-item img { width: 72px; height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .cart, .cart-overlay { transition-duration: .01ms; }
}

/* ---------- Progress bar: shine, sparkles, tip glow ---------- */
.progress-fill { position: relative; overflow: hidden; animation: pg-fill 1.6s cubic-bezier(.22, .8, .24, 1) both; }
.progress-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 32%, rgba(255, 252, 235, .7) 50%, transparent 68%);
  transform: translateX(-110%);
  animation: pg-sweep 3.8s ease-in-out 1.6s infinite;
}
.progress-sparks {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--progress);
  pointer-events: none;
  filter: drop-shadow(0 0 2.5px rgba(255, 240, 180, 1)) drop-shadow(0 0 5px rgba(255, 226, 140, .6));
  animation: pg-fill 1.6s cubic-bezier(.22, .8, .24, 1) both;
}
.spark {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  background: #fffbe6;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transform: translate(-50%, -50%) scale(0) rotate(0deg);
  opacity: 0;
  animation: pg-twinkle 3s ease-in-out calc(var(--d) + 1.4s) infinite;
}
.progress-tip {
  position: absolute; left: var(--progress); top: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 200, .95) 0%, rgba(232, 200, 110, .55) 40%, transparent 70%);
  pointer-events: none;
  animation: pg-tip 2.4s ease-in-out 1.6s infinite, pg-tip-in 1.6s cubic-bezier(.22, .8, .24, 1) both;
}
@keyframes pg-fill { from { width: 0; } }
@keyframes pg-tip-in { from { left: 0; } }
@keyframes pg-sweep { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(110%); } }
@keyframes pg-twinkle {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0deg); }
  45% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(45deg); }
  70% { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(90deg); }
}
@keyframes pg-tip { 0%, 100% { opacity: .55; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
  .progress-fill, .progress-sparks, .progress-tip { animation: none; }
  .progress-fill::after { animation: none; display: none; }
  .spark { animation: none; opacity: 0; }
}

/* Smooth growth when the live counter changes (after the intro animation) */
.progress-fill { transition: width .9s cubic-bezier(.22, .8, .24, 1); }
.progress-sparks { transition: width .9s cubic-bezier(.22, .8, .24, 1); }
.progress-tip { transition: left .9s cubic-bezier(.22, .8, .24, 1); }
.progress-marker { transition: left .9s cubic-bezier(.22, .8, .24, 1); }
@media (prefers-reduced-motion: reduce) {
  .progress-fill, .progress-sparks, .progress-tip, .progress-marker { transition: none; }
}
