/**
 * Host an Event — Figma node 1463:3098
 * https://www.figma.com/design/RgNVpZ3TrlxEWXWB9QrQjD/The-House-of-Legends?node-id=1463-3098
 * Depends on landing-page-v5.css, private-event.css, dinner-theater-experience.css (dte-fusion), artist-performances.css (video, submit base).
 */

.hae-main {
    background: #1a1a1a;
}

/* Hero: gradient closer to Figma (fade from image into page bg) */
.hae-page .pe-hero-bg::after {
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0) 30%,
        #1a1a1a 100%
    );
}

.hae-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: 800px;
    background: #c5a059;
    color: #1a1a1a;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    text-decoration: none;
    text-transform: capitalize;
    border: none;
    cursor: pointer;
}

.hae-hero-cta:hover {
    filter: brightness(1.06);
}

/* Second bg layer — mobile Figma 1579:29142 only */
.hae-page .hae-unique-section .hae-unique-bg-blend {
    display: none;
}

/* ---- A Unique Venue: same layout as .dte-fusion (dinner-theater-experience.css); PNG cutout ---- */
.hae-page .dte-fusion-photo--hae {
    background: #1a1a1a;
}

.hae-page .dte-fusion-photo--hae img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

@media screen and (max-width: 1200px) {
    .hae-page .dte-fusion-photo--hae img {
        height: auto;
        max-height: min(520px, 65vh);
    }
}

