:root {
  --ehs-red: #f0493e;
  --ehs-red-dark: #d83b31;
  --ehs-red-hover: #b92f28;
  --ehs-blue: #18428f;
  --ehs-blue-dark: #10316f;
  --ehs-navy: #1a1a2e;
  --ehs-light: #f8f9fa;
  --ehs-gray: #6c757d;
  --ehs-border: #e6e8ee;
  --ehs-white: #fff;
  --shadow-sm: 0 8px 24px rgba(26,26,46,.08);
  --shadow-lg: 0 22px 50px rgba(26,26,46,.16);
  --radius: 1.25rem;
  --header-height: 79px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); overflow-x: clip; }
body {
  margin: 0;
  color: var(--ehs-navy);
  background: var(--ehs-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  padding-top: var(--header-height);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--ehs-blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--ehs-blue-dark); }
:focus-visible { outline: 3px solid rgba(240,73,62,.6); outline-offset: 3px; }

.skip-link {
  position: fixed; left: .75rem; top: .75rem; z-index: 2000;
  transform: translateY(-160%); padding: .7rem 1rem; border-radius: .5rem;
  color: #fff; background: var(--ehs-blue); font-weight: 700;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1050; width: 100%;
  background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(24,66,143,.12);
  box-shadow: 0 4px 18px rgba(26,26,46,.05);
  backdrop-filter: blur(10px);
}
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-link { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand-logo { width: 72px; height: auto; display: block; }
.desktop-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.desktop-nav a:not(.btn) { color: var(--ehs-navy); text-decoration: none; font-size: .95rem; font-weight: 700; }
.desktop-nav a:not(.btn):hover, .desktop-nav a[aria-current="page"] { color: var(--ehs-blue); }
.header-phone { color: var(--ehs-blue) !important; font-weight: 800 !important; }
.mobile-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--ehs-border); border-radius: .75rem;
  background: #fff; color: var(--ehs-blue); align-items: center; justify-content: center;
}
.mobile-toggle svg { width: 25px; height: 25px; }
.mobile-nav { display: none; border-top: 1px solid var(--ehs-border); background: #fff; }
.mobile-nav-inner { display: grid; gap: .25rem; padding: .75rem 0 1rem; }
.mobile-nav a { padding: .8rem .2rem; color: var(--ehs-navy); font-weight: 750; text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--ehs-blue); }
.mobile-nav .btn { padding: .8rem 1rem; margin-top: .35rem; }

