:root {
  --bg: #1a1a1f;
  --bg-warm: #222228;
  --fg: #f0ece4;
  --fg-dim: #9a9590;
  --accent: #d4a24e;
  --accent-glow: #e8b960;
  --accent-dark: #b08530;
  --white: #ffffff;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 60px;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,162,78,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(212,162,78,0.3);
  padding: 6px 16px;
  margin-bottom: 40px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--white);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-dim);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* BRACKET VISUAL */
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bracket-visual {
  position: relative;
  width: 300px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bracket-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}

.bracket-bars {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.bar {
  width: 12px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 2px;
}

.bar-1 { height: 120px; }
.bar-2 { height: 180px; }
.bar-3 { height: 180px; }
.bar-4 { height: 120px; }

.bracket-desc {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 30px;
  letter-spacing: 1px;
}

/* STATS */
.stats {
  background: var(--bg-warm);
  border-top: 1px solid rgba(212,162,78,0.15);
  border-bottom: 1px solid rgba(212,162,78,0.15);
  padding: 60px;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  color: var(--accent);
  letter-spacing: -1px;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--fg-dim);
  margin-top: 8px;
  max-width: 180px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(212,162,78,0.2);
}

/* HOW IT WORKS */
.how {
  padding: 120px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  margin-bottom: 60px;
  color: var(--white);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 8px;
}

.step-content p {
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.7;
  max-width: 500px;
}

/* FEATURES */
.features {
  padding: 100px 60px;
  background: var(--bg-warm);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.feature-block {
  padding: 48px;
  border: 1px solid rgba(212,162,78,0.12);
  border-radius: 4px;
  background: rgba(26,26,31,0.6);
}

.feature-center {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  border-color: rgba(212,162,78,0.25);
}

.feature-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-block p {
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.7;
}

/* CLOSING */
.closing {
  padding: 140px 60px;
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 24px;
}

.closing-sub {
  color: var(--fg-dim);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-press {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.press-dot {
  color: rgba(212,162,78,0.4);
}

/* FOOTER */
.site-footer {
  padding: 40px 60px;
  border-top: 1px solid rgba(212,162,78,0.1);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.footer-loc {
  font-size: 13px;
  color: var(--fg-dim);
}

/* ─── Birmingham Market Theme ──────────────────────────────────────── */
/* Primary: #4D5B6A (Stiffkey Blue) — buttons, headers, footer
   Secondary: #D1CBC3 (Cornforth White) — backgrounds, cards
   Accent: #8B857F (Mole's Breath) — borders, subtle text */
:root.bhm {
  --bg: #D1CBC3;
  --bg-warm: #c4bdb3;
  --fg: #2a2522;
  --fg-dim: #8B857F;
  --accent: #4D5B6A;
  --accent-glow: #5a6a79;
  --accent-dark: #3d4754;
  --white: #ffffff;
  --border: rgba(139,133,127,0.2);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Birmingham shared nav */
.bhm-nav {
  background: var(--accent);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.bhm-nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.bhm-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.bhm-nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.bhm-nav-links a:hover { color: var(--white); }

/* Birmingham hero */
.bhm-hero {
  background: var(--bg);
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.bhm-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-warm), transparent);
}
.bhm-hero-inner { max-width: 680px; position: relative; z-index: 1; }
.bhm-hero-tag {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.bhm-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.bhm-hero-sub {
  font-size: 19px;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid var(--accent);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  margin-left: 12px;
}
.btn-secondary:hover { background: var(--accent); color: var(--white); }

/* Photo gallery */
.bhm-photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.bhm-photo-card {
  background: var(--bg-warm);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(139,133,127,0.2);
}
.bhm-photo-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 16px 20px 8px;
  font-weight: 600;
}
.bhm-photo-desc {
  font-size: 14px;
  color: var(--fg-dim);
  padding: 0 20px 16px;
  line-height: 1.5;
}
.bhm-photo-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--accent);
}

/* Sections */
.bhm-section {
  padding: 80px 60px;
}
.bhm-section-alt { background: var(--bg-warm); }
.bhm-section-header { max-width: 700px; margin-bottom: 48px; }
.bhm-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.bhm-section-header p {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.7;
}
.bhm-cta-center { text-align: center; max-width: 600px; margin: 0 auto; }
.bhm-cta-center h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.bhm-cta-center p { font-size: 17px; color: var(--fg-dim); margin-bottom: 32px; }

/* Why AnotherStory feature grid */
.bhm-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
}

/* Neighborhood cards */
.bhm-neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bhm-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(139,133,127,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bhm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(77,91,106,0.12);
}
.bhm-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--accent);
}
.bhm-card-body { padding: 24px; }
.bhm-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.bhm-card-body p { font-size: 14px; color: var(--fg-dim); line-height: 1.6; margin-bottom: 16px; }
.bhm-card-link {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bhm-card-link:hover { text-decoration: underline; }

/* Process steps */
.bhm-steps { display: flex; flex-direction: column; gap: 0; }
.bhm-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(139,133,127,0.15);
  align-items: start;
}
.bhm-step:last-child { border-bottom: none; }
.bhm-step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: 0.7;
}
.bhm-step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.bhm-step p { font-size: 16px; color: var(--fg-dim); line-height: 1.7; }

