/* =====================================================================
   Shop: /shop/ "The Apothecary"
   Hero · collection (sticky chips + sort, FLIP grid + editorial tile) ·
   bundle banner · "Which mushroom" guide · how ordering works.
   Builds on base.css tokens/components, no forks.
   ===================================================================== */

/* ------------------------------------------------------------------ hero */
.shop-hero {
  position: relative;
  padding: clamp(14px, 2vw, 28px) 0 clamp(24px, 2.8vw, 40px);
  overflow: clip;
}
.shop-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.shop-hero__crumbs { margin-bottom: clamp(20px, 2.4vw, 32px); }
.shop-hero__crumbs [aria-current] { color: var(--ink); }
.shop-hero .eyebrow { margin-bottom: clamp(14px, 1.5vw, 20px); }
.shop-hero__title {
  font-size: clamp(54px, 7.4vw, 118px);
  max-width: 8.4em;
}
.shop-hero__title em { padding-right: .04em; }
.shop-hero__lede { margin-top: clamp(20px, 2.2vw, 28px); max-width: 50ch; }
.shop-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 2.6vw, 36px); }

/* Category index, a magazine-style contents line (desktop + tablet; the chips repeat it on phones). */
.shop-index {
  list-style: none; padding: 16px 0 0; margin-top: clamp(24px, 2.5vw, 34px);
  display: flex; flex-wrap: wrap; gap: 10px clamp(18px, 2.6vw, 34px);
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.shop-index a {
  display: inline-flex; align-items: baseline; gap: 8px;
  text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--ink-2);
}
.shop-index__n {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums;
  transition: color .6s var(--ease);
}
.shop-index__label {
  background: linear-gradient(currentColor 0 0) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px; transition: background-size .4s var(--ease), color .25s var(--ease);
}
.shop-index a:hover .shop-index__label { background-size: 100% 1px; color: var(--ink); }
html:not(.js) .shop-index { display: none; }
@media (hover: none) { /* touch: 44px tap targets without changing the line's look */
  .shop-index { padding-top: 4px; row-gap: 0; }
  .shop-index a { min-height: 44px; align-items: center; }
}

/* Art: arch window + specimen orb + rotating stamp, each on its own parallax layer.
   Sized against the viewport height too, so the shelf peeks above the fold. */
.shop-hero__art {
  --p: 0;
  position: relative;
  width: min(100%, 500px, max(320px, (100svh - 250px) * .9));
  justify-self: end;
  aspect-ratio: 5 / 5.6;
  isolation: isolate;
}
.shop-hero__art::before { /* growth rings, like a turkey-tail fan or a cut log */
  content: ""; position: absolute; z-index: -1;
  inset: -16% -34% -14% -22%;
  background: repeating-radial-gradient(circle at 58% 44%, transparent 0 25px, color-mix(in srgb, var(--line-2) 80%, transparent) 25px 26px);
  -webkit-mask-image: radial-gradient(closest-side at 58% 44%, #000 25%, transparent 100%);
  mask-image: radial-gradient(closest-side at 58% 44%, #000 25%, transparent 100%);
  opacity: .75;
  pointer-events: none;
}
.shop-arch {
  --p: 0;
  position: absolute; top: 0; right: 0;
  width: 74%; height: 92%;
  margin: 0;
  border-radius: 999px 999px var(--r-l) var(--r-l);
  overflow: hidden;
  background: #1f2a17;
  box-shadow: 0 50px 90px -50px rgba(var(--shadow), .55);
  transition: box-shadow .6s var(--ease);
}
.shop-arch img {
  position: absolute; left: 0; top: -9%;
  width: 100%; height: 118%;
  object-fit: cover; object-position: 50% 62%;
  transform: translate3d(0, calc(var(--p) * -7%), 0) scale(1.02);
  transition: filter .6s var(--ease);
}
.shop-orb {
  --p: 0;
  position: absolute; left: 0; bottom: 0;
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(6px, .7vw, 10px) solid var(--bg);
  background-color: #2a2620; background-repeat: no-repeat;
  box-shadow: 0 30px 60px -34px rgba(var(--shadow), .6);
  transform: translate3d(0, calc(var(--p) * -46px), 0);
  transition: border-color .6s var(--ease), filter .6s var(--ease);
}
.shop-stamp {
  --p: 0;
  position: absolute; left: 3%; top: 7%;
  width: 29%; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line), 0 24px 40px -26px rgba(var(--shadow), .55);
  transform: translate3d(0, calc(var(--p) * 30px), 0) rotate(calc(var(--p) * -70deg));
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease);
}
.shop-stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: shop-spin 32s linear infinite; }
.shop-stamp__ring text {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  fill: var(--moss); transition: fill .6s var(--ease);
}
.shop-stamp__mark { width: 30%; height: auto; transform: rotate(calc(var(--p) * 70deg)); }
@keyframes shop-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ collection */
.shop-collection { position: relative; padding: clamp(18px, 2vw, 28px) 0 clamp(72px, 9vw, 120px); }
.shop-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36ch);
  column-gap: clamp(24px, 4vw, 64px); align-items: end;
  margin-bottom: clamp(14px, 2vw, 22px);
}
.shop-head .eyebrow { grid-column: 1 / -1; margin-bottom: 10px; }
.shop-head__title {
  display: flex; align-items: flex-start; gap: .14em;
  font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -.035em;
}
.shop-head__label { display: inline-block; overflow: hidden; padding: 0 .04em .12em 0; margin-bottom: -.12em; }
.shop-head__label > span { display: inline-block; will-change: transform; }
.shop-head__count {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 34px; padding: 0 10px; margin-top: .3em;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--font-sans); font-size: 14px; font-weight: 800; letter-spacing: 0; line-height: 1;
  color: var(--ink-2); vertical-align: top;
  font-variant-numeric: tabular-nums;
  transition: border-color .6s var(--ease), color .6s var(--ease);
}
.shop-head__blurb { color: var(--muted); max-width: 36ch; min-height: 3.2em; display: flex; align-items: flex-end; padding-bottom: .35em; }

