/* V7 — the finished hut card becomes the centre of the interaction. */
.sr-hut-instruction {
  max-width: 1580px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  color: rgba(32,55,45,.66);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sr-hut-instruction i {
  color: var(--sr-sand-dark);
  font-family: var(--sr-serif);
  font-size: 21px;
  font-style: normal;
  line-height: 1;
}

.sr-hut-instruction__mobile { display: none; }

.sr-hut-hotspot,
.sr-hut-hotspot:hover,
.sr-hut-hotspot.is-active {
  top: 46%;
  height: 27%;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  color: var(--sr-forest);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sr-hut-hotspot__pulse {
  position: absolute;
  top: 43%;
  right: auto;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 5px solid var(--sr-paper);
  background: var(--sr-paper);
  box-shadow: 0 7px 20px rgba(18,35,28,.2);
  transform: translate(-50%,-50%);
  transition: transform .35s ease, box-shadow .35s ease;
}

.sr-hut-hotspot__pulse::after {
  inset: 3px;
  background: var(--sr-forest);
}

.sr-hut-hotspot b {
  position: absolute;
  top: 58%;
  left: 50%;
  min-width: max-content;
  padding: 7px 10px 4px;
  color: var(--sr-forest);
  background: var(--sr-paper);
  font-size: clamp(16px,1.45vw,22px);
  opacity: 1;
  transform: translateX(-50%);
}

.sr-hut-hotspot small {
  position: absolute;
  top: calc(58% + 36px);
  left: 50%;
  min-width: max-content;
  padding: 3px 8px 6px;
  color: rgba(32,55,45,.65);
  background: var(--sr-paper);
  font-size: 6px;
  opacity: 1;
  transform: translateX(-50%);
}

.sr-hut-hotspot:hover .sr-hut-hotspot__pulse {
  box-shadow: 0 9px 26px rgba(18,35,28,.3);
  transform: translate(-50%,-50%) scale(1.14);
}

.sr-hut-map.is-engaged .sr-hut-hotspot {
  visibility: hidden;
  opacity: 0 !important;
  pointer-events: none;
}

.sr-hut-profile__gallery {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.sr-hut-profile__image,
.sr-hut-profile__image--1,
.sr-hut-profile__image--2,
.sr-hut-profile__image--3,
.sr-hut-profile__image--4 {
  position: absolute;
  z-index: 1;
  margin: 0;
  border: 5px solid var(--sr-paper);
  border-radius: 4px;
  box-shadow: 0 16px 42px rgba(18,35,28,.19);
}

.sr-hut-profile__image--1 {
  left: 2.5%;
  top: 4%;
  width: 29%;
  height: 47%;
}

.sr-hut-profile__image--2 {
  left: 5%;
  right: auto;
  top: auto;
  bottom: 5%;
  width: 27%;
  height: 35%;
}

.sr-hut-profile__image--3 {
  left: auto;
  right: 3%;
  top: 5%;
  bottom: auto;
  width: 29%;
  height: 35%;
}

.sr-hut-profile__image--4 {
  left: auto;
  right: 5.5%;
  top: auto;
  bottom: 5%;
  width: 27%;
  height: 40%;
}

.sr-hut-profile__copy {
  z-index: 4;
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  width: min(540px,35%);
  max-height: 88%;
  transform: translate(-50%,calc(-50% + 26px));
}

.sr-hut-profile.is-active .sr-hut-profile__copy {
  transform: translate(-50%,-50%);
}

.sr-hut-switcher {
  position: absolute;
  z-index: 14;
  left: 50%;
  bottom: 1.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%,8px);
  transition: opacity .35s .35s ease, transform .45s .35s ease, visibility .35s;
  pointer-events: none;
}

.sr-hut-map.is-engaged .sr-hut-switcher {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
  pointer-events: auto;
}

.sr-hut-switcher button {
  min-height: 34px;
  padding: 7px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: rgba(32,55,45,.62);
  background: var(--sr-paper);
  font-family: var(--sr-sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.sr-hut-switcher button span {
  margin-right: 6px;
  color: var(--sr-sand-dark);
}

.sr-hut-switcher button:hover,
.sr-hut-switcher button.is-active {
  color: var(--sr-forest);
  border-bottom-color: var(--sr-sand-dark);
}

.sr-hut-map.is-engaged .sr-hut-map__guide { opacity: 0; }

@media (max-width: 900px) and (min-width: 601px) {
  .sr-hut-profile__copy { width: 40%; }
  .sr-hut-profile__image--1 { width: 27%; }
  .sr-hut-profile__image--2 { width: 26%; }
  .sr-hut-profile__image--3 { width: 27%; }
  .sr-hut-profile__image--4 { width: 25%; }
}

@media (max-width: 600px) {
  .sr-hut-instruction {
    margin: 0;
    padding: 0 22px 15px;
    justify-content: flex-start;
  }

  .sr-hut-instruction__desktop { display: none; }
  .sr-hut-instruction__mobile { display: inline; }

  .sr-hut-map { height: 124svh; min-height: 900px; }

  .sr-hut-profile__gallery {
    left: 4%;
    top: 5%;
    width: 92%;
    height: 43%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 7px;
  }

  .sr-hut-profile__image,
  .sr-hut-profile__image--1,
  .sr-hut-profile__image--2,
  .sr-hut-profile__image--3,
  .sr-hut-profile__image--4 {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    border-width: 3px;
  }

  .sr-hut-profile__copy {
    left: 5%;
    right: 5%;
    top: 51%;
    bottom: auto;
    width: auto;
    max-height: 42%;
    transform: translateY(22px);
  }

  .sr-hut-profile.is-active .sr-hut-profile__copy { transform: none; }

  .sr-hut-switcher {
    bottom: 1.5%;
    width: 94%;
    gap: 3px;
  }

  .sr-hut-switcher button {
    flex: 1;
    padding-inline: 5px;
    font-size: 6px;
  }

  .sr-hut-switcher button span { display: none; }
}
