.home-hero {
  background: radial-gradient(ellipse at 0% 0%, #edf6f0, transparent 68%), #f9f5ea;
  border-bottom: 1px solid #dde6df;
  padding: clamp(24px, 5vw, 70px) 0;
}

.home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
}

.home-hero h1 {
  font-size: clamp(47px, 6.2vw, 86px);
  line-height: .99;
  letter-spacing: -.07em;
  margin: 0 0 23px;
  color: #163c36;
}

.home-hero h1 em { color: #20716a; }

.home-hero-copy > p {
  max-width: 47ch;
  color: #374949;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  margin: 0;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-actions .button {
  font-size: 14px;
  padding-inline: 19px;
}
.home-hero .button-accent { background: #17685f; border-color: #17685f; color: #fff; }
.home-hero .button-accent:hover { background: #104e47; border-color: #104e47; }
.home-hero .button-line { border-color: #86a49b; color: #164c43; background: #ffffff7d; }

.home-hero-copy > .home-privacy {
  margin-top: 14px;
  color: #526052;
  font-size: 13px;
}

.home-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 35px #183b331a;
}

.home-section { padding: clamp(36px, 6vw, 80px) 0; }
.home-section-heading { margin-bottom: 22px; }

.home-section h2 {
  font: 400 clamp(31px, 4vw, 52px) / 1.08 Georgia, serif;
  letter-spacing: -.045em;
  margin: 0;
}

.home-section-heading p { margin: 7px 0 0; color: #526061; }
.home-heading-with-link { display: flex; align-items: end; justify-content: space-between; gap: 10px 24px; }
.home-heading-with-link .text-link { flex: none; }

.home-jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-job-type {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  padding: 16px;
  background: var(--white);
  border: 1px solid #d8ddd6;
  border-radius: 10px;
}

.home-job-type strong,
.home-job-type small { display: block; }

.home-job-type strong { line-height: 1.25; }
.home-job-type small { color: #526061; margin-top: 5px; }
.home-job-type:hover { border-color: #20716a; background: #f0f8f3; }
.home-other-job { background: #edf4ee; }
.home-arrow { color: #20716a; }

.home-process {
  background: #e8f2eb;
  border-block: 1px solid #d4e4db;
}

.home-process-grid,
.home-routes-grid { display: grid; gap: 20px; }

.home-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-process-grid > div { border-top: 1px solid #aebba9; padding: 13px 0 0; }
.home-process-grid h3 { margin: 0 0 4px; font-size: 17px; }
.home-process-grid p { max-width: 36ch; margin: 0; color: #374949; }

.home-routes-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }

.home-routes-grid > div {
  padding: clamp(20px, 4vw, 46px);
  border-radius: 6px;
}

.home-routes-grid h2 { font-size: clamp(29px, 3.4vw, 42px); }
.home-routes-grid p { margin: 11px 0 0; }
.home-contractor { background: linear-gradient(135deg, #104b37, #196245); color: var(--white); }
.home-contractor p { color: #e1eae2; }
.home-contractor .button-ghost { color: #f2f5ed; border-color: #83968a; }
.home-commercial { background: #efece1; }
.home-commercial p { color: #374949; }
.home-commercial .text-link { display: inline-block; margin-top: 15px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 850px) {
  .home-jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .home-hero-layout, .home-routes-grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero h1 { max-width: 12ch; margin-bottom: 14px; }
  .home-actions { margin-top: 17px; }
  .home-hero-photo { aspect-ratio: 16 / 10; object-position: center 42%; }
}

@media (max-width: 480px) {
  .home-hero h1 { font-size: clamp(43px, 12.5vw, 58px); }
  .home-actions .button { width: auto; min-height: 48px; gap: 10px; padding-inline: 14px; }
  .home-job-type { padding: 12px; gap: 5px; }
  .home-heading-with-link { display: block; }
  .home-process-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
}
