@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bebas-neue-latin.441b026df205.woff2") format("woff2");
}

:root {
  --ink: #151719;
  --iron: #2e3438;
  --steel: #d8dee3;
  --paper: #f7f5f1;
  --white: #ffffff;
  --safety: #f1b51c;
  --safety-text: #895900;
  --oxide: #8d4033;
  --blueprint: #16375b;
  --muted: #656b70;
  --line: #d9d6ce;
  --shadow: 0 18px 45px rgba(21, 23, 25, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

picture {
  display: block;
}

a {
  color: inherit;
}

.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 {
  --header-yellow: #ffbd14;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  grid-template-rows: 3.5rem 5.875rem;
  color: var(--white);
  background: linear-gradient(to bottom, #34393c 0 3.5rem, var(--header-yellow) 3.5rem 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 31.5%;
  background: #151719;
  clip-path: polygon(0 0, 100% 0, calc(100% - 5.6rem) 100%, 0 100%);
  pointer-events: none;
}

.site-header > .brand {
  --brand-mark-size: 106px;
  --brand-name-size: 3.75rem;
  --brand-line-size: 3rem;
  position: relative;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: start;
  gap: 16px;
  margin-left: 8%;
}

.header-utility {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 0 5.5% 0 1rem;
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.header-utility span {
  padding: 0 3.25rem;
  white-space: nowrap;
}

.header-utility span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.header-utility span:last-child {
  padding-right: 0;
}

.brand {
  --brand-mark-size: 62px;
  --brand-name-size: 2.42rem;
  --brand-line-size: 1.48rem;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: var(--brand-mark-size);
  height: var(--brand-mark-size);
  flex: 0 0 auto;
  object-fit: contain;
}

.brand > picture {
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  height: var(--brand-mark-size);
  min-width: 0;
}

.brand-name,
h1,
h2,
h3 {
  margin: 0;
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-name {
  display: block;
  color: var(--white);
  font-size: var(--brand-name-size);
  line-height: 0.9;
}

.brand-line {
  display: block;
  color: var(--white);
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  font-size: var(--brand-line-size);
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(13rem, 2.3fr);
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 0 2.8% 0 9.2%;
}

.primary-nav a {
  position: relative;
  justify-self: center;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 8px;
  width: 13rem;
  min-height: 60px;
  padding: 0 20px;
  color: var(--white);
}

.nav-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #151719;
  transform: skewX(-22deg);
  pointer-events: none;
}

.nav-label,
.contact-arrow {
  position: relative;
}

.nav-label {
  padding: 8px 12px;
  border-radius: 6px;
}

.contact-arrow {
  color: var(--header-yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.primary-nav a:not(.nav-contact):hover,
.primary-nav a:not(.nav-contact):focus-visible {
  /* Keep the existing light hover box on its original dark backing. */
  background-image: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
    linear-gradient(#242628, #242628);
}

.primary-nav .nav-contact:hover,
.primary-nav .nav-contact:focus-visible {
  background: transparent;
}

.nav-contact:hover::before,
.nav-contact:focus-visible::before {
  background: var(--safety);
}

.nav-contact:hover .nav-label,
.nav-contact:focus-visible .nav-label,
.nav-contact:hover .contact-arrow,
.nav-contact:focus-visible .contact-arrow {
  color: var(--ink);
}

.primary-nav a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.brand:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 5px;
}

.primary-nav .nav-contact:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 9.375rem);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 27%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 23, 25, 0.92) 0%, rgba(21, 23, 25, 0.70) 43%, rgba(21, 23, 25, 0.10) 100%),
    linear-gradient(0deg, rgba(21, 23, 25, 0.25), rgba(21, 23, 25, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(68%, 60rem);
  margin-left: 27.3%;
  padding: 5.25rem 0 6.25rem;
}

.hero .eyebrow {
  color: var(--safety);
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero h1 {
  max-width: none;
  color: var(--white);
  font-size: 5.625rem;
  line-height: 0.95;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--safety-text);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: 5.4rem;
  line-height: 0.9;
}

.hero-lede {
  max-width: 46rem;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.hero-actions .button {
  min-height: 56px;
  padding: 12px 28px;
  border-radius: 2px;
  font-size: 1.0625rem;
}

.hero-actions .button-primary {
  background: #ffbd14;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.hero-actions .button-primary:hover,
.hero-actions .button-primary:focus-visible {
  background: #ffd04d;
  box-shadow: inset 0 0 0 3px rgba(21, 23, 25, 0.5);
}

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

.button-primary {
  color: var(--ink);
  background: var(--safety);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd04d;
  outline: 3px solid rgba(241, 181, 28, 0.35);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.hero-facts {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr 1.05fr 1.1fr;
  max-width: 55.5rem;
  margin: 36px 0 0;
  padding: 14px 0;
  background: rgba(46, 52, 56, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
}

.hero-facts div {
  min-width: 0;
  padding: 2px 24px;
}

.hero-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.4;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px;
}

.intro-grid p {
  max-width: 880px;
  margin: 0;
  color: var(--iron);
  font-size: 1rem;
}

.text-link {
  color: var(--oxide);
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 28px;
}

.section-muted {
  max-width: none;
  background: #ebe7df;
}

.section-muted > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 1fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 34px;
}

.section-header.compact {
  display: block;
  max-width: 780px;
}

#capabilities > .section-header {
  margin-left: max(0px, calc((100% - var(--max)) / 2));
}

h2 {
  color: var(--ink);
  font-size: 3.1rem;
  line-height: 0.96;
}

h3 {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: start;
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy p {
  margin: 0;
  color: var(--iron);
  font-size: 1.06rem;
}

.about-copy p + p {
  margin-top: 18px;
}

.capability-grid article,
.quality-panel,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  margin-top: 34px;
}

.capability-grid article {
  min-height: 178px;
  padding: 24px;
}

.capability-grid .capability-highlight {
  border-top: 4px solid var(--safety);
  padding-top: 21px;
}

.capability-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.technology {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.7fr);
  gap: 42px;
  align-items: center;
}

.technology p {
  color: var(--iron);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--safety);
  border-bottom: 3px solid var(--safety);
  transform: rotate(-45deg);
}

.model-compare {
  --compare-x: 62%;
  --compare-rendered-y: 50%;
  --compare-tekla-y: 52%;
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
  isolation: isolate;
  cursor: ew-resize;
  user-select: none;
}

.compare-image,
.compare-reveal {
  position: absolute;
  inset: 0;
}

.compare-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--compare-x) center;
}

.compare-image-base {
  background: #061934;
  object-position: var(--compare-x) var(--compare-tekla-y);
}

.compare-reveal {
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  z-index: 1;
  will-change: clip-path;
}

.compare-reveal .compare-image {
  object-position: var(--compare-x) var(--compare-rendered-y);
}

.compare-labels {
  position: absolute;
  inset: 14px 14px auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.compare-labels span {
  padding: 7px 10px;
  color: var(--white);
  background: rgba(21, 23, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: none;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 4;
  width: 4px;
  background: var(--safety);
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 46px;
  height: 46px;
  background: var(--safety);
  border: 4px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}

.compare-handle span::before,
.compare-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.compare-handle span::before {
  left: 11px;
  transform: translateY(-50%) rotate(-45deg);
}

.compare-handle span::after {
  right: 11px;
  transform: translateY(-50%) rotate(135deg);
}

.compare-range:focus-visible + .compare-handle span {
  outline: 4px solid rgba(241, 181, 28, 0.35);
  outline-offset: 4px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.project-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  cursor: zoom-in;
}

.project-card.large {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  background: var(--steel);
  transition: transform 180ms ease;
}

.project-card.large img {
  height: 380px;
}

.project-card .card-caption {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.project-card strong {
  font-size: 1rem;
}

.project-card .card-caption > span {
  color: var(--muted);
  font-size: 0.94rem;
}

.lightbox-item {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
}

.lightbox-item[hidden] {
  display: none;
}

.lightbox-item::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--safety);
  border-radius: 999px;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.lightbox-item:hover img,
.lightbox-item:focus-visible img {
  transform: scale(1.025);
}

.lightbox-item:hover::after,
.lightbox-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-item:focus-visible {
  outline: 3px solid rgba(241, 181, 28, 0.55);
  outline-offset: 4px;
}

.gallery-section {
  padding-top: 0;
  padding-bottom: 42px;
}

.gallery-section.is-expanded {
  padding-bottom: 78px;
}

.gallery-toggle {
  margin-top: -6px;
}

.gallery-panel[hidden] {
  display: none;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.gallery-filter {
  min-height: 38px;
  padding: 8px 13px;
  color: var(--iron);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.gallery-filter:hover,
.gallery-filter:focus-visible,
.gallery-filter.is-active {
  color: var(--ink);
  background: var(--safety);
  border-color: var(--safety);
  outline: none;
}

.full-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--steel);
  transition: transform 180ms ease;
}

.gallery-card .card-caption {
  display: grid;
  gap: 2px;
  padding: 14px;
}

.gallery-card strong {
  font-size: 0.94rem;
}

.gallery-card .card-caption > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox {
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(8, 10, 12, 0.84);
}

.lightbox-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.lightbox figure {
  display: grid;
  gap: 12px;
  margin: 0;
}

.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 148px);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.lightbox figcaption {
  display: grid;
  gap: 2px;
  min-height: 46px;
}

.lightbox figcaption strong {
  font-size: 1rem;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.lightbox-close {
  min-height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 8px 14px;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--ink);
  background: var(--safety);
  border-color: var(--safety);
  outline: none;
}

.section-dark {
  max-width: none;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 55, 91, 0.96), rgba(21, 23, 25, 0.98)),
    var(--blueprint);
}

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 28px;
}

