/* Public motion and model presentation. Authenticated screens keep their own UI. */
html body.locked #loginGate .public-site.studio-public #publicHome:not(#loginPanel):not(#signupPanel):not(#checkoutPanel):not([data-public-page='checkout']) {
  & .home-film-hero {
    position:relative;isolation:isolate;display:grid;place-items:center;
    min-height:clamp(560px,calc(100svh - 76px),850px);padding:96px 32px 108px!important;
    margin:0!important;overflow:hidden;background:#081a2b!important;
  }
  & .home-film-media {position:absolute;inset:0;z-index:-2;background:#081a2b}
  & .home-film-media video {display:block;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.8}
  & .home-film-shade {position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0614215c,#06142185 35%,#061421c9)}
  & .home-film-copy {max-width:1080px;margin:auto;text-align:center}
  & .home-film-copy .home-eyebrow {color:#e1e6ec!important;margin:0 0 28px!important;letter-spacing:.13em!important}
  & .home-film-copy h1 {max-width:1050px;margin:0 auto 28px!important;color:#fff!important;font-size:clamp(46px,6vw,86px)!important;line-height:1.07!important;letter-spacing:-.045em!important}
  & .home-film-copy h1 span {color:#fff!important}
  & .home-film-copy .home-lead {max-width:560px;margin:0 auto 36px!important;font-size:clamp(16px,1.4vw,19px)!important;line-height:1.6!important;color:#f1f3f6!important}
  & .home-film-copy .home-actions {justify-content:center!important;margin:0!important}
  & .home-film-copy .home-button-primary {min-width:180px!important;background:#fff!important;border-color:#fff!important;color:#081a2b!important}
  & .home-film-copy .home-button-primary:hover {background:#e7ecf5!important;color:#081a2b!important}
  & .home-film-copy :is(a,button):focus-visible {outline-color:#fff!important}
  & .home-film-control {position:absolute;bottom:24px;right:var(--public-frame-gutter);z-index:1;min-height:44px;padding:10px 16px;border:1px solid #ffffff75!important;background:#081a2b80!important;color:#fff!important;font:400 11px/1.5 'Geist Mono',monospace!important;backdrop-filter:blur(8px)}
  & .home-film-control[hidden] {display:none!important}
  & .home-film-control:hover {background:#081a2b!important}
  & .home-film-control:focus-visible {outline-color:#fff!important}
  & .home-model-section {box-sizing:border-box;width:min(var(--public-frame-max),calc(100% - 2 * var(--public-frame-gutter)))!important;max-width:var(--public-frame-max)!important;margin-inline:auto!important;padding:clamp(72px,8vw,128px) 0!important}
  & .home-model-heading {display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:48px}
  & .home-model-heading h2 {max-width:620px;margin:0!important;font-size:clamp(32px,4vw,56px)!important;letter-spacing:-.035em!important}
  & .home-model-heading p {max-width:310px;margin:0!important;font-size:15px!important}
  & .home-model-comparison {max-width:1260px;margin-inline:auto;--model-reveal:50%}
  & .home-model-section .home-product-device {max-width:1260px!important;padding-inline:0!important}
  & .home-model-comparison .public-product-device-display {padding-top:clamp(14px,1.8vw,20px)!important}
  & .model-reveal-stage {position:relative;isolation:isolate;overflow:hidden;aspect-ratio:1512/861;background:#ededed;touch-action:pan-y;user-select:none}
  & .model-reveal-stage img {display:block!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;pointer-events:none;-webkit-user-drag:none}
  & .model-reveal-after {position:absolute;inset:0;display:none;pointer-events:none}
  & [data-reveal-ready='true'] .model-reveal-after {display:block;clip-path:inset(0 calc(100% - var(--model-reveal)) 0 0)}
  & .model-reveal-divider {display:none;position:absolute;inset-block:0;left:var(--model-reveal);width:2px;background:#002fa7;pointer-events:none;transform:translateX(-50%)}
  & [data-reveal-ready='true'] .model-reveal-divider {display:block}
  & .model-reveal-handle {position:absolute;left:clamp(29px,var(--model-reveal),calc(100% - 29px));top:50%;display:none;place-items:center;width:58px;height:38px;border:1px solid #fff;border-radius:24px;background:#002fa7;color:#fff!important;transform:translate(-50%,-50%);font:400 10px/1 'Geist Mono',monospace!important;letter-spacing:.02em}
  & [data-reveal-ready='true'] .model-reveal-handle {display:grid}
  & .model-reveal-range {position:absolute;inset:0;z-index:2;display:none;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:pan-y}
  & [data-reveal-ready='true'] .model-reveal-range {display:block}
  & .model-reveal-stage:focus-within {outline:3px solid #002fa7;outline-offset:-3px}
  & .home-model-caption {display:flex;justify-content:space-between;align-items:center;gap:16px;margin:28px 0 0;padding-inline:4%;font:400 12px/1.6 'Geist Mono',monospace;color:#595f65}
  & .home-model-caption span {font:inherit!important;color:inherit!important}
  & .home-model-caption a {font:400 13px/1.5 'Manrope',sans-serif!important;text-decoration:underline;text-underline-offset:4px}
  & .home-model-note {margin:14px 0 0!important;text-align:center;font-size:12px!important;color:#656b71!important}
  & .home-decisions {padding-block:0 72px!important}
  & .home-decisions .home-decisions-layout {display:block;border-top:1px solid #ccc;padding-top:48px}
  & .home-product-definition {max-width:60ch;margin:0!important;font-size:clamp(18px,1.5vw,22px)!important;line-height:1.6!important}
  & .home-engineering-heading {margin-bottom:40px!important}
  & #home-reactors.home-vessel-only {padding:clamp(24px,5vw,64px) 0!important;background:transparent!important;border:0!important}
  & .home-vessel-mount {display:grid;place-items:center}
  & .public-vessel {
    --abv-night:#081a2b;--abv-steel-00:#f1f5f5;--abv-steel-01:#d3dee1;--abv-steel-02:#aabdc5;--abv-steel-03:#7d96a3;--abv-steel-04:#506b7d;--abv-signal:#9bbcff;--abv-cobalt:#3158d4;
    position:relative;width:min(100%,560px);height:clamp(320px,52svh,540px);margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
  }
  & .public-vessel-fallback {display:block;width:100%;height:100%!important}
  & .public-vessel-toggle,& .public-vessel-toggle:is(:hover,:active,:focus-visible) {position:absolute;inset:0;display:block;appearance:none;width:100%;height:100%;min-width:0;min-height:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer;touch-action:pan-y}
  & .public-vessel-toggle:focus-visible {outline:2px solid #9bbcff!important;outline-offset:4px}
  & .public-vessel-canvas {display:block;width:100%;height:100%;pointer-events:none}
  & .public-vessel [hidden] {display:none!important}
}
@media(max-width:800px){
  html body.locked #loginGate .public-site.studio-public #publicHome:not(#loginPanel):not(#signupPanel):not(#checkoutPanel):not([data-public-page='checkout']) {
    & .home-film-hero {min-height:clamp(530px,calc(92svh - 64px),760px);padding:72px 20px 100px!important}
    & .home-film-copy h1 {font-size:clamp(42px,8vw,62px)!important;line-height:1.09!important}
    & .home-film-copy .home-eyebrow {font-size:10px!important;margin-bottom:24px!important}
    & .home-film-copy .home-lead {font-size:16px!important;max-width:320px}
    & .home-film-control {right:20px;bottom:18px}
    & .home-model-section {padding-block:64px!important}
    & .home-model-heading {display:block;margin-bottom:32px}
    & .home-model-heading p {margin-top:20px!important;max-width:340px}
    & .home-model-caption {flex-wrap:wrap;row-gap:12px;font-size:12px!important}
    & .home-model-caption a {margin-left:auto}
    & .model-reveal-handle {width:44px;height:32px;font-size:9px!important}
    & .home-decisions {padding-bottom:40px!important}
  }
}
@media(prefers-reduced-motion:reduce){
  html body.locked #loginGate .public-site.studio-public #publicHome .model-reveal-after {transition:none!important}
}
