:root {
  color-scheme: dark;
  --scroll-progress: 0;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --ink: #f4fbff;
  --ink-soft: rgba(215, 236, 255, 0.76);
  --muted: rgba(127, 162, 195, 0.72);
  --surface: rgba(9, 19, 35, 0.72);
  --surface-strong: rgba(12, 24, 42, 0.9);
  --panel: rgba(10, 20, 38, 0.74);
  --panel-strong: rgba(12, 24, 48, 0.92);
  --line: rgba(112, 198, 255, 0.18);
  --line-strong: rgba(145, 226, 255, 0.34);
  --glow: rgba(59, 196, 255, 0.38);
  --shadow: rgba(0, 0, 0, 0.48);
  --dock-spotlight-x: 0px;
  --dock-spotlight-y: 0px;
  --dock-spotlight-w: 25%;
  --dock-spotlight-h: 74px;
  --transition-x: 50vw;
  --transition-y: 50vh;
  --route-accent: 86, 197, 255;
  --route-accent-2: 138, 110, 255;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: linear-gradient(180deg, #020812 0%, #07111d 35%, #02070f 100%);
  color: var(--ink);
  font-family: var(--font-body);
  transition: background 620ms ease;
}

.video-background {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: #02070f;
}

.video-background::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.12), rgba(3, 9, 18, 0.02) 34%, rgba(2, 6, 14, 0.16) 100%),
    radial-gradient(circle at 22% 24%, rgba(7, 20, 38, 0.05), transparent 32%),
    radial-gradient(circle at 74% 44%, rgba(5, 18, 36, 0.08), transparent 38%);
  content: "";
}

.video-background__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.06) brightness(1.02) contrast(1.02);
}

body::before {
  display: none;
}

body::after {
  display: none;
}

.route-theme-0 {
  --route-accent: 86, 197, 255;
  --route-accent-2: 138, 110, 255;
}

.route-theme-1 {
  --route-accent: 71, 246, 210;
  --route-accent-2: 86, 197, 255;
}

.route-theme-2 {
  --route-accent: 255, 115, 210;
  --route-accent-2: 105, 236, 255;
}

.route-theme-3 {
  --route-accent: 255, 191, 87;
  --route-accent-2: 255, 124, 238;
}

.surface-grain,
.falling-clock-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.surface-grain {
  display: none;
}

.falling-clock-particles {
  z-index: 4;
  opacity: 0.98;
  mix-blend-mode: screen;
}

.corner-clock {
  position: fixed;
  top: 126px;
  right: max(20px, calc((100vw - 1180px) / 2));
  z-index: 18;
  width: min(338px, calc(100vw - 40px));
  height: 112px;
  border: 0;
  background: transparent;
  opacity: 1;
  pointer-events: none;
}

.route-transition-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background:
    radial-gradient(circle at var(--transition-x) var(--transition-y), rgba(255, 255, 255, 0.12) 0 5rem, rgba(var(--route-accent), 0.2) 10rem, rgba(var(--route-accent-2), 0.22) 18rem, transparent 34rem),
    linear-gradient(135deg, rgba(4, 10, 20, 0.88), rgba(2, 9, 20, 0.22));
  clip-path: circle(0 at var(--transition-x) var(--transition-y));
  opacity: 0;
  pointer-events: none;
  transform: translateZ(0);
}

.route-transitioning.route-transition--portal .route-transition-layer {
  animation: routePortal 760ms cubic-bezier(0.2, 0.82, 0.16, 1) both;
}

.route-transitioning.route-transition--shutter .route-transition-layer {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(6, 14, 25, 0.96) 0 7vw,
      rgba(var(--route-accent), 0.24) 7vw 9vw,
      rgba(8, 24, 46, 0.84) 9vw 14vw
    );
  clip-path: inset(0 0 0 0);
  animation: routeShutter 840ms cubic-bezier(0.2, 0.82, 0.16, 1) both;
}

.route-transitioning.route-transition--diagonal .route-transition-layer {
  background:
    linear-gradient(118deg, transparent 0 26%, rgba(255, 255, 255, 0.14) 34%, rgba(var(--route-accent), 0.24) 48%, transparent 64%),
    linear-gradient(118deg, transparent 0 14%, rgba(var(--route-accent-2), 0.26) 26%, transparent 44%),
    linear-gradient(180deg, rgba(3, 8, 18, 0.9), rgba(5, 12, 24, 0.35));
  clip-path: inset(0 0 0 0);
  animation: routeDiagonalWipe 820ms cubic-bezier(0.2, 0.82, 0.16, 1) both;
}

