/* LUMERSE MATERIALS BEGIN */
/* Lumerse's shared material values. Kept inline in each site's CSS for offline use. */
:root {
  --lm-cream: #f1ece1;
  --lm-paper: #fbf9f3;
  --lm-paper-bright: #fffdf8;
  --lm-ink: #1c1c1a;
  --lm-body: #4f4d46;
  --lm-teal: #0a6e5f;
  --lm-teal-press: #07594d;
  --lm-brass-text: #755d2f;
  --lm-brass-line: rgba(176,139,80,.34);
  --lm-edge: rgba(28,28,26,.12);
  --lm-edge-strong: rgba(28,28,26,.32);
  --lm-r-outer: 14px;
  --lm-r-control: 9px;
  --lm-r-pill: 999px;
  --lm-glass-nav: linear-gradient(135deg,rgba(255,255,255,.16),transparent 62%), rgba(251,249,243,.76);
  --lm-glass-photo: rgba(251,249,243,.82);
  --lm-surface-reading: rgba(251,249,243,.82);
  --lm-dark-glass: rgba(28,28,26,.86);
  --lm-dark-panel: rgba(28,28,26,.96);
  --lm-dark-solid: #1c1c1a;
  --lm-on-dark: #fff;
  --lm-on-dark-soft: rgba(255,255,255,.82);
  --lm-accent-on-dark: #79c8b5;
  --lm-specular: inset 0 1px 0 rgba(255,255,255,.8);
  --lm-rim: inset 0 0 0 1px rgba(255,255,255,.22);
  --lm-float-shadow: 0 2px 4px rgba(72,58,33,.04), 0 18px 38px -14px rgba(72,58,33,.24);
  --lm-rest-shadow: 0 1px 2px rgba(72,58,33,.025), 0 10px 24px -18px rgba(72,58,33,.18);
  --lm-track-display: -.04em;
  --lm-track-heading: -.025em;
  --lm-font: Montserrat, 'Avenir Next', 'Segoe UI', sans-serif;
}
/* LUMERSE MATERIALS END */

