/* Just Healthy Homes — stylesheet. All colors, fonts, radii and shadows come from jhh-brand-tokens.css. */
:root {
  /* layout aliases → brand tokens */
  --blue: var(--jhh-gold-text);        /* accent text: eyebrows, numbers, highlighted words */
  --blue-deep: var(--jhh-gold-hover);
  --blue-soft: var(--jhh-bg-soft);
  --navy: var(--jhh-navy);
  --ink: var(--jhh-text-body);
  --muted: var(--jhh-text-muted);
  --paper: var(--jhh-surface-card);
  --mist: var(--jhh-bg-alt);
  --line: var(--jhh-border);
  --water: var(--jhh-gold-text);
  --power: var(--jhh-gold-text);
  --radius: var(--jhh-radius-card);
  --radius-sm: var(--jhh-radius-btn);
  --shadow: var(--jhh-shadow-card);
  --sans: var(--jhh-font-sans);
  --serif: var(--jhh-font-serif);
  --max: 1240px;
  --header-h: var(--jhh-header-h);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.1rem); color: var(--navy); }
h2 em, h1 em { font-style: italic; }
p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--jhh-surface-card); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.section-kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--blue); margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: var(--jhh-text-on-dark-body);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--jhh-border);
}
.nav-shell {
  max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-left { display: flex; gap: 28px; }
.nav-left a { text-decoration: none; font-size: .95rem; color: var(--muted); font-weight: 500; }
.nav-left a:hover { color: var(--navy); }
.brand { text-decoration: none; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.brand-ai { color: var(--blue); }
.quote-pill {
  justify-self: end; text-decoration: none; background: var(--navy); color: var(--jhh-surface-card);
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: background .2s;
}
.quote-pill:hover { background: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  background: var(--blue);
  color: var(--jhh-surface-card);
  padding: calc(var(--header-h) + 56px) 28px 64px;
}
.hero-intro {
  max-width: var(--max); margin: 0 auto 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.6rem); letter-spacing: -.035em; line-height: .95;
}
.service-toggle {
  --active-index: 0;
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--jhh-border-on-dark); border: 1px solid var(--jhh-border-on-dark);
  border-radius: 999px; padding: 5px; min-width: 430px;
}
.service-toggle::before {
  content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px;
  width: calc((100% - 10px) / 3); border-radius: 999px; background: var(--jhh-surface-card);
  transform: translateX(calc(var(--active-index) * 100%));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  box-shadow: var(--jhh-shadow-card);
}
.service-toggle button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  color: var(--jhh-surface-card); font: 600 .95rem var(--sans); padding: 12px 18px; border-radius: 999px;
  transition: color .3s;
}
.service-toggle button.active { color: var(--navy); }

.hero-card {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  background: var(--jhh-surface-card); color: var(--ink); border-radius: 28px; overflow: hidden;
  box-shadow: var(--jhh-shadow-card);
  min-height: 520px;
}
.hero-card-copy {
  padding: 56px 52px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.hero-card-copy h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); margin-bottom: 22px; }
.hero-card-copy h2 em { color: var(--blue); }
.hero-card-copy p { color: var(--muted); font-size: 1.1rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.primary-action, .secondary-action {
  text-decoration: none; font-weight: 600; border-radius: 999px; padding: 15px 26px;
  transition: background .2s, color .2s, transform .2s;
}
.primary-action { background: var(--blue); color: var(--jhh-surface-card); }
.primary-action:hover { background: var(--blue-deep); transform: translateY(-1px); }
.primary-action span { margin-left: 6px; }
.secondary-action { color: var(--navy); border: 1px solid var(--line); }
.secondary-action:hover { border-color: var(--navy); }

.hero-photo {
  position: relative; min-height: 420px;
  background: url("home-interior.jpg") center / cover no-repeat,
              linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt));
  transition: background-image .4s;
}
.hero-card[data-service="real-estate"] .hero-photo {
  background: url("charleston-home.jpg") center / cover no-repeat, linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt));
}
/* Tab 2 — Real Estate */
html[data-active-service="real-estate"] .hero-intro,
html[data-active-service="business-safety"] .hero-intro { flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero-card[data-service="real-estate"] .hero-card-copy,
.hero-card[data-service="business-safety"] .hero-card-copy { background: var(--jhh-bg-warm-white); }
.hero-card[data-service="real-estate"] .hero-visual-copy,
.hero-card[data-service="business-safety"] .hero-visual-copy {
  left: 32px; right: 32px; bottom: 32px; padding: 30px 30px 28px;
  background: var(--navy); border-radius: 20px; box-shadow: var(--jhh-shadow-card);
}
.hero-card[data-service="real-estate"] .hero-visual-copy strong,
.hero-card[data-service="business-safety"] .hero-visual-copy strong { font-size: 2rem; }
.hero-card[data-service="business-safety"] .hero-photo {
  background: url("construction-site.jpg") center / cover no-repeat, linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt));
}
.hero-visual-copy {
  position: absolute; left: 36px; right: 36px; bottom: 34px; color: var(--jhh-surface-card);
}
.hero-visual-copy small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; opacity: .85; margin-bottom: 8px; }
.hero-visual-copy strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1.15; margin-bottom: 8px; }
.hero-visual-copy p { opacity: .9; max-width: 30em; }
#visual-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#visual-benefits span {
  font-size: .82rem; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: var(--jhh-border-on-dark); border: 1px solid var(--jhh-border-on-dark);
  backdrop-filter: blur(6px);
}

/* ---------- Proof strip ---------- */
.proof-strip {
  max-width: var(--max); margin: 0 auto; padding: 44px 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-bottom: 1px solid var(--line);
}
.proof-strip div { display: flex; flex-direction: column; gap: 4px; padding-left: 22px; border-left: 2px solid var(--blue); }
.proof-strip strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--navy); line-height: 1; }
.proof-strip span { color: var(--muted); }

