/* The original 941-frame motion, with screen artwork composited into each frame. */
.on-website-showcase { position:relative; background:#F6F3EC; color:#202522; }
#on-website-story { width:100%; min-height:600svh; }
#on-website-story[data-load="failed"] {min-height:0;}
.on-macbook-story { position:relative; height:600svh; }
.on-macbook-stage { position:sticky; top:68px; height:calc(100svh - 68px); min-height:340px; overflow:hidden; isolation:isolate; background:#F6F3EC; }
.on-macbook-bloom { position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse at 50% 48%,#e6e9fc77,transparent 65%); }
.on-macbook-model { position:absolute; top:50%; left:50%; width:880px; height:1360px; transform:translate(-50%,-50%) scale(var(--macbook-scale,1)); transform-origin:center; mix-blend-mode:multiply; }
.on-macbook-model .fsh-root { position:relative; width:880px; height:1360px; }
.on-macbook-model .fsh-canvas { display:block; width:880px; height:1360px; user-select:none; pointer-events:none; }
.on-macbook-model .fsh-video,.on-macbook-model .fsh-poster { position:absolute;inset:0; }
.on-macbook-model .fsh-video { opacity:0; }
.on-macbook-intro { position:absolute; z-index:2; left:24px;right:24px;top:9%;text-align:center;pointer-events:none;will-change:opacity,transform; }
.on-macbook-intro p { color:#3154ff;font:600 16px/1.4 'DM Sans',sans-serif;margin:0 0 18px; }
.on-macbook-intro h2 { color:#202522;font:750 clamp(32px,4.4vw,68px)/1.06 'Manrope',sans-serif;letter-spacing:-.055em;margin:0; }
.on-macbook-copy-accessible {position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.on-website-fallback { position:sticky;top:68px;height:calc(100svh - 68px);min-height:0; display:grid; place-content:center; text-align:center; padding:40px 20px; }
.on-website-fallback > p { font:750 clamp(2.5rem,6vw,5rem)/1.1 'Manrope',sans-serif; letter-spacing:-.05em; }
/* The final laptop leaves upward. Bring the next heading into the cleared
   lower viewport instead of scrolling through a second, empty stage first.
   This changes only the following section's placement, not the 941-frame range. */
@media (prefers-reduced-motion:no-preference) {
  .on-website-showcase:has(.on-macbook-story) + .on-original {
    position:relative;
    z-index:2;
    margin-top:-45svh;
    padding-top:0;
    background:transparent;
  }
  .on-website-showcase:has(.on-macbook-story) + .on-original > .on-search-showcase {
    background:transparent;
  }
}
@media(max-width:759px), (pointer:coarse) and (max-width:1024px) {
  #on-website-story {min-height:650svh;}
  .on-website-showcase:has(.on-macbook-story:not([data-reduced-motion="true"])) + .on-original {margin-top:-45svh;}
  .on-macbook-story { height:650svh; }
  .on-macbook-stage { position:sticky;top:68px; }
  .on-macbook-intro { top:12%; }
  .on-macbook-intro p { font-size:14px;margin-bottom:14px; }

}
.on-macbook-model .fsh-mobile-video {display:block;width:880px;height:1360px;object-fit:contain;}
@media(prefers-reduced-motion:reduce) { #on-website-story {min-height:calc(100svh - 68px);} .on-macbook-story { height:calc(100svh - 68px); } .on-macbook-stage { position:relative;top:0; } }

.on-macbook-hit-areas {position:absolute;inset:0;width:880px;height:1360px;pointer-events:none;}
.on-macbook-hit-areas a {pointer-events:all;cursor:pointer;}
.on-macbook-hit-areas a:focus-visible polygon {stroke:#ff805d;stroke-width:4px;}