.btn { border-radius: .7rem; font-weight: 800; letter-spacing: .01em; padding: .78rem 1.1rem; }
.btn-ehs-red { color: #fff; background: var(--ehs-red-dark); border-color: var(--ehs-red-dark); }
.btn-ehs-red:hover, .btn-ehs-red:focus { color: #fff; background: var(--ehs-red-hover); border-color: var(--ehs-red-hover); }
.btn-ehs-blue { color: #fff; background: var(--ehs-blue); border-color: var(--ehs-blue); }
.btn-ehs-blue:hover, .btn-ehs-blue:focus { color: #fff; background: var(--ehs-blue-dark); border-color: var(--ehs-blue-dark); }
.btn-outline-ehs { color: var(--ehs-blue); border: 2px solid var(--ehs-blue); background: transparent; }
.btn-outline-ehs:hover { color: #fff; background: var(--ehs-blue); }

.eyebrow { margin-bottom: .65rem; color: var(--ehs-red-dark); font-size: .79rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.display-title, h1, h2, h3, h4 { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 850; letter-spacing: -.025em; }
.display-title { font-size: clamp(2.55rem, 6vw, 5rem); line-height: .98; }
.section-title { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }
.lead-copy { max-width: 760px; color: #4e5361; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.section-pad { padding: 5.3rem 0; }
.section-pad-sm { padding: 3.5rem 0; }
#estimate-form { scroll-margin-top: calc(var(--header-height) + 1.25rem); }
.bg-light-soft { background: var(--ehs-light); }
.bg-navy { background: var(--ehs-navy); color: #fff; }

.home-hero { position: relative; min-height: min(760px, 78vh); display: grid; align-items: center; isolation: isolate; background: var(--ehs-navy); }
.home-hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.home-hero-media picture, .home-hero-media img { width: 100%; height: 100%; display: block; }
.home-hero-media img { object-fit: cover; object-position: center 54%; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,24,48,.93) 0%, rgba(15,24,48,.84) 43%, rgba(15,24,48,.38) 78%, rgba(15,24,48,.2) 100%); }
.hero-copy { max-width: 760px; padding: 5rem 0; color: #fff; }
.hero-logo-chip { width: 106px; padding: .5rem .65rem; margin: .75rem 0 .9rem; border-radius: .85rem; background: rgba(255,255,255,.96); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.hero-logo-chip img { width: 100%; height: auto; display: block; }
.hero-copy .eyebrow { color: #ff756c; margin-bottom: .3rem; }
.hero-copy .display-title { margin-bottom: 0; }
.hero-copy p { max-width: 650px; color: rgba(255,255,255,.9); font-size: 1.17rem; }
.hero-copy .hero-lead { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero-link { color: #fff; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; padding: .75rem .2rem; }
.hero-link:hover { color: #fff; text-decoration: underline; }

.trust-wrap { position: relative; z-index: 3; margin-top: -31px; }
.trust-bar { background: #fff; border: 1px solid rgba(24,66,143,.09); border-radius: 1rem; box-shadow: var(--shadow-lg); overflow: hidden; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 1.2rem .9rem; text-align: center; font-weight: 850; color: var(--ehs-blue); border-right: 1px solid var(--ehs-border); }
.trust-item:last-child { border-right: 0; }
.trust-item small { display: block; margin-top: .1rem; color: var(--ehs-gray); font-weight: 650; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }

.service-card, .review-card, .info-card { height: 100%; background: #fff; border: 1px solid var(--ehs-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.service-card { padding: 1.7rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(24,66,143,.23); box-shadow: var(--shadow-lg); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ehs-blue); background: rgba(24,66,143,.08); border-radius: .8rem; margin-bottom: 1.15rem; }
.service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.24rem; }
.service-card p { color: #5b6070; margin-bottom: 0; }
.service-card a.stretched-link { text-decoration: none; }

.media-card { position: relative; overflow: hidden; min-height: 420px; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #dfe4ee; }
.media-card picture, .media-card img { width: 100%; height: 100%; display: block; }
.media-card img { object-fit: cover; position: absolute; inset: 0; }
.media-card.family img { object-position: center center; }
.media-card.living img { object-position: center center; }
.check-list { display: grid; gap: .7rem; margin: 1.45rem 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 auto; width: 1.45rem; height: 1.45rem; display: grid; place-items: center; margin-top: .1rem; border-radius: 50%; color: #fff; background: var(--ehs-blue); font-size: .75rem; font-weight: 900; }

.verse-strip { position: relative; overflow: hidden; background: linear-gradient(135deg,var(--ehs-blue-dark),var(--ehs-blue)); color: #fff; border-top: 5px solid var(--ehs-red); border-bottom: 5px solid var(--ehs-red); }
.verse-strip::before { content:""; position:absolute; width:320px; height:320px; right:-80px; top:-170px; border:44px solid rgba(255,255,255,.06); transform: rotate(45deg); }
.verse-feature { padding: clamp(4rem,7vw,6.3rem) 0; }
.verse-kicker { margin:0 0 1.1rem; text-align:center; color:#ffd3cf; font-size:.82rem; font-weight:900; letter-spacing:.15em; text-transform:uppercase; }
.verse-quote { max-width: 1040px; margin: 0 auto; text-align: center; font-size: clamp(1.85rem,3.8vw,3.15rem); font-weight: 820; line-height: 1.26; letter-spacing: -.028em; }
.verse-ref { margin-top: 1rem; text-align: center; color: rgba(255,255,255,.75); font-weight: 750; }

.project-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; }
.project-tile { position: relative; min-height: 260px; overflow: hidden; border-radius: 1rem; background: #dfe4ee; }
.project-tile picture, .project-tile img { width: 100%; height: 100%; display: block; }
.project-tile img { position: absolute; inset: 0; object-fit: cover; transition: transform .35s ease; }
.project-tile:hover img { transform: scale(1.035); }
.project-tile::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(26,26,46,.28),transparent 55%); pointer-events:none; }

.review-card { padding: 1.7rem; }
.stars { color: var(--ehs-red-dark); letter-spacing: .08em; font-size: 1.05rem; }
.review-card blockquote { margin: 1rem 0; font-size: 1.03rem; color: #4a5060; }
.review-card .review-meta { color: var(--ehs-blue); font-size: .86rem; font-weight: 800; }
.review-source-card { max-width:900px; padding:clamp(2rem,5vw,4rem); border:1px solid var(--ehs-border); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow-sm); }

.cta-band { background: linear-gradient(135deg,var(--ehs-navy),#25274b); color: #fff; border-radius: 1.4rem; padding: clamp(2rem,5vw,4rem); box-shadow: var(--shadow-lg); }
.cta-band p { color: rgba(255,255,255,.8); }

.page-hero { padding: 2.65rem 0 2.9rem; background: linear-gradient(180deg,#f8f9fa 0%,#fff 100%); }
.page-hero + .section-pad { padding-top: 2.8rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); gap: clamp(2rem,6vw,5.5rem); align-items: start; }
.page-hero-copy { padding-top: .15rem; }
.page-hero-copy h1 { font-size: clamp(2.45rem,5vw,4.25rem); line-height: 1; margin-bottom: 1rem; }
.page-hero-copy p { color: #565c6b; font-size: 1.14rem; max-width: 680px; }
.page-hero-media { height: 330px; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #dfe4ee; }
.page-hero-media picture, .page-hero-media img { width:100%; height:100%; display:block; }
.page-hero-media img { position:absolute; inset:0; object-fit:cover; }

.service-group { padding: 2rem; border: 1px solid var(--ehs-border); border-radius: var(--radius); background:#fff; box-shadow:var(--shadow-sm); }
.service-group h3 { color: var(--ehs-blue); font-size: 1.3rem; }
.service-list-columns { columns: 3 240px; column-gap: 2.5rem; margin: 0; padding-left: 1.1rem; }
.service-list-columns li { break-inside: avoid; margin-bottom: .65rem; color: #4f5564; }
.permit-callout { border-left: 5px solid var(--ehs-red); background: rgba(240,73,62,.055); border-radius: 0 1rem 1rem 0; padding: 1.6rem 1.8rem; }

.story-card { border-left: 4px solid var(--ehs-red); padding-left: 1.5rem; font-size: 1.15rem; color: #444b59; }
.credential-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.credential { padding:1.5rem; border-radius:1rem; background:#fff; border:1px solid var(--ehs-border); }
.credential strong { display:block; color:var(--ehs-blue); font-size:1.1rem; }
.brand-graphic { overflow:hidden; border-radius:var(--radius); box-shadow:var(--shadow-sm); border:1px solid var(--ehs-border); background:#fff; }
.brand-graphic img { width:100%; height:auto; display:block; }

.gallery-section { padding-top:2.8rem; }
.gallery-intro { margin-bottom:2rem; }
.gallery-groups { display:grid; gap:clamp(3rem,6vw,5.5rem); }
.project-group-heading { display:flex; align-items:end; justify-content:space-between; gap:1.5rem; margin-bottom:1.25rem; padding-bottom:.85rem; border-bottom:1px solid var(--ehs-border); }
.project-group-heading h3 { margin:0; color:var(--ehs-blue); font-size:clamp(1.45rem,2.5vw,2rem); }
.project-group-heading p { max-width:620px; margin:0; color:#606675; }
.gallery-group-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.transformation-cases { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.4rem; }
.transformation-case { padding:1.15rem; border:1px solid var(--ehs-border); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow-sm); }
.transformation-case h4 { margin:0 0 .9rem; font-size:1.12rem; color:var(--ehs-navy); }
.before-after-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
.gallery-item { width:100%; aspect-ratio:4/3; margin:0; padding:0; border:0; border-radius:1rem; overflow:hidden; background:#e8ebf1; box-shadow:0 8px 24px rgba(26,26,46,.08); cursor:zoom-in; position:relative; }
.gallery-item-paired { aspect-ratio:4/3; }
.gallery-item picture { width:100%; height:100%; display:block; }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease; }
.photo-label { position:absolute; left:.7rem; top:.7rem; z-index:2; padding:.36rem .65rem; border-radius:999px; background:rgba(255,255,255,.94); color:var(--ehs-navy); font-size:.72rem; font-weight:900; letter-spacing:.04em; text-transform:uppercase; box-shadow:0 5px 14px rgba(0,0,0,.12); }
.gallery-item:hover img { transform:scale(1.02); }
.gallery-item::after { content:"View"; position:absolute; right:.75rem; bottom:.75rem; background:rgba(26,26,46,.82); color:#fff; border-radius:999px; padding:.35rem .7rem; font-size:.72rem; font-weight:800; opacity:0; transform:translateY(4px); transition:.2s ease; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity:1; transform:none; }
.gallery-dialog { width:min(94vw,1200px); max-width:1200px; border:0; padding:0; border-radius:1rem; background:transparent; overflow:visible; }
.gallery-dialog::backdrop { background:rgba(7,12,28,.88); }
.gallery-dialog-inner { position:relative; }
.gallery-dialog img { display:block; width:auto; max-width:94vw; max-height:88vh; margin:auto; border-radius:.9rem; box-shadow:0 30px 90px rgba(0,0,0,.45); }
.gallery-close { position:absolute; right:.6rem; top:.6rem; z-index:2; width:44px; height:44px; border:0; border-radius:50%; color:#fff; background:rgba(26,26,46,.85); font-size:1.45rem; display:grid; place-items:center; }

.contact-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:2rem; align-items:start; }
.contact-stack { display:grid; gap:1rem; }
.info-card { padding:1.45rem; }
.info-card h3 { margin-bottom:.45rem; font-size:1.05rem; color:var(--ehs-blue); }
.info-card p, .info-card address { margin:0; color:#555c6b; font-style:normal; }
.contact-form-card { padding:clamp(1.4rem,3vw,2.2rem); background:#fff; border:1px solid var(--ehs-border); border-radius:var(--radius); box-shadow:var(--shadow-lg); }
.form-label { font-weight:750; }
.form-control, .form-select { min-height:50px; border-color:#cfd4de; border-radius:.65rem; }
textarea.form-control { min-height:140px; }
.form-placeholder-note { display:none; margin-top:1rem; padding:.9rem 1rem; border-radius:.65rem; background:#fff3cd; color:#664d03; }
.business-card-media { margin-top:1rem; overflow:hidden; border-radius:1rem; border:1px solid var(--ehs-border); background:#fff; }
.business-card-media img { width:100%; height:auto; display:block; }
.social-links { display:flex; flex-wrap:wrap; gap:.65rem; }
.social-links a { display:inline-flex; align-items:center; gap:.35rem; padding:.55rem .75rem; border:1px solid var(--ehs-border); border-radius:.65rem; color:var(--ehs-blue); font-weight:800; text-decoration:none; background:#fff; }
.social-links a:hover { border-color:rgba(24,66,143,.3); background:#f8faff; }

.site-footer { padding:3.4rem 0 1.2rem; background:#111426; color:#fff; }
.footer-grid { display:grid; grid-template-columns:1.25fr .8fr .9fr; gap:2rem; }
.footer-logo { width:84px; padding:.4rem; border-radius:.55rem; background:#fff; }
.site-footer h2, .site-footer h3 { font-size:1rem; letter-spacing:.01em; }
.site-footer p, .site-footer li, .site-footer a { color:rgba(255,255,255,.72); }
.site-footer a:hover { color:#fff; }
.footer-links { list-style:none; padding:0; margin:0; display:grid; gap:.4rem; }
.footer-bottom { margin-top:2.3rem; padding-top:1rem; border-top:1px solid rgba(255,255,255,.12); font-size:.82rem; color:rgba(255,255,255,.56); }
.credit-line { margin-top:.35rem; font-size:.78rem; color:rgba(255,255,255,.5); }
.credit-line a { color:rgba(255,255,255,.72); }

@media (max-width: 991.98px) {
  .desktop-nav { display:none; }
  .mobile-toggle { display:inline-flex; }
  .mobile-nav.is-open { display:block; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right:0; }
  .trust-item:nth-child(-n+2) { border-bottom:1px solid var(--ehs-border); }
  .project-strip { grid-template-columns:repeat(2,1fr); }
  .page-hero-grid { grid-template-columns:1fr; gap:2.2rem; }
  .page-hero-media { height:min(48vw,360px); }
  .credential-grid { grid-template-columns:1fr; }
  .gallery-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .transformation-cases { grid-template-columns:1fr; }
  .contact-form-card { order:-1; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1.1fr 1fr; }
}

@media (max-width: 767.98px) {
  :root { --header-height: 69px; }
  .nav-shell { min-height:68px; }
  .brand-logo { width:58px; }
  .home-hero { min-height:670px; }
  .home-hero::after { background:linear-gradient(90deg,rgba(15,24,48,.92),rgba(15,24,48,.74)); }
  .hero-copy { padding:4rem 0 5.4rem; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .btn { width:100%; }
  .hero-link { justify-content:center; }
  .section-pad { padding:4rem 0; }
  .trust-wrap { margin-top:-25px; }
  .trust-item { padding:1rem .55rem; font-size:.88rem; }
  .project-strip { grid-template-columns:1fr 1fr; gap:.55rem; }
  .project-tile { min-height:190px; }
  .page-hero { padding:2.25rem 0 2.5rem; }
  .page-hero + .section-pad { padding-top:2.25rem; }
  .page-hero-media { height:56vw; min-height:235px; max-height:340px; }
  .service-list-columns { columns:1; }
  .gallery-group-grid { grid-template-columns:1fr; }
  .before-after-grid { grid-template-columns:1fr 1fr; }
  .project-group-heading { display:block; }
  .project-group-heading p { margin-top:.45rem; }
  .footer-grid { grid-template-columns:1fr; }
}

@media (max-width: 479.98px) {
  .before-after-grid { grid-template-columns:1fr; }
  .display-title { font-size:clamp(2.45rem,13vw,3.55rem); }
  .trust-grid { grid-template-columns:1fr 1fr; }
  .trust-item { min-height:76px; display:flex; flex-direction:column; justify-content:center; }
  .project-strip { grid-template-columns:1fr; }
  .project-tile { min-height:245px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
