/* A pair of opposing, scroll-led textile stories. */
.selune-scroll-story{--story-image:clamp(120px,23vw,440px);padding:clamp(64px,8vw,160px) 0;background:var(--su-paper,#f6f5f1);color:var(--su-ink,#26251e);overflow:hidden;overflow:clip;scroll-margin-top:90px}
.selune-scroll-story-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.selune-story-row{display:flex;justify-content:center;align-items:center;gap:3vw;padding:4vw 0;border-top:1px solid var(--su-line,#ccc9bf)}
.selune-story-row:last-child{border-bottom:1px solid var(--su-line,#ccc9bf)}
.selune-story-word{display:block;flex:none;font:400 9vw/1.05 var(--su-display-font,Georgia,serif);letter-spacing:-.06em;white-space:nowrap}
.selune-story-word em{font-weight:400}
.selune-story-photo{display:block;flex:none;position:relative;width:var(--story-image);height:var(--story-image);margin:0;overflow:hidden;border-radius:clamp(8px,1vw,18px)}
.selune-story-photo img{display:block;position:absolute;width:112%;height:100%;max-width:none;left:-6%;top:0;object-fit:cover}
.selune-scroll-story[data-motion]{--story-image:clamp(240px,32vw,680px)}
.selune-scroll-story[data-motion] .selune-story-row{display:grid;grid-template-columns:minmax(0,1fr) var(--story-image) minmax(0,1fr);gap:7vw;width:300%;margin-left:-100%;border:0;position:relative;transform:translate3d(var(--story-x,0px),0,0);will-change:transform}
.selune-scroll-story[data-motion] .selune-story-row::before,.selune-scroll-story[data-motion] .selune-story-row:last-child::after{content:"";position:absolute;top:0;left:-100vw;right:-100vw;border-top:1px solid var(--su-line,#ccc9bf)}
.selune-scroll-story[data-motion] .selune-story-row:last-child::after{top:auto;bottom:0}
.selune-scroll-story[data-motion] .selune-story-word{font-size:clamp(150px,33vw,720px);line-height:1;align-self:end}
.selune-scroll-story[data-motion] .selune-story-word:first-child{justify-self:end}
.selune-scroll-story[data-motion] .selune-story-word:last-child{justify-self:start}
.selune-scroll-story[data-motion] .selune-story-photo img{transform:translate3d(var(--story-photo-x,0px),0,0)}
@media(max-width:767px){.selune-scroll-story{padding:60px 0;scroll-margin-top:75px}.selune-scroll-story[data-motion]{--story-image:40vw}.selune-scroll-story[data-motion] .selune-story-word{font-size:36vw;line-height:1}.selune-scroll-story[data-motion] .selune-story-row{gap:8vw;padding:7vw 0}}
@media(prefers-reduced-motion:reduce){.selune-story-row,.selune-story-photo img{transform:none!important;will-change:auto!important}}

/* Home-page refinement: landscape photographs and one central rule. */
#softly[data-motion]{--story-image:clamp(240px,36vw,750px)}
#softly .selune-story-photo{height:auto;aspect-ratio:3/2}
#softly .selune-story-row{border:0}
#softly .selune-story-row+.selune-story-row{border-top:1px solid var(--su-line,#ccc9bf)}
#softly[data-motion] .selune-story-row+.selune-story-row{border:0}
#softly .selune-story-row::before,#softly .selune-story-row::after{display:none}
#softly[data-motion] .selune-story-row+.selune-story-row::before{display:block}
@media(max-width:767px){#softly[data-motion]{--story-image:48vw}}

