/* Third concept: first light, a laptop reveal, then the same full-screen night sky. */
.hero-preparing .scene-sticky{background:linear-gradient(rgb(22 29 58) 0%,rgb(24 32 65) 15%,rgb(28 37 74) 30%,rgb(37 46 92) 50%,rgb(52 64 119) 70%,rgb(79 89 144) 85%,rgb(136 131 144) 100%)}
.hero-preparing .device,.hero-preparing .hero-copy,.hero-preparing .scroll-cue{visibility:hidden}
.hero-word{display:inline-block;white-space:nowrap}
.hero-letter,.scroll-cue>span{display:inline-block}
.zoom-journey .hero-copy h1 .hero-word:before,.zoom-journey .hero-copy h1 .hero-letter:before{content:none}
.hero-link:focus-visible{opacity:1!important;filter:none!important}
.zoom-journey.js-motion .site-header:not(.on-content){color:var(--hero-ink);background:transparent;border-bottom-color:transparent}

/* Both opening copy and laptop captions share one responsive editorial grid. */
.zoom-journey .scene-sticky{
 --hero-copy-top:clamp(112px,17svh,168px);
 --hero-side-space:clamp(24px,4vw,64px);
 --hero-laptop-gap:32px;
 --hero-bottom-space:32px;
 --hero-camera-layout:stack;
}
.zoom-journey.js-motion .experience{height:650svh}
.zoom-journey .hero-copy,.zoom-journey .scene-caption{
 left:var(--hero-side-space);right:var(--hero-side-space);max-width:1040px;margin-inline:auto;
}
.zoom-journey.js-motion .hero-copy,.zoom-journey.js-motion .scene-caption{top:var(--hero-copy-top)}
.zoom-journey.js-motion .hero-copy{color:var(--hero-ink)}
.zoom-journey .hero-copy>.eyebrow,.zoom-journey.js-motion .hero-copy>.eyebrow{display:block;font-size:var(--font-hero-eyebrow-size);margin-bottom:clamp(12px,2svh,20px)}
.zoom-journey.js-motion .hero-copy>.eyebrow{color:var(--hero-eyebrow)}
.zoom-journey.js-motion .hero-copy h1{font-size:var(--font-hero-title-size);line-height:var(--font-hero-title-leading);letter-spacing:var(--font-hero-title-tracking)}
.zoom-journey.js-motion .hero-copy h1 br{display:block}
.zoom-journey .hero-copy h1 span+span:before{content:none}
.zoom-journey.js-motion .hero-copy h1 span[data-i18n="heroSecond"]{margin-left:0}
.zoom-journey .hero-description,.zoom-journey.js-motion .hero-description{max-width:var(--hero-body-max-width);font-size:var(--font-hero-body-size);line-height:var(--font-hero-body-leading);text-wrap:balance;margin:clamp(18px,2.8svh,26px) auto 22px}
.zoom-journey.js-motion .hero-description{color:var(--hero-body)}
.zoom-journey .hero-link,.zoom-journey.js-motion .hero-link{display:inline-flex;align-items:center;justify-content:center;min-height:var(--hero-link-target);padding:var(--hero-link-padding);border:1px solid var(--hero-link-stroke);border-radius:var(--radius-pill);background:var(--hero-link-surface);color:inherit;font-size:var(--hero-link-size);font-weight:var(--weight-semibold);text-decoration:none;transition:background var(--motion-feedback-duration),border-color var(--motion-feedback-duration)}
.zoom-journey .hero-link:hover{background:var(--hero-link-hover-surface);border-color:var(--hero-link-hover-stroke);text-decoration:none}
.zoom-journey.js-motion .scroll-cue{display:block;color:var(--hero-ink);font-size:var(--font-scroll-cue-size);--hero-cue-space:var(--hero-cue-bottom);bottom:var(--hero-cue-space)}
.zoom-journey .scene-caption #caption-title,.zoom-journey.js-motion .scene-caption #caption-title{font-size:var(--font-caption-title-size);line-height:var(--font-caption-title-leading);letter-spacing:var(--font-caption-title-tracking);text-wrap:balance}
.zoom-journey .scene-caption .caption-description,.zoom-journey.js-motion .scene-caption .caption-description{max-width:var(--hero-body-max-width);font-size:var(--font-hero-body-size);font-weight:var(--weight-body);line-height:var(--font-hero-body-leading);text-wrap:balance;margin:18px auto 0}
.zoom-journey:not(.js-motion) .hero-link{border-color:var(--line);background:var(--content-panel);color:var(--ink)}
.zoom-journey:not(.js-motion) .story-summary p+h2{margin-top:32px}

