
/*
 * EMOTIVE Hero Fix v5.1
 * Narrow patch loaded after Final Theme v5.
 */

/* ---------------------------------------------------------
   REMOVE LEGACY TOP ACCENT / CORAL STRIP
   --------------------------------------------------------- */

html,
body,
.wp-site-blocks,
.emotive-site-header,
header.wp-block-template-part {
    border-top: 0 !important;
    box-shadow: none !important;
}

body::before,
body::after,
.wp-site-blocks::before,
.wp-site-blocks::after,
.emotive-site-header::before,
.emotive-site-header::after,
header.wp-block-template-part::before,
header.wp-block-template-part::after {
    border-top: 0 !important;
}

/* Catch the legacy announcement/accent strip without removing content. */
body.home .emotive-announcement-bar:empty,
body.home .emotive-top-accent,
body.home .emotive-header-accent,
body.home .emotive-site-accent {
    display: none !important;
}

/* ---------------------------------------------------------
   HERO — CLEAN RESET
   --------------------------------------------------------- */

body.home .emotive-clean-hero {
    min-height: 610px !important;
    padding: 28px 0 58px !important;
    overflow: visible !important;
}

body.home .emotive-clean-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(385px, .82fr) minmax(610px, 1.18fr) !important;
    gap: 62px !important;
    align-items: start !important;
    overflow: visible !important;
}

body.home .emotive-clean-hero-copy {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    padding-top: 10px !important;
    overflow: visible !important;
}

/* Restore the kicker explicitly. */
body.home .emotive-clean-hero-copy > .emotive-clean-kicker {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    color: #090909 !important;
    -webkit-text-fill-color: #090909 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    letter-spacing: .34em !important;
    white-space: normal !important;
}

/* Slightly reduce heading so the page breathes. */
body.home .emotive-clean-hero h1 {
    margin: 0 0 26px !important;
    padding: .08em 0 .04em !important;
    max-width: 575px !important;
    font-size: clamp(62px, 4.75vw, 82px) !important;
    line-height: .99 !important;
    overflow: visible !important;
}

body.home .emotive-clean-lead {
    margin-bottom: 26px !important;
}

body.home .emotive-clean-meta {
    margin-top: 28px !important;
}

/* ---------------------------------------------------------
   HERO COLLAGE — REBALANCE
   --------------------------------------------------------- */

body.home .emotive-clean-hero-collage {
    position: relative !important;
    width: 100% !important;
    height: 535px !important;
    min-height: 535px !important;
    margin-top: 22px !important;
    overflow: visible !important;
}

/* Reset all inherited positioning first. */
body.home .emotive-clean-hero-slot {
    position: absolute !important;
    inset: auto !important;
    margin: 0 !important;
    transform: none !important;
    overflow: hidden !important;
}

/* Tighter puzzle composition. */
body.home .emotive-clean-hero-slot-1 {
    left: 10% !important;
    top: 2% !important;
    width: 43% !important;
    height: 50% !important;
}

body.home .emotive-clean-hero-slot-2 {
    left: 53% !important;
    top: 2% !important;
    width: 39% !important;
    height: 35% !important;
}

body.home .emotive-clean-hero-slot-3 {
    left: 7% !important;
    top: 44% !important;
    width: 51% !important;
    height: 38% !important;
}

body.home .emotive-clean-hero-slot-4 {
    left: 59% !important;
    top: 33% !important;
    width: 33% !important;
    height: 49% !important;
}

/* ---------------------------------------------------------
   HERO LABELS — FULL LEGACY RESET
   --------------------------------------------------------- */

body.home .emotive-clean-hero-label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    inset: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 70px !important;
    min-width: 70px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    text-decoration: none !important;
    white-space: normal !important;
    z-index: 30 !important;
}

body.home .emotive-clean-hero-label strong {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    transform: none !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
    font-weight: 400 !important;
    color: #2A1B14 !important;
    -webkit-text-fill-color: #2A1B14 !important;
}

body.home .emotive-clean-hero-label i {
    display: block !important;
    position: static !important;
    width: 26px !important;
    height: 1px !important;
    margin: 8px 0 9px !important;
    background: rgba(42,27,20,.55) !important;
    transform: none !important;
}

body.home .emotive-clean-hero-label span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    transform: none !important;
    font-size: 8px !important;
    line-height: 1.45 !important;
    letter-spacing: .20em !important;
    color: #090909 !important;
    -webkit-text-fill-color: #090909 !important;
}

/* Place labels close to the relevant image, but inside safe canvas bounds. */
body.home .emotive-clean-hero-label-1 {
    left: 8.5% !important;
    top: 20% !important;
    transform: translateX(-100%) !important;
    text-align: right !important;
}

body.home .emotive-clean-hero-label-2 {
    left: 94% !important;
    top: 5% !important;
    transform: none !important;
    text-align: left !important;
}

body.home .emotive-clean-hero-label-3 {
    left: 5.5% !important;
    top: 66% !important;
    transform: translateX(-100%) !important;
    text-align: right !important;
}

body.home .emotive-clean-hero-label-4 {
    left: 93.5% !important;
    top: 57% !important;
    transform: none !important;
    text-align: left !important;
}

body.home .emotive-clean-hero-label-1 i,
body.home .emotive-clean-hero-label-3 i {
    margin-left: auto !important;
}

/* ---------------------------------------------------------
   SECOND COLLAGE — REMOVE EXTRA FRAME
   --------------------------------------------------------- */

body.home .emotive-clean-build-grid,
body.home .emotive-clean-placeholder-stage,
body.home .emotive-clean-placeholder-stage::before,
body.home .emotive-clean-placeholder-stage::after,
body.home .emotive-clean-slot {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.home .emotive-clean-placeholder-stage {
    background: transparent !important;
}

/* Keep only the intentional placeholder boundaries themselves. */
body.home .emotive-clean-slot .emotive-clean-placeholder {
    border: 1px dashed rgba(42,27,20,.22) !important;
}

/* Lower label full reset to prevent clipping. */
body.home .emotive-clean-label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
}

/* Pull 02/04 inwards. */
body.home .emotive-clean-label-2 {
    left: 95.5% !important;
    top: 14% !important;
}

body.home .emotive-clean-label-4 {
    left: 95% !important;
    top: 71% !important;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1100px) {
    body.home .emotive-clean-hero {
        min-height: auto !important;
    }

    body.home .emotive-clean-hero-grid {
        grid-template-columns: 1fr !important;
    }

    body.home .emotive-clean-hero-collage {
        width: min(760px, 100%) !important;
        margin: 18px auto 0 !important;
    }
}

@media (max-width: 700px) {
    body.home .emotive-clean-hero {
        padding-top: 18px !important;
    }

    body.home .emotive-clean-hero h1 {
        font-size: clamp(50px, 15vw, 70px) !important;
    }

    body.home .emotive-clean-hero-collage {
        height: 470px !important;
        min-height: 470px !important;
    }

    body.home .emotive-clean-hero-label,
    body.home .emotive-clean-label {
        width: 56px !important;
        min-width: 56px !important;
    }
}
