.systems-scroll{background:#f5f3ed;scroll-margin-top:0!important}
.system-story{padding:42px 6vw;min-height:calc(100svh - var(--public-header-height));display:flex;flex-direction:column;justify-content:center;gap:30px;color:#203a35}
.system-story>header{display:grid;grid-template-columns:1.2fr 1fr;gap:45px;align-items:end}
.system-story>header .hp-kicker{margin-bottom:14px}
body #home-view .system-story h2{font-size:36px;font-weight:700;line-height:1.2;letter-spacing:-.02em;max-width:600px;color:#005550}
.system-story>header>p{font-size:18px;line-height:1.55;max-width:470px;color:#52615b}
.system-story-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px}
.system-story aside{padding:25px 0}
.system-story aside>p{font-size:11px;font-weight:700;letter-spacing:.08em;margin-bottom:30px;color:#6b756d}
.system-story aside>p span{margin-left:12px}
.system-story ol{list-style:none;padding:0;margin:0;display:grid}
.system-story li{position:relative;display:flex;gap:14px;align-items:center;padding:22px 16px 22px 0;border-top:1px solid #cbd2c5;color:#7b827c}
.system-story li>span{font-size:12px;font-weight:500}
.system-story li>strong{font-size:15px;line-height:1.4;font-weight:600}
.system-story li.is-current{color:#005550}
.system-story li.is-current i{position:absolute;right:0;width:6px;height:6px;border-radius:50%;background:#b47b56}
.system-story-slides{display:grid;gap:22px;min-width:0}
.system-story-slide{display:grid;grid-template-columns:.36fr .64fr;min-height:410px;background:#fff;border:1px solid #dbe0d7;border-radius:10px;overflow:hidden}
.system-story-slide[hidden]{display:none!important}
.system-story-copy{padding:30px 28px;display:flex;flex-direction:column;justify-content:center;background:#fff}
.system-story-index{font-size:12px;line-height:1.4;color:#87664b;margin-bottom:28px}
body #home-view .system-story-slide h3{font-size:26px;font-weight:700;line-height:1.2;letter-spacing:-.02em;margin:0 0 20px;color:#203a35}
.system-story-tasks{font-size:20px;line-height:1.4;font-weight:500;margin-bottom:15px}
.system-story-copy>p:last-child{font-size:15px;line-height:1.6;color:#66736b}
.system-story-slide figure{min-width:0;margin:0;background:#ecefe7;display:grid;place-items:center;overflow:hidden}
.system-story-slide img{width:100%;height:100%;object-fit:cover;max-height:450px}
.system-story-zoom figure{background:#f0f4fa;padding:20px}
.system-story-zoom img{object-fit:contain}
.system-story-webex,.system-story-webex figure{background:#fff}
.system-story-webex figure{padding:24px}
.system-story-webex img{object-fit:contain}
.system-story>footer{display:flex;justify-content:space-between;gap:30px;padding-top:21px;border-top:1px solid #cbd2c5}
.system-story>footer p,.system-story>footer a{font-size:15px;line-height:1.5;font-weight:500;color:#344b42;text-decoration:none}
.system-story>footer span{display:block;font-size:10px;line-height:1.4;font-weight:700;letter-spacing:.08em;margin-bottom:7px;color:#768073}
@media(min-width:1101px) and (min-height:760px) and (prefers-reduced-motion:no-preference){
 .systems-scroll.has-system-scroll{height:calc(100svh - var(--public-header-height) + 2500px)}
 .has-system-scroll .system-story{position:sticky;top:var(--public-header-height);height:calc(100svh - var(--public-header-height));min-height:0}
 .has-system-scroll .system-story-slides{height:410px;display:block}
 .has-system-scroll .system-story-slide{height:410px;min-height:0;animation:system-arrive .45s ease both}
 @keyframes system-arrive{from{opacity:.4;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:1100px),(prefers-reduced-motion:reduce){.system-story aside{display:none}.system-story-layout{grid-template-columns:1fr}.system-story>header{grid-template-columns:1fr;gap:20px}.system-story-slides{gap:25px}}
@media(max-width:760px){.system-story{padding:45px 22px;gap:28px}.system-story-slide{grid-template-columns:1fr;min-height:0}.system-story-copy{padding:25px}.system-story-index{margin-bottom:16px}body #home-view .system-story h2{font-size:28px}body #home-view .system-story-slide h3{font-size:24px}.system-story-slide figure{height:260px;order:-1}.system-story>footer{flex-direction:column;gap:20px}.system-story>header>p{font-size:16px}.system-story-tasks{font-size:18px}}
/* Keep the room card within the right half, balanced by the room index. */
@media(min-width:1101px){
 .system-story-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}
 .system-story aside{max-width:360px;width:100%;align-self:center;padding:0}
 .system-story-slide{display:flex;flex-direction:column;min-height:410px}
 .system-story-slide figure{order:-1;height:260px;flex:0 0 260px}
 .system-story-slide img{max-height:260px}
 .system-story-copy{padding:19px 24px;display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;align-content:center;flex:1}
 .system-story-index{display:none}
 body #home-view .system-story-slide h3{grid-column:1/-1;font-size:24px;margin:0 0 3px}
 .system-story-tasks{font-size:18px;line-height:1.4;margin:0}
 .system-story-copy>p:last-child{font-size:14px;line-height:1.5;margin:0}
 .system-story-zoom figure,.system-story-webex figure{padding:15px 25px}
}
/* Text progression follows scroll distance, including each newly selected room. */
@media(min-width:1101px) and (min-height:760px) and (prefers-reduced-motion:no-preference){
 .has-system-scroll .system-story>header .hp-kicker{opacity:var(--systems-eyebrow-opacity,1);transform:translateY(var(--systems-eyebrow-y,0px))}
 .has-system-scroll .system-story>header h2{opacity:var(--systems-heading-opacity,1);transform:translateY(var(--systems-heading-y,0px))}
 .has-system-scroll .system-story>header>p{opacity:var(--systems-intro-opacity,1);transform:translateY(var(--systems-intro-y,0px))}
 .has-system-scroll .system-story aside{opacity:var(--systems-index-opacity,1);transform:translateY(var(--systems-index-y,0px))}
 .has-system-scroll .system-story>footer{opacity:var(--systems-footer-opacity,1);transform:translateY(var(--systems-footer-y,0px))}
 .has-system-scroll .system-story-copy h3{opacity:var(--systems-title-opacity,1);transform:translateY(var(--systems-title-y,0px))}
 .has-system-scroll .system-story-tasks{opacity:var(--systems-tasks-opacity,1);transform:translateY(var(--systems-tasks-y,0px))}
 .has-system-scroll .system-story-copy>p:last-child{opacity:var(--systems-detail-opacity,1);transform:translateY(var(--systems-detail-y,0px))}
 .has-system-scroll .system-story>footer:focus-within{opacity:1;transform:none}
}

/* Section text leads; each card's image and caption enter as a single unit. */
@media(min-width:1101px) and (min-height:760px) and (prefers-reduced-motion:no-preference){
 .has-system-scroll .system-story-slides{opacity:var(--systems-card-opacity,1);transform:translateY(var(--systems-card-y,0px))}
 .has-system-scroll .system-story-copy h3,.has-system-scroll .system-story-tasks,.has-system-scroll .system-story-copy>p:last-child{opacity:1;transform:none}
}
