* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}

#pano { position: absolute; inset: 0; }

/* The little-planet opening, drawn above the viewer until it hands over. */
#intro {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  transition: opacity 0.35s ease-out;
}
#intro.is-done { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- navigation markers */
/* Le Vendôme: brass ring on deep green. */
.nav {
  position: relative;
  display: flex;
  width: 52px;
  margin: -26px 0 0 -26px; /* ring centred on the point it marks */
  padding: 0;
  border: 0;
  background: none;
  color: #F6F0E4;
  font: 500 12px/1.2 Inter, 'Helvetica Neue', Arial, sans-serif;
  cursor: pointer;
}

.nav__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid #C8A45A;
  border-radius: 50%;
  background: rgba(10, 36, 30, 0.62);
  color: #C8A45A;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease-out, background-color 0.2s ease-out, color 0.2s ease-out;
}

/* A slow ripple says "you can go here" without hiding the room. */
.nav__ring::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid #C8A45A;
  border-radius: 50%;
  animation: nav-pulse 2.4s ease-out infinite;
}
@keyframes nav-pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.7); opacity: 0; }
}


.nav:hover .nav__ring,
.nav:focus-visible .nav__ring {
  transform: scale(1.1);
  background: #C8A45A;
  color: #0A241E;
}
.nav:focus-visible { outline: none; }
.nav:focus-visible .nav__ring { box-shadow: 0 0 0 3px #F6F0E4, 0 6px 18px rgba(0, 0, 0, 0.45); }

@media (prefers-reduced-motion: reduce) {
  .nav__ring::after { animation: none; opacity: 0; }
}

.tcap { pointer-events: none; }
.tcap img { display: block; width: 100%; height: 100%; }
