/* =========================================================
   Damian Forrester — Forrester Group Real Estate
   Charcoal + Gold | Warm & Community
   ========================================================= */

:root {
  --charcoal: #0f0f10;
  --charcoal-2: #1a1a1d;
  --charcoal-3: #25252a;
  --line: #2f2f35;
  --gold: #c9a449;
  --gold-soft: #e2c98a;
  --gold-deep: #8a6c1f;
  --cream: #f5efe3;
  --cream-warm: #ede4d0;
  --ink: #14140f;
  --muted: #8c8a82;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}
.script {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}
.gold { color: var(--gold-deep); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  margin: 0;
  opacity: 0.4;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 16, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.logo span { color: var(--gold); font-style: italic; }

/* eXp "Brokered by" lockup */
.brokered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.brokered-by .bb-label {
  opacity: 0.8;
}
.brokered-by img {
  height: 22px;
  width: auto;
  display: block;
}
.nav .brokered-by {
  margin-top: 0.15rem;
  font-size: 0.62rem;
}
.nav .brokered-by img {
  height: 16px;
}
.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold-soft); color: var(--ink) !important; }
.menu-btn { display: none; background: none; border: 0; color: var(--cream); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  background:
    linear-gradient(180deg, rgba(15,15,16,0.55) 0%, rgba(15,15,16,0.85) 100%),
    url('https://images.unsplash.com/photo-1573574758762-2ba4ce05bb4d?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--cream);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 { color: var(--cream); }
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}
.hero p { font-size: 1.15rem; color: var(--cream-warm); max-width: 36ch; }
.hero-photo {
  border: 1px solid var(--gold);
  padding: 0.75rem;
  background: rgba(0,0,0,0.25);
  position: relative;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: linear-gradient(135deg, #25252a, #3a3a40);
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(201, 164, 73, 0.35);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 1.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold-deep);
}
.btn-outline-dark:hover { background: var(--gold-deep); color: var(--cream); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- About ---------- */
.about {
  background: var(--cream);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about p { font-size: 1.05rem; }
.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.value {
  text-align: center;
}
.value-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.25rem;
}
.value-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Path Cards (Buyers/Sellers) ---------- */
.paths {
  background: var(--charcoal);
  color: var(--cream);
}
.paths h2 { color: var(--cream); text-align: center; margin-bottom: 0.5rem; }
.paths .lead {
  text-align: center;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 auto 3rem;
}
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.path-card {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}
.path-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.path-card:hover::before { height: 100%; }
.path-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
}
.path-card h3 { color: var(--cream); margin-top: 0.5rem; font-size: 1.7rem; }
.path-card p { color: var(--muted); margin-bottom: 1.5rem; }
.path-card .arrow {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* ---------- Billings Section ---------- */
.billings {
  background: var(--cream-warm);
}
.billings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.billings-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--charcoal);
}
.billings-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.billings-card:hover img { transform: scale(1.05); }
.billings-card .label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(15,15,16,0.85));
  padding: 1.5rem 1.25rem 1.25rem;
  color: var(--cream);
}
.billings-card .label h4 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-size: 1.2rem;
  color: var(--gold);
}
.billings-card .label p {
  margin: 0.25rem 0 0;
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-style: italic;
}

/* ---------- YouTube CTA ---------- */
.youtube-band {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
}
.youtube-band h2 { color: var(--cream); }
.youtube-band .script { color: var(--gold); display: block; margin-bottom: 0.5rem; font-size: 1.4rem; }
.yt-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold); display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--cream);
  text-align: center;
}
.review-stars {
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.2rem;
  margin: 1rem 0;
}
.reviews .quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  max-width: 50ch;
  margin: 1rem auto 2rem;
  line-height: 1.4;
}

/* ---------- Referral (subtle) ---------- */
.referral-strip {
  background: var(--charcoal-2);
  color: var(--cream-warm);
  padding: 2rem 0;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}
