:root {
  /* Light coastal palette — sand, linen, off-white surfaces; dark-navy text */
  --navy: #faf6ed;        /* base linen surface */
  --navy-deep: #ede2c8;   /* deeper sand (facts band, footer, contact) */
  --navy-mid: #f3ead7;    /* sand mid-tone (resort, availability) */
  --navy-light: #f7efdc;  /* lightest sand layer */
  --gold: #c8922a;
  --gold-light: #e0b050;
  --gold-soft: #d8a440;
  --silver: #4a5c70;      /* secondary navy-gray for muted text */
  --white: #0e1d2e;       /* primary text — dark navy */
  --ink: #0a1628;         /* deepest text / button-on-gold */
  --line: rgba(200, 146, 42, 0.34);
  --line-soft: rgba(200, 146, 42, 0.20);
  --hairline: rgba(14, 29, 46, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: #c8d8e8; color: var(--white); overflow-x: hidden; }

/* ============ SECTION COLOR ALTERNATION ============
   A = #f5f0e8 warm cream
   B = #faf7f2 soft warm white
   C = #c8d8e8 muted coastal blue (also body bg)
   Specific sections set directly in their existing rules below;
   listings.html unit-section ids handled here. */
#unit414.unit-section { background: #f5f0e8; }
#unit408.unit-section { background: #faf7f2; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 48px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(180deg, rgba(250, 246, 237, 0.9) 0%, rgba(250, 246, 237, 0) 100%); backdrop-filter: blur(8px); }
.nav-logo img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(14, 29, 46, 0.78); text-decoration: none; transition: color 0.25s; position: relative; padding: 6px 0; }
.nav-links a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-links a:not(.nav-cta):hover { color: var(--gold); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--gold); color: var(--ink) !important; padding: 11px 22px !important; letter-spacing: 2px !important; font-weight: 700 !important; box-shadow: 0 12px 28px -14px rgba(200, 146, 42, 0.6); }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--ink) !important; }
.nav-cta::after { display: none !important; }

/* HAMBURGER */
.nav-toggle { display: none; background: none; border: 1px solid var(--line); cursor: pointer; padding: 10px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); transition: transform 0.3s, opacity 0.2s; transform-origin: center; }
.nav-toggle.open { background: rgba(200,146,42,0.12); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* GOLD DIVIDER */
.gold-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* SECTION LABELS */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: var(--gold);
}
.section-eyebrow--center::after {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: var(--gold);
}
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 5.5vw, 72px); font-weight: 500; line-height: 0.98; letter-spacing: -0.02em; color: var(--white); text-wrap: balance; }
.section-title em { font-style: italic; color: var(--gold-light); font-weight: 500; }

/* BUTTONS */
.btn-primary {
  background: var(--gold); color: var(--ink);
  padding: 18px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s, box-shadow 0.35s;
  box-shadow: 0 14px 32px -14px rgba(200, 146, 42, 0.6);
}
.btn-primary:hover { background: var(--gold-light); color: var(--ink); transform: translateY(-2px); box-shadow: 0 22px 42px -14px rgba(200, 146, 42, 0.75); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 8px 18px -10px rgba(200, 146, 42, 0.55); }
.btn-outline {
  border: 1px solid rgba(14, 29, 46, 0.32); color: var(--white);
  padding: 18px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s, border-color 0.25s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }
.btn-primary .arrow, .btn-outline .arrow { transition: transform 0.3s; display: inline-block; }
.btn-primary:hover .arrow, .btn-outline:hover .arrow { transform: translateX(4px); }

/* FOCUS-VISIBLE — keyboard-only focus rings using brand gold */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

/* PRICE */
.price-main { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 700; color: var(--gold-light); line-height: 1; }
.price-sub { font-size: 11px; letter-spacing: 2px; color: rgba(14, 29, 46, 0.5); margin-top: 4px; }

