:root {
  --ink: #1f1f1f;
  --muted: #6f665f;
  --cream: #fffaf4;
  --sand: #f3ebe2;
  --line: #e5d9cf;
  --orange: #ef513d;
  --dark: #151515;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(39, 28, 20, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 244, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 217, 207, .78);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #3f3934;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 10px 0;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--orange);
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: white;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}

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

.hero {
  min-height: 710px;
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/construction-hero.png") center / cover no-repeat;
  filter: saturate(1.04) contrast(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.94), rgba(10,10,10,.72) 42%, rgba(10,10,10,.12));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 710px;
  display: grid;
  align-content: center;
  padding: 80px 0 92px;
}

.logo-card {
  width: min(420px, 100%);
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 72px;
}

.logo-card img {
  width: 100%;
}

.label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--orange);
  color: white;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.hero h1,
.page-hero h1 {
  margin: 22px 0 18px;
  max-width: 650px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .95;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 560px;
  margin: 0;
  color: #f1eee8;
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.contact-rail {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - 1160px) / 2));
  bottom: 40px;
  display: grid;
  gap: 8px;
  color: #f6f1eb;
  font-size: 13px;
  border-left: 3px solid var(--orange);
  padding-left: 18px;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--sand);
}

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-head h2,
.split h2 {
  margin: 16px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
}

.section-head p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

.stat,
.card,
.project-row,
.resource-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 9px 24px rgba(60, 40, 20, .06);
}

.stat {
  min-height: 142px;
  padding: 24px;
  border-top: 5px solid var(--orange);
  background: #232323;
  color: white;
}

.stat strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 16px;
}

.stat span,
.resource-card b {
  color: #ff6a52;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
}

.card {
  padding: 26px;
  border-left: 4px solid var(--orange);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.card p,
.card li,
.split p,
.project-row,
.resource-card span {
  color: #403a35;
  line-height: 1.58;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.feature-image {
  min-height: 420px;
  background: linear-gradient(90deg, rgba(239,81,61,.78), rgba(21,21,21,.08)), url("assets/construction-hero.png") center / cover no-repeat;
}

.page-hero {
  min-height: 440px;
  position: relative;
  color: white;
  overflow: hidden;
  background: var(--dark);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/construction-hero.png") center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,12,12,.92), rgba(12,12,12,.68) 48%, rgba(12,12,12,.12));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  min-height: 440px;
  display: grid;
  align-content: center;
}

.project-list {
  display: grid;
  gap: 12px;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(150px, .62fr) minmax(160px, .72fr) minmax(220px, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.project-row.header {
  background: #202020;
  color: white;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.project-row strong {
  color: var(--ink);
}

.project-row.header strong {
  color: white;
}

.money {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.resource-card {
  padding: 20px;
  border-left: 4px solid var(--orange);
}

.resource-card b {
  display: block;
  margin-bottom: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-panel,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: 30px;
  border-left: 5px solid var(--orange);
}

.contact-panel h2,
.contact-form h2 {
  margin: 16px 0 18px;
  font-size: 34px;
  line-height: 1.05;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  display: block;
  color: #3f3934;
  line-height: 1.45;
}

.contact-form {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffaf4;
  color: var(--ink);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(239, 81, 61, .28);
  border-color: var(--orange);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 14px 0 0;
}

.cta-band {
  padding: 64px 0;
  color: white;
  background: #151515;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.footer {
  padding: 38px 0;
  background: #0f0f0f;
  color: #e8ded3;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.footer img {
  width: 250px;
}

.footer small {
  color: #a79c93;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 4px;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .logo-card {
    margin-bottom: 48px;
  }

  .section-head,
  .split,
  .contact-layout,
  .cta-band .container,
  .footer .container {
    display: grid;
  }

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

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

  .grid-4,
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .project-row,
  .project-row.header {
    grid-template-columns: 1fr;
  }

  .project-row.header {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 210px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 44px;
  }

  .contact-rail {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(1160px, calc(100% - 40px));
    margin: -86px auto 30px;
  }
}
