:root {
  --blue-950: #102f40;
  --blue-900: #15384b;
  --blue-800: #20495d;
  --blue-700: #2c6077;
  --steel: #7d8a94;
  --soft: #f5f8fa;
  --line: rgba(16, 47, 64, .13);
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 47, 64, .12);
  --shadow-soft: 0 10px 28px rgba(16, 47, 64, .09);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--blue-950);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 47, 64, .1);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 265px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
}
.main-nav a {
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--blue-900);
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--blue-900);
  color: var(--white);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 545px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--blue-950);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(100deg, rgba(16,47,64,.94), rgba(16,47,64,.84) 46%, rgba(16,47,64,.50)),
    url('../img/hero-pavement.jpg') center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-700), #d7e0e5, var(--blue-700));
  opacity: .9;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: center;
  gap: 52px;
  padding: 78px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}
.eyebrow.dark { color: var(--blue-700); }
.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero p {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(255,255,255,.84);
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-1px); }
.btn-primary {
  background: var(--white);
  color: var(--blue-950);
  box-shadow: 0 14px 32px rgba(0,0,0,.16);
}
.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.08);
}
.btn-light {
  background: var(--white);
  color: var(--blue-950);
}
.hero-panel { position: relative; }
.overview-card {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  box-shadow: 0 24px 55px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 30px;
}
.small-label {
  color: rgba(255,255,255,.72);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
}
.overview-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.overview-card li {
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 700;
}

.section { padding: 72px 0; }
.intro-section { background: linear-gradient(180deg, #fff, var(--soft)); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  gap: 36px;
  align-items: center;
}
.section-copy h2,
.section-heading h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(27px, 3.1vw, 38px);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 800;
}
.section-copy p,
.section-heading p,
.cta-card p {
  margin: 15px 0 0;
  color: rgba(16,47,64,.72);
  font-size: 17px;
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feature-strip div {
  min-height: 120px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.feature-strip strong { display: block; font-size: 17px; margin-bottom: 6px; }
.feature-strip span { color: rgba(16,47,64,.65); font-size: 14px; }

.companies-section { background: var(--soft); }
.section-heading { max-width: 700px; margin-bottom: 30px; }
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.company-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.company-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(44,96,119,.32);
}
.card-image {
  height: 155px;
  margin: -20px -20px 20px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,47,64,.02), rgba(16,47,64,.35));
}
.card-image-hbo { background-image: url('../img/teamwork.jpg'); }
.card-image-stone { background-image: url('../img/hero-pavement.jpg'); }
.card-image-infra { background-image: url('../img/teamwork.jpg'); background-position: center 38%; }
.company-logo {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.company-logo img { max-width: 215px; max-height: 62px; object-fit: contain; }
.company-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.company-card p {
  margin: 12px 0 22px;
  color: rgba(16,47,64,.7);
  font-size: 15.5px;
}
.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--blue-950);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.card-link span { font-size: 18px; transition: transform .2s ease; }
.company-card:hover .card-link span { transform: translateX(3px); }

.cta-section {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
}
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  padding: 34px;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 24px 55px rgba(0,0,0,.14);
}
.cta-card p { color: rgba(255,255,255,.78); max-width: 720px; }

.site-footer {
  padding: 36px 0;
  background: #071923;
  color: rgba(255,255,255,.76);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 26px;
  align-items: center;
}
.footer-brand img {
  width: 215px;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer-brand p { margin: 10px 0 0; font-size: 14px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}
.footer-links a,
.footer-credit a { color: #fff; font-weight: 800; }
.footer-credit {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay { transition-delay: .08s; }
.reveal-delay-sm { transition-delay: .06s; }
.reveal-delay-md { transition-delay: .12s; }

@media (max-width: 980px) {
  .nav-wrap { min-height: 76px; }
  .brand img { width: 235px; }
  .hero { min-height: auto; }
  .hero-grid,
  .intro-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .company-grid { grid-template-columns: 1fr; }
  .company-card { min-height: auto; }
  .footer-credit { text-align: left; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1140px); }
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 0;
    gap: 9px;
  }
  .brand img { width: 215px; }
  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 14px;
  }
  .main-nav a { white-space: nowrap; padding: 8px 10px; }
  .hero-grid { padding: 58px 0 48px; gap: 28px; }
  .hero h1 { font-size: clamp(32px, 11vw, 44px); }
  .hero-actions,
  .cta-card { align-items: stretch; flex-direction: column; }
  .section { padding: 54px 0; }
  .feature-strip { grid-template-columns: 1fr; }
  .cta-section { padding: 54px 0; }
  .cta-card { padding: 24px; }
  .footer-grid { gap: 20px; }
}
