.h-villa-preview {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  margin-bottom: 24px;
}
.h-hero-mosaic {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  pointer-events: none;
}
.h-hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}
.h-hero .h-hero-plan {
  object-fit: contain;
  object-position: right;
  background: var(--forest);
}
.h-photo-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #15241ddb;
  color: white;
  padding: 6px 11px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
}
.h-story-section {
  background: var(--forest-deep);
  color: var(--paper);
  padding-top: 54px;
}
.h-story-section > .h-section-heading {
  padding: 0 7vw 30px;
  margin: 0 auto;
  max-width: 1440px;
}
.h-story-section .h-eyebrow {
  color: var(--gold);
}
.h-story {
  position: relative;
}
.h-story[data-motion="scroll"] {
  height: 380svh;
}
.h-story-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.h-story[data-motion="scroll"] .h-story-stage {
  position: sticky;
  top: 94px;
  height: calc(100svh - 94px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.h-story-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--forest-deep);
}
.h-story-backdrop img,
.h-story-backdrop video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
  display: block;
}
.h-story-backdrop video:not([src]) {
  display: none;
}
.h-story-panels {
  width: 100%;
  margin: auto 0;
  padding: 24px 0 24px 6vw;
  display: grid;
  grid-template-columns: minmax(260px, 29%) minmax(0, 1fr);
  gap: 3vw;
  align-items: center;
}
.h-story-carousel {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  padding: 36px 0;
}
.h-story-reel {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 36px);
  width: 100%;
  will-change: transform;
}
.h-story-slide {
  position: relative;
  flex: 0 0 min(80%, 76svh);
  min-width: 0;
  transform: scale(var(--photo-scale, 1));
  opacity: var(--photo-opacity, 1);
  transform-origin: center;
}
.h-story-slide img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid #ffffff55;
  border-radius: 3px;
  box-shadow: 0 18px 30px #0004;
}
.h-story-information {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 440px;
}
.h-story-card {
  display: block;
}
.h-story-card[hidden] {
  display: none;
}
.h-story-copy {
  padding: 24px 26px;
  border-left: 1px solid var(--gold);
}
.h-story[data-motion="scroll"] .h-story-copy {
  background: linear-gradient(100deg, #142019cf, #14201980);
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 3px #0006;
}
.h-story-copy h3 {
  font: 500 clamp(28px, 2.8vw, 46px) / 1.1 var(--serif);
  margin: 10px 0 18px;
  text-wrap: balance;
}
.h-story-copy > p:not(.h-eyebrow) {
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0;
  color: #f4f1e7;
}
.h-story-copy > p.h-story-value {
  font: 500 52px/1.1 var(--serif);
}
.h-story-copy dl {
  display: grid;
  gap: 9px;
  margin: 16px 0;
  font-size: 16px;
}
.h-story-copy dl > div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid #ffffff30;
  padding-bottom: 7px;
}
.h-story-copy dd {
  font-weight: 600;
  white-space: nowrap;
}
.h-story-copy .h-badges {
  margin: 18px 0;
  color: #e8e4d9;
}
.h-story-film {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #ffffff75;
  border-radius: 3px;
  background: #10211777;
  color: white;
  font-size: 14px;
}
.h-story-controls {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
  padding: 0 6vw 28px;
}
.h-story-controls button {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  border: 0;
  border-top: 1px solid #ffffff88;
  background: #142019b0;
  color: #ece8dc;
  border-radius: 0;
  font-size: 15px;
}
.h-story-controls button[aria-current] {
  background: var(--paper);
  color: var(--forest);
  border-color: var(--paper);
}
.h-story-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #ffffff20;
}
.h-story-track > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
}
.h-story[data-motion="static"] .h-story-card {
  margin: 20px 0 70px;
}
.h-story[data-motion="static"] .h-story-panels {
  display: block;
  padding: 24px 6vw;
}
.h-story[data-motion="static"] .h-story-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 0 32px;
  padding: 20px 0;
}
.h-story[data-motion="static"] .h-story-reel {
  will-change: auto;
}
.h-story[data-motion="static"] .h-story-slide {
  flex-basis: 60%;
  scroll-snap-align: center;
}
.h-story[data-motion="static"] .h-story-information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: none;
}
.h-story[data-motion="static"] .h-story-backdrop,
.h-story[data-motion="static"] .h-story-track,
.h-story[data-motion="static"] .h-story-controls {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .h-story-card:not([hidden]) {
    animation: h-story-enter 0.3s ease-out;
  }
  @keyframes h-story-enter {
    from {
      opacity: 0.65;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 800px) {
  .h-story[data-motion="scroll"] .h-story-stage {
    top: 78px;
    height: calc(100svh - 78px);
  }
  .h-story-panels {
    padding: 18px 0 18px 4vw;
    grid-template-columns: minmax(220px, 36%) minmax(0, 1fr);
    gap: 2vw;
  }
  .h-story-copy {
    padding: 12px 16px;
  }
  .h-story-copy h3 {
    font-size: 28px;
  }
  .h-story-copy > p:not(.h-eyebrow) {
    font-size: 15px;
  }
  .h-story-copy dl {
    font-size: 14px;
  }
  .h-story-controls {
    padding: 0 4vw 16px;
  }
}
@media (max-height: 580px) and (orientation: landscape) {
  .h-story-panels {
    padding: 6px 0 6px 4vw;
    gap: 2vw;
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  }
  .h-story-carousel {
    padding: 16px 0;
  }
  .h-story-copy {
    padding: 8px 12px;
  }
  .h-story-copy .h-eyebrow {
    font-size: 11px;
    margin: 0;
  }
  .h-story-copy h3 {
    font-size: 24px;
    margin: 4px 0 6px;
  }
  .h-story-copy > p:not(.h-eyebrow) {
    font-size: 13px;
    line-height: 1.35;
    margin: 5px 0;
  }
  .h-story-copy > p.h-story-value {
    font-size: 28px;
  }
  .h-story-copy dl {
    font-size: 12px;
    gap: 4px;
    margin: 6px 0;
  }
  .h-story-copy dl > div {
    padding-bottom: 3px;
  }
  .h-story-copy .h-badges {
    margin: 6px 0;
    font-size: 12px;
    gap: 8px;
  }
  .h-story-copy .h-badge {
    padding: 2px 6px;
  }
  .h-story-film {
    min-height: 32px;
    font-size: 12px;
    padding: 5px 9px;
  }
  .h-story-controls {
    padding: 0 4vw 10px;
    gap: 8px;
  }
  .h-story-controls button {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 12px;
  }
}
