/* motion v2 (24 Nov 2026): scroll effects. Loaded by index.html and the "motion v2 loader" at the end of wishlist.js (all pages except the visualiser). */
@keyframes m-rise{from{opacity:0;translate:0 26px}to{opacity:1;translate:0 0}}
@media (prefers-reduced-motion:no-preference){.hero-a-card{animation:m-rise .9s cubic-bezier(.2,.7,.2,1) .1s both}}
/* hero: slow zoom on each photo, photo scrolls slower than the page (desktop) */
.m-on .hero-a-img{transition:opacity .9s ease,scale 0s linear .9s}
.m-on .hero-a-img.on{scale:1.07;transition:opacity .9s ease,scale 7s ease-out}
@media (min-width:901px){.m-on .hero-a-img{top:-12%;height:124%;translate:0 var(--hy,0px)}}
/* reveal on scroll */
.rv{opacity:0;translate:0 28px;transition:opacity .8s ease,translate .8s cubic-bezier(.2,.7,.2,1),box-shadow .25s ease,transform .25s ease}
.rv-f{opacity:0;transition:opacity 1s ease}
.rv.in,.rv-f.in{opacity:1;translate:0 0}
/* header tucks away when scrolling down, comes back when scrolling up */
.m-on .topbar{transition:translate .35s ease,box-shadow .3s ease}
.m-on .topbar.m-sc{box-shadow:0 6px 24px rgba(0,0,0,.07)}
.m-on .topbar.m-hide{translate:0 -100%}
.m-on .tile-gal,.m-on .est-out,.m-on .sl-sum{transition:top .35s ease}
.m-on.m-up .tile-gal,.m-on.m-up .est-out,.m-on.m-up .sl-sum{top:24px}
/* rooms */
.rooms{background:var(--tint,#f4f3ef);transition:background-color .9s ease}
.rooms-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px 64px;flex-wrap:wrap;padding-bottom:24px}
.rooms-intro>div{display:flex;flex-direction:column;gap:16px;max-width:620px}
.rooms-intro .row{gap:14px 28px}
.room{background:var(--rbg);transition:background-color .9s ease}
.rooms.m-bg .room{background:transparent}
.room .wrap{display:grid;grid-template-columns:4fr 7fr 3.4fr;grid-template-areas:"t b s";gap:40px 56px;align-items:center;padding-block:96px}
.room.flip .wrap{grid-template-columns:3.4fr 7fr 4fr;grid-template-areas:"s b t"}
.room-text{grid-area:t;display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.room-text h3{font-size:clamp(30px,2.6vw,40px);font-weight:500;line-height:1.1}
.room-text p{font-size:16px;color:#333;max-width:380px}
.room-text .mute{font-size:14px}
.room-big{grid-area:b}.room-small{grid-area:s;align-self:end;margin-bottom:-40px}
.room.flip .room-small{align-self:start;margin-top:-40px;margin-bottom:0}
.room-ph{position:relative;display:block;overflow:hidden;border-radius:var(--r,16px);box-shadow:0 18px 40px rgba(0,0,0,.12);background:#e9e7e2}
.room-ph img{display:block;width:100%;aspect-ratio:4/5;height:auto;object-fit:cover;transition:transform .8s ease}
.room-small .room-ph img{aspect-ratio:3/4}
.room-ph:hover img{transform:scale(1.03)}
.room-tag{position:absolute;left:14px;bottom:12px;color:#fff;font-size:11px;font-weight:600;text-shadow:0 0 2px rgba(0,0,0,.65),0 1px 10px rgba(0,0,0,.6)}
.room-ph:hover .room-tag{text-decoration:underline}
@media (max-width:900px){
  .room .wrap,.room.flip .wrap{grid-template-columns:1.7fr 1fr;grid-template-areas:"t t" "b s";gap:28px 16px;padding-block:56px}
  .room-small,.room.flip .room-small{align-self:end;margin:0}
  .room-tag{left:10px;bottom:8px;font-size:10px}
}
@media (prefers-reduced-motion:reduce){.rooms,.room,.m-on .topbar{transition:none}.room-ph img{transition:none}}
/* word-by-word headings (words v1) */
.ws .ww{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.16em;margin-bottom:-.16em}
.ws .ww>span{display:inline-block;transform:translateY(105%);opacity:0;transition:transform .75s cubic-bezier(.2,.7,.2,1),opacity .6s ease}
.ws.wi .ww>span{transform:none;opacity:1}
@media (prefers-reduced-motion:reduce){.ws .ww>span{transform:none;opacity:1;transition:none}}
/* page banner motion (hero motion v1) */
.hero.hxm{isolation:isolate}
.hero.hxm>img.hx{opacity:0;z-index:-3;transition:opacity 1.2s ease,scale 0s linear 1.3s}
.hero.hxm>img.hx.was{opacity:1}
.hero.hxm>img.hx.on{opacity:1;z-index:-2;scale:1.07;transition:opacity 1.2s ease,scale 8s ease-out}
.hero.hxm>img.hx:first-of-type:not(.was):not(.on){opacity:1}
@media (min-width:901px){.hero.hxm>img.hx{top:-8%;height:116%;translate:0 var(--py,0px)}}
@media (max-width:900px){.hero.hxm>img.hx{grid-row:1;grid-column:1;position:relative}.hero.hxm>img.hx.on{scale:1}}
.m-on .hero .bw-rot img{transition:opacity 1.2s ease,scale 0s linear 1.3s}
.m-on .hero .bw-rot img.on{scale:1.07;transition:opacity 1.2s ease,scale 8s ease-out}
@media (prefers-reduced-motion:reduce){.hero.hxm>img.hx,.m-on .hero .bw-rot img{scale:1;transition:none}}
