:root{
  --ink:#1e2639;
  --paper:#fbfaf7;
  --green:#829f93;
  --green-dark:#607e72;
  --gold:#c8b68c;
  --white:#fff;
  --line:rgba(30,38,57,.14);
  --shadow:0 28px 90px rgba(30,38,57,.12);
  --serif:"Cormorant Garamond",Georgia,serif;
  --sans:Inter,Arial,sans-serif;
  --ease:cubic-bezier(.3,.86,.36,.95);
}

*{box-sizing:border-box}
html{height:100%;margin:0;font-size:10px;overflow:hidden;max-width:100%}
body{height:100%;margin:0;overflow:hidden;max-width:100%}
body{
  overflow:hidden;
  background:#0f1513;
  color:var(--white);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
}
button{font:inherit}

.tour-shell{
  position:relative;
  width:100%;
  height:100svh;
  min-height:620px;
  isolation:isolate;
  overflow:hidden;
  background:radial-gradient(circle at 18% 20%,rgba(200,182,140,.2),transparent 34%),#0f1513;
}

.tour-stage,.tour-viewer{
  position:absolute;
  inset:0;
}

.tour-viewer{
  background:#111;
  transform:scale(1);
  transition:transform .72s var(--ease),filter .72s var(--ease);
}

.tour-viewer:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(10,15,14,.56),transparent 26%,transparent 56%,rgba(10,15,14,.72)),
    radial-gradient(circle at 50% 50%,transparent 48%,rgba(10,15,14,.28));
}

.tour-walk-overlay{
  position:absolute;
  inset:0;
  z-index:8;
  pointer-events:none;
  opacity:0;
  background:
    radial-gradient(ellipse at 50% 80%,rgba(200,182,140,.28),transparent 32%),
    linear-gradient(90deg,transparent,rgba(251,250,247,.18),transparent);
  transform:scaleX(.72);
}

body.is-walking .tour-viewer{
  transform:scale(1.035);
  filter:saturate(1.04) brightness(1.03);
}

body.is-walking .tour-walk-overlay{
  animation:walkSweep .94s var(--ease) both;
}

.tour-top{
  position:absolute;
  z-index:10;
  top:clamp(116px,11vw,148px);
  left:clamp(18px,4vw,64px);
  right:clamp(18px,4vw,64px);
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  pointer-events:none;
  animation:tourIn .82s var(--ease) .16s both;
}

.tour-top>div{
  width:max-content;
  max-width:min(62rem,calc(100vw - 3.2rem));
  padding:1.8rem 2.2rem 2.2rem;
  border:1px solid rgba(255,255,255,.14);
  border-radius:.8rem;
  background:linear-gradient(135deg,rgba(15,21,19,.52),rgba(15,21,19,.24));
  box-shadow:0 20px 70px rgba(0,0,0,.18);
  backdrop-filter:blur(14px);
}

.tour-kicker{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:rgba(255,255,255,.74);
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.tour-kicker:before{
  content:"";
  width:44px;
  height:1px;
  background:var(--gold);
}

h1{
  margin:12px 0 0;
  max-width:13ch;
  font-family:var(--serif);
  font-size:clamp(44px,6.8vw,104px);
  font-weight:500;
  line-height:.9;
  letter-spacing:0;
  text-shadow:0 20px 70px rgba(0,0,0,.42);
}

.tour-hint{
  position:absolute;
  z-index:10;
  right:clamp(18px,4vw,64px);
  top:clamp(118px,11vw,150px);
  display:flex;
  align-items:center;
  gap:10px;
  max-width:min(31rem,38vw);
  padding:.95rem 1.25rem;
  border:1px solid rgba(255,255,255,.2);
  border-radius:.8rem;
  background:rgba(15,21,19,.5);
  color:rgba(255,255,255,.82);
  font-family:var(--serif);
  font-size:clamp(1.7rem,1.25vw,2.15rem);
  font-weight:500;
  line-height:1;
  transform:none;
  backdrop-filter:blur(16px);
  animation:tourIn .8s var(--ease) .42s both;
}

.tour-hint span{
  flex:0 0 .8rem;
  width:.8rem;
  height:.8rem;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 7px rgba(200,182,140,.18);
}

.walk-choices{
  position:absolute;
  z-index:11;
  left:50%;
  bottom:150px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:clamp(4.4rem,7vw,10rem);
  width:min(1060px,calc(100% - 32px));
  height:96px;
  pointer-events:none;
  transform:translateX(-50%);
  animation:walkChoicesIn .82s var(--ease) .28s both;
}

.walk-arrow{
  position:relative;
  width:6.4rem;
  height:6.4rem;
  padding:0;
  border:0;
  background:transparent;
  color:var(--white);
  cursor:pointer;
  pointer-events:auto;
  font-family:var(--serif);
}

.walk-arrow.is-left,
.walk-arrow.is-right,
.walk-arrow.is-far-left,
.walk-arrow.is-far-right{transform:none}

.walk-arrow__mark{
  position:absolute;
  inset:.6rem;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.48);
  border-radius:50%;
  background:#829f93;
  box-shadow:0 14px 34px rgba(0,0,0,.2),0 0 0 .75rem rgba(251,250,247,.18);
  transition:filter .35s var(--ease),box-shadow .35s var(--ease),transform .35s var(--ease);
}

