/*
Theme Name: Schreder & Brandt
Description: Custom theme for schrederandbrandt.com (Home, Projects, About Us, Contact Us).
Version: 1.99
Author: Logicly
Text Domain: sb-theme
*/

html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; }
a { color: #205B33; }
a:hover { color: #1F2A25; }
img { max-width: 100%; }
h1, p, a, span, li, nav, label, input, select, textarea, button { font-family: 'Poppins', Arial, sans-serif; }
h2, h3 { font-family: 'Archivo', Arial, sans-serif; }
.sb-page { font-family: 'Archivo', Arial, sans-serif; color: #1F2A25; width: 100%; overflow-x: clip; line-height: 1.55; }
main { display: block; }

/* Header */
.sb-hdr { position: relative; z-index: 50; background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 22%, #1D4C18 94%); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.sb-hdr-in { margin: 0 auto; padding: 16px 36px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.sb-hdr-logo { display: flex; align-items: center; }
.sb-hdr-logo img { height: 48px; width: auto; display: block; }
.sb-hdr nav { display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: center; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.sb-hdr nav a { text-decoration: none; color: #FFFFFF; border-bottom: 3px solid transparent; padding: 6px 0 3px; }
.sb-hdr nav a:hover, .sb-hdr nav a[aria-current="page"] { border-bottom-color: #FFFFFF; color: #FFFFFF; }

/* Keep the header at the top while scrolling */
.sb-hdr { position: sticky !important; top: 0 !important; z-index: 1000; }
.admin-bar .sb-hdr { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .sb-hdr { top: 46px !important; } }

/* Green call-to-action strip */
.sb-bid { position: relative; z-index: 2; background: #205B33; color: #FFFFFF; }
.sb-bid-in { margin: 0 auto; padding: 36px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: center; text-align: center; }
.sb-bid p { margin: 0; font-size: 22px; line-height: 1.4; color: #FFFFFF; }
.sb-bid a { text-decoration: none; background: #FFFFFF; color: #205B33; font-size: 17px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 10px 34px; white-space: nowrap; }
.sb-bid a:hover { background: #E9EDE9; color: #205B33; }

/* Footer */
#footer { position: relative; z-index: 2; background: #E9EDE9; color: #205B33; border-top: 6px solid #205B33; }
.sb-foot-in { margin: 0 auto; padding: 40px 36px 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.sb-foot-brand { display: flex; flex-direction: column; gap: 5px; padding-left: 25px; }
.sb-foot-brand img { width: 141px; height: 36px; display: block; }
.sb-foot-brand span { border-top: 2.5px solid #205B33; padding-top: 6px; width: 360px; max-width: 100%; }
.sb-foot-brand span { font-size: 13px; color: #205B33; }
.sb-foot-phones { display: flex; flex-wrap: wrap; gap: 6px 32px; }
.sb-foot-phones span { font-size: 17px; white-space: nowrap; color: #205B33; }
.sb-foot-phones a { color: #205B33; }

/* Contact form */
.sb-notice { margin: 0 0 24px; padding: 16px 20px; font-size: 18px; border-left: 6px solid #205B33; background: #F4F6F4; color: #1F2A25; }
.sb-notice.err { border-left-color: #A33; }
#bid-form { position: relative; }
#bid-form button:hover { background: #1F2A25 !important; }

/* Fixed-width pieces of the design that must flex below full desktop width */
#where > div[style*="width: 1368px"] { width: 100% !important; max-width: 1368px; margin-left: auto; margin-right: auto; }

@media (max-width: 1240px) {
  #photo-band > div > div[style*="width: 720px"] { width: auto !important; left: 40px; right: 40px !important; top: 40px !important; }
  #photo-band p { width: auto !important; left: 0 !important; height: auto !important; font-size: 24px !important; }
  #top > div[style*="width: 794px"] { width: auto !important; left: 24px; right: 24px !important; height: auto !important; bottom: 24px !important; }
  #top h1 { white-space: normal !important; }
}

@media (max-width: 900px) {
  /* stack every two- and three-column grid */
  .sb-page [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
  .sb-page [style*="grid-column: 1 / -1"] { grid-column: auto !important; }
  .sb-page [style*="padding: 80px 36px"] { padding: 48px 20px !important; }
  .sb-page h2 { font-size: 40px !important; margin-bottom: 28px !important; }
  .sb-page h3 { font-size: 32px !important; }
  .sb-page p, .sb-page li { font-size: 17px !important; text-align: left !important; }
  .sb-page [style*="font-size: 32px"], .sb-page [style*="font-size: 29px"] { font-size: 20px !important; }
  .sb-page [style*="min-height: 720px"], .sb-page [style*="min-height: 620px"], .sb-page [style*="min-height: 640px"] { min-height: 340px !important; }
  .sb-page [style*="min-height: 520px"], .sb-page [style*="min-height: 600px"], .sb-page [style*="min-height: 460px"], .sb-page [style*="min-height: 420px"] { min-height: 300px !important; }
  .sb-page [style*="white-space: nowrap"] { white-space: normal !important; }

  /* header: white bar, green links */
  .sb-hdr { background: #FFFFFF; border-bottom: 4px solid #205B33; }
  .sb-hdr-in { padding: 12px 20px; justify-content: center; }
  .sb-hdr nav { gap: 6px 20px; font-size: 13px; justify-content: center; }
  .sb-hdr nav a { color: #205B33; }
  .sb-hdr nav a:hover, .sb-hdr nav a[aria-current="page"] { color: #205B33; border-bottom-color: #205B33; }

  /* hero */
  #top > img { height: 460px !important; }
  #top > div[style*="width: 794px"] { left: 16px; right: 16px !important; bottom: 16px !important; align-items: flex-end !important; }
  #top > div > img { width: 240px !important; height: auto !important; }
  #top .sb-tag { height: auto !important; border: 0 !important; gap: 8px !important; }
  #top .sb-tag > div { height: 4px !important; }
  #top h1 { font-size: 15px !important; }

  /* photo band with quote */
  #photo-band { aspect-ratio: auto !important; height: 460px !important; }
  #photo-band > div > div[style*="width: 720px"] { left: 20px; right: 20px !important; top: 20px !important; }
  #photo-band p { font-size: 18px !important; text-align: right !important; }
  #photo-band p br { display: none; }

  /* where we work */
  #where { padding: 48px 20px !important; }
  #where h2 { margin-bottom: 32px !important; height: auto !important; }
  #where > div[style*="grid-template-columns"] { height: auto !important; gap: 48px !important; }
  #where > div > div { height: auto !important; max-width: none !important; }
  #where [style*="height: clamp"] { height: 260px !important; margin-bottom: 16px !important; }
  #where [style*="height: 462px"] { height: 260px !important; width: auto !important; top: 0 !important; }
  #where [style*="top: 38px"], #where [style*="top: 109px"] { top: 0 !important; }
  #where p { font-size: 17px !important; }

  /* who we serve logos */
  #serve [style*="justify-items: center"] { gap: 28px !important; }

  /* contact page */
  #contact [style*="min-height: 600px"] img { min-height: 300px !important; height: 300px !important; }
  #contact [style*="padding: 28px 36px"] { padding: 22px 20px !important; }
  #bid-form { padding: 24px 18px !important; }

  /* footer and strip */
  .sb-bid p { font-size: 18px; }
  .sb-foot-in { padding: 32px 20px; }
  .sb-foot-brand { padding-left: 0; }
  
  .sb-foot-phones span { white-space: normal; }
}


/* Home banner: large white logo fading in over the sky */
.sb-hero-logo { height: auto !important; animation: sbHeroFade 3s ease-in-out 3.4s forwards; }
.sb-hero-frame { container-type: inline-size; }
.sb-hero-logo { width: 32cqw !important; gap: 0.8cqw !important; }
.sb-hero-logo > img { width: 100% !important; max-width: none !important; height: auto !important; align-self: stretch !important; }
.sb-hero-logo .sb-tag { max-width: none !important; gap: 0.6cqw !important; }
.sb-hero-logo .sb-tag > div { max-width: none !important; height: 2px !important; }
.sb-hero-logo h1 { font-size: 0.82cqw !important; max-width: none !important; text-align: center; }
@keyframes sbHeroFade { from { opacity: 0; } to { opacity: .82; } }
@media (prefers-reduced-motion: reduce) { .sb-hero-logo { animation: none; opacity: .82 !important; } }

/* Home: photo fades in first, logo after */
.sb-hero-frame > img { opacity: 0; animation: sbPhotoFade 3.5s ease-in-out .2s forwards; }
@keyframes sbPhotoFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sb-hero-frame > img { animation: none; opacity: 1; } }

/* Home: header hidden over the photo, slides in once you scroll past it */
body.home .sb-hdr { position: fixed !important; top: 0 !important; left: 36px; right: 36px; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
body.home.admin-bar .sb-hdr { top: 32px !important; }
body.home .sb-hdr.sb-show { opacity: 1; pointer-events: auto; }

/* Header lines up with the page margins */
.sb-hdr { margin-left: 36px; margin-right: 36px; }
body.home .sb-hdr { margin: 0; }
@media (max-width: 900px) { .sb-hdr { margin-left: 16px; margin-right: 16px; } body.home .sb-hdr { left: 16px; right: 16px; margin: 0; } }

/* Logo centered in the sky; thin line; tagline types in */
.sb-hero-logo { right: auto !important; left: 64% !important; transform: translateX(-50%); align-items: center !important; }
.sb-hero-logo > img { align-self: center !important; }
.sb-hero-logo .sb-tag { border-width: 0 !important; height: auto !important; }
.sb-hero-logo h1 { clip-path: inset(0 100% 0 0); animation: sbType 2.6s steps(48) 6.2s forwards; }
@keyframes sbType { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .sb-hero-logo h1 { animation: none; clip-path: none; } }

/* Home opening sequence v2: photo + logo fade in together, logo fades out, tagline types in */
.sb-hero-logo { left: 60% !important; top: 27% !important; right: auto !important; transform: translate(-50%, -50%) !important; opacity: 1 !important; animation: none !important; }
.sb-hero-logo > img { opacity: 0; animation: sbLogoIn 3.5s ease-in-out .2s forwards, sbLogoOut 1.6s ease-in-out 6.2s forwards; }
@keyframes sbLogoIn { from { opacity: 0; } to { opacity: .9; } }
@keyframes sbLogoOut { from { opacity: .9; } to { opacity: 0; } }
.sb-hero-logo .sb-tag { position: absolute !important; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content !important; max-width: 90cqw !important; }
.sb-hero-logo .sb-tag > div { display: none !important; }
.sb-hero-logo h1 { font-size: 1.85cqw !important; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55); animation: sbType 3.2s steps(48) 8s forwards !important; }
@media (prefers-reduced-motion: reduce) { .sb-hero-logo > img { animation: none; opacity: 0; } .sb-hero-logo h1 { animation: none !important; clip-path: none !important; } }

/* Home opening sequence v3: photo + logo in, logo out, tagline types, logo returns above tagline */
.sb-hero-logo { left: 62% !important; top: 30% !important; width: 34cqw !important; gap: 1.4cqw !important; }
.sb-hero-logo > img { opacity: 0; animation: sbLogoSeq 11.8s ease-in-out .2s forwards !important; }
@keyframes sbLogoSeq { 0% { opacity: 0; } 30% { opacity: .92; } 42% { opacity: .92; } 52% { opacity: 0; } 82% { opacity: 0; } 100% { opacity: .92; } }
.sb-hero-logo .sb-tag { position: static !important; transform: none !important; width: 100% !important; max-width: none !important; }
.sb-hero-logo h1 { font-size: 0.98cqw !important; text-align: center; animation: sbType 3s steps(48) 6.4s forwards !important; }
@media (prefers-reduced-motion: reduce) { .sb-hero-logo > img { animation: none !important; opacity: .92; } }

/* Opening v4: logo out, "Heavy Civil & Environmental Contractor" types, then logo + "Since 1998" fade in together */
.sb-hero-logo > img { animation: sbLogoSeq2 10.6s ease-in-out .2s forwards !important; }
@keyframes sbLogoSeq2 { 0% { opacity: 0; } 33% { opacity: .92; } 45% { opacity: .92; } 56% { opacity: 0; } 81% { opacity: 0; } 100% { opacity: .92; } }
.sb-hero-logo h1 { clip-path: none !important; animation: none !important; }
.sb-hero-logo .sb-type { display: inline-block; clip-path: inset(0 100% 0 0); animation: sbType 2s steps(38) 6.3s forwards; }
.sb-hero-logo .sb-since { display: inline-block; opacity: 0; animation: sbSince 2s ease-in-out 8.8s forwards; }
@keyframes sbSince { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sb-hero-logo .sb-type { animation: none; clip-path: none; } .sb-hero-logo .sb-since { animation: none; opacity: 1; } }

/* Bigger tagline, centered under the logo */
.sb-hero-logo .sb-tag { width: max-content !important; align-self: center !important; }
.sb-hero-logo h1 { font-size: 1.4cqw !important; }

/* Opening v5: quicker hand-off to typing; logo + "Since 1998" wipe in left to right */
.sb-hero-logo > img { animation: sbLogoSeq3 8.6s .2s forwards !important; }
@keyframes sbLogoSeq3 {
  0% { opacity: 0; clip-path: inset(0 0 0 0); animation-timing-function: ease-in-out; }
  37% { opacity: .92; clip-path: inset(0 0 0 0); }
  49% { opacity: .92; clip-path: inset(0 0 0 0); animation-timing-function: ease-in; }
  56% { opacity: 0; clip-path: inset(0 0 0 0); }
  57% { opacity: 0; clip-path: inset(0 100% 0 0); }
  82% { opacity: .92; clip-path: inset(0 100% 0 0); animation-timing-function: ease-out; }
  100% { opacity: .92; clip-path: inset(0 0 0 0); }
}
.sb-hero-logo .sb-type { animation: sbType 2s steps(38) 5.1s forwards !important; }
.sb-hero-logo .sb-since { opacity: 1 !important; clip-path: inset(0 100% 0 0); animation: sbWipe 1.5s ease-out 7.3s forwards !important; }
@keyframes sbWipe { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .sb-hero-logo .sb-since { animation: none !important; clip-path: none; } .sb-hero-logo > img { animation: none !important; opacity: .92; } }

/* v1.16 tagline 1.5x, lockup recentered */
.sb-hero-logo { left: 58% !important; }
.sb-hero-logo h1 { font-size: 2.1cqw !important; }

/* v1.17 tighter tagline spacing */
.sb-hero-logo h1 { letter-spacing: .05em !important; }

/* v1.18 logo lays in from the right right after the photo */
.sb-hero-logo > img { animation: sbLogoSeq4 9.5s forwards !important; }
@keyframes sbLogoSeq4 {
 0% {opacity:0; clip-path: inset(0 0 0 100%); transform: translateX(3cqw);}
 24% {opacity:0; clip-path: inset(0 0 0 100%); transform: translateX(3cqw); animation-timing-function: cubic-bezier(.2,.7,.2,1);}
 33% {opacity:.92; clip-path: inset(0 0 0 0); transform: translateX(0);}
 52% {opacity:.92; clip-path: inset(0 0 0 0); transform: translateX(0); animation-timing-function: ease-in;}
 58% {opacity:0; clip-path: inset(0 0 0 0); transform: translateX(0);}
 59% {opacity:0; clip-path: inset(0 100% 0 0); transform: translateX(0);}
 84% {opacity:.92; clip-path: inset(0 100% 0 0); transform: translateX(0); animation-timing-function: ease-out;}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translateX(0);}
}
.sb-hero-logo .sb-type { animation: sbType 2s steps(38) 5.7s forwards !important; }
.sb-hero-logo .sb-since { animation: sbWipe 1.5s ease-out 8s forwards !important; }

/* v1.19 photo fades in, logo lays in from right and stays, full tagline types in */
.sb-hero-logo > img { animation: sbLogoSeq5 3s forwards !important; }
@keyframes sbLogoSeq5 {
 0% {opacity:0; clip-path: inset(0 0 0 100%); transform: translateX(3cqw);}
 73% {opacity:0; clip-path: inset(0 0 0 100%); transform: translateX(3cqw); animation-timing-function: cubic-bezier(.2,.7,.2,1);}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translateX(0);}
}
.sb-hero-logo .sb-type, .sb-hero-logo .sb-since { animation: none !important; clip-path: none !important; opacity: 1 !important; }
.sb-hero-logo h1 { clip-path: inset(0 100% 0 0) !important; animation: sbType 2.4s steps(49) 3.4s forwards !important; }

/* v1.20 logo lays in from right, then moves up, then tagline types */
.sb-hero-logo > img { animation: sbLogoSeq6 3.8s forwards !important; }
@keyframes sbLogoSeq6 {
 0% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 2.5cqw);}
 58% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 2.5cqw); animation-timing-function: cubic-bezier(.2,.7,.2,1);}
 79% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 2.5cqw);}
 84% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 2.5cqw); animation-timing-function: ease-in-out;}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 0);}
}
.sb-hero-logo h1 { animation: sbType 2.4s steps(49) 3.9s forwards !important; }

/* v1.21 left-aligned lockup, slower glide up */
.sb-hero-logo { left: 29% !important; transform: translate(0, -50%) !important; align-items: flex-start !important; }
.sb-hero-logo .sb-tag { align-self: flex-start !important; }
.sb-hero-logo h1 { text-align: left !important; animation: sbType 2.4s steps(49) 4.7s forwards !important; }
.sb-hero-logo > img { animation: sbLogoSeq7 4.6s forwards !important; }
@keyframes sbLogoSeq7 {
 0% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 2.5cqw);}
 47.8% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 2.5cqw); animation-timing-function: cubic-bezier(.2,.7,.2,1);}
 65.2% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 2.5cqw);}
 69.6% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 2.5cqw); animation-timing-function: ease-in-out;}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 0);}
}

