/* ==========================================================================
   Dow Real Estate Group — listing presentation template
   Palette (validated — see README.md "Palette" section for the checks run):
     --navy-000 base / --navy-100 panel / --ink-000 primary text
     --gold accent (subject)  --teal (best comp)  --steel (other comps)
   ========================================================================== */

:root {
  --navy-000: #0b1220;
  --navy-050: #080d17;
  --navy-100: #121b2e;
  --navy-150: #182238;
  --ink-000: #f5f4f0;
  --ink-100: #a9b0bd;
  --ink-200: #5b6472;
  --hairline: rgba(245, 244, 240, 0.10);
  --hairline-strong: rgba(245, 244, 240, 0.18);
  --gold: #b8871f;
  --gold-soft: rgba(184, 135, 31, 0.16);
  --teal: #199e70;
  --teal-soft: rgba(25, 158, 112, 0.16);
  --steel: #3987e5;
  --steel-soft: rgba(57, 135, 229, 0.14);
  --serif: -apple-system, "Segoe UI", system-ui, sans-serif;
  --content-max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  background: var(--navy-000);
  color: var(--ink-000);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 640px) {
  section { padding: 56px 0; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(24px, 4vw, 34px); line-height: 1.15; }
h3 { font-size: 18px; }
p { margin: 0; }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }
.section-head p { margin-top: 14px; color: var(--ink-100); font-size: 16px; }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(8, 13, 23, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand-lockup { display: flex; align-items: center; gap: 10px; }
.brand-lockup img { height: 28px; width: auto; }
.brand-lockup span { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a {
  color: var(--ink-100);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.site-header nav a:hover { color: var(--ink-000); }
@media (max-width: 720px) { .site-header nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(184,135,31,0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-050), var(--navy-000));
}
.hero-mark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(52vw, 620px);
  opacity: 0.9;
  pointer-events: none;
}
.hero-content { max-width: 620px; position: relative; z-index: 1; }
.hero-address { margin-top: 18px; font-size: 15px; color: var(--ink-100); }
.hero-address strong { color: var(--ink-000); }
.hero h1 { margin-top: 14px; }
.hero-sub { margin-top: 22px; font-size: 17px; color: var(--ink-100); max-width: 520px; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat .num { font-size: 26px; font-weight: 700; color: var(--gold); }
.hero-stat .label { font-size: 12px; color: var(--ink-100); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 24px;
  font-size: 12px;
  color: var(--ink-200);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
@media (max-width: 720px) {
  .hero-mark { opacity: 0.28; width: 80vw; right: -20%; }
}

/* ---------- photo slots ---------- */
.photo-slot {
  border: 1px dashed var(--hairline-strong);
  border-radius: 10px;
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-200);
  font-size: 12px;
  text-align: center;
  padding: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.photo-slot span { max-width: 200px; }

/* ---------- property / story ---------- */
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }
.story-copy p + p { margin-top: 16px; }
.story-copy { color: var(--ink-100); font-size: 16px; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.fact { border-top: 1px solid var(--hairline); padding-top: 10px; }
.fact .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-200); }
.fact .v { margin-top: 4px; font-size: 15px; font-weight: 600; }
.feature-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { font-size: 14px; color: var(--ink-100); padding-left: 18px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.photo-slot.gallery { height: 220px; margin-top: 16px; }
.gallery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.photo-slot.tall { height: 340px; }

/* ---------- park diagram ---------- */
.park-diagram { display: flex; gap: 10px; margin-top: 22px; }
.park-bldg {
  flex: 1;
  border-radius: 8px;
  padding: 18px 14px;
  border: 1px solid var(--hairline);
  background: var(--navy-100);
  font-size: 13px;
  color: var(--ink-100);
}
.park-bldg .label { font-weight: 700; color: var(--ink-000); font-size: 14px; }
.park-bldg.is-subject { background: var(--gold-soft); border-color: rgba(184,135,31,0.45); }
.park-bldg.is-subject .label { color: var(--gold); }
.park-note { margin-top: 10px; font-size: 12px; color: var(--ink-200); }

/* ---------- lease status ---------- */
.status-panel {
  background: var(--navy-100);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 28px;
}
.status-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.status-row:last-child { border-bottom: none; }
.status-row .k { color: var(--ink-100); }
.status-row .v { font-weight: 600; text-align: right; }
.caveat-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.caveat-list li {
  font-size: 13.5px;
  color: var(--ink-100);
  padding: 12px 14px;
  border-left: 2px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 8px 8px 0;
}

/* ---------- comps ---------- */
.asking-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-soft);
  border: 1px solid rgba(184,135,31,0.35);
  color: var(--ink-000);
  font-size: 13.5px;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 28px;
}
.asking-banner strong { color: var(--gold); }