/* Sticky toolbar: chips + sort. Follows the header as it hides/shows. */
.shop-bar {
  position: sticky; top: var(--header-h); z-index: 40;
  padding: 10px 0;
  margin-bottom: clamp(14px, 2vw, 26px);
  transition: top .45s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
body:has(.site-header.is-hidden) .shop-bar { top: 0; }
.shop-bar.is-stuck {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
html:not(.js) [data-shop-tools] { display: none; }
.shop-bar__inner { display: flex; align-items: center; gap: 12px; }

/* Chips: outlined, with a sliding pill on top of them. A duplicate "ink" row of labels, clipped to
   the pill, flips the label colour exactly at the pill's edge as it glides. */
.shop-chips {
  --x: 0px; --w: 0px; --t: 4px; --h: 40px;
  position: relative;
  display: flex; gap: 8px;
  flex: 1 1 auto; min-width: 0;
  padding: 4px;
  margin: -4px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.shop-chips::-webkit-scrollbar { display: none; }
.shop-chips .chip { position: relative; z-index: 0; flex: none; white-space: nowrap; background: transparent; }
.shop-chips .chip small { font-variant-numeric: tabular-nums; }
.shop-chips.is-ready .chip[aria-pressed="true"] { background: transparent; border-color: transparent; color: var(--ink-2); }
.shop-chips__ind {
  position: absolute; z-index: 1; top: var(--t); left: 0;
  width: var(--w); height: var(--h);
  transform: translateX(var(--x));
  border-radius: 999px;
  background: var(--ink);
  opacity: 0; pointer-events: none;
}
.shop-chips__ink {
  position: absolute; z-index: 2; top: 0; left: 0;
  display: flex; gap: inherit; padding: inherit;
  pointer-events: none; user-select: none;
  opacity: 0;
  clip-path: inset(var(--t) calc(100% - var(--x) - var(--w)) calc(100% - var(--t) - var(--h)) var(--x) round 999px);
}
.shop-chips__ink .chip { flex: none; white-space: nowrap; background: transparent; border-color: transparent; color: var(--bg); transition: color .6s var(--ease); }
.shop-chips.is-ready :is(.shop-chips__ind, .shop-chips__ink) { opacity: 1; }
.shop-chips.is-animated .shop-chips__ind { transition: transform .55s var(--ease), width .55s var(--ease), background-color .6s var(--ease), box-shadow .6s var(--ease); }
.shop-chips.is-animated .shop-chips__ink { transition: clip-path .55s var(--ease); }
.shop-chips.is-instant .chip { transition: none !important; }

.shop-sort { flex: none; display: flex; align-items: center; gap: 10px; }
.shop-sort__label { font-size: 13px; font-weight: 800; color: var(--muted); }
.shop-sort__field {
  position: relative; display: inline-flex; align-items: center;
  height: 40px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink-2);
  transition: border-color .25s var(--ease), background-color .6s var(--ease);
}
.shop-sort__field:hover { border-color: var(--moss); }
.shop-sort__field:focus-within { outline: 2px solid var(--moss); outline-offset: 2px; }
[data-glow="on"] .shop-sort__field:focus-within { outline-color: var(--glow); }
.shop-sort select {
  -webkit-appearance: none; appearance: none;
  height: 100%; padding: 0 40px 0 40px;
  border: 0; border-radius: 999px; background: transparent;
  font-size: 14px; font-weight: 700; color: inherit; cursor: pointer;
}
.shop-sort select:focus { outline: none; }
.shop-sort option { color: var(--ink); background: var(--panel); }
.shop-sort__icon { position: absolute; left: 14px; width: 17px; height: 17px; pointer-events: none; }
.shop-sort__chev { position: absolute; right: 14px; width: 16px; height: 16px; pointer-events: none; }

/* Grid, base .product-grid + productCard(), with explicit columns so the editorial tile can
   complete the last row (spans are generated in pages/shop.js, keep these breakpoints in sync). */
.shop-grid { position: relative; align-content: start; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-grid > .is-leaving {
  position: absolute; left: var(--lx); top: var(--ly);
  width: var(--lw); height: var(--lh);
  margin: 0; z-index: 0; pointer-events: none;
}
.shop-grid > .shop-tile.is-leaving { display: block !important; grid-column: auto !important; }
.shop-empty { padding: 40px 0; color: var(--muted); }

/* Product photos sit on light-grey studio sweeps (≈228 to 255). `darken` over a linen tile that is no
   lighter than the darkest sweep makes every photo's backdrop disappear into the tile, Day and Glow. */
.shop-grid .pcard__media { background: #e9e4d8; }
.shop-grid .pcard__img:not(.pcard__img--alt) { mix-blend-mode: darken; }

/* Scroll targets in the grid clear the header + sticky toolbar (keyboard focus is nudged in shop.js). */
.shop-grid a { scroll-margin-top: calc(var(--header-h) + 84px); }

/* Editorial tile, the 12th slot. A guide teaser; wide enough, it also lists the other shelves. */
.shop-tile {
  position: relative; isolation: isolate;
  container-type: inline-size;
  min-height: 100%;
  border-radius: var(--r-l);
  background: var(--moss-tint);
  border: 1px solid color-mix(in srgb, var(--moss) 16%, transparent);
  overflow: hidden;
  transition: background-color .6s var(--ease), border-color .6s var(--ease), box-shadow .5s var(--ease);
}
.shop-tile::before { /* faint growth rings, echoing the hero */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 140%; aspect-ratio: 1; right: -70%; top: -55%;
  background: repeating-radial-gradient(circle, transparent 0 22px, color-mix(in srgb, var(--moss) 13%, transparent) 22px 23px);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
  transition: transform 1.2s var(--ease);
}
.shop-tile:hover::before { transform: rotate(18deg) scale(1.06); }
.shop-tile:hover { box-shadow: 0 30px 60px -34px rgba(var(--shadow), .4); }
.shop-tile__inner { height: 100%; display: flex; flex-direction: column; gap: 26px; padding: clamp(18px, 2vw, 26px); }
.shop-tile__guide { display: flex; flex-direction: column; flex: 1 1 auto; }
.shop-tile__crops { display: flex; margin-bottom: auto; padding: 4px 0 24px 4px; }
.shop-tile__crops span {
  width: 62px; aspect-ratio: 1; flex: none; border-radius: 50%;
  margin-left: -16px; background-color: var(--chip); background-repeat: no-repeat;
  box-shadow: 0 0 0 4px var(--moss-tint);
  transition: transform .7s var(--ease) calc(var(--i) * 45ms), box-shadow .6s var(--ease);
}
.shop-tile__crops span:first-child { margin-left: 0; }
.shop-tile:hover .shop-tile__crops span { transform: translateX(calc(var(--i) * 12px)) rotate(calc(var(--i) * 4deg - 6deg)); }
.shop-tile .eyebrow { margin-bottom: 10px; }
.shop-tile__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 2.5vw, 38px); line-height: 1; letter-spacing: -.03em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  text-wrap: balance;
}
.shop-tile__title em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--accent); transition: color .6s var(--ease); }
.shop-tile__text { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 34ch; }
.shop-tile__cta { margin-top: 16px; align-self: flex-start; }
.shop-tile__cta::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; } /* whole tile is the link */
.shop-tile:hover .shop-tile__cta { background-size: 100% 1px; }
.shop-tile:hover .shop-tile__cta .i { transform: translateX(3px); }
.shop-tile__shelves { display: none; position: relative; z-index: 1; }
.shop-tile__shelves ul { list-style: none; padding: 0; border-top: 1px solid color-mix(in srgb, var(--moss) 22%, transparent); }
.shop-tile__shelves li { border-bottom: 1px solid color-mix(in srgb, var(--moss) 22%, transparent); }
.shop-tile__shelves a {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 2px;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -.015em; line-height: 1.1;
}
.shop-tile__n { margin-left: auto; font-style: italic; font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums; transition: color .6s var(--ease); }
.shop-tile__shelves .i { width: 16px; height: 16px; color: var(--muted); transition: transform .35s var(--ease), color .25s var(--ease); }
.shop-tile__shelf { background: linear-gradient(currentColor 0 0) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.shop-tile__shelves a:hover .shop-tile__shelf { background-size: 100% 1px; }
.shop-tile__shelves a:hover .i { transform: translateX(3px); color: var(--ink); }

@container (min-width: 430px) {
  .shop-tile__inner { flex-direction: row; gap: clamp(24px, 6cqi, 64px); padding: clamp(22px, 2.6vw, 34px); }
  .shop-tile__guide { flex: 1 1 0; min-width: 0; }
  .shop-tile__shelves { display: flex; flex-direction: column; justify-content: flex-end; flex: 0 1 46%; }
  .shop-tile__shelves .eyebrow { margin-bottom: 12px; }
  .shop-tile__crops span { width: 50px; margin-left: -13px; }
  .shop-tile__crops span:first-child { margin-left: 0; }
}
@container (min-width: 600px) {
  .shop-tile__crops span { width: 72px; margin-left: -18px; }
  .shop-tile__crops span:first-child { margin-left: 0; }
}
@container (min-width: 760px) {
  .shop-tile__crops span { width: 96px; margin-left: -24px; box-shadow: 0 0 0 5px var(--moss-tint); }
  .shop-tile__crops span:first-child { margin-left: 0; }
  .shop-tile__title { font-size: clamp(40px, 4.4vw, 56px); }
  .shop-tile__text { font-size: 15px; }
}
@container (max-width: 230px) {
  .shop-tile__inner { padding: 14px; }
  .shop-tile__crops { padding-bottom: 14px; }
  .shop-tile__crops span { width: 40px; margin-left: -12px; box-shadow: 0 0 0 3px var(--moss-tint); }
  .shop-tile__crops span:first-child { margin-left: 0; }
  .shop-tile .eyebrow { font-size: 10px; letter-spacing: .14em; margin-bottom: 6px; }
  .shop-tile__title { font-size: 25px; }
  .shop-tile__text { font-size: 12.5px; line-height: 1.4; margin-top: 8px; }
  .shop-tile__cta { font-size: 13.5px; margin-top: 10px; }
}

/* ---------------------------------------------------------------- bundle */
.shop-bundle { padding-top: 0; padding-bottom: calc(var(--section) * .6); }
.bundle {
  --accent: #ff7a6b;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 80px); align-items: stretch;
  padding: clamp(16px, 2.4vw, 32px);
  border-radius: var(--r-xl);
  background: var(--dark); color: var(--dark-ink);
}
.bundle::before { /* soft moss light pooling behind the copy */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -12%; bottom: -45%; width: 80%; height: 120%;
  background: radial-gradient(closest-side, rgba(181, 201, 143, .14), transparent);
  transition: background .6s var(--ease);
}
.bundle__media { position: relative; min-height: 440px; }
.bundle__plate {
  --p: 0;
  position: relative; overflow: hidden;
  height: 100%;
  border-radius: calc(var(--r-xl) - 12px);
  background: #fff;
}
.bundle__plate img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: translate3d(0, calc(var(--p) * -3%), 0) scale(calc(1.07 + var(--p) * .04));
  transition: filter .6s var(--ease);
}
.bundle__seal {
  position: absolute; top: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 24px);
  width: clamp(84px, 9vw, 112px); aspect-ratio: 1;
  display: grid; place-content: center; text-align: center; gap: 2px;
  border-radius: 50%;
  background: var(--amanita); color: var(--amanita-ink);
  transform: rotate(10deg);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .45);
}
.bundle__seal span { font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.bundle__seal b { font-family: var(--font-display); font-weight: 450; font-size: clamp(26px, 2.8vw, 34px); line-height: 1; letter-spacing: -.03em; }
.bundle__body { align-self: center; padding: clamp(8px, 2vw, 24px) clamp(4px, 2.4vw, 36px) clamp(8px, 2vw, 24px) 0; }
.bundle .eyebrow { color: rgba(241, 235, 221, .62); }
.bundle__title { margin-top: 18px; color: var(--dark-ink); }
.bundle__tag {
  margin-top: 14px;
  font-family: var(--font-display); font-style: italic; font-size: clamp(19px, 1.7vw, 23px);
  font-variation-settings: "SOFT" 100, "WONK" 1; color: rgba(241, 235, 221, .9);
}
.bundle__desc { margin-top: 12px; max-width: 54ch; color: rgba(241, 235, 221, .68); }
.bundle__includes { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 10px; margin-top: 26px; }
.bundle__includes a {
  display: grid; justify-items: center; gap: 8px; width: 74px;
  text-align: center; text-decoration: none;
  font-size: 12px; font-weight: 700; line-height: 1.25; color: rgba(241, 235, 221, .82);
}
.bundle__includes a:hover { color: #fff; }
.bundle__thumb {
  width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(241, 235, 221, .16);
  transition: transform .45s var(--ease), box-shadow .3s var(--ease);
}
/* studio shots are a centred bottle on white: frame the label (name + mushroom art) so each thumb reads */
.bundle__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(2); transform-origin: 50% 92%; }
.bundle__includes a:hover .bundle__thumb,
.bundle__includes a:focus-visible .bundle__thumb { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--accent); }
.bundle__price {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(241, 235, 221, .14);
}
.bundle__now {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(56px, 6.4vw, 92px); line-height: .9; letter-spacing: -.045em;
}
.bundle__vs { display: grid; gap: 4px; }
.bundle__was { position: relative; justify-self: start; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1; color: rgba(241, 235, 221, .55); }
.bundle__was s { text-decoration: none; }
.bundle__was::after { /* the strike draws itself in once the banner is revealed */
  content: ""; position: absolute; left: -6%; right: -6%; top: 52%; height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: rotate(-9deg) scaleX(0); transform-origin: 0 50%;
  transition: transform .9s var(--ease) .55s, background-color .6s var(--ease), box-shadow .6s var(--ease);
}
.bundle.is-in .bundle__was::after,
html:not(.js) .bundle__was::after { transform: rotate(-9deg) scaleX(1); }
.bundle__note { font-size: 13.5px; color: rgba(241, 235, 221, .62); }
.bundle__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ----------------------------------------------------------------- guide */
.shop-guide { --guide-cols: 40px 76px minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, 1fr) 112px; padding-top: calc(var(--section) * .75); background: var(--bg-2); transition: background-color .6s var(--ease); }
.shop-guide .section-head { margin-bottom: clamp(28px, 4vw, 52px); }
.guide__cols, .guide__link {
  display: grid; grid-template-columns: var(--guide-cols);
  align-items: center; gap: clamp(16px, 2vw, 28px);
  padding-inline: clamp(8px, 1.2vw, 18px);
}
.guide__cols {
  padding-bottom: 14px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 1.3;
}
.guide__col--want { grid-column: 3; }
.guide__col--match { grid-column: 4; }
.guide__col--note { grid-column: 5; }
.guide__col--go { grid-column: 6; }
.guide { list-style: none; padding: 0; border-top: 1px solid var(--line-2); }
.guide__row { border-bottom: 1px solid var(--line-2); }
.guide__link {
  position: relative; isolation: isolate;
  padding-block: clamp(20px, 2.2vw, 28px);
  text-decoration: none; color: inherit;
}
.guide__link::before { /* hover wash rises from the baseline */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--panel);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .55s var(--ease), background-color .6s var(--ease);
}
.guide__link:hover::before, .guide__link:focus-visible::before { transform: scaleY(1); }
.guide__num { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.guide__crop {
  position: relative; z-index: 1;
  width: 76px; aspect-ratio: 1; border-radius: 50%;
  background-color: var(--chip); background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  transition: transform .7s var(--ease), box-shadow .6s var(--ease);
}
/* hover: the specimen swells in place, a magnifier, not an overlay */
.guide__link:hover .guide__crop, .guide__link:focus-visible .guide__crop {
  transform: scale(1.36) rotate(-6deg);
  box-shadow: 0 0 0 4px var(--panel), 0 22px 36px -18px rgba(var(--shadow), .6);
}
.guide__want { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.guide__for { display: inline-flex; color: var(--accent); transition: color .6s var(--ease), transform .55s var(--ease); }
.guide__for .i { width: 18px; height: 18px; }
.guide__benefit {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 2.7vw, 40px); line-height: 1.04; letter-spacing: -.028em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  transition: transform .55s var(--ease);
}
.guide__link:hover .guide__benefit, .guide__link:hover .guide__for { transform: translateX(10px); }
.guide__match { display: grid; gap: 2px; min-width: 0; }
.guide__name { font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.15; letter-spacing: -.015em; }
.guide__latin { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--muted); }
.guide__note { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.guide__go { display: inline-flex; align-items: center; gap: 14px; justify-self: start; }
.guide__price { font-family: var(--font-display); font-size: 21px; }
.guide__arrow {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .45s var(--ease);
}
.guide__arrow .i { width: 18px; height: 18px; }
.guide__link:hover .guide__arrow, .guide__link:focus-visible .guide__arrow { background: var(--moss); border-color: var(--moss); color: var(--moss-ink); transform: rotate(-45deg); }
.guide__link--blend .guide__benefit { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--accent); transition: transform .55s var(--ease), color .6s var(--ease); }
.guide__fda { margin-top: 22px; font-size: 12.5px; color: var(--muted); max-width: 80ch; }