/* The uninterrupted sky hosts three distinct night chapters. */
.zoom-journey .night-chapter{width:min(1080px,calc(100% - 160px))}
.zoom-journey .ambient-chapter{gap:10%;justify-content:space-between}
.zoom-journey .ambient-chapter .night-copy{flex:1}
.zoom-journey .ambient-visual{width:38%;display:flex;justify-content:center;align-items:center;background:none;padding:0}
.zoom-journey .ambient-visual img{width:min(72%,240px);height:auto;opacity:.85}
.zoom-journey .compatibility-note{font-size:11px;line-height:1.5;color:var(--muted);max-width:410px;margin-top:15px}
.zoom-journey .download-section .download-copy>p.compatibility-note{font-size:12px;line-height:1.5;color:var(--muted);max-width:370px;margin-top:15px}
@media(max-width:900px){
 .zoom-journey .night-chapter{width:calc(100% - 96px)}
 .zoom-journey .compatibility-note{max-width:360px}
}
@media(max-width:649px){
 .zoom-journey .scene-sticky{--hero-copy-top:clamp(108px,16svh,144px);--hero-side-space:24px;--hero-laptop-gap:24px}
 .zoom-journey.js-motion .experience{height:700lvh}
 .zoom-journey .hero-description,.zoom-journey.js-motion .hero-description{max-width:360px;margin:20px auto 20px}
 .zoom-journey.js-motion .hero-description br{display:none}
 .zoom-journey.js-motion .scroll-cue{--hero-cue-space:var(--hero-cue-bottom-mobile);font-size:var(--font-scroll-cue-size-mobile)}
 .zoom-journey .scene-caption .caption-description,.zoom-journey.js-motion .scene-caption .caption-description{margin-top:16px}
 .zoom-journey.js-motion .night-chapter{width:calc(100% - 56px)}
 .zoom-journey.js-motion .ambient-chapter{flex-direction:column;justify-content:center;align-items:flex-start;gap:36px}
 .zoom-journey.js-motion .ambient-chapter .night-copy{flex:0;width:100%}
 .zoom-journey .ambient-chapter h2{font-size:var(--font-ambient-title-size-mobile)}
 .zoom-journey .ambient-chapter .body-copy{font-size:17px;line-height:1.5;margin-top:22px}
 .zoom-journey .ambient-visual{width:100%;justify-content:flex-end}
 .zoom-journey .ambient-visual img{width:112px}
 .zoom-journey .compatibility-note{font-size:11px;max-width:340px}
 .zoom-journey:not(.js-motion) .ambient-chapter{flex-direction:column;gap:30px;align-items:flex-start}
}
/* Low viewports keep navigation clearance and place the laptop beside its caption. */
@media(max-height:560px){
 .zoom-journey .scene-sticky{--hero-copy-top:94px;--hero-bottom-space:24px}
 .zoom-journey .hero-copy>.eyebrow,.zoom-journey.js-motion .hero-copy>.eyebrow{font-size:13px;margin-bottom:10px}
 .zoom-journey.js-motion .hero-copy h1{font-size:var(--font-hero-title-size-short)}
 .zoom-journey .hero-description,.zoom-journey.js-motion .hero-description{font-size:var(--font-hero-body-size-short);line-height:var(--font-hero-body-leading-short);margin:12px auto 14px}
 .zoom-journey .hero-link,.zoom-journey.js-motion .hero-link{min-height:var(--hero-link-target-short);padding:var(--hero-link-padding-short);font-size:var(--hero-link-size-short)}
 .zoom-journey .scene-caption #caption-title,.zoom-journey.js-motion .scene-caption #caption-title{font-size:var(--font-caption-title-size-short)}
 .zoom-journey .scene-caption .caption-description,.zoom-journey.js-motion .scene-caption .caption-description{font-size:var(--font-caption-body-size-short);margin-top:14px}
 .zoom-journey.js-motion .scroll-cue{--hero-cue-space:var(--hero-cue-bottom-short);font-size:var(--font-scroll-cue-size-mobile)}
}
@media(min-width:560px) and (max-height:560px) and (min-aspect-ratio:6/5){
 .zoom-journey.js-motion .scene-sticky{--hero-camera-layout:split}
 .zoom-journey.js-motion .scene-caption{left:var(--hero-side-space);right:auto;width:calc(42% - var(--hero-side-space));max-width:none;margin:0;text-align:left}
 .zoom-journey.js-motion .scene-caption .caption-description{margin-left:0;margin-right:0}
}
@media(max-height:380px){
 .zoom-journey .scene-sticky{--hero-copy-top:88px}
 .zoom-journey.js-motion .hero-copy h1{font-size:var(--font-hero-title-size-small)}
 .zoom-journey .hero-description,.zoom-journey.js-motion .hero-description{font-size:var(--font-hero-body-size-small);line-height:var(--font-hero-body-leading-small);margin:10px auto 12px}
 .zoom-journey.js-motion .scroll-cue{display:none}
}
@media(max-height:519px){
 .zoom-journey.js-motion .ambient-chapter{gap:5%;flex-direction:row;align-items:center}
 .zoom-journey.js-motion .ambient-chapter .night-copy{flex:1}
 .zoom-journey.js-motion .ambient-chapter h2{font-size:var(--font-night-title-size-short)}
 .zoom-journey.js-motion .ambient-chapter .body-copy{font-size:var(--font-caption-body-size-short);margin-top:14px}
 .zoom-journey.js-motion .ambient-visual{width:26%;padding:0}
 .zoom-journey.js-motion .ambient-visual img{width:96px}
}

