@media(min-width:1024px){
[hidden]{display:none!important}body.scroll-demo{background:#1c0406}.scroll-track{height:400vh!important}.sticky-stage{height:100vh;overflow:hidden;isolation:auto;background:transparent}.product{width:100vw;height:100vh;aspect-ratio:auto;clip-path:none;overflow:hidden;isolation:auto;background:transparent}
.wide-backgrounds,.product>.background,.aloe-end,.ritual-backdrop,.details-backdrop,.wide-366{display:none!important}
#agency-gradient{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.product .flowers{left:20px;width:calc(100% - 40px);height:var(--flowers-height,58.6%);top:var(--flowers-top,85.5%);opacity:1;border-radius:4px}.product .flowers>img{width:100%;height:100%;object-fit:cover;object-position:center;transform:none}
.product .aloe-window{opacity:1}.product .aloe-window img{object-position:50% var(--aloe-crop,50%)}
.product .model-363{top:var(--model-top,105%);opacity:var(--model-opacity,0)}.product .side-copy{opacity:var(--next-copy,0)}
.agency-after{position:relative;z-index:1}.agency-after .chapter{position:relative;inset:auto;width:100%;height:100vh;opacity:1!important;overflow:hidden;pointer-events:auto!important}.agency-after .chapter-366{background:url('../assets/e37dc.png') center 45%/cover}.agency-after .chapter-386,.agency-after .chapter-381{background:transparent}.agency-after.product{height:auto;overflow:visible;contain:none}
#serum-3d{position:fixed;inset:0;width:100vw;height:100vh;z-index:40;pointer-events:none;opacity:1}.agency-panel-backdrop{position:fixed;inset:0;z-index:29;background:transparent}
#how-panel{position:fixed;top:0;bottom:0;left:0;width:41vw;min-width:480px;max-width:640px;background:#dedede;color:#1c0406;z-index:30;overflow-y:auto;overscroll-behavior:contain;padding:0 32px 50px;box-sizing:border-box;font-family:Montserrat,Arial,sans-serif}
#how-panel .panel-top{position:sticky;top:0;background:#dedede;z-index:5;border-bottom:1px solid #1c0406;padding:30px 0 20px;display:flex;justify-content:space-between;align-items:center}#how-panel button{cursor:pointer;background:none;color:inherit;border:0;font:inherit}#how-panel .panel-close{font-size:20px;padding:10px}
.panel-intro{font-size:28px;text-align:center;line-height:1.25;margin:26px 12px 32px}.system-label{font-size:12px;line-height:1.5;text-align:center;text-transform:uppercase}.ingredient-stage{height:290px;position:relative;margin-top:28px}.ingredient{position:absolute;top:30px;width:30%;padding:0!important;transition:width 450ms,left 450ms,top 450ms;transform:translateX(-50%);text-align:center}.ingredient img,.ingredient .ingredient-placeholder{width:100%;aspect-ratio:1;border-radius:50%;object-fit:cover;display:block}.ingredient-placeholder{background:#c5c0b5;display:grid!important;place-items:center;font-size:32px}.ingredient span:last-child{display:block;margin-top:12px;font-size:14px}.ingredient[aria-pressed=true] span:last-child{font-size:23px}.ingredient[aria-pressed=true]{width:40%;top:10px}
.ingredient-function{min-height:120px;font-size:18px;line-height:1.4}.ingredient-function:empty{min-height:0}.ingredient-arrows{display:flex;justify-content:center;gap:18px;margin:25px 0 45px}.ingredient-arrows button{border:1px solid currentColor!important;border-radius:50%;width:38px;height:38px}
.system-diagram{margin:28px 0 45px;border-top:1px solid #1c0406;padding-top:20px}.system-diagram h3{font-size:14px;font-weight:400}.system-diagram ul{list-style:none;margin:30px 0;padding:0 0 0 40px;border-left:1px solid currentColor}.system-diagram li{position:relative;padding:14px 0;transition:opacity 450ms}.system-diagram li::before{content:'';position:absolute;left:-40px;top:50%;height:1px;width:30px;background:currentColor;transform-origin:left}.system-diagram.draw li::before{animation:draw-line 1200ms ease both}.proof-row{display:flex;gap:20px;border-top:1px solid #1c0406;padding:20px 0;font-size:12px;line-height:1.5}.proof-row img{width:36px;height:36px;object-fit:contain}
@keyframes draw-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.sequence-top,.mobile-top-slot,#mobile-footer{display:none!important}
}

@media(min-width:1024px){.agency-how-open .agency-how{visibility:hidden}.agency-how-open #how-panel{color:#1c0406}}

/* Keep the negative-z gradient above the body paint without animating the body. */
@media(min-width:1024px){body.scroll-demo{isolation:isolate}}

@media(min-width:1024px){
.product .side-copy{opacity:var(--side-copy,0)}
.product .model-363{clip-path:inset(var(--model-reveal,100%) 0 0 0)}
.nw-photo-frame{overflow:hidden}
.product .nw-photo-frame>.nw-photo-inner{position:relative;inset:auto;display:block;width:100%;height:100%;max-width:none;border-radius:0;opacity:1;transform:none;transform-origin:center;will-change:scale,translate}
.nw-line-mask{display:block;overflow:hidden;padding-bottom:.1em;margin-bottom:-.1em}
.nw-line{display:block;will-change:transform}
[data-reveal=prepared]{visibility:hidden}
.ingredient:not([aria-pressed=true]){width:25%}
.ingredient-stage:not(:has([aria-pressed=true])) .ingredient{width:30%}
}

@media(min-width:1024px){
.nw-static-bottle{position:fixed;z-index:40;pointer-events:none;height:88vh;width:auto;max-width:55vw;object-fit:contain;left:50%;top:4vh;transform:translateX(-50%)}
body.nw-static-mode{background:var(--nw-static-gradient,linear-gradient(120deg,#9d9285,#1c0406));background-attachment:fixed}
.nw-static-mode #agency-gradient{display:none}
.nw-reduced-mode .scroll-track{height:300vh!important}
.nw-reduced-mode .sticky-stage{position:relative;display:block;height:auto;overflow:visible}
.nw-reduced-mode .sticky-stage>.product{position:relative;height:100vh}
}

@media(min-width:1024px){.nw-static-mode.agency-how-open .nw-static-bottle{opacity:1!important}}

/* Photo crops read from Figma 366/386, 25 November 2026. */
@media(min-width:1024px){
.agency-after .chapter-366{background:none;isolation:isolate}
.agency-after .chapter-366::before{content:'';position:absolute;z-index:-1;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,153.97149vh);height:max(100%,64.94709cqw);background-image:url('../assets/e37dc.png');background-repeat:no-repeat;background-size:147.60790857% 340.89358129%;background-position:15.29194131% 74.76908654%}
.product .ritual-detail.nw-photo-frame{left:1.2566138%;top:2.0366599%;width:31.6137566%;height:46.9450102%}
.product .ritual-detail.nw-photo-frame>.nw-photo-inner{position:absolute;inset:0;width:100%;height:100%;object-fit:cover!important;object-position:50% 68%!important}
.product .ritual-wide.nw-photo-frame{left:18.1878307%;top:51.9348269%;width:63.6243386%;height:46.0285132%;container-type:inline-size}
.product .ritual-wide.nw-photo-frame>.nw-photo-inner{position:absolute;left:50%;top:50%;width:46.985447cqw;height:100cqw;transform:translate(-50%,-50%) rotate(90deg);object-fit:fill!important;object-position:center!important}
}

/* How it works upper composition: Figma 383/385. Scoped desktop panel only. */
@media(min-width:1024px){
#how-panel{padding:0 31px 50px}
#how-panel .panel-top{height:97px;padding:0;justify-content:center;box-sizing:border-box}
#how-panel .panel-close{font-size:20px;font-weight:400;letter-spacing:-.6px;margin-top:12px}
#how-panel .panel-intro{box-sizing:border-box;font-size:28px;font-weight:400;line-height:1.2;max-width:none;height:132px;padding:10px 38px 20px;margin:0;border-bottom:1px solid #1c0406}
#how-panel .system-label{font-size:12px;line-height:1.2;margin:23px 0 0;height:29px;font-weight:400}
#how-panel .ingredient-stage{height:267px;margin-top:40px}
#how-panel .ingredient{top:0;width:29.04%;transition:width 450ms,left 450ms,top 450ms}
#how-panel .ingredient-stage:not(:has([aria-pressed=true])) .ingredient{width:29.04%}
#how-panel .ingredient img{height:auto;aspect-ratio:auto;object-fit:contain;border-radius:0}
#how-panel .ingredient span:last-child{font-size:18.678px;line-height:1.2;margin-top:22px;transition:font-size 450ms}
#how-panel.has-ingredient .ingredient{width:21.25%}
#how-panel.has-ingredient .ingredient[aria-pressed=true]{width:35.8%;top:-3px}
#how-panel.has-ingredient .ingredient span:last-child{font-size:13.665px;margin-top:18px}
#how-panel.has-ingredient .ingredient[aria-pressed=true] span:last-child{font-size:23.029px;margin-top:18px}
#how-panel .ingredient-function{font-size:18.678px;line-height:1.2;margin:30px 4px 0 36px;min-height:139px}
#how-panel .ingredient-function:empty{margin:0;min-height:0}
#how-panel .ingredient-function .nw-line-mask:first-child{font-size:15px;margin-bottom:20px}
#how-panel .ingredient-arrows{gap:5px;margin:-10px 0 25px}
#how-panel.has-ingredient .ingredient-arrows{margin:30px 0 25px}
#how-panel .ingredient-arrows button{width:24px;height:24px;padding:0;border:0!important;font-size:20px}
}

/* Figma 383/384: side-by-side system diagrams and five provisional proof rows. */
@media(min-width:1024px){
#how-panel .systems{position:relative;margin:0 0 18px;padding-top:0}
#how-panel .systems-title,#how-panel .proof-section>h2{position:absolute;left:8px;top:-5px;width:90px;margin:0;font-size:12px;line-height:1.2;font-weight:400}
#how-panel .diagram-map{position:relative;container-type:inline-size;width:81%;aspect-ratio:453/296;margin:0 0 0 19%;padding:0;border-top:1px solid #1c0406}
#how-panel .diagram-map h3{position:absolute;margin:0;font-size:13.746px;line-height:.9;font-weight:500;letter-spacing:-.275px}
#how-panel .botanical-title{left:6.4%;top:21.35cqw;width:32.2%;text-align:right}
#how-panel .lipid-title{left:53.6%;top:30.68cqw;width:29%}
#how-panel .diagram-label{position:absolute;font-size:10.622px;line-height:.9;letter-spacing:-.3186px;transition:opacity 450ms;white-space:nowrap}
#how-panel .diagram-branch{position:absolute;height:1px;transform-origin:left center;transition:opacity 450ms}
#how-panel .diagram-branch img{display:block;width:100%;height:1px;transform-origin:left;object-fit:fill}
#how-panel .diagram-map:not(.draw) .diagram-branch img{clip-path:inset(0 100% 0 0)}
#how-panel .diagram-map.draw .diagram-branch img{animation:how-line-reveal 1200ms ease both}
#how-panel .proof-section{position:relative;margin:0}
#how-panel .proof-list{width:81%;margin-left:19%}
#how-panel .proof-row{display:flex;align-items:flex-start;gap:14px;min-height:59px;box-sizing:border-box;margin:0;padding:11px 0 7px;border-top:1px solid #1c0406;font-size:12px;line-height:1.2}
#how-panel .proof-row:last-child{border-bottom:1px solid #1c0406}
#how-panel .proof-row img{width:42px;height:auto;max-height:42px;object-fit:contain;mix-blend-mode:multiply;flex:none}
#how-panel .proof-row p{margin:3px 0 0;max-width:290px;font-size:12px;line-height:1.2}
}
@keyframes how-line-reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@media(prefers-reduced-motion:reduce){#how-panel .diagram-map .diagram-branch img{animation:none;clip-path:none}}

/* Readability refinement requested by Luis; preserve diagram centre and imagery. */
@media(min-width:1024px){
#how-panel .diagram-map h3{line-height:1.25}
#how-panel .botanical-title{margin-top:-7px}
#how-panel .lipid-title{margin-top:-5px}
#how-panel .ingredient-arrows{gap:12px}
#how-panel .ingredient-arrows button{width:32px;height:32px;font-size:32px;line-height:1;display:grid;place-items:center}
}

@media(min-width:1024px){#how-panel{overflow-anchor:none}}

/* Keep the viewport as the sticky intro scroll container while a panel locks input. */
@media(min-width:1024px){body.scroll-demo.agency-lock{overflow:clip!important}}