/* PHOTO TILES */
.unit-photo { aspect-ratio: 4/3; background: var(--navy-light); overflow: hidden; position: relative; cursor: pointer; }
.unit-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.unit-photo:hover img { transform: scale(1.04); }
.photo-label { position: absolute; bottom: 12px; left: 14px; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #faf6ed; background: rgba(14, 29, 46, 0.78); padding: 5px 10px; }

/* DETAIL BOXES */
.unit-details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-bottom: 48px; box-shadow: 0 22px 48px -28px rgba(14, 29, 46, 0.18); }
.detail-box { background: linear-gradient(180deg, var(--navy-mid) 0%, rgba(243, 234, 215, 0.85) 100%); padding: 32px 24px; text-align: center; transition: background 0.3s ease; }
.detail-box:hover { background: linear-gradient(180deg, rgba(200, 146, 42, 0.10) 0%, var(--navy-mid) 100%); }
.detail-icon { display: flex; justify-content: center; align-items: center; margin-bottom: 12px; color: var(--gold-light); }
.detail-icon svg { width: 24px; height: 24px; }
.detail-val { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; color: var(--white); line-height: 1; }
.detail-key { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-top: 8px; }

/* AMENITIES — hairline grid w/ hover gold-rule reveal */
.amenities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  margin-top: 8px; margin-bottom: 0;
}
.amenity {
  padding: 40px 32px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 18px;
  background: transparent;
  position: relative;
  transition: background 0.3s;
}
.amenity::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.amenity:hover::before { width: 100%; }
.amenity:hover { background: rgba(200, 146, 42, 0.03); }
.amenity-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  color: var(--gold-light);
}
.amenity-icon svg { width: 20px; height: 20px; }
.amenity-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--white); margin-bottom: 6px;
  text-transform: none; letter-spacing: 0;
}
.amenity-desc { font-size: 13px; color: rgba(14, 29, 46, 0.72); line-height: 1.6; }

/* RESORT PHOTOS — asymmetric masonry grid */
.resort-photos {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "large upper"
    "large lower";
  gap: 7px;
  aspect-ratio: 5 / 4;
  width: 100%;
}
.resort-photo { overflow: hidden; border: 1px solid var(--line); background: var(--navy-light); }
.resort-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.resort-photo:hover img { transform: scale(1.04); }
.resort-photo--large { grid-area: large; }
.resort-photo--upper { grid-area: upper; }
.resort-photo--lower { grid-area: lower; }