/* ---------- Quote ---------- */
.quote-section {
  max-width: var(--max); margin: 0 auto; padding: 110px 28px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start;
}
.quote-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.quote-copy h2 { margin-bottom: 18px; }
.quote-copy > p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.quote-assurances { display: flex; flex-direction: column; gap: 12px; }
.quote-assurances span { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
.quote-assurances span::before {
  content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; flex: none;
  border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: .8rem; font-weight: 800;
}
.quote-assurances a { color: var(--blue); font-weight: 700; }

.quote-form {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 600; color: var(--navy); }
.form-field label span { font-weight: 400; color: var(--muted); margin-left: 4px; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; color: var(--ink); background: var(--jhh-surface-card);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--jhh-ph-b);
}
.form-field [aria-invalid="true"] { border-color: var(--jhh-danger-text); box-shadow: 0 0 0 4px var(--jhh-ph-b); }
.contact-help { font-size: .85rem; color: var(--muted); margin-top: -6px; }
.contact-help.error { color: var(--jhh-danger-text); font-weight: 600; }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; flex-direction: column; gap: 12px; }
.form-submit button {
  font: 600 1.05rem var(--sans); color: var(--jhh-surface-card); background: var(--blue); border: 0; cursor: pointer;
  border-radius: 999px; padding: 17px 28px; transition: background .2s, transform .2s;
}
.form-submit button:hover { background: var(--blue-deep); transform: translateY(-1px); }
.form-submit button:disabled { opacity: .6; cursor: progress; transform: none; }
#quote-status { min-height: 1.4em; font-weight: 600; }
#quote-status.success { color: var(--jhh-success); }
#quote-status.error { color: var(--jhh-danger-text); }

/* ---------- Project slider ---------- */
.project-stories { max-width: var(--max); margin: 0 auto; padding: 40px 28px 100px; }
.project-stories h2 { margin-bottom: 40px; max-width: 14em; }
.project-slider { position: relative; }
.project-viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--radius);
}
.project-viewport::-webkit-scrollbar { display: none; }
.project-row { display: flex; gap: 18px; align-items: flex-end; }
.project-card {
  position: relative; margin: 0; flex: none; scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt));
}
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.project-card.small { width: 340px; height: 380px; }
.project-card.tall { width: 420px; height: 500px; }
.project-card.medium { width: 520px; height: 440px; }
.project-card figcaption {
  position: absolute; left: 16px; bottom: 16px; background: var(--jhh-surface-card); color: var(--navy);
  padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.slider-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--jhh-surface-card); color: var(--navy); font-size: 1.2rem; box-shadow: var(--shadow);
  transition: background .2s, color .2s, opacity .2s;
}
.slider-arrow:hover { background: var(--navy); color: var(--jhh-surface-card); }
.slider-arrow:disabled { opacity: .35; cursor: default; }
.slider-prev { left: -20px; }
.slider-next { right: -20px; }
.story-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.story-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--line); transition: width .3s, background .3s;
}
.story-dots button.active { width: 32px; background: var(--blue); }

/* ---------- Feature blocks ---------- */
.feature-block {
  max-width: var(--max); margin: 0 auto; padding: 50px 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.feature-photo {
  min-height: 460px; border-radius: var(--radius);
  background-size: cover; background-position: center;
}
.crew-photo { background-image: url("hh-gallery-1.jpg"), linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt)); }
.inspection-photo { background-image: url("hh-gallery-3.jpg"), linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt)); }
.feature-copy h2 { margin-bottom: 20px; }
.feature-copy p { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; }
.inline-link {
  display: inline-flex; gap: 8px; align-items: center; text-decoration: none;
  color: var(--blue); font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 3px;
}
.inline-link:hover { color: var(--navy); }

/* ---------- Roofing services ---------- */
.roofing-services {
  max-width: var(--max); margin: 60px auto 0; padding: 70px 52px;
  background: var(--navy); color: var(--jhh-surface-card); border-radius: 28px;
  display: grid; grid-template-columns: .9fr 1.4fr; gap: 56px;
}
.roofing-services .section-kicker { color: var(--jhh-gold); }
.roofing-services h2 { color: var(--jhh-surface-card); }
.service-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-columns h3 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--jhh-gold); margin-bottom: 16px; }
.service-columns a {
  display: block; text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--jhh-border-on-dark);
  color: var(--jhh-surface-glass); transition: color .2s, padding .2s;
}
.service-columns a:hover { color: var(--jhh-surface-card); padding-left: 6px; }

/* ---------- Warranty ---------- */
.warranty-panel {
  max-width: var(--max); margin: 28px auto 0; padding: 56px 52px;
  background: var(--blue-soft); border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.warranty-copy { max-width: 620px; }
.warranty-copy h2 { margin-bottom: 14px; }
.warranty-copy p { color: var(--muted); font-size: 1.08rem; }
.warranty-stat { display: flex; align-items: center; gap: 16px; }
.warranty-stat span { font-family: var(--serif); font-size: 7rem; line-height: .8; color: var(--blue); }
.warranty-stat strong { max-width: 8em; font-size: 1.15rem; color: var(--navy); }

/* ---------- Numbers ---------- */
.numbers-section { max-width: var(--max); margin: 0 auto; padding: 110px 28px 40px; }
.numbers-heading { margin-bottom: 44px; }
.numbers-grid, .outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.numbers-grid article, .outcomes-grid article {
  padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--jhh-surface-card);
}
.numbers-grid strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 3rem; color: var(--blue); line-height: 1; margin-bottom: 18px; }
.numbers-grid h3, .outcomes-grid h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.numbers-grid p, .outcomes-grid p { color: var(--muted); }

