/* @font-face {
  font-family: "Helvetica Neue 45 Light";
  src: url("../assets/fonts/helvetica-neue-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue 65 Medium";
  src: url("../assets/fonts/helvetica-neue-condensed-black.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
} */


@font-face {
  font-family: "OPPO Sans";
  src: url("../assets/fonts/OPPOSans-R.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
  font-weight: 300;
}

@font-face {
  font-family: "OPPO Sans Medium";
  src: url("../assets/fonts/OPPOSans-M.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
  font-weight: 600;
}


@font-face {
  font-family: "Helvetica Neue 45 Light";
  src: url("../assets/fonts/9cIKXwNokhhomv4wAE6hBdaUY.woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300
}

@font-face {
  font-family: "Helvetica Neue 65 Medium";
  src: url("../assets/fonts/OFgGMcsWARoxCW48NHWMfOjvg.woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500
}

@font-face {
  font-family: "Helvetica Neue 45 Light Placeholder";
  src: local("Arial");
  ascent-override: 73.51%;
  descent-override: 19.66%;
  line-gap-override: 28.41%;
  size-adjust: 97.14%
}

@font-face {
  font-family: "Helvetica Neue 65 Medium Placeholder";
  src: local("Arial");
  ascent-override: 68.07%;
  descent-override: 18.21%;
  line-gap-override: 25.55%;
  size-adjust: 104.90%
}



:root {
  --black: #000;
  --white: #ffffff;
  --muted: #c4c4c4;
  --header-offset: 75px;
  --side-space: 75px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--black);
  font-family: "Helvetica Neue 45 Light", "Helvetica Neue 45 Light Placeholder", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  position: relative;
}


html[lang^="zh"] body,
html[lang^="zh"] .hero-title,
html[lang^="zh"] .service-list li {
  font-family: "OPPO Sans", sans-serif;
}


html[lang^="zh"] .contact-link {
  font-family: "OPPO Sans Medium", sans-serif;
}

html[lang^="zh"] .hero-title {
  display: flex;
  gap: 0;
  align-items: baseline;
}


main {
  position: relative;
  background: var(--black);
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  left: var(--side-space);
  top: var(--header-offset);
  right: var(--side-space);
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 200ms ease, transform 200ms ease;
}

.brand {
  width: 187px;
  height: 105px;
  display: block;
  pointer-events: auto;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.lang-switch {
  width: 64px;
  height: 48px;
  padding: 0;
  border: 0;
  color: #cccccc;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
  text-align: right;
}

.landing,
.services {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.landing {
  isolation: isolate;
  background: var(--black);
}

@media (hover: hover) and (pointer: fine) {

  body.custom-cursor-active .landing,
  body.custom-cursor-active .landing * {
    cursor: none;
  }

  .video-controls,
  .video-controls *,
  .video-progress,
  .video-progress * {
    cursor: pointer;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: 100% 100%;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 200ms ease, transform 200ms ease;
}

/* .video-tint {
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 15, 15, .1), rgba(15, 15, 15, .34));
  opacity: 0;
  transition: opacity 200ms ease;
} */

body.video-active .hero-video {
  opacity: 1;
  transform: scale(1);
}

/* body.video-active .video-tint {
  opacity: 1;
} */

.hero-title {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

.hero-title span {
  display: inline-block;
  opacity: .001;
  filter: blur(12px);
  transform: translateY(10px);
  animation: wordIn 950ms var(--ease-out) forwards;
}

.hero-title span:nth-child(2) {
  animation-delay: 90ms;
}

.hero-title span:nth-child(3) {
  animation-delay: 180ms;
}

.hero-title span:nth-child(4) {
  animation-delay: 270ms;
}

.hero-title span:nth-child(5) {
  animation-delay: 360ms;
}

body.video-active .hero-title {
  opacity: 0;
  transform: translate(-50%, -56%);
  pointer-events: none;
}

.play-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  display: none;
  opacity: 1;
  transition: opacity 200ms ease;
}

.play-control img {
  width: 100%;
  height: 100%;
  display: block;
}

body.video-active .play-control {
  opacity: 0;
  pointer-events: none;
}

.video-controls {
  position: absolute;
  z-index: 4;
  left: var(--side-space);
  right: var(--side-space);
  bottom: clamp(12px, 2vh, 22px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
}

body.video-active.video-hover .video-controls,
body.video-controls-visible .video-controls,
.video-controls.is-dragging {
  opacity: 1;
  pointer-events: none;
  transform: translateY(0);
}

.video-progress {
  position: relative;
  grid-row: 2;
  flex: 1;
  width: 100%;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  touch-action: none;
}

.video-preview {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  display: grid;
  gap: 8px;
  width: 176px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(12, 12, 12, .92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .34);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.98);
  transform-origin: center bottom;
  transition: opacity 140ms ease, transform 140ms ease;
}

.video-progress.is-preview-visible .video-preview {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.video-preview__canvas {
  display: block;
  width: 160px;
  height: 90px;
  border-radius: 8px;
  background: #050505;
}

.video-preview__time {
  justify-self: center;
  font-family: "Helvetica Neue 65 Medium", "Helvetica Neue 65 Medium Placeholder", sans-serif;
  font-size: 12px;
  line-height: 1;
  color: rgba(255, 255, 255, .96);
}

.video-progress__track,
.video-progress__fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 999px;
}

.video-progress__track {
  width: 100%;
  background: rgba(255, 255, 255, .18);
}

.video-progress__fill {
  width: 0;
  background: rgba(255, 255, 255, .96);
}

.video-progress__thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translate(-50%, -50%) scale(.96);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.video-progress:hover .video-progress__thumb,
.video-progress.is-dragging .video-progress__thumb {
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
}

.video-time {
  grid-row: 1;
  justify-self: end;
  min-width: 88px;
  text-align: right;
  font-size: 14px;
  line-height: 1;
  color: rgba(255, 255, 255, .96);
  letter-spacing: 0;
  font-family: "Helvetica Neue 65 Medium", "Helvetica Neue 65 Medium Placeholder", sans-serif;
  pointer-events: none;
  white-space: nowrap;
}

.video-time__current {
  font-weight: 500;
}

.video-time__divider,
.video-time__total {
  font-family: "Helvetica Neue 45 Light", "Helvetica Neue 45 Light Placeholder", sans-serif;
  font-weight: 400;
}

.video-time__divider {
  opacity: .92;
}

.video-time__total {
  opacity: .88;
}

.rotate-control {
  display: none;
}

.rotate-control-vertical {
  display: none;
}

.services {
  display: grid;
  place-items: center;
  /* padding: 140px var(--side-space) 120px; */
  z-index: 2;
  background: var(--black);
}

.service-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: min-content;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}

.service-stack.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-list {
  display: grid;
  /* gap: 6px; */
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  white-space: nowrap;
  font-size: 32px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0;
}

.contact-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: "Helvetica Neue 65 Medium";
  text-align: left;
  display: inline-block;
  text-decoration: none;
  font-size: 32px;
  font-weight: 500;
  line-height: 2;
  transition: opacity 180ms ease;
}

.contact-link:hover {
  opacity: .68;
}

.filing {
  position: absolute;
  left: var(--side-space);
  bottom: 60px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  font-family: "Helvetica Neue";
}

.filing a {
  text-decoration: none;
}

.media-cursor {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  --cursor-x: -999px;
  --cursor-y: -999px;
  --cursor-scale: .9;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0) translate(-50%, -50%) scale(var(--cursor-scale));
  transition: opacity 120ms ease;
  will-change: transform, opacity;
}

.media-cursor-trail {
  position: fixed;
  z-index: 49;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) rotate(var(--trail-angle, 0deg)) scale(var(--trail-scale, .82), var(--trail-height-scale, .56));
  filter: blur(var(--trail-blur, 6px));
  transform-origin: center;
  mix-blend-mode: screen;
  transition: opacity 180ms ease;
  will-change: left, top, opacity, transform, filter;
}

.media-cursor-trail.is-visible {
  opacity: var(--trail-opacity, .12);
}

.media-cursor.is-visible {
  opacity: 1;
  --cursor-scale: 1;
}

.media-cursor img {
  width: 100%;
  height: 100%;
  display: block;
}

.media-cursor-trail img {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, .22)) brightness(1.08);
}

