:root {
  --ink: #f4fbff;
  --charcoal: #20d0ff;
  --teal: #20d0ff;
  --teal-dark: #087984;
  --gold: #f1b447;
  --leaf: #20d0ff;
  --clay: #f1b447;
  --mist: #05090b;
  --paper: #0a0f12;
  --line: #1d3a42;
  --muted: #b4c5c8;
  --brand-blue: #20d0ff;
  --brand-blue-dark: #087984;
  --dark: #020405;
  --surface: #0a0f12;
  --surface-2: #10181b;
  --surface-3: #142024;
  --on-blue: #031014;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--ink);
  line-height: 1.6;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body,
button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
a,
span,
button {
  overflow-wrap: break-word;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 250px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  min-height: 132px;
  padding: 8px clamp(18px, 2.4vw, 54px);
  color: #eaf2ef;
  background: #000;
  border-bottom: 1px solid rgba(0, 204, 255, 0.18);
  backdrop-filter: blur(14px);
  overflow: visible;
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 230px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: clamp(112px, 7.8vw, 154px);
  height: auto;
  object-fit: contain;
  filter: none;
}

.nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 0;
}

.nav__item {
  position: relative;
}

.nav__item > a,
.nav__submenu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px clamp(6px, 0.5vw, 10px);
  color: #eaf2ef;
  font-size: clamp(0.78rem, 0.78vw, 0.88rem);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

.nav__item.is-active > a,
.nav__item > a:hover,
.nav__submenu a:hover {
  background: rgba(0, 204, 255, 0.12);
  color: #00ccff;
}

.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: grid;
  grid-auto-rows: min-content;
  min-width: 230px;
  padding: 8px;
  background: #0a0a0a;
  border: 1px solid rgba(0, 204, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.nav__item:hover .nav__submenu,
.nav__item:focus-within .nav__submenu,
.nav__item.is-open .nav__submenu {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.header-cta,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-cta {
  grid-column: 3;
  flex-wrap: nowrap;
  justify-self: end;
  min-width: 0;
  gap: 8px;
}

.header-cta .button {
  min-height: 48px;
  padding: 11px clamp(12px, 0.9vw, 18px);
  font-size: clamp(0.76rem, 0.72vw, 0.82rem);
  white-space: nowrap;
}

#spr-fixed-header {
  width: 100% !important;
  min-height: 118px !important;
  padding: 10px 48px !important;
  background: #000 !important;
  display: grid !important;
  grid-template-columns: 230px 1fr 330px !important;
  align-items: center !important;
  gap: 24px !important;
  border-bottom: 1px solid rgba(32, 208, 255, 0.25) !important;
  position: relative !important;
  z-index: 9999 !important;
}

#spr-fixed-header .brand {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
}

#spr-fixed-header .spr-header-logo {
  width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
}

#spr-fixed-header .menu-toggle {
  display: none !important;
}

#spr-fixed-header .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  flex-wrap: nowrap !important;
}

#spr-fixed-header .nav__item {
  position: relative !important;
}

#spr-fixed-header .nav__item > a {
  color: #f4fbff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  padding: 8px 0 !important;
  background: transparent !important;
}

#spr-fixed-header .nav__item > a:hover,
#spr-fixed-header .nav__item.is-active > a {
  color: #20d0ff !important;
}

#spr-fixed-header .nav__submenu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 260px !important;
  padding: 10px !important;
  background: #05090b !important;
  border: 1px solid rgba(32, 208, 255, 0.35) !important;
  border-radius: 8px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 99999 !important;
}

#spr-fixed-header .nav__item:hover .nav__submenu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#spr-fixed-header .nav__submenu a {
  display: block !important;
  padding: 11px 14px !important;
  color: #f4fbff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

#spr-fixed-header .header-cta {
  display: flex !important;
  justify-content: flex-end !important;
}

#spr-fixed-header .button--ghost {
  display: none !important;
}

#spr-fixed-header .button--primary {
  width: 330px !important;
  min-height: 56px !important;
  background: #20d0ff !important;
  color: #031014 !important;
  border: 2px solid #20d0ff !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

