/* Southern Forge Construction — shared styles
   Mobile-first, no frameworks. */

:root {
  /* Sampled from the official logo: slate roof #3F556A, orange accent #ED5C24.
     Button/link oranges are darkened to meet WCAG AA with white or cream text. */
  --slate: #3F556A;
  --slate-dark: #2A3844;
  --slate-darker: #1E2A33;
  --charcoal: #2A3844;
  --charcoal-soft: #354656;
  --steel: #5A6B7A;
  --steel-light: #8A96A2;
  --ember: #ED5C24;
  --ember-dark: #C44A16;
  --ember-deep: #B03E12;
  --cream: #f6efe4;
  --cream-dark: #eadcc8;
  --paper: #fdf8f1;
  --text: #2a221c;
  --text-muted: #574c42;
  --border: #d9cbb8;
  --focus-ring: #C44A16;
  --error: #9b1c1c;
  --error-bg: #fde8e8;
  --success: #166534;
  --shadow: 0 1px 2px rgba(42, 34, 28, 0.07), 0 10px 28px rgba(42, 34, 28, 0.08);
  --header-h: 4.5rem;
  --max: 70rem;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
  color: var(--charcoal);
}

h1 { font-size: clamp(1.85rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.2rem; letter-spacing: 0; font-weight: 600; }

p { margin: 0 0 1rem; }

a {
  color: var(--ember-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ember-deep);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--paper);
  color: var(--charcoal);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Layout */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-main {
  flex: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  color: var(--cream);
  border-bottom: 3px solid var(--ember);
}

.site-header a {
  color: var(--cream);
  text-decoration: none;
}

.site-header a:hover {
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--cream);
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.brand-tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #d4c4b0;
  font-weight: 500;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  padding: 0 0.7rem;
  border: 1px solid #d4c4b0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  color: #f6efe4;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}

.nav-toggle.is-open {
  border-color: #fff;
  color: #fff;
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--charcoal-soft);
  border-bottom: 1px solid #3a3935;
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.site-nav a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  border-left: 3px solid transparent;
}

.site-nav a[aria-current="page"] {
  border-left-color: var(--ember);
  color: #fff;
  background: rgba(194, 65, 12, 0.15);
}

.site-nav a.nav-cta {
  color: #fff;
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .site-header {
    position: sticky;
  }

  .site-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }

  .site-nav a[aria-current="page"] {
    border-left: 0;
    border-bottom-color: var(--ember);
    background: transparent;
  }

  .site-nav a.nav-cta {
    margin-left: 0.4rem;
    background: var(--ember-dark);
    border-bottom: 0;
    padding: 0.5rem 0.9rem;
  }

  .site-nav a.nav-cta:hover {
    background: var(--ember);
    color: #fff;
  }

  .site-nav a.nav-cta[aria-current="page"] {
    background: var(--ember);
    border-bottom: 0;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--ember-dark);
  color: #fff;
  border-color: var(--ember-dark);
}

.btn-primary:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--steel-light);
}

.btn-secondary:hover {
  border-color: var(--cream);
  color: #fff;
}

.btn-secondary.on-light {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-secondary.on-light:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  background-color: var(--charcoal);
  background-image:
    linear-gradient(180deg, rgba(28, 27, 25, 0.2) 0%, rgba(28, 27, 25, 0.75) 100%),
    repeating-linear-gradient(
      135deg,
      #1c1b19 0 18px,
      #232220 18px 19px,
      #1c1b19 19px 37px,
      #2a2724 37px 38px
    );
  color: var(--cream);
  padding: 3.5rem 0 4rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ember-deep), var(--ember), #eab308 40%, var(--ember) 70%, var(--ember-deep));
}

.hero h1 {
  color: #fff;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hero .lede {
  font-size: 1.2rem;
  max-width: 38rem;
  color: #e8e3d6;
  margin-bottom: 0;
}

.hero .lede + .lede {
  margin-top: 0.75rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--ember-dark);
  margin: 0 0 0.65rem;
  font-weight: 650;
}

.hero .eyebrow {
  color: #fb923c;
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
}

.section-muted {
  background: var(--cream-dark);
}

.section-dark {
  background: var(--charcoal);
  color: var(--cream);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.section-head p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.section-dark .section-head p {
  color: #cfcabe;
}

/* Cards / grids */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--ember);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item figcaption {
  padding: 0.85rem 0.15rem 0;
}

.gallery-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

/* Split / prose */
.prose {
  max-width: 44rem;
}

.prose > p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 3rem;
  }
}

