/* Homepage below-the-fold solutions. The accepted hero is intentionally untouched. */
.home-page .service-section {
  display: block;
  width: calc(100% - 32px);
  min-height: 860px;
  margin: 30px 16px 0;
  padding: 104px 28px 90px;
  overflow: hidden;
  border: 1px solid rgba(48, 43, 57, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 18%, rgba(193, 94, 121, 0.18), transparent 30%),
    radial-gradient(circle at 78% 10%, rgba(89, 108, 170, 0.17), transparent 34%),
    linear-gradient(145deg, #dcdae0 0%, #d1d0d8 54%, #c8cbd3 100%);
  box-shadow: 0 28px 78px rgba(55, 49, 67, 0.13);
}

.home-page .service-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 72%);
}

.home-page .service-intro {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.home-page .service-intro .section-kicker {
  margin-bottom: 14px;
  color: #5c5265;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.home-page .service-intro h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #211f25;
  font-size: clamp(1.55rem, 2.35vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.home-page .service-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: calc(100% - clamp(170px, 14vw, 220px));
  max-width: none;
  margin: 0;
  overflow: visible;
}

.home-page .service-card {
  display: block;
  min-height: 555px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  color: #fff;
  background: #15141a;
  box-shadow: 0 22px 58px rgba(36, 31, 45, 0.16);
  isolation: isolate;
}

.home-page .service-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 12, 17, 0.08) 32%, rgba(12, 11, 16, 0.92) 100%),
    linear-gradient(135deg, rgba(133, 77, 155, 0.14), transparent 46%);
}

.home-page .service-card::after {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.44), transparent);
}

.home-page .service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  opacity: 0.86;
  filter: saturate(0.83) contrast(1.02) brightness(0.9);
  transform: scale(1.015);
  transition: opacity 450ms ease, filter 450ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .service-card-index {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.home-page .service-card-copy {
  position: absolute;
  right: 22px;
  bottom: 34px;
  left: 22px;
  z-index: 3;
}

.home-page .service-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.28rem, 1.72vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.home-page .service-card p {
  position: static;
  margin: 0;
  color: rgba(243, 241, 246, 0.76);
  font-size: 0.86rem;
  line-height: 1.52;
  opacity: 1;
  transform: none;
}

.home-page .service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .service-card-link b {
  font-size: 1rem;
  transition: transform 220ms ease;
}

.home-page .service-card:hover,
.home-page .service-card:focus-visible {
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.4);
  background: #15141a;
  box-shadow: 0 30px 78px rgba(39, 32, 50, 0.26);
  transform: translateY(-7px);
}

.home-page .service-card:hover h3,
.home-page .service-card:focus-visible h3 {
  color: #fff;
  transform: none;
}

.home-page .service-card:hover img,
.home-page .service-card:focus-visible img {
  opacity: 0.98;
  filter: saturate(1.06) contrast(1.04) brightness(0.94);
  transform: scale(1.06);
}

.home-page .service-card:hover .service-card-link b,
.home-page .service-card:focus-visible .service-card-link b {
  transform: translate(3px, -3px);
}

/* Keep the revealed homepage sphere useful without covering the card row. */
.home-page .interface-panel.sphere-visible {
  top: 34%;
  right: 8px;
}

.home-page .interface-panel.sphere-visible .sphere-shell {
  width: clamp(220px, 20vw, 265px);
  height: clamp(220px, 20vw, 265px);
}

.home-page .interface-panel.sphere-visible .sphere-core {
  width: 66px;
  height: 66px;
  font-size: 0.7rem;
}

.home-page .interface-panel.sphere-visible .sphere-link {
  width: 92px;
  min-height: 32px;
  padding: 0 8px;
  font-size: 0.68rem;
}

.home-page .interface-panel.sphere-visible .sphere-link:hover,
.home-page .interface-panel.sphere-visible .sphere-link:focus-visible {
  font-size: 0.78rem;
}

