:root {
  color-scheme: dark;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #ededed; background: #030303;
  --margin: clamp(24px, 5.65vw, 116px);
  --home: 0; --entry: 1; --scene: 0; --title-y: 0px; --progress: 0%;
  --loom-alpha: 1; --meteor-alpha: 1;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { color: inherit; font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 1px solid #eee; outline-offset: 5px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.station { position: relative; isolation: isolate; height: 100vh; height: 100svh; min-height: 300px; overflow: hidden; }
.field, .field canvas, .launch-panel { position: absolute; inset: 0; width: 100%; height: 100%; }
.field { touch-action: none; outline-offset: -4px; }
.field:focus-visible { outline: 1px solid #888; }
#star-field { display: block; opacity: var(--scene); }
#loom, #pulse { pointer-events: none; }
#loom { opacity: var(--loom-alpha); }
#pulse { opacity: var(--meteor-alpha); }
body:is([data-state="entry"], [data-state="flight"]) :is(#loom, .launch-panel) { will-change: opacity; }
.launch-panel { --gutter: clamp(25px, 7.5vw, 142px); pointer-events: none; opacity: var(--entry); font-family: Georgia, "Songti SC", "Noto Serif CJK SC", SimSun, serif; }
.launch-signature, .launch-type { position: absolute; user-select: none; }
.launch-signature { left: clamp(24px, 4.5vw, 75px); top: max(6.5%, env(safe-area-inset-top)); padding: 0 .35em .14em; color: #d6d4ce; font: italic 38px/.95 Georgia, serif; }
.launch-signature::before { content: ""; position: absolute; top: -5px; left: -3px; width: 1.18em; height: .83em; border-left: 1px solid #686867; border-top: 1px solid #686867; }
.launch-type { top: 32%; left: var(--gutter); display: flex; align-items: center; gap: clamp(18px, 2.6vw, 54px); }
.launch-title { display: block; width: clamp(196px, 30vw, 545px); height: auto; }
.launch-roman { padding-top: .6em; color: #c1c0bc; font-size: clamp(12px, 1.45vw, 22px); font-style: italic; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
body[data-state="home"] :is(#loom, #pulse, .launch-panel) { visibility: hidden; }
.mast,.hero,.dock { position: absolute; pointer-events: none; }
.mast { top: max(4.8%, env(safe-area-inset-top)); left: var(--margin); right: var(--margin); display: flex; justify-content: space-between; align-items: center; }
.identity { display: inline-flex; align-items: center; gap: 14px; font: 500 clamp(13px, 1.1vw, 18px)/1 Georgia, serif; letter-spacing: .17em; opacity: var(--home); }
.tau { display: inline-block; padding-right: 14px; border-right: 1px solid #555; font: italic 32px/.82 Georgia, serif; letter-spacing: 0; }
.home-nav { display: flex; gap: clamp(20px, 3vw, 50px); align-items: center; opacity: var(--home); }
.home-nav button,.dock button,.explore,.entry-action { border: none; background: transparent; }
.home-nav button, .explore, .entry-action, .dock button { pointer-events: auto; }
[inert], [inert] button { pointer-events: none; }
.home-nav button { min-height: 44px; display: inline-flex; gap: 10px; align-items: center; padding: 0; font-size: 11px; font-weight: 550; letter-spacing: .12em; }
.home-nav button:hover,.dock button:hover { color: #fff; }
.menu-mark { width: 12px; height: 6px; border-block: 1px solid currentColor; }
.hero { left: var(--margin); top: 49%; width: max-content; transform: translateY(-51%); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -28% -24% -32% -68%; z-index: -1; background: radial-gradient(ellipse closest-side, #030303 12%, rgba(3,3,3,.8) 57%, transparent); opacity: var(--home); }
.kicker { display: flex; align-items: center; gap: 13px; margin: 0 0 17px 4px; color: #bcbcbc; letter-spacing: .32em; font: 400 clamp(12px,1.2vw,18px)/1.5 SimSun, "Songti SC", serif; opacity: var(--home); }
.kicker i { width: 23px; height: 1px; background: #858585; }
#site-title { margin: 0; width: clamp(210px,23.4vw,410px); opacity: var(--home); transform: translateY(var(--title-y)); }
#site-title img { display: block; width: 100%; height: auto; filter: grayscale(1); }
.hero-actions { margin: 25px 0 0 4px; display: grid; grid-template: 1fr / 1fr; align-items: center; justify-items: start; }
.hero-actions > * { grid-area: 1 / 1; }
.entry-action {
  --rail-offset: clamp(136px, calc(17.5px + 10.04vw), 185px);
  --type-width: clamp(114px, 10.1vw, 149px);
  --vector-width: clamp(35px, 2.95vw, 46px);
  --tip-inset: calc(var(--vector-width) / 24);
  --contact-x: calc(var(--gutter) + var(--rail-offset));
  position: absolute; left: calc(var(--contact-x) + var(--tip-inset)); top: 72%;
  transform: translate(-100%, -50%); display: flex; align-items: center; gap: clamp(5px, .55vw, 9px);
  width: max-content; max-width: calc(var(--contact-x) + var(--tip-inset) - max(14px, env(safe-area-inset-left)));
  min-height: 48px; padding: 0; -webkit-tap-highlight-color: transparent;
}
.entry-action::before {
  content: ""; position: absolute; right: calc(100% + 9px); top: 50%;
  width: clamp(30px, 6.4vw, 108px); height: 1px;
  background: linear-gradient(90deg, transparent, #646564 64%, #b6b7b0);
}
.departure-type { display: block; width: var(--type-width); min-width: 0; height: auto; opacity: .91; }
.launch-vector { display: block; flex: none; width: var(--vector-width); height: auto; overflow: visible; }
.quill-vanes { transform-origin: 46px 12px; }
.quill-thread, .quill-glint { fill: none; stroke-linecap: round; }
.quill-thread { stroke: #bebfba; stroke-width: 1.1; }
.quill-glint { stroke: #fbfcf6; stroke-width: 1.45; stroke-dasharray: .34 1.2; stroke-dashoffset: .35; opacity: 0; }
.contact { fill: #e6e7df; }
.entry-action:focus-visible { outline: 1px solid #babbb4; outline-offset: 4px; }
.entry-action:focus-visible .departure-type { opacity: 1; }
.entry-action:focus-visible .quill-vanes { transform: scale(1.035,1.19); }
.entry-action:focus-visible .quill-glint { stroke-dashoffset: -.66; opacity: .95; }
@media (hover: hover) and (pointer: fine) {
  .entry-action:enabled:hover .departure-type { opacity: 1; }
  .entry-action:enabled:hover .quill-vanes { transform: scale(1.035,1.19); }
  .entry-action:enabled:hover .quill-glint { stroke-dashoffset: -.66; opacity: .95; }
}
@media (prefers-reduced-motion: no-preference) {
  .departure-type { transition: opacity .16s; }
  .quill-vanes { transition: transform .22s cubic-bezier(.2,.7,.2,1); }
  .quill-glint { transition: stroke-dashoffset .30s cubic-bezier(.25,.65,.23,1), opacity .15s; }
}
body[data-state="flight"] .contact { opacity: 0; }
body:not([data-state="entry"]) .entry-action { pointer-events: none; }
.explore-wrap { opacity: var(--home); }
.explore { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 44px; padding: 2px 0 0; border-bottom: 1px solid #a0a0a0; color: #e2e2e2; font: 500 12px/1 "Segoe UI",sans-serif; letter-spacing: .2em; }
.explore-arrow { display: block; flex: none; width: 19px; height: 19px; transition: transform .22s; }
.explore:hover .explore-arrow { transform: translate(2px,-2px); }
.dock { left: var(--margin); right: var(--margin); bottom: max(3.8%, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 44px; }
.course { display: flex; align-items: center; gap: 12px; color: #adadad; font: 10px/1.4 Consolas, monospace; letter-spacing: .09em; opacity: var(--home); }
.route { position: relative; width: clamp(42px,6vw,105px); height: 1px; background: #515151; }
.route i { position: absolute; top: -2px; left: var(--progress); width: 5px; height: 5px; margin-left: -2.5px; background: #ddd; border-radius: 100%; }
.dock button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 3px; color: #cbcbcb; font-size: 12px; }
#skip { padding-inline: 14px; border: 1px solid #595959; border-radius: 25px; background: rgba(6,6,6,.87); }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
noscript { position: absolute; bottom: 12%; left: var(--margin); }
@media (orientation: portrait) {
  .mast { top: max(21px,env(safe-area-inset-top)); }
  .identity { gap: 9px; }.tau { font-size: 25px; padding-right: 10px; }
  .hero { top: 14%; transform: none; }
  #site-title { width: clamp(130px,37vw,205px); }
  .kicker { font-size: 11px; margin: 0 0 6px 2px; gap: 8px; }
  .kicker i { width: 14px; }
  .hero-actions { margin: 7px 0 0 2px; }
  .launch-panel { --gutter: clamp(23px, 7.2vw, 48px); }
  .launch-signature { font-size: 29px; }
  .launch-type { display: block; top: 26%; }
  .launch-title { width: clamp(164px, 46vw, 288px); }
  .launch-roman { display: block; padding-top: 14px; font-size: 11px; }
  .entry-action { --rail-offset: 124.31px; --type-width: 114px; --vector-width: clamp(25px, 6.7vw, 32px); top: 71%; gap: 5px; }
  .explore { min-height: 38px; font-size: 10px; gap: 16px; }
  .home-nav { gap: 18px; }.home-nav button { font-size: 10px; gap: 6px; }
  .dock { bottom: max(18px,env(safe-area-inset-bottom)); gap: 8px; }
  .course { gap: 7px; font-size: 9px; }.route { width: 30px; }
}
@media (orientation: landscape) and (max-height: 510px) {
  .mast { top: 9px; }.dock { bottom: 5px; }.kicker { margin-bottom: 5px; }
  #site-title { width: clamp(125px,20vw,200px); }.hero-actions { margin-top: 8px; }
}
@media (orientation: landscape) and (max-height: 410px) {
  .launch-signature { font-size: 24px; }
  .launch-title { width: 22vw; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto; }.explore-arrow,.entry-action { transition: none; } }
html[data-motion="still"] :is(.departure-type, .quill-vanes, .quill-glint, .explore-arrow) { transition: none; }
