/* ================================================================
   Citrus Glen Modular Investments — Institutional Design System
   ================================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* ----------------------------------------------------------
     SEMANTIC tokens — the CMS overrides THESE at runtime
     (theme-bootstrap.js writes them inline on <html>). Literals
     below are the default, unthemed Citrus Glen Modular palette.
     ---------------------------------------------------------- */
  --bg:                #f8f9fb;
  --bg-alt:            #eef0f3;
  --bg-nav:            #0b1929;
  --ink:               #0b1929;
  --ink-2:             #4a5568;
  --muted:             #9aa3b0;
  --border:            #dde1e8;
  --border-strong:     #b8bfcb;
  --accent:            #c9a84c;
  --accent-deep:       #a8873a;
  --accent-soft:       #f0e8d0;
  --warm-tint:         #f5f0e4;
  --accent-tint:       #faf5e8;
  --cta-bg:            #0b1929;   /* dark brand surface (nav, footer, sections) */
  --cta-text:          #ffffff;
  --cta-text-muted:    rgba(255,255,255,0.7);
  --cta-border:        rgba(255,255,255,0.2);
  --btn-primary-bg:    #0b1929;
  --btn-primary-text:  #ffffff;
  --btn-primary-hover: #1e3a5f;

  /* ----------------------------------------------------------
     LEGACY raw-palette aliases → semantic tokens, so the many
     rules using var(--navy) / var(--gold) / var(--gray-*) follow
     CMS colour swaps. Previously these were fixed literals — which
     is why the site kept its navy backgrounds regardless of the CMS
     theme. Defaults are unchanged, so the un-themed look is identical.
     ---------------------------------------------------------- */
  --navy:        var(--cta-bg);
  --navy-mid:    var(--cta-bg);
  --navy-light:  var(--btn-primary-hover);
  --gold:        var(--accent);
  --gold-light:  var(--accent);
  --gold-muted:  var(--accent-deep);
  --white:       #ffffff;
  --off-white:   var(--bg);
  --gray-100:    var(--bg-alt);
  --gray-400:    var(--muted);
  --gray-700:    var(--ink-2);
  --text:        var(--ink);

  /* Typography */
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Spacing */
  --section-pad: clamp(64px, 8vw, 112px);
  --container: 1200px;
  --container-narrow: 860px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 280ms;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Typography Scale ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

p { color: var(--ink-2); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.serif { font-family: var(--font-serif); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.gold-rule.center { margin: 1.25rem auto; }
.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.4;
  color: var(--navy);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

/* ---- Layout Helpers ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

.section { padding: var(--section-pad) 0; }
.section-white { background: var(--white); }
.section-off-white { background: var(--off-white); }
.section-gray { background: var(--gray-100); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 { color: var(--white); }
.section-navy p,
.section-navy .eyebrow { color: rgba(255,255,255,0.75); }
.section-navy .eyebrow { color: var(--gold); }
.section-navy-mid { background: var(--navy-mid); color: var(--white); }
.section-navy-mid h1,
.section-navy-mid h2,
.section-navy-mid h3 { color: var(--white); }
.section-navy-mid .eyebrow { color: var(--gold); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-lg { padding: 1.05rem 2.25rem; font-size: 0.95rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.8rem; }

/* ---- Navigation ---- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow var(--dur) var(--ease);
}
#nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.nav-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-mark {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-brand .brand-main {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nav-brand .brand-sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.7rem;
  border-radius: 2px;
  transition: color var(--dur), background var(--dur);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--gold); }
.nav-links .nav-cta a {
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1.1rem;
  font-weight: 700;
}
.nav-links .nav-cta a:hover {
  background: var(--gold-light);
  color: var(--navy);
}

#navToggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 0.4rem;
}

#navMobile {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1rem 0;
}
#navMobile.open { display: flex; }
#navMobile a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.75rem clamp(16px, 4vw, 40px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--dur), background var(--dur);
}
#navMobile a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
#navMobile .nav-cta-mobile {
  margin: 0.5rem clamp(16px, 4vw, 40px);
  display: block;
  background: var(--gold);
  color: var(--navy) !important;
  text-align: center;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 2px;
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  #navToggle { display: flex; }
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  padding-top: calc(68px + clamp(64px, 10vw, 120px));
  padding-bottom: clamp(64px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 65% 40%, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 680px; }
.hero-content .eyebrow { color: var(--gold); }
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0;
}
.hero-rule {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 200px;
}
.hero-metric-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 2px;
}
.hero-metric-value {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-metric-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-metrics { flex-direction: row; flex-wrap: wrap; }
  .hero-metric-card { flex: 1; min-width: 140px; }
}
@media (max-width: 480px) {
  .hero-metrics { flex-direction: column; }
}

/* ---- Credibility Bar ---- */
.credibility-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 1.1rem 0;
}
.credibility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.credibility-bar-inner span { white-space: nowrap; padding: 0.2rem 0; }
.credibility-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Metric Cards ---- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .metrics-grid { grid-template-columns: 1fr 1fr; } }

