/* Opt in service reasons to Sprint's numbered editorial rows. */
body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] {
  --panel-gutter: 2.222222vw;
  --reason-margin: var(--panel-gutter);
  --border: #8a8f95;
  background: var(--site-black);
  color: #fff;
  padding-block: 8.333333vw 5.555556vw;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] > .wrap {
  display: block;
  width: auto;
  max-width: none;
  margin-inline: var(--reason-margin);
  padding: 0;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .sec-head {
  position: static;
  padding: 0;
  margin: 0 0 56px;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .why-grid {
  display: block;
  overflow: visible;
  background: transparent;
  color: inherit;
  border-radius: 0;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  min-width: 0;
  padding: var(--reason-margin) 0 calc(var(--reason-margin) * 2);
  border: 0;
  opacity: 1;
  transform: none;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(-1 * var(--reason-margin));
  right: calc(-1 * var(--reason-margin));
  height: 1px;
  background: #8a8f95;
  pointer-events: none;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wb {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  overflow: hidden;
  margin: calc(-1 * var(--reason-margin)) 0 0;
  padding-bottom: .06em;
  font-family: var(--site-font-latin);
  font-size: clamp(144px, 13.888889vw, 200px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.065em;
  color: #fff;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wb :is(.service-count-inner) {
  display: block;
  padding-top: var(--reason-margin);
  transform: translateY(var(--number-shift, 0%));
  will-change: transform;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .number-list-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-left: var(--reason-margin);
  box-sizing: border-box;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 25em;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard p {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-size: 16px;
  line-height: 1.7;
  max-width: 32em;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard .btn {
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  color: inherit;
  border-color: currentColor;
  font-size: 14px;
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard .btn img {
  filter: brightness(0) invert(1);
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard .btn:is(:hover,:focus-visible) {
  background: var(--on-dark, #fff);
  color: var(--site-black);
  border-color: var(--on-dark, #fff);
}

body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard .btn:is(:hover,:focus-visible) img {
  filter: brightness(0);
}

@media (min-width: 981px) {
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard :is(h3, p) {
    max-width: 100%;
  }
}

@layer japanese-line-wrap {
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .number-list-copy h3 > .jp-heading-phrase {
    display: block !important;
  }
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .number-list-copy h3 > wbr {
    display: none;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard {
    grid-template-columns: 1fr 1.4fr;
  }
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wb { font-size: 144px; }
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard h3 { font-size: 24px; }
}

@media (max-width: 680px) {
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] { --panel-gutter: 20px; padding-block: 80px 64px; }
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard { grid-template-columns: minmax(0, 1fr); }
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wb {
    font-size: clamp(112px, 36.923077vw, 144px);
    line-height: .95;
    margin-bottom: 32px;
  }
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .number-list-copy {
    grid-column: 1;
    grid-row: 2;
    padding-left: 0;
  }
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .wcard h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .service-count-inner { transform: none; }
}

/* Existing service-specific photography remains below the shared reasons. */
body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .why-visual { width: 100%; height: auto; margin: 40px 0 0; padding: 0; border: 0; }
body.editorial-site[data-site-page] :is(#reasons,#company)[data-sprint-reasons] .why-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