@media (max-width: 1180px) {
  .home-page .service-section {
    min-height: 800px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-page .service-grid {
    grid-template-columns: repeat(4, minmax(270px, 1fr));
    width: 100%;
    padding: 7px 180px 22px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .home-page .service-card {
    min-height: 510px;
    scroll-snap-align: start;
  }
}

@media (max-width: 900px) {
  .home-page .service-section {
    width: calc(100% - 16px);
    min-height: auto;
    margin: 18px 8px 0;
    padding: 78px 14px 58px;
    border-radius: 26px;
  }

  .home-page .service-intro {
    margin-bottom: 34px;
    padding: 0 18px;
  }

  .home-page .service-grid {
    grid-template-columns: repeat(4, minmax(78vw, 1fr));
    gap: 10px;
    padding-right: 16vw;
  }

  .home-page .service-card {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  .home-page .service-section {
    padding-top: 66px;
  }

  .home-page .service-grid {
    grid-template-columns: repeat(4, minmax(82vw, 1fr));
  }

  .home-page .service-card {
    min-height: 490px;
  }

  .home-page .interface-panel.sphere-visible .sphere-shell {
    width: 210px;
    height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .service-card,
  .home-page .service-card img,
  .home-page .service-card-link b {
    transition: none;
  }
}

/* Full-screen section rhythm and an intentionally overlapping large sphere. */
.home-page .service-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(100% - 32px);
  min-height: max(820px, 100svh);
  margin: 30px 16px 0;
  padding: 104px 28px 82px;
}

.home-page .service-intro {
  margin-bottom: 48px;
}

.home-page .service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.home-page .service-card {
  min-height: clamp(540px, 60svh, 680px);
}

.home-page .about-section,
.home-page .contact-section {
  width: calc(100% - 32px);
  min-height: max(820px, 100svh);
  margin: 30px 16px 0;
  padding: 104px clamp(34px, 5vw, 78px);
  border: 1px solid rgba(48, 43, 57, 0.12);
  border-radius: 34px;
  box-shadow: 0 28px 78px rgba(55, 49, 67, 0.12);
}

.home-page .about-section {
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(48px, 7vw, 110px);
  background:
    radial-gradient(circle at 12% 82%, rgba(184, 75, 108, 0.13), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(69, 105, 175, 0.16), transparent 35%),
    linear-gradient(145deg, #dcdae0, #ced0d8);
}

.home-page .about-copy {
  max-width: 620px;
}

.home-page .about-copy h2,
.home-page .contact-copy h2 {
  margin-bottom: 28px;
  color: #211f25;
  font-size: clamp(3.7rem, 6.8vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.home-page .about-copy p:last-child,
.home-page .contact-copy p:last-child {
  color: #595560;
  font-size: clamp(1rem, 1.22vw, 1.16rem);
  line-height: 1.72;
}

.home-page .about-gallery {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  min-height: clamp(600px, 68svh, 760px);
}

.home-page .about-gallery figure {
  border-radius: 24px;
}

.home-page .contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(600px, 1.28fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  background:
    radial-gradient(circle at 84% 18%, rgba(92, 105, 173, 0.15), transparent 34%),
    radial-gradient(circle at 12% 84%, rgba(181, 77, 110, 0.12), transparent 30%),
    linear-gradient(145deg, #d9d8de, #cbd0d7);
}

.home-page .contact-header {
  width: 100%;
  max-width: 620px;
  align-self: center;
}

.home-page .contact-console {
  width: 100%;
  max-width: none;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 28px;
}

.home-page .contact-console-top {
  padding: 26px 34px 0;
}

.home-page .contact-form {
  gap: 24px;
  padding: 42px;
}

.home-page .contact-row {
  gap: 22px;
}

.home-page .contact-form input {
  min-height: 64px;
}

.home-page .contact-form textarea {
  min-height: 240px;
}

.home-page .interface-panel.sphere-visible {
  top: 54%;
  right: 8px;
}

.home-page .interface-panel.sphere-visible .sphere-shell {
  width: clamp(370px, 36vw, 520px);
  height: clamp(370px, 36vw, 520px);
}

.home-page .interface-panel.sphere-visible .sphere-core {
  width: 98px;
  height: 98px;
  font-size: 0.88rem;
}

.home-page .interface-panel.sphere-visible .sphere-link {
  width: 116px;
  min-height: 38px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.home-page .interface-panel.sphere-visible .sphere-solutions {
  width: 138px;
}

.home-page .interface-panel.sphere-visible .sphere-link:hover,
.home-page .interface-panel.sphere-visible .sphere-link:focus-visible {
  font-size: 0.96rem;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .home-page .service-section,
  .home-page .about-section,
  .home-page .contact-section {
    width: calc(100% - 32px);
    padding-right: 28px;
    padding-left: 28px;
  }

  .home-page .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
    overflow: visible;
  }

  .home-page .about-section,
  .home-page .contact-section {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 34px;
  }

  .home-page .service-card {
    min-height: 560px;
  }
}

@media (max-width: 900px) {
  .home-page .service-section,
  .home-page .about-section,
  .home-page .contact-section {
    width: calc(100% - 16px);
    min-height: 100svh;
    margin: 18px 8px 0;
    padding: 80px 20px;
    border-radius: 26px;
  }

  .home-page .service-grid {
    grid-template-columns: repeat(4, minmax(82vw, 1fr));
    gap: 12px;
    width: 100%;
    padding: 6px 12vw 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .home-page .service-card {
    min-height: 560px;
    scroll-snap-align: start;
  }

  .home-page .about-section,
  .home-page .contact-section {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .home-page .about-gallery {
    min-height: 620px;
  }

  .home-page .contact-console {
    min-height: 560px;
  }
}

@media (max-width: 560px) {
  .home-page .service-section,
  .home-page .about-section,
  .home-page .contact-section {
    padding: 68px 14px;
  }

  .home-page .service-intro {
    padding: 0 8px;
  }

  .home-page .service-card {
    min-height: 520px;
  }

  .home-page .about-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 1.25fr 0.8fr 0.8fr;
    min-height: 980px;
  }

  .home-page .about-gallery figure:nth-child(1) {
    grid-row: auto;
  }

  .home-page .contact-form {
    padding: 28px 20px 24px;
  }

  .home-page .contact-row {
    grid-template-columns: 1fr;
  }
}

/* Homepage About scroll story. The three accepted images remain unchanged. */
.home-page .about-section.about-story-section {
  display: block;
  width: calc(100% - 32px);
  height: 300svh;
  min-height: 2300px;
  margin: 30px 16px 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .about-story-stage {
  position: sticky;
  top: 16px;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(46px, 6vw, 94px);
  align-items: center;
  width: 100%;
  height: calc(100svh - 32px);
  min-height: 720px;
  padding: clamp(46px, 5vw, 78px);
  overflow: hidden;
  border: 1px solid rgba(48, 43, 57, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at calc(12% + var(--about-scroll, 0) * 10%) 84%, rgba(184, 75, 108, 0.16), transparent 30%),
    radial-gradient(circle at calc(86% - var(--about-scroll, 0) * 12%) 14%, rgba(69, 105, 175, 0.2), transparent 34%),
    linear-gradient(145deg, #dcdae0, #ced0d8);
  box-shadow: 0 28px 78px rgba(55, 49, 67, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.44);
  isolation: isolate;
}

.home-page .about-story-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.54), transparent 70%);
}

.home-page .about-story-stage::after {
  position: absolute;
  right: -14%;
  bottom: -42%;
  z-index: -1;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(61, 218, 225, 0.2), rgba(102, 90, 181, 0.1) 34%, transparent 68%);
  filter: blur(26px);
  transform: translate3d(0, calc(var(--about-scroll, 0) * -9%), 0);
}

.home-page .about-story-section .about-copy {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 610px;
}

.home-page .about-story-section .about-copy .section-kicker {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.home-page .about-story-section .about-copy h2 {
  margin: 0 0 24px;
  color: #211f25;
  font-size: clamp(3.8rem, 6.2vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.home-page .about-story-section .about-copy h2 span {
  display: block;
  color: #77717d;
}

.home-page .about-story-section .about-intro {
  max-width: 560px;
  margin: 0;
  color: #5b5860;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.68;
}

.home-page .about-narrative {
  position: relative;
  min-height: 235px;
  margin-top: clamp(34px, 5vh, 56px);
}

.home-page .about-chapter {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 480ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1), visibility 480ms;
}

.home-page .about-chapter.active {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.home-page .about-chapter-index {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  color: #4d6270;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-page .about-chapter-index::before {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, #b34963, #7656a6, #4c72b8);
  content: "";
}

.home-page .about-chapter h3 {
  margin: 0 0 12px;
  color: #1f2426;
  font-size: clamp(1.8rem, 2.8vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.home-page .about-chapter p {
  max-width: 520px;
  margin: 0;
  color: #5c6467;
  font-size: clamp(0.96rem, 1.05vw, 1.06rem);
  line-height: 1.65;
}

.home-page .about-gallery.about-story-gallery {
  position: relative;
  display: block;
  width: 100%;
  height: min(70svh, 750px);
  min-height: 570px;
  overflow: visible;
  perspective: 1200px;
}

.home-page .about-gallery.about-story-gallery .about-story-card {
  --card-y: 0%;
  --card-scale: 1;
  --card-rotate: 0deg;
  --card-opacity: 1;
  --image-y: 0%;
  position: absolute;
  inset: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: #111a1d;
  box-shadow: 0 30px 78px rgba(32, 37, 43, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: var(--card-opacity);
  transform: translate3d(0, var(--card-y), 0) scale(var(--card-scale)) rotate(var(--card-rotate));
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.home-page .about-gallery.about-story-gallery .about-story-card:nth-child(1) {
  z-index: 3;
}

.home-page .about-gallery.about-story-gallery .about-story-card:nth-child(2) {
  z-index: 2;
  transform: translate3d(0, 7%, 0) scale(0.95) rotate(0.7deg);
}

.home-page .about-gallery.about-story-gallery .about-story-card:nth-child(3) {
  z-index: 1;
  transform: translate3d(0, 14%, 0) scale(0.9) rotate(1.4deg);
}

.home-page .about-gallery.about-story-gallery .about-story-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, rgba(5, 10, 12, 0.18) 62%, rgba(5, 10, 12, 0.94) 100%);
}

.home-page .about-gallery.about-story-gallery .about-story-card img {
  position: absolute;
  inset: -5% 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  opacity: 0.94;
  filter: saturate(0.94) contrast(1.03) brightness(0.94);
  transform: translate3d(0, var(--image-y), 0) scale(1.035);
  transition: filter 420ms ease;
  will-change: transform;
}

.home-page .about-gallery.about-story-gallery .about-story-card.active img {
  filter: saturate(1.08) contrast(1.04) brightness(0.98);
}

.home-page .about-story-card figcaption {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  z-index: 3;
  display: grid;
  gap: 8px;
  color: white;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 300ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .about-story-card.active figcaption {
  opacity: 1;
  transform: none;
}

.home-page .about-story-card figcaption span {
  color: rgba(179, 235, 237, 0.8);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page .about-story-card figcaption strong {
  max-width: 480px;
  font-size: clamp(1.55rem, 2.4vw, 2.7rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.home-page .about-story-progress {
  position: absolute;
  right: 24px;
  bottom: -34px;
  z-index: 8;
  display: flex;
  gap: 7px;
  align-items: center;
}

.home-page .about-story-progress span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(31, 52, 56, 0.22);
  transition: width 260ms ease, background 260ms ease;
}

.home-page .about-story-progress span.active {
  width: 34px;
  background: linear-gradient(90deg, #4c72b8, #28b8bd);
}

@media (max-width: 1180px) {
  .home-page .about-story-stage {
    grid-template-columns: minmax(290px, 0.8fr) minmax(430px, 1.2fr);
    gap: 34px;
    padding: 48px 28px;
  }

  .home-page .about-story-section .about-copy h2 {
    font-size: clamp(3.5rem, 6vw, 5.8rem);
  }

  .home-page .about-gallery.about-story-gallery {
    min-height: 530px;
  }
}

@media (max-width: 900px) {
  .home-page .about-section.about-story-section {
    width: calc(100% - 16px);
    height: 270svh;
    min-height: 1900px;
    margin: 18px 8px 0;
    padding: 0;
  }

  .home-page .about-story-stage {
    top: 8px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(320px, 1fr);
    gap: 24px;
    height: calc(100svh - 16px);
    min-height: 680px;
    padding: 74px 20px 24px;
    border-radius: 26px;
  }

  .home-page .about-story-section .about-copy {
    max-width: 720px;
  }

  .home-page .about-story-section .about-copy h2 {
    margin-bottom: 14px;
    font-size: clamp(3rem, 9vw, 4.8rem);
  }

  .home-page .about-story-section .about-intro {
    max-width: 680px;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .home-page .about-narrative {
    min-height: 148px;
    margin-top: 22px;
  }

  .home-page .about-chapter h3 {
    font-size: clamp(1.8rem, 5vw, 2.7rem);
  }

  .home-page .about-chapter p {
    max-width: 670px;
    font-size: 0.92rem;
  }

  .home-page .about-gallery.about-story-gallery {
    align-self: stretch;
    height: auto;
    min-height: 0;
  }

  .home-page .about-story-card figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .home-page .about-story-progress {
    right: 10px;
    bottom: -17px;
  }
}

@media (max-width: 560px) {
  .home-page .about-section.about-story-section {
    height: 255svh;
    min-height: 1720px;
    padding: 0;
  }

  .home-page .about-story-stage {
    grid-template-rows: auto minmax(270px, 1fr);
    gap: 14px;
    padding: 68px 14px 18px;
    border-radius: 24px;
  }

  .home-page .about-story-section .about-copy .section-kicker {
    margin-bottom: 12px;
  }

  .home-page .about-story-section .about-copy h2 {
    margin-bottom: 0;
    font-size: clamp(2.9rem, 14vw, 4.1rem);
  }

  .home-page .about-story-section .about-intro {
    display: none;
  }

  .home-page .about-narrative {
    min-height: 150px;
    margin-top: 18px;
  }

  .home-page .about-chapter-index {
    margin-bottom: 9px;
    font-size: 0.64rem;
  }

  .home-page .about-chapter h3 {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }

  .home-page .about-chapter p {
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .home-page .about-gallery.about-story-gallery .about-story-card {
    border-radius: 20px;
  }

  .home-page .about-story-card figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .home-page .about-story-card figcaption strong {
    font-size: 1.32rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .about-chapter,
  .home-page .about-story-progress span,
  .home-page .about-story-card figcaption,
  .home-page .about-gallery.about-story-gallery .about-story-card img {
    transition: none;
  }
}

/* Solutions coverflow: the established cards become a single spatial story. */
.home-page .service-section[data-service-carousel] {
  position: relative;
  isolation: isolate;
  min-height: max(840px, 98svh);
  padding: 82px 20px 50px;
}

.home-page .service-section[data-service-carousel]::after {
  position: absolute;
  inset: 18% 10% 8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 68%);
  content: "";
  pointer-events: none;
  transform: translateZ(0);
}

.home-page .service-section[data-service-carousel] .service-intro {
  z-index: 3;
  margin-bottom: 12px;
}

.home-page .service-carousel-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.home-page .service-section[data-service-carousel] .service-grid {
  --service-drag: 0px;
  position: relative;
  display: block;
  width: 100%;
  height: clamp(620px, 71svh, 820px);
  margin: 0;
  padding: 0;
  overflow: visible;
  cursor: grab;
  perspective: 1800px;
  perspective-origin: 50% 46%;
  touch-action: pan-y;
  transform-style: preserve-3d;
  user-select: none;
}

.home-page .service-section[data-service-carousel] .service-grid.is-dragging {
  cursor: grabbing;
}

.home-page .service-section[data-service-carousel] .service-grid.is-dragging .service-card {
  will-change: transform;
  transition: opacity 180ms ease, filter 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-page .service-section[data-service-carousel] .service-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(69vw, 1200px);
  height: clamp(520px, 63svh, 780px);
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: clamp(26px, 2.3vw, 38px);
  opacity: 0;
  cursor: pointer;
  filter: saturate(0.72) brightness(0.7) blur(1px);
  transform: translate3d(-50%, -50%, -420px) scale(0.68);
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 480ms ease,
    filter 620ms ease,
    box-shadow 620ms ease,
    border-color 220ms ease;
}

.home-page .service-section[data-service-carousel] .service-card[data-position="0"] {
  z-index: 5;
  border-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  cursor: pointer;
  filter: saturate(0.94) brightness(0.96);
  transform: translate3d(calc(-50% + var(--service-drag)), -50%, 80px) rotateY(0deg) scale(1);
  box-shadow: 0 42px 100px rgba(37, 30, 48, 0.34), 0 14px 36px rgba(55, 48, 66, 0.2);
}

.home-page .service-section[data-service-carousel] .service-card[data-position="-1"] {
  z-index: 3;
  opacity: 0.68;
  filter: saturate(0.72) brightness(0.74);
  transform: translate3d(-50%, -50%, -180px) translateX(calc(-43vw + var(--service-drag))) rotateY(30deg) scale(0.78);
}

.home-page .service-section[data-service-carousel] .service-card[data-position="1"] {
  z-index: 3;
  opacity: 0.68;
  filter: saturate(0.72) brightness(0.74);
  transform: translate3d(-50%, -50%, -180px) translateX(calc(43vw + var(--service-drag))) rotateY(-30deg) scale(0.78);
}

.home-page .service-section[data-service-carousel] .service-card[data-position="-2"],
.home-page .service-section[data-service-carousel] .service-card[data-position="2"] {
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
  filter: saturate(0.55) brightness(0.62) blur(1.5px);
  transform: translate3d(calc(-50% + var(--service-drag)), -48%, -460px) scale(0.68);
}

.home-page .service-section[data-service-carousel] .service-card::before {
  background:
    linear-gradient(180deg, rgba(12, 12, 17, 0.03) 24%, rgba(12, 11, 16, 0.94) 100%),
    linear-gradient(135deg, rgba(132, 84, 156, 0.08), transparent 48%);
}

.home-page .service-section[data-service-carousel] .service-card::after {
  right: 24px;
  bottom: 22px;
  left: 24px;
}

.home-page .service-section[data-service-carousel] .service-card img {
  opacity: 0.94;
  filter: none;
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), opacity 420ms ease;
  -webkit-user-drag: none;
  user-select: none;
}

.home-page .service-section[data-service-carousel] .service-card:not([data-position="0"]) .service-card-copy {
  opacity: 0.18;
  transform: translateY(18px);
}

.home-page .service-section[data-service-carousel] .service-card-copy {
  right: clamp(28px, 5vw, 76px);
  bottom: clamp(38px, 5vw, 72px);
  left: clamp(28px, 5vw, 76px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 380ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .service-section[data-service-carousel] .service-card h3 {
  max-width: 760px;
  font-size: clamp(2rem, 4.2vw, 4.7rem);
}

.home-page .service-section[data-service-carousel] .service-card p {
  max-width: 620px;
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  line-height: 1.6;
}

.home-page .service-section[data-service-carousel] .service-card[data-position="0"]:hover img,
.home-page .service-section[data-service-carousel] .service-card[data-position="0"]:focus-visible img {
  opacity: 1;
  transform: scale(1.075);
}

.home-page .service-section[data-service-carousel] .service-card:focus-visible,
.home-page .service-carousel-arrow:focus-visible,
.home-page .service-carousel-dots button:focus-visible {
  outline: 3px solid rgba(64, 95, 175, 0.72);
  outline-offset: 5px;
}

.home-page .service-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(39, 35, 46, 0.16);
  border-radius: 999px;
  color: #29252e;
  background: rgba(245, 244, 247, 0.9);
  box-shadow: 0 14px 34px rgba(55, 48, 66, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.home-page .service-carousel-arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-page .service-carousel-prev {
  left: max(8px, 2vw);
}

.home-page .service-carousel-next {
  right: max(8px, 2vw);
}

.home-page .service-carousel-arrow:hover {
  color: #fff;
  background: #29252e;
  box-shadow: 0 18px 42px rgba(45, 39, 56, 0.24);
  transform: translateY(-50%) scale(1.06);
}

.home-page .service-carousel-meta {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  gap: 24px;
  align-items: center;
  width: min(69vw, 1200px);
  margin: -4px auto 0;
  color: #57515d;
}

.home-page .service-carousel-count,
.home-page .service-carousel-hint {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .service-carousel-count {
  font-variant-numeric: tabular-nums;
}

.home-page .service-carousel-count > span:first-child {
  color: #27232c;
  font-size: 1rem;
}

.home-page .service-carousel-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-page .service-carousel-hint {
  text-align: right;
}

.home-page .service-carousel-dots {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}

.home-page .service-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(41, 37, 46, 0.24);
  cursor: pointer;
  transition: width 280ms ease, background 220ms ease, transform 180ms ease;
}

.home-page .service-carousel-dots button.is-active {
  width: 34px;
  background: #29252e;
}

.home-page .service-carousel-dots button:hover {
  transform: scale(1.16);
}

@media (max-width: 900px) {
  .home-page .service-section[data-service-carousel] {
    min-height: max(880px, 94svh);
    padding: 70px 10px 48px;
  }

  .home-page .service-section[data-service-carousel] .service-intro {
    margin-bottom: 2px;
  }

  .home-page .service-section[data-service-carousel] .service-grid {
    display: block;
    grid-template-columns: none;
    height: clamp(670px, 72svh, 875px);
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .home-page .service-section[data-service-carousel] .service-card {
    width: 77vw;
    height: clamp(570px, 65svh, 810px);
    min-height: 0;
    scroll-snap-align: none;
  }

  .home-page .service-section[data-service-carousel] .service-card[data-position="-1"] {
    opacity: 0.48;
    transform: translate3d(-50%, -50%, -180px) translateX(calc(-43vw + var(--service-drag))) rotateY(27deg) scale(0.72);
  }

  .home-page .service-section[data-service-carousel] .service-card[data-position="1"] {
    opacity: 0.48;
    transform: translate3d(-50%, -50%, -180px) translateX(calc(43vw + var(--service-drag))) rotateY(-27deg) scale(0.72);
  }

  .home-page .service-carousel-arrow {
    top: 49%;
    width: 46px;
    height: 46px;
  }

  .home-page .service-carousel-prev {
    left: 0;
  }

  .home-page .service-carousel-next {
    right: 0;
  }

  .home-page .service-carousel-meta {
    grid-template-columns: auto 1fr;
    gap: 18px;
    width: 76vw;
    margin-top: -8px;
  }

  .home-page .service-carousel-dots {
    justify-content: flex-end;
  }

  .home-page .service-carousel-hint {
    display: none;
  }
}

@media (max-width: 560px) {
  .home-page .service-section[data-service-carousel] {
    min-height: max(760px, 92svh);
    padding: 62px 8px 44px;
  }

  .home-page .service-section[data-service-carousel] .service-intro {
    padding: 0 16px;
  }

  .home-page .service-section[data-service-carousel] .service-grid {
    height: clamp(550px, 65svh, 605px);
  }

  .home-page .service-section[data-service-carousel] .service-card {
    width: 75vw;
    height: clamp(460px, 61svh, 585px);
    border-radius: 23px;
  }

  .home-page .service-section[data-service-carousel] .service-card-copy {
    right: 24px;
    bottom: 38px;
    left: 24px;
  }

  .home-page .service-section[data-service-carousel] .service-card p {
    font-size: 0.82rem;
  }

  .home-page .service-carousel-arrow {
    top: 48%;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .service-section[data-service-carousel] .service-card,
  .home-page .service-section[data-service-carousel] .service-card-copy {
    transition: opacity 160ms ease, filter 160ms ease, border-color 160ms ease;
  }

  .home-page .service-section[data-service-carousel] .service-card img,
  .home-page .service-carousel-arrow,
  .home-page .service-carousel-dots button {
    transition-duration: 120ms;
  }
}
