:root {
  --ink: #0b1624;
  --muted: #526170;
  --blue: #0875bf;
  --blue-bright: #1fa9e8;
  --sky: #e8f5fc;
  --line: #d9e1e8;
  --paper: #ffffff;
  --soft: #f5f8fa;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 16px; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.04em; line-height: 1.04; }
h1 { max-width: 800px; margin-bottom: 24px; color: #fff; font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.25rem, 4.6vw, 4.35rem); }
h3 { line-height: 1.2; }

.site-header { position: absolute; z-index: 10; top: 0; left: 50%; display: flex; width: min(var(--max), calc(100% - 48px)); min-height: 92px; align-items: center; justify-content: space-between; transform: translateX(-50%); border-bottom: 1px solid rgba(255,255,255,.28); }
.brand { display: flex; width: 270px; height: 58px; align-items: center; }
.brand img { width: 100%; }
nav { display: flex; align-items: center; gap: 30px; color: #fff; font-size: .92rem; font-weight: 700; }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(255,255,255,.65); }

.hero { position: relative; display: grid; min-height: 850px; align-content: end; overflow: hidden; background: #101a24; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url('assets/rooftop-preparation.jpg') center / cover no-repeat; transform: scale(1.015); }
.hero-shade { background: linear-gradient(90deg, rgba(5,13,21,.92) 0%, rgba(5,13,21,.70) 47%, rgba(5,13,21,.15) 78%), linear-gradient(0deg, rgba(5,13,21,.68), transparent 45%); }
.hero-content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto 185px; }
.hero-copy { max-width: 680px; margin-bottom: 34px; color: rgba(255,255,255,.88); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 24px; font-weight: 800; }
.button-primary { background: var(--blue-bright); color: #07121b; }
.button-secondary { border: 1px solid rgba(255,255,255,.66); color: #fff; }
.hero-proof { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); width: min(var(--max), calc(100% - 48px)); margin: auto; border-top: 1px solid rgba(255,255,255,.28); }
.hero-proof div { min-height: 118px; padding: 28px 34px 20px 0; color: #fff; }
.hero-proof div + div { padding-left: 34px; border-left: 1px solid rgba(255,255,255,.28); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: 1.25rem; }
.hero-proof span { color: rgba(255,255,255,.68); font-size: .88rem; }

.intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10%; padding-block: 120px; }
.intro h2 { max-width: 700px; }
.intro > p { max-width: 510px; padding-top: 34px; color: var(--muted); font-size: 1.12rem; }
.services { padding-block: 110px; background: var(--soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading > *:first-child, .section-heading > h2 { max-width: 730px; }
.section-heading > p { max-width: 400px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 64px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 290px; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.service-grid .number { color: var(--blue); font-weight: 800; }
.service-grid h3 { margin: 52px 0 14px; font-size: 1.55rem; }
.service-grid p { max-width: 480px; color: var(--muted); }

.verification { padding-block: 110px; background: #fff; }
.verification-heading h2 { margin-bottom: 0; }
.verification-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.verification-grid article { overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.verification-grid img { width: 100%; height: 240px; object-fit: cover; }
.verification-grid article:nth-child(2) img { object-position: center 62%; }
.verification-grid article:nth-child(3) img { object-position: center 55%; }
.verification-grid div { padding: 24px; }
.verification-grid span { color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.verification-grid h3 { margin: 12px 0 10px; font-size: 1.2rem; }
.verification-grid p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.work { padding-block: 120px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.gallery figure { position: relative; min-height: 430px; margin: 0; overflow: hidden; background: var(--ink); }
.gallery-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 60px 24px 22px; color: #fff; background: linear-gradient(transparent, rgba(4,10,16,.88)); }
.gallery figcaption span, .gallery figcaption strong { display: block; }
.gallery figcaption span { margin-bottom: 3px; color: #8ed9ff; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.process { padding-block: 110px; color: #fff; background: var(--ink); }
.process h2 { max-width: 800px; }
.process ol { display: grid; grid-template-columns: repeat(4, 1fr); margin: 66px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.22); list-style: none; }
.process li { padding: 30px 28px 0 0; }
.process li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.22); }
.process li > span { color: #69c8f8; font-size: .8rem; font-weight: 800; }
.process h3 { margin: 48px 0 12px; font-size: 1.3rem; }
.process p { color: rgba(255,255,255,.66); }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10%; padding-block: 120px; }
.about > div > p:not(.eyebrow) { max-width: 670px; color: var(--muted); font-size: 1.06rem; }
.about aside { align-self: start; padding: 40px; border-top: 5px solid var(--blue); background: var(--sky); }
.site-team-photo { width: calc(100% + 80px); max-width: none; height: 300px; margin: -40px -40px 34px; object-fit: cover; object-position: center 38%; }
.about aside h3 { font-size: 1.45rem; }
.about ul { margin: 24px 0 0; padding: 0; list-style: none; }
.about li { position: relative; padding: 14px 0 14px 24px; border-top: 1px solid rgba(8,117,191,.17); }
.about li::before { position: absolute; top: 19px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); content: ''; }

.contact { padding-block: 95px; color: #fff; background: var(--blue); }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10%; align-items: end; }
.contact h2 { max-width: 700px; }
.contact p { max-width: 620px; color: rgba(255,255,255,.82); }
.contact-actions { display: grid; }
.contact-actions a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.38); }
.contact-actions a:last-child { border-bottom: 1px solid rgba(255,255,255,.38); }
.contact-actions span { color: rgba(255,255,255,.67); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-actions strong { text-align: right; }

footer { padding-block: 36px; background: #fff; }
.footer-inner { display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 30px; color: var(--muted); font-size: .83rem; }
.footer-inner img { width: 250px; }
.footer-inner p { margin: 0; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 780px; }
  .hero-content { margin-bottom: 230px; }
  .intro, .about, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .intro > p { padding-top: 0; }
  .section-heading { display: block; }
  .verification-grid { grid-template-columns: repeat(2, 1fr); }
  .process ol { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section-shell, .site-header, .hero-content, .hero-proof { width: min(100% - 32px, var(--max)); }
  .site-header { min-height: 76px; }
  .brand { width: 205px; height: 48px; }
  .nav-cta { padding: 8px 10px; font-size: .8rem; }
  .hero { min-height: 880px; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,13,21,.9), rgba(5,13,21,.4)), linear-gradient(0deg, rgba(5,13,21,.86), transparent 55%); }
  .hero-content { margin-bottom: 320px; }
  .hero-proof { grid-template-columns: 1fr; padding-block: 14px; }
  .hero-proof div { min-height: auto; padding: 12px 0; }
  .hero-proof div + div { padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .intro, .services, .verification, .work, .process, .about { padding-block: 82px; }
  .verification-grid { grid-template-columns: 1fr; }
  .verification-grid img { height: 280px; }
  .service-grid, .gallery, .process ol { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; }
  .gallery figure { min-height: 370px; }
  .service-grid article { min-height: 250px; padding: 28px; }
  .service-grid h3 { margin-top: 34px; }
  .process li + li { padding-left: 0; border-top: 1px solid rgba(255,255,255,.22); border-left: 0; }
  .process li { padding: 24px 0; }
  .process h3 { margin-top: 18px; }
  .about aside { padding: 28px; }
  .site-team-photo { width: calc(100% + 56px); height: 260px; margin: -28px -28px 28px; }
  .contact { padding-block: 76px; }
  .contact-actions strong { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}