/* RESORT FEATURES */
.resort-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: rgba(14, 29, 46, 0.82); }
.feat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* AVAILABILITY */
.avail-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.avail-lede { font-size: 14px; line-height: 1.85; color: rgba(14, 29, 46, 0.72); max-width: 46ch; }
.avail-foot {
  margin-top: 48px; text-align: center;
  font-size: 13px; color: rgba(14, 29, 46, 0.72);
  font-family: 'Cormorant Garamond', serif; font-style: italic;
}
.avail-foot a {
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  text-decoration: none;
  transition: color 0.25s;
}
.avail-foot a:hover { color: #b78124; }
.avail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 0; }
.avail-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(250, 246, 237, 0.92), rgba(243, 234, 215, 0.55));
  padding: 36px 28px 32px;
  text-align: left;
  transition: transform 0.35s, border-color 0.35s;
}
.avail-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.avail-corner {
  position: absolute; top: 14px; right: 14px;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 13px; color: rgba(200, 146, 42, 0.5);
}
.avail-month {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 500;
  font-size: 32px; color: var(--white);
  line-height: 1; margin-bottom: 18px;
  text-transform: none; letter-spacing: 0;
}
.avail-status {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
}
.avail-status .swatch { width: 8px; height: 8px; border-radius: 50%; }
.status-open { color: #2c7a52; }
.status-open .swatch { background: #4caf82; box-shadow: 0 0 10px rgba(76, 175, 130, 0.55); }
.status-filling { color: #b78124; }
.status-filling .swatch { background: var(--gold); box-shadow: 0 0 10px rgba(200, 146, 42, 0.55); }
.status-call { color: var(--silver); }
.status-call .swatch { background: var(--silver); }

/* WHY GRID — hairline columns w/ roman numerals */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.why-card {
  padding: 56px 40px;
  border-right: 1px solid var(--line-soft);
  background: transparent;
  text-align: left;
  position: relative;
  transition: background 0.35s;
}
.why-card:last-child { border-right: 0; }
.why-card:hover { background: rgba(200, 146, 42, 0.03); }
.why-num {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 14px; color: var(--gold); font-weight: 500; letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.why-num::after {
  content: ''; flex: 1; height: 1px; background: var(--line-soft);
}
.why-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 600;
  color: var(--white); line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: 0;
  text-transform: none;
}
.why-title em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.why-desc { font-size: 14px; color: rgba(14, 29, 46, 0.78); line-height: 1.85; max-width: none; }

/* FOOTER — dark navy with light text */
footer { background: #0a1628; padding: 72px 48px 32px; border-top: 1px solid rgba(200, 146, 42, 0.32); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 56px; }
.footer-logo img { height: 64px; margin-bottom: 18px; }
.footer-desc { font-size: 13px; color: rgba(250, 250, 248, 0.72); line-height: 1.8; max-width: 30ch; }
.footer-col-title { font-size: 9px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.footer-links { list-style: none; }
.footer-links li { font-size: 13px; color: rgba(250, 250, 248, 0.78); margin-bottom: 12px; }
.footer-links li a { color: rgba(250, 250, 248, 0.78); text-decoration: none; transition: color 0.25s; }
.footer-links li a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(250, 250, 248, 0.10); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copy { font-size: 11px; color: rgba(250, 250, 248, 0.6); letter-spacing: 0.04em; }
.footer-social { display: flex; gap: 24px; }
.social-link { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(250, 250, 248, 0.78); text-decoration: none; transition: color 0.25s; }
.social-link:hover { color: var(--gold-light); }

/* SCROLL REVEAL (IntersectionObserver toggles .is-visible) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* SUBTLE TEXTURE ON SAND SURFACES */
.surface-texture { position: relative; isolation: isolate; }
.surface-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(-22deg, transparent 0, transparent 80px, rgba(14, 29, 46, 0.025) 80px, rgba(14, 29, 46, 0.025) 81px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='.18'/%3E%3C/svg%3E");
  opacity: 0.45;
}
.surface-texture > * { position: relative; z-index: 1; }

/* PRIMARY BOOKING CTA — slightly larger + soft pulse */
@keyframes booking-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 146, 42, 0.4); }
  55% { box-shadow: 0 0 0 7px rgba(200, 146, 42, 0); }
}
.booking-cta .btn-primary,
.contact-section .contact-buttons .btn-primary {
  padding: 18px 46px;
  font-size: 12px;
  letter-spacing: 2.5px;
  animation: booking-pulse 2.5s ease-in-out 3;
}
.booking-cta .btn-primary:hover,
.contact-section .contact-buttons .btn-primary:hover {
  animation: none;
  box-shadow: none;
}

/* PRE-FOOTER CTA STRIP */
.cta-strip {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border-top: 1px solid rgba(200, 146, 42, 0.25);
  border-bottom: 1px solid rgba(200, 146, 42, 0.25);
  padding: 56px 48px;
}
.cta-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-strip-title em { font-style: italic; color: var(--gold-light); }
.cta-strip-sub {
  font-size: 13px;
  color: rgba(14, 29, 46, 0.78);
  line-height: 1.7;
  max-width: 480px;
}
.cta-strip-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .cta-strip { padding: 44px 20px; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(250, 246, 237, 0.98); backdrop-filter: blur(8px); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; padding: 0; }
  .nav-links li a { display: block; padding: 14px 20px; min-height: 44px; box-sizing: border-box; }
  .nav-cta { display: inline-block; margin: 6px 0; }

  footer { padding: 56px 20px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }

  .resort-photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "large" "upper" "lower";
    aspect-ratio: auto;
  }
  .resort-photo { aspect-ratio: 4 / 3; }
  .resort-features { grid-template-columns: 1fr; }
  .unit-details { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .avail-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .why-card:last-child { border-bottom: 0; }
}
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute;
  top: -40px; left: 16px;
  background: var(--gold); color: var(--ink);
  padding: 10px 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ============ BRAND (NAV) ============ */
.brand { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; }
.brand-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); display: block; }
.brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.brand-text small {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============ NAV SCROLL STATE ============ */
nav { transition: background 0.25s ease, border-color 0.25s ease; }
nav.is-scrolled {
  background: rgba(250, 246, 237, 0.94);
  border-bottom: 1px solid var(--line);
}

/* ============ HERO SCROLL INDICATOR ============ */
.hero-scroll {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
  animation: hero-scroll-bounce 2.5s ease-in-out 1.5s infinite;
  z-index: 3;
}
.hero-scroll svg { width: 18px; height: 18px; color: var(--gold-light); }
.hero-scroll:hover { color: var(--gold-light); }
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ============ QUICK FACTS BAND — warm cream (A) ============ */
.facts-band {
  background: #f5f0e8;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.facts-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: center;
}
.fact {
  padding: 28px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border-right: 1px solid var(--hairline);
}
.fact:last-child { border-right: 0; }
.fact-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--gold);
  margin-bottom: 4px;
}
.fact-icon svg { width: 24px; height: 24px; }
.fact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700;
  color: var(--white); line-height: 1;
}
.fact-value em { font-style: italic; color: var(--gold); font-weight: 600; }
.fact-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(14, 29, 46, 0.66);
}

