/* =========================================================
   RA Vero Holding LLC — Vero Beach Development OS
   Shared Stylesheet — vero-website/assets/styles.css
   Static snapshot generated from Airtable. Airtable is the
   source of truth. Regenerate from Airtable to update.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

/* ---- TOKENS ---- */
:root {
  --navy:     #0f2340;
  --ocean:    #1a4a7a;
  --sky:      #2980b9;
  --sand:     #f5e6c8;
  --dune:     #d4a96a;
  --sun:      #f39c12;
  --coral:    #e74c3c;
  --palm:     #27ae60;
  --concrete: #95a5a6;
  --white:    #ffffff;
  --offwhite: #f8f9fa;
  --charcoal: #2c3e50;
  --border:   #e1e8f0;
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--offwhite); color: var(--charcoal); line-height: 1.6; }
a { text-decoration: none; }

/* ---- SITE NAV ---- */
.site-nav {
  background: var(--navy);
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; z-index: 100;
}
.nav-brand {
  color: var(--dune);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 16px 24px 16px 0;
  border-right: 1px solid rgba(255,255,255,0.1);
  margin-right: 8px;
  white-space: nowrap;
}
.site-nav a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 500;
  padding: 16px 14px;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: rgba(255,255,255,0.85); }
.site-nav a.active { color: white; border-bottom-color: var(--dune); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 60%, #1d6fa4 100%);
  color: white;
  padding: 60px 48px 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--dune); margin-bottom: 12px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 900; line-height: 1.1; margin-bottom: 8px;
}
.hero h1 span { color: var(--dune); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 40px; font-weight: 300; }
.hero-stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; position: relative; z-index: 1;
}
.hero-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 20px;
}
.hero-stat .number { font-size: 32px; font-weight: 800; color: var(--dune); line-height: 1; }
.hero-stat .label {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 6px;
}

