:root {
  --ink: #17212b;
  --muted: #52525b;
  --line: #e0e0e6;
  --paper: #f4f6fa;
  --white: #ffffff;
  --brand-blue: #060679;
  --brand-navy: #0c0c3c;
  --brand-accent: #060679;
  --charcoal: #0c0c3c;
  --shadow: 0 18px 45px rgba(20, 30, 36, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(223, 230, 234, .8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.site-nav a {
  text-decoration: none;
  color: var(--charcoal);
}

.site-nav a[aria-current="page"] {
  color: var(--brand-blue);
}

.nav-call {
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--white) !important;
  background: var(--brand-blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(10, 20, 26, .84), rgba(10, 20, 26, .54) 44%, rgba(10, 20, 26, .12));
}

.hero-content {
  position: relative;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 9vh 0 13vh;
  color: var(--white);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  color: var(--white);
  background: var(--brand-blue);
}

.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .12);
}

.secondary.dark {
  color: var(--brand-navy);
  border-color: var(--brand-blue);
  background: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--brand-navy);
  color: var(--white);
}

.metrics-band div {
  padding: 28px clamp(16px, 4vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.metrics-band strong,
.metrics-band span {
  display: block;
  line-height: 1.1;
}

.metrics-band strong {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.section,
.service-list,
.project-section,
.team-grid,
.ticket-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading h2,
.split-section h2,
.contact-section h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.service-grid,
.project-preview,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article,
.project-preview article,
.team-grid article,
.service-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 30, 36, .06);
}

.service-grid article,
.team-grid article,
.service-list article {
  padding: 24px;
}

h2, h3, p { overflow-wrap: anywhere; }
h3 { margin: 0 0 10px; line-height: 1.2; }

.text-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--brand-navy);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.split-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tinted {
  width: 100%;
  max-width: none;
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
  background: #f4f4f7;
}

.project-preview img,
.project-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.project-preview h3,
.project-preview p {
  padding: 0 20px;
}

.project-preview p {
  padding-bottom: 20px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 700;
}

.form-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-panel.wide {
  width: min(760px, 100%);
  margin: 0 auto;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d4d4dc;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -10000px;
}

.page-hero {
  padding: clamp(72px, 12vw, 140px) clamp(20px, 5vw, 72px);
  background: var(--charcoal);
  color: var(--white);
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
}

.about-hero {
  background: linear-gradient(rgba(18, 28, 34, .72), rgba(18, 28, 34, .86)), url("assets/engineering-hero.png") center/cover;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-list h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.note {
  color: var(--brand-navy);
  font-weight: 800;
}

.project-section + .project-section {
  border-top: 1px solid var(--line);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

figcaption {
  padding: 14px 16px;
  font-weight: 800;
}

.team-grid {
  padding-top: 0;
}

.team-grid a {
  color: var(--brand-navy);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, .82);
  background: var(--charcoal);
}

.site-footer span {
  margin-right: auto;
}

.site-footer a {
  text-decoration: none;
}

.submit-result {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--paper);
}