.route-transitioning.route-transition--scatter .route-transition-layer {
  background:
    radial-gradient(circle at var(--transition-x) var(--transition-y), rgba(255, 255, 255, 0.16) 0 3rem, transparent 9rem),
    repeating-conic-gradient(from 18deg, rgba(var(--route-accent), 0.24) 0 6deg, rgba(var(--route-accent-2), 0.22) 6deg 12deg, transparent 12deg 18deg),
    linear-gradient(180deg, rgba(3, 8, 18, 0.84), rgba(5, 12, 24, 0.28));
  background-size: auto, 32px 32px, auto;
  clip-path: inset(0 0 0 0);
  animation: routePixelScatter 780ms cubic-bezier(0.18, 0.9, 0.22, 1) both;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 24;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(1180px, calc(100% - 44px));
  min-height: 56px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(7, 14, 24, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px) saturate(108%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
}

.brand-mark::before {
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: none;
}

.brand-mark::after {
  left: 8px;
  top: 15px;
  width: 24px;
  height: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.62);
  border-left: 0;
  border-radius: 50% 10px 10px 50%;
  transform: rotate(-12deg);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(222, 243, 255, 0.88);
  font-size: 13px;
  font-weight: 820;
  white-space: nowrap;
}

.header-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #45f3ba;
  box-shadow: 0 0 0 8px rgba(69, 243, 186, 0.12);
}

.header-chip {
  display: none;
}

.luxury-stage {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(280px, 1fr);
  align-items: end;
  gap: clamp(32px, 6vw, 88px);
  min-height: calc(100svh - 94px);
  padding: 36px 0 34px;
  isolation: isolate;
  animation: pageRise 900ms cubic-bezier(0.2, 0.82, 0.16, 1) both;
}

.hero-section::before {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  max-width: 540px;
  will-change: transform;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 18, 33, 0.2);
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin: 20px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(86px, 13vw, 186px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
}

.hero-lede {
  max-width: 468px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.84;
}

.hero-signal-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-pill {
  display: none;
}

.access-dock {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: end;
  gap: clamp(10px, 1.6vw, 18px);
  width: 100%;
  padding: 22px 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(7, 14, 24, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px) saturate(106%);
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow: hidden;
}

.access-dock::before {
  display: none;
}

.access-dock::after {
  display: none;
}

.route-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink);
  --route-depth: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --route-skew: 0deg;
  clip-path: none;
  background: rgba(8, 16, 28, 0.24);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  transition:
    transform 420ms cubic-bezier(0.2, 0.82, 0.16, 1),
    background 240ms ease,
    box-shadow 240ms ease,
    color 180ms ease,
    opacity 240ms ease,
    border-color 240ms ease;
  transform:
    translate3d(0, calc(var(--route-depth) * -6px), calc(var(--route-depth) * 12px))
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    scale(calc(1 + var(--route-depth) * 0.02));
  transform-style: preserve-3d;
  will-change: transform;
}

.route-item:nth-child(2) {
  --route-skew: 0deg;
  clip-path: none;
}

.route-item:nth-child(3) {
  --route-skew: 0deg;
}

.route-item:nth-child(4) {
  --route-skew: 0deg;
  clip-path: none;
}

.route-item::before {
  display: none;
}

.route-item:hover,
.route-item:focus-visible,
.route-item.is-primary,
.route-item.is-spotlight {
  color: #f8fdff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(10, 20, 34, 0.34);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  outline: none;
}

.route-item.is-entering {
  animation: routeFlipIn 620ms cubic-bezier(0.18, 0.9, 0.22, 1) both;
}

