:root {
  --ink: #142321;
  --deep: #0b302e;
  --teal: #0e5551;
  --teal-soft: #c9dfdc;
  --aqua: #8acac5;
  --paper: #f4f0e7;
  --paper-2: #ebe5d9;
  --white: #fffdf8;
  --gold: #b5965f;
  --gold-soft: #d9c9a8;
  --muted: #6f7774;
  --line: rgba(20, 35, 33, 0.16);
  --shadow: 0 24px 70px rgba(8, 35, 33, 0.16);
  --shadow-soft: 0 16px 40px rgba(8, 35, 33, 0.10);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --max: 1240px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--deep);
  transform: translateY(-140%);
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.section--compact { padding: 74px 0; }
.section--dark { background: var(--deep); color: var(--white); }
.section--white { background: var(--white); }
.section--texture {
  background:
    radial-gradient(circle at 10% 0%, rgba(138,202,197,.18), transparent 35%),
    radial-gradient(circle at 90% 100%, rgba(181,150,95,.16), transparent 35%),
    var(--paper);
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: .01em;
  text-transform: none;
}
.section--dark .eyebrow, .page-hero .eyebrow, .intro-hero .eyebrow, .cta-panel .eyebrow,
.location-content .eyebrow, .cta-band-inner .eyebrow, .hero-content .eyebrow { color: var(--gold-soft); }
.cta-panel .lead { color: rgba(255, 253, 248, .76); }

h1, h2, h3, h4 { margin: 0 0 20px; font-family: var(--serif); font-weight: 500; line-height: .98; }
h1 { font-size: clamp(58px, 8.6vw, 128px); letter-spacing: -.045em; }
h2 { font-size: clamp(44px, 5.2vw, 78px); letter-spacing: -.035em; }
h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.02em; }
h4 { font-size: 28px; }
p { margin: 0 0 20px; }
.lead { max-width: 760px; font-size: clamp(19px, 2vw, 25px); line-height: 1.55; color: rgba(20,35,33,.78); }
.section--dark .lead { color: rgba(255,253,248,.76); }
.small { font-size: 13px; color: var(--muted); }
.kicker { font-family: var(--serif); font-size: 28px; line-height: 1.2; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--deep); }
.btn--light { background: var(--white); color: var(--deep); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); background: rgba(255,255,255,.05); }
.btn--line { border-color: var(--line); color: var(--deep); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--teal); }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-header::before { content: ""; position: absolute; inset: 0 0 -28px; background: linear-gradient(180deg, rgba(6,31,30,.5), transparent); pointer-events: none; opacity: 1; transition: opacity .25s ease; }
.site-header .nav { position: relative; z-index: 1; }
.site-header.scrolled { background: rgba(244,240,231,.94); color: var(--ink); box-shadow: 0 8px 30px rgba(8,35,33,.08); backdrop-filter: blur(18px); }
.site-header.scrolled::before { opacity: 0; }
.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand-stack { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.brand-logo { display: block; width: 112px; height: auto; }
.brand-logo--dark { display: none; }
.site-header.scrolled .brand-logo--light { display: none; }
.site-header.scrolled .brand-logo--dark { display: block; }
.brand-agent { font-size: 9px; font-weight: 600; letter-spacing: .58em; text-indent: .58em; text-transform: uppercase; opacity: .85; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.nav-links a { opacity: .82; }
.nav-links a:hover { opacity: 1; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: rgba(6,31,30,.32); color: inherit; }
.site-header.scrolled .nav-toggle { background: transparent; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,23,22,.82) 0%, rgba(3,23,22,.38) 45%, rgba(3,23,22,.10) 70%), linear-gradient(0deg, rgba(3,23,22,.55), transparent 45%);
  z-index: 1;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; padding: 180px 0 72px; }
.hero-content h1 { max-width: 980px; }
.hero-content .lead { max-width: 680px; color: rgba(255,255,255,.82); }
.hero-meta { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.24); margin-top: 74px; border: 1px solid rgba(255,255,255,.20); }
.hero-stat { padding: 22px; background: rgba(6,37,35,.42); backdrop-filter: blur(12px); }
.hero-stat strong { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; }
.hero-stat span { display: block; margin-top: 7px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; opacity: .74; }

