/* =====================================================================================
   Parrhesia story-style store (11-30, built on the 11-13 recs):
   home hero C · drop A · name C · collections C · about C · creators C · product B · collection C.
   Loaded on the front page, product pages and browse pages (inc/story.php).
   Phone (≤760px) and desktop (≥761px) are separate layouts in separate blocks.
   Obsidian + bone backbone, gold small, ember on ONE display word. No glow, no neon,
   no coloured edge stripes. Motion only under prefers-reduced-motion: no-preference.
   Contrast: body text ≥ 4.5:1; ember only on display-size words (≥ 3:1).
   ===================================================================================== */

@font-face { font-family: "Anton"; font-style: normal; font-weight: 400;
  src: url("../fonts/Anton-latin.woff") format("woff"); font-display: swap; }

:root {
  --st-black: #0E0C08;
  --st-bone: #F2EEE3;
  --st-soft: #D9D1BF;   /* secondary text on black, 12:1 */
  --st-muted: #B8AE98;  /* 8.6:1 on black */
  --st-ember: #BB3B2B;  /* display words only */
  --st-plate: #E9E2D3;  /* bone plate under the white mockups */
  --st-rule: rgba(242, 238, 227, 0.14);
  --st-anton: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --st-greek: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --st-wrap: min(100% - var(--gutter) * 2, 1320px);
  /* product page B (bone paper) */
  --pb-paper: #F2EEE3;
  --pb-cream: #FBF8F0;
  --pb-ink: #17150F;
  --pb-muted: #5C5648;  /* 6.3:1 on bone */
  --pb-accent: #7A5A1A; /* deep gold for small labels on bone, 5.4:1 */
  --pb-arch: #E4D6BA;
  --pb-rule: rgba(23, 21, 15, 0.16);
}

/* ------------------------------------------------------------------ shared */
.front { background: var(--st-black); }
.st { color: var(--st-bone); position: relative; }
.st em { font-style: normal; color: var(--st-ember); }
.st-tag { font: 600 0.75rem/1.3 var(--font-ui); letter-spacing: 0.22em; text-transform: uppercase; color: var(--st-bone); margin: 0; }
.st-tag span { color: var(--gold); margin-inline: 0.35em; }
.st-kicker { font: 600 0.75rem/1.3 var(--font-ui); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0; }
.st-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.02; color: var(--st-bone); margin: 0; text-wrap: balance; }
.st-h2--anton { font-family: var(--st-anton); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.88; font-size: clamp(3rem, 8.5vw, 8.4rem); }
.st-head { width: var(--st-wrap); margin: 0 auto clamp(1.6rem, 3vw, 2.6rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0.7rem 2rem; }
.st-head .st-kicker { grid-column: 1 / -1; }
.st-head .st-link { white-space: nowrap; margin-bottom: 0.4rem; }
.st-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.9em; background: var(--st-bone); color: var(--st-black);
  font: 700 0.88rem/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; border-radius: 0;
  transition: background .3s var(--ease), transform .4s var(--ease); }
.st-btn:hover { background: var(--gold); color: var(--st-black); transform: translateY(-2px); }
.st-link { color: var(--st-bone); font: 600 0.85rem/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 0.45em; text-decoration-thickness: 1px; }
.st-link:hover { color: var(--gold); }
.st a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* the real mockups are on white: on a bone plate, multiply drops the white so the garment sits on it */
.st-plate { display: block; position: relative; overflow: hidden; background: var(--st-plate); isolation: isolate; border-radius: 3px; }
.st-plate img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
a:hover > .st-plate img, a:focus-visible > .st-plate img { transform: scale(1.035); }

