/* VAULTRADE chapters v9.2 — stacked full-screen ingredient chapters + receding sections (home). Classes only exist when JS runs. */
.vtch-track{position:relative;margin:28px calc(-1 * var(--cw-gutter,22px)) 0}
.vtch-src[hidden]{display:none!important}
.vtch-stage{position:sticky;top:0;height:100vh;height:100lvh;overflow:hidden;contain:paint;background:var(--vt-paper,#f6f5ef)}
.vtch-panel{position:absolute;left:0;right:0;top:0;height:100%;background:var(--vt-paper,#f6f5ef);transform-origin:50% 0;will-change:transform;overflow:hidden}
.vtch-dim{position:absolute;inset:0;background:#09271f;opacity:0;pointer-events:none;z-index:5}
.vtch-inner{position:absolute;left:0;right:0;top:var(--vtch-top,0px);height:calc(100vh - var(--vtch-top,0px));height:calc(100svh - var(--vtch-top,0px));box-sizing:border-box;padding:clamp(14px,2.4vh,30px) var(--cw-gutter,22px) clamp(14px,2.6vh,30px);display:flex;flex-direction:column;transform-origin:50% 0}
.vtch-head{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:end;column-gap:clamp(14px,2vw,28px);padding-bottom:clamp(10px,1.6vh,18px);color:var(--vt-forest,#1c5242);flex:none}
.vtch-kick{grid-column:1/-1;font-size:10px;letter-spacing:.14em;font-weight:500;margin-bottom:6px;opacity:.75}
.vtch-n{display:block;overflow:hidden;font-size:clamp(44px,6.4vw,104px);line-height:.9;font-weight:300;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.vtch-roll{display:block}
.vtch-t{margin:0;font-size:clamp(26px,3.4vw,56px);line-height:1;font-weight:300;letter-spacing:-.045em;padding-bottom:.06em}
.vtch-of{font-size:11px;letter-spacing:.12em;padding-bottom:.5em;opacity:.7}
.vtch-rule{position:absolute;left:0;right:0;bottom:0;height:1px;background:currentColor;opacity:.28;transform-origin:0 50%;transform:scaleX(0)}
.vtch-track .vt-w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.vtch-track .vt-wi{display:inline-block;will-change:transform}
.vtch-panel .cw-ingredient-panel{flex:1;min-height:0;margin:0;padding:clamp(12px,2.2vh,28px) 0 0!important;display:grid;grid-template-columns:1.05fr 1fr;gap:5vw;align-items:stretch}
.vtch-panel .cw-ingredient-stage{aspect-ratio:auto;height:100%;min-height:0;will-change:clip-path}
.vtch-panel .cw-ingredient-stage>img{will-change:transform;transition:opacity .7s,filter .6s}
.vtch-panel .cw-ingredient-info{padding:0;align-self:center}
.vtch-panel .cw-ingredient-info h3{font-size:clamp(32px,3.6vw,58px);margin:10px 0 14px}
.vtch-panel .cw-ingredient-info dl{margin:16px 0 0}
.vtch-panel .cw-ingredient-info dl>div{padding:10px 0}
.vtch-panel .cw-ingredient-info .cw-product-links{margin-top:16px}
.vtch-panel .cw-ingredient-info>small{margin-top:10px}
.vtch-index{position:absolute;right:clamp(10px,1.4vw,22px);top:50%;transform:translateY(-50%);margin:0;padding:0;list-style:none;z-index:50;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.vtch-index li{font-size:9px;letter-spacing:.1em;color:var(--vt-forest,#1c5242);opacity:.35;transition:opacity .4s}
.vtch-index li::before{content:"";display:block;width:14px;height:1px;background:currentColor;margin-bottom:3px;transition:width .4s}
.vtch-index li.on{opacity:1}.vtch-index li.on::before{width:26px}
@media(max-width:999px){
  .vtch-panel .cw-ingredient-panel{grid-template-columns:1fr;gap:0;align-content:start}
  .vtch-panel .cw-ingredient-stage{height:clamp(150px,31svh,340px)}
  .vtch-panel .cw-ingredient-info{align-self:start;padding-top:4px}
  .vtch-panel .cw-ingredient-info h3{font-size:clamp(28px,8.4vw,40px);margin:8px 0 8px}
  .vtch-panel .cw-ingredient-info>p{font-size:13px;line-height:1.5}
  .vtch-panel .cw-ingredient-info dl{margin-top:8px}
  .vtch-panel .cw-ingredient-info dl>div{padding:6px 0;grid-template-columns:92px 1fr;gap:12px}
  .vtch-panel .cw-ingredient-info .cw-product-links{margin-top:10px;gap:10px 18px}
  .vtch-panel .cw-ingredient-info>small{margin-top:6px}
  .vtch-n{font-size:clamp(40px,12vw,64px)}
  .vtch-t{font-size:clamp(24px,7.4vw,38px)}
  .vtch-index{display:none}
}
/* fallback: content too tall for this screen -> chapters in flow (vt-kinetic animates them) */
.vtch-flow{height:auto!important;margin-left:0;margin-right:0}
.vtch-flow .vtch-stage{position:relative;height:auto;overflow:visible;contain:none;background:none}
.vtch-flow .vtch-panel{position:relative;height:auto;box-shadow:none;margin-bottom:28px;border-top:1px solid var(--cw-line,rgba(15,49,38,.17))}
.vtch-flow .vtch-inner{position:relative;top:0;height:auto;padding-left:0;padding-right:0}
.vtch-flow .vtch-panel .cw-ingredient-stage{height:auto;aspect-ratio:1.08}
.vtch-flow .vtch-rule{transform:none}
.vtch-flow .vtch-index,.vtch-flow .vtch-dim{display:none}
/* receding sections: their content is clipped to the section so the next chapter rises over it */
html.vtch-on .cw-home main>.vtch-recede{overflow:clip}
html.vtch-on .cw-home main>.vtch-recede>*{will-change:auto}
@media print{.vtch-track{height:auto!important}.vtch-stage{position:static;height:auto;overflow:visible}.vtch-panel{position:static;transform:none!important}.vtch-inner{position:static;height:auto;transform:none!important}.vtch-dim,.vtch-index{display:none}}
