/* ==========================================================================
   Skylines — shared stylesheet
   ========================================================================== */

:root {
  --color-ink: #1c2b33;
  --color-aegean: #1b3a52;
  --color-aegean-deep: #10242f;
  --color-sand: #f4efe6;
  --color-sand-dark: #e7ddc9;
  --color-stone: #766c5c;
  --color-terracotta: #9b5d39;
  --color-white: #ffffff;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1240px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

p {
  color: var(--color-stone);
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}

.section--sand {
  background: var(--color-sand);
}

#estate-description {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-home #collection,
.page-home #coverage,
.page-home #floor-plan,
.page-home #exclusive-access,
.page-home #exclusive-services,
.page-home #location,
.page-home #about,
.page-home #reviews,
.page-home #contact,
.page-villa .section {
  padding: 48px 0 72px;
}

.page-villa #amenities {
  padding-bottom: 48px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Overview ---------- */

#overview h2 {
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
}

#overview p + p {
  margin-top: 16px;
}

#overview p {
  font-size: 1.18rem;
}

/* ---------- Home: About Skylines ---------- */

#about p {
  font-size: 1.18rem;
}

/* ---------- Home: Floor Plan ---------- */

.floorplan-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-sand-dark);
  background: var(--color-white);
  cursor: pointer;
  max-width: 95%;
  margin: 0 auto;
  padding: clamp(10px, 1.4vw, 20px);
}

.floorplan-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.floorplan-media {
  position: relative;
}

.floorplan-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--color-white);
  border: 2px solid var(--color-aegean);
  border-radius: 10px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-aegean);
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.floorplan-label:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 4px 14px rgba(16, 36, 47, 0.18);
}

.floorplan-label__num {
  font-size: 1.35em;
}

.map-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-sand-dark);
  max-width: 95%;
  margin: 0 auto;
}

.map-frame iframe {
  width: 100%;
  height: clamp(320px, 45vw, 460px);
  display: block;
  border: 0;
}

/* ---------- Body text size bump: The Villa, Belvedere, Outdoor & Pool ---------- */

#the-villa .level-card p,
#outdoor .split__body p,
#belvedere p {
  font-size: 1.12rem;
}

/* ---------- Outdoor & Pool: tighter format ---------- */

#outdoor .section-head {
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

#outdoor .split__media {
  position: relative;
  z-index: 0;
  margin-top: -120px;
}

/* ---------- Exclusive Access: full-width photo / text / photo ---------- */

.access-row {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px) 1fr;
  align-items: center;
  gap: 36px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.access-row__media {
  cursor: pointer;
}

.access-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.access-row__text {
  text-align: center;
}

.access-row__text p {
  font-size: 1.12rem;
}

@media (max-width: 960px) {
  .access-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .access-row {
    padding: 0 20px;
  }
}

/* ---------- Contact ---------- */

#contact {
  scroll-margin-top: 90px;
}

#contact p {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--color-ink);
}

#contact a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav.is-scrolled,
.nav--solid {
  background: rgba(28, 43, 51, 0.96);
  padding: 16px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav__brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.nav__brand-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.06em;
}

.nav__brand-main span {
  color: var(--color-terracotta);
}

.nav__brand-sub {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sand);
  opacity: 0.75;
}

.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav__links a {
  color: var(--color-white);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
  transition: opacity var(--transition);
  position: relative;
}

.nav__links a:hover,
.nav__links a.is-active {
  opacity: 1;
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-terracotta);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--color-white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 36, 47, 0.15) 0%, rgba(16, 36, 47, 0.15) 40%, rgba(16, 36, 47, 0.75) 100%);
}

#home-hero::after,
#skyline1-hero::after,
#skyline2-hero::after,
#skyline3-hero::after {
  background: none;
}

#skyline3-hero .hero__content {
  margin-left: auto;
  text-align: right;
}

#skyline3-hero .hero__tagline {
  margin-left: auto;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 40px 90px;
  max-width: 900px;
}

.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-sand);
  opacity: 0.85;
  margin-bottom: 18px;
  display: block;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--color-white);
}

#home-hero h1 {
  font-size: clamp(1.8rem, 4.6vw, 5rem);
  white-space: nowrap;
}

@media (max-width: 600px) {
  #home-hero h1 {
    white-space: normal;
  }
}

.hero__tagline {
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-sand);
  max-width: 640px;
}

/* Skyline 1 hero tagline: +50% size (matched on Skyline 2 and 3 for consistency) */
#skyline1-hero .hero__tagline,
#skyline2-hero .hero__tagline,
#skyline3-hero .hero__tagline {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  max-width: 760px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-white);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: var(--color-white);
  opacity: 0.6;
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.2; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 0.8; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.2; }
}

