/* Miwlu visual polish: full-bleed sky, stable drum, dark vinyl mobile player. */
:root{color-scheme:dark;--page-bg:#090c16;--ink-hi:#f2f6ff;--ink-dim:#becce5}
html{scroll-padding-top:88px}
body,.site{background:var(--page-bg);color:var(--ink-hi)}
.site{overflow-x:clip}
.hero{
  max-width:none;margin:0;border:0;border-radius:0;
  padding:114px max(24px,4vw) 32px;
  min-height:100svh;min-height:max(730px,100svh);
  background:#061631;
}
.hero-sky{inset:0;background-position:center 58%;background-size:cover}
.hero-tint{
  background:
    radial-gradient(ellipse 69% 44% at 50% 46%,rgba(1,8,30,.64) 0%,rgba(1,8,30,.34) 48%,transparent 100%),
    linear-gradient(180deg,rgba(2,9,31,.34) 0%,rgba(2,10,37,.27) 42%,rgba(3,14,40,.13) 68%,rgba(6,10,23,.84) 100%);
}
.hero:after{height:175px;background:linear-gradient(180deg,transparent,#0a0e1a)}
/* The navigation stays in view without permanently covering the content. */
.site-nav{
  position:fixed;z-index:200;left:50%;top:18px;
  transform:translate3d(-50%,0,0);width:min(1010px,calc(100vw - 36px));
  padding:7px 11px 7px 17px;
  background:rgba(11,23,49,.53);
  border:1px solid rgba(220,236,255,.23);
  box-shadow:0 10px 48px rgba(1,7,24,.20),inset 0 1px 0 rgba(255,255,255,.10);
  transition:transform .46s cubic-bezier(.22,1,.36,1),opacity .28s ease,
    width .45s cubic-bezier(.22,1,.36,1),background .32s ease,border-color .32s ease;
  will-change:transform;
}
.site-nav.is-scrolled{
  width:min(875px,calc(100vw - 30px));
  background:rgba(9,16,33,.86);border-color:rgba(221,235,255,.17);
  box-shadow:0 12px 46px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.06)
}
.site-nav.is-hidden{transform:translate3d(-50%,-145%,0);opacity:0;pointer-events:none}
.site-logo,.site-nav .nav-links{color:#f3f6ff}
.site-logo img{width:28px;height:28px}
.nav-install{background:#ecf1ff;color:#122248;border-color:transparent}
.hero-content{
  padding:45px 0 42px;max-width:1270px;
}
.hero-content .eyebrow{margin-bottom:27px;color:#d9e4fc}
.hero-content h1{
  font-size:clamp(54px,6.25vw,90px);
  line-height:1.09;letter-spacing:-.065em;font-weight:670;
  text-wrap:balance;color:#f6f8ff;
}
.hero-title-muted{color:#e7ecfc}
.hero-content .service-heading{
  position:relative;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;
  gap:.17em;width:max-content;max-width:100%;min-height:1.23em;
  margin:6px auto 0;padding:0;font-size:clamp(46px,5.2vw,75px);
  line-height:1.16;letter-spacing:-.058em;font-weight:675;
}
.hero-content .service-logo-fixed{
  display:block;flex:0 0 .79em;width:.79em;height:.79em;
  background-color:var(--service-accent,#1ed760);
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.05));
  transition:background-color .25s ease;
}
.hero-content .service-slot{
  position:relative;flex:0 0 auto;
  width:var(--slot-width,390px);height:1.23em;min-height:0;max-width:none;
  overflow:hidden;perspective:750px;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 11%,#000 89%,transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0%,#000 11%,#000 89%,transparent 100%);
  transition:none;
}
.hero-content .service-item{
  color:#f2f5ff;display:block;white-space:nowrap;
  line-height:1.18;position:absolute;left:0;top:50%;
  transform:translate3d(0,-50%,0) rotateX(0);opacity:1;
  text-shadow:0 9px 27px rgba(0,6,25,.32);
  letter-spacing:inherit;
}
.hero-content .service-item img{display:none}
.hero-content .service-item.is-entering{transform:translate3d(0,-173%,0) rotateX(-24deg);opacity:0}
.hero-content .service-item.is-leaving{transform:translate3d(0,74%,0) rotateX(24deg);opacity:0}
.hero-content .service-item.animate{
  transition:transform .7s cubic-bezier(.22,1,.36,1),opacity .56s cubic-bezier(.4,0,.2,1)
}
.hero-description{margin-top:25px;max-width:590px;font-size:14px;color:#dce5f8}
.hero-actions{margin-top:27px}
.hero-button.primary{background:#e6eaff;color:#14213f}
.hero-button.primary:hover{background:#fff}
.hero-button.secondary{background:rgba(218,234,255,.10);border-color:rgba(242,247,255,.28)}
.compat-note{color:#b8c9e3}
.scroll-invitation{margin-bottom:12px}
.section-bridge{height:115px;margin-top:-45px;background:linear-gradient(180deg,rgba(9,17,35,.0),#0c0d10 80%)}
.site>.viewport{background:#0c0d10}
.site-ending,.site-footer{background:#0c0d10}
.mobile-record-experience{display:none}
@media(max-width:900px){
  .hero{padding:106px 24px 30px;min-height:720px}
  .hero-content h1{font-size:clamp(49px,7.4vw,73px)}
  .hero-content .service-heading{font-size:clamp(43px,6.3vw,64px)}
}
@media(max-width:700px){
  .hero{margin:0;padding:96px 16px 22px;border-radius:0;border:0;min-height:100svh}
  .hero-sky{background-position:50% 59%}
  .hero-tint{
    background:radial-gradient(ellipse 95% 42% at 50% 43%,rgba(0,8,28,.62),rgba(2,11,33,.26) 75%,transparent),
      linear-gradient(180deg,rgba(1,10,30,.48),rgba(5,13,37,.12) 64%,#0a0d18 100%);
  }
  .site-nav{top:10px;width:calc(100vw - 24px);padding:6px 8px 6px 12px;min-height:49px}
  .site-nav.is-scrolled{width:calc(100vw - 22px)}
  .nav-install{font-size:11px}
  .hero-content{padding:30px 0 32px;justify-content:center;min-height:570px}
  .hero-content .eyebrow{font-size:9px;margin-bottom:23px}
  .hero-content h1{font-size:clamp(31px,9.2vw,53px);line-height:1.16;letter-spacing:-.06em}
  .hero-content .service-heading{
    margin:13px auto 0;gap:.16em;font-size:clamp(29px,7.95vw,49px);
    line-height:1.17;min-height:1.25em;
  }
  .hero-content .service-logo-fixed{width:.77em;height:.77em;flex-basis:.77em}
  .hero-description{max-width:350px;margin-top:28px;font-size:12px;line-height:1.75}
  .hero-actions{margin-top:25px;gap:9px}
  .hero-button{font-size:11px}
  .compat-note{font-size:9px}
  .section-bridge{height:82px;margin-top:-32px}
  /* Discs replace the scaled desktop timeline on small screens. */
  .site>.viewport{min-height:0;display:block;overflow:visible;padding:0 0 20px}
  .site>.viewport .scene{display:none!important}
  .mobile-record-experience{
    display:flex;flex-direction:column;align-items:center;
    width:min(100%,520px);margin:0 auto;padding:45px 18px 40px;
    text-align:center;color:#f5f5fd;
  }
  .mobile-label{margin:0;font-size:9px;font-weight:700;letter-spacing:.17em;color:#a5a5bf}
  .mobile-record-experience h2{font-size:clamp(31px,9.2vw,44px);line-height:1.13;letter-spacing:-.065em;font-weight:650;margin:11px 0 0}
  .mobile-stage{
    position:relative;display:grid;place-items:center;width:100%;height:246px;
    margin:22px 0 3px;border-radius:30px;
    background:radial-gradient(ellipse 130px 93px at 50% 42%,#222739,#11151e 88%,transparent 100%);
  }
  .mobile-stage-halo{position:absolute;width:194px;height:194px;border-radius:50%;background:rgba(190,205,245,.07);filter:blur(25px)}
  .mobile-feature-record{
    position:relative;width:191px;height:191px;border-radius:50%;overflow:hidden;
    background:repeating-radial-gradient(circle at center,transparent 0 3px,rgba(255,255,255,.08) 4px 5px,transparent 6px 10px),
      conic-gradient(from 30deg,#314861,#f3a5cf,#576a7e,#7aced9,#171e29,#cb9cbf,#39445e,#f0d5d9,#314861);
    box-shadow:0 18px 38px #0007,inset 0 0 0 2px rgba(255,255,255,.4),inset 0 0 0 12px rgba(20,25,37,.2);
    transition:filter .3s,transform .35s;will-change:transform
  }
  .mobile-feature-record:before{
    content:"";position:absolute;inset:0;opacity:.38;
    background:var(--record-cover) center/cover no-repeat;mix-blend-mode:multiply;
  }
  .mobile-feature-record.is-playing{animation:mobile-spin 9s linear infinite}
  .mobile-feature-label{
    position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    width:52px;height:52px;display:grid;place-items:center;border-radius:50%;
    background:radial-gradient(circle at 30% 25%,#e8d5f6,#8576a9);
    border:3px solid rgba(245,240,255,.7);box-shadow:0 0 0 1px #282335
  }
  .mobile-spindle{width:10px;height:10px;background:#161b27;border-radius:50%;box-shadow:inset 0 0 0 2px #eee5f9}
  .mobile-stage-hint{margin:8px 0 16px;font-size:10px;font-weight:650;letter-spacing:.08em;color:#a7a8ba}
  .mobile-record-options{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;
  }
  .mobile-record-choice{padding:8px 3px 4px;color:#bbc0cf;border:0;background:none;font:inherit;cursor:pointer;min-width:0}
  .mobile-record-choice .mobile-disc{
    position:relative;display:block;width:min(100%,105px);aspect-ratio:1;margin:0 auto 10px;border-radius:50%;
    background:conic-gradient(from 20deg,#111722,#fff8,var(--disc-tint),#202833,#5a91b9,var(--disc-tint),#14191f,#bfcaf9,#131a25);
    overflow:hidden;box-shadow:0 5px 18px #0008,inset 0 0 0 1px #ffffff77;
    transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s;
  }
  .mobile-disc:before{content:"";position:absolute;inset:4px;border-radius:50%;
    background:repeating-radial-gradient(circle,transparent 0 2px,#ffffff1f 3px 4px,transparent 5px 7px),
      var(--record-cover) center/cover no-repeat;opacity:.76;mix-blend-mode:screen}
  .mobile-disc-center{position:absolute;inset:35%;border-radius:50%;background:#e9e2f8;border:2px solid #1d2235;box-shadow:inset 0 0 0 4px #cbc1e1}
  .mobile-disc-center:after{content:"";position:absolute;width:6px;height:6px;left:50%;top:50%;transform:translate(-50%,-50%);background:#222737;border-radius:50%}
  .mobile-record-choice:hover .mobile-disc{transform:translateY(-3px)}
  .mobile-record-choice.is-selected .mobile-disc{box-shadow:0 5px 20px #0008,0 0 0 3px #e4d7ff,0 0 0 7px #aea3db24;transform:translateY(-2px)}
  .mobile-disc-title{display:block;font-size:10px;font-weight:650;line-height:1.3}
  .mobile-record-choice.is-selected .mobile-disc-title{color:#f4eaff}
  .mobile-song-info{display:flex;flex-direction:column;gap:4px;margin:30px 0 17px}
  .mobile-song-info strong{font-size:19px;letter-spacing:-.04em;font-weight:650}
  .mobile-song-info span{font-size:12px;color:#a9adbd}
  .mobile-play{min-height:48px;min-width:180px;border:0;background:#eeeafa;border-radius:100px;color:#1d1a2d;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
  .mobile-play span{font-size:12px;margin-left:8px}
  .mobile-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:100%;margin-top:20px}
  .mobile-modes button{min-height:43px;border:1px solid #333747;border-radius:100px;background:#191d29;color:#aeb3c5;font:inherit;font-size:11px;cursor:pointer}
  .mobile-modes button[aria-pressed=true]{background:#37304d;color:#e0d3ff;border-color:#76618d}
  .mobile-audio-note{margin:18px 0 0;color:#858d9f;font-size:10px;line-height:1.5;max-width:300px}
  .mobile-record-choice:focus-visible,.mobile-play:focus-visible,.mobile-modes button:focus-visible{outline:2px solid #dacbff;outline-offset:4px}
}
@media(max-width:365px){
  .hero{padding-inline:10px}
  .hero-content h1{font-size:clamp(30px,9.0vw,34px)}
  .hero-content .service-heading{font-size:clamp(26px,8vw,30px)}
  .mobile-record-options{gap:8px}
  .mobile-record-choice .mobile-disc{max-width:87px}
}
@keyframes mobile-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
  .mobile-feature-record.is-playing{animation:none!important}
  .site-nav{transition:none!important}
  .service-item,.service-slot{transition:none!important}
}

/* The icon belongs to the rolling word and travels on the same timeline. */
.hero-content .service-heading {
  display:flex;
  justify-content:center;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-inline:auto;
  gap:0;
}
.hero-content .service-slot {
  width:auto;
  max-width:100%;
  height:1.30em;
  flex:0 0 auto;
  transition:width .66s cubic-bezier(.22,1,.36,1);
}
.hero-content .service-item {
  left:50%;
  top:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  gap:.17em;
  transform:translate3d(-50%,-50%,0) rotateX(0);
}
.hero-content .service-item img {
  display:block;
  width:.77em;
  height:.77em;
  object-fit:contain;
  flex:0 0 auto;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.08));
}
.hero-content .service-item.is-entering {
  transform:translate3d(-50%,-174%,0) rotateX(-27deg);
  opacity:0;
}
.hero-content .service-item.is-leaving {
  transform:translate3d(-50%,76%,0) rotateX(27deg);
  opacity:0;
}
@media (prefers-reduced-motion: reduce) {
  .hero-content .service-slot {transition:none!important;}
}

/* Unified night-sky transition: image fades into the EXACT section surface. */
.hero{background:#0c0d10}
.hero-sky{
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 58%,rgba(0,0,0,.82) 70%,rgba(0,0,0,.25) 88%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 58%,rgba(0,0,0,.82) 70%,rgba(0,0,0,.25) 88%,transparent 100%);
}
.hero:after{
  bottom:-1px;
  height:clamp(195px,28svh,320px);
  background:linear-gradient(180deg,transparent 0%,rgba(12,13,16,.35) 34%,rgba(12,13,16,.85) 75%,#0c0d10 100%);
  z-index:0;
}
.section-bridge{
  height:60px;
  margin-top:-1px;
  background:#0c0d10;
}
@media(max-width:700px){
  .hero{background:#0c0d10;min-height:100svh}
  .hero-sky{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 49%,rgba(0,0,0,.86) 63%,rgba(0,0,0,.42) 78%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 49%,rgba(0,0,0,.86) 63%,rgba(0,0,0,.42) 78%,transparent 100%)}
  .hero:after{height:clamp(220px,36svh,360px);background:linear-gradient(180deg,transparent,rgba(12,13,16,.42) 43%,#0c0d10 100%)}
  .section-bridge{height:28px;margin-top:-1px;background:#0c0d10}
  /* Remove stray decorative arrows on the compact buttons; keep their actions. */
  .hero-actions .hero-button>span,.site-nav .nav-install>span{display:none}
}