/* ---------- Water ---------- */
.water-section {
  max-width: var(--max); margin: 0 auto; padding: 100px 28px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.water-section .section-kicker, .service-panel[data-service-panel="real-estate"] .section-kicker { color: var(--water); }
.water-copy h2 { margin-bottom: 20px; }
.water-copy > p { color: var(--muted); font-size: 1.1rem; margin-bottom: 24px; }
.benefit-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.benefit-row span { padding: 8px 15px; border-radius: 999px; background: var(--jhh-bg-soft); color: var(--jhh-gold-text); font-weight: 600; font-size: .9rem; }
.system-cta {
  display: inline-flex; gap: 10px; text-decoration: none; background: var(--water); color: var(--jhh-surface-card);
  padding: 15px 26px; border-radius: 999px; font-weight: 600; transition: background .2s;
}
.system-cta:hover { background: var(--jhh-navy-hover); }
.water-system-card {
  background: var(--jhh-surface-card); border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow);
}
.system-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.system-card-head small { font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--water); }
.system-card-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--navy); margin-top: 6px; }
.system-card-head > span { font-size: .8rem; font-weight: 600; background: var(--mist); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.water-system-card ol { list-style: none; padding: 0; margin: 0; }
.water-system-card li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.water-system-card li > span { font-family: var(--serif); font-size: 1.4rem; color: var(--water); }
.water-system-card li strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.water-system-card li p { color: var(--muted); margin-bottom: 8px; }
.water-system-card li small { font-size: .8rem; font-weight: 700; color: var(--jhh-gold-text); }
.system-note { font-size: .85rem; color: var(--muted); padding-top: 18px; }

/* ---------- Service features (water + power) ---------- */
.service-feature {
  max-width: var(--max); margin: 0 auto; padding: 60px 28px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center;
}
.service-feature.reverse { grid-template-columns: 1.1fr .9fr; }
.service-feature-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt)); }
.service-feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.water-product-photo { aspect-ratio: 4 / 5; }
.generac-home-photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt)); }
.service-feature-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; background: var(--jhh-surface-card); color: var(--navy);
  padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.service-feature-copy h2 { margin-bottom: 18px; }
.service-feature-copy > p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.value-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 30px; }
.value-list article { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.value-list article > span { font-family: var(--serif); font-size: 1.3rem; color: var(--blue); min-width: 32px; }
.value-list h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.value-list p { color: var(--muted); }
.service-panel[data-service-panel="real-estate"] .value-list article > span,
.service-panel[data-service-panel="real-estate"] .outcomes-grid strong,
.service-panel[data-service-panel="real-estate"] .inline-link { color: var(--water); }

/* ---------- Outcomes ---------- */
.outcomes-section { max-width: var(--max); margin: 0 auto; padding: 60px 28px 40px; }
.outcomes-heading { margin-bottom: 40px; max-width: 760px; }
.outcomes-grid strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--blue); margin-bottom: 18px; }

/* ---------- Power ---------- */
.power-section { max-width: var(--max); margin: 0 auto; padding: 100px 28px 40px; }
.service-panel[data-service-panel="business-safety"] .section-kicker { color: var(--power); }
.power-heading { max-width: 760px; margin-bottom: 44px; }
.power-heading h2 { margin-bottom: 18px; }
.power-heading p { color: var(--muted); font-size: 1.1rem; }
.power-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 28px; }
.power-steps article { padding: 34px; border-radius: var(--radius); background: var(--mist); }
.power-steps article > span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--power); color: var(--jhh-surface-card); font-weight: 700; margin-bottom: 20px; }
.power-steps h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.power-steps p { color: var(--muted); }
.power-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 30px 36px; border-radius: var(--radius); background: var(--navy); color: var(--jhh-surface-card);
}
.power-cta strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.power-cta span { opacity: .75; }
.power-cta a { text-decoration: none; background: var(--power); color: var(--jhh-surface-card); padding: 15px 26px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.power-cta a:hover { background: var(--jhh-navy-hover); }
.service-panel[data-service-panel="business-safety"] .value-list article > span,
.service-panel[data-service-panel="business-safety"] .outcomes-grid strong,
.service-panel[data-service-panel="business-safety"] .inline-link { color: var(--power); }

/* ---------- Process ---------- */
.process-section {
  max-width: var(--max); margin: 90px auto 0; padding: 80px 52px;
  background: var(--mist); border-radius: 28px;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px;
}
.process-list { display: flex; flex-direction: column; }
.process-list article { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process-list article:first-child { padding-top: 0; }
.process-list article:last-child { border-bottom: 0; }
.process-list article > span {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: var(--jhh-surface-card); font-weight: 700;
}
.process-list h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.process-list p { color: var(--muted); }

/* ---------- Areas ---------- */
.areas-section { max-width: var(--max); margin: 0 auto; padding: 110px 28px 50px; text-align: center; }
.areas-section h2 { max-width: 18em; margin: 0 auto 32px; }
.area-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.area-pills > span { padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; background: var(--jhh-surface-card); }

/* ---------- Press ---------- */
.explore-section { max-width: var(--max); margin: 0 auto; padding: 60px 28px 110px; }
.explore-heading { margin-bottom: 36px; }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.explore-card {
  display: flex; flex-direction: column; gap: 14px; min-height: 230px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.explore-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.explore-card > span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.explore-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--navy); flex: 1; }
.explore-card b { font-weight: 600; color: var(--navy); }
.explore-card i { font-style: normal; color: var(--blue); }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: var(--jhh-surface-card); padding: 80px 28px 32px; }
.footer-top, .footer-grid, .footer-bottom { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
  padding-bottom: 56px; border-bottom: 1px solid var(--jhh-border-on-dark);
}
.footer-brand { color: var(--jhh-surface-card); }
.footer-brand .brand-ai { color: var(--jhh-gold); }
.footer-top h2 { color: var(--jhh-surface-card); font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.footer-cta { text-decoration: none; background: var(--blue); color: var(--jhh-surface-card); padding: 15px 26px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.footer-cta:hover { background: var(--jhh-surface-card); color: var(--navy); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 48px 0; }
.footer-grid h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--jhh-gold); margin-bottom: 16px; }
.footer-grid a, .footer-grid p { display: block; text-decoration: none; color: var(--jhh-text-on-dark-body); padding: 5px 0; }
.footer-grid a:hover { color: var(--jhh-surface-card); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--jhh-border-on-dark); color: var(--jhh-text-on-dark-muted); font-size: .88rem;
}

