:root {
  --navy: #071d3d;
  --navy-2: #0a2e61;
  --blue: #0b3f82;
  --gold: #d9a51a;
  --gold-light: #f0c95a;
  --ink: #102039;
  --muted: #5c6877;
  --paper: #f6f7f9;
  --white: #ffffff;
  --line: #dfe4ea;
  --shadow: 0 22px 70px rgba(5, 26, 57, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; color: #fff; background: var(--navy); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(7, 29, 61, .08);
  backdrop-filter: blur(14px);
}
.nav-wrap { max-width: 1240px; height: 82px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 34px; }
.brand { width: 218px; margin-right: auto; }
.brand img { width: 100%; }
nav { display: flex; gap: 28px; align-items: center; }
nav a { text-decoration: none; font-size: .91rem; font-weight: 700; letter-spacing: .02em; }
nav a:hover, nav a:focus { color: var(--blue); }
.header-call { text-decoration: none; padding: 12px 18px; color: var(--white); background: var(--navy); font-size: .9rem; font-weight: 800; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px; background: var(--navy); }

.hero { position: relative; min-height: 700px; display: grid; align-items: center; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background: url("assets/roofing-project-2.webp") center 42% / cover no-repeat; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(4, 18, 40, .97) 0%, rgba(4, 24, 52, .88) 42%, rgba(6, 24, 49, .24) 77%, rgba(6, 24, 49, .08) 100%); }
.hero-content { position: relative; z-index: 2; width: min(1240px, calc(100% - 56px)); margin: 0 auto; padding: 84px 0 96px; }
.eyebrow { margin: 0 0 18px; color: var(--gold-light); font-size: .78rem; font-weight: 900; letter-spacing: .17em; }
.eyebrow.dark { color: var(--blue); }
h1, h2, h3 { margin-top: 0; line-height: 1.04; letter-spacing: -.035em; }
h1 { max-width: 750px; margin-bottom: 24px; font-size: clamp(3.5rem, 7vw, 6.7rem); font-weight: 850; }
h2 { margin-bottom: 22px; font-size: clamp(2.3rem, 4.2vw, 4.3rem); }
h3 { font-size: 1.55rem; }
.hero-copy { max-width: 650px; margin: 0 0 34px; color: #e2e8f0; font-size: clamp(1.08rem, 2vw, 1.27rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid transparent; text-decoration: none; cursor: pointer; font-weight: 850; }
.button-gold { color: #101d33; background: var(--gold); }
.button-gold:hover, .button-gold:focus { background: var(--gold-light); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.7); background: rgba(0,0,0,.08); }
.button-ghost:hover, .button-ghost:focus { background: var(--white); color: var(--navy); }
.service-area { margin: 26px 0 0; color: #d5dce5; font-size: .92rem; font-weight: 700; }
.service-area span { margin-right: 8px; color: var(--gold); }

.proof-strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); width: min(1120px, calc(100% - 56px)); margin: -48px auto 0; background: var(--white); box-shadow: var(--shadow); }
.proof-strip div { min-height: 96px; padding: 24px 30px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { color: var(--navy); font-size: .98rem; }
.proof-strip span { margin-top: 4px; color: var(--muted); font-size: .84rem; }

.section { max-width: 1240px; margin: 0 auto; padding: 128px 28px; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 54px; }
.section-heading h2 { margin: 0; color: var(--navy); }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 330px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); }
.service-card.featured { color: var(--white); background: var(--navy); border-color: var(--navy); }
.service-card.wide { grid-column: span 2; min-height: 260px; background: var(--paper); }
.service-card.image-card { grid-column: span 1; padding: 0; overflow: hidden; }
.image-card img { width: 100%; height: 210px; object-fit: cover; }
.image-card div { display: flex; min-height: 300px; padding: 28px 30px; flex-direction: column; }
.service-number { margin-bottom: auto; color: var(--gold); font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.service-card h3 { margin: 28px 0 12px; color: var(--navy); }
.service-card.featured h3 { color: var(--white); }
.service-card p { margin: 0 0 26px; color: var(--muted); }
.service-card.featured p { color: #ccd7e6; }
.service-card a { margin-top: auto; color: var(--blue); text-decoration: none; font-weight: 850; }
.service-card.featured a { color: var(--gold-light); }
.service-card a span { margin-left: 6px; }

.work { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 760px; color: var(--white); background: var(--navy); }
.work-copy { padding: 100px max(38px, calc((100vw - 1240px) / 2)); padding-right: 54px; display: flex; flex-direction: column; justify-content: center; }
.work-copy h2 { font-size: clamp(2.7rem, 4.6vw, 4.8rem); }
.work-copy > p:not(.eyebrow) { max-width: 480px; color: #cbd5e1; }
.text-link { margin-top: 28px; color: var(--gold-light); text-decoration: none; font-weight: 850; }
.text-link span { margin-left: 6px; }
.work-gallery { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8px; padding: 8px 8px 8px 0; }
.work-gallery figure { position: relative; min-height: 400px; margin: 0; overflow: hidden; }
.work-gallery img { width: 100%; height: 100%; object-fit: cover; }
.work-gallery figcaption { position: absolute; left: 20px; bottom: 20px; padding: 9px 12px; background: rgba(7,29,61,.88); font-size: .8rem; font-weight: 800; }

.about { position: relative; display: grid; grid-template-columns: .55fr 1.1fr .8fr; gap: 64px; align-items: center; overflow: hidden; }
.about-mark { color: #edf0f4; font-size: clamp(7rem, 15vw, 13rem); font-weight: 950; letter-spacing: -.1em; writing-mode: vertical-rl; transform: rotate(180deg); }
.about-copy h2 { color: var(--navy); font-size: clamp(2.2rem, 3.7vw, 3.7rem); }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; }
.about-list { border-top: 4px solid var(--gold); }
.about-list > p { color: var(--navy); font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.about-list ul { margin: 0; padding: 0; list-style: none; }
.about-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.about-list li span { color: var(--gold); font-size: .78rem; }

.experience { padding: 110px max(28px, calc((100vw - 1184px) / 2)); color: var(--white); background: #0a2e61; }
.experience-intro { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 70px; align-items: end; }
.experience-intro .eyebrow { grid-column: 1 / -1; }
.experience-intro h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.2rem); }
.experience-intro > div, .experience-intro > p:not(.eyebrow):not(.experience-note) { color: #d2ddec; font-size: 1.08rem; }
.experience-intro .experience-note { grid-column: 2; margin-top: 4px; color: #9fb0c7; font-size: .82rem; }
.experience-timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid rgba(255,255,255,.24); }
.experience-timeline article { padding: 30px 28px 24px 0; border-right: 1px solid rgba(255,255,255,.15); }
.experience-timeline article:not(:first-child) { padding-left: 28px; }
.experience-timeline article:last-child { border-right: 0; }
.experience-timeline span { color: var(--gold-light); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.experience-timeline h3 { margin: 16px 0 12px; color: var(--white); font-size: 1.3rem; line-height: 1.2; }
.experience-timeline p { margin: 0; color: #bfcde0; font-size: .93rem; }
.experience-clients { margin-top: 46px; padding: 30px; color: var(--navy); background: var(--white); }
.experience-clients > p { margin: 0 0 18px; color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.experience-clients div { display: flex; flex-wrap: wrap; gap: 10px; }
.experience-clients span { padding: 9px 12px; background: var(--paper); font-size: .86rem; font-weight: 800; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding: 110px max(28px, calc((100vw - 1184px) / 2)); color: var(--white); background: linear-gradient(135deg, #06152d 0%, #0a2f62 100%); }
.contact-intro > p:not(.eyebrow) { max-width: 500px; color: #cbd5e1; font-size: 1.05rem; }
.direct-contact { margin-top: 38px; }
.direct-contact a, .direct-contact div { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: var(--white); text-decoration: none; font-weight: 750; }
.direct-contact span { display: block; margin-bottom: 3px; color: var(--gold-light); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
form { padding: 36px; color: var(--ink); background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.2); }
label { display: block; margin-bottom: 17px; color: var(--navy); font-size: .82rem; font-weight: 850; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #cbd3dd; border-radius: 0; color: var(--ink); background: #fbfcfd; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(217,165,26,.28); border-color: var(--gold); }
form .button { width: 100%; border: 0; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }

footer { padding: 58px 28px 32px; text-align: center; background: #041126; color: #b9c5d4; }
.footer-brand { display: block; width: 250px; margin: 0 auto 18px; padding: 10px; background: var(--white); }
footer > p { margin: 8px 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin: 28px 0; }
.footer-links a { color: var(--white); text-decoration: none; font-weight: 700; }
.copyright { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }

@media (max-width: 980px) {
  .header-call { display: none; }
  .proof-strip { width: calc(100% - 36px); }
  .section-heading, .work, .contact { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.wide { grid-column: span 1; }
  .work-copy { padding: 90px 34px 55px; }
  .work-gallery { min-height: 600px; padding: 0 8px 8px; }
  .about { grid-template-columns: 1fr 1.5fr; }
  .about-mark { display: none; }
  .experience-intro { grid-template-columns: 1fr; gap: 18px; }
  .experience-intro .experience-note { grid-column: 1; }
  .contact { gap: 55px; padding: 90px 34px; }
}

@media (max-width: 720px) {
  .nav-wrap { height: 72px; padding: 0 18px; }
  .brand { width: 188px; }
  .menu-toggle { display: block; }
  nav { position: absolute; left: 0; right: 0; top: 72px; display: none; padding: 22px; flex-direction: column; align-items: stretch; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 18px 28px rgba(7,29,61,.13); }
  nav.open { display: flex; }
  nav a { padding: 7px 0; }
  .hero { min-height: 660px; }
  .hero-photo { background-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,18,40,.96), rgba(4,24,52,.65)); }
  .hero-content { width: calc(100% - 36px); padding: 74px 0 90px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.7rem); }
  .proof-strip { grid-template-columns: 1fr; margin-top: -32px; }
  .proof-strip div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 88px 18px; }
  .section-heading { gap: 18px; margin-bottom: 34px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .work-gallery { grid-template-columns: 1fr; min-height: 760px; }
  .work-gallery figure { min-height: 370px; }
  .about { grid-template-columns: 1fr; gap: 42px; }
  .experience { padding: 82px 18px; }
  .experience-timeline { grid-template-columns: 1fr; }
  .experience-timeline article, .experience-timeline article:not(:first-child) { padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .experience-clients { padding: 24px 18px; }
  .contact { padding: 82px 18px; }
  form { padding: 24px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
