@charset "UTF-8";

:root {
  color-scheme: dark;
  font-family: "MiSans", "MiSans VF", "Microsoft YaHei", "PingFang SC", sans-serif;
  --pink: #ef5777;
  --white: #f5f4f1;
  --muted: #c3c0ba;
  --ink: #101113;
  --glass: rgba(16, 17, 19, .68);
  --glass-strong: rgba(16, 17, 19, .86);
  --line: rgba(245, 244, 241, .2);
  --edge: clamp(24px, 5vw, 104px);
  --slide-interval: 6500ms;
}

* { box-sizing: border-box; }

html, body { width: 100%; height: 100%; margin: 0; }

body { overflow: hidden; background: var(--ink); color: var(--white); }

a { color: inherit; text-decoration: none; }

button { color: inherit; font: inherit; }

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.scene, .scene-shade { position: absolute; z-index: -1; inset: 0; }

.scene { background: url("images/bg.jpg") center 52% / cover no-repeat; }

.scene-shade {
  background: linear-gradient(rgba(10, 11, 14, .55), rgba(10, 11, 14, .55)),
              linear-gradient(0deg, rgba(10, 11, 14, .5), transparent 42%),
              linear-gradient(180deg, rgba(10, 11, 14, .4), transparent 24%);
}

.topbar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: 78px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 var(--edge);
}

.brand {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
}

.brand img { display: block; width: auto; height: 84px; }

.main-nav { display: flex; height: 78px; align-items: stretch; gap: 4px; }

.nav-left { justify-content: flex-end; }

.nav-right { justify-content: flex-start; }

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 88px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}

.nav-link:hover { color: var(--white); }

.slides { position: absolute; inset: 0; }

.slide[hidden] { display: none; }

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  min-width: 0;
  padding: 118px var(--edge) 108px;
  transition: clip-path .6s ease-out;
}

.intro-slide {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  background: linear-gradient(rgba(10, 11, 14, .55), rgba(10, 11, 14, .55)) center / cover no-repeat,
              linear-gradient(0deg, rgba(10, 11, 14, .5), transparent 42%) center / cover no-repeat,
              linear-gradient(180deg, rgba(10, 11, 14, .4), transparent 24%) center / cover no-repeat,
              url("images/bg.jpg") center 52% / cover no-repeat;
}

.intro-copy { min-width: 0; text-align: center; }

h2, p { overflow-wrap: anywhere; }

.intro-brand { display: inline-block; width: auto; height: clamp(88px, 16vw, 240px); }

.intro-tagline { margin: 20px 0 0; color: rgba(245, 244, 241, .9); font-size: 20px; font-weight: 650; }

.intro-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 16px 0 0; }

.intro-meta-link {
  color: var(--white);
  font-size: 15px;
  font-weight: 650;
  background-image: linear-gradient(var(--muted), var(--muted)), linear-gradient(var(--pink), var(--pink));
  background-repeat: no-repeat;
  background-position: 100% 100%, 0 100%;
  background-size: 100% 2px, 0 2px;
  transition: background-size .24s ease;
}

.intro-meta-link:hover { background-size: 0 2px, 100% 2px; }

.intro-meta-link span { margin-right: 6px; color: rgba(245, 244, 241, .72); font-weight: 600; }

.social-row { display: flex; justify-content: center; gap: 12px; margin: 24px 0 0; }

.social-link { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 9px; color: var(--white); }

.social-link:hover { color: var(--pink); }

.social-link svg { display: block; width: 40px; height: 40px; }

.button-main {
  display: inline-flex;
  min-width: 160px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 6px;
  cursor: pointer;
  background: var(--white);
  color: #19070c;
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.button-main:hover { background: var(--pink); }

.detail-link {
  position: absolute;
  z-index: 6;
  bottom: calc(78px + env(safe-area-inset-bottom));
  left: 50%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  background-image: linear-gradient(rgba(245, 244, 241, .6), rgba(245, 244, 241, .6)), linear-gradient(var(--pink), var(--pink));
  background-repeat: no-repeat;
  background-position: 100% 100%, 0 100%;
  background-size: 100% 2px, 0 2px;
  transform: translateX(-50%);
  transition: background-size .24s ease, color .2s ease;
}

.detail-link:hover {
  color: var(--white);
  background-size: 0 2px, 100% 2px;
}

.news-slide {
  align-content: center;
  background-image: linear-gradient(90deg, rgba(9, 10, 13, .92), rgba(9, 10, 13, .76) 42%, rgba(9, 10, 13, .18) 78%),
                    linear-gradient(0deg, rgba(9, 10, 13, .48), transparent 46%),
                    var(--cover-image, url("images/bg.jpg"));
  background-position: center;
  background-size: cover;
}

.news-copy { width: min(100%, 780px); padding: 32px 0; }

.news-date { display: flex; align-items: center; gap: 14px; margin: 36px 0 14px; color: rgba(245, 244, 241, .72); font-size: 13px; }

.news-date span { padding-left: 14px; border-left: 1px solid rgba(245, 244, 241, .38); }

h2 { max-width: 780px; margin: 0; font-size: 58px; font-weight: 780; line-height: 1.2; }

.news-summary { max-width: 620px; margin: 20px 0 0; color: rgba(245, 244, 241, .86); font-size: 18px; line-height: 1.8; }

.news-slide:not(.cta-slide) .news-title,
.news-slide:not(.cta-slide) .news-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-slide.align-right {
  text-align: right;
  background-image: linear-gradient(270deg, rgba(9, 10, 13, .92), rgba(9, 10, 13, .76) 42%, rgba(9, 10, 13, .18) 78%),
                    linear-gradient(0deg, rgba(9, 10, 13, .48), transparent 46%),
                    var(--cover-image, url("images/bg.jpg"));
}

.news-slide.align-right .news-copy { margin-left: auto; }

.news-slide.align-right .news-date { justify-content: flex-end; }

.news-slide.align-right .news-summary { margin-left: auto; }

.news-slide.cta-slide {
  align-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(9, 10, 13, .55), rgba(9, 10, 13, .55)),
                    linear-gradient(0deg, rgba(9, 10, 13, .48), transparent 46%),
                    var(--cover-image, url("images/bg.jpg"));
}

