/* Widescreen photography and a floating, scroll-responsive navigation. */
body { font-family: 'Manrope', Arial, sans-serif; }
h1, h2, h3, h4 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: clamp(2.6rem,4.7vw,4.3rem); }
h3 { font-size: 1.65rem; }
.brand, .button, .badge, .eyebrow, .primary-nav, .utility-bar, .fit-label, .article-meta { font-family: 'Manrope', Arial, sans-serif; }
.brand { letter-spacing: -.045em; }
.utility-bar { display: none; }
body:not(.home-page) { padding-top: 104px; }
.site-header { position: fixed; inset: 20px 24px auto; width: auto; min-height: 0; border: 1px solid #dce5df; border-radius: 8px; background: #ffffffed; box-shadow: 0 6px 28px #06242112; backdrop-filter: blur(18px); transition: background 220ms ease, top 220ms ease, box-shadow 220ms ease; }
.site-header .container { width: calc(100% - 2.5rem); max-width: 1440px; }
.header-inner { min-height: 76px; transition: min-height 220ms ease; }
.home-page .site-header:not(.is-scrolled):not(.nav-expanded) { background: #092a244d; border-color: #ffffff45; box-shadow: none; }
.home-page .site-header:not(.is-scrolled):not(.nav-expanded) .brand,
.home-page .site-header:not(.is-scrolled):not(.nav-expanded) .primary-nav > a:not(.button) { color: #fff; }
.home-page .site-header:not(.is-scrolled):not(.nav-expanded) .menu-button span { background: #fff; }
.home-page .site-header:not(.is-scrolled):not(.nav-expanded) .menu-button { border-color: #ffffff70; background: transparent; }
.site-header .button-primary { background: #d8ec7b; border-color: #d8ec7b; color: #102c2b; }
.site-header .button-primary:hover { background: #e8f6ad; }
.site-header.is-scrolled { top: 10px; box-shadow: 0 8px 32px #06242126; }
.site-header.is-scrolled .header-inner { min-height: 64px; }
.primary-nav > a:not(.button)::after { background: currentColor; }
.contractor-hero { display: flex; align-items: center; position: relative; isolation: isolate; min-height: 820px; min-height: max(760px, 100svh); overflow: hidden; background: #102c2b; }
.contractor-hero-photo { position: absolute; inset: 0; min-height: 0; z-index: -2; }
.contractor-hero-photo > img { object-position: center 58%; }
.contractor-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center,rgba(4,25,22,.78),rgba(4,25,22,.38)),linear-gradient(0deg,rgba(4,25,22,.5),transparent 50%); }
.contractor-hero-copy { width: min(100% - 4rem,1240px); padding: 155px 0 120px; margin-inline: auto; text-align: center; }
.contractor-hero h1 { font-size: clamp(5rem,8.7vw,9rem); text-transform: uppercase; max-width: none; text-wrap: initial; line-height: .9; letter-spacing: -.018em; margin-bottom: 1.8rem; }
.contractor-hero h1 span { color: #e5f6aa; }
.contractor-hero-copy .eyebrow { color: #e5f6aa; font-size: .72rem; margin-bottom: 1.6rem; }
.contractor-hero-copy > p { max-width: 54ch; margin-inline: auto; font-size: 1.05rem; line-height: 1.85; color: #fff; }
.contractor-hero .hero-actions { flex-direction: row; justify-content: center; align-items: center; margin-top: 2rem; }
.contractor-hero .button { min-height: 56px; }
.hero-bottom-note { margin-top: 2rem; margin-inline: auto; justify-content: center; color: #e8eee9; max-width: 48ch; }
.hero-photo-note { position: absolute; bottom: 30px; right: 32px; color: #fff; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; display: flex; gap: 1.5rem; align-items: center; }
.hero-photo-note a { color: #fff; text-underline-offset: 6px; }
.scroll-cue { position: absolute; bottom: 27px; left: max(2rem,calc((100vw - 1240px)/2)); display: flex; gap: .8rem; align-items: center; color: #fff; text-decoration: none; font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; }
.scroll-cue span { display: grid; place-items: center; border: 1px solid #ffffff60; width: 32px; height: 44px; border-radius: 20px; font-size: 1.1rem; animation: cue-bob 2.4s ease-in-out infinite; }
.page-hero h1 { font-size: clamp(3rem,5.6vw,5.4rem); line-height: .98; }
.project-type-grid h3 { font-size: 2rem; }
.process-section .step h3, .fit-panel h3 { font-size: 1.8rem; }
.cta-shell h2 { font-size: clamp(3rem,5.5vw,5rem); max-width: 20ch; }
.landing-hero h1 { font-size: clamp(3rem,5.5vw,5rem); }
body:has(.landing-header) { padding-top: 0; }
.home-page .contractor-hero-copy > * { animation: hero-enter 850ms cubic-bezier(.2,.7,.2,1) both; }
.home-page .contractor-hero-copy > :nth-child(2) { animation-delay: 90ms; }
.home-page .contractor-hero-copy > :nth-child(3) { animation-delay: 180ms; }
.home-page .contractor-hero-copy > :nth-child(4) { animation-delay: 260ms; }
.home-page .contractor-hero-copy > :nth-child(5) { animation-delay: 320ms; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes cue-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (min-width: 901px) {
  .contractor-hero-photo > img { animation: hero-image-enter 1400ms ease-out both; }
  @keyframes hero-image-enter { from { transform: scale(1.035); } to { transform: scale(1); } }
}
@media (max-width: 1100px) {
  .primary-nav { gap: .8rem; }
  .primary-nav > a:not(.button) { font-size: .77rem; }
  .site-header .button { font-size: .76rem; padding-inline: 1rem; }
}
@media (max-width: 900px) {
  .site-header { inset: 12px 16px auto; }
  .header-inner { min-height: 66px; }
  .site-header .container { width: calc(100% - 2rem); }
  .primary-nav { background: transparent; border: 0; border-radius: 0; padding: 0; }
  .site-header.nav-expanded { background: #fff; }
  .site-header.nav-expanded .primary-nav > a:not(.button) { color: #102c2b; font-size: .95rem; }
  .site-header.nav-expanded .menu-button span { background: #102c2b; }
  .contractor-hero-copy { padding-top: 140px; }
  .contractor-hero-photo { aspect-ratio: auto; }
  .contractor-hero h1 { font-size: clamp(5rem,11vw,7rem); }
  .hero-photo-note { right: 24px; bottom: 33px; }
}
@media (max-width: 680px) {
  body:not(.home-page):not(:has(.landing-header)) { padding-top: 90px; }
  .site-header { inset: 10px 12px auto; }
  .site-header .container { width: calc(100% - 1.5rem); }
  .header-inner, .site-header.is-scrolled .header-inner { min-height: 62px; }
  .brand { font-size: .94rem; }
  .brand img { width: 34px; height: 34px; }
  .contractor-hero { min-height: max(740px,100svh); }
  .contractor-hero-copy { width: calc(100% - 2.5rem); padding: 125px 0 130px; }
  .contractor-hero h1 { font-size: clamp(4.4rem,16vw,6.2rem); }
  .contractor-hero-copy > p { font-size: .93rem; max-width: 36ch; }
  .contractor-hero-copy .eyebrow { font-size: .62rem; }
  .contractor-hero-photo > img { object-position: 61% center; }
  .contractor-hero::after { background: linear-gradient(#061e1bbf,#061e1b99),linear-gradient(0deg,#061e1b80,transparent); }
  .contractor-hero .hero-actions { gap: 1.25rem; }
  .contractor-hero .hero-actions .button { width: auto; }
  .hero-bottom-note { font-size: .7rem; line-height: 1.6; }
  .scroll-cue { bottom: 38px; left: 1.25rem; font-size: .58rem; }
  .hero-photo-note { right: 1.25rem; bottom: 48px; font-size: .58rem; }
  .hero-photo-note > span { display: none; }
  .page-hero h1 { font-size: 3.1rem; }
  .project-type-grid h3 { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .contractor-hero-copy > *, .contractor-hero-photo > img, .scroll-cue span { animation: none !important; }
  .site-header, .header-inner { transition: none; }
}