/* v1.22 pause after lay-in, then glide up; tagline typing via mask */
.sb-hero-logo > img { animation: sbLogoSeq8 5.4s forwards !important; }
@keyframes sbLogoSeq8 {
 0% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 2.5cqw);}
 40.7% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 2.5cqw); animation-timing-function: cubic-bezier(.2,.7,.2,1);}
 55.6% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 2.5cqw);}
 74.1% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 2.5cqw); animation-timing-function: ease-in-out;}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 0);}
}
.sb-hero-logo h1 { clip-path: none !important; -webkit-mask-image: linear-gradient(#000, #000); mask-image: linear-gradient(#000, #000); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 0% 100%; mask-size: 0% 100%; animation: sbTypeMask 2.4s steps(49) 5.5s forwards !important; }
@keyframes sbTypeMask { to { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } }

/* v1.23 lockup nudged right */
.sb-hero-logo { left: 32% !important; }

/* v1.24 longer glide up */
.sb-hero-logo > img { animation: sbLogoSeq9 5.4s forwards !important; }
@keyframes sbLogoSeq9 {
 0% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 7cqw);}
 40.7% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 7cqw); animation-timing-function: cubic-bezier(.2,.7,.2,1);}
 55.6% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 7cqw);}
 74.1% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 7cqw); animation-timing-function: ease-in-out;}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 0);}
}