/* tight crop of the real front mockup, straight on the print: full-bleed fabric, no white edges */
.st-crop { display: block; position: absolute; inset: 0; overflow: hidden; background: #1A1915; margin: 0; container-type: size; --st-zoom: 2.4; --st-y: 24%; }
/* sized, not scaled: a transform: scale() is rasterised at the small size and blurs the print */
.st-crop img { position: absolute; left: 50%; top: var(--st-y); display: block; max-width: none; width: calc(var(--st-zoom) * max(100cqw, 100cqh)); height: auto; aspect-ratio: 1;
  transform: translate(-50%, -40%); transition: transform 1s var(--ease); }

/* moving verse band: bone strip, ink Anton */
.st-band { background: var(--st-bone); color: var(--st-black); overflow: hidden; white-space: nowrap; position: relative; z-index: 1; }
.st-band__track, .st-roll__track { display: flex; width: max-content; }
.st-band__track span { font: 400 clamp(1rem, 1.5vw, 1.3rem)/1 var(--st-anton); letter-spacing: 0.04em; text-transform: uppercase; padding: 0.8rem 2.2rem 0.75rem 0; }
@media (prefers-reduced-motion: no-preference) {
  .st-band__track { animation: st-marq 80s linear infinite; }
  .st-roll__track { animation: st-marq 44s linear infinite; }
}
@keyframes st-marq { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ hero */
.st-hero { overflow: hidden; }
.st-hero__in { position: relative; width: var(--st-wrap); margin-inline: auto; display: grid; gap: clamp(1.6rem, 4vw, 4.5rem); align-items: center; }
.st-hero__copy { display: grid; justify-items: start; }
.st-hero__t { font: 400 clamp(3.4rem, 10vw, 10.5rem)/0.9 var(--st-anton); text-transform: uppercase; letter-spacing: 0; margin: 0.8rem 0 0; color: var(--st-bone); text-wrap: balance; }
.st-hero__line { margin: 1.3rem 0 0; max-width: 36ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: var(--st-soft); }
.st-hero__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: clamp(1.6rem, 2.6vw, 2.2rem); }
.st-hero__price { font: 400 1.7rem/1 var(--st-anton); letter-spacing: 0.03em; }
.st-hero__art { display: grid; gap: 0.8rem; color: var(--st-bone); }
.st-hero__art .st-plate { aspect-ratio: 4 / 5; }
.st-hero__verse { margin: 0; padding: 0 0 0 clamp(1.4rem, 3vw, 2.6rem); border: 0; border-left: 1px solid var(--st-rule); }
.st-hero__verse p { font: 400 clamp(1.25rem, 1.8vw, 1.65rem)/1.45 var(--st-greek); color: var(--st-bone); margin: 0; }
.st-hero__verse cite { display: block; margin-top: 1.2rem; font: 600 0.75rem/1.3 var(--font-ui); letter-spacing: 0.22em; text-transform: uppercase; font-style: normal; color: var(--gold); }
.st-hero__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.95rem; }
.st-hero__cap span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.st-hero__cap b { font-weight: 500; color: var(--st-muted); white-space: nowrap; }

/* ------------------------------------------------------------------ the drop's pieces */
.st-drop { padding-block: clamp(3rem, 5vw, 4rem) clamp(3rem, 5vw, 4rem); }
.st-drop__grid { width: var(--st-wrap); margin: 0 auto; padding: 0; list-style: none; display: grid; gap: clamp(2rem, 3vw, 2.8rem) clamp(0.9rem, 1.8vw, 1.6rem);
  grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-card a { display: grid; gap: 0.4rem; color: var(--st-bone); }
.st-card .st-plate { aspect-ratio: 1; }
.st-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.25; margin-top: 0.55rem; }
.st-card__meta { display: flex; flex-wrap: wrap; gap: 0.15rem 0.8rem; font-size: 0.9rem; color: var(--st-muted); }
.st-card__meta b { color: var(--st-bone); font-weight: 600; }

