/* ==========================================================================
   INFINITY TOWN — Brochure-matched stylesheet
   Palette, typography and wave motif taken from the printed brochure:
   deep navy, crimson red, gold accents, serif display headings.
   ========================================================================== */

:root {
  --navy-900: #05122E;
  --navy-800: #0A1E4E;
  --navy-700: #102A63;
  --navy-600: #1B3D82;

  --red-600: #D31A21;
  --red-500: #E1252B;
  --red-400: #EE4A4F;

  --gold-500: #C9A227;
  --gold-400: #DFBE55;

  --paper: #FFFFFF;
  --cream: #F7F5F0;
  --mist: #EEF1F6;
  --line: #DEE3EC;

  --ink-900: #0B1220;
  --ink-700: #33415C;
  --ink-500: #5A6883;

  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, 0.82);
  --on-dark-mute: rgba(255, 255, 255, 0.58);

  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 0.35s var(--ease);

  --shadow-sm: 0 4px 14px -6px rgba(11, 18, 32, 0.16);
  --shadow-md: 0 18px 40px -18px rgba(11, 18, 32, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(5, 18, 46, 0.55);

  --header-h: 116px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink-900);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.section-container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

/* Only hide content when JavaScript is confirmed running (the inline script in <head>
   sets .js). If script.js fails to load, the page renders fully instead of going blank. */
.js .scroll-reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
/* script.js adds "revealed"; older builds added "active". Accept both so a mismatch
   can never leave the whole page stuck at opacity:0. */
.scroll-reveal.active,
.scroll-reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Type helpers ---------- */
.display-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: -0.01em;
  color: var(--navy-800);
  margin-bottom: 1.1rem;
}
.display-light { color: var(--on-dark); }
.red-text { color: var(--red-500); }
.gold-text { color: var(--gold-400); }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red-500);
  margin-bottom: 0.9rem;
  position: relative;
  padding-left: 2.4rem;
}
.kicker::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1.8rem; height: 2px; background: var(--red-500);
}
.kicker-light { color: var(--gold-400); }
.kicker-light::before { background: var(--gold-400); }

.section-head { max-width: 760px; margin-bottom: 3.25rem; }
.section-lead { font-size: 1.05rem; color: var(--ink-700); }
.section-lead-light { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-family: inherit; font-size: 0.94rem; font-weight: 600;
  border: 1px solid transparent; border-radius: 100px;
  cursor: pointer; transition: var(--t); white-space: nowrap;
}
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: 0.65rem 1.35rem; font-size: 0.88rem; }
.btn-block { display: flex; width: 100%; }
.btn-arrow, .btn-icon { width: 17px; height: 17px; flex-shrink: 0; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-arrow { transition: transform 0.2s ease; }

.btn-red { background: var(--red-500); color: #fff; box-shadow: 0 10px 24px -10px rgba(225, 37, 43, 0.75); }
.btn-red:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(225, 37, 43, 0.8); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }

/* ---------- Wave divider (brochure signature) ---------- */
.wave-divider { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; pointer-events: none; z-index: 3; }
.wave-divider svg { width: 100%; height: 72px; display: block; }
.wave-divider .w-red { fill: var(--red-500); }
.wave-divider .w-white { fill: #fff; }

.wave-top { bottom: auto; top: -1px; transform: rotate(180deg); }
.wave-top .w-white { fill: var(--cream); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 120; }

.topbar { background: var(--red-600); color: #fff; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.02em; }
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 0.45rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar-phone { font-weight: 700; }
.topbar-phone:hover { color: #ffe2e3; }

.header-container {
  background: rgba(5, 18, 46, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--t), padding var(--t);
}
.header-container { padding: 0.9rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.main-header.scrolled .header-container { padding: 0.55rem 1.5rem; background: rgba(5, 18, 46, 0.98); box-shadow: 0 10px 30px -14px rgba(0,0,0,0.6); }

.logo-icon-wrapper {
  display: flex; align-items: center; justify-content: center;
  background: #fff; width: 175px; height: 66px; border-radius: 10px;
  padding: 6px 12px; box-shadow: 0 8px 20px -8px rgba(0,0,0,0.4); overflow: hidden;
  transition: var(--t);
}
.logo-img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.08); }
.main-header.scrolled .logo-icon-wrapper { width: 145px; height: 56px; padding: 4px 8px; }

.footer-brand-col .logo-icon-wrapper {
  width: 200px; height: 76px; padding: 8px 16px; border-radius: 12px;
}

.desktop-nav { display: flex; gap: 1.9rem; }
.nav-link { font-size: 0.89rem; font-weight: 500; color: var(--on-dark-soft); position: relative; padding-bottom: 3px; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red-500); transition: width 0.25s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.experience-badge {
  font-size: 0.72rem; font-weight: 600; padding: 0.35rem 0.85rem; border-radius: 100px;
  background: rgba(201, 162, 39, 0.14); color: var(--gold-400);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; background: none; border: 0; cursor: pointer;
  padding: 8px; min-width: 44px; min-height: 44px;   /* WCAG 2.5.5 touch target */
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--t); }
.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); }