body.video-active .site-header {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

@keyframes wordIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}


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

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .96);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100% - 64px, 980px);
  display: flex;
  justify-content: center;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.4;
}

.contact-modal__stack {
  --contact-gap-large: 54px;
  --contact-gap-small: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--contact-gap-large);
}

.contact-modal__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--contact-gap-small);
}

.contact-modal__email {
  display: inline-block;
  text-decoration: none;
}

.contact-modal__wechat-toggle {
  --wechat-icon-size: 34px;
  --wechat-qr-size: 176px;
  position: relative;
  width: var(--wechat-qr-size);
  height: var(--wechat-icon-size);
  padding: 0;
  /* margin: 4px 0; */
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
  transition: height 600ms cubic-bezier(.12, .23, .5, 1);
}

.contact-modal__wechat-toggle.is-expanded {
  height: var(--wechat-qr-size);
}

.contact-modal__wechat-icon,
.contact-modal__wechat-qr {
  position: absolute;
  top: 0;
  left: 0;
}

.contact-modal__wechat-icon {
  width: var(--wechat-icon-size);
  height: var(--wechat-icon-size);
  opacity: 1;
  transition: opacity 120ms ease-out, transform 600ms cubic-bezier(.12, .23, .5, 1);
}

.contact-modal__wechat-text {
  position: absolute;
  top: 0;
  left: calc(var(--wechat-icon-size) + 14px);
  height: var(--wechat-icon-size);
  display: flex;
  align-items: center;
  color: var(--white);
  font: inherit;
  line-height: 1.4;
  white-space: nowrap;
  transform: translateY(0);
  opacity: 1;
  transition: opacity 120ms ease-out, transform 600ms cubic-bezier(.12, .23, .5, 1);
}

