/* Homepage visual system: 1312px content, full-bleed media, App brand blue. */
.home-page {
  margin: 0;
  color: #222;
  background: #fff;
  --home-font-family: 'MiSans VF', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-family: var(--home-font-family);
}
.home-page button,
.home-page input,
.home-page textarea,
.home-page select {
  font-family: var(--home-font-family);
}
.home-page :focus-visible {
  outline: 2px solid #0d6bdd;
  outline-offset: 5px;
}
.home-showcase {
  --brand-blue: #0d6bdd;
}
.showcase-hero {
  position: relative;
  height: 45.833333vw;
  min-height: 600px;
  overflow: hidden;
  background: #25323b;
  color: #fff;
  touch-action: pan-y;
}
.showcase-media,
.showcase-video,
.showcase-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.showcase-video {
  object-fit: cover;
}
.showcase-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 68%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.3),
      transparent 24%,
      transparent 60%,
      rgba(0, 0, 0, 0.18)
    );
  pointer-events: none;
}
.showcase-content {
  position: absolute;
  top: 50%;
  left: max(32px, calc((100% - 1312px) / 2));
  right: 32px;
  transform: translateY(-50%);
}
.showcase-content h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 2.25vw, 60px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: normal;
  text-shadow: 0 2px 20px #0002;
}
.showcase-content p {
  margin: 0;
  max-width: 660px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  text-shadow: 0 1px 12px #0004;
}
.showcase-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}
.showcase-actions a {
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.showcase-buy {
  color: #222;
  background: #fff;
}
.showcase-buy:hover {
  background: #f1f1f1;
}
.showcase-more {
  color: #fff;
  border: 1px solid #fff;
  background: #ffffff08;
}
.showcase-more:hover {
  color: #fff;
  background: #ffffff14;
}
.showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 100px;
  font-size: 42px;
  font-weight: 300;
  color: white;
  background: #0002;
  opacity: 0;
  transition: opacity 0.2s;
}
.showcase-arrow.previous {
  left: 0;
  border-radius: 0 8px 8px 0;
}
.showcase-arrow.next {
  right: 0;
  border-radius: 8px 0 0 8px;
}
.showcase-hero:hover .showcase-arrow,
.showcase-hero:focus-within .showcase-arrow {
  opacity: 1;
}
.showcase-controls {
  pointer-events: none;
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 48px, 402px);
  display: flex;
  align-items: center;
  gap: 20px;
}
.showcase-pagination {
  position: relative;
  padding-top: 80px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  display: flex;
  gap: 12px;
}
.showcase-pagination button {
  position: relative;
  pointer-events: auto;
  flex: 0 0 126px;
  width: 126px;
  padding: 18px 0;
}
.showcase-pagination-label {
  position: absolute;
  bottom: calc(50% + 12px);
  left: 0;
  width: 126px;
  padding: 0;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  text-align: left;
  text-shadow: 0 1px 8px #0003;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}
.showcase-pagination button:hover .showcase-pagination-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.showcase-pagination button:focus-visible .showcase-pagination-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.showcase-pagination::-webkit-scrollbar {
  display: none;
}
.showcase-progress-track {
  display: block;
  height: 3px;
  background: #ffffff55;
  overflow: hidden;
}
.showcase-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform-origin: left;
  transition: transform 0.15s linear;
}
/* Scene layouts share one content width and accept replaceable photo/video assets. */
.showcase-scenes {
  padding: 104px 0 0;
  margin: 0 auto;
}
.showcase-section-heading {
  max-width: 1376px;
  padding: 0 32px;
  margin: 0 auto 48px;
}
.showcase-section-heading h2 {
  margin: 0;
  color: #262629;
  font-size: clamp(36px, 3vw, 56px);
  font-weight: 600;
  line-height: 1.2;
}
.showcase-section-heading p {
  margin: 24px 0 0;
  color: #76767f;
  font-size: 18px;
  line-height: 1.7;
}
.scene-list {
  display: grid;
  gap: 88px;
  max-width: 1376px;
  padding: 0 32px;
  margin: 0 auto;
}
.scene-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: #f7f8fa;
  color: #262629;
  isolation: isolate;
}
.scene-visual {
  position: relative;
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
  background: #e7eaeb;
}
.scene-image,
.scene-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scene-image {
  object-fit: cover;
}
.scene-story {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  padding: 56px;
}
.scene-story h3 {
  margin: 0;
  font-size: clamp(28px, 2.7vw, 42px);
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}
.scene-title-phrase {
  display: inline-block;
  max-width: 100%;
}
.scene-story > p {
  max-width: 480px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: #76767f;
}
.scene-story > a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  margin-top: 28px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.scene-story > a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.scene-story > a span {
  transition: transform 0.2s;
}
.scene-story > a:hover span {
  transform: translateX(4px);
}
.scene-stage--film,
.scene-stage--panorama {
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 540px;
  background: #24322d;
  color: #fff;
}
.scene-stage--film .scene-visual,
.scene-stage--panorama .scene-visual {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.scene-shade {
  background:
    linear-gradient(0deg, #0008, #0002 50%, transparent 80%),
    linear-gradient(90deg, #0004, transparent 70%);
  pointer-events: none;
}
.scene-stage--film .scene-story,
.scene-stage--panorama .scene-story {
  position: absolute;
  left: 56px;
  bottom: 48px;
  padding: 0;
  width: calc(50% - 56px);
  max-width: 600px;
  text-shadow: 0 2px 16px #0003;
}
.scene-stage--film .scene-story > p,
.scene-stage--panorama .scene-story > p {
  color: #fffffff0;
}
.scene-stage--panorama {
  aspect-ratio: 2 / 1;
  min-height: 500px;
}
.scene-stage--conversation,
.scene-stage--learning {
  grid-template-columns: 1fr 1.35fr;
}
.scene-stage--conversation .scene-visual,
.scene-stage--learning .scene-visual {
  order: 2;
}
.scene-stage--conversation .scene-story,
.scene-stage--learning .scene-story {
  order: 1;
}
.scene-stage--conversation .scene-visual {
  min-height: 680px;
}
.scene-stage--editorial {
  grid-template-columns: 1fr;
  gap: 32px;
  background: transparent;
}
.scene-stage--editorial .scene-story {
  order: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
  padding: 0;
}
.scene-stage--editorial .scene-story h3 {
  grid-row: 1 / 3;
  max-width: 560px;
}
.scene-stage--editorial .scene-story > p {
  margin: 0;
}
.scene-stage--editorial .scene-story > a {
  margin-top: 12px;
  justify-self: start;
}
.scene-stage--editorial .scene-visual {
  order: 1;
  aspect-ratio: 21 / 10;
  min-height: 420px;
}
.scene-dialogue {
  padding: 24px;
  border-radius: 16px;
  background: #fffffff0;
  color: #262629;
  border: 1px solid #ffffff80;
  text-shadow: none;
}
.scene-visual > .scene-dialogue {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 32px;
  width: min(360px, calc(100% - 64px));
  box-shadow: 0 12px 40px #0002;
  backdrop-filter: blur(12px);
}
.scene-dialogue-label {
  color: #76767f;
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 12px;
}
.scene-dialogue-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.scene-dialogue-question svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: #0d6bdd;
}
.scene-dialogue-question p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}
.scene-dialogue-answer {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  line-height: 1.7;
  color: #76767f;
}
.scene-story > .scene-dialogue {
  margin-top: 28px;
  border-color: #e9eaee;
  background: #fff;
}

/* Industry banner bridges the scene story and the four service entrances. */
.showcase-business {
  margin: 100px 0;
  background: #f7f8fa;
}
.showcase-business-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 72px;
  max-width: 1376px;
  margin: 0 auto;
  padding: 48px 32px;
}
.showcase-business-copy > p {
  margin: 0 0 12px;
  color: #76767f;
  font-size: 16px;
  line-height: 24px;
}
.showcase-business-copy h2 {
  max-width: 360px;
  margin: 0;
  color: #262629;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 600;
  text-wrap: balance;
}
.showcase-business-copy > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  padding: 0 24px;
  min-height: 48px;
  border-radius: 6px;
  color: #fff;
  background: #1d1d1f;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  transition: background 0.2s;
}
.showcase-business-copy > a:hover {
  background: #363639;
}
.showcase-business-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 0.5fr 0.5fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 280px;
}
.showcase-business-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  border-radius: 14px;
}
.showcase-business-mosaic img:first-child {
  grid-row: 1 / 3;
}
.showcase-business-mosaic img:nth-child(2) {
  grid-column: 2 / 4;
}
@media (max-width: 1023px) {
  .showcase-business-inner {
    gap: 32px;
  }
  .showcase-business-copy h2 {
    font-size: 28px;
  }
}
@media (max-width: 767px) {
  .showcase-business-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 24px;
  }
  .showcase-business-copy h2 {
    max-width: 420px;
    font-size: 28px;
  }
  .showcase-business-copy > a {
    margin-top: 20px;
    min-height: 44px;
  }
  .showcase-business-mosaic {
    height: 220px;
    gap: 8px;
  }
  .showcase-business-mosaic img {
    border-radius: 10px;
  }
}
.showcase-services {
  margin: 100px 0;
  background: #fff;
}
.showcase-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1376px;
  padding: 0 32px;
  margin: auto;
}
.showcase-service-grid a {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 32px 16px;
  border-radius: 24px;
  background: #f7f8fa;
  color: #262629;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  text-align: center;
}
.showcase-service-grid a:hover span,
.showcase-service-grid a:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}
.showcase-service-grid svg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
@media (min-width: 1920px) {
  .showcase-content h1 {
    font-size: 52px;
  }
}
@media (max-width: 1200px) {
  .showcase-hero {
    min-height: 540px;
  }
}
@media (max-width: 1023px) {
  .showcase-content {
    left: 32px;
  }
}
@media (max-width: 640px) {
  .showcase-hero {
    height: 80svh;
    min-height: 560px;
    max-height: 840px;
  }
  .showcase-video {
    object-position: 50% 50%;
  }
  .showcase-shade {
    background: linear-gradient(180deg, #0005, transparent 25%, #0001 42%, #0009);
  }
  .showcase-content {
    top: auto;
    bottom: 100px;
    left: 24px;
    right: 24px;
    transform: none;
    text-align: center;
  }
  .showcase-content h1 {
    font-size: 32px;
    letter-spacing: normal;
    margin-bottom: 14px;
  }
  .showcase-content p {
    font-size: 18px;
    max-width: 340px;
    margin: auto;
  }
  .showcase-actions {
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
  }
  .showcase-actions a {
    letter-spacing: 0.5px;
    height: 44px;
    min-width: 116px;
    padding: 0 20px;
    font-size: 14px;
  }
  .showcase-arrow {
    display: none;
  }
  .showcase-controls {
    width: min(100% - 48px, 394px);
    bottom: 20px;
    gap: 16px;
  }
  .showcase-pagination {
    gap: 8px;
  }
  .showcase-pagination .showcase-progress-track,
  .showcase-pagination .showcase-progress-fill {
    height: 2px;
  }
  .showcase-scenes {
    padding: 56px 0 0;
  }
  .showcase-section-heading {
    margin-bottom: 24px;
    padding: 0 24px;
  }
  .showcase-section-heading h2 {
    font-size: 30px;
  }
  .showcase-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0 20px;
  }
  .showcase-service-grid a {
    min-height: 152px;
    padding: 20px 8px;
    border-radius: 20px;
    font-size: 14px;
    gap: 16px;
  }
  .showcase-service-grid svg {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Airy footer with the existing Jusi navigation, social accounts and legal copy. */

@media (max-width: 767px) {
  .showcase-scenes {
    padding-top: 64px;
  }
  .showcase-section-heading {
    padding: 0 24px;
    margin-bottom: 32px;
  }
  .showcase-section-heading h2 {
    font-size: 32px;
  }
  .showcase-section-heading p {
    margin-top: 16px;
    font-size: 16px;
  }
}

/* Replay entry motion after a full exit; keep image containers stable. */
@media (prefers-reduced-motion: no-preference) {
  .showcase-scenes[data-motion='on'] .showcase-section-heading,
  .showcase-scenes[data-motion='on'] .scene-story > * {
    transition:
      opacity 0.75s ease,
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .showcase-scenes[data-motion='on'] .showcase-section-heading[data-revealed='false'],
  .showcase-scenes[data-motion='on'] .scene-stage[data-revealed='false'] .scene-story > * {
    opacity: 0;
    transform: translateY(18px);
  }
  .showcase-scenes[data-motion='on'] .scene-image {
    transform: scale(1);
    transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .showcase-scenes[data-motion='on'] [data-revealed='false'] .scene-image {
    transform: scale(1.025);
  }
  .showcase-scenes[data-motion='on'] .scene-story p {
    transition-delay: 0.08s;
  }
  .showcase-scenes[data-motion='on'] .scene-story a {
    transition-delay: 0.16s;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .scene-story {
    padding: 32px;
  }
  .scene-story h3 {
    font-size: 30px;
  }
  .scene-story > p {
    font-size: 16px;
  }
  .scene-visual {
    min-height: 540px;
  }
  .scene-stage--film .scene-story,
  .scene-stage--panorama .scene-story {
    left: 32px;
    bottom: 32px;
    width: calc(55% - 32px);
  }
}
@media (max-width: 767px) {
  .scene-list {
    padding: 0 24px;
    gap: 56px;
  }
  .scene-stage {
    display: flex;
    flex-direction: column;
  }
  .scene-visual {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .scene-story {
    padding: 28px 24px 32px;
  }
  .scene-story h3 {
    font-size: 28px;
  }
  .scene-story > p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.7;
  }
  .scene-story > a {
    font-size: 14px;
    margin-top: 16px;
  }
  .scene-stage--film,
  .scene-stage--panorama {
    display: block;
    aspect-ratio: auto;
    min-height: 560px;
  }
  .scene-stage--film .scene-story,
  .scene-stage--panorama .scene-story {
    left: 24px;
    right: 24px;
    bottom: 28px;
    width: auto;
  }
  .scene-stage--conversation .scene-visual,
  .scene-stage--learning .scene-visual {
    order: 0;
  }
  .scene-stage--conversation .scene-visual {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
  .scene-stage--editorial {
    gap: 24px;
  }
  .scene-stage--editorial .scene-story {
    display: block;
    padding: 0;
  }
  .scene-stage--editorial .scene-story > p {
    margin-top: 16px;
  }
  .scene-stage--editorial .scene-visual {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .scene-dialogue {
    padding: 20px;
    border-radius: 12px;
  }
  .scene-visual > .scene-dialogue {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }
}

@media (max-width: 640px) {
  .showcase-business-copy > a {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .showcase-business[data-motion='on'] .showcase-business-copy > *,
  .showcase-business[data-motion='on'] .showcase-business-mosaic img {
    transition:
      opacity 0.75s ease,
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .showcase-business[data-motion='on'] [data-revealed='false'] .showcase-business-copy > *,
  .showcase-business[data-motion='on'] [data-revealed='false'] .showcase-business-mosaic img {
    opacity: 0;
    transform: translateY(18px);
  }
  .showcase-business[data-motion='on'] .showcase-business-copy h2 {
    transition-delay: 0.08s;
  }
  .showcase-business[data-motion='on'] .showcase-business-copy > a {
    transition-delay: 0.16s;
  }
  .showcase-business[data-motion='on'] .showcase-business-mosaic img:nth-child(1) {
    transition-delay: 0.12s;
  }
  .showcase-business[data-motion='on'] .showcase-business-mosaic img:nth-child(2) {
    transition-delay: 0.18s;
  }
  .showcase-business[data-motion='on'] .showcase-business-mosaic img:nth-child(3) {
    transition-delay: 0.24s;
  }
  .showcase-business[data-motion='on'] .showcase-business-mosaic img:nth-child(4) {
    transition-delay: 0.3s;
  }
}
