.hob-hero {
    position: relative;
}

.hob-hero--legacy {
    height: min(85vh, 860px);
    padding: var(--hob-section-padding) 0;
    color: var(--hob-primary-color);
    background-color: var(--hob-surface-color);
    background-image: var(--hob-hero-bg-mobile, none);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hob-hero--legacy .hob-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
    height: 100%;
}

.hob-hero--legacy .hob-hero__content {
    display: grid;
    gap: 18px;
}

.hob-hero--legacy .hob-hero__eyebrow {
    margin: 0;
    color: var(--hob-primary-color);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hob-hero--legacy .hob-hero__title {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.1rem, 5.2vw, 4.3rem);
}

.hob-hero--legacy .hob-hero__text {
    max-width: 620px;
    margin: 0;
    color: var(--hob-primary-color);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.hob-hero--legacy .hob-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.hob-hero--legacy .hob-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: var(--hob-border-width) solid var(--hob-primary-color);
    border-radius: var(--hob-radius-button);
    text-decoration: none;
    line-height: 1;
    text-align: center;
}

.hob-hero--legacy .hob-hero__button--primary {
    background: var(--hob-primary-color);
    color: var(--hob-background-color);
}

.hob-hero--legacy .hob-hero__button--secondary {
    background: transparent;
    color: var(--hob-primary-color);
}

.hob-hero--legacy .hob-hero__media {
    border-radius: var(--hob-radius-card);
    overflow: hidden;
    background: var(--hob-background-color);
}

.hob-hero--legacy .hob-hero__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hob-hero--video {
    min-height: 100vh;
    min-height: 100svh;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background: #000000;
}

.hob-hero--video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 48%,
        rgba(0, 0, 0, 0.28) 100%
    );
    pointer-events: none;
}

.hob-hero--video .hob-hero__media,
.hob-hero--video .hob-hero__video,
.hob-hero--video .hob-hero__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
}

.hob-hero--video .hob-hero__media {
    z-index: 0;
    overflow: hidden;
    background: #000000;
}

.hob-hero--video .hob-hero__video,
.hob-hero--video .hob-hero__poster {
    object-fit: cover;
    object-position: center;
}

.hob-hero--video .hob-hero__video {
    z-index: 0;
}

.hob-hero--video .hob-hero__poster {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    transition:
        opacity 400ms ease,
        visibility 0s linear 0s;
}

.hob-hero--video.hob-hero--video-playing .hob-hero__poster {
    visibility: hidden;
    opacity: 0;
    transition-delay: 0s, 400ms;
}

.hob-hero--video.hob-hero--video-failed .hob-hero__poster {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.hob-hero__video-content {
    position: absolute;
    left: 50%;
    bottom: calc(clamp(36px, 4vw, 60px) + env(safe-area-inset-bottom, 0px));
    z-index: 2;
    padding-right: clamp(170px, 13vw, 230px);
    color: #ffffff;
    pointer-events: none;
    transform: translateX(-50%);
}

.hob-hero__video-copy {
    display: flex;
    max-width: 650px;
    flex-direction: column;
    align-items: flex-start;
}

.hob-hero--video .hob-hero__title {
    max-width: 650px;
    margin: 0;
    color: #ffffff;
    font-family: "HOB Editorial", serif;
    font-size: clamp(2.25rem, 2.8vw, 2.75rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.04;
    text-wrap: balance;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.24);
}

.hob-hero--video .hob-hero__text {
    max-width: none;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--hob-body-font);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.55;
    white-space: nowrap;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.hob-hero--video .hob-hero__actions {
    margin-top: 20px;
    pointer-events: auto;
}

.hob-hero--video .hob-hero__button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: var(--hob-radius-button);
    background: #ffffff;
    color: var(--hob-primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.035em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        color 160ms ease;
}

.hob-hero--video .hob-hero__button:focus-visible {
    outline: 1px solid #ffffff;
    outline-offset: 3px;
}

.hob-hero__controls {
    position: absolute;
    left: 50%;
    bottom: calc(clamp(24px, 4vw, 56px) + env(safe-area-inset-bottom, 0px));
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity 180ms ease;
}

.hob-hero--js-ready .hob-hero__controls {
    visibility: visible;
    opacity: 1;
}

.hob-hero__control {
    display: inline-grid;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 0;
    place-items: center;
    color: #ffffff;
    background: transparent;
    opacity: 0.82;
    pointer-events: auto;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.28));
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.hob-hero__control:disabled {
    cursor: default;
    opacity: 0.42;
}

.hob-hero__control:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: -4px;
    opacity: 1;
}

.hob-hero__control-icon {
    display: none;
    width: 42px;
    height: 42px;
}

.hob-hero__control-svg {
    width: 100%;
    height: 100%;
}

.hob-hero__control-svg .cls-1 {
    fill: currentColor;
}

.hob-hero--muted .hob-hero__control-icon--mute,
.hob-hero--video:not(.hob-hero--muted) .hob-hero__control-icon--volume,
.hob-hero--video-paused .hob-hero__control-icon--play,
.hob-hero--video:not(.hob-hero--video-paused) .hob-hero__control-icon--pause {
    display: block;
}

@media (min-width: 768px) {
    .hob-hero--legacy {
        background-image: var(--hob-hero-bg-desktop, var(--hob-hero-bg-mobile, none));
    }
}

@media (max-width: 900px) {
    .hob-hero--video {
        min-height: max(100svh, 600px);
    }

    .hob-hero__video-content {
        bottom: calc(132px + env(safe-area-inset-bottom, 0px));
        padding-right: 0;
        text-align: center;
    }

    .hob-hero__video-copy {
        max-width: none;
        align-items: center;
    }

    .hob-hero--video .hob-hero__title {
        max-width: 100%;
        font-size: clamp(1.625rem, 5.2vw, 2rem);
        line-height: 1.06;
    }

    .hob-hero--video .hob-hero__text {
        width: min(88%, 420px);
        margin-top: 12px;
        font-size: clamp(0.95rem, 2.1vw, 1.05rem);
        white-space: normal;
    }

    .hob-hero--video .hob-hero__actions {
        margin-top: 18px;
    }

    .hob-hero__controls {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        justify-content: center;
    }

    .hob-hero__control-icon {
        width: 48px;
        height: 48px;
    }

    .hob-hero--legacy .hob-hero__inner {
        grid-template-columns: 1fr;
    }

    .hob-hero--legacy .hob-hero__media {
        order: -1;
    }
}

@media (hover: hover) and (pointer: fine) {
    .hob-hero--video .hob-hero__button:hover {
        background: rgba(255, 255, 255, 0.88);
        color: var(--hob-primary-color);
    }

    .hob-hero__control:not(:disabled):hover {
        opacity: 1;
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hob-hero--video .hob-hero__poster,
    .hob-hero__controls,
    .hob-hero__control {
        transition: none;
    }
}
