/* The studio belongs to the hero. Only the transparent product moves into the masthead. */
.home-hero {
    position: relative;
    color: #fff;
    background: #11233b;
}

.studio-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 77% 38%, #385372 0%, #243c58 24%, transparent 61%),
        linear-gradient(108deg, #101e31 8%, #172c46 62%, #102139);
}

/* Two overlapping sheets catch the same raking light as the device. */
.studio-backdrop::before,
.studio-backdrop::after {
    content: "";
    position: absolute;
    left: 43%;
    top: 70%;
    width: 85%;
    height: 160%;
    transform: rotate(-17deg);
    transform-origin: top left;
    border-top: 1px solid rgb(198 218 239 / .18);
    background: linear-gradient(180deg, rgb(113 148 184 / .14), rgb(13 32 54 / .24) 60%);
    box-shadow: 0 -10px 24px rgb(6 19 36 / .10);
}

.studio-backdrop::after {
    left: 55%;
    top: 85%;
    transform: rotate(-12deg);
    border-color: rgb(198 218 239 / .13);
    background: linear-gradient(180deg, rgb(102 135 168 / .13), transparent 70%);
}

.home-hero .hero-layout {
    position: relative;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    min-height: clamp(26rem, 37vw, 35rem);
    padding-block: clamp(3rem, 4.8vw, 5rem);
}

.home-hero .hero-copy h1 {
    color: #fff;
    font-size: clamp(3.2rem, 5.5vw, 5.65rem);
    font-weight: 620;
    line-height: 1;
}

.hero-copy h1 small {
    font-size: .59em;
    font-weight: 400;
    color: #c4d3e5;
}

.hero-copy h1 span {
    display: block;
    color: #bed3ef;
}

.home-hero .hero-summary { color: #d6e1ed; }

.hero-actions .action-primary {
    background: #f6f9fe;
    border-color: #f6f9fe;
    color: #142b48;
}

.hero-actions .action-primary i { font-size: .95em; }
.hero-actions .action-primary:hover { background: #d9e8fa; border-color: #d9e8fa; color: #132641; }
.hero-actions .action-secondary { color: #eaf0f8; border-color: rgb(219 233 250 / .42); }
.hero-actions .action-secondary:hover { color: white; background: #2a405b; border-color: #bdcde0; }
.home-hero a:focus-visible { outline-color: #c8ddff; }

.usb-showcase { position: relative; min-width: 0; }

.usb-media {
    width: 100%;
    aspect-ratio: 1.85;
}

.usb-media .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    border: 0;
}

.usb-scroll-cue {
    display: none;
    position: absolute;
    bottom: -.8rem;
    right: 5%;
    align-items: center;
    gap: .5rem;
    color: #d0dceb;
    font-size: .85rem;
    opacity: var(--cue-opacity, 1);
}

.has-usb-scene .usb-scroll-cue { display: inline-flex; }

[data-usb-hero] .usb-stage {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    transform-origin: top left;
}

.has-usb-scene .hero-photo { opacity: 0; }

@media (max-width: 760px) {
    .home-hero .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        min-height: 0;
        padding-block: clamp(1.9rem, 5vw, 2.6rem) 1.65rem;
    }
    .home-hero .hero-copy h1 { font-size: clamp(3.05rem, 8.7vw, 4.3rem); }
    .home-hero .hero-summary { max-width: 34rem; }
    .usb-showcase { width: min(100%, 31rem); justify-self: center; }
    .usb-scroll-cue { bottom: -.5rem; right: 0; font-size: .78rem; }
    .usb-scroll-cue i { display: none; }
    .studio-backdrop {
        background:
            radial-gradient(ellipse at 83% 77%, #354f6d, transparent 56%),
            linear-gradient(135deg, #122239, #1c334e);
    }
    .studio-backdrop::before { left: -15%; top: 92%; width: 150%; }
    .studio-backdrop::after { left: 16%; top: 98%; width: 130%; }
}

@media (prefers-reduced-motion: reduce) {
    .has-usb-scene .usb-scroll-cue { display: none; }
    .has-usb-scene .hero-photo { opacity: 1; }
}
