:root {
  --bg: #080a0d;
  --bg-soft: #0e1217;
  --panel: #121820;
  --panel-2: #171e27;
  --text: #f5f7fa;
  --muted: #aab3bf;
  --line: rgba(255,255,255,.1);
  --blue: #1188ef;
  --blue-2: #38a5ff;
  --silver: #c7cbd1;
  --max: 1200px;
  --shadow: 0 20px 60px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.skip-link { position: fixed; left: 14px; top: -70px; z-index: 9999; background: white; color: black; padding: 10px 14px; border-radius: 8px; transition: top .2s ease; }
.skip-link:focus { top: 14px; }
.eyebrow { margin: 0 0 14px; color: var(--blue-2); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1,h2,h3 { margin-top: 0; line-height: 1.12; }
h1,h2 { font-family: Oswald, Inter, sans-serif; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(3.4rem, 8vw, 7.4rem); margin-bottom: 22px; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 20px; }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(8,10,13,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 24px; }
.brand img { width: 148px; height: 58px; object-fit: contain; }
.nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav-links a { font-size: .9rem; font-weight: 700; color: #dbe1e8; }
.nav-links a:hover { color: var(--blue-2); }
.menu-toggle { display: none; background: transparent; color: white; border: 1px solid var(--line); padding: 9px 12px; border-radius: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 8px; font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #0a6bc2); color: white; box-shadow: 0 12px 28px rgba(17,136,239,.24); }
.btn-secondary { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); color: white; }
.header-call { white-space: nowrap; }

.hero { min-height: 760px; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url('assets/project5-after.jpeg') center 48%/cover no-repeat; filter: saturate(.82); transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,10,.98) 0%, rgba(5,7,10,.9) 43%, rgba(5,7,10,.42) 68%, rgba(5,7,10,.58) 100%), linear-gradient(0deg, rgba(8,10,13,.84), transparent 42%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; padding: 80px 0; }
.hero-copy { max-width: 760px; }
.hero-copy h1 { max-width: 760px; }
.hero-text { font-size: 1.17rem; max-width: 720px; margin-bottom: 28px; color: #d0d7df; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.trust-row span { border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.28); padding: 8px 11px; border-radius: 999px; color: #dbe2ea; font-size: .8rem; font-weight: 700; }
.hero-logo-card { justify-self: end; width: min(430px, 100%); padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(5,7,10,.73); box-shadow: var(--shadow); }
.hero-logo-card img { aspect-ratio: 1/1; object-fit: contain; }

.quick-contact { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a0e13; }
.quick-contact-grid { display: grid; grid-template-columns: .8fr 1.35fr 1.2fr; }
.quick-contact-grid > * { padding: 24px 28px; border-right: 1px solid var(--line); }
.quick-contact-grid > *:last-child { border-right: 0; }
.quick-contact span { display: block; color: var(--blue-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: 4px; }
.quick-contact strong { font-size: .95rem; word-break: break-word; }
.quick-contact a:hover strong { color: var(--blue-2); }

.section-heading { max-width: 850px; margin-bottom: 46px; }
.section-heading > p:last-child { font-size: 1.05rem; }
.services { background: linear-gradient(180deg, #0c1015, #0a0d12); }
.service-grid { display: grid; gap: 18px; }
.service-grid-featured { grid-template-columns: repeat(2, 1fr); }
.secondary-services { grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.service-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); border-radius: 16px; padding: 28px; }
.featured-service { min-height: 265px; }
.service-card .icon { font-family: Oswald, sans-serif; color: var(--blue-2); font-size: 1.4rem; margin-bottom: 48px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service-card p { margin-bottom: 0; }
.compact-card .icon { margin-bottom: 26px; }

.makeover { background: radial-gradient(circle at 20% 30%, rgba(17,136,239,.17), transparent 30%), #0b0f14; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.makeover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.makeover-copy p { font-size: 1.08rem; }

.projects { background: #090c10; }
.project-list { display: grid; gap: 38px; }
.project-card { border: 1px solid var(--line); background: var(--panel); border-radius: 18px; overflow: hidden; box-shadow: 0 16px 50px rgba(0,0,0,.18); }
.project-copy { padding: 30px 32px 8px; }
.project-number { color: var(--blue-2); font-size: .74rem; letter-spacing: .15em; font-weight: 800; margin: 0 0 8px; }
.project-copy h3 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: clamp(1.45rem, 3vw, 2.15rem); margin-bottom: 12px; }
.project-copy > p:not(.project-number) { max-width: 900px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 18px; }
.project-tags span { font-size: .78rem; font-weight: 700; color: #d5dde6; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.photo-pair, .photo-triptych { display: grid; gap: 2px; background: #050608; }
.photo-pair { grid-template-columns: repeat(2, 1fr); }
.photo-triptych { grid-template-columns: repeat(3, 1fr); }
figure { margin: 0; }
.photo-pair figure, .photo-triptych figure { position: relative; min-width: 0; }
.photo-pair img, .photo-triptych img { width: 100%; height: 500px; object-fit: cover; }
.photo-triptych img { height: 420px; }
figcaption { color: #d5dbe2; font-size: .8rem; }
.photo-pair figcaption, .photo-triptych figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.72); padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); }
.photo-button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: transparent; }
.photo-button img { transition: transform .28s ease, filter .28s ease; }
.photo-button:hover img { transform: scale(1.015); filter: brightness(1.06); }

.gallery { background: #0d1117; }
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.install-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.install-card img { height: 360px; object-fit: cover; }
.install-card > div { padding: 18px; }
.install-card h3 { margin-bottom: 6px; }
.install-card p { margin: 0; font-size: .9rem; }

.options { background: #090c10; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.option-card { background: white; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.option-card img { object-fit: contain; background: white; }
.option-card figcaption { background: #10151c; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.option-card figcaption span { color: var(--muted); }
.manufacturer-note { font-size: .78rem; margin-top: 16px; }

.service-area { background: linear-gradient(145deg, #0b1016, #111821); }
.service-area-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.county-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.county { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 10px; padding: 20px; font-weight: 800; }

.why { background: #090c10; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.lead { font-size: 1.08rem; }
.benefits { display: grid; gap: 12px; }
.benefit { border-top: 1px solid var(--line); padding: 18px 0; display: grid; gap: 5px; }
.benefit strong { font-size: 1.03rem; }
.benefit span { color: var(--muted); }

.cta { background: #0d1218; }
.cta-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; border: 1px solid rgba(17,136,239,.28); border-radius: 18px; padding: 42px; background: radial-gradient(circle at 15% 30%, rgba(17,136,239,.16), transparent 33%), #111821; }
.contact-buttons { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.email-text { color: var(--muted); text-align: center; font-size: .82rem; overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid var(--line); background: #06080b; padding: 38px 0; }
.footer-wrap { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 100px; height: 80px; object-fit: contain; }
.footer-brand p { margin: 2px 0; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: .9rem; color: var(--muted); }
.footer-contact a:hover { color: var(--blue-2); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 95vw); max-height: 90vh; object-fit: contain; width: auto; }
.lightbox-close { position: absolute; right: 22px; top: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: white; font-size: 2rem; line-height: 1; cursor: pointer; }

@media (max-width: 1040px) {
  .nav-links { position: absolute; left: 20px; right: 20px; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #0d1117; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-call { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo-card { display: none; }
  .hero { min-height: 690px; }
  .quick-contact-grid { grid-template-columns: 1fr; }
  .quick-contact-grid > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-contact-grid > *:last-child { border-bottom: 0; }
  .secondary-services { grid-template-columns: repeat(2, 1fr); }
  .install-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 26px, var(--max)); }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero { min-height: 650px; }
  .hero-media { background-position: 62% 50%; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,7,10,.96), rgba(5,7,10,.77)), linear-gradient(0deg, rgba(5,7,10,.8), transparent); }
  .hero-grid { padding: 68px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .service-grid-featured, .secondary-services, .makeover-grid, .service-area-box, .why-grid, .cta-box, .option-grid { grid-template-columns: 1fr; }
  .makeover-grid, .why-grid { gap: 26px; }
  .secondary-services { margin-top: 14px; }
  .photo-pair, .photo-triptych { grid-template-columns: 1fr; }
  .photo-pair img, .photo-triptych img { height: 440px; }
  .install-grid { grid-template-columns: 1fr; }
  .install-card img { height: 430px; }
  .county-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 28px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand img { width: 126px; height: 52px; }
  .nav-wrap { min-height: 72px; }
  .quick-contact-grid > * { padding: 19px 16px; }
  .service-card { padding: 22px; }
  .project-copy { padding: 24px 22px 8px; }
  .photo-pair img, .photo-triptych img, .install-card img { height: 360px; }
}

/* Inspection, venting and credentials additions */
.inspection-grid { grid-template-columns: repeat(2, 1fr); }
.inspection-grid .service-card .icon { margin-bottom: 24px; letter-spacing: .08em; }
.credentials { padding-top: 20px; }
.credential-box { align-items: center; }
.credential-list { display: grid; gap: 14px; }
.credential-item { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: rgba(255,255,255,.025); display: grid; gap: 5px; }
.credential-item span { color: var(--muted); font-size: .92rem; }
.credential-item strong { font-family: Oswald, sans-serif; font-size: 1.35rem; color: var(--blue-2); letter-spacing: .04em; }
@media (max-width: 760px) { .inspection-grid { grid-template-columns: 1fr; } }
