/* Designer V8 motion styles. Enqueued only on pages with cinematic content.
   The approved self-hosted model layout remains in style.css. */
:root{--ink:#0b3541;--cream:#f7f6f0;--glass:#d6e6da;--sand:#bb9868}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Rubik,Arial,sans-serif}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--sand);outline-offset:5px}
h1,h2,h3,h4,p,figure{margin:0}
h1,h2,h3{font-weight:500;letter-spacing:-.055em;line-height:1.02}
em{font-style:normal;color:var(--sand)}
p{line-height:1.7}
.eyebrow{font-size:10px;letter-spacing:2px;line-height:1.6;text-transform:uppercase}
.skip{position:fixed;left:10px;top:-100px;z-index:100;background:white;padding:12px}
.skip:focus{top:10px}
header{position:fixed;top:0;left:0;right:0;height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;background:#f7f6f0f5;z-index:50;border-bottom:1px solid #0b35411a}
header img{width:155px;height:auto;display:block}
header nav{display:flex;gap:30px;font-size:16px}
header nav a:last-child{border-bottom:1px solid var(--sand);padding-bottom:5px}
.opening{background:var(--ink);color:var(--cream)}
.opening-stage{height:900px;min-height:650px;position:relative;overflow:hidden;padding:140px 6% 80px}
.ocean-photo,.ocean-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ocean-photo{object-position:50% 55%}
.ocean-shade{background:linear-gradient(90deg,#031e2cc7,transparent 85%),linear-gradient(0deg,#042936ba,transparent)}
.opening-copy,.material-copy{position:relative;z-index:3;max-width:690px}
.opening h1{font-size:clamp(68px,8.7vw,136px);margin:26px 0 22px}
.opening-copy p{font-size:20px}
.object-stage{position:absolute;inset:10% 1% 10% 44%;display:grid;place-items:center;opacity:0;pointer-events:none}
.object-stage img{width:90%;height:90%;object-fit:contain;position:relative;filter:drop-shadow(0 35px 35px #0006)}
.halo{position:absolute;width:90%;aspect-ratio:1;border-radius:50%;background:radial-gradient(#83a79845,transparent 65%)}
.object-label{position:absolute;bottom:6%;font-size:11px;letter-spacing:.5px;color:var(--glass)}
.material-copy{display:none;position:absolute;left:6%;top:20%;width:40%}
.material-copy h2{font-size:clamp(45px,5.7vw,86px);margin:25px 0}
.material-copy p{max-width:360px;font-size:18px}
.material-copy a{display:inline-block;border-bottom:1px solid var(--sand);padding:14px 0;margin-top:15px;font-size:16px}
.opening-foot{position:absolute;bottom:26px;left:6%;right:6%;display:flex;justify-content:space-between;font-size:11px;z-index:4}
.scene-progress{position:absolute;bottom:0;height:2px;background:#ffffff20;width:100%;left:0}
.scene-progress span{display:block;height:100%;width:100%;background:var(--sand);transform:scaleX(0);transform-origin:left}
.making{padding:100px 6%}
.making-title{display:flex;align-items:start;justify-content:space-between;gap:30px;margin-bottom:60px}
.making-title h2{font-size:clamp(38px,5.3vw,76px)}
.making-title h2 span{color:#738b80}
.making-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:7%;align-items:center}
.making figure img{display:block;width:100%;aspect-ratio:1.05;object-fit:cover}
.making figcaption{font-size:11px;margin-top:14px}
.principles article{display:flex;gap:22px;border-top:1px solid #0b35412b;padding:24px 0}
.principles article>span{font-size:11px;color:#937851;padding-top:4px}
.principles h3{font-size:23px;letter-spacing:-.5px}
.principles p{font-size:18px;max-width:390px;margin-top:10px}
.system{background:var(--glass)}
.system-stage{padding:45px 0 28px}
.section-heading{display:flex;justify-content:space-between;padding:0 6%;align-items:start}
.section-heading h2{font-size:clamp(25px,3vw,42px)}
.system-window{position:relative;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.system-track{display:flex;width:100%;box-sizing:content-box;padding:0 30%}
.system-slide{flex:0 0 40%;scroll-snap-align:center;text-align:center}
.system-slide img{width:100%;height:320px;object-fit:contain}
.system-slide>span{font-size:10px;letter-spacing:1px;text-transform:uppercase}
.system-caption{text-align:center;padding:15px 24px;max-width:600px;margin:auto;min-height:145px}
.system-caption h3{font-size:34px;margin:10px 0}
.system-caption p{font-size:18px}
.system-footer{margin:12px 6% 0;padding-top:14px;border-top:1px solid #0b354133;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:11px}
.system-buttons{display:flex;gap:8px}
.system-buttons button{width:38px;height:38px;border:1px solid #0b354144;border-radius:50%;background:none;color:var(--ink);font-size:12px}
.system-buttons button[aria-pressed=true]{background:var(--ink);color:var(--cream)}
.impact{padding:100px 6% 70px;background:var(--ink);color:var(--cream)}
.impact-intro{max-width:950px;padding-bottom:85px}
.impact-intro h2{font-size:clamp(48px,7vw,105px);margin:30px 0}
.impact-intro p{color:var(--glass);font-size:20px}
.impact-panel{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;min-height:650px;padding:60px 5%;overflow:hidden;border-top:1px solid #ffffff30}
.tone-1{background:#d6e6da;color:var(--ink)}
.tone-2{background:#becfc0;color:var(--ink)}
.tone-3{background:#e7dbbf;color:var(--ink)}
.tone-4{background:#e9eee7;color:var(--ink)}
.impact-word{position:relative;z-index:2}
.impact-word h3{font-size:clamp(35px,4.7vw,66px);margin:25px 0}
.impact-word p{font-size:18px;max-width:390px}
.impact-word .detail{border-top:1px solid #0b354133;padding-top:15px;margin-top:18px;font-size:16px}
.impact-art img{display:block;width:100%;height:auto;aspect-ratio:1;clip-path:circle(41.5%);object-fit:contain}
@media(min-width:901px){.has-cinematic-motion .impact-art{display:grid;place-items:center;min-height:0}.has-cinematic-motion .impact-art img{width:min(100%,calc(100svh - var(--habitix-header-offset,80px) - 220px));max-width:100%;max-height:calc(100svh - var(--habitix-header-offset,80px) - 220px);height:auto;object-fit:contain}}
.panel-number{position:absolute;right:25px;bottom:-30px;font-size:190px;line-height:1;color:#0b35410a;letter-spacing:-15px}
.coast{padding:100px 0 75px}
.coast-heading{padding:0 6% 55px;display:flex;justify-content:space-between;align-items:start}
.coast h2{font-size:clamp(48px,6vw,88px)}
.coast h2 em{color:#738b80}
.coast-frame{margin:0 6%;height:550px;overflow:hidden;position:relative}
.coast-frame img{width:100%;height:100%;object-fit:cover}
.coast-frame figcaption{position:absolute;bottom:16px;left:20px;font-size:10px;background:#0b3541c9;color:white;padding:8px}
.coast-copy{display:grid;grid-template-columns:1fr 1fr 1fr;gap:50px;margin:40px 6% 0}
.coast-copy h3{font-size:30px}
.coast-copy h4{font-size:18px;font-weight:500}
.coast-copy p{font-size:18px;margin-top:10px}
.partners{display:flex;justify-content:space-between;align-items:center;padding:45px 6%;border-top:1px solid #0b354122}
/* The supplied square file has generous transparent padding around the logo.
   This landscape frame crops that padding while preserving the logo ratio. */
.partners img{width:420px;max-width:50%;height:105px;object-fit:cover;object-position:center}
.closing{background:var(--ink);color:var(--cream);padding:70px 6% 30px}
.closing>a{display:flex;justify-content:space-between;align-items:center;padding:40px 0 70px}
.closing h2{font-size:clamp(50px,8vw,120px)}
.closing>a>span{font-size:90px;color:var(--sand);transition:transform .3s}
.closing>a:hover>span{transform:translate(8px,-8px)}
.closing-bottom{border-top:1px solid #ffffff30;padding-top:25px;display:flex;justify-content:space-between;font-size:11px;gap:20px}

@media(min-width:901px) and (prefers-reduced-motion:no-preference){.opening.motion{height:260vh}
.motion .opening-stage{position:sticky;top:var(--habitix-header-offset,80px);height:calc(100svh - var(--habitix-header-offset,80px));min-height:0;padding-top:6vh}
.motion .material-copy{display:block;opacity:0}
.motion .ocean-photo,.motion .opening-copy,.motion .object-stage{will-change:transform,opacity}
.system.motion{height:260vh}
.motion .system-stage{position:sticky;top:var(--habitix-header-offset,80px);height:calc(100svh - var(--habitix-header-offset,80px));display:flex;flex-direction:column;justify-content:space-between}
.motion .system-window{overflow:hidden;flex:1;display:flex;align-items:center}
.motion .system-track{padding:0;box-sizing:border-box;will-change:transform;height:100%;align-items:center}
.motion .system-slide{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.motion .system-slide img{height:clamp(130px,31vh,370px)}
.has-cinematic-motion .impact-panel{position:sticky;top:calc(var(--habitix-header-offset,80px) + 10px + var(--order)*9px);min-height:calc(100svh - var(--habitix-header-offset,80px) - 55px)}
.impact-stack{padding-bottom:50px}
.coast-frame{will-change:clip-path}
}

@media(max-width:900px){header{height:70px;padding:0 6%}
header img{width:125px}
header nav{gap:16px;font-size:14px}
header nav a:first-child{display:none}
.opening-stage{height:calc(100svh - 20px);min-height:660px;padding:140px 7% 80px}
.opening h1{font-size:clamp(55px,12vw,88px)}
.opening-copy p,.impact-intro p{font-size:18px}
.material-copy p,.principles p,.system-caption p,.coast-copy p{font-size:16px}
.opening-foot .chapter-label{display:none}
.making{padding:65px 7%}
.making-title,.coast-heading{display:block}
.making-title h2{margin-top:20px}
.making-grid{grid-template-columns:1fr;gap:30px}
.section-heading{display:block}
.section-heading h2{margin-top:15px}
.system-track{padding:0 10%}
.system-slide{flex-basis:80%}
.system-slide img{height:260px}
.system-footer{flex-wrap:wrap}
.system-footer>a{flex-basis:100%;text-align:center;margin-top:12px}
.system-caption h3{font-size:29px}
.impact{padding:60px 6%}
.impact-intro{padding-bottom:45px}
.impact-panel{grid-template-columns:1fr;min-height:0;gap:0;padding:30px 24px;margin-bottom:20px}
.impact-word h3{font-size:38px}
.impact-art{grid-row:1}
.impact-art img{max-width:260px;margin:auto}
.impact-word p{font-size:16px}
.panel-number{font-size:110px}
.coast{padding:60px 0}
.coast-heading h2{margin-top:20px}
.coast-frame{height:330px}
.coast-copy{grid-template-columns:1fr;gap:25px}
.partners{display:block}
.partners img{display:block;width:100%;max-width:360px;height:auto;aspect-ratio:4/1;margin-top:20px}
.closing-bottom{flex-wrap:wrap}
.closing>a>span{font-size:50px}
.closing h2{font-size:50px}
}

@media(min-width:901px) and (max-height:650px){.opening h1{font-size:70px;margin:15px 0}
.material-copy{top:10%}
.material-copy h2{font-size:50px;margin:15px 0}
.system-stage{padding-top:18px;padding-bottom:14px}
.system-caption{min-height:115px;padding:5px 24px}
.system-caption h3{font-size:26px;margin:5px 0}
.impact-panel{padding:30px 5%;min-height:550px}
.impact-word h3{font-size:42px}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*:before,*:after{animation:none!important;transition:none!important}
.closing>a:hover>span{transform:none}
}


/* Larger product spotlight: image receives more of the available stage. */
@media(min-width:901px) and (prefers-reduced-motion:no-preference){
 .motion .system-stage{padding-top:24px;padding-bottom:18px}

 .motion .system-slide img{height:clamp(220px,43vh,520px);max-height:calc(100% - 24px);flex-shrink:1}

 .motion .system-caption{min-height:120px;padding:8px 24px}

 .motion .system-caption h3{margin:7px 0}

 .motion .system-window{min-height:0}

 .motion .system-slide{padding:0}

 .motion .section-heading h2{font-size:clamp(25px,2.5vw,36px)}

}

@media(min-width:901px) and (max-height:650px){.motion .system-slide img{height:36vh;min-height:155px}
.motion .system-caption{min-height:105px}
.motion .system-stage{padding-top:12px;padding-bottom:10px}
.motion .section-heading h2{font-size:25px}
}

@media(max-width:900px){.system-slide img{height:320px}
}


.tech-story{background:var(--cream);position:relative}
.tech-scene{padding:55px 6%;background:var(--cream)}
.tech-story-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:35px;gap:25px}
.tech-story-heading h2{font-size:clamp(30px,3.4vw,50px)}
.tech-story-heading h2 span{color:#738b80}
.tech-connected{display:grid;grid-template-columns:1.05fr 1fr;gap:7%;align-items:center;min-height:0}
.tech-visual{position:relative;aspect-ratio:1.15;background:var(--glass);overflow:hidden;min-width:0}
.tech-picture{position:absolute;inset:0;overflow:hidden}
.tech-picture[hidden]{display:none}
.tech-picture>img{display:block;width:100%;height:100%;object-fit:cover}
.tech-picture>span:last-child{position:absolute;bottom:14px;left:15px;right:15px;background:#f7f6f0e8;padding:9px;text-align:center;font-size:10px;line-height:1.5}
.texture-picture>img{object-fit:contain;transform:scale(2.05);transform-origin:48% 24%}
.tech-topic{border-top:1px solid #0b35412a;padding:0 0 15px;position:relative}
.tech-topic:before{content:'';position:absolute;top:-1px;left:0;width:0;height:2px;background:var(--sand);transition:width .55s}
.tech-topic[data-active=true]:before{width:100%}
.tech-topic h3{margin:0}
.tech-topic button{display:flex;align-items:center;gap:18px;width:100%;text-align:left;border:0;background:none;color:#6f837b;font-size:clamp(21px,2.2vw,31px);font-weight:500;line-height:1.15;padding:20px 0;letter-spacing:-.8px;min-height:70px}
.tech-topic button span{font-size:10px;font-weight:400;color:#937851;letter-spacing:0}
.tech-topic button i{font-style:normal;font-size:22px;margin-left:auto;opacity:0;transform:translate(-8px,8px);transition:.35s}
.tech-topic[data-active=true] button{color:var(--ink)}
.tech-topic[data-active=true] i{opacity:1;transform:none}
.tech-topic p{font-size:18px;line-height:1.7;margin:0 20px 7px 33px;max-width:410px}
.tech-story-footer{display:flex;justify-content:space-between;border-top:1px solid #0b354126;padding-top:18px;font-size:10px}
.research-picture{background:var(--ink);color:var(--cream);padding:35px;display:flex;flex-direction:column;justify-content:center}
.research-picture>.eyebrow{position:static;background:none;color:var(--sand);text-align:left;padding:0}
.research-diagram{display:flex;gap:10px;align-items:center;margin:35px 0}
.research-diagram span{border:1px solid #ffffff55;padding:15px 10px;font-size:12px}
.research-diagram i{font-style:normal;color:var(--sand)}
.research-picture p{font-size:clamp(28px,3vw,44px);line-height:1.15;letter-spacing:-1px}
.research-picture small{font-size:10px;line-height:1.6;margin-top:25px;color:var(--glass)}
.modular-picture{display:grid;grid-template-columns:1fr 1fr;padding:20px 20px 50px;gap:10px}
.modular-picture figure{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.modular-picture img{width:100%;height:calc(100% - 25px);min-height:0;object-fit:contain}
.modular-picture figcaption{font-size:10px;margin-top:5px}

@media(min-width:901px) and (prefers-reduced-motion:no-preference){.tech-story.is-linked{height:240vh}
.is-linked .tech-scene{position:sticky;top:var(--habitix-header-offset,80px);height:calc(100svh - var(--habitix-header-offset,80px));padding-top:25px;padding-bottom:25px;display:flex;flex-direction:column}
.is-linked .tech-connected{flex:1}
.is-linked .tech-visual{height:min(54vh,580px);width:100%;aspect-ratio:auto}
.is-linked .tech-story-heading{margin-bottom:20px}
.is-linked .tech-story-heading h2{font-size:36px}
}

@media(min-width:901px) and (max-height:680px){.is-linked .tech-story-heading h2{font-size:25px}
.is-linked .tech-topic button{font-size:20px;min-height:48px;padding:12px 0}
.is-linked .tech-topic{padding-bottom:8px}
.is-linked .tech-topic p{font-size:16px;line-height:1.5}
.is-linked .tech-story-footer{padding-top:9px}
.is-linked .tech-scene{padding-top:14px;padding-bottom:14px}
.research-picture{padding:20px}
.research-diagram{margin:15px 0}
.research-picture p{font-size:28px}
}

@media(max-width:900px){.tech-scene{padding:45px 7%}
.tech-story-heading{display:block}
.tech-story-heading h2{margin-top:20px}
.tech-connected{grid-template-columns:1fr;gap:24px}
.tech-visual{aspect-ratio:1.1}
.tech-topic button{font-size:22px;min-height:55px;padding:15px 0}
.tech-topic p{font-size:16px}
.research-picture{padding:24px}
.research-diagram{gap:6px;margin:25px 0}
.research-diagram span{font-size:10px;padding:12px 8px}
}

@media(prefers-reduced-motion:reduce){.tech-topic:before,.tech-topic button i{transition:none}
}


/* Matched topic artwork: consistent landscape composition without additional crop. */
.tech-visual{aspect-ratio:5/4}

.tech-picture.topic-art>img{object-fit:contain;transform:none;padding:0}

.tech-picture.topic-art>span:last-child{max-width:calc(100% - 28px);font-size:10px;line-height:1.4}

@media(min-width:901px){.is-linked .tech-visual{width:min(100%,67.5vh);height:auto;aspect-ratio:5/4;justify-self:center}
}

@media(max-width:900px){.tech-visual{aspect-ratio:5/4}
}


/* Persistent chapter navigation: direct access beyond long motion scenes. */
.site-header{gap:24px;box-shadow:0 3px 18px #0b354108;backdrop-filter:blur(16px)}

.site-header .section-menu{gap:4px;align-items:center;margin:auto}

.site-header .section-menu a{display:block;white-space:nowrap;padding:10px 12px;border:0;border-radius:30px;font-size:16px;transition:background .2s,color .2s}

@media (min-width:901px),(hover:hover){.site-header .section-menu a:hover{background:#d6e6da80}}

.site-header .section-menu a[aria-current="location"]{background:var(--ink);color:var(--cream)}

.site-header .site-menu{gap:20px;white-space:nowrap}

@media(min-width:901px) and (max-width:1150px){.site-header{padding:0 3%;gap:14px}
.site-header img{width:130px}
.site-header .section-menu a{padding:10px 8px;font-size:14px}
.site-header .site-menu{gap:12px;font-size:14px}
}

@media(max-width:900px){.site-header{height:110px;display:grid;grid-template-columns:1fr auto;grid-template-rows:60px 50px;gap:0;padding:0 6%}
.site-header .brand-link{grid-row:1}
.site-header .site-menu{grid-row:1;grid-column:2}
.site-header .site-menu a:first-child{display:block}
.site-header .section-menu{grid-row:2;grid-column:1/-1;width:100%;margin:0;overflow-x:auto;scrollbar-width:none;border-top:1px solid #0b354115;gap:4px}
.site-header .section-menu a{display:block;flex-shrink:0;padding:8px 10px;font-size:14px}
.site-header .section-menu::-webkit-scrollbar{display:none}
html{scroll-padding-top:122px}
.opening-stage{padding-top:150px}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
.site-header .section-menu a{transition:none}
}


/* WordPress integration and responsive accessibility. */
.opening-copy{max-width:900px}
:root{--chalk:#f7f6f0;--ocean:#0b3541;--habitix-header-height:80px;--habitix-header-offset:80px}
html:has(.habitix-cinematic){scroll-padding-top:calc(var(--habitix-header-offset) + 12px)}
#habitix-homes .habitix-cinematic{color-scheme:light;background:var(--cream);color:var(--ink)}
#habitix-homes .habitix-cinematic .site-header{top:var(--habitix-admin-bar-height,var(--habitix-admin-offset,0px))}
#habitix-homes .habitix-cinematic .site-header .brand-link{flex-shrink:0}
#habitix-homes .habitix-cinematic .site-header .brand-link img{max-height:48px;object-fit:contain}
#habitix-homes .habitix-cinematic .section-menu a{min-height:44px;display:flex;align-items:center}
#habitix-homes .habitix-cinematic .site-menu a{min-height:44px;display:flex;align-items:center;padding:0}
#habitix-homes .habitix-cinematic .system-buttons button{width:44px;height:44px}
#habitix-homes .habitix-cinematic .showcase-heading .section-title::before{content:"";display:block;background:var(--sand)}
#habitix-homes .habitix-cinematic .showcase-description p{font-size:18px;line-height:1.7}
#habitix-homes .habitix-cinematic .showcase-heading h2{font-weight:500}
#habitix-homes .habitix-cinematic .legacy-anchor{position:absolute;top:0;left:0}
#habitix-homes .habitix-cinematic .system-window::-webkit-scrollbar{display:none}
#habitix-homes .habitix-cinematic .system-window:focus-visible{outline-offset:-5px}
@media(max-width:900px){
 :root{--habitix-header-height:110px;--habitix-header-offset:110px}
 #habitix-homes .habitix-cinematic .section-menu{overscroll-behavior-x:contain}
 #habitix-homes .habitix-cinematic .section-menu a{min-height:44px;padding:8px 10px}
 #habitix-homes .habitix-cinematic .showcase-description p{font-size:16px}
}
@media(max-width:360px){
 #habitix-homes .habitix-cinematic .site-header{padding:0 5%}
 #habitix-homes .habitix-cinematic .site-menu{gap:12px;font-size:14px}
 #habitix-homes .habitix-cinematic .site-header .brand-link img{width:110px}
 #habitix-homes .habitix-cinematic .system-footer{justify-content:center}
}
/* With scripting unavailable, show each technology explanation and image. */
html:not(.habitix-cinematic-js) .habitix-cinematic .tech-picture[hidden]{display:block!important}
html:not(.habitix-cinematic-js) .habitix-cinematic .tech-visual{display:grid;grid-template-columns:1fr 1fr;gap:12px;aspect-ratio:auto;background:none}
html:not(.habitix-cinematic-js) .habitix-cinematic .tech-picture{position:relative;aspect-ratio:5/4}
html:not(.habitix-cinematic-js) .habitix-cinematic .tech-topic p[hidden]{display:block!important}
html:not(.habitix-cinematic-js) .habitix-cinematic .tech-picture>span{font-size:8px;left:5px;right:5px;bottom:5px;padding:4px}

/* Flex overflow needs a real trailing item for the final native snap position. */
.system:not(.motion) .system-track::after{content:"";flex:0 0 30%;height:1px}
@media(max-width:900px){.system:not(.motion) .system-track::after{flex-basis:10%}}

/* Study photographs: side-by-side without script, with an accessible reveal when enhanced. */
.habitix-cinematic .growth-comparison{--growth-reveal:50%;height:100%;display:flex;flex-direction:column;background:#eae9e1;color:var(--ink);overflow:hidden}
.habitix-cinematic .growth-compare-stage{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto;align-items:stretch;gap:8px;padding:12px}
.habitix-cinematic .growth-compare-stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;user-select:none;-webkit-user-drag:none}
.habitix-cinematic .growth-after{grid-column:2;grid-row:1}
.habitix-cinematic .growth-before{grid-column:1;grid-row:1;min-height:0}
.habitix-cinematic .growth-labels{display:contents}
.habitix-cinematic .growth-labels>div{grid-row:2;text-align:center}
.habitix-cinematic .growth-labels span{display:inline-block;font-size:11px;line-height:1.4;padding:5px 10px}
.habitix-cinematic .growth-label-before{grid-column:1}
.habitix-cinematic .growth-label-after{grid-column:2}
.habitix-cinematic .growth-divider,.habitix-cinematic .growth-controls{display:none}
.habitix-cinematic .growth-caption{flex-shrink:0;padding:7px 12px 10px;font-size:10px;line-height:1.4;text-align:center;letter-spacing:.02em}
.habitix-cinematic .growth-comparison.is-ready .growth-compare-stage{display:block;padding:0;touch-action:pan-y;cursor:ew-resize}
.habitix-cinematic .growth-comparison.is-ready .growth-compare-stage>.growth-after,.habitix-cinematic .growth-comparison.is-ready .growth-before{position:absolute;inset:0;width:100%;height:100%}
.habitix-cinematic .growth-comparison.is-ready .growth-before{background:#eae9e1;clip-path:inset(0 calc(100% - var(--growth-reveal)) 0 0)}
.habitix-cinematic .growth-comparison.is-ready .growth-labels{position:absolute;z-index:2;inset:0;display:block;pointer-events:none}
.habitix-cinematic .growth-comparison.is-ready .growth-labels>div{position:absolute;inset:0}
.habitix-cinematic .growth-comparison.is-ready .growth-label-before{clip-path:inset(0 calc(100% - var(--growth-reveal)) 0 0)}
.habitix-cinematic .growth-comparison.is-ready .growth-label-after{clip-path:inset(0 0 0 var(--growth-reveal))}
.habitix-cinematic .growth-comparison.is-ready .growth-labels span{position:absolute;top:12px;background:#f7f6f0eb;border:1px solid #0b35411c;border-radius:2px}
.habitix-cinematic .growth-comparison.is-ready .growth-label-before span{left:12px}
.habitix-cinematic .growth-comparison.is-ready .growth-label-after span{right:12px}
.habitix-cinematic .growth-comparison.is-ready .growth-divider{display:block;position:absolute;z-index:1;top:0;bottom:0;left:var(--growth-reveal);width:2px;background:var(--ink);transform:translateX(-50%);pointer-events:none}
.habitix-cinematic .growth-divider span{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:42px;height:42px;transform:translate(-50%,-50%);background:var(--cream);color:var(--ink);border:1px solid var(--ink);border-radius:50%;font-size:23px;line-height:1;box-shadow:0 2px 9px #0b354124}
.habitix-cinematic .growth-comparison.is-ready .growth-controls{display:grid;grid-template-columns:1fr;flex-shrink:0;padding:9px 16px 0;background:var(--cream);border-top:1px solid #0b35411c}
.habitix-cinematic .growth-controls label{font-size:11px;line-height:1.4}
.habitix-cinematic .growth-controls input[type="range"]{display:block;width:100%;height:32px;min-height:32px;margin:0;accent-color:var(--ink);cursor:ew-resize;touch-action:pan-y}
.habitix-cinematic .growth-controls input[type="range"]:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:2px}
.habitix-cinematic .growth-controls p{margin:0;font-size:10px;line-height:1.4;color:#526760}
.habitix-cinematic .growth-comparison.is-ready .growth-caption{background:var(--cream)}
.habitix-cinematic .growth-comparison[data-dragging="true"] .growth-divider span{background:var(--ink);color:var(--cream)}
@media(forced-colors:active){.habitix-cinematic .growth-comparison.is-ready .growth-divider{background:CanvasText}.habitix-cinematic .growth-divider span{border-color:CanvasText}}

/* Readable supporting copy alongside the larger R18 story. */
.habitix-cinematic .site-header .section-menu a,
.habitix-cinematic .site-header .site-menu{font-size:18px}
.habitix-cinematic .eyebrow{font-size:13px;letter-spacing:1.6px}
.habitix-cinematic .tech-topic p,
.habitix-cinematic .system-caption p,
.habitix-cinematic .impact-word p,
.habitix-cinematic .coast-copy p{font-size:20px;line-height:1.6}
.habitix-cinematic .impact-word .detail{font-size:18px}
.habitix-cinematic .tech-picture>span:last-child,
.habitix-cinematic .tech-picture.topic-art>span:last-child,
.habitix-cinematic .coast-frame figcaption,
.habitix-cinematic .growth-caption,
.habitix-cinematic .growth-controls p{font-size:13px}
.habitix-cinematic .growth-labels span,
.habitix-cinematic .growth-controls label{font-size:14px}
.habitix-cinematic .tech-topic button span,
.habitix-cinematic .tech-story-footer,
.habitix-cinematic .system-slide>span{font-size:13px}
.habitix-cinematic .system-footer,
.habitix-cinematic .closing-bottom{font-size:14px}
.habitix-cinematic .system-buttons button{font-size:15px}
@media(max-width:1150px){
 .habitix-cinematic .site-header .section-menu a,
 .habitix-cinematic .site-header .site-menu{font-size:16px}
}
@media(max-width:900px), (max-height:750px){
 .habitix-cinematic .tech-topic p,
 .habitix-cinematic .system-caption p,
 .habitix-cinematic .impact-word p,
 .habitix-cinematic .coast-copy p,
 .habitix-cinematic .impact-word .detail{font-size:18px;line-height:1.55}
}
