.product-image-trigger { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.product-image-trigger::after { content: "EXPLORE PRODUCT ↗"; position: absolute; right: 12px; bottom: 12px; padding: 9px 11px; background: rgba(245,241,232,.94); color: var(--ink); font-size: 8px; letter-spacing: .1em; opacity: 0; transform: translateY(5px); transition: opacity 180ms ease, transform 180ms ease; }
.product-image-trigger:hover::after,.product-image-trigger:focus-visible::after { opacity: 1; transform: translateY(0); }
.product-art-wrap > .product-tag { pointer-events: none; z-index: 1; }
@media (hover: none) { .product-image-trigger::after { opacity: 1; transform: none; } }

.product-dialog { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: auto; overscroll-behavior: contain; scroll-behavior: smooth; scroll-snap-type: y proximity; border: 0; background: #f4f0e6; color: var(--ink); box-shadow: 0 30px 100px rgba(20,28,22,.24); scrollbar-width: thin; scrollbar-color: rgba(164,93,48,.6) transparent; }
.product-dialog[open] { animation: presentation-enter 500ms cubic-bezier(.2,.7,.2,1) both; }
.product-dialog.story-animating { scroll-behavior: auto; scroll-snap-type: none; }
.product-dialog::backdrop { background: rgba(23,31,25,.78); backdrop-filter: blur(9px); }
.detail-close { position: fixed; z-index: 30; top: 20px; right: 22px; width: 48px; height: 48px; border: 1px solid rgba(37,53,43,.25); border-radius: 50%; background: rgba(246,240,226,.88); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; backdrop-filter: blur(10px); }
.detail-layout { position: relative; display: block; min-height: 100dvh; isolation: isolate; }
.detail-visual-wrap { position: sticky; z-index: 1; top: 0; height: 100dvh; margin-bottom: -100dvh; padding: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 35%,#5a6048 0%,#354431 34%,#1d2e25 72%,#15231d 100%); }
.presentation-brand { position: absolute; z-index: 5; top: 27px; left: 34px; margin: 0; color: var(--ink-soft); font-size: 9px; letter-spacing: .2em; }
.story-progress { position: absolute; z-index: 8; top: 50%; right: 34px; width: 2px; height: min(34vh,220px); overflow: hidden; background: rgba(45,60,37,.16); transform: translateY(-50%); }
.story-progress span { display: block; width: 100%; height: 100%; background: var(--rust); transform: scaleY(.03); transform-origin: top; transition: transform 650ms ease; }
.detail-visual { position: absolute; inset: 0; display: grid; place-items: center; }
.detail-visual-caption { position: absolute; bottom: 25px; left: 50%; translate: -50% 0; margin: 0; color: var(--ink-soft); font-family: var(--serif); font-style: italic; font-size: 14px; white-space: nowrap; }
.story-guide { position: absolute; z-index: 12; top: 76px; left: 28px; bottom: auto; translate: 0 0; display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: min(420px,calc(100vw - 56px)); max-width: calc(100vw - 30px); }
.story-counter { position: static; order: 2; flex: 0 0 auto; translate: 0 0; padding: 8px 9px; border: 1px solid rgba(45,60,37,.22); border-radius: 999px; background: rgba(255,250,240,.96); color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: .12em; box-shadow: 0 4px 14px rgba(47,49,40,.08); }
.story-next { order: 1; display: grid; grid-template-columns: 1fr 46px; grid-template-rows: auto auto; align-items: center; column-gap: 16px; flex: 1 1 auto; width: auto; min-height: 74px; padding: 12px 16px 12px 24px; border: 1px solid rgba(255,255,255,.34); border-radius: 4px; background: var(--ink); color: var(--paper-light); text-align: left; box-shadow: 0 12px 34px rgba(34,43,34,.28); cursor: pointer; transition: transform 180ms ease,box-shadow 180ms ease,background-color 180ms ease; }
.story-next:hover { transform: translateY(-3px); background: #405331; box-shadow: 0 16px 40px rgba(34,43,34,.34); }
.story-next:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.story-instruction { grid-column: 1; grid-row: 1; color: #ead09b; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.story-next b { grid-column: 1; grid-row: 2; font-size: 13px; letter-spacing: .1em; }
.story-next-arrow { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper-light); color: var(--ink); font-size: 23px; animation: guide-nudge 1.8s ease-in-out infinite; }
@keyframes guide-nudge { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.detail-copy { position: relative; z-index: 2; margin-top: -100dvh; pointer-events: none; }
.story-block { position: relative; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%; min-height: 100dvh; padding: 10vh 8vw; pointer-events: none; scroll-snap-align: start; }
.story-block > * { width: min(100%, 430px); pointer-events: auto; }
.detail-intro { justify-content: flex-end; padding-bottom: 13vh; background: linear-gradient(0deg,rgba(244,240,230,.94),rgba(244,240,230,.74) 17%,transparent 48%); }
.detail-intro .product-meta { margin: 0 0 12px; color: var(--rust); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.detail-intro h2 { margin: 0 0 12px; color: var(--ink); font-family: var(--serif); font-size: clamp(42px,7vw,86px); font-weight: 500; letter-spacing: -.06em; line-height: .92; }
.detail-description { max-width: 370px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.chapter-index { display: block; margin-top: 24px; color: var(--rust); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.formula-section { margin: 0; border: 0; text-align: left; }
.formula-section > .eyebrow,.purchase-section > .eyebrow { margin: 0 0 12px; color: var(--rust); font-size: 9px; letter-spacing: .2em; }
.formula-section h3,.purchase-section h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(34px,5vw,60px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.formula-note { max-width: 390px; margin: 14px 0 22px; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.formula-list { width: min(100%,390px); border-top: 1px solid rgba(37,53,43,.18); }
.formula-list > div { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid rgba(37,53,43,.15); }
.formula-list > div > span { flex: 0 0 22px; color: var(--rust); font-size: 9px; letter-spacing: .1em; }
.formula-list p { display: grid; gap: 4px; margin: 0; color: var(--ink); font-size: 12px; }
.formula-list small { color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.story-block[data-story-step="benefits"] { align-items: flex-end; text-align: right; }
.story-block[data-story-step="benefits"] .formula-note,.story-block[data-story-step="benefits"] .formula-list { margin-left: auto; }
.story-block[data-story-step="benefits"] .formula-list > div { text-align: left; }
.story-block[data-story-step="facts"] { justify-content: flex-start; padding-top: 16vh; }
.purchase-section { align-items: flex-end; justify-content: center; min-height: 112dvh; padding-bottom: 16vh; text-align: right; background: linear-gradient(0deg,rgba(244,240,230,.96),rgba(244,240,230,.72) 25%,transparent 72%); }
.purchase-section > * { margin-left: auto; }
.purchase-section .formula-note { margin-top: 12px; }
.detail-buy-row { display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; margin: 30px 0 18px; }
.detail-buy-row strong { color: var(--ink); font-family: var(--serif); font-size: 36px; font-weight: 500; letter-spacing: -.04em; }
.detail-buy-row span { color: var(--ink-soft); font-size: 12px; }
.purchase-section > .button { width: min(100%,380px); justify-content: space-between; }

.exploded-stage { --product-fill: #d9c4a4; --product-shadow: #8c765e; position: relative; width: min(76vw,760px); height: min(88vh,820px); isolation: isolate; perspective: 1400px; transform-style: preserve-3d; }
.exploded-stage.has-product-photo::before { content: ""; position: absolute; z-index: 1; left: 9%; right: 9%; bottom: 5%; height: 16%; clip-path: polygon(12% 0,88% 0,100% 100%,0 100%); border-radius: 8px; background: linear-gradient(180deg,#c7ae7d,#8f7750 52%,#56452f); box-shadow: 0 28px 48px rgba(5,11,7,.36),inset 0 3px rgba(255,255,255,.54); }
.exploded-stage.tone-sage { --product-fill: #d9dfcf; --product-shadow: #78846c; }
.exploded-stage.tone-amber { --product-fill: #bd9160; --product-shadow: #765438; }
.exploded-stage.tone-rose { --product-fill: #e7d1cd; --product-shadow: #a98179; }
.exploded-halo { position: absolute; left: 50%; top: 47%; width: min(56vw,620px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle,rgba(196,154,95,.34),rgba(196,154,95,.1) 45%,transparent 72%); filter: saturate(1.06); }
.exploded-cap { position: absolute; z-index: 3; left: 50%; top: 25%; translate: -50% 0; width: 176px; height: 70px; border: 1px solid rgba(255,255,255,.42); border-radius: 13px 13px 5px 5px; background: linear-gradient(100deg,rgba(255,255,255,.25),transparent 35%),var(--product-shadow); box-shadow: inset 0 6px 12px rgba(255,255,255,.18),0 24px 32px rgba(47,49,40,.2); transform: rotateY(0); transform-style: preserve-3d; transition: top 850ms cubic-bezier(.2,.7,.2,1),transform 1s cubic-bezier(.2,.7,.2,1); }
.exploded-vessel { position: absolute; z-index: 2; left: 50%; top: 36%; translate: -50% 0; width: 230px; height: 320px; border: 1px solid rgba(255,255,255,.46); border-radius: 24px 24px 40px 40px; background: linear-gradient(100deg,rgba(255,255,255,.56) 0%,rgba(255,255,255,.1) 23%,transparent 46%,rgba(76,57,36,.12) 100%),var(--product-fill); box-shadow: inset 12px 0 22px rgba(255,255,255,.22),inset -14px 0 22px rgba(47,43,32,.1),0 45px 62px rgba(47,49,40,.2); transform: rotateY(0); transform-style: preserve-3d; transition: top 900ms cubic-bezier(.2,.7,.2,1),transform 1.2s cubic-bezier(.2,.7,.2,1),scale 900ms ease; }
.exploded-vessel::before { content: ""; position: absolute; top: 3%; right: -34px; width: 34px; height: 94%; border-radius: 0 10px 15px 0; background: linear-gradient(90deg,var(--product-shadow),rgba(47,43,32,.55)); transform: rotateY(90deg); transform-origin: left center; }
.exploded-vessel::after { content: ""; position: absolute; inset: 4% 12% 4% auto; width: 7px; border-radius: 50%; background: rgba(255,255,255,.3); filter: blur(2px); }
.exploded-stage.shape-tube .exploded-vessel { width: 230px; height: 340px; border-radius: 22px 22px 38px 38px; clip-path: polygon(5% 0,95% 0,86% 88%,72% 100%,28% 100%,14% 88%); }
.exploded-stage.shape-dropper .exploded-cap { width: 74px; height: 118px; border-radius: 34px 34px 9px 9px; }
.exploded-stage.shape-dropper .exploded-vessel { width: 198px; border-radius: 21px 21px 36px 36px; }
.exploded-stage.shape-jar .exploded-cap { top: 31%; width: 258px; height: 45px; border-radius: 8px; }
.exploded-stage.shape-jar .exploded-vessel { top: 38%; width: 274px; height: 250px; border-radius: 18px 18px 42px 42px; }
.exploded-label { position: absolute; z-index: 4; left: 50%; top: 48%; translate: -50% 0; display: grid; justify-items: center; color: #384438; font-family: var(--serif); font-size: 42px; letter-spacing: -.07em; line-height: .8; transform: rotateY(0); transform-style: preserve-3d; transition: top 900ms cubic-bezier(.2,.7,.2,1),transform 1.2s cubic-bezier(.2,.7,.2,1); }
.exploded-front-label,.exploded-back-label { display: grid; justify-items: center; backface-visibility: hidden; }
.exploded-back-label { position: absolute; inset: 0; rotate: y 180deg; font-size: 12px; letter-spacing: .12em; line-height: 1.4; text-align: center; text-transform: uppercase; }
.exploded-stage[data-side="back"] .exploded-front-label { opacity: 0; }
.exploded-stage:not([data-side="back"]) .exploded-back-label { opacity: 0; }
.exploded-label b { font-weight: 600; }
.exploded-formula { position: absolute; z-index: 1; left: 50%; top: 77%; translate: -50% 0; width: 180px; height: 74px; border-radius: 50%; background: radial-gradient(ellipse,rgba(185,139,84,.37),rgba(185,139,84,.05) 70%,transparent); transition: top 900ms ease,scale 900ms ease; }
.formula-dot { position: absolute; left: 66%; top: 71%; width: 30px; height: 30px; border-radius: 50%; background: #c8a974; box-shadow: 0 0 34px rgba(190,150,95,.5); transition: top 900ms ease,left 900ms ease,scale 900ms ease; }
.layer-label { position: absolute; z-index: 5; padding: 10px 13px; border: 1px solid rgba(168,91,44,.18); background: rgba(246,240,226,.8); color: var(--ink-soft); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; backdrop-filter: blur(9px); transition: top 800ms ease,bottom 800ms ease,left 800ms ease,right 800ms ease,opacity 400ms ease; }
.layer-label::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 9px 3px 0; background: var(--rust); }
.layer-packaging { top: 24%; left: 8%; }
.layer-formula { right: 8%; bottom: 17%; }
.ingredient-particle { position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(168,91,44,.45); border-radius: 50%; background: radial-gradient(circle at 35% 28%,#fff9ea,#d5b27b 74%); color: #60452a; box-shadow: 0 16px 32px rgba(66,50,32,.18),inset 0 1px 8px rgba(255,255,255,.7); font-size: 10px; letter-spacing: .08em; opacity: 0; scale: .35; translate: -50% -50%; transition: left 850ms cubic-bezier(.2,.7,.2,1),top 850ms cubic-bezier(.2,.7,.2,1),opacity 500ms ease,scale 850ms ease; }
.ingredient-nameplate { position: absolute; z-index: 5; left: 50%; bottom: 8%; translate: -50% 8px; padding: 11px 16px; border: 1px solid rgba(168,91,44,.28); background: rgba(246,240,226,.84); color: var(--ink-soft); font-size: 9px; letter-spacing: .18em; opacity: 0; transition: opacity 450ms ease,translate 650ms ease; }

.exploded-stage[data-step="ingredients"] .exploded-cap { top: 20%; transform: rotateY(32deg) rotateX(-8deg); }
.exploded-stage[data-step="ingredients"] .exploded-vessel { top: 42%; transform: rotateY(24deg) rotateX(3deg); scale: .96; }
.exploded-stage[data-step="ingredients"] .exploded-label { top: 54%; transform: rotateY(24deg); }
.exploded-stage[data-step="ingredients"] .exploded-formula { top: 79%; scale: 1.22; }
.exploded-stage[data-step="ingredients"] .layer-packaging { top: 19%; left: 12%; }
.exploded-stage[data-step="ingredients"] .layer-formula { right: 12%; bottom: 14%; }
.exploded-stage[data-step="ingredients"] .ingredient-particle { opacity: .98; scale: 1; }
.exploded-stage[data-step="ingredients"] .particle-one { left: 23%; top: 39%; }
.exploded-stage[data-step="ingredients"] .particle-two { left: 78%; top: 41%; }
.exploded-stage[data-step="ingredients"] .particle-three { left: 28%; top: 69%; }
.exploded-stage[data-step="ingredients"] .ingredient-nameplate,.exploded-stage[data-step="benefits"] .ingredient-nameplate,.exploded-stage[data-step="facts"] .ingredient-nameplate { opacity: 1; translate: -50% 0; }
.exploded-stage[data-step="benefits"] .exploded-cap { top: 17%; transform: rotateY(160deg) rotateX(-10deg); }
.exploded-stage[data-step="benefits"] .exploded-vessel { top: 48%; transform: rotateY(180deg) rotateX(4deg); scale: 1.04; }
.exploded-stage[data-step="benefits"] .exploded-label { top: 60%; transform: rotateY(180deg); }
.exploded-stage[data-step="benefits"] .exploded-halo { scale: 1.2; filter: saturate(1.25); }
.exploded-stage[data-step="benefits"] .ingredient-particle { opacity: .9; scale: 1.08; }
.exploded-stage[data-step="benefits"] .particle-one { left: 15%; top: 32%; }
.exploded-stage[data-step="benefits"] .particle-two { left: 83%; top: 46%; }
.exploded-stage[data-step="benefits"] .particle-three { left: 22%; top: 75%; }
.exploded-stage[data-step="facts"] .exploded-cap { top: 14%; transform: rotateY(280deg) rotateX(-6deg); }
.exploded-stage[data-step="facts"] .exploded-vessel { top: 49%; transform: rotateY(290deg) rotateX(-2deg); scale: .93; }
.exploded-stage[data-step="facts"] .exploded-label { top: 61%; transform: rotateY(290deg); }
.exploded-stage[data-step="facts"] .exploded-halo { scale: .88; }
.exploded-stage[data-step="facts"] .ingredient-particle { opacity: .68; scale: .9; }
.exploded-stage[data-step="facts"] .particle-one { left: 19%; top: 24%; }
.exploded-stage[data-step="facts"] .particle-two { left: 84%; top: 59%; }
.exploded-stage[data-step="facts"] .particle-three { left: 29%; top: 82%; }
.exploded-stage[data-step="purchase"] .exploded-cap { top: 10%; transform: rotateY(360deg) translateZ(40px); }
.exploded-stage[data-step="purchase"] .exploded-vessel { top: 37%; transform: rotateY(360deg) translateZ(20px); scale: 1.08; }
.exploded-stage[data-step="purchase"] .exploded-label { top: 49%; transform: rotateY(360deg); }
.exploded-stage[data-step="purchase"] .ingredient-particle { opacity: 0; scale: .35; }
.exploded-stage[data-step="purchase"] .layer-packaging,.exploded-stage[data-step="purchase"] .layer-formula { opacity: 0; }

@keyframes presentation-enter { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
@supports (animation-timeline: scroll()) {
  .story-progress span { animation: presentation-progress 1s linear both; animation-timeline: scroll(nearest block); animation-range: 0% 100%; transition: none; }
}
@keyframes presentation-progress { from { transform: scaleY(.03); } to { transform: scaleY(1); } }

@media(max-width:720px) {
  .detail-close { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 24px; }
  .presentation-brand { top: 20px; left: 18px; }
  .story-progress { right: 14px; height: 105px; }
  .detail-visual-caption { bottom: 16px; font-size: 12px; }
  .story-guide { top: 66px; left: 12px; bottom: auto; translate: 0 0; gap: 7px; width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .story-counter { padding: 7px 8px; font-size: 8px; }
  .story-next { grid-template-columns: 1fr 40px; column-gap: 10px; min-height: 66px; padding: 9px 11px 9px 14px; }
  .story-next-arrow { width: 40px; height: 40px; font-size: 20px; }
  .story-instruction { font-size: 8px; }
  .story-next b { font-size: 12px; }
  .story-block { min-height: 100dvh; padding: 9vh 7vw; }
  .detail-intro { justify-content: flex-end; padding-bottom: 13vh; }
  .detail-intro h2 { font-size: clamp(42px,12vw,64px); }
  .detail-description { max-width: 300px; font-size: 12px; }
  .formula-section h3,.purchase-section h3 { font-size: clamp(34px,10vw,48px); }
  .formula-note { max-width: 330px; font-size: 11px; }
  .formula-list { max-width: 340px; }
  .formula-list > div { padding: 11px 0; }
  .formula-list p { font-size: 11px; }
  .formula-list small { font-size: 9px; }
  .story-block[data-story-step="benefits"] { align-items: flex-start; text-align: left; }
  .story-block[data-story-step="benefits"] .formula-note,.story-block[data-story-step="benefits"] .formula-list { margin-left: 0; }
  .story-block[data-story-step="facts"] { justify-content: flex-start; padding-top: 14vh; }
  .purchase-section { align-items: flex-start; padding-bottom: 13vh; text-align: left; }
  .purchase-section > * { margin-left: 0; }
  .detail-buy-row { justify-content: flex-start; margin-top: 20px; }
  .detail-buy-row strong { font-size: 32px; }
  .exploded-stage { width: 100vw; height: 78dvh; }
  .exploded-halo { width: min(88vw,440px); }
  .exploded-cap { top: 25%; width: 124px; height: 52px; }
  .exploded-vessel { top: 36%; width: 170px; height: 244px; border-radius: 20px 20px 34px 34px; }
  .exploded-vessel::before { right: -23px; width: 23px; }
  .exploded-stage.shape-tube .exploded-vessel { width: 168px; height: 254px; }
  .exploded-stage.shape-dropper .exploded-cap { width: 58px; height: 90px; }
  .exploded-stage.shape-dropper .exploded-vessel { width: 152px; }
  .exploded-stage.shape-jar .exploded-cap { top: 31%; width: 198px; height: 36px; }
  .exploded-stage.shape-jar .exploded-vessel { top: 38%; width: 214px; height: 190px; }
  .exploded-label { top: 48%; font-size: 32px; }
  .exploded-formula { top: 77%; width: 140px; }
  .formula-dot { width: 22px; height: 22px; }
  .layer-label { padding: 8px 9px; font-size: 7px; letter-spacing: .1em; }
  .layer-label::before { width: 14px; margin-right: 6px; }
  .layer-packaging { top: 25%; left: 2%; }
  .layer-formula { right: 2%; bottom: 17%; }
  .ingredient-particle { width: 38px; height: 38px; font-size: 8px; }
  .ingredient-nameplate { bottom: 8%; padding: 9px 11px; font-size: 7px; }
}
@media(prefers-reduced-motion:reduce) {
  .product-dialog { scroll-behavior: auto; scroll-snap-type: none; }
  .product-dialog[open] { animation: none; }
  .exploded-cap,.exploded-vessel,.exploded-label,.exploded-formula,.exploded-halo,.formula-dot,.ingredient-particle,.ingredient-nameplate,.layer-label { transition: none !important; }
  .story-progress span { animation: none !important; }
  .story-next-arrow { animation: none; }
}
