/* Traveler's main page: the words sit still while the bridge moves behind them. */
:root {
  --ink: #06070d;
  --fog: #9aa3b5;
  --bone: #eef0f5;
  --real: #e9b872;     /* the real world: lantern gold */
  --virtual: #6fd6ff;  /* the virtual world: ley-line cyan */
  --serif: "Iowan Old Style", "Palatino Linotype", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, serif;
  --sans: ui-sans-serif, -apple-system, "Inter", "PingFang SC", "Noto Sans CJK SC", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink); color: var(--bone); overflow: hidden; }
body { font-family: var(--sans); -webkit-font-smoothing: antialiased; }
#bridge { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

.gist {
  position: fixed; left: clamp(20px, 6vw, 96px); bottom: clamp(28px, 9vh, 120px);
  max-width: min(92vw, 760px); pointer-events: none;
  text-shadow: 0 1px 24px rgba(6, 7, 13, 0.9);
}
.name {
  margin: 0 0 14px; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fog);
}
.name .dot { margin: 0 0.6em; opacity: 0.6; }
h1 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.02; }
h1 .line { display: block; font-size: clamp(34px, 6.4vw, 78px); letter-spacing: -0.01em; }
h1 em { font-style: normal; color: var(--fog); font-size: 0.7em; vertical-align: 0.08em; padding: 0 0.08em; }
h1 .cross { display: block; margin: 6px 0 2px 0.06em; font-size: clamp(18px, 2.4vw, 28px); color: var(--fog); letter-spacing: 0.2em; }
.real { color: var(--real); }
.virtual { color: var(--virtual); }
.cn { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(16px, 2vw, 22px); letter-spacing: 0.22em; color: #c9cfdb; }
.gloss { margin: 10px 0 0; font-size: clamp(13px, 1.3vw, 15px); letter-spacing: 0.06em; color: var(--fog); }

.foot {
  position: fixed; right: clamp(20px, 6vw, 96px); bottom: clamp(28px, 9vh, 120px);
  display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  pointer-events: none;
}
.foot .rule { width: 72px; height: 1px; background: linear-gradient(90deg, var(--real), var(--virtual)); opacity: 0.8; }

@media (max-width: 640px) {
  .gist { left: 20px; right: 20px; bottom: 96px; max-width: none; }
  .foot { left: 20px; right: auto; bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .foot .rule { opacity: 0.5; } }
