:root {
  --orange: #ff5a0a;
  --ink: #111927;
  --muted: #4a5362;
  --card-border: #d9dde4;
  --section-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.project-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 940px;
  padding: 65px 24px 112px;
  background: #fff;
}

.project-stage__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1480px);
  margin: 0 auto;
}

.project-stage__header {
  max-width: 1000px;
  margin: 0 auto 54px;
  text-align: center;
}

.project-stage__eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.project-stage__eyebrow-line {
  display: block;
  width: 63px;
  height: 4px;
  margin: 15px auto 16px;
  background: var(--orange);
}

.project-stage h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 4.1vw, 69px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.project-stage__intro {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

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

.project-card {
  --accent: #1555a9;
  --tint: #eaf3ff;
  --curve: rgba(48, 133, 230, 0.08);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 516px;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 31px 29px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 11px 22px rgba(18, 31, 54, 0.13);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(18, 31, 54, 0.17);
}

.project-card--roofing {
  --accent: #ff5a0a;
  --tint: #fff0e7;
  --curve: rgba(255, 90, 10, 0.08);
}

.project-card--finishing {
  --accent: #167a2c;
  --tint: #eef7ec;
  --curve: rgba(48, 137, 57, 0.08);
}

.project-card--plumbing {
  --accent: #00778c;
  --tint: #eaf7f9;
  --curve: rgba(0, 133, 156, 0.08);
}

.project-card__curve {
  position: absolute;
  z-index: 0;
  top: -133px;
  right: -132px;
  width: 302px;
  height: 302px;
  border-radius: 50%;
  background: var(--curve);
}

.project-card__icon,
.project-card h3,
.project-card__small-line,
.project-card ul,
.project-card__link {
  position: relative;
  z-index: 1;
}

.project-card__icon {
  display: grid;
  width: 104px;
  height: 104px;
  margin-bottom: 27px;
  place-items: center;
  border-radius: 16px;
  background: var(--tint);
  color: var(--accent);
}

.project-card__icon svg {
  width: 67px;
  height: 67px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(27px, 1.9vw, 32px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.project-card__small-line {
  display: block;
  width: 30px;
  height: 3px;
  margin: 16px 0 19px;
  background: var(--accent);
}

.project-card ul {
  display: grid;
  gap: 15px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.project-card li {
  position: relative;
  padding-left: 25px;
  color: #1f2631;
  font-size: 17px;
  line-height: 1.38;
  letter-spacing: -0.015em;
}

.project-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.project-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 23%, #d8dde4);
  color: var(--accent);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.project-card__link span {
  font-size: 25px;
  line-height: 1;
  transition: transform 180ms ease;
}

.project-card__link:hover,
.project-card__link:focus-visible {
  opacity: 0.8;
}

.project-card__link:hover span,
.project-card__link:focus-visible span {
  transform: translateX(4px);
}
@media (max-width: 1250px) {
  .project-stage {
    min-height: 0;
    padding-bottom: 90px;
  }

  .project-stage__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 860px;
    margin: 0 auto;
  }

  .project-card {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .project-stage {
    padding: 50px 18px 70px;
  }

  .project-stage__header {
    margin-bottom: 38px;
  }

  .project-stage__eyebrow {
    font-size: 16px;
  }

  .project-stage__eyebrow-line {
    width: 50px;
    height: 3px;
    margin: 12px auto 14px;
  }

  .project-stage h2 {
    font-size: clamp(38px, 10vw, 50px);
  }

  .project-stage__intro {
    margin-top: 17px;
    font-size: 16px;
  }

  .project-stage__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-card {
    min-height: 472px;
    padding: 27px 25px 25px;
  }

  .project-card__icon {
    width: 90px;
    height: 90px;
    margin-bottom: 23px;
    border-radius: 14px;
  }

  .project-card__icon svg {
    width: 58px;
    height: 58px;
  }

  .project-card h3 {
    font-size: 29px;
  }

  .project-card li {
    font-size: 16px;
  }

  .project-card__link {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-card__link,
  .project-card__link span {
    transition: none;
  }
}