.mobile-nav {
  display: none; flex-direction: column;
  background: var(--navy-900); border-bottom: 3px solid var(--red-500);
  max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease);
}
.mobile-nav a {
  padding: 0.9rem 1.5rem; color: var(--on-dark-soft);
  border-top: 1px solid rgba(255,255,255,0.07); font-size: 0.95rem; font-weight: 500;
}
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.mobile-nav.open { max-height: 480px; }

@media (max-width: 1080px) { .desktop-nav { display: none; } .nav-toggle { display: flex; } .mobile-nav { display: flex; } }
@media (max-width: 720px) {
  .topbar-hide-sm { display: none; }
  .header-call-btn { display: none; }
  .header-actions .btn-red { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
}
@media (max-width: 560px) {
  /* Logo + "Get Brochure" + hamburger together overflow a phone-width header, pushing the
     menu toggle off-screen. The sticky bottom bar already offers "Get Brochure", so drop the
     header copy of it and keep the toggle reachable. */
  .header-actions .btn-red { display: none; }
  /* Comfortable close targets on touch */
  .modal-close { width: 40px; height: 40px; }
}
@media (max-width: 480px) { .topbar-inner { justify-content: center; } .topbar-item:first-child { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 7rem;
  background:
    radial-gradient(circle at 18% 12%, rgba(27, 61, 130, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 88% 78%, rgba(211, 26, 33, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--on-dark);
  overflow: hidden;
}
.hero-container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }

.hero-eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.4rem;
}
.hero-eyebrow .dot { color: var(--red-400); margin: 0 0.35rem; }

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.8vw, 4.1rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  text-wrap: balance;
}
.hero-title .title-line { display: block; }
.hero-title .gold-text { display: block; color: var(--gold-400); margin-top: 0.35rem; white-space: nowrap; }

@media (max-width: 420px) {
  .hero-title { font-size: 1.65rem; }
}

.hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: 1.15rem;
  color: var(--gold-400); margin-bottom: 1.6rem;
}

.hero-lead { font-size: 1.03rem; color: var(--on-dark-soft); max-width: 620px; margin-bottom: 1.75rem; }
.hero-lead strong { color: #fff; }

.hero-checks { display: grid; gap: 0.75rem; margin-bottom: 2.25rem; }
.hero-checks li {
  position: relative; padding-left: 1.85rem;
  font-size: 0.95rem; color: var(--on-dark-soft); line-height: 1.5;
}
.hero-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red-500); box-shadow: 0 0 0 3px rgba(225, 37, 43, 0.35);
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Prominent hero banner image card fully contained */
.hero-graphic { width: 100%; max-width: 100%; min-width: 0; }
.gate-figure {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: 1 / 1.12;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.gate-figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 58%;
  transform: scale(1.10);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gate-figure:hover img {
  transform: scale(1.15);
}
.gate-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(5,18,46,0.94) 0%, transparent 100%);
  padding: 2rem 1.25rem 0.9rem;
  font-size: 0.88rem; color: var(--on-dark-soft); text-align: center;
}

/* Stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); overflow: hidden;
  margin-top: 3.5rem;
}
.stat-cell { background: rgba(5,18,46,0.55); padding: 1.4rem 1rem; text-align: center; }
.stat-num {
  display: block; font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 600; color: var(--gold-400); margin-bottom: 0.2rem;
}
.stat-label { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--on-dark-mute); }

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* Stacked full-width: go wide again so the panorama is not cropped to a sliver */
  .gate-figure { aspect-ratio: 16 / 10; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .stat-strip { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROJECT OVERVIEW
   ========================================================================== */
.overview-section { background: var(--paper); padding: 6rem 0 5rem; }

.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  transition: var(--t); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--red-500); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: #fff; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(225, 37, 43, 0.09); color: var(--red-500);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.1rem; color: var(--navy-800); margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.9rem; color: var(--ink-500); }

@media (max-width: 1180px) { .feature-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(27,61,130,0.5) 0%, transparent 55%),
    linear-gradient(150deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--on-dark); padding: 6.5rem 0;
}
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
.about-text { font-size: 1rem; color: var(--on-dark-soft); margin-bottom: 1.15rem; }
.about-text strong { color: #fff; }

.phase-list { margin-top: 1.75rem; display: grid; gap: 0.8rem; }
.phase-item { display: flex; align-items: flex-start; gap: 0.85rem; font-size: 0.96rem; color: var(--on-dark-soft); }
.phase-item strong { color: var(--gold-400); }
.phase-dot { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red-500); margin-top: 0.55rem; box-shadow: 0 0 0 3px rgba(225,37,43,0.22); }

.side-heading {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 600;
  font-size: 1.55rem; color: #fff; margin-bottom: 1.5rem;
}
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.trust-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1.35rem 1.15rem; text-align: center; transition: var(--t);
}
.trust-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(201,162,39,0.45); }
.trust-num { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; font-weight: 600; color: var(--red-400); }
.trust-label { display: block; font-size: 0.78rem; color: var(--on-dark-mute); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.25rem; }

.pillar-strip { display: grid; gap: 0.65rem; }
.pillar {
  display: flex; align-items: center; gap: 0.85rem;
  background: rgba(255,255,255,0.04); border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 0.8rem 1.1rem;
  font-size: 0.9rem; font-weight: 500; color: var(--on-dark-soft);
}
.pillar svg { width: 20px; height: 20px; color: var(--gold-400); flex-shrink: 0; }

@media (max-width: 992px) { .about-grid { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   AMENITIES
   ========================================================================== */
.amenities-section { background: var(--cream); padding: 6.5rem 0; }
.amenities-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.amenity-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.15rem; transition: var(--t); box-shadow: var(--shadow-sm);
}
.amenity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(225,37,43,0.35); }
.amenity-icon {
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-800); color: #fff;
  box-shadow: 0 0 0 4px rgba(10,30,78,0.08);
}
.amenity-icon svg { width: 22px; height: 22px; }
.amenity-card h3 { font-size: 0.95rem; color: var(--navy-800); margin-bottom: 0.35rem; }
.amenity-card p { font-size: 0.83rem; color: var(--ink-500); line-height: 1.5; }

