.service-page {
  background: #fff;
}

.service-page main {
  overflow: hidden;
}

.service-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: clamp(150px, 16vw, 220px) var(--page-gutter) clamp(86px, 9vw, 128px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(155, 198, 199, 0.22), transparent 34%),
    linear-gradient(135deg, var(--ink-deep), var(--ink));
}

.service-hero__inner,
.service-article,
.service-links__inner {
  width: min(100%, 976px);
  margin-inline: auto;
}

.service-hero__eyebrow {
  margin: 0 0 28px;
  color: var(--accent);
  font-family: "Display B", Copperplate, serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.service-hero__lead {
  max-width: 760px;
  margin: 32px 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  font-weight: 200;
  line-height: 1.6;
  text-wrap: pretty;
}

.service-hero__actions {
  display: flex;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.service-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-size: 1rem;
  font-weight: 400;
  transition: transform 250ms ease, background 250ms ease;
}

.service-button:hover {
  background: #b9d9da;
  transform: translateY(-2px);
}

.service-button--secondary {
  color: #fff;
  background: transparent;
}

.service-button--secondary:hover {
  color: var(--ink);
  background: var(--accent);
}

.service-article {
  padding-block: clamp(76px, 8vw, 112px);
}

.service-article section + section {
  margin-top: clamp(62px, 7vw, 94px);
}

.service-article h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.7vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.service-article h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.25;
}

.service-article p,
.service-article li {
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  font-weight: 300;
  line-height: 1.72;
}

.service-article section > p {
  max-width: 820px;
  margin: 24px 0 0;
}

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

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.service-card p {
  margin: 14px 0 0;
}

.service-list {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 28px;
}

.service-list li::before {
  position: absolute;
  top: 0.74em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.service-note {
  margin-top: clamp(64px, 8vw, 108px);
  padding: clamp(30px, 5vw, 54px);
  color: #fff;
  border-radius: 12px;
  background: var(--ink);
}

.service-note h2 {
  color: #fff;
}

.service-note p {
  max-width: 760px;
  margin: 20px 0 28px;
}

.service-links {
  padding: 64px var(--page-gutter);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.service-links h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 400;
}

.service-links ul {
  display: flex;
  margin: 24px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.service-links a {
  display: inline-flex;
  padding: 10px 15px;
  border: 1px solid #cfd3d8;
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  transition: border-color 200ms ease, color 200ms ease;
}

.service-links a:hover,
.service-links a[aria-current="page"] {
  color: #315f61;
  border-color: var(--accent);
}

.service-footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--page-gutter);
  color: #fff;
  background: var(--ink-deep);
}

.service-footer p {
  margin: 0;
}

.service-footer a {
  color: var(--accent);
}

@media (max-width: 720px) {
  .service-hero {
    padding-top: 126px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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