.butterfly-close{--closing-height:max(100svh,880px);position:relative;padding:0;border:0;isolation:isolate;scroll-margin-top:0;background:var(--bg)}
.butterfly-stage{height:var(--closing-height);position:relative}
.butterfly-panel{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;overflow:hidden;background:var(--bg);clip-path:inset(0 round 0)}
.butterfly-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.butterfly-film{opacity:0;pointer-events:none;transition:opacity .3s ease}
.butterfly-film.is-playing{opacity:1}
@media(prefers-reduced-motion:reduce){.butterfly-film{display:none;transition:none}}
.butterfly-panel:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,var(--bg) 0%,var(--bg) 12%,#090f0ccc 23%,#090f0c33 42%,#02050299 65%,#020502c7 100%),radial-gradient(ellipse 50% 35% at 50% 28%,#040a06cc,transparent 100%)}
.butterfly-copy{position:relative;z-index:1;text-align:center;padding:clamp(110px,15svh,170px) 24px 36px;max-width:1100px}
.butterfly-eyebrow{font-size:10px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:#b8c7ac;margin:0 0 22px}
.butterfly-copy h2{font-size:clamp(48px,7vw,104px);font-weight:450;line-height:1.06;letter-spacing:-.055em;color:#f5f7ef;text-shadow:0 4px 18px #0009,0 12px 42px #0006;margin:0;text-wrap:balance}
.butterfly-description{font-size:clamp(14px,1.15vw,17px);line-height:1.6;color:#d6dfcf;text-shadow:0 2px 8px #000b;margin:20px 0 25px;text-wrap:balance}
.butterfly-copy .btn{display:inline-flex;min-width:172px;justify-content:space-between;font-size:14px;min-height:48px}
.butterfly-close .butterfly-footer{position:relative;z-index:1;width:min(1080px,84%);padding:28px 0 20px;margin-top:auto;border:0;background:none;color:#bcc9b5;font-size:12px}
.butterfly-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:34px}
.butterfly-footer .closing-label{font-size:10px;font-weight:550;letter-spacing:.1em;text-transform:uppercase;margin:0 0 15px;color:#e2e9d9}
.butterfly-footer .closing-location{margin-top:18px;font-size:11px;color:#99aa94;line-height:1.8}
.butterfly-footer nav{height:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;font-size:12px}
.butterfly-footer nav .closing-label{margin-bottom:7px}
.butterfly-footer a:hover{color:#f4f8eb}
.closing-wordmark{display:block;width:100%;font-size:clamp(90px,18vw,246px);font-weight:600;line-height:.87;letter-spacing:-.075em;text-align:center;padding-bottom:.1em;color:#dce4d0;background:linear-gradient(170deg,#f3f5e9 8%,#b3c5a8 50%,#5c7458 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.butterfly-close.is-scroll-enabled{height:var(--closing-height)}
.is-scroll-enabled .butterfly-stage{position:relative;height:var(--closing-height)}
.is-scroll-enabled .butterfly-panel{clip-path:inset(10% 7% round 24px);will-change:clip-path}
@media(max-width:640px){.butterfly-close{--closing-height:max(100svh,880px)}.butterfly-copy{padding:115px 24px 40px}.butterfly-copy h2{font-size:clamp(42px,12vw,64px)}.butterfly-description{max-width:285px;margin-inline:auto}.butterfly-eyebrow{font-size:9px;letter-spacing:.11em;margin-bottom:20px}.butterfly-art{object-position:47% bottom}.butterfly-footer{width:86%;padding-bottom:24px}.butterfly-footer-grid{grid-template-columns:1fr 1fr;gap:24px;padding-bottom:28px}.butterfly-studio{grid-column:1/-1}.butterfly-footer .closing-location{margin-top:10px}.closing-wordmark{font-size:19vw}.butterfly-close.is-scroll-enabled{height:var(--closing-height)}}
@media(prefers-reduced-motion:reduce){.butterfly-close.is-scroll-enabled{height:auto}.is-scroll-enabled .butterfly-stage{position:relative}.is-scroll-enabled .butterfly-panel{clip-path:none!important;will-change:auto}}

/* A single, gentle entrance; scroll expansion remains independently reversible. */
.butterfly-copy>*{transition:opacity .75s ease,transform .85s cubic-bezier(.16,1,.3,1),filter .75s ease}
.is-scroll-enabled:not(.is-revealed) .butterfly-copy>*{opacity:0;transform:translateY(24px) scale(.975);filter:blur(5px)}
.butterfly-close.is-revealed .butterfly-copy>*{opacity:1;transform:none;filter:none}
.butterfly-copy h2{transition-delay:60ms}
.butterfly-copy .butterfly-description{transition-delay:130ms}
.butterfly-copy .btn{transition-delay:200ms}
@media(prefers-reduced-motion:reduce){.butterfly-copy>*{transition:none!important;opacity:1!important;transform:none!important;filter:none!important}}

/* Match each page’s surface as it fades into the shared garden. */
.booking-page .butterfly-close{--bg:#0b1510}
.case-page .butterfly-close{--bg:#0a130e}
.editorial-home .butterfly-close{background:transparent}
.editorial-home .butterfly-stage{
 opacity:var(--garden-opacity,1);
 -webkit-mask-image:linear-gradient(to bottom,transparent,#000 clamp(100px,18svh,200px));
 mask-image:linear-gradient(to bottom,transparent,#000 clamp(100px,18svh,200px));
}

/* Feather the moving image boundary into the page; keep lettering crisp above it. */
.butterfly-panel::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,var(--bg) var(--feather-x,0%),transparent calc(var(--feather-x,0%) + var(--feather-width,32px)),transparent calc(100% - var(--feather-x,0%) - var(--feather-width,32px)),var(--bg) calc(100% - var(--feather-x,0%))),linear-gradient(180deg,var(--bg) var(--feather-y,0%),transparent calc(var(--feather-y,0%) + var(--feather-width,32px)),transparent calc(100% - var(--feather-y,0%) - var(--feather-width,32px)),var(--bg) calc(100% - var(--feather-y,0%)))}
.butterfly-copy,.butterfly-close .butterfly-footer{z-index:2}

/* Two scroll beats: full garden first, then a gently eased wordmark. */
.butterfly-close.is-scroll-enabled{height:calc(var(--closing-height) + var(--logo-scroll,50svh))}
.is-scroll-enabled .butterfly-stage{position:sticky;top:var(--pin-top,min(0px,calc(100svh - var(--closing-height))))}
.is-scroll-enabled .closing-wordmark{opacity:var(--logo-opacity,0);transform:translateY(var(--logo-y,36px)) scale(var(--logo-scale,.985));transform-origin:center bottom;will-change:opacity,transform}
.is-scroll-enabled .closing-wordmark:focus-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.butterfly-close.is-scroll-enabled{height:auto}.is-scroll-enabled .butterfly-stage{position:relative;top:auto}.is-scroll-enabled .closing-wordmark{opacity:1;transform:none;will-change:auto}}