.referral-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.referral-strip p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
}
.referral-strip p strong {
  color: var(--gold);
  font-weight: 600;
  font-style: normal;
  font-family: 'Playfair Display', serif;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--charcoal);
  color: var(--cream);
}
.contact h2 { color: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-of-type { border-bottom: 0; }
.contact-item .ico {
  color: var(--gold);
  font-size: 1.3rem;
  width: 32px;
  flex-shrink: 0;
}
.contact-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-item .value {
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 500;
}
.contact-item a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
footer {
  background: #08080a;
  color: var(--cream-warm);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.6rem; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }
.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--cream-warm);
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.socials svg { width: 16px; height: 16px; }
.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================================
   PAGE-SPECIFIC
   ========================================================= */

/* Sub-page hero */
.subhero {
  background:
    linear-gradient(180deg, rgba(15,15,16,0.55) 0%, rgba(15,15,16,0.85) 100%),
    url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  color: var(--cream);
  padding: 8rem 0 6rem;
  text-align: center;
}
.subhero h1 { color: var(--cream); margin-bottom: 0.5rem; }
.subhero .script { font-size: 1.6rem; display: block; margin-bottom: 0.5rem; color: var(--gold-soft); }
.subhero p { color: var(--cream-warm); max-width: 55ch; margin: 1rem auto 0; font-size: 1.1rem; }

.subhero-buyers {
  background:
    linear-gradient(180deg, rgba(15,15,16,0.55) 0%, rgba(15,15,16,0.85) 100%),
    url('https://images.unsplash.com/photo-1583847268964-b28dc8f51f92?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}
.subhero-sellers {
  background:
    linear-gradient(180deg, rgba(15,15,16,0.55) 0%, rgba(15,15,16,0.85) 100%),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}

/* Buyers/Sellers content layout */
.content-page { background: var(--cream); padding: 5rem 0; }
.content-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}
.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--charcoal);
  color: var(--cream);
  padding: 2rem 1.5rem;
  border-left: 3px solid var(--gold);
}
.toc h4 {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 1rem;
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 0.7rem; }
.toc a {
  color: var(--cream-warm);
  font-size: 0.92rem;
  display: block;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.15s;
}
.toc a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.content-block {
  margin-bottom: 4rem;
  scroll-margin-top: 100px;
}
.content-block > h2 {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
}
.content-block > .script {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.content-block .rule {
  width: 60px;
  height: 2px;
  background: var(--gold-deep);
  margin: 0 0 1.5rem;
}
.content-block p { margin: 0 0 1rem; font-size: 1.02rem; }
.content-block ol, .content-block ul {
  padding-left: 1.2rem;
  margin: 1rem 0;
}
.content-block li { margin-bottom: 0.6rem; line-height: 1.6; }
.content-block li strong { color: var(--gold-deep); }

/* Resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.resource-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 3px solid var(--gold);
  padding: 1.25rem;
}
.resource-card h5 {
  margin: 0 0 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}
.resource-card p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
}
.resource-card a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
}
.resource-card a:hover { text-decoration: underline; }

/* Highlight callout */
.callout {
  background: var(--charcoal);
  color: var(--cream);
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--gold);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--gold); }

/* Download bar */
.download-bar {
  background: var(--cream-warm);
  border: 1px solid var(--gold);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.download-bar h3 { margin: 0 0 0.25rem; font-size: 1.3rem; }
.download-bar p { margin: 0; color: #555; font-size: 0.95rem; }

/* Sellers stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-top: 3px solid var(--gold);
}
.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat .lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

/* Process steps */
.steps {
  margin: 2rem 0;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.step:last-child { border-bottom: 0; }
.step .step-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.5rem;
  color: var(--gold-deep);
  line-height: 1;
}
.step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}
.step p { margin: 0; color: #444; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--charcoal); flex-direction: column; padding: 1rem 1.5rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; font-size: 1.5rem; }
  .hero-inner, .about-grid, .path-grid, .contact-grid, .billings-grid, .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { gap: 2rem; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  section { padding: 3.5rem 0; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero-photo { max-width: 320px; margin: 0 auto; }
}