/* ---------- Stat strip ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-sand-dark);
  border-bottom: 1px solid var(--color-sand-dark);
}

.stat-strip__item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid var(--color-sand-dark);
}

.stat-strip__item:last-child {
  border-right: none;
}

.stat-strip__value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-aegean);
  display: block;
}

.plus {
  font-size: 0.7em;
}

.plus-wc {
  font-size: 0.5em;
  position: relative;
  top: 0.25em;
}

.stat-strip__label {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-top: 4px;
  display: block;
}

/* ---------- Overview / two-col ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* The Villa: shift the split slightly toward the photo (narrower text
   column, wider image column) so the picture reads larger. */
#the-villa .split {
  grid-template-columns: 0.85fr 1.15fr;
}

/* Let the photo overflow past its column to the right (rather than
   shrinking the text column) so it reads ~25% larger while the text
   boxes stay comfortably wide. */
#the-villa .split__media img {
  max-width: none;
  width: 125%;
  height: auto;
}

.split--reverse .split__media {
  order: 2;
}

.split__media img {
  border-radius: 4px;
}

.split__body p + p {
  margin-top: 16px;
}

.level-card {
  background: var(--color-white);
  border: 1px solid var(--color-sand-dark);
  border-radius: 6px;
  padding: 32px;
}

.level-card + .level-card {
  margin-top: 24px;
}

.level-card h3 {
  color: var(--color-aegean);
  margin-bottom: 12px;
}

.level-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 10px;
}

/* ---------- Gallery ---------- */

.gallery-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 10px 22px;
  border: 1px solid var(--color-sand-dark);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--color-white);
  color: var(--color-stone);
  transition: all var(--transition);
}

.gallery-tab.is-active,
.gallery-tab:hover {
  background: var(--color-aegean);
  color: var(--color-white);
  border-color: var(--color-aegean);
}

.gallery-panel + .gallery-panel {
  margin-top: 40px;
}

.gallery-panel {
  scroll-margin-top: 90px;
}

/* Collage: each cluster reproduces one PPTX slide's exact layout. Every
   item is positioned/sized by percentage (derived 1:1 from the deck's
   inch coordinates), and every box already matches its photo's native
   aspect ratio, so nothing is ever cropped or stretched. */
.gallery-collage {
  position: relative;
  width: 100%;
}

.gallery-collage + .gallery-collage {
  margin-top: 28px;
}

.gallery-collage__item {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-sand-dark);
}

.gallery-collage__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-more {
  margin-top: 28px;
  text-align: center;
}

/* ---------- Amenities ---------- */

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 40px;
}

.amenity-grid li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--color-ink);
  font-size: 1.12rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-sand-dark);
}

.amenity-grid li .dot,
.estate-feature-list li .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-terracotta);
  margin-top: 8px;
  flex: none;
}

.estate-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 110px;
}

.estate-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--color-ink);
  font-size: 1.08rem;
  line-height: 1.55;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-sand-dark);
}

.estate-feature-list a {
  color: var(--color-aegean);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.estate-feature-list .nowrap-line {
  white-space: nowrap;
}

.press-row__heading {
  text-align: center;
  color: var(--color-terracotta);
  margin-bottom: 24px;
}

.press-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.press-row__item {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
}

.press-row__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.press-row__item:hover img {
  transform: scale(1.03);
}

.press-row__item--zoom img {
  transform: scale(1.4);
}

.press-row__item--zoom:hover img {
  transform: scale(1.44);
}

.press-row__item--zoom-sm img {
  transform: scale(1.1);
}

.press-row__item--zoom-sm:hover img {
  transform: scale(1.14);
}

.press-row__caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-stone);
}

.press-row__caption a {
  color: var(--color-terracotta);
  text-decoration: underline;
}

.press-quote {
  background: var(--color-white);
  border: 1px solid var(--color-sand-dark);
  border-radius: 6px;
  padding: 40px;
  width: 100%;
  margin: 32px 0 0;
}

.press-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-ink);
  margin-bottom: 16px;
}

.press-quote p:last-of-type {
  margin-bottom: 20px;
}

.press-quote__attribution {
  display: block;
  text-align: right;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-stone);
}

.services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.services-row__item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.services-row__item--wide {
  aspect-ratio: 4 / 3;
  align-self: center;
}

.services-row__item--crop-bottom img {
  object-position: center bottom;
}

.services-row__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.services-row__item:hover img {
  transform: scale(1.05);
}

.services-row__text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- Info columns (location / services) ---------- */

.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-sand-dark);
  font-size: 0.98rem;
}

.info-list li span:first-child {
  color: var(--color-stone);
}

.info-list li span:last-child {
  color: var(--color-ink);
  font-weight: 500;
  text-align: right;
}

.info-list--plain li {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-size: 1.12rem;
}

/* ---------- Reviews ---------- */

