.section.service-banner {
  margin-block-end: clamp(34px, 4.6vw, 56px);
}

.service-banner-panel {
  --banner-bg: #302139;
  --banner-accent: #ffdcbc;
  display: grid;
  grid-template-columns: 49% 51%;
  grid-template-areas: "copy photo";
  align-items: center;
  min-block-size: 256px;
  overflow: hidden;
  border-radius: 19px;
  color: #fff8f3;
  background: var(--banner-bg);
  box-shadow: 0 12px 30px #28193624;
}

.service-banner:not(.is-ready) .service-banner-panel + .service-banner-panel { margin-block-start: 12px; }
.service-banner-panel[hidden] { display: none; }

.service-banner-guide {
  --banner-bg: #332444;
  --banner-accent: #f1d1ff;
}

.service-banner-support {
  --banner-bg: #402932;
  --banner-accent: #ffd9cc;
}

.service-banner-copy {
  grid-area: copy;
  padding: 23px clamp(24px, 4.1vw, 57px) 23px 18px;
}

.service-banner-label {
  color: var(--banner-accent);
  font-size: .85rem;
  font-weight: 800;
}

.service-banner-copy h2 {
  margin-block: 6px 10px;
  font-size: clamp(1.55rem, 2.75vw, 2.35rem);
  font-weight: 900;
  line-height: 1.38;
  text-wrap: balance;
}

.service-banner-copy h2 + p {
  color: #fff8f3db;
  line-height: 1.75;
}

.service-banner-action {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  min-block-size: 44px;
  margin-block-start: 7px;
  color: var(--banner-accent);
  font-size: .92rem;
  font-weight: 850;
}

.service-banner-action:hover { text-decoration: underline; text-underline-offset: .22em; }
.service-banner-action:focus-visible { outline-color: var(--banner-accent); }

.service-banner-photo {
  position: relative;
  grid-area: photo;
  align-self: stretch;
}

.service-banner-photo img, .service-banner-photo::after {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
}

.service-banner-photo img { object-fit: cover; object-position: center 56%; }

.service-banner-photo::after {
  content: "";
  background: linear-gradient(to left, var(--banner-bg), transparent 41%);
}

.service-banner-controls:not([hidden]) {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 8px;
  margin-block-start: 4px;
}

.service-banner-dots {
  grid-column: 2;
  grid-row: 1;
  display: flex;
}

.service-banner-motion, .service-banner-dots button {
  min-block-size: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.service-banner-motion {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  padding-inline: 6px;
  color: var(--muted);
  font-size: .8rem;
  white-space: nowrap;
}

.service-banner-motion:hover { color: var(--ink); text-decoration: underline; }

.service-banner-dots button {
  display: grid;
  place-items: center;
  inline-size: 34px;
  padding: 0;
  color: var(--muted);
}

.service-banner-dots button::before {
  content: "";
  inline-size: 7px;
  block-size: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: .64;
}

.service-banner-dots button:hover::before { opacity: 1; }

.service-banner-dots button[aria-pressed="true"]::before {
  inline-size: 19px;
  color: var(--purple-deep);
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .service-banner.is-ready .service-banner-panel:not([hidden]) > * { animation: service-banner-in .34s ease-out; }
  @keyframes service-banner-in { from { opacity: .55; } }
}

@media (max-width: 650px) {
  .service-banner-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "copy";
    border-radius: 16px;
  }

  .service-banner-photo { block-size: clamp(144px, 45vw, 233px); }
  .service-banner-photo::after { background: linear-gradient(to top, var(--banner-bg), transparent 42%); }
  .service-banner-copy { min-block-size: 216px; padding: 9px 21px 15px; }
}
