#hero_image .csg-hero-video-controls {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    max-width: calc(100% - 3rem);
}

#hero_image .csg-hero-video-controls button {
    min-width: 44px;
    min-height: 44px;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 2rem;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font: 600 0.8rem/1.2 Arial, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
}

#hero_image .csg-hero-video-controls button:hover,
#hero_image .csg-hero-video-controls button:focus-visible {
    background: #000;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

#hero_image .csg-hero-video-sound[aria-pressed="true"] {
    background: #fff;
    color: #000;
}

#hero_image .csg-hero-video-sound[aria-pressed="true"]:hover,
#hero_image .csg-hero-video-sound[aria-pressed="true"]:focus-visible {
    background: #eaeaea;
    color: #000;
}

#hero_image .csg-hero-video-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    #hero_image .csg-hero-video-controls {
        right: 1rem;
        bottom: 1rem;
        max-width: calc(100% - 2rem);
    }
}

/* The homepage reel contains its own typography: preserve the whole 16:9 frame. */
body.home #dsn_header {
    --csg-film-gutter: clamp(16px, 2vw, 40px);
    --csg-admin-bar-height: 0px;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
    padding: 100px var(--csg-film-gutter) 20px !important;
    background: #080808;
}

body.home.admin-bar #dsn_header {
    --csg-admin-bar-height: 32px;
}

body.home #dsn_header > .entry-header {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

body.home #dsn_header::before,
body.home #dsn_header > .entry-header::after {
    display: none;
}

body.home #dsn_header #hero_image.top_hero_img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    transform: none !important;
    background: #000;
}

body.home #dsn_header #hero_image.top_hero_img::before {
    pointer-events: none;
}

body.home #dsn_header #hero_image video#video_play {
    position: relative !important;
    inset: 0 !important;
    display: block;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    /* Use the full available width, even below the fold, without cropping the reel. */
    max-height: none !important;
    margin: 0;
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
    background: #000;
}

body.home #dsn_header #hero_image .csg-hero-video-controls {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 56px;
    padding: 6px 12px;
    align-items: center;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.home #dsn_header > .dsn-scroll-bottom {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    min-height: 44px;
    margin: 12px auto 0;
    color: #fff;
    letter-spacing: 0.2em;
}

body.home #dsn_header > .dsn-scroll-bottom .text {
    writing-mode: horizontal-tb;
}

body.home #dsn_header > .dsn-scroll-bottom::before {
    position: static;
    width: 32px;
    height: 1px;
    margin: 0;
    background: rgba(255, 255, 255, 0.6);
}

body.home #dsn_header > .dsn-scroll-bottom::after {
    display: none;
}

body.home #dsn_header > .dsn-scroll-bottom:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 782px) {
    body.home.admin-bar #dsn_header {
        --csg-admin-bar-height: 46px;
    }
}

@media (max-width: 767px) {
    body.home #dsn_header {
        --csg-film-gutter: 12px;
        padding-top: 92px !important;
    }

    body.home #dsn_header #hero_image video#video_play {
        max-height: none !important;
    }

    body.home #dsn_header #hero_image .csg-hero-video-controls {
        justify-content: center;
    }
}
