:root {
  --navy: #0b0b66;
  --navy-deep: #060648;
  --steel: #bfc2ca;
  --steel-dark: #858a96;
  --paper: #f3f1ec;
  --white: #ffffff;
  --red: #e3292f;
  --ink: #11151c;
  --muted: #59606c;
  --line: #d4d6da;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

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

body[data-menu-open="true"] {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  min-width: 220px;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 8px 18px;
  background: var(--white);
  color: var(--navy-deep);
  border: 3px solid var(--red);
  font-weight: 800;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-80px);
}

.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
}

.utility-bar {
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.utility-bar__inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.utility-bar a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
  font-size: 0.86rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--paper);
  border-bottom: 3px solid var(--navy);
}

.site-header__inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 170px;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}

.brand img {
  width: 170px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  color: var(--navy-deep);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--steel);
  outline: none;
}

.site-nav .site-nav__call {
  margin-left: 8px;
  background: var(--navy);
  color: var(--white);
  border: 3px solid var(--navy);
}

.site-nav .site-nav__call:hover,
.site-nav .site-nav__call:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.menu-button {
  display: none;
  min-width: 52px;
  min-height: 52px;
  padding: 0 12px;
  background: var(--navy);
  color: var(--white);
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.menu-button__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.menu-button__lines {
  width: 26px;
  display: grid;
  gap: 5px;
}

.menu-button__lines i {
  height: 3px;
  display: block;
  background: currentColor;
}

.hero {
  min-height: 700px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.hero__photos {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: grid;
  grid-template-columns: 55% 45%;
  grid-template-rows: 1fr 1fr;
  background: var(--navy-deep);
}

.hero__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 72, 0.55);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.08);
}

.hero__photo--crew {
  grid-row: 1 / 3;
  object-position: center 58%;
}

.hero__photo--line {
  object-position: center 58%;
}

.hero__photo--pipe {
  object-position: center;
}

.hero__inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.hero__plate {
  width: min(780px, 100%);
  padding: 48px 52px 46px;
  background: rgba(6, 6, 72, 0.93);
  border-top: 7px solid var(--white);
  border-left: 13px solid var(--red);
  border-bottom: 7px solid var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--red);
  margin: 0 7px;
}

.eyebrow--dark {
  color: var(--red);
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-panel h2 {
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.93;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.8rem, 7.2vw, 6.8rem);
}

.hero__lede {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 3px solid var(--white);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.button--red {
  background: var(--red);
  border-color: var(--red);
}

.button--light {
  background: var(--white);
  color: var(--navy-deep);
}

.button:hover,
.button:focus-visible {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--navy-deep);
  outline: none;
}

.hero__note {
  margin: 22px 0 0;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-contact {
  background: var(--steel);
  border-bottom: 3px solid var(--navy);
}

.quick-contact__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
}

.quick-contact a {
  min-width: 0;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 28px;
  border-left: 3px solid var(--navy);
  color: var(--navy-deep);
  text-decoration: none;
}

.quick-contact a:last-child {
  border-right: 3px solid var(--navy);
}

.quick-contact a:hover,
.quick-contact a:focus-visible {
  background: var(--white);
  outline: none;
}

.quick-contact span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-contact strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: clamp(0.92rem, 1.5vw, 1.12rem);
}

.section-shell {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.services-section,
.about-section,
.reviews-section,
.contact-section {
  padding: 96px 0;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}

.section-heading h2,
.about-copy h2,
.contact-panel h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2.7rem, 5vw, 5.3rem);
}

.section-heading p:last-child,
.about-copy > p,
.contact-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-list {
  border-bottom: 3px solid var(--navy-deep);
}

.service-row {
  display: grid;
  grid-template-columns: 90px minmax(210px, 0.72fr) 1fr;
  gap: 28px;
  align-items: center;
  min-height: 128px;
  padding: 26px 0;
  border-top: 3px solid var(--navy-deep);
}

.service-row__number {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 2.1rem;
}

.service-row h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.projects-section {
  padding: 96px 0;
  background: var(--navy-deep);
  color: var(--white);
}

.section-heading--light {
  max-width: 820px;
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light p:last-child {
  max-width: 650px;
  margin-top: 20px;
  color: var(--steel);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 265px;
  gap: 8px;
}

.project {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  border: 3px solid var(--white);
}

.project--feature {
  grid-row: span 2;
  grid-column: span 2;
}

.project--wide {
  grid-column: span 2;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 9px 12px;
  background: var(--white);
  color: var(--navy-deep);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-copy > p {
  margin-top: 24px;
}

.work-points {
  margin: 30px 0;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--navy-deep);
}

.work-points li {
  padding: 13px 0 13px 24px;
  border-top: 2px solid var(--navy-deep);
  position: relative;
  font-weight: 800;
}

.work-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 10px;
  height: 10px;
  background: var(--red);
}

.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-deep);
  font-weight: 900;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: var(--navy-deep);
}