/* ---------- Mobile action bar ---------- */
.mobile-action-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-left { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-photo { min-height: 380px; }
  .quote-section, .feature-block, .water-section, .service-feature, .service-feature.reverse,
  .process-section, .roofing-services { grid-template-columns: 1fr; gap: 40px; }
  .feature-block.reverse .feature-copy { order: 2; }
  .service-feature.reverse .service-feature-copy { order: 2; }
  .quote-copy { position: static; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .roofing-services, .warranty-panel, .process-section { margin-left: 20px; margin-right: 20px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 76px; }
  .nav-shell { padding: 0 18px; }
  .hero { padding: calc(var(--header-h) + 36px) 16px 40px; }
  .service-toggle { min-width: 0; width: 100%; }
  .service-toggle button { padding: 11px 4px; font-size: .8rem; white-space: nowrap; }
  .hero-card-copy { padding: 36px 26px; }
  .proof-strip, .numbers-grid, .outcomes-grid, .power-steps, .footer-grid { grid-template-columns: 1fr; }
  .quote-section { padding: 72px 18px; }
  .quote-form { grid-template-columns: 1fr; padding: 24px; }
  .warranty-panel { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .roofing-services, .process-section { padding: 48px 28px; }
  .service-columns { grid-template-columns: 1fr; }
  .system-card-head { flex-direction: column; gap: 10px; }
  .system-card-head > span { white-space: normal; }
  .slider-arrow { display: none; }
  .project-card.small { width: 78vw; height: 340px; }
  .project-card.tall { width: 78vw; height: 400px; }
  .project-card.medium { width: 85vw; height: 360px; }
  .mobile-action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--jhh-surface-glass); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; font-weight: 700; padding: 14px; border-radius: 999px;
  }
  .mobile-call { background: var(--mist); color: var(--navy); border: 1px solid var(--line); }
  .mobile-quote { background: var(--blue); color: var(--jhh-surface-card); }
}

@media (max-width: 760px) {
  .hero-card[data-service="real-estate"] .hero-photo,
  .hero-card[data-service="business-safety"] .hero-photo { display: flex; align-items: flex-end; min-height: 0; padding: 200px 14px 14px; }
  .hero-card[data-service="real-estate"] .hero-visual-copy,
  .hero-card[data-service="business-safety"] .hero-visual-copy { position: static; padding: 24px 22px; }
  .hero-card[data-service="real-estate"] .hero-visual-copy strong,
  .hero-card[data-service="business-safety"] .hero-visual-copy strong { font-size: 1.6rem; }
}

@media (max-width: 650px) {
  .explore-grid { grid-template-columns: 1fr; }
  .quote-pill { padding: 9px 16px; font-size: .88rem; }
  .brand { font-size: 1.3rem; }
  .hero-visual-copy { left: 22px; right: 22px; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Dedicated service landing pages
   ========================================================= */
.ph {
  background: repeating-linear-gradient(135deg, var(--jhh-ph-a) 0 8px, var(--jhh-ph-b) 8px 16px);
  outline: 1px dashed var(--jhh-ph-line); outline-offset: 2px; border-radius: 4px;
  color: inherit; padding: 0 3px; font-style: normal;
}
.sp-cta .ph, footer .ph, .sp-hero-media .ph { background: var(--jhh-border-on-dark); outline-color: var(--jhh-text-on-dark-muted); }
.asset-tag {
  position: absolute; top: 14px; right: 14px; background: var(--jhh-highlight-soft); color: var(--jhh-gold-text);
  font: 700 .72rem var(--sans); letter-spacing: .04em; padding: 6px 10px; border-radius: 999px;
}
.service-page .nav-left a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.service-page .nav-left { gap: 22px; }

.sp-hero { background: var(--mist); padding: calc(var(--header-h) + 56px) 28px 48px; }
.sp-hero-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
.sp-hero-copy h1 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -.03em; line-height: 1.02; margin-bottom: 22px; }
.sp-hero-copy h1 em { color: var(--blue); }
.sp-lead { color: var(--muted); font-size: 1.15rem; max-width: 34em; margin-bottom: 30px; }
.sp-hero-media { position: relative; margin: 0; border-radius: 28px; overflow: hidden; min-height: 460px; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt)); }
.sp-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-hero-media figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; color: var(--jhh-surface-card); background: var(--jhh-navy);
  padding: 12px 16px; border-radius: 14px; font-size: .9rem; font-weight: 500; backdrop-filter: blur(6px);
}
.sp-benefits-wrap { max-width: var(--max); margin: 44px auto 0; }
.sp-benefits-lead { font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.sp-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sp-benefits article { background: var(--jhh-surface-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.sp-benefit-title { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; margin-bottom: 6px; }
.sp-benefits p { color: var(--muted); }

.sp-section { max-width: var(--max); margin: 0 auto; padding: 96px 28px 24px; }
.sp-section-head { max-width: 720px; margin-bottom: 40px; }
.sp-section-head h2 { margin-bottom: 16px; }
.sp-section-head > p:not(.section-kicker) { color: var(--muted); font-size: 1.1rem; }
.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sp-cards article { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--jhh-surface-card); }
.sp-cards article > span { display: block; font-family: var(--serif); font-size: 2rem; color: var(--blue); margin-bottom: 18px; }
.sp-cards h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.sp-cards p { color: var(--muted); }

.sp-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.sp-split .sp-section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.sp-checklist { list-style: none; margin: 0; padding: 0; }
.sp-checklist li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.sp-checklist li:last-child { border-bottom: 1px solid var(--line); }
.sp-checklist li > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: .85rem; }
.sp-checklist h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 4px; }
.sp-checklist p { color: var(--muted); }

