:root {
  --navy: #06172b;
  --navy-2: #0a2947;
  --blue: #0b82d8;
  --cyan: #25aef3;
  --ink: #10243a;
  --muted: #607286;
  --line: #d7e2ec;
  --paper: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(1, 18, 35, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
img { display: block; width: 100%; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.16); }
.nav-shell { width: min(1240px, calc(100% - 40px)); height: 92px; margin: auto; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 28px; }
.brand { width: 150px; height: 72px; display: grid; place-items: center; overflow: hidden; }
.brand img { width: 142px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
.site-header nav { justify-self: center; display: flex; gap: 32px; }
.site-header nav a { color: #fff; text-decoration: none; font-size: .9rem; font-weight: 750; letter-spacing: .04em; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--cyan); }
.nav-call { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 10px 18px; font-weight: 800; font-size: .86rem; }
.nav-call:hover { background: var(--white); color: var(--navy); }
.menu-button { display: none; }

.hero { position: relative; min-height: 760px; color: var(--white); display: grid; align-items: end; overflow: hidden; background: var(--navy); }
.hero-image { position: absolute; inset: 0; background: url('./assets/siding-after.jpeg') center 58% / cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,15,29,.97) 0%, rgba(3,23,43,.87) 44%, rgba(4,27,49,.35) 72%, rgba(4,27,49,.58) 100%); }
.hero::after { content: ""; position: absolute; right: -10vw; bottom: -180px; width: 55vw; height: 330px; background: linear-gradient(135deg, rgba(37,174,243,.08), rgba(11,130,216,.52)); transform: skewY(-7deg); }
.hero-grid { position: relative; z-index: 2; padding: 185px 0 96px; display: grid; grid-template-columns: 1fr 420px; gap: 76px; align-items: end; }
.eyebrow { display: inline-block; color: var(--cyan); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 900; }
.eyebrow.blue { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin: 18px 0 24px; font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.hero-copy > p { max-width: 710px; color: #d8e4ef; font-size: 1.18rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 8px; text-decoration: none; font-weight: 900; letter-spacing: .01em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: var(--white); box-shadow: 0 14px 34px rgba(7,129,216,.3); }
.button.secondary { border: 1px solid rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.button.full { width: 100%; }
.proof-card { display: grid; grid-template-columns: 1fr 1fr; background: rgba(4,22,41,.76); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(12px); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.proof-card div { min-height: 130px; padding: 25px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.proof-card div:nth-child(2n) { border-right: 0; }
.proof-card div:nth-child(n+3) { border-bottom: 0; }
.proof-card strong { color: var(--cyan); font-size: 1.55rem; line-height: 1; }
.proof-card span { color: #c4d4e2; margin-top: 9px; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; }

.trust-strip { background: var(--blue); color: var(--white); }
.trust-grid { min-height: 76px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-grid span { text-align: center; font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; padding: 0 18px; border-right: 1px solid rgba(255,255,255,.25); }
.trust-grid span:last-child { border: 0; }

.section { padding: 112px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .partner-layout h2, .contact h2 { margin: 12px 0 18px; font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.section-heading p, .partner-layout > div > p { font-size: 1.06rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 300px; padding: 34px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.service-card::after { content: ""; position: absolute; inset: auto -48px -70px auto; width: 150px; height: 150px; border: 28px solid #e9f4fb; border-radius: 50%; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-card > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: var(--cyan); font-weight: 900; }
.service-card h3 { margin: 36px 0 12px; font-size: 1.55rem; }
.service-card p { color: var(--muted); }

.work { background: var(--navy); color: var(--white); overflow: hidden; }
.light-heading p { color: #adbfce; }
.project-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 60px; }
.project-index a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 62px; padding: 15px 20px; color: var(--white); text-decoration: none; font-weight: 800; border: 1px solid rgba(255,255,255,.23); border-radius: 10px; background: rgba(255,255,255,.06); }
.project-index a:hover, .project-index a:focus-visible { border-color: var(--cyan); background: rgba(37,174,243,.13); }
.project-index span { color: var(--cyan); font-size: .8rem; }
#siding-project, #window-project, #roofing-project, #window-exterior-project, #montrose-window-project, #additional-window-work { scroll-margin-top: 24px; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
figure { margin: 0; }
.before-after figure, .gallery figure { overflow: hidden; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.before-after img { height: 390px; object-fit: cover; }
.before-after figcaption { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; color: var(--ink); font-weight: 850; }
.before-after figcaption span { color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.gallery { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.gallery img { height: 260px; object-fit: cover; }
.gallery figcaption { padding: 16px 18px; color: var(--ink); font-weight: 800; }
.portfolio-group { margin-top: 72px; padding-top: 56px; border-top: 1px solid rgba(255,255,255,.16); }
.portfolio-heading { max-width: 780px; margin-bottom: 28px; }
.portfolio-heading h3 { margin: 10px 0 14px; color: var(--white); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.08; letter-spacing: -.035em; }
.portfolio-heading p { color: #adbfce; font-size: 1rem; }
.roofing-gallery { grid-template-columns: repeat(4, 1fr); }
.roofing-gallery img { height: 230px; }
.roofing-gallery figcaption { min-height: 74px; display: flex; align-items: center; }
.project-gallery img { height: 340px; }
.project-gallery figcaption { min-height: 58px; }

.reviews { background: #e9f3fa; scroll-margin-top: 28px; }
.reviews-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.reviews h2 { margin: 12px 0 20px; font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.reviews-layout > div > p { max-width: 660px; font-size: 1.08rem; color: var(--muted); }
.reviews-card { padding: 38px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.reviews-card > span { color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 900; }
.reviews-card h3 { margin: 15px 0; font-size: 1.8rem; line-height: 1.2; }
.reviews-card p { color: var(--muted); }
.reviews-card .button { margin-top: 12px; }
.reviews-qr { display: flex; gap: 18px; align-items: center; padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--line); }
.reviews-qr img { width: 132px; height: 132px; flex: none; object-fit: contain; }
.reviews-qr span { max-width: 190px; color: var(--muted); font-size: .9rem; line-height: 1.45; font-weight: 650; }

.partners { background: var(--paper); }
.partner-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: center; }
.check-list { margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; list-style: none; }
.check-list li { position: relative; padding-left: 29px; font-weight: 750; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 950; }
.packet-card { padding: 42px; border-radius: 20px; color: var(--white); background: linear-gradient(155deg, var(--navy-2), var(--navy)); box-shadow: var(--shadow); }
.packet-card > span { color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 900; }
.packet-card h3 { margin: 16px 0; font-size: 1.75rem; line-height: 1.2; }
.packet-card p { color: #b9cbd9; margin-bottom: 28px; }

.contact { padding: 92px 0; background: linear-gradient(115deg, #087fd3, #0f5d9a); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact h2 { margin-bottom: 16px; }
.contact p { color: #d8edfb; max-width: 600px; font-size: 1.05rem; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-links a { padding: 18px 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; text-decoration: none; font-weight: 900; background: rgba(0,0,0,.08); }
.contact-links a:last-child { grid-column: 1 / -1; }
.contact-links span { display: block; color: #bfe7ff; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; margin-bottom: 4px; }
.contact-links a:hover { background: var(--white); color: var(--navy); }

footer { background: #03101f; color: #c4d1dc; padding: 38px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; }
.footer-grid div { display: flex; flex-direction: column; }
.footer-grid strong { color: var(--white); font-size: 1.25rem; }
.footer-grid span, footer p { margin: 0; font-size: .86rem; }
.footer-grid p:nth-child(2) { text-align: center; }
.footer-grid p:last-child { text-align: right; }

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: 150px 1fr auto; }
  .site-header nav { gap: 16px; }
  .nav-call { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .proof-card { max-width: 620px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .roofing-gallery { grid-template-columns: 1fr 1fr; }
  .partner-layout, .contact-layout, .reviews-layout { grid-template-columns: 1fr; gap: 46px; }
}

@media (max-width: 720px) {
  .container, .nav-shell { width: min(100% - 28px, 1160px); }
  .site-header { background: rgba(4,19,35,.88); backdrop-filter: blur(10px); }
  .nav-shell { height: 76px; grid-template-columns: 1fr auto; }
  .brand { width: 116px; height: 64px; justify-content: start; }
  .brand img { width: 108px; }
  .menu-button { display: block; border: 1px solid rgba(255,255,255,.5); background: transparent; color: white; border-radius: 8px; padding: 9px 12px; font-weight: 800; }
  .site-header nav { position: absolute; top: 76px; left: 14px; right: 14px; display: none; flex-direction: column; gap: 0; padding: 10px; border-radius: 10px; background: var(--navy); box-shadow: var(--shadow); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 13px 12px; }
  .hero { min-height: 830px; }
  .hero-grid { padding: 150px 0 56px; gap: 46px; }
  h1 { font-size: clamp(3.15rem, 16vw, 5rem); }
  .hero-copy > p { font-size: 1.02rem; }
  .proof-card div { min-height: 106px; padding: 18px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 8px 0; }
  .trust-grid span { min-height: 56px; display: grid; place-items: center; border-bottom: 1px solid rgba(255,255,255,.25); }
  .trust-grid span:nth-child(2) { border-right: 0; }
  .trust-grid span:nth-child(n+3) { border-bottom: 0; }
  .section { padding: 78px 0; }
  .project-index { grid-template-columns: 1fr; gap: 10px; margin-bottom: 44px; }
  .project-index a { min-height: 54px; }
  .service-grid, .before-after, .gallery, .check-list { grid-template-columns: 1fr; }
  .portfolio-group { margin-top: 52px; padding-top: 42px; }
  .service-card { min-height: 245px; }
  .before-after img { height: 280px; }
  .gallery img { height: 240px; }
  .packet-card { padding: 30px 24px; }
  .reviews-card { padding: 28px 24px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links a:last-child { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-grid p:nth-child(2), .footer-grid p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Featured promotional flyer */
.featured-ad { background: linear-gradient(120deg,#061426,#082a4a 70%,#064a80); color: #fff; padding: clamp(2.5rem,5vw,5rem) 0; }
.featured-ad-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.featured-ad-copy h1 { font-size: clamp(2.5rem,5vw,5rem); line-height: 1.05; max-width: 11ch; margin: 1rem 0 1.25rem; }
.featured-ad-copy p { font-size: clamp(1.1rem,1.7vw,1.35rem); line-height: 1.55; max-width: 38rem; margin-bottom: 2rem; }
.featured-ad-art { max-width: 660px; justify-self: center; width: 100%; }
.featured-ad-art img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 22px 55px rgba(0,0,0,.38); }
@media (max-width: 760px) { .featured-ad-layout { grid-template-columns: 1fr; } .featured-ad-copy h1 { max-width: 16ch; } .featured-ad-art { max-width: 520px; } }
