:root {
  --emp-navy: #071d38;
  --emp-navy-deep: #031225;
  --emp-red: #d51d2b;
  --emp-red-bright: #ec3b47;
  --emp-ink: #0b2039;
  --emp-slate: #4d6378;
  --emp-mist: #f2f6f9;
  --emp-line: rgba(7, 29, 56, 0.15);
  --emp-page: min(1180px, calc(100% - 64px));
  --emp-display: "Plus Jakarta Sans", Arial, sans-serif;
  --emp-body: "DM Sans", Arial, sans-serif;
}

body.emp-home { margin: 0; color: var(--emp-ink); background: #fff; font-family: var(--emp-body); font-size: 16px; line-height: 1.55; }
body.emp-home.menu-open { overflow: hidden; }
.emp-home *, .emp-home *::before, .emp-home *::after { box-sizing: border-box; }
.emp-home img { display: block; max-width: 100%; }
.emp-home a { color: inherit; text-decoration: none; }
.emp-home button, .emp-home input, .emp-home select { font: inherit; }
.emp-page-shell { width: var(--emp-page); margin-inline: auto; }
.emp-section { padding-block: 130px; }
.emp-home h1, .emp-home h2, .emp-home h3, .emp-home p { margin-top: 0; }
.emp-home h1, .emp-home h2, .emp-home h3 { font-family: var(--emp-display); letter-spacing: -.055em; line-height: .98; }
.emp-home h2 { margin-bottom: 0; font-size: clamp(40px, 5.6vw, 75px); font-weight: 700; }
.emp-eyebrow { margin: 0 0 19px; color: var(--emp-red); font: 700 11px/1.2 var(--emp-body); letter-spacing: .16em; text-transform: uppercase; }

body.emp-home .site-header { height: 96px; color: #fff; background: rgba(3, 18, 37, .24); border-bottom: 1px solid rgba(255, 255, 255, .2); }
body.emp-home .site-header.is-scrolled { color: #fff; background: rgba(3, 18, 37, .92); border-color: rgba(255, 255, 255, .1); box-shadow: 0 8px 28px rgba(3, 18, 37, .2); }
.emp-header-shell { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.emp-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.emp-brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.emp-brand > span { display: grid; gap: 1px; font-family: var(--emp-display); line-height: .88; text-transform: uppercase; }
.emp-brand strong { font-size: 16px; font-weight: 800; letter-spacing: -.06em; }
.emp-brand small { color: var(--emp-red-bright); font-size: 7px; font-weight: 800; letter-spacing: .17em; }
body.emp-home .site-header.is-scrolled .emp-brand { color: #fff; }
.emp-main-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); font: 700 13px/1 var(--emp-display); letter-spacing: .035em; text-transform: uppercase; }
.emp-main-nav > a:not(.emp-nav-cta) { position: relative; }
.emp-main-nav > a:not(.emp-nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.emp-main-nav > a:not(.emp-nav-cta):hover::after { transform: scaleX(1); }
.emp-nav-cta { padding: 12px 17px; color: #fff; background: var(--emp-red); }
.emp-menu-toggle { display: none; border: 0; color: inherit; background: none; cursor: pointer; }

.emp-hero { position: relative; display: grid; min-height: min(860px, 100svh); overflow: hidden; color: #fff; background: url("assets/homepage-hero-fence-enhanced.jpg") 55% center / cover; }
.emp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 18, 37, .92) 0%, rgba(3, 18, 37, .7) 34%, rgba(3, 18, 37, .18) 68%, rgba(3, 18, 37, .1) 100%); }
.emp-hero-content { position: relative; z-index: 1; align-self: center; padding-top: 118px; }
.emp-hero-overline { margin-bottom: 24px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.emp-hero h1 { max-width: 820px; margin-bottom: 26px; font-size: clamp(57px, 7.15vw, 106px); font-weight: 700; }
.emp-hero h1 em { color: var(--emp-red-bright); font-family: Georgia, serif; font-size: .92em; font-weight: 400; letter-spacing: -.07em; }
.emp-hero-copy { max-width: 475px; margin-bottom: 34px; color: rgba(255, 255, 255, .91); font-size: 20px; }
.emp-hero-actions { display: flex; align-items: center; gap: 27px; }
.emp-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 15px 20px; border: 1px solid transparent; font: 800 12px/1 var(--emp-display); letter-spacing: .05em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.emp-button:hover { transform: translateY(-3px); }
.emp-button-red { color: #fff; background: var(--emp-red); }
.emp-button-red:hover { background: var(--emp-red-bright); }
.emp-button-navy { width: 100%; color: #fff; background: var(--emp-navy); }
.emp-button-navy:hover { background: #123e6a; }
.emp-text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--emp-navy); font: 800 12px/1 var(--emp-display); letter-spacing: .055em; text-transform: uppercase; }
.emp-text-link span { color: var(--emp-red); font-size: 17px; line-height: 1; transition: transform .2s; }
.emp-text-link:hover span { transform: translate(3px, -3px); }
.emp-text-link.emp-light { color: #fff; }
.emp-hero-scroll { position: absolute; z-index: 1; right: max(32px, calc((100vw - 1180px) / 2)); bottom: 34px; display: flex; align-items: center; gap: 14px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.emp-hero-scroll i { position: relative; display: block; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; }
.emp-hero-scroll i::after { content: "↓"; position: absolute; inset: 5px; font-size: 14px; font-style: normal; text-align: center; }

.emp-marquee { overflow: hidden; padding-block: 17px; color: #fff; background: var(--emp-navy); }
.emp-marquee-track { display: flex; width: max-content; font: 700 13px/1 var(--emp-display); letter-spacing: .08em; text-transform: uppercase; animation: emp-scroll 32s linear infinite; will-change: transform; }
.emp-marquee-group { display: flex; flex-shrink: 0; align-items: center; gap: 26px; padding-right: 26px; }
.emp-marquee i { color: var(--emp-red-bright); font-size: 11px; font-style: normal; }
@keyframes emp-scroll { to { transform: translateX(-33.333333%); } }

.emp-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 9vw; }
.emp-intro-heading h2 { max-width: 670px; }
.emp-intro-detail { max-width: 400px; padding-bottom: 7px; }
.emp-intro-detail p { margin-bottom: 31px; color: var(--emp-slate); font-size: 18px; }

.emp-feature-split { position: relative; display: grid; min-height: min(860px, 66.667vw); overflow: hidden; color: #fff; background: var(--emp-navy); }
.emp-feature-split::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(3, 18, 37, .93) 0%, rgba(3, 18, 37, .68) 35%, rgba(3, 18, 37, .22) 66%, rgba(3, 18, 37, .07) 100%); pointer-events: none; }
.emp-feature-photo { position: absolute; inset: 0; background: url("assets/screened-deck-exterior.jpg") center / cover no-repeat; }
.emp-feature-copy { position: relative; z-index: 1; align-self: center; width: var(--emp-page); padding-inline: 0; margin-inline: auto; }
.emp-feature-copy h2 { max-width: 680px; margin-bottom: 28px; }
.emp-feature-copy > p:not(.emp-eyebrow) { max-width: 500px; color: rgba(255, 255, 255, .82); font-size: 18px; }
.emp-method-list { max-width: 560px; margin-top: 47px; border-top: 1px solid rgba(255, 255, 255, .3); }
.emp-method-list > div { display: flex; align-items: center; gap: 20px; padding-block: 15px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.emp-method-list span { color: var(--emp-red-bright); font: 800 12px/1 var(--emp-display); }
.emp-method-list strong { color: #fff; font: 600 14px/1.2 var(--emp-display); letter-spacing: -.02em; }

.emp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.emp-section-heading > p { max-width: 350px; margin: 0 0 5px; color: var(--emp-slate); }
.emp-service-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.emp-service-group-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--emp-mist); }
.emp-service-before-after { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 3 / 2; background: var(--emp-navy); }
.emp-service-state { position: relative; min-width: 0; overflow: hidden; background: var(--emp-navy); }
.emp-service-state + .emp-service-state { border-left: 2px solid white; }
.emp-service-state b { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 7px 9px; color: white; background: var(--emp-navy); font-size: 10px; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.emp-service-state:last-child b { color: var(--emp-navy); background: white; }
.emp-service-group-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2, .7, .2, 1); }
.emp-service-before-after img { object-fit: contain; }
.emp-service-group:hover .emp-service-group-photo img { transform: scale(1.045); }
.emp-service-group h3 { margin: 20px 0 12px; font-size: clamp(27px, 2.7vw, 39px); font-weight: 700; }
.emp-service-group ul { padding: 0; margin: 0; border-top: 1px solid var(--emp-line); list-style: none; }
.emp-service-group li { position: relative; padding: 9px 24px; border-bottom: 1px solid var(--emp-line); color: var(--emp-slate); font-size: 14px; }
.emp-service-group li::before { content: "→"; position: absolute; left: 0; color: var(--emp-red); }
.emp-service-more { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 36px; }
.emp-service-more p { margin: 0; color: var(--emp-slate); }

.emp-proof { padding-block: 128px; color: #fff; background: var(--emp-navy); }
.emp-proof-shell { display: grid; grid-template-columns: .88fr 1.12fr; gap: 10vw; }
.emp-light-eyebrow { color: var(--emp-red-bright); }
.emp-proof h2 { font-size: clamp(47px, 5.6vw, 78px); }
.emp-proof-points { align-self: end; }
.emp-proof-points article { display: grid; grid-template-columns: 54px 1fr; gap: 0 14px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .25); }
.emp-proof-points article:last-child { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.emp-proof-points span { grid-row: span 2; color: var(--emp-red-bright); font: 700 12px/1 var(--emp-display); }
.emp-proof-points h3 { margin-bottom: 7px; font-size: 21px; font-weight: 600; letter-spacing: -.035em; }
.emp-proof-points p { margin-bottom: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }

.emp-project-showcase { overflow: hidden; padding-block: 105px 92px; color: #fff; background: var(--emp-navy-deep); border-bottom: 4px solid var(--emp-red); }
.emp-project-showcase-inner { display: grid; grid-template-columns: minmax(210px, .34fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 76px); }
.emp-project-showcase-heading h2 { max-width: 300px; margin-bottom: 46px; color: #fff; font-size: clamp(48px, 5.2vw, 74px); }
.emp-project-showcase-heading h2 em { color: var(--emp-red-bright); font-style: normal; }
.emp-project-stage { position: relative; min-width: 0; height: 535px; }
.emp-project-slides { position: absolute; inset: 0; }
.emp-project-slide { position: absolute; top: 20px; left: 50%; z-index: 0; width: min(72%, 700px); opacity: 0; transform: translateX(-50%) scale(.72); transition: left .55s cubic-bezier(.2,.7,.2,1), opacity .4s, transform .55s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.emp-project-slide.is-active { z-index: 2; opacity: 1; transform: translateX(-50%) scale(1); pointer-events: auto; }
.emp-project-slide.is-prev { left: 0; z-index: 1; opacity: 0; transform: translateX(-60%) scale(.82); }
.emp-project-slide.is-next { left: 100%; z-index: 1; opacity: 0; transform: translateX(-40%) scale(.82); }
.emp-project-slide figure { height: 405px; margin: 0; overflow: hidden; background: var(--emp-navy); }
.emp-project-slide img { width: 100%; height: 100%; object-fit: cover; }
.emp-project-slide > div { padding-top: 17px; text-align: center; opacity: 0; transition: opacity .25s .2s; }
.emp-project-slide.is-active > div { opacity: 1; }
.emp-project-slide h3 { margin-bottom: 7px; color: #fff; font-size: clamp(24px, 2.5vw, 36px); font-weight: 700; }
.emp-project-slide p { margin: 0; color: rgba(255,255,255,.58); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.emp-carousel-control { position: absolute; z-index: 4; top: 198px; display: grid; width: 54px; height: 54px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #fff; background: var(--emp-navy); transition: color .2s, background .2s, transform .2s; }
.emp-carousel-control:hover { color: var(--emp-navy); background: #fff; transform: scale(1.06); }
.emp-carousel-control svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.emp-carousel-prev { left: 8%; }
.emp-carousel-next { right: 8%; }
.emp-carousel-count { position: absolute; right: 20px; bottom: 10px; margin: 0; color: rgba(255,255,255,.62); font: 700 15px/1 var(--emp-display); }
.emp-carousel-count span { color: var(--emp-red-bright); }

.emp-quote { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; margin-top: 130px; background: var(--emp-mist); }
.emp-quote-photo { background: url("assets/screened-deck-exterior.jpg") center / cover; }
.emp-quote-panel { width: min(510px, calc(100% - 9vw)); padding: 110px 0 90px; margin: auto; }
.emp-quote-panel h2 { margin-bottom: 17px; }
.emp-quote-panel > p:not(.emp-eyebrow) { max-width: 420px; margin-bottom: 34px; color: var(--emp-slate); font-size: 17px; }
.emp-quote-panel > p a { color: var(--emp-navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--emp-red); text-underline-offset: 3px; }
.emp-quote-panel form { display: grid; gap: 17px; }
.emp-quote-panel label { display: grid; gap: 7px; color: var(--emp-slate); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.emp-quote-panel input, .emp-quote-panel select { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--emp-line); outline: none; color: var(--emp-ink); background: transparent; font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.emp-quote-panel input:focus, .emp-quote-panel select:focus { border-color: var(--emp-red); }
.emp-quote-panel .emp-button { margin-top: 15px; }
.emp-form-success { margin: 1px 0 0; color: #08764a; font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; }

.emp-site-footer { color: #fff; background: var(--emp-navy-deep); }
.emp-footer-top { display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 60px; padding-block: 49px; }
.emp-footer-brand img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.emp-footer-top p { max-width: 340px; margin: 0; color: rgba(255, 255, 255, .65); }
.emp-footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-block: 19px; border-top: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .55); font-size: 12px; }
.emp-footer-bottom a { color: var(--emp-red-bright); }

.emp-reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.emp-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  :root { --emp-page: min(100% - 40px, 1180px); }
  body.emp-home .site-header { height: 76px; }
  .emp-brand strong { font-size: 15px; }
  .emp-brand img { width: 42px; height: 42px; }
  .emp-menu-toggle { position: relative; z-index: 2; display: grid; width: 35px; gap: 6px; padding: 7px 0 7px 7px; }
  .emp-menu-toggle span { display: block; width: 27px; height: 2px; background: currentColor; transition: transform .2s; }
  .emp-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .emp-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .emp-main-nav { position: fixed; inset: 0; display: grid; align-content: center; justify-items: center; gap: 29px; padding: 90px 20px; visibility: hidden; opacity: 0; color: #fff; background: var(--emp-navy); font-size: 19px; transition: opacity .2s, visibility .2s; }
  .emp-main-nav.is-open { visibility: visible; opacity: 1; }
  .emp-nav-cta { margin-top: 12px; padding: 15px 21px; font-size: 13px; }
  .emp-hero { min-height: 710px; background-position: 62% center; }
  .emp-hero::after { background: linear-gradient(90deg, rgba(3, 18, 37, .92), rgba(3, 18, 37, .44)); }
  .emp-hero-content { padding-top: 88px; }
  .emp-hero h1 { font-size: clamp(51px, 13vw, 72px); }
  .emp-hero-copy { font-size: 17px; }
  .emp-hero-scroll { right: 20px; bottom: 23px; }
  .emp-hero-scroll span { display: none; }
  .emp-marquee-track { animation-duration: 22s; }
  .emp-section { padding-block: 86px; }
  .emp-intro, .emp-proof-shell { grid-template-columns: 1fr; gap: 36px; }
  .emp-intro-detail { max-width: 510px; }
  .emp-intro-detail p { font-size: 17px; }
  .emp-feature-split, .emp-quote { grid-template-columns: 1fr; }
  .emp-feature-split { min-height: 0; }
  .emp-feature-split::after { display: none; }
  .emp-feature-photo { position: relative; inset: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .emp-feature-copy { width: var(--emp-page); padding-inline: 0; margin: auto; }
  .emp-section-heading { display: grid; align-items: start; gap: 23px; margin-bottom: 34px; }
  .emp-section-heading > p { margin: 0; }
  .emp-service-groups { grid-template-columns: 1fr; gap: 42px; }
  .emp-service-group-photo { aspect-ratio: 16 / 10; }
  .emp-service-more { align-items: flex-start; flex-direction: column; }
  .emp-proof { padding-block: 86px; }
  .emp-project-showcase { padding-block: 82px 68px; }
  .emp-project-showcase-inner { grid-template-columns: 1fr; }
  .emp-project-showcase-heading h2 { max-width: 580px; margin-bottom: 25px; }
  .emp-project-showcase-heading .emp-text-link { margin-bottom: 10px; }
  .emp-project-stage { height: 500px; }
  .emp-project-slide { width: min(78%, 600px); }
  .emp-project-slide figure { height: 370px; }
  .emp-carousel-control { top: 178px; width: 48px; height: 48px; }
  .emp-carousel-prev { left: 1%; }
  .emp-carousel-next { right: 1%; }
  .emp-quote { margin-top: 86px; }
  .emp-quote-photo { min-height: 390px; }
  .emp-quote-panel { width: var(--emp-page); padding-block: 75px; }
  .emp-footer-top { grid-template-columns: 1fr; gap: 23px; padding-block: 43px; }
  .emp-footer-bottom { display: grid; gap: 7px; }
}

@media (max-width: 410px) {
  :root { --emp-page: min(100% - 32px, 1180px); }
  .emp-hero-actions { flex-direction: column; align-items: start; gap: 20px; }
  .emp-project-stage { height: 450px; }
  .emp-project-slide { width: 84%; }
  .emp-project-slide figure { height: 330px; }
  .emp-carousel-control { top: 156px; }
}

@media (prefers-reduced-motion: reduce) {
  .emp-home *, .emp-home *::before, .emp-home *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .emp-marquee-track { animation: none; }
}

@media (max-width: 800px) {
  .emp-main-nav { z-index: 2; inset: 0 auto auto 0; width: 100vw; height: 100dvh; min-height: 100vh; }
}