.team-card .avatar-ph {
  aspect-ratio: 1;
  max-width: 8rem;
  margin-bottom: 1rem;
  background: var(--charcoal-soft);
  border: 1px solid var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-light);
  font-family: var(--font-display);
  letter-spacing: 0;
  font-size: 0.75rem;
}

/* Values list */
.value-list {
  display: grid;
  gap: 1.25rem;
}

.value-item {
  border-left: 3px solid var(--ember);
  padding-left: 1rem;
}

.value-item h3 {
  margin-bottom: 0.35rem;
}

/* CTA band */
.cta-band {
  padding: var(--space-2xl) 0;
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 36rem;
  margin: 0 auto 0.5rem;
  color: #d4cfc3;
}

.cta-band .btn-row {
  justify-content: center;
}

/* Page intro (inner pages) */
.page-intro {
  padding: 2.5rem 0 0;
}

.page-intro h1 {
  margin-bottom: 0.75rem;
}

.page-intro .lede {
  font-size: 1.15rem;
  max-width: 40rem;
  color: var(--text-muted);
}

/* Forms */
.form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 42rem;
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label,
.form-row .label-text {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.req {
  color: var(--ember-dark);
  font-weight: 700;
}

.hint {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid #b7b2a6;
  border-radius: var(--radius);
  padding: 0.6rem 0.7rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: var(--ember-dark);
}

.field-error {
  display: none;
  color: var(--error);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.form-row.is-invalid .field-error {
  display: block;
}

.form-row.is-invalid input,
.form-row.is-invalid select,
.form-row.is-invalid textarea {
  border-color: var(--error);
  background: var(--error-bg);
}

.form-status {
  display: none;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--error);
  background: var(--error-bg);
  color: var(--error);
}

.form-status.is-visible {
  display: block;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  font-weight: 650;
  margin-bottom: 0.35rem;
  padding: 0;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #d4cfc3;
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
  border-top: 3px solid var(--ember);
}

.site-footer a {
  color: #f4f1ea;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0;
  color: #fff;
  margin: 0 0 0.75rem;
}

.footer-list,
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li,
.contact-list li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid #3a3935;
  padding-top: 1rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Official wordmark — transparent PNG/WebP, no plate */
.brand-logo {
  display: block;
  height: 2.85rem;
  width: auto;
  max-width: 10.5rem;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

@media (min-width: 800px) {
  .brand-logo {
    height: 3.7rem;
    max-width: 13.5rem;
  }
  .header-inner {
    min-height: 5.25rem;
  }
}

.footer-logo {
  display: inline-block;
  margin: 0 0 0.85rem;
}

.footer-logo img {
  display: block;
  width: 13.5rem;
  max-width: 100%;
  height: auto;
}


.hero-photo {
  background-color: var(--charcoal);
  background-image:
    linear-gradient(180deg, rgba(28, 27, 25, 0.42) 0%, rgba(28, 27, 25, 0.78) 100%),
    url("../img/projects/new-deck-hog-wire-railing-signal-mountain.jpg");
  background-size: cover;
  background-position: center 60%;
}

.hero-photo .lede {
  color: #f4f1ea;
}

/* Gallery photographs */
.gallery-item img,
.project-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--charcoal-soft);
  border: 1px solid var(--border);
}

.gallery-item figcaption p:last-child,
.project-gallery figcaption p:last-child {
  margin-bottom: 0;
}

.project-block {
  margin-bottom: 2.75rem;
}

.project-block .project-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.project-block .prose {
  margin-bottom: 1.25rem;
}

/* Reviews */
.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}

.review-score {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--charcoal);
}

.section-dark .review-score {
  color: #fff;
}

.stars {
  color: var(--ember-dark);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.review-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-grid .review-card.span-2 {
    grid-column: 1 / -1;
  }
}

.review-card blockquote {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.review-card blockquote p {
  margin: 0 0 0.75rem;
}

.review-card blockquote p:last-child {
  margin-bottom: 0;
}

.review-card footer {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.review-card footer cite {
  font-style: normal;
  font-weight: 650;
  color: var(--charcoal);
}

.review-reply {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: var(--cream);
  border-left: 3px solid var(--ember);
  font-size: 0.95rem;
}

.review-reply p {
  margin: 0;
}

/* Hours */
.hours-table {
  width: 100%;
  max-width: 22rem;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.28rem 0.5rem 0.28rem 0;
  font-weight: 400;
  vertical-align: top;
}

.hours-table th {
  font-weight: 650;
  padding-right: 1.25rem;
}

.hours-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ember);
  padding: 0.7rem 1rem;
}