@media (max-width: 1200px) { .amenities-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (max-width: 780px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .amenities-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   MASTER PLAN
   ========================================================================== */
.masterplan-section {
  background:
    radial-gradient(circle at 12% 90%, rgba(211,26,33,0.18) 0%, transparent 50%),
    linear-gradient(200deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--on-dark); padding: 6.5rem 0;
}
.section-head-light .display-heading { color: #fff; }

.masterplan-figure {
  background: #fff; border-radius: var(--radius-lg); padding: 0.75rem;
  box-shadow: var(--shadow-lg); margin-bottom: 3rem; overflow: hidden;
}
.masterplan-figure img { width: 100%; height: auto; border-radius: 10px; }
.masterplan-figure figcaption { font-size: 0.8rem; color: var(--ink-500); text-align: center; padding: 0.8rem 0.5rem 0.2rem; }

@media (max-width: 900px) {
  .masterplan-figure { padding: 0.5rem; overflow-x: auto; }
  .masterplan-figure img { min-width: 860px; }
  .masterplan-figure figcaption { min-width: auto; }
}

/* Master plan lead gate */
.mp-media { position: relative; border-radius: 10px; overflow: hidden; }
.mp-media img { transition: filter 0.45s var(--ease), transform 0.45s var(--ease); }

.masterplan-figure.is-locked .mp-media img { filter: blur(9px) saturate(0.85); transform: scale(1.03); }
.masterplan-figure.is-locked .mp-media { cursor: pointer; }

.mp-unlock {
  position: absolute; inset: 0; z-index: 2;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1.5rem; text-align: center;
  font-family: inherit; cursor: pointer;
  border: 0; background: linear-gradient(180deg, rgba(5,18,46,0.55) 0%, rgba(5,18,46,0.8) 100%);
  color: #fff; transition: background var(--t);
}
.masterplan-figure.is-locked .mp-unlock { display: flex; }
.mp-unlock:hover { background: linear-gradient(180deg, rgba(5,18,46,0.5) 0%, rgba(5,18,46,0.76) 100%); }
.mp-unlock:focus-visible { outline: 3px solid var(--gold-400); outline-offset: -3px; }

.mp-lock-icon {
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 0.35rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-500); box-shadow: 0 10px 26px -8px rgba(225,37,43,0.8);
}
.mp-lock-icon svg { width: 24px; height: 24px; }

.mp-unlock-title {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem); color: #fff;
}
.mp-unlock-text { font-size: 0.9rem; color: var(--on-dark-soft); max-width: 430px; line-height: 1.55; }
.mp-unlock-cta {
  margin-top: 0.75rem; padding: 0.8rem 1.7rem; border-radius: 100px;
  background: var(--red-500); color: #fff; font-size: 0.94rem; font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(225,37,43,0.75); transition: var(--t);
}
.mp-unlock:hover .mp-unlock-cta { background: var(--red-600); transform: translateY(-2px); }

/* While locked there is nothing to pan to, so keep the overlay centred in view */
@media (max-width: 900px) {
  .masterplan-figure.is-locked { overflow-x: hidden; }
  .masterplan-figure.is-locked .mp-media img { min-width: 0; width: 100%; }
}

@media (max-width: 620px) {
  .mp-unlock { padding: 1.1rem; gap: 0.4rem; }
  .mp-lock-icon { width: 42px; height: 42px; }
  .mp-lock-icon svg { width: 20px; height: 20px; }
  .mp-unlock-text { font-size: 0.82rem; }
  .mp-unlock-cta { padding: 0.7rem 1.25rem; font-size: 0.86rem; }
}

/* Area statement */
.area-statement { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 1.75rem; }
.area-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.area-head h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.35rem; color: #fff; }
.area-filters { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.area-select {
  background: rgba(255,255,255,0.08); color: #fff; font-family: inherit; font-size: 0.86rem;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; padding: 0.5rem 1rem; cursor: pointer;
}
.area-select option { background: var(--navy-800); color: #fff; }
.area-select:focus { outline: 2px solid var(--gold-400); outline-offset: 1px; }

.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.plot-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
.plot-table thead th {
  background: var(--red-600); color: #fff; text-align: left; font-weight: 600;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.85rem 1rem; white-space: nowrap;
}
.plot-table tbody td { padding: 0.7rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.09); color: var(--on-dark-soft); }
.plot-table tbody tr:nth-child(odd) { background: rgba(255,255,255,0.035); }
.plot-table tbody tr:hover { background: rgba(201,162,39,0.12); }
.plot-table tbody td:first-child { font-weight: 700; color: var(--red-400); }
.plot-table tbody td:nth-child(2) { font-weight: 600; color: #fff; }

.table-note { font-size: 0.85rem; color: var(--on-dark-mute); margin-top: 1rem; }
.table-note a { color: var(--gold-400); font-weight: 600; }

/* ==========================================================================
   CONNECTIVITY
   ========================================================================== */
.connectivity-section { background: var(--paper); padding: 6.5rem 0; }
.connectivity-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: start; margin-bottom: 3rem; }

.travel-panel { background: var(--navy-800); border-radius: var(--radius-lg); padding: 1.9rem; color: var(--on-dark); box-shadow: var(--shadow-md); }
.panel-title {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.3rem;
  color: #fff; margin-bottom: 1.1rem; padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--red-500);
}
.travel-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.travel-table th {
  text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold-400); padding-bottom: 0.6rem; font-weight: 600;
}
.travel-table th:last-child { text-align: right; }
.travel-table td { padding: 0.72rem 0; border-top: 1px solid rgba(255,255,255,0.1); color: var(--on-dark-soft); }
.travel-table td:last-child { text-align: right; font-weight: 700; color: var(--red-400); white-space: nowrap; }
.travel-note { font-size: 0.83rem; color: var(--on-dark-mute); margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }

.aerial-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.aerial-figure img { width: 100%; height: auto; }
.aerial-figure figcaption { font-size: 0.83rem; color: var(--ink-500); background: var(--cream); padding: 0.85rem 1rem; }

.hubs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.hub-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; transition: var(--t); }
.hub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hub-card h3 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.02rem; color: var(--navy-800); margin-bottom: 0.9rem;
  padding-bottom: 0.7rem; border-bottom: 2px solid var(--red-500);
}
.hub-card h3 svg { width: 20px; height: 20px; color: var(--red-500); flex-shrink: 0; }
.hub-card ul { display: grid; gap: 0.5rem; }
.hub-card li { position: relative; padding-left: 1.05rem; font-size: 0.885rem; color: var(--ink-700); }
.hub-card li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }
.hub-card li span { color: var(--ink-500); font-size: 0.82rem; }