.contact-modal__wechat-qr {
  width: var(--wechat-qr-size);
  height: var(--wechat-qr-size);
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transform: translateY(-10px);
  transition: opacity 180ms ease-out, transform 600ms cubic-bezier(.12, .23, .5, 1), clip-path 600ms cubic-bezier(.12, .23, .5, 1);
}

.contact-modal__wechat-toggle.is-expanded .contact-modal__wechat-icon {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
}

.contact-modal__wechat-toggle.is-expanded .contact-modal__wechat-text {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
}

.contact-modal__wechat-toggle.is-expanded .contact-modal__wechat-qr {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

.contact-modal__wechat-icon img {
  width: var(--wechat-icon-size);
  height: var(--wechat-icon-size);
  display: block;
  object-fit: contain;
}

.contact-modal__wechat-qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  /* border-radius: 14px; */
}

.contact-modal__address {
  display: grid;
  gap: 2px;
  margin: 0;
  font-style: normal;
}



.contact-modal__close {
  padding: 0;
  border: 0;
  color: var(--white);
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-family: "Helvetica Neue 65 Medium", "Helvetica Neue 65 Medium Placeholder", sans-serif;
}




@media (min-width: 1200px) and (max-width: 2209px) {
  :root {
    --side-space: 55px;
    --header-offset: 55px;
  }

  .hero-title {
    font-size: 32px;
  }

  .brand {
    width: 120px;
    height: auto;
  }

  .lang-switch {
    font-size: 28px;
  }

  .service-stack {
    gap: 26px;
  }

  .service-list li,
  .contact-link {
    font-size: 24px;
    line-height: 2.3;
  }

  .contact-modal__panel {
    font-size: 24px;
    width: min(100% - 80px, 780px);
  }

  .contact-modal__stack {
    --contact-gap-large: 48px;
    --contact-gap-small: 20px;
  }

  .contact-modal__wechat-toggle {
    --wechat-icon-size: 30px;
    --wechat-qr-size: 144px;
  }

}