.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(50px,8vw,120px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-media::after { content: ""; position: absolute; width: 44%; aspect-ratio: 1; right: -8%; bottom: -8%; border: 1px solid var(--gold); border-radius: 50%; z-index: -1; }
.split-copy { max-width: 560px; }

.fact-strip { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 30px 22px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.fact span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 52px; }
.section-head > :first-child { max-width: 760px; }
.section-head > p { max-width: 420px; color: var(--muted); }

/* Interactive masterplan */
.masterplan-map { position: relative; margin-bottom: 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.masterplan-map img { width: 100%; height: auto; display: block; }
.map-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 22px; height: 22px; }
.map-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--white); background: var(--teal); box-shadow: 0 0 0 4px rgba(14, 85, 81, .30); }
.map-pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .75); animation: pin-pulse 2.4s ease-out infinite; }
@keyframes pin-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.map-pin span {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  padding: 8px 14px; border-radius: 999px; background: var(--deep); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.map-pin:hover span, .map-pin:focus-visible span { opacity: 1; transform: translateX(-50%) translateY(0); }
.map-note { position: absolute; left: 20px; bottom: 14px; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(6, 31, 30, .68); color: var(--white); font-size: 11px; letter-spacing: .05em; }
@media (max-width: 640px) {
  .masterplan-map { border-radius: var(--radius-md); }
  .map-pin { width: 18px; height: 18px; }
  .map-note { position: static; display: inline-block; margin: 10px 0 0; background: var(--deep); }
}
@media (prefers-reduced-motion: reduce) { .map-pin::after { animation: none; opacity: 0; } }

.community-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; perspective: 2000px; }
.community-card {
  position: relative;
  min-height: 620px;
  color: var(--white);
  cursor: pointer;
  outline: none;
}
.community-front { padding: 0; background: var(--deep); border: 0; box-shadow: var(--shadow-soft); }
.community-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,28,27,.92), rgba(4,28,27,.04) 65%); }
.community-front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.1,1); }
.community-card:hover .community-front img { transform: scale(1.035); }
.community-card .flip-back { border-radius: var(--radius-lg); padding: clamp(30px, 3.5vw, 48px); box-shadow: var(--shadow-soft); }
.community-card .flip-back h3 { font-size: clamp(28px, 2.6vw, 40px); margin-bottom: 22px; }
.community-card .flip-data { gap: 12px; }
.community-card .flip-data div { grid-template-columns: 130px 1fr; padding-top: 12px; }
.community-card .flip-data dt { font-size: 10.5px; }
.community-card .flip-data dd { font-size: 15px; }
.community-card .flip-actions .btn { min-height: 50px; font-size: 13px; }
.community-front .community-card-content { position: absolute; z-index: 2; inset: auto 0 0; padding: 34px; }
.community-card .eyebrow { display: none; }
.community-card h3 { margin-bottom: 8px; }
.community-card p { max-width: 520px; margin-bottom: 20px; color: rgba(255,255,255,.75); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.tag { display: inline-flex; padding: 7px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; background: rgba(0,0,0,.12); backdrop-filter: blur(8px); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 860px; }
.compare th, .compare td { padding: 22px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(235,229,217,.45); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-family: var(--serif); font-size: 25px; font-weight: 600; }

.amenity-grid { display: block; max-width: 980px; }
.amenity { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 12px 48px; align-items: baseline; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); }
.amenity:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.amenity-number { display: none; }
.amenity h3, .amenity h4 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.amenity p { margin: 0; font-size: 15px; color: rgba(255,255,255,.66); max-width: 54ch; }