.before-after figure {
  position: relative;
  min-width: 0;
  margin: 0;
  height: 560px;
  overflow: hidden;
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after figcaption {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.reviews-section {
  background: var(--steel);
  border-top: 3px solid var(--navy-deep);
  border-bottom: 3px solid var(--navy-deep);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-grid blockquote {
  min-width: 0;
  margin: 0;
  padding: 28px 0 0;
  border-top: 8px solid var(--red);
}

.review-grid p {
  margin: 0;
  color: var(--navy-deep);
  font-size: 1.06rem;
  font-weight: 700;
}

.review-grid cite {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8px;
  background: var(--navy-deep);
  border: 8px solid var(--navy-deep);
}

.contact-panel {
  padding: 52px 46px;
  background: var(--navy-deep);
  color: var(--white);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel > p {
  margin-top: 20px;
  color: var(--steel);
}

.contact-actions {
  margin-top: 36px;
  border-bottom: 2px solid var(--white);
}

.contact-action {
  min-width: 0;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 0;
  border-top: 2px solid var(--white);
  color: var(--white);
  text-decoration: none;
}

.contact-action:hover,
.contact-action:focus-visible {
  padding-left: 12px;
  background: var(--red);
  outline: none;
}

.contact-action span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-action small {
  color: var(--steel);
  font: inherit;
}

.contact-action strong {
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.map-section {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.map-section iframe {
  width: 100%;
  min-height: 560px;
  flex: 1;
  border: 0;
}

.map-section p {
  margin: 0;
  padding: 14px 18px;
  background: var(--steel);
  color: var(--navy-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer {
  padding: 44px 0 92px;
  background: var(--steel);
  border-top: 3px solid var(--navy-deep);
}

.site-footer__inner {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: center;
}

.site-footer img {
  width: 180px;
  height: auto;
}

.site-footer p {
  margin: 0;
  color: var(--navy-deep);
  font-weight: 800;
}

.site-footer a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--navy-deep);
  font-size: 1.25rem;
  font-weight: 900;
}

.mobile-call {
  display: none;
}

@media (max-width: 940px) {
  .site-nav a {
    padding-inline: 10px;
    font-size: 0.78rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-section iframe {
    min-height: 480px;
  }
}

@media (max-width: 840px) {
  html {
    scroll-padding-top: 88px;
  }

  body {
    padding-bottom: 66px;
  }

  body[data-menu-open="true"] {
    overflow: hidden;
  }

  .utility-bar__inner {
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }

  .utility-bar a {
    display: none;
  }

  .site-header__inner {
    min-height: 78px;
  }

  .brand {
    min-width: 126px;
    min-height: 56px;
  }

  .brand img {
    width: 126px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    z-index: 90;
    top: 122px;
    left: 0;
    right: 0;
    max-height: 0;
    display: grid;
    gap: 0;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 0 solid var(--navy-deep);
    transition: max-height 160ms ease;
  }

  .site-nav[data-open="true"] {
    max-height: calc(100vh - 122px);
    border-bottom-width: 5px;
    overflow-y: auto;
  }

  .site-nav a,
  .site-nav .site-nav__call {
    min-height: 58px;
    width: 100%;
    margin: 0;
    padding: 0 18px;
    border-top: 2px solid var(--navy-deep);
    background: var(--paper);
    color: var(--navy-deep);
  }

  .site-nav .site-nav__call {
    background: var(--red);
    color: var(--white);
    border-color: var(--navy-deep);
  }

  .hero,
  .hero__inner {
    min-height: 650px;
  }

  .hero__photos {
    grid-template-columns: 1fr 1fr;
  }

  .hero__photo--crew {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .hero__photo--line,
  .hero__photo--pipe {
    display: none;
  }

  .hero__inner {
    align-items: flex-end;
    padding: 52px 0;
  }

  .hero__plate {
    width: 100%;
    padding: 34px 28px 32px;
    border-left-width: 9px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 13vw, 5.2rem);
  }

  .hero__note {
    display: none;
  }

  .quick-contact__inner {
    grid-template-columns: 1fr;
  }

  .quick-contact a,
  .quick-contact a:last-child {
    min-height: 78px;
    border-right: 3px solid var(--navy);
    border-bottom: 3px solid var(--navy);
  }

  .services-section,
  .about-section,
  .reviews-section,
  .contact-section,
  .projects-section {
    padding: 72px 0;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-panel h2 {
    font-size: clamp(2.6rem, 11vw, 4.4rem);
  }

  .service-row {
    grid-template-columns: 70px 1fr;
    gap: 18px;
  }

  .service-row p {
    grid-column: 2;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }

  .project--feature {
    grid-column: span 2;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-panel {
    padding: 42px 26px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer img,
  .site-footer a {
    margin: 0 auto;
  }

  .mobile-call {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--red);
    color: var(--white);
    border-top: 4px solid var(--white);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-call span {
    font-size: 0.86rem;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .project-grid {
    grid-auto-rows: 190px;
  }

  .before-after {
    grid-template-columns: 1fr 1fr;
  }

  .before-after figure {
    height: 420px;
  }

  .contact-action span {
    flex-direction: column;
    gap: 2px;
  }
}

@media (max-width: 350px) {
  .utility-bar {
    font-size: 0.7rem;
  }

  .site-header__inner,
  .section-shell,
  .hero__inner,
  .utility-bar__inner,
  .site-footer__inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand img {
    width: 116px;
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .hero__plate {
    padding: 28px 18px 28px;
  }

  .eyebrow {
    letter-spacing: 0.12em;
  }

  .service-row {
    grid-template-columns: 58px 1fr;
    gap: 13px;
  }

  .service-row__number {
    font-size: 1.7rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .project--feature,
  .project--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after figure {
    height: 330px;
  }

  .mobile-call {
    gap: 6px;
    font-size: 0.9rem;
  }

  .mobile-call span {
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