/* ------------------------------------------------------------------ the name */
.st-name { padding-block: clamp(2.4rem, 5vw, 4rem); overflow: hidden; border-block: 1px solid var(--st-rule); }
.st-roll__row { overflow: hidden; white-space: nowrap; }
.st-roll__row span { font: 400 clamp(3rem, 7.4vw, 7.4rem)/1 var(--st-anton); text-transform: uppercase; color: var(--st-bone); padding-right: 0.3em; }
.st-name__line { width: var(--st-wrap); margin: clamp(1.2rem, 2.4vw, 1.8rem) auto 0; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--st-soft); }
.st-name__line span { font-family: var(--st-greek); color: var(--gold); font-size: 1.3em; margin-right: 0.45em; }
.st-name__line b { color: var(--st-bone); }

/* ------------------------------------------------------------------ collections */
.st-coll { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.st-wall { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.st-wall__i a { position: relative; display: block; height: 100%; overflow: hidden; color: var(--st-bone); background: var(--st-black); }
.st-wall__i a::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(to top, rgba(10, 9, 6, 0.97) 36%, rgba(10, 9, 6, 0.7) 60%, rgba(10, 9, 6, 0)); pointer-events: none; }
.st-wall__i a:hover .st-crop img, .st-wall__i a:focus-visible .st-crop img { transform: translate(-50%, -42.5%); }
.st-wall__ref { position: absolute; left: 1rem; top: 1rem; z-index: 1; font: 600 0.7rem/1 var(--font-ui); letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--st-black); color: var(--st-bone); padding: 0.5rem 0.6rem; }
.st-wall__foot { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 0.45rem; }
.st-wall__name { font: 400 clamp(1.6rem, 2.3vw, 2.4rem)/0.92 var(--st-anton); text-transform: uppercase; }
.st-wall__n { font: 600 0.7rem/1 var(--font-ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--st-soft); }
.st-coll--bare { padding-block: clamp(2rem, 4vw, 3rem); }
.st-coll--bare .st-types { margin-top: 0; border-top: 0; }
.st-types { width: var(--st-wrap); margin: clamp(2rem, 4vw, 3rem) auto 0; display: grid; align-items: center; border-block: 1px solid var(--st-rule); }
.st-types a { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; white-space: nowrap; font: 400 clamp(1.5rem, 2.3vw, 2.5rem)/1 var(--st-anton); text-transform: uppercase;
  color: var(--st-bone); padding: 1.15rem 0 1rem; transition: color .3s; }
.st-types a span { font: 400 0.55em/1 var(--font-ui); color: var(--gold); transition: transform .4s var(--ease); }
.st-types a:hover { color: var(--gold); }
.st-types a:hover span { transform: translateX(4px); }

/* ------------------------------------------------------------------ about Ty */
.st-about#about { display: block; min-height: 0; padding-top: 0; }  /* theme.css makes #about a full-viewport flex box */
.st-about__photo { margin: 0; overflow: hidden; background: #1A1915; }
.st-about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.1) brightness(0.94); }
.st-about__copy { display: grid; justify-items: start; }
.st-about__copy .st-h2 { margin-top: 0.8rem; }
.st-about__line { margin: 1.1rem 0 0; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--st-soft); }
.st-about__marks { list-style: none; margin: clamp(1.4rem, 2.6vw, 2rem) 0 clamp(1.4rem, 2.6vw, 2rem); padding: 0; width: 100%; border-bottom: 1px solid var(--st-rule); }
.st-about__marks li { display: grid; gap: 0.25rem; padding: 0.95rem 0; border-top: 1px solid var(--st-rule); }
.st-about__marks b { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--st-bone); }
.st-about__marks span { color: var(--st-muted); font-size: 0.98rem; }

