.sc-home-preview {
  --home-gutter: clamp(18px, 2.6vw, 36px);
  --home-shell: min(1180px, calc(100% - 2 * var(--home-gutter)));
}

.sc-home-preview .wp-site-blocks {
  padding-block: 0;
}

.sc-home-preview #scs-home {
  margin-block: 0;
}

.sc-home-preview .scs-lp-section:is(#scs-services, #scs-warning-signs, #scs-santa-standard, #scs-inspection-report, #service-area, #chimney-faq) {
  padding-block: clamp(54px, 7vw, 96px);
}

.sc-home-preview .scs-lp-section:is(#scs-services, #scs-warning-signs, #scs-santa-standard, #scs-inspection-report, #service-area, #chimney-faq) :is(.scs-lp__container, .scs-priority-services__container, .scs-area-dark__container),
.sc-home-preview .sc-home-copy-section > .sc-service__container {
  width: var(--home-shell);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.sc-home-preview :is(#scs-services, #scs-warning-signs, #service-area, #scs-santa-standard, #chimney-faq) :is(.scs-priority-services__header, .scs-warn4__header, .scs-area-dark__header) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.sc-home-preview .scs-lp-section:is(#scs-services, #scs-warning-signs, #scs-santa-standard, #scs-inspection-report, #service-area, #chimney-faq) h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.sc-home-preview :is(#scs-services, #scs-warning-signs, #service-area, #scs-santa-standard, #chimney-faq) :is(.scs-priority-services__header-copy, .scs-warn4__header-copy, .scs-area-dark__copy, .scs-lp__section-head) {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.sc-home-preview :is(#scs-services, #scs-warning-signs, #service-area, #scs-santa-standard, #chimney-faq) :is(.scs-priority-services__header-copy, .scs-warn4__header-copy, .scs-area-dark__copy, .scs-lp__section-head) :is(h2, p) {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.sc-home-preview :is(#scs-services, #scs-warning-signs, #service-area, #scs-santa-standard, #chimney-faq) :is(.scs-priority-services__eyebrow, .scs-warn4__eyebrow, .scs-area-dark__eyebrow, .scs-lp__section-head .scs-lp__eyebrow) {
  display: none;
}

.sc-home-preview :is(#scs-services, #scs-warning-signs, #service-area, #scs-santa-standard, #chimney-faq) :is(.scs-priority-services__header-copy, .scs-warn4__header-copy, .scs-area-dark__copy, .scs-lp__section-head) h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #bb1b1c, #d89238);
}








.sc-home-preview .scs-warn4__item,
.sc-home-preview #chimney-faq details {
  border-radius: 16px;
}

@media (max-width: 390px) {
  .sc-home-preview #scs-service-stats .scs-stats-pro__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sc-home-copy-section {
  padding-block: clamp(54px, 7vw, 96px);
}

.sc-home-copy-section:not(.sc-service__decision, .sc-service__repair-dark) {
  background: #f7f3f0;
}

.sc-home-copy-heading {
  max-width: 980px;
  margin: 0 auto 32px;
  text-align: center;
}

.sc-home-copy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 20px;
}

.sc-home-copy-grid article {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #ded7d2;
  border-top: 2px solid #bb1b1c;
  border-radius: 16px;
  background: #fff;
  color: #171c1f;
}

.sc-home-copy-grid article h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.sc-home-copy-grid article p,
.sc-home-copy-grid blockquote {
  margin: 0;
}

.sc-home-proof article > span {
  color: #976211;
}

.sc-home-copy-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sc-home-area-booking {
  text-align: center;
}

#sc-home-offer {
  width: min(480px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  padding: clamp(20px, 5vw, 32px);
  border: 1px solid #ded7d2;
  border-top: 3px solid #bb1b1c;
  border-radius: 16px;
  color: #171c1f;
  background: #fff;
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}

#sc-home-offer::backdrop {
  background: #13171bbb;
}

#sc-home-offer h2 {
  margin: 0 34px 18px 0;
  font: 800 26px/1.15 Arial, Helvetica, sans-serif;
}

#sc-home-offer form,
#sc-home-offer label {
  display: grid;
  gap: 8px;
}