.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 1.75rem 1.5rem;
  border-radius: 2px;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.metric-card:hover {
  box-shadow: 0 8px 32px rgba(11,25,41,0.1);
  transform: translateY(-2px);
}
.metric-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-muted);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.metric-desc {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ---- Investment Thesis Pillars ---- */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}
@media (max-width: 700px) { .pillar-grid { grid-template-columns: 1fr; } }

.pillar {
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
}
.pillar h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.pillar p { font-size: 0.92rem; color: var(--gray-700); }

/* ---- Investor Type Cards ---- */
.investor-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  border-radius: 2px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.investor-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,0.12);
}
.investor-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.investor-icon svg { width: 20px; height: 20px; color: var(--gold-muted); }
.investor-card h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.investor-card p { font-size: 0.84rem; color: var(--gray-700); margin: 0; }

/* ---- How It Works Steps ---- */
.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1px;
}
.steps-track + .steps-track { margin-top: 1px; }
.step-item {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  position: relative;
}
.step-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-item h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.step-item p { font-size: 0.82rem; color: var(--gray-700); margin: 0; }

@media (max-width: 900px) {
  .steps-track { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .steps-track { grid-template-columns: 1fr; }
}

/* ---- Pro Forma Table ---- */
.proforma-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.proforma {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-family: var(--font-sans);
}
table.proforma th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 0.75rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
table.proforma td {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
}
table.proforma tr:last-child td { border-bottom: none; }
table.proforma .gold { color: var(--gold); font-weight: 600; }
table.proforma .label { color: rgba(255,255,255,0.55); font-size: 0.8rem; }
table.proforma tr.total td {
  border-top: 1px solid rgba(255,255,255,0.2);
  font-weight: 700;
  color: var(--gold);
}

/* Light table variant */
table.table-light {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
table.table-light th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0.75rem 1.25rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
  background: var(--gray-100);
}
table.table-light td {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
}
table.table-light tr:last-child td { border-bottom: none; }
table.table-light .gold { color: var(--gold-muted); font-weight: 600; }
table.table-light tr.total td {
  border-top: 2px solid var(--border-strong);
  font-weight: 700;
  color: var(--navy);
}

/* ---- Partner Strip ---- */
.partner-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
  padding: 2.5rem 0;
}
.partner-strip-item {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gray-400);
  letter-spacing: 0.01em;
  transition: color var(--dur);
}
.partner-strip-item:hover { color: var(--navy); }
.partner-strip-sep {
  width: 1px;
  height: 24px;
  background: var(--border-strong);
}

/* ---- Partner Cards (partners page) ---- */
.partner-big-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  padding: 2.5rem 2rem;
  border-radius: 2px;
}
.partner-big-card .pm {
  width: 64px;
  height: 64px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.partner-big-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.partner-big-card .role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1.25rem;
}
.partner-big-card p { font-size: 0.92rem; color: var(--gray-700); }
.partner-cat-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gray-100);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ---- Lot / Opportunity Cards ---- */
.lot-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lot-card:hover {
  box-shadow: 0 8px 32px rgba(11,25,41,0.1);
  transform: translateY(-3px);
}
.lot-card-header {
  background: var(--navy-mid);
  padding: 1.5rem;
  position: relative;
}
.lot-card-location {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
}
.lot-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
}
.status-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}
.pill-available { background: rgba(201,168,76,0.2); color: var(--gold); border: 1px solid rgba(201,168,76,0.4); }
.pill-funded    { background: rgba(9,188,138,0.12); color: #09bc8a; border: 1px solid rgba(9,188,138,0.3); }
.pill-closing   { background: rgba(251,146,60,0.15); color: #f97316; border: 1px solid rgba(251,146,60,0.3); }
.pill-review    { background: rgba(154,163,176,0.15); color: var(--gray-400); border: 1px solid rgba(154,163,176,0.3); }

.lot-card-body { padding: 1.5rem; }
.lot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.lot-metric-val {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-muted);
  margin-bottom: 0.1rem;
}
.lot-metric-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ---- Gallery / Floor Plan Cards ---- */
.floor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow var(--dur), transform var(--dur);
  cursor: pointer;
}
.floor-card:hover {
  box-shadow: 0 8px 32px rgba(11,25,41,0.1);
  transform: translateY(-3px);
}
.floor-card-image {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floor-card-image svg { width: 48px; height: 48px; color: var(--gray-400); opacity: 0.5; }
.floor-card-body { padding: 1.25rem; }
.floor-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.floor-card-specs {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.floor-card-cost {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-muted);
}

/* ---- Filter Bar ---- */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--gray-700);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---- Process Timeline ---- */
.process-steps-v {
  position: relative;
  padding-left: 2.5rem;
}
.process-steps-v::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.1));
}
.process-step-v {
  position: relative;
  margin-bottom: 2.5rem;
}
.process-step-v:last-child { margin-bottom: 0; }
.process-step-v::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.ps-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.25rem;
}
.process-step-v h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0;
  text-transform: none;
}
.process-step-v p { font-size: 0.88rem; color: var(--gray-700); }

