/* Notch Chan, by Dev. Ink on pearl. Apple's device frames, the app's own pixels, a camera that moves. */
:root{--ink:#0b0b0f;--quiet:rgb(11 11 15/.52);--pearl:#f4f1ec;
 --spring:cubic-bezier(.32,1.28,.42,1);--settle:cubic-bezier(.22,1,.36,1);color-scheme:light}
*{box-sizing:border-box;margin:0}
html{background:var(--pearl)}
body{color:var(--ink);font:17px/1.45 -apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;-webkit-font-smoothing:antialiased;overflow-x:clip;
 background:radial-gradient(130% 60% at 50% 0%,#fff 0%,var(--pearl) 45%,#ece6dd 100%)}
img,video{display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;background:none;border:0;padding:0;cursor:pointer}
.h1{font:700 clamp(52px,8.4vw,124px)/.94 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.055em}
.h2{font:700 clamp(44px,6.6vw,96px)/.98 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.05em;text-align:center}
.sub{color:var(--quiet);font-size:clamp(17px,1.5vw,21px);text-align:center;max-width:30ch;margin:18px auto 0;text-wrap:balance}

/* Arriving as they come into view */
.js .up{opacity:0;transform:translateY(34px);filter:blur(10px);transition:opacity 1s var(--settle),transform 1.2s var(--settle),filter 1s var(--settle)}
.js .up.in{opacity:1;transform:none;filter:none}
.up+.up{transition-delay:.15s}.up+.up+.up{transition-delay:.3s}.up+.up+.up+.up{transition-delay:.45s}

/* ---------- Device frames (Apple's, unaltered): content sits under the frame's screen opening ---------- */
.dev{position:relative}
.dev .frame{position:relative;z-index:2;width:100%;height:auto;pointer-events:none;user-select:none}
.dev .scr{position:absolute;overflow:hidden;background:#000;container-type:inline-size}
.dev.mac .scr{left:10.829%;top:11.339%;width:78.342%;height:77.323%}
/* Recordings already contain the notch (the app draws it), so the screen sits above the frame: it covers only the frame's own drawn notch, nothing else of it. */
.dev.mac .scr.has-video{z-index:3;border-radius:.75% .75% 0 0/1.15% 1.15% 0 0}
.dev.phone .scr{left:5.333%;top:2.5%;width:89.333%;height:95%;border-radius:13.5%/6.2%}
.dev video,.dev .wall{width:100%;height:100%;object-fit:cover}

/* ---------- 1–2 ---------- */
.hero{position:relative}
.pin{position:relative;height:100vh;height:100svh;min-height:680px;overflow:hidden}
.top{position:absolute;left:0;right:0;top:clamp(78px,12.5vh,136px);text-align:center;z-index:3;will-change:transform,opacity}
.by{display:inline-flex;align-items:center;gap:7px;font-weight:650;letter-spacing:-.01em;margin-bottom:20px;padding:6px 14px 6px 6px;border-radius:99px;
 background:rgb(255 255 255/.75);box-shadow:inset 0 0 0 1px rgb(11 11 15/.06),0 8px 20px -12px rgb(40 30 20/.3);
 opacity:0;transform:translateY(10px) scale(.6);filter:blur(6px);transition:opacity .5s ease .35s,transform .9s cubic-bezier(.34,1.56,.64,1) .35s,filter .5s ease .35s}
.by img{width:24px;height:24px;border-radius:6px}
.by span{color:var(--quiet);font-weight:520}
.ready .by{opacity:1;transform:none;filter:none}
.h1 span{display:inline-block;opacity:0;transform:translateY(.45em) scale(.92);filter:blur(14px);
 transition:opacity .8s ease .45s,transform 1.1s cubic-bezier(.34,1.45,.64,1) .45s,filter .8s ease .45s}
.h1 span+span{transition-delay:.56s}
.ready .h1 span{opacity:1;transform:none;filter:none}
.rig{position:absolute;left:50%;top:37vh;width:min(1180px,94vw,(100vh - 37vh - 24px) * 1.52);translate:-50% 0;transform-origin:var(--ox,50%) var(--oy,0);will-change:transform}
.rig .mac{opacity:0;transform:translateY(60px) scale(.96);transition:opacity .18s ease .25s,transform .9s cubic-bezier(.16,1,.3,1) .25s;
}
.rig .mac .frame{filter:drop-shadow(0 50px 60px rgb(40 30 20/.28))}
.ready .rig .mac{opacity:1;transform:none}

/* ---- The lid, opening. In the frame's own coordinates (3860 x 2540 px): lid 362..3497 x 233..2374, base 27..3832 x 2374..2509. ---- */
.lid3d{position:absolute;inset:0;z-index:3;transform-origin:50% 93.465%;transform:scaleY(0)}
/* Seen from the front and a little above, a lid opening is a plane growing up from the hinge: no tilt, no wedge.
   First the closed lid's top (a thin slab) thins away as it lifts, then the screen side rises, passes upright by a hair and settles. */
.ready .lid3d{animation:lid 1s .6s both}
@keyframes lid{0%,16%{transform:scaleY(0);animation-timing-function:cubic-bezier(.3,.05,.2,1)}84%{transform:scaleY(1.012);animation-timing-function:ease-in-out}100%{transform:scaleY(1)}}
.lid-back{position:absolute;z-index:3;left:1.5%;top:91.1%;width:97%;height:2.365%;transform-origin:50% 100%;border-radius:2.2% 2.2% 0 0/60% 60% 0 0;
 background:linear-gradient(#1d1d20,#2c2b2f 55%,#4a494d);box-shadow:inset 0 -1px 0 rgb(255 255 255/.14)}
.ready .lid-back{animation:shut 1s .6s both}
@keyframes shut{0%{transform:none;animation-timing-function:cubic-bezier(.4,0,.6,1)}26%{transform:scale(.84,0)}100%{transform:scale(.84,0)}}
/* light on the glass while it's still leaning back; gone once it faces you */
.lid3d::after{content:"";position:absolute;z-index:4;left:9.378%;top:9.173%;width:81.218%;height:84.291%;border-radius:4.15% 4.15% 0 0/6.07% 6.07% 0 0;pointer-events:none;
 background:linear-gradient(172deg,rgb(255 255 255/.2),rgb(255 255 255/.05) 40%,transparent 60%);opacity:0}
.ready .lid3d::after{animation:sheen 1s .6s both}
@keyframes sheen{0%,20%{opacity:1}100%{opacity:0}}
/* its shadow on the table grows as it opens; the screen's light spills out when it wakes */
.floor{position:absolute;left:4%;right:4%;bottom:-2.5%;height:9%;border-radius:50%;background:radial-gradient(closest-side,rgb(30 22 14/.42),transparent);filter:blur(10px);
 transform:scaleX(.82) scaleY(.6);opacity:.6;transition:transform 1s cubic-bezier(.3,.1,.2,1) .6s,opacity 1s ease .6s}
.ready .floor{transform:none;opacity:1}
.spill{position:absolute;left:-8%;right:-8%;top:-14%;bottom:4%;border-radius:20%;background:radial-gradient(closest-side,rgb(255 120 90/.45),rgb(255 180 120/.18) 55%,transparent);
 filter:blur(50px);opacity:0;transform:scale(.8);transition:opacity 1.4s ease 1.2s,transform 1.8s ease 1.2s;z-index:0}
.ready .spill{opacity:.85;transform:scale(1.06)}
.lid-face{position:absolute;left:9.378%;top:9.173%;width:81.218%;height:84.291%;border-radius:4.15% 4.15% 0 0/6.07% 6.07% 0 0;background:#050506}
/* The base, drawn to match Apple's (measured on the frame): the edge, the thumb groove, the corners and the two feet. */
.drawn-base{position:absolute;left:.7%;top:93.465%;width:98.575%;height:5.315%;border-radius:0 0 2.6% 2.6%/0 0 78% 78%;
 background:linear-gradient(#5c5b60 0,#444347 5%,#3c3b3f 40%,#2f2e32 72%,#202022 90%,#3d3d40 95%,#1f1f21 100%)}
.drawn-base::before{content:"";position:absolute;left:41.29%;top:0;width:17.45%;height:44%;border-radius:0 0 4.5% 4.5%/0 0 60% 60%;
 background:linear-gradient(#4e4e52,#69696d);box-shadow:inset 0 2px 3px rgb(0 0 0/.4)}
.drawn-base::after{content:"";position:absolute;left:0;top:100%;width:100%;height:13%;
 background:linear-gradient(90deg,transparent 5.47%,#1f1f21 5.47% 12.12%,transparent 12.12% 87.88%,#1f1f21 87.88% 94.53%,transparent 94.53%)}
/* The real frame comes in once the lid has landed; the drawing steps back under it. */
.rig .mac .frame{opacity:0;transition:opacity .2s ease 1.6s}
.ready .rig .mac .frame{opacity:1}
.lid-face,.drawn-base{transition:opacity .2s ease 1.8s}
.ready .lid-face,.ready .drawn-base{opacity:0}
/* The screen wakes as the lid rises. */
.wall{filter:brightness(0);transition:filter .7s ease 1s}
.ready .wall{filter:none}

/* With the real recording playing, the drawn notch is only the camera's target, and goes black for the dive. */
.has-video .music,.has-video .open-wrap img{display:none}
.has-video .open-wrap{clip-path:none!important;background:transparent;transition:background .5s ease}
.has-video .cleared .open-wrap{background:#000}

/* The notch, in screen points: 1pt = 100cqw / 1512; the pictures are 2x, so natural/2 points wide. */
.notch{position:absolute;left:50%;top:0;translate:-50% 0;z-index:1}
.n{position:absolute;left:50%;top:0;translate:-50% 0;width:calc(var(--nw) * 100cqw / 1512);height:auto;max-width:none}
.music{opacity:0;transform:scaleX(.7);transition:opacity .25s ease,transform .6s var(--spring)}
.wings .music{opacity:1;transform:none}
.open-wrap{aspect-ratio:1048/392;clip-path:inset(0 31% 91% 31% round 0 0 8% 8%);transition:clip-path .7s cubic-bezier(.3,1.18,.4,1)}
.open-wrap img{position:absolute;inset:0;width:100%;height:100%;transition:opacity .6s ease}
.opened .open-wrap{clip-path:inset(0 0 0 0 round 0 0 4% 4%)}
.opened .music{opacity:0}
.cleared .open-wrap img{opacity:0}
.cleared .open-wrap{background:#000;border-radius:0 0 5% 5%/0 0 13% 13%}
.hit{position:absolute;left:50%;top:0;translate:-50% 0;width:36%;height:22%;z-index:3}


/* ---------- 3. Live: the real activities on a drum, one at a time ---------- */
.live{position:relative;padding:clamp(200px,24vw,340px) 20px 0;overflow:hidden}
.carousel{position:relative;height:clamp(360px,40vw,500px);margin-top:clamp(10px,3vw,40px);perspective:1200px;cursor:grab;touch-action:pan-x;user-select:none;
 -webkit-mask:linear-gradient(transparent,#000 24%,#000 76%,transparent);mask:linear-gradient(transparent,#000 24%,#000 76%,transparent)}
.carousel:active{cursor:grabbing}
/* the light the front one gives off, in its own colour */
.glow{--tint:#fff;position:absolute;left:50%;top:50%;width:min(760px,90%);height:46%;translate:-50% -50%;border-radius:50%;pointer-events:none;
 background:radial-gradient(closest-side,color-mix(in srgb,var(--tint) 30%,transparent),transparent);filter:blur(30px);opacity:.75;transition:background .7s ease}
.ring{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d;will-change:transform}
.ring .hud{position:absolute;left:0;top:0;transform-style:preserve-3d;backface-visibility:hidden;will-change:transform,opacity}
.ring .hud img{height:clamp(42px,5vw,62px);width:auto;max-width:none;translate:-50% -50%;-webkit-user-drag:none;
 filter:drop-shadow(0 16px 22px rgb(20 16 10/.32));-webkit-box-reflect:below 6px linear-gradient(transparent 55%,rgb(0 0 0/.18))}
.ring .hud.front img{filter:drop-shadow(0 22px 34px rgb(20 16 10/.42))}
.now{display:grid;gap:10px;justify-items:center;text-align:center;min-height:4.4em;margin-top:-10px}
.now b{font:700 clamp(30px,3.6vw,48px)/1 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.045em;animation:nowIn .55s var(--settle)}
.now span{color:var(--quiet);font-size:clamp(16px,1.4vw,19px);animation:nowIn .55s var(--settle) .06s both}
@keyframes nowIn{from{opacity:0;transform:translateY(12px);filter:blur(8px)}}
.names{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 4px;max-width:760px;margin:26px auto 0}
.names button{padding:7px 12px;border-radius:99px;font-size:14px;font-weight:600;color:var(--quiet);transition:color .3s,background .3s}
.names button:hover{color:var(--ink)}
.names button[aria-current=true]{color:var(--pearl);background:var(--ink)}

/* ---------- 4. Fling: the Mac rises, the iPhone slides in, the captions run with the footage ---------- */
.fling{padding:clamp(200px,24vw,340px) 20px 0;overflow:hidden}
.kicker{text-align:center;font:700 13px/1 -apple-system,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--quiet);margin-bottom:16px}
.pair{position:relative;width:min(1100px,100%);margin:clamp(40px,6vw,80px) auto 0;padding-left:8%}
.pair .mac{width:100%;opacity:0;transform:translateY(70px) scale(.96);transition:opacity .9s ease,transform 1.4s cubic-bezier(.16,1,.3,1)}
.pair .mac .frame{filter:drop-shadow(0 40px 50px rgb(40 30 20/.25))}
.pair .phone{position:absolute;left:0;bottom:-4%;width:21%;z-index:3;opacity:0;transform:translate(-22%,var(--py,0px)) scale(.96);
 transition:opacity .8s ease .35s,transform 1.5s cubic-bezier(.16,1,.3,1) .35s}
.pair .phone .frame{filter:drop-shadow(0 30px 40px rgb(20 16 10/.32))}
.pair.in .mac{opacity:1;transform:none}
.pair.in .phone{opacity:1;transform:translate(0,var(--py,0px))}
/* A soft light from the phone to the Mac as the photo is flicked */
.beam{position:absolute;z-index:4;left:9%;top:30%;width:42%;height:34%;pointer-events:none;opacity:0;transform:translateX(-8%) scaleX(.6);transform-origin:0 50%;
 background:radial-gradient(60% 50% at 30% 50%,rgb(255 248 235/.85),rgb(255 236 210/.35) 45%,transparent 72%);filter:blur(18px);mix-blend-mode:screen;
 transition:opacity .5s ease,transform .9s cubic-bezier(.2,.8,.2,1)}
.beam.on{opacity:1;transform:none}
.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2.4vw,32px);width:min(860px,100%);margin:clamp(70px,8vw,110px) auto 0}
.steps li{display:grid;gap:12px;color:var(--quiet);transition:color .4s ease}
.steps li i{height:3px;border-radius:9px;background:rgb(11 11 15/.1);overflow:hidden;position:relative}
.steps li i::after{content:"";position:absolute;inset:0;background:var(--ink);transform:scaleX(var(--p,0));transform-origin:0 50%}
.steps b{font:650 clamp(15px,1.4vw,18px)/1.25 -apple-system,sans-serif;letter-spacing:-.015em}
.steps li.on{color:var(--ink)}

/* ---------- 5. Everything else: two rows of names drifting opposite ways ---------- */
.rest{padding:clamp(200px,24vw,340px) 0 0;overflow:hidden}
.marquee{display:grid;gap:14px;margin-top:clamp(40px,5vw,64px);
 -webkit-mask:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.row{overflow:hidden}
.track{display:flex;gap:14px;width:max-content;animation:drift 46s linear infinite}
.rev .track{animation-direction:reverse;animation-duration:54s}
.marquee:hover .track{animation-play-state:paused}
@keyframes drift{to{transform:translateX(-50%)}}
.track span{display:inline-flex;align-items:center;gap:12px;height:clamp(52px,5.4vw,68px);padding:0 clamp(20px,2.2vw,30px);border-radius:99px;white-space:nowrap;
 font:650 clamp(19px,2vw,26px)/1 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.03em;
 background:rgb(255 255 255/.7);box-shadow:inset 0 0 0 1px rgb(11 11 15/.06),0 10px 24px -16px rgb(40 30 20/.35);transition:transform .4s var(--spring),background .3s}
.track span:hover{transform:translateY(-3px);background:#fff}
.track i{width:10px;height:10px;border-radius:50%;background:var(--c);box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 22%,transparent)}
.track span:nth-child(odd) i{border-radius:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* ---------- 6. Get: the top of a screen; its notch opens into the download ---------- */
.get{position:relative;padding:0 20px clamp(100px,12vw,160px);margin-top:clamp(200px,24vw,340px);display:grid;justify-items:center;overflow:hidden}
.edge{position:absolute;left:0;right:0;top:0;height:14px;background:#050506}
.get-light{position:absolute;left:50%;top:0;width:min(1200px,130%);height:780px;translate:-50% -8%;pointer-events:none;opacity:0;transform:scale(.6);
 background:radial-gradient(closest-side,rgb(232 67 60/.32),rgb(255 150 110/.12) 55%,transparent);filter:blur(30px);transition:opacity 1.2s ease .3s,transform 1.6s cubic-bezier(.16,1,.3,1) .3s}
.get.open .get-light{opacity:1;transform:none}
/* the notch: closed it's the app's own picture (cover + bars); open it's the card */
.gnotch{--cw:360px;--ch:45px;position:relative;z-index:1;margin-top:13px;width:var(--cw);height:var(--ch);background:#050506;color:#fff;
 border-radius:0 0 18px 18px;transition:width .9s cubic-bezier(.32,1.2,.42,1),height .9s cubic-bezier(.32,1.2,.42,1),border-radius .7s ease;
 box-shadow:0 40px 80px -40px rgb(20 14 8/.55)}
.gnotch::before,.gnotch::after{content:"";position:absolute;top:0;width:16px;height:16px}
.gnotch::before{right:100%;background:radial-gradient(circle at 0 100%,transparent 15.5px,#050506 16px)}
.gnotch::after{left:100%;background:radial-gradient(circle at 100% 100%,transparent 15.5px,#050506 16px)}
.gnotch .closed{position:absolute;left:50%;top:0;translate:-50% 0;width:var(--cw);height:auto;transition:opacity .3s ease}
.gnotch .clip{position:absolute;inset:0;overflow:hidden;border-radius:inherit}
.gnotch .inner{position:absolute;left:50%;top:0;width:min(820px,94vw);translate:-50% 0;display:grid;justify-items:center;text-align:center;padding:40px 28px 44px;opacity:0}
.get.open .gnotch{width:min(820px,94vw);height:var(--open-h,520px);border-radius:0 0 48px 48px}
.get.open .gnotch .closed{opacity:0}
.get.open .gnotch .inner{opacity:1;transition:opacity .4s ease .3s}
.inner>*{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .8s cubic-bezier(.34,1.45,.64,1)}
.get.open .inner>*{opacity:1;transform:none}
.get.open .inner>:nth-child(1){transition-delay:.4s}.get.open .inner>:nth-child(2){transition-delay:.48s}.get.open .inner>:nth-child(3){transition-delay:.56s}
.get.open .inner>:nth-child(4){transition-delay:.64s}.get.open .inner>:nth-child(5){transition-delay:.72s}
.inner .icon{width:96px;height:96px;margin-bottom:22px;filter:drop-shadow(0 18px 28px rgb(0 0 0/.6))}
.inner .h2{color:#fff;font-size:clamp(40px,5.4vw,76px)}
.offer{margin-top:16px;color:rgb(255 255 255/.62);font-size:clamp(16px,1.5vw,19px)}
.offer b{color:#fff;font-weight:650}
.first{margin-top:18px;max-width:30em;color:rgb(255 255 255/.4);font-size:13px;line-height:1.45}
.price{margin-top:14px;font:700 28px/1 -apple-system,sans-serif;letter-spacing:-.03em}
.acts{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px 26px;margin-top:32px}
.btn{height:58px;padding:0 30px;border-radius:99px;background:var(--ink);color:#fff;font-weight:640;display:inline-flex;align-items:center;gap:10px;
 box-shadow:0 18px 36px -14px rgb(11 11 15/.55),inset 0 1px 0 rgb(255 255 255/.2);transition:transform .4s var(--spring),box-shadow .4s}
.btn svg{width:16px;height:20px;fill:currentColor;margin-top:-2px}
.btn.light{background:#fff;color:#050506;box-shadow:0 0 0 6px rgb(255 255 255/.06),0 18px 50px -10px rgb(232 67 60/.55)}
.btn.light:hover{box-shadow:0 0 0 8px rgb(255 255 255/.09),0 22px 60px -10px rgb(232 67 60/.7)}
.btn:hover{transform:translateY(-2px) scale(1.03)}.btn:active{transform:scale(.97)}
.soft{color:rgb(255 255 255/.72);font-weight:560;display:inline-flex;align-items:center;gap:8px}
.soft span{font-size:12px;font-weight:650;padding:3px 8px;border-radius:99px;background:rgb(255 255 255/.12)}
.soft:hover{color:#fff}
/* three reasons, on pearl */
.why{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,22px);width:min(980px,100%);margin-top:clamp(56px,7vw,90px)}
.why li{display:grid;gap:8px;align-content:start;padding:26px 24px;border-radius:24px;background:rgb(255 255 255/.7);
 box-shadow:inset 0 0 0 1px rgb(11 11 15/.06),0 14px 30px -22px rgb(40 30 20/.4)}
.why i{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--ink);color:#fff;margin-bottom:8px}
.why svg{width:20px;height:20px;fill:currentColor}
.why b{font:700 19px/1.2 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.02em}
.why span{color:var(--quiet);font-size:15px;line-height:1.4}
.needs{margin-top:34px;color:var(--quiet);font-size:15px;text-align:center}
@media (max-width:700px){.why{grid-template-columns:1fr}.gnotch{--cw:300px;--ch:37px}}
@media (prefers-reduced-motion:reduce){.gnotch,.gnotch *,.get-light{transition:none!important}}
.foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:28px clamp(20px,4vw,48px);border-top:1px solid rgb(11 11 15/.08);color:var(--quiet);font-size:14px}
.foot nav{display:flex;gap:22px}.foot a:hover{color:var(--ink)}

@media (max-width:520px){
 .rig{width:170vw;top:38vh}
}
@media (max-width:700px){
 .carousel{height:300px}
 .ring .hud img{height:auto;max-height:34px;max-width:86vw}
 .h1 span{display:block}
 .pair{padding-left:0}.pair .phone{width:30%;left:-2%;bottom:-10%}
 .steps{grid-template-columns:1fr;gap:16px}
}
@media (prefers-reduced-motion:reduce){
 .h1 span,.rig .mac,.wall,.music,.open-wrap,.js .up,.by,.lid3d,.lid3d::after,.lid-back,.floor,.spill,.rig .mac .frame,.lid-face,.drawn-base,.pair .mac,.pair .phone,.beam{transition:none!important}
 .pair .mac,.pair .phone{opacity:1;transform:none}
 .ready .lid3d,.ready .lid-back,.ready .lid3d::after{animation:none}.ready .lid3d{transform:none}.lid-back{display:none}
 .marquee .track{animation:none!important}
 .js .up{opacity:1;transform:none;filter:none}
}

/* ---- After the opening: the lid is the scroll's. Closing toward the keyboard, its height from the front is cos(angle). ---- */
.done .lid3d{transform:scaleY(cos(calc(var(--lid,0) * 1deg)))}
.done .lid3d::after{opacity:calc(var(--lid,0) / 62 * .8)}
.done .lid-back{display:none}
.done .wall{filter:brightness(calc(1 - var(--lid,0) / 62 * .75))}
.done .spill{opacity:calc(.85 - var(--lid,0) / 62 * .85)}
.done .floor{transform:scaleX(calc(1 - var(--lid,0) / 62 * .12))}
.done .lid3d{will-change:transform}
/* After the opening, nothing in the hero waits: the opening's delays must not apply to scroll changes. */
.rig .mac.done .frame,.rig .mac.done .lid-face,.rig .mac.done .lid-back,.rig .mac.done .drawn-base,
.rig .mac.done .floor,.rig .mac.done .spill,.rig .mac.done .wall,.rig .mac.done .lid3d,.rig .mac.done .lid3d::after{transition:none!important;animation:none!important}
.ready .rig .mac.done.tilt .frame{opacity:0}
.ready .rig .mac.done.tilt .lid-face,.ready .rig .mac.done.tilt .drawn-base{opacity:1}
.ready .rig .mac.done:not(.tilt) .frame{opacity:1}
.ready .rig .mac.done:not(.tilt) .lid-face,.ready .rig .mac.done:not(.tilt) .drawn-base{opacity:0}

/* ---------- The opening: light blooms, the notch drops and opens, then the words, then the Mac ---------- */
.pin::before{content:"";position:absolute;left:50%;top:-30%;width:140%;height:110%;translate:-50% 0;pointer-events:none;
 background:radial-gradient(closest-side,rgb(255 255 255/.95),rgb(255 255 255/0));opacity:0;transform:scale(.55);
 transition:opacity 1.4s ease,transform 2.2s cubic-bezier(.16,1,.3,1)}
.ready .pin::before{opacity:1;transform:none}

.topbar{position:fixed;left:50%;top:0;z-index:50;translate:-50% 0;display:flex;align-items:center;gap:26px;height:40px;padding:0 8px 0 14px;
 background:#000;color:#fff;border-radius:0 0 18px 18px;font:620 14px/1 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.01em;
 box-shadow:0 12px 30px -14px rgb(0 0 0/.5);
 clip-path:inset(0 calc(50% - 55px) 100% calc(50% - 55px) round 0 0 14px 14px);
 transition:clip-path .7s cubic-bezier(.32,1.25,.42,1),transform .45s cubic-bezier(.22,1,.36,1),box-shadow .3s ease}
.topbar::before,.topbar::after{content:"";position:absolute;top:0;width:12px;height:12px}
.ready .topbar{animation:barIn 1.1s cubic-bezier(.32,1.2,.42,1) .1s both}
@keyframes barIn{0%{clip-path:inset(0 calc(50% - 55px) 100% calc(50% - 55px) round 0 0 14px 14px)}
 35%{clip-path:inset(0 calc(50% - 55px) 0 calc(50% - 55px) round 0 0 14px 14px)}
 100%{clip-path:inset(0 0 0 0 round 0 0 18px 18px)}}
.topbar>*:not(.cam){opacity:0;transition:opacity .35s ease}
.ready .topbar>*:not(.cam){opacity:1;transition-delay:.75s}
.topbar .cam{position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#2c3a55,#050608 70%);opacity:0;transition:opacity .3s}
.mark{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.mark img{width:22px;height:22px;border-radius:6px}
.links{display:flex;align-items:center;gap:20px;color:rgb(255 255 255/.7)}
.links a:hover{color:#fff}
.links a:last-child{height:28px;padding:0 14px;border-radius:99px;background:#fff;color:#000;display:grid;place-items:center;font-weight:650}
.topbar.opened{animation:none;clip-path:inset(0 0 0 0 round 0 0 18px 18px)}
/* reading down: it slides fully up out of view; scrolling up brings it back, open */
.topbar.folded,.topbar.opened.folded{animation:none;transform:translateY(-130%);box-shadow:none;pointer-events:none}
@media (max-width:520px){.links a:not(:last-child){display:none}}
@media (prefers-reduced-motion:reduce){
 .ready .topbar{animation:none;clip-path:none}.topbar>*:not(.cam){opacity:1}
 .pin::before{transition:none;opacity:1;transform:none}
}

/* No rubber-band bounce at the top of the page: it pulled the page (and the bar's edge) down and showed a gap above the notch. */
html,body{overscroll-behavior-y:none}
.topbar .mark,.topbar .links a{white-space:nowrap}
