/* Keep the copy still while the light moves along the right edge of the banner. */
body.public-shell [data-service-banner] {
  --glow: #9470ce;
  --fold: #7446b0;
  --shade: #261936;
  --focus: 76%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: none;
  padding: var(--public-banner-padding);
  border-radius: clamp(14px, 2vw, 22px);
  border: 1px solid color-mix(in srgb, var(--glow) 30%, transparent);
  background: linear-gradient(110deg, #201c29 6%, var(--shade) 62%, #32223d);
  color: #f8f5fd;
}
[data-service-banner]::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 41% 120% at var(--focus) 139%, transparent 42%, color-mix(in srgb, var(--glow) 72%, transparent) 58%, transparent 78%),
    radial-gradient(ellipse 38% 139% at 109% -34%, transparent 43%, var(--fold) 68%, transparent 92%),
    radial-gradient(ellipse 46% 62% at 81% 70%, var(--fold), transparent 84%);
  mask-image: linear-gradient(100deg, transparent 0%, #0002 29%, #000d 70%, black);
}
@media (prefers-reduced-motion: no-preference) {
  [data-service-banner]::before { animation: service-glow-drift 10s ease-in-out -2s infinite alternate; }
}
@keyframes service-glow-drift {
  from { transform: translate(-6%, 3%) scale(1.02) rotate(-2deg); }
  to { transform: translate(5%, -4%) scale(1.13) rotate(2deg); }
}
body.public-shell [data-service-banner="label-management"] { --focus: 88%; --fold: #65499f; }
body.public-shell [data-service-banner="mastering"] { --focus: 68%; --fold: #6150a3; }
body.public-shell [data-service-banner="mentoring"] { --focus: 77%; --fold: #724a9f; }
body.public-shell [data-service-banner="production"] { --focus: 80%; --fold: #8052ad; }
body.public-shell [data-service-banner] > p { color: #e1dce9; }
body.public-shell [data-service-banner] > .eyebrow { color: #d4bcf0; }
[data-service-banner] .cta-row:empty { display: none; }
html[data-theme="light"] body.public-shell [data-service-banner] {
  background: linear-gradient(112deg, #f8f5fc, #eee6f5 63%, #ded3ee);
  color: #211a2c;
}
html[data-theme="light"] [data-service-banner]::before { opacity: .57; }
html[data-theme="light"] body.public-shell [data-service-banner] > p { color: #493b55; }
html[data-theme="light"] body.public-shell [data-service-banner] > .eyebrow { color: #644484; }
body.public-shell .legal-document { max-width: 72ch; margin-inline: auto; line-height: 1.65; overflow-wrap: anywhere; }
.legal-document h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.legal-document h2 { margin: 1.75em 0 .55em; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; }
.legal-document p, .legal-document ul { margin-block: .8em; }
.legal-document li p { margin-block: .3em; }
.legal-document ul { padding-inline-start: 1.4em; }
.legal-document a, .footer-bottom .legal a:hover { text-decoration: underline; text-underline-offset: .18em; }

.service-page { container: service / inline-size; }
.service-page > .section { margin-top: clamp(1.75rem, 3vw, 3.2rem); }
.service-page .section > h2 { font-size: clamp(1.35rem, 2.35vw, 2rem); margin-bottom: .85rem; }
.service-cards, .service-pair { display: grid; gap: clamp(.65rem, 1.3vw, 1rem); }
.service-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.7rem), 1fr)); }
.service-pair { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
.service-card, .service-panel {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}
.service-card-icon { display: inline-block; width: 1.65rem; color: var(--accent); margin-bottom: .8rem; }
.service-card-icon svg { display: block; width: 100%; }
.service-card h3, .service-steps h3 { font-size: 1.05rem; margin: 0 0 .35rem; line-height: 1.25; }
.service-card p, .service-steps p, .production-details dd { color: var(--muted); margin: 0; font-size: .875rem; line-height: 1.5; }
.service-panel h2 { font-size: clamp(1.14rem, 1.8vw, 1.45rem); margin: 0 0 .8rem; }
.service-panel ul { list-style: none; padding: 0; margin: 0; }
.service-panel li { display: flex; align-items: baseline; gap: .65rem; padding: .44rem 0; font-size: .9rem; line-height: 1.4; }
.service-panel li::before { content: ''; flex: none; width: .34rem; height: .34rem; border-radius: 50%; background: var(--accent); }
.service-panel li + li, .service-pricing dl > div + div { border-top: 1px solid var(--line); }
.service-pricing { background: linear-gradient(120deg, color-mix(in srgb,var(--accent) 9%,var(--panel)), var(--panel)); }
.service-pricing dl, .production-details dl { margin: 0; }
.service-pricing dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: .65rem; padding: .62rem 0; }
.service-pricing dt { font-size: .875rem; }
.service-pricing dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.service-steps { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.15rem; }
.service-steps li { display: flex; align-items: baseline; gap: .65rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.service-steps li > span { color: var(--accent); font-size: .8rem; font-variant-numeric: tabular-nums; }
.service-account-links { display: flex; gap: .6rem 1.3rem; flex-wrap: wrap; margin-top: .85rem; }
.service-next { display: inline-flex; margin-top: 1.1rem; }
.production-offers { grid-template-columns: repeat(3,minmax(0,1fr)); }
.production-details dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem 2rem; }
.production-details dt { font-weight: 600; margin-bottom: .3rem; }
.service-mentoring-grid .mentoring-card .inside { display: flex; flex-direction: column; align-items: flex-start; }
.service-mentoring-grid .price-row { width: 100%; margin-top: auto; }
.service-mentoring-grid .text-link { padding-block: .45rem; }

body.public-shell .service-page header .cta-row > .button {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
}
body.public-shell .service-page .mentoring-heading {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.mentoring-heading .cta-row { margin-top: 1rem; }

/* Use the space inside the navigation shell, including when the sidebar is open. */
@container service (max-width: 62rem) {
  .service-page .label-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .label-capabilities > :last-child { grid-column: 1 / -1; }
}
@container service (min-width: 62.001rem) {
  .service-page .label-capabilities { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@container service (max-width: 54rem) {
  .promo-benefits, .service-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-cards, .service-pair, .service-mentoring-grid { gap: clamp(.875rem, 2cqi, 1rem); }
  .service-card, .service-panel, .service-mentoring-grid .mentoring-card .inside {
    padding: clamp(.875rem, 2.5cqi, 1.375rem);
  }
  .service-mentoring-grid { grid-template-columns: 1fr; }
  .service-mentoring-grid .mentoring-card { display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr); }
  .service-mentoring-grid .mentoring-card .photo { height: 100%; min-height: 0; }
  .service-page :is(.service-hero, .mentoring-heading) {
    display: grid;
    grid-template-areas: 'eyebrow' 'title' 'actions' 'summary';
    row-gap: .8rem;
  }
  body.public-shell .service-page :is(.service-hero, .mentoring-heading) > * { margin-block: 0; }
  .service-page header .eyebrow { grid-area: eyebrow; }
  .service-page header h1 { grid-area: title; }
  .service-page header .cta-row { grid-area: actions; gap: .5rem; }
  .service-page header p:not(.eyebrow) { grid-area: summary; }
}
@container service (max-width: 39rem) {
  .service-pair, .production-offers, .production-details dl, .service-steps { grid-template-columns: 1fr; }
  .service-steps { gap: .875rem; }
  .service-card h3, .service-card p { overflow-wrap: anywhere; }
}
@container service (max-width: 29rem) {
  .service-page .label-capabilities { grid-template-columns: 1fr; }
  .service-mentoring-grid .mentoring-card { display: block; }
  .service-mentoring-grid .mentoring-card .photo { height: auto; aspect-ratio: 2 / 1; }
}