.gallery { display: grid; grid-template-columns: 1.4fr .9fr .9fr; grid-template-rows: 280px 280px; gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.gallery img:first-child { grid-row: 1 / 3; }

.location-card { position: relative; min-height: 620px; overflow: hidden; border-radius: var(--radius-lg); color: var(--white); }
.location-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,38,36,.95), rgba(6,38,36,.25)); }
.location-content { position: relative; z-index: 1; max-width: 540px; padding: 70px; }
.drive-times { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 34px; }
.route-search { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px; }
.route-search label { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,253,248,.68); }
.route-row { display: flex; gap: 10px; }
.route-row input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 12px 15px; color: var(--white); background: rgba(255,255,255,.07); outline: none; }
.route-row input:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(138,202,197,.12); }
.route-row input::placeholder { color: rgba(255,253,248,.4); }
.route-row .btn { flex: none; min-height: 46px; padding: 0 18px; font-size: 11px; }
.route-suggest {
  list-style: none; margin: 8px 0 0; padding: 8px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
}
.route-suggest li + li { border-top: 1px solid var(--line); }
.route-suggest button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  width: 100%; padding: 11px 12px; border: 0; background: none; cursor: pointer;
  color: var(--ink); text-align: left; border-radius: 8px;
  transition: background .15s ease;
}
.route-suggest button:hover { background: var(--paper-2); }
.route-suggest button span { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.route-suggest button em { font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.route-result { margin: 14px 0 0; min-height: 22px; font-size: 14px; color: rgba(255,253,248,.85); }
.route-result strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.route-result a { color: var(--aqua); text-decoration: underline; }
@media (max-width: 640px) { .route-row { flex-direction: column; } }
.drive-time { padding: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.drive-time strong { display: block; font-family: var(--serif); font-size: 31px; }
.drive-time span { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; opacity: .72; }

.cta-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: clamp(40px,7vw,85px); border-radius: var(--radius-lg); background: var(--deep); color: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.68); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 16px; color: var(--white); background: rgba(255,255,255,.07); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(138,202,197,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.field option { color: var(--ink); }
.form-note { margin-top: 13px; font-size: 11px; color: rgba(255,255,255,.55); }

.site-footer { padding: 60px 0 30px; background: #061f1e; color: rgba(255,255,255,.76); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 60px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid h4, .footer-head { margin: 0 0 20px; color: var(--white); font-family: var(--serif); font-weight: 500; font-size: 28px; }
.footer-links { display: grid; gap: 10px; font-size: 14px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-social a { opacity: .72; transition: opacity .2s ease; }
.footer-social a:hover { opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; padding-right: 200px; font-size: 11px; }
@media (max-width: 640px) { .footer-bottom { padding-right: 80px; } }

/* Muted copy needs a lighter tone on dark surfaces */
.section--dark .section-head > p, .section--dark .small, .quote-block cite { color: rgba(255, 253, 248, .68); }

.page-hero { position: relative; min-height: 82svh; display: flex; align-items: end; color: var(--white); overflow: hidden; background: var(--deep); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,27,26,.80),rgba(4,27,26,.08) 68%); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; z-index: 1; padding-bottom: 70px; }
.page-hero h1 { max-width: 980px; }
.page-hero .lead { color: rgba(255,255,255,.82); }
.page-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-fact { padding: 9px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(0,0,0,.12); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }

.feature-grid { display: block; max-width: 980px; }
.feature-card { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 12px 48px; align-items: baseline; padding: 28px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.feature-card:last-child { border-bottom: 1px solid var(--line); }
.feature-card > span { display: none; }
.feature-card h3, .feature-card h4 { margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; max-width: 54ch; }

.quote-block { padding: 60px; border-radius: var(--radius-lg); background: var(--paper-2); }
.quote-block blockquote { margin: 0; max-width: 900px; font-family: var(--serif); font-size: clamp(38px,5vw,68px); line-height: 1.08; }
.quote-block cite { display: block; margin-top: 28px; font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.back-top { position: fixed; right: 20px; bottom: 92px; z-index: 80; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--deep); color: var(--white); box-shadow: var(--shadow-soft); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.back-top.visible { opacity: 1; pointer-events: auto; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px 0 12px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 14px 34px rgba(8, 35, 33, .35);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.wa-float:hover { transform: translateY(-2px); background: var(--deep); box-shadow: 0 18px 40px rgba(8, 35, 33, .45); }
.wa-float svg { width: 30px; height: 30px; flex: none; }
.wa-float span { white-space: nowrap; }
@media (max-width: 640px) {
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .wa-float span { display: none; }
}

/* Scroll-driven video hero: fixed backdrop, content scrolls over it
   while scroll position drives the playhead — the page never pins. */
.scrub { position: relative; height: 100svh; background: var(--deep); }
.scrub-sticky { position: fixed; inset: 0; height: 100svh; overflow: hidden; }
main > section:not(.scrub), .site-footer { position: relative; z-index: 1; }
.scrub-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* long dissolve into the intro's deep teal so the film and the page blend */
  background:
    linear-gradient(180deg, rgba(4, 28, 27, .58) 0%, transparent 22%),
    linear-gradient(0deg, #0b302e 0%, rgba(11, 48, 46, .72) 12%, rgba(11, 48, 46, .28) 28%, transparent 48%);
}
.scrub-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 34px;
  color: var(--white);
}
.scrub-overlay .container { position: relative; display: flex; align-items: flex-end; justify-content: flex-start; gap: 20px; width: min(calc(100% - 40px), var(--max)); }
.scrub-overlay .scrub-cue { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.scrub-overlay .eyebrow { margin-bottom: 0; color: var(--white); text-shadow: 0 1px 14px rgba(4, 28, 27, .5); }
.scrub-cue { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(4, 28, 27, .5); transition: opacity .4s ease; }
.scrub-cue::after { content: ""; width: 1px; height: 34px; background: currentColor; animation: cue-drop 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue-drop { 0% { transform: scaleY(.2); opacity: 0; } 45% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.scrub-progress { position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 3px; background: rgba(255,255,255,.18); }
.scrub-progress i { display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* Intro block that carries the H1 after the film — its top edge is a
   long transparent-to-teal dissolve so the film flows into the page
   with no hard line as it scrolls over. */
.intro-hero {
  position: relative;
  /* fine turbulence grain dithers the long gradient so it can't band */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.045'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E") repeat,
    linear-gradient(180deg, rgba(11, 48, 46, 0) 0%, rgba(11, 48, 46, .12) 10vh, rgba(11, 48, 46, .32) 22vh, rgba(11, 48, 46, .58) 34vh, rgba(11, 48, 46, .82) 44vh, rgba(11, 48, 46, .95) 52vh, var(--deep) 60vh);
  color: var(--white);
  padding: calc(96px + 54vh) 0 84px;
  overflow: hidden;
}
.intro-hero::before { content: ""; position: absolute; width: 46vw; aspect-ratio: 1; right: -14vw; top: -18vw; border: 1px solid rgba(181,150,95,.4); border-radius: 50%; }
.intro-hero h1 { max-width: 980px; }
.intro-hero .lead { max-width: 680px; color: rgba(255,255,255,.82); }

/* Cluster masterplan figure */
.cluster-map { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.cluster-map img { width: 100%; height: auto; display: block; }
.cluster-map figcaption { padding: 14px 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* Compact cluster-map thumbnails — tap to view full size */
.map-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.map-thumb { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.map-thumb button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.map-thumb img { width: 100%; height: 210px; object-fit: cover; transition: transform .5s ease; }
.map-thumb:hover img { transform: scale(1.04); }
.map-thumb figcaption { padding: 11px 16px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); }

/* Floor-plan viewer */
.plan-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.plan-tab {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.plan-tab:hover { border-color: var(--teal); color: var(--teal); }
.plan-tab[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.plan-panel[hidden] { display: none; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.plan-chip { display: inline-flex; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); background: var(--white); }
.plan-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 82%); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.plan-card { margin: 0; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.plan-card button { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.plan-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
/* transparent shield over every plan sheet — blocks save/drag targeting */
.plan-card button::after { content: ""; position: absolute; inset: 0; }
.plan-card figcaption { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan-actions { margin-top: 26px; }
.plan-lightbox { max-width: min(1100px, 94vw); border: 0; border-radius: var(--radius-md); padding: 0; background: #fff; box-shadow: var(--shadow); }
.plan-lightbox::backdrop { background: rgba(6, 31, 30, .82); }
.plan-lightbox { position: relative; }
.plan-lightbox img { width: 100%; max-height: 86vh; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.plan-lightbox::after { content: ""; position: absolute; inset: 0; }
.plan-lightbox-close { z-index: 1; }
.plan-lightbox-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--deep); color: var(--white); cursor: pointer; font-size: 17px; }

/* Floor-plan download gate */
.gate { max-width: min(560px, 94vw); border: 0; border-radius: var(--radius-md); padding: 0; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.gate::backdrop { background: rgba(6, 31, 30, .82); }
.gate-inner { padding: clamp(26px, 5vw, 42px); }
.gate h3 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 10px; }
.gate p { color: var(--muted); font-size: 14px; }
.gate-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); cursor: pointer; font-size: 15px; }
.gate-step[hidden] { display: none; }
.gate-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 6px; }
@media (max-width: 640px) { .gate-roles { grid-template-columns: repeat(2, 1fr); } }
.gate-role { position: relative; }
.gate-role input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.gate-role span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 4px; border: 1px solid var(--line); border-radius: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: all .2s ease; }
.gate-role input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--white); }
.gate-role input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.gate-form { display: grid; gap: 12px; margin-top: 14px; }
.gate-form label { display: grid; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gate-form input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: var(--white); color: var(--ink); outline: none; }
.gate-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,85,81,.10); }
.gate-error { color: #a33e2c; font-size: 13px; min-height: 18px; margin: 6px 0 0; }
.gate-code-row { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.gate-code-row input { flex: 1; text-align: center; font-size: 22px; letter-spacing: .35em; font-weight: 700; }
.gate .btn { width: 100%; margin-top: 16px; }
.gate .btn + .btn { margin-top: 10px; }
.gate-note { margin-top: 14px; font-size: 12px; }
.gate-success { text-align: center; padding: 10px 0; }
.gate-success strong { display: block; font-family: var(--serif); font-size: 30px; margin-bottom: 8px; }

/* Floor-plan directory (homepage) */
.plan-index { max-width: 1080px; }
.plan-index-row { display: grid; grid-template-columns: minmax(220px, 340px) 1fr auto; gap: 12px 40px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); transition: padding-left .3s ease; }
.plan-index-row:last-child { border-bottom: 1px solid var(--line); }
.plan-index-row:hover { padding-left: 10px; }
.plan-index-row h3 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); }
.plan-index-meta { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .plan-index-row { grid-template-columns: 1fr; gap: 6px; }
}

/* Community flip cards — floor plans / handover / plot data */
.anchor-alias { display: block; height: 0; }
.flip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1600px; }
.flip-card { position: relative; min-height: 430px; cursor: pointer; outline: none; }
.flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transition: transform .75s cubic-bezier(.32, .08, .18, 1); }
.flip-card:hover .flip-inner, .flip-card:focus-visible .flip-inner, .flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-md);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden;
}
/* Safari backface bug: give the front its own 3D rotation and fade it
   out at the flip midpoint so mirrored content can never bleed through */
.flip-front { transform: rotateY(0deg); transition: opacity 0s linear .3s; }
.flip-card:hover .flip-front, .flip-card:focus-visible .flip-front, .flip-card.flipped .flip-front { opacity: 0; }
.flip-front { background: var(--white); border: 1px solid var(--line); }
.flip-type { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.flip-front h3 { margin: 0 0 12px; font-size: clamp(28px, 2.6vw, 38px); }
.flip-tease { color: var(--muted); font-size: 14.5px; max-width: 34ch; }
.flip-hint { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.flip-hint i { width: 34px; height: 1px; background: currentColor; transition: width .3s ease; }
.flip-card:hover .flip-hint i { width: 50px; }
.flip-back { background: var(--deep); color: var(--white); transform: rotateY(180deg); }
.flip-back h3 { margin: 0 0 16px; font-size: 24px; }
.flip-data { margin: 0; display: grid; gap: 9px; }
.flip-data div { display: grid; grid-template-columns: 108px 1fr; gap: 12px; align-items: baseline; border-top: 1px solid rgba(255,253,248,.14); padding-top: 9px; }
.flip-data dt { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); }
.flip-data dd { margin: 0; font-size: 13.5px; line-height: 1.45; }
.flip-actions { margin-top: auto; padding-top: 16px; display: grid; gap: 10px; }
.flip-actions .btn { min-height: 44px; font-size: 12px; }
.flip-open { font-size: 11px; color: rgba(255,253,248,.55); text-align: center; letter-spacing: .04em; }
@media (max-width: 980px) { .flip-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .flip-grid { grid-template-columns: 1fr; } .flip-card { min-height: 410px; } }
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
  .flip-front { transition: none; }
}

/* CTA band */
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: clamp(30px, 4.5vw, 52px); border-radius: var(--radius-lg); background: var(--deep); color: var(--white); box-shadow: var(--shadow); }
.cta-band-inner h3 { margin-bottom: 8px; }
.cta-band-inner p { margin: 0; max-width: 560px; color: rgba(255,255,255,.72); }
.cta-band-inner .btn-row { margin-top: 0; }
.btn--whatsapp { background: var(--teal); color: var(--white); }
.btn--whatsapp:hover { background: var(--deep); }

@media (max-width: 640px) {
  .plan-strip { grid-auto-columns: 88%; }
  .intro-hero { padding: 72px 0 60px; }
  .scrub-overlay .eyebrow { display: none; } /* avoid colliding with the scroll cue */
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 84px 16px auto; display: none; flex-direction: column; align-items: stretch; padding: 22px; color: var(--ink); background: var(--white); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
  .hero-meta, .fact-strip { grid-template-columns: repeat(2,1fr); }
  .split, .cta-panel { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: initial; }
  .community-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 240px 240px; }
  .gallery img:first-child { grid-column: 1 / -1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  .nav { height: 72px; }
  .nav-links { top: 72px; }
  .brand-logo { width: 88px; }
  .brand-agent { font-size: 8px; }
  .hero-content { padding-bottom: 28px; }
  .hero-meta { margin-top: 46px; }
  .hero-stat { padding: 17px 14px; }
  .hero-stat strong { font-size: 27px; }
  .section-head { display: block; }
  .section-head > p { margin-top: 20px; }
  .community-card { min-height: 520px; }
  .community-card-content { padding: 24px; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 14px; }
  .amenity, .feature-card { grid-template-columns: 1fr; gap: 8px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(4,260px); }
  .gallery img:first-child { grid-column: auto; }
  .location-content { padding: 36px 24px; }
  .drive-times { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 34px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .quote-block { padding: 34px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