/* ----------------------------------------------------------------- order */
.shop-order { padding-bottom: clamp(80px, 10vw, 140px); }
.order {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px); align-items: start;
}
.order__intro .eyebrow { margin-bottom: 18px; }
.order__lede { margin-top: 22px; max-width: 50ch; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); }
.order__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.order__steps { list-style: none; padding: 0; border-top: 1px solid var(--line); counter-reset: step; }
.order__steps li {
  counter-increment: step;
  position: relative;
  display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 22px; row-gap: 6px;
  padding: clamp(22px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.order__steps li::after {
  content: "0" counter(step);
  position: absolute; right: 0; top: clamp(22px, 2.4vw, 30px);
  font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--muted);
}
.order__icon {
  grid-row: span 2;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--moss-tint); color: var(--moss);
  transition: background-color .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease);
}
.order__icon .i { width: 24px; height: 24px; }
.order__steps h3 { font-size: clamp(21px, 1.9vw, 26px); padding-right: 36px; }
.order__steps p { color: var(--muted); font-size: 15px; max-width: 46ch; }

/* ------------------------------------------------------------- Glow mode */
/* Split headings clip each word (.w overflow:hidden), which would box in the italic accent's
   text-shadow. Glow those words with a drop-shadow filter on the clipping box instead. */