/* ============ TABS ============ */
.tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 56px; flex-wrap: wrap;
}
.tab {
  position: relative;
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(14, 29, 46, 0.78);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  min-height: 44px;
  cursor: pointer;
}
.tab:hover { color: var(--gold); border-color: var(--gold); }
.tab.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.tab-badge {
  display: inline-block; margin-left: 8px;
  font-size: 8px; letter-spacing: 1.5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(76, 175, 130, 0.18); color: #2c7a52;
}
.tab.is-active .tab-badge { background: rgba(14, 29, 46, 0.18); color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tab-fade 0.4s ease; }
@keyframes tab-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ UNIT PHOTOS (TAB LAYOUT) ============ */
.unit-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}
.unit-photos > .unit-photo { aspect-ratio: 16/10; }
.unit-photos-stack {
  display: grid; grid-template-rows: 1fr 1fr; gap: 6px;
}
.unit-photos-stack > .unit-photo { aspect-ratio: auto; }
.unit-photos-stack > .unit-photo img { height: 100%; width: 100%; object-fit: cover; }
.unit-photos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 48px;
}
.unit-photos-grid > .unit-photo { aspect-ratio: 4/3; }
.unit-photos-grid .unit-photo--wide { grid-column: span 2; }

/* ============ UNIT HEAD / META ROW / CALLOUT ============ */
.unit-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 32px;
}
.unit-head-meta {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(14, 29, 46, 0.6);
}
.unit-meta-row {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 32px; align-items: stretch;
  margin-bottom: 40px;
}
.unit-meta-row .unit-details { margin-bottom: 0; }
.unit-callout {
  background: linear-gradient(135deg, rgba(200, 146, 42, 0.10), rgba(200, 146, 42, 0.02));
  border: 1px solid rgba(200, 146, 42, 0.28);
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: center;
}
.unit-callout-eyebrow {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}
.unit-callout-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--white); line-height: 1.25;
  margin-bottom: 6px;
}
.unit-callout-title em { font-style: italic; color: var(--gold-light); }
.unit-callout-desc {
  font-size: 12px; color: rgba(14, 29, 46, 0.78);
  line-height: 1.7;
}

/* ============ INLINE PER-UNIT CTA (FOR INDEX TABS) ============ */
.unit-cta-inline {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  background: var(--navy);
  border: 1px solid var(--line);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.unit-cta-inline-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--white); margin-bottom: 4px;
}
.unit-cta-inline-text h3 em { font-style: italic; color: var(--gold); }
.unit-cta-inline-text p {
  font-size: 12px; color: rgba(14, 29, 46, 0.78);
}
.unit-cta-inline-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ CONTACT ROWS (LEGACY) ============ */
.contact-rows {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 48px 0;
}
.contact-row {
  background: var(--navy);
  padding: 32px 20px;
  text-align: center;
}
.contact-row .contact-label {
  display: block;
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.contact-row .contact-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--white); line-height: 1.2;
  word-break: break-word;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.contact-row a.contact-val:hover {
  color: var(--gold);
  border-bottom-color: var(--line);
}
.contact-row .contact-val--small { font-size: 16px; }

/* ============ FLOATING MOBILE CTA ============ */
.floating-call {
  display: none;
  position: fixed; bottom: 18px; right: 18px;
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 0 22px;
  height: 52px;
  border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 32px -10px rgba(200, 146, 42, 0.55), 0 4px 12px rgba(14, 29, 46, 0.18);
  align-items: center; gap: 10px;
}
.floating-call svg { width: 20px; height: 20px; }
.floating-call:hover { background: var(--gold-light); color: var(--ink); }