.walk-arrow__mark:before{
  content:"";
  width:2rem;
  height:2rem;
  border-top:.58rem solid #fbfaf7;
  border-right:.58rem solid #fbfaf7;
  transform:translateY(.25rem) rotate(-45deg);
}

.walk-arrow__mark:after{
  display:none;
}

.walk-arrow__text{
  position:absolute;
  left:50%;
  bottom:calc(100% + .9rem);
  width:16.4rem;
  min-width:16.4rem;
  max-width:16.4rem;
  padding:.62rem 1rem;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(15,21,19,.58);
  color:rgba(255,255,255,.92);
  font-family:var(--serif);
  font-size:clamp(1.8rem,1.5vw,2.3rem);
  font-weight:500;
  line-height:1;
  text-align:center;
  transform:translateX(-50%);
  backdrop-filter:blur(14px);
  box-shadow:0 14px 36px rgba(0,0,0,.18);
  white-space:normal;
  animation:tooltipFloat 4.2s ease-in-out infinite;
}

.walk-arrow.is-far-left .walk-arrow__text{transform:translateX(-88%)}
.walk-arrow.is-left .walk-arrow__text{transform:translateX(-64%)}
.walk-arrow.is-right .walk-arrow__text{transform:translateX(-36%)}
.walk-arrow.is-far-right .walk-arrow__text{transform:translateX(-12%)}
.walk-arrow.is-main .walk-arrow__text{transform:translateX(-50%)}

.walk-arrow:hover .walk-arrow__mark,
.walk-arrow:focus-visible .walk-arrow__mark{
  filter:brightness(1.08) saturate(1.06);
  box-shadow:0 20px 48px rgba(0,0,0,.28),0 0 0 1.2rem rgba(251,250,247,.2);
  transform:translateY(-.25rem);
}

.walk-arrow:focus-visible{outline:0}

.tour-nav{
  position:absolute;
  z-index:12;
  left:clamp(12px,3vw,42px);
  right:clamp(12px,3vw,42px);
  bottom:clamp(12px,3vw,34px);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
}

.tour-strip{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  padding:10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  background:rgba(15,21,19,.46);
  box-shadow:0 22px 80px rgba(0,0,0,.26);
  backdrop-filter:blur(18px);
  animation:tourIn .82s var(--ease) .34s both;
}

.scene-chip{
  position:relative;
  min-width:0;
  height:86px;
  min-height:86px;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  background:#111;
  color:var(--white);
  cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
  transition:transform .42s var(--ease),border-color .42s var(--ease),box-shadow .42s var(--ease);
}

.scene-chip img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  opacity:.8;
  transition:transform .8s var(--ease),opacity .42s var(--ease);
}

.scene-chip span{
  display:none;
}

.scene-chip:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.62));
}

.scene-chip.is-active{
  border-color:var(--gold);
  box-shadow:0 0 0 1px rgba(200,182,140,.42),0 16px 40px rgba(200,182,140,.18);
}

.scene-chip:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.46);
}

.scene-chip:hover img{transform:scale(1.06);opacity:1}

.tour-step{
  min-width:104px;
  height:58px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(130,159,147,.86),rgba(200,182,140,.72));
  color:var(--white);
  cursor:pointer;
  font-family:var(--serif);
  font-size:clamp(2rem,2vw,2.6rem);
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
  box-shadow:0 20px 56px rgba(0,0,0,.26);
  transition:transform .34s var(--ease),filter .34s var(--ease);
}

.tour-step:hover{
  transform:translateY(-2px);
  filter:saturate(1.05) brightness(1.05);
}

