/* Homepage-only cinematic edition */
.cinema {
    position: relative;
    isolation: isolate;
    background: #102c26;
    color: #fbfaf2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 690px;
    min-height: max(690px, calc(100svh - 124px))
}

.cinema-scenes,
.cinema-shade {
    position: absolute;
    inset: 0;
    z-index: -2
}

.cinema-scenes .scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
    opacity: 0;
    transition: opacity 1.1s ease;
    transform: scale(1.025)
}

.cinema-scenes .scene.active {
    opacity: 1;
    animation: filmzoom 4s ease-out both
}

.cinema-shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(7, 30, 25, .98) 0%, rgba(9, 35, 29, .91) 27%, rgba(9, 35, 29, .68) 44%, rgba(9, 35, 29, .18) 72%, rgba(9, 35, 29, .14) 100%), linear-gradient(0deg, rgba(5, 24, 20, .90), transparent 34%, transparent 72%, rgba(5, 24, 20, .34))
}

.cinema-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-block: 40px 26px;
    gap: 30px
}

.cinema-kicker,
.cinema-lower {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.cinema-kicker .eyebrow {
    color: #e0ebcb
}

.cinema-copy {
    padding: 20px 0 25px;
    max-width: 740px;
    animation: film-reveal .85s ease-out both
}

.cinema h1 {
    font-size: clamp(57px, 7.15vw, 112px);
    line-height: .99;
    letter-spacing: -.055em;
    margin: 0 0 27px;
    text-wrap: initial;
    text-shadow: 0 2px 24px #091f2740
}

.cinema h1 em {
    color: #d7e7b6
}

.cinema-copy p {
    max-width: 525px;
    color: #e2ebe0;
    font-size: 17px;
    line-height: 1.65;
    text-shadow: 0 1px 5px #0007
}

.cinema .actions {
    margin-top: 28px
}

.cinema .button {
    padding: 15px 21px
}

.cinema .cinema-outline {
    background: #102c2650;
    color: #fff;
    border-color: #ffffff80;
    backdrop-filter: blur(6px)
}

.cinema .cinema-outline:hover {
    background: #102c26cf
}

.cinema-caption {
    text-align: right;
    max-width: 400px
}

.cinema-caption span {
    color: #d7e7b6;
    font-size: 10px;
    letter-spacing: .2em;
    display: block
}

.cinema-caption strong {
    font-size: 13px;
    color: #f5f7ed;
    font-weight: 400
}

.cinema-controls {
    background: #0a251fdf;
    border-top: 1px solid #ffffff26;
    backdrop-filter: blur(12px)
}

.cinema-controls-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

.cinema-tabs {
    display: flex;
    align-items: stretch;
    gap: 24px
}

.scene-button,
.cinema-play {
    border: 0;
    background: transparent;
    color: #d3e0d4;
    padding: 17px 0;
    font-size: 12px;
    letter-spacing: .04em;
    position: relative;
    min-height: 55px
}

.scene-button span {
    color: #b8c3b1;
    font-size: 10px;
    margin-right: 8px;
    font-variant-numeric: tabular-nums
}

.scene-button[aria-pressed=true] {
    color: #fff
}

.scene-button[aria-pressed=true]:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: #c7a86a
}

.scene-button[aria-pressed=true] span {
    color: #dfc487
}

.cinema-play {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap
}

.cinema-play>span:first-child {
    font-size: 21px;
    line-height: 1
}

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

.cinema-home .statsband .stats {
    padding-block: 36px
}

.cinema-home .stats b {
    font-size: 52px
}

.cinema-home .photogrid figure {
    overflow: hidden
}

.cinema-home .photogrid img {
    transition: transform .5s ease
}

.cinema-home .photogrid figure:hover img {
    transform: scale(1.025)
}

@keyframes filmzoom {
    from {
        transform: scale(1.075)
    }

    to {
        transform: scale(1.025)
    }
}

@keyframes film-reveal {
    from {
        opacity: 0;
        transform: translateY(15px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width:860px) {
    .cinema {
        min-height: 720px;
        min-height: max(680px, calc(100svh - 100px))
    }

    .cinema-content {
        padding-block: 28px 22px;
        gap: 30px
    }

    .cinema-shade {
        background: linear-gradient(90deg, #08261fdb, #08261f55), linear-gradient(0deg, #08261ff2, transparent 52%, #08261f50)
    }

    .cinema-scenes .scene {
        object-position: 65% center
    }

    .cinema-copy {
        padding: 10px 0
    }

    .cinema h1 {
        font-size: clamp(54px, 10.6vw, 86px)
    }

    .cinema-copy p {
        font-size: 16px;
        max-width: 470px
    }

    .cinema-tabs {
        gap: 16px
    }
}

@media(max-width:560px) {
    .cinema {
        min-height: 0
    }

    .cinema-content {
        padding-top: 26px;
        gap: 42px
    }

    .cinema h1 {
        font-size: clamp(42px, 12.7vw, 66px);
        margin-bottom: 20px
    }

    .cinema-copy p {
        font-size: 15px
    }

    .cinema-copy .actions {
        gap: 9px;
        margin-top: 23px
    }

    .cinema .button {
        padding: 12px 13px;
        font-size: 12px
    }

    .cinema-lower {
        display: block
    }

    .cinema-caption {
        text-align: left;
        border-top: 1px solid #fff5;
        padding-top: 12px
    }

    .cinema-controls-inner {
        gap: 10px
    }

    .cinema-tabs {
        flex: 1;
        gap: 13px;
        justify-content: space-between
    }

    .scene-button {
        font-size: 10px;
        letter-spacing: 0;
        white-space: nowrap;
        padding: 13px 0;
        min-height: 47px
    }

    .scene-button span {
        margin-right: 4px;
        font-size: 9px
    }

    .cinema-play .play-label {
        display: none
    }

    .cinema-play {
        min-width: 27px;
        justify-content: center
    }

    .cinema-home .stats b {
        font-size: 42px
    }

    .cinema-home .statsband .stats {
        padding-block: 25px
    }
}

@media(max-width:350px) {
    .cinema-tabs {
        gap: 6px
    }

    .scene-button span {
        display: none
    }

    .cinema h1 {
        font-size: 42px
    }
}

@media(prefers-reduced-motion:reduce) {
    .cinema-scenes .scene {
        transform: none;
        animation: none !important
    }

    .cinema-copy {
        animation: none !important
    }
}

.cinema-home.hero-in-view .floating {
    visibility: hidden;
    pointer-events: none
}