@media (max-width: 1180px) {
  #spr-fixed-header {
    grid-template-columns: 1fr auto !important;
    min-height: 100px !important;
    padding: 10px 18px !important;
  }

  #spr-fixed-header .spr-header-logo {
    width: 96px !important;
  }

  #spr-fixed-header .nav,
  #spr-fixed-header .header-cta {
    display: none !important;
  }

  #spr-fixed-header .nav.is-open {
    grid-column: 1 / -1 !important;
    display: grid !important;
    gap: 8px !important;
    padding-top: 10px !important;
  }

  #spr-fixed-header .menu-toggle {
    display: grid !important;
    width: 46px !important;
    height: 46px !important;
    background: #20d0ff !important;
    border: 0 !important;
    border-radius: 8px !important;
  }
}

.button-row--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 56px;
  padding: 15px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #071211;
  background: var(--gold);
}

.button--secondary {
  color: var(--on-blue);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.button--ghost {
  color: #00ccff;
  background: transparent;
  border-color: rgba(0, 204, 255, 0.72);
}

.button--text {
  justify-content: flex-start;
  min-height: 44px;
  padding: 0;
  color: var(--brand-blue);
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--charcoal);
  border: 0;
  border-radius: 8px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--on-blue);
}

@media (max-width: 1660px) {
  .site-header {
    grid-template-columns: minmax(210px, 230px) minmax(0, 1fr) auto;
    gap: 12px;
  }

  .header-cta .button--ghost {
    display: none;
  }
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 580px;
  padding: 82px 5vw 72px;
  overflow: hidden;
  color: #ffffff;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero--mixed-rotating {
  background-position: 82% top;
}

.hero--rotating {
  isolation: isolate;
}

.hero--rotating::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: var(--hero-rotate-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: heroAlternateImage 8s ease-in-out infinite;
}

.hero--static-image.hero--rotating::after {
  opacity: 1;
  animation: none;
}

.hero--mixed-rotating.hero--rotating::after {
  opacity: 1;
  animation: heroPrimaryImage 8s ease-in-out infinite;
}

.hero--red-tile .hero__overlay {
  background: linear-gradient(90deg, rgba(4, 20, 24, 0.18) 0%, rgba(4, 20, 24, 0.1) 58%, rgba(4, 20, 24, 0.04) 100%);
}

.hero--mixed-rotating .hero__overlay {
  background: linear-gradient(90deg, rgba(4, 20, 24, 0.72) 0%, rgba(4, 20, 24, 0.54) 46%, rgba(4, 20, 24, 0.14) 100%);
}

.hero--clean-shingle {
  min-height: clamp(600px, 48vw, 760px);
  background-position: 78% center;
}

.hero--clean-shingle .hero__overlay {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.62) 43%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.hero--clean-shingle .hero__content {
  width: min(820px, 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 18, 17, 0.64);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  min-width: 0;
}

@keyframes heroAlternateImage {
  0%,
  42% {
    opacity: 0;
  }

  50%,
  92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes heroPrimaryImage {
  0%,
  42% {
    opacity: 1;
  }

  50%,
  92% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--rotating::after {
    animation: none;
    opacity: 0;
  }

  .hero--mixed-rotating.hero--rotating::after {
    opacity: 1;
  }
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  line-height: 1.03;
}

.hero__intro {
  width: min(760px, 100%);
  margin: 18px 0 22px;
  color: #eef7f5;
  font-size: 1.12rem;
}

.hero .button-row {
  gap: 14px;
}

.hero .button {
  min-height: 62px;
  padding: 18px 28px;
  font-size: 1.02rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-trust span,
.trust-bar span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--brand-blue);
}

.trust-bar span {
  justify-content: center;
  min-height: 78px;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: var(--brand-blue);
  color: var(--on-blue);
  text-align: center;
}

.section {
  padding: 86px 5vw;
  background: var(--dark);
}

.trust-bar + .section {
  padding-top: 58px;
}

.section:nth-of-type(odd) {
  background: var(--surface);
}

.section--compact {
  padding-top: 54px;
  padding-bottom: 54px;
}

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

.section--answer .section-intro {
  margin-bottom: 18px;
}

.section__inner {
  width: min(1180px, 100%);
  min-width: 0;
  margin: 0 auto;
}

