/* Fuller room on desktop: the drawing reaches the window edges and its borders dissolve
   into the page instead of ending in a hard rectangle (light and evening modes). */
@media(min-width:801px) and (min-aspect-ratio:1/1){
.room-world{width:max(min(100%,calc((100svh - 85px)*1.5*1.1)),calc((100svh - 85px)*1.5));top:56px}
.room-art,.room-color-art{
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 6%,#000 94%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 4%,#000 84%,transparent 98%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0,#000 6%,#000 94%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 4%,#000 84%,transparent 98%);
  mask-composite:intersect;mask-size:100% 100%;mask-repeat:no-repeat}
}

/* Evening: the hovered object reads as lit by a lamp, not grey. */
.room-evening .room-color-art{filter:brightness(.66) saturate(1.7) contrast(1.05)}

.wall-photo-travel img{object-position:50% 62%}
/* The intro note on the right is gone on desktop; the figure in the room opens About */
@media(min-width:801px){.room-note{display:none}}

/* Extra props drawn in the room's ink style; they take colour with their object on hover */
.room-props{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}
.room-props *{stroke:#3e3025;stroke-width:1.15;stroke-linejoin:round;stroke-linecap:round;fill:#f5f0e6;transition:fill .23s ease}
.room-props .detail,.room-props .strap,.room-props .frame,.room-props .culture-line{fill:none}
.room-props text{stroke:none;fill:#3e3025;font:700 15px/1 Arial,sans-serif;letter-spacing:-.3px}
.room-props text.small{font:700 7px/1 Arial,sans-serif}
.room-props text.tiny{font:700 7px/1 Arial,sans-serif}
.room-props .culture{fill:#f5f0e6}
.room-props .colony{fill:#f5f0e6;stroke-width:.6}
/* hover colour */
.room-world[data-color="cemex"] .prop-cemex .wood{fill:#8a5a32}
.room-world[data-color="cemex"] .prop-cemex .rock{fill:#7d7a76}
.room-world[data-color="cemex"] .prop-cemex .snow{fill:#ffffff}
.room-world[data-color="cemex"] .prop-cemex .lens{fill:#cfe6f2}
.room-world[data-color="cemex"] .prop-cemex .strap{stroke:#2a2a2a;stroke-width:1.6}
.room-world[data-color="cemex"] .prop-cemex .mask-body{fill:#fbfbfb}
.room-world[data-color="cemex"] .prop-cemex .paper{fill:#d9d4ca}
.room-world[data-color="cemex"] .prop-cemex .logo{fill:#023a87}
.room-world[data-color="cemex"] .prop-cemex .stripe-r{fill:#e4002b}
.room-world[data-color="cemex"] .prop-cemex .stripe-b{fill:#023a87}
.room-world[data-color="cemex"] .prop-cemex .plastic{fill:#f2f2ee}
.room-world[data-color="cemex"] .prop-cemex .cap{fill:#e4002b}
.room-world[data-color="cemex"] .prop-cemex .cap2{fill:#1f5fbf}
.room-world[data-color="cemex"] .prop-cemex .label{fill:#023a87}
.room-world[data-color="cemex"] .prop-cemex .label+text{fill:#fff}
.room-world[data-color="biotechnology"] .prop-bio .glass{fill:#e8f3f6}
.room-world[data-color="biotechnology"] .prop-bio .agar{fill:#f3e3a6}
.room-world[data-color="biotechnology"] .prop-bio .colony{fill:#3f9a4a}
.room-world[data-color="biotechnology"] .prop-bio .culture{fill:#6fbf5a}
/* evening */
.room-evening .room-props *{stroke:#e9e2d4;fill:#141414}
.room-evening .room-props .detail,.room-evening .room-props .strap,.room-evening .room-props .frame,.room-evening .room-props .culture-line{fill:none}
.room-evening .room-props text{stroke:none;fill:#e9e2d4}
@media(max-width:800px){.room-props *{stroke-width:1.3}}

.room-props .bag1-paint{opacity:0;transition:opacity .23s ease}
.room-world[data-color="cemex"] .room-props .bag1-paint{opacity:1}
.room-props .bag1-paint *{stroke:none}
.room-props .logo1{font:800 19px/1 Arial,sans-serif;letter-spacing:-.6px;fill:#023a87!important;paint-order:stroke;stroke:#dcd8d0!important;stroke-width:3px}

/* Drawn bags: same paper and ink as the illustration */
.room-props .drawn-bags *{stroke:#4c3626;stroke-width:1.5;fill:#f2ebdf}
.room-props .drawn-bags .side{fill:#ebe3d5}
.room-props .drawn-bags .fold{fill:none;stroke-width:1}
.room-props .drawn-bags .fold.thin{stroke-width:.7;opacity:.75}
.room-props .drawn-bags .stripe{fill:url(#stripe-ink);stroke-width:.8}
.room-props .drawn-bags .logo{stroke:none;fill:#4c3626;font:900 17px/1 "Arial Black","Helvetica Neue",Arial,sans-serif;letter-spacing:-.4px;text-anchor:middle}
.room-props .drawn-bags .bag-lying .logo{font-size:15px}
.room-world[data-color="cemex"] .drawn-bags .paper{fill:#d9d6d0}
.room-world[data-color="cemex"] .drawn-bags .side{fill:#c8c4bd}
.room-world[data-color="cemex"] .drawn-bags .logo{fill:#023a87}
.room-world[data-color="cemex"] .drawn-bags .stripe.r{fill:#e4002b}
.room-world[data-color="cemex"] .drawn-bags .stripe.b{fill:#023a87}
.room-evening .room-props .drawn-bags *{stroke:#e9e2d4;fill:#141414}
.room-evening .room-props .drawn-bags .stripe{fill:#555}
.room-evening .room-props .drawn-bags .logo{fill:#e9e2d4;stroke:none}
