:root {
  color-scheme: light;
  --ink: #171a1d;
  --ink-soft: #2b3035;
  --muted: #69727a;
  --line: #d8dde2;
  --paper: #f4f2ee;
  --paper-strong: #ffffff;
  --orange: #f26a21;
  --red: #d7192a;
  --blue: #1138b7;
  --steel: #71808d;
  --radius: 8px;
  font-family:
    Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(12, 18, 24, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: #050506;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.08;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.68;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  opacity: 0.88;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 390px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 88vh;
  padding: 128px clamp(18px, 5vw, 72px) 66px;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.88), rgba(8, 12, 16, 0.58) 48%, rgba(8, 12, 16, 0.2)),
    linear-gradient(0deg, rgba(8, 12, 16, 0.62), rgba(8, 12, 16, 0.08) 50%),
    url("./assets/project-asphalt-road.jpg") center 42%/cover;
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  right: -6vw;
  bottom: -2px;
  width: 54vw;
  height: 18vh;
  background: linear-gradient(135deg, transparent 34%, rgba(242, 106, 33, 0.96) 34% 47%, transparent 47%);
  content: "";
  opacity: 0.88;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4.2rem, 8.4vw, 7.3rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.52rem);
  line-height: 1.45;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #111;
  background: var(--orange);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.btn.dark {
  width: 100%;
  color: #fff;
  background: var(--ink);
}

.hero-panel {
  display: grid;
  gap: 1px;
  max-width: 390px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 18, 16, 0.66);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.hero-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ticker {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  background: var(--ink);
  color: #fff;
}

.ticker span {
  flex: 1 0 max-content;
  min-width: 190px;
  padding: 18px 24px;
  background: #22272d;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 9vw, 122px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.22fr) minmax(0, 0.78fr);
  gap: clamp(20px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section-heading h2,
.quality-copy h2,
.machinery h2,
.contact h2 {
  margin: 0;
  max-width: 940px;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.intro-copy {
  display: grid;
  gap: 20px;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  line-height: 1.7;
}

.intro-copy p {
  margin: 0;
}

.image-stack {
  position: relative;
}

.image-stack img,
.quality-media img,
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-stack img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  filter: saturate(0.95) contrast(1.04);
}

.image-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 3px;
  padding: 18px;
  border-left: 4px solid var(--orange);
  color: #fff;
  background: rgba(15, 18, 21, 0.82);
  backdrop-filter: blur(10px);
}

.image-caption span {
  color: rgba(255, 255, 255, 0.72);
}

.work-section {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(242, 106, 33, 0.54);
  box-shadow: 0 24px 55px rgba(22, 26, 29, 0.12);
  transform: translateY(-4px);
}

.service-card span {
  color: var(--orange);
  font-weight: 950;
}

.service-card h3,
.process-step h3,
.project-card h3 {
  margin: 36px 0 12px;
  color: var(--ink);
  font-size: 1.38rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card p,
.process-step p,
.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.quality {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: center;
  background: #11161b;
  color: #fff;
}

.quality-copy h2 {
  color: #fff;
}

.quality-copy p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
  line-height: 1.7;
}

.quality-media {
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.quality-list span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.process {
  background: #ece7df;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 26, 29, 0.22);
}

.process-step {
  position: relative;
  padding: 34px 28px 0 0;
}

.process-step::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  font-weight: 950;
}

.projects {
  background: #fff;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.project-card img {
  aspect-ratio: 1.22 / 1;
  filter: saturate(0.92) contrast(1.02);
}

.project-card div {
  padding: 24px;
}

.project-card span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-card h3 {
  margin-top: 12px;
}

.machinery {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 21, 26, 0.96), rgba(16, 21, 26, 0.74)),
    url("./assets/project-road-rollers.jpg") center/cover;
}

.machinery-inner {
  max-width: 940px;
}

.machinery h2 {
  color: #fff;
}

.machinery p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.7;
}

.machinery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.machinery-tags span {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.64fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  background: #fff;
}

.contact-copy p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f8f8;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 106, 33, 0.14);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #11161b;
}

.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 900;
}

.site-footer img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: #000;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    min-height: 70px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(10, 15, 20, 0.16);
  }

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

  .main-nav a {
    padding: 14px 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 116px;
  }

  .hero-panel {
    max-width: 100%;
    justify-self: stretch;
  }

  .section-heading,
  .intro-grid,
  .quality,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .quality-media {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-bottom: 38px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.7rem);
    line-height: 0.94;
  }

  .hero::after {
    width: 92vw;
  }

  .btn {
    width: 100%;
  }

  .hero-panel div {
    padding: 18px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .service-grid,
  .project-grid,
  .process-line,
  .quality-list {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