.section h2,
.final-cta h2 {
  max-width: 900px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.section-intro {
  width: min(820px, 100%);
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.project-grid,
.review-grid,
.city-grid,
.service-link-grid,
.inline-link-grid,
.proof-slots,
.paired-gallery,
.home-priority,
.home-project-showcase,
.home-mini-projects {
  display: grid;
  gap: 18px;
}

.home-priority {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 28px;
}

.home-priority__copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 32px;
  color: var(--on-blue);
  background: var(--brand-blue);
  border-radius: 8px;
}

.home-priority__copy p {
  margin: 0;
  color: var(--on-blue);
  font-size: 1.05rem;
}

.home-priority__paths {
  display: grid;
  gap: 12px;
}

.home-priority__paths a {
  display: grid;
  align-content: center;
  min-height: 132px;
  padding: 22px;
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 8px solid var(--brand-blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-priority__paths span {
  font-size: 1.15rem;
  font-weight: 900;
}

.home-priority__paths small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.home-priority__paths a:hover {
  border-color: var(--teal);
  border-left-color: var(--gold);
}

.home-project-showcase {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: stretch;
  gap: 24px;
}

.home-project-showcase__lead .project-card,
.project-card--featured {
  height: 100%;
}

.home-project-showcase__lead .project-card__media {
  aspect-ratio: 16 / 10;
}

.home-project-showcase__side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}

.home-project-showcase__copy {
  padding: 24px;
  color: var(--on-blue);
  background: var(--brand-blue);
  border-radius: 8px;
}

.home-project-showcase__copy h3,
.home-project-showcase__copy p {
  color: var(--on-blue);
}

.home-project-showcase__copy p {
  margin: 0 0 18px;
}

.home-mini-projects {
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-mini-projects a {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 98px;
  padding: 10px;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.home-mini-projects img {
  width: 112px;
  height: 78px;
  max-width: none;
  object-fit: cover;
  border-radius: 6px;
}

.home-mini-projects span {
  font-weight: 900;
  line-height: 1.2;
}

.home-mini-projects a:hover {
  border-color: var(--teal);
}

.feature-grid--three,
.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.review-card,
.project-card,
.city-card,
.service-link-grid a {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.review-card blockquote,
.project-card p,
.content-column p {
  color: var(--muted);
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
}

.project-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}

.project-card > .project-card__media {
  padding: 0;
}

.project-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.project-card > div {
  padding: 20px;
}

.project-meta {
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.project-card dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card dd {
  margin: 0;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.filter-bar button {
  min-height: 44px;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.filter-bar button.is-active,
.filter-bar button:hover {
  color: var(--on-blue);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  counter-reset: step;
  list-style: none;
}

.process-list li {
  min-height: 150px;
  padding: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: step;
}

.process-list li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--on-blue);
  background: var(--leaf);
  border-radius: 50%;
  font-weight: 900;
}

.process-list span {
  display: block;
  font-weight: 800;
}

.review-card {
  margin: 0;
  padding: 24px;
}

.stars {
  color: var(--gold);
  font-size: 1.2rem;
}

.review-card blockquote {
  margin: 14px 0;
}

.review-card figcaption {
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  min-height: 44px;
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.answer-block {
  max-width: 900px;
  overflow: hidden;
  padding: 28px;
  background: var(--brand-blue);
  border-left: 8px solid var(--gold);
  border-radius: 8px;
}

.answer-block h2,
.answer-block p {
  color: var(--on-blue);
  overflow-wrap: anywhere;
}

.city-grid,
.service-link-grid,
.inline-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.city-card,
.service-link-grid a,
.inline-link-grid a {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 120px;
  padding: 22px;
  text-decoration: none;
}

.city-card span,
.service-link-grid span,
.inline-link-grid a {
  color: var(--ink);
  font-weight: 900;
}

.city-card small,
.service-link-grid small {
  color: var(--muted);
}

.city-card:hover,
.service-link-grid a:hover,
.inline-link-grid a:hover {
  border-color: var(--teal);
}

.content-column {
  max-width: 900px;
}

.content-column h3 {
  margin-top: 34px;
}

.map-frame {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.paired-gallery,
.proof-slots {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.paired-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.paired-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.paired-gallery figcaption,
.proof-slots div,
.integration-slot {
  display: grid;
  place-items: center;
  min-height: 130px;
  padding: 16px;
  color: var(--muted);
  background: repeating-linear-gradient(45deg, #0a0f12, #0a0f12 10px, #10181b 10px, #10181b 20px);
  border: 1px dashed var(--brand-blue);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.inspection-form {
  display: grid;
  gap: 18px;
  max-width: 880px;
  padding: 28px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inspection-form label {
  display: grid;
  gap: 6px;
  color: var(--brand-blue);
  font-weight: 900;
}

.inspection-form input,
.inspection-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.inspection-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--clay);
  font-weight: 800;
}

.form-note.is-error {
  color: #9f1239;
}

.form-hp {
  left: -9999px;
  position: absolute;
}

.thank-you-section {
  min-height: clamp(560px, 78vh, 820px);
  display: grid;
  place-items: center;
  padding: clamp(56px, 8vw, 110px) 5vw;
  background:
    linear-gradient(135deg, rgba(32, 208, 255, 0.14), rgba(2, 4, 5, 0) 42%),
    radial-gradient(circle at 72% 28%, rgba(32, 208, 255, 0.16), rgba(2, 4, 5, 0) 34%),
    var(--dark);
}

.thank-you-card {
  width: min(920px, 100%);
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(34px, 6vw, 72px);
  text-align: center;
  background: rgba(10, 15, 18, 0.94);
  border: 1px solid rgba(32, 208, 255, 0.38);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thank-you-logo {
  width: clamp(180px, 22vw, 280px);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(32, 208, 255, 0.18));
}

.thank-you-card h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.thank-you-card p {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 800;
}

.thank-you-card .button-row {
  justify-content: center;
  margin-top: 10px;
}

.centered-copy {
  text-align: center;
  font-weight: 800;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 76px 5vw;
  color: var(--on-blue);
  background: var(--brand-blue);
}

.final-cta h2,
.final-cta p {
  color: var(--on-blue);
}

.site-footer {
  padding: 58px 5vw 96px;
  color: #eaf2ef;
  background: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  min-height: 32px;
  color: #eaf2ef;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-logo {
  width: 112px;
  height: auto;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
}

.copyright {
  width: min(1180px, 100%);
  margin: 38px auto 0;
  color: #aec0bc;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    width: auto;
    min-width: 0;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    align-items: stretch;
    justify-content: start;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 204, 255, 0.18);
  }

  .nav.is-open {
    display: grid;
  }

  .nav__item > a {
    width: 100%;
  }

  .nav__submenu {
    position: static;
    display: grid;
    margin: 0 0 8px 18px;
    border: 0;
    box-shadow: none;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .hero--clean-shingle {
    min-height: 660px;
    align-items: end;
    background-position: 58% top;
  }

  .hero--clean-shingle .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.42) 34%,
      rgba(0, 0, 0, 0.88) 100%
    );
  }

  .hero--native-preview {
    min-height: 660px;
    align-items: end;
  }

  .hero--native-preview .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.42) 34%,
      rgba(0, 0, 0, 0.9) 100%
    );
  }

  .trust-bar,
  .feature-grid--three,
  .project-grid,
  .review-grid,
  .city-grid,
  .service-link-grid,
  .inline-link-grid,
  .footer-grid,
  .paired-gallery,
  .proof-slots,
  .home-priority,
  .home-project-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .home-project-showcase {
    grid-template-columns: 1fr;
  }

  .home-mini-projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-mini-projects a {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .home-mini-projects img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

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

  .final-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 118px;
    gap: 12px;
    padding: 8px 16px;
  }

  .brand {
    padding: 0;
  }

  .brand img {
    width: 88px;
    height: auto;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .hero {
    min-height: auto;
    padding: 38px 20px 36px;
  }

  .hero--clean-shingle {
    min-height: 640px;
    padding-top: 220px;
    padding-bottom: 34px;
    background-position: 62% top;
  }

  .hero--native-preview {
    min-height: 640px;
    padding-top: 220px;
    padding-bottom: 34px;
  }

  .hero--mixed-rotating {
    background-position: 72% top;
  }

  .hero__content,
  .section__inner {
    max-width: calc(100vw - 40px);
  }

  .hero h1 {
    max-width: 320px;
    font-size: clamp(1.38rem, 5.6vw, 1.58rem);
    line-height: 1.05;
    text-wrap: balance;
  }

  .hero__intro {
    max-width: 320px;
    margin: 12px 0 14px;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .hero .button-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .hero-trust {
    display: none;
  }

  .button,
  .button-row .button {
    width: 100%;
  }

  .trust-bar,
  .feature-grid--three,
  .project-grid,
  .review-grid,
  .city-grid,
  .service-link-grid,
  .inline-link-grid,
  .footer-grid,
  .paired-gallery,
  .proof-slots,
  .form-grid,
  .process-list,
  .home-priority,
  .home-project-showcase,
  .home-mini-projects {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-bar span {
    justify-content: flex-start;
    min-height: 46px;
    padding: 10px 20px;
    font-size: 0.78rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .section {
    padding: 62px 20px;
  }

  .section h2,
  .final-cta h2 {
    max-width: 320px;
    font-size: clamp(1.36rem, 5.6vw, 1.62rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  .answer-block {
    max-width: 100%;
    padding: 22px 18px;
  }

  .home-priority__copy,
  .home-project-showcase__copy {
    padding: 22px;
  }

  .home-priority__paths a {
    min-height: 118px;
  }

  .trust-bar + .section {
    padding-top: 32px;
  }

  .project-card dl {
    grid-template-columns: 1fr;
  }

  .inspection-form {
    padding: 20px;
  }

  .site-footer {
    padding: 48px 20px 120px;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 10px;
    padding: 12px;
    background: rgba(2, 4, 5, 0.96);
    border-top: 1px solid rgba(32, 208, 255, 0.36);
    box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-sticky-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-sticky-cta .button {
    width: 100%;
    min-height: 60px;
    padding: 12px 10px;
    font-size: 0.82rem;
  }
}

/* Homepage: dark overlay + 3-image crossfade rotation */
.hero--three-rotating {
  background-image: none;
  background-color: #061014;
}

.hero--three-rotating .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0;
}

.hero--three-rotating .hero__bg--one {
  background-image: var(--hero-image);
  animation: heroRotateOne 18s ease-in-out infinite;
}

.hero--three-rotating .hero__bg--two {
  background-image: var(--hero-rotate-image);
  background-position: center center;
  animation: heroRotateTwo 18s ease-in-out infinite;
}

@media (max-width: 920px) {
  .hero--three-rotating .hero__bg--one {
    background-position: 22% center;
  }

  .hero--three-rotating .hero__bg--two {
    background-position: 52% center;
  }
}

.hero--three-rotating .hero__bg--three {
  background-image: var(--hero-rotate-image-2);
  animation: heroRotateThree 18s ease-in-out infinite;
}

.hero--three-rotating .hero__overlay {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.64) 42%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.hero--native-preview {
  min-height: clamp(600px, 48vw, 760px);
}

.hero--native-preview .hero__content {
  width: min(820px, 100%);
}

.hero--artwork {
  min-height: clamp(520px, 53vw, 760px);
  padding: 0;
}

.hero--artwork .hero__bg {
  background-position: center center;
  background-size: contain;
}

.hero--artwork .hero__overlay {
  display: none;
}

.hero--artwork .hero__content {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 920px) {
  .hero--artwork {
    min-height: clamp(480px, 132vw, 680px);
  }

  .hero--artwork .hero__bg {
    background-position: left center;
    background-size: auto 100%;
  }
}

@keyframes heroRotateOne {
  0%,
  28% {
    opacity: 1;
  }

  34%,
  100% {
    opacity: 0;
  }
}

@keyframes heroRotateTwo {
  0%,
  28% {
    opacity: 0;
  }

  34%,
  61% {
    opacity: 1;
  }

  67%,
  100% {
    opacity: 0;
  }
}

@keyframes heroRotateThree {
  0%,
  61% {
    opacity: 0;
  }

  67%,
  94% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--three-rotating .hero__bg {
    animation: none;
    opacity: 0;
  }

  .hero--three-rotating .hero__bg--one {
    opacity: 1;
  }
}

/* LCP fix: first homepage hero must be paintable immediately */
.hero--three-rotating .hero__bg--one {
  opacity: 1;
  animation: none;
}

.hero--three-rotating .hero__bg--two {
  z-index: 1;
}

.hero--three-rotating .hero__bg--three {
  z-index: 2;
}

/* Mobile LCP: prevent later rotating backgrounds from becoming new LCP candidates */
@media (max-width: 920px) {
  .hero--three-rotating .hero__bg--one {
    opacity: 1 !important;
    animation: none !important;
  }

  .hero--three-rotating .hero__bg--two,
  .hero--three-rotating .hero__bg--three {
    display: none !important;
    animation: none !important;
  }
}

/* SPR SINGLE STATIC HERO A/B TEST */
.hero--three-rotating .hero__bg--one {
  opacity: 1 !important;
  display: block !important;
  animation: none !important;
}

.hero--three-rotating .hero__bg--two,
.hero--three-rotating .hero__bg--three {
  display: none !important;
  animation: none !important;
}

/* Artwork already contains hero copy/buttons for this A/B test */
.hero--three-rotating .hero__content,
.hero--three-rotating .hero__overlay {
  display: none !important;
}

/* SPR STATIC HERO FINAL TEST - cache-busted image URL */
.hero--three-rotating .hero__bg--one {
  background-image: url('../images/spr-hero-static.webp') !important;
  opacity: 1 !important;
  display: block !important;
  animation: none !important;
}

.hero--three-rotating .hero__bg--two,
.hero--three-rotating .hero__bg--three {
  display: none !important;
  animation: none !important;
}

/* SPR FINAL STATIC HERO */
.hero--three-rotating .hero__bg--one {
  background-image: url('../images/spr-hero.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
  display: block !important;
  animation: none !important;
}

.hero--three-rotating .hero__bg--two,
.hero--three-rotating .hero__bg--three {
  display: none !important;
  animation: none !important;
}

.hero--three-rotating .hero__content,
.hero--three-rotating .hero__overlay {
  display: none !important;
}

/* Hide duplicate cyan service strip beneath static hero */
.home .hero + .trust-strip,
.home .hero + .service-strip,
.home .hero + .hero__trust-strip {
  display: none !important;
}

/* Remove duplicate homepage trust bar below static hero */
.home .trust-bar {
  display: none !important;
}

/* Match desktop static hero container to 1536x750 artwork */
@media (min-width: 769px) {
  .hero--three-rotating {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1536 / 750 !important;
    overflow: hidden !important;
  }

  .hero--three-rotating .hero__bg--one {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* SPR STATIC HERO IMAGE 2 */
.hero--three-rotating .hero__bg--one {
  background-image: url('../images/spr-hero-4.webp') !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* SPR MOBILE STATIC HERO FIX */
@media (max-width: 768px) {

  .hero--three-rotating {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1536 / 750 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero--three-rotating .hero__bg--one {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;

    background-image: url('../images/spr-hero-4.webp') !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    opacity: 1 !important;
    display: block !important;
    animation: none !important;
  }

  .hero--three-rotating .hero__bg--two,
  .hero--three-rotating .hero__bg--three {
    display: none !important;
  }
}

/* CURRENT HOMEPAGE HEADER */
.hero__bg--one {
    background-image: url('../images/spr-hero-4.webp') !important;
}

/* Footer legal policy links */
.site-footer .copyright a {
  display: inline;
  min-height: 0;
  color: #aec0bc;
  text-decoration: underline;
}

.site-footer .copyright a:hover {
  color: var(--gold);
}

/* Keep footer legal links on one line */
.site-footer .copyright a {
    display: inline !important;
    min-height: 0 !important;
}

/* Legal footer links — force one horizontal line */
.site-footer .copyright {
    white-space: nowrap !important;
}

.site-footer .copyright a,
.site-footer .copyright span {
    display: inline !important;
    min-height: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Native structural baseline replaces WordPress/Hello reset. */
html { font-size:16px; }
body { margin:0; }
button,input,textarea,select { font:inherit; }
button {cursor:pointer;}
img {max-width:100%;height:auto;}
[hidden] {display:none!important;}
:focus-visible {outline:2px solid #20d0ff;outline-offset:3px;}
.spr-main:focus {outline:none;}

/* Storm Peak Roofing custom, WordPress-free stylesheet. */
:root { color-scheme:dark; }
.spr-main { width:100%; display:block; }
.spr-main > * { max-width:100%; }
.page-legal .stormpeak-legal { max-width:1100px; margin:44px auto 70px; padding:30px clamp(18px,4vw,60px); border:1px solid #1d3a42; background:#0a0f12; border-radius:12px; }
.page-legal .stormpeak-legal h1,.page-legal .stormpeak-legal h2,.page-legal .stormpeak-legal h3 {color:#f4fbff;}
.page-legal .stormpeak-legal a {color:#20d0ff;}
.page-legal .stormpeak-legal section {scroll-margin-top:110px;}
#rwl-neighborhood { z-index:999999!important; }

/* Approved original responsive header dimensions. */
.site-header,
.site-header {
  display: grid !important;
  grid-template-columns: minmax(230px, 250px) minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: clamp(12px, 2vw, 30px) !important;
  min-height: 132px !important;
  height: auto !important;
  padding: 8px clamp(18px, 2.4vw, 54px) !important;
  background: #000 !important;
  overflow: visible !important;
}

.site-header .brand,
.site-header .brand {
  grid-column: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 230px !important;
  max-width: 250px !important;
  height: auto !important;
  min-height: 88px !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 30 !important;
}

.site-header .brand img,
.site-header .brand .spr-header-logo,
.site-header .brand img,
.site-header .brand .spr-header-logo {
  display: block !important;
  width: clamp(112px, 7.8vw, 154px) !important;
  max-width: 154px !important;
  height: auto !important;
  max-height: 154px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.site-header .nav,
.site-header .nav {
  grid-column: 2 !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  gap: 0 !important;
}

.site-header .nav__item > a,
.site-header .nav__item > a {
  padding: 8px clamp(6px, 0.5vw, 10px) !important;
  font-size: clamp(0.78rem, 0.78vw, 0.88rem) !important;
  white-space: nowrap !important;
}

.site-header .header-cta,
.site-header .header-cta {
  grid-column: 3 !important;
  justify-self: end !important;
  gap: 8px !important;
}

.site-header .header-cta .button,
.site-header .header-cta .button {
  min-height: 48px !important;
  padding: 11px clamp(12px, 0.9vw, 18px) !important;
  font-size: clamp(0.76rem, 0.72vw, 0.82rem) !important;
  white-space: nowrap !important;
}

@media (max-width: 1660px) {
  .site-header,
  .site-header {
    grid-template-columns: minmax(210px, 230px) minmax(0, 1fr) auto !important;
    gap: 12px !important;
  }

  .site-header .header-cta .button--ghost,
  .site-header .header-cta .button--ghost {
    display: none !important;
  }
}

@media (max-width: 1120px) {
  .site-header,
  .site-header {
    grid-template-columns: auto auto !important;
  }

  .site-header .brand,
  .site-header .brand {
    width: auto !important;
    min-width: 0 !important;
    max-width: 116px !important;
  }

  .site-header .brand img,
  .site-header .brand .spr-header-logo,
  .site-header .brand img,
  .site-header .brand .spr-header-logo {
    width: 106px !important;
    max-width: 106px !important;
    max-height: 106px !important;
  }

  .site-header .nav,
  .site-header .nav {
    grid-column: 1 / -1 !important;
  }

  .site-header .header-cta,
  .site-header .header-cta {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-header {
    grid-template-columns: auto auto !important;
    min-height: 104px !important;
    padding: 8px 14px !important;
  }

  .site-header .brand,
  .site-header .brand {
    width: 92px !important;
    min-width: 0 !important;
    max-width: 92px !important;
    min-height: 76px !important;
  }

  .site-header .brand img,
  .site-header .brand .spr-header-logo,
  .site-header .brand img,
  .site-header .brand .spr-header-logo {
    width: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
  }
}

@media (min-width:1661px) {

.site-header .header-cta .button--ghost {
  display: none !important;
}

.site-header {
  grid-template-columns: 280px minmax(0, 1fr) auto !important;
}

.site-header .brand {
  width: 280px !important;
  min-width: 280px !important;
}

.site-header .nav {
  justify-content: flex-start !important;
}

.site-header .nav__item > a {
  font-size: 14px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.site-header .header-cta .button--primary {
  min-width: 330px !important;
}

}
