@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Oswald:wght@400;500;600&display=swap");

:root {
  --navy: #133047;
  --blue: #1d5478;
  --sky: #e9f1f4;
  --text: #26353d;
  --muted: #65757c;
  --line: #d5dfe2;
  --white: #ffffff;
  --content-width: 1200px;
}

*, *::before { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font: 15px/1.65 Montserrat, Arial, sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

/* Header and drawer */
.header { position: sticky; top: 0; z-index: 20; background: var(--white); box-shadow: 0 2px 14px #0b2d3d18; }
.head-main { min-height: 72px; padding: 14px 6vw; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.site-title { display: flex; align-items: center; gap: 12px; color: var(--navy); font: 600 24px Oswald, Arial, sans-serif; letter-spacing: .08em; text-align: left; text-decoration: none; }
.menu-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 8px; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.menu-button svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.menu-icon-close { display: none; }
.menu-button[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-button[aria-expanded="true"] .menu-icon-close { display: block; }
.drawer { position: fixed; inset: 0 0 0 auto; z-index: 30; width: min(360px, 88vw); padding: 80px 36px 36px; background: var(--navy); transform: translateX(100%); transition: transform .25s ease; box-shadow: -8px 0 30px #0003; }
.drawer.is-open { transform: translateX(0); }
.drawer a { display: block; padding: 14px 0; border-bottom: 1px solid #ffffff33; color: var(--white); font: 500 18px Oswald, Arial, sans-serif; text-decoration: none; text-transform: uppercase; }
.drawer-group > span { display: block; padding: 14px 0 8px; color: var(--white); font: 500 18px Oswald, Arial, sans-serif; text-transform: uppercase; }
.drawer-subnav a { padding: 9px 0 9px 16px; border-bottom: 0; color: #c9d8dd; font: 400 14px Montserrat, Arial, sans-serif; text-transform: none; }
.drawer-close { position: absolute; top: 20px; right: 28px; border: 0; background: transparent; color: var(--white); font-size: 36px; cursor: pointer; }

/* Shared content */
.eyebrow { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.estimate { display: inline-flex; align-items: center; gap: 28px; padding: 12px 16px; border: 0; background: var(--blue); color: var(--white); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.estimate span { font-size: 17px; }
.hero { min-height: 510px; background: var(--sky); }
.hero > div:first-child { max-width: var(--content-width); margin: 0 auto; padding: 100px 8vw; }
.hero h1 { margin: 15px 0 22px; color: var(--navy); font: 500 clamp(42px, 5.1vw, 72px)/1.06 Oswald, Arial, sans-serif; text-transform: uppercase; }
.hero h1 strong { color: var(--blue); font-weight: 600; }
.hero p:not(.eyebrow) { max-width: 500px; color: var(--muted); font-size: 14px; }
.hero-photo { min-height: 330px; position: relative; background: #8da2a6; overflow: hidden; }
.hero-photo::before { content: ""; position: absolute; inset: 23% 10% 0; background: #e5e2d8; clip-path: polygon(0 28%, 50% 0, 100% 28%, 100% 100%, 0 100%); }
.hero-photo::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 18%; background: #6d8472; }
.hero-photo span { position: absolute; top: 13%; left: 10%; z-index: 1; max-width: 230px; color: var(--white); font: italic 23px Georgia, serif; }
.roof-photo::before { background: #cbd0c6; }
.storm-photo { background: #607786; }
.window-photo { background: #9bb6bd; }
.door-photo { background: #9e876e; }
.siding-photo { background: #93a1a0; }
.intro, .content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7vw; max-width: var(--content-width); margin: 0 auto; padding: 90px 8vw; }
.intro-image { min-height: 430px; display: grid; place-items: center; overflow: hidden; background: #f7f9f9; }
.intro-image img { width: min(82%, 420px); height: auto; }
.intro h2, .content h2 { margin: 0 0 22px; color: var(--navy); font: 500 clamp(33px, 4vw, 56px)/1.1 Oswald, Arial, sans-serif; text-transform: uppercase; }
.intro h2 em { color: var(--blue); font: italic 34px Georgia, serif; text-transform: none; }
.content > div { grid-column: 1; grid-row: 1; }
.content-kicker { grid-column: 2; grid-row: 1; align-self: start; padding-top: 10px; }
.landing-logo { display: block; width: min(300px, 70%); height: auto; margin: 0 0 30px; }
.intro p:not(.eyebrow), .content p { max-width: 760px; color: var(--muted); }
.services { padding: 85px 8vw; background: #f7f9f9; }
.section-head, .service-list { max-width: var(--content-width); margin-right: auto; margin-left: auto; }
.section-head { margin-bottom: 30px; }
.section-head h2 { margin: 0; color: var(--navy); font: 500 43px Oswald, Arial, sans-serif; text-transform: uppercase; }
.service-list { border-top: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 70px 1fr 30px; gap: 20px; align-items: center; padding: 24px 14px; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; transition: background-color .2s ease, padding-left .2s ease, padding-right .2s ease, box-shadow .2s ease; }
.service-list a:hover,
.service-list a:focus-visible { padding-left: 22px; padding-right: 22px; background: var(--white); box-shadow: 0 6px 18px #13304712; outline: none; }
.service-list b { color: var(--blue); font: 500 22px Oswald, Arial, sans-serif; }
.service-list strong { display: block; font: 500 22px Oswald, Arial, sans-serif; text-transform: uppercase; }
.service-list small { color: var(--muted); }
.service-list i { color: var(--blue); font-style: normal; font-size: 23px; transition: transform .2s ease, color .2s ease; }
.service-list a:hover b,
.service-list a:focus-visible b { color: var(--navy); }
.service-list a:hover i,
.service-list a:focus-visible i { color: var(--navy); transform: translate(5px, -3px); }
.quote { display: flex; align-items: center; justify-content: center; gap: 35px; padding: 90px 12vw; background: var(--navy); color: var(--white); text-align: center; }
.quote img { width: 100px; height: 100px; object-fit: cover; filter: grayscale(1); }
.quote div { max-width: 700px; }
.quote p { font: italic 29px/1.4 Georgia, serif; }
.quote small { color: #b9d0db; }

/* Contact and footer */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; padding: 90px 12vw; background: var(--sky); }
.contact h2 { color: var(--navy); font: 500 47px/1.05 Oswald, Arial, sans-serif; text-transform: uppercase; }
.contact-intro > p:not(.eyebrow) { max-width: 460px; color: var(--muted); }
.contact form { display: grid; gap: 13px; align-content: center; }
.contact label { color: var(--muted); font-size: 11px; font-weight: 600; }
.contact a, .footer-top a { color: inherit; text-decoration: none; border-bottom: 1px solid #8da2aa; }
.contact a:hover, .footer-top a:hover { color: var(--blue); border-bottom-color: var(--blue); }
footer { padding: 55px 12vw 20px; background: #0e2536; color: #dfe9ea; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.footer-top strong { font: 500 18px Oswald, Arial, sans-serif; text-transform: uppercase; }
.footer-top p { color: #aebfc4; font-size: 12px; }
.footer-top dl { display: grid; grid-template-columns: auto auto; gap: 3px 18px; margin: 12px 0; color: #aebfc4; font-size: 12px; }
.footer-top dt { color: var(--white); font-weight: 700; }
.footer-top dd { margin: 0; }
.license-credentials { color: #dfe9ea !important; font-size: 10px !important; letter-spacing: .08em; line-height: 1.7; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 35px; padding-top: 20px; border-top: 1px solid #315064; color: #91a7ae; font-size: 10px; }
.footer-bottom span { color: #b9d0db; }

@media (max-width: 700px) {
  .site-title { font-size: 16px; letter-spacing: .06em; }
  .head-main { min-height: 60px; padding: 14px 5vw; }
  .hero > div:first-child { padding: 70px 8vw; }
  .intro, .content, .contact { display: block; padding: 65px 8vw; }
  .intro > .eyebrow, .content > .eyebrow { margin-bottom: 30px; }
  .content > div, .content-kicker { grid-column: auto; grid-row: auto; }
  .content-kicker { margin-bottom: 30px; }
  .intro-image { min-height: 280px; margin-bottom: 42px; }
  .service-list a { grid-template-columns: 40px 1fr 20px; }
  .service-list strong { font-size: 18px; }
  .quote { display: block; padding: 70px 8vw; }
  .quote img { margin-bottom: 20px; }
  .contact form { margin-top: 45px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 10px; }
}
