/* ============================================================
   South Banks — Lakeview Village
   Design system matched to thesouthbankstowns.ca:
   cream #EEEADD / sand #E3DDCF / charcoal #13110B / rust #A33C2E
   Plus Jakarta Sans (headings) + DM Sans (body), serif italic accent.
   ============================================================ */

:root {
  --bg: #EEEADD;            /* cream background */
  --bg-2: #E3DDCF;          /* sand secondary */
  --bg-3: #F5F2EB;          /* card top / light */
  --ink: #13110B;           /* near-black text */
  --ink-soft: #5F5949;      /* driftwood muted */
  --line: #CFCABE;          /* borders */
  --accent: #A33C2E;        /* rust primary */
  --accent-hi: #C25B39;     /* rust light */
  --accent-ink: #F5F2EB;    /* text on rust */
  --charcoal: #13110B;      /* dark section bg */
  --charcoal-2: #1E1A12;    /* dark card */
  --charcoal-line: #322C1F; /* dark borders */
  --cream-text: #EEEADD;    /* light text on dark */
  --grad-sunset: linear-gradient(135deg, #A33C2E, #C97A45);
  --grad-card: linear-gradient(180deg, #F7F4EC 0%, #EFEBDE 100%);
  --grad-hero: linear-gradient(180deg, rgba(13, 11, 6, 0.86) 0%, rgba(19, 17, 11, 0.55) 55%, rgba(19, 17, 11, 0.78) 100%);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --radius: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(19, 17, 11, 0.08);
  --shadow-md: 0 8px 24px rgba(19, 17, 11, 0.12);
  --shadow-lg: 0 16px 48px rgba(19, 17, 11, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ticker-h: 40px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
/* The hidden attribute must always win, even over display:flex/grid rules */
[hidden] { display: none !important; }
sup { font-size: 0.6em; }
b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.serif { font-family: var(--font-serif); }
.center { text-align: center; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Icons ---------- */
.ic {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -4px;
}
.ic-lg { width: 30px; height: 30px; stroke-width: 1.5; color: var(--accent); }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.kicker.light { color: var(--accent-hi); }
.heading {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.016em;
  margin-bottom: var(--space-3);
  max-width: 26ch;
}
.display-sm {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.heading.light { color: var(--cream-text); }
.heading em, .display-sm em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
}
.section-copy { max-width: 68ch; color: var(--ink-soft); margin-bottom: var(--space-4); font-size: 17px; }
.section-copy.light { color: rgba(238, 234, 221, 0.78); }
.fineline { font-size: 12.5px; color: var(--ink-soft); margin: var(--space-3) 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn .ic { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-solid, .btn-ink, .btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-solid:hover, .btn-ink:hover, .btn-accent:hover { background: #8E3325; box-shadow: 0 10px 26px rgba(163, 60, 46, 0.35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline-light {
  background: rgba(238, 234, 221, 0.1);
  color: var(--cream-text);
  border-color: rgba(238, 234, 221, 0.35);
}
.btn-outline-light:hover { border-color: var(--cream-text); background: rgba(238, 234, 221, 0.18); }
.btn-cream { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-lg { min-height: 54px; padding: 13px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: wait; transform: none; }

/* ---------- Ticker ---------- */
.ticker {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
}
.ticker-track span { padding-right: 48px; }
.ticker-track .tick-dot { color: var(--accent); }
.ticker-track u { text-decoration-color: var(--accent); text-underline-offset: 3px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-soft);
}
.ticker-close:hover { color: var(--ink); }
body.no-ticker .ticker { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  height: var(--header-h);
  padding: 0 clamp(16px, 4vw, 48px);
  transition: background 0.35s var(--ease), box-shadow 0.35s, top 0.3s;
}
body.no-ticker .site-header { top: 0; }
.header-logo { display: inline-flex; align-items: center; margin-right: auto; }
.header-logo img { width: clamp(120px, 13vw, 165px); height: auto; }
.site-header .logo-dark { display: none; }
.site-header.scrolled {
  background: rgba(238, 234, 221, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled .logo-dark { display: block; }
.site-header.scrolled .logo-white { display: none; }

.header-nav { display: flex; gap: clamp(10px, 1.6vw, 24px); }
.header-nav a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--cream-text);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-header.scrolled .header-nav a { color: var(--ink); }
.header-nav a:hover { border-color: var(--accent); }

.header-cta { display: flex; gap: 10px; }
.site-header:not(.scrolled) .btn-ghost { color: var(--cream-text); border-color: rgba(238, 234, 221, 0.35); }
.site-header:not(.scrolled) .btn-ghost:hover { border-color: var(--cream-text); }

.header-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
}
.header-burger span { width: 24px; height: 2px; background: var(--cream-text); transition: transform 0.25s var(--ease), background 0.25s; }
.site-header.scrolled .header-burger span { background: var(--ink); }
.header-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.header-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: calc(var(--ticker-h) + var(--header-h)) 0 auto 0;
  z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) clamp(16px, 5vw, 40px) var(--space-4);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
body.no-ticker .mobile-menu { inset: var(--header-h) 0 auto 0; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--ticker-h) + var(--header-h) + 24px) clamp(16px, 4vw, 48px) 56px;
  color: var(--cream-text);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: var(--grad-hero); }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  animation: heroIn 1s var(--ease) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero-wordmark { width: min(64vw, 460px); height: auto; margin-bottom: 4px; }
.hero-title {
  font-size: clamp(1.7rem, 4.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  max-width: 22ch;
}
.hero-sub {
  max-width: 62ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(238, 234, 221, 0.85);
}
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(238, 234, 221, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(19, 17, 11, 0.35);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-chips .ic { width: 16px; height: 16px; color: var(--accent-hi); }
.hero-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(238, 234, 221, 0.85);
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 4px;
  padding: 14px 26px;
  border-radius: var(--radius-lg);
  background: rgba(19, 17, 11, 0.45);
  border: 1px solid rgba(238, 234, 221, 0.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-price-kicker {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 234, 221, 0.8);
}
.hero-price-val {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--accent-hi);
  line-height: 1;
}
.hero-price-tags { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; color: rgba(238, 234, 221, 0.78); }
.hero-price-tags .ic { width: 14px; height: 14px; color: var(--accent-hi); }

.proof-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3FA463;
  box-shadow: 0 0 0 0 rgba(63, 164, 99, 0.5);
  animation: pulse 2.2s infinite;
  flex: 0 0 auto;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 164, 99, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(63, 164, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 164, 99, 0); }
}

/* ---------- Booking band ---------- */
.book-band { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.book-band-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 22px clamp(16px, 4vw, 48px);
  flex-wrap: wrap;
}
.book-band-copy { flex: 1 1 380px; }
.book-band-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
}
.book-band-title .ic { color: var(--accent); }
.book-band-sub { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; max-width: 70ch; }

/* ---------- Sections ---------- */
.section { padding: var(--space-6) clamp(16px, 4vw, 48px); }
.section > .kicker, .section > .heading, .section > .section-copy,
.section > .fineline, .section > .center, .section > .faq-list,
.section > .glance-grid, .section > .stats-grid, .section > .village-band,
.section > .cards-grid, .section > .check-list, .section > .gallery-strip,
.section > .designs-grid, .section > .news-grid, .section > .tax-grid,
.section > .tax-quals, .section > .builders-logos, .section > .included,
.section > .downloads-grid, .section > .coastal-grid, .section > .location-grid,
.section > .vip-grid, .section > .film-frame, .section > .film-caption {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

/* alternating backgrounds (competitor rhythm) */
.facts { background: var(--bg); }
.features { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why { background: var(--bg); }
.downloads { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.homes { background: var(--bg); }
.coastal { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.village { background: var(--bg); }
.location { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.builders { background: var(--bg); }
.vip { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tax { background: var(--bg); }
.news { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq { background: var(--bg); }

/* reveal-on-scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Quick facts ---------- */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.glance-tile {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.glance-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.glance-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.glance-value { font-family: var(--font-head); font-size: 15.5px; font-weight: 700; line-height: 1.3; }

/* ---------- Feature / info cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Checklist ---------- */
.check-list {
  columns: 2;
  column-gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.check-list li {
  break-inside: avoid;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 15.5px;
}
.check-list .ic { color: var(--accent); margin-top: 2px; width: 18px; height: 18px; }
.check-list.light li { color: rgba(238, 234, 221, 0.85); }
.check-list.light .ic { color: var(--accent-hi); }
.check-list-2 { columns: 2; margin-bottom: 0; }

/* ---------- Downloads ---------- */
.downloads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.downloads-copy .btn { margin-top: 6px; }
.downloads-vault {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
}
.vault-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.vault-title .ic { color: var(--accent); }
.vault-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
}
.vault-list li > span { display: inline-flex; align-items: center; gap: 10px; }
.vault-list .ic { width: 17px; height: 17px; color: var(--ink-soft); }
.vault-state {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.vault-state .ic { color: var(--accent); }
.vault-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.vault-note .ic { width: 15px; height: 15px; color: var(--accent); }

/* ---------- Home designs ---------- */
.designs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto var(--space-4);
}
.design-card {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.design-type {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}
.design-fact { font-size: 26px; font-weight: 600; font-style: italic; }
.design-card p:last-child { color: var(--ink-soft); font-size: 14.5px; }

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 31vw, 400px);
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px var(--space-3);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.gallery-card { scroll-snap-align: start; }
.gallery-card img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.gallery-card:hover img { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-card figcaption { padding: 12px 4px 0; font-size: 14px; color: var(--ink-soft); }
.gallery-card figcaption b { color: var(--ink); font-family: var(--font-head); }

/* ---------- CTA bands ---------- */
.cta-band { background: var(--grad-sunset); color: var(--accent-ink); }
.cta-band-alt { background: var(--charcoal); color: var(--cream-text); }
.cta-band-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) clamp(16px, 4vw, 48px);
  flex-wrap: wrap;
}
.cta-band-kicker {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}
.cta-band-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; font-style: italic; max-width: 26ch; }
.cta-band-sub { margin-top: 8px; opacity: 0.85; font-size: 15.5px; }
.cta-band .btn-ink { background: var(--charcoal); color: var(--cream-text); }
.cta-band .btn-ink:hover { background: #000; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.cta-band-alt .btn-ink { background: var(--accent); color: var(--accent-ink); }
.cta-band-alt .btn-ghost { color: var(--cream-text); border-color: rgba(238, 234, 221, 0.35); }
.cta-band-alt .btn-ghost:hover { border-color: var(--cream-text); }
.cta-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Coastal ---------- */
.coastal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-5);
  align-items: center;
  margin-bottom: var(--space-4);
}
.coastal-photo img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}
.coastal-list { display: flex; flex-direction: column; gap: 4px; }
.coastal-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.coastal-list .ic { color: var(--accent); margin-top: 3px; }
.coastal-list b { font-family: var(--font-head); display: block; }
.coastal-list span { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Film ---------- */
.film { background: var(--charcoal); }
.film-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--charcoal-line);
}
.film-frame img, .film-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.film-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.film-play:hover { transform: scale(1.08); background: var(--accent-hi); }
.film-play::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(194, 91, 57, 0.55);
  animation: pulse-ring 2.4s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
.film-caption { color: rgba(238, 234, 221, 0.65); font-size: 14px; margin-top: var(--space-2); }

/* ---------- Masterplan ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: var(--space-5);
}
.stat {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
}
.stat-label { font-size: 13.5px; color: var(--ink-soft); }

.village-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: var(--space-4);
}
.village-card img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.village-card:hover img { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.village-card figcaption { padding: 10px 2px 0; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Invest band ---------- */
.invest { background: var(--charcoal); }
.invest-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: var(--space-6) clamp(16px, 4vw, 48px);
}
.invest .check-list { columns: 2; }
.invest .btn { margin-top: 8px; }
.btn-peach { background: var(--accent); color: var(--accent-ink); }
.btn-peach:hover { background: var(--accent-hi); box-shadow: 0 10px 26px rgba(163, 60, 46, 0.4); }

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
.times-list { border-top: 1px solid var(--line); }
.times-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.times-list b {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.location-figure img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.location-figure figcaption { padding-top: 10px; font-size: 13px; color: var(--ink-soft); font-style: italic; }
.synergy { margin-top: var(--space-3); }
.synergy-title { font-family: var(--font-head); font-weight: 700; margin-bottom: 12px; }
.synergy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.synergy-chips li {
  border: 1px solid var(--line);
  background: var(--bg-3);
  border-radius: var(--radius-pill);
  padding: 6px 15px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.synergy-chips li:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Builders ---------- */
.builders-logos {
  display: flex;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.builders-logos img { width: clamp(140px, 17vw, 210px); height: auto; opacity: 0.9; }
.builders-cards { margin-bottom: var(--space-4); }
.included {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.included-title { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.included-title em { font-family: var(--font-serif); font-style: italic; font-weight: 600; }

/* ---------- VIP ---------- */
.vip-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: start;
}
.vip-copy .check-list { columns: 1; }
.vip-price {
  background: var(--charcoal);
  color: var(--cream-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 28px;
  text-align: center;
  position: sticky;
  top: calc(var(--ticker-h) + var(--header-h) + 16px);
}
.hero-card-kicker {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}
.hero-card-price {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--accent-hi);
  margin: 6px 0 4px;
}
.vip-price-sub { font-size: 13.5px; opacity: 0.75; padding-bottom: 18px; border-bottom: 1px solid var(--charcoal-line); }
.vip-mini { display: flex; flex-direction: column; gap: 16px; padding-top: 18px; text-align: left; }
.vip-mini > div { display: grid; grid-template-columns: 26px 1fr; gap: 4px 12px; }
.vip-mini .ic { color: var(--accent-hi); grid-row: span 2; margin-top: 3px; }
.vip-mini b { font-family: var(--font-head); }
.vip-mini span { font-size: 13.5px; opacity: 0.7; }

/* ---------- Tax ---------- */
.tax-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: var(--space-3);
}
.tax-card {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  align-items: center;
}
.tax-card-hi { background: var(--grad-sunset); color: var(--accent-ink); border-color: transparent; }
.tax-pct { font-size: 44px; font-weight: 600; font-style: italic; line-height: 1; color: var(--accent); }
.tax-card-hi .tax-pct { color: var(--accent-ink); }
.tax-card b { font-family: var(--font-head); font-size: 17px; }
.tax-card span { font-size: 13.5px; color: var(--ink-soft); }
.tax-card-hi span { color: rgba(245, 242, 235, 0.8); }
.tax-save { font-family: var(--font-head); font-weight: 700; margin-top: 8px; }
.tax-quals { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tax-quals > p { font-family: var(--font-head); font-weight: 700; font-size: 14px; }

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.news-card h3 { font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.news-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.news-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 4px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.news-link:hover { border-color: var(--accent); }
.news-link .ic { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); margin-bottom: var(--space-4); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: 20px 2px;
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 700;
  transition: color 0.2s;
}
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.3s var(--ease);
  flex: 0 0 auto;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 2px 22px; max-width: 74ch; color: var(--ink-soft); font-size: 15px; }

/* ---------- Register ---------- */
.register {
  background: var(--charcoal);
  color: var(--cream-text);
  padding: var(--space-6) clamp(16px, 4vw, 48px);
}
.register-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.register .kicker { color: var(--accent-hi); }
.register-sub { max-width: 56ch; margin: 0 auto var(--space-4); color: rgba(238, 234, 221, 0.78); }
.reg-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: var(--space-4);
}
.reg-benefit {
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.reg-benefit .ic-lg { color: var(--accent-hi); }
.reg-benefit b { font-family: var(--font-head); margin-top: 6px; }
.reg-benefit span { font-size: 13px; color: rgba(238, 234, 221, 0.65); }

.reg-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-3);
  text-align: left;
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field label sup { color: var(--accent); }
.field input, .field select {
  font: inherit;
  color: var(--ink);
  background: #FDFCF8;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 48px;
  padding: 10px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(163, 60, 46, 0.15);
}
.field.invalid input, .field.invalid select { border-color: #B03A2E; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; text-align: center; margin-top: var(--space-1); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.form-or { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em; }
.form-msg { min-height: 22px; font-size: 14.5px; }
.form-msg.error { color: #B03A2E; font-weight: 600; }
.casl { grid-column: 1 / -1; font-size: 11px; line-height: 1.55; color: var(--ink-soft); text-align: center; }

.reg-success {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.reg-success h3 { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); }
.reg-success p { max-width: 44ch; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--cream-text); padding: var(--space-6) clamp(16px, 4vw, 48px) var(--space-4); border-top: 1px solid var(--charcoal-line); }
.footer-grid {
  max-width: 1160px;
  margin: 0 auto var(--space-4);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: var(--space-5);
}
.footer-brand > img { width: min(60vw, 280px); }
.footer-tag { color: rgba(238, 234, 221, 0.8); font-style: italic; margin: 14px 0 10px; }
.footer-blurb { font-size: 14px; color: rgba(238, 234, 221, 0.6); max-width: 48ch; }
.footer-builders { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-3); flex-wrap: wrap; }
.footer-builders img { filter: invert(1); opacity: 0.7; width: clamp(100px, 12vw, 140px); height: auto; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 6px;
}
.footer-links a { font-size: 14.5px; color: rgba(238, 234, 221, 0.75); text-decoration: none; }
.footer-links a:hover { color: var(--cream-text); }
.footer-legal {
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid var(--charcoal-line);
  padding-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-legal p { font-size: 11.5px; line-height: 1.6; color: rgba(238, 234, 221, 0.45); }
.footer-copy { padding-top: 8px; }
.footer-legal a { color: rgba(238, 234, 221, 0.7); }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  z-index: 90;
  inset: auto 0 0 0;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(238, 234, 221, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.floating-cta .btn { flex: 1; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 6, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.25s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92dvh, 860px);
  overflow-y: auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  animation: modalIn 0.35s var(--ease) both;
  overscroll-behavior: contain;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(19, 17, 11, 0.08);
  color: var(--ink);
  transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: rgba(19, 17, 11, 0.16); transform: rotate(90deg); }
.modal-head {
  background: var(--charcoal);
  padding: 30px 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.modal-head img { width: min(60%, 240px); height: auto; filter: invert(1) brightness(1.6); }
.modal-head p {
  color: rgba(238, 234, 221, 0.75);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.modal-body { padding: 26px 28px 30px; }
.modal-body h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 700; margin-bottom: 4px; }
.modal-sub { font-size: 14.5px; color: var(--ink-soft); margin-bottom: var(--space-3); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-2); }
.modal-grid .wide { grid-column: 1 / -1; }
.modal .casl { margin-top: 12px; display: block; }
.modal .reg-success { box-shadow: none; padding: 22px 0 6px; text-align: center; }
.modal-card-text { max-width: 640px; }
.legal-body h4 {
  margin: var(--space-2) 0 6px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.legal-body p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Booking picker ---------- */
.picker-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.picker-label sup { color: var(--accent); }
.date-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74px;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: var(--space-2);
  scrollbar-width: thin;
}
.date-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FDFCF8;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.date-chip:hover { transform: translateY(-2px); border-color: var(--accent); }
.date-chip .dw { font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.date-chip .dn { font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.1; }
.date-chip .dm { font-size: 11px; color: var(--ink-soft); }
.date-chip[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.date-chip[aria-checked="true"] .dw, .date-chip[aria-checked="true"] .dn, .date-chip[aria-checked="true"] .dm { color: var(--accent-ink); }

.time-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-3); }
.time-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #FDFCF8;
  padding: 9px 16px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.time-chip:hover { border-color: var(--accent); }
.time-chip[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-nav { display: none; }
  .glance-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid, .cards-grid-3, .news-grid, .tax-grid { grid-template-columns: repeat(2, 1fr); }
  .village-band { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid, .coastal-grid, .location-grid, .vip-grid { grid-template-columns: 1fr; }
  .vip-price { position: static; }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .header-burger { display: flex; }
  .floating-cta { display: flex; }
  .site-footer { padding-bottom: 130px; }
  .check-list, .check-list-2, .invest .check-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --space-6: 64px; --header-h: 62px; }
  .glance-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .cards-grid-3, .news-grid, .tax-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .village-band { grid-template-columns: 1fr; }
  .reg-form { grid-template-columns: 1fr; }
  .reg-benefits { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-card { width: 100%; max-height: 94dvh; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .hero { padding-bottom: 40px; }
  .hero-chips li { font-size: 12.5px; padding: 7px 12px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