/* ------------------------------------------------------------------ creator invite */
.st-creators { width: var(--st-wrap); margin-inline: auto; padding-block: clamp(3rem, 5vw, 4.5rem) clamp(3.5rem, 6vw, 5rem); }
.st-lines { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; }
.st-lines li { display: grid; border-top: 1px solid var(--st-rule); padding-block: 0.8rem 0.6rem; }
.st-lines__n { font: 600 0.75rem/1 var(--font-ui); letter-spacing: 0.2em; color: var(--gold); }
.st-lines__big { font: 400 clamp(3.2rem, 8vw, 8.4rem)/0.9 var(--st-anton); text-transform: uppercase; color: var(--st-bone); }
.st-lines__say { color: var(--st-soft); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.5; max-width: 38ch; }
.st-creators__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: clamp(1.6rem, 3vw, 2.4rem); padding-top: clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid var(--st-rule); }
.st-creators__fine { margin: 0; color: var(--st-muted); font-size: 0.9rem; }

/* ---------------------------------------------------------------- DESKTOP */
@media (min-width: 761px) {
  .st-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(calc(100svh - 4rem), 820px);
    padding-block: calc(var(--header-h) + clamp(1.5rem, 3vw, 2.5rem)) clamp(2rem, 3vw, 2.6rem); }
  .st-hero--bare .st-hero__in { min-height: 0; padding-bottom: clamp(3rem, 5vw, 4.5rem); }
  .st-hero__art { max-width: 600px; justify-self: end; width: 100%; }

  .st-drop__grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* rows sized from the wall's own width so 2x2 tiles hold their shape in rows with no 1x1 */
  .st-coll { container-type: inline-size; }
  .st-wall { --st-cols: 4; grid-template-columns: repeat(var(--st-cols), minmax(0, 1fr)); grid-auto-rows: calc((100cqw - (var(--st-cols) - 1) * 3px) / var(--st-cols) * 0.875); }
  .st-wall--c2 { --st-cols: 2; }
  .st-wall--c3 { --st-cols: 3; }
  .st-wall { grid-auto-flow: dense; }
  .st-wall__i--big { grid-column: span 2; grid-row: span 2; }
  .st-wall__i--big .st-crop { --st-y: 34%; }
  .st-wall__i--big .st-wall__name, .st-wall--c2 .st-wall__name { font-size: clamp(3rem, 5.4vw, 5.6rem); }
  .st-wall--c3 .st-wall__name { font-size: clamp(2rem, 3.2vw, 3.2rem); }

  .st-wall__i--manna-for-the-soul:not(.st-wall__i--big) .st-crop { --st-zoom: 2.25; --st-y: 19%; }  /* three-line print: OF LIFE clear of the name */

  .st-types { grid-template-columns: auto repeat(4, minmax(0, 1fr)); }
  .st-types .st-kicker { padding-right: clamp(1rem, 3vw, 2.6rem); }
  .st-types a { padding-inline: clamp(1rem, 2vw, 1.6rem); border-left: 1px solid var(--st-rule); }

  .st-about#about { width: var(--st-wrap); margin-inline: auto; padding-block: clamp(3rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.4rem, 6vw, 6rem); align-items: center; }
  .st-about__photo { aspect-ratio: 4 / 5; max-height: 640px; }
  .st-about--nophoto#about { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

  .st-lines { grid-template-columns: 3.4rem max-content minmax(0, 1fr); column-gap: clamp(1.4rem, 4vw, 4rem); }
  .st-lines__say { font-size: clamp(1.1rem, 1.5vw, 1.35rem); width: min(100%, 30ch); justify-self: end; text-align: left; }
  .st-lines li { grid-column: 1 / -1; grid-template-columns: subgrid; align-items: end; }
  .st-lines__n { align-self: start; padding-top: 1.3rem; }
  .st-lines__say { padding-bottom: 1.2rem; }
  .st-creators__fine { margin-left: 0.6rem; }
}