.submit-result section {
  width: min(620px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .metrics-band,
  .service-grid,
  .project-preview,
  .service-list,
  .project-gallery,
  .team-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
  .section-heading {
    display: block;
  }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 16px; }
  .brand small { display: none; }
  .hero { min-height: 720px; }
  .hero-content { width: calc(100% - 32px); padding-bottom: 80px; }
  .metrics-band { grid-template-columns: repeat(2, 1fr); }
  .contact-section,
  .split-section,
  .page-hero,
  .tinted {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Shared Genesis visual system */
.official-logo{width:190px;height:62px;object-fit:contain;object-position:left center}
.site-header{padding-top:8px;padding-bottom:8px;gap:20px}
.site-nav{font-size:.75rem;gap:17px;letter-spacing:.025em}
.hero{min-height:680px;align-items:center}
.hero-content{width:min(1180px,calc(100% - 40px));padding:110px 0}
.hero h1{max-width:800px;font-size:clamp(3.3rem,6.5vw,6rem);letter-spacing:-.045em;line-height:1.03}
.hero p{max-width:650px}.hero .eyebrow,.page-hero .eyebrow{color:#b5c9ee}
.hero-overlay{background:linear-gradient(90deg,rgba(11,18,56,.95),rgba(11,18,56,.75) 50%,rgba(11,18,56,.18))}
.metrics-band strong{font-size:1.4rem}.metrics-band span{margin-top:8px;font-size:.9rem;line-height:1.5}
.section-heading{display:block}.section-heading h2{letter-spacing:-.025em;line-height:1.12}
.service-grid article{border-top:3px solid var(--brand-blue);padding:30px;box-shadow:none}
.handoff{border-top:1px solid var(--line)}.handoff-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.handoff-grid article{padding:36px;background:var(--paper);border:1px solid var(--line);border-radius:8px}
.step-label{font-size:.78rem;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.partner-logo{width:280px;height:92px;object-fit:contain;object-position:left center}
.contact-section{background:var(--paper)}.contact-lines a{color:var(--brand-blue);text-underline-offset:4px}
.form-panel{padding:34px;gap:18px;border-radius:12px;box-shadow:0 12px 36px rgba(11,18,56,.08)}
.form-intro h3{font-size:1.5rem}.form-intro p,.form-note{font-size:.85rem;font-weight:400;color:var(--muted)}
select{width:100%;padding:12px;border:1px solid #d4d4dc;border-radius:6px;color:var(--ink);background:white;font:inherit;min-height:44px}
.next-steps{margin-top:38px;border-top:1px solid var(--line);padding-top:28px}.next-steps ol{padding-left:24px}.next-steps li{padding:0 0 18px 8px}.next-steps span{display:block;color:var(--muted);font-size:.92rem}
.construction-link{font-size:.9rem}.team-grid article{border-top:3px solid var(--brand-blue);box-shadow:none}.team-grid a{font-size:.85rem}
.page-hero h1{max-width:1000px;font-size:clamp(2.5rem,5vw,4.6rem);line-height:1.07;letter-spacing:-.035em}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #060679;outline-offset:4px}
@media(max-width:1200px){.nav-toggle{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;flex-direction:column;align-items:stretch;padding:24px}.site-nav.is-open{display:flex}}
@media(max-width:700px){.official-logo{width:190px;height:62px}.hero{min-height:600px}.hero-content{padding:70px 0}.handoff-grid{grid-template-columns:1fr}.handoff-grid article,.form-panel{padding:24px}.metrics-band{grid-template-columns:1fr 1fr}.section-heading{display:block}}

.site-header .brand{min-width:0;flex:0 0 190px}.site-header .official-logo{max-width:190px;max-height:62px}.site-header{min-height:78px}
@media(max-width:700px){.site-header{min-height:74px}.site-header .brand{flex-basis:190px}}

/* Team directory: names first, no oversized photo */
.team-page-hero{padding:52px clamp(20px,5vw,72px);background:var(--brand-navy)}
.team-page-hero h1{font-size:clamp(2rem,4vw,3.3rem);line-height:1.12;max-width:850px}
.team-page-hero p{max-width:780px;margin-bottom:0}
.team-grid{padding:40px 0 64px;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.team-grid article{padding:28px;min-height:150px;background:#f4f4f7;border-top:3px solid var(--brand-blue);display:flex;flex-direction:column;justify-content:center}
.team-grid article h2{font-size:clamp(1.3rem,2.1vw,1.7rem);line-height:1.2;color:var(--brand-navy);margin:0 0 12px;letter-spacing:-.02em;overflow-wrap:normal}
.team-grid article p{margin:0;color:var(--muted);font-size:1rem}
@media(max-width:950px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.team-grid{grid-template-columns:1fr;padding-top:24px;gap:14px}.team-grid article{padding:24px;min-height:120px}.team-grid article h2{font-size:1.5rem}.team-page-hero{padding-top:36px;padding-bottom:36px}}

.seo-hero{padding:64px clamp(20px,5vw,72px)}.seo-hero h1{font-size:clamp(2.3rem,5vw,4rem)}.seo-hero .button{margin-top:16px}.seo-content{width:min(920px,calc(100% - 40px));margin:0 auto;padding:28px 0}.seo-content h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;color:var(--brand-navy)}.seo-content p{color:var(--muted);line-height:1.8}.seo-breadcrumb{width:min(920px,calc(100% - 40px));margin:28px auto 0;font-size:.9rem;color:var(--muted)}.related-services{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding-left:20px}.seo-content details{border-bottom:1px solid var(--line);padding:18px 0}.seo-content summary{cursor:pointer;font-weight:700;color:var(--brand-navy)}.seo-cta{padding-bottom:64px}.seo-footer-links{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;padding:24px 20px;background:var(--paper);font-size:.85rem;color:var(--brand-navy)}#services>.text-link{margin-right:28px}@media(max-width:600px){.related-services{grid-template-columns:1fr}.seo-hero{padding:40px 20px}.seo-footer-links{justify-content:flex-start}}
