:root {
  --black: #111111;
  --steel: #555555;
  --yellow: #f2b705;
  --white: #ffffff;
  --architectural: #f4f4f2;
  --line: rgba(17, 17, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: Inter, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

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

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: rgba(17, 17, 17, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand img {
  width: clamp(156px, 15vw, 220px);
  height: auto;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a:hover,
.site-footer nav a:hover,
.header-link:hover {
  color: var(--yellow);
}

.header-link {
  justify-self: end;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-image,
.hero-overlay,
.technical-grid {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.68) 43%, rgba(17, 17, 17, 0.3) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.08) 56%);
}

.technical-grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 14svh;
}

.yellow-line {
  display: block;
  width: 76px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--yellow);
  transform-origin: left;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 5.2vw, 5.35rem);
  line-height: 0.94;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.95rem, 3.9vw, 4.15rem);
  line-height: 0.96;
  text-transform: uppercase;
}

h2 span {
  color: var(--yellow);
}

h3 {
  margin-bottom: 24px;
  font-size: clamp(1.45rem, 2.35vw, 2.65rem);
  line-height: 1;
  text-transform: uppercase;
}

.hero-content > p,
.cta-content > p {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button.primary {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

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

.button:hover {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
  transform: translateY(-1px);
}

.button.secondary:hover {
  border-color: var(--yellow);
}

.section {
  padding: clamp(76px, 10vw, 150px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.about-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%),
    var(--black);
  background-size: 112px 112px;
}

.about-section::after {
  content: "STAHL";
  position: absolute;
  right: -0.08em;
  bottom: -0.22em;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(7rem, 22vw, 20rem);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.about-grid-lines {
  opacity: 0.1;
  mask-image: linear-gradient(90deg, transparent 0%, #000 44%, transparent 100%);
}

.about-grid,
.capability-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}

.about-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.about-media {
  position: relative;
  min-height: clamp(440px, 52vw, 680px);
  overflow: hidden;
  background: #050505;
}

.about-media > img:first-child {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.08);
  transition: transform 900ms ease;
}

.about-media:hover > img:first-child {
  transform: scale(1.025);
}

.about-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.18) 0%, rgba(17, 17, 17, 0.02) 52%, rgba(17, 17, 17, 0.72) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.04) 52%);
}

.about-media::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 4px;
  background: var(--yellow);
}

.about-media-logo {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  width: clamp(150px, 17vw, 260px);
  opacity: 0.86;
}

.about-copy {
  display: grid;
  gap: 20px;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.about-copy h2 {
  color: var(--white);
}

.about-copy p,
.capability-note p {
  margin-bottom: 0;
}

.about-strengths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.about-strengths div {
  display: grid;
  gap: 5px;
  min-height: 118px;
  padding: 22px;
  background: rgba(17, 17, 17, 0.72);
}

.about-strengths span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.about-strengths strong {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}

.about-strengths small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.services-section {
  background: var(--architectural);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(44px, 7vw, 86px);
}

.service-list {
  display: grid;
  gap: 1px;
  background: rgba(17, 17, 17, 0.16);
}

.service-item {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  min-height: 440px;
  background: var(--architectural);
}

.service-item:nth-child(even) {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
}

.service-item:nth-child(even) .service-image {
  order: 2;
}

.service-image {
  overflow: hidden;
  background: var(--black);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 700ms ease;
}

.service-item:hover .service-image img,
.project-item:hover img {
  transform: scale(1.035);
}

.service-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 70px);
}

.service-copy span {
  margin-bottom: 28px;
  color: var(--yellow);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.service-copy a,
.project-info b {
  color: var(--black);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-copy a:hover {
  color: var(--yellow);
}

.projects-section {
  color: var(--white);
  background: var(--black);
}

.projects-heading {
  margin-bottom: clamp(42px, 7vw, 84px);
}

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

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.project-item {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  color: var(--white);
  background: #050505;
}

.project-item.large {
  grid-row: span 2;
  min-height: 680px;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.12) 58%);
  opacity: 0.82;
  transition: opacity 220ms ease;
}

.project-item:hover .project-overlay {
  opacity: 0.96;
}

.project-info {
  position: absolute;
  left: clamp(22px, 4vw, 46px);
  right: clamp(22px, 4vw, 46px);
  bottom: clamp(24px, 4vw, 48px);
  display: grid;
  gap: 8px;
}

.project-info strong {
  font-size: clamp(1.15rem, 1.75vw, 1.85rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.project-info small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.project-info em {
  color: var(--yellow);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-info b {
  margin-top: 12px;
  color: var(--white);
}

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

.capability-note {
  max-width: 620px;
  color: var(--steel);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.coverage-section {
  background: var(--architectural);
}

.mexico-map {
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.52);
}

.mexico-map svg {
  width: 100%;
  height: auto;
}

.map-shape {
  fill: #242424;
}

.peninsula {
  fill: #3b3b3b;
}

.map-point {
  fill: var(--yellow);
  filter: drop-shadow(0 0 10px rgba(242, 183, 5, 0.32));
}

.map-lines path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  opacity: 0.72;
}

.cta-section {
  position: relative;
  min-height: 74svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.cta-section img,
.cta-overlay {
  position: absolute;
  inset: 0;
}

.cta-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.68) 48%, rgba(17, 17, 17, 0.32) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.86), rgba(17, 17, 17, 0.28));
}

.cta-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) 0;
}

.cta-content h2 {
  margin-bottom: 28px;
  color: var(--white);
}

.site-footer {
  color: var(--white);
  background: var(--black);
  border-top: 2px solid var(--yellow);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 34px;
  align-items: center;
  padding: 42px 0;
}

.footer-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.footer-brand img {
  width: clamp(170px, 17vw, 250px);
}

.site-footer nav {
  justify-content: end;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 680ms ease, transform 680ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal].is-visible .yellow-line {
  animation: lineReveal 760ms ease both;
}

@keyframes lineReveal {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .about-grid,
  .capability-grid,
  .coverage-grid,
  .section-heading,
  .service-item,
  .service-item:nth-child(even),
  .project-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 0;
  }

  .about-copy {
    max-width: none;
    padding-top: 42px;
  }

  .service-item:nth-child(even) .service-image {
    order: 0;
  }

  .service-item {
    min-height: auto;
  }

  .service-image {
    min-height: 330px;
  }

  .project-item.large {
    min-height: 430px;
  }

  .site-footer nav {
    justify-content: start;
    flex-wrap: wrap;
  }
}

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

  .brand img {
    width: 138px;
  }

  .header-link {
    font-size: 0.68rem;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding-bottom: 10svh;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.65rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8.8vw, 2.85rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-image,
  .project-item,
  .project-item.large {
    min-height: 310px;
  }

  .service-copy {
    padding: 28px 22px 34px;
  }

  .about-media {
    min-height: 360px;
  }

  .about-media-logo {
    width: 160px;
  }

  .about-strengths {
    grid-template-columns: 1fr;
  }

  .project-info {
    left: 22px;
    right: 22px;
    bottom: 24px;
  }
}
