/* ============================================================
   TOPHAT VIP — Home Hero (matched Yukon + text card pair)
   Scoped: #page-home .hero-diagonal only
   ============================================================ */

#page-home .hero-diagonal.page-header-band {
    padding-top: calc(4rem + 2rem) !important;
}

#page-home .hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: stretch;
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Shared premium card shell */
#page-home .hero-card {
    box-sizing: border-box;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(201, 168, 76, 0.32);
    border-radius: 1rem;
    background: rgba(0, 3, 37, 0.62);
    backdrop-filter: blur(10px);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(201, 168, 76, 0.18);
}

#page-home .hero-yukon-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#page-home .hero-yukon-media {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}

#page-home .hero-yukon-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

#page-home .hero-copy-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

#page-home .hero-copy-panel .animate-in {
    width: 100%;
    text-align: center;
}

#page-home .hero-copy-panel .gold-divider {
    margin-left: auto;
    margin-right: auto;
}

#page-home .hero-copy-panel .flex {
    justify-content: center;
    width: 100%;
}

/* Tablet: matched pair, balanced columns */
@media (min-width: 768px) and (max-width: 1023px) {
    #page-home .hero-split {
        gap: 1.5rem;
    }

    #page-home .hero-card {
        padding: 1.75rem;
    }
}

/* Fold inner / narrow desktop: match compact two-row nav height */
@media (min-width: 660px) and (max-width: 1023px),
       (orientation: portrait) and (min-width: 520px) and (min-height: 650px) and (max-width: 1023px) {
    #page-home .hero-diagonal.page-header-band {
        padding-top: calc(5.65rem + 1.5rem) !important;
    }
}

/* Mobile: stack Yukon card above text card */
@media (max-width: 767px) {
    #page-home .hero-diagonal.page-header-band {
        height: auto !important;
        max-height: none !important;
        min-height: 100vh !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: calc(4rem + 1.25rem) !important;
    }

    #page-home .hero-split {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    #page-home .hero-yukon-card {
        order: 1;
        min-height: auto;
    }

    #page-home .hero-copy-panel {
        order: 2;
    }

    #page-home .hero-yukon-media {
        min-height: clamp(10rem, 38vh, 16rem);
    }

    #page-home .hero-yukon-image {
        max-height: min(38vh, 16rem);
    }
}