/* Step indicator (desktop) */
.step-indicator {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.si-item {
  flex: 1;
  min-width: 100px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  border-bottom: 2px solid var(--border);
  cursor: pointer;
  transition: color var(--dur), border-color var(--dur);
  white-space: nowrap;
}
.si-item.active { color: var(--gold-muted); border-color: var(--gold); }

/* ---- Capital Allocation Bar ---- */
.alloc-bar {
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  margin-bottom: 1rem;
}
.alloc-segment { height: 100%; transition: width 1s var(--ease); }
.alloc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.alloc-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}
.alloc-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.alloc-pct { font-weight: 700; color: var(--navy); }
.alloc-lbl { color: var(--gray-700); }

/* ---- Exit Strategy Cards ---- */
.exit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.75rem 1.5rem;
}
.exit-card h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: none;
  letter-spacing: 0;
}
.exit-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-muted);
  background: var(--accent-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.exit-card p { font-size: 0.85rem; color: var(--gray-700); }

/* ---- FAQ Accordion ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  gap: 1rem;
  user-select: none;
}
.faq-q .faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}
.faq-q .faq-icon::before,
.faq-q .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold-muted);
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.faq-q .faq-icon::before { width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-q .faq-icon::after  { width: 1.5px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-q .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ---- Calculator ---- */
.calc-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
}
.calc-box h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 500px) { .calc-row { grid-template-columns: 1fr; } }
.calc-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}
.calc-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--off-white);
  transition: border-color var(--dur);
}
.calc-input:focus { outline: none; border-color: var(--gold); }
.calc-select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--off-white);
  appearance: none;
  cursor: pointer;
}
.calc-output {
  background: var(--navy);
  padding: 1.5rem;
  border-radius: 2px;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 500px) { .calc-output { grid-template-columns: 1fr; } }
.calc-out-val {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.calc-out-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---- Timeline Estimator ---- */
.timeline-estimator {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
}
.timeline-phases {
  display: flex;
  gap: 0;
  margin-top: 1.5rem;
  border-radius: 2px;
  overflow: hidden;
  height: 40px;
}
.phase-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  transition: width 0.6s var(--ease);
  overflow: hidden;
  white-space: nowrap;
}
.phase-1 { background: var(--navy); }
.phase-2 { background: var(--navy-light); }
.phase-3 { background: var(--gold-muted); }
.phase-4 { background: var(--gold); }
.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--gray-700);
}
.timeline-legend-item { display: flex; align-items: center; gap: 0.5rem; }
.timeline-legend-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.timeline-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.timeline-total-label { font-size: 0.8rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }
.timeline-total-val { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold-muted); }

/* ---- Contact Form ---- */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--dur);
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { outline: none; border-color: var(--gold); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; }
.form-success {
  background: rgba(9,188,138,0.08);
  border: 1px solid rgba(9,188,138,0.25);
  border-radius: 2px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #0a7c5c;
  display: none;
}

/* ---- Monday.com Embed ---- */
.monday-embed-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(11,25,41,0.06);
}
.monday-embed-wrap iframe { display: block; }

/* ---- Lightbox ---- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,25,41,0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner { position: relative; max-width: 880px; width: 100%; }
.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem;
}
.lightbox-img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}
.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: calc(68px + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 0;
}
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  max-width: 560px;
  margin-top: 1rem;
}

/* ---- Section Headers ---- */
.section-header { max-width: 640px; margin-bottom: 3rem; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1rem; color: var(--gray-700); margin: 0; }

/* ---- CTA Strip ---- */
.cta-strip {
  background: var(--navy);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.cta-strip p { color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 2rem; }
.cta-strip-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---- Contact Info Block ---- */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 16px; height: 16px; color: var(--gold-muted); }
.ci-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 0.2rem; }
.ci-val { font-size: 0.95rem; color: var(--navy); font-weight: 500; }

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---- Footer ---- */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .brand-main {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-brand .brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-brand-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-col h6 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-socials a { color: rgba(255,255,255,0.35); transition: color var(--dur); }
.footer-socials a:hover { color: var(--gold); }
.footer-socials svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Disclosure Banner ---- */
.disclosure {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 0;
}
.disclosure p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  margin: 0;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ---- Utility ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.no-scroll { overflow: hidden; }

/* Image banner with overlay */
.img-banner {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.img-banner-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy, #0a1628);
  opacity: 0.95;
  z-index: 0;
}
.img-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
  max-width: 720px;
}
.img-banner-content h2 { color: var(--white); margin-bottom: 1rem; }
.img-banner-content p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
/* CGC parent brand in footer */
.footer-cgc-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  opacity: 0.7;
  font-size: 0.78rem;
  color: var(--gray-400, #9ca3af);
}
.footer-cgc-brand img { width: 18px; height: 18px; opacity: 0.6; }

/* Tokens referenced by the investor portal (portal.html) inline styles. */
:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --t-fast: 160ms;
}
