:root {
  color-scheme:dark;
  --bg:#05080e;
  --text:#f0f5fc;
  --muted:#929faf;
  --blue:#299dce;
  --line:#ffffff20
}
* {
  box-sizing:border-box
}
html {
  scroll-padding-top:56px;
  background:var(--bg)
}
body {
  margin:0;
  min-width:320px;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow-x:hidden
}
::selection {
  background:#299dce44
}
a {
  color:inherit;
  text-decoration:none
}
button {
  font:inherit
}
a:focus-visible,button:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:6px
}
.topbar {
  position:fixed;
  inset:0 0 auto;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:56px;
  padding:0 clamp(20px,5vw,100px);
  border-bottom:1px solid var(--line);
  background:#070d17d9;
  backdrop-filter:blur(22px)
}
.brand {
  font-size:20px;
  font-weight:650;
  letter-spacing:-.8px
}
.brand-dot {
  color:var(--blue)
}
.nav {
  display:flex;
  align-items:center;
  gap:28px;
  font-size:12px;
  color:#c2cddd
}
.nav a:hover {
  color:var(--blue)
}
.buy-link {
  border:1px solid #ffffff40;
  border-radius:30px;
  padding:6px 14px
}
.sequence-scene {
  position:relative;
  height:235svh
}
.scene-sticky {
  height:100svh;
  min-height:720px;
  position:sticky;
  top:0;
  overflow:hidden;
  background:radial-gradient(ellipse at 70% 55%,#10243d 0%,#080f1c 42%,var(--bg) 74%)
}
.hero-copy {
  position:absolute;
  z-index:3;
  top:clamp(104px,16vh,190px);
  left:clamp(24px,6vw,120px);
  width:36%;
  pointer-events:none
}
.hero-copy a {
  pointer-events:auto
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:2.5px;
  font-size:11px;
  color:var(--blue);
  font-weight:600;
  margin:0 0 25px
}
h1,h2 {
  font-weight:560;
  letter-spacing:-.025em;
  line-height:1.12;
  margin:0
}
h1 {
  font-size:clamp(52px,5.3vw,100px)
}
h2 {
  font-size:clamp(46px,5vw,88px)
}
.lede {
  max-width:390px;
  margin:28px 0;
  font-size:clamp(16px,1.25vw,21px);
  line-height:1.6;
  color:var(--muted)
}
.text-action {
  display:inline-flex;
  align-items:center;
  gap:28px;
  font-size:13px;
  border-bottom:1px solid #ffffff45;
  padding:0 0 10px
}
.text-action:hover {
  color:var(--blue);
  border-color:var(--blue)
}
.instrument-stage {
  position:absolute;
  left:43%;
  right:3%;
  top:18%;
  bottom:12%;
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  container-type:size;
  perspective:1700px
}
.instrument-frame {
  position:relative;
  width:min(100%, calc(100cqh * 1.6));
  flex:none;
  transform:rotateY(-8deg) rotateX(3deg) rotateZ(-2deg);
  border:0;
  outline:1px solid transparent;
  backface-visibility:hidden;
  isolation:isolate;
  /* Feather only the outer pixel before the 3D transform. The video and
     knob details remain sharp; the diagonal silhouette gains alpha coverage. */
  mask-image:linear-gradient(90deg,transparent,#000 1px,#000 calc(100% - 1px),transparent),
             linear-gradient(0deg,transparent,#000 1px,#000 calc(100% - 1px),transparent);
  mask-composite:intersect;
  box-shadow:0 60px 100px #000b;
  border-radius:9px;
  overflow:hidden;
  aspect-ratio:1.6
}
.instrument-frame img,.instrument-frame canvas {
  display:block;
  width:100%;
  height:100%
}
.sequence-canvas {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0
}
.sequence-canvas.ready {
  opacity:1
}
.scene-footer {
  position:absolute;
  bottom:32px;
  left:clamp(24px,6vw,120px);
  right:clamp(24px,6vw,120px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:10px;
  letter-spacing:1.6px;
  color:var(--muted)
}
.scroll-hint {
  display:flex;
  gap:22px;
  align-items:center
}
.scroll-hint span {
  color:var(--blue);
  font-size:20px
}
.sound-scene {
  height:210svh
}
.sound-scene .scene-sticky {
  background:var(--bg)
}
.sound-copy {
  position:absolute;
  z-index:2;
  left:clamp(24px,6vw,120px);
  top:27%;
  width:35%
}
.small-note {
  font-size:11px;
  color:#6c7f97
}
.macro-stage {
  position:absolute;
  left:43%;
  right:-7%;
  height:84%;
  top:9%;
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)
}
.macro-stage img {
  width:100%;
  height:100%;
  object-fit:cover
}
.macro-stage::after {
  position:absolute;
  content:"";
  inset:0;
  background:linear-gradient(0deg,var(--bg),transparent 24%,transparent 80%,var(--bg));
  pointer-events:none
}
.motion-toggle {
  background:transparent;
  border:1px solid #ffffff35;
  color:var(--muted);
  border-radius:30px;
  padding:9px 13px;
  font-size:11px;
  letter-spacing:0;
  cursor:pointer
}
.motion-toggle span {
  color:var(--blue);
  margin-left:12px
}
.detail-section {
  padding:120px clamp(24px,8vw,140px);
  border-top:1px solid var(--line)
}
.detail-inner {
  max-width:1200px;
  margin:auto
}
.spec-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:50px;
  row-gap:52px;
  margin-top:80px
}
.spec-card {
  border-top:1px solid #ffffff25;
  padding-top:22px
}
.spec-index {
  color:#4b7c9b;
  font-size:11px;
  letter-spacing:2px;
  margin:0 0 32px
}
.spec-card h3 {
  font-size:25px;
  letter-spacing:-.8px;
  font-weight:500;
  margin:0 0 18px
}
.spec-card p:not(.spec-index) {
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
  margin:0
}
.spec-footnote {
  margin:60px 0 0;
  color:#6e8198;
  font-size:11px;
  line-height:1.8
}
.buy-section {
  min-height:75vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:100px 24px;
  background:radial-gradient(ellipse at 50% 100%,#102a49,transparent 65%);
  border-top:1px solid var(--line)
}
.buy-section h2 {
  font-size:clamp(65px,10vw,150px)
}
.availability {
  color:var(--muted);
  margin:35px 0
}
.site-footer {
  padding:25px clamp(24px,6vw,120px);
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  color:#6a7e98;
  font-size:10px;
  letter-spacing:1px
}
@media(min-width:1800px) {
  .instrument-stage {
    right:4%;
    left:42%
  }
}
@media(max-width:900px) {
  .scene-sticky {
    min-height:770px
  }
  .hero-copy {
    top:105px;
    width:75%
  }
  h1 {
    font-size:clamp(48px,8vw,70px)
  }
  .hero-copy .lede {
    max-width:420px;
    font-size:16px;
    margin:20px 0
  }
  .instrument-stage {
    left:5%;
    right:5%;
    top:60%;
    bottom:9%;
    padding:12px
  }
  .hero-copy .text-action {
    display:none
  }
  .sound-copy {
    width:70%;
    top:110px
  }
  .sound-copy .lede {
    max-width:380px;
    font-size:16px
  }
  .sound-copy h2 {
    font-size:56px
  }
  .macro-stage {
    left:12%;
    right:-15%;
    top:45%;
    height:48%
  }
  .spec-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:40px
  }
  .detail-section {
    padding-block:85px
  }
}
@media(max-width:540px) {
  .topbar {
    padding-inline:20px
  }
  .nav {
    gap:18px
  }
  .nav a:nth-child(2),.nav a:nth-child(3) {
    display:none
  }
  .brand {
    font-size:18px
  }
  .scene-sticky {
    min-height:800px
  }
  .hero-copy {
    left:24px;
    right:24px;
    width:auto;
    top:100px
  }
  h1 {
    font-size:53px
  }
  .eyebrow {
    font-size:9px;
    margin-bottom:22px
  }
  .hero-copy .lede {
    font-size:15px;
    max-width:310px;
    line-height:1.55
  }
  .instrument-stage {
    top:60%;
    left:4%;
    right:4%;
    bottom:10%;
    padding:8px
  }
  .scene-footer {
    bottom:24px;
    font-size:8px;
    letter-spacing:1px
  }
  .scroll-hint {
    max-width:135px;
    gap:8px;
    line-height:1.5
  }
  .sound-copy {
    top:100px;
    left:24px;
    right:24px;
    width:auto
  }
  .sound-copy h2 {
    font-size:51px
  }
  .sound-copy .lede {
    font-size:15px;
    max-width:300px
  }
  .small-note {
    font-size:9px
  }
  .macro-stage {
    top:49%;
    left:7%;
    right:-22%;
    height:40%
  }
  .spec-grid {
    grid-template-columns:1fr;
    margin-top:50px;
    gap:35px
  }
  .spec-index {
    margin-bottom:16px
  }
  .detail-section h2 {
    font-size:45px
  }
  .spec-card h3 {
    font-size:24px
  }
  .site-footer {
    letter-spacing:0;
    font-size:9px
  }
}
@media(prefers-reduced-motion:reduce) {
  .sequence-scene {
    height:auto
  }
  .scene-sticky {
    position:relative
  }
  .scroll-hint {
    display:none
  }
}
body.motion-off .sequence-scene {
  height:auto
}
body.motion-off .scene-sticky {
  position:relative
}
body.motion-off .scroll-hint {
  display:none
}




/* Keep the complete instrument below its copy on narrow or zoomed layouts. */
@media(max-width:900px) {
  .hero-scene .scene-sticky {
    display:flex;
    flex-direction:column;
    min-height:100svh;
  }
  .hero-copy {
    position:relative;
    inset:auto;
    width:auto;
    margin:100px 6vw 0;
    flex:none;
  }
  .hero-copy h1 {font-size:clamp(35px, min(7vw, 6.5svh), 60px)}
  .instrument-stage {
    position:relative;
    inset:auto;
    flex:1;
    min-height:0;
    margin:20px 5vw 12px;
    padding:12px;
  }
  .hero-scene .scene-footer {
    position:relative;
    inset:auto;
    margin:0 6vw 22px;
    flex:none;
  }
}
@media(max-width:540px) {
  body {min-width:0}
  .nav {gap:12px;white-space:nowrap}
  .hero-copy {margin:86px 24px 0}
  .hero-copy h1 {font-size:clamp(32px, min(9vw, 6svh), 48px)}
  .hero-copy .eyebrow {margin-bottom:16px}
  .hero-copy .lede {font-size:14px;line-height:1.4;margin:16px 0}
  .instrument-stage {margin:14px 12px 10px;padding:8px}
  .hero-scene .scene-footer {margin:0 24px 18px;font-size:7px}
}

/* Automatic playback needs no pinned scroll distance. */
.sequence-scene, .sound-scene {height:auto}
.scene-sticky {position:relative}



.macro-stage {overflow:hidden}

#motion-source {position:fixed;left:0;bottom:0;width:1px;height:1px;opacity:.001;pointer-events:none}
#cursor-echo {position:fixed;inset:0;z-index:30;width:100%;height:100%;pointer-events:none;mix-blend-mode:screen}
@media(pointer:coarse),(prefers-reduced-motion:reduce) {#cursor-echo {display:none}}

/* A short viewport must not collapse the complete instrument to zero height. */
@media(max-width:900px) {
  .hero-scene .scene-sticky {height:auto;min-height:100svh}
  .instrument-stage {
    flex:0 0 auto;
    aspect-ratio:1.6;
    container-type:normal;
  }
  .instrument-frame {width:100%}
}
@media(max-width:1100px) and (max-height:600px) and (min-aspect-ratio:4/3) {
  .hero-scene .scene-sticky {display:block;height:max(100svh,360px);min-height:360px}
  .hero-copy {
    position:absolute;
    inset:84px auto auto 5%;
    width:37%;
    margin:0;
  }
  .hero-copy h1 {font-size:clamp(28px,4.2vw,42px)}
  .hero-copy .eyebrow {font-size:8px;margin-bottom:14px}
  .hero-copy .lede {font-size:13px;line-height:1.4;margin:14px 0;max-width:320px}
  .hero-copy .text-action {display:none}
  .instrument-stage {
    position:absolute;
    inset:78px 3% 50px 45%;
    margin:0;
    padding:8px;
    aspect-ratio:auto;
    container-type:size;
  }
  .instrument-frame {width:min(100%,calc(100cqh * 1.6))}
  .hero-scene .scene-footer {position:absolute;inset:auto 5% 18px;margin:0;font-size:8px}
}
