/* The original cinematic language, tailored to Disessa. */
html{scroll-behavior:auto;overflow-x:clip}
.expand-title{font-size:clamp(3.5rem,9vw,10rem)!important;letter-spacing:-.055em!important}
.expand-title-left,.expand-title-right{white-space:nowrap}
.brand{font-size:1rem;letter-spacing:.14em}.brand small{font-size:.64rem;letter-spacing:.12em}
.eyebrow{font-size:.8rem}.overview-stat{padding:24px 18px}.overview-stat b{font-size:1.4rem}
.amenities-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin:100px 0 36px}
.amenities-heading h2{font-size:clamp(2.6rem,5vw,5rem);margin-top:15px}.amenities-heading>p{color:#bbb;max-width:300px;font-size:1rem}
.disessa-amenities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 28px}
.disessa-amenity{border-bottom:1px solid var(--line);padding-bottom:30px}
.disessa-amenity img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.disessa-amenity>div{padding:26px 4px 0}.disessa-amenity h3{font-size:clamp(1.7rem,2.4vw,2.3rem);margin:12px 0 16px}
.disessa-amenity p{color:#c4c4c4;font-size:1rem;max-width:48ch;margin:0 0 22px}.disessa-amenity a{color:var(--gold2);font-size:.9rem}
.plan-selectors{grid-template-columns:repeat(4,minmax(0,1fr))!important}.plan-selectors b{font-size:1.05rem!important}.plan-selectors small{font-size:.75rem!important}
.team{grid-template-columns:1.25fr 1fr}.team-photo img{aspect-ratio:4/3;object-fit:cover}.team-side{justify-content:center}.contact-note{display:block;margin-top:22px;color:#aaa;font-size:.8rem}
.tour-embed{position:relative;z-index:3;margin-top:44px;scroll-margin-top:100px}.tour-embed[hidden]{display:none}.tour-toolbar{display:flex;justify-content:space-between;gap:20px;padding:16px;background:#141518;font-size:.875rem}
.tour-embed iframe{display:block;width:100%;height:min(76vh,820px);min-height:420px;border:1px solid #454545;background:#111}
.tour{display:block;padding:85px 0}.tour-embed{width:min(1440px,calc(100% - 40px))}
#inquiry-status{max-width:310px;font-size:.9rem;margin:8px 0}button.btn{cursor:pointer}
@media(max-width:1000px){.plan-selectors{grid-template-columns:repeat(2,minmax(0,1fr))!important}.expand-title{font-size:clamp(3.25rem,9vw,6rem)!important}}
@media(max-width:680px){.expand-title{font-size:clamp(2.4rem,9.2vw,4rem)!important}.brand{font-size:.8rem}.brand small{font-size:.55rem}.disessa-amenities{grid-template-columns:1fr;gap:38px}.amenities-heading{display:block;margin-top:66px}.amenities-heading>p{margin-top:20px}.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.overview-stat b{font-size:1.12rem}.team{grid-template-columns:1fr}.tour-toolbar{flex-direction:column;gap:6px}.plan-selectors b{font-size:.9rem!important}.plan-selectors small{font-size:.65rem!important}.tour-embed iframe{min-height:500px}}

/* Six amenities remain visible as one compact collection. */
#amenities{scroll-margin-top:0;padding-top:16px!important;padding-bottom:16px!important}
.amenities-heading{margin:0 0 20px;align-items:center}
.amenities-heading h2{font-size:clamp(2.2rem,3.7vw,3.7rem);margin-top:8px}
.disessa-amenities{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.disessa-amenity{padding:0 0 14px;position:relative}
.disessa-amenity img{aspect-ratio:16/8;height:clamp(120px,19vh,180px);max-height:180px;object-fit:cover}
.disessa-amenity>div{padding:12px 0 0}
.disessa-amenity .eyebrow{font-size:.75rem;letter-spacing:.1em}
.disessa-amenity h3{font-size:clamp(1.15rem,1.7vw,1.55rem);margin:5px 0 8px;line-height:1.15}
.disessa-amenity p{display:none}
.disessa-amenity a{font-size:.875rem}

/* Two image rows, paired in stable columns for smooth horizontal browsing. */
#exteriors .auto-gallery-track,#interiors .auto-gallery-track{display:flex!important;gap:16px!important;height:auto!important;min-height:0!important;align-items:stretch!important;padding:0!important;scroll-snap-type:none!important;touch-action:pan-x pan-y pinch-zoom!important;overflow-x:auto!important;position:relative}
.gallery-repeat{display:flex;flex:0 0 auto;gap:inherit}
.gallery-column{display:grid;grid-template-rows:repeat(2,1fr);gap:16px;width:clamp(290px,31vw,510px);flex:0 0 auto}
#exteriors .auto-gallery-card,#interiors .auto-gallery-card{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;aspect-ratio:16/9!important;flex:initial!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
.auto-gallery-track .auto-gallery-card img{width:100%;height:100%;object-fit:cover}

.auto-gallery-track .bento-gallery-content b{font-size:clamp(1rem,1.5vw,1.3rem)!important}
.floor-switcher{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.interior-floor-tab b{font-size:1rem!important}
#interiors .interior-floor-tab{border-radius:10px!important;background:#131416!important;color:#fff!important}
#interiors .interior-floor-tab.active{background:#2b251b!important;color:#fff!important;border-color:#e4cf9f!important;box-shadow:inset 0 0 0 1px #e4cf9f!important}
#interiors .floor-tab-action{color:#e4cf9f!important}

/* The exported tour retains its original UI; side gutters remain available for page scrolling. */
.tour{background:#101113;padding:70px 0}
.tour-copy{max-width:none!important;text-align:left!important;display:block!important}
.tour-copy h2{font-size:clamp(2rem,4vw,4rem)!important}
.tour-copy .tour-icon{display:none}
.tour-copy>p{max-width:55ch}
.tour-embed{margin:24px auto 0;width:min(1440px,calc(100% - 64px))}
.tour-stage{position:relative;overflow:hidden}
.tour-stage iframe{width:100%;height:min(63vh,680px);min-height:360px;pointer-events:auto}
.tour-scroll-help{padding:14px 2px;color:#bbb;font-size:.875rem;line-height:1.5;margin:0}
@media(max-width:760px){
 .disessa-amenities{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
 .disessa-amenity img{aspect-ratio:4/3;height:auto;max-height:none}
 .disessa-amenity h3{font-size:1.05rem;line-height:1.25;min-height:2.5em}
 .disessa-amenity a{font-size:.875rem}
 .amenities-heading>p{display:none}
 .gallery-column{width:76vw;max-width:420px;gap:12px}
 #exteriors .auto-gallery-track,#interiors .auto-gallery-track{gap:12px!important}
 .floor-switcher{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .interior-floor-tab b{font-size:.875rem!important;line-height:1.35}
 .tour-embed{width:calc(100% - 64px)}
 .tour-stage iframe{height:50svh;min-height:280px;max-height:480px}
 .tour-copy>p{margin-bottom:15px!important}
 .tour-scroll-help{font-size:.875rem}
}

/* The pinned hero follows ordinary page scrolling in both directions. */
.hero-scroll-sequence {
  --hero-travel: clamp(240px, 54svh, 620px);
  position: relative;
  height: calc(100svh + var(--hero-travel));
}
.hero-scroll-sequence .scroll-expand-hero {
  position: sticky;
  top: 0;
  height: 100svh;
}
.hero-video-toggle {
  z-index: 8;
  min-height: 44px;
  background: rgba(8, 9, 11, .82);
}
.hero-direct-actions .btn { background: rgba(8, 9, 11, .72); }
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-sequence { --hero-travel: 0px; }
  .hero-scroll-sequence .scroll-expand-hero { position: relative; }
  .expand-scroll-hint { display: none; }
}

.skip-link {
  position: fixed;
  z-index: 95;
  top: 9px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: #111216;
  color: #fff;
  border-radius: 6px;
}
.skip-link:focus { transform: none; }
.menu-btn { min-height: 44px; }
.nav-links.open {
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-links.open a { min-height: 32px; display: flex; align-items: center; }

#exteriors .bento-gallery-content,
#interiors .bento-gallery-content {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 clamp(12px, 1.4vw, 22px) 9px;
}
.auto-gallery-track .bento-gallery-shade {
  background: linear-gradient(to top, rgba(0, 0, 0, .98), rgba(0, 0, 0, .5) 19%, transparent 40%);
  opacity: 1 !important;
}
.auto-gallery-track:focus-visible,
.auto-gallery-track .bento-gallery-card:focus-visible,
.viewer-photo:focus-visible {
  outline: 3px solid #e4cf9f;
  outline-offset: -4px;
}
.auto-gallery-track.dragging { user-select: none; }
.auto-gallery-track.dragging .bento-gallery-card { cursor: grabbing; }
.bento-controls button[aria-disabled="true"],
.viewer-controls button[aria-disabled="true"] {
  opacity: .55;
  cursor: default;
}

#image-viewer { width: 100%; }
html:has(#image-viewer[open]) { overflow-y: hidden; }
#image-viewer .viewer-shell {
  min-height: 100%;
  height: auto;
  height: 100dvh;
  padding: max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  gap: 8px;
}
#image-viewer .viewer-top { gap: 12px; }
#viewer-title { overflow-wrap: anywhere; }
.viewer-photo {
  flex: 1 0 100px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.viewer-photo img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}
.viewer-photo.full-size {
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: auto;
}
.viewer-photo.full-size img {
  position: static;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin-inline: auto;
}
.viewer-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.viewer-controls button {
  min-height: 44px;
  border: 1px solid #998465;
  padding: 7px 14px;
  background: transparent;
  color: #fff;
  font-size: .875rem;
}
.viewer-controls button:hover:where(:not([aria-disabled="true"])) { background: #39332a; }
#viewer-count { text-align: center; font-size: .875rem; }
#viewer-thumbs { padding: 3px 4px 7px; }
#viewer-thumbs button:focus-visible { outline-offset: -2px; }

@media (max-height: 520px) {
  .expand-topline { display: none; }
  .hero-direct-actions { bottom: 78px; }
  .expand-scroll-hint { display: none; }
  #image-viewer .viewer-shell { gap: 5px; }
  #viewer-thumbs { min-height: 48px; }
  #viewer-thumbs button { height: 44px; width: 66px; min-width: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  .auto-gallery-track .bento-gallery-card,
  .auto-gallery-track .bento-gallery-card img { transition: none !important; }
}
