/* ============================================================
   Google-built launch carousel
   Ported from the Agent Factory surface, restyled onto this
   page's Brand Studio kit #94 tokens. The four slide images are
   the same verified assets, loaded from that published site
   rather than re-encoded here.

   The frame is PORTRAIT (1272:1888). Do not change the ratio
   without new artwork — object-fit:cover will crop the assets.
   ============================================================ */

/* ---------- hero becomes two columns once the carousel is in ---------- */
.hero-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:44px;
  align-items:start;
}
.hero-grid > .hero-copy{min-width:0;}
.hero-grid > .hero-aside{position:sticky;top:88px;min-width:0;}
@media(max-width:960px){
  .hero-grid{grid-template-columns:1fr;gap:36px;}
  .hero-grid > .hero-aside{position:static;}
}

/* ---------- the carousel ---------- */
.carousel{
  background:#0f172a;color:#cbd5e1;
  border-radius:var(--brand-radius-lg,16px);
  padding:22px;position:relative;overflow:hidden;
  display:grid;gap:16px;
}
.carousel::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(600px 300px at 90% 0%, rgba(82,160,255,.22), transparent 60%);
}
.carousel[hidden]{display:none;}

.c-stage{position:relative;max-width:330px;margin:0 auto;width:100%;}
.c-view{
  overflow:hidden;border-radius:14px;
  box-shadow:0 24px 60px rgba(0,0,0,.4);
  aspect-ratio:1272/1888;background:#0b1220;
}
.c-track{display:flex;height:100%;transition:transform .5s cubic-bezier(.2,.7,.2,1);}
.c-slide{flex:0 0 100%;margin:0;height:100%;}
.c-slide img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in;}

.c-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:38px;height:38px;border-radius:50%;
  border:1px solid rgba(255,255,255,.3);background:rgba(11,18,32,.75);
  color:#fff;font-size:24px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s ease,border-color .15s ease;
}
.c-btn:hover{background:var(--brand-primary,#52a0ff);border-color:var(--brand-primary,#52a0ff);}
.c-btn.prev{left:-12px;}
.c-btn.next{right:-12px;}
@media(max-width:420px){ .c-btn.prev{left:-6px;} .c-btn.next{right:-6px;} }

.c-side{position:relative;display:flex;flex-direction:column;gap:10px;}
.c-k{
  font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;
  color:#93c5fd;
}
.c-side h3{color:#fff;font-size:19px;line-height:1.3;}
.c-side p{font-size:14.5px;color:#cbd5e1;line-height:1.6;}
.c-dots{display:flex;gap:8px;margin-top:4px;}
.c-dots button{
  width:10px;height:10px;border-radius:50%;border:0;padding:0;
  background:rgba(255,255,255,.25);cursor:pointer;transition:all .2s ease;
}
.c-dots button.on{background:var(--brand-primary,#52a0ff);width:26px;border-radius:999px;}
.c-note{
  font-size:12.5px;color:#7f8ea3;line-height:1.55;
  border-top:1px solid rgba(255,255,255,.1);padding-top:12px;margin-top:2px;
}

/* ---------- lightbox ---------- */
.lightbox{
  position:fixed;inset:0;z-index:100;background:rgba(5,10,20,.88);
  display:none;align-items:center;justify-content:center;flex-direction:column;
  gap:14px;padding:28px;cursor:zoom-out;
}
.lightbox.open{display:flex;}
.lightbox img{
  max-width:min(560px,92vw);max-height:82vh;border-radius:12px;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.lb-cap{color:#cbd5e1;font-size:13.5px;text-align:center;max-width:800px;}
.lb-x{
  position:absolute;top:18px;right:22px;width:40px;height:40px;border-radius:50%;
  border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);
  color:#fff;font-size:24px;cursor:pointer;
}

/* ---------- reduced motion: no autoplay, no slide animation ---------- */
@media (prefers-reduced-motion:reduce){
  .c-track{transition:none;}
}