.sp-faq-list details { border-top: 1px solid var(--line); padding: 4px 0; }
.sp-faq-list details:last-child { border-bottom: 1px solid var(--line); }
.sp-faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-weight: 700; font-size: 1.1rem; color: var(--navy);
}
.sp-faq-list summary::-webkit-details-marker { display: none; }
.sp-faq-list summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.sp-faq-list details[open] summary::after { transform: rotate(45deg); }
.sp-faq-list details p { color: var(--muted); padding: 0 0 22px; max-width: 40em; }

.sp-feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.sp-feature-media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--jhh-bg-alt), var(--jhh-bg-alt)); }
.sp-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.sp-feature-media figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; background: var(--jhh-surface-card); color: var(--navy); padding: 9px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.sp-feature-copy h2 { margin-bottom: 18px; }
.sp-feature-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; }

.sp-cta {
  max-width: var(--max); margin: 96px auto 100px; padding: 72px 52px; border-radius: 28px;
  background: var(--navy); color: var(--jhh-surface-card); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.sp-cta h2 { color: var(--jhh-surface-card); max-width: 18em; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.sp-cta .primary-action { white-space: nowrap; }
.sp-footer-top { grid-template-columns: auto 1fr; }
.sp-footer-tagline { color: var(--jhh-text-on-dark-body); max-width: 36em; }

@media (max-width: 960px) {
  .sp-hero-grid, .sp-split, .sp-feature { grid-template-columns: 1fr; gap: 36px; }
  .sp-split .sp-section-head { position: static; }
  .sp-cards, .sp-benefits { grid-template-columns: 1fr; }
  .sp-hero-media { min-height: 340px; }
  .sp-cta { margin-left: 20px; margin-right: 20px; padding: 48px 28px; }
}
@media (max-width: 760px) {
  .sp-hero { padding: calc(var(--header-h) + 32px) 18px 36px; }
  .sp-section { padding: 64px 18px 12px; }
  .sp-hero-media { min-height: 280px; }
  .sp-cta .primary-action { white-space: normal; text-align: center; width: 100%; }
}

.footer-brokerage { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-brokerage a { color: var(--jhh-text-on-dark-body); }

/* ---------- Meet Brittany / Contact / Privacy ---------- */
.mb-prose p { color: var(--muted); font-size: 1.12rem; margin-bottom: 18px; max-width: 38em; }
.mb-promise { font-family: var(--serif); font-size: 1.25rem; color: var(--navy) !important; margin-bottom: 8px; }
.sp-cards article .inline-link { margin-top: 18px; }
.sp-cta-copy { max-width: 40em; }
.sp-cta-copy p { color: var(--jhh-text-on-dark-body); margin-top: 12px; font-size: 1.08rem; }
.ct-details { background: var(--jhh-surface-card); border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); align-self: center; }
.ct-details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; }
.ct-details dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); padding-top: 3px; }
.ct-details dd { margin: 0; color: var(--navy); font-weight: 600; }
.ct-service { display: block; text-decoration: none; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--jhh-surface-card); transition: border-color .2s, transform .2s, box-shadow .2s; }
.ct-service:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.ct-service h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.ct-service p { color: var(--muted); }
.ct-reassure { color: var(--muted); font-size: .92rem; }
.legal { max-width: 820px; padding-top: calc(var(--header-h) + 56px); }
.legal h1 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 20px; }
.legal h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal-draft { background: var(--jhh-highlight-soft); color: var(--jhh-gold-text) !important; font-weight: 700; padding: 12px 16px; border-radius: 12px; margin-bottom: 26px !important; }
.sp-faq-list details { overflow: hidden; }