.pnlm-container{background:#101514}
.pnlm-load-box{background:rgba(15,21,19,.8);border-radius:14px;font-family:var(--sans)}
.pnlm-controls-container,.pnlm-panorama-info{display:none!important}
.pnlm-control{
  border:1px solid rgba(255,255,255,.22)!important;
  background-color:rgba(251,250,247,.82)!important;
  backdrop-filter:blur(12px);
}

.tour-hotspot{
  position:relative;
  width:96px;
  height:74px;
  margin:-37px 0 0 -48px;
  border:0;
  background:transparent;
  cursor:pointer;
  animation:hotspotBob 2.4s ease-in-out infinite;
  transition:filter .35s var(--ease);
}

.tour-hotspot__plate{
  position:absolute;
  inset:0;
  border:1px solid rgba(255,255,255,.56);
  border-radius:50% 50% 42% 42%;
  background:
    linear-gradient(180deg,rgba(251,250,247,.92),rgba(251,250,247,.68)),
    radial-gradient(ellipse at 50% 72%,rgba(130,159,147,.72),transparent 58%);
  box-shadow:0 20px 46px rgba(0,0,0,.28),0 0 0 12px rgba(130,159,147,.15);
  transform:perspective(120px) rotateX(58deg);
  transform-origin:50% 70%;
  transition:box-shadow .35s var(--ease),filter .35s var(--ease);
}

.tour-hotspot__plate:before{
  content:"";
  position:absolute;
  inset:8px 12px 14px;
  border-radius:50%;
  background:linear-gradient(180deg,rgba(130,159,147,.18),rgba(200,182,140,.34));
}

.tour-hotspot__arrow{
  position:absolute;
  left:50%;
  top:43%;
  z-index:2;
  width:30px;
  height:30px;
  border-top:6px solid var(--green-dark);
  border-right:6px solid var(--green-dark);
  transform:translate(-50%,-50%) rotate(45deg);
}

.tour-hotspot:hover,
.tour-hotspot:focus-visible{
  filter:brightness(1.08) saturate(1.06);
  outline:0;
}

.tour-hotspot:hover .tour-hotspot__plate,
.tour-hotspot:focus-visible .tour-hotspot__plate{
  box-shadow:0 24px 54px rgba(0,0,0,.3),0 0 0 18px rgba(200,182,140,.16);
}

.tour-hotspot__label{
  position:absolute;
  left:50%;
  top:calc(100% + 18px);
  width:max-content;
  max-width:180px;
  padding:8px 11px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:rgba(15,21,19,.72);
  color:var(--white);
  font-size:12px;
  font-weight:700;
  line-height:1.15;
  text-align:center;
  opacity:0;
  transform:translateX(-50%) translateY(5px);
  transform-origin:50% 0;
  transition:opacity .35s var(--ease),transform .35s var(--ease);
  backdrop-filter:blur(14px);
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}

.tour-hotspot:hover .tour-hotspot__label,
.tour-hotspot:focus-visible .tour-hotspot__label{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

@keyframes hotspotBob{
  0%,100%{translate:0 0}
  50%{translate:0 -4px}
}

@keyframes walkSweep{
  0%{opacity:0;transform:translateY(24px) scaleX(.72)}
  28%{opacity:1;transform:translateY(0) scaleX(1)}
  100%{opacity:0;transform:translateY(-18px) scaleX(1.18)}
}

@keyframes hintIn{
  from{opacity:0;transform:translate(-50%,12px)}
  to{opacity:1;transform:translate(-50%,0)}
}

@keyframes tooltipFloat{
  0%,100%{translate:0 0}
  50%{translate:0 -.45rem}
}

@keyframes tourIn{
  from{opacity:0;transform:translate3d(0,18px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

@keyframes walkChoicesIn{
  from{opacity:0;transform:translateX(-50%) translate3d(0,18px,0)}
  to{opacity:1;transform:translateX(-50%) translate3d(0,0,0)}
}

@media (max-width:920px){
  .tour-shell{min-height:560px}
  .tour-top{top:104px}
  h1{font-size:clamp(46px,12vw,78px)}
  .tour-nav{grid-template-columns:1fr 1fr;gap:10px}
  .tour-strip{
    grid-column:1/-1;
    order:-1;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .tour-step{width:100%;min-width:0}
  .tour-hint{right:1.8rem;top:10.4rem;max-width:24rem}
  .walk-choices{bottom:310px;width:min(520px,calc(100% - 24px));height:96px}
  .walk-arrow{width:7.4rem;height:7.4rem}
}

@media (max-width:560px){
  .tour-top{top:86px;display:block;left:16px;right:16px}
  .tour-hint{
    left:1.6rem;
    right:auto;
    top:20.2rem;
    max-width:min(24rem,calc(100% - 3.2rem));
    padding:.68rem .85rem;
    font-size:1.22rem;
    line-height:1.08;
  }
  .tour-hint span{flex-basis:.55rem;width:.55rem;height:.55rem;box-shadow:0 0 0 4px rgba(200,182,140,.16)}
  .scene-chip{height:64px;min-height:64px}
  .scene-chip img{min-height:0}
  .scene-chip span{font-size:11px;left:8px;right:8px}
  .tour-strip{display:none!important;padding:8px;gap:7px;border-radius:14px}
  .tour-nav{display:none}
  .tour-step{height:48px;font-size:11px}
  .pnlm-controls-container{display:none}
  .walk-choices{bottom:2rem;height:7.2rem;gap:1.6rem;width:calc(100% - 2.4rem)}
  .walk-arrow{width:5.8rem;height:5.8rem}
  .walk-arrow__mark{box-shadow:0 12px 28px rgba(0,0,0,.22),0 0 0 .55rem rgba(251,250,247,.16)}
  .walk-arrow__mark:before{width:1.55rem;height:1.55rem;border-width:.35rem}
  .walk-arrow__text{
    width:7.2rem;
    min-width:0;
    max-width:7.2rem;
    bottom:calc(100% + .55rem);
    padding:.42rem .55rem;
    font-size:1.02rem;
    line-height:1.02;
    white-space:normal;
    transform:translateX(-50%);
  }
  .walk-arrow.is-left .walk-arrow__text,
  .walk-arrow.is-right .walk-arrow__text,
  .walk-arrow.is-far-left .walk-arrow__text,
  .walk-arrow.is-far-right .walk-arrow__text,
  .walk-arrow.is-main .walk-arrow__text{transform:translateX(-50%)}
}

@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important}
}
