:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5b6572;
  --line: #d9dee4;
  --paper: #f7f5ef;
  --white: #ffffff;
  --steel: #273442;
  --safety: #f5b335;
  --clay: #a55f36;
  --green: #576b54;
  --shadow: 0 20px 60px rgba(23, 32, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.08);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 46px;
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 46px;
  background: #ff120f;
  clip-path: polygon(0 100%, 48% 0, 100% 100%);
}

.brand-mark span {
  position: absolute;
  top: -5px;
  width: 7px;
  height: 68px;
  background: var(--white);
  transform: rotate(43deg);
}

.brand-mark span:nth-child(1) {
  left: 15px;
}

.brand-mark span:nth-child(2) {
  left: 31px;
}

.brand-mark span:nth-child(3) {
  display: none;
}

.brand-type {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand-type span:first-child {
  position: relative;
  padding-bottom: 7px;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-type span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #ff120f;
}

.brand-type span:last-child {
  font-size: clamp(0.86rem, 1.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav a {
  padding: 8px 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding-top: 132px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/construction-hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 22, 29, 0.88) 0%, rgba(15, 22, 29, 0.62) 42%, rgba(15, 22, 29, 0.18) 100%),
    linear-gradient(0deg, rgba(15, 22, 29, 0.68) 0%, rgba(15, 22, 29, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 8vw, 110px) clamp(28px, 5vw, 70px);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--safety);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.2vw, 6.8rem);
  line-height: 0.94;
  max-width: 12ch;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--safety);
  color: #15130f;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--steel);
  color: var(--white);
}

.trust-band div {
  padding: 28px clamp(18px, 4vw, 54px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 7px;
  color: var(--safety);
}

.trust-band span {
  color: rgba(255, 255, 255, 0.75);
}

.section,
.work-section,
.quote-section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 70px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 760px);
  gap: clamp(20px, 4vw, 70px);
  align-items: start;
  margin-bottom: 38px;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.8rem);
  line-height: 1;
  max-width: 12ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 70px;
  color: var(--clay);
  font-weight: 900;
}

.service-grid h3,
.timeline h3 {
  font-size: 1.25rem;
}

.service-grid p,
.timeline p,
.work-copy p,
.quote-section p,
.footer span {
  color: var(--muted);
  line-height: 1.65;
}

.work-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  background: var(--white);
}

.work-copy h2 {
  max-width: 10ch;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 14px;
  height: 3px;
  background: var(--safety);
}

.work-panel {
  display: grid;
  box-shadow: var(--shadow);
}

.work-panel div {
  min-height: 150px;
  padding: 28px;
  color: var(--white);
  background: var(--steel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.work-panel div:nth-child(2) {
  background: var(--green);
}

.work-panel div:nth-child(3) {
  background: var(--clay);
}

.work-panel span {
  display: block;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.work-panel strong {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1.05;
}

.process {
  background: #ebe7dc;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.timeline article {
  min-height: 280px;
  padding: 28px;
  background: var(--paper);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 58px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 90px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 32, 42, 0.96), rgba(39, 52, 66, 0.94)),
    var(--steel);
}

.quote-section h2 {
  max-width: 9ch;
}

.quote-section p {
  color: rgba(255, 255, 255, 0.72);
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--safety);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 70px);
  background: #111820;
  color: var(--white);
}

.footer strong,
.footer span {
  display: block;
}

.footer a {
  font-weight: 900;
  color: var(--safety);
}

@media (max-width: 960px) {
  .section-heading,
  .work-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 84px;
    padding: 12px 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 42px;
    height: 34px;
  }

  .brand-mark::before {
    width: 42px;
    height: 34px;
  }

  .brand-mark span {
    top: -5px;
    width: 5px;
    height: 52px;
  }

  .brand-mark span:nth-child(1) {
    left: 11px;
  }

  .brand-mark span:nth-child(2) {
    left: 23px;
  }

  .brand-type span:first-child {
    padding-bottom: 5px;
    font-size: 1.12rem;
  }

  .brand-type span:first-child::after {
    height: 3px;
  }

  .brand-type span:last-child {
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 18px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 88vh;
    padding-top: 108px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 22, 29, 0.91) 0%, rgba(15, 22, 29, 0.74) 100%),
      linear-gradient(0deg, rgba(15, 22, 29, 0.7), rgba(15, 22, 29, 0));
  }

  h1 {
    font-size: 3.3rem;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .timeline article {
    min-height: auto;
  }

  .service-icon,
  .timeline span {
    margin-bottom: 28px;
  }

  .footer {
    display: grid;
  }
}