/* ------------------------------------------------------------------ PHONE */
@media (max-width: 760px) {
  .st-hero__in { grid-template-columns: minmax(0, 1fr); padding: calc(var(--header-h) + 1rem) 0 2rem; gap: 1.6rem; }
  .st-hero--bare .st-hero__in { padding-top: calc(var(--header-h) + 3rem); }
  .st-hero__art { order: -1; }
  .st-hero__art .st-plate { aspect-ratio: 4 / 3; }
  .st-hero__art .st-plate img { object-fit: contain; }
  .st-hero__cap b { display: none; }
  .st-hero__t { font-size: clamp(3.2rem, 17vw, 5.4rem); }
  .st-hero__bar .st-btn { flex: 1 1 100%; }
  .st-hero__bar { gap: 1rem 1.2rem; }

  .st-head { grid-template-columns: minmax(0, 1fr); }
  .st-head .st-link { justify-self: start; margin-bottom: 0; }

  .st-drop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-card__name { font-size: 1rem; }
  .st-card__meta { font-size: 0.82rem; }

  .st-roll__row span { font-size: clamp(2.6rem, 14vw, 3.6rem); }

  .st-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-wall__i { aspect-ratio: 4 / 5; }
  .st-wall__i .st-crop { --st-zoom: 2.05; }
  /* phone: the first tile runs full width only when the count is odd, so pairs always fill and no
     wide tile ever sits last */
  .st-wall__i:first-child:nth-last-child(odd) .st-crop { --st-zoom: 2.4; --st-y: 36%; }
  .st-wall__i--manna-for-the-soul:not(.st-wall__i:first-child:nth-last-child(odd)) .st-crop { --st-zoom: 2; --st-y: 26%; }
  .st-wall__i:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .st-wall__i:first-child:nth-last-child(odd) .st-wall__name { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .st-wall__name { font-size: clamp(1.35rem, 6.4vw, 1.8rem); }
  .st-wall__ref { left: 0.7rem; top: 0.7rem; font-size: 0.62rem; padding: 0.42rem 0.5rem; letter-spacing: 0.16em; }
  .st-wall__foot { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .st-wall__i:not(.st-wall__i:first-child:nth-last-child(odd)) .st-wall__n { display: none; }

  .st-types { grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
  .st-types .st-kicker { grid-column: 1 / -1; padding-top: 1.1rem; }
  .st-types a { border-bottom: 1px solid var(--st-rule); font-size: clamp(1.35rem, 6.2vw, 1.8rem); }
  .st-types a:nth-last-child(-n+2) { border-bottom: 0; }

  .st-about#about { padding-bottom: 3rem; }
  .st-about__photo { aspect-ratio: 4 / 5; position: relative; }
  .st-about__photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to top, var(--st-black), rgba(14, 12, 8, 0)); }
  .st-about__copy { position: relative; z-index: 1; margin-top: -26vw; padding-inline: var(--gutter); }
  .st-about--nophoto .st-about__copy { margin-top: 0; padding-top: 3rem; }
  .st-about .st-h2--anton { font-size: clamp(3.4rem, 18vw, 5rem); }

  .st-lines li { grid-template-columns: 2.2rem minmax(0, 1fr); align-items: baseline; row-gap: 0.4rem; }
  .st-lines__big { font-size: clamp(3rem, 17vw, 4.6rem); }
  .st-lines__say { grid-column: 2; padding-bottom: 0.6rem; }
  .st-creators__cta .st-btn { flex: 1 1 100%; }
  .st-creators__fine { flex-basis: 100%; }
}

/* ================================================================ PRODUCT PAGE (B · Gallery) */
.story-product .woo { background: var(--pb-paper); color: var(--pb-ink);
  --bone: var(--pb-ink); --fg: var(--pb-ink); --fg-muted: var(--pb-muted); --bg-elev: var(--pb-cream);
  --hairline: rgba(23, 21, 15, 0.18); --golden-smoke: var(--pb-accent); --obsidian: var(--pb-cream); --gold: var(--pb-accent); }
/* the header stays solid obsidian (translucent over bone read muddy) */
body.story-product .site-header { background: var(--obsidian); }
body.story-product.single-product button.single_add_to_cart_button { background: var(--pb-ink) !important; color: var(--pb-paper) !important; }
body.story-product.single-product button.single_add_to_cart_button:disabled,
body.story-product.single-product button.single_add_to_cart_button.disabled { background: #CFC7B5 !important; color: #4A4438 !important; }
.story-product .woo .summary .price, .story-product .woo .product_title { color: var(--pb-ink); }
.story-product .woo .product-meta-pills a { color: var(--pb-accent); }
.story-product .woo .par-swatch.is-active, .story-product .woo .par-also__item.is-current { background: var(--pb-ink); border-color: var(--pb-ink); color: var(--pb-paper); }
.story-product .woo .par-also__item.is-current .par-also__g, .story-product .woo .par-also__item.is-current .par-also__p,
.story-product .woo .par-also__item.is-current .par-also__p * { color: var(--pb-paper); }
.story-product .woo .par-swatch:hover, .story-product .woo .par-also__item:hover { border-color: var(--pb-ink); color: var(--pb-ink); }
.story-product .woo .par-swatch.is-active:hover { color: var(--pb-paper); }
.story-product .woo .par-swatch, .story-product .woo .par-also__item { border-radius: 3px; }
.story-product.single-product table.variations label, .story-product .woo .par-swatch-label, .story-product .woo .par-also__label { color: var(--pb-accent); }
.story-product .woo .reset_variations { color: var(--pb-muted); text-decoration: underline; }
.story-product .woo .summary .price { font: 600 1.75rem/1 var(--font-ui); letter-spacing: -0.01em; margin: 0.6rem 0 1.4rem; }
.story-product .woo .product-meta-pills a { border-color: var(--pb-rule); border-radius: 3px; }
/* the chosen size's own price (2XL/3XL cost more) sits small over the button, not a second headline price */
.story-product .woo .woocommerce-variation-price .price { font: 600 1rem/1.3 var(--font-ui); color: var(--pb-muted); margin: 0 0 0.7rem; }
.story-product .woocommerce-product-gallery__wrapper { background: var(--pb-arch) !important; border: 0 !important; border-radius: 600px 600px 16px 16px !important; padding: 12% 7% 5%; isolation: isolate; }
.story-product .woocommerce-product-gallery__image img { mix-blend-mode: multiply; border-radius: 0 !important; }
.story-product .flex-control-thumbs li { background: var(--pb-arch); border-radius: 10px; overflow: hidden; isolation: isolate; }
.story-product .flex-control-thumbs img { mix-blend-mode: multiply; border: 0 !important; }
.story-product .woo a:focus-visible { outline: 2px solid var(--pb-ink); outline-offset: 3px; }

/* Woo's layout sheet floats the summary at 48% of its grid cell: let it use the column */
.story-product div.product div.summary { width: auto; float: none; max-width: 600px; }
.story-product .product_title { font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.4rem); }
.pb-loc { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; align-items: baseline; margin: 0 0 clamp(1rem, 2.5vw, 2rem); font: 600 0.75rem/1.4 var(--font-ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pb-muted); }
.pb-loc a { color: var(--pb-ink); }
.pb-loc a:hover { color: var(--pb-accent); }
.pb-kicker { font: 600 0.75rem/1.3 var(--font-ui); letter-spacing: 0.2em; text-transform: uppercase; color: var(--pb-accent); margin: 0; }

/* What it means: a full-width chapter spread on cream */
.story-product div.product > .pb-meaning { grid-column: 1 / -1; }
.pb-meaning { background: var(--pb-cream); display: grid; gap: 1.4rem 5vw; padding: clamp(2rem, 5vw, 4.5rem); margin-block: clamp(1.5rem, 4vw, 3.5rem) 0; border-radius: 3px; }
.pb-meaning__big { font-family: var(--font-display); font-weight: 800; line-height: 0.95; margin: 0.7rem 0 0; color: var(--pb-ink); text-wrap: balance; }
.pb-meaning__kjv { margin: 0.8rem 0 0; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pb-muted); }
.pb-meaning__verse { margin: 0; padding: 0; border: 0; }
.pb-meaning__verse p { font-family: var(--st-greek); font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.5; color: var(--pb-ink); margin: 0; }
.pb-meaning__line { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0; color: var(--pb-ink); }
.pb-meaning__ask { font-style: italic; color: var(--pb-muted); margin: 0.45rem 0 0; }

