@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
}
:root {
  --blue: #004a95;
  --blue-deep: #0b2d57;
  --cta: hsl(7, 75%, 50%);
  --ink: #16202b;
  --steel: #5b6773;
  --steel-light: #d9dee4;
  --steel-tint: #f2f4f6;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 80rem;
  --gutter: 1.25rem;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  scroll-behavior: auto;
}
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--text);
  color: var(--ink);
  background: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--blue);
}
a[href^="tel:"] {
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cta);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip:focus {
  left: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}
h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  color: var(--blue);
  margin-bottom: 0.6rem;
}
p {
  margin: 0 0 1rem;
  max-width: 62ch;
}
.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: none;
  margin-top: 1rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 0.75rem 2rem;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  background: #fff;
}
.site-header .logo {
  margin-right: auto;
}
/* Only the link bar sticks; the logo and phone number scroll away.
   The wrapper must not generate a box, or it would trap the sticky bar. */
.site-top {
  display: contents;
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  border-top: 1px solid var(--steel-light);
  border-bottom: 1px solid var(--steel-light);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  border-color: var(--steel-light);
}
.site-nav a[aria-current] {
  color: var(--blue);
  border-color: var(--blue);
}
.header-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
  white-space: nowrap;
}
.menu-button {
  display: none;
  font: 600 1rem var(--text);
  color: var(--blue);
  background: none;
  border: 2px solid var(--blue);
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}
#menu::backdrop {
  background: rgba(11, 45, 87, 0.35);
}
.menu-fab {
  display: none;
}
@media (max-width: 47rem) {
  .menu-button {
    display: inline-block;
  }
  /* On phones the logo, phone number and Menu button share one row. */
  .site-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 1rem var(--gutter);
  }
  .site-header {
    flex: 1;
    gap: 0.75rem;
    padding: 0;
  }
  .site-nav {
    position: static;
    border: 0;
    background: none;
  }
  /* Floating hamburger that appears once the header row has scrolled away. */
  .menu-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0.75rem;
    right: var(--gutter);
    z-index: 6;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 0.25rem;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(11, 45, 87, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }
  .menu-fab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  #menu:not(:popover-open) {
    display: none;
  }
  .header-phone {
    font-size: 1.15rem;
  }
  /* ponytail: native popover, no JS. Browsers without popover just show the list inline. */
  #menu:popover-open {
    position: fixed;
    inset: 0 0 auto 0;
    margin: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
    border: 0;
    border-bottom: 4px solid var(--blue);
    background: #fff;
  }
  #menu:popover-open a {
    display: block;
    font-size: 1.15rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--steel-light);
  }
  #menu:popover-open a[aria-current] {
    border-bottom-color: var(--steel-light);
  }
}
@media (min-width: 47.01rem) {
  #menu {
    display: flex;
    position: static;
    inset: auto;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0.6rem var(--gutter);
    border: 0;
    background: none;
    width: auto;
    height: auto;
    overflow: visible;
    color: inherit;
  }
}

main {
  border-top: 4px solid var(--blue);
}
main > :where(.page-head, .feature, .row, .prose, .services, .contact) {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Content pages */
.page-head {
  padding-top: 3rem;
  padding-bottom: 2rem;
}
.feature {
  width: min(100%, 51rem);
  margin-bottom: 1rem;
  border: 1px solid var(--steel-light);
}
.row {
  display: grid;
  grid-template-columns: minmax(18rem, 2fr) 3fr;
  gap: 1.5rem 3rem;
  align-items: start;
  padding-block: 2.5rem;
}
.row + .row,
.capabilities + .row,
.prose + .row,
.row + .prose,
.prose + .prose {
  border-top: 1px solid var(--steel-light);
}
.prose {
  padding-block: 2.5rem;
}
.prose h2 + h2 {
  margin-top: 1.5rem;
}
h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 1.25rem 0 0.25rem;
}
.prose ul {
  max-width: 62ch;
  padding-left: 1.25rem;
}
.cta {
  margin-top: 1.5rem;
  font-weight: 500;
  max-width: none;
}
.pics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}
.pics img {
  width: 100%;
  border: 1px solid var(--steel-light);
}
.certs {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 52rem) {
  .row {
    grid-template-columns: 1fr;
  }
  .certs {
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  }
}