#sc-home-offer input {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #a9a3a0;
  border-radius: 6px;
  font: inherit;
}

#sc-home-offer button {
  cursor: pointer;
}

#sc-home-offer [type="submit"] {
  padding: 10px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #bb1b1c;
  font: 700 16px/1.5 Arial, Helvetica, sans-serif;
}

.sc-home-offer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid #ded7d2;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
}

/* Center the incomplete process row without changing individual card widths. */
@media (min-width: 660px) {
  #scs-home-process .sc-home-copy-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #scs-home-process article {
    grid-column: span 2;
  }

  #scs-home-process article:last-child {
    grid-column: 2 / span 2;
  }
}

@media (min-width: 960px) {
  #scs-home-process .sc-home-copy-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #scs-home-process article:nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  #scs-home-process article:last-child {
    grid-column: 4 / span 2;
  }
}

/* Shared typography and spacing for the homepage content. */
.sc-home-preview {
  --home-content-font: Arial, Helvetica, sans-serif;
}

.sc-home-preview :is(#scs-services, #scs-warning-signs, #scs-santa-standard, #scs-home-process, #service-area, #chimney-faq) :is(h2, h3, p) {
  font-family: var(--home-content-font);
}

.sc-home-preview :is(#scs-services-title, #scs-faq-title, .sc-home-copy-heading > h2) {
  margin-inline: auto;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.sc-home-preview #chimney-faq #scs-faq-title,
.sc-home-preview #scs-services #scs-services-title {
  font-family: var(--home-content-font);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  font-weight: 750;
  max-width: 900px;
  text-align: center;
  margin-inline: auto;
}



.sc-home-preview .sc-home-copy-heading > p,
.sc-home-preview .sc-home-copy-grid > article > p {
  font-size: 16px;
  line-height: 1.65;
}

.sc-home-preview .sc-home-copy-heading > p {
  max-width: 760px;
  margin-inline: auto;
  text-wrap: pretty;
}

.sc-home-preview #scs-service-stats .scs-lp__container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.sc-home-preview #scs-service-stats .scs-stats-pro__number {
  font-family: var(--home-content-font);
}

.sc-home-preview #scs-home-process {
  background: #f7f3f0;
}

.sc-home-preview .sc-home-copy-grid article h3 {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.25;
  text-wrap: pretty;
}

.sc-home-preview .sc-home-copy-grid .sc-service__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.sc-home-preview .sc-home-area-copy .sc-home-copy-actions {
  align-items: center;
}

.sc-home-preview .sc-home-map iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 30vw, 340px);
  border: 1px solid #ded7d2;
  border-radius: 16px;
}


.sc-home-preview #scs-warning-signs .sc-home-copy-heading {
  max-width: none;
}

.sc-home-preview #scs-santa-standard .sc-home-copy-heading h2 {
  color: #fff;
}

.sc-home-preview #scs-warning-signs .sc-home-copy-heading p {
  max-width: none;
  text-wrap: balance;
}



.sc-home-preview #chimney-faq {
  padding-block: clamp(54px, 7vw, 96px);
}

.sc-home-preview #chimney-faq .sc-service__faq {
  width: var(--home-shell);
}

.sc-home-preview :is(.sc-home-copy-heading, #chimney-faq .sc-service__section-head) > h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #bb1b1c, #d89238);
}

.sc-home-preview #scs-home-process .sc-home-copy-grid article h3 {
  display: grid;
  justify-items: start;
  gap: 10px;
}

@media (min-width: 960px) {
  .sc-home-preview #scs-home-process .sc-home-copy-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sc-home-preview #scs-home-process .sc-home-copy-grid article:nth-last-child(2) {
    grid-column: span 2;
  }

  .sc-home-preview #scs-home-process .sc-home-copy-grid article:last-child {
    grid-column: 2 / span 2;
  }
}


.sc-home-preview .sc-home-copy-heading,
.sc-home-preview #chimney-faq #scs-faq-title,
.sc-home-preview #scs-services #scs-services-title {
  max-inline-size: none;
}
.sc-home-preview :is(h1, h2, h3) {
  text-wrap: balance;
}
.sc-home-hero-slides {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#scs-home .sc-home-hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 650ms ease-in-out;
}
#scs-home .sc-home-hero-slides .is-current {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .sc-home-hero-slides {
    display: none;
  }
}