.faq-list summary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0;
  cursor: pointer;
  font-weight: 600;
}

.faq-list details p {
  margin: 0.75rem 0 0.25rem;
  white-space: pre-line;
}

/* Service groups */
.service-group {
  margin-bottom: 2.5rem;
}

.service-group > p {
  max-width: 44rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.chip-list li {
  background: var(--cream-dark);
  padding: 0.2rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 2px;
}

.muted-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ext-link {
  word-break: break-word;
}

.team-card .avatar-ph {
  display: none;
}

.owner-mark {
  display: block;
  width: auto;
  max-width: 11rem;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  margin-bottom: 1rem;
}

.footer-heading-spaced { margin-top: 1.25rem; }

/* Honeypot field for Netlify Forms — visually hidden, not display:none */
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Status pages (thank-you, 404) */
.status-panel {
  max-width: 36rem;
}

.status-panel .btn-row {
  margin-top: 1.5rem;
}

/* Lightbox */
.gallery-item img,
.project-gallery img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(28, 27, 25, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  max-width: min(96vw, 72rem);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--charcoal-soft);
  box-shadow: var(--shadow);
}

.lightbox-caption {
  margin: 0;
  color: var(--cream);
  text-align: center;
  font-size: 1rem;
  max-width: 50rem;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  font-family: var(--font-body);
}

.lightbox-close:hover {
  color: var(--cream-dark);
}

/* In-page project photographs */
.intro-photo,
.about-photo {
  margin: 1.35rem 0 0;
}

.intro-photo img,
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--charcoal-soft);
}

.intro-photo figcaption,
.about-photo figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

/* Mobile click-to-call in the header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 650;
  color: #fff;
  background: var(--ember-dark);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
}

.header-call:hover {
  color: #fff;
  background: var(--ember-deep);
}

/* Desktop header CTAs live in .header-cta, next to Free Estimate.
   Mobile uses the sticky bottom bar instead of a header Call chip. */
.header-cta {
  display: none;
}

@media (min-width: 800px) {
  .header-actions {
    display: none;
  }
  .header-cta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
  }
  .site-nav {
    margin-left: auto;
  }
  .site-nav a.nav-cta {
    display: none;
  }
  .header-phone {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.05rem;
    font-family: var(--font-body);
    font-weight: 650;
    line-height: 1.15;
    color: var(--cream);
    background: transparent;
    border: 2px solid var(--cream);
    border-radius: var(--radius);
    padding: 0.35rem 0.75rem;
    text-decoration: none;
    white-space: nowrap;
  }
  .header-phone:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
  }
  .header-phone-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }
  .header-phone-num {
    font-size: 0.95rem;
  }
  .header-estimate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 650;
    color: #fff;
    background: var(--ember-dark);
    border: 2px solid var(--ember-dark);
    border-radius: var(--radius);
    padding: 0.55rem 0.95rem;
    text-decoration: none;
    white-space: nowrap;
  }
  .header-estimate:hover,
  .header-estimate[aria-current="page"] {
    color: #fff;
    background: var(--ember-deep);
    border-color: var(--ember-deep);
  }
}

@media (min-width: 1100px) {
  .header-phone {
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
  }
  .header-phone-label,
  .header-phone-num {
    font-size: 0.95rem;
  }
}

/* Mobile sticky Call / Text / Free Estimate bar */
.sticky-cta {
  display: none;
}

@media (max-width: 799px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    gap: 0.45rem;
    padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: var(--charcoal);
    border-top: 3px solid var(--ember);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.28);
  }
  .sticky-cta a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.45rem 0.4rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 650;
    text-decoration: none;
    border-radius: var(--radius);
    white-space: nowrap;
  }
  .sticky-call,
  .sticky-text {
    color: var(--cream);
    background: transparent;
    border: 2px solid var(--cream);
  }
  .sticky-call:hover,
  .sticky-text:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }
  .sticky-estimate {
    color: #fff;
    background: var(--ember-dark);
    border: 2px solid var(--ember-dark);
    flex: 1.25;
  }
  .sticky-estimate:hover,
  .sticky-estimate[aria-current="page"] {
    color: #fff;
    background: var(--ember-deep);
    border-color: var(--ember-deep);
  }
  body {
    padding-bottom: 5.25rem;
  }
  .site-footer {
    padding-bottom: 2rem;
  }
}