/* ============ MOBILE OVERRIDES (PORTED) ============ */
@media (max-width: 920px) {
  .unit-photos { grid-template-columns: 1fr; }
  .unit-photos-stack { grid-template-rows: auto auto; }
  .unit-photos-grid { grid-template-columns: 1fr; }
  .unit-photos-grid .unit-photo--wide { grid-column: auto; }
  .unit-meta-row { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 22px 18px; }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
  .contact-rows { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .floating-call { display: inline-flex; }
}
@media (max-width: 540px) {
  .tabs { flex-direction: column; align-items: stretch; }
  .tab { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal.is-visible { transform: none; }
  .booking-cta .btn-primary,
  .contact-section .contact-buttons .btn-primary { animation: none; }
  .hero-scroll { display: none; }
  .tab-panel.is-active { animation: none; }
  .why-card:nth-child(2) { transform: none; }
}

/* ============ UNIT CARDS (HOMEPAGE PREVIEW — 3 cards, one per floor) ============ */
.unit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}
.unit-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: rgba(250, 246, 237, 0.72);
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -28px rgba(14, 29, 46, 0.32);
}
.unit-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-light);
}
.unit-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.unit-card:hover .unit-card-media img { transform: scale(1.04); }
.unit-card-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #faf6ed;
  background: rgba(14, 29, 46, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 7px 12px;
  border: 1px solid rgba(200, 146, 42, 0.32);
}
.unit-card-tag--accent {
  color: #0e1d2e;
  background: var(--gold);
  border-color: var(--gold);
}
.unit-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 30px;
  flex: 1;
}
.unit-card-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0;
}
.unit-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
}
.unit-card-title em { font-style: italic; color: var(--gold); font-weight: 600; }
.unit-card-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(14, 29, 46, 0.62);
  margin: 0;
}
.unit-card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(14, 29, 46, 0.78);
  margin: 0;
}
.unit-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
  margin-top: 4px;
}
.unit-card-stat {
  text-align: center;
  border-right: 1px solid var(--line-soft);
  padding: 0 6px;
}
.unit-card-stat:last-child { border-right: 0; }
.unit-card-stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.unit-card-stat-val em {
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.55em;
  font-weight: 500;
  margin-left: 1px;
  vertical-align: 22%;
}
.unit-card-stat-key {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.unit-card-actions {
  margin-top: auto;
  padding-top: 6px;
}
.unit-card-actions .btn-primary {
  width: 100%;
  text-align: center;
}

@media (max-width: 1024px) {
  .unit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 640px) {
  .unit-cards { grid-template-columns: 1fr; gap: 24px; }
  .unit-card-body { padding: 24px 22px 26px; }
}

/* ============ "NOT SURE WHICH UNIT" — full section ============ */
.not-sure-section {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(200, 146, 42, 0.12), transparent 70%),
    linear-gradient(180deg, #f3ead7 0%, #ede2c8 100%);
  padding: 110px 48px;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.not-sure-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.not-sure-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
  margin: 20px 0 18px;
}
.not-sure-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.not-sure-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(14, 29, 46, 0.74);
  max-width: 52ch;
  margin: 0 auto 36px;
}
.not-sure-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.not-sure-inner--split {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  text-align: left;
  border: 1px solid var(--line);
  overflow: hidden;
}
.not-sure-inner--split .not-sure-desc { margin: 0 0 36px; max-width: none; }
.not-sure-inner--split .not-sure-actions {
  justify-content: flex-start;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 320px;
}
.not-sure-photo {
  overflow: hidden;
  background: var(--navy-light);
  min-height: 480px;
}
.not-sure-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.not-sure-text {
  background: var(--navy);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.not-sure-section { position: relative; }
.not-sure-chevron {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  opacity: 0.45;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.not-sure-chevron svg { width: 32px; height: 32px; display: block; }
@media (max-width: 768px) {
  .not-sure-section { padding: 72px 20px; }
  .not-sure-desc { font-size: 17px; }
  .not-sure-inner--split { grid-template-columns: 1fr; text-align: center; }
  .not-sure-inner--split .not-sure-desc { margin: 0 auto 32px; }
  .not-sure-inner--split .not-sure-actions {
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  .not-sure-photo { min-height: 0; aspect-ratio: 4 / 5; max-height: 420px; }
  .not-sure-text { padding: 48px 28px; }
  .not-sure-chevron { right: 8px; }
  .not-sure-chevron svg { width: 22px; height: 22px; }
}

/* ============ HERO SERIF HEADLINE + DESCRIPTION ============ */
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
  max-width: 16ch;
  margin: 56px auto 0;
  text-align: center;
}
.hero-headline em {
  display: block;
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
  padding-left: 0.6em;
}
.hero-description {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  font-style: italic;
  color: rgba(250, 250, 248, 0.85);
  line-height: 1.55;
  max-width: 580px;
  margin: 22px auto 0;
  text-align: center;
}

/* ============ UNITS HEADER (CENTERED, NO VERTICAL LINE) ============ */
.units-header {
  text-align: center;
  margin-bottom: 96px;
}
.units-header .section-eyebrow {
  justify-content: center;
}
.units-header .section-title {
  margin-top: 18px;
}
.units-header .section-title em {
  display: block;
}
.units-subtext {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(14, 29, 46, 0.72);
  margin-top: 18px;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============ "MORE UNITS COMING SOON" BANNER — muted coastal blue (C) ============ */
.coming-soon-wrap {
  background: #c8d8e8;
  padding: 72px 48px;
}
.coming-soon-banner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 44px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(200, 146, 42, 0.10), transparent 70%),
    linear-gradient(180deg, var(--navy-light), var(--navy-mid));
  border: 1px solid var(--line);
  position: relative;
}
.coming-soon-banner::before,
.coming-soon-banner::after {
  content: '';
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
}
.coming-soon-banner::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.coming-soon-banner::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.coming-soon-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.coming-soon-eyebrow::before,
.coming-soon-eyebrow::after {
  content: ''; display: inline-block; width: 24px; height: 1px; background: var(--gold);
}
.coming-soon-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 16px;
}
.coming-soon-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.coming-soon-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(14, 29, 46, 0.78);
  max-width: 52ch;
  margin: 0 auto 32px;
}
.coming-soon-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
@media (max-width: 768px) {
  .coming-soon-wrap { padding: 56px 20px; }
  .coming-soon-banner { padding: 40px 24px; }
}

