/* Brand tokens. Swap the theme by changing data-theme on <html>: steady (A), neighbor (B), finish (C). */
:root, [data-theme="steady"] {
  --primary: #243B4A; --primary-ink: #F4F0E9; --secondary: #70818A;
  --ground: #F4F0E9; --surface: #FFFFFF; --accent: #B48A5A; --accent-ink: #8A6A43;
  --text: #243B4A; --muted: #3E515C; --line: #DDD6C9;
  --font-head: "Libre Baskerville", Georgia, serif; --font-body: "DM Sans", system-ui, sans-serif;
  --head-weight: 400; --radius: 2px;
}
[data-theme="neighbor"] {
  --primary: #3B2F2A; --primary-ink: #F8F4EB; --secondary: #E8D8C8;
  --ground: #F8F4EB; --surface: #FFFFFF; --accent: #B4654A; --accent-ink: #8E4A33;
  --text: #3B2F2A; --muted: #5A4A42; --line: #E3D8C8;
  --font-head: "Fraunces", Georgia, serif; --font-body: "Manrope", system-ui, sans-serif;
  --head-weight: 600; --radius: 999px;
}
[data-theme="finish"] {
  --primary: #1E2226; --primary-ink: #FFFFFF; --secondary: #E6E4E0;
  --ground: #FFFFFF; --surface: #FFFFFF; --accent: #D9622B; --accent-ink: #B04A18;
  --text: #1E2226; --muted: #464C52; --line: #D5D2CC;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif; --font-body: "Source Sans 3", system-ui, sans-serif;
  --head-weight: 800; --radius: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-ink); }
.muted { color: var(--muted); }
section { padding: clamp(56px, 8vw, 96px) 0; }

.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 16px 26px; border-radius: var(--radius); border: 2px solid var(--primary); cursor: pointer; font-family: var(--font-body); line-height: 1.2; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #111; }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.08em; display: block; }
.brand-sub { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; color: var(--accent-ink); display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav .tel { font-weight: 700; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .nav { gap: 12px; } .nav .btn { padding: 12px 16px; } }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; }
.hero-img { flex: 1 1 440px; min-width: 0; height: clamp(280px, 40vw, 480px); object-fit: cover; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Commitments */
.commit { background: var(--primary); color: var(--primary-ink); padding: 28px 0; }
.commit .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.commit .wrap > div { border-left: 2px solid var(--accent); padding-left: 14px; }
.commit .wrap > div strong { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.1rem; display: block; }
.commit .wrap > div span { font-size: 0.9rem; opacity: 0.85; }

/* Services */
.services { background: var(--surface); }
.services .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.services .intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.svc-list { flex: 2 1 520px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 36px; }
.svc-list li { border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-direction: column; gap: 6px; }
.svc-list .full { grid-column: 1 / -1; }
.svc-note { grid-column: 1 / -1; font-size: 0.85rem; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.step { background: var(--surface); padding: 28px; border-top: 3px solid var(--accent); display: flex; flex-direction: column; gap: 10px; }
.step b { font-family: var(--font-head); font-size: 1.8rem; color: var(--accent-ink); font-weight: 400; }

/* Gallery / reviews */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.ph { aspect-ratio: 4 / 3; background: var(--secondary); opacity: 0.35; }
.review { background: var(--surface); padding: 26px; margin: 0; }
.review blockquote { margin: 0 0 12px; font-family: var(--font-head); }

/* Owner */
.owner { background: var(--primary); color: var(--primary-ink); }
.owner .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.owner .portrait { flex: 0 1 340px; aspect-ratio: 4 / 5; background: rgba(255,255,255,0.08); }
.owner .quote { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.owner .quote p.q { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.45; }

/* Area + CTA + footer */
.area .wrap { display: flex; flex-wrap: wrap; gap: 40px; }
.area .wrap > * { flex: 1 1 380px; }
.area .cities { font-weight: 500; line-height: 2; }
.cta { background: var(--primary); color: var(--primary-ink); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta .btn-ghost { color: var(--primary-ink); border-color: var(--primary-ink); }
footer { background: #111; color: #A9B0B5; font-size: 0.9rem; padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: #D6DADD; }

/* Housecall Pro button inherits our button look */
.hcp-button { all: unset; }
