:root {
  color-scheme: dark;
  --page: #07111d;
  --white: #f3f6fa;
  --muted: #b4c2d0;
  --accent: #b2dff4;
  --border: rgba(190, 218, 238, .24);
  --nav-lime: #c9ff1a;
  --hero-gutter: max(24px, 4.5vw);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--page); color: var(--white); font-family: Arial, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.skip-link { position: fixed; top: -100px; left: 24px; padding: 14px 20px; background: var(--page); z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; inset: 10px calc(var(--hero-gutter) - 8px) auto; z-index: 20; }
.navigation { position: relative; display: flex; align-items: center; gap: 32px; min-height: 60px; padding: 7px 24px 7px 8px; isolation: isolate; pointer-events: none; }
.nav-trigger { display: flex; align-items: center; gap: 10px; flex-shrink: 0; pointer-events: auto; }
.nav-rail { position: absolute; inset: 0; z-index: -1; border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px; background: rgba(54, 72, 83, .32); backdrop-filter: blur(18px); pointer-events: none; opacity: 0; transform: scaleX(.18); transform-origin: left center; transition: opacity 180ms, transform 220ms; }
.brand { display: inline-flex; align-items: center; justify-content: center; justify-self: start; gap: 12px; min-height: 44px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--nav-lime); color: #0b1114; font-size: 16px; font-weight: 700; letter-spacing: .7px; transition: box-shadow 180ms; }
.brand:hover { box-shadow: 0 0 24px rgba(201, 255, 26, .35); }
.brand-mark { width: 24px; height: 24px; color: #0b1114; }
.nav-menu { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 16px; visibility: hidden; opacity: 0; transform: translateX(-20px) scale(.92); transform-origin: left center; pointer-events: none; transition: opacity 180ms, transform 220ms, visibility 220ms; }
.nav-menu a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-menu a:not(.contact-link) { margin-inline: auto; }
.navigation.is-open { pointer-events: auto; }
.navigation.is-open .nav-rail { opacity: 1; transform: scaleX(1); animation: nav-jelly 650ms both; }
.navigation.is-open .nav-menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; animation: menu-jelly 650ms both; }
.navigation.keyboard-open .nav-menu, .navigation.keyboard-open .nav-rail { animation: none; transition: none; }
@keyframes nav-jelly { 0% { transform: scaleX(.18) scaleY(.7); } 45% { transform: scaleX(1.024) scaleY(.94); } 65% { transform: scaleX(.986) scaleY(1.055); } 82% { transform: scaleX(1.008) scaleY(.98); } 100% { transform: scale(1); } }
@keyframes menu-jelly { 0% { opacity: 0; transform: translateX(-32px) scale(.8); } 45% { opacity: 1; transform: translateX(4px) scale(1.017); } 70% { transform: translateX(-2px) scale(.993); } 100% { transform: none; } }
.nav-menu a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.nav-menu a:hover, .nav-menu a[aria-current="location"] { color: white; }
.nav-menu .contact-link { margin-left: auto; padding-inline: 20px; border-color: rgba(255, 255, 255, .48); font-weight: 600; }
.contact-link:hover { background: rgba(69, 102, 125, .65); }
.menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; background: rgba(39, 39, 42, .8); border: 1px solid var(--border); border-radius: 50%; cursor: pointer; }
.menu-toggle span { width: 15px; height: 1px; background: var(--white); transition: transform 200ms; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 170px var(--hero-gutter) 156px; overflow: hidden; isolation: isolate; }
.hero-image, .hero-video, .hero-reveal, .hero-wave, .hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; opacity: 0; }
.hero.video-playing .hero-video { opacity: 1; }
.hero-image, .hero-reveal { background: url("assets/hero-neon-city.webp") center center / cover no-repeat; }
.hero-image { filter: none; }
.hero.color-reveal-enabled .hero-image { filter: grayscale(1); }
.hero:not(.color-reveal-enabled) .hero-reveal { display: none; }
.hero.auto-color-enabled .hero-image { animation: city-color-cycle 10s linear infinite; }
@keyframes city-color-cycle {
  0%, 60%, 100% { filter: grayscale(1); }
  70%, 90% { filter: grayscale(0); }
}
.hero-reveal, .hero-wave {
  --reveal-mask: radial-gradient(circle 360px at var(--cursor-x, 50%) var(--cursor-y, 50%), #000 0%, #000 35%, rgba(0, 0, 0, .85) 60%, transparent 100%);
  -webkit-mask-image: var(--reveal-mask);
  mask-image: var(--reveal-mask);
  opacity: 0;
  transition: opacity 280ms ease;
}
.hero.is-revealing .hero-reveal, .hero.is-revealing .hero-wave { opacity: 1; }
.hero-wave { mix-blend-mode: screen; overflow: hidden; filter: brightness(1.7); }
.hero-wave canvas { display: block; width: 100%; height: 100%; }
.hero-shade { background: linear-gradient(90deg, rgba(3, 10, 19, .72), rgba(3, 10, 19, .44) 50%, transparent 78%), linear-gradient(0deg, rgba(4, 12, 22, .8), transparent 25%, transparent 76%, rgba(3, 10, 19, .18)); }
.hero-content { width: 74%; max-width: 1260px; padding-top: 16px; }
.identity { display: flex; align-items: center; gap: 16px; margin: 0 0 32px; font-size: 12px; font-weight: 400; letter-spacing: 2px; color: #d1deea; }
.identity-line { width: 28px; height: 1px; background: var(--accent); flex: 0 0 auto; }
.identity-divider { margin: 0 10px; opacity: .55; }
.identity-en { font-size: 10px; letter-spacing: 2.8px; }
h1 { position: relative; margin: 0; font-size: clamp(64px, 6.6vw, 128px); font-weight: 800; letter-spacing: -.06em; line-height: 1.08; color: #f8f5ff; }
h1 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
h1.warp-ready > span { visibility: hidden; }
h1 > span { display: block; }
.title-dot { color: var(--accent); }
.hero-description { margin: 32px 0 0; color: #d4dfeb; font-size: 17px; font-weight: 400; line-height: 1.8; letter-spacing: 3px; }
.hero-bottom { position: absolute; inset: auto var(--hero-gutter) 38px; display: flex; justify-content: space-between; align-items: center; }
.screen-index { display: flex; align-items: center; gap: 16px; color: #c1ccd8; font-size: 10px; letter-spacing: 2.5px; }
.screen-index > span:first-child { color: var(--accent); }
.index-line { width: 60px; height: 1px; background: rgba(176, 205, 227, .32); }
.explore-link { display: flex; align-items: center; gap: 24px; min-height: 48px; font-size: 12px; letter-spacing: 2px; color: #d3dee9; }
.explore-en { display: inline-block; margin-left: 14px; color: #b1bfce; font-size: 9px; letter-spacing: 2px; }
.explore-link svg { width: 24px; height: 24px; color: var(--accent); }
.placeholder-section { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 7.5vw; border-top: 1px solid rgba(176, 205, 227, .12); scroll-margin-top: 0; }
.section-label { color: var(--accent); font-size: 11px; letter-spacing: 3px; }
h2 { margin: 24px 0; font-size: clamp(32px, 4vw, 64px); font-weight: 400; }
.placeholder-section p { color: var(--muted); font-size: 16px; }
.back-home { display: inline-flex; align-items: center; gap: 24px; align-self: flex-start; min-height: 48px; margin-top: 28px; border-bottom: 1px solid var(--border); font-size: 14px; }
@media (min-width: 1700px) { .hero-content { padding-top: 30px; } }
@media (min-width: 901px) and (max-width: 1100px) {
  .navigation { gap: 16px; padding-right: 16px; }
  .nav-menu { gap: 8px; }
  .nav-menu a { gap: 8px; padding: 0 4px; font-size: 12px; }
}
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .site-header { inset: 16px calc(var(--hero-gutter) - 6px) auto; }
  .navigation { min-height: 58px; padding: 6px; }
  .brand { width: auto; min-height: 48px; padding: 0 16px; font-size: 12px; letter-spacing: 1.2px; gap: 10px; }
  .brand-mark { width: 18px; height: 18px; }
  .contact-link { padding: 0 14px; gap: 8px; min-height: 44px; font-size: 12px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--border); border-radius: 50%; cursor: pointer; }
  .menu-toggle span { width: 15px; height: 1px; background: var(--white); transition: transform 200ms; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 10px; padding: 16px; background: rgba(7, 20, 34, .96); backdrop-filter: blur(18px); border: 1px solid var(--border); border-radius: 24px; transform-origin: left top; }
  .nav-menu a, .nav-menu a:not(.contact-link) { justify-content: flex-start; margin-inline: 0; padding: 0 10px; min-height: 48px; border-radius: 12px; }
  .nav-menu .contact-link { margin-left: 0; }
  .nav-menu a:hover { background: rgba(178, 223, 244, .08); }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 100px; }
  .hero { align-items: flex-start; padding: max(172px, 25svh) var(--hero-gutter) 130px; }
  .hero-image, .hero-reveal { background-position: 50% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(3, 10, 19, .28), rgba(3, 10, 19, .6) 24%, rgba(3, 10, 19, .68) 51%, rgba(3, 10, 19, .12) 72%, rgba(3, 10, 19, .9)), linear-gradient(90deg, rgba(3, 10, 19, .35), transparent); }
  .hero-content { width: 100%; padding: 0; }
  .identity { font-size: 10px; letter-spacing: 1px; gap: 10px; margin-bottom: 26px; }
  .identity-line { width: 18px; }
  .identity-divider { margin: 0 5px; }
  .identity-en { font-size: 8px; letter-spacing: 1.3px; }
  h1 { min-height: 0; font-size: clamp(44px, 12vw, 68px); line-height: 1.14; letter-spacing: -.06em; }
  .hero-description { margin: 24px 0 0; font-size: 14px; letter-spacing: 2px; }
  .hero-bottom { inset: auto var(--hero-gutter) 24px; }
  .screen-index { gap: 10px; font-size: 9px; letter-spacing: 1.5px; }
  .index-line { width: 26px; }
  .explore-link { gap: 12px; font-size: 11px; letter-spacing: 1px; }
  .explore-en { display: none; }
  .placeholder-section { padding: 100px 24px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 130px var(--hero-gutter) 110px; min-height: 520px; }
  .hero-content { width: 90%; padding: 0; }
  h1 { font-size: 60px; }
  .identity { margin-bottom: 20px; }
  .hero-description { margin-top: 20px; }
  .hero-bottom { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 900px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hero-image, .hero.auto-color-enabled .hero-image { filter: none; animation: none; }
  .hero-reveal, .hero-wave { display: none; }
}