/* EXTERNAL HERO (acquisitions page) */
.hero-external {
  background: linear-gradient(135deg, #0a1628 0%, var(--navy) 50%, #1a3a5c 100%);
  color: white;
  padding: 80px 48px 60px;
  position: relative; overflow: hidden;
  text-align: center;
}
.hero-external::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212,169,106,0.08), transparent 70%);
}
.hero-external .badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--dune);
  border: 1px solid rgba(212,169,106,0.4); border-radius: 20px;
  padding: 5px 14px; margin-bottom: 20px;
}
.hero-external h1 {
  font-family: 'Playfair Display', serif;
  font-size: 56px; font-weight: 900; line-height: 1.1; margin-bottom: 16px;
}
.hero-external h1 span { color: var(--dune); }
.hero-external .sub {
  font-size: 18px; color: rgba(255,255,255,0.65); font-weight: 300;
  max-width: 600px; margin: 0 auto 48px;
}
.ext-stats {
  display: flex; justify-content: center; gap: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
}
.ext-stat .num { font-size: 40px; font-weight: 900; color: var(--dune); line-height: 1; }
.ext-stat .lbl {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 6px;
}

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 48px 32px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 48px 32px; }
.section { margin-bottom: 56px; }
.section-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid var(--sand);
}
.section-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.section-title { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; }
.section-count {
  font-size: 12px; font-weight: 600; color: var(--concrete);
  letter-spacing: 1px; text-transform: uppercase; margin-left: auto;
}
.two-col   { display: grid; grid-template-columns: 1fr 1fr;     gap: 24px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* ---- PILLS ---- */
.pill {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}
.pill-green  { background: #d4edda; color: #155724; }
.pill-blue   { background: #cce5ff; color: #004085; }
.pill-yellow { background: #fff3cd; color: #856404; }
.pill-red    { background: #f8d7da; color: #721c24; }
.pill-gray   { background: #e2e3e5; color: #383d41; }
.pill-purple { background: #e2d9f3; color: #432874; }
.pill-teal   { background: #d1f2eb; color: #0e6655; }

/* ---- ALERT BANNER ---- */
.alert-banner {
  background: linear-gradient(135deg, #fff3cd, #ffeeba);
  border-left: 4px solid var(--sun); border-radius: 8px;
  padding: 16px 20px; margin-bottom: 32px;
  display: flex; align-items: flex-start; gap: 12px;
}
.alert-banner .icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.alert-banner strong { color: #856404; font-size: 14px; }
.alert-banner p { color: #856404; font-size: 13px; margin-top: 4px; }

/* ---- KPI STRIP ---- */
.kpi-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.kpi-card {
  background: white; border-radius: 12px; padding: 20px 24px;
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.kpi-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.kpi-card.green::after  { background: var(--palm); }
.kpi-card.blue::after   { background: var(--sky); }
.kpi-card.yellow::after { background: var(--sun); }
.kpi-card.red::after    { background: var(--coral); }
.kpi-card.teal::after   { background: #1abc9c; }
.kpi-number { font-size: 36px; font-weight: 900; color: var(--navy); line-height: 1; }
.kpi-label  { font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--concrete); margin-top: 6px; }
.kpi-sub    { font-size: 12px; color: var(--charcoal); margin-top: 6px; }

/* ---- LOT GRID ---- */
.lot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.lot-card {
  background: white; border-radius: 12px; padding: 18px;
  border: 1px solid var(--border); position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.lot-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.lot-card.pilot {
  border: 2px solid var(--sky);
  background: linear-gradient(135deg, #f0f7ff, white);
}
.lot-card.pilot::before {
  content: '⭐ PILOT'; position: absolute; top: -1px; right: 14px;
  background: var(--sky); color: white; font-size: 9px; font-weight: 800;
  letter-spacing: 1px; padding: 3px 8px; border-radius: 0 0 6px 6px;
}
.lot-address { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.lot-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.lot-budget { font-size: 11px; color: var(--concrete); margin-top: 6px; }
.lot-budget span { font-weight: 600; color: var(--charcoal); }

/* ---- TIMELINE ---- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--sky), var(--dune), #e9ecef);
}
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-dot {
  position: absolute; left: -26px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid white;
}
.timeline-dot.done    { background: var(--palm); box-shadow: 0 0 0 2px var(--palm); }
.timeline-dot.active  { background: var(--sky);  box-shadow: 0 0 0 2px var(--sky); animation: pulse 2s infinite; }
.timeline-dot.pending { background: #e9ecef; box-shadow: 0 0 0 2px #ced4da; }
.timeline-dot.blocked { background: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 2px var(--sky), 0 0 0 4px rgba(41,128,185,0); }
  50%  { box-shadow: 0 0 0 2px var(--sky), 0 0 0 8px rgba(41,128,185,0.2); }
  100% { box-shadow: 0 0 0 2px var(--sky), 0 0 0 4px rgba(41,128,185,0); }
}
.timeline-content { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; }
.timeline-content.active  { border-color: var(--sky);  background: #f0f7ff; }
.timeline-content.blocked { border-color: #f5c6cb; background: #fff5f5; }
.timeline-phase  { font-size: 13px; font-weight: 700; color: var(--navy); }
.timeline-date   { font-size: 11px; color: var(--concrete); margin-top: 2px; }
.timeline-detail { font-size: 12px; color: var(--charcoal); margin-top: 5px; }

/* ---- FINANCIAL TABLE ---- */
.fin-card { background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.fin-table { width: 100%; border-collapse: collapse; }
.fin-table th {
  background: var(--navy); color: white;
  font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 10px 16px; text-align: left;
}
.fin-table td { padding: 11px 16px; font-size: 13px; border-bottom: 1px solid #f1f3f5; }
.fin-table tr:hover td { background: #f8f9fa; }
.fin-table td.amount { font-weight: 700; }
.fin-table td.unpaid { color: var(--coral); font-weight: 700; }
.fin-total td { background: var(--sand); font-weight: 800; font-size: 14px; border-top: 2px solid var(--dune); }

/* ---- SNAPSHOT TABLE ---- */
.snapshot-table { width: 100%; border-collapse: collapse; }
.snapshot-table tr { border-bottom: 1px solid #f1f3f5; }
.snapshot-table td { padding: 8px 0; font-size: 13px; }
.snapshot-table td:first-child {
  color: var(--concrete); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; width: 160px;
}
.snapshot-table td:last-child { font-weight: 600; color: var(--navy); }

/* ---- TEAM GRID ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.team-card { background: white; border-radius: 12px; padding: 18px; border: 1px solid var(--border); text-align: center; }
.team-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  margin: 0 auto 10px; display: flex; align-items: center;
  justify-content: center; font-size: 17px; font-weight: 800; color: white;
}
.team-name    { font-size: 13px; font-weight: 700; color: var(--navy); }
.team-role    { font-size: 10px; color: var(--concrete); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.team-company { font-size: 11px; color: var(--sky); margin-top: 3px; font-weight: 500; }

/* ---- TASK LIST ---- */
.task-list { list-style: none; }
.task-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 16px; background: white;
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 9px;
}
.task-item.overdue   { border-left: 3px solid var(--coral); background: #fff8f8; }
.task-item.in-flight { border-left: 3px solid var(--sky);   background: #f0f7ff; }
.task-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.task-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.task-meta { font-size: 11px; color: var(--concrete); margin-top: 3px; }
.task-meta span { color: var(--charcoal); font-weight: 500; }

/* ---- BLOCKERS ---- */
.blocker-box {
  background: #fff5f5; border: 1px solid #f5c6cb;
  border-left: 4px solid var(--coral); border-radius: 10px;
  padding: 14px 18px; margin-bottom: 10px;
}
.blocker-title  { font-size: 13px; font-weight: 700; color: #721c24; }
.blocker-detail { font-size: 12px; color: #856464; margin-top: 3px; }

/* ---- MILESTONE CARDS ---- */
.milestone-card { background: white; border-radius: 12px; padding: 20px; border: 1px solid var(--border); }
.milestone-card.complete { border-top: 3px solid var(--palm); }
.milestone-card.active   { border-top: 3px solid var(--sky); }
.milestone-card.upcoming { border-top: 3px solid var(--concrete); }
.milestone-status { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.milestone-status.complete { color: var(--palm); }
.milestone-status.active   { color: var(--sky); }
.milestone-status.upcoming { color: var(--concrete); }
.milestone-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.milestone-date  { font-size: 12px; color: var(--concrete); }
.milestone-items { list-style: none; margin-top: 10px; }
.milestone-items li { font-size: 12px; color: var(--charcoal); padding: 3px 0 3px 14px; position: relative; }
.milestone-items li::before { content: '·'; position: absolute; left: 0; color: var(--sky); font-weight: 700; }

/* ---- CONTEXT / DARK BOXES ---- */
.context-box {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 16px; padding: 32px; color: white;
  position: relative; overflow: hidden;
}
.context-box::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(74,144,226,0.08);
}
.context-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; color: var(--dune); }
.context-box p  { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.8); margin-bottom: 10px; }
.context-box p strong { color: white; }

/* ---- VENDOR CARDS ---- */
.vendor-card {
  background: white; border-radius: 12px; padding: 18px;
  border: 1px solid var(--border); border-left: 4px solid var(--sky);
  margin-bottom: 12px;
}
.vendor-name    { font-size: 14px; font-weight: 700; color: var(--navy); }
.vendor-company { font-size: 12px; color: var(--sky); font-weight: 500; margin-top: 2px; }
.vendor-task {
  font-size: 12px; color: var(--charcoal);
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border);
}
.vendor-followup { font-size: 11px; color: var(--coral); font-weight: 600; margin-top: 4px; }

/* ---- PROJECT LOG ---- */
.log-entry {
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px; margin-bottom: 10px;
  display: flex; gap: 16px; align-items: flex-start;
}
.log-date { font-size: 11px; color: var(--concrete); font-weight: 600; white-space: nowrap; min-width: 90px; margin-top: 2px; }
.log-body {}
.log-lot  { font-size: 10px; font-weight: 700; color: var(--sky); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.log-action { font-size: 13px; font-weight: 600; color: var(--navy); }
.log-notes { font-size: 12px; color: var(--charcoal); margin-top: 4px; line-height: 1.5; }

/* ---- LESSON CARDS ---- */
.lesson-card {
  background: white; border-radius: 12px; padding: 18px;
  border: 1px solid var(--border); border-left: 4px solid var(--dune);
  margin-bottom: 12px;
}
.lesson-cat   { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sun); margin-bottom: 6px; }
.lesson-text  { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.lesson-meta  { font-size: 11px; color: var(--concrete); margin-top: 6px; }

/* ---- REPORT CARDS ---- */
.report-card {
  background: white; border-radius: 12px; padding: 20px;
  border: 1px solid var(--border); border-top: 3px solid var(--sky);
}
.report-type { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.report-date { font-size: 15px; font-weight: 700; color: var(--navy); }
.report-summary { font-size: 12px; color: var(--charcoal); margin-top: 8px; line-height: 1.6; }

/* ---- EXTERNAL-PAGE COMPONENTS ---- */
.value-card {
  background: white; border-radius: 16px; padding: 28px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.value-icon  { font-size: 32px; margin-bottom: 14px; }
.value-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-text  { font-size: 13px; color: var(--charcoal); line-height: 1.7; }

.deal-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; background: white;
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px;
}
.deal-icon  { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.deal-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.deal-text  { font-size: 12px; color: var(--charcoal); margin-top: 3px; line-height: 1.5; }

.contact-box {
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  border-radius: 16px; padding: 40px;
  color: white; text-align: center;
}
.contact-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--dune); }
.contact-box p  { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.contact-email {
  display: inline-block; background: var(--dune); color: var(--navy);
  font-weight: 700; font-size: 15px; padding: 12px 28px;
  border-radius: 8px; letter-spacing: 0.3px;
}

.cta-strip {
  background: var(--sand); border-radius: 12px; padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; border: 1px solid var(--dune);
}
.cta-text h4 { font-size: 16px; font-weight: 700; color: var(--navy); }
.cta-text p  { font-size: 13px; color: var(--charcoal); margin-top: 3px; }
.cta-btn {
  background: var(--navy); color: white; font-weight: 700; font-size: 13px;
  padding: 10px 22px; border-radius: 8px; white-space: nowrap;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--ocean); color: white; }

/* ---- CHECKLIST ---- */
.checklist { list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f1f3f5; font-size: 13px; }
.checklist li:last-child { border-bottom: none; }
.checklist .check { font-size: 15px; flex-shrink: 0; }
.checklist .item-label { font-weight: 500; color: var(--navy); }
.checklist .item-sub   { font-size: 11px; color: var(--concrete); margin-top: 2px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.5);
  text-align: center; padding: 28px 24px; font-size: 12px;
}
.footer strong { color: var(--dune); }
.footer .snapshot-note { font-size: 11px; margin-top: 6px; opacity: 0.65; }
.footer nav-links { margin-top: 10px; }
.footer a { color: rgba(255,255,255,0.4); font-size: 11px; }
.footer a:hover { color: rgba(255,255,255,0.7); }

/* ---- PRINT ---- */
@media print {
  @page { margin: 0.4in; size: letter; }
  body { background: white !important; }
  .site-nav { display: none !important; }
  .hero, .context-box, .contact-box { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .kpi-strip   { grid-template-columns: repeat(4, 1fr) !important; }
  .lot-grid    { grid-template-columns: repeat(3, 1fr) !important; }
  .team-grid   { grid-template-columns: repeat(4, 1fr) !important; }
  .section     { page-break-inside: avoid; margin-bottom: 28px; }
  .lot-card, .milestone-card, .task-item, .team-card { page-break-inside: avoid; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { padding: 40px 24px 32px; }
  .hero h1, .hero-external h1 { font-size: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ext-stats  { flex-wrap: wrap; gap: 24px; }
  .container, .container-narrow { padding: 32px 16px; }
  .kpi-strip  { grid-template-columns: repeat(2, 1fr); }
  .two-col, .three-col { grid-template-columns: 1fr; }
  .site-nav { padding: 0 16px; flex-wrap: wrap; }
  .cta-strip { flex-direction: column; }
}
