:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --white: #fffefb;
  --ink: #1d2722;
  --muted: #526057;
  --forest: #192820;
  --forest-deep: #121e18;
  --gold: #e6bd80;
  --line: #d7dcd2;
  --gutter: clamp(1.25rem, 5.2vw, 5.75rem);
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.6; }
:focus-visible { outline: .16rem solid #ab661a; outline-offset: .25rem; }
.hero :focus-visible, .estimate :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
.wrap { width: min(100% - var(--gutter) * 2, 82rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7.25vw, 7rem); }
.skip { position: fixed; inset: 1rem auto auto 1rem; z-index: 10; padding: .7rem 1rem; transform: translateY(-200%); background: var(--white); }
.skip:focus { transform: none; }

.header { background: var(--paper); position: relative; z-index: 2; }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 2.5rem; height: 2.5rem; padding: .52rem .46rem; display: flex; gap: .17rem; align-items: end; justify-content: center; background: var(--forest); color: var(--gold); }
.brand-mark i { width: .36rem; height: 64%; display: block; background: currentColor; }
.brand-mark i:nth-child(2) { height: 100%; }
.brand-mark i:nth-child(3) { height: 80%; }
.brand-copy { display: grid; gap: .08rem; line-height: 1.12; }
.brand-copy b { font-size: 1.18rem; letter-spacing: -.035em; }
.brand-copy small { font-size: .76rem; letter-spacing: .08em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(.8rem, 1.65vw, 2rem); }
.nav a, .header-phone { text-decoration: none; white-space: nowrap; font-size: .94rem; font-weight: 600; }
.nav .nav-concrete { color: var(--forest); }
.nav a:hover, .nav [aria-current="page"], .header-phone:hover { text-decoration: underline; text-underline-offset: .3rem; }
.header-phone { padding: .7rem .9rem; border: 1px solid #bdc8bc; }
.menu-toggle { display: none; background: transparent; color: var(--ink); border: 1px solid #bdc8bc; min-height: 2.75rem; padding: .35rem .8rem; }

.hero { display: grid; align-items: center; isolation: isolate; position: relative; min-height: clamp(37rem, 48vw, 49rem); overflow: hidden; color: var(--white); background: var(--forest); }
.service-hero { min-height: clamp(32rem, 43vw, 43rem); }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { z-index: -2; object-fit: cover; object-position: center; }
.hero::after { content: ''; background: linear-gradient(90deg, #101c17ed 0%, #101c17c2 27%, #101c175e 56%, #101c170a 85%), linear-gradient(0deg, #101c1766 0%, transparent 27%); }
.hero-inner { padding-block: clamp(5rem, 8.6vw, 9rem); }
.eyebrow { color: #44584a; text-transform: uppercase; font-weight: 700; font-size: .86rem; letter-spacing: .13em; line-height: 1.5; margin-bottom: .95rem; }
.hero-eyebrow, .estimate .eyebrow { color: var(--gold); }
.hero-eyebrow { display: flex; gap: .75rem; align-items: center; margin-bottom: 1.35rem; }
.hero-eyebrow::before { content: ''; width: 1.8rem; height: 1px; background: currentColor; flex-shrink: 0; }
h1 { font-size: clamp(3.1rem, 6.15vw, 6.35rem); letter-spacing: -.061em; line-height: .98; font-weight: 720; }
.hero-description { max-width: 30rem; margin-top: 1.5rem; color: #fffdf4; font-size: clamp(1.08rem, 1.6vw, 1.24rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; padding: .76rem 1.25rem; border: 1px solid transparent; text-decoration: none; font-weight: 700; text-align: center; transition: background-color 150ms, border-color 150ms; }
.button-gold { background: var(--gold); color: #212719; }
.button-gold:hover { background: #f0cc97; }
.button-glass { color: var(--white); background: #15231d67; border-color: #f6f4ef78; }
.button-glass:hover { background: #1a2a21dc; border-color: #f6f4ef; }
.mobile-call { display: none; }
.hero-credit { position: absolute; inset: auto 0 1.1rem; display: flex; justify-content: flex-end; }
.hero-credit span { background: #16221ccf; padding: .35rem .65rem; font-size: .8rem; }

h2 { font-size: clamp(2.38rem, 4.35vw, 4.25rem); font-weight: 710; line-height: 1.02; letter-spacing: -.053em; }
h3, .faq h2 { font-size: clamp(1.24rem, 1.95vw, 1.7rem); font-weight: 690; letter-spacing: -.025em; line-height: 1.15; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
.section-intro { max-width: 24rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.85vw, 1.65rem); }
.service { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.service figure { overflow: hidden; background: #cfc7ba; aspect-ratio: 1.45; }
.service img { width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.service:first-child img { object-position: center 60%; }
.service-copy { padding: clamp(1.15rem, 2.1vw, 2rem); display: flex; align-items: start; flex-direction: column; gap: .75rem; flex: 1; }
.service-copy p { color: var(--muted); margin-bottom: .3rem; }
.text-link { text-underline-offset: .3rem; text-decoration-thickness: 1px; font-weight: 660; }
.text-link:hover { text-decoration-thickness: 2px; }
.service-link { margin-top: auto; }

.services + .photo-gallery, .photo-gallery + .photo-gallery { padding-top: 0; }
.photo-slider { max-width: 52rem; }
.photo-slider-stage { position: relative; isolation: isolate; aspect-ratio: 4 / 3; background: #e8ece4; }
.photo-slide { position: absolute; inset: 0; }
.photo-slide:not([aria-hidden="true"]) { z-index: 1; }
.photo-slide img { width: 100%; height: 100%; object-fit: contain; }
.photo-slide figcaption {
  position: absolute;
  inset: .75rem .75rem auto;
  width: fit-content;
  padding: .4rem .65rem;
  background: var(--forest-deep);
  color: var(--white);
  font-size: .875rem;
  line-height: 1.4;
}
.photo-slide figcaption b { color: var(--gold); }
.photo-slider-arrow {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--white);
  background: var(--forest-deep);
  color: var(--white);
}
.photo-slider-arrow:hover { background: var(--forest); }
.photo-slider-arrow:focus-visible { outline-color: var(--gold); }
.photo-slider-arrow::after {
  content: '';
  width: .55rem;
  height: .55rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.photo-slider-prev { left: .75rem; }
.photo-slider-prev::after { transform: translateX(20%) rotate(-135deg); }
.photo-slider-next { right: .75rem; }
.photo-slider-next::after { transform: translateX(-20%) rotate(45deg); }
.photo-slider-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1rem; margin-top: .4rem; }
.photo-slider-footer p { color: var(--muted); font-size: .95rem; font-weight: 600; }
.photo-slider-playback {
  min-height: 2.75rem;
  padding: 0 .35rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.photo-gallery-action { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.25rem; margin-top: 1.5rem; }
.photo-gallery-action p { max-width: 35rem; color: var(--muted); }

.insulation-video {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  padding: clamp(.875rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: #e8ece4;
}
.insulation-video-heading { grid-column: 1 / -1; }
.insulation-video-heading p { color: var(--muted); font-size: .875rem; font-weight: 650; }
.insulation-video-heading h3 { margin-top: .3rem; font-size: clamp(1.3rem, 2.5vw, 1.9rem); line-height: 1.2; }
.insulation-video video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--forest); }
.insulation-video-copy { display: grid; justify-items: start; gap: .9rem; max-width: 34rem; }
.insulation-video-copy .button { text-align: center; }

.process { background: #e8ece4; }
.process-grid, .info-grid, .estimate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.process-intro > p:last-child, .areas > p:nth-of-type(2), .estimate-intro > p:nth-of-type(2) { margin-top: 1.25rem; max-width: 30rem; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid #bac7ba; }
.steps li { border-bottom: 1px solid #bac7ba; display: grid; grid-template-columns: 2.6rem 1fr; gap: .6rem; padding: 1.3rem 0; }
.steps li > span { color: #526458; padding-top: .1rem; font-weight: 680; font-size: .91rem; font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); margin-top: .45rem; }

.area-list { display: flex; flex-wrap: wrap; list-style: none; margin: 1.5rem 0 0; padding: 0; gap: .6rem; }
.area-link { display: block; text-decoration: none; font-weight: 650; border: 1px solid #bcc8bc; padding: .65rem .85rem; }
.area-link:hover { background: #e4eadd; }
.service-faq { max-width: 46rem; }
.faq h2, .faq h3 { margin-bottom: .95rem; }
.faq details { border-top: 1px solid #c9d1c8; }
.faq details:last-child { border-bottom: 1px solid #c9d1c8; }
.faq summary { padding: 1rem 2rem 1rem 0; font-weight: 650; list-style: none; cursor: pointer; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; inset: .65rem .2rem auto auto; font-weight: 400; font-size: 1.45rem; color: #546859; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 1rem 1rem 0; color: var(--muted); }

.estimate { background: var(--forest); color: var(--white); }
.estimate-intro > p:nth-of-type(2) { color: #d7dfd7; }
.contacts { display: grid; gap: .42rem; justify-items: start; margin-top: 1.58rem; }
.contact-tel { font-size: clamp(1.45rem, 2.15vw, 2rem); font-weight: 700; letter-spacing: -.025em; text-decoration: none; }
.contact-tel:hover { text-decoration: underline; text-underline-offset: .25rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: .15rem 1.35rem; color: var(--gold); }
.contact-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.channel-link { margin-top: .65rem; }
.estimate-form { background: #25372c; border: 1px solid #516455; padding: clamp(1rem, 2.6vw, 2rem); display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.estimate-form label { min-width: 0; display: block; font-weight: 600; font-size: .95rem; }
.optional { color: #d5dfd4; font-size: .84rem; font-weight: 400; white-space: nowrap; }
.estimate-form input[type="number"], .estimate-form select { display: block; width: 100%; min-height: 3.02rem; margin-top: .4rem; border: 1px solid #809284; background-color: var(--white); color: var(--ink); padding: .55rem .75rem; border-radius: 0; }
.estimate-form select { appearance: none; padding-right: 1.9rem; background-image: linear-gradient(45deg, transparent 50%, #44584a 50%), linear-gradient(135deg, #44584a 50%, transparent 50%); background-position: calc(100% - 1.02rem) 52%, calc(100% - .7rem) 52%; background-size: .34rem .34rem; background-repeat: no-repeat; }
.estimate-form input::placeholder { color: #59635a; }
.measurement { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.measurement legend { padding: 0; margin-bottom: .45rem; font-weight: 600; font-size: .95rem; }
.measurement-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-bottom: .75rem; }
.measurement-choices label { position: relative; cursor: pointer; }
.measurement-choices input { position: absolute; opacity: 0; }
.measurement-choices span { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .4rem .25rem; text-align: center; border: 1px solid #809284; }
.measurement-choices input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.measurement-choices input:focus-visible + span { outline: .16rem solid var(--gold); outline-offset: .15rem; }
.estimate-form button { justify-self: start; }
.footer { background: var(--forest-deep); color: var(--white); }
.footer-inner { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; min-height: 6rem; }
.footer .brand-mark { background: #29382f; }
.footer .brand-copy small, .footer p { color: #cbd9ce; }
.footer-meta { display: grid; justify-items: end; gap: .3rem; font-size: .92rem; }
.footer-meta a { color: var(--gold); }

@media (max-width: 1060px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
  .header-inner { min-height: 4.3rem; flex-wrap: wrap; gap: 0 .7rem; }
  .header-phone { margin-left: auto; order: 1; }
  .menu-toggle { margin-left: auto; display: block; order: 2; }
  .nav { order: 3; width: 100%; flex-wrap: wrap; gap: .45rem 1.15rem; padding-bottom: .9rem; }
  .header:has(.menu-toggle:not([hidden])) .nav:not(.nav-open) { display: none; }
  .nav a { padding-block: .45rem; }
}

@media (max-width: 820px) {
  .insulation-video { grid-template-columns: minmax(0, 1fr); }
  .process-grid, .info-grid, .estimate-grid { gap: 2rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .8rem; }
  .desktop-break { display: none; }
  .hero-image { object-position: 61% center; }
  .hero::after { background: linear-gradient(90deg, #101c17e5 0%, #101c17b3 48%, #101c1733 100%), linear-gradient(0deg, #101c1766 0%, transparent 35%); }
  .hero h1 { max-width: 38rem; }
}

@media (max-width: 650px) {
  .header-phone { display: none; }
  .brand-copy b { font-size: 1.08rem; }
  .brand-mark { width: 2.3rem; height: 2.3rem; }
  .hero { min-height: 37rem; }
  .hero-inner { padding-block: 4.85rem 5.2rem; }
  .hero-image { object-position: 66% center; }
  .hero::after { background: linear-gradient(90deg, #101c17d9 0%, #101c1780 100%), linear-gradient(0deg, #101c1780, transparent 31%); }
  h1 { font-size: clamp(2.55rem, 10.2vw, 4rem); }
  .hero-eyebrow { font-size: .76rem; letter-spacing: .055em; gap: .45rem; }
  .hero-eyebrow::before { width: .95rem; }
  .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 23rem); }
  .actions .button { padding-inline: .65rem; }
  .hero-estimate { grid-column: 1 / -1; }
  .mobile-call { display: inline-block; margin-top: 1.25rem; }
  .section-heading { margin-bottom: 1.45rem; }
  .photo-gallery-action .button { width: 100%; }
  .insulation-video .button { width: 100%; }
  .service-grid, .process-grid, .info-grid, .estimate-grid { grid-template-columns: 1fr; }
  .service figure { aspect-ratio: 1.6; }
  .form-row { grid-template-columns: 1fr; }
  .estimate-form button { justify-self: stretch; }
  .footer-inner { flex-direction: column; align-items: start; gap: 1rem; padding-block: 1.25rem; }
  .footer-meta { justify-items: start; }
}

@media (max-width: 650px) and (max-height: 680px) {
  .hero { min-height: min(37rem, calc(100svh - 4.3rem)); }
  .hero-inner { padding-block: 2rem 3.65rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3.35rem); }
  .hero-eyebrow { margin-bottom: .9rem; }
  .hero-description { margin-top: .9rem; font-size: 1rem; }
  .actions { margin-top: 1.2rem; }
  .mobile-call { margin-top: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
