/* Room prototype (homepage copy at /room.html): the page stands in a live 3D blue studio.
   Everything that used to be blue ink on cream becomes cream ink on blue. */
.room-field{position:fixed;inset:0;z-index:0;pointer-events:none;
  /* the still that shows before the room draws, or where WebGL is unavailable */
  background:radial-gradient(120% 90% at 30% 20%,#12349f 0%,#082072 38%,#020f45 78%,#010a33 100%)}
.room-field canvas{display:block;width:100%;height:100%}
.room-on{background:#010a33}
html:has(.room-on){background:#010a33}
.room-on .suede,.room-on .blue-ground{display:none}
.room-on [data-sculpture]{display:none!important}

/* ---- words that stand directly in the room: cream ---- */
.room-on{--room-ink:#f7f5ee;--room-soft:#f7f5eed9;--room-pale:#b9cbff}
.room-on .services,.room-on .services__row,.room-on .work,.room-on .brk,.room-on .foot{color:var(--room-ink)}
.room-on .services__heading,.room-on .services__title h3,.room-on .services__number,
.room-on #how-heading,.room-on .work__head h2,.room-on .brk__motto,.room-on .foot__motto{color:var(--room-ink)!important}
.room-on .services__title p{color:var(--room-pale);opacity:1}
.room-on .services__row-arrow,.room-on .services__heading-arrow{color:var(--room-ink)}
.room-on .story-label{color:var(--room-pale)}
.room-on .how-globe__titles,.room-on .how-globe__titles span{color:var(--room-ink)!important}
.room-on .how-globe__hint{color:var(--room-soft)}
.room-on .foot__links a{color:var(--room-ink)}
.room-on .foot__loc{color:var(--room-soft)}
.room-on .foot__mark{color:var(--room-ink)}
.room-on .why__closing{color:var(--room-soft)}

/* ---- text boxes become cream cards standing in the room: their dark type stays as it is ---- */
.room-on .copy-glass,.room-on.home-story .services__detail{background:#f2f0e7ee!important;
  -webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 26px 60px -30px rgba(0,4,30,.75)!important}
.room-on.home-story .process.copy-glass{background:#f2f0e7f2!important}
.room-on .how-globe__steps button{background:#f2f0e7cc}
.room-on .how-globe__steps button[aria-pressed="true"]{background:#f2f0e7}
.room-on .how-globe__arrow{background:#f2f0e7e6}

/* ---- buttons: cream slab on blue (a blue slab would vanish into the room) ---- */
.room-on .btn,.room-on .btn--blue{border-image-source:url('/assets/v3/btn/suede-cream.webp');color:var(--blue);filter:drop-shadow(0 6px 10px rgba(0,6,40,.45))}
.room-on .hero--split .btn.btn--cream{border-image-source:url('/assets/v3/btn/suede-blue.webp');color:var(--cream)}
.room-on .copy-glass .btn,.room-on .services__detail .btn,.room-on .process .btn{border-image-source:url('/assets/v3/btn/suede-blue.webp');color:var(--cream)}
.room-on .btn:focus-visible{outline-color:var(--cream)}

/* hovering a service: the card stays a cream card, so its words and button keep their resting colours */
.room-on.home-story .services__row[data-ready="true"]:hover .services__detail,
.room-on.home-story .services__row:focus-visible .services__detail{color:#202d46}
.room-on.home-story .services__row[data-ready="true"]:hover .services__cta,
.room-on.home-story .services__row:focus-visible .services__cta{border-image-source:url('/assets/v3/btn/suede-blue.webp');color:var(--cream)}

/* a clear stretch of scroll with nothing over the room: this is where the room is seen at full strength */
.room-window{height:92svh;pointer-events:none}
@media(max-width:767px){.room-window{height:70svh}}
