body.theme-roofing {
  --letter-wide: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: #172025;
  background:
    linear-gradient(135deg, rgba(213, 226, 229, 0.9), rgba(247, 244, 236, 0.96) 42%, rgba(132, 82, 46, 0.12)),
    #f4f0e7;
}

.theme-roofing .topbar {
  background: #27353b;
  color: #f7f1df;
}

.theme-roofing .site-header {
  border-bottom-color: rgba(49, 65, 72, 0.18);
  background: rgba(246, 242, 232, 0.94);
}

.theme-roofing .brand-mark {
  border-radius: 6px;
  background: #a64f2d;
  color: #fff7e6;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.16);
}

.theme-roofing .hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(31, 45, 51, 0.94), rgba(41, 56, 63, 0.82)),
    url("../assets/images/roofing-tiles-ridgework.webp") center 45%/cover;
  color: #fff7e8;
}

.theme-roofing .hero::after {
  content: "";
  position: absolute;
  inset: auto -4rem -7rem 45%;
  height: 15rem;
  transform: rotate(-5deg);
  background: rgba(166, 79, 45, 0.5);
  clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%);
}

.theme-roofing .hero-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.theme-roofing h1,
.theme-roofing h2,
.theme-roofing h3,
.theme-roofing .eyebrow,
.theme-roofing .section-label,
.theme-roofing .card-label {
  letter-spacing: 0;
}

.theme-roofing h1 {
  max-width: 14ch;
}

.theme-roofing h2 {
  max-width: 18ch;
}

.theme-roofing .eyebrow,
.theme-roofing .section-label,
.theme-roofing .card-label {
  color: #a64f2d;
  text-transform: uppercase;
}

.theme-roofing .section {
  padding: clamp(2.7rem, 4.8vw, 4.75rem) 0;
}

.theme-roofing .section-heading {
  max-width: 760px;
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.theme-roofing .section-heading p,
.theme-roofing .large-text {
  margin-top: 0.55rem;
  line-height: 1.48;
}

.theme-roofing .hero {
  padding: clamp(3.2rem, 6vw, 5.6rem) 0 clamp(3.4rem, 6vw, 5.3rem);
}

.theme-roofing .hero-grid {
  gap: clamp(1.75rem, 5vw, 4rem);
}

.theme-roofing .hero .eyebrow,
.theme-roofing .hero .hero-lead,
.theme-roofing .hero .demo-safety-note,
.theme-roofing .hero-proof {
  color: rgba(255, 247, 232, 0.88);
}

.theme-roofing .button-primary {
  background: #a64f2d;
  border-color: #a64f2d;
  color: #fff7e6;
  box-shadow: 0 18px 34px rgba(68, 30, 17, 0.28);
}

.theme-roofing .button-secondary {
  background: rgba(255, 247, 232, 0.12);
  border-color: rgba(255, 247, 232, 0.38);
  color: inherit;
}

.theme-roofing .hero-photo {
  border: 10px solid rgba(255, 247, 232, 0.2);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(10, 16, 20, 0.38);
}

.theme-roofing .hero-photo img {
  object-position: center 48%;
}

.theme-roofing .hero-note,
.theme-roofing .trust-item,
.theme-roofing .service-card,
.theme-roofing .metric,
.theme-roofing .area-panel,
.theme-roofing .faq-card,
.theme-roofing .contact-form {
  border-radius: 8px;
  border: 1px solid rgba(52, 69, 76, 0.18);
  background: rgba(255, 252, 244, 0.92);
  box-shadow: 0 14px 32px rgba(43, 55, 61, 0.1);
}

.theme-roofing .service-card {
  border-top: 5px solid #a64f2d;
}

.theme-roofing .trust-strip {
  padding: 1rem 0;
  background: #27353b;
}

.theme-roofing .trust-item {
  padding: 1rem 1.1rem;
  background: rgba(255, 247, 232, 0.08);
  color: #fff7e8;
  box-shadow: none;
}

.theme-roofing .trust-item p {
  max-width: 38ch;
}

.theme-roofing .section-soft {
  background: linear-gradient(135deg, rgba(226, 218, 202, 0.58), rgba(255, 251, 242, 0.92));
}

.theme-roofing .split-grid,
.theme-roofing .area-grid,
.theme-roofing .faq-grid {
  align-items: start;
}

.theme-roofing .metric-grid,
.theme-roofing .steps-grid {
  gap: 0.75rem;
}

.theme-roofing .split-grid .metric-grid,
.theme-roofing .split-grid .steps-grid {
  grid-template-columns: 1fr;
}

.theme-roofing .metric,
.theme-roofing .steps-grid .area-panel {
  padding: 1rem 1.1rem;
  border-left: 5px solid #a64f2d;
  box-shadow: 0 10px 24px rgba(43, 55, 61, 0.08);
}

.theme-roofing .case-card {
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf0;
  box-shadow: 0 18px 42px rgba(46, 59, 64, 0.14);
}

.theme-roofing .case-card img {
  min-height: 0;
  aspect-ratio: 16 / 9;
  filter: saturate(0.9) contrast(1.05);
  object-position: center 50%;
}

.theme-roofing .case-card--roofline img {
  object-position: center 24%;
}

.theme-roofing .case-card-content {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.theme-roofing .area-panel {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.theme-roofing .area-pills {
  gap: 0.5rem;
}

.theme-roofing .faq-list {
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.theme-roofing .faq-card {
  padding: clamp(1rem, 2vw, 1.2rem);
  box-shadow: 0 10px 24px rgba(43, 55, 61, 0.08);
}

.theme-roofing .faq-card h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.08;
}

.theme-roofing #contact {
  padding-top: clamp(2.7rem, 4.8vw, 4.6rem);
}

.theme-roofing #contact .contact-grid {
  gap: clamp(1.3rem, 4vw, 3rem);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(52, 69, 76, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 252, 244, 0.92), rgba(235, 227, 212, 0.78)),
    #fffaf0;
  box-shadow: 0 22px 54px rgba(43, 55, 61, 0.12);
}

