:root {
  --blue: #075b97;
  --blue-dark: #063b66;
  --blue-deep: #082f4f;
  --blue-light: #eaf4fb;
  --ink: #142330;
  --muted: #60717e;
  --line: #dce5eb;
  --off-white: #f6f9fb;
  --white: #ffffff;
  --hero-image: url('images/modular-complex-lift.webp');
  --site-image: url('images/modular-site.webp');
  --unit-image: url('images/modular-unit-lift.webp');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-light { color: #bfe4fc; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h2 { margin-bottom: 0; font-size: clamp(36px, 4vw, 58px); font-weight: 620; line-height: 1.05; }
p { line-height: 1.75; }

.site-header { position: relative; z-index: 50; height: 92px; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(220,229,235,.8); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: block; width: 220px; }
.brand img { width: 100%; height: 67px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: 38px; font-size: 14px; font-weight: 620; }
.desktop-nav > a:not(.nav-cta) { position: relative; padding: 34px 0; }
.desktop-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 24px; left: 0; height: 2px; background: var(--blue); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.desktop-nav > a:hover::after, .desktop-nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 13px 20px; color: white; background: var(--blue); transition: background .2s ease; }
.nav-cta:hover { background: var(--blue-dark); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; padding: 9px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; height: 2px; background: var(--ink); }
.mobile-menu nav { position: absolute; top: 54px; right: 0; width: 220px; padding: 10px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(8,47,79,.14); }
.mobile-menu nav a { display: block; padding: 13px 12px; font-weight: 620; }

.hero { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; color: white; background: var(--blue-deep); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; transform: scale(1.015); animation: hero-settle 1.4s ease-out both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,32,55,.94) 0%, rgba(3,38,65,.78) 42%, rgba(4,41,68,.25) 78%, rgba(4,41,68,.18) 100%); }
.hero-content { position: relative; z-index: 2; padding: 86px 0 150px; }
.hero h1 { max-width: 900px; margin-bottom: 28px; font-size: clamp(52px, 6.3vw, 88px); font-weight: 600; line-height: .97; }
.hero-lead { max-width: 680px; margin-bottom: 34px; color: #e2edf5; font-size: 19px; line-height: 1.6; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid transparent; font-size: 14px; font-weight: 720; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: #0870b7; }
.button-ghost { color: white; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
.button-ghost:hover { background: white; color: var(--blue-deep); }
.button-outline { color: var(--blue); border-color: #aac4d6; }
.button-outline:hover { color: white; border-color: var(--blue); background: var(--blue); }
.button-white { color: var(--blue-deep); background: white; }
.hero-proof { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(255,255,255,.22); background: rgba(5,45,75,.76); backdrop-filter: blur(9px); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid div { padding: 27px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.proof-grid div:first-child { padding-left: 0; }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: 17px; }
.proof-grid span { margin-top: 5px; color: #bad1e0; font-size: 13px; }

.intro-section { background: white; }
.intro-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 100px; align-items: start; }
.intro-copy p { margin-bottom: 30px; color: var(--muted); font-size: 18px; }
.text-link { display: inline-flex; gap: 14px; align-items: center; color: var(--blue); font-size: 14px; font-weight: 750; }
.text-link span { font-size: 20px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.services-section { background: var(--off-white); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 55px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 300px; padding: 38px 40px; background: white; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { z-index: 2; transform: translateY(-5px); box-shadow: 0 18px 48px rgba(8,47,79,.1); }
.service-number { display: block; margin-bottom: 50px; color: var(--blue); font-size: 12px; font-weight: 750; }
.service-card h3 { margin-bottom: 16px; font-size: 27px; font-weight: 620; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.image-story { min-height: 690px; display: grid; grid-template-columns: 1.25fr .75fr; }
.image-story-photo { background: var(--site-image) center / cover no-repeat; }
.image-story-panel { padding: 105px clamp(40px, 6vw, 96px); color: white; background: var(--blue-deep); }
.image-story-panel h2 { margin-bottom: 28px; }
.image-story-panel > p:not(.eyebrow) { color: #c6d7e2; font-size: 17px; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 38px; }
.industry-tags span { padding: 10px 13px; border: 1px solid rgba(255,255,255,.25); color: #dcecf6; font-size: 12px; font-weight: 620; }

.process-section { background: white; }
.process-section > .container > h2 { margin-bottom: 58px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-grid article { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); }
.process-grid article:not(:first-child) { padding-left: 28px; }
.process-grid article:last-child { border-right: 0; }
.process-grid span { color: var(--blue); font-size: 12px; font-weight: 750; }
.process-grid h3 { margin: 38px 0 15px; font-size: 25px; }
.process-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.cta-band { padding: 75px 0; color: white; background: var(--blue); }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-content h2 { font-size: clamp(34px, 4vw, 52px); }

.page-hero { position: relative; min-height: 500px; display: flex; align-items: end; color: white; background-position: center; background-size: cover; }
.services-hero { background-image: var(--unit-image); background-position: center 46%; }
.about-hero { background-image: var(--hero-image); background-position: center 56%; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,38,64,.94), rgba(4,38,64,.55) 62%, rgba(4,38,64,.25)); }
.page-hero-content { position: relative; z-index: 1; padding-bottom: 75px; }
.page-hero h1 { max-width: 850px; margin-bottom: 20px; font-size: clamp(48px, 6vw, 78px); font-weight: 600; line-height: 1; }
.page-hero-content > p:last-child { max-width: 680px; margin-bottom: 0; color: #dfebf3; font-size: 18px; }

.service-detail-section { padding-top: 65px; }
.service-detail { display: grid; grid-template-columns: .85fr 1.2fr .8fr; gap: 70px; padding: 58px 0; border-bottom: 1px solid var(--line); }
.service-detail:first-child { border-top: 1px solid var(--line); }
.service-detail-title span { display: block; margin-bottom: 28px; color: var(--blue); font-size: 12px; font-weight: 750; }
.service-detail-title h2 { font-size: 36px; }
.service-detail-copy h3 { margin-bottom: 18px; font-size: 22px; line-height: 1.25; }
.service-detail-copy p { margin-bottom: 0; color: var(--muted); }
.service-detail ul { margin: 0; padding: 0; list-style: none; }
.service-detail li { position: relative; padding: 13px 0 13px 23px; border-bottom: 1px solid var(--line); color: #344b5c; font-size: 14px; }
.service-detail li::before { position: absolute; left: 0; color: var(--blue); content: "—"; }
.package-section { padding: 0 0 110px; }
.package-grid { min-height: 560px; display: grid; grid-template-columns: 1.1fr .9fr; }
.package-photo { background: var(--site-image) center / cover no-repeat; }
.package-copy { padding: 80px; color: white; background: var(--blue-deep); }
.package-copy h2 { margin-bottom: 26px; font-size: 45px; }
.package-copy p:not(.eyebrow) { margin-bottom: 34px; color: #c5d7e3; }

.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.story-grid > div:last-child p { color: var(--muted); font-size: 17px; }
.values-section { padding: 76px 0; background: var(--blue-deep); color: white; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.values-grid article { padding: 15px 50px; border-right: 1px solid rgba(255,255,255,.17); }
.values-grid article:first-child { padding-left: 0; }
.values-grid article:last-child { border-right: 0; }
.values-grid span { color: #82c8f4; font-size: 12px; font-weight: 750; }
.values-grid h3 { margin: 30px 0 13px; font-size: 25px; }
.values-grid p { margin: 0; color: #bcd0dc; font-size: 14px; }
.team-section { background: var(--off-white); }
.team-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 48px; }
.team-heading > p { max-width: 320px; margin: 0; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { overflow: hidden; background: white; border: 1px solid var(--line); }
.team-card > img, .team-placeholder { width: 100%; aspect-ratio: 4 / 4.75; }
.team-card > img { object-fit: cover; object-position: center top; filter: saturate(.88); }
.team-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: white; background: linear-gradient(145deg, #0d6ca8, #073c65); }
.team-placeholder span { font-size: 52px; font-weight: 300; letter-spacing: -.05em; }
.team-placeholder small { color: #bad8ea; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.team-info { padding: 25px 23px 28px; }
.team-role { margin-bottom: 10px; color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.team-info h3 { margin-bottom: 18px; font-size: 21px; }
.team-info a { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.team-info a:hover { color: var(--blue); }

.contact-hero { padding: 105px 0; color: white; background: var(--blue-deep); }
.contact-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 100px; align-items: center; }
.contact-hero h1 { margin-bottom: 25px; font-size: clamp(48px, 6vw, 78px); font-weight: 600; line-height: 1; }
.contact-hero-grid > div:first-child > p:last-child { max-width: 650px; margin-bottom: 0; color: #c5d7e3; font-size: 18px; }
.contact-primary { padding: 38px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); }
.contact-primary > span { color: #98cbe9; font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.contact-primary h2 { margin: 26px 0 4px; font-size: 31px; }
.contact-primary p { margin-bottom: 25px; color: #afc8d8; font-size: 13px; }
.contact-primary a { display: block; margin-top: 10px; font-size: 15px; font-weight: 620; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.contact-location h2 { margin-bottom: 25px; font-size: 47px; }
.contact-location > p:not(.eyebrow) { color: var(--muted); }
.location-card { margin-top: 36px; padding: 24px; border-left: 3px solid var(--blue); background: var(--off-white); }
.location-card strong, .location-card span { display: block; }
.location-card span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.contact-list { border-top: 1px solid var(--line); }
.contact-list article { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.contact-list p { margin-bottom: 5px; color: var(--blue); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.contact-list h3 { margin: 0; font-size: 21px; }
.contact-list a { display: block; margin: 2px 0 9px; color: var(--muted); font-size: 14px; }
.contact-list a:hover { color: var(--blue); }
.contact-photo { min-height: 510px; display: flex; align-items: center; color: white; background-image: linear-gradient(90deg, rgba(4,38,64,.93), rgba(4,38,64,.35)), var(--unit-image); background-position: center 45%; background-size: cover; background-repeat: no-repeat; }
.contact-photo .container > div { max-width: 580px; padding: 70px 0; }
.contact-photo h2 { margin-bottom: 20px; }
.contact-photo p:last-child { color: #d5e4ed; font-size: 17px; }

.site-footer { padding: 75px 0 25px; background: #f5f8fa; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .6fr 1fr; gap: 80px; }
.footer-brand img { width: 230px; margin-bottom: 23px; }
.footer-brand p { max-width: 430px; color: var(--muted); font-size: 14px; }
.site-footer h3 { margin-bottom: 20px; color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.site-footer a { display: block; margin-bottom: 11px; color: #3c5262; font-size: 14px; }
.site-footer a:hover { color: var(--blue); }
.site-footer p { color: var(--muted); font-size: 14px; }
.footer-bottom { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); color: #7c8c97; font-size: 11px; }

@keyframes hero-settle { from { transform: scale(1.08); opacity: .65; } to { transform: scale(1.015); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 1000px) {
  .section { padding: 82px 0; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero { min-height: 690px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,32,55,.94), rgba(3,38,65,.58)); }
  .intro-grid, .story-grid, .contact-layout { gap: 55px; }
  .image-story { grid-template-columns: 1fr 1fr; }
  .image-story-panel { padding: 80px 45px; }
  .service-detail { grid-template-columns: .75fr 1.25fr; gap: 45px; }
  .service-detail ul { grid-column: 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-hero-grid { gap: 50px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 30px, 1180px); }
  .site-header { height: 78px; }
  .brand { width: 180px; }
  .brand img { height: 57px; }
  .section { padding: 68px 0; }
  .hero { min-height: 710px; align-items: start; }
  .hero-media { background-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,32,55,.95), rgba(3,38,65,.64)); }
  .hero-content { padding: 78px 0 180px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; }
  .proof-grid { grid-template-columns: 1fr; padding: 16px 0; }
  .proof-grid div { display: flex; justify-content: space-between; padding: 8px 0; border-right: 0; }
  .proof-grid div:first-child { padding-left: 0; }
  .proof-grid span { margin-top: 0; }
  .intro-grid, .story-grid, .contact-layout, .contact-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-copy p { font-size: 16px; }
  .section-heading-row, .team-heading, .cta-content { align-items: start; flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 30px; }
  .service-number { margin-bottom: 32px; }
  .image-story { min-height: auto; grid-template-columns: 1fr; }
  .image-story-photo { min-height: 380px; }
  .image-story-panel { padding: 68px 30px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(3) { padding-left: 0; }
  .process-grid article { padding-bottom: 28px; }
  .page-hero { min-height: 470px; }
  .page-hero h1 { font-size: 47px; }
  .page-hero-content { padding-bottom: 55px; }
  .service-detail { grid-template-columns: 1fr; gap: 25px; padding: 45px 0; }
  .service-detail ul { grid-column: 1; }
  .service-detail-title span { margin-bottom: 14px; }
  .package-grid { grid-template-columns: 1fr; }
  .package-photo { min-height: 350px; }
  .package-copy { padding: 48px 30px; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article, .values-grid article:first-child { padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .values-grid article:last-child { border-bottom: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card > img, .team-placeholder { aspect-ratio: 4 / 4.25; }
  .contact-hero { padding: 75px 0; }
  .contact-hero h1 { font-size: 47px; }
  .contact-primary { padding: 27px; }
  .contact-list article { grid-template-columns: 1fr; gap: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .hero h1, .page-hero h1, .contact-hero h1 { font-size: 40px; }
  h2 { font-size: 34px; }
  .button-row .button { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article:not(:first-child) { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid article:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