/* FAQ accordion */
.bhm-faq-item {
  border-bottom: 1px solid rgba(139,133,127,0.2);
}
.bhm-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.bhm-faq-q:hover { color: var(--accent); }
.bhm-faq-icon { font-size: 24px; color: var(--accent); flex-shrink: 0; }
.bhm-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
  font-size: 16px;
  color: var(--fg-dim);
  line-height: 1.7;
}
.bhm-faq-a.open { max-height: 300px; padding-bottom: 24px; }

/* About / contractor bio */
.bhm-contractor-bio {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(139,133,127,0.15);
  margin-bottom: 48px;
}
.bhm-contractor-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  background: var(--accent);
}
.bhm-contractor-info { padding: 40px; }
.bhm-contractor-info h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}
.bhm-contractor-role {
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 600;
}
.bhm-contractor-info p { font-size: 16px; color: var(--fg-dim); line-height: 1.7; margin-bottom: 12px; }
.bhm-contractor-credentials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.bhm-credential-badge {
  background: var(--bg);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(139,133,127,0.2);
}

/* Footer */
.bhm-footer {
  background: var(--accent);
  padding: 60px;
  color: var(--white);
}
.bhm-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.bhm-footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}
.bhm-footer-col p, .bhm-footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  text-decoration: none;
}
.bhm-footer-col a:hover { color: var(--white); text-decoration: underline; }
.bhm-footer-tagline {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}
.bhm-footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.bhm-footer-legal-links { display: flex; gap: 24px; }
.bhm-footer-legal-links a { color: rgba(255,255,255,0.6); font-size: 13px; }
.bhm-footer-legal-links a:hover { color: var(--white); }

/* Lead form */
.bhm-lead-form {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  border: 1px solid rgba(139,133,127,0.15);
  max-width: 540px;
  margin: 0 auto;
}
.bhm-lead-form h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.bhm-lead-form-sub { font-size: 15px; color: var(--fg-dim); margin-bottom: 28px; line-height: 1.6; }
.bhm-form-group { margin-bottom: 16px; }
.bhm-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.bhm-form-group input, .bhm-form-group select, .bhm-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid rgba(139,133,127,0.25);
  border-radius: 4px;
  font-size: 15px;
  color: var(--fg);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.bhm-form-group input:focus, .bhm-form-group select:focus, .bhm-form-group textarea:focus {
  border-color: var(--accent);
}
.bhm-tcpa-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
}
.bhm-tcpa-check input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.bhm-tcpa-check a { color: var(--accent); }
.bhm-form-submit { width: 100%; }

/* Privacy / terms legal pages */
.bhm-legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 60px;
}
.bhm-legal-page h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.bhm-legal-page .bhm-legal-date { font-size: 13px; color: var(--fg-dim); margin-bottom: 40px; }
.bhm-legal-page h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin: 36px 0 12px;
  letter-spacing: -0.5px;
}
.bhm-legal-page p { font-size: 16px; color: var(--fg-dim); line-height: 1.75; margin-bottom: 16px; }
.bhm-legal-page ul { padding-left: 20px; margin-bottom: 16px; }
.bhm-legal-page li { font-size: 16px; color: var(--fg-dim); line-height: 1.7; margin-bottom: 6px; }

/* Mobile */
@media (max-width: 768px) {
  .bhm-nav { padding: 0 24px; }
  .bhm-nav-links { display: none; }
  .bhm-hero { padding: 60px 24px; min-height: auto; }
  .bhm-photo-gallery { grid-template-columns: 1fr; }
  .bhm-section { padding: 60px 24px; }
  .bhm-neighborhoods-grid { grid-template-columns: 1fr; }
  .bhm-why-grid { grid-template-columns: 1fr; }
  .bhm-contractor-bio { grid-template-columns: 1fr; }
  .bhm-contractor-photo { height: 240px; }
  .bhm-footer-inner { grid-template-columns: 1fr; }
  .bhm-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .bhm-legal-page { padding: 40px 24px; }
  .bhm-legal-page h1 { font-size: 30px; }
  .bhm-lead-form { padding: 28px; }
}

/* Main landing page mobile overrides */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    min-height: auto;
    padding-top: 100px;
  }

  .hero-graphic {
    display: none;
  }

  .stats {
    padding: 40px 24px;
  }

  .stats-inner {
    flex-direction: column;
    gap: 32px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .how {
    padding: 80px 24px;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .features {
    padding: 60px 24px;
  }

  .features-inner {
    grid-template-columns: 1fr;
  }

  .feature-block {
    padding: 32px;
  }

  .feature-center {
    text-align: left;
  }

  .closing {
    padding: 80px 24px;
  }

  .closing-press {
    flex-direction: column;
    gap: 8px;
  }

  .press-dot {
    display: none;
  }

  .site-footer {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}