.section-dark h2,
.section-dark p {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.aisc-logo-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 150px;
  gap: 14px;
  align-items: stretch;
  margin-top: 26px;
  max-width: 620px;
}

.aisc-logo-card {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin: 0;
  padding: 18px;
  background: var(--white);
  border-radius: 8px;
}

.aisc-logo-card-wide {
  padding: 22px;
}

.aisc-logo-card img {
  width: 116px;
  height: auto;
  max-height: 116px;
  object-fit: contain;
}

.aisc-logo-card-wide img {
  width: 100%;
  max-width: 269.4px;
  max-height: 135px;
}

.quality-panel {
  display: grid;
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.quality-panel div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.quality-panel span,
.quality-panel strong {
  display: block;
}

.quality-panel span {
  color: var(--safety);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quality-panel strong {
  margin-top: 3px;
  color: var(--white);
}

.contact-region {
  padding-bottom: 48px;
}

.contact-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(410px, calc(100% - 40px));
  margin: -30px auto 0;
}

.contact-anniversary {
  width: 180px;
  height: auto;
}

.contact-credentials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.contact-credentials img {
  width: auto;
  max-width: 100%;
  height: 130px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .contact-credentials {
    flex-direction: column;
  }
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.7fr);
  gap: 42px;
}

.contact-intro p {
  color: var(--iron);
}