.review-placeholder {
  border: 1px dashed var(--color-sand-dark);
  border-radius: 6px;
  padding: 56px 40px;
  text-align: center;
  color: var(--color-stone);
  font-style: italic;
}

.review-featured {
  background: var(--color-white);
  border: 1px solid var(--color-sand-dark);
  border-radius: 6px;
  padding: 40px;
  max-width: 760px;
  margin: 0 auto 32px;
}

.review-featured .review-card__quote {
  margin-bottom: 14px;
}

.review-featured .review-card__quote:last-of-type {
  margin-bottom: 20px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  position: relative;
  background: var(--color-white);
  border: 1px dashed var(--color-sand-dark);
  border-radius: 6px;
  padding: 32px;
}

.review-card__badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  background: var(--color-sand);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.review-card__stars {
  color: var(--color-terracotta);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-ink);
  margin-bottom: 16px;
}

.review-card__author {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-stone);
}

.review-note {
  text-align: center;
  margin-top: 28px;
  color: var(--color-stone);
  font-style: italic;
  font-size: 0.85rem;
}

/* ---------- Villa cards (home page) ---------- */

.villa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.villa-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3/4;
  color: var(--color-white);
}

.villa-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.villa-card:hover img {
  transform: scale(1.05);
}

.villa-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,36,47,0) 55%, rgba(16,36,47,0.55) 100%);
}

.villa-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px;
}

.villa-card__tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sand);
  opacity: 0.85;
}

.villa-card__body h3 {
  color: var(--color-white);
  margin-top: 6px;
}

.villa-card__meta {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--color-sand);
  opacity: 0.9;
}

.villa-card--soon {
  background: var(--color-sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-stone);
}

.villa-card--soon .villa-card__body {
  position: static;
  text-align: center;
  padding: 40px;
}

.villa-card--soon h3 {
  color: var(--color-aegean);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: all var(--transition);
}

.btn--light {
  color: var(--color-white);
}

.btn--light:hover {
  background: var(--color-white);
  color: var(--color-aegean-deep);
}

.btn--dark {
  color: var(--color-aegean);
}

.btn--dark:hover {
  background: var(--color-aegean);
  color: var(--color-white);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--color-aegean-deep);
  color: var(--color-sand);
  padding: 64px 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.footer__brand span {
  color: var(--color-terracotta);
}

.footer__links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__col h4 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 14px;
}

.footer__col li {
  padding: 4px 0;
  opacity: 0.85;
  font-size: 0.92rem;
}

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  opacity: 0.55;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(12, 20, 25, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 2px;
}

.lightbox__caption {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--color-sand);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: 0;
  color: var(--color-white);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 12px;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
}

.lightbox__close {
  top: 20px;
  right: 24px;
}

.lightbox__prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Coming soon page ---------- */

.coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-sand);
  padding: 40px;
}

.coming-soon h1 {
  color: var(--color-aegean);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.coming-soon p {
  margin-top: 18px;
  max-width: 480px;
}

.coming-soon .btn {
  margin-top: 32px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .split,
  #the-villa .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .info-columns {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  #the-villa .split__media img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .villa-grid {
    grid-template-columns: 1fr;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-strip__item:nth-child(2) {
    border-right: none;
  }
  .stat-strip__item:nth-child(n+3) {
    border-top: 1px solid var(--color-sand-dark);
  }
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .estate-feature-list {
    grid-template-columns: 1fr;
  }
  .press-row {
    grid-template-columns: 1fr;
  }
  .services-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Below tablet width the collage's small tiles get too cramped to read;
     drop to a simple full-width stacked column, still in the same order. */
  .gallery-collage {
    aspect-ratio: auto !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .gallery-collage__item {
    position: static !important;
    width: 100% !important;
    height: auto !important;
  }
  .gallery-collage + .gallery-collage {
    margin-top: 12px;
  }
  .gallery-collage__item img {
    width: 100%;
    height: auto;
    object-fit: initial;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 18px 20px;
  }
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--color-aegean-deep);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right var(--transition);
  }
  .nav__links.is-open {
    right: 0;
  }
  .nav__toggle {
    display: block;
  }
  .section {
    padding: 64px 0;
  }
  .container {
    padding: 0 20px;
  }
  .amenity-grid {
    grid-template-columns: 1fr;
  }
  .estate-feature-list .nowrap-line {
    white-space: normal;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .floorplan-label {
    padding: 6px 11px;
    font-size: 0.6rem;
    border-width: 1.5px;
    border-radius: 7px;
    letter-spacing: 0.02em;
  }
  .floorplan-label__num {
    font-size: 1.25em;
  }
  .press-quote {
    padding: 24px;
  }
  .services-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .floorplan-label {
    padding: 4px 8px;
    font-size: 0.5rem;
    border-width: 1px;
    border-radius: 5px;
  }
}