@media (max-width: 1024px) { .hubs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .connectivity-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hubs-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   INVESTMENT
   ========================================================================== */
.investment-section {
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--on-dark); padding: 6.5rem 0;
}
.invest-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.invest-copy p { font-size: 1rem; color: var(--on-dark-soft); margin-bottom: 1.15rem; }
.invest-copy strong { color: var(--gold-400); }

.invest-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.invest-points > div {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1.15rem 1.25rem;
}
.invest-points strong { display: block; color: #fff; font-size: 0.98rem; margin-bottom: 0.25rem; }
.invest-points span { font-size: 0.85rem; color: var(--on-dark-mute); }

@media (max-width: 900px) { .invest-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 520px) { .invest-points { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { background: var(--cream); padding: 6.5rem 0; }
/* Two columns of five. align-items:start stops a column stretching when the
   other one has an answer expanded. */
.faq-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1.5rem;
  max-width: 100%; align-items: start;
}
.faq-col { display: grid; gap: 0.85rem; align-content: start; }

@media (max-width: 900px) {
  .faq-list { grid-template-columns: 1fr; }
}
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: var(--t);
}
.faq-item[open] { border-color: rgba(225,37,43,0.4); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem;
  position: relative; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1rem; font-weight: 600; color: var(--navy-800); display: inline; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 1.45rem;
  width: 10px; height: 10px; border-right: 2px solid var(--red-500); border-bottom: 2px solid var(--red-500);
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); top: 1.65rem; }
.faq-item summary:hover h3 { color: var(--red-500); }
.faq-item > p { padding: 0 1.4rem 1.4rem; font-size: 0.93rem; color: var(--ink-700); }
.faq-item > p a { color: var(--red-500); font-weight: 600; }
.faq-item > p strong { color: var(--navy-800); }