/* v1.26 logo starts higher, pause before tagline, tight tagline letters */
.sb-hero-logo > img { animation: sbLogoSeq10 5.4s forwards !important; }
@keyframes sbLogoSeq10 {
 0% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 5cqw);}
 40.7% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 5cqw); animation-timing-function: cubic-bezier(.2,.7,.2,1);}
 55.6% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 5cqw);}
 74.1% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 5cqw); animation-timing-function: ease-in-out;}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 0);}
}
.sb-hero-logo h1 { letter-spacing: .01em !important; animation: sbTypeMask 2.4s steps(49) 6.4s forwards !important; }

/* v1.27 slower lay-in, starts higher */
.sb-hero-logo > img { animation: sbLogoSeq11 6.2s forwards !important; }
@keyframes sbLogoSeq11 {
 0% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 3cqw);}
 35.5% {opacity:0; clip-path: inset(0 0 0 100%); transform: translate(3cqw, 3cqw); animation-timing-function: cubic-bezier(.25,.6,.3,1);}
 61.3% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 3cqw);}
 77.4% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 3cqw); animation-timing-function: ease-in-out;}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 0);}
}
.sb-hero-logo h1 { animation: sbTypeMask 2.4s steps(49) 7.2s forwards !important; }

/* v1.28 Since 1998 italic */
.sb-hero-logo .sb-since { font-style: italic !important; }

/* v1.29 logo: slow fade drifting in from the right, pause, glide up */
.sb-hero-logo > img { animation: sbLogoSeq12 6.4s forwards !important; }
@keyframes sbLogoSeq12 {
 0% {opacity:0; clip-path: inset(0 0 0 0); transform: translate(4cqw, 3cqw);}
 31.25% {opacity:0; clip-path: inset(0 0 0 0); transform: translate(4cqw, 3cqw); animation-timing-function: cubic-bezier(.25,.6,.3,1);}
 62.5% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 3cqw);}
 78.1% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 3cqw); animation-timing-function: ease-in-out;}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 0);}
}
.sb-hero-logo h1 { animation: sbTypeMask 2.4s steps(49) 7.4s forwards !important; }

/* v1.30 whole lockup higher in the sky */
.sb-hero-logo { top: 23% !important; }