@font-face {
  font-family: Montserrat;
  src: url('./montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: var(--lm-font);
  font-synthesis: none;
  color: var(--lm-ink);
  background: var(--lm-cream);
  font-size: 13px;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #0a6e5f; outline-offset: 4px; }
button:disabled { opacity: .62; cursor: default; }
#experience { position: relative; width: 100%; height: 100dvh; min-height: 550px; overflow: hidden; }
#scene { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
#scene:active { cursor: grabbing; }
header, footer, .site-nav, .info {
  background: var(--lm-glass-nav);
  border: 1px solid #fffaf0db;
  box-shadow: var(--lm-specular), var(--lm-float-shadow);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-color: var(--lm-edge);
}
header {
  position: absolute; z-index: 2; top: 18px; left: 18px; right: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 70px; padding: 10px 18px; border-radius: var(--lm-r-outer);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { display: block; width: 116px; height: auto; }
.title { text-align: center; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.title span { display: block; margin-top: 2px; color: var(--lm-body); font-size: 10px; font-weight: 500; letter-spacing: .04em; }
#xr, #locations button, .movement button {
  min-height: 44px; padding: 10px 15px; border-radius: 999px;
  border: 1px solid #e6e4dccc; color: #123c35; background: #fffdf5dc;
  box-shadow: 0 3px 12px #2a241c1e;
}
#xr { border-color: #0a6e5f88; white-space: nowrap; }
#xr:not(:disabled), #locations button[aria-pressed=true] { color: #fffdf5; background: #12635b; border-color: #12635b; }
#xr:not(:disabled):hover, #locations button:hover, .movement button:hover { background: #d9eee7; color: #123c35; }
#locations {
  position: absolute; z-index: 2; top: 103px; left: 18px; right: 18px;
  display: flex; flex-wrap: wrap; gap: 7px; max-width: 950px;
}
#locations button { font-size: 11px; font-weight: 600; }
#floor-indicator {
  position: absolute; z-index: 2; top: 162px; left: 23px;
  padding: 7px 12px; border: 1px solid #fff9; border-radius: 999px;
  color: #fff; background: #123c35da; box-shadow: 0 3px 14px #2a241c36;
  font-size: 10px; font-weight: 600;
}
.site-nav {
  position: absolute; z-index: 2; bottom: 112px; left: 18px;
  display: flex; max-width: calc(100% - 36px); overflow-x: auto;
  border-radius: 999px; white-space: nowrap;
}
.site-nav a { flex: none; min-height: 44px; padding: 14px 16px; font-size: 11px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: #d9eee7; }
footer {
  position: absolute; z-index: 2; bottom: 18px; left: 18px; right: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 72px; padding: 10px 16px; border-radius: var(--lm-r-outer);
}
.help { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 500; }
#status { color: var(--lm-body); font-size: 10px; }
.movement { display: flex; gap: 7px; }
.movement button { min-width: 44px; padding: 8px; font-size: 18px; user-select: none; touch-action: none; }
.movement button svg { display: block; width: 20px; height: 20px; margin: auto; pointer-events: none; }
.info {
  position: absolute; z-index: 2; right: 18px; bottom: 112px;
  max-width: 350px; padding: 12px 16px; border-radius: var(--lm-r-outer); font-size: 11px;
}
.info summary { cursor: pointer; font-weight: 600; }
.info p { line-height: 1.6; }
.info[open] { z-index: 4; }
#loading {
  position: absolute; z-index: 10; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  background: var(--lm-cream); font-weight: 600;
}
#loading[hidden] { display: none; }
progress { width: 170px; height: 5px; accent-color: #0a6e5f; }
#fade { position: absolute; z-index: 8; inset: 0; opacity: 0; pointer-events: none; background: var(--lm-cream); transition: opacity .1s linear; }
#fade.active { opacity: 1; }
@media (max-width: 720px) {
  #experience { min-height: 600px; }
  header { top: 10px; left: 10px; right: 10px; min-height: 60px; padding: 8px 12px; border-radius: var(--lm-r-outer); }
  .brand img { width: 92px; }
  .title { display: none; }
  #xr { max-width: 160px; padding: 8px 11px; font-size: 10px; white-space: normal; }
  #locations { top: 82px; left: 10px; right: 10px; gap: 5px; flex-wrap: nowrap; overflow-x: auto; max-width: none; padding: 2px 0 5px; scrollbar-width: thin; }
  #locations button { flex: none; min-height: 39px; padding: 8px 11px; font-size: 10px; white-space: nowrap; }
  #floor-indicator { left: 14px; }
  .site-nav { bottom: 141px; left: 10px; right: 10px; max-width: none; }
  .site-nav a { padding: 13px 12px; font-size: 10px; }
  footer { bottom: 10px; left: 10px; right: 10px; flex-wrap: wrap; gap: 7px; padding: 9px 12px; border-radius: var(--lm-r-outer); }
  .help { flex: 1 1 100%; font-size: 10px; }
  .movement { width: 100%; justify-content: space-between; }
  .movement button { flex: 1; min-height: 44px; }
  .info { right: 10px; bottom: 193px; max-width: min(260px, calc(100% - 20px)); }
}
@media (prefers-reduced-motion: reduce) { #fade { transition: none; } }

/* Material fallbacks; layout and interaction stay owned by the page. */
@media (prefers-reduced-transparency:reduce), (prefers-contrast:more){
header, footer, .site-nav, .info { background:var(--lm-paper);border-color:var(--lm-edge-strong);backdrop-filter:none;-webkit-backdrop-filter:none; }
._no-dark-surface{background:var(--lm-dark-solid);backdrop-filter:none;-webkit-backdrop-filter:none;}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
header, footer, .site-nav, .info{background:var(--lm-paper);}
._no-dark-surface{background:var(--lm-dark-solid);}
}
@media (forced-colors:active){
header, footer, .site-nav, .info{background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
}
@media(forced-colors:active){#locations button[aria-pressed=true]{outline:2px solid Highlight;}}
