/* San Francisco Commercial Real Estate Agent — site styles
   Palette: charcoal / fog-grey / copper */
:root {
  --charcoal: #232629;
  --charcoal-deep: #17191b;
  --fog: #eceef0;
  --fog-mid: #c3c9ce;
  --fog-text: #5b6570;
  --copper: #b46f3e;
  --copper-bright: #cf8a52;
  --paper: #fbfbfa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--charcoal);
  line-height: 1.7;
}

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; }

a { color: var(--copper); }

/* ---------- header / nav ---------- */
.site-header {
  background: var(--charcoal);
  border-bottom: 3px solid var(--copper);
  padding: 1rem 5%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  color: var(--fog);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand em { color: var(--copper-bright); font-style: normal; }

.site-nav { display: flex; flex-wrap: wrap; gap: 0.2rem; }
.site-nav a {
  color: var(--fog-mid);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
}
.site-nav a:hover { color: var(--fog); background: rgba(255,255,255,0.07); }
.site-nav a[aria-current="page"] { color: var(--copper-bright); font-weight: 600; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 20% -10%, rgba(207,138,82,0.18), transparent 55%),
    linear-gradient(165deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  color: var(--fog);
  padding: 5rem 8% 4.5rem;
}
.hero .kicker {
  color: var(--copper-bright);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.hero h1 { font-size: 2.35rem; max-width: 56rem; margin-bottom: 1.1rem; }
.hero p { max-width: 44rem; color: var(--fog-mid); font-size: 1.07rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* SF skyline artwork inside the hero (decorative inline SVG) */
.hero { position: relative; overflow: hidden; padding-bottom: 8.5rem; }
.hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
.hero > *:not(.hero-skyline) { position: relative; z-index: 1; }

/* fog-layer motif: soft wave divider used between page body and footer */
.fog-divider { display: block; width: 100%; height: auto; margin-bottom: -1px; }

/* small skyline strip in footer */
.footer-skyline { display: block; width: 100%; max-width: 30rem; height: auto; margin: 0 auto 1rem; opacity: 0.55; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-bright); }
.btn-ghost { border: 1.5px solid var(--fog-mid); color: var(--fog); }
.btn-ghost:hover { border-color: var(--copper-bright); color: var(--copper-bright); }

/* ---------- layout ---------- */
main { max-width: 70rem; margin: 0 auto; padding: 3.25rem 5% 1rem; }

section { margin-bottom: 3.25rem; }
section > h2 {
  font-size: 1.55rem;
  margin-bottom: 1.1rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--copper);
}
section p { margin-bottom: 1rem; color: var(--fog-text); max-width: 62rem; }
section ul, section ol { margin: 0 0 1rem 1.5rem; color: var(--fog-text); }
section li { margin-bottom: 0.45rem; }
section strong { color: var(--charcoal); }

.lede { font-size: 1.08rem; }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--fog);
  border-top: 3px solid var(--copper);
  border-radius: 5px;
  padding: 1.35rem 1.25rem;
}
.card h3 { font-size: 1.03rem; margin-bottom: 0.5rem; color: var(--charcoal); }
.card p { font-size: 0.92rem; margin: 0; }

/* dark link tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: 1.2rem;
}
.tile-grid a {
  display: block;
  background: var(--charcoal);
  color: var(--fog-mid);
  text-decoration: none;
  border-radius: 5px;
  padding: 1.4rem 1.25rem;
  border-left: 3px solid transparent;
}
.tile-grid a:hover { border-left-color: var(--copper-bright); background: var(--charcoal-deep); }
.tile-grid strong { display: block; color: var(--copper-bright); margin-bottom: 0.4rem; font-size: 1.02rem; }
.tile-grid span { font-size: 0.88rem; }

/* ---------- district / longform blocks ---------- */
.district {
  background: #fff;
  border: 1px solid var(--fog);
  border-radius: 6px;
  padding: 1.7rem 1.6rem;
  margin-bottom: 1.4rem;
}
.district h3 { font-size: 1.18rem; margin-bottom: 0.3rem; }
.district .tagline {
  color: var(--copper);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.8rem;
}
.district p { font-size: 0.97rem; }
.district p:last-child { margin-bottom: 0; }

/* ---------- steps ---------- */
.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.2rem 3.1rem;
  margin-bottom: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0.1rem;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.steps p { font-size: 0.94rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--fog);
  border-radius: 5px;
  margin-bottom: 0.65rem;
  padding: 0.95rem 1.15rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--charcoal);
}
.faq summary::marker { color: var(--copper); }
.faq details p { margin: 0.65rem 0 0; font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact-panel {
  background: var(--charcoal);
  color: var(--fog);
  border-radius: 6px;
  padding: 2rem 1.8rem;
}
.contact-panel h3 { color: var(--copper-bright); margin-bottom: 0.75rem; }
.contact-panel p { color: var(--fog-mid); }
.contact-panel a { color: var(--copper-bright); text-decoration: none; font-weight: 600; }
.contact-panel a:hover { text-decoration: underline; }
.contact-rows { list-style: none; margin: 0; }
.contact-rows li { padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.09); font-size: 1rem; }
.contact-rows li:last-child { border-bottom: none; }
.contact-rows .label {
  display: inline-block;
  min-width: 6.5rem;
  color: var(--fog-mid);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--charcoal-deep), var(--charcoal));
  border-top: 3px solid var(--copper);
  color: var(--fog);
  text-align: center;
  padding: 3.2rem 8%;
  margin-top: 1rem;
}
.cta-band h2 { margin-bottom: 0.7rem; font-size: 1.6rem; }
.cta-band p { color: var(--fog-mid); margin-bottom: 1.6rem; max-width: 42rem; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--charcoal-deep);
  color: #949ca4;
  font-size: 0.84rem;
  padding: 2.2rem 8%;
  text-align: center;
  line-height: 2;
}
.site-footer a { color: var(--copper-bright); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .dre { color: var(--fog-mid); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .hero { padding: 3.5rem 6% 5.5rem; }
  .hero h1 { font-size: 1.7rem; }
  .two-col { grid-template-columns: 1fr; }
  .site-header { position: static; }
  .site-nav a { font-size: 0.84rem; padding: 0.3rem 0.5rem; }
  main { padding-top: 2.25rem; }
  section > h2 { font-size: 1.3rem; }
}