.route-item.is-exiting {
  animation: routeFlipOut 430ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.route-item.is-launching {
  z-index: 2;
  animation: routeCardLaunch 620ms cubic-bezier(0.18, 0.9, 0.22, 1) both;
}

.route-item:hover::before,
.route-item:focus-visible::before,
.route-item.is-primary::before,
.route-item.is-spotlight::before {
  opacity: 1;
  transform: scaleX(1);
}

.route-item::after {
  display: none;
}

.route-index {
  color: rgba(168, 223, 255, 0.92);
  font-size: 12px;
  font-weight: 920;
}

.route-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.route-copy strong {
  font-size: 16px;
  font-weight: 880;
}

.route-copy small {
  overflow: hidden;
  color: rgba(205, 231, 250, 0.7);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-arrow {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.72;
  transform: rotate(45deg);
}

.dock-utility {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-top: 6px;
  padding: 6px 2px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
}

.domain-chip {
  color: rgba(184, 224, 248, 0.76);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 840;
}

.copy-button:hover,
.copy-button:focus-visible {
  color: rgb(var(--route-accent));
  outline: none;
}

.copy-status {
  min-height: 18px;
  color: #6ff0c0;
  font-size: 13px;
}

@keyframes pageRise {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes routeRailDrift {
  from {
    opacity: 0.52;
    transform: translate3d(-2%, 0, -1px) scaleX(0.94);
  }

  to {
    opacity: 0.96;
    transform: translate3d(2%, 0, -1px) scaleX(1.02);
  }
}

@keyframes routeFlipIn {
  0% {
    opacity: 0.44;
    transform:
      translate3d(0, 20px, -58px)
      skewX(var(--route-skew))
      rotateX(18deg)
      rotateY(-44deg)
      scale(0.9);
  }

  62% {
    opacity: 1;
    transform:
      translate3d(0, -12px, 34px)
      skewX(var(--route-skew))
      rotateX(-4deg)
      rotateY(7deg)
      scale(1.055);
  }

  100% {
    opacity: 1;
    transform:
      translate3d(0, calc(var(--route-depth) * -10px), calc(var(--route-depth) * 28px))
      skewX(var(--route-skew))
      rotateX(var(--tilt-x))
      rotateY(var(--tilt-y))
      scale(calc(1 + var(--route-depth) * 0.05));
  }
}

@keyframes routeFlipOut {
  0% {
    opacity: 1;
    transform:
      translate3d(0, -10px, 28px)
      skewX(var(--route-skew))
      rotateX(0deg)
      rotateY(0deg)
      scale(1.05);
  }

  100% {
    opacity: 0.62;
    transform:
      translate3d(0, 10px, -26px)
      skewX(var(--route-skew))
      rotateX(-12deg)
      rotateY(28deg)
      scale(0.96);
  }
}

@keyframes routeCardLaunch {
  0% {
    filter: saturate(1);
  }

  48% {
    filter: saturate(1.26);
    transform:
      translate3d(0, -22px, 72px)
      skewX(var(--route-skew))
      rotateX(-8deg)
      rotateY(10deg)
      scale(1.08);
  }

  100% {
    filter: saturate(1);
    transform:
      translate3d(0, -4px, 18px)
      skewX(var(--route-skew))
      rotateX(0deg)
      rotateY(0deg)
      scale(1.02);
  }
}

@keyframes routePortal {
  0% {
    clip-path: circle(0 at var(--transition-x) var(--transition-y));
    opacity: 0;
  }

  36% {
    clip-path: circle(32vmax at var(--transition-x) var(--transition-y));
    opacity: 0.96;
  }

  100% {
    clip-path: circle(82vmax at var(--transition-x) var(--transition-y));
    opacity: 0;
  }
}

@keyframes routeShutter {
  0% {
    opacity: 0;
    transform: translate3d(-12vw, 0, 0) scaleX(1.08);
    filter: blur(8px);
  }

  38% {
    opacity: 0.92;
    transform: translate3d(0, 0, 0) scaleX(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translate3d(10vw, 0, 0) scaleX(0.96);
    filter: blur(10px);
  }
}

@keyframes routeDiagonalWipe {
  0% {
    opacity: 0;
    transform: translate3d(-34vw, 18vh, 0) rotate(-4deg) scale(1.12);
  }

  45% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(36vw, -18vh, 0) rotate(3deg) scale(1.08);
  }
}

@keyframes routePixelScatter {
  0% {
    opacity: 0;
    transform: scale(0.82) rotate(0deg);
    filter: blur(0);
  }

  34% {
    opacity: 0.82;
    transform: scale(1.04) rotate(1deg);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: scale(1.34) rotate(8deg);
    filter: blur(14px);
  }
}

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

  .surface-grain,
  .falling-clock-particles,
  .route-transition-layer {
    display: none;
  }

  .route-item {
    will-change: auto;
    transform: none;
    clip-path: none;
  }
}

@media (max-width: 980px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-section::before {
    inset: 30vh 0 22vh 0;
    width: 100%;
  }

  .access-dock {
    margin-top: 300px;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 12px;
    width: min(100% - 24px, 1180px);
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy small {
    display: none;
  }

  .header-meta {
    justify-items: end;
    gap: 6px;
  }

  .header-chip {
    display: none;
  }

  .corner-clock {
    top: 128px;
    right: 12px;
    width: min(252px, calc(100vw - 24px));
    height: 86px;
  }

  .luxury-stage {
    width: min(100% - 24px, 1180px);
  }

  .hero-section {
    padding: 24px 0 18px;
    gap: 18px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  h1 {
    margin-top: 14px;
    font-size: 58px;
  }

  .hero-lede {
    max-width: 100%;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-signal-bar {
    margin-top: 18px;
    gap: 8px;
  }

  .signal-pill {
    font-size: 10px;
  }

  .access-dock {
    grid-template-columns: 1fr;
    margin-top: 214px;
    gap: 10px;
    padding: 18px 14px 10px;
    border-radius: 20px;
  }

  .route-item {
    grid-template-columns: 24px minmax(0, 1fr) 10px;
    gap: 8px;
    min-height: 74px;
    padding: 12px 12px 14px;
    clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  }

  .route-item:nth-child(2),
  .route-item:nth-child(4) {
    clip-path: polygon(0 0, 93% 0, 100% 100%, 7% 100%);
  }

  .route-copy strong {
    font-size: 14px;
  }

  .route-copy small {
    font-size: 11px;
  }

  .route-arrow {
    width: 10px;
    height: 10px;
    border-width: 1.5px;
  }

  .dock-utility {
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: 30px;
    padding: 4px 2px 2px;
  }

  .copy-status {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .header-status {
    max-width: 104px;
    white-space: normal;
    justify-content: flex-end;
    text-align: right;
  }

  h1 {
    font-size: 48px;
  }

  .hero-lede {
    font-size: 13px;
  }

  .access-dock {
    margin-top: 194px;
  }
}
