/* Let seasonal hero illustrations fill the scene; keep copy readable on the art itself. */
html[data-theme][data-season] .home-v2 .home-hero.home-hero-v5::before {
    background: none !important;
}

/* Match the frame to the illustration instead of cropping it to viewport height. */
@media (min-width: 1081px) {
    html[data-theme][data-season] .home-v2 .home-hero.home-hero-v5 {
        aspect-ratio: 1672 / 941;
        min-height: 0;
        background-size: 100% auto !important;
        background-position: center top !important;
        background-repeat: no-repeat;
    }

    html[data-theme][data-season] .home-v2 .home-hero-v5 :is(h1, .home-hero-lead, .home-vista-signature) {
        color: #fff7e8 !important;
        text-shadow: 0 2px 4px rgba(15, 10, 19, .9), 0 7px 20px rgba(15, 10, 19, .78) !important;
    }

    html[data-theme][data-season] .home-v2 .home-hero-v5 .home-overline {
        color: var(--season-warm, #fff1c9) !important;
        text-shadow: 0 2px 5px rgba(15, 10, 19, .88), 0 5px 18px rgba(15, 10, 19, .7) !important;
    }

    html[data-theme][data-season] .home-v2 .home-hero-v5 .home-hero-lead {
        font-weight: 650;
    }

    html[data-theme][data-season] .home-v2 .home-hero-v5 h1 span {
        text-shadow: none !important;
        filter: drop-shadow(0 2px 3px rgba(15, 10, 19, .85));
    }

    html[data-theme="light"][data-season="ete"] .home-v2 .home-hero-v5 :is(h1, .home-overline, .home-hero-lead, .home-vista-signature),
    html[data-theme="light"][data-season="hiver"] .home-v2 .home-hero-v5 :is(h1, .home-overline, .home-hero-lead, .home-vista-signature) {
        color: #102f49 !important;
        text-shadow: 0 1px 2px rgba(255, 255, 255, .96), 0 5px 18px rgba(255, 255, 255, .86) !important;
    }

    html[data-season="halloween"] .home-v2 .home-hero-v5 .home-overline {
        color: #caff79 !important;
    }
}

/* On tablets and phones, show the whole illustration above the copy without a veil. */
@media (max-width: 1080px) {
    html[data-theme][data-season] .home-v2 .home-hero.home-hero-v5 {
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
        padding-top: calc(56.3vw + 32px) !important;
        min-height: 0;
    }

    html[data-theme][data-season] .home-v2 .home-hero-v5 .home-vista-layout {
        min-height: 0;
        padding: 0 0 28px;
    }

    html[data-theme][data-season] .home-v2 .home-hero-v5 .home-hero-copy {
        width: 100%;
    }

    html[data-theme][data-season="nouvel_an"] .home-v2 .home-hero.home-hero-v5 {
        background-position: center 70px;
        padding-top: calc(56.3vw + 102px) !important;
    }

    html[data-theme][data-season] .home-v2 .home-hero-v5 :is(h1, .home-overline, .home-hero-lead, .home-vista-signature) {
        color: var(--text) !important;
        text-shadow: none !important;
    }

    html[data-theme="light"][data-season]:not([data-season="halloween"]) .home-v2 .home-hero-v5 h1 span {
        background: none !important;
        -webkit-text-fill-color: var(--text) !important;
        color: var(--text) !important;
    }
}
/* Birthday guests start near the left third: keep copy inside the courtyard. */
@media(min-width:1081px){
    html[data-theme][data-season="anniversaire"] .home-hero-copy{width:25vw;max-width:390px}
    html[data-theme][data-season="anniversaire"] .home-hero-v5 h1{font-size:clamp(32px,2.9vw,48px);line-height:1.04}
    html[data-theme][data-season="anniversaire"] .home-hero-actions{flex-direction:column;align-items:flex-start}
}

/* Ballotin guests leave the rose arch free for the headline. */
@media(min-width:1081px){
    html[data-theme][data-season="saint_ballotin"] .home-hero-copy{width:25vw;max-width:390px}
    html[data-theme][data-season="saint_ballotin"] .home-hero-v5 h1{font-size:clamp(32px,2.9vw,48px);line-height:1.04}
    html[data-theme][data-season="saint_ballotin"] .home-hero-v5 h1>span{font-size:.8em}
    html[data-theme][data-season="saint_ballotin"] .home-hero-actions{flex-direction:column;align-items:flex-start}
}
html[data-season="saint_ballotin"] .home-hero-v5 h1>span{background:linear-gradient(90deg,#ff85b2,#ffd3e1 65%,#ec528d);background-clip:text;-webkit-background-clip:text}
html[data-theme][data-season="saint_ballotin"] .home-intro-scene{background-image:var(--home-intro-image-dark);background-size:contain;background-position:center;background-repeat:no-repeat}
html[data-theme][data-season="saint_ballotin"] .home-cinematic-intro::before{display:none}
html[data-theme][data-season="saint_ballotin"] .home-cinematic-intro{--intro-ink:#fff4ee;--intro-muted:#ffd5e2;background:#391a30}
html[data-theme="light"][data-season="saint_ballotin"] .home-cinematic-intro{background:#f3d4df}
html.has-home-intro[data-season="saint_ballotin"] .nav-wrap,
html.has-home-intro[data-season="saint_ballotin"] .menu{display:none!important}
html[data-theme][data-season="saint_ballotin"] .home-intro-stage{left:18%;top:42%;width:min(25vw,340px)}
html[data-theme][data-season="saint_ballotin"] .home-intro-title{left:18%;bottom:23%;width:min(30vw,420px)}
html[data-theme][data-season="saint_ballotin"] .home-intro-title strong{color:#fff4ee;font-size:clamp(32px,4vw,60px);text-shadow:0 2px 8px #56243d}
html[data-theme][data-season="saint_ballotin"] .home-intro-title small{color:#fff1ed;text-shadow:0 2px 6px #56243d;line-height:1.6}
@media(max-width:760px){
    html[data-theme][data-season="saint_ballotin"] .home-intro-stage{left:50%;top:18%;width:220px}
    html[data-theme][data-season="saint_ballotin"] .home-intro-title{left:50%;bottom:14%;width:86vw}
}