/* ---- Event Opportunities ---- */
.hae-opportunities {
    background: #2e2e2e;
    padding: 80px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hae-section-title-gold {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.12;
    font-weight: 400;
    color: #c5a059;
    text-align: center;
    margin: 0;
}

.hae-opp-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.hae-opp-card {
    min-width: 0;
    max-width: none;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hae-opp-card-media {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.hae-opp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hae-opp-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    min-height: 0;
    gap: 24px;
}

.hae-opp-card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
}

.hae-opp-card-title {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.hae-opp-card-desc {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #808080;
    margin: 0;
}

.hae-opp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: 800px;
    background: #c5a059;
    color: #1a1a1a;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    text-decoration: none;
    text-transform: capitalize;
    margin-top: auto;
    flex-shrink: 0;
    align-self: flex-start;
}

.hae-opp-btn:hover {
    filter: brightness(1.06);
}

/* ---- Why host ---- */
.hae-why {
    background: #1a1a1a;
    padding: 80px 120px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hae-why-grid {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.hae-why-col {
    flex: 1 1 240px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.hae-why-icon-wrap {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid #333;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hae-why-icon-wrap svg {
    width: 40px;
    height: 40px;
    color: #c5a059;
}

.hae-why-title {
    font-family: "Philosopher", serif;
    font-size: 24px;
    line-height: 36px;
    color: #fff;
    margin: 0;
}

.hae-why-desc {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #808080;
    margin: 0;
}

/* ---- Venue highlights ---- */
.hae-highlights {
    background: #2e2e2e;
    padding: 80px 120px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.hae-hl-rows {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hae-hl-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.hae-hl-card {
    position: relative;
    flex: 1 1 260px;
    max-width: 380px;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hae-hl-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hae-hl-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hae-hl-card-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        #1a1a1a 0%,
        rgba(26, 26, 26, 0.7) 45%,
        rgba(0, 0, 0, 0) 100%
    );
}

.hae-hl-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px 28px;
    text-align: center;
}

.hae-hl-card-inner svg {
    flex-shrink: 0;
}

.hae-hl-label {
    font-family: "Philosopher", serif;
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    margin: 0;
    max-width: 100%;
}

/* Event Inquiry submit: explicit button styles (page does not load venue-rental.css) */
.hae-page .pe-inquiry-form button.ap-artist-submit {
    box-sizing: border-box;
    flex-shrink: 0;
    min-height: 44px;
    padding: 10px 28px;
    -webkit-appearance: none;
    appearance: none;
    background: #c5a059;
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    border-radius: 800px;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    text-transform: capitalize;
}

.hae-page .pe-inquiry-form button.ap-artist-submit:hover {
    filter: brightness(1.06);
}

.hae-page .pe-inquiry-form button.ap-artist-submit:focus-visible {
    outline: 2px solid #e6e6e6;
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .hae-opportunities,
    .hae-why,
    .hae-highlights {
        padding-left: 24px;
        padding-right: 24px;
    }

    .pe-inquiry-wrap {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    /* ---- Hero — Figma 1579:29137 (strip + copy, Decophile 36/44, Philosopher 18/28, CTA 16/24) ---- */
    .hae-page .pe-hero {
        min-height: auto;
        padding: 0 0 40px;
        flex-direction: column;
        align-items: stretch;
    }

    .hae-page .pe-hero-bg {
        position: relative;
        height: 210px;
        flex-shrink: 0;
    }

    .hae-page .pe-hero-bg img {
        position: absolute;
        inset: 0;
    }

    .hae-page .pe-hero-inner {
        padding: 0 16px 48px;
        margin-top: -40px;
        gap: 16px;
        background-color: #1a1a1a;
    }

    .hae-page .pe-hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .hae-page .pe-hero-subtitle {
        font-size: 18px;
        line-height: 28px;
        max-width: 100%;
    }

    .hae-page .pe-hero-ctas {
        margin-top: 0;
    }

    .hae-page .hae-hero-cta {
        font-size: 16px;
        line-height: 24px;
        padding: 8px 16px;
    }

    /* ---- A Unique Creative Space — Figma 1579:29142 ---- */
    .hae-page .hae-unique-section.dte-fusion {
        padding: 0;
        min-height: auto;
        overflow: hidden;
    }

    .hae-page .hae-unique-section .hae-unique-bg-blend {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
    }

    .hae-page .hae-unique-section .dte-fusion-bg img.hae-unique-bg-primary {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .hae-page .hae-unique-section .dte-fusion-bg::after {
        background: linear-gradient(
            to left,
            rgba(26, 26, 26, 0) 0%,
            #1a1a1a 77.9%
        );
        z-index: 1;
    }

    .hae-page .hae-unique-section .dte-fusion-flex {
        position: relative;
        z-index: 2;
        min-height: 0;
        padding: 40px 16px;
        align-items: stretch;
    }

    .hae-page .hae-unique-section .dte-fusion-panel {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        padding: 0;
        background: transparent;
    }

    .hae-page .hae-unique-section .dte-fusion-photo--hae {
        display: none;
    }

    .hae-page .hae-unique-section .dte-fusion-content {
        gap: 32px;
        align-items: flex-start;
        text-align: left;
    }

    .hae-page .hae-unique-section .dte-fusion-heading {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0.04em;
    }

    .hae-page .hae-unique-section .dte-fusion-intro {
        font-size: 14px;
        line-height: 20px;
        color: #a6a6a6;
    }

    .hae-page .hae-unique-section .dte-fusion-intro p {
        margin: 0;
    }

    /* ---- Event Opportunities — Figma 1579:29504 ---- */
    .hae-page .hae-opportunities {
        padding: 40px 16px;
        gap: 32px;
    }

    .hae-page .hae-opportunities .hae-section-title-gold {
        font-size: 32px;
        line-height: 40px;
    }

    .hae-page .hae-opp-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hae-page .hae-opp-card-media {
        height: auto;
        aspect-ratio: 584 / 280;
    }

    .hae-page .hae-opp-card-desc {
        font-size: 14px;
        line-height: 20px;
    }

    .hae-page .hae-opp-btn {
        font-size: 16px;
        line-height: 24px;
        padding: 8px 16px;
    }

    .hae-page .hae-opp-card-title {
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    /* ---- Featured video + Ideal Show Format — Figma 1579:29569 ---- */
    .hae-page .ap-video-section {
        padding: 40px 16px 0;
    }

    .hae-page .ap-video-frame {
        aspect-ratio: 1348 / 752;
        border-radius: 0;
    }

    .hae-page .hae-why {
        padding: 32px 16px 40px;
        gap: 32px;
    }

    .hae-page .hae-why .hae-section-title-gold {
        font-size: 32px;
        line-height: 40px;
    }

    .hae-page .hae-why-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
        max-width: 100%;
    }

    .hae-page .hae-why-col {
        max-width: none;
        flex: none;
        gap: 10px;
    }

    .hae-page .hae-why-col:first-child {
        grid-column: 1 / -1;
    }

    .hae-page .hae-why-icon-wrap {
        width: 64px;
        height: 64px;
        border-width: 2px;
        border-color: #2e2e2e;
    }

    .hae-page .hae-why-icon-wrap svg {
        width: 24px;
        height: 24px;
    }

    .hae-page .hae-why-title {
        font-size: 18px;
        line-height: 28px;
    }

    .hae-page .hae-why-desc {
        font-size: 14px;
        line-height: 20px;
    }

    .hae-hl-card {
        max-width: none;
        min-height: 280px;
    }
}
