.service-offers {
  max-width: 1080px;
  padding: 22px 0 42px;
  margin-inline: auto;
}
.service-offers a {
  overflow-wrap: anywhere;
}
.service-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  min-height: 44px;
  color: var(--portal-muted);
  font-size: .9rem;
}
.service-hero {
  padding: clamp(18px, 3vw, 36px) 0 24px;
}
.service-hero h1 {
  max-width: 24ch;
  margin: 9px 0 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.service-hero p {
  max-width: 59ch;
  color: var(--portal-muted);
  font-size: clamp(1.03rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  margin: 0;
}
.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--tint);
  color: var(--accent);
}
.service-icon svg {
  width: 25px;
  height: 25px;
}
.service-cta,
.service-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 15px;
  border-radius: 7px;
  line-height: 1.3;
  font-size: .95rem;
  font-weight: 750;
  text-decoration: none;
}
.service-cta {
  background: var(--accent);
  color: #fff;
}
.service-cta:hover {
  filter: brightness(.9);
  color: #fff;
}
.service-cta:focus-visible,
.service-index-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.service-index,
.service-work,
.service-media {
  display: grid;
  gap: 12px;
}
.service-index {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-media {
  max-width: 820px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-media[data-media-count="1"] {
  max-width: 540px;
  grid-template-columns: minmax(0, 1fr);
}
.service-work {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-index-card,
.service-work article,
.service-media figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--portal-line);
  border-radius: 10px;
  background: white;
}
.service-index-card {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 16px;
  border-top: 3px solid var(--accent);
  color: var(--portal-ink);
  text-decoration: none;
}
.service-index-card:hover {
  background: var(--tint);
}
.service-index-card h2,
.service-section h2,
.service-delivery h2,
.service-brief h2 {
  margin: 0 0 10px;
  font-size: clamp(1.24rem, 2.1vw, 1.7rem);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.service-index-card h2,
.service-index-card p,
.service-work article p,
.service-delivery p,
.service-brief p {
  margin: 0;
}
.service-index-card p,
.service-work article p,
.service-delivery p,
.service-brief p {
  color: var(--portal-muted);
  line-height: 1.55;
}
.service-index-action {
  color: var(--accent);
  font-weight: 750;
}
.service-section {
  padding: 21px 0;
  border-top: 1px solid var(--portal-line);
}
.service-work article {
  padding: 14px;
}
.service-work article h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
  line-height: 1.25;
}
.service-media figure {
  overflow: hidden;
}
.service-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #e4ebf3;
}
.service-media figcaption {
  display: grid;
  padding: 9px 12px;
  line-height: 1.4;
  font-size: .92rem;
}
.service-media figcaption a,
.service-references a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.service-credit {
  margin: 6px 0 0;
  color: var(--portal-muted);
  font-size: .85rem;
}
.service-delivery,
.service-brief {
  padding: 17px;
  border: 1px solid var(--portal-line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 19px;
}
.service-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 24px;
  background: var(--tint);
}
.service-actions {
  display: grid;
  justify-items: stretch;
  gap: 4px;
}
.service-secondary {
  border: 1px solid var(--portal-line);
  color: var(--portal-ink);
  background: white;
}
.service-references {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-references li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 12px;
  padding: 0 0 4px;
}
.service-references li + li {
  border-top: 1px solid var(--portal-line);
}
.service-references span {
  color: var(--portal-muted);
  font-size: .94rem;
}
@media (max-width: 700px) {
  .service-index,
  .service-media,
  .service-work,
  .service-brief {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-offers {
    padding-top: 12px;
  }
  .service-references li {
    display: block;
    padding-bottom: 9px;
  }
  .service-references span {
    display: block;
  }
  .service-actions {
    justify-items: start;
  }
}