/* The piece (its own description, mu-plugin), then The details, both full width */
.story-product div.product > .par-story,
.story-product div.product > .par-details { grid-column: 1 / -1; margin: clamp(1rem, 2.4vw, 2rem) 0 0; padding: clamp(1.6rem, 3vw, 2.4rem) 0 0; border-top: 1px solid var(--pb-rule); max-width: none; }
.story-product div.product > .par-story::before { content: "The piece"; display: block; margin-bottom: 1rem; font: 600 0.75rem/1.3 var(--font-ui); letter-spacing: 0.2em; text-transform: uppercase; color: var(--pb-accent); }
.story-product div.product > .par-story p { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.75; color: var(--pb-ink); max-width: 720px; }
.story-product .par-details__lead { margin-bottom: 1.4rem; }
.story-product .par-features { background: var(--pb-cream); border-color: var(--pb-rule); }
.story-product .par-details__tagline { display: none; }  /* the footer already carries the line */
.story-product .par-features { border-radius: 3px; }
body.story-product.single-product button.single_add_to_cart_button, .story-product .woo .quantity .qty { border-radius: 3px !important; }

/* You may also like: full width, four across, on arch-plate squares */
.story-product div.product > .related { grid-column: 1 / -1; border-top: 1px solid var(--pb-rule); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.story-product .related.products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.story-product .related.products ul.products li.product { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; transform: none !important; }
.story-product .related.products .st-plate { aspect-ratio: 1; background: var(--pb-arch); border-radius: 3px; margin-bottom: 0.9rem; }
.story-product .related.products .par-from { color: var(--pb-ink); font-weight: 600; }
.story-product .related.products .par-garments { display: none; }
.story-product .related.products ul.products li.product img { aspect-ratio: 1; margin: 0 !important; border-radius: 0 !important; background: none !important; padding: 0 !important; object-fit: cover; }
.story-product .related.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem !important; padding: 0 !important; color: var(--pb-ink); }