/* Homepage adaptation of the Chimney Repair decision timeline. */
.sc-home-preview #scs-santa-standard .sc-home-copy-heading {
  margin-bottom: clamp(24px, 3vw, 32px);
}

.sc-home-preview #scs-santa-standard .sc-home-copy-heading p {
  max-width: none;
}

.sc-home-preview #scs-santa-standard .sc-service__timeline-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 30px);
}

.sc-home-preview #scs-santa-standard .sc-service__timeline-card h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 32px);
}

.sc-home-preview #scs-santa-standard .sc-service__timeline-card p {
  margin: 0;
  color: #d5dde0;
  font-size: 16px;
  line-height: 1.65;
}

.sc-home-preview #scs-santa-standard .sc-home-why-media {
  width: min(100%, 400px);
  margin: 0;
  align-self: center;
}

.sc-home-preview #scs-santa-standard .sc-home-why-media > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 740px) {
  .sc-home-preview #scs-santa-standard .sc-home-why-media {
    margin: 14px auto 0;
  }

  .sc-home-preview #scs-santa-standard .sc-service__timeline-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .sc-home-preview #scs-santa-standard .sc-service__mascot--timeline {
    justify-self: end;
  }
}

#scs-home.scs-hero-v3 {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin-inline: 0;
  text-align: left;
}

#scs-home .scs-hero-v3__container {
  width: var(--home-shell);
  min-height: 0;
}

#scs-home .scs-hero-v3__content {
  padding-block: clamp(24px, 2.2vw, 32px);
}

#scs-home .scs-hero-v3__title {
  font-size: clamp(40px, 4vw, 60px);
  text-wrap: balance;
}

#scs-home .scs-hero-v3__lead {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
}

#scs-home .scs-hero-v3__actions {
  margin-top: 16px;
}

#scs-home .scs-hero-v3__trust {
  margin-top: 12px;
  padding-top: 8px;
}

#scs-home .scs-hero-v3__reputation-strip {
  min-height: 36px;
  justify-content: flex-start;
  gap: clamp(8px, 2vw, 18px);
}

#scs-home .scs-hero-v3__google-proof {
  flex: 0 0 auto;
  gap: clamp(7px, 1.6vw, 14px);
  margin: 0;
}

#scs-home .scs-hero-v3__reputation-logo {
  max-height: 36px;
}

#scs-home .scs-hero-v3__reviewers img {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

#scs-home .scs-hero-v3__badges li {
  height: 52px;
}

#scs-home .scs-hero-v3__badges img {
  height: 46px;
}

#scs-home .scs-hero-v3__stars {
  color: #f5b83d;
}

.sc-home-hero-visual {
  position: relative;
  align-self: end;
}

#scs-home .scs-hero-v3__mascot {
  width: min(100%, 350px);
}

#scs-home .scs-hero-v3__note--bottom {
  display: flex;
  right: 0;
  width: min(270px, 100%);
}

@media (min-width: 769px) {
  #scs-home .scs-hero-v3__container {
    min-height: clamp(528px, 44.2vw, 636px);
  }
}

@media (max-width: 768px) {
  #scs-home.scs-hero-v3 {
    --home-hero-photo-height: clamp(228px, 56vw, 320px);
    text-align: center;
  }

  #scs-home .scs-hero-v3__container {
    display: flex;
    flex-direction: column;
  }

  #scs-home .scs-hero-v3__content {
    padding-block: 22px 28px;
  }

  #scs-home .scs-hero-v3__title {
    margin-inline: auto;
    font-size: clamp(34px, 8.5vw, 48px);
  }

  #scs-home .scs-hero-v3__lead {
    margin-inline: auto;
  }

  #scs-home .scs-hero-v3__media {
    position: absolute;
    inset: 0 0 auto;
    height: var(--home-hero-photo-height);
    min-height: 0;
    aspect-ratio: auto;
  }

  #scs-home .scs-hero-v3__media-tone {
    background: linear-gradient(0deg, #0b0d0f 0%, #0b0d0f4d 23%, transparent 57%);
  }

  #scs-home .scs-hero-v3__actions,
  #scs-home .scs-hero-v3__reputation-strip {
    justify-content: center;
  }

  #scs-home .scs-hero-v3__trust {
    margin-inline: auto;
  }

  #scs-home .scs-hero-v3__badges {
    width: min(100%, 350px);
    margin-inline: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sc-home-hero-visual {
    order: -1;
    align-self: center;
    width: min(100%, 380px);
    min-height: var(--home-hero-photo-height);
  }

  #scs-home .scs-hero-v3__mascot {
    position: absolute;
    bottom: 0;
    left: 0;
    width: clamp(100px, 31vw, 150px);
    margin: 0;
  }

  #scs-home .scs-hero-v3__note--bottom {
    bottom: 9px;
    width: min(240px, 73%);
    padding: 10px;
    gap: 8px;
    text-align: left;
  }
}