/* ==========================================================================
   CTA / CONTACT
   ========================================================================== */
.cta-section {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(211,26,33,0.28) 0%, transparent 55%),
    linear-gradient(150deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--on-dark); padding: 6.5rem 0;
}
.cta-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 4rem; align-items: center; }
.cta-text { font-size: 1.03rem; color: var(--on-dark-soft); max-width: 560px; margin-bottom: 2.5rem; }

.cta-contact-details { display: grid; gap: 1.5rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1.1rem; }
.contact-icon {
  width: 46px; height: 46px; flex-shrink: 0; padding: 0.75rem; border-radius: 12px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: var(--gold-400);
}
.contact-label { font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-dark-mute); margin-bottom: 0.15rem; }
.contact-val { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; font-weight: 600; color: #fff; }
.contact-val-sm { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500; line-height: 1.55; }
a.contact-val:hover { color: var(--gold-400); }

.cta-form-card {
  position: relative; background: #fff; color: var(--ink-900);
  border-radius: var(--radius-lg); padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-lg); overflow: hidden;
  border-top: 5px solid var(--red-500);
}
.form-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.55rem; color: var(--navy-800); margin-bottom: 0.4rem; }
.form-subtitle { font-size: 0.88rem; color: var(--ink-500); margin-bottom: 1.75rem; }

.enquiry-form { display: grid; gap: 1.15rem; }
.form-group { display: grid; gap: 0.35rem; }
.form-label { font-size: 0.73rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.form-input, .form-select {
  width: 100%; font-family: inherit; font-size: 0.94rem; color: var(--ink-900);
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.8rem 1rem; transition: var(--t); outline: none;
}
.form-input:focus, .form-select:focus { border-color: var(--red-500); background: #fff; box-shadow: 0 0 0 3px rgba(225,37,43,0.12); }
.form-input::placeholder { color: #9AA5B8; }

.form-group.invalid .form-input { border-color: var(--red-500); background: rgba(225,37,43,0.04); }
.error-msg { display: none; font-size: 0.75rem; font-weight: 500; color: var(--red-600); }
.form-group.invalid .error-msg { display: block; }
.form-privacy { font-size: 0.74rem; color: var(--ink-500); text-align: center; }

.form-success-overlay {
  position: absolute; inset: 0; background: #fff; z-index: 10;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 2.5rem 2rem;
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.form-success-overlay.active { transform: none; }
.success-content { display: grid; justify-items: center; gap: 1rem; max-width: 340px; }
.success-icon-circle {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(225,37,43,0.1); color: var(--red-500);
}
.success-icon-circle svg { width: 30px; height: 30px; }
.success-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.4rem; color: var(--navy-800); }
.success-desc { font-size: 0.9rem; color: var(--ink-500); }
.success-close-btn { margin-top: 0.5rem; }

@media (max-width: 992px) { .cta-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5, 18, 46, 0.8); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 470px; max-height: 90vh; overflow-y: auto;
  border-top: 5px solid var(--red-500); box-shadow: var(--shadow-lg);
  transform: scale(0.94) translateY(16px); transition: transform 0.45s var(--ease);
}
.modal-overlay.active .modal-card { transform: none; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink-700);
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--red-500); color: #fff; border-color: var(--red-500); transform: rotate(90deg); }
.modal-body { padding: 2.5rem 2rem 2rem; }
.modal-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.5rem; color: var(--navy-800); margin-bottom: 0.4rem; }
.modal-subtitle { font-size: 0.88rem; color: var(--ink-500); margin-bottom: 1.6rem; }