/* ============ CONTACT TWO-COLUMN LAYOUT — warm cream (A) ============ */
.contact-two-col {
  background: #f5f0e8;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.contact-two-col::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 30%, rgba(200, 146, 42, 0.14), transparent 65%),
    radial-gradient(45% 60% at 15% 80%, rgba(200, 146, 42, 0.08), transparent 60%);
  pointer-events: none;
}
.contact-shell {
  max-width: 1100px; margin: 0 auto; padding: 0 48px;
  position: relative;
}
.contact-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 80px; align-items: center;
}
.contact-text .section-eyebrow { margin-bottom: 20px; }
.contact-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
  text-wrap: balance;
}
.contact-headline em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.contact-lede {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(14, 29, 46, 0.82);
  max-width: 42ch;
  margin-bottom: 36px;
}
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(247, 239, 220, 0.85), rgba(243, 234, 215, 0.55));
  padding: 48px 44px;
  position: relative;
  backdrop-filter: blur(6px);
}
.contact-card::before {
  content: ''; position: absolute; top: -1px; left: -1px;
  width: 42px; height: 42px;
  border-top: 1px solid var(--gold); border-left: 1px solid var(--gold);
}
.contact-card::after {
  content: ''; position: absolute; bottom: -1px; right: -1px;
  width: 42px; height: 42px;
  border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold);
}
.contact-card .contact-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 6px;
  background: transparent;
  text-align: left;
}
.contact-card .contact-row:last-child { border-bottom: 0; }
.contact-card .contact-row:first-child { padding-top: 0; }
.contact-card .contact-row .contact-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0;
}
.contact-card .contact-row .contact-label svg { width: 12px; height: 12px; color: var(--gold-light); }
.contact-card .contact-row .contact-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600;
  color: var(--white);
  letter-spacing: 0.005em;
  word-break: break-word;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  text-decoration: none;
}
.contact-card .contact-row a.contact-val:hover {
  color: var(--gold);
  border-bottom-color: var(--line);
}
.contact-card .contact-row .contact-val--small { font-size: 18px; }
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-shell { padding: 0 28px; }
}
@media (max-width: 768px) {
  .contact-two-col { padding: 96px 0; }
  .contact-card { padding: 32px 24px; }
}
