:root {
  --ink: #f7f0e3;
  --muted: rgba(246, 236, 219, 0.66);
  --copper: #bb8660;
  --brown: #271810;
  --night: #18110e;
  --cream: #ede0cc;
  --ease-cinematic: cubic-bezier(.2, .78, .16, 1);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--night);
  font-family: Manrope, Arial, sans-serif;
}

button { font: inherit; }

button:focus-visible {
  outline: 1px solid #fff5df;
  outline-offset: 5px;
}

.experience { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }

.grain, .sun-wash { position: absolute; inset: 0; z-index: 20; pointer-events: none; }

.grain { opacity: .15; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.sun-wash { background: radial-gradient(circle at 9% 5%, rgba(255,244,205,.24), transparent 24%), linear-gradient(112deg, rgba(255,215,151,.1), transparent 35%, rgba(43,23,14,.16)); mix-blend-mode: screen; }

.entry, .room { position: absolute; inset: 0; transition: opacity .8s var(--ease-cinematic), visibility .8s var(--ease-cinematic); }

.entry {
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #302117;
  transition: opacity .8s var(--ease-cinematic), visibility .8s var(--ease-cinematic);
}

.entry::before, .entry::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.entry::before { z-index: 1; background: linear-gradient(90deg, rgba(23,13,8,.24), transparent 42%, rgba(23,13,8,.12)), linear-gradient(0deg, rgba(20,11,7,.26), transparent 43%); }
.entry::after { z-index: 2; background: radial-gradient(ellipse at 50% 52%, transparent 44%, rgba(16,9,5,.16) 100%); }
.entry-facade { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; transform: scale(1); transform-origin: center; transition: transform 1.45s var(--ease-cinematic); }
.entry-handle-highlight { stroke: #ffd49a; stroke-width: 3; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 6px rgba(254,192,94,.92)); transition: opacity .3s ease; }

.entry-copy { position: absolute; z-index: 4; left: clamp(24px, 6vw, 92px); bottom: clamp(45px, 7vw, 88px); }
.eyebrow { margin: 0; color: var(--muted); font: 500 10px/1.25 "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.entry h1, .entry-subtitle, .entry-foot { display: none; }
.entry-manifesto { margin: 0; color: #fff3df; font: 400 clamp(28px, 2.5vw, 43px)/1.12 "Playfair Display", Georgia, serif; letter-spacing: 0; text-shadow: 0 2px 22px rgba(21,11,6,.78); white-space: nowrap; }

.door {
  position: absolute;
  z-index: 3;
  top: 5.4%;
  left: 31.6%;
  width: 33.2%;
  height: 82.8%;
  min-height: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: none;
}
.door:hover ~ .entry-facade .entry-handle-highlight, .door:focus-visible ~ .entry-facade .entry-handle-highlight { opacity: 1; }
.door-leaf, .door-frame { display: none; }
.door-handle { display: none; }
.door-reflection { display: none; }
.door-instruction { position: absolute; z-index: 6; bottom: 26px; left: 0; right: 0; display: grid; gap: 7px; color: #fff5e5; text-align: center; text-shadow: 0 1px 10px rgba(13,7,4,.88); transition: opacity .5s ease; }
.door-instruction b { font: 500 20px/1 "Playfair Display", Georgia, serif; }
.door-instruction em { color: rgba(255,245,230,.64); font: 10px/1 "DM Mono", monospace; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

.room { z-index: 2; visibility: hidden; opacity: 0; background: #1b110d; }
.room::before { content: ""; position: absolute; z-index: 4; inset: -18%; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--detail-x, 50%) var(--detail-y, 50%), rgba(255,226,165,.28), rgba(246,184,103,.12) 12%, transparent 31%); filter: blur(12px); mix-blend-mode: screen; transform: scale(.88); transition: opacity .42s ease, transform .9s var(--ease-cinematic); }
.room.is-object-open::before { opacity: 1; transform: scale(1); animation: detail-bloom 1.65s var(--ease-cinematic) both; }
.room-image-wrap { position: absolute; inset: 0; overflow: hidden; background: #120c09; cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none; }
.room-image-wrap::after { content: ""; position: absolute; z-index: 4; inset: 0; pointer-events: none; opacity: var(--daylight-glow, .28); background: radial-gradient(ellipse at 79% 38%, rgba(255,231,173,.15), transparent 34%); mix-blend-mode: screen; animation: window-glow 18s ease-in-out infinite alternate; }
.room-image-wrap.is-zoomed { cursor: grab; }.room-image-wrap.is-grabbing { cursor: grabbing; }
.room-backdrop { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(30px) saturate(.7) brightness(.42); opacity: .38; transform: scale(1.08); }
.interior-frame { position: absolute; z-index: 2; inset: 0; overflow: hidden; }
.scene-layer { position: absolute; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; transform: translate3d(0, 0, 0); transition: transform .84s cubic-bezier(.18,.78,.2,1), opacity .68s cubic-bezier(.3,.8,.25,1); will-change: transform, opacity; }
.scene-layer.is-active { opacity: 1; transform: translate3d(0, 0, 0); }
.scene-layer.is-incoming.from-right { transform: translate3d(8%, 0, 0); }.scene-layer.is-incoming.from-left { transform: translate3d(-8%, 0, 0); }
.room-image-wrap.is-transitioning.is-forward .scene-layer.is-active { opacity: 0; transform: translate3d(-5%, 0, 0); }.room-image-wrap.is-transitioning.is-backward .scene-layer.is-active { opacity: 0; transform: translate3d(5%, 0, 0); }
.room-image-wrap.is-transitioning .scene-layer.is-incoming { opacity: 1; transform: translate3d(0, 0, 0); }
.room-image { --zoom: 1; --pan-x: 0px; --pan-y: 0px; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 50%; filter: saturate(.94) contrast(1.025) sepia(.028); transform: translate3d(var(--pan-x), var(--pan-y), 0) scale(var(--zoom)); transform-origin: center; transition: transform .28s cubic-bezier(.2,.8,.24,1), filter .45s ease; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; will-change: transform; }
.room-image.is-panning { transition-duration: 0s; }
.room-image-wrap.is-zoomed .room-image { filter: saturate(1) contrast(1.055) sepia(.015); }
.room-image-wrap.is-object-focused .room-image { filter: saturate(1.03) contrast(1.075) brightness(1.035) sepia(.01); }
.room-shade { position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(16,8,5,.46), transparent 48%, rgba(16,8,5,.18)), linear-gradient(0deg, rgba(13,8,6,.55), transparent 42%, rgba(13,8,6,.16)); }
.light-beam { position: absolute; width: 28%; height: 120%; top: -20%; background: linear-gradient(90deg, transparent, rgba(255,232,180,.12), transparent); filter: blur(16px); mix-blend-mode: screen; transform: rotate(11deg); animation: sun 14s ease-in-out infinite alternate; }
.beam-one { left: 5%; }.beam-two { right: 6%; opacity: .48; animation-delay: -5s; }
.dust { position: absolute; inset: 0; opacity: .48; background-image: radial-gradient(circle, rgba(255,239,207,.9) 0 1px, transparent 1.8px); background-size: 112px 112px; mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); animation: drift 22s linear infinite; }
.steam-field { position: absolute; z-index: 4; left: 43%; top: 36%; width: 18%; height: 29%; pointer-events: none; opacity: 0; mix-blend-mode: screen; transition: opacity 1.2s ease; }
.room-image-wrap[data-scene-index="0"] .steam-field { opacity: .55; }
.steam-field i { position: absolute; bottom: 0; width: 23%; height: 78%; border-radius: 50%; background: linear-gradient(180deg, transparent 4%, rgba(255,245,224,.16) 44%, transparent); filter: blur(11px); animation: steam 5.6s ease-in-out infinite; }
.steam-field i:nth-child(1) { left: 15%; animation-delay: -2.4s; }.steam-field i:nth-child(2) { left: 41%; height: 91%; animation-delay: -4.1s; }.steam-field i:nth-child(3) { left: 66%; height: 69%; animation-delay: -.9s; }

.masthead { position: absolute; z-index: 5; top: clamp(22px, 3vw, 43px); left: clamp(23px, 4.2vw, 68px); right: clamp(23px, 4.2vw, 68px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark, .exit-button, .route-arrow, .sound-toggle { border: 0; color: var(--ink); background: none; cursor: pointer; }
.wordmark { grid-column: 2; justify-self: center; padding: 0; font: 600 clamp(29px, 2.8vw, 45px)/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .035em; }
.exit-button { grid-column: 3; justify-self: end; padding: 6px 0; color: rgba(255,241,220,.82); font: 10px "DM Mono", monospace; letter-spacing: .04em; }
.exit-button span { color: #e3bd88; font-size: 13px; }

.scene-note { position: absolute; z-index: 4; isolation: isolate; left: clamp(23px, 8.6vw, 138px); bottom: clamp(109px, 16.5vh, 152px); width: min(360px, calc(100vw - 46px)); padding: 10px 24px 14px 0; text-shadow: 0 3px 22px rgba(18,9,4,.95); transition: opacity .32s ease, transform .32s var(--ease-cinematic); }
.scene-note::before { content: ""; position: absolute; z-index: -1; inset: -42px -88px -38px -42px; pointer-events: none; background: radial-gradient(ellipse at 20% 56%, rgba(14,8,5,.82), rgba(14,8,5,.56) 43%, transparent 74%); filter: blur(17px); }
.scene-note h2 { max-width: 355px; margin: 0 0 14px; color: #fff8eb; font: 500 clamp(30px, 3.05vw, 45px)/1.12 "Playfair Display", Georgia, serif; letter-spacing: -.008em; }
.scene-note p:last-child { max-width: 338px; margin: 0; color: rgba(255,249,236,.98); font: 500 14px/1.56 Manrope, Arial, sans-serif; }
.room.is-object-open .scene-note { opacity: 0; transform: translateX(-18px); pointer-events: none; }

.object-layer { position: absolute; z-index: 5; inset: 0; pointer-events: none; opacity: 0; transition: opacity .7s var(--ease-cinematic); }.object-layer.is-visible { opacity: 1; }
.hotspot { position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px; margin: -7px; border: 0; color: rgba(255,246,229,.94); background: none; text-shadow: 0 2px 12px rgba(22,10,5,.9); cursor: pointer; pointer-events: auto; transition: opacity .6s ease, transform .6s var(--ease-cinematic); }
.hotspot[hidden] { display: none; }
.hotspot span { position: relative; width: 12px; height: 12px; border: 1px solid rgba(255,241,213,.75); border-radius: 50%; }
.hotspot span::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(246,209,153,.22); border-radius: inherit; animation: hotspot-breathe 2.8s ease-out infinite; }
.hotspot span::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #edbd7b; box-shadow: 0 0 10px rgba(236,181,111,.72); }
.hotspot b { font: 500 9px/1 "DM Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.hotspot:hover, .hotspot:focus-visible { transform: translateY(-3px); }.hotspot:hover span, .hotspot:focus-visible span { border-color: #fff; box-shadow: 0 0 0 6px rgba(246,209,153,.16); }.hotspot:focus-visible { outline: 0; }
.hotspot-menu { top: 38%; left: 45%; }.hotspot-machine { top: 52%; left: 70%; }.hotspot-beans { top: 45%; right: 8%; }.hotspot-window { top: 57%; left: 10%; }
.is-focused .hotspot { opacity: .25; }.is-focused .hotspot[data-active="true"] { opacity: 1; }

.route { position: absolute; z-index: 7; left: 50%; bottom: 30px; display: flex; align-items: center; gap: 14px; transform: translateX(-50%); pointer-events: auto; touch-action: manipulation; }
.route-stops { display: flex; align-items: center; gap: 11px; }
.route-stop { width: 7px; height: 7px; padding: 0; border: 1px solid rgba(255,241,222,.66); border-radius: 50%; background: transparent; cursor: pointer; transition: width .45s var(--ease-cinematic), background .45s ease, border-color .45s ease, box-shadow .3s ease; }
.route-stop[aria-current="true"] { width: 32px; border-radius: 10px; border-color: #f1cf9f; background: #f1cf9f; }
.route-stop:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(241,207,159,.28); }.route-arrow { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid rgba(255,241,222,.24); border-radius: 50%; color: rgba(255,241,223,.82); background: rgba(33,19,12,.26); box-shadow: inset 0 1px 0 rgba(255,246,224,.08), 0 7px 20px rgba(8,4,2,.12); font-size: 16px; touch-action: manipulation; transition: color .28s ease, transform .34s var(--ease-cinematic), border-color .28s ease, background .28s ease, box-shadow .28s ease; }.route-arrow:hover { border-color: rgba(246,211,161,.72); color: #fffaf0; background: rgba(70,41,23,.52); box-shadow: inset 0 1px 0 rgba(255,246,224,.18), 0 10px 26px rgba(8,4,2,.24); transform: translateY(-2px); }.route-arrow:active { transform: translateY(1px) scale(.96); }.route-arrow:focus-visible { outline: 0; border-color: #f1cf9f; box-shadow: 0 0 0 4px rgba(241,207,159,.24), inset 0 1px 0 rgba(255,246,224,.18); }
.inspect-controls { position: absolute; z-index: 8; right: clamp(22px, 4.3vw, 68px); bottom: 30px; display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 4px 5px 4px 9px; border: 1px solid rgba(255,239,214,.2); border-radius: 999px; background: rgba(36,21,13,.34); box-shadow: 0 8px 28px rgba(8,4,2,.17); backdrop-filter: blur(12px); }
.zoom-button, .zoom-reset { border: 0; color: rgba(255,243,221,.9); background: transparent; cursor: pointer; }.zoom-button { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; font: 400 19px/1 Arial, sans-serif; transition: color .25s ease, background .25s ease, transform .25s var(--ease-cinematic); }.zoom-button:not(:disabled):hover { color: #2f1a0e; background: #f2c98d; transform: translateY(-1px); }.zoom-button:disabled { cursor: default; opacity: .35; }.zoom-readout { min-width: 35px; color: rgba(255,242,220,.84); font: 500 9px/1 "DM Mono", monospace; letter-spacing: .04em; text-align: center; }.zoom-reset { padding: 0 6px 0 3px; color: #efca95; font: 500 8px "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; transition: color .25s ease; }.zoom-reset:hover { color: #fff5e5; }.zoom-reset[hidden] { display: none; }
.look-hint { position: absolute; z-index: 6; top: clamp(80px, 11vh, 122px); left: 50%; display: flex; align-items: center; gap: 9px; margin: 0; padding: 8px 12px; border: 1px solid rgba(255,239,214,.16); border-radius: 999px; color: rgba(255,246,232,.84); background: rgba(37,21,13,.2); box-shadow: 0 8px 28px rgba(8,4,2,.12); font: 500 9px "DM Mono", monospace; letter-spacing: .075em; text-transform: uppercase; backdrop-filter: blur(10px); transform: translateX(-50%); transition: opacity .45s ease, transform .45s var(--ease-cinematic), visibility .45s ease; }.look-hint span { width: 17px; height: 1px; background: #e1b377; }.look-hint.is-seen { visibility: hidden; opacity: 0; transform: translate(-50%, -7px); pointer-events: none; }

.object-card { position: absolute; z-index: 30; right: clamp(20px, 6vw, 100px); bottom: clamp(92px, 13vh, 128px); width: min(332px, calc(100vw - 40px)); padding: 30px 30px 26px; overflow: hidden; color: #3b2417; border: 1px solid rgba(255,240,210,.48); border-radius: 2px; background: rgba(243,226,197,.9); box-shadow: 0 20px 70px rgba(6,3,1,.36); backdrop-filter: blur(12px); animation: card-in .56s var(--ease-cinematic) both; }
.object-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #a56c47; }.object-card::after { content: ""; position: absolute; inset: -35% auto -35% -44%; width: 26%; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, rgba(255,255,244,.48), transparent); filter: blur(8px); transform: skewX(-22deg) translateX(-180%); animation: card-reflection 1.8s .22s var(--ease-cinematic) both; }.object-card > * { position: relative; z-index: 1; }.object-card[hidden] { display: none; }
.object-card .eyebrow { color: rgba(59,36,23,.62); }.object-card h2 { margin: 15px 0 12px; font: 500 32px/1.12 "Playfair Display", Georgia, serif; letter-spacing: -.008em; }.object-card > p:not(.eyebrow) { margin: 0 0 19px; color: #553b2a; font-size: 12px; line-height: 1.65; }.object-card dl { display: grid; grid-template-columns: 72px 1fr; gap: 8px 11px; margin: 0 0 24px; padding-top: 15px; border-top: 1px solid rgba(104,71,46,.2); }.object-card dt, .object-card dd { margin: 0; font: 10px/1.3 "DM Mono", monospace; }.object-card dt { color: #9a6544; }.object-card dd { color: #533624; }
.card-close { position: absolute; right: 15px; top: 12px; width: 32px; height: 32px; padding: 0; border: 0; color: #6d452f; background: transparent; font: 300 28px/1 Arial, sans-serif; cursor: pointer; }.card-action { padding: 0; border: 0; color: #6e4129; background: transparent; font: 500 10px "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }.card-action span { font-size: 14px; }

.visit-marker { position: absolute; z-index: 8; right: clamp(22px, 4.3vw, 68px); bottom: 95px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; border: 0; color: rgba(255,244,223,.92); background: transparent; font: 500 9px "DM Mono", monospace; letter-spacing: .07em; text-transform: uppercase; text-shadow: 0 2px 13px rgba(12,6,3,.9); cursor: pointer; animation: marker-arrival .8s var(--ease-cinematic) both; }.visit-marker[hidden] { display: none; }.visit-marker span { width: 9px; height: 9px; border: 1px solid rgba(255,239,208,.92); border-radius: 50%; box-shadow: 0 0 0 5px rgba(238,191,119,.12), 0 0 18px rgba(238,191,119,.48); transition: box-shadow .3s ease, transform .3s ease; }.visit-marker:hover span { transform: scale(1.22); box-shadow: 0 0 0 8px rgba(238,191,119,.18), 0 0 24px rgba(238,191,119,.72); }
.visit-card { position: absolute; z-index: 30; right: clamp(20px, 6vw, 100px); bottom: clamp(94px, 14vh, 132px); width: min(312px, calc(100vw - 40px)); padding: 28px 30px 26px; overflow: hidden; color: #3b2417; border: 1px solid rgba(255,240,210,.5); background: rgba(243,226,197,.91); box-shadow: 0 20px 70px rgba(6,3,1,.36); backdrop-filter: blur(14px); animation: card-in .56s var(--ease-cinematic) both; }.visit-card[hidden] { display: none; }.visit-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #a56c47; }.visit-card .eyebrow { color: rgba(59,36,23,.62); }.visit-card h2 { margin: 15px 0 12px; color: #3b2417; font: 500 30px/1.12 "Playfair Display", Georgia, serif; letter-spacing: -.008em; }.visit-card > p:not(.eyebrow) { margin: 0 0 21px; color: #553b2a; font-size: 12px; line-height: 1.62; }.visit-close { position: absolute; right: 15px; top: 12px; width: 32px; height: 32px; padding: 0; border: 0; color: #6d452f; background: transparent; font: 300 28px/1 Arial, sans-serif; cursor: pointer; }.visit-action { color: #6e4129; font: 500 10px "DM Mono", monospace; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }.visit-action span { font-size: 14px; }.visit-action:hover { color: #9a6544; }

.sound-toggle { position: absolute; z-index: 8; left: clamp(23px, 4.2vw, 68px); bottom: 32px; display: flex; align-items: center; gap: 9px; padding: 6px 0; color: rgba(255,241,221,.65); font: 9px "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }.sound-icon { display: flex; align-items: center; gap: 2px; height: 12px; }.sound-icon i { display: block; width: 1px; background: currentColor; transition: height .25s ease; }.sound-icon i:nth-child(1) { height: 5px; }.sound-icon i:nth-child(2) { height: 10px; }.sound-icon i:nth-child(3) { height: 6px; }.sound-toggle[aria-pressed="true"] { color: #f3c68a; }.sound-toggle[aria-pressed="true"] .sound-icon i { animation: wave .8s ease-in-out infinite alternate; }.sound-toggle[aria-pressed="true"] .sound-icon i:nth-child(2) { animation-delay: -.3s; }.sound-toggle[aria-pressed="true"] .sound-icon i:nth-child(3) { animation-delay: -.55s; }

.entered .entry { opacity: 0; visibility: hidden; pointer-events: none; }.entered .room { opacity: 1; visibility: visible; }.entering .entry-facade { transform: scale(1.12); }.entering .door-instruction { opacity: 0; }

@keyframes sun { from { transform: translateX(-14%) rotate(11deg); opacity: .7; } to { transform: translateX(22%) rotate(11deg); opacity: .22; } }
@keyframes drift { from { transform: translate3d(-15px, -12px, 0); } to { transform: translate3d(25px, 28px, 0); } }
@keyframes arrival { 0% { transform: translate3d(-50%, -50%, 0) scale(1.11); opacity: .3; } 100% { transform: translate3d(calc(-50% + var(--look-x, 0px)), calc(-50% + var(--look-y, 0px)), 0) scale(var(--focus-scale, 1)); opacity: 1; } }
@keyframes card-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wave { from { transform: scaleY(.55); } to { transform: scaleY(1.2); } }
@keyframes steam { 0% { transform: translate3d(-8px, 18px, 0) scaleX(.8); opacity: 0; } 18% { opacity: .7; } 100% { transform: translate3d(13px, -48px, 0) scaleX(1.55); opacity: 0; } }
@keyframes window-glow { from { transform: translateX(-2%) scale(1); } to { transform: translateX(3%) scale(1.06); } }
@keyframes marker-arrival { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes detail-bloom { 0% { opacity: 0; transform: scale(.84); } 58% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
@keyframes hotspot-breathe { 0% { opacity: .7; transform: scale(.56); } 72%, 100% { opacity: 0; transform: scale(1.28); } }
@keyframes card-reflection { 0% { opacity: 0; transform: skewX(-22deg) translateX(-180%); } 24% { opacity: .58; } 74% { opacity: 0; transform: skewX(-22deg) translateX(650%); } 100% { opacity: 0; transform: skewX(-22deg) translateX(650%); } }

@media (max-width: 760px) {
  .entry-facade { transform-origin: 54% center; }.entry-copy { left: 23px; bottom: 64px; }.door { top: 7%; left: 23%; width: 54%; height: 78%; }.door-instruction { bottom: 18px; }
  .entry-manifesto { max-width: none; font-size: clamp(22px, 6vw, 30px); }
  .interior-frame { inset: 0; width: 100%; height: 100%; }.masthead { top: 22px; }.scene-state { display: none; }.scene-note { left: 23px; bottom: 119px; width: min(310px, calc(100vw - 46px)); }.scene-note h2 { font-size: clamp(31px, 8.2vw, 39px); }.scene-note p:last-child { font-size: 13px; line-height: 1.52; }.route { bottom: 28px; gap: 12px; }.route-stops { gap: 8px; }.route-stop[aria-current="true"] { width: 22px; }.route-arrow { width: 33px; height: 33px; }.look-hint { display: none; }.sound-toggle { left: 23px; bottom: 70px; }.exit-button { font-size: 9px; }
  .hotspot { transform: scale(.87); transform-origin: left center; }.hotspot-menu { top: 38%; left: 45%; }.hotspot-machine { top: 52%; left: 70%; }.hotspot-beans { top: 45%; right: 8%; }.hotspot-window { top: 57%; left: 10%; }.object-card { right: 20px; bottom: 107px; padding: 26px 25px 23px; }.object-card h2 { font-size: 29px; }
}

@media (max-width: 760px) {
  .room-image { object-position: 54% 50%; }
  .inspect-controls { right: 19px; bottom: 87px; padding-left: 7px; }
  .zoom-reset { display: none; }
}

@media (max-width: 760px) {
  .scene-note { bottom: 62px; }
  .scene-note h2 { font-size: clamp(29px, 7.4vw, 35px); }
  .visit-marker { z-index: 9; right: 19px; bottom: 137px; }
  .visit-card { top: 32px; right: 20px; bottom: auto; padding: 25px 25px 22px; }
  .visit-card h2 { font-size: 28px; }
  .room.is-visit-open .scene-note { opacity: 0; transform: translateX(-12px); pointer-events: none; transition: opacity .32s ease, transform .32s ease; }
}

@media (max-width: 760px) and (max-height: 520px) {
  .sound-toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