/* Credibility line + discreet, readable brokerage identification */
.sp-credibility { font-size: .9rem; font-weight: 600; color: var(--navy); margin: -14px 0 26px; }
.sp-cards .sp-credibility { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }
.footer-bottom [data-copy="footer.disclosure"], .footer-brokerage { color: var(--jhh-text-on-dark-body); }
.footer-bottom [data-copy="footer.disclosure"] a, .footer-brokerage a { color: var(--jhh-text-on-dark-body); text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   BRAND LAYER — Just Healthy Homes visual identity (tokens only).
   Layout, spacing and structure above are unchanged.
   ===================================================================== */
body { background: var(--jhh-bg-page); color: var(--jhh-text-body); font-family: var(--jhh-font-sans); line-height: var(--jhh-body-line); }
h1, h2, h3 { color: var(--jhh-text-heading); }
h2 { font-family: var(--jhh-font-serif); font-weight: var(--jhh-weight-medium); line-height: var(--jhh-h-line); letter-spacing: var(--jhh-h-track); }
h1 em, h2 em, .sp-hero-copy h1 em, .hero-card-copy h2 em { color: var(--jhh-gold-text); }
:focus-visible { outline-color: var(--jhh-focus); }
.section-kicker { color: var(--jhh-gold-text); font-family: var(--jhh-font-sans); font-weight: var(--jhh-weight-bold); font-size: var(--jhh-eyebrow-size); letter-spacing: var(--jhh-eyebrow-track); }

/* Logo */
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { display: block; height: var(--jhh-logo-h); width: auto; }
.footer-brand img { height: calc(var(--jhh-logo-h) + 4px); }

/* Header */
.site-header { background: var(--jhh-surface-glass); border-bottom-color: var(--jhh-border); }
.nav-left a { color: var(--jhh-text-muted); font-weight: var(--jhh-weight-medium); }
.nav-left a:hover, .service-page .nav-left a[aria-current="page"] { color: var(--jhh-navy); }

/* Buttons — light backgrounds: navy (verified CTA + hover) */
.quote-pill, .primary-action, .form-submit button, .system-cta, .power-cta a, .mobile-quote, .footer-cta, .sp-cta .primary-action {
  border-radius: var(--jhh-radius-btn); font-family: var(--jhh-font-sans); font-weight: var(--jhh-weight-bold); font-size: var(--jhh-btn-size); letter-spacing: var(--jhh-btn-track);
}
.quote-pill, .primary-action, .form-submit button, .system-cta, .mobile-quote {
  background: var(--jhh-navy); color: var(--jhh-text-on-cta); box-shadow: var(--jhh-shadow-cta);
}
.quote-pill:hover, .primary-action:hover, .form-submit button:hover, .system-cta:hover, .mobile-quote:hover { background: var(--jhh-navy-hover); color: var(--jhh-text-on-dark); }
.primary-action, .system-cta { padding: var(--jhh-btn-pad); }
/* Buttons — dark backgrounds: highlight yellow (verified dark-section CTA + hover) */
.footer-cta, .power-cta a, .sp-cta .primary-action { background: var(--jhh-highlight); color: var(--jhh-navy); box-shadow: var(--jhh-shadow-cta-dark); }
.footer-cta:hover, .power-cta a:hover, .sp-cta .primary-action:hover { background: var(--jhh-highlight-hover); color: var(--jhh-navy); }
/* Secondary actions — derived: gold hairline border used on the live site's option buttons */
.secondary-action { border: 1.5px solid var(--jhh-border-gold); color: var(--jhh-navy); border-radius: var(--jhh-radius-btn); background: transparent; }
.secondary-action:hover { background: var(--jhh-bg-soft); border-color: var(--jhh-gold-text); }
.inline-link { color: var(--jhh-navy); border-bottom-color: var(--jhh-gold); }
.inline-link:hover { color: var(--jhh-gold-hover); }

/* Homepage hero band + tabs */
.hero { background: var(--jhh-navy); }
.hero h1 { color: var(--jhh-text-on-dark); font-family: var(--jhh-font-serif); font-weight: var(--jhh-weight-medium); }
.hero h1 em { color: var(--jhh-highlight); }
.service-toggle { background: var(--jhh-surface-dark-tile); border-color: var(--jhh-border-on-dark); border-radius: var(--jhh-radius-btn); }
.service-toggle::before { background: var(--jhh-bg-page); border-radius: 4px; box-shadow: none; }
.service-toggle button { color: var(--jhh-text-on-dark-body); border-radius: 4px; font-family: var(--jhh-font-sans); }
.service-toggle button.active { color: var(--jhh-navy); }
.hero-card { border-radius: var(--jhh-radius-lg); box-shadow: var(--jhh-shadow-lift); }
.hero-card[data-service="real-estate"] .hero-card-copy, .hero-card[data-service="business-safety"] .hero-card-copy { background: var(--jhh-bg-warm-white); }
.hero-visual-copy small { color: var(--jhh-gold); }
.hero-card[data-service="real-estate"] .hero-visual-copy, .hero-card[data-service="business-safety"] .hero-visual-copy { background: var(--jhh-navy); border-radius: var(--jhh-radius-card); }
#visual-benefits span { border-radius: var(--jhh-radius-btn); background: var(--jhh-surface-dark-tile); border-color: var(--jhh-border-gold-soft); color: var(--jhh-highlight); }

/* Trust strip */
.proof-strip { border-bottom-color: var(--jhh-border); }
.proof-strip div { border-left-color: var(--jhh-gold); }
.proof-strip strong { color: var(--jhh-navy); }

/* Inquiry form */
.quote-form { background: var(--jhh-surface-card); border-color: var(--jhh-border); border-radius: var(--jhh-radius-card); box-shadow: var(--jhh-shadow-card); }
.form-field input, .form-field select, .form-field textarea { border-color: var(--jhh-border); border-radius: var(--jhh-radius-btn); background: var(--jhh-surface-card); color: var(--jhh-text-body); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--jhh-gold-text); box-shadow: 0 0 0 4px var(--jhh-ph-b); }
.form-field label { color: var(--jhh-navy); }
.quote-assurances span::before { background: var(--jhh-bg-soft); color: var(--jhh-gold-text); }
.quote-assurances a { color: var(--jhh-navy); text-decoration-color: var(--jhh-gold); }
#quote-status.success, #ct-status.success { color: var(--jhh-success); }
#quote-status.error, #ct-status.error, .contact-help.error { color: var(--jhh-danger-text); }
.form-field [aria-invalid="true"] { border-color: var(--jhh-danger-text); box-shadow: 0 0 0 4px var(--jhh-ph-a); }