.toggle-row { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.toggle {
  display: inline-flex;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 4px;
  background: var(--navy-100);
}
.toggle button {
  border: none;
  background: transparent;
  color: var(--ink-100);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.toggle button.active { background: var(--gold); color: var(--navy-000); }
.toggle-note { font-size: 12.5px; color: var(--ink-200); }

.plot-wrap { margin-bottom: 48px; }
.plot-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; font-size: 12.5px; color: var(--ink-100); }
.plot-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.dot-subject { background: var(--gold); }
.dot-best { background: var(--teal); }
.dot-other { background: var(--steel); }

.plot-track {
  position: relative;
  height: 132px;
  margin: 0 4px;
}
.plot-band {
  position: absolute;
  top: 44px;
  height: 30px;
  background: rgba(169, 176, 189, 0.10);
  border-radius: 6px;
}
.plot-band-label {
  position: absolute;
  top: 6px;
  font-size: 11px;
  color: var(--ink-200);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plot-axis {
  position: absolute;
  top: 59px;
  left: 0; right: 0;
  height: 1px;
  background: var(--hairline-strong);
}
.plot-tick { position: absolute; top: 66px; font-size: 11px; color: var(--ink-200); transform: translateX(-50%); }
.plot-point {
  position: absolute;
  top: 47px;
  width: 14px; height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  border: 2px solid var(--navy-000);
  transition: left 0.5s cubic-bezier(.4,0,.2,1), background 0.3s;
}
.plot-point.other { width: 10px; height: 10px; background: var(--steel); opacity: 0.85; }
.plot-point.best { width: 16px; height: 16px; background: var(--teal); z-index: 3; }
.plot-point.subject { width: 20px; height: 20px; background: var(--gold); z-index: 4; box-shadow: 0 0 0 4px var(--gold-soft); }
.plot-point-label {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink-000);
}
.plot-point-label.below { top: auto; bottom: -24px; }
.plot-tooltip {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-150);
  border: 1px solid var(--hairline-strong);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-100);
  width: 220px;
  display: none;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.plot-tooltip strong { color: var(--ink-000); display: block; margin-bottom: 2px; }
.plot-point:hover .plot-tooltip, .plot-point:focus .plot-tooltip { display: block; }

.comps-table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: 12px; }
table.comps-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 760px; }
.comps-table th, .comps-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--hairline); }
.comps-table thead th {
  background: var(--navy-100);
  color: var(--ink-100);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.comps-table thead th:hover { color: var(--ink-000); }
.comps-table thead th.sorted::after { content: " " attr(data-dir); font-size: 9px; }
.comps-table tbody tr.is-subject { background: var(--gold-soft); }
.comps-table tbody tr.is-best { background: var(--teal-soft); }
.comps-table td.rate { font-variant-numeric: tabular-nums; font-weight: 600; }
.comps-table td.notes { color: var(--ink-100); font-size: 12.5px; max-width: 280px; }
.badge { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-subject { background: var(--gold); color: var(--navy-000); }
.badge-best { background: var(--teal); color: var(--navy-000); }

.analysis-notes { display: grid; gap: 16px; margin-top: 40px; }
.analysis-notes p { color: var(--ink-100); font-size: 15px; }
.verify-box {
  margin-top: 32px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 22px 24px;
  background: var(--navy-100);
}
.verify-box h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-200); margin-bottom: 12px; }
.verify-box ul { margin: 0; padding-left: 18px; color: var(--ink-100); font-size: 13.5px; display: grid; gap: 8px; }

/* ---------- location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }
.location-chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.chip { border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 8px 14px; font-size: 12.5px; color: var(--ink-100); }

/* ---------- marketing ---------- */
.marketing-intro { color: var(--ink-100); font-size: 16px; max-width: 640px; margin-bottom: 36px; }
.deliverables-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .deliverables-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .deliverables-grid { grid-template-columns: 1fr; } }
.deliverable-card {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 20px;
  background: var(--navy-100);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.deliverable-card:hover, .deliverable-card.is-open { border-color: rgba(184,135,31,0.45); background: var(--navy-150); }
.deliverable-card h3 { font-size: 15px; }
.deliverable-card .summary { font-size: 12.5px; color: var(--ink-200); margin-top: 6px; }
.deliverable-card .detail {
  font-size: 13px;
  color: var(--ink-100);
  margin-top: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.deliverable-card.is-open .detail { max-height: 200px; }
.deliverable-card .plus { float: right; color: var(--gold); font-weight: 700; }

/* ---------- CTA / footer ---------- */
.cta-section { text-align: center; }
.cta-section h2 { max-width: 520px; margin: 0 auto; }
.cta-section p { margin-top: 16px; color: var(--ink-100); max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-details { margin-top: 32px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--ink-100); }
.cta-details .needs { color: var(--gold); font-style: italic; }

.site-footer { border-top: 1px solid var(--hairline); padding: 32px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brands { display: flex; align-items: center; gap: 18px; }
.footer-brands img { height: 22px; }
.footer-legal { font-size: 11.5px; color: var(--ink-200); max-width: 520px; line-height: 1.6; }

.divider { height: 1px; background: var(--hairline); margin: 0; }