@media (max-width: 520px) {
  #scs-home .scs-hero-v3__reputation-logo--google {
    max-width: 66px;
  }

  #scs-home .scs-hero-v3__reputation-logo--yelp {
    max-width: 50px;
  }

  #scs-home .scs-hero-v3__reviewers img {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }
}

@media (max-width: 360px) {
  #scs-home .scs-hero-v3__reputation-strip {
    gap: 6px;
  }

  #scs-home .scs-hero-v3__reputation-logo--google {
    max-width: 58px;
  }

  #scs-home .scs-hero-v3__reputation-logo--yelp {
    max-width: 44px;
  }

  #scs-home .scs-hero-v3__reviewers img {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
}

.sc-home-preview #scs-services .sc-home-copy-heading {
  max-width: 1040px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.sc-home-preview #scs-services .sc-home-copy-heading p {
  max-width: none;
}

.sc-home-preview #scs-services .sc-service__row {
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(20px, 3vw, 32px);
}

.sc-home-preview #scs-services .sc-service__row p,
.sc-home-preview #scs-warning-signs .sc-home-sign-grid p {
  font-size: 16px;
  line-height: 1.65;
}

.sc-home-preview #scs-services .sc-service__row:nth-of-type(even) h3 {
  color: #fff;
}

.sc-home-preview #scs-services .sc-service__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #a21619;
  stroke-width: 1.6;
}

.sc-home-preview #scs-services .sc-service__photo img {
  aspect-ratio: 1.35;
  object-position: center 35%;
}

.sc-home-preview #scs-warning-signs.sc-home-signs {
  background: radial-gradient(ellipse at 50% 0, #c9202f12, transparent 58%), #fff;
}

.sc-home-preview #scs-warning-signs :is(h2, h3) {
  color: #101518;
}

.sc-home-preview #scs-warning-signs .sc-home-sign-grid {
  grid-auto-rows: auto;
}

.sc-home-preview #scs-warning-signs .sc-home-sign-photo {
  margin-block: .8rem 1rem;
}

.sc-home-preview #scs-warning-signs .sc-home-sign-photo img {
  aspect-ratio: 4 / 3;
  object-position: center 42%;
}

.sc-home-preview #scs-warning-signs .sc-home-sign-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sc-home-preview #scs-warning-signs .sc-home-sign-grid > li {
  grid-column: auto;
  min-width: 0;
  padding: clamp(16px, 1.7vw, 24px);
}

.sc-home-preview #scs-warning-signs .sc-home-sign-grid h3 {
  font-size: clamp(20px, 1.7vw, 24px);
}

@media (width > 1000px) {
  .sc-home-preview #scs-warning-signs > .sc-service__container {
    width: min(1340px, calc(100% - 2 * var(--home-gutter)));
  }

  .sc-home-preview #scs-warning-signs .sc-home-sign-grid h3 {
    min-height: 3.45em;
  }
}

@media (width <= 1000px) {
  .sc-home-preview #scs-warning-signs .sc-home-sign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 600px) {
  .sc-home-preview #scs-warning-signs .sc-home-sign-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.sc-home-company-photo {
  position: relative;
  width: min(100%, 940px);
  margin: 0 auto clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid #ffffff28;
  border-radius: 18px;
}

.sc-home-company-photo__image {
  display: block;
  width: 100%;
  height: auto;
}