/* Home */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--blue-deep) url("/images/hero-1920.webp") center / cover;
}
@media (max-width: 47rem) {
  .hero {
    background-image: url("/images/hero-960.webp");
  }
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(11, 45, 87, 0.94) 0%,
    rgba(11, 45, 87, 0.7) 55%,
    rgba(11, 45, 87, 0.3) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) var(--gutter);
}
@media (max-width: 47rem), (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-fab {
    transition: none;
  }
}
.hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  max-width: 16ch;
  line-height: 0.98;
}
.hero .tagline {
  font-size: 1.15rem;
  max-width: 52ch;
  margin: 1.5rem 0 2rem;
  color: #e6ebf2;
}
.button {
  display: inline-block;
  background: var(--cta);
  color: var(--steel-light);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  padding: 0.7rem 1.4rem;
}
.button:hover {
  background: #ef4a4a;
}
.hero :focus-visible {
  outline-color: var(--cta);
}
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2.5rem;
  padding-block: 3.5rem;
}
.service {
  color: inherit;
  text-decoration: none;
  border-top: 4px solid var(--blue);
  padding-top: 1.25rem;
}
.service a {
  color: inherit;
  text-decoration: none;
}
.service img {
  width: 100%;
  margin-bottom: 1rem;
  border: 1px solid var(--steel-light);
}
.service h2 {
  font-size: 1.6rem;
}
.service p {
  font-size: 1rem;
  color: var(--steel);
}
.service a:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* Structural rolling */
.capabilities {
  background: var(--steel-tint);
  padding: 2.5rem var(--gutter);
}
.capabilities h2,
.caps {
  max-width: var(--wrap);
  margin-inline: auto;
}
.capabilities h2 {
  margin-bottom: 1.25rem;
}
.capabilities h3 {
  max-width: var(--wrap);
  margin-inline: auto;
}
.caps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1rem;
}
.caps > li {
  background: #fff;
  border: 1px solid var(--steel-light);
  padding: 1rem;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
}
.caps ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  line-height: 1.8;
}
.caps .pipe {
  display: block;
  background: none;
  border: 0;
  padding: 0.25rem 0 0;
}
.caps .pipe p {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--blue);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  padding-bottom: 3.5rem;
}
.call {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.call a {
  text-decoration: none;
}
.contacts {
  margin: 0 0 1.5rem;
}
.contacts dt {
  font-weight: 600;
  margin-top: 0.75rem;
}
.contacts dd {
  margin: 0;
}
address {
  font-style: normal;
  margin-bottom: 1rem;
}
.map {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--steel-light);
}
@media (max-width: 52rem) {
  .contact {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--blue-deep);
  color: #fff;
  margin-top: 2rem;
  padding: 3rem var(--gutter) 2rem;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 4rem;
}
.footer-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.site-footer a {
  color: #fff;
}
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.site-footer nav a {
  text-decoration: none;
}
.site-footer nav a:hover {
  text-decoration: underline;
}
.site-footer :focus-visible {
  outline-color: var(--cta);
}
.footer-note {
  max-width: var(--wrap);
  margin: 2.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #b9c4d3;
  font-size: 0.95rem;
}
@media (max-width: 40rem) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Hover-to-play video (structural rolling) */
.rolling .page-head {
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
}
.rolling .capabilities {
  padding-block: 2rem;
}
.rolling .row,
.rolling .prose {
  padding-block: 2rem;
}
.rolling .prose .cta {
  margin-top: 0;
}
.rolling .clips,
.rolling .capabilities .pipe {
  max-width: var(--wrap);
  margin-inline: auto;
}
.rolling .clips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 52rem) {
  .rolling .clips {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 34rem) {
  .rolling .clips {
    grid-template-columns: 1fr;
  }
}
.rolling .capabilities .pipe {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--blue);
}
.hover-video {
  position: relative;
  margin: 0;
  border: 1px solid var(--steel-light);
  overflow: hidden;
  cursor: pointer;
}
.hover-video img,
.hover-video video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hover-video video {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  transition: opacity 0.25s;
}
.hover-video.playing video {
  opacity: 1;
}
.hover-video figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: rgba(11, 45, 87, 0.75);
  pointer-events: none;
}
