:root {
  --navy: #061b42;
  --blue: #0b3778;
  --green: #19843f;
  --leaf: #64a712;
  --gold: #f7b512;
  --ink: #12203a;
  --muted: #5c6677;
  --line: #dde5ee;
  --paper: #f7fafc;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(6, 27, 66, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(221, 229, 238, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eef5f1;
  outline: none;
}

.nav-cta {
  color: var(--white);
  background: var(--green);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #126a31;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: min(620px, calc(100vh - 110px));
  display: grid;
  align-content: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 27, 66, 0.94), rgba(6, 27, 66, 0.72) 56%, rgba(18, 105, 49, 0.72)),
    linear-gradient(135deg, #061b42, #0b3778 52%, #19843f);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 86px;
  background: var(--white);
  clip-path: polygon(0 62%, 100% 16%, 100% 100%, 0 100%);
}

.hero-media {
  position: absolute;
  right: clamp(-120px, -4vw, 32px);
  top: 50%;
  width: min(56vw, 720px);
  transform: translateY(-52%);
  opacity: 0.22;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(54px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.4vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: var(--navy);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 52px;
}

.hero-stats article {
  min-height: 130px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.94);
  border-right: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-stats article:first-child {
  border-radius: 8px 0 0 8px;
}

.hero-stats article:last-child {
  border-right: 0;
  border-radius: 0 8px 8px 0;
}

.hero-stats strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 4vw, 64px);
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section h3 {
  margin: 20px 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
}

.section p {
  margin: 0;
  color: var(--muted);
}

.two-column,
.section-heading,
.contact-section,
.contracting-section,
.careers-section {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column,
.section-heading,
.contact-section,
.contracting-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 18px;
  font-size: 17px;
}

.business-section,
.projects-section,
.careers-section {
  background: var(--paper);
}

.leadership-section {
  background: var(--white);
}

.section-heading {
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  font-size: 17px;
}

.division-grid,
.project-list,
.leadership-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 18px;
}

.division-grid {
  grid-template-columns: repeat(4, 1fr);
}

.leadership-grid {
  grid-template-columns: repeat(4, 1fr);
}

.division-card,
.project-panel,
.leader-card {
  min-height: 286px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(6, 27, 66, 0.06);
}

.leader-card {
  min-height: 184px;
  display: grid;
  align-content: space-between;
}

.leader-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leader-card h3 {
  margin-bottom: 0;
}

.icon {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #edf6ef;
}

.fuel-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 9px;
  width: 19px;
  height: 29px;
  border: 4px solid var(--green);
  border-radius: 4px 4px 2px 2px;
}

.fuel-icon::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 16px;
  width: 8px;
  height: 22px;
  border-right: 4px solid var(--green);
  border-top: 4px solid var(--green);
  border-radius: 0 8px 0 0;
}

.oil-icon::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 10px;
  width: 20px;
  height: 30px;
  background: var(--blue);
  border-radius: 5px 5px 12px 12px;
}

.oil-icon::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 5px;
  width: 10px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
}

.solar-icon::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 29px;
  height: 20px;
  background:
    linear-gradient(90deg, transparent 31%, #ffffff 31% 36%, transparent 36% 64%, #ffffff 64% 69%, transparent 69%),
    linear-gradient(0deg, transparent 44%, #ffffff 44% 51%, transparent 51%),
    var(--blue);
  transform: skewX(-14deg);
}

.solar-icon::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 13px;
  height: 13px;
  background: var(--gold);
  border-radius: 50%;
}

.tower-icon::before,
.tower-icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
}

.tower-icon::before {
  left: 23px;
  top: 8px;
  width: 5px;
  height: 35px;
  transform: skewX(-12deg);
}

.tower-icon::after {
  left: 12px;
  top: 18px;
  width: 28px;
  height: 4px;
  box-shadow: 3px 11px 0 var(--navy);
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--navy);
}

.metrics-band div {
  min-height: 190px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--navy);
  color: var(--white);
}

.metrics-band span,
.metrics-band small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

.metrics-band strong {
  display: block;
  margin: 8px 0;
  color: var(--gold);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
}

.project-list {
  grid-template-columns: repeat(3, 1fr);
}

.project-panel {
  min-height: 238px;
}

.project-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.project-panel.pipeline .project-marker {
  color: var(--navy);
  background: var(--gold);
}

.contracting-section {
  align-items: center;
}

.contracting-copy p {
  margin-top: 20px;
  font-size: 17px;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-list span {
  display: block;
  padding: 18px 20px;
  color: var(--navy);
  background: #f2f7f4;
  border-left: 4px solid var(--green);
  border-radius: 6px;
  font-weight: 800;
}

.careers-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.text-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-section {
  align-items: stretch;
}

.contact-intro p {
  margin-top: 20px;
  font-size: 17px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-details a,
.contact-details div {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  color: var(--navy);
  background: #f2f7f4;
  border-left: 4px solid var(--green);
  border-radius: 6px;
  font-weight: 800;
  word-break: break-word;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  background: #e6f2e9;
  outline: none;
}

.contact-details span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cdd8e5;
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.75);
  background: #041229;
}

.site-footer img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
}

.site-footer p {
  margin: 10px 0 0;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

@media (max-width: 980px) {
  .menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px 18px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px 10px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero-media {
    width: 680px;
    right: -260px;
    opacity: 0.16;
  }

  .hero-stats,
  .division-grid,
  .leadership-grid,
  .project-list,
  .metrics-band {
    grid-template-columns: 1fr;
  }

  .hero-stats article,
  .hero-stats article:first-child,
  .hero-stats article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .hero-stats article:first-child {
    border-radius: 8px 8px 0 0;
  }

  .hero-stats article:last-child {
    border-bottom: 0;
    border-radius: 0 0 8px 8px;
  }

  .two-column,
  .section-heading,
  .contact-section,
  .contracting-section,
  .careers-section {
    grid-template-columns: 1fr;
  }

  .careers-section {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 8px 14px;
  }

  .brand span {
    max-width: 130px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .site-nav {
    inset: 68px 0 auto;
  }

  .hero {
    min-height: min(620px, calc(100vh - 96px));
  }

  .hero-inner {
    padding-top: 44px;
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(50px, 18vw, 82px);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 40px;
  }

  .hero-stats article,
  .hero-stats article:first-child,
  .hero-stats article:last-child {
    min-height: 118px;
    padding: 15px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .hero-stats article:first-child {
    border-radius: 8px 0 0 8px;
  }

  .hero-stats article:last-child {
    border-right: 0;
    border-radius: 0 8px 8px 0;
  }

  .hero-stats strong {
    font-size: 23px;
  }

  .hero-stats span {
    font-size: 11px;
    line-height: 1.25;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .division-card,
  .leader-card,
  .project-panel,
  .contact-form {
    padding: 22px;
  }

  .site-footer {
    display: grid;
  }
}
