/* VAULTRADE kinetic motion v8.1 (2026-11-25). Loaded after vt-motion-2026.css.
   Inline pre-states are written by vt-kinetic-v8.js only; nothing here hides content. */
/* Lenis 1.3.28 (MIT, darkroom.engineering) */
html.lenis,html.lenis body{height:auto}
.lenis:not(.lenis-autoToggle).lenis-stopped{overflow:clip}
.lenis [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-smooth iframe{pointer-events:none}
html.lenis,html.lenis *{scroll-behavior:auto!important}

/* scrubbed elements: no CSS transitions fighting the scroll position (colour hovers kept) */
html.vtk .vtk-k{transition-property:background-color,color,border-color,box-shadow,fill,stroke!important}
html.vtk .vtk-k .vt-wi,html.vtk .vtk-pin .vt-wi,html.vtk .vtk-ing-row .vt-wi{transition:none!important;transform-origin:0 100%}
@property --vtk-hz{syntax:'<number>';inherits:true;initial-value:1}
html.vtk .vtk-img{transition-property:clip-path,--vtk-hz,filter!important;transition-duration:.8s!important;transition-timing-function:cubic-bezier(.2,.75,.15,1)!important;transform-origin:50% 50%}
@media(hover:hover){html.vtk :is(.vt-cat,.cw-category,.cw-variety-grid>a,a):hover .vtk-img{--vtk-hz:1.06}}
.vtk-rollbox{display:inline-block;overflow:hidden;vertical-align:top;line-height:1.15}
.vtk-roll{display:inline-block}

/* section-to-section colour wash: the incoming section briefly carries the previous section's colour */
html.vtk .vtk-wash{position:relative;isolation:isolate}
html.vtk .vtk-wash::before{content:"";position:absolute;inset:0;background:var(--vtk-from);opacity:var(--vtk-t,0);z-index:-1;pointer-events:none}

/* home hero exit: the next section slides over the hero */
html.vtk .vtk-over{position:relative;z-index:2}
html.vtk .cw-home .vt-hero{transform-origin:50% 0}

/* no-JS / reduced-motion: all 4 ingredient panels stay open & neatly separated */
.cw-home .cw-ingredient-panel+.cw-ingredient-panel{margin-top:48px;padding-top:48px;border-top:1px solid var(--cw-line,rgba(15,49,38,.17))}

/* v8.1: 01–04 Numbered Ingredient Accordion (#products) */
.vtk-ing-track,.vtk-ing-sticky{display:contents}
html.vtk .cw-home .cw-ingredient-explorer{position:relative;display:block;border-top:1px solid var(--cw-line,rgba(15,49,38,.17))}
html.vtk .cw-home .cw-ingredient-panel[hidden]{display:grid!important}
html.vtk .cw-home .cw-ingredient-panel+.cw-ingredient-panel{margin-top:0;padding-top:0;border-top:0}
html.vtk .vtk-ing-row{position:relative;border-bottom:1px solid var(--cw-line,rgba(15,49,38,.17))}
html.vtk .vtk-ing-head{position:relative;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:14px;width:100%;padding:16px 20px;border:0;background:transparent;color:var(--vt-forest,#1c5242);font-size:clamp(18px,1.7vw,22px);font-weight:400;letter-spacing:-.03em;text-align:left;cursor:pointer;transition:background-color .35s,color .35s}
html.vtk .vtk-ing-head .vtk-ing-n{font-size:13px;letter-spacing:.1em;font-weight:600;font-variant-numeric:tabular-nums;opacity:.92}
html.vtk .vtk-ing-head .vtk-ing-t{font-weight:400}
html.vtk .vtk-ing-head .vtk-ing-a{font-size:17px;transition:transform .35s cubic-bezier(.2,.75,.15,1)}
html.vtk .vtk-ing-head[aria-selected=true]{background:var(--vt-forest,#1c5242);color:#fff}
html.vtk .vtk-ing-head[aria-selected=true] .vtk-ing-a{transform:rotate(45deg)}
html.vtk .vtk-ing-rule{position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--vt-lime,#c9e265);transform-origin:0 50%;transform:scaleX(0);pointer-events:none;z-index:2}
html.vtk .vtk-ing-head[aria-selected=true] .vtk-ing-rule{opacity:.95}
html.vtk .vtk-ing-row .cw-ingredient-panel{padding:24px 0 32px;margin:0}
html.vtk .vtk-ing-row .cw-ingredient-stage{overflow:hidden}
html.vtk .vtk-ing-row .cw-ingredient-stage>img{will-change:transform;transition:opacity .65s!important}

/* Desktop pinned accordion: zero-CLS GPU accordion (headers + panels positioned via translate3d + clip-path) */
@media (prefers-reduced-motion:no-preference) and (min-width:1000px) and (min-height:680px){
  html.vtk .cw-home .cw-products{padding-bottom:60px}
  html.vtk .vtk-ing-track{display:block;height:360vh;position:relative;margin-top:24px}
  html.vtk .vtk-ing-sticky{display:flex;flex-direction:column;justify-content:center;position:sticky;top:76px;height:calc(100vh - 88px);height:calc(100svh - 88px);overflow:hidden}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned{height:var(--vtk-exp-h,680px);overflow:hidden}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .vtk-ing-row{position:static;border-bottom:0}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .vtk-ing-head{position:absolute;left:0;right:0;top:0;height:56px;padding:0 22px;z-index:4;background:var(--vt-bone,#efede6);border-bottom:1px solid var(--cw-line,rgba(15,49,38,.17));will-change:transform}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .vtk-ing-head[aria-selected=true]{background:var(--vt-forest,#1c5242);color:#fff;border-bottom-color:transparent}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .cw-ingredient-panel{position:absolute;left:0;right:0;top:0;height:var(--vtk-body-h,460px);padding:20px 0;gap:4.5vw;align-items:center;background:var(--vt-bone,#efede6);z-index:2;will-change:transform,clip-path}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .cw-ingredient-stage{aspect-ratio:auto;height:min(100%,450px);max-height:100%}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .cw-ingredient-info{padding:8px 0}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .cw-ingredient-info h3{font-size:clamp(32px,3.6vw,56px);margin:12px 0 14px}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .cw-ingredient-info dl{margin:16px 0 0}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .cw-ingredient-info dl>div{padding:10px 0}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .cw-ingredient-info .cw-product-links{margin-top:16px}
  html.vtk .cw-home .cw-ingredient-explorer.vtk-ing-pinned .cw-ingredient-info>small{margin-top:10px}
}

/* Mobile / narrow screens: sequential accordion unfold per row with native scroll */
@media (max-width:999px),(max-height:679px){
  html.vtk .vtk-ing-head{padding:16px 14px;grid-template-columns:36px 1fr auto}
  html.vtk .vtk-ing-row .cw-ingredient-panel{grid-template-columns:1fr;gap:20px;padding:18px 0 28px;will-change:clip-path,opacity}
  html.vtk .vtk-ing-row .cw-ingredient-info{padding:4px 0 0}
  html.vtk .vtk-ing-row .cw-ingredient-info h3{margin:14px 0}
}

/* /date-ingredients/ 3-format cards & /about/ 01-03 date-list enhancements */
html.vtk .cat-grid .cat-card{position:relative;overflow:hidden}
html.vtk .date-list>div{position:relative}

/* pinned moments (CSS-only layout, so no shift; without JS they simply hold the scene on screen) */
.vtk-stage{display:contents}
@media (prefers-reduced-motion:no-preference) and (min-height:560px){
  .cw-home .cw-fruit.vtk-pin{height:200vh;height:200svh;min-height:0;overflow:clip;background:var(--vt-bone,#efede6)}
  .cw-home .cw-fruit.vtk-pin::after{display:none}
  .cw-home .cw-fruit.vtk-pin .vtk-stage{display:block;position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
  .cw-home .cw-fruit.vtk-pin .cw-fruit-image{position:absolute;inset:0;overflow:hidden;transform-origin:50% 50%;will-change:transform}
  .cw-home .cw-fruit.vtk-pin .cw-fruit-image::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#102a23a0,transparent);pointer-events:none}
  .cw-home .cw-fruit.vtk-pin .cw-fruit-image img{transition:none!important;will-change:transform;transform-origin:50% 50%}
  .cw-home .cw-fruit.vtk-pin .cw-fruit-overlay{min-height:0;height:100%;box-sizing:border-box}
}
@media (prefers-reduced-motion:no-preference) and (min-width:1000px) and (min-height:700px){
  .cw-home .cw-process.vtk-pin{height:220vh;padding-top:0!important;padding-bottom:0!important}
  .cw-home .cw-process.vtk-pin .vtk-stage{display:flex;flex-direction:column;justify-content:center;position:sticky;top:0;min-height:100vh;box-sizing:border-box;padding:96px 0 64px}
  .cw-home .cw-process.vtk-pin .cw-steps{position:relative}
  .vtk-rail{position:absolute;left:0;right:0;top:-1px;height:2px;background:var(--vt-forest,#1c5242);transform-origin:0 50%;transform:scaleX(0);pointer-events:none}
}
.vtk-rail{display:none}
@media (prefers-reduced-motion:no-preference) and (min-width:1000px) and (min-height:700px){html.vtk .vtk-rail{display:block}}

@media print{.vtk-k,.vtk-k *,.vtk-img,.vt-wi,.vtk-ing-head,.cw-ingredient-panel{transform:none!important;opacity:1!important;clip-path:none!important}.vtk-stage,.vtk-ing-track,.vtk-ing-sticky{display:contents!important}.vtk-pin{height:auto!important}}
@media(prefers-reduced-motion:reduce){.vtk-stage,.vtk-ing-track,.vtk-ing-sticky{display:contents!important}.vtk-rail{display:none!important}.cw-ingredient-panel[hidden]{display:grid!important}}