[data-glow="on"] .page-shop [data-split] em { text-shadow: none; }
[data-glow="on"] .page-shop [data-split] em .w { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--glow) 50%, transparent)); }

[data-glow="on"] .shop-hero__art::before {
  background: repeating-radial-gradient(circle at 58% 44%, transparent 0 25px, color-mix(in srgb, var(--glow) 16%, transparent) 25px 26px);
}
[data-glow="on"] .shop-arch {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--glow) 28%, transparent), 0 0 90px -24px color-mix(in srgb, var(--glow) 50%, transparent);
}
[data-glow="on"] .shop-arch img { filter: brightness(.86) saturate(1.05); }
[data-glow="on"] .shop-orb { filter: brightness(.8); box-shadow: 0 0 60px -20px color-mix(in srgb, var(--glow) 45%, transparent); }
[data-glow="on"] .shop-stamp { box-shadow: 0 0 0 1px color-mix(in srgb, var(--glow) 30%, transparent), 0 0 40px -12px color-mix(in srgb, var(--glow) 55%, transparent); }
[data-glow="on"] .shop-stamp__ring text { fill: var(--glow); }
[data-glow="on"] .shop-head__count { border-color: color-mix(in srgb, var(--glow) 40%, transparent); color: var(--glow); }
[data-glow="on"] .shop-chips__ind { box-shadow: 0 0 22px -4px color-mix(in srgb, var(--glow) 60%, transparent); }
[data-glow="on"] .shop-tile {
  border-color: color-mix(in srgb, var(--glow) 20%, transparent);
  box-shadow: inset 0 0 60px -30px color-mix(in srgb, var(--glow) 40%, transparent);
}
[data-glow="on"] .shop-tile:hover { box-shadow: inset 0 0 60px -30px color-mix(in srgb, var(--glow) 40%, transparent), 0 0 0 1px color-mix(in srgb, var(--glow) 30%, transparent), 0 24px 60px -24px color-mix(in srgb, var(--glow) 35%, transparent); }
[data-glow="on"] .shop-tile::before { background: repeating-radial-gradient(circle, transparent 0 22px, color-mix(in srgb, var(--glow) 12%, transparent) 22px 23px); }
[data-glow="on"] .shop-tile__crops span { box-shadow: 0 0 0 3px var(--moss-tint), 0 0 0 4px color-mix(in srgb, var(--glow) 35%, transparent), 0 0 22px -6px color-mix(in srgb, var(--glow) 60%, transparent); }
[data-glow="on"] :is(.shop-tile__shelves ul, .shop-tile__shelves li) { border-color: color-mix(in srgb, var(--glow) 18%, transparent); }
[data-glow="on"] .bundle {
  --accent: var(--glow);
  background: #0f150d;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--glow) 16%, transparent);
}
[data-glow="on"] .bundle::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 16%, transparent), transparent); }
[data-glow="on"] .bundle__plate img { filter: brightness(.9); }
[data-glow="on"] .bundle__was::after { box-shadow: 0 0 10px color-mix(in srgb, var(--glow) 80%, transparent); }
[data-glow="on"] .bundle__seal { background: var(--glow); color: #0c110b; box-shadow: 0 0 40px -6px color-mix(in srgb, var(--glow) 70%, transparent); }
[data-glow="on"] .guide__crop { box-shadow: 0 0 0 1px color-mix(in srgb, var(--glow) 35%, transparent), 0 0 26px -8px color-mix(in srgb, var(--glow) 60%, transparent); }
[data-glow="on"] .guide__link:hover .guide__crop,
[data-glow="on"] .guide__link:focus-visible .guide__crop { box-shadow: 0 0 0 4px var(--panel), 0 0 0 5px color-mix(in srgb, var(--glow) 45%, transparent), 0 0 40px -6px color-mix(in srgb, var(--glow) 65%, transparent); }
[data-glow="on"] .order__icon { color: var(--glow); box-shadow: 0 0 0 1px color-mix(in srgb, var(--glow) 22%, transparent), 0 0 30px -10px color-mix(in srgb, var(--glow) 60%, transparent); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .shop-hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 48px); }
  .shop-hero__title { font-size: clamp(54px, 7.6vw, 92px); }
  .shop-hero__ctas .btn--lg { height: 52px; padding: 0 22px; font-size: 15px; }
  .shop-hero__art { width: 100%; }

  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .shop-grid .pcard__link { border-radius: 20px; }
  .shop-grid .pcard__body { padding: 14px 15px 16px; gap: 2px; }
  .shop-grid .pcard__body .eyebrow { font-size: 10px; letter-spacing: .14em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .shop-grid .pcard__name { font-size: 20px; }
  .shop-grid .pcard__short { font-size: 13.5px; line-height: 1.4; }
  .shop-grid .pcard__price { font-size: 20px; padding-top: 10px; gap: 6px; flex-wrap: wrap; }
  .shop-grid .pcard__price s { font-size: 15px; }
  .shop-grid .pcard__go { width: 34px; height: 34px; }
  .shop-grid .pcard__go .i { width: 16px; height: 16px; }
  .shop-grid .badge { top: 10px; left: 10px; height: 24px; padding: 0 9px; font-size: 10px; letter-spacing: .05em; }

  .shop-guide { --guide-cols: 34px 68px minmax(0, 1.2fr) minmax(0, 1fr) 104px; }
  .guide__note, .guide__col--note { display: none; }
  .guide__col--go { grid-column: 5; }
  .guide__crop { width: 68px; }

  .order__steps h3 { font-size: 22px; }
}

