/* Keep the full-width scenes within the document's scroll container. */
html:has(#cinematic-home),
body:has(#cinematic-home),
body:has(#cinematic-home) .main-content {
    overflow-x: clip;
}

body:has(#cinematic-home) :is([data-ln-ai-chat], [data-pwa-install]) {
    display: none !important;
}

#cinematic-home .ch-journey .ch-hero {
    position: relative;
    display: block;
    padding: 0;
    height: 100svh;
    min-height: 0;
    max-height: none;
    border: 0;
    overflow: clip;
}

#cinematic-home .ch-journey:not([data-ready]) .ch-hero {
    position: relative;
    height: clamp(320px, 70svh, 720px);
}

#cinematic-home .ch-journey .ch-hero-grid,
#cinematic-home .ch-journey .ch-universe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
}

#cinematic-home .ch-journey .ch-carousel,
#cinematic-home .ch-journey .ch-slide {
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    clip-path: none;
    transition: none;
}

#cinematic-home .ch-journey .ch-slide {
    transform: none;
    visibility: hidden;
}

#cinematic-home .ch-journey .ch-slide[data-active] {
    visibility: visible;
}

#cinematic-home .ch-journey[data-ready] :is(.ch-hero, .ch-hero-grid, .ch-universe, .ch-carousel) {
    height: auto;
}

#cinematic-home .ch-journey[data-ready] .ch-hero-wide :is(.ch-universe, .ch-carousel) {
    position: relative;
}

#cinematic-home .ch-journey[data-ready] .ch-slide,
#cinematic-home .ch-journey[data-ready] .ch-slide[data-active] {
    position: relative;
    display: block;
    height: 100svh;
    visibility: visible;
    opacity: 1;
}

#cinematic-home .ch-journey .u-scene {
    opacity: 1;
    transition: none;
}

#cinematic-home .ch-journey :is(.u-chapter, .u-heading, .u-story, .u-chip, .u-box-lid > span:last-child) {
    display: none;
}

#cinematic-home .ch-journey .ch-capability-scene {
    grid-template-columns: 1fr;
    place-items: center;
    width: 650px;
}

#cinematic-home .ch-journey .ch-capability-symbol {
    width: 390px;
    height: 390px;
    border-radius: 104px;
}

#cinematic-home .ch-journey .ch-capability-symbol svg {
    width: 190px;
    height: 190px;
}

#cinematic-home #ch-features {
    padding-block: clamp(24px, 5svh, 56px) 64px;
}

#cinematic-home #ch-features .ch-section-heading {
    margin-bottom: clamp(16px, 3svh, 30px);
}

#cinematic-home #ch-features .ch-tool {
    min-height: 0;
    padding: clamp(10px, 1.5vw, 19px);
}

#cinematic-home #ch-features .ch-feature-visual {
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 0 12px;
}

#cinematic-home #ch-features .ch-tool h3 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    font-size: clamp(15px, 2vw, 23px);
    overflow-wrap: anywhere;
}

#cinematic-home #ch-features .ch-tool h3 span {
    flex: none;
    font-size: .75em;
}

#cinematic-home .ch-sound-toggle:not([hidden]) {
    position: fixed;
    z-index: 10;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom), var(--ch-consent-offset, 0px));
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ffffff35;
    border-radius: 50%;
    background: #151722;
    color: #fff;
    box-shadow: 0 3px 12px #0003;
}

#cinematic-home .ch-sound-toggle .ch-sound-waves,
#cinematic-home .ch-sound-toggle[data-audible] .ch-sound-cross {
    display: none;
}

#cinematic-home .ch-sound-toggle[data-audible] .ch-sound-waves {
    display: initial;
}
