.routine-steps{row-gap:80px;display:grid}.routine-step{scroll-margin-top:calc(var(--header-h) + 24px);gap:24px;display:grid}.routine-name-line,.routine-name{display:block}.routine-times{background:var(--canvas-sunken);gap:24px;padding:24px;display:grid}.routine-photo{aspect-ratio:1;background:var(--canvas-sunken);order:-1;position:relative;overflow:hidden}@media (min-width:40rem){.routine-times{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.routine-step{column-gap:var(--gutter);grid-template-columns:repeat(12,minmax(0,1fr));align-items:center}.routine-text{grid-column:1/span 7}.routine-photo{order:0;grid-column:8/-1}}@media (min-width:64rem){.routine-steps{row-gap:112px}.routine-text{grid-column:1/span 5}.routine-photo{grid-column:7/-1}.routine-times{padding:32px}.routine-chapters[data-chapters=on]{--stage-h:calc(100svh - var(--header-h) - 48px);height:calc(var(--chapters,5) * 85svh)}.routine-chapters[data-chapters=on] .routine-stage{top:calc(var(--header-h) + 24px);height:var(--stage-h);position:sticky}.routine-chapters[data-chapters=on] .routine-steps{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);row-gap:0;height:100%}.routine-chapters[data-chapters=on] .routine-step[data-chapter]{opacity:1;grid-area:1/1;grid-template-rows:minmax(0,1fr) 44px;animation:none}.routine-chapters[data-chapters=on] .routine-step:not([data-state=on]){pointer-events:none}.routine-chapters[data-chapters=on] .routine-step[data-state=on]{z-index:1}.routine-chapters[data-chapters=on] .routine-text{grid-row:1;align-self:center}.routine-chapters[data-chapters=on] .routine-photo{width:min(100%, var(--stage-h));background:0 0;grid-row:1/-1;place-self:center end}.routine-chapters[data-chapters=on] .routine-dots{z-index:2;position:absolute;bottom:0;left:-2px}.routine-chapters[data-chapters=on] .routine-name-line{margin-block:-.14em;padding-block:.14em;overflow-y:clip}.routine-chapters[data-chapters=on] .routine-name{opacity:0;transform:translateY(120%)}.routine-chapters[data-chapters=on] [data-state=before] .routine-name{transform:translateY(-120%)}.routine-chapters[data-chapters=on] :is(.routine-why,.routine-times){opacity:0;transform:translateY(12px)}.routine-chapters[data-chapters=on] .routine-img{opacity:0;transform:scale(1.05)}.routine-chapters[data-chapters=on] [data-state=on] :is(.routine-name,.routine-why,.routine-times,.routine-img){opacity:1;transform:none}.routine-chapters[data-chapters=on][data-settled] .routine-name{transition:transform .42s var(--ease-out-expo), opacity 0s linear .42s}.routine-chapters[data-chapters=on][data-settled] [data-state=on] .routine-name{transition:transform .42s var(--ease-out-expo), opacity 0s}.routine-chapters[data-chapters=on][data-settled] :is(.routine-why,.routine-times){transition:opacity .18s ease-out,transform .18s ease-out}.routine-chapters[data-chapters=on][data-settled] [data-state=on] .routine-why{transition:opacity .42s ease-out 60ms, transform .52s var(--ease-out-expo) 60ms}.routine-chapters[data-chapters=on][data-settled] [data-state=on] .routine-times{transition:opacity .42s ease-out .12s, transform .52s var(--ease-out-expo) .12s}.routine-chapters[data-chapters=on][data-settled] .routine-img{transition:opacity .85s var(--ease-out-expo), transform 1.5s var(--ease-out-expo)}}@media (min-width:64rem) and (max-width:89.99rem){.routine-chapters[data-chapters=on] .routine-times{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.routine-chapters :is(.routine-name,.routine-why,.routine-times,.routine-img){transition:none!important}}:root[data-motion=paused] .routine-chapters :is(.routine-name,.routine-why,.routine-times,.routine-img){transition:none!important}