@media (max-width: 900px) {
  .bundle { grid-template-columns: minmax(0, 1fr); }
  .bundle__media { min-height: 0; }
  .bundle__plate { height: auto; aspect-ratio: 4 / 3; }
  .bundle__plate img { object-position: 50% 30%; }
  .bundle__body { padding: 4px clamp(4px, 2vw, 16px) 12px; }

  .order { grid-template-columns: minmax(0, 1fr); }
  .shop-sort__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 760px) {
  /* hero: copy first, then the art as a short band; the chips below repeat the index */
  .shop-hero { padding: 10px 0 14px; }
  .shop-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .shop-hero__crumbs { margin-bottom: 20px; }
  .shop-hero .eyebrow { margin-bottom: 14px; }
  .shop-hero__title { font-size: clamp(46px, 13.4vw, 72px); max-width: 9em; }
  .shop-hero__lede { margin-top: 16px; font-size: 17px; }
  .shop-hero__ctas { margin-top: 22px; gap: 10px; }
  .shop-hero__ctas .btn { flex: 1 1 auto; }
  .shop-hero__ctas .btn--lg { height: 52px; font-size: 15px; }
  .shop-index { display: none; }
  .shop-hero__art { justify-self: stretch; width: 100%; aspect-ratio: 16 / 9.2; }
  .shop-hero__art::before { inset: -20% -10%; }
  .shop-arch { width: 42%; height: 100%; right: 3%; }
  .shop-orb { width: 35%; left: 23%; bottom: 0; border-width: 6px; }
  .shop-stamp { width: 24%; left: 0; top: 2%; }

  .shop-collection { padding-top: 18px; }
  .shop-head { display: block; }
  .shop-head__count { min-width: 28px; height: 28px; font-size: 12.5px; padding: 0 8px; }
  .shop-head__blurb { display: block; min-height: 0; margin-top: 10px; padding: 0; }

  /* toolbar: chips scroll, sort collapses to an icon button over a native select */
  .shop-bar { padding: 8px 0; }
  .shop-chips {
    margin-left: calc(var(--gutter) * -1); padding-left: var(--gutter);
    scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent);
  }
  .shop-chips[data-at-start] { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .shop-chips[data-at-end] { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter)); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter)); }
  .shop-chips[data-at-start][data-at-end] { -webkit-mask-image: none; mask-image: none; }
  .shop-sort__field { width: 42px; height: 42px; justify-content: center; }
  .shop-sort select { position: absolute; inset: 0; width: 100%; padding: 0; opacity: 0; font-size: 16px; }
  .shop-sort__icon { position: static; }
  .shop-sort__chev { display: none; }
  .shop-sort.is-sorted .shop-sort__field::after {
    content: ""; position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 2px var(--bg);
  }

  .shop-guide .section-head { margin-bottom: 24px; }
  .guide__cols { display: block; padding: 0 4px 12px; }
  .guide__col:not(.guide__col--want) { display: none; }
  .guide__link {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    grid-template-areas: "crop want go" "crop match go";
    column-gap: 16px; row-gap: 8px; align-items: center;
    padding: 20px 4px;
  }
  .guide__num, .guide__note, .guide__price { display: none; }
  .guide__crop { grid-area: crop; width: 60px; align-self: start; }
  .guide__want { grid-area: want; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; }
  .guide__for .i { width: 16px; height: 16px; }
  .guide__match { grid-area: match; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
  .guide__go { grid-area: go; }
  .guide__arrow { width: 40px; height: 40px; }
  .guide__benefit { font-size: 24px; }
  .guide__name { font-size: 18px; }
  .guide__latin { font-size: 14px; }

  .bundle { border-radius: var(--r-l); }
  .bundle__plate { border-radius: calc(var(--r-l) - 8px); }
  .bundle__ctas .btn { flex: 1 1 auto; }
}

/* two-up product grid on phones, with a lighter card body */
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-grid .pcard__link { border-radius: 18px; }
  .shop-grid .pcard__body { padding: 12px 12px 14px; }
  .shop-grid .pcard__body .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .shop-grid .pcard__name { font-size: 18px; }
  .shop-grid .pcard__short { font-size: 13px; }
  .shop-grid .pcard__price { font-size: 19px; }
  .shop-grid .pcard__price s { font-size: 14px; }
  .shop-grid .pcard__go { width: 32px; height: 32px; }
  .shop-grid .pcard__go .i { width: 15px; height: 15px; }
  .shop-grid .badge { top: 8px; left: 8px; height: 22px; padding: 0 8px; font-size: 9.5px; letter-spacing: .04em; }
  .shop-tile { border-radius: 18px; }
  .bundle__plate { aspect-ratio: 1; }
  .bundle__includes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 6px; }
  .bundle__includes a { width: auto; font-size: 11px; }
  .bundle__thumb { width: min(56px, 100%); height: auto; aspect-ratio: 1; }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .shop-stamp__ring { animation: none; }
  .shop-tile:hover .shop-tile__crops span, .shop-tile:hover::before { transform: none; }
}
