/* =========================================================
   iamsax.com — Simon Saxtorph
   1. tokens        4. hero         7. elsewhere
   2. base          5. work         8. contact / footer
   3. topbar        6. about        9. intro  (see end of file)
   ========================================================= */

/* ---------- 1. tokens ---------- */
:root{
  --bg:#050506;
  --bg-2:#0a0a0c;
  --ink:#f2f3f6;
  --silver:#c6cbd3;
  --mid:#8d939c;
  --low:#5a606a;
  --line:rgba(255,255,255,.09);
  --line-soft:rgba(255,255,255,.05);

  --display:"Space Grotesk",ui-sans-serif,system-ui,sans-serif;
  --body:"Instrument Sans",ui-sans-serif,system-ui,-apple-system,sans-serif;

  --plate:linear-gradient(172deg,#ffffff 0%,#e9ecf1 18%,#a7aeb8 42%,#f4f6f9 56%,#878d97 78%,#dfe3ea 100%);

  --ease:cubic-bezier(.22,.78,.26,1);
  --gutter:clamp(20px,5vw,40px);
  --sec:clamp(96px,15vw,190px);
}

/* ---------- 2. base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scrollbar-gutter:stable}
body{
  margin:0;
  background:var(--bg);
  color:var(--silver);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(120% 70% at 50% -10%,rgba(140,150,170,.10),transparent 60%),
    radial-gradient(90% 60% at 50% 110%,rgba(120,130,150,.07),transparent 60%);
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3{margin:0;font-weight:400;font-family:var(--display);color:#fff;letter-spacing:-.01em}
p{margin:0}
i,b{font-style:normal;font-weight:inherit}

.grain{
  position:fixed;inset:0;z-index:60;pointer-events:none;opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap{width:min(1140px,100%);margin-inline:auto;padding-inline:var(--gutter);position:relative;z-index:1}
.sec{padding-block:var(--sec);position:relative;z-index:1}

.eyebrow{
  font-family:var(--display);font-size:.7rem;font-weight:400;
  letter-spacing:.3em;text-transform:uppercase;color:var(--low);
}
.sec-head h2{
  margin-top:.7em;font-weight:300;
  font-size:clamp(1.6rem,4vw,2.8rem);line-height:1.15;
  max-width:18ch;
}

.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:var(--gutter);top:14px;z-index:99;background:#fff;color:#000;padding:.6em 1em;border-radius:6px}
:focus-visible{outline:1px solid rgba(255,255,255,.7);outline-offset:5px}

/* reveal on scroll */
.rv{opacity:0;transform:translateY(22px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.rv.in{opacity:1;transform:none}

/* page is hidden while the intro plays */
body.is-booting{overflow:hidden;height:100%}
body.is-booting .topbar,body.is-booting main,body.is-booting .foot{opacity:0}
.topbar,main,.foot{transition:opacity .9s ease .1s}

/* ---------- 3. topbar ---------- */
.topbar{
  position:fixed;top:0;left:0;right:0;z-index:40;
  padding-block:18px;
  background:linear-gradient(180deg,rgba(5,5,6,.88),rgba(5,5,6,0));
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.topbar__in{display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar__mark{
  font-family:var(--display);font-size:.78rem;letter-spacing:.34em;color:var(--ink);
}
.topbar__nav{display:flex;gap:clamp(16px,3vw,34px)}
.topbar__nav a{
  font-family:var(--display);font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--low);transition:color .3s
}
.topbar__nav a:hover{color:var(--ink)}

/* ---------- 4. hero ---------- */
.hero{
  min-height:100svh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  position:relative;z-index:1;
}
.hero__in{display:flex;flex-direction:column;align-items:center;gap:0}
.hero .eyebrow{margin-bottom:clamp(22px,4vw,38px)}

.mark{
  position:relative;
  font-weight:500;line-height:.9;
  font-size:clamp(3rem,15vw,10.5rem);
  letter-spacing:clamp(.03em,1.1vw,.13em);
  text-indent:clamp(.03em,1.1vw,.13em); /* balances the trailing letter-space */
}
.mark::before{
  content:"";position:absolute;left:50%;top:50%;translate:-50% -50%;
  width:120%;height:220%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(190,200,215,.16),transparent 70%);
}
.mark__t{
  position:relative;
  background:var(--plate);
  background-size:220% 100%;
  background-position:14% 0;
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.mark.in .mark__t{animation:sheen 3.2s var(--ease) .15s both}
.mark:hover .mark__t{animation:sheen 2.4s var(--ease) both}
@keyframes sheen{from{background-position:100% 0}to{background-position:14% 0}}
.mark__name{
  margin-top:clamp(14px,2.2vw,26px);
  font-family:var(--display);font-weight:300;
  font-size:clamp(.78rem,1.9vw,1.15rem);
  letter-spacing:.42em;text-transform:uppercase;text-indent:.42em;
  color:var(--mid);
}
.lede{
  margin-top:clamp(28px,4vw,44px);
  max-width:34ch;font-size:clamp(.95rem,1.5vw,1.1rem);
  line-height:1.7;color:var(--mid);
}
.cue{
  position:absolute;bottom:clamp(24px,5vh,50px);left:50%;translate:-50% 0;
  display:flex;flex-direction:column;align-items:center;gap:10px;
  font-family:var(--display);font-size:.62rem;letter-spacing:.3em;text-transform:uppercase;color:var(--low);
}
.cue i{width:1px;height:46px;background:linear-gradient(180deg,transparent,var(--low));animation:cue 2.6s var(--ease) infinite}
@keyframes cue{0%{transform:scaleY(.2);transform-origin:top}45%{transform:scaleY(1);transform-origin:top}46%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

/* ---------- 5. work ---------- */
.work .sec-head{margin-bottom:clamp(46px,7vw,84px)}
.work .sec-head h2{max-width:24ch}

.rail{display:grid;gap:clamp(42px,6vw,58px) clamp(22px,3vw,38px);justify-items:center}

.proj{
  position:relative;display:flex;flex-direction:column;align-items:center;gap:20px;
  width:min(248px,100%);margin:0;padding:0;border:0;background:none;
  color:inherit;font:inherit;text-align:center;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.proj__device{
  position:relative;display:block;width:100%;aspect-ratio:9/18.6;
  border-radius:clamp(22px,2.6vw,32px);padding:5px;
  background:linear-gradient(152deg,#4d515a 0%,#1a1d22 22%,#0a0b0e 58%,#31353c 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 46px 70px -34px rgba(0,0,0,1),
    0 0 70px -24px rgba(125,145,180,.22);
  transition:transform 1s var(--ease),box-shadow 1s var(--ease);
  -webkit-box-reflect:below 14px linear-gradient(rgba(0,0,0,.30),transparent 46%);
}
.proj--live .proj__device{box-shadow:
  0 0 0 1px rgba(255,255,255,.13),
  0 46px 70px -34px rgba(0,0,0,1),
  0 0 80px -22px rgba(150,165,200,.3)}
.proj__screen{
  position:relative;height:100%;border-radius:inherit;overflow:hidden;
  background:radial-gradient(130% 85% at 50% 0%,#171a20,#050609 74%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.1em;
  padding:16% 11%;
  filter:brightness(.74);transition:filter .9s var(--ease);
}
.proj__island{
  position:absolute;top:4.4%;left:50%;translate:-50% 0;z-index:2;
  width:27%;height:10px;border-radius:10px;background:#000;
}
.proj__rim{
  position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;
  background:linear-gradient(116deg,rgba(255,255,255,.15) 0%,rgba(255,255,255,.03) 16%,transparent 38%,transparent 84%,rgba(255,255,255,.07) 100%);
}
.proj__icon{
  position:relative;width:62px;height:62px;border-radius:15px;display:grid;place-items:center;
  background:linear-gradient(160deg,#2b2e36,#0c0d11);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10),0 10px 20px -10px #000;
  overflow:hidden;
}
.proj__icon b{
  font-family:var(--display);font-size:1.35rem;font-weight:300;
  background:var(--plate);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.proj__icon--miloq{background:linear-gradient(160deg,#5533bf,#362077)}
.proj__icon--bopy{background:#8cc9fc}
.proj__icon--upy{background:#f4f5f7}
.proj__icon--lok{background:#07182c}
.proj__icon--miloq b{background:none;-webkit-text-fill-color:#fff;color:#fff}
.proj__icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.proj__name{
  font-family:var(--display);font-size:.86rem;font-weight:400;
  letter-spacing:.2em;text-indent:.2em;text-transform:uppercase;color:#fff;
}
.proj__status{
  padding:.45em 1em;border-radius:99px;border:1px solid rgba(255,255,255,.12);
  font-family:var(--display);font-size:.54rem;letter-spacing:.22em;text-transform:uppercase;color:var(--mid);
}
.proj__status--live{border-color:rgba(255,255,255,.3);color:#fff}

.proj__cap{display:flex;flex-direction:column;align-items:center;gap:9px}
.proj__line{font-size:.86rem;line-height:1.5;color:var(--mid);max-width:22ch;transition:color .6s var(--ease)}
.proj__more{
  display:inline-flex;align-items:center;gap:.5em;
  font-family:var(--display);font-size:.58rem;letter-spacing:.24em;text-transform:uppercase;color:#fff;
  opacity:0;transform:translateY(-4px);transition:opacity .5s var(--ease),transform .5s var(--ease);
}
.proj__more svg{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.proj:hover .proj__device,.proj:focus-visible .proj__device{
  transform:translateY(-16px) scale(1.045);
  box-shadow:0 0 0 1px rgba(255,255,255,.18),0 70px 90px -40px rgba(0,0,0,1),0 0 110px -22px rgba(150,170,205,.4);
}
.proj:hover .proj__screen,.proj:focus-visible .proj__screen{filter:brightness(1.06)}
.proj:hover .proj__line,.proj:focus-visible .proj__line{color:var(--silver)}
.proj:hover .proj__more,.proj:focus-visible .proj__more{opacity:1;transform:none}
.proj.is-source .proj__device{opacity:0;transition:none}

.proj--off .proj__device{box-shadow:0 0 0 1px rgba(255,255,255,.05),0 40px 62px -34px rgba(0,0,0,1)}
.proj--off .proj__screen{filter:brightness(.5) saturate(.6)}
.proj--off .proj__status{opacity:.7}
.proj--off:hover .proj__screen,.proj--off:focus-visible .proj__screen{filter:brightness(.92) saturate(.9)}
.proj--off:hover .proj__device,.proj--off:focus-visible .proj__device{
  box-shadow:0 0 0 1px rgba(255,255,255,.14),0 70px 90px -40px rgba(0,0,0,1),0 0 90px -26px rgba(140,158,190,.26)}
.sheet__card[data-proj="lokavo"] .proj__screen{filter:brightness(.72) saturate(.75)}

/* the sheet */
.pill{
  display:inline-flex;align-items:center;gap:.65em;
  padding:.9em 1.5em;border-radius:99px;border:1px solid rgba(255,255,255,.2);
  font-family:var(--display);font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:#fff;
  transition:background .35s,border-color .35s;
}
.pill svg{width:1.1em;height:1.1em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pill:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.36)}
.pills{display:flex;flex-wrap:wrap;gap:16px;align-items:center}

/* Apple's badge is used unmodified. The 4px inset keeps Apple's required
   clear space (a tenth of the badge height) around it. */
.badge{
  display:inline-block;line-height:0;padding:4px;border-radius:12px;
  transition:transform .45s var(--ease),background .45s ease;
}
.badge img{display:block;height:46px;width:auto}
.badge img{
  border-radius:7px;
  box-shadow:0 16px 32px -18px rgba(200,214,238,.55);
  transition:box-shadow .45s ease;
}
.badge:hover,.badge:focus-visible{transform:translateY(-2px)}
.badge:hover img,.badge:focus-visible img{box-shadow:0 22px 44px -18px rgba(200,214,238,.8)}

.sheet{
  position:fixed;inset:0;z-index:80;display:grid;place-items:center;
  padding:clamp(16px,4vw,54px);
  overflow:auto;overscroll-behavior:contain;
  opacity:0;pointer-events:none;transition:opacity .5s ease;
}
.sheet[hidden]{display:none}
.sheet.is-open{opacity:1;pointer-events:auto}
.sheet__scrim{
  position:absolute;inset:0;background:rgba(4,4,6,.9);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.sheet__stage{position:relative;width:min(1000px,100%);margin:auto}
.sheet__close{
  position:sticky;top:0;width:fit-content;margin-left:auto;z-index:4;display:flex;align-items:center;gap:.6em;
  padding:.7em 1.1em;border-radius:99px;cursor:pointer;
  background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--mid);
  font-family:var(--display);font-size:.58rem;letter-spacing:.24em;text-transform:uppercase;
  transition:color .3s,border-color .3s;
}
.sheet__close svg{width:1.1em;height:1.1em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.sheet__close:hover{color:#fff;border-color:rgba(255,255,255,.3)}

.sheet__card{display:none;gap:clamp(28px,5vw,64px);align-items:center;padding-bottom:20px}
.sheet__card.is-active{display:grid}
.sheet__col{justify-self:center;width:min(230px,60vw)}
.sheet__col .proj__device{width:100%;-webkit-box-reflect:below 14px linear-gradient(rgba(0,0,0,.3),transparent 46%)}
.sheet__col .proj__screen{filter:brightness(1.02)}

.sheet__body{opacity:0;transform:translateY(16px);transition:opacity .7s var(--ease) .22s,transform .7s var(--ease) .22s}
.sheet.is-open .sheet__body{opacity:1;transform:none}
.sheet__kicker{
  font-family:var(--display);font-size:.6rem;letter-spacing:.26em;text-transform:uppercase;color:var(--low);
}
.sheet__body h3{
  margin:.7em 0 .6em;font-weight:300;font-size:clamp(1.7rem,4vw,2.6rem);
  background:var(--plate);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.sheet__body p{margin-bottom:1.1em;font-size:clamp(.95rem,1.1vw,1.04rem);line-height:1.75;max-width:52ch}
.facts{margin:1.8em 0;padding:0;display:grid;gap:0;border-top:1px solid var(--line-soft)}
.facts>div{display:grid;grid-template-columns:minmax(90px,120px) 1fr;gap:16px;padding:.85em 0;border-bottom:1px solid var(--line-soft)}
.facts dt{font-family:var(--display);font-size:.58rem;letter-spacing:.22em;text-transform:uppercase;color:var(--low);padding-top:.25em}
.facts dd{margin:0;font-size:.92rem;color:var(--ink)}
.sheet__body .pill{margin-top:.6em}
body.is-locked{overflow:hidden}

/* ---------- 6. about ---------- */
.about__in{display:grid;gap:clamp(34px,5vw,70px)}
.about__rail{display:flex;align-items:center;gap:22px}
.portrait{
  position:relative;display:block;flex:none;width:min(126px,34vw);
  border-radius:14px;overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 26px 50px -28px #000,0 0 60px -28px rgba(150,170,205,.45);
}
.portrait__img{display:block;width:100%;height:auto;filter:contrast(1.03);transition:opacity .6s ease}
.portrait__ink{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;
  filter:contrast(1.03) blur(.35px);transition:opacity .6s ease;
}
.js .portrait.is-armed:not(.is-done) .portrait__img{opacity:0}
.portrait.is-done .portrait__ink{opacity:0}
.about__rail p+p{margin-top:1.2em}
.about__railname{
  font-family:var(--display);font-weight:300;
  font-size:clamp(1.5rem,3vw,2.2rem);line-height:1.1;
  background:var(--plate);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.prose{max-width:66ch}
.prose p{margin-bottom:1.5em;font-size:clamp(.98rem,1.15vw,1.08rem);line-height:1.8}
.prose__lead{
  font-family:var(--display);font-weight:300;color:#fff;
  font-size:clamp(1.25rem,2.6vw,1.85rem)!important;line-height:1.45!important;
  margin-bottom:1.6em!important;
}
.prose h3{
  margin:2.8em 0 1em;font-weight:400;
  font-size:clamp(1.05rem,1.9vw,1.4rem);letter-spacing:.01em;
}
.prose h3::before{
  content:"";display:block;width:38px;height:1px;margin-bottom:1.4em;
  background:linear-gradient(90deg,var(--silver),transparent);
}
.qs{list-style:none;margin:0 0 2em;padding:0;display:grid;gap:.7em}
.qs li{position:relative;padding-left:1.6em;color:var(--ink);font-size:clamp(.95rem,1.1vw,1.05rem)}
.qs li::before{content:"";position:absolute;left:0;top:.75em;width:14px;height:1px;background:var(--low)}
.beat{color:var(--mid);line-height:2.1;border-left:1px solid var(--line);padding-left:1.6em}

/* ---------- 7. elsewhere ---------- */
.social .eyebrow{text-align:center}
.orbs{
  margin-top:clamp(44px,7vw,80px);
  display:flex;justify-content:center;align-items:center;
  gap:clamp(34px,8vw,110px);
}
.orb{
  position:relative;width:clamp(76px,11vw,124px);aspect-ratio:1;
  display:grid;place-items:center;
  animation:float 7s ease-in-out infinite;
}
.orb:nth-child(2){animation-delay:-2.3s}
.orb:nth-child(3){animation-delay:-4.6s}
.orb:hover{animation-play-state:paused}
@keyframes float{0%,100%{transform:translateY(-6px)}50%{transform:translateY(6px)}}
.orb__glow{
  position:absolute;inset:-38%;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,var(--g) 0%,transparent 62%);
  filter:blur(20px);opacity:.14;transform:scale(.8);
  transition:opacity .6s var(--ease),transform .6s var(--ease);
}
.orb--yt{--g:#ff2a2a}
.orb--tt{--g:#25f4ee}
.orb--x{--g:#e8ecf2}
.orb__disc{
  position:relative;width:100%;height:100%;border-radius:50%;
  display:grid;place-items:center;
  background:radial-gradient(120% 120% at 32% 20%,#191b21,#08090b 62%);
  border:1px solid var(--line);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 24px 44px -22px #000;
  transition:transform .6s var(--ease),border-color .6s var(--ease),box-shadow .6s var(--ease);
}
.orb__disc svg{width:40%;fill:var(--silver);transition:fill .5s var(--ease)}
.orb__disc .knockout{fill:#0a0b0e}
.orb__label{
  position:absolute;bottom:-32px;left:0;right:0;text-align:center;
  font-family:var(--display);font-size:.62rem;letter-spacing:.26em;text-transform:uppercase;color:var(--mid);
  opacity:0;transform:translateY(-6px);transition:opacity .5s var(--ease),transform .5s var(--ease);
}
.orb:hover .orb__glow,.orb:focus-visible .orb__glow{opacity:.62;transform:scale(1.05)}
.orb:hover .orb__disc,.orb:focus-visible .orb__disc{
  transform:scale(1.18);border-color:rgba(255,255,255,.26);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 30px 60px -24px #000;
}
.orb:hover .orb__disc svg,.orb:focus-visible .orb__disc svg{fill:#fff}
.orb:hover .orb__label,.orb:focus-visible .orb__label{opacity:1;transform:none}

/* ---------- 8. contact / footer ---------- */
.contact__in{text-align:center;display:flex;flex-direction:column;align-items:center}
.mail{
  position:relative;display:inline-block;margin-top:clamp(20px,3vw,34px);
  font-family:var(--display);font-weight:300;
  font-size:clamp(1.25rem,5.2vw,3.1rem);letter-spacing:-.01em;
}
.mail__t{
  background:var(--plate);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.mail::after{
  content:"";position:absolute;left:0;right:0;bottom:-.14em;height:1px;
  background:linear-gradient(90deg,transparent,var(--silver),transparent);
  transform:scaleX(0);transform-origin:50%;transition:transform .7s var(--ease);
}
.mail:hover::after{transform:scaleX(1)}
.contact__note{margin-top:clamp(18px,2.4vw,26px);color:var(--low);font-size:.92rem;max-width:36ch}

.foot{border-top:1px solid var(--line-soft);padding-block:34px;position:relative;z-index:1}
.foot__in{
  display:flex;flex-wrap:wrap;gap:12px 26px;justify-content:space-between;align-items:center;
  font-family:var(--display);font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--low);
}
.foot a{transition:color .3s}
.foot a:hover{color:var(--ink)}

/* ---------- breakpoints ---------- */
@media (min-width:560px){
  .rail{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sheet__card{grid-template-columns:minmax(0,230px) minmax(0,1fr);text-align:left}
  .sheet__col{justify-self:start}
}
@media (min-width:900px){
  .about__in{grid-template-columns:minmax(190px,1fr) 2.3fr;gap:clamp(40px,6vw,90px)}
  .about__rail{position:sticky;top:120px;align-self:start;display:block}
  .portrait{width:min(212px,100%);margin-bottom:28px;border-radius:16px}
}
@media (min-width:1000px){
  .rail{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}
  .proj:nth-child(even){margin-top:44px}
}
@media (max-width:559px){
  .sheet__card{justify-items:center;text-align:center}
  .sheet__body p{margin-inline:auto}
  .facts>div{grid-template-columns:1fr;gap:4px;text-align:left}
  .proj__more{opacity:1;transform:none}
  .topbar__nav a:not(:last-child){display:none}
}
@media (max-width:420px){
  .orbs{gap:26px}
}
@media (hover:none){
  .proj__screen{filter:brightness(.95)}
  .proj__more{opacity:1;transform:none}
}

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .rv{opacity:1;transform:none}
}

/* =========================================================
   9. INTRO — phone / App Store / download / launch
   ========================================================= */
.intro{
  position:fixed;inset:0;z-index:70;
  background:#050506;
  display:grid;place-items:center;
  overflow:hidden;
  transition:opacity .85s ease;
}
.intro.is-out{opacity:0}
.intro.is-gone{display:none}
html:not(.js) .intro{display:none}
html:not(.js) body.is-booting{overflow:auto;height:auto}
html:not(.js) body.is-booting .topbar,
html:not(.js) body.is-booting main,
html:not(.js) body.is-booting .foot{opacity:1}

.intro__floor{
  position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(52% 42% at 50% 40%,rgba(150,168,195,.16),transparent 72%),
    radial-gradient(30% 12% at 50% 88%,rgba(0,0,0,.9),transparent 70%);
}
.intro__fit{transform:scale(var(--fit,1));transform-origin:50% 50%}
.intro__skip{
  position:absolute;right:clamp(16px,3vw,30px);bottom:clamp(16px,3vw,30px);z-index:8;
  padding:.75em 1.3em;border-radius:99px;cursor:pointer;
  background:transparent;border:1px solid var(--line);color:var(--low);
  font-family:var(--display);font-size:.6rem;letter-spacing:.26em;text-transform:uppercase;
  transition:color .3s,border-color .3s;
}
.intro__skip:hover{color:var(--ink);border-color:rgba(255,255,255,.3)}

.rig{
  position:relative;
  transform:scale(.9);
  transition:transform 1.25s cubic-bezier(.62,.02,.14,1);
  will-change:transform;
}

/* ---- the phone ---- */
.phone{position:relative}
.phone__body{
  position:relative;width:344px;height:706px;border-radius:54px;padding:12px;
  background:linear-gradient(148deg,#43464e 0%,#191c21 26%,#0a0b0e 62%,#33363d 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 90px 120px -60px rgba(0,0,0,1),
    0 40px 80px -40px rgba(80,95,120,.35);
}
.phone__screen{
  position:relative;width:320px;height:682px;border-radius:43px;overflow:hidden;background:#000;
}
.phone__island{
  position:absolute;top:24px;left:50%;translate:-50% 0;z-index:6;
  width:96px;height:28px;border-radius:20px;background:#000;
}
.phone__hbar{
  position:absolute;bottom:20px;left:50%;translate:-50% 0;z-index:6;
  width:126px;height:5px;border-radius:3px;background:rgba(255,255,255,.55);
}
.phone__glare{
  position:absolute;inset:0;border-radius:54px;pointer-events:none;z-index:7;
  background:linear-gradient(122deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,.03) 18%,transparent 42%,transparent 78%,rgba(255,255,255,.05) 100%);
}

.scr{position:absolute;inset:0;opacity:0;visibility:hidden}
.scr--home{opacity:1;visibility:visible;transition:opacity .5s ease,transform .8s var(--ease)}

/* ---- home screen ---- */
.home__wall{position:absolute;inset:0;background:radial-gradient(90% 70% at 28% 12%,#2b3242,#0e1015 58%,#050609)}
.home__time{position:absolute;top:26px;left:34px;font-size:14px;font-weight:600;color:#fff}
.home__grid{
  position:absolute;top:112px;left:26px;right:26px;
  display:grid;grid-template-columns:repeat(4,1fr);gap:26px 18px;
}
.home__grid .tile,.home__dock .tile{
  aspect-ratio:1;border-radius:15px;
  background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.05));
  opacity:.32;
}
.tile--store{
  opacity:1;position:relative;display:grid;place-items:center;
  background:linear-gradient(165deg,#4db1ff,#0a6ae6);
  box-shadow:0 10px 20px -8px rgba(10,110,230,.8),inset 0 1px 0 rgba(255,255,255,.35);
  transition:transform .3s var(--ease),filter .3s;
}
.tile--store svg{width:78%}
.intro.is-press .tile--store{transform:scale(.88);filter:brightness(1.25)}
.home__dock{
  position:absolute;left:18px;right:18px;bottom:34px;height:96px;border-radius:32px;
  background:rgba(255,255,255,.11);
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:16px;
}
.intro.is-store .scr--home{opacity:0;transform:scale(1.08)}

/* ---- app store ---- */
.scr--store{
  background:#0b0b0e;color:#fff;
  transform:scale(.82);transform-origin:39% 30%;
  transition:opacity .45s ease,transform .8s cubic-bezier(.2,.85,.25,1);
}
.intro.is-store .scr--store{opacity:1;visibility:visible;transform:scale(1)}

.statusbar{display:flex;justify-content:space-between;align-items:center;height:56px;padding:8px 26px 0 32px;font-size:13px;font-weight:600}
.statusbar__ic svg{width:44px;height:12px;fill:#fff;stroke:#fff}
.store__title{font-family:var(--body);font-size:32px;font-weight:500;letter-spacing:-.025em;color:#fff;padding:8px 20px 14px}
.search{
  position:relative;margin:0 20px;height:38px;border-radius:11px;background:#1b1c20;
  display:flex;align-items:center;gap:8px;padding:0 12px;
  transition:box-shadow .4s ease,background .4s ease;
}
.search__mag{width:15px;height:15px;flex:none;fill:none;stroke:#7c7f87;stroke-width:2;stroke-linecap:round}
.search__ph,.search__typed{position:absolute;left:35px;top:50%;translate:0 -50%}
.search__ph{font-size:14px;color:#7c7f87;transition:opacity .25s}
.search__typed{display:none;align-items:center;font-size:14px;color:#fff}
.caret{width:2px;height:18px;background:#0a84ff;margin-left:2px;animation:blink 1.05s steps(1) infinite}
@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}
.intro.is-typing .search{background:#232429;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.intro.is-typing .search__ph{opacity:0}
.intro.is-typing .search__typed{display:flex}

.store__label{padding:20px 20px 8px;font-size:13px;font-weight:600;color:#8a8d95}
.store__label-b{display:none}
.intro.is-results .store__label-a{display:none}
.intro.is-results .store__label-b{display:inline}

.row{display:flex;align-items:center;gap:12px;padding:11px 20px}
.row--app{opacity:0;transform:translateY(12px);transition:opacity .55s ease,transform .7s var(--ease)}
.intro.is-results .row--app{opacity:1;transform:none}
.appicon{
  position:relative;width:56px;height:56px;flex:none;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(160deg,#22242b,#08090c);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10),0 6px 14px -6px #000;
}
.appicon b{
  font-family:var(--display);font-size:12px;font-weight:500;letter-spacing:.14em;text-indent:.14em;
  background:var(--plate);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.row__meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.row__name{font-size:15px;font-weight:600;color:#fff}
.row__sub{font-size:12px;color:#8a8d95;transition:color .4s}
.intro.is-done .row__sub{color:#fff}

.get{
  position:relative;flex:none;width:66px;height:30px;border-radius:15px;
  background:#2a2b30;display:grid;place-items:center;
  transition:width .5s var(--ease),background .5s ease;
}
.get__label{font-size:13px;font-weight:700;letter-spacing:.02em;color:#0a84ff;transition:opacity .3s,transform .3s}
.get__ring{
  position:absolute;left:50%;top:50%;translate:-50% -50%;
  width:28px;height:28px;border-radius:50%;opacity:0;transition:opacity .35s;
  background:conic-gradient(#0a84ff calc(var(--p,0) * 1%),rgba(255,255,255,.18) 0);
}
.get__ring i{
  position:absolute;left:50%;top:50%;translate:-50% -50%;
  width:21px;height:21px;border-radius:50%;background:#0b0b0e;
}
.get__ring i::after{
  content:"";position:absolute;left:50%;top:50%;translate:-50% -50%;
  width:7px;height:7px;border-radius:2px;background:#0a84ff;
}
.get__check{
  position:absolute;width:20px;height:20px;
  fill:none;stroke:#0a84ff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:26;stroke-dashoffset:26;opacity:0;
  transition:stroke-dashoffset .5s var(--ease),opacity .2s;
}
.intro.is-dl .get{width:30px;background:transparent}
.intro.is-dl .get__label{opacity:0;transform:scale(.8)}
.intro.is-dl .get__ring{opacity:1}
.intro.is-done .get__ring{opacity:0}
.intro.is-done .get__check{opacity:1;stroke-dashoffset:0}
.intro.is-ready-open .get{width:66px;background:#2a2b30}
.intro.is-ready-open .get__label{opacity:1;transform:none}
.intro.is-ready-open .get__check{opacity:0}

.row--ghost{opacity:.42}
.row--ghost span{flex:1;display:flex;flex-direction:column;gap:9px}
.gh{display:block;background:rgba(255,255,255,.09);border-radius:6px}
.gh--ic{width:56px;height:56px;border-radius:14px;flex:none}
.gh--a{width:58%;height:11px}
.gh--b{width:36%;height:9px}
.gh--btn{width:62px;height:26px;border-radius:13px;flex:none}

.tabbar{
  position:absolute;left:0;right:0;bottom:0;height:74px;padding-bottom:20px;
  display:flex;justify-content:space-around;align-items:center;
  background:rgba(17,17,20,.94);border-top:1px solid rgba(255,255,255,.08);
}
.tabbar i{width:22px;height:22px;border-radius:6px;background:rgba(255,255,255,.16)}
.tabbar i.on{background:#0a84ff}

/* ---- the app opening ---- */
.scr--app{background:#000;transition:opacity .35s ease}
.intro.is-launch .scr--app{opacity:1;visibility:visible}
.launch{
  position:absolute;border-radius:14px;
  background:linear-gradient(160deg,#22242b,#08090c);
  transition:transform .95s cubic-bezier(.66,0,.14,1),border-radius .5s ease .1s;
}
.splash{
  position:absolute;left:0;right:0;top:50%;translate:0 -50%;text-align:center;
  font-family:var(--display);font-weight:500;font-size:36px;
  letter-spacing:.16em;text-indent:.16em;
  background:var(--plate);-webkit-background-clip:text;background-clip:text;color:transparent;
  opacity:0;transition:opacity .7s ease;
}
.intro.is-splash .splash{opacity:1}

/* ---- the tap ---- */
.tap{
  position:absolute;left:0;top:0;z-index:5;pointer-events:none;
  width:36px;height:36px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.5),rgba(255,255,255,.1) 62%,transparent 72%);
  border:1px solid rgba(255,255,255,.45);
  opacity:0;
  transform:translate(-50%,-50%) scale(var(--inv,1));
  transition:opacity .35s ease,left .6s var(--ease),top .6s var(--ease);
}
.tap.show{opacity:.85}
.tap.press{animation:tapPress .5s var(--ease)}
@keyframes tapPress{
  0%{transform:translate(-50%,-50%) scale(var(--inv,1));opacity:.9}
  38%{transform:translate(-50%,-50%) scale(calc(var(--inv,1) * .58));opacity:1}
  100%{transform:translate(-50%,-50%) scale(calc(var(--inv,1) * 1.6));opacity:0}
}

@media (max-width:520px){
  .intro__skip{left:50%;right:auto;translate:-50% 0}
}
