/* NRE (nre.ee) – calm, gallery-like: warm cream panels, near-black text, a brown-gold accent, sharp
   corners, small spaced capitals for buttons and Cormorant Garamond for titles (both fonts are free
   Google Fonts, as on the site). The white NRE logo floats top left without a box. */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500;600&display=swap");

:root {
  --a3-bg: #f6f3ee;
  --a3-panel: rgba(246, 243, 238, .92);
  --a3-line: rgba(110, 90, 60, .22);
  --a3-text: #1a1a1a;
  --a3-muted: #8c7f6e;
  --a3-accent: #6e5a3c;          /* the site's buttons */
  --a3-accent-text: #f6f3ee;
  --a3-radius: 0px;
  --a3-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --a3-title-font: 'Cormorant Garamond', Georgia, serif;
  /* 3D / floor plan backdrop: the site's dark footer (#161616) with a soft warm glow */
  --a3-scene-bg: radial-gradient(ellipse 55% 45% at 72% 18%, rgba(110, 90, 60, .38), transparent 70%),
    radial-gradient(ellipse 50% 45% at 18% 92%, rgba(176, 150, 110, .14), transparent 70%),
    #161616;
  --a3-scene-text: #f3efe8;
}

/* panels: cream, square, a thin warm line */
.glass, #toast {
  background: var(--a3-panel);
  border: 1px solid var(--a3-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(40, 30, 15, .14);
  color: var(--a3-text);
}

/* NRE logo top right: white, no box, no glow; the fullscreen button keeps the very corner and the
   logo sits under it, right edges lined up (button 16 px from the top, ~40 px tall, 12 px gap) */
#skin-logo { top: 68px; left: auto; right: 16px; }
#skin-logo img { height: 112px; display: block; }
body.editing #skin-logo { right: 72px; }               /* same as the button: clear of the editor's rail */
body.editing.panel-open #skin-logo { right: 360px; }   /* rail + panel */
#brand { bottom: 19px; right: 26px; }   /* Aero3D logo: its bottom edge on the bar's (bar at 20px) */

/* no tour title over the tour: the logo is up top (the name is in the loading screen, the browser
   tab and the link preview) */
#top { display: none; }
.loader-title { font-weight: 400; font-size: clamp(26px, 5vw, 42px); letter-spacing: -.01em; }

/* top-right tools: quieter than the bottom bar, the full panel only on hover */
#tools { padding: 2px; gap: 2px; background: rgba(246, 243, 238, .45); border-color: rgba(110, 90, 60, .18); box-shadow: none;
  transition: background .2s, border-color .2s, right .2s; }
#tools:hover { background: var(--a3-panel); border-color: var(--a3-line); }
#tools .tool { width: 34px; height: 34px; }
#tools .tool svg { width: 18px; height: 18px; stroke-width: 1.4; opacity: .75; }
#tools .tool:hover svg { opacity: 1; }
.tool { color: var(--a3-text); border-radius: 0; }
.tool:hover { background: rgba(110, 90, 60, .1); }
.tool[aria-pressed="true"] { background: var(--a3-accent); color: var(--a3-accent-text); }

/* bottom bar: the site's navigation – small spaced capitals, muted when inactive, near-black with a
   brown-gold underline when active; no icons on wide screens */
#bar { bottom: 20px; padding: 0 8px; gap: 0; }
.bar-sep { margin: 12px 6px; background: var(--a3-line); }
.bar-btn { position: relative; height: 48px; padding: 0 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: var(--a3-muted); font: 500 12px var(--a3-font); letter-spacing: .12em; text-transform: uppercase; transition: color .15s; }
.bar-btn svg { display: none; }
.bar-btn:hover { background: transparent; color: var(--a3-accent); }
.bar-btn[aria-pressed="true"], .bar-btn.active { background: transparent; color: var(--a3-text); box-shadow: none; }
.bar-btn[aria-pressed="true"]::after, .bar-btn.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 10px; height: 1px; background: var(--a3-accent); }
.bar-btn[aria-expanded="true"]:not(.active) { background: transparent; color: var(--a3-text); }
.bar-floors .bar-btn { padding: 0 12px; }
.bar-floors .bar-btn[aria-pressed="true"]::after { left: 12px; right: 12px; }
.bar-btn { outline: none; }
.bar-btn:focus-visible { color: var(--a3-accent); }
#bar .tool { width: 40px; height: 40px; color: var(--a3-text); }
#step-count { font: 500 12px var(--a3-font); letter-spacing: .1em; color: var(--a3-text); }

/* 360 photo cards: names in the site's title face */
#views { bottom: 84px; padding: 8px; gap: 8px; }
#views button { border-radius: 0; padding: 0 0 8px; color: var(--a3-text); font: 500 15px/1.2 var(--a3-title-font); }
#views button img { border-radius: 0; }
#views button:hover { background: rgba(110, 90, 60, .1); }
#views button.active { background: var(--a3-accent); color: var(--a3-accent-text); }
#views button span { padding: 0 6px; }

/* minimap */
#minimap { padding: 4px; bottom: 20px; left: 20px; }
#mm-img { border-radius: 0; }
.mm-dot { border-color: rgba(26, 26, 26, .55); }
.mm-dot.cur { box-shadow: 0 0 0 4px rgba(110, 90, 60, .3); }

#toast { border-radius: 0; padding: 9px 18px; font: 500 13px var(--a3-font); }

@media (max-width: 700px) {
  #skin-logo { top: 62px; right: 12px; }
  #skin-logo img { height: 68px; }
  #bar { bottom: 12px; padding: 0 4px; }
  .bar-btn { padding: 0 11px; height: 44px; }
  .bar-btn svg { display: block; }   /* phones: icons only (the labels are hidden) */
  .bar-btn[aria-pressed="true"]::after, .bar-btn.active::after { left: 10px; right: 10px; bottom: 6px; }
  #views { bottom: 70px; }
  #minimap { bottom: 70px; left: 12px; }
}

/* the start screen's play button (viewer.js showPoster): a square of the skin's frosted cream glass, gold play */
.ps-play { border-radius: 0; background: rgba(246, 243, 238, .55); border: 1px solid rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--a3-accent); }

/* a small frame (embedded on a phone): the logo beside the full screen button, clear of the play button */
@media (max-height: 420px), (max-width: 420px) and (max-height: 520px) {
  #skin-logo { top: 10px; right: 58px; }
  #skin-logo img { height: 40px; }
}
