.hero:has(.hero-gallery){padding-bottom:65px}
.hero:has(.hero-gallery) .hero__inner{height:clamp(360px,44vh,500px)}
.hero:has(.hero-gallery) .hero__title .l--1,.hero:has(.hero-gallery) .hero__title .l--3{font-size:clamp(42px,6.8vw,108px)}
.hero:has(.hero-gallery) .hero__pill{top:auto;bottom:24px}
.hero-gallery{position:relative;z-index:5;width:100%;padding:24px var(--pad) 0;isolation:isolate}
.hero-gallery__stage{position:relative;width:min(540px,43vw);height:clamp(260px,26vw,350px);margin:0 auto 35px;perspective:1500px;transform-style:preserve-3d;touch-action:pan-y;user-select:none;cursor:grab}
.hero-gallery__stage:active{cursor:grabbing}
.hero-gallery__card{position:absolute;inset:0;width:100%;height:100%;padding:0;overflow:hidden;border-radius:8px;background:var(--paper);box-shadow:0 18px 38px -22px #25211d60;transform:translate3d(calc(var(--offset)*47%),0,var(--depth)) rotateY(var(--tilt)) rotateZ(var(--lean)) scale(var(--scale));transition:transform .7s cubic-bezier(.22,1,.36,1);backface-visibility:hidden}
.hero-gallery.is-visible .hero-gallery__card{will-change:transform}
.hero-gallery__card img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.hero-gallery__card::after{content:"";position:absolute;inset:0;background:#25211d;opacity:.28;transition:opacity .7s;pointer-events:none}
.hero-gallery__card.is-active::after{opacity:0}
.hero-gallery__caption{position:absolute;inset:auto 0 0;padding:40px 24px 23px;background:linear-gradient(transparent,#17130fc4);color:var(--ivory);text-align:left;pointer-events:none;z-index:1}
.hero-gallery__caption strong{display:block;font-family:var(--f-disp);font-size:clamp(20px,2.2vw,30px);font-weight:400;letter-spacing:.12em}.hero-gallery__caption>span{display:block;font-size:11px;margin-top:9px;letter-spacing:.08em;opacity:.85}
.hero-gallery__controls{display:flex;justify-content:center;align-items:center;gap:14px;position:relative;margin:0 auto;width:fit-content;background:#faf8f49c;border:1px solid var(--line);border-radius:999px;padding:4px 10px}
.hero-gallery__arrow{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;font-size:20px;transition:background .2s}.hero-gallery__arrow:hover{background:#25211d0c}
.hero-gallery__dots{display:flex;gap:0;align-items:center}.hero-gallery__dot{width:30px;height:44px;position:relative;padding:0}.hero-gallery__dot::before{content:"";position:absolute;width:6px;height:6px;left:12px;top:19px;border-radius:999px;background:var(--ink);opacity:.35;transition:transform .4s,opacity .4s}.hero-gallery__dot[aria-pressed=true]::before{transform:scaleX(3);opacity:1}
.hero-gallery__meta{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:22px;margin-top:20px;font-size:11px;line-height:1.8;letter-spacing:.08em}.hero-gallery__detail{border-bottom:1px solid var(--line)}.hero-gallery__current{color:var(--muted);font-variant-numeric:tabular-nums}.hero-gallery__pause{font-size:10px;color:var(--ink-2);padding:8px}
@media(max-width:760px){.hero:has(.hero-gallery) .hero__inner{height:400px}.hero:has(.hero-gallery) .hero__title .l--1,.hero:has(.hero-gallery) .hero__title .l--3{font-size:10vw}.hero-gallery{padding-top:10px}.hero-gallery__stage{width:74vw;height:57vw;min-height:210px;margin-bottom:27px}.hero-gallery__card{transform:translate3d(calc(var(--offset)*34%),0,var(--depth)) rotateY(var(--tilt)) rotateZ(var(--lean)) scale(var(--scale))}.hero-gallery__caption{padding:30px 18px 18px}.hero-gallery__controls{gap:3px}.hero-gallery__meta{gap:14px}.hero:has(.hero-gallery) .hero__pill{bottom:16px}.hero:has(.hero-gallery){padding-bottom:45px}}
@media(prefers-reduced-motion:reduce){.hero-gallery__card,.hero-gallery__card::after,.hero-gallery__dot::before{transition:none}}

/* Compact introduction keeps the room cards at the visual centre. */
.hero:has(.hero-gallery){min-height:100svh;padding-bottom:32px;display:flex;flex-direction:column;justify-content:center}
.hero:has(.hero-gallery) .hero__inner{height:auto;flex:none;padding:104px 24px 26px}
.hero__intro{text-align:center}
.hero__eyebrow{font-size:13px;letter-spacing:.2em;color:var(--muted);margin:0 0 14px}
.hero:has(.hero-gallery) .hero__title{width:auto}
.hero:has(.hero-gallery) .hero__title .l--1{font-size:clamp(40px,4vw,64px);line-height:1.2;letter-spacing:.16em}
.hero:has(.hero-gallery) .hero-gallery{padding-top:12px}
@media(max-width:760px){
 .hero:has(.hero-gallery){padding-bottom:24px}
 .hero:has(.hero-gallery) .hero__inner{height:auto;padding:100px 20px 24px}
 .hero:has(.hero-gallery) .hero__title .l--1{font-size:clamp(36px,9vw,52px)}
 .hero__eyebrow{font-size:11px;margin-bottom:12px}
}

/* Keep the single hero headline closer to the navigation. */
.hero:has(.hero-gallery){justify-content:flex-start}
.hero:has(.hero-gallery) .hero__inner{padding-top:96px}
@media(max-width:760px){.hero:has(.hero-gallery) .hero__inner{padding-top:92px}}
