.home .hero-bg {
  background-position: center;
  filter: saturate(.82) brightness(.46) contrast(1.12);
}

.home .hero-copy {
  max-width: 900px;
}

.cabin-story {
  padding: 13vh 6vw;
  background: #080706;
  border-top: 1px solid var(--line);
}

.cabin-intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 9vw;
  align-items: end;
  margin-bottom: 55px;
}

.cabin-intro h2 {
  font: 400 clamp(46px, 6vw, 88px)/.96 Georgia, serif;
  margin: 16px 0 0;
}

.cabin-intro h2 em {
  color: #c91423;
  font-weight: 400;
}

.cabin-intro p {
  margin: 0;
  color: #c8c2b9;
  font: 400 clamp(18px, 1.5vw, 23px)/1.75 Georgia, serif;
}

.cabin-grid {
  display: block;
  height: min(62vh, 660px);
}

.cabin-shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  height: 100%;
  background: #111;
}

.cabin-shot:first-child {
  grid-row: auto;
}

.cabin-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s ease;
}

.cabin-shot:hover img {
  transform: scale(1.025);
}

.cabin-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, #050505ba);
}

.cabin-shot span {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  color: #eee;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: 10px;
}

.ritual-editorial .step {
  min-height: 48vh;
  background-image: none !important;
  background: linear-gradient(145deg, #111, #050505);
}

.ritual-editorial .step::after {
  background: radial-gradient(circle at 20% 100%, rgba(126, 8, 17, .2), transparent 58%);
}

.instagram-rail {
  position: fixed;
  z-index: 28;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-right: 0;
  background: rgba(4,4,4,.9);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  backdrop-filter: blur(9px);
}

.instagram-rail span {
  color: #d21a29;
  font-size: 10px;
  letter-spacing: .24em;
}

.instagram-rail strong {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .14em;
}

@media (max-width: 820px) {
  .cabin-story {
    padding: 64px 24px;
  }

  .cabin-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cabin-grid {
    height: 42vh;
  }

  .cabin-shot:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .instagram-rail {
    top: 62%;
    right: 0;
    bottom: auto;
    flex-direction: row;
    padding: 11px 9px;
    border-right: 0;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
  }
}


/* Manual residence carousel */
.residence-carousel {
  position: relative;
  height: min(62vh, 660px);
  overflow: hidden;
  background: #111;
}
.residence-slides,
.residence-slide { height: 100%; }
.residence-slide { display: none; }
.residence-slide.is-active { display: block; animation: residenceReveal .5s ease both; }
.residence-carousel-controls {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.residence-carousel-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background: rgba(5,5,5,.72);
  color: #fff;
  font: 300 28px/1 Georgia, serif;
  cursor: pointer;
  backdrop-filter: blur(7px);
}
.residence-carousel-controls button:hover,
.residence-carousel-controls button:focus-visible {
  border-color: #c91423;
  background: #c91423;
  outline: none;
}
.residence-carousel-controls span {
  min-width: 44px;
  color: #eee;
  text-align: center;
  font-size: 10px;
  letter-spacing: .16em;
}
@keyframes residenceReveal { from { opacity: .35; } to { opacity: 1; } }
@media (max-width: 820px) {
  .residence-carousel { height: 42vh; min-height: 330px; }
  .residence-carousel-controls { right: 14px; bottom: 12px; gap: 8px; }
  .residence-carousel-controls button { width: 42px; height: 42px; }
  .residence-slide img { object-position: center; }
}
@media (prefers-reduced-motion: reduce) {
  .residence-slide.is-active { animation: none; }
}