/* v1.31 Our Services photo titles a bit bigger */
#services div[style*="font-size: 34px"] { font-size: 40px !important; }
@media (max-width: 768px) { #services div[style*="font-size: 34px"] { font-size: 28px !important; } }

/* v1.32 cap page width and center on large screens */
.sb-page { max-width: 1440px; margin-left: auto; margin-right: auto; }
body.home .sb-hdr { left: max(36px, calc((100vw - 1440px) / 2 + 36px)) !important; right: max(36px, calc((100vw - 1440px) / 2 + 36px)) !important; }
@media (max-width: 768px) { body.home .sb-hdr { left: 16px !important; right: 16px !important; } }

/* v1.33 wider page, every band lines up with the header edges */
.sb-page { max-width: 1600px !important; }
body.home .sb-hdr { left: max(36px, calc((100% - 1600px) / 2 + 36px)) !important; right: max(36px, calc((100% - 1600px) / 2 + 36px)) !important; }
#top, #services, #serve, #photo-band, main > .sb-bid, .sb-page > footer { margin-left: 36px !important; margin-right: 36px !important; width: auto !important; box-sizing: border-box !important; }
#top, #services { padding-left: 0 !important; padding-right: 0 !important; }
#services > div { padding-left: 0 !important; padding-right: 0 !important; width: auto !important; max-width: 100% !important; box-sizing: border-box !important; }
@media (max-width: 768px) {
 body.home .sb-hdr { left: 16px !important; right: 16px !important; }
 #top, #services, #serve, #photo-band, main > .sb-bid, .sb-page > footer { margin-left: 16px !important; margin-right: 16px !important; }
}

/* v1.34 header soft shadow, equal 36px gaps between sections */
.sb-hdr { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
#services, #serve, #photo-band, #where, main > .sb-bid, .sb-page > footer { margin-top: 36px !important; }
.sb-page > footer { margin-bottom: 36px !important; }
@media (max-width: 768px) { #services, #serve, #photo-band, #where, main > .sb-bid, .sb-page > footer { margin-top: 16px !important; } .sb-page > footer { margin-bottom: 16px !important; } }

/* v1.35 Who We Serve intro lines run full width */
#serve p[style*="border-left"] { max-width: none !important; width: auto !important; }

/* v1.36 footer: no top line, shorter */
.sb-page > footer { border-top: 0 !important; }
.sb-page > footer > div:first-child { padding-top: 14px !important; padding-bottom: 14px !important; }

/* v1.37 Montana box matches Idaho; slim footer, no line under logo */
#where li[style*="#FFFFFF91"] { background-color: #FFFFFF57 !important; }
.sb-page > footer > div:first-child { padding-top: 8px !important; padding-bottom: 8px !important; align-items: center !important; }
.sb-page > footer > div:first-child > div:first-child { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 16px !important; }
.sb-page > footer > div:first-child > div:first-child > span { border: 0 !important; padding: 0 !important; margin: 0 !important; width: auto !important; }
.sb-page > footer > div:first-child > div:first-child > img { height: 30px !important; width: auto !important; }

/* v1.38 footer lockup like the home logo; more room above Federal */
.sb-page > footer > div:first-child > div:first-child { flex-direction: column !important; align-items: flex-start !important; gap: 6px !important; }
.sb-foot-tag { font-family: Poppins, Arial, sans-serif !important; font-size: 11px !important; font-weight: 500 !important; text-transform: uppercase !important; letter-spacing: .01em !important; color: #205B33 !important; line-height: 1.2 !important; }
.sb-foot-tag em { font-style: italic !important; }
#where p[style*="border-top: 1px solid #DDE3DE"] { margin-top: 64px !important; padding-top: 20px !important; }

/* v1.39 Who We Serve side lines spaced the same */
#serve p[style*="border-left"] { padding: 6px 0 6px 16px !important; }

/* v1.40 less space below Federal */
#where { padding-bottom: 28px !important; }
#where p[style*="border-top: 1px solid #DDE3DE"] { margin-bottom: 0 !important; }

/* v1.41 small gap under the Contact Us bar */
.sb-page > footer { margin-top: 6px !important; margin-bottom: 12px !important; }

/* v1.42 header fades into the logo green */
.sb-hdr { background-image: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 22%, #205B33 94%) !important; }

/* v1.43 footer: logo, tagline and phones on one line */
.sb-page > footer > div:first-child { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
.sb-page > footer > div:first-child > div:first-child { flex-direction: row !important; align-items: center !important; gap: 18px !important; }
.sb-foot-tag { font-size: 13px !important; white-space: nowrap; }
@media (max-width: 768px) { .sb-page > footer > div:first-child, .sb-page > footer > div:first-child > div:first-child { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; } .sb-foot-tag { white-space: normal; } }

/* v1.44 footer items bottom-aligned */
@media (min-width: 769px) {
 .sb-page > footer > div:first-child, .sb-page > footer > div:first-child > div:first-child, .sb-page > footer > div:first-child > div:last-child { align-items: flex-end !important; }
 .sb-foot-tag, .sb-page > footer > div:first-child > div:last-child span { line-height: 1 !important; }
}

/* v1.45 bigger service list text */
#services li { font-size: 22px !important; text-align: left !important; }
@media (max-width: 768px) { #services li { font-size: 18px !important; } }

/* v1.46 About Us fills the screen, lines up with header, bigger text */
body:not(.home) .sb-page { min-height: 100vh; display: flex; flex-direction: column; }
body:not(.home) .sb-page > main { flex: 1 0 auto; display: flex; flex-direction: column; }
#about { margin: 36px 36px 0 !important; flex: 1 0 auto; display: flex; flex-direction: column; }
#about > div { padding: 56px 0 56px !important; flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
#about p { font-size: 22px !important; line-height: 1.6 !important; text-align: left !important; }
body:not(.home) main > .sb-bid { margin-top: 36px !important; }
@media (max-width: 768px) { #about { margin: 16px 16px 0 !important; } #about p { font-size: 18px !important; } }

/* v1.47 About Us: taller photo, all three people in frame, edges aligned */
#about { width: auto !important; box-sizing: border-box !important; }
#about > div { justify-content: flex-start !important; }
#about > div > div { flex: 1 0 auto; min-height: min(calc(100vh - 420px), 900px) !important; }
#about img { object-position: 68% 50% !important; }
@media (max-width: 768px) { #about > div > div { min-height: 0 !important; } }

/* v1.48 About photo back to original framing, no stretch */
#about > div > div { min-height: 0 !important; flex: 0 0 auto !important; }
#about img { object-position: 50% 20% !important; }
#about, #about > div { flex: 0 0 auto !important; }

/* v1.49 slimmer Contact Us bar */
.sb-bid-in { padding-top: 14px !important; padding-bottom: 14px !important; }
.sb-bid-in a { padding-top: 8px !important; padding-bottom: 8px !important; }

/* v1.50 keep footer right under the Contact Us bar */
body:not(.home) .sb-page { min-height: 0 !important; display: block !important; }
body:not(.home) .sb-page > main { display: block !important; flex: none !important; }

/* v1.51 thin Contact Us band, justified About text, tighter Services to Who We Serve */
.sb-bid-in { padding-top: 6px !important; padding-bottom: 6px !important; }
.sb-bid-in p { font-size: 18px !important; }
.sb-bid-in a { padding: 5px 22px !important; font-size: 14px !important; }
#about p { text-align: justify !important; hyphens: auto; -webkit-hyphens: auto; }
#services > div { padding-bottom: 36px !important; }

/* v1.52 less space under Who We Serve */
#serve > div { padding-bottom: 36px !important; }

/* v1.53 logo waits for the photo fade; tighter Services to Who We Serve */
.sb-hero-logo > img { animation: sbLogoSeq12 6.4s 1.8s both !important; }
.sb-hero-logo h1 { animation: sbTypeMask 2.4s steps(49) 9.2s forwards !important; }
#services > div { padding-bottom: 24px !important; }
#serve > div { padding-top: 48px !important; }

/* v1.54 Our Services as the page highlight */
#services div[style*="font-size: 34px"] { font-size: 48px !important; padding: 14px 22px !important; }
#services li { font-size: 24px !important; padding-top: 12px !important; padding-bottom: 12px !important; }
#services ul { padding: 22px 32px 32px !important; }
#services div[style*="box-shadow"][style*="flex-direction: column"] { border-top: 6px solid #205B33; box-shadow: 0 16px 40px rgba(0,0,0,.18), 0 3px 10px rgba(0,0,0,.08) !important; }
#serve p[style*="border-left"] { font-size: 26px !important; }
@media (max-width: 768px) { #services div[style*="font-size: 34px"] { font-size: 30px !important; } #services li { font-size: 19px !important; } #serve p[style*="border-left"] { font-size: 20px !important; } }

/* v1.55 Who We Serve smaller and tighter */
#serve p[style*="border-left"] { font-size: 23px !important; line-height: 1.4 !important; margin-top: 4px !important; margin-bottom: 22px !important; }
#serve h2 { margin-bottom: 20px !important; }
@media (max-width: 768px) { #serve p[style*="border-left"] { font-size: 18px !important; } }

/* v1.56 Home: big, loud bid band between the crane photo and Where We Work */
body.home main > .sb-bid { margin-top: 36px !important; }
body.home .sb-bid-in { padding-top: 64px !important; padding-bottom: 64px !important; flex-direction: column !important; gap: 28px !important; text-align: center !important; justify-content: center !important; align-items: center !important; }
body.home .sb-bid-in p { font-size: 40px !important; line-height: 1.25 !important; font-weight: 600 !important; max-width: 1100px; }
body.home .sb-bid-in a { font-size: 22px !important; padding: 18px 56px !important; letter-spacing: .06em; }
@media (max-width: 768px) { body.home .sb-bid-in { padding-top: 36px !important; padding-bottom: 36px !important; } body.home .sb-bid-in p { font-size: 24px !important; } body.home .sb-bid-in a { font-size: 16px !important; padding: 12px 32px !important; } }

/* v1.57 Home bid band a notch smaller */
@media (min-width: 769px) {
 body.home .sb-bid-in { padding-top: 40px !important; padding-bottom: 40px !important; gap: 20px !important; }
 body.home .sb-bid-in p { font-size: 32px !important; }
 body.home .sb-bid-in a { font-size: 18px !important; padding: 13px 44px !important; }
}

/* v1.58 Home bid band text not bold */
body.home .sb-bid-in p { font-weight: 400 !important; }

/* v1.59 Home bid band: text and button on one line */
@media (min-width: 769px) {
 body.home .sb-bid-in { flex-direction: row !important; gap: 36px !important; }
 body.home .sb-bid-in p { white-space: nowrap; max-width: none !important; margin: 0 !important; }
}

/* v1.60 Home opens on the photo only; Our Services starts below the fold */
body.home #top { min-height: 100vh; min-height: 100svh; box-sizing: border-box !important; padding-top: 36px !important; padding-bottom: 36px !important; align-items: center !important; }
body.home.admin-bar #top { min-height: calc(100vh - 32px); }

/* v1.61 bid bar: button always on the same line as the text */
@media (min-width: 769px) {
 .sb-bid-in { flex-wrap: nowrap !important; justify-content: center !important; align-items: center !important; }
 .sb-bid-in a { flex-shrink: 0; white-space: nowrap; }
 body.home .sb-bid-in p { font-size: clamp(20px, 2vw, 32px) !important; }
 .sb-bid-in p { margin: 0 !important; }
}

/* v1.62 Plans and specs bar a bit bigger on all pages */
.sb-bid-in { padding-top: 14px !important; padding-bottom: 14px !important; }
.sb-bid-in p { font-size: 22px !important; }
.sb-bid-in a { padding: 9px 28px !important; font-size: 15px !important; }
body.home .sb-bid-in { padding-top: 40px !important; padding-bottom: 40px !important; }
body.home .sb-bid-in p { font-size: clamp(20px, 2vw, 32px) !important; }
body.home .sb-bid-in a { font-size: 18px !important; padding: 13px 44px !important; }

/* v1.63 Projects green bands line up with the header */
.sb-page main div[style*="#205B33; width: 100%"] { margin-left: 36px !important; margin-right: 36px !important; width: auto !important; }
@media (max-width: 768px) { .sb-page main div[style*="#205B33; width: 100%"] { margin-left: 16px !important; margin-right: 16px !important; } }

/* v1.64 wide Send request button */
#bid-form button[type="submit"], #bid-form button:last-of-type { display: block !important; width: 92% !important; margin-left: auto !important; margin-right: auto !important; font-size: 20px !important; padding: 18px 34px !important; }

/* v1.65 Contact Us: form on the left, contact cards in a column on the right, no photo */
@media (min-width: 900px) {
 main div:has(> #bid-form) { display: grid !important; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 36px; align-items: start; }
 main div:has(> #bid-form) > h2:first-child { grid-column: 1 / -1; }
 main div:has(> #bid-form) > div:has(img) { grid-column: 2; grid-row: 2 / span 4; display: block !important; margin-top: 8px; }
 main div:has(> #bid-form) > #submit-project { margin-top: 8px !important; }
 main div:has(> #bid-form) > #submit-project, main div:has(> #bid-form) > p, main div:has(> #bid-form) > form { grid-column: 1; }
}
main div:has(> #bid-form) > div:has(img) > div:first-child { display: none !important; }
main div:has(> #bid-form) > div:has(img) > div:last-child { gap: 20px !important; }

/* v1.66 Contact Us title over the cards, Submit Your Project over the form */
@media (min-width: 900px) {
 main div:has(> #bid-form) > h2:first-child { grid-column: 2 !important; grid-row: 1 !important; margin: 0 0 24px !important; }
 main div:has(> #bid-form) > #submit-project { grid-column: 1 !important; grid-row: 1 !important; margin: 0 0 24px !important; }
 main div:has(> #bid-form) > p { grid-column: 1 !important; grid-row: 2 !important; }
 main div:has(> #bid-form) > form { grid-column: 1 !important; grid-row: 3 !important; }
 main div:has(> #bid-form) > div:has(img) { grid-column: 2 !important; grid-row: 2 / span 2 !important; margin-top: 0 !important; }
}

/* v1.67 Contact Us: green form, white contact list with green text */
#bid-form { background: #205B33 !important; }
#bid-form label, #bid-form legend, #bid-form p, #bid-form small { color: #FFFFFF !important; }
#bid-form input:not([type=file]):not([type=hidden]), #bid-form select, #bid-form textarea { background: #FFFFFF !important; color: #1F2A25 !important; border-color: #FFFFFF !important; }
#bid-form label[for], #bid-form .sb-drop, #bid-form [class*="drop"] { border-color: rgba(255,255,255,.6) !important; }
#bid-form [class*="drop"], #bid-form label:has(input[type=file]) { background: rgba(255,255,255,.08) !important; }
#bid-form label:has(input[type=file]) * { color: #FFFFFF !important; }
#bid-form button { background: #FFFFFF !important; color: #205B33 !important; border-color: #FFFFFF !important; }
main div:has(> #bid-form) > div:has(img) > div:last-child > div { background: #FFFFFF !important; box-shadow: none !important; border: 0 !important; border-bottom: 1px solid #DDE3DE !important; border-radius: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
main div:has(> #bid-form) > div:has(img) > div:last-child > div * { color: #205B33 !important; }
#bid-form *:not(input):not(select):not(textarea):not(button):not(option) { color: #FFFFFF !important; }

/* v1.68 Contact Us: tighter heading spacing, Carolyn lines up with the form top */
@media (min-width: 900px) {
 main div:has(> #bid-form) > #submit-project, main div:has(> #bid-form) > h2:first-child { margin-bottom: 12px !important; }
 main div:has(> #bid-form) > p { margin: 0 0 14px !important; }
 main div:has(> #bid-form) > div:has(img) { grid-row: 3 !important; }
 main div:has(> #bid-form) > div:has(img) > div:last-child > div:first-child { padding-top: 0 !important; }
}

/* v1.69 hide the Contact Us title (kept for search engines) */
main div:has(> #bid-form) > h2:first-child { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }

/* v1.70 lighter form labels, full-width button (contacts back in the side column) */
#bid-form label, #bid-form label * { font-weight: 400 !important; }
#bid-form label:has(input[type=file]) * { font-size: 19px !important; }
#bid-form label:has(input[type=file]) strong, #bid-form label:has(input[type=file]) > *:first-child { font-size: 22px !important; }
#bid-form button { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box !important; }
#bid-form button[type="submit"], #bid-form button:last-of-type { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box !important; }

/* v1.71 bigger project descriptions */
body.page-id-10 main p { font-size: 23px !important; line-height: 1.55 !important; }
@media (max-width: 768px) { body.page-id-10 main p { font-size: 18px !important; } }

/* v1.72 one standard body text style across the site */
#services li, #serve p[style*="border-left"], #where li, #where p[style*="border-top: 1px solid #DDE3DE"], body.page-id-10 main p, #about p, main div:has(> #bid-form) > p {
 font-family: Poppins, Arial, sans-serif !important; font-size: 22px !important; line-height: 1.55 !important; font-weight: 400 !important;
}
#where p[style*="border-top: 1px solid #DDE3DE"] span:first-child { font-weight: 600 !important; }
@media (max-width: 768px) {
 #services li, #serve p[style*="border-left"], #where li, #where p[style*="border-top: 1px solid #DDE3DE"], body.page-id-10 main p, #about p, main div:has(> #bid-form) > p { font-size: 18px !important; }
}

/* v1.73 Home bar back to the same size as the other pages */
body.home .sb-bid-in { padding-top: 14px !important; padding-bottom: 14px !important; gap: 36px !important; }
body.home .sb-bid-in p { font-size: 22px !important; font-weight: 400 !important; }
body.home .sb-bid-in a { padding: 9px 28px !important; font-size: 15px !important; letter-spacing: normal; }

/* v1.74 quicker glide up, slower tagline typing */
.sb-hero-logo > img { animation: sbLogoSeq13 5.6s 1.8s both !important; }
@keyframes sbLogoSeq13 {
 0% {opacity:0; clip-path: inset(0 0 0 0); transform: translate(4cqw, 3cqw);}
 35.7% {opacity:0; clip-path: inset(0 0 0 0); transform: translate(4cqw, 3cqw); animation-timing-function: cubic-bezier(.25,.6,.3,1);}
 71.4% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 3cqw);}
 89.3% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 3cqw); animation-timing-function: ease-in-out;}
 100% {opacity:.92; clip-path: inset(0 0 0 0); transform: translate(0, 0);}
}
.sb-hero-logo h1 { animation: sbTypeMask 3.6s steps(49) 8.4s forwards !important; }

/* v1.76 Contact Us: more room above Submit Your Project; contacts stay vertical and start right under the menu bar */
@media (min-width: 900px) {
 main div:has(> #bid-form) { padding-top: 90px !important; }
 main div:has(> #bid-form) > div:has(img) { grid-row: 1 / span 3 !important; align-self: start !important; margin-top: -72px !important; }
}

/* v1.77 Contact Us: contacts across the top in two columns (Carolyn + licenses | Idaho and California), form below; green line on the footer */
main div:has(> #bid-form) { grid-template-columns: minmax(0, 1fr) !important; }
main div:has(> #bid-form) > div:has(img) { grid-column: 1 !important; grid-row: 1 !important; align-self: start !important; margin: 0 !important; }
@media (min-width: 900px) { main div:has(> #bid-form) > div:has(img) { margin-top: -60px !important; } }
main div:has(> #bid-form) > #submit-project { grid-column: 1 !important; grid-row: 2 !important; margin: 56px 0 12px !important; }
main div:has(> #bid-form) > p { grid-column: 1 !important; grid-row: 3 !important; }
main div:has(> #bid-form) > form { grid-column: 1 !important; grid-row: 4 !important; }
@media (min-width: 900px) {
 main div:has(> #bid-form) > div:has(img) > div:last-child { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 48px !important; row-gap: 0 !important; }
 main div:has(> #bid-form) > div:has(img) > div:last-child > div:first-child { grid-column: 1 !important; grid-row: 1 / span 2 !important; border-bottom: 0 !important; }
 main div:has(> #bid-form) > div:has(img) > div:last-child > div:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; padding-top: 0 !important; }
 main div:has(> #bid-form) > div:has(img) > div:last-child > div:nth-child(3) { grid-column: 2 !important; grid-row: 2 !important; border-bottom: 0 !important; }
}
main div:has(> #bid-form) > div:has(img) > div:last-child .sb-lic { font-size: 15px !important; line-height: 1.5 !important; }
main div:has(> #bid-form) > div:has(img) > div:last-child .sb-lic-first { margin-top: 14px !important; padding-top: 12px !important; border-top: 1px solid #DDE3DE !important; }
.sb-page > footer { border-top: 3px solid #205B33 !important; }

/* v1.78 Carolyn card lines up with the top of the Idaho office */
main div:has(> #bid-form) > div:has(img) > div:last-child > div:first-child { justify-content: flex-start !important; padding-top: 0 !important; }

/* v1.79 logo lines up with the page text; Carolyn contact bold; bigger license text */
@media (min-width: 900px) { .sb-hdr-in { padding-left: 0 !important; } }
main div:has(> #bid-form) > div:has(img) > div:last-child > div:first-child > *:not(.sb-lic) { font-weight: 700 !important; }
main div:has(> #bid-form) > div:has(img) > div:last-child .sb-lic { font-size: 18px !important; line-height: 1.55 !important; }

/* ===== Home intro (12/2026): full-screen hero only on arrival; click fades it out and shows the page ===== */
body.home.sb-intro { overflow: hidden !important; }
body.home.sb-intro .sb-hdr,
body.home.sb-intro main > :not(#top),
body.home.sb-intro footer { display: none !important; }
body.home.sb-intro #top,
body.home.sb-leaving #top { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100vw !important; height: 100vh !important; padding: 0 !important; margin: 0 !important; z-index: 2000 !important; background: #0F1F17 !important; overflow: hidden !important; }
body.home.sb-intro.admin-bar #top,
body.home.sb-leaving.admin-bar #top { top: 32px !important; height: calc(100vh - 32px) !important; }
body.home.sb-intro #top { cursor: pointer; }
body.home.sb-intro #top .sb-hero-frame,
body.home.sb-leaving #top .sb-hero-frame { width: 100% !important; height: 100% !important; }
body.home.sb-intro #top .sb-hero-frame > img,
body.home.sb-leaving #top .sb-hero-frame > img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; }
body.home.sb-leaving #top { opacity: 0 !important; transition: opacity .9s ease; pointer-events: none; }
body.home.sb-entered #top { display: none !important; }
body.home.sb-leaving .sb-hdr,
body.home.sb-entered .sb-hdr { position: sticky !important; top: 0 !important; left: auto !important; right: auto !important; margin: 0 36px !important; opacity: 1 !important; pointer-events: auto !important; }
body.home.sb-leaving.admin-bar .sb-hdr,
body.home.sb-entered.admin-bar .sb-hdr { top: 32px !important; }
@media (max-width: 900px) { body.home.sb-leaving .sb-hdr, body.home.sb-entered .sb-hdr { margin: 0 16px !important; } }
@media (max-width: 782px) {
  body.home.sb-intro.admin-bar #top, body.home.sb-leaving.admin-bar #top { top: 46px !important; height: calc(100vh - 46px) !important; }
  body.home.sb-leaving.admin-bar .sb-hdr, body.home.sb-entered.admin-bar .sb-hdr { top: 46px !important; }
}

/* 12/2026 tweaks: deeper header shadow; less space above Our Services */
.sb-hdr { box-shadow: 0 12px 30px rgba(0,0,0,.30), 0 3px 8px rgba(0,0,0,.18) !important; }
#services > div { padding-top: 32px !important; }


/* v1.43 (12/1) markup: CTA band pops, footer matches header, more room above footer */
.sb-bid { background: linear-gradient(90deg, #1D4C18 0%, #205B33 50%, #2E7A45 100%) !important; box-shadow: 0 14px 34px rgba(0,0,0,.30), 0 3px 8px rgba(0,0,0,.18) !important; border-top: 3px solid #FFFFFF; border-bottom: 3px solid #FFFFFF; outline: 3px solid #205B33; margin-top: 40px !important; margin-bottom: 40px !important; }
.sb-bid-in { padding: 46px 36px !important; }
.sb-bid p { font-size: 27px !important; font-weight: 600 !important; letter-spacing: .01em; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.sb-bid a { font-size: 18px !important; padding: 15px 42px !important; box-shadow: 0 6px 16px rgba(0,0,0,.28); transition: transform .15s ease, box-shadow .15s ease; }
.sb-bid a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.32); }
#footer { margin-top: 64px !important; background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 22%, #205B33 94%) !important; border-top: 0 !important; box-shadow: 0 -6px 18px rgba(0,0,0,.14) !important; }
#footer .sb-foot-phones span, #footer .sb-foot-phones a { color: #FFFFFF !important; }
@media (max-width: 760px) { .sb-bid p { font-size: 21px !important; } .sb-bid-in { padding: 34px 20px !important; } #footer { background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 35%, #205B33 100%) !important; } }

/* 12/2026: smaller service card titles; section links land below the sticky header */
.sb-svc > div > div { font-size: 26px !important; padding: 10px 16px !important; }
@media (max-width: 900px) { .sb-svc > div > div { font-size: 20px !important; } }
#services, #serve, #photo-band, #where, #projects, #footer { scroll-margin-top: 110px; }
.admin-bar #services, .admin-bar #serve, .admin-bar #photo-band, .admin-bar #where, .admin-bar #projects, .admin-bar #footer { scroll-margin-top: 142px; }

/* 12/2026: Where We Work as dark state cards + Federal card */
.sb-where { background: #F4F6F4; width: 100%; box-sizing: border-box; }
.sb-where-in { margin: 0 auto; padding: 60px 36px 70px; }
.sb-where-h { margin: 0 0 32px; font-family: 'Archivo', Arial, sans-serif; font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -0.8px; padding: 0 0 18px; color: #205B33; border-bottom: 2px solid #205B33; }
.sb-where-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sb-wcard { position: relative; overflow: hidden; background: #0F2318; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.35); aspect-ratio: 3 / 3.7; color: #FFFFFF; }
.sb-wmap { position: absolute; top: 10%; left: 8%; right: 8%; bottom: 10%; background: #1E4A2A; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.sb-ca .sb-wmap { -webkit-mask-position: left center; mask-position: left center; }
.sb-mt .sb-wmap { top: 42%; bottom: 14%; }
.sb-wtext { position: absolute; top: 24%; right: 9%; z-index: 1; text-align: right; }
.sb-wtext h3 { margin: 0 0 14px; font-family: Poppins, Arial, sans-serif; font-size: clamp(26px, 2.8vw, 44px); line-height: 1; font-weight: 700; text-transform: uppercase; color: #FFFFFF; }
.sb-wtext p { margin: 0 0 8px; font-family: Poppins, Arial, sans-serif; font-size: clamp(12px, 1vw, 16px); line-height: 1.3; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: #FFFFFF; }
.sb-fed { width: 72%; margin: 24px auto 0; aspect-ratio: 16 / 9.5; }
.sb-wmap-us { position: absolute; left: 4%; top: 8%; width: 92%; height: 86%; fill: #1E4A2A; }
.sb-fed .sb-wtext { top: 30%; left: 10%; right: auto; text-align: left; }
@media (max-width: 900px) {
  .sb-where-in { padding: 40px 16px 50px; }
  .sb-where-h { font-size: 40px; }
  .sb-where-grid { grid-template-columns: 1fr; }
  .sb-wcard { aspect-ratio: 4 / 3; }
  .sb-fed { width: 100%; }
}

/* 12/2026: municipality call-to-action bar */
html body .sb-bid.sb-bid2 .sb-bid-in { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center; gap: 18px !important; }
html body .sb-bid.sb-bid2 .sb-bid-q { margin: 0; font-size: 26px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .04em; color: #FFFFFF; }
html body .sb-bid.sb-bid2 .sb-bid-row { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
html body .sb-bid.sb-bid2 .sb-bid-row p { margin: 0; font-size: 18px !important; font-weight: 500 !important; text-transform: uppercase; letter-spacing: .06em; color: #FFFFFF; }
html body .sb-bid.sb-bid2 a { background: #F4F6F4 !important; color: #205B33 !important; border-radius: 999px !important; padding: 16px 72px !important; font-weight: 700 !important; text-transform: uppercase; text-decoration: none; }
@media (max-width: 900px) { html body .sb-bid.sb-bid2 .sb-bid-q { font-size: 20px !important; } html body .sb-bid.sb-bid2 .sb-bid-row p { font-size: 15px !important; } }

/* 12/2026: Where We Work more compact; Federal text larger and clearer */
.sb-where-in { padding-top: 40px !important; padding-bottom: 48px !important; }
.sb-where-h { margin-bottom: 24px !important; }
.sb-where-grid { max-width: 980px; margin: 0 auto; gap: 14px !important; }
.sb-wcard { aspect-ratio: 3 / 3.2 !important; }
.sb-wtext h3 { font-size: clamp(24px, 2.4vw, 38px) !important; }
.sb-fed { width: 100% !important; max-width: 660px; margin-top: 18px !important; aspect-ratio: 16 / 8.6 !important; }
.sb-fed .sb-wtext { top: 50% !important; left: 8% !important; transform: translateY(-50%); }
.sb-fed .sb-wtext h3 { font-size: clamp(32px, 3.4vw, 54px) !important; margin-bottom: 12px !important; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.sb-fed .sb-wtext p { font-size: clamp(14px, 1.25vw, 19px) !important; font-weight: 600 !important; letter-spacing: .06em !important; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
@media (max-width: 900px) { .sb-fed { width: 100% !important; } .sb-wcard { aspect-ratio: 4 / 3 !important; } }

/* 12/2026: Where We Work matched to Mindy's mockup proportions (scales with screen width) */
.sb-where-in { padding: 40px 36px 7vw !important; }
.sb-where-h { margin-bottom: 5vw !important; }
.sb-where-grid { max-width: none !important; margin: 0 !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1.1vw !important; }
.sb-wcard { container-type: inline-size; aspect-ratio: 300 / 372 !important; border-radius: 14px !important; }
.sb-wmap { top: 10% !important; bottom: 10% !important; left: 7% !important; right: 7% !important; }
.sb-mt .sb-wmap { top: 46% !important; bottom: 14% !important; left: 4% !important; right: 8% !important; }
.sb-wtext { top: 24% !important; right: 12% !important; }
.sb-wtext h3 { font-size: 12.5cqw !important; margin-bottom: 4.5cqw !important; }
.sb-wtext p { font-size: 4.6cqw !important; margin-bottom: 2.6cqw !important; letter-spacing: .01em !important; }
.sb-fed { width: 66% !important; max-width: none !important; margin: 2.8vw auto 0 !important; aspect-ratio: 615 / 363 !important; border-radius: 14px !important; }
.sb-wmap-us { left: 8% !important; top: 12% !important; width: 88% !important; height: 84% !important; }
.sb-fed .sb-wtext { top: 27% !important; left: 15.5% !important; right: auto !important; transform: none !important; }
.sb-fed .sb-wtext h3 { font-size: 6.4cqw !important; margin-bottom: 3cqw !important; text-shadow: none !important; }
.sb-fed .sb-wtext p { font-size: 2.3cqw !important; font-weight: 500 !important; letter-spacing: .02em !important; text-shadow: none !important; }
@media (max-width: 900px) {
  .sb-where-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .sb-wcard { aspect-ratio: 4 / 3 !important; }
  .sb-wtext h3 { font-size: 9cqw !important; }
  .sb-wtext p { font-size: 3.6cqw !important; }
  .sb-fed { width: 100% !important; margin-top: 14px !important; }
  .sb-fed .sb-wtext h3 { font-size: 9cqw !important; }
  .sb-fed .sb-wtext p { font-size: 3.4cqw !important; }
}

/* 12/2026: tighter Where We Work spacing; big "Are you a municipality?" heading over the bar */
.sb-where-in { padding-bottom: 32px !important; }
.sb-where-h { margin-bottom: 24px !important; }
.sb-fed { margin-top: 24px !important; }
.sb-bid-wrap { max-width: 100%; box-sizing: border-box; padding: 8px 36px 0; }
.sb-bid-h { margin: 0 0 14px; font-family: Poppins, Arial, sans-serif; font-size: clamp(36px, 5.6vw, 92px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; color: #1E4A2A; }
html body .sb-bid-wrap .sb-bid { margin-top: 0 !important; }
@media (max-width: 900px) { .sb-bid-wrap { padding: 8px 16px 0; } }

/* 12/2026: solid green CTA bar, no border lines; longer heading sized to fit */
html body .sb-bid.sb-bid2 { background: #205B33 !important; background-image: none !important; border: 0 !important; outline: 0 !important; }
html body .sb-bid.sb-bid2 .sb-bid-in, html body .sb-bid.sb-bid2 .sb-bid-row { border: 0 !important; outline: 0 !important; background: transparent !important; }
html body .sb-bid.sb-bid2 .sb-bid-row p { border: 0 !important; }
html body .sb-bid.sb-bid2 a { border: 0 !important; outline: 0 !important; }
.sb-bid-h { font-size: clamp(28px, 3.4vw, 60px) !important; line-height: 1.1 !important; }

/* 12/2026: municipality heading on one line */
.sb-bid-h { white-space: nowrap !important; font-size: min(48px, calc((100vw - 80px) / 31.5)) !important; }
@media (max-width: 900px) { .sb-bid-h { white-space: normal !important; font-size: 26px !important; } }

/* 12/2026: earthwork photo under About Us */
.sb-about-photo { width: 100%; box-sizing: border-box; padding: 0 36px 32px; background: #FFFFFF; }
.sb-about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 776 / 500; object-fit: cover; object-position: 50% 45%; border-radius: 3px; box-shadow: 0 16px 36px rgba(0,0,0,.28), 0 4px 10px rgba(0,0,0,.16); }
@media (max-width: 900px) { .sb-about-photo { padding: 0 16px 24px; } }

/* 12/2026: OPTION B (framed earthwork photo, logo bottom-right). Off unless body has class sb-framed. */
body.home.sb-framed.sb-intro #top, body.home.sb-framed.sb-leaving #top { display: flex !important; align-items: center !important; justify-content: center !important; }
body.home.sb-framed.sb-intro #top .sb-hero-frame, body.home.sb-framed.sb-leaving #top .sb-hero-frame { width: min(86vw, calc((100vh - 160px) * 1838 / 1414)) !important; height: auto !important; aspect-ratio: 1838 / 1414; border: 24px solid #FFFFFF; box-sizing: content-box; box-shadow: 0 20px 50px rgba(0,0,0,.45); flex: 0 0 auto; }
body.home.sb-framed.sb-intro #top .sb-hero-frame > img, body.home.sb-framed.sb-leaving #top .sb-hero-frame > img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: contain !important; }

/* 12/2026: intro logo + tagline in the bottom-right corner, with a soft dark corner so it reads over the dirt */
body.home.sb-framed.sb-intro #top .sb-hero-logo, body.home.sb-framed.sb-leaving #top .sb-hero-logo { top: auto !important; bottom: 5% !important; left: auto !important; right: 3.5% !important; transform: none !important; align-items: flex-end !important; text-align: right !important; }
body.home.sb-framed.sb-intro #top .sb-hero-logo > img, body.home.sb-framed.sb-leaving #top .sb-hero-logo > img { align-self: flex-end !important; }
body.home.sb-framed.sb-intro #top .sb-hero-logo h1, body.home.sb-framed.sb-leaving #top .sb-hero-logo h1 { text-align: right !important; }
body.home.sb-framed.sb-intro #top .sb-hero-frame > div[aria-hidden], body.home.sb-framed.sb-leaving #top .sb-hero-frame > div[aria-hidden] { display: block !important; z-index: 1; }
body.home.sb-framed.sb-intro #top .sb-hero-logo, body.home.sb-framed.sb-leaving #top .sb-hero-logo { z-index: 2; }
body.home.sb-framed.sb-intro #top .sb-hero-logo .sb-tag, body.home.sb-framed.sb-leaving #top .sb-hero-logo .sb-tag { align-items: flex-end !important; }
body.home.sb-framed.sb-intro #top .sb-hero-logo h1, body.home.sb-framed.sb-leaving #top .sb-hero-logo h1 { width: auto !important; max-width: none !important; align-self: flex-end !important; }
body.home.sb-framed.sb-intro #top .sb-hero-logo, body.home.sb-framed.sb-leaving #top .sb-hero-logo { width: max-content !important; max-width: 94% !important; }
body.home.sb-framed.sb-intro #top .sb-hero-logo > img, body.home.sb-framed.sb-leaving #top .sb-hero-logo > img { width: 30cqw !important; max-width: 100% !important; }
body.home.sb-framed.sb-intro #top .sb-hero-logo .sb-tag, body.home.sb-framed.sb-leaving #top .sb-hero-logo .sb-tag { width: auto !important; }
body.home.sb-framed.sb-intro #top .sb-hero-logo h1, body.home.sb-framed.sb-leaving #top .sb-hero-logo h1 { font-size: 1.55cqw !important; }