/* Cards, panels, lists */
.project-card, .feature-photo, .service-feature-photo, .sp-hero-media, .sp-feature-media { border-radius: var(--jhh-radius-card); }
.project-card figcaption, .service-feature-photo figcaption, .sp-feature-media figcaption { border-radius: var(--jhh-radius-sm); color: var(--jhh-navy); }
.sp-hero-media figcaption { background: var(--jhh-navy); border-radius: var(--jhh-radius-sm); }
.numbers-grid article, .outcomes-grid article, .sp-cards article, .sp-benefits article, .water-system-card, .explore-card, .ct-service, .ct-details {
  background: var(--jhh-surface-card); border: 1px solid var(--jhh-border); border-radius: var(--jhh-radius-card); box-shadow: var(--jhh-shadow-card);
}
.power-steps article { background: var(--jhh-surface-card); border: 1px solid var(--jhh-border); border-radius: var(--jhh-radius-card); }
.power-steps span, .process-list article > span { background: var(--jhh-navy); color: var(--jhh-text-on-cta); }
.numbers-grid strong, .outcomes-grid strong, .sp-cards article > span, .value-list article > span, .water-system-card li > span, .warranty-stat span { color: var(--jhh-gold-text); }
.benefit-row span, .area-pills > span { border-radius: var(--jhh-radius-btn); background: var(--jhh-surface-card); border: 1px solid var(--jhh-border); color: var(--jhh-navy); }
.system-card-head small, .water-system-card li small, .explore-card > span, .ct-details dt { color: var(--jhh-gold-text); }
.system-card-head > span { background: var(--jhh-bg-soft); border-radius: var(--jhh-radius-btn); color: var(--jhh-navy); }
.explore-card:hover, .ct-service:hover { border-color: var(--jhh-gold); box-shadow: var(--jhh-shadow-card); }
.explore-card i { color: var(--jhh-gold-text); }
.warranty-panel { background: var(--jhh-bg-alt); border-radius: var(--jhh-radius-lg); }
.process-section { background: var(--jhh-bg-alt); border-radius: var(--jhh-radius-lg); }
.sp-hero { background: var(--jhh-bg-alt); }
.sp-checklist li > span { background: var(--jhh-bg-soft); color: var(--jhh-gold-text); }
.sp-faq-list summary { color: var(--jhh-navy); }
.sp-faq-list summary::after { color: var(--jhh-gold-text); }
.sp-faq-list details { border-color: var(--jhh-border); }
.story-dots button { background: var(--jhh-border); }
.story-dots button.active { background: var(--jhh-gold); }
.slider-arrow { background: var(--jhh-surface-card); color: var(--jhh-navy); box-shadow: var(--jhh-shadow-card); }
.slider-arrow:hover { background: var(--jhh-navy); color: var(--jhh-text-on-cta); }

/* Dark bands */
.roofing-services, .power-cta, .sp-cta { background: var(--jhh-navy); border-radius: var(--jhh-radius-lg); }
.roofing-services .section-kicker, .service-columns h3 { color: var(--jhh-gold); }
.service-columns a { color: var(--jhh-text-on-dark-body); border-bottom-color: var(--jhh-border-on-dark); }
.service-columns a:hover { color: var(--jhh-text-on-dark); }
.sp-cta h2, .power-cta strong, .roofing-services h2 { color: var(--jhh-text-on-dark); }
.sp-cta-copy p, .power-cta span { color: var(--jhh-text-on-dark-body); }

/* Footer */
footer { background: var(--jhh-navy-deep); color: var(--jhh-text-on-dark-body); }
.footer-top, .footer-bottom { border-color: var(--jhh-border-on-dark); }
.footer-top h2 { color: var(--jhh-text-on-dark); }
.footer-grid h3 { color: var(--jhh-gold); }
.footer-grid a, .footer-grid p, .sp-footer-tagline { color: var(--jhh-text-on-dark-body); }
.footer-grid a:hover { color: var(--jhh-text-on-dark); }
.footer-bottom { color: var(--jhh-text-on-dark-muted); }
.footer-bottom [data-copy="footer.disclosure"], .footer-brokerage { color: var(--jhh-text-on-dark-muted); }
.footer-bottom [data-copy="footer.disclosure"] a, .footer-brokerage a { color: var(--jhh-text-on-dark-body); text-decoration: underline; text-decoration-color: var(--jhh-gold); }

/* Mobile sticky bar */
.mobile-action-bar { background: var(--jhh-surface-glass); border-top-color: var(--jhh-border); }
.mobile-call { background: var(--jhh-surface-card); color: var(--jhh-navy); border: 1.5px solid var(--jhh-border-gold); border-radius: var(--jhh-radius-btn); }
.mobile-action-bar a { border-radius: var(--jhh-radius-btn); }

/* Credibility line + legal draft */
.sp-credibility { color: var(--jhh-navy); }
.legal-draft { background: var(--jhh-highlight-soft); color: var(--jhh-gold-text) !important; border-radius: var(--jhh-radius-btn); }

@media (max-width: 760px) {
  :root { --header-h: var(--jhh-header-h-mobile); }
  .brand img { height: var(--jhh-logo-h-mobile); }
}
.site-header { background: var(--jhh-bg-page); }
/* eyebrows always use the brand eyebrow style (beats ".x > p" paragraph rules) */
p.section-kicker, .quote-copy > p.section-kicker, .feature-copy p.section-kicker, .service-feature-copy > p.section-kicker, .water-copy > p.section-kicker, .sp-section-head > p.section-kicker {
  font-size: var(--jhh-eyebrow-size); color: var(--jhh-gold-text); font-weight: var(--jhh-weight-bold); letter-spacing: var(--jhh-eyebrow-track); line-height: 1.5; margin-bottom: 14px;
}
.roofing-services p.section-kicker { color: var(--jhh-gold); }

/* Accessibility (approved): small gold text on light backgrounds uses the AA-compliant darker gold.
   Large text, numerals, rules and icons keep the original #9C743F / #C9A97E; gold on navy is unchanged. */