.footer-hours-note,
.hours-callout {
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-hours-note {
  color: #d4cfc3;
  max-width: 22rem;
}

.hours-callout {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 42rem;
}

.hours-callout p {
  margin: 0 0 0.55rem;
}

.hours-callout p:last-child {
  margin-bottom: 0;
}

.hours-callout a {
  font-weight: 650;
}

/* Service area list */
.area-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .area-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.area-list.stacked {
  grid-template-columns: 1fr;
}

.area-list li {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.area-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.area-list p {
  margin: 0;
  color: var(--text-muted);
}

/* Process steps on About */
.process-list {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  padding-left: 3rem;
  counter-increment: step;
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--ember-dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-list h3 {
  margin-bottom: 0.3rem;
}

.process-list p {
  margin: 0;
}

@media (max-width: 799px) {
  .site-header .wrap {
    width: min(100% - 1rem, var(--max));
  }
  .brand-tag {
    display: none;
  }
  .brand-logo {
    height: 2.65rem;
    max-width: 8.75rem;
  }
  .header-actions {
    flex-shrink: 0;
  }
  .header-call {
    font-size: 0.85rem;
    padding: 0.35rem 0.55rem;
  }
}

.warranty-note,
.form-reassure {
  margin: 1.25rem 0 0;
  max-width: 42rem;
}

.form-reassure {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
}

.featured-service {
  margin: 0 0 2.25rem;
  padding: 1.5rem 1.6rem;
  border-top: 3px solid var(--ember);
}

.featured-service h2 {
  margin-bottom: 0.65rem;
}

.featured-service p:last-child {
  margin-bottom: 0;
}

.planning-note {
  margin: 1rem 0 0;
  max-width: 42rem;
}

/* Before & After comparison sliders
   Default (no JS): side-by-side images. .is-ready enables the range slider. */
.ba-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .ba-item-multi {
    grid-column: 1 / -1;
  }
}

.ba-item {
  margin: 0;
}

.ba-item figcaption {
  padding: 0.85rem 0.15rem 0;
}

.ba-item figcaption h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.ba-item figcaption p {
  margin: 0;
  color: var(--text-muted);
}

.ba-multi {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .ba-item-multi .ba-multi {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ba-compare {
  --pos: 50%;
  --ba-ratio: 750 / 920;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  background: var(--slate-darker);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

.ba-compare img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  position: static;
}

.ba-compare .ba-handle,
.ba-compare .ba-range,
.ba-compare .ba-tag {
  display: none;
}

.ba-compare.is-ready {
  display: block;
  position: relative;
  container-type: inline-size;
  aspect-ratio: var(--ba-ratio);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.ba-compare.is-ready img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left top;
  pointer-events: none;
}

.ba-compare.is-ready .ba-before-clip {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pos);
  overflow: hidden;
  z-index: 1;
}

.ba-compare.is-ready .ba-before-clip img {
  width: var(--ba-w, 100cqi);
  height: 100%;
  max-width: none;
}

.ba-compare.is-ready .ba-after {
  z-index: 0;
}

.ba-compare.is-ready .ba-handle {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(30, 42, 51, 0.25);
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--slate-dark);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(30, 42, 51, 0.28);
}

.ba-handle-knob::before,
.ba-handle-knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
}

.ba-handle-knob::before {
  right: 56%;
  border-width: 6px 7px 6px 0;
  border-right-color: var(--slate-dark);
  transform: translateY(-50%);
}

.ba-handle-knob::after {
  left: 56%;
  border-width: 6px 0 6px 7px;
  border-left-color: var(--slate-dark);
  transform: translateY(-50%);
}

.ba-compare.is-ready .ba-range {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.ba-compare.is-ready .ba-range:focus {
  outline: none;
}

.ba-compare.is-ready:focus-within {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.ba-compare.is-ready .ba-tag {
  display: block;
  position: absolute;
  top: 0.65rem;
  z-index: 3;
  pointer-events: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(30, 42, 51, 0.72);
  padding: 0.28rem 0.5rem;
  border-radius: 3px;
}

.ba-tag-before {
  left: 0.65rem;
}

.ba-tag-after {
  right: 0.65rem;
}

@media (prefers-reduced-motion: reduce) {
  .ba-compare.is-ready {
    touch-action: pan-y;
  }
}

@media (min-width: 800px) {
  .ba-grid-teaser .ba-compare.is-ready {
    --ba-ratio: 750 / 900;
  }

  .ba-grid-teaser .ba-compare.is-ready img {
    object-position: center center;
  }
}

