*{ box-sizing:border-box; margin:0; padding:0; }

body{
  min-height:100vh;
  background:
    radial-gradient(90% 70% at 82% 10%, rgba(40,64,120,.55) 0%, transparent 55%),
    linear-gradient(160deg, #0a1226 0%, #070c1a 55%, #05080f 100%);
  background-color:#070c1a;
  overflow-x:hidden;
}

/* ---- scroll sections ---- */
.section{
  position:relative;
  min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  padding:0 clamp(16px,2vw,32px);
}

.section-inner{
  width:100%;
  opacity:0; transform:scale(.97);
  transition:opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
}
.section-inner.visible{
  opacity:1; transform:scale(1);
}
.section-inner.gone{
  opacity:0; transform:scale(1.02);
}

/* ---- hero ---- */
.hero{
  display:flex; align-items:center; justify-content:center;
  gap:clamp(40px,6vw,80px);
  width:100%; max-width:1200px; margin:0 auto;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}

.juno-video{
  flex-shrink:0;
  width:clamp(220px,30vw,420px);
  opacity:0;
  animation:fade 1.4s ease .1s forwards;
}
.juno-video video{ width:100%; display:block; }

.hero-text{ max-width:480px; }
.hero-text .kicker{
  font-size:.8rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:#5ea8ff; margin-bottom:16px;
  opacity:0; animation:fade .8s ease .5s forwards;
}
.hero-text h1{
  font-size:clamp(2.4rem,4vw,3.4rem);
  font-weight:800; letter-spacing:-.03em; line-height:1.05;
  color:#edf1ff; margin-bottom:22px;
  opacity:0; animation:fade .9s ease .85s forwards;
}
.hero-text h1 em{
  font-style:normal; color:#5ea8ff;
  text-shadow:0 0 32px rgba(94,168,255,.5);
}
.hero-text .sub{
  font-size:clamp(1rem,1.5vw,1.15rem);
  color:#586070; line-height:1.7;
  opacity:0; animation:fade .9s ease 1.2s forwards;
}

@keyframes fade{ to{ opacity:1; } }

/* ---- moon ---- */
.moon{
  position:absolute;
  top:5vh; right:6vw;
  width:160px; height:160px;
}
.moon img{
  width:100%; height:100%; object-fit:cover; display:block;
  mix-blend-mode:screen;
  filter:drop-shadow(0 0 30px rgba(200,220,255,.3)) drop-shadow(0 0 80px rgba(140,170,255,.15));
}

/* ---- stars ---- */
.star{
  position:fixed;
  border-radius:50%;
  background:#fff;
  animation:twinkle ease-in-out infinite alternate;
}
@keyframes twinkle{
  from{ opacity:.15; transform:scale(1); }
  to{   opacity:.9;  transform:scale(1.3); }
}

/* ---- live demo section ---- */
.demo-layout{
  display:flex; align-items:center; gap:clamp(24px,3vw,40px);
  width:100%; max-width:none; margin:0;
}
.demo-video{
  position:relative;
  flex:0 0 68%; width:68%;
  border-radius:14px; overflow:hidden;
  box-shadow:0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
}
.demo-video video{ width:100%; display:block; }

/* ---- YouTube-style video controls ---- */
.vp-controls{
  position:absolute; left:0; right:0; bottom:0;
  display:flex; align-items:center; gap:12px;
  padding:10px 14px 12px;
  z-index:3;
  opacity:0; transform:translateY(6px);
  transition:opacity .25s ease, transform .25s ease;
  background:linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}
.demo-video:hover .vp-controls,
.vp-controls.scrubbing{ opacity:1; transform:translateY(0); }

/* play + mute buttons */
.vp-play, .vp-mute{
  flex-shrink:0;
  width:34px; height:34px; padding:0;
  background:none; border:none; cursor:pointer;
  color:#fff; display:flex; align-items:center; justify-content:center;
  opacity:.92; transition:opacity .15s, transform .15s;
}
.vp-play:hover, .vp-mute:hover{ opacity:1; transform:scale(1.08); }
.vp-play svg, .vp-mute svg{ width:22px; height:22px; fill:currentColor; }

/* toggle which icon shows */
.vp-icon-play, .demo-video.playing .vp-icon-play{ display:none; }
.demo-video.paused .vp-icon-play{ display:block; }
.demo-video.paused .vp-icon-pause{ display:none; }

.vp-icon-sound{ display:none; }
.demo-video.unmuted .vp-icon-sound{ display:block; }
.demo-video.unmuted .vp-icon-muted{ display:none; }

.vp-time{
  flex-shrink:0; font-size:.78rem; color:#e8edf6;
  font-variant-numeric:tabular-nums; min-width:34px; text-align:center;
}

/* the scrub track */
.vp-track{
  position:relative; flex:1; height:16px;
  display:flex; align-items:center; cursor:pointer;
}
.vp-track-bg{
  position:absolute; left:0; right:0; height:4px; border-radius:2px;
  background:rgba(255,255,255,.28);
  transition:height .12s;
}
.vp-hover{
  position:absolute; left:0; height:4px; width:0; border-radius:2px;
  background:rgba(255,255,255,.28);
  transition:height .12s;
}
.vp-fill{
  position:absolute; left:0; height:4px; width:0; border-radius:2px;
  background:#5ea8ff;
  transition:height .12s;
}
.vp-handle{
  position:absolute; left:0; top:50%;
  width:13px; height:13px; border-radius:50%;
  background:#fff; transform:translate(-50%,-50%) scale(0);
  box-shadow:0 0 0 1px rgba(0,0,0,.15), 0 2px 6px rgba(0,0,0,.4);
  transition:transform .12s;
}
/* grow on hover/scrub like YouTube */
.vp-track:hover .vp-track-bg,
.vp-track:hover .vp-hover,
.vp-track:hover .vp-fill,
.vp-controls.scrubbing .vp-track-bg,
.vp-controls.scrubbing .vp-hover,
.vp-controls.scrubbing .vp-fill{ height:6px; }
.vp-track:hover .vp-handle,
.vp-controls.scrubbing .vp-handle{ transform:translate(-50%,-50%) scale(1); }

.demo-text{
  flex:1; min-width:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}
.demo-text .kicker{
  font-size:.75rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:#5ea8ff; margin-bottom:18px;
}
.demo-text h2{
  font-size:clamp(1.8rem,3vw,2.8rem);
  font-weight:800; letter-spacing:-.03em; line-height:1.08;
  color:#edf1ff; margin-bottom:22px;
}
.demo-text h2 em{ font-style:normal; color:#5ea8ff; }
.demo-text p{
  font-size:clamp(.95rem,1.3vw,1.1rem);
  color:#6a7585; line-height:1.75; max-width:44ch;
}
.demo-text p strong{ color:#a8b4c4; font-weight:600; }

/* ---- reframe (full-width, transparent) ---- */
.reframe-card{
  position:relative;
  width:100%; margin:0;
  display:flex; align-items:center; gap:clamp(32px,6vw,120px);
  padding:clamp(28px,4vw,52px) clamp(24px,5vw,80px);
  border-radius:24px;
  border:1px solid rgba(94,168,255,.3);
  background:transparent;
  box-shadow:0 0 0 1px rgba(94,168,255,.06), 0 0 60px rgba(40,70,140,.12) inset;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}

/* lock badge above the copy */
.reframe-badge{
  position:absolute; top:-16px; left:clamp(16px,3vw,48px);
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#7fb4ff;
  background:linear-gradient(160deg, #16233f, #0c1526);
  border:1px solid rgba(94,168,255,.4);
  box-shadow:0 0 24px rgba(94,168,255,.35);
}
.reframe-badge svg{ width:22px; height:22px; }

.reframe-copy{ flex:1; min-width:0; }
.reframe-copy .kicker{
  font-size:.74rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:#5ea8ff; margin-bottom:18px;
}
.reframe-copy h2{
  font-size:clamp(1.7rem,3vw,2.6rem);
  font-weight:800; letter-spacing:-.03em; line-height:1.15;
  color:#edf1ff; margin-bottom:24px;
}
.reframe-copy h2 em{
  font-style:italic; color:#7fb4ff;
}
.reframe-punch{
  font-size:clamp(1.15rem,1.8vw,1.5rem);
  font-weight:700; letter-spacing:-.01em; line-height:1.35;
  color:#edf1ff;
}
.reframe-punch span{
  display:block; margin-top:10px;
  font-size:clamp(.95rem,1.3vw,1.1rem); font-weight:500;
  color:#7fb4ff;
}

.reframe-art{
  flex:0 0 clamp(240px,32vw,420px);
  display:flex; align-items:center; justify-content:center;
}
.reframe-art img{
  width:100%; height:auto; display:block;
  filter:drop-shadow(0 24px 50px rgba(0,0,0,.55));
}



/* ---- feature filmstrip ---- */
.strip-wrap{
  width:100%; margin:0;
  display:flex; flex-direction:column; align-items:center;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}

.strip-heading{ text-align:center; margin-bottom:40px; }
.strip-heading .kicker{
  font-size:.75rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:#5ea8ff; margin-bottom:14px;
}
.strip-heading h2{
  font-size:clamp(1.8rem,3vw,2.8rem);
  font-weight:800; letter-spacing:-.03em; line-height:1.1;
  color:#edf1ff;
}

/* stage: arrows + viewport */
.strip-stage{
  width:100%;
  display:flex; align-items:center; gap:clamp(12px,2vw,28px);
}

.strip-viewport{
  flex:1; overflow:hidden;
}

.strip-track{
  display:flex;
  transition:transform .6s cubic-bezier(.65,.05,.36,1);
}

/* one frame = full viewport width */
.strip-frame{
  flex:0 0 100%;
  display:flex; align-items:stretch; gap:clamp(24px,3vw,48px);
  padding:8px;
  opacity:.35; transform:scale(.97);
  transition:opacity .5s ease, transform .5s ease;
}
.strip-frame.active{ opacity:1; transform:scale(1); }

/* media side: clean, no frame border */
.frame-media{
  flex:0 0 46%;
  display:flex; flex-direction:column;
}
/* image + portrait slides: shrink the media, give the copy more room */
.strip-frame-img .frame-media,
.strip-frame-portrait .frame-media{
  flex:0 0 38%;
}
/* portrait video: cap width so it doesn't dominate */
.strip-frame-portrait .frame-screen video{
  width:auto; max-width:100%; max-height:60vh;
  margin:0 auto; border-radius:12px;
}

.frame-screen{
  flex:1; display:flex; align-items:center; justify-content:center;
}
.frame-screen video{
  width:100%; height:auto; max-height:56vh;
  object-fit:contain; display:block;
}
.frame-screen .frame-img{
  width:auto; height:auto; max-width:100%; max-height:52vh;
  object-fit:contain; display:block;
  filter:drop-shadow(0 20px 45px rgba(0,0,0,.5));
}
.frame-placeholder{
  width:100%; aspect-ratio:16/10; border-radius:6px;
  border:1.5px dashed rgba(120,150,220,.25);
  display:flex; align-items:center; justify-content:center;
  color:rgba(150,175,230,.4); font-size:.9rem;
}

/* info side */
.frame-info{
  flex:1; min-width:0;
  display:flex; flex-direction:column; justify-content:center;
  padding:8px 8px 8px 0;
}
.frame-num{
  font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:#5ea8ff; margin-bottom:14px;
}
.frame-name{
  font-size:clamp(1.6rem,2.6vw,2.4rem);
  font-weight:800; letter-spacing:-.02em; line-height:1.1;
  color:#edf1ff; margin-bottom:18px;
}
.frame-detail{
  font-size:clamp(.98rem,1.3vw,1.12rem);
  color:#8894a6; line-height:1.7; margin-bottom:22px;
}
.frame-bullets{
  list-style:none; display:flex; flex-direction:column; gap:12px;
}
.frame-bullets li{
  font-size:clamp(.92rem,1.2vw,1.05rem);
  color:#aeb9c9; line-height:1.5;
  display:flex; align-items:baseline; gap:12px;
}
.frame-bullets li::before{
  content:""; flex-shrink:0;
  width:6px; height:6px; border-radius:50%;
  background:#5ea8ff; box-shadow:0 0 10px rgba(94,168,255,.7);
  transform:translateY(-2px);
}

/* arrows */
.strip-arrow{
  flex-shrink:0;
  width:56px; height:56px; border-radius:50%;
  border:2px solid rgba(120,150,220,.35);
  background:rgba(20,30,55,.6);
  color:#9fb4e0; font-size:1.7rem; line-height:1;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .2s, border-color .2s, transform .15s, color .2s;
  backdrop-filter:blur(4px);
}
.strip-arrow:hover{
  background:rgba(40,60,110,.7); border-color:rgba(120,150,220,.8);
  color:#dbe6ff; transform:scale(1.08);
}
.strip-arrow:disabled{ opacity:.25; cursor:default; transform:none; }

/* dots */
.strip-dots{
  display:flex; gap:12px; margin-top:36px;
}
.strip-dot{
  width:9px; height:9px; border-radius:50%; padding:0;
  border:none; cursor:pointer;
  background:rgba(150,170,220,.28);
  transition:background .25s, transform .25s, box-shadow .25s;
}
.strip-dot:hover{ background:rgba(150,170,220,.55); }
.strip-dot.active{
  background:#5ea8ff; transform:scale(1.25);
  box-shadow:0 0 12px rgba(94,168,255,.8);
}


/* ---- FAQ section ---- */
.faq-wrap{
  width:100%; margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}

.faq-heading{ text-align:center; margin-bottom:40px; }
.faq-heading .kicker{
  font-size:.72rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:#5ea8ff; margin-bottom:12px;
}
.faq-heading h2{
  font-size:clamp(1.5rem,2.4vw,2.2rem);
  font-weight:800; letter-spacing:-.03em; line-height:1.1;
  color:#edf1ff;
}

/* single column, thin divider rows */
.faq-list{
  display:flex; flex-direction:column;
  max-width:820px; margin:0 auto;
  border-top:1px solid rgba(120,150,220,.12);
}
.faq-item{
  border-bottom:1px solid rgba(120,150,220,.12);
}

.faq-q{
  width:100%; text-align:left;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:16px 4px;
  background:none; border:none; cursor:pointer;
  font-size:1rem; font-weight:500;
  color:#c4cede; line-height:1.4;
  font-family:inherit;
  transition:color .2s;
}
.faq-q:hover{ color:#edf1ff; }
.faq-item.open .faq-q{ color:#edf1ff; }

/* small chevron */
.faq-icon{
  flex-shrink:0;
  width:16px; height:16px;
  font-size:0; line-height:0;
  position:relative;
  transition:transform .3s;
}
.faq-icon::before,
.faq-icon::after{
  content:""; position:absolute; top:50%; left:50%;
  width:9px; height:1.5px; border-radius:1px;
  background:#5ea8ff;
}
.faq-icon::before{ transform:translate(-50%,-50%) rotate(45deg) translateX(-3px); }
.faq-icon::after{  transform:translate(-50%,-50%) rotate(-45deg) translateX(3px); }
.faq-item.open .faq-icon{ transform:rotate(180deg); }

.faq-a{
  max-height:0; overflow:hidden;
  transition:max-height .35s cubic-bezier(.4,0,.2,1);
}
.faq-a p{
  padding:0 4px 18px 4px;
  font-size:.92rem;
  color:#7d899b; line-height:1.65;
}

/* ---- sticky download button ---- */
.sticky-dl{
  position:fixed; bottom:26px; right:26px;
  z-index:100; cursor:pointer;
  padding:14px 28px; border-radius:999px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
  font-size:.92rem; font-weight:600; letter-spacing:.01em;
  color:#08101f; text-decoration:none;
  background:linear-gradient(180deg, #7fbcff, #5ea8ff);
  border:1px solid rgba(160,200,255,.6);
  box-shadow:0 10px 30px rgba(40,90,180,.55), 0 0 0 1px rgba(255,255,255,.12) inset;
  transition:transform .18s ease, box-shadow .18s ease;
}
.sticky-dl:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 38px rgba(40,90,180,.7), 0 0 0 1px rgba(255,255,255,.2) inset;
}

/* ---- about section ---- */
.about-wrap{
  width:100%; max-width:640px; margin:0 auto;
  text-align:center;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}

/* circular raised avatar video */
.about-avatar{
  width:128px; height:128px; margin:0 auto 26px;
  border-radius:50%; overflow:hidden;
  background:#fff;
  border:3px solid rgba(94,168,255,.35);
  box-shadow:
    0 0 0 6px rgba(94,168,255,.08),
    0 18px 44px rgba(0,0,0,.5),
    0 6px 16px rgba(40,90,180,.35);
}
.about-avatar video{
  width:100%; height:100%; object-fit:cover; display:block;
}

.about-wrap .kicker{
  font-size:.72rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:#5ea8ff; margin-bottom:16px;
}
.about-wrap h2{
  font-size:clamp(1.8rem,3vw,2.6rem);
  font-weight:800; letter-spacing:-.03em; line-height:1.1;
  color:#edf1ff; margin-bottom:20px;
}
.about-wrap p{
  font-size:clamp(1rem,1.4vw,1.15rem);
  color:#8894a6; line-height:1.75; margin-bottom:32px;
}

.about-links{
  display:flex; flex-wrap:wrap; gap:14px; justify-content:center;
}
.about-link{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; border-radius:999px;
  font-size:1rem; font-weight:600; text-decoration:none;
  color:#dbe6ff; cursor:pointer;
  border:1px solid rgba(94,168,255,.4);
  background:rgba(30,45,80,.4);
  transition:background .2s, border-color .2s, transform .15s;
}
.about-link:hover{
  background:rgba(50,75,130,.55); border-color:rgba(94,168,255,.8);
  transform:translateY(-2px);
}
.about-link span{ font-size:1.1rem; }

/* ghost variant for github */
.about-link-ghost{
  color:#aeb9c9;
  background:transparent;
  border-color:rgba(120,150,220,.28);
}
.about-link-ghost:hover{
  color:#edf1ff; background:rgba(255,255,255,.04);
  border-color:rgba(120,150,220,.55);
}
.about-link-ghost svg{ flex-shrink:0; }

/* ---- footer ---- */
.site-footer{
  display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap; gap:10px 24px;
  padding:36px clamp(16px,4vw,48px);
  border-top:1px solid rgba(120,150,220,.12);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
  font-size:.85rem; color:#5a6678;
}
.footer-brand{ font-weight:700; color:#8894a6; letter-spacing:.02em; }
.footer-copy{ color:#5a6678; }
.footer-portfolio{
  color:#7fb4ff; text-decoration:none; font-weight:500;
  transition:color .2s;
}
.footer-portfolio:hover{ color:#a8ccff; }

/* ---- download modal ---- */
.dl-overlay[hidden]{ display:none; }
.dl-overlay{
  position:fixed; inset:0; z-index:200;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  background:rgba(4,8,16,.7);
  backdrop-filter:blur(6px);
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}
.dl-overlay.show{ opacity:1; pointer-events:auto; }

.dl-modal{
  position:relative;
  width:100%; max-width:560px;
  padding:40px 40px 32px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(24,34,58,.98), rgba(14,20,38,.98));
  border:1px solid rgba(94,168,255,.25);
  box-shadow:0 40px 100px rgba(0,0,0,.6);
  transform:translateY(12px) scale(.98);
  transition:transform .25s cubic-bezier(.22,.61,.36,1);
}
.dl-overlay.show .dl-modal{ transform:translateY(0) scale(1); }

.dl-close{
  position:absolute; top:14px; right:16px;
  width:32px; height:32px; border-radius:50%;
  background:none; border:none; cursor:pointer;
  color:#8894a6; font-size:1.5rem; line-height:1;
  transition:color .2s, background .2s;
}
.dl-close:hover{ color:#edf1ff; background:rgba(255,255,255,.06); }

.dl-kicker{
  font-size:.7rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:#5ea8ff; margin-bottom:10px; text-align:center;
}
.dl-title{
  font-size:1.5rem; font-weight:800; letter-spacing:-.02em;
  color:#edf1ff; margin-bottom:8px; text-align:center;
}
.dl-detected{
  font-size:.92rem; color:#8894a6; margin-bottom:22px; text-align:center;
}

/* three mascot cards side by side */
.dl-options{
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:10px; margin-bottom:20px;
}
.dl-opt{
  position:relative;
  display:flex; flex-direction:column; align-items:center; gap:2px;
  padding:12px 8px 14px; border-radius:14px;
  text-decoration:none; text-align:center;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(120,150,220,.16);
  transition:background .2s, border-color .2s, transform .15s;
}
.dl-opt:hover{
  background:rgba(94,168,255,.08); border-color:rgba(94,168,255,.4);
  transform:translateY(-2px);
}

/* mascot + orb logo */
.dl-orb-art{
  position:relative;
  width:130px; height:130px; margin-bottom:8px;
}
.dl-orb-art img{
  width:100%; height:100%; object-fit:contain; display:block;
}
.dl-orb-logo{
  position:absolute;
  left:50%; top:55%; transform:translate(-50%,-50%);
  width:32px; height:32px;
  color:#2a3550;
}

.dl-opt-name{ font-size:.98rem; font-weight:600; color:#edf1ff; }
.dl-opt-sub{ font-size:.78rem; color:#7d899b; }

.dl-opt.recommended{
  background:rgba(94,168,255,.12);
  border-color:rgba(94,168,255,.55);
  box-shadow:0 0 0 1px rgba(94,168,255,.2), 0 8px 24px rgba(40,90,180,.25);
}
.dl-opt.recommended::after{
  content:"For you";
  position:absolute; top:-9px; left:50%; transform:translateX(-50%);
  font-size:.58rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:#08101f; background:#5ea8ff;
  padding:2px 9px; border-radius:999px;
  white-space:nowrap;
}

.dl-note{
  font-size:.8rem; color:#5a6678; line-height:1.5; text-align:center;
}

/* ============================================================
   RESPONSIVE / MOBILE
   ============================================================ */

/* tablets and down */
@media (max-width: 900px){
  /* sections: let content breathe vertically, not locked to 100vh centering */
  .section{
    min-height:auto;
    padding:80px clamp(18px,5vw,40px);
  }
  #s1{ min-height:100vh; } /* keep hero full-height */

  /* hero stacks: video on top, text below */
  .hero{ flex-direction:column; gap:32px; text-align:center; }
  .hero-text{ max-width:100%; }
  .juno-video{ width:clamp(200px,55vw,300px); }

  /* live demo stacks */
  .demo-layout{ flex-direction:column; gap:28px; }
  .demo-video{ flex:none; width:100%; }
  .demo-text p{ max-width:100%; }

  /* reframe stacks, image above text */
  .reframe-card{
    flex-direction:column-reverse; text-align:center;
    gap:28px; padding:44px clamp(20px,5vw,36px);
  }
  .reframe-art{ flex:none; width:min(60%,260px); margin:0 auto; }
  .reframe-badge{ left:50%; transform:translate(-50%,-50%); }
  .reframe-copy .kicker,
  .reframe-copy h2,
  .reframe-punch{ text-align:center; }
  .reframe-punch{ margin:0 auto; }

  /* filmstrip: heading must wrap, not clip */
  .strip-heading h2{
    font-size:clamp(1.4rem,6vw,2rem);
    padding:0 8px;
  }
  /* filmstrip frames stack */
  .strip-frame{ flex-direction:column; gap:20px; padding:4px; }
  .frame-media,
  .strip-frame-img .frame-media,
  .strip-frame-portrait .frame-media{ flex:none; width:100%; }
  .frame-screen{ width:100%; }
  .frame-screen video,
  .frame-screen .frame-img,
  .strip-frame-portrait .frame-screen video{
    max-width:100%; max-height:42vh; margin:0 auto;
  }
  .frame-info{ padding:0; text-align:center; }
  .frame-name{ font-size:clamp(1.3rem,5vw,1.8rem); }
  .frame-bullets{ align-items:center; }
  .frame-bullets li{ text-align:left; }
  /* keep arrows tight to the edges on small screens */
  .strip-stage{ gap:8px; }
  .strip-arrow{ width:44px; height:44px; font-size:1.4rem; }
}

/* phones */
@media (max-width: 560px){
  .section{ padding:64px 16px; }

  /* moon smaller so it doesn't crowd the hero */
  .moon{ width:100px; height:100px; top:3vh; right:4vw; }

  /* hero video a touch smaller */
  .juno-video{ width:clamp(180px,60vw,240px); }

  /* download modal: single column of options, full-width */
  .dl-modal{ max-width:100%; padding:32px 20px 24px; }
  .dl-options{ grid-template-columns:1fr; gap:8px; }
  .dl-opt{ flex-direction:row; align-items:center; gap:14px; text-align:left; padding:12px 14px; }
  .dl-orb-art{ width:64px; height:64px; margin-bottom:0; flex-shrink:0; }
  .dl-orb-logo{ width:20px; height:20px; }
  .dl-opt.recommended::after{ top:-8px; left:auto; right:12px; transform:none; }

  /* sticky download button: smaller, hugs the corner */
  .sticky-dl{ bottom:16px; right:16px; padding:12px 22px; font-size:.85rem; }

  /* footer wraps cleanly */
  .site-footer{ flex-direction:column; gap:8px; text-align:center; padding:28px 16px; }

  /* filmstrip media a bit shorter to fit */
  .frame-screen video,
  .frame-screen .frame-img{ max-height:36vh; }

  /* video controls: tighten spacing */
  .vp-controls{ gap:8px; padding:8px 10px 10px; }
  .vp-time{ font-size:.72rem; min-width:30px; }
}

/* video controls always visible on touch devices (no hover) */
@media (hover: none){
  .vp-controls{ opacity:1; transform:none; }
}