p.section-kicker, .section-kicker, .quote-copy > p.section-kicker, .feature-copy p.section-kicker, .service-feature-copy > p.section-kicker,
.water-copy > p.section-kicker, .sp-section-head > p.section-kicker, .sp-hero-copy p.section-kicker,
.explore-card > span, .system-card-head small, .water-system-card li small, .ct-details dt, .legal-draft { color: var(--jhh-gold-text-small) !important; }
.roofing-services p.section-kicker, .roofing-services .section-kicker { color: var(--jhh-gold) !important; }
.inline-link:hover, a.inline-link:hover { color: var(--jhh-gold-text-small); }
/* Accessibility pass 2: small gold glyphs/numerals → AA gold; step badges navy; panel text links navy */
.inline-link span, .explore-card i, .sp-checklist li > span, .quote-assurances span::before,
.value-list article > span, .water-system-card li > span { color: var(--jhh-gold-text-small) !important; }
.power-steps article > span { background: var(--jhh-navy); color: var(--jhh-text-on-cta); }
.service-panel[data-service-panel] .inline-link { color: var(--jhh-navy); }
.service-panel[data-service-panel] .inline-link:hover { color: var(--jhh-gold-text-small); }

/* ---------- Free Home Screening integration (minimal) ---------- */
.sp-secondary-route { margin-top: 18px; }
.nav-left a, .nav-right a { white-space: nowrap; }
/* Desktop: the three original links stay left; Free Home Screening sits beside the Let's Talk button */
.nav-right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.nav-screening { text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--jhh-navy); }
.nav-screening:hover { color: var(--jhh-gold-text-small); }
.nav-left .nav-screening-row { display: none; }
/* ≤960px: existing nav links become a slim scrollable row under the logo bar; Free Home Screening leads it */
@media (max-width: 960px) {
  :root { --header-h: 121px; }
  .site-header { height: auto; }
  .nav-shell { grid-template-columns: 1fr auto; grid-template-rows: 72px auto; height: auto; }
  .nav-left { display: flex !important; grid-column: 1 / -1; grid-row: 2; overflow-x: auto; scrollbar-width: none; gap: 22px;
              padding: 10px 0 12px; border-top: 1px solid var(--jhh-border); -webkit-overflow-scrolling: touch; }
  .nav-left::-webkit-scrollbar { display: none; }
  .nav-left .nav-screening-row { display: inline; order: -1; font-weight: 600; color: var(--jhh-navy); }
  .nav-right .nav-screening { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 108px; }
  .nav-shell { grid-template-rows: 62px auto; }
  .nav-left { gap: 18px; padding: 8px 0 10px; }
  .nav-left a { font-size: .86rem; }
}

/* Business details & routing phase (minimal) */
.form-privacy { color: var(--muted); font-size: .88rem; margin: 10px 0 0; }
.form-privacy a, .sp-email-route a { color: var(--jhh-navy); text-decoration: underline; text-underline-offset: 3px; }
.sp-email-route { font-size: .95rem; color: var(--muted); }
.sp-email-route a { overflow-wrap: anywhere; }
.ct-details dd a { color: var(--jhh-navy); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.sp-areas { padding-top: 70px; padding-bottom: 70px; }
.sp-areas-lead { max-width: 40em; margin: -14px auto 28px; color: var(--muted); }
.legal ul { color: var(--muted); margin: 0 0 14px; padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--jhh-navy); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .ct-details { padding: 26px 22px; }
  .ct-details dl { grid-template-columns: 1fr; gap: 4px; }
  .ct-details dd { margin-bottom: 14px; }
  .ct-details dd:last-child { margin-bottom: 0; }
}
.turnstile-box{position:fixed;bottom:84px;right:16px;z-index:60}

/* Book-a-call step (booking.js) */
.booking-panel { background: var(--jhh-surface-card); border: 1px solid var(--jhh-border); border-radius: var(--jhh-radius-card); box-shadow: var(--jhh-shadow-card); padding: 28px 28px 18px; }
.booking-kicker { font-size: .78rem; letter-spacing: .18em; font-weight: 700; color: var(--jhh-gold-text-small); margin: 0 0 8px; }
.booking-title { font-family: var(--jhh-font-serif); color: var(--jhh-navy); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; margin: 0 0 8px; }
.booking-title:focus { outline: none; }
.booking-note { color: var(--jhh-success); font-weight: 600; margin: 0 0 6px; }
.booking-calendar { min-width: 280px; height: 700px; margin: 10px -12px 0; }
.booking-calendar iframe { width: 100%; height: 100%; border: 0; }
.booking-done:not(:empty) { color: var(--jhh-success); font-weight: 700; margin: 10px 0 0; }
.booking-fallback { font-size: .9rem; color: var(--jhh-text-muted); margin: 8px 0 0; }
.booking-fallback a { color: var(--jhh-navy); text-decoration: underline; text-underline-offset: 3px; }
.ct-mode-switch { margin: 12px 0 0; }
.ct-mode-toggle { background: none; border: 0; padding: 0; font: inherit; font-size: .95rem; color: var(--jhh-navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ct-mode-toggle:focus-visible { outline: 3px solid var(--jhh-navy); outline-offset: 3px; }
#contact-form .booking-panel { grid-column: 2; }
@media (max-width: 760px) {
  .booking-panel { padding: 20px 14px 14px; }
  .booking-calendar { height: 1050px; margin: 8px -8px 0; }
  #contact-form .booking-panel { grid-column: auto; }
}

/* v7 copy: longer "Yes, ..." CTAs may wrap on phones instead of overflowing */
@media (max-width: 600px) {
  .power-cta a, .footer-cta, .sp-cta .primary-action { white-space: normal; text-align: center; line-height: 1.35; }
}

/* Brittany headshot + founder card */
.sp-hero-media img.headshot { object-position: 50% 22%; background: #fff; }
.founder-card { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.founder-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--jhh-bg-soft, #f3ece0), 0 0 0 4px var(--jhh-gold, #b8955a); }
.founder-card strong { display: block; color: var(--jhh-navy, #1b2a41); font-weight: 700; line-height: 1.25; }
.founder-card span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.3; }