/* A quiet, continuous invitation that stays separate from the entrance animation. */
.zoom-journey.js-motion .scroll-cue::after{content:"";position:absolute;left:calc(50% - 3px);top:calc(100% + var(--hero-cue-space)/2 - 3px);width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);animation:scroll-cue-drift var(--motion-scroll-cue-duration) var(--motion-scroll-cue-ease) infinite}
.zoom-journey.js-motion .scroll-cue>span{animation:scroll-cue-light var(--motion-scroll-cue-duration) var(--motion-scroll-cue-ease) infinite}
@keyframes scroll-cue-drift{0%,100%{translate:0 -2px;opacity:.35}50%{translate:0 2px;opacity:.9}}
@keyframes scroll-cue-light{0%,100%{text-shadow:0 0 0 transparent}50%{text-shadow:0 0 10px rgba(255,255,255,.4)}}
@media(prefers-reduced-motion:reduce){.zoom-journey .scroll-cue::after,.zoom-journey .scroll-cue>span{animation:none}}

.zoom-journey .experience:focus{outline:none}

/* One visibility value keeps the Dock and glass widgets synchronized without an opacity backdrop root. */
.zoom-journey .desktop-ui{position:absolute;inset:0;pointer-events:none;--desktop-ui-opacity:0}
.zoom-journey .desktop-ui[hidden]{display:none}
.zoom-journey .desktop-ui .desktop-widgets{opacity:1}
.zoom-journey .desktop-ui .glass-widget{opacity:var(--desktop-ui-opacity)}
.zoom-journey .desktop-ui .desktop-dock{opacity:calc(var(--desktop-ui-opacity) * var(--hero-dock-opacity))}
.zoom-journey .desktop-dock{position:absolute;left:var(--hero-dock-left);bottom:var(--hero-dock-bottom);display:block;width:var(--hero-dock-width);height:auto;pointer-events:none}
.zoom-journey .glass-widget{backdrop-filter:blur(var(--hero-widget-blur)) saturate(var(--hero-widget-saturation));-webkit-backdrop-filter:blur(var(--hero-widget-blur)) saturate(var(--hero-widget-saturation))}
.zoom-journey:not(.js-motion) .desktop-ui{--desktop-ui-opacity:1}

/* The original Apple photograph stays unchanged; the external silhouette mask excludes only its canvas. */
.zoom-journey .device{aspect-ratio:2560/1440}
.zoom-journey .device-frame{mask:url("assets/macbook-space-black-mask.svg") center/100% 100% no-repeat;-webkit-mask:url("assets/macbook-space-black-mask.svg") center/100% 100% no-repeat}
.zoom-journey .device-display{left:20.625%;top:13.333333%;width:58.75%;height:68.333333%;border-radius:1.8% 1.8% 0 0 / 2.75% 2.75% 0 0}

/* Portrait composition keeps the product, caption and a moving time cue together. */
.zoom-journey.js-motion .phase-rail{display:grid;grid-template-columns:auto 1fr auto;gap:var(--hero-phase-row-gap) var(--hero-phase-column-gap);width:min(320px,calc(100% - 80px));font-size:12px;align-items:center}
.zoom-journey .phase-time{display:none}
.zoom-journey .phase-edge{display:inline-flex;align-items:center;gap:var(--hero-phase-icon-gap);white-space:nowrap}
.zoom-journey .phase-icon{width:var(--hero-phase-icon-size);height:var(--hero-phase-icon-size);flex:none}
@media(max-width:900px) and (min-height:561px){
 .zoom-journey .scene-sticky{--hero-mobile-footer-space:var(--hero-phase-footer-space-tablet)}
 .zoom-journey.js-motion .phase-rail{display:grid;grid-template-columns:auto 1fr auto;gap:var(--hero-phase-row-gap) var(--hero-phase-column-gap);width:min(320px,calc(100% - 80px));bottom:var(--hero-phase-bottom-tablet);font-size:12px}
 .zoom-journey .phase-time{display:none}
}
@media(max-width:649px) and (min-height:561px){
 .zoom-journey .scene-sticky{--hero-mobile-footer-space:var(--hero-phase-footer-space)}
 .zoom-journey.js-motion .phase-rail{width:min(280px,calc(100% - 80px));bottom:var(--hero-phase-bottom)}
 .zoom-journey .phase-time{display:block;grid-column:1/-1;text-align:center;font-size:var(--hero-phase-time-size);font-weight:var(--weight-body);font-variant-numeric:tabular-nums;color:var(--ink);letter-spacing:-.035em}
}
.zoom-journey .desktop-dock{filter:brightness(var(--hero-dock-brightness))}
