/* Devmade — Notch Chan. Ink on pearl. Motion: scroll-driven, smoothed, transform + opacity only. */
:root{--ink:#0d0d12;--quiet:rgb(13 13 18/.56);--faint:rgb(13 13 18/.08);--ground:#f3f5f9;
 --spring:cubic-bezier(.2,.9,.25,1.12);--settle:cubic-bezier(.22,1,.36,1);--shade:0 2px 6px rgb(20 26 44/.10),0 40px 90px -28px rgb(20 26 44/.40);
 font:17px/1.45 -apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--ground);
 -webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
*{box-sizing:border-box;margin:0}
html{overflow-x:clip}
body{min-height:100vh;overflow-x:clip}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
svg{fill:currentColor}
:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:12px}
h1,h2{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",Inter,"Helvetica Neue",Arial,sans-serif;font-weight:700;letter-spacing:-.045em;line-height:.98;text-wrap:balance}
h1{font-size:clamp(52px,8.6vw,128px);text-align:center}
h2{font-size:clamp(42px,6.4vw,92px)}
section{position:relative}
.sub{color:var(--quiet);font-size:clamp(17px,1.5vw,20px);max-width:34ch;margin-top:18px}
.pearl-bg{position:fixed;inset:-40px 0;z-index:-1;pointer-events:none;will-change:transform;
 background:radial-gradient(110% 60% at 50% 0%,rgb(255 255 255/.95),rgb(184 212 255/.22) 40%,transparent 72%),
 radial-gradient(70% 45% at 90% 30%,rgb(184 212 255/.16),transparent 70%),var(--ground)}
.pin{position:sticky;top:0;height:100vh;overflow:hidden}

/* ---------- Words rising out of masks, and soft reveals ---------- */
.split .w{display:inline-block;overflow:hidden;vertical-align:top;padding:.06em .02em .12em;margin:-.06em -.02em -.12em}
.split .w>span{display:inline-block;transform:translateY(108%) rotate(5deg);transform-origin:0 100%;transition:transform 1.1s var(--settle);transition-delay:calc(var(--i,0) * 70ms)}
.split.in .w>span{transform:none}
.js [data-r]{opacity:0;transform:translateY(24px);filter:blur(10px);transition:opacity 1s var(--settle),transform 1s var(--settle),filter 1s var(--settle);transition-delay:calc(var(--i,0) * 90ms)}
.js [data-r].in{opacity:1;transform:none;filter:none}

/* ---------- The nav is a notch ---------- */
.notchnav{position:fixed;top:0;left:50%;z-index:20;height:44px;width:var(--nw,190px);transform:translateX(-50%);
 display:flex;align-items:center;gap:22px;padding:0 8px 0 22px;background:#000;color:#fff;border-radius:0 0 22px 22px;
 box-shadow:0 10px 30px -12px rgb(0 0 0/.45);transition:width .7s var(--spring),height .5s var(--spring),border-radius .5s var(--settle);overflow:hidden}
.notchnav .mark{font-weight:760;letter-spacing:-.035em;font-size:17px;white-space:nowrap}
.notchnav .links{display:flex;gap:20px;font-size:14px;font-weight:560;color:rgb(255 255 255/.7);flex:1;justify-content:center}
.notchnav .links a:hover{color:#fff}
.notchnav .get{height:32px;padding:0 16px;border-radius:99px;background:#fff;color:#000;font-size:14px;font-weight:650;display:grid;place-items:center;white-space:nowrap}
.notchnav .cam{position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#334058,#06070a 70%);opacity:0;transition:opacity .3s}
.notchnav>*:not(.cam){transition:opacity .35s var(--settle) .18s}
.notchnav.shut{height:34px;border-radius:0 0 16px 16px}
.notchnav.shut>*:not(.cam){opacity:0;pointer-events:none;transition-delay:0s;transition-duration:.12s}
.notchnav.shut .cam{opacity:1}

/* ---------- Buttons ---------- */
.ink{position:relative;display:inline-flex;align-items:center;justify-content:center;height:56px;padding:0 30px;border-radius:99px;background:#000;color:#fff;font-weight:620;letter-spacing:-.01em;
 box-shadow:0 16px 34px -12px rgb(10 14 26/.55),inset 0 1px 0 rgb(255 255 255/.25);transition:transform .5s var(--spring)}
.ink span{display:block;transition:transform .5s var(--spring)}
.ink:active{transform:scale(.96)}

/* ---------- (unused) slots (until the recordings arrive) ---------- */
.slot{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:8px;padding:8%;text-align:center;color:#fff;
 background:radial-gradient(90% 70% at 50% 0%,rgb(184 212 255/.18),transparent 70%),linear-gradient(#15171c,#0a0b0e)}
.slot::before{content:"";position:absolute;inset:14px;border:1.5px dashed rgb(255 255 255/.16);border-radius:18px;pointer-events:none}
.slot .tag{font-size:12px;font-weight:650;letter-spacing:.04em;padding:5px 11px;border-radius:99px;background:rgb(255 255 255/.1);color:rgb(255 255 255/.7)}
.slot b{font-size:clamp(22px,3vw,40px);letter-spacing:-.03em;font-weight:700}
.slot p{max-width:30ch;color:rgb(255 255 255/.6);font-size:15px}

/* ---------- Pop: things arrive with a spring as they come into view ---------- */
.js [data-pop]{opacity:0;transform:translateY(28px) scale(.96);filter:blur(8px);
 transition:opacity .7s var(--settle),transform 1s cubic-bezier(.2,1.25,.35,1),filter .7s var(--settle);transition-delay:calc(var(--i,0) * 80ms)}
.js [data-pop].in{opacity:1;transform:none;filter:none}

/* ---------- 1. Hero ---------- */
.hero{text-align:center;padding:clamp(110px,15vh,170px) 24px 0}
.eyebrow{display:inline-flex;align-items:center;gap:9px;font-weight:640;letter-spacing:-.01em;margin-bottom:22px;padding:6px 14px 6px 6px;border-radius:99px;background:rgb(255 255 255/.6);box-shadow:inset 0 0 0 1px var(--faint),0 6px 18px -10px rgb(20 26 44/.25)}
.eyebrow img{width:26px;height:26px;border-radius:7px}
.eyebrow span{color:var(--quiet);font-weight:520}
.lede{color:var(--quiet);font-size:clamp(17px,1.6vw,21px);margin:20px auto 0;max-width:32ch;text-wrap:balance}
.acts{margin:30px 0 clamp(48px,6vw,84px)}
.hero-mac{max-width:1040px;margin:0 auto;perspective:1800px}
.hero .macbook{width:100%;margin:0}
.js .hero .lid{transform:rotateX(-70deg);opacity:0;transition:transform 1.7s cubic-bezier(.2,1.05,.3,1) .35s,opacity .6s ease .35s}
.js .hero-mac.in .lid{transform:none;opacity:1}

/* The screen: the closed notch, then the real open player growing out of it. */
.shot{aspect-ratio:2992/1934;container-type:inline-size}
.shot img{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.shot .open{clip-path:inset(0 42.6% 97.1% 42.6% round 0 0 .6cqw .6cqw);
 transition:clip-path .55s cubic-bezier(.4,0,.2,1)}
.shot.on .open{clip-path:inset(0 34.1% 80.3% 34.1% round 0 0 1.7cqw 1.7cqw);transition:clip-path .8s cubic-bezier(.2,1.12,.3,1)}
.shot .pill{clip-path:inset(20.6% 43.6% 76.3% 43.6% round 2cqw);opacity:0;transform:translateY(-1.2cqw) scale(.86);transform-origin:50% 22%;
 transition:opacity .2s ease,transform .3s ease}
.shot.on .pill{opacity:1;transform:none;transition:opacity .4s ease .32s,transform .7s cubic-bezier(.2,1.3,.3,1) .3s}

/* ---------- 2. Lyrics ---------- */
.lyrics{display:grid;justify-items:center;gap:clamp(30px,4vw,52px);padding:clamp(120px,15vw,210px) 24px 0}
.close{width:min(900px,100%);aspect-ratio:1300/500;border-radius:clamp(22px,3vw,36px);overflow:hidden;box-shadow:var(--shade)}
.close img{width:100%;height:100%;object-fit:cover}
.sing{max-width:16ch;font:700 clamp(38px,5.6vw,80px)/1.02 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.045em;text-align:center;text-wrap:balance}
.sing .wd{opacity:.14;transition:opacity .35s ease}
.sing .wd.lit{opacity:1}

/* ---------- 3. And it also does ---------- */
.more{max-width:1100px;margin:0 auto;padding:clamp(120px,15vw,210px) 24px 0;text-align:center}
.more h2{color:var(--quiet);font-size:clamp(30px,3.6vw,48px)}
.cloud{list-style:none;padding:0;margin-top:clamp(26px,4vw,44px);display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(8px,1.2vw,14px) clamp(10px,1.6vw,18px)}
.cloud li{font:700 clamp(28px,4.6vw,64px)/1.1 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.045em;
 opacity:0;transform:translateY(40px) scale(.8) rotate(var(--r,0deg));filter:blur(10px);
 transition:opacity .6s ease,transform 1.1s cubic-bezier(.2,1.35,.35,1),filter .6s ease,color .3s;transition-delay:calc(var(--i) * 55ms)}
.cloud li:nth-child(3n){color:var(--quiet)}
.cloud.in li{opacity:1;transform:none;filter:none}
.cloud li:hover{color:var(--ink)}
.no-js .cloud li,html:not(.js) .cloud li{opacity:1;transform:none;filter:none}

/* ---------- 4. Fling ---------- */
.fling{max-width:1240px;margin:0 auto;padding:clamp(120px,15vw,210px) 24px 0;text-align:center}
.fling .sub{margin:18px auto clamp(48px,6vw,84px)}
.devices{position:relative;max-width:1120px;margin:0 auto;padding-bottom:3.5%;perspective:1800px;text-align:left}
.devices-glow{position:absolute;inset:4% 8% 0;border-radius:50%;background:radial-gradient(closest-side,rgb(184 212 255/.45),transparent 75%);filter:blur(60px);z-index:-1;pointer-events:none}
.devices video{display:block;width:100%;height:100%;object-fit:cover;background:#0b0b0e}
.macbook{container-type:inline-size;width:84%;margin-left:auto;margin-right:1%;transform-origin:50% 100%;will-change:transform}
.lid{margin:0 6.2%;padding:1.05cqw 1.05cqw 1.35cqw;border-radius:2.5cqw 2.5cqw .7cqw .7cqw;background:#08080a;transform-origin:50% 100%;
 box-shadow:0 0 0 .16cqw #b9bcc4,0 0 0 .26cqw #8c9098,inset 0 0 0 .08cqw rgb(255 255 255/.1),0 2px 6px rgb(20 26 44/.1),0 50px 110px -30px rgb(20 26 44/.42)}
.display{position:relative;aspect-ratio:1496/999;overflow:hidden;border-radius:1.45cqw 1.45cqw .25cqw .25cqw;background:#000}
.display .strip{position:absolute;inset:0 0 auto;height:3.2%;background:#000;z-index:1}
.notch{position:absolute;top:0;left:50%;width:12.4%;height:100%;transform:translateX(-50%);background:#000}
.notch i{position:absolute;left:50%;top:32%;width:.42cqw;height:.42cqw;margin-left:-.21cqw;border-radius:50%;background:radial-gradient(circle at 35% 35%,#2b3446,#07080b 70%)}
.display video{position:absolute;inset:3.2% 0 0;height:96.8%}
.display::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(115deg,rgb(255 255 255/.07),transparent 32%)}
.deck{position:relative;height:1.9cqw;border-radius:.2cqw .2cqw 2.2cqw 2.2cqw/.2cqw .2cqw 1.6cqw 1.6cqw;background:linear-gradient(#f4f5f7,#d3d6dc 30%,#a9adb5 78%,#7f838b);
 box-shadow:inset 0 .12cqw 0 rgb(255 255 255/.9),0 1px 2px rgb(20 26 44/.18),0 30px 50px -22px rgb(20 26 44/.45)}
.thumb{position:absolute;top:0;left:50%;width:13%;height:42%;transform:translateX(-50%);border-radius:0 0 1cqw 1cqw;background:linear-gradient(#a3a7af,#c6c9cf)}
.iphone{container-type:inline-size;position:absolute;left:1.5%;bottom:0;width:20.5%;z-index:2;will-change:transform}
.iphone .body{position:relative;padding:4.2cqw;border:1.5cqw solid transparent;border-radius:17.5cqw;
 background:linear-gradient(#050506,#050506) padding-box,linear-gradient(150deg,#eef0f3,#9a9ea6 28%,#e2e4e8 52%,#83878f 78%,#cdd0d5) border-box;
 box-shadow:0 2px 6px rgb(20 26 44/.14),0 44px 80px -26px rgb(20 26 44/.5)}
.glass{position:relative;aspect-ratio:540/1174;overflow:hidden;border-radius:13cqw;background:#000}
.glass::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgb(255 255 255/.08),transparent 36%)}
.key{position:absolute;width:1.4cqw;border-radius:1cqw;background:linear-gradient(90deg,#8a8e96,#d9dbe0)}
.k1{left:-2.7cqw;top:17%;height:6%}.k2{left:-2.7cqw;top:26%;height:10%}.k3{left:-2.7cqw;top:38%;height:10%}
.k4{right:-2.7cqw;top:28%;height:15%;background:linear-gradient(270deg,#8a8e96,#d9dbe0)}

/* ---------- Privacy and terms (same look) ---------- */
.bar{position:absolute;inset:0 0 auto;max-width:1240px;margin:auto;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;z-index:5}
.name{display:flex;align-items:center;gap:8px;font-weight:700;letter-spacing:-.03em}
.name picture,.name img{width:30px;height:30px}
.ink.small{height:38px;padding:0 20px;font-size:15px}
.paper{max-width:640px;padding-top:150px;min-height:80vh}.paper h1{text-align:left;font-size:clamp(38px,6vw,54px);margin-bottom:22px}.paper p,.paper li{color:var(--quiet);line-height:1.55}.paper p{margin-bottom:14px}
.paper .lede{font-size:clamp(20px,2.4vw,24px);line-height:1.35;letter-spacing:-.015em;color:var(--ink);font-weight:500;max-width:30ch}
.paper .date{font-size:14px;margin:0 0 clamp(36px,5vw,56px)}
.paper h2{text-align:left;font-size:20px;letter-spacing:-.02em;line-height:1.25;margin:40px 0 10px}
.paper ul{padding:0;list-style:none;display:grid;gap:12px}.paper li{padding-left:18px;position:relative}
.paper li::before{content:"";position:absolute;left:2px;top:.68em;width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.6}
.paper b{color:var(--ink);font-weight:600}
.paper a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
footer:not(.foot){max-width:1240px;margin:auto;padding:26px 24px 34px;display:flex;justify-content:space-between;font-size:14px;color:var(--quiet)}
footer:not(.foot) nav{display:flex;gap:24px}

.fling .devices{text-align:left}
.js .fling #fling-phone{opacity:0;transform:translate(-55%,14%) rotate(-12deg);transition:opacity .6s ease .2s,transform 1.3s cubic-bezier(.2,1.2,.3,1) .2s}
.js .fling #fling-mac{opacity:0;transform:translateY(60px) scale(.94);transition:opacity .6s ease,transform 1.2s cubic-bezier(.2,1.1,.3,1)}
.js .devices.in #fling-phone,.js .devices.in #fling-mac{opacity:1;transform:none}

/* ---------- 6. Get ---------- */
.get{text-align:center;display:grid;justify-items:center;padding:clamp(130px,16vw,220px) 24px clamp(90px,12vw,160px)}
.icon-wrap{position:relative;width:148px;height:148px}
.icon-wrap img{position:relative;width:148px;height:148px;filter:drop-shadow(0 26px 40px rgb(20 26 44/.3));animation:float 6s ease-in-out infinite}
.halo{position:absolute;inset:-30%;border-radius:50%;background:radial-gradient(closest-side,rgb(184 212 255/.6),transparent);animation:halo 4s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-10px) rotate(-2deg)}}
@keyframes halo{50%{transform:scale(1.15);opacity:.6}}
.get h2{margin-top:34px}
.trial{margin-top:16px;font-weight:650;color:var(--quiet)}
.get-acts{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:34px}
.badge{display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 22px 0 18px;border-radius:16px;box-shadow:inset 0 0 0 1.5px var(--ink);text-align:left;transition:transform .4s var(--spring)}
.badge:hover{transform:translateY(-2px)}
.badge svg{width:20px;height:24px}
.badge small{display:block;font-size:11px;color:var(--quiet);line-height:1.1}.badge b{display:block;font-size:18px;letter-spacing:-.02em;line-height:1.1}
.note{min-height:1.5em;margin-top:16px;color:var(--quiet);font-size:15px}
.needs{margin-top:20px;color:var(--quiet);font-size:14px}

/* ---------- Footer: the name rises, letter by letter ---------- */
.foot{overflow:hidden;padding:0 24px calc(26px + env(safe-area-inset-bottom))}
.giant{display:flex;justify-content:center;overflow:hidden;font:800 clamp(80px,22vw,330px)/.86 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.07em;margin-bottom:28px;padding-bottom:.04em}
.giant span{display:inline-block;background:linear-gradient(var(--ink),rgb(13 13 18/.05));-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.07em;margin-right:-.07em}
.js .giant span{transform:translateY(100%);transition:transform 1.2s var(--settle);transition-delay:calc(var(--i) * 60ms)}
.js .giant.in span{transform:none}
.foot-row{max-width:1240px;margin:auto;display:flex;justify-content:space-between;gap:16px;font-size:14px;color:var(--quiet);flex-wrap:wrap}
.foot-row span{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.foot-row nav{display:flex;gap:22px}.foot-row a:hover{color:var(--ink)}

/* ---------- Phones ---------- */
@media (max-width:800px){
 .notchnav{gap:12px;padding-left:18px}
 .notchnav .links{display:none}
 .notchnav .mark{flex:1}
 .fling .macbook{width:94%;margin-right:-2%}
 .fling .iphone{width:27%;left:0;bottom:-4%}
 .fling .devices{padding-bottom:6%}
 .close{aspect-ratio:1.9}
}
@media (prefers-color-scheme:dark){
 :root{--ink:#f3f4f8;--quiet:rgb(243 244 248/.6);--faint:rgb(255 255 255/.1);--ground:#0d0e11}
 .pearl-bg{background:radial-gradient(110% 60% at 50% 0%,rgb(120 150 220/.16),transparent 65%),var(--ground)}
 .eyebrow{background:rgb(255 255 255/.06)}
 .ink{background:#fff;color:#000}
 .notchnav{box-shadow:0 0 0 1px rgb(255 255 255/.1),0 10px 30px -12px rgb(0 0 0/.6)}
 .devices-glow{background:radial-gradient(closest-side,rgb(120 150 220/.22),transparent 75%)}
 .lid{box-shadow:0 0 0 .16cqw #5d6068,0 0 0 .26cqw #3a3c42,inset 0 0 0 .08cqw rgb(255 255 255/.1),0 50px 110px -30px rgb(0 0 0/.7)}
 .giant span{background:linear-gradient(var(--ink),rgb(243 244 248/.04));-webkit-background-clip:text;background-clip:text}
}
@media (prefers-reduced-motion:reduce){
 *,*::before,*::after{animation:none!important;transition:none!important}
 .split .w>span,.js [data-pop],.js .hero .lid,.js .giant span,.cloud li,.js .fling #fling-phone,.js .fling #fling-mac{transform:none!important;opacity:1!important;filter:none!important}
 .sing .wd{opacity:1}
}

/* Hero, up close: only the top of the lid; the screen fades into the page, so the notch is the subject. */
.hero-mac{max-width:1180px;-webkit-mask:linear-gradient(#000 62%,transparent 98%);mask:linear-gradient(#000 62%,transparent 98%)}
.hero .lid{margin:0;padding:1.1cqw 1.1cqw 0;border-radius:3cqw 3cqw 0 0}
.display.zoom{aspect-ratio:2.05;border-radius:1.9cqw 1.9cqw 0 0}
.display.zoom .shot{position:absolute;top:0;left:-35%;width:170%}
.hero .macbook{container-type:inline-size}
@media (max-width:800px){.display.zoom{aspect-ratio:1.45}.display.zoom .shot{left:-70%;width:240%}.hero-mac{margin:0 -12px}}

/* Second state: the same panel showing lyrics, crossfading in while open. */
.shot .open.lyr{opacity:0;transition:clip-path .55s cubic-bezier(.4,0,.2,1),opacity .45s ease}
.shot.on.lyrics .open.lyr{opacity:1;transition:clip-path .8s cubic-bezier(.2,1.12,.3,1),opacity .45s ease}
/* The nav while it travels down to the Mac's notch: it follows the scroll exactly, no easing. */
.notchnav.morph{transition:none}
.notchnav.morph>*:not(.cam){transition:opacity .15s linear}
.notchnav.merged{opacity:0;pointer-events:none;transition:opacity .12s linear}

/* ---------- The live island: the app's notch, rebuilt. Units are the screen's points (--u px each). ---------- */
.shot{--u:1px}
.isle{position:absolute;top:0;left:50%;width:calc(476*var(--u));height:calc(230*var(--u));margin-left:calc(-238*var(--u));background:#000;color:#fff;z-index:2;
 clip-path:inset(0 50% 100% 50%);will-change:clip-path;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;-webkit-font-smoothing:antialiased}
.isle-hit{position:absolute;top:0;left:50%;width:calc(260*var(--u));height:calc(34*var(--u));margin-left:calc(-130*var(--u));z-index:3;cursor:pointer}
.isle.open~.isle-hit{display:none}
.wings{position:absolute;top:0;left:50%;width:calc(221*var(--u));height:calc(28*var(--u));margin-left:calc(-110.5*var(--u));display:flex;align-items:center;justify-content:space-between;padding:0 calc(10*var(--u));transition:opacity .18s ease .12s}
.isle.open .wings{opacity:0;transition:opacity .08s}
.page{position:absolute;inset:0;padding:calc(30*var(--u)) calc(18*var(--u)) 0;opacity:0;transform:translateY(calc(-6*var(--u))) scale(.97);transform-origin:50% 0;transition:opacity .14s ease,transform .2s ease}
.isle.open .page{opacity:1;transform:none;transition:opacity .3s ease .14s,transform .45s cubic-bezier(.2,1,.3,1) .1s}
/* The made-up cover, as a spinning disc */
.disc{position:relative;width:calc(18*var(--u));height:calc(18*var(--u));border-radius:50%;flex:none;
 background:radial-gradient(circle,#000 0 7%,transparent 8% 18%,rgb(0 0 0/.35) 19% 21%,transparent 22%),url(img/cover-song.svg) center/cover;
 box-shadow:inset 0 0 0 calc(.6*var(--u)) rgb(255 255 255/.18);animation:spin 6s linear infinite}
.disc.big{width:calc(52*var(--u));height:calc(52*var(--u));box-shadow:0 calc(4*var(--u)) calc(16*var(--u)) rgb(255 140 60/.3),inset 0 0 0 calc(1*var(--u)) rgb(255 255 255/.18)}
@keyframes spin{to{transform:rotate(360deg)}}
.isle.paused .disc{animation-play-state:paused}
/* Waveform */
.wave{display:flex;align-items:center;gap:calc(2*var(--u));height:calc(12*var(--u))}
.wave i{width:calc(2.4*var(--u));height:100%;border-radius:9px;background:#6ad7f0;transform:scaleY(.35);animation:wave 1s ease-in-out infinite alternate}
.wave i:nth-child(2){animation-duration:.74s;animation-delay:-.3s}.wave i:nth-child(3){animation-duration:.9s;animation-delay:-.6s}
.wave i:nth-child(4){animation-duration:.66s;animation-delay:-.15s}.wave i:nth-child(5){animation-duration:.82s;animation-delay:-.45s}
@keyframes wave{from{transform:scaleY(.22)}to{transform:scaleY(1)}}
.isle.paused .wave i{animation-play-state:paused;transform:scaleY(.25)}
.wave.big{height:calc(18*var(--u));gap:calc(2.6*var(--u));align-self:flex-start;margin-top:calc(6*var(--u))}
.wave.big i{width:calc(3*var(--u))}
.row{display:flex;align-items:center;gap:calc(12*var(--u))}
.who{flex:1;min-width:0;line-height:1.25}
.who b{display:block;font-size:calc(15*var(--u));font-weight:650;letter-spacing:-.01em}
.who span{display:block;font-size:calc(13*var(--u));opacity:.6}
.who small{display:block;font-size:calc(10*var(--u));opacity:.55;font-weight:600;margin-top:calc(2*var(--u))}
.isle .bar{position:static;height:calc(3.4*var(--u));margin-top:calc(12*var(--u));border-radius:9px;background:rgb(255 255 255/.16);overflow:hidden;padding:0;display:block}
.isle .bar i{display:block;height:100%;background:#fff;transform-origin:0;transform:scaleX(.32);transition:transform 1s linear}
.isle .times{display:flex;justify-content:space-between;font-size:calc(9.5*var(--u));font-weight:600;opacity:.55;margin-top:calc(5*var(--u));font-variant-numeric:tabular-nums}
.isle .keys{display:flex;align-items:center;justify-content:space-between;margin-top:calc(6*var(--u))}
.isle .keys .mid{display:flex;align-items:center;gap:calc(26*var(--u))}
.isle .keys button{display:grid;place-items:center;color:#fff;padding:calc(4*var(--u));border-radius:calc(8*var(--u));transition:transform .2s cubic-bezier(.2,1.3,.3,1),background .2s}
.isle .keys button:hover{background:rgb(255 255 255/.08)}
.isle .keys button:active{transform:scale(.84)}
.isle .keys .mid svg{width:calc(26*var(--u));height:calc(17*var(--u))}
.isle .keys #isle-play svg{width:calc(17*var(--u));height:calc(22*var(--u))}
.isle .keys .small svg{width:calc(15*var(--u));height:calc(15*var(--u));opacity:.85}
.isle .keys .small:first-child{color:#ff375f}
.isle .pl{display:none}.isle.paused .pl{display:inline}.isle.paused .ps{display:none}
.isle{text-align:left}
/* The made-up album cover: the photo with small type on it, as a real sleeve has. */
.art{position:relative;flex:none;width:calc(18*var(--u));height:calc(18*var(--u));border-radius:calc(4.5*var(--u));overflow:hidden;
 background:linear-gradient(180deg,rgb(0 0 0/.15),transparent 40%,rgb(0 0 0/.35)),url(img/cover-song.svg) center/cover;box-shadow:inset 0 0 0 calc(.5*var(--u)) rgb(255 255 255/.14)}
.art em,.art b{position:absolute;left:8%;right:8%;color:#fff;font-style:normal;white-space:nowrap;overflow:hidden;letter-spacing:.14em}
.art em{top:7%;font-size:calc(4.6*var(--u));font-weight:800}
.art b{bottom:7%;font:italic 500 calc(7*var(--u))/1 "New York","Iowan Old Style",Georgia,serif;letter-spacing:0}
.wings .art em{display:none}
.art.big{width:calc(52*var(--u));height:calc(52*var(--u));border-radius:calc(12*var(--u));
 box-shadow:0 calc(5*var(--u)) calc(16*var(--u)) rgb(255 140 60/.28),inset 0 0 0 calc(.6*var(--u)) rgb(255 255 255/.16);transition:transform .5s cubic-bezier(.2,1.3,.3,1)}
.isle.paused .art.big{transform:scale(.9)}

/* Hero, whole: the full MacBook first; scrolling, it comes closer (scaled from the notch) while the notch opens. */
.hero{overflow:clip;padding-bottom:30vh}
.hero-mac{-webkit-mask:none;mask:none;max-width:1000px;transform-origin:50% 0;will-change:transform}
.hero .lid{margin:0 6.2%;padding:1.05cqw 1.05cqw 1.35cqw;border-radius:2.5cqw 2.5cqw .7cqw .7cqw}
.hero .display{aspect-ratio:auto}
.hero .shot{position:relative;left:auto;width:100%}
@media (max-width:800px){.hero-mac{margin:0}}
/* The whole MacBook fits in the first view, under the words. */
.hero{padding-top:clamp(80px,10vh,130px)}
.hero h1{font-size:clamp(44px,min(7.4vw,10vh),112px)}
.hero .eyebrow{margin-bottom:16px}
.hero .lede{margin-top:14px}
.hero .acts{margin:22px 0 clamp(26px,4vh,44px)}
.hero-mac{width:min(1000px,90vw,calc((100svh - 330px) * 1.45));margin:0 auto}

/* ---------- The screen's light on the page ---------- */
.hero{position:relative}
.screen-light{position:absolute;left:50%;top:44%;width:min(1300px,120vw);height:70vh;transform:translateX(-50%);pointer-events:none;z-index:0}
.screen-light i{position:absolute;border-radius:50%;filter:blur(70px);opacity:.38;transition:opacity 1.2s ease,transform 1.6s cubic-bezier(.2,1,.3,1)}
.screen-light i:first-child{left:6%;top:10%;width:52%;height:70%;background:radial-gradient(closest-side,#ff8a3d,transparent);animation:drift-a 14s ease-in-out infinite alternate}
.screen-light i:last-child{right:6%;top:0;width:55%;height:80%;background:radial-gradient(closest-side,#2f6bff,transparent);animation:drift-b 17s ease-in-out infinite alternate}
@keyframes drift-a{to{transform:translate(8%,10%) scale(1.1)}}
@keyframes drift-b{to{transform:translate(-8%,6%) scale(.92)}}
.screen-light.lit i{opacity:.62}
.hero>*:not(.screen-light){position:relative;z-index:1}
/* A glare on the glass that follows the pointer */
.glass-glare::after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;
 background:radial-gradient(60% 80% at var(--gx,30%) var(--gy,0%),rgb(255 255 255/.16),transparent 60%),linear-gradient(115deg,rgb(255 255 255/.06),transparent 35%)}

/* ---------- Lyrics, live ---------- */
.close.live{--u:calc(min(900px,100vw - 48px) / 560);position:relative;width:min(900px,100%);aspect-ratio:2.4;display:grid;place-items:start center;
 border:calc(11*var(--u)) solid #000;border-bottom:0;border-radius:calc(30*var(--u)) calc(30*var(--u)) clamp(22px,3vw,36px) clamp(22px,3vw,36px);
 background:url(img/wall-mac.webp) 50% 12%/cover padding-box;box-shadow:inset 0 0 0 1px rgb(255 255 255/.05),var(--shade)}
.close.live::before{content:"";position:absolute;inset:0;border-radius:calc(8*var(--u)) calc(8*var(--u)) 0 0;box-shadow:0 0 0 calc(8*var(--u)) #000;pointer-events:none}
.lyr-isle{position:relative;width:calc(440*var(--u));margin-top:0;display:flex;align-items:center;gap:calc(14*var(--u));
 padding:calc(34*var(--u)) calc(20*var(--u)) calc(26*var(--u));background:#000;color:#fff;border-radius:0 0 calc(26*var(--u)) calc(26*var(--u));text-align:left;
 box-shadow:0 calc(20*var(--u)) calc(50*var(--u)) calc(-20*var(--u)) rgb(0 0 0/.5)}
.lyr-isle::before,.lyr-isle::after{content:"";position:absolute;top:0;width:calc(12*var(--u));height:calc(12*var(--u))}
.lyr-isle::before{right:100%;background:radial-gradient(circle at 0 100%,transparent calc(11.6*var(--u)),#000 calc(12*var(--u)))}
.lyr-isle::after{left:100%;background:radial-gradient(circle at 100% 100%,transparent calc(11.6*var(--u)),#000 calc(12*var(--u)))}
.lyr-isle .art.big{--u:inherit}
.lyr-text{flex:1;min-width:0}
.lyr-text small{display:block;font-size:calc(10*var(--u));opacity:.55;font-weight:600}
.lyr-lines{position:relative;height:calc(46*var(--u));overflow:hidden;margin-top:calc(3*var(--u))}
.lyr-lines p{position:absolute;left:0;right:0;font-size:calc(16*var(--u));font-weight:650;letter-spacing:-.01em;line-height:calc(22*var(--u));white-space:nowrap;
 transition:transform .7s cubic-bezier(.2,1,.3,1),opacity .5s ease}
.lyr-lines p.now{transform:translateY(0)}
.lyr-lines p.next{transform:translateY(calc(23*var(--u)));opacity:.4}
.lyr-lines p.gone{transform:translateY(calc(-24*var(--u)));opacity:0}
.lyr-lines p.wait{transform:translateY(calc(48*var(--u)));opacity:0}
.lyr-lines span{opacity:.35;transition:opacity .25s ease}
.lyr-lines span.on{opacity:1}
.lyr-isle .wave.big{align-self:center;margin:0}
.lyr-isle .art.big,.lyr-isle .wave{--u:inherit}

/* ---------- The feature words, each with its own little notch ---------- */
.more{position:relative}
.hud{position:absolute;left:0;top:0;z-index:5;display:flex;align-items:center;gap:14px;height:40px;padding:0 18px;background:#000;color:#fff;border-radius:0 0 20px 20px;
 font-size:15px;font-weight:600;white-space:nowrap;pointer-events:none;transform-origin:50% 0;opacity:0;transform:translate(var(--hx,0),var(--hy,0)) scale(.4,.2);
 transition:transform .45s cubic-bezier(.2,1.25,.3,1),opacity .2s ease;box-shadow:0 14px 30px -14px rgb(0 0 0/.6)}
.hud.on{opacity:1;transform:translate(var(--hx,0),var(--hy,0)) scale(1)}
.hud .hud-b{opacity:.6;font-variant-numeric:tabular-nums}
.hud[data-tint=green] .hud-b{color:#34c759;opacity:1}.hud[data-tint=blue] .hud-b{color:#5aa9ff;opacity:1}.hud[data-tint=amber] .hud-b{color:#ffb340;opacity:1}
.hud::before{content:"";width:8px;height:8px;border-radius:50%;background:#6ad7f0;flex:none}
.hud[data-tint=green]::before{background:#34c759}.hud[data-tint=blue]::before{background:#5aa9ff}.hud[data-tint=amber]::before{background:#ffb340}
.cloud li{cursor:default;outline:none;border-radius:12px}
.cloud li:focus-visible{box-shadow:0 0 0 2px var(--ink)}
@media (prefers-color-scheme:dark){.hud{box-shadow:0 0 0 1px rgb(255 255 255/.12)}}
.screen-light i{opacity:.5}.screen-light.lit i{opacity:.8}
.hero-mac{width:min(1000px,90vw,calc((100svh - 330px) * 1.36))}
.art em,.art b{display:none}