.theme-roofing .contact-copy {
  display: grid;
  align-content: center;
  gap: 0.9rem;
}

.theme-roofing .contact-copy .demo-safety-note {
  max-width: 58ch;
  margin-top: 0.15rem;
}

.theme-roofing .contact-form {
  padding: clamp(1rem, 2.4vw, 1.35rem);
  background: rgba(255, 252, 244, 0.96);
  box-shadow: none;
}

.theme-roofing .contact-form input,
.theme-roofing .contact-form select,
.theme-roofing .contact-form textarea {
  margin-bottom: 0.85rem;
}

.theme-roofing .contact-form textarea {
  min-height: 130px;
}

.theme-roofing .site-footer {
  padding: 2.2rem 0 5.4rem;
}

.theme-roofing .mobile-contact-bar a:first-child {
  background: #a64f2d;
}

@media (min-width: 760px) {
  .theme-roofing .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.82fr);
  }

  .theme-roofing .split-grid,
  .theme-roofing .area-grid,
  .theme-roofing .faq-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(1.8rem, 5vw, 4.25rem);
  }

  .theme-roofing #contact .contact-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  }

  .theme-roofing .case-grid {
    gap: 1.25rem;
  }

  .theme-roofing .site-footer {
    padding-bottom: 2.2rem;
  }
}

@media (max-width: 700px) {
  .theme-roofing .hero {
    padding-top: 2.65rem;
    padding-bottom: 3rem;
  }

  .theme-roofing .hero::after {
    display: none;
  }

  .theme-roofing h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .theme-roofing h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .theme-roofing .section {
    padding: 2.45rem 0;
  }

  .theme-roofing .trust-strip {
    padding: 0.9rem 0;
  }

  .theme-roofing .hero-media img,
  .theme-roofing .image-card img,
  .theme-roofing .case-card img {
    min-height: 240px;
  }

  .theme-roofing .hero-note {
    max-width: none;
    margin: -0.75rem 0.75rem 0;
  }

  .theme-roofing #contact .contact-grid {
    padding: 1rem;
  }

  .theme-roofing .footer-row {
    gap: 1rem;
  }
}