.cta-slide .news-copy { margin: 0 auto; }

.cta-slide .news-summary { margin-left: auto; margin-right: auto; }

.cta-slide .button-main {
  width: 182px;
  min-width: 0;
  margin-top: 26px;
}

.cta-slide .button-main .icon {
  max-width: 0;
  margin-left: -12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: max-width .24s ease, margin-left .24s ease, opacity .2s ease, transform .24s ease;
}

.cta-slide .button-main:hover { color: var(--white); }

.cta-slide .button-main:hover .icon {
  max-width: 18px;
  margin-left: 0;
  opacity: 1;
  transform: none;
}

.slide-dots {
  position: absolute;
  z-index: 6;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 52px;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 4px;
  transform: translateX(-50%);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
}

.slide-dots::-webkit-scrollbar { display: none; }

.slide-dot {
  position: relative;
  display: grid;
  width: 30px;
  height: 44px;
  flex: none;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slide-dot::before {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(245, 244, 241, .72);
  border-radius: 8px;
  content: "";
  transition: width .16s ease, background .16s ease, border-color .16s ease;
}

.slide-dot:hover::before { border-color: var(--white); }

.slide-dot.is-active::before { width: 24px; border-color: var(--pink); background: rgba(239, 87, 119, .2); }

.slide-dot .dot-progress {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 8px;
  margin: -4px 0 0 -12px;
  border-radius: 8px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left center;
}

.slide-arrows {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: calc(8px + env(safe-area-inset-left));
  padding-right: calc(8px + env(safe-area-inset-right));
  pointer-events: none;
}

.arrow-button {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transition: opacity .16s ease;
}

.arrow-button::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(245, 244, 241, .24);
  border-radius: 50%;
  background: rgba(16, 17, 19, .42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  content: "";
}

.arrow-button .icon { position: relative; }

.arrow-button:hover, .arrow-button:focus-visible { opacity: 1; }

.arrow-button:hover::before { border-color: var(--pink); background: rgba(239, 87, 119, .24); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 780px) {
  :root { --edge: 24px; }

  .topbar { min-height: 68px; grid-template-columns: 1fr 1fr; gap: 0; padding: 0 var(--edge); }
  .brand { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .brand img { width: auto; height: 36px; }
  .main-nav { height: 46px; grid-row: 2; border-top: 1px solid var(--line); }
  .nav-left { grid-column: 1; justify-content: center; }
  .nav-right { grid-column: 2; justify-content: center; }
  .nav-link { min-height: 46px; }

  .slide { padding: 128px var(--edge) 94px; }
  .intro-tagline { font-size: 16px; }
  .button-main { min-height: 48px; padding: 0 14px; font-size: 14px; }

  .news-slide { align-content: end; padding-bottom: 118px; background-image: linear-gradient(0deg, rgba(9, 10, 13, .94), rgba(9, 10, 13, .78) 50%, rgba(9, 10, 13, .16)), var(--cover-image, url("images/bg.jpg")); }
  .news-slide.align-right { background-image: linear-gradient(0deg, rgba(9, 10, 13, .94), rgba(9, 10, 13, .78) 50%, rgba(9, 10, 13, .16)), var(--cover-image, url("images/bg.jpg")); }
  .news-copy { padding: 16px 0; }
  .news-date { margin-top: 24px; }
  h2 { font-size: 40px; }
  .news-summary { margin-top: 14px; font-size: 16px; }

}

@media (max-width: 420px) {
  :root { --edge: 18px; }
  .nav-link { min-width: 0; padding: 0 6px; }
  .slide { padding-right: var(--edge); padding-left: var(--edge); }
  .intro-tagline { font-size: 14px; }
  .button-main { min-width: 0; padding: 0 12px; }
  .news-slide { padding-bottom: 110px; }
  h2 { font-size: 34px; }
  .news-summary { font-size: 15px; }
}

@media (max-height: 680px) {
  .topbar { min-height: 60px; }
  .main-nav { height: 60px; }
  .slide { padding-top: 78px; padding-bottom: 82px; }
  .news-slide { padding-top: 84px; padding-bottom: 86px; }
  .news-date { margin-top: 20px; }
  h2 { font-size: 42px; }
  .news-summary { margin-top: 12px; font-size: 16px; }
}

@media (hover: none), (pointer: coarse) {
  .slide-arrows { display: none; }
}

@media (max-height: 480px) {
  .news-slide:not(.cta-slide) .news-copy { padding: 8px 0; }
  .news-slide:not(.cta-slide) .news-date { margin: 8px 0; }
  .news-slide:not(.cta-slide) .news-title { font-size: 32px; -webkit-line-clamp: 2; }
  .news-slide:not(.cta-slide) .news-summary { -webkit-line-clamp: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
