/* Homepage only: camera travel between rooms inside the existing rounded frame. */
#home .hero-visual {
  isolation: isolate;
}
#home .hero-villa-backdrop {
  position: absolute;
  z-index: -1;
  width: 120%;
  height: 124%;
  max-width: none;
  left: -10%;
  top: -19%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
#home .hero-scenes {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  background: #18221c;
  animation: none;
}
#home .hero-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
#home .hero-scene.is-current { opacity: 1; visibility: visible; }
#home .hero-scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
#home .hero-scene.is-arriving { visibility: visible; z-index: 1; }
#home .hero-scenes.is-travelling .hero-scene.is-current,
#home .hero-scenes.is-travelling .hero-scene.is-arriving { will-change: transform, opacity; }
#home .hero-scene-caption,
#home .hero-home-status {
  z-index: 3;
  min-width: 154px;
  padding: 10px 15px;
  border-radius: 11px;
  border: 1px solid rgba(201, 156, 73, .32);
  background: rgba(8, 11, 9, .86);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .3);
  pointer-events: none;
}
#home .hero-home-status { top: 25%; right: -34px; }
#home .hero-scene-caption { bottom: 32px; left: -34px; }
#home .hero-scene-caption small,
#home .hero-home-status small { display: block; margin: 0 0 4px; color: #c99c49; font-size: 7px; line-height: 1.3; letter-spacing: .16em; }
#home .hero-scene-caption strong,
#home .hero-home-status strong { display: block; color: #fff; font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: .015em; }

@media (max-width: 640px) {
  #home .hero-villa-backdrop { width: 116%; left: -8%; height: 122%; top: -17%; }
  #home .hero-scene-caption,
  #home .hero-home-status { padding: 9px 12px; min-width: 140px; }
  #home .hero-scene-caption { bottom: 23px; left: -6px; }
  #home .hero-home-status { top: 25%; right: -6px; }
}

/* Desktop hero composition follows the approved two-column reference. */
@media (min-width: 1051px) {
  #home.hero-v2 {
    height: auto;
    min-height: 0;
    background: radial-gradient(ellipse at 96% 10%, #302416, transparent 43%),
      radial-gradient(ellipse at 28% 100%, #1c180f, transparent 47%), #0b0d0c;
  }
  #home .hero-orb { display: none; }
  #home .hero-grid {
    width: min(1600px, calc(100% - 2 * max(26px, 2.35vw))) !important;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    gap: clamp(42px, 4.8vw, 76px);
    height: auto;
    min-height: clamp(560px, 50.5vw, 740px);
    padding: clamp(50px, 6vw, 88px) max(10px, 1.05vw) 54px 0;
    border-top: 1px solid #d7cbb833;
  }
  #home .hero-copy { text-shadow: none; }
  #home .eyebrow { margin-bottom: clamp(23px, 2.45vw, 36px); color: #d5a753; }
  #home h1 {
    font-size: clamp(58px, 6.28vw, 104px);
    line-height: .98;
    text-wrap: initial;
  }
  #home h1 span { color: inherit; -webkit-text-stroke: 0; }
  #home .hero-lead { max-width: 550px; margin-top: 25px; color: #fff; font-size: clamp(15px, 1.22vw, 18px); line-height: 1.75; }
  #home .hero-actions { margin-top: 34px; }
  #home .hero-proof { margin-top: 43px; }
  #home .hero-visual {
    width: 100%;
    max-width: none;
    min-height: 0;
    aspect-ratio: 1.16;
    padding: 12px;
    border-radius: 50% 50% 24px 24px;
    animation: reveal .75s ease .12s both;
  }
  #home .hero-scenes { min-height: 0; border-radius: 50% 50% 15px 15px; }
  #home .hero-villa-backdrop { width: 112%; left: -6%; height: 124%; top: -20%; }
  #home .hero-home-status { right: max(-32px, -2vw); }
}

@media (min-width: 1051px) and (prefers-reduced-motion: reduce) {
  #home :is(.hero-copy, .hero-visual) { animation: none; }
}
