:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5e6a70;
  --line: #d7dfdf;
  --page: #f4f7f5;
  --paper: #ffffff;
  --charcoal: #172026;
  --green: #3f7670;
  --blue: #2f6684;
  --copper: #b66a3a;
  --sun: #d8a65c;
  --mist: #e7eeee;
  --shadow: 0 22px 60px rgba(23, 32, 38, 0.16);
  --display: Georgia, Cambria, "Times New Roman", Times, serif;
  --text: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --gutter: clamp(22px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(1.6rem, 3.55vw, 3.05rem);
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px var(--gutter);
  background: rgba(23, 32, 38, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@supports ((-webkit-backdrop-filter: blur(14px)) or (backdrop-filter: blur(14px))) {
  .site-header {
    background: rgba(23, 32, 38, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

.brand {
  display: inline-block;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-lockup {
  display: block;
  width: clamp(196px, 20vw, 236px);
  height: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 72px);
  max-height: 720px;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.95), rgba(23, 32, 38, 0.72) 48%, rgba(23, 32, 38, 0.28)),
    linear-gradient(0deg, rgba(23, 32, 38, 0.78), rgba(23, 32, 38, 0.12) 54%),
    url("./assets/hero-commercial-roof.jpg") center 42% / cover no-repeat;
}

.hero-logo-lockup {
  display: grid;
  width: clamp(262px, 30vw, 403px);
  height: clamp(262px, 30vw, 403px);
  margin-bottom: clamp(18px, 2.8vh, 34px);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(23, 32, 38, 0.24);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.25), inset 0 1px 18px rgba(255, 255, 255, 0.08);
}

.hero-logo-lockup img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.32));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  align-self: end;
  padding: 56px 0 clamp(52px, 7vh, 84px);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e7c18c;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 6px;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--charcoal);
}

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

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1120px, calc(100% - (var(--gutter) * 2)));
  margin: -38px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.proof-strip div {
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.proof-strip strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.16;
}

.section,
.maintenance-copy,
.records-section,
.contact-panel {
  padding: clamp(70px, 9vw, 116px) var(--gutter);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro-section {
  padding-top: clamp(104px, 12vw, 136px);
}

.intro-grid,
.capability-grid,
.records-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p,
.maintenance-copy p,
.records-copy p {
  margin-bottom: 0;
}

.capability-section {
  background: var(--paper);
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.maintenance-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: 620px;
  background: var(--mist);
}

.maintenance-photo {
  min-height: 520px;
}

.maintenance-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maintenance-copy {
  display: grid;
  align-content: center;
}

.maintenance-copy p,
.records-copy > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--charcoal);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.records-section {
  background: var(--charcoal);
  color: #ffffff;
}

.records-section .section-label {
  color: #e7c18c;
}

.records-copy > p {
  color: rgba(255, 255, 255, 0.74);
}

.record-steps {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.14);
}

.record-steps article {
  padding: 18px 0;
  background: var(--charcoal);
}

.record-steps span {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
  font-weight: 900;
}

.record-steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  background: var(--page);
}

.contact-photo {
  min-height: 520px;
}

.contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-panel {
  display: grid;
  align-content: center;
  background: #ffffff;
}

.address,
.fine-print {
  color: var(--muted);
}

.address {
  margin: 18px 0 22px;
  font-size: 1.08rem;
}

.phone-link {
  display: inline-flex;
  width: max-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
}

.fine-print {
  max-width: 460px;
  margin: 20px 0 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px var(--gutter);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .intro-grid,
  .capability-grid,
  .records-grid,
  .maintenance-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .maintenance-photo,
  .contact-photo {
    min-height: 380px;
  }
}

@media (max-height: 760px) and (min-width: 760px) {
  .hero-logo-lockup {
    width: 302px;
    height: 302px;
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 52px;
  }
}

@media (max-width: 580px) {
  .site-header {
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-lockup {
    width: 198px;
  }

  nav {
    gap: 14px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: calc(100vh - 108px);
    max-height: none;
  }

  .hero-photo {
    background-position: 54% center;
  }

  .hero-inner {
    width: calc(100% - (var(--gutter) * 2));
    padding: 64px 0 72px;
  }

  .hero-logo-lockup {
    width: 246px;
    height: 246px;
    margin-bottom: 24px;
  }

  .button {
    width: 100%;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: -26px;
  }

  .proof-strip div,
  .proof-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .service-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .maintenance-photo,
  .contact-photo {
    min-height: 300px;
  }

  .contact-panel {
    padding-top: 58px;
  }

  .phone-link {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
