.page-content {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 6.4vw, 90px) 7.5%;
  background: #111610;
}

.home-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: 67% 48%;
  opacity: .78;
}

.home-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #111610 25%, #111610ed 43%, #11161030 82%);
}

.home-hero h1,
.services-intro h1 {
  max-width: 24ch;
  margin: 0;
  font: 500 clamp(42px, 5.5vw, 74px)/1.02 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.home-hero p {
  margin: 19px 0 23px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
}

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

.home-actions .button {
  width: auto;
  min-height: 48px;
  margin-top: 0;
  padding: 10px 16px;
  justify-content: center;
  font-size: 14px;
}

.home-actions .outline:hover {
  background: #313b2a;
}

.home-section.section,
.service-section.section {
  padding-block: clamp(35px, 5.1vw, 68px);
}

.home-section h2,
.service-section h2 {
  margin-bottom: 14px;
}

.section-lead {
  max-width: 64ch;
  color: var(--muted);
  font-size: 16px;
}

.service-grid,
.updates-grid {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 24px 18px;
}

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

.service-card,
.update-card {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card h2,
.update-card h2 {
  font-size: clamp(30px, 3vw, 43px);
}

.service-card h3,
.update-card h3 {
  margin-bottom: 8px;
}

.service-card p,
.service-card li,
.update-card p,
.founder-summary p {
  color: var(--muted);
}

.service-card p:last-child,
.founder-summary p {
  margin-bottom: 0;
}

.service-card ul {
  margin: 0 0 20px;
  padding-inline-start: 18px;
}

.service-card li + li {
  margin-top: 6px;
}

.content-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-card .content-link {
  align-self: flex-start;
  margin-top: auto;
}

.founder-summary p {
  max-width: 67ch;
}

.services-intro {
  background: #141a13;
}

.services-intro p {
  margin: 18px 0 0;
}

.service-details .service-grid {
  margin: 0;
}

.service-approach .steps p {
  font-size: 14px;
  line-height: 1.6;
}

.compact-footer {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.compact-footer .footer-links {
  grid-column: auto;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
}

.compact-footer .image-credit {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .home-hero {
    padding-inline: 6%;
  }

  .home-hero-image {
    width: 100%;
    opacity: .56;
  }

  .home-hero::before {
    background: linear-gradient(90deg, #111610ed, #11161070);
  }

  .service-grid,
  .updates-grid,
  .compact-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .compact-footer {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .home-actions .button {
    width: 100%;
  }
}
