/* Two scenes, one product: readable typography and deliberate motion. */
.hero{--scene-duration:6.5s;min-height:100svh}
.hero .hero-copy{padding-bottom:64px;transition:opacity .22s ease,translate .45s var(--ease-out)}
.hero h1{font-size:clamp(56px,5.8vw,84px);line-height:1.01;letter-spacing:-.055em;margin-block:22px 26px;min-height:3.03em}
.hero h1 span{color:inherit;animation:none}
.hero h1>.hero-title-line{display:block;color:#f5f9fc;animation:none;transform-origin:left bottom}
.hero h1>.hero-accent{color:#8ac7f6;white-space:nowrap}
.hero-word-window{display:inline-block;vertical-align:bottom;width:7.5ch;overflow:hidden;padding-bottom:.04em;margin-bottom:-.04em}
#heroLivingWord{display:inline-block;transition:opacity .22s,transform .32s var(--ease-out)}
#heroLivingWord.word-out{opacity:0;transform:translateY(-70%) rotate(-3deg)}
#heroLivingWord.word-in{opacity:0;transform:translateY(75%) rotate(3deg)}
.hero.hero-ready .hero-title-line{animation:hero-line-arrive .8s var(--ease-out) both}
.hero.hero-ready .hero-title-line:nth-child(2){animation-delay:100ms}.hero.hero-ready .hero-title-line:nth-child(3){animation-delay:200ms}
.hero.hero-changing .hero-copy{opacity:0;translate:0 14px}
.hero .hero-lead{min-height:90px;max-width:570px}
.hero .hero-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:none;scale:1;transition:opacity .85s ease,transform 6.5s cubic-bezier(.2,.55,.3,1);will-change:opacity,transform}
.hero .hero-visual>img:first-child{opacity:1;object-position:65% center;transform:scale(1.025) translateX(0)}
.hero .hero-visual>.hero-photo-secondary{opacity:0;object-position:32% center;transform:scale(1.09) translateX(-2%)}
.hero[data-scene="1"] .hero-visual>img:first-child{opacity:0;transform:scale(1.09) translateX(2%)}
.hero[data-scene="1"] .hero-visual>.hero-photo-secondary{opacity:1;transform:scale(1.015) translateX(0)}
.hero .hero-image-shade{transition:opacity 1s ease}
.hero-shade-secondary{position:absolute;inset:0;opacity:0;background:linear-gradient(90deg,#06141c08 0%,#06141c28 25%,#06141cd9 54%,#06141cf7 100%),linear-gradient(0deg,#06141ca8,transparent 40%);transition:opacity 1s ease;z-index:1}
.hero[data-scene="1"] .hero-image-shade{opacity:0}
.hero[data-scene="1"] .hero-shade-secondary{opacity:1}
.hero[data-scene="1"] .hero-copy>*{width:min(620px,100%);margin-left:auto}
.hero[data-scene="1"] .hero-copy{align-items:stretch}
.hero[data-scene="1"] .hero-title-line{transform-origin:right bottom}
.hero[data-scene="1"] .hero-lead{max-width:620px}
.hero[data-scene="1"] .quick-services{visibility:visible}
.hero-app-preview{transition:opacity .6s ease,translate .8s var(--ease-out)}
.hero[data-scene="1"] .hero-app-preview{opacity:0;translate:60px 0;pointer-events:none}
.hero-motion-toggle{position:absolute;z-index:8;top:120px;right:24px;width:44px;height:44px;border:1px solid #ffffff40;border-radius:50%;background:#06141c80;color:#fff;display:grid;place-items:center;cursor:pointer;font-size:12px;transition:background .2s}
.hero-motion-toggle:hover{background:#245f8b}.hero-motion-toggle:focus-visible{outline:2px solid #ffa500;outline-offset:4px}
.hero-photo-credit{position:absolute;z-index:5;right:32px;bottom:16px;font-size:10px;color:#acbecb;max-width:300px;text-align:right}
.hero-photo-credit[hidden]{display:none}
.role-showcase{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.role-photo{margin:0;position:relative;overflow:hidden;min-width:0}
.role-photo>img{width:100%;height:450px;object-fit:cover;object-position:35% center}
.role-photo figcaption{position:absolute;bottom:0;left:0;right:0;padding:50px 24px 22px;background:linear-gradient(transparent,#06141ce6);color:#fff;font-size:19px;line-height:1.4}
.role-photo figcaption small{display:block;font-size:9px;color:#c6d3dd;margin-top:8px}
.role-editorial{min-width:0}
.role-switch{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:32px}
.role-switch button{position:relative;flex:1;background:none;border:0;padding:16px 0;text-align:left;font:inherit;font-weight:600;font-size:14px;color:var(--muted);cursor:pointer;min-height:54px}
.role-switch button[aria-pressed=true]{color:var(--ink)}
.role-switch button::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .3s}
.role-switch button[aria-pressed=true]::after{transform:scaleX(1)}
#roleContent{min-height:330px}
#roleContent .eyebrow{font-size:10px}#roleContent h3{font-size:clamp(29px,3vw,42px);line-height:1.12;letter-spacing:-1.2px;margin:18px 0}
#roleContent>p{font-size:16px;line-height:1.75;color:var(--muted);max-width:530px}
.role-checkpoints{counter-reset:checkpoint;list-style:none;padding:0;margin:24px 0;display:grid;gap:10px}
.role-checkpoints li{counter-increment:checkpoint;display:flex;gap:16px;font-size:13px;align-items:center;color:var(--muted)}
.role-checkpoints li::before{content:counter(checkpoint,decimal-leading-zero);font-size:10px;color:var(--blue)}
#roleContent.is-changing{animation:role-content-in .4s var(--ease-out)}
@keyframes hero-line-arrive{from{opacity:0;transform:translateY(35px) rotate(1deg);clip-path:inset(0 0 100% 0)}to{opacity:1;transform:none;clip-path:inset(0)}}
@keyframes hero-scene-clock{to{transform:scaleX(1)}}
@keyframes role-content-in{from{opacity:.2;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:1180px){.hero[data-scene="1"] .hero-copy>*{width:min(560px,100%)}.hero h1{font-size:clamp(56px,6.7vw,78px)}.role-showcase{gap:36px}.role-photo>img{height:460px}}
@media(max-width:900px){.hero[data-scene="1"] .hero-copy>*{width:100%;margin-left:0}.hero .hero-lead{min-height:105px}.hero-shade-secondary{background:linear-gradient(90deg,#06141cf2,#06141cd6 60%,#06141c88)}.role-showcase{grid-template-columns:.8fr 1.2fr;gap:28px}.role-switch{gap:16px}.role-switch button{font-size:12px}.role-photo>img{height:470px}.hero-photo-credit{font-size:9px;max-width:260px}}
@media(max-width:760px){
 .hero .hero-copy{padding:118px 24px 64px}
 .hero h1{font-size:clamp(40px,11vw,58px);line-height:1.06;min-height:3.18em;letter-spacing:-.05em}
 .hero .hero-lead{min-height:150px;font-size:16px}
 .hero .hero-visual>.hero-photo-secondary{object-position:32% center}
 .hero-shade-secondary{background:linear-gradient(0deg,#06141cfa 7%,#06141cdc 55%,#06141c70 100%)}
 .hero-motion-toggle{top:80px;right:18px}
 .hero-photo-credit{right:24px;bottom:8px;font-size:8px;max-width:300px}
 .hero .quick-services{min-height:68px;align-content:start}
 .role-showcase{grid-template-columns:1fr;gap:28px}.role-photo>img{height:280px}.role-photo figcaption{font-size:17px;padding:35px 18px 18px}
 .role-switch{margin-bottom:26px}.role-switch button{font-size:12px;min-height:54px}
 #roleContent{min-height:340px}#roleContent h3{font-size:32px}#roleContent>p{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 .hero .hero-visual>img,.hero-copy,.hero-app-preview,.hero-shade-secondary,.hero-image-shade,#heroLivingWord{transition:none!important;animation:none!important}
 .hero.hero-ready .hero-title-line{animation:none!important;opacity:1;transform:none;clip-path:none}
 .hero.is-running .hero-scene-track i,#roleContent.is-changing{animation:none}
}
