html, body { background: #000; }

:root {
  color-scheme: dark;
  --font-body: Barlow, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-heading: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #fff; font: 400 1rem/1.35 var(--font-body); }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.font-body { font-family: var(--font-body); }
.font-heading { font-family: var(--font-heading); font-style: italic; font-weight: 400; }
.capability-card[id] { scroll-margin-top: 6rem; }
.line-icon { display: inline-block; width: 1em; height: 1em; flex: none; }
.skip-link { position: fixed; z-index: 70; top: 1rem; left: 1rem; transform: translateY(-170%); padding: .7rem 1rem; background: #fff; color: #000; }
.skip-link:focus { transform: translateY(0); }

.liquid-glass, .liquid-glass-strong {
  background: rgba(255,255,255,.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before, .liquid-glass-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass-strong {
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: 4px 4px 4px rgba(0,0,0,.05), inset 0 1px 1px rgba(255,255,255,.15);
}
.liquid-glass-strong::before {
  background: linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.2) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.2) 80%, rgba(255,255,255,.5) 100%);
}

.loading { min-height: 100svh; position: relative; overflow: hidden; }
.loading img { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120%; max-width: none; height: 120%; object-fit: cover; object-position: top center; }
.loading p { position: absolute; inset: 50% 0 auto; text-align: center; }
.main-nav {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: start;
  justify-items: center;
  padding-inline: clamp(32px, 4.7vw, 64px);
  pointer-events: none;
}
.site-mark, .nav-pill { pointer-events: auto; }
.site-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-size: 1.65rem; line-height: 1; }
.nav-pill { display: flex; align-items: center; padding: 6px; border-radius: 9999px; white-space: nowrap; color: rgba(255,255,255,.9); }
.nav-pill a, .nav-pill button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 8px 12px; border: 0; border-radius: 9999px; background: transparent; font-size: .875rem; font-weight: 500; line-height: 1.2; }
.nav-pill a:hover, .nav-pill button:hover { background: rgba(255,255,255,.09); }
.nav-pill a:focus-visible, .nav-pill button:focus-visible { outline-offset: -2px; }
.nav-pill .nav-claim { gap: .4rem; background: #fff; color: #000; }
.nav-pill .nav-claim:hover { background: #ddd; }
.nav-pill .nav-claim:focus-visible { outline-color: #000; }
.nav-spacer { width: 48px; height: 48px; }

.voyage-hero { position: relative; isolation: isolate; min-height: 100svh; overflow: hidden; background: #000; }
.video-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.video-layer-media { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; display: block; object-fit: cover; }
.hero-media .hero-video { inset: 0 auto auto 50%; transform: translateX(-50%); width: 120%; height: 120%; object-position: top center; }
.hero-layout { position: relative; z-index: 10; display: flex; flex-direction: column; min-height: 100svh; text-align: center; }
.hero-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px 16px 20px; }
.hero-badge-wrap { margin-bottom: .8rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; padding: .24rem .75rem .24rem .25rem; font-size: .875rem; line-height: 1.3; color: rgba(255,255,255,.9); }
.hero-badge strong { background: #fff; color: #000; padding: .22rem .7rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; }
.hero-heading { display: flex; flex-direction: column; align-items: center; gap: .1em; width: 100%; max-width: 42rem; font-size: clamp(3.75rem, 6.65vw, 5.5rem); line-height: .98; letter-spacing: -.045em; }
.blur-line { display: flex; flex-wrap: wrap; justify-content: center; row-gap: .1em; }
.blur-line > span { display: inline-block; margin-right: .28em; }
.blur-line > span:last-child { margin-right: 0; }
.hero-description { max-width: 42rem; margin-top: 1rem; font-size: 1rem; line-height: 1.25; font-weight: 300; }
.hero-description.hero-description--personal { max-width: 29rem; line-height: 1.55; white-space: pre-line; text-wrap: balance; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; }
.voyage-cta, .film-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: 9999px; font-size: .875rem; font-weight: 500; white-space: nowrap; }
.voyage-cta { padding: .625rem 1.25rem; }
.voyage-cta:hover { background-color: rgba(255,255,255,.12); }
.voyage-cta .line-icon { width: 1.25rem; height: 1.25rem; }
.film-link { border: 0; padding: .4rem .05rem; background: none; }
.film-link:hover { text-decoration: underline; text-underline-offset: .22rem; }
.hero-stats { display: flex; align-items: stretch; gap: 1rem; width: 100%; justify-content: center; margin-top: 2rem; }
.stat-card { display: flex; flex-direction: column; align-items: flex-start; width: 220px; min-width: 0; min-height: 156px; padding: 1.25rem; border-radius: 1.25rem; text-align: left; }
.stat-card > .line-icon { width: 28px; height: 28px; margin-bottom: 1.4rem; }
.stat-value { margin-top: auto; font-size: 2.25rem; line-height: 1; letter-spacing: -1px; white-space: nowrap; }
.stat-label { margin-top: .5rem; font-size: .75rem; font-weight: 300; }
.partners { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 0 16px 32px; }
.partners-label { padding: .25rem .875rem; border-radius: 9999px; font-size: .75rem; font-weight: 500; }
.partner-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem clamp(1.5rem, 4.45vw, 4rem); font-size: clamp(1.5rem, 2.45vw, 1.875rem); line-height: 1.05; letter-spacing: -.025em; }
.partner-list a { display: inline-flex; align-items: center; min-height: 44px; }
.partner-list a:hover { text-decoration: underline; text-underline-offset: .2em; }
.hero-description, .hero-actions, .stat-card, .partners {
  text-shadow: 0 1px 4px #000, 0 1px 12px rgba(0,0,0,.76);
}
.hero-actions .line-icon, .stat-card > .line-icon { filter: drop-shadow(0 1px 3px #000); }

.video-toggle { position: fixed; right: clamp(.75rem, 2vw, 1.75rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 50; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background-color: rgba(0,0,0,.24); }
.video-toggle:hover { background-color: rgba(255,255,255,.16); }
.video-toggle .line-icon { width: 1rem; height: 1rem; }
.site-dialog { width: min(calc(100% - 32px), 38rem); max-height: calc(100svh - 2rem); margin: auto; padding: 0; color: #fff; background: #101013; border: 1px solid #fff4; border-radius: 1.25rem; }
.film-dialog { width: min(calc(100% - 32px), 58rem); }
.site-dialog::backdrop { background: #000b; backdrop-filter: blur(12px); }
.dialog-content { padding: clamp(1rem, 4vw, 2rem); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dialog-top h2 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; }
.dialog-close .line-icon { width: 1.2rem; height: 1.2rem; }
.site-dialog video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.about-copy { display: grid; gap: 1rem; line-height: 1.75; }
.about-copy p:first-child { color: #fff; }
.about-copy p + p { color: #fffd; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin: 0 clamp(20px, 5.5vw, 80px); padding: 1.5rem 0 2rem; color: rgba(255,255,255,.7); border-top: 1px solid #fff2; font-size: .8rem; }

@media (max-width: 767px) {
  .main-nav { padding-inline: 20px; }
  .site-mark { width: 44px; height: 44px; }
  .nav-pill, .nav-spacer { display: none; }
  .video-toggle { top: 16px; right: 20px; bottom: auto; }
  .hero-main { padding: 88px 16px 20px; }
  .hero-heading { max-width: 35rem; font-size: clamp(2.65rem, 9.8vw, 4.55rem); letter-spacing: -.04em; }
  .hero-description { max-width: 30rem; font-size: .9rem; line-height: 1.4; }
  .hero-actions { gap: 1rem; margin-top: 1.25rem; }
  .voyage-cta { padding-inline: .85rem; }
  .hero-stats { gap: .7rem; margin-top: 1.35rem; }
  .stat-card { width: min(44vw, 220px); min-height: 116px; padding: .95rem; border-radius: 1rem; }
  .stat-card > .line-icon { width: 22px; height: 22px; margin-bottom: .9rem; }
  .stat-value { font-size: 1.9rem; }
  .partners { gap: .55rem; padding-bottom: 20px; }
  .partner-list { gap: .08rem clamp(.75rem, 4vw, 2rem); font-size: clamp(1.13rem, 4.3vw, 1.7rem); }
}

@media (max-width: 350px) {
  .hero-badge { gap: .35rem; font-size: .75rem; }
  .hero-actions { gap: .7rem; }
  .film-link, .voyage-cta { font-size: .78rem; }
  .hero-heading { font-size: clamp(2.2rem, 10.4vw, 2.65rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
