:root {
  --blue: #150186;          /* the background colour of their current site and logo */
  --blue-deep: #0e0060;
  --blue-ink: #11016b;
  --accent: #b1391a;        /* clay tile red, from their photos; main button */
  --accent-dark: #902e14;
  --off: #faf9f6;
  --rule: rgba(0, 0, 0, .1);
  --text: #1f1e27;
  --muted: #5b5966;
  --white: #fff;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font: "Barlow", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: 1.02; margin: 0 0 .5em; color: var(--blue-ink); }
h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.15; }
h2.center { text-align: center; }
p { margin: 0 0 1em; }
b { font-weight: 600; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.fine { font-size: .9rem; color: var(--muted); }
.note { margin: 14px 0 0; }
.opt { font-weight: 400; color: var(--muted); text-transform: none; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.plain li:first-child { border-top: 1px solid var(--rule); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions--center { justify-content: center; }
.sechead { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 64px; align-items: end; margin-bottom: 36px; }
.sechead h2 { margin: 0; }
.sechead p { margin: 0; color: var(--muted); }

/* confirm tags for unverified facts */
.ph { display: inline-block; font: 600 .74rem/1.3 var(--font); text-transform: none; color: #6b5200; background: #fff4bf; border: 1px dashed #c9a400; border-radius: 2px; padding: 1px 6px; vertical-align: middle; white-space: nowrap; cursor: help; }

/* buttons: square, like the better contractor sites */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 0; font: 600 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn--primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--dark { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--dark:hover { background: var(--blue-deep); }
.btn--light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--blue); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn--block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
:focus-visible { outline: 3px solid #f0a46f; outline-offset: 2px; }

/* header, blue like their current site */
.header { position: sticky; top: 0; z-index: 50; background: var(--blue); color: var(--white); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand__mark { width: 58px; height: 31px; flex: none; }
.brand__name { font: 700 1.2rem/1 var(--head); text-transform: uppercase; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header__phone { display: flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font: 700 1.2rem/1 var(--head); }
.header__phone svg { width: 18px; height: 18px; fill: #f0a46f; }
.menubtn { display: none; }

/* hero: their roof photo under a blue-dark overlay, copy left, estimate form right */
.hero { position: relative; background: #0a0a2c; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(.75); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr 500px; gap: 64px; align-items: center; padding: 40px 0 56px; }
.hero__copy { max-width: 620px; padding-bottom: 24px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero__line { font-size: 1.12rem; line-height: 1.6; color: #e4e2f5; max-width: 560px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.lic { display: grid; gap: 2px; background: var(--white); color: var(--text); padding: 12px 16px; border-left: 4px solid var(--accent); }
.lic__num { font: 700 1.3rem/1 var(--head); text-transform: uppercase; color: var(--blue-ink); }
.lic__sub { font-size: .82rem; color: var(--muted); }
.hero__call { display: grid; text-decoration: none; color: var(--white); }
.hero__call-label { font-size: .82rem; color: #c9c5ea; }
.hero__call-num { font: 700 1.9rem/1 var(--head); }

/* estimate card */
.card { background: var(--white); color: var(--text); box-shadow: 0 20px 50px rgba(0, 0, 20, .35); }
.card__head { background: var(--blue); color: var(--white); padding: 18px 28px 16px; border-bottom: 3px solid var(--accent); }
.card__head h2 { color: var(--white); font-size: 1.7rem; margin: 0 0 4px; }
.card__head p { margin: 0; font-size: .92rem; color: #d8d5f0; }
.form, .summary { padding: 24px 28px 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 16px; }
.field { display: grid; gap: 5px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .8rem; text-transform: uppercase; }
input, select, textarea { font: inherit; font-size: .95rem; color: var(--text); width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #c7c5d0; border-radius: 0; background: var(--white); }
input::placeholder, textarea::placeholder { color: #9b99a6; }
select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2355535f' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 36px; }
textarea { min-height: 64px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 2px solid rgba(21,1,134,.2); outline-offset: 0; }
.field__err { display: none; margin: 0; color: #b3261e; font-size: .85rem; font-weight: 500; }
.field.is-invalid input, .field.is-invalid select { border-color: #b3261e; }
.field.is-invalid .field__err { display: block; }
.form__or { margin: 12px 0 0; text-align: center; font-size: .92rem; }
.form__or a { font-weight: 700; color: var(--accent); text-decoration: none; }
.form__fine { margin: 8px 0 0; text-align: center; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.summary h3 { margin-bottom: .3em; color: var(--blue); font-size: 1.5rem; }
.summary__text { white-space: pre-wrap; background: var(--off); border: 1px solid var(--rule); padding: 16px; font: .9rem/1.55 ui-monospace, Consolas, monospace; margin: 16px 0 20px; overflow-wrap: anywhere; }
.summary__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

/* trust row under the hero */
.trust { border-bottom: 1px solid var(--rule); background: var(--white); }
.trust__in { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.trust li { display: grid; gap: 2px; padding: 18px 20px; border-left: 1px solid var(--rule); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust b { font: 700 1.1rem/1.1 var(--head); text-transform: uppercase; color: var(--blue-ink); }
.trust span { font-size: .86rem; color: var(--muted); line-height: 1.4; }

/* sections: rules and white space, one off-white band for the gallery, one dark closing band */
.section { padding: 88px 0; }
.section--rule { border-top: 1px solid var(--rule); }
.section--band { background: var(--off); border-top: 1px solid var(--rule); }
.twocol { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.twocol__head p { color: var(--muted); }

/* two photo cards: what does your roof need */
.need { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.need__card { display: block; text-decoration: none; color: var(--white); background: var(--blue); }
.need__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.need__card:hover img { opacity: .9; }
.need__body { display: grid; gap: 10px; padding: 24px 28px 26px; }
.need__title { font: 700 2.1rem/1 var(--head); text-transform: uppercase; }
.need__line { color: #d8d5f0; font-size: 1rem; line-height: 1.5; }
.need__link { font-weight: 600; color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* services: copy left, photos right, then a four-column list */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split__copy p { color: var(--muted); }
.split__photos { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr auto; gap: 14px; }
.split__big { grid-row: 1 / 3; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.3; }
.split__small { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__tile { display: grid; align-content: center; gap: 4px; background: var(--accent); color: var(--white); text-decoration: none; padding: 20px 20px; }
.split__tile b { font: 700 1.6rem/1 var(--head); text-transform: uppercase; }
.split__tile span { font-size: .86rem; line-height: 1.4; color: #fbe6dd; }
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 40px; margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--rule); }
.svc dt { font: 700 1.25rem/1.1 var(--head); text-transform: uppercase; color: var(--blue-ink); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.svc dd { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* products */
.products { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.brands { width: 100%; border-collapse: collapse; }
.brands th, .brands td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.brands tr:first-child th, .brands tr:first-child td { border-top: 1px solid var(--rule); }
.brands th { width: 96px; font-weight: 600; color: var(--blue); }

/* about */
.about { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.about__photo { position: relative; margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about__photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--blue); color: var(--white); font: 700 1.1rem/1 var(--head); text-transform: uppercase; padding: 12px 18px; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts > div { border: 1px solid var(--rule); border-left: 4px solid var(--blue); padding: 14px 18px; }
.facts dt { font: 700 1.05rem/1.1 var(--head); text-transform: uppercase; color: var(--blue-ink); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* gallery: cards with the photo, a title and the job rows */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery li { background: var(--white); border: 1px solid var(--rule); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--off); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery button:hover img { opacity: .88; }
.gallery__body { padding: 16px 18px 14px; }
.gallery__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.gallery__body p { margin: 0; font-size: .88rem; color: var(--muted); padding: 5px 0; border-top: 1px solid var(--rule); }
.gallery__body b { color: var(--text); }
.gallery .is-extra { display: none; }
.gallery.show-all .is-extra { display: block; }
.gallery__more { display: flex; justify-content: center; margin: 32px 0 0; }
.gallery.show-all + .gallery__more { display: none; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 4, 30, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1000px, 92vw); }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; color: #e6e4f2; padding: 12px 2px 0; font-size: .95rem; }
.lightbox__count { color: #aaa7c4; white-space: nowrap; }
.lightbox__btn, .lightbox__close { position: fixed; background: rgba(255,255,255,.14); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 2rem; line-height: 1; width: 50px; height: 50px; }
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(255,255,255,.26); }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 16px; right: 16px; font-size: 1.8rem; }

/* service area: address and cities left, map right */
.area { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.area > div > p { color: var(--muted); }
.addr { font-style: normal; line-height: 1.6; margin: 24px 0 28px; padding: 18px 22px; border: 1px solid var(--rule); background: var(--off); }
.addr b { display: block; font: 700 1.15rem/1.1 var(--head); text-transform: uppercase; color: var(--blue-ink); margin-bottom: 6px; }
.addr a { text-decoration: none; font-weight: 600; }
.area h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cities { font-size: 1.05rem; line-height: 1.7; color: var(--text) !important; }
.map { border: 1px solid var(--rule); background: var(--off); min-height: 420px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* process: four numbered steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 2px solid var(--blue); padding-top: 18px; }
.steps__n { display: block; font: 700 2.4rem/1 var(--head); color: var(--accent); margin-bottom: 10px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* closing band */
.cta { position: relative; background: var(--blue-deep); color: var(--white); overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.cta__in { position: relative; padding: 96px 0; max-width: 760px; }
.cta h2 { color: var(--white); }
.cta p { color: #d8d5f0; font-size: 1.1rem; }

/* footer */
.footer { background: var(--blue-ink); color: #cfcbea; padding: 56px 0 22px; font-size: .95rem; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font: 700 1.3rem/1 var(--head); text-transform: uppercase; color: var(--white); }
.footer__brand svg { width: 48px; height: 26px; }
.footer__contact { line-height: 1.7; }
.footer .plain li { border: 0; padding: 4px 0; }
.hours { border: 1px solid rgba(255,255,255,.2); padding: 14px 16px; max-width: 340px; }
.hours b { display: block; font: 700 1rem/1 var(--head); text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.hours p { margin: 0; }
.creds { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.creds li { display: grid; gap: 2px; border: 1px solid rgba(255,255,255,.2); padding: 12px 16px; }
.creds b { font: 700 1rem/1.1 var(--head); text-transform: uppercase; color: var(--white); }
.creds span { font-size: .82rem; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.2); margin-top: 28px; padding-top: 18px; font-size: .85rem; color: #aaa5d6; }
.footer__base p { margin: 0; }

.mobilebar { display: none; }

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: .92rem; }
  .hero__in { grid-template-columns: 1fr 440px; gap: 40px; }
  .trust__in { grid-template-columns: repeat(3, 1fr); }
  .trust li:nth-child(4) { border-left: 0; padding-left: 0; }
  .svc { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header__in { gap: 16px; min-height: 64px; }
  .header__phone span, .header__cta { display: none; }
  .header__phone { width: 44px; height: 44px; justify-content: center; }
  .header__phone svg { width: 22px; height: 22px; }
  .menubtn { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; }
  .menubtn span { display: block; width: 24px; height: 2px; background: var(--white); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--blue-deep); padding: 8px 24px 16px; border-top: 1px solid rgba(255,255,255,.15); }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero__in { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 56px; }
  .hero__copy { padding-bottom: 0; }
  .trust__in { grid-template-columns: 1fr 1fr; }
  .trust li { padding: 14px 16px; }
  .trust li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(4) { border-left: 1px solid var(--rule); padding-left: 16px; }
  .sechead, .twocol, .split, .about, .area { grid-template-columns: 1fr; gap: 28px; }
  .sechead { margin-bottom: 28px; }
  .need { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__co { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .wrap { width: calc(100% - 32px); }
  .brand__mark { width: 46px; height: 25px; }
  .brand__name { font-size: 1rem; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.9rem; }
  .hero__bg { opacity: .42; }
  .hero__in { padding: 36px 0 44px; }
  .hero__line { font-size: 1.02rem; }
  .hero__proof { gap: 20px; margin-top: 28px; }
  .card__head { padding: 18px 18px 16px; }
  .card__head h2 { font-size: 1.5rem; }
  .form, .summary { padding: 18px 18px 18px; }
  .form__grid { grid-template-columns: 1fr; gap: 12px; }
  .summary__actions .btn { width: 100%; }
  .trust__in { grid-template-columns: 1fr; }
  .trust li { border-left: 0; padding: 12px 0; border-top: 1px solid var(--rule); }
  .trust li:first-child { border-top: 0; }
  .trust li:nth-child(4) { border-left: 0; padding-left: 0; }
  .section { padding: 56px 0; }
  .need__body { padding: 18px 18px 22px; }
  .need__title { font-size: 1.8rem; }
  .split__photos { grid-template-columns: 1fr 1fr; }
  .split__big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .svc { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; padding-top: 32px; }
  .products { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .cta__in { padding: 64px 0; }
  .actions .btn { width: 100%; }
  .map { min-height: 300px; }
  .map iframe { min-height: 300px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .creds { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; gap: 6px; }
  .lightbox__btn { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 62px); }
  .lightbox__next { right: calc(50% - 62px); }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--rule); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobilebar a { display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 600; text-decoration: none; }
  .mobilebar__call { border: 2px solid var(--blue); color: var(--blue); }
  .mobilebar__quote { background: var(--accent); color: var(--white); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 2026-11-07 audit: their photos are 960 px, too small to stretch behind the hero or the
   closing band, so both sit on the flat blue of their current site instead. */
.hero { background: var(--blue-deep); border-top: 1px solid rgba(255, 255, 255, .12); }