@media (min-width: 761px) {
  .pb-meaning { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
  .pb-meaning__big { font-size: clamp(2.6rem, 4.6vw, 4.6rem); }
}
@media (max-width: 760px) {
  .pb-meaning { margin-inline: calc(var(--gutter) * -1); border-radius: 0; padding: 2.2rem var(--gutter); }
  .pb-meaning__big { font-size: 2.6rem; }
  .story-product .woocommerce-product-gallery { width: 100% !important; }
  .story-product .woocommerce-product-gallery__wrapper { padding: 9% 5% 3%; }
  .story-product div.product > .par-story, .story-product div.product > .par-details { grid-column: 1 / -1; }
  .story-product .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ================================================================ BROWSE CARDS (collection, shop, type) */
.woocommerce ul.products li.product .st-plate { aspect-ratio: 1; margin-bottom: 0.9rem; }
.woocommerce ul.products li.product .st-plate img { aspect-ratio: 1; margin: 0; border-radius: 0; background: none; object-fit: cover; object-position: center; box-shadow: none !important; }
.woocommerce ul.products li.product:hover .st-plate img { transform: scale(1.035); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.25; }
.par-from { display: inline-flex; gap: 0.35em; align-items: baseline; }
.par-from strong { color: var(--fg); font-weight: 600; }
@media (min-width: 761px) { .woocommerce ul.products li.product .par-design-meta { min-height: 5rem; align-content: start; } }
.par-garments { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
.par-garment { border-radius: 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; justify-content: center; text-align: center; padding-inline: 0.4em; }
.par-garment.is-active { background: var(--st-bone); border-color: var(--st-bone); color: var(--st-black); }
.par-garment.is-active:hover, .par-garment.is-active:focus-visible { color: var(--st-black); }

/* ================================================================ COLLECTION PAGE (C · Poster) */
.story-collection .woo { padding-top: 0 !important; background: var(--st-black); }
.st-chead { width: 100vw; margin: 0 0 clamp(1.6rem, 4vw, 3rem) calc(50% - 50vw); background: var(--st-black); overflow: hidden; display: grid; }
.st-chead__art { display: block; color: var(--st-bone); }
.st-chead__art .st-plate { aspect-ratio: 1; }
.st-chead__in { position: relative; z-index: 1; }
.st-chead__t { font: 400 clamp(3.2rem, 9.6vw, 10rem)/0.86 var(--st-anton); text-transform: uppercase; margin: 0.8rem 0 0; color: var(--st-bone); text-wrap: balance; }
.st-chead__lead { margin: 1.2rem 0 0; max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--st-soft); }
.st-coll-about { margin: clamp(2rem, 4vw, 3rem) 0 0; max-width: 68ch; font-size: 0.92rem; line-height: 1.6; color: var(--st-muted); }
.story-collection .woocommerce-products-header { display: none; }
.story-collection .par-more-collections { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--st-rule); }
.story-collection .par-more-collections h2 { font: 400 clamp(2rem, 4vw, 3.4rem)/0.95 var(--st-anton); text-transform: uppercase; letter-spacing: 0.005em; }
.story-collection .par-more-grid { gap: 0; border-top: 1px solid var(--st-rule); }
.story-collection .par-more-card { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border: 0; border-bottom: 1px solid var(--st-rule); border-radius: 0; background: none; padding: 1.1rem 0 1rem; }
.story-collection .par-more-name { font: 400 clamp(1.4rem, 2vw, 1.9rem)/1 var(--st-anton); text-transform: uppercase; color: var(--st-bone); letter-spacing: 0.01em; }
.story-collection .par-more-card:hover .par-more-name { color: var(--gold); }
@media (min-width: 761px) {
  .st-chead { --st-side: max(var(--gutter), calc(50vw - 600px)); grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(2rem, 5vw, 5rem); align-items: center;
    padding: calc(var(--header-h) + clamp(2rem, 4vw, 3rem)) var(--st-side) 0; }
  .st-chead__art { grid-column: 2; grid-row: 1; width: clamp(280px, 30vw, 420px); }
  .st-chead__in { grid-column: 1; grid-row: 1; }
  .st-chead .st-band { grid-column: 1 / -1; margin: clamp(2rem, 4vw, 3rem) calc(var(--st-side) * -1) 0; }
  .story-collection .par-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.2rem, 3vw, 2.6rem); }
}
@media (max-width: 760px) {
  .st-chead { padding-top: calc(var(--header-h) + 1rem); }
  .st-chead__art { margin-inline: var(--gutter); }
  .st-chead__art .st-plate { aspect-ratio: 4 / 3; }
  .st-chead__art .st-plate img { object-fit: contain; }
  .st-chead__in { padding: 1.4rem var(--gutter) 1.8rem; }
  .st-chead__t { font-size: clamp(3rem, 16vw, 4.8rem); }
  .story-collection .par-more-grid { grid-template-columns: 1fr; }
}

/* Four garment types on one card (Tee / Long Sleeve / Hoodie / Cap): "LONG SLEEVE" ran past its
   button at phone width, so four buttons sit 2 x 2 (deploy lane 11-30). */
.par-garments:has(> .par-garment:nth-child(4)) { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