.contact-email-link {
  display: inline-block;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 0;
  color: var(--oxide);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration-color: var(--safety);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.contact-email-link:hover {
  color: var(--ink);
}

.contact-email-link:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 4px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  color: var(--iron);
  font-weight: 800;
}

.contact > .contact-details {
  align-self: start;
  margin: 0;
}

.contact-details div {
  display: grid;
  gap: 2px;
}

.contact-details dt,
.contact-details dd {
  margin: 0;
}

.contact-details dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--oxide);
}

input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #c9c5ba;
  border-radius: 6px;
  background: var(--white);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(241, 181, 28, 0.3);
  border-color: var(--oxide);
}

.site-footer {
  padding: 28px;
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-copyright {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  line-height: 1.5;
}

.site-footer a {
  color: var(--safety);
  font-weight: 900;
}

.footer-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 0;
  text-underline-offset: 4px;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--safety);
  outline-offset: 4px;
}

.footer-brand {
  --brand-mark-size: 50px;
  --brand-name-size: 1.95rem;
  --brand-line-size: 1.18rem;
}

@media (max-width: 1600px) {
  .site-header > .brand {
    --brand-mark-size: 80px;
    --brand-name-size: 3rem;
    --brand-line-size: 1.9rem;
    gap: 12px;
  }

  .header-utility {
    font-size: 1rem;
  }

  .header-utility span {
    padding: 0 1.25rem;
  }

  .primary-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(11rem, 1.5fr);
    padding-left: 5%;
  }

  .primary-nav a {
    font-size: 1.5rem;
  }

  .primary-nav .nav-contact {
    width: 11rem;
    padding: 0 12px;
  }

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