.modal-success-state { display: none; justify-items: center; text-align: center; gap: 1rem; }
.modal-success-state.active { display: grid; }
.modal-overlay .enquiry-form.inactive { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer { position: relative; background: var(--navy-900); color: var(--on-dark); padding: 5.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3.5rem; margin-bottom: 3rem; }
.footer-brand-col { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.footer-tagline { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: var(--gold-400); font-size: 1.02rem; }
.footer-desc { font-size: 0.9rem; color: var(--on-dark-soft); }
.footer-developer { font-size: 0.82rem; color: var(--on-dark-mute); }
.footer-developer strong { color: var(--gold-400); }

.footer-links-col h4 {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 600;
  font-size: 1.08rem; color: #fff; margin-bottom: 1.15rem;
  padding-bottom: 0.55rem; border-bottom: 2px solid var(--red-500); display: inline-block;
}
.footer-links { display: grid; gap: 0.65rem; margin-bottom: 1.5rem; }
.footer-links a { font-size: 0.88rem; color: var(--on-dark-soft); }
.footer-links a:hover { color: var(--gold-400); }
.footer-address { font-style: normal; font-size: 0.83rem; color: var(--on-dark-mute); line-height: 1.7; }
.footer-address strong { color: var(--on-dark-soft); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09); padding-top: 1.75rem;
  text-align: center; font-size: 0.8rem; color: var(--on-dark-mute);
}
.footer-disclaimer {
  font-size: 0.76rem; color: var(--on-dark-mute); max-width: 900px; margin: 0 auto 0.85rem;
  line-height: 1.55; opacity: 0.85;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ==========================================================================
   MOBILE STICKY CTA
   ========================================================================== */
.mobile-cta-bar { display: none; }
@media (max-width: 720px) {
  .mobile-cta-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed;
    bottom: 0; left: 0; width: 100%; z-index: 150;
    box-shadow: 0 -6px 20px -8px rgba(0,0,0,0.35);
  }
  .mcta {
    font-family: inherit; font-size: 0.92rem; font-weight: 700; border: 0; cursor: pointer;
    padding: 0.95rem 1rem; text-align: center; color: #fff;
  }
  .mcta-call { background: var(--red-500); }
  .mcta-brochure { background: var(--navy-800); }
  .main-footer { padding-bottom: 5rem; }
}

/* ==========================================================================
   MOTION LAYER
   Staggered entrances, accordion easing and two attention cues.
   Gated on .js so a script failure can never hide content, and fully
   disabled under prefers-reduced-motion.
   ========================================================================== */

/* Hidden state. transition-* is set longhand on purpose: the `transition`
   shorthand would reset transition-delay and kill the stagger below. */
.js .hero-content > *,
.js .feature-row > .feature-card,
.js .amenities-grid > .amenity-card,
.js .hubs-grid > .hub-card,
.js .trust-grid > .trust-card,
.js .faq-col > .faq-item {
  opacity: 0;
  transform: translateY(16px);
  transition-property: opacity, transform;
  transition-duration: 0.55s;
  transition-timing-function: var(--ease);
}

/* Revealed state */
.hero-content.revealed > *,
.revealed .hero-content > *,
.hero-content.active > *,
.active .hero-content > *,
.feature-row.revealed > .feature-card,
.revealed .feature-row > .feature-card,
.feature-row.active > .feature-card,
.active .feature-row > .feature-card,
.amenities-grid.revealed > .amenity-card,
.revealed .amenities-grid > .amenity-card,
.amenities-grid.active > .amenity-card,
.active .amenities-grid > .amenity-card,
.hubs-grid.revealed > .hub-card,
.revealed .hubs-grid > .hub-card,
.hubs-grid.active > .hub-card,
.active .hubs-grid > .hub-card,
.trust-grid.revealed > .trust-card,
.revealed .trust-grid > .trust-card,
.trust-grid.active > .trust-card,
.active .trust-grid > .trust-card,
.faq-col.revealed > .faq-item,
.revealed .faq-col > .faq-item,
.faq-col.active > .faq-item,
.active .faq-col > .faq-item {
  opacity: 1;
  transform: none;
}

/* Cascade — 70ms apart reads as deliberate rather than sluggish */
.js .hero-content > *:nth-child(1),
.js .feature-row > *:nth-child(1),
.js .amenities-grid > *:nth-child(1),
.js .hubs-grid > *:nth-child(1),
.js .trust-grid > *:nth-child(1),
.js .faq-col > *:nth-child(1) { transition-delay: 0.06s; }

.js .hero-content > *:nth-child(2),
.js .feature-row > *:nth-child(2),
.js .amenities-grid > *:nth-child(2),
.js .hubs-grid > *:nth-child(2),
.js .trust-grid > *:nth-child(2),
.js .faq-col > *:nth-child(2) { transition-delay: 0.13s; }

.js .hero-content > *:nth-child(3),
.js .feature-row > *:nth-child(3),
.js .amenities-grid > *:nth-child(3),
.js .hubs-grid > *:nth-child(3),
.js .trust-grid > *:nth-child(3),
.js .faq-col > *:nth-child(3) { transition-delay: 0.20s; }

.js .hero-content > *:nth-child(4),
.js .feature-row > *:nth-child(4),
.js .amenities-grid > *:nth-child(4),
.js .hubs-grid > *:nth-child(4),
.js .trust-grid > *:nth-child(4),
.js .faq-col > *:nth-child(4) { transition-delay: 0.27s; }

.js .hero-content > *:nth-child(5),
.js .feature-row > *:nth-child(5),
.js .amenities-grid > *:nth-child(5),
.js .hubs-grid > *:nth-child(5),
.js .trust-grid > *:nth-child(5),
.js .faq-col > *:nth-child(5) { transition-delay: 0.34s; }

.js .hero-content > *:nth-child(6),
.js .feature-row > *:nth-child(6),
.js .amenities-grid > *:nth-child(6),
.js .hubs-grid > *:nth-child(6),
.js .trust-grid > *:nth-child(6),
.js .faq-col > *:nth-child(6) { transition-delay: 0.41s; }

.js .hero-content > *:nth-child(n+7),
.js .feature-row > *:nth-child(n+7),
.js .amenities-grid > *:nth-child(n+7),
.js .hubs-grid > *:nth-child(n+7),
.js .trust-grid > *:nth-child(n+7),
.js .faq-col > *:nth-child(n+7) { transition-delay: 0.48s; }

/* ---- FAQ answer easing --------------------------------------------------
   <details> cannot transition its own height, so the answer eases in.      */
.faq-item[open] > p { animation: faqSlide 0.35s var(--ease) both; }
@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Attention cue on the gated master plan ----------------------------- */
.masterplan-figure.is-locked .mp-lock-icon {
  animation: lockPulse 2.6s ease-in-out infinite;
}
@keyframes lockPulse {
  0%, 100% { box-shadow: 0 10px 26px -8px rgba(225, 37, 43, 0.8), 0 0 0 0 rgba(225, 37, 43, 0.45); }
  50%      { box-shadow: 0 10px 26px -8px rgba(225, 37, 43, 0.8), 0 0 0 14px rgba(225, 37, 43, 0); }
}

/* ---- Sheen sweep across primary buttons --------------------------------- */
.btn-red { position: relative; overflow: hidden; }
.btn-red::after {
  content: ""; position: absolute; top: 0; left: -140%;
  width: 60%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-18deg);
}
.btn-red:hover::after { animation: sheen 0.75s var(--ease); }
@keyframes sheen {
  from { left: -140%; }
  to   { left: 140%; }
}

/* ---- Respect the user's motion preference ------------------------------- */
@media (prefers-reduced-motion: reduce) {
.js .hero-content > *,
.js .feature-row > .feature-card,
.js .amenities-grid > .amenity-card,
.js .hubs-grid > .hub-card,
.js .trust-grid > .trust-card,
.js .faq-col > .faq-item {
    opacity: 1; transform: none; transition: none; transition-delay: 0s;
  }
  .faq-item[open] > p,
  .masterplan-figure.is-locked .mp-lock-icon,
  .btn-red:hover::after { animation: none; }
}