@media (max-width: 1199px) {
  :root {
    --side-space: 45px;
    --header-offset: 45px;
  }

  .hero-title {
    font-size: 28px;
  }

  .brand {
    width: 83px;
    height: auto;
  }

  .lang-switch {
    font-size: 24px;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
    transform: scale(1.02);
    transform-origin: center;
  }

  .contact-modal__panel {
    font-size: 20px;
    width: min(100% - 72px, 680px);
  }

  .contact-modal__stack {
    --contact-gap-large: 42px;
    --contact-gap-small: 19px;
  }

  .contact-modal__wechat-toggle {
    --wechat-icon-size: 28px;
    --wechat-qr-size: 124px;
  }

  body.video-active .hero-video {
    transform: scale(1);
    object-position: 50% 50%;
  }

  .play-control {
    width: 36px;
    height: 36px;
  }

  .video-time {
    min-width: 86px;
    font-size: 12px;
  }

  .video-preview {
    display: none;
  }

  .video-controls {
    bottom: 0;
  }

  .service-stack {
    gap: 25px;
  }

  .service-list li,
  .contact-link {
    font-size: 20px;
    line-height: 2.3;
  }

  /* .media-cursor {
    display: none;
  }

  .media-cursor-trail {
    display: none;
  } */


}

@media (max-width: 767px) and (hover: none) and (pointer: coarse) {
  :root {
    --side-space: 20px;
    --header-offset: 27px;
  }

  .landing,
  .services {
    min-height: 100dvh;
  }

  .hero-title {
    text-align: center;
  }

  .play-control {
    display: block;
    pointer-events: auto;
    top: 65%;
  }

  .video-controls {
    bottom: max(8px, env(safe-area-inset-bottom, 0px) + 6px);
  }

  body.video-rotated .hero-video {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 100vh;
    height: 100vw;
    max-width: none;
    max-height: none;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center;
  }

  body.video-active.video-rotated .video-controls {
    right: auto;
    bottom: calc(50% - 100vw + 98px);
    top: 51%;
    left: 6%;
    width: 95vh;
    height: 30px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center;
  }

  body.video-active.video-rotated .video-time {
    min-width: 72px;
    text-align: left;
  }

  .rotate-control {
    display: block;
    position: absolute;
    z-index: 5;
    top: calc(50% + min(28vw, 180px) + 14px);
    left: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .rotate-control img {
    display: block;
    width: 100%;
    height: 100%;
  }

  body.video-active .rotate-control {
    opacity: 1;
    pointer-events: auto;
  }

  body.video-rotated .rotate-control {
    opacity: 0;
    pointer-events: none;
  }

  body.video-controls-visible .rotate-control {
    transform: translateX(-50%) translateY(-4px);
  }

  .rotate-control-vertical {
    display: block;
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: calc(50% - 100vw + 44px);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .rotate-control-vertical img {
    display: block;
    width: 100%;
    height: 100%;
  }

  body.video-active.video-rotated .rotate-control-vertical {
    opacity: 1;
    pointer-events: auto;
  }

  body.video-active.video-rotated.video-controls-visible .rotate-control-vertical {
    transform: translateX(-50%) translateY(-4px);
  }


  .filing {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    left: 50%;
    right: auto;
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    width: max-content;
    max-width: calc(100% - 40px);
    text-align: center;
    font-size: 8px;
    transform: translateX(-50%);
    z-index: 3;
  }

  .contact-modal__panel {
    width: min(100% - 40px, 100%);
  }

  .contact-modal__stack {
    --contact-gap-large: 40px;
    --contact-gap-small: 17px;
  }

  .contact-modal__wechat-toggle {
    --wechat-icon-size: 24px;
    --wechat-qr-size: 104px;
  }

  /* .contact-modal__address {
    line-height: 1.5;
  } */



}

@media (max-width: 991px) and (hover: none) and (pointer: coarse) and (orientation: landscape) {
  .video-controls {
    bottom: max(6px, env(safe-area-inset-bottom, 0px) + 4px);
  }

  .services {
    align-content: center;
  }

  .service-list li,
  .contact-link {
    font-size: 20px;
    line-height: 2;
  }

  .service-stack {
    gap: 17px;
  }

  .filing {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    max-width: calc(100% - 40px);
    font-size: 8px;
    margin-top: 12px;
    transform: none;
  }
}



@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