@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 6.5rem auto auto;
    background: var(--header-yellow);
  }

  .site-header::before {
    bottom: auto;
    width: 78%;
    height: 6.5rem;
    clip-path: polygon(0 0, 100% 0, calc(100% - 4rem) 100%, 0 100%);
  }

  .site-header > .brand {
    --brand-mark-size: 70px;
    --brand-name-size: 2.75rem;
    --brand-line-size: 1.7rem;
    grid-row: 1;
    margin-left: 28px;
  }

  .header-utility {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: center;
    padding: 12px 20px;
    background: #34393c;
  }

  .nav-toggle {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    display: block;
    margin-right: 28px;
    background: #151719;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 28px 24px;
    background: var(--header-yellow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: 48px;
    padding: 12px;
  }

  .primary-nav .nav-contact {
    align-self: flex-start;
    width: 13rem;
    margin: 8px 12px 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    width: min(calc(100% - 56px), 60rem);
    margin: 0 auto;
    padding: 64px 0 80px;
  }

  .hero-image {
    object-position: center 24%;
  }
}

@media (max-width: 1200px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }
}

@media (max-width: 900px) {
  .brand {
    --brand-mark-size: 54px;
    --brand-name-size: 2.1rem;
    --brand-line-size: 1.27rem;
  }

  .footer-brand {
    --brand-mark-size: 50px;
    --brand-name-size: 1.95rem;
    --brand-line-size: 1.18rem;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .intro-grid,
  .section-header,
  .about-layout,
  .technology,
  .quality-grid,
  .contact,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 14px;
  }

  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .full-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    padding: 0;
  }

  .hero-facts div {
    padding: 16px 24px;
  }

  .hero-facts div:nth-child(odd) {
    border-left: 0;
  }

  .hero-facts div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .project-card.large {
    grid-column: span 2;
  }

  .model-compare {
    min-height: 360px;
  }

  .footer-inner {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-rows: 5.5rem auto auto;
  }

  .site-header::before {
    width: 85%;
    height: 5.5rem;
    clip-path: polygon(0 0, 100% 0, calc(100% - 3rem) 100%, 0 100%);
  }

  .site-header > .brand {
    --brand-mark-size: 56px;
    --brand-name-size: 2.15rem;
    --brand-line-size: 1.3rem;
    gap: 10px;
    margin-left: 16px;
  }

  .nav-toggle {
    margin-right: 16px;
  }

  .header-utility {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    padding: 12px;
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: center;
  }

  .header-utility span,
  .header-utility span:last-child {
    padding: 0 8px;
    white-space: normal;
  }

  .primary-nav {
    padding: 12px 20px 20px;
  }

  .brand {
    --brand-mark-size: 44px;
    --brand-name-size: 1.68rem;
    --brand-line-size: 1.02rem;
    gap: 8px;
  }

  .hero-content {
    width: calc(100% - 40px);
    padding: 48px 0 56px;
  }

  .hero .eyebrow {
    font-size: 0.875rem;
  }

  .hero h1 {
    font-size: 3.25rem;
    line-height: 0.98;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 1.0625rem;
    line-height: 1.5;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .hero-facts div {
    padding: 14px;
  }

  .hero-facts dd {
    font-size: 1rem;
  }

  .section,
  .quality-grid {
    padding: 58px 20px;
  }

  .contact-email-link {
    font-size: 1.125rem;
  }

  .capability-grid,
  .project-gallery,
  .full-gallery,
  .aisc-logo-grid {
    grid-template-columns: 1fr;
  }

  .model-compare {
    min-height: 310px;
  }

  .compare-labels {
    inset: 10px 10px auto;
  }

  .compare-labels span {
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .gallery-card img {
    height: 245px;
  }

  .lightbox {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .lightbox-frame {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 52px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }

  .lightbox-image {
    max-height: calc(100vh - 158px);
  }

  .aisc-logo-card {
    min-height: 132px;
  }

  .project-card.large {
    grid-column: auto;
  }

  .project-card img,
  .project-card.large img {
    height: 255px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }
}
