/* Complete compositions arrive, hold, then release. Native scrolling stays native. */
.composition-window{display:contents}
.composition-window>.manual-section-heading,.composition-window>.brand-work-top{grid-column:1/-1}
.story-cover-runway{height:235svh}
.story-cover .brand-cover-copy{transform:none}
.brand-origin{background:#f1ded0}
.brand-origin .brand-number{margin-bottom:32px}
.brand-origin h2 em{color:#8b402b;font-style:normal}
.brand-origin .life-day-moments{display:none}
.brand-origin .brand-lead{font-size:clamp(24px,2.4vw,34px)}
.brand-origin .brand-reading{max-width:560px}
.brand-origin .brand-origin-signature{display:flex;align-items:center;gap:24px;margin-top:32px;padding-top:24px;border-top:1px solid #092bb840}
.brand-origin-signature img{width:180px;height:auto}
.brand-origin-signature span{font:400 17px/1.4 CareComfortaa;max-width:240px}
.story-about .story-care-bottle{display:none}
.wipes-benefit-composition .leisure-ink,.wipes-formula-edit .leisure-ink{display:none}
.wipes-benefit-composition .wipes-benefit-lines>p{padding-left:0!important}
.wipes-formula-edit .formula-reading article{padding-right:0}
.manual-wipes .wipes-formula-edit{display:block}
.manual-wipes .wipes-formula-edit>figure{display:none}
.manual-wipes .formula-reading{display:grid;grid-template-columns:repeat(3,1fr);gap:36px}
.manual-wipes .formula-reading article{padding:26px 0 10px!important;margin:0;border-top:3px solid #cda5b6}
.manual-wipes .formula-reading article:nth-child(2){border-color:#e6ba8f}
.manual-wipes .formula-reading article:nth-child(3){border-color:#a9c6de}
.manual-wipes .formula-reading h3{font-size:clamp(24px,2.3vw,34px)}
.manual-wipes .formula-reading p{font-size:18px;line-height:1.5}
.manual-wipes #formula{background:#f5e6d5}
.manual-wipes #formula .manual-section-heading{max-width:780px}
.manual-wipes #formula .manual-section-heading h2{font-size:clamp(35px,4.2vw,62px)}
@media(min-width:801px) and (min-height:650px){
 .composition-enabled{display:block;height:calc(100svh + var(--chapter-count)*110svh);margin:0 0 50px}
 .composition-enabled .composition-window{display:grid;position:sticky;top:0;height:100svh;box-sizing:border-box;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:7%;row-gap:18px;padding:32px 0 24px;overflow:clip}
 .brand-about .composition-enabled .composition-window{top:var(--story-nav-height,72px);height:calc(100svh - var(--story-nav-height,72px));padding-top:16px}
 .composition-enabled .composition-window>.manual-section-heading,.composition-enabled .composition-window>.brand-work-top{grid-row:1;margin:0!important;padding:0!important;align-items:center}
 .composition-enabled .manual-section-heading h2,.composition-enabled .brand-work-top h2{font-size:clamp(32px,4vw,58px);line-height:1.03;margin:0}
 .composition-enabled .manual-section-heading .manual-kicker{font-size:10px;margin:0 0 10px}
 .composition-enabled .manual-section-heading>p:not(.manual-kicker){font-size:17px;margin:10px 0 0}
 .composition-enabled .brand-work-top>p{font-size:clamp(22px,2.5vw,36px);margin:0}
 .composition-enabled .story-stage{position:relative;top:auto!important;height:100%;min-height:0;max-height:100%;grid-column:1;grid-row:2}
 .composition-enabled .story-art{height:100%;max-height:calc(100% - 48px);min-height:0;overflow:hidden}
 .composition-enabled .story-track{position:relative;grid-column:2;grid-row:2;padding:0!important;display:grid;align-items:center}
 .composition-enabled .story-panel{grid-area:1/1;visibility:hidden;opacity:0;min-height:0!important;height:auto;padding:20px 0!important;border:0!important;transition:opacity .3s ease;pointer-events:none;gap:12px}
 .composition-enabled .story-panel.chapter-current{visibility:visible;opacity:1;pointer-events:auto}
 .composition-enabled .story-panel h3{font-size:clamp(28px,3vw,44px);line-height:1.1}
 .composition-enabled .story-panel p{font-size:clamp(17px,1.45vw,22px);line-height:1.45}
 .composition-enabled .story-panel h3:after{transform:none;transition:none;width:65px;height:4px;margin-top:16px}
 .composition-enabled .story-marker{padding:14px 0 0;min-height:32px;box-sizing:border-box}
 .composition-enabled .story-marker>span:last-child{font-size:9px}
 .composition-enabled .story-ritual-frame,.composition-enabled .story-wipes-frame{max-width:100%;height:100%;width:auto;max-height:100%;left:50%;right:auto;transform:translateX(-50%);aspect-ratio:1}
 .composition-enabled .life-flip.story-ritual-frame{width:auto;max-width:100%;height:100%;background-size:200% 200%}
 .composition-enabled .step-footnote{margin-top:10px;font-size:14px}
 .composition-enabled .story-panel .step-line{margin-bottom:5px}
 .composition-enabled .story-panel .step-line span:first-child{font-size:30px}
 .composition-enabled.story-about .life-flip{height:100%;width:auto;max-width:100%;aspect-ratio:1}
 .composition-enabled.story-about .brand-annotation{font-size:17px;bottom:6%;right:0}
 .composition-enabled.story-kids .story-kids-world{width:min(100%,350px,calc(100svh - 380px))}
 .composition-enabled.story-kids .story-kids-product-note>img{height:95px}
 .composition-enabled.story-kids .story-kids-product-note{min-height:95px}
 .composition-enabled.story-kids .reason-mark{font-size:55px}
 .wipes-benefit-hold{height:185svh}
 .wipes-benefit-composition{position:sticky;top:0;height:100svh;box-sizing:border-box;padding:30px 0;display:flex;flex-direction:column;justify-content:center;gap:22px}
 .manual-wipes .wipes-benefit-composition>.manual-section-heading{margin:0}
 .manual-wipes .wipes-benefit-composition h2{font-size:clamp(35px,4vw,60px);line-height:1.02}
 .wipes-benefit-composition .manual-kicker{font-size:10px;margin:0 0 12px}
 .wipes-benefit-composition .wipes-editorial{gap:12px 6%;min-height:0}
 .wipes-benefit-composition .wipes-editorial h3{font-size:clamp(28px,3vw,44px)}
 .wipes-benefit-composition .wipes-removal-copy>p:last-child{font-size:clamp(18px,1.7vw,24px);margin-top:16px}
 .wipes-benefit-composition .wipes-open-pack img{height:clamp(160px,29svh,280px)}
 .wipes-benefit-composition .wipes-open-pack figcaption{font-size:15px;padding-bottom:0}
 .wipes-benefit-composition .wipes-benefit-lines{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:5px 0 0;padding-top:18px}
 .wipes-benefit-composition .wipes-benefit-lines p{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:0!important;border:0;margin:0}
 .wipes-benefit-composition .wipes-benefit-lines strong{font-size:23px}
 .wipes-benefit-composition .wipes-benefit-lines small{font-size:16px;line-height:1.35}
 .wipes-benefit-composition .wipes-benefit-lines p>span{width:auto;height:auto;background:none;transform:none;font-size:12px}
 .manual-wipes #reglas{overflow:visible}
}
@media(max-width:800px),(max-height:649px){
 .composition-window>.manual-section-heading,.composition-window>.brand-work-top{margin-bottom:25px}
 .composition-runway{grid-template-columns:1fr}
 .composition-runway .story-stage{position:relative;top:auto!important}
 .composition-runway .story-panel{min-height:0!important;padding-block:30px!important}
 .composition-runway .story-track{padding-bottom:0!important}
 .composition-runway .story-marker{display:none}
 .story-wipes-frame,.story-ritual-frame{position:relative;opacity:1;visibility:visible;aspect-ratio:1;max-width:350px;margin:0 auto!important}
 .story-wipes-scenes,.story-ritual-scenes{height:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}
 .story-wipes-frame,.story-ritual-frame{width:100%;height:auto}
 .story-wipes .story-stage,.story-dry-ritual .story-stage{height:auto;min-height:0;max-height:none}
 .manual-wipes .formula-reading{grid-template-columns:1fr;gap:20px}
 .brand-origin-signature{flex-wrap:wrap}
 .wipes-benefit-hold{height:auto}
}
@media(prefers-reduced-motion:reduce){
 .story-cover-runway{height:auto}
 .story-cover{position:relative;height:auto;min-height:90svh}
 .wipes-benefit-hold{height:auto}
 .wipes-benefit-composition{position:relative;height:auto}
 .composition-window{display:contents}
}
/* Only the currently presented ritual plays; the frame itself stays still. */
.story-wipes .story-wipes-frame:not(.scene-current),.story-wipes .story-wipes-frame:not(.scene-current)::after{animation-play-state:paused!important}
@media(min-width:801px) and (min-height:650px){.wipes-benefit-hold{height:235svh}}
@media(prefers-reduced-motion:reduce){.wipes-benefit-hold{height:auto}}
.manual-kids .kids-visual-plans{overflow:visible}
@media(min-width:801px) and (min-height:650px){
 .manual-kids .composition-enabled .composition-window{top:65px;height:calc(100svh - 65px)}
 .manual-kids .kids-visual-plans>.manual-section-heading{top:100px}
}
.mobile-ritual-figure{display:none}
.kids-care-ribbon>.leisure-ink{display:none}
@media(max-width:800px),(max-height:649px){
 .story-wipes .story-stage,.story-dry-ritual .story-stage{display:none}
 .mobile-ritual-figure{display:block;width:100%;max-width:350px;height:auto;aspect-ratio:1;align-self:center;margin:16px auto!important}
}
@media(prefers-reduced-motion:reduce){
 .story-wipes .story-stage,.story-dry-ritual .story-stage{display:none}
 .mobile-ritual-figure{display:block;width:100%;max-width:350px;height:auto;aspect-ratio:1;animation:none!important}
}
/* Character actions, played once on arrival, then held on the resting pose. */
.ritual-settle-flip{background-image:url('/assets/life-settle-flip-v1.webp')!important;background-size:200% 200%!important;background-position:0 0}
.ritual-reapply-flip{background-image:url('/assets/life-reapply-flip-v1.webp')!important;background-size:200% 200%!important;background-position:0 0}
.ritual-settle-flip.scene-current{animation:ritual-character-frames 1.9s steps(1,end) both}
.ritual-reapply-flip.scene-current{animation:ritual-character-frames 2.3s steps(1,end) both}
@keyframes ritual-character-frames{0%,18%{background-position:0 0}34%{background-position:100% 0}62%{background-position:0 100%}86%,100%{background-position:100% 100%}}
.life-paused .ritual-settle-flip,.life-paused .ritual-reapply-flip,.life-page-hidden .ritual-settle-flip,.life-page-hidden .ritual-reapply-flip{animation-play-state:paused!important}
.mobile-ritual-figure.ritual-settle-flip,.mobile-ritual-figure.ritual-reapply-flip{background-position:100% 100%}
@media(prefers-reduced-motion:reduce){.ritual-settle-flip,.ritual-reapply-flip{animation:none!important;background-position:100% 100%}}
/* Never dissolve two bodies over one another between chapters. */
.story-ritual-frame:not(.scene-current),.story-wipes-frame:not(.scene-current){transition:none;visibility:hidden;opacity:0}
.story-ritual-frame.scene-current,.story-wipes-frame.scene-current{transition:opacity .18s ease}
.story-ritual-frame.life-flip:not(.scene-current){animation-play-state:paused!important}
@media(max-width:800px),(max-height:649px){.story-cover-runway{height:auto}.story-cover{position:relative;height:auto;min-height:0}}
