/* V113: keyboard-specific atmosphere. */
.custom-first-home::before,.custom-first-home::after,.nebula-page::after{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0;
  transition:opacity .7s ease;
}
.custom-first-home::before{background:radial-gradient(ellipse 70vw 85vh at 12% 64%,rgba(195,60,14,.24),transparent 70%),radial-gradient(ellipse 48vw 55vh at 95% 17%,rgba(255,120,37,.12),transparent 75%)}
.custom-first-home::after,.nebula-page::after{background:radial-gradient(ellipse 76vw 86vh at 82% 45%,rgba(137,60,226,.25),transparent 72%),radial-gradient(ellipse 48vw 54vh at 4% 81%,rgba(57,86,235,.15),transparent 74%)}
.custom-first-home[data-product-theme="inferno"]::before,.custom-first-home[data-product-theme="nebula"]::after,.nebula-page::after{opacity:1}
.custom-first-home main,.custom-first-home .site-footer,.custom-first-home .launch-banner,.nebula-page main,.nebula-page .site-footer{position:relative;z-index:1}
.custom-first-home .site-header{transition:background .55s ease,border-color .55s ease}
.custom-first-home[data-product-theme="inferno"] .site-header{background:rgba(28,13,12,.93);border-color:rgba(255,137,61,.28)}
.custom-first-home[data-product-theme="nebula"] .site-header,.nebula-page .site-header{background:rgba(19,13,34,.93);border-color:rgba(178,120,255,.3)}
.ready-card{transition:border-color .4s ease,box-shadow .5s ease,transform .32s cubic-bezier(.2,.8,.2,1)}
.custom-first-home[data-product-theme="inferno"] .inferno-card{border-color:rgba(255,140,72,.68);box-shadow:0 24px 80px rgba(211,64,18,.16),0 0 0 1px rgba(255,140,72,.14)}
.custom-first-home[data-product-theme="nebula"] .nebula-card{border-color:rgba(179,118,255,.75);box-shadow:0 24px 80px rgba(113,61,201,.22),0 0 0 1px rgba(179,118,255,.18)}
.nebula-card{border-color:rgba(172,110,242,.39);background:linear-gradient(145deg,#161225,#10121c)}
.nebula-gallery{background:radial-gradient(circle at 38% 16%,rgba(150,93,245,.27),transparent 52%),#100c18}
.nebula-gallery .lunar-gallery-stage{background:#f8f7fb}
.nebula-gallery .lunar-gallery-open img{object-fit:contain;background:#f8f7fb}
.nebula-gallery .lunar-gallery-caption span,.nebula-tag{color:#cba2ff}
.nebula-gallery .lunar-thumb.active{border-color:#b68bff;box-shadow:0 0 0 2px rgba(158,92,245,.23)}
.nebula-gallery .lunar-thumb:focus-visible,.nebula-gallery .lunar-gallery-open:focus-visible{outline-color:#d1b5ff}
.nebula-gallery .lunar-thumbnails{grid-template-columns:repeat(3,minmax(0,1fr))}
.nebula-gallery .lunar-thumb{aspect-ratio:1.2}
.nebula-gallery .lunar-thumb img{object-fit:contain;background:#f8f7fb}
.nebula-gallery .lunar-thumb span{background:rgba(24,14,39,.82)}
.nebula-disclosure{border-left-color:rgba(177,121,255,.72);background:rgba(132,73,215,.08)}
.nebula-disclosure strong{color:#e5d0ff}
.button.primary.nebula-button{background:linear-gradient(135deg,#c998ff,#9c80ef 60%,#6a79e0);border-bottom-color:#6b48aa;color:#130d25;box-shadow:0 10px 32px rgba(121,71,202,.24)}
.nebula-availability{color:#d7bdff!important;font-size:.91rem;font-weight:700}
.image-disclosure{max-width:780px;margin:14px 4px 4px;color:#c8cad8;font-size:.78rem;line-height:1.5}
.sound-pending{margin-top:20px;padding:20px;border:1px solid rgba(175,124,245,.27);border-radius:16px;background:linear-gradient(135deg,rgba(117,70,176,.12),rgba(27,22,44,.8))}
.sound-pending span{color:#caa5ff;letter-spacing:.13em;font-size:.68rem;font-weight:800}
.sound-pending p{color:#bfc0d0;margin:8px 0 0;font-size:.87rem}
.sound-pending h2{margin-top:10px;font-size:clamp(1.5rem,3vw,2.5rem)}
.nebula-product-main{border-color:rgba(184,126,251,.45);aspect-ratio:3/2;object-fit:contain;background:#f8f7fb}
.nebula-product-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px}
.nebula-product-thumbs a{display:block;aspect-ratio:1;border:1px solid rgba(181,132,245,.25);border-radius:10px;overflow:hidden;background:#f8f7fb}
.nebula-product-thumbs a:focus-visible{outline:2px solid #c39cff}
.nebula-product-thumbs img{width:100%;height:100%;object-fit:contain}
.nebula-seo img{object-fit:contain;background:#f8f7fb}
@media(max-width:1100px){.product-page-hero.nebula-page-hero{grid-template-columns:1fr}}
@media(max-width:700px){.nebula-card{grid-template-columns:1fr}.nebula-card .ready-content{padding:26px}.nebula-gallery{padding:12px}.nebula-gallery .lunar-gallery-caption{flex-wrap:wrap;gap:3px}.nebula-product-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.custom-first-home::before,.custom-first-home::after,.nebula-page::after,.custom-first-home .site-header{transition:none}}

/* V115: dedicated pre-built collection. */
.prebuilt-page{background:#090b12}.prebuilt-intro{min-height:56vh;display:flex;flex-direction:column;justify-content:flex-end;padding-top:clamp(110px,15vw,190px);padding-bottom:clamp(60px,9vw,110px);background:radial-gradient(circle at 79% 28%,rgba(139,74,230,.2),transparent 34%)}.prebuilt-intro h1{max-width:850px;margin:.2em 0;font-size:clamp(3rem,8vw,7.5rem);line-height:.9;letter-spacing:-.055em}.prebuilt-intro>p:last-child{max-width:690px;color:var(--muted);font-size:1.08rem;line-height:1.7}.prebuilt-product{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:clamp(28px,5vw,78px);align-items:center;margin:0 auto 32px;border-top:1px solid rgba(255,255,255,.11);border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(17,19,30,.92),rgba(11,13,21,.78))}.prebuilt-product.prebuilt-featured{border-color:rgba(180,126,255,.35);background:linear-gradient(145deg,rgba(42,25,67,.8),rgba(13,15,25,.88))}.prebuilt-product.inferno-card{background:linear-gradient(145deg,rgba(46,22,16,.72),rgba(13,15,22,.88))}.prebuilt-media{position:relative}.prebuilt-media img{display:block;width:100%;max-height:680px;object-fit:contain;border-radius:22px;background:#11131a}.prebuilt-featured .prebuilt-media img{background:#f7f6fa}.featured-badge{position:absolute;z-index:2;top:18px;left:18px;padding:9px 12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(25,14,43,.86);color:#e5d0ff;font-size:.72rem;font-weight:800;letter-spacing:.12em}.prebuilt-copy h2{margin:.15em 0;font-size:clamp(2.7rem,6vw,6rem);line-height:.95}.prebuilt-lead{max-width:650px;color:#ced1dc;font-size:1rem;line-height:1.65}.prebuilt-copy .ready-meta{margin:22px 0}.prebuilt-copy .product-video-sound{max-width:680px}.prebuilt-copy .product-actions{margin-top:20px}.prototype-keycap{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);gap:40px;align-items:center;margin-top:70px;background:linear-gradient(135deg,rgba(31,37,51,.72),rgba(13,15,22,.85));border-top:1px solid rgba(159,174,202,.22);border-bottom:1px solid rgba(159,174,202,.14)}.prototype-keycap h2{max-width:760px;font-size:clamp(2.2rem,5vw,4.7rem);line-height:1}.prototype-keycap p{max-width:720px;color:var(--muted);line-height:1.65}.prototype-mark{justify-self:center;width:min(310px,65vw);aspect-ratio:1;display:grid;place-content:center;text-align:center;border:12px solid #141823;border-radius:26px;background:linear-gradient(145deg,#f1f3f6,#aeb6c2);box-shadow:inset 0 -18px 24px rgba(32,38,52,.2),0 30px 70px rgba(0,0,0,.36);color:#151823;transform:rotate(-5deg)}.prototype-mark span{font-size:.72rem;font-weight:900;letter-spacing:.18em}.prototype-mark strong{font-size:clamp(4rem,10vw,7rem);line-height:.95;letter-spacing:-.08em}.prototype-mark small{font-weight:900;letter-spacing:.12em}.prebuilt-page .home-final-cta{margin-top:0}.prebuilt-page .site-footer{margin-top:0}
@media(max-width:900px){.prebuilt-product,.prototype-keycap{grid-template-columns:1fr}.prebuilt-product{padding-top:52px;padding-bottom:52px}.prebuilt-media{order:0}.prebuilt-copy{order:1}.prototype-mark{margin:15px auto 10px}.prebuilt-intro{min-height:48vh}}

/* V116: dual homepage features and compact prototype teaser. */
.custom-first-home .custom-first-hero{width:min(1500px,calc(100% - 40px));max-width:none;grid-template-columns:minmax(520px,.8fr) minmax(0,1.2fr);gap:clamp(48px,4vw,72px)}.custom-first-home .custom-first-hero h1 span{white-space:nowrap}.home-featured-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.home-featured-pair .custom-proof-card{max-width:none;align-self:start}.home-featured-pair .custom-proof-card .hero-card-media{height:auto;aspect-ratio:4/3}.home-featured-pair .hero-card-meta{padding:17px}.home-featured-pair .hero-card-meta>div:first-child p{min-height:2.5em}.home-featured-pair .customer-sound-test p{font-size:.7rem;line-height:1.5}.home-featured-pair .customer-build-actions{display:grid;grid-template-columns:1fr}.nebula-home-card{border-color:rgba(181,125,248,.48)!important;box-shadow:0 30px 80px rgba(89,48,157,.24)!important}.nebula-home-card .hero-card-media{background:#f8f7fb!important}.nebula-home-card .hero-card-meta{background:linear-gradient(145deg,#211634,#111522)!important}.home-prototype-keycap{margin-top:34px;margin-bottom:34px;padding-block:48px}.home-prototype-keycap .prototype-mark{width:min(230px,58vw)}.home-prototype-keycap h2{font-size:clamp(2rem,4vw,3.7rem)}
@media(max-width:1120px){.custom-first-home .custom-first-hero{grid-template-columns:minmax(0,1fr) minmax(320px,.85fr)}.home-featured-pair{grid-template-columns:1fr}}
@media(max-width:760px){.custom-first-home .custom-first-hero{grid-template-columns:1fr}.custom-first-home .custom-first-hero h1 span{white-space:normal}.home-featured-pair{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.home-featured-pair{grid-template-columns:1fr}}

.product-video-sound{margin-top:18px;padding:20px;border:1px solid rgba(143,171,214,.24);border-radius:16px;background:#0d121c}.product-video-sound h2,.product-video-sound h3{margin:0 0 5px}.product-video-sound>p{margin:0 0 13px;color:var(--muted);font-size:.86rem}.product-video-sound audio{display:block;width:100%;margin:16px 0 13px;accent-color:#9f83f2}.product-video-sound .sound-sequence{padding:11px 13px;border-radius:10px;background:rgba(255,255,255,.045);color:#eef0f8;font-size:.84rem;line-height:1.55}.product-video-sound .sound-note{margin:11px 0 0;font-size:.72rem;line-height:1.45}.inferno-video-sound{border-color:rgba(255,126,45,.28);background:#171316}.nebula-video-sound{border-color:rgba(181,125,248,.3);background:#151020}.nebula-price strong{color:#caa1ff}.nebula-product-discount{border-color:rgba(181,125,248,.25);background:rgba(129,70,205,.08)}.nebula-product-discount code,.nebula-product-discount strong{color:#d8b9ff}
.inferno-product-main{aspect-ratio:1122/700;object-fit:contain;background:#22252c}


/* V120: keep the featured pair clearly to the right without creating desktop overflow. */
@media (min-width: 1400px) {
  .custom-first-home .custom-first-hero {
    width: min(1540px, calc(100% - 40px));
    grid-template-columns: minmax(0, 620px) minmax(0, 660px);
    column-gap: 80px;
    justify-content: space-between;
    align-items: start;
  }

  .custom-first-home .hero-copy {
    max-width: 620px;
    z-index: 2;
  }

  .custom-first-home .home-featured-pair {
    width: 100%;
    max-width: 660px;
    justify-self: end;
    margin-left: 0;
  }
}

/* V120 deploy audit: the theme sheet loads last, so enforce the requested
   fill/crop behavior here. Full source images remain available in zoom views. */
.nebula-gallery .lunar-gallery-open img,
.nebula-gallery .lunar-thumb img,
.nebula-product-main,
.nebula-product-thumbs img,
.inferno-product-main {
  object-fit: cover;
}
