/* ============================================================
   SECTIONS — About / Modes / Ride / Route / Gallery / Join / Footer
   ============================================================ */

/* ---------- About / World ---------- */
.about {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.about::before {
  position: absolute;
  top: -220px;
  right: -180px;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(14, 25, 19, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.about::after {
  position: absolute;
  top: -140px;
  right: -100px;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border: 1px dashed rgba(14, 25, 19, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.about .container {
  position: relative;
  z-index: 1;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(38px, 6.4vw, 104px);
}
.about-copy {
  padding-top: clamp(4px, 1vw, 16px);
}
.about-lead {
  max-width: 570px;
  font-size: clamp(1.15rem, 1.6vw, 1.58rem);
  letter-spacing: -0.015em;
  line-height: 1.72;
}
.about-copy > p:not(.about-lead) {
  max-width: 500px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.95;
}
.about-quote {
  position: relative;
  max-width: 500px;
  margin-top: clamp(38px, 5vw, 64px);
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--coral);
  font-family: var(--font-cn);
  font-size: clamp(1.8rem, 3vw, 2.85rem);
  line-height: 1.22;
}
.about-quote > span {
  position: absolute;
  top: -30px;
  left: 18px;
  color: var(--coral);
  font-family: var(--font-en);
  font-size: 90px;
  line-height: 1;
  opacity: 0.18;
}
.about-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 500px;
  margin-top: clamp(38px, 4vw, 54px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.about-visual {
  min-width: 0;
}
.poster {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 0.86;
  border: 1px solid rgba(14, 25, 19, 0.8);
  background: var(--ink);
  color: var(--paper);
}
.poster::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: url("../img/noise.png");
  background-size: 140px 140px;
  content: "";
  mix-blend-mode: screen;
  opacity: 0.08;
  pointer-events: none;
}
.poster-head {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 22px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(241, 233, 218, 0.46);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}
.poster-map {
  width: 100%;
  height: 100%;
}
.poster-grid path {
  stroke: rgba(241, 233, 218, 0.075);
  stroke-width: 1;
}
.poster-orbit {
  fill: none;
  stroke: var(--coral);
  stroke-width: 1;
  stroke-dasharray: 2 9;
  opacity: 0.5;
}
.poster-network path {
  fill: none;
  stroke: rgba(241, 233, 218, 0.16);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.poster-network-nodes circle {
  fill: var(--ink);
  stroke: rgba(241, 233, 218, 0.36);
  stroke-width: 2;
}
.poster-bg-label {
  fill: rgba(241, 233, 218, 0.52);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
}
.poster-bg-en {
  fill: rgba(241, 233, 218, 0.28);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.03em;
}
.poster-station-name {
  fill: var(--paper);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.poster-station-en {
  fill: rgba(241, 233, 218, 0.52);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}
.poster-time {
  fill: #a5a1ff;
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.02em;
}
.poster-terminus {
  fill: var(--coral);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}
.poster-here path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.5;
  stroke-dasharray: 2 4;
}
.poster-here text {
  fill: var(--coral);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}
.poster-orbit--a {
  animation: orbitSpin 50s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.poster-orbit--b {
  stroke: rgba(241, 233, 218, 0.18);
  stroke-dasharray: none;
  opacity: 1;
}
.poster-route {
  fill: none;
  stroke: #4b46ff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
.about-visual.is-inview .poster-route {
  animation: drawPosterRoute 2.8s var(--ease-out) 0.28s forwards;
}
.poster-stations circle {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 4;
}
.poster-stations circle.is-transfer {
  fill: var(--coral);
  stroke: var(--ink);
  stroke-width: 5;
}
.poster-pulse {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: posterPulse 2.4s ease-out infinite;
}
.poster-big {
  position: absolute;
  z-index: 2;
  top: 42px;
  left: 24px;
  color: transparent;
  font-family: var(--font-en);
  font-size: clamp(5.5rem, 12vw, 10.5rem);
  line-height: 0.75;
  -webkit-text-stroke: 1px rgba(241, 233, 218, 0.28);
}
.poster-caption {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(241, 233, 218, 0.55);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.09em;
  line-height: 1.5;
}
.poster-caption--top {
  top: 32%;
  right: 22px;
}
.poster-caption--side {
  top: 56%;
  right: 22px;
  writing-mode: vertical-rl;
  color: rgba(241, 233, 218, 0.3);
}
.poster-dot {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--lime);
}
.poster-coords {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 23px;
  color: rgba(241, 233, 218, 0.36);
  font-family: var(--font-pixel);
  font-size: 8px;
  line-height: 2;
  text-align: right;
}
.poster-stamp {
  position: absolute;
  z-index: 3;
  top: 74px;
  right: 22px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 91, 53, 0.5);
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: center;
  transform: rotate(5deg);
}
.poster-label {
  position: absolute;
  z-index: 4;
  bottom: 74px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
  padding: 12px 16px 11px;
  border-left: 5px solid var(--coral);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.18);
}
.poster-label span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}
.poster-label strong {
  font-family: var(--font-sans);
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.poster-label em {
  color: var(--coral-deep);
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.09em;
}
.visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.visual-caption span:last-child {
  text-align: right;
  opacity: 0.7;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(58px, 8vw, 108px);
  border-top: 1px solid var(--line);
}
.stat {
  position: relative;
  min-width: 0;
  padding: 23px clamp(16px, 2vw, 30px) 0 0;
}
.stat:not(:last-child) {
  border-right: 1px solid var(--line);
}
.stat + .stat {
  padding-left: clamp(16px, 2vw, 30px);
}
.stat::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transition: width 0.5s var(--ease-out);
}
.stat:hover::before {
  width: 100%;
}
.stat-index {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}
.stat strong {
  display: block;
  margin-top: 28px;
  font-family: var(--font-cn);
  font-size: clamp(1.45rem, 2.2vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.stat:first-child strong {
  font-family: var(--font-cn);
  font-size: clamp(1.2rem, 1.55vw, 1.65rem);
  letter-spacing: -0.015em;
}
.stat .stat-mixed {
  font-size: clamp(1.1rem, 1.65vw, 1.7rem);
  letter-spacing: -0.01em;
}
.stat p {
  margin-top: 10px;
  padding-bottom: 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.09em;
  line-height: 1.5;
}

/* ---------- Modes / Ways to play ---------- */
.modes {
  position: relative;
  height: 320svh;
  overflow: clip;
  background: var(--ink);
  color: var(--paper);
}
.modes-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.modes-pin::before {
  position: absolute;
  z-index: 0;
  top: 9%;
  right: -4%;
  color: transparent;
  content: "PLAY";
  font-family: var(--font-en);
  font-size: 34vw;
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(241, 233, 218, 0.055);
  pointer-events: none;
}
.modes-pin::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: radial-gradient(circle at 50% 105%, rgba(255, 91, 53, 0.1), transparent 46%);
  content: "";
  pointer-events: none;
}
.modes-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: clamp(92px, 12vh, 126px);
  padding-bottom: 22px;
}
.modes-head {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(210px, 0.5fr);
  align-items: end;
  gap: clamp(30px, 5vw, 76px);
  flex: none;
  min-height: 0;
}
.modes-head .display {
  max-width: 1000px;
  color: var(--paper);
  font-size: clamp(2.65rem, 5.6vw, 6.4rem);
  line-height: 1.06;
}
.modes-head .section-index {
  margin-bottom: clamp(18px, 2vw, 26px);
}
.modes-head-side {
  justify-self: end;
  width: 100%;
  max-width: 310px;
  padding-bottom: 7px;
}
.modes-head-side p {
  color: var(--muted-light);
  font-size: 0.87rem;
  line-height: 1.8;
}
.modes-head-side .micro-label {
  margin-top: 20px;
  color: rgba(241, 233, 218, 0.45);
}
.modes-viewport {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  margin-top: clamp(22px, 3.4vh, 34px);
  overflow: hidden;
}
.modes-track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 1.8vw, 26px);
  width: max-content;
  height: 100%;
  will-change: transform;
}
.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(310px, 30.5vw, 440px);
  min-height: 360px;
  max-height: 540px;
  height: 100%;
  overflow: hidden;
  padding: clamp(19px, 1.8vw, 27px);
  border: 1px solid rgba(241, 233, 218, 0.3);
  background: var(--card-bg);
  color: var(--card-fg);
  transition: transform 0.55s var(--ease-out), opacity 0.4s ease,
    box-shadow 0.5s var(--ease-out), border-color 0.3s ease;
}
.modes.is-pinned .mode-card:not(.is-current) {
  opacity: 0.7;
}
.modes.is-pinned .mode-card.is-current {
  border-color: var(--paper);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.32);
}
@media (hover: hover) and (pointer: fine) {
  .mode-card:hover {
    transform: translateY(-7px);
    box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.28);
  }
}
.mode-card::after {
  position: absolute;
  z-index: 0;
  right: -18%;
  bottom: -26%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}
.mode-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 11px;
  border-bottom: 1px solid currentColor;
  opacity: 0.9;
}
.mode-no {
  font-family: var(--font-en);
  font-size: 28px;
  line-height: 0.8;
}
.mode-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: right;
}
.mode-art {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(12px, 2vw, 24px) 0;
}
.mode-art svg {
  width: 100%;
  height: auto;
  max-height: 100%;
}
.mode-copy {
  position: relative;
  z-index: 1;
}
.mode-copy h3 {
  font-family: var(--font-cn);
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  font-weight: 400;
  line-height: 1.1;
}
.mode-copy p {
  max-width: 380px;
  margin-top: 9px;
  font-size: 0.86rem;
  line-height: 1.75;
  opacity: 0.86;
}
.mode-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.mode-foot i {
  font-size: 13px;
  font-style: normal;
  transition: transform 0.25s var(--ease-out);
}
.mode-card:hover .mode-foot i {
  transform: translateX(5px);
}
.modes-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  flex: none;
  margin-top: 18px;
}
.modes-progress {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 12px;
}
.modes-progress::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(241, 233, 218, 0.2);
  content: "";
}
.modes-progress > span {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}
.modes-progress i {
  position: relative;
  z-index: 2;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(241, 233, 218, 0.34);
}
.modes-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: rgba(241, 233, 218, 0.4);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  white-space: nowrap;
}
.modes-meta span:last-child {
  color: var(--coral);
  font-size: 9px;
}

/* ---------- Ride / Scroll-driven train ---------- */
.ride {
  position: relative;
  height: 320svh;
  background: var(--ink);
  color: var(--paper);
}
.ride-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.ride-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 50% 56%, rgba(255, 91, 53, 0.1), transparent 62%),
    linear-gradient(180deg, #06100c 0%, #0b1914 54%, #040c09 100%);
}
.ride-wall {
  position: absolute;
  right: 0;
  bottom: 18vh;
  left: 0;
  height: 68%;
  background-image: linear-gradient(to right, rgba(241, 233, 218, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(241, 233, 218, 0.035) 1px, transparent 1px);
  background-size: 132px 107px;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 94%);
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}
.ride-lights {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5.5vh 6vw;
  pointer-events: none;
}
.ride-lights i {
  width: clamp(30px, 7vw, 94px);
  height: 4px;
  background: var(--paper);
  box-shadow: 0 0 24px rgba(241, 233, 218, 0.36), 0 0 70px rgba(241, 233, 218, 0.12);
  opacity: 0.55;
  transform: skewX(-18deg);
}
.ride-ghost {
  position: absolute;
  z-index: 1;
  bottom: 20vh;
  left: -2vw;
  color: transparent;
  font-family: var(--font-en);
  font-size: clamp(18rem, 37vw, 38rem);
  line-height: 0.65;
  -webkit-text-stroke: 1px rgba(241, 233, 218, 0.075);
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
}
.ride-cable {
  position: absolute;
  z-index: 2;
  top: 0;
  width: 1px;
  height: 15vh;
  background: rgba(241, 233, 218, 0.18);
}
.ride-cable--one {
  left: 19%;
}
.ride-cable--two {
  right: 22%;
}
.ride-speedlines {
  position: absolute;
  z-index: 3;
  top: 48%;
  right: 0;
  left: 0;
  height: 22%;
  pointer-events: none;
  opacity: 0.42;
}
.ride-speedlines i {
  position: absolute;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 233, 218, 0.38), transparent);
  animation: speedLine 3.2s linear infinite;
}
.ride-speedlines i:nth-child(1) {
  top: 8%;
  left: 4%;
  width: 18%;
  animation-delay: -0.4s;
}
.ride-speedlines i:nth-child(2) {
  top: 35%;
  left: 24%;
  width: 12%;
  animation-delay: -1.2s;
}
.ride-speedlines i:nth-child(3) {
  top: 58%;
  left: 0;
  width: 26%;
  animation-delay: -2s;
}
.ride-speedlines i:nth-child(4) {
  top: 18%;
  right: 6%;
  width: 16%;
  animation-delay: -0.8s;
}
.ride-speedlines i:nth-child(5) {
  top: 67%;
  right: 14%;
  width: 10%;
  animation-delay: -1.8s;
}
.ride-speedlines i:nth-child(6) {
  top: 82%;
  right: 0;
  width: 24%;
  animation-delay: -2.6s;
}
.ride-sign {
  position: absolute;
  z-index: 8;
  top: clamp(86px, 13vh, 138px);
  right: clamp(30px, 6vw, 110px);
  width: clamp(280px, 24vw, 366px);
  filter: drop-shadow(10px 14px 0 rgba(0, 0, 0, 0.18));
}
.ride-sign::before,
.ride-sign::after {
  position: absolute;
  bottom: 100%;
  width: 1px;
  height: 8vh;
  background: rgba(241, 233, 218, 0.24);
  content: "";
}
.ride-sign::before {
  left: 18%;
}
.ride-sign::after {
  right: 18%;
}
.ride-sign-inner {
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}
.ride-sign-head,
.ride-sign-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 13px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.ride-sign-head {
  border-bottom: 1px solid rgba(14, 25, 19, 0.24);
  color: var(--muted);
}
.ride-sign-body {
  display: flex;
  align-items: baseline;
  gap: 15px;
  padding: 18px 14px 11px;
}
.ride-sign-body strong {
  font-family: var(--font-cn);
  font-size: clamp(2.6rem, 3.3vw, 3.7rem);
  font-weight: 400;
  line-height: 0.85;
}
.ride-sign-body em {
  color: var(--coral-deep);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.08em;
}
.ride-sign-route {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px 15px 13px;
  padding-top: 5px;
}
.ride-sign-route::before {
  position: absolute;
  top: 10px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(14, 25, 19, 0.22);
  content: "";
}
.ride-sign-route i {
  position: relative;
  z-index: 1;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(14, 25, 19, 0.2);
}
.ride-sign-route i.done {
  background: var(--ink);
}
.ride-sign-route i.now {
  width: 10px;
  height: 10px;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 91, 53, 0.18);
}
.ride-sign-foot {
  border-top: 1px solid rgba(14, 25, 19, 0.24);
  color: var(--muted);
}
.ride-sign-foot span:last-child {
  color: var(--coral-deep);
  font-family: var(--font-pixel);
  font-size: 7px;
}
.ride-content {
  position: relative;
  z-index: 7;
  padding-top: clamp(104px, 15vh, 154px);
  pointer-events: none;
}
.ride-content .section-index {
  margin-bottom: clamp(18px, 2.6vh, 30px);
}
.ride-content h2 {
  max-width: 660px;
  color: var(--paper);
  font-size: clamp(3.2rem, 6.2vw, 7.2rem);
  text-shadow: 0 10px 40px rgba(4, 12, 9, 0.24);
}
.ride-desc {
  max-width: 320px;
  margin-top: clamp(20px, 3.2vh, 34px);
  color: rgba(241, 233, 218, 0.55);
  font-size: 0.9rem;
  line-height: 1.9;
}
.ride-train-wrap {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 18.5vh;
  left: 0;
  height: clamp(120px, 17vh, 190px);
  pointer-events: none;
}
.ride-train {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(1600px, 155vw, 2700px);
  will-change: transform;
}
.ride-train .train-art {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 0 rgba(0, 0, 0, 0.25));
}
.ride-train::after {
  position: absolute;
  right: 0;
  bottom: 38%;
  width: 22vw;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 246, 216, 0.8), transparent);
  box-shadow: 0 0 18px rgba(255, 246, 216, 0.35);
  content: "";
  opacity: 0.55;
}
.train-shadow {
  position: absolute;
  right: 8%;
  bottom: -6px;
  left: 2%;
  height: 20px;
  background: #000;
  filter: blur(14px);
  opacity: 0.35;
}
.ride-platform {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20vh;
  background: linear-gradient(180deg, #0d2018 0%, #07110d 100%);
}
.ride-platform::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 72px, var(--ink) 72px 90px);
  content: "";
}
.ride-track {
  position: absolute;
  top: 10px;
  right: 6vw;
  left: 6vw;
  height: 5px;
  overflow: hidden;
  opacity: 0.38;
}
.ride-track::before,
.ride-track::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--paper);
  content: "";
}
.ride-track::after {
  top: 4px;
}
.ride-track i {
  position: absolute;
  top: -5px;
  width: 2px;
  height: 15px;
  background: var(--paper);
  opacity: 0.4;
}
.ride-track i:nth-child(1) { left: 2%; }
.ride-track i:nth-child(2) { left: 12%; }
.ride-track i:nth-child(3) { left: 22%; }
.ride-track i:nth-child(4) { left: 32%; }
.ride-track i:nth-child(5) { left: 42%; }
.ride-track i:nth-child(6) { left: 52%; }
.ride-track i:nth-child(7) { left: 62%; }
.ride-track i:nth-child(8) { left: 72%; }
.ride-track i:nth-child(9) { left: 82%; }
.ride-track i:nth-child(10) { left: 92%; }
.ride-edge {
  position: absolute;
  top: 24px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(241, 233, 218, 0.14);
}
.ride-tactile {
  position: absolute;
  top: 34px;
  right: 0;
  left: 0;
  height: 16px;
  background-image: radial-gradient(circle, rgba(241, 233, 218, 0.26) 1.5px, transparent 1.7px);
  background-size: 18px 14px;
  opacity: 0.55;
}
.ride-people {
  display: none;
}
.person {
  position: relative;
  display: block;
  width: 16px;
  height: 45px;
}
.person i {
  position: absolute;
  top: 0;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
}
.person b {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 16px;
  height: 30px;
  border-radius: 4px 4px 0 0;
  background: var(--coral);
}
.person--two b {
  background: var(--lime);
}
.person--two {
  transform: scale(0.86);
  opacity: 0.8;
}
.bench {
  display: block;
  width: 78px;
  height: 15px;
  margin-bottom: 3px;
  border-top: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  opacity: 0.45;
}
.platform-label {
  position: absolute;
  right: 5vw;
  bottom: 26px;
  color: rgba(241, 233, 218, 0.34);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}
.ride-bottom {
  position: absolute;
  z-index: 9;
  right: 0;
  bottom: 26px;
  left: 0;
  pointer-events: none;
}
.ride-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.ride-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(241, 233, 218, 0.62);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.ride-state-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 91, 53, 0.16);
  animation: statusPulse 1.8s ease-in-out infinite;
}
.ride-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(241, 233, 218, 0.42);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.ride-progress {
  position: relative;
  width: clamp(110px, 13vw, 200px);
  height: 1px;
  background: rgba(241, 233, 218, 0.2);
}
.ride-progress i {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.ride-progress-wrap strong {
  min-width: 25px;
  color: var(--paper);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: right;
}
.ride-progress-wrap em {
  color: var(--coral);
  font-style: normal;
}
.ride-hint {
  color: rgba(241, 233, 218, 0.38);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.09em;
  white-space: nowrap;
}
.ride-hint span {
  display: inline-block;
  margin-left: 6px;
  color: var(--coral);
  animation: nudgeDown 1.8s ease-in-out infinite;
}

/* ---------- Route ---------- */
.line {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.webmap-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 4vw, 58px);
  margin-bottom: clamp(22px, 3vw, 34px);
  padding: 19px clamp(18px, 2.2vw, 28px) 19px calc(clamp(18px, 2.2vw, 28px) + 8px);
  overflow: hidden;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.18);
}
.webmap-bar::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--coral);
  content: "";
}
.webmap-copy {
  min-width: 0;
}
.webmap-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--coral-deep);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.webmap-kicker i {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--ink);
}
.webmap-copy strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-cn);
  font-size: clamp(1.28rem, 1.8vw, 1.7rem);
  font-weight: 400;
  line-height: 1.2;
}
.webmap-copy p {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.7;
}
.webmap-copy p a {
  border-bottom: 1px solid rgba(14, 25, 19, 0.4);
  color: var(--ink);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.webmap-copy p a:hover {
  border-color: var(--coral-deep);
  color: var(--coral-deep);
}
.webmap-copy p a span {
  color: var(--coral-deep);
  font-size: 7px;
}
.webmap-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 16px;
}
.webmap-open {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 43px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}
.webmap-open span {
  color: var(--lime);
  font-size: 13px;
}
.webmap-open:hover {
  background: var(--coral);
  color: var(--ink);
  transform: translate(-2px, -2px);
}
.webmap-open:hover span {
  color: var(--ink);
}
.route-board {
  position: relative;
  padding: clamp(18px, 2.3vw, 32px);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 14px 14px 0 var(--coral);
}
.route-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(14px, 1.8vw, 22px);
  border-bottom: 1px solid var(--line-light);
}
.route-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.route-roundel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  background: #ffd14a;
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 25px;
  line-height: 1;
}
.route-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.route-brand strong {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
}
.route-brand small {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1;
}
.route-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}
.route-badges span {
  padding: 6px 8px;
  border: 1px solid rgba(241, 233, 218, 0.3);
  color: rgba(241, 233, 218, 0.55);
  white-space: nowrap;
}
.route-badges .route-badge--warn {
  border-color: rgba(215, 242, 106, 0.45);
  color: var(--lime);
}
.route-badges .route-badge--line {
  border-color: rgba(255, 209, 74, 0.55);
  color: #ffd14a;
}
.route-map-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 8px -4px 0;
  padding: 4px 4px 8px;
  scrollbar-color: var(--coral) rgba(241, 233, 218, 0.08);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.route-swipe-hint {
  display: none;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: rgba(241, 233, 218, 0.38);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.route-swipe-hint span {
  color: var(--coral);
}
.route-mobile {
  display: none;
}
.route-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  padding-block: 10px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  color: rgba(241, 233, 218, 0.42);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.route-mobile-head span:first-child {
  color: var(--lime);
}
.route-mobile-list {
  position: relative;
  margin-top: 2px;
}
.route-mobile-list::before {
  position: absolute;
  top: 27px;
  bottom: 27px;
  left: 7px;
  width: 2px;
  background: rgba(255, 209, 74, 0.55);
  content: "";
}
.route-mobile-list li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid rgba(241, 233, 218, 0.09);
}
.route-mobile-list li:last-child {
  border-bottom: 0;
}
.rm-dot {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 2px;
  width: 11px;
  height: 11px;
  margin-top: -5px;
  border: 2px solid #ffd14a;
  border-radius: 50%;
  background: var(--ink);
}
.rm-dot.rm-terminal {
  left: 0;
  width: 15px;
  height: 15px;
  margin-top: -7px;
  background: var(--coral);
  border-color: var(--ink);
}
.rm-dot.rm-transfer {
  background: var(--lime);
  border-color: var(--ink);
}
.route-mobile-list li > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.route-mobile-list strong {
  color: var(--paper);
  font-family: var(--font-cn);
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.2;
}
.route-mobile-list small {
  overflow: hidden;
  color: rgba(241, 233, 218, 0.38);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.route-mobile-list em {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 6px;
  font-style: normal;
  line-height: 1.4;
  white-space: nowrap;
}
.route-mobile-list em.rm-time {
  color: #ffd14a;
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: 0.02em;
}
.route-mobile-note {
  padding-top: 10px;
  border-top: 1px solid var(--line-light);
  color: rgba(241, 233, 218, 0.3);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.route-map-scroll::-webkit-scrollbar {
  height: 4px;
}
.route-map-scroll::-webkit-scrollbar-track {
  background: rgba(241, 233, 218, 0.08);
}
.route-map-scroll::-webkit-scrollbar-thumb {
  background: var(--coral);
}
.route-map {
  width: 100%;
  min-width: 1020px;
  height: auto;
}
.route-grid path {
  stroke: rgba(241, 233, 218, 0.07);
  stroke-width: 1;
}
.route-path-under {
  fill: none;
  stroke: rgba(255, 209, 74, 0.12);
  stroke-width: 20;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route-path {
  fill: none;
  stroke: #ffd14a;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route-arrows {
  display: none;
}
.route-arrows path {
  fill: none;
  stroke: rgba(241, 233, 218, 0.42);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.station > circle:first-child {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 3;
  transition: fill 0.25s ease, stroke 0.25s ease;
}
.station > circle:nth-child(2) {
  fill: var(--paper);
  stroke: none;
}
.station:hover > circle:first-child {
  fill: var(--coral);
  stroke: var(--coral);
}
.station-cn {
  fill: var(--paper);
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: fill 0.25s ease;
}
.station:hover .station-cn {
  fill: var(--lime);
}
.station-en {
  fill: rgba(241, 233, 218, 0.52);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}
.station-time {
  fill: #ffd14a;
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.03em;
}
.station-tag {
  fill: var(--coral);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}
.station--terminal .station-en {
  fill: rgba(241, 233, 218, 0.7);
}
.route-marker {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.route-marker rect {
  fill: var(--coral);
  stroke: var(--ink);
  stroke-width: 2;
}
.route-marker circle {
  fill: var(--ink);
}
.route-board.is-drawn .route-marker {
  opacity: 1;
}
.route-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4px;
  border-top: 1px solid var(--line-light);
}
.route-info > div {
  min-width: 0;
  padding: 15px 18px 12px 0;
}
.route-info > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line-light);
}
.route-info span:first-child {
  display: block;
  color: rgba(241, 233, 218, 0.4);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.07em;
  line-height: 1.5;
}
.route-info strong {
  display: block;
  min-height: 1.4em;
  margin-top: 8px;
  color: var(--paper);
  font-family: var(--font-cn);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.route-board-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 13px;
  border-top: 1px solid var(--line-light);
  color: rgba(241, 233, 218, 0.32);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.07em;
  line-height: 1.5;
}
.route-note {
  display: flex;
  gap: 10px;
  max-width: 920px;
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  line-height: 1.8;
}
.route-note > span {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--coral-deep);
  color: var(--coral-deep);
  font-size: 9px;
}
.route-note a {
  border-bottom: 1px solid var(--coral-deep);
  color: var(--coral-deep);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.route-note a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- Gallery ---------- */
.gallery {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.gallery::before {
  position: absolute;
  top: 4%;
  right: -7%;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid rgba(241, 233, 218, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.gallery::after {
  position: absolute;
  top: 10%;
  right: -1%;
  width: 38vw;
  aspect-ratio: 1;
  border: 1px dashed rgba(241, 233, 218, 0.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.gallery .container {
  position: relative;
  z-index: 1;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.2vw, 32px);
  margin-top: 8px;
}
.frame {
  position: relative;
  min-width: 0;
  margin: 0;
}
.frame:nth-child(1) {
  margin-top: 76px;
}
.frame:nth-child(2) {
  margin-top: 0;
}
.frame:nth-child(3) {
  margin-top: 144px;
}
.frame-canvas {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(241, 233, 218, 0.16);
  background: #07110d;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  transition: border-color 0.3s ease;
}
.frame-canvas::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  border: 1px solid rgba(241, 233, 218, 0.08);
  content: "";
  pointer-events: none;
}
.frame-canvas > svg,
.frame-canvas > .frame-photo {
  width: 100%;
  height: 100%;
  transition: transform 1.4s var(--ease-out), filter 0.45s ease;
}
.frame-canvas > .frame-photo {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}
.frame:hover .frame-canvas {
  border-color: rgba(255, 91, 53, 0.75);
}
.frame:hover .frame-canvas > svg,
.frame:hover .frame-canvas > .frame-photo {
  transform: scale(1.035);
  filter: saturate(1.06) brightness(1.04);
}
.frame-no {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 16px;
  color: var(--paper);
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  line-height: 0.8;
  text-shadow: 0 2px 18px rgba(4, 12, 9, 0.45);
}
.frame-badge {
  position: absolute;
  z-index: 5;
  top: 17px;
  right: 16px;
  padding: 5px 7px;
  border: 1px solid rgba(241, 233, 218, 0.42);
  background: rgba(4, 12, 9, 0.33);
  color: rgba(241, 233, 218, 0.74);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.frame-time {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 14px;
  color: var(--paper);
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 16px rgba(4, 12, 9, 0.6);
}
.scanlines {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(4, 12, 9, 0.14) 3px,
    rgba(4, 12, 9, 0.14) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}
.rain {
  position: absolute;
  z-index: 2;
  inset: -24% -12%;
  background-image: repeating-linear-gradient(
    108deg,
    transparent 0,
    transparent 18px,
    rgba(201, 235, 228, 0.18) 19px,
    transparent 20px,
    transparent 40px
  );
  opacity: 0.45;
  pointer-events: none;
  animation: rainFall 1.4s linear infinite;
}
.frame figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(241, 233, 218, 0.14);
}
.caption-kicker {
  grid-column: 1 / -1;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.frame figcaption strong {
  grid-column: 1 / -1;
  color: var(--paper);
  font-family: var(--font-cn);
  font-size: clamp(1.22rem, 1.7vw, 1.7rem);
  font-weight: 400;
  line-height: 1.2;
}
.caption-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  grid-column: 1 / -1;
  color: rgba(241, 233, 218, 0.44);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.caption-meta em {
  color: rgba(255, 91, 53, 0.8);
  font-style: normal;
  text-align: right;
  border-bottom: 1px dashed rgba(255, 91, 53, 0.4);
}
.gallery-note {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: clamp(50px, 7vw, 90px);
  padding-top: 16px;
  border-top: 1px solid rgba(241, 233, 218, 0.14);
  color: rgba(241, 233, 218, 0.38);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}
.gallery-note span {
  flex: none;
  color: var(--lime);
  letter-spacing: 0.08em;
}

/* ---------- Join / Boarding pass ---------- */
.join {
  position: relative;
  overflow: hidden;
  background: var(--coral);
  color: var(--ink);
}
.join::before {
  position: absolute;
  right: -8%;
  bottom: -20%;
  color: transparent;
  content: "BOARD";
  font-family: var(--font-en);
  font-size: 30vw;
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(14, 25, 19, 0.12);
  pointer-events: none;
}
.join-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr);
  align-items: start;
  gap: clamp(38px, 7vw, 106px);
}
.join-copy {
  padding-top: 4px;
}
.join .section-index {
  color: rgba(14, 25, 19, 0.58);
}
.join .section-index span {
  color: var(--ink);
}
.join .section-index i {
  background: var(--ink);
}
.join-copy h2 {
  max-width: 600px;
  margin-top: clamp(14px, 2vw, 26px);
  font-size: clamp(3.4rem, 8.2vw, 8.8rem);
  line-height: 1.1;
}
.join-desc {
  max-width: 360px;
  margin-top: clamp(22px, 2.8vw, 34px);
  color: rgba(14, 25, 19, 0.68);
  font-size: 0.95rem;
  line-height: 1.9;
}
.offline-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 520px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(14, 25, 19, 0.28);
  background: rgba(241, 233, 218, 0.18);
}
.offline-mark {
  flex: none;
  padding: 6px 7px;
  border: 1px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 6px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.offline-note p {
  color: rgba(14, 25, 19, 0.66);
  font-size: 0.78rem;
  line-height: 1.7;
}
.offline-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--font-cn);
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.2;
}
.join-download {
  display: inline-block;
  margin-left: 3px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  white-space: nowrap;
}
.join-steps .join-ip,
.join-code {
  display: inline;
  margin: 0;
  border-bottom: 1px dashed rgba(14, 25, 19, 0.5);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.86em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: inherit;
  white-space: nowrap;
}
.join-steps {
  max-width: 520px;
  margin-top: clamp(34px, 4.4vw, 56px);
  border-top: 1px solid rgba(14, 25, 19, 0.25);
}
.join-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(14, 25, 19, 0.2);
}
.step-no {
  color: rgba(14, 25, 19, 0.5);
  font-family: var(--font-pixel);
  font-size: 10px;
  line-height: 1.6;
}
.join-steps strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-cn);
  font-size: 1.16rem;
  font-weight: 400;
  line-height: 1.2;
}
.join-steps p {
  color: rgba(14, 25, 19, 0.66);
  font-size: 0.82rem;
  line-height: 1.7;
}
.join-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
}
.ticket-wrap {
  min-width: 0;
  padding-top: clamp(10px, 5vw, 60px);
}
.ticket {
  --ticket-pad: clamp(22px, 3vw, 38px);
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--ticket-pad);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 16px 16px 0 rgba(14, 25, 19, 0.17);
  transform: rotate(-0.55deg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.ticket::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(to right, rgba(241, 233, 218, 0.035) 1px, transparent 1px);
  background-size: 48px 100%;
  content: "";
  pointer-events: none;
}
.ticket > * {
  position: relative;
  z-index: 1;
}
.ticket:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 20px 20px 0 rgba(14, 25, 19, 0.2);
}
.ticket-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(16px, 2vw, 22px);
  border-bottom: 1px solid var(--line-light);
}
.ticket-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticket-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 27px;
  line-height: 1;
}
.ticket-brand > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ticket-brand strong {
  font-family: var(--font-en);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.9;
}
.ticket-brand small {
  color: rgba(241, 233, 218, 0.4);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.09em;
  line-height: 1;
}
.ticket-number {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: rgba(241, 233, 218, 0.38);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: right;
}
.ticket-number strong {
  color: var(--lime);
  font-family: var(--font-pixel);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.ticket-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(22px, 2.8vw, 32px) 0;
  border-bottom: 1px solid var(--line-light);
}
.ticket-route > div {
  min-width: 0;
}
.ticket-route span {
  display: block;
  color: rgba(241, 233, 218, 0.4);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.07em;
  line-height: 1.4;
}
.ticket-route strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.1vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ticket-route em {
  display: block;
  margin-top: 5px;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.1em;
}
.ticket-to {
  text-align: right;
}
.ticket-arrow {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 21px;
  line-height: 1;
}
.ticket-address {
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px dashed rgba(241, 233, 218, 0.28);
}
.ticket-label {
  display: block;
  color: rgba(241, 233, 218, 0.4);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.09em;
  line-height: 1.5;
}
.ticket-ip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}
.ticket-ip {
  min-width: 0;
  max-width: 100%;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.ticket-ip .slot {
  opacity: 0.45;
}
.ticket-copy {
  flex: none;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  background: var(--coral);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.ticket-copy:hover {
  background: var(--lime);
  transform: translate(-2px, -2px);
}
.ticket-hint {
  margin-top: 9px;
  color: rgba(241, 233, 218, 0.32);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.ticket-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line-light);
}
.ticket-fields > div {
  min-width: 0;
  padding: 15px 0;
}
.ticket-fields > div:nth-child(odd) {
  padding-right: 15px;
  border-right: 1px solid var(--line-light);
}
.ticket-fields > div:nth-child(even) {
  padding-left: 15px;
}
.ticket-fields > div:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line-light);
}
.ticket-fields span:first-child {
  display: block;
  color: rgba(241, 233, 218, 0.36);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.ticket-fields strong {
  display: block;
  margin-top: 7px;
  color: rgba(241, 233, 218, 0.9);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.ticket-fields .status-pill {
  font-size: 8px;
}
.ticket-perforation {
  position: relative;
  height: 26px;
  margin: 0 calc(var(--ticket-pad) * -1);
  border-top: 1px dashed rgba(241, 233, 218, 0.28);
}
.ticket-perforation::before,
.ticket-perforation::after {
  position: absolute;
  top: -15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}
.ticket-perforation::before {
  left: -14px;
}
.ticket-perforation::after {
  right: -14px;
}
.ticket-perforation span {
  position: absolute;
  top: 11px;
  left: 16px;
  width: 130px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 5px, transparent 5px 10px);
  opacity: 0.4;
}
.ticket-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
}
.ticket-barcode {
  width: clamp(95px, 12vw, 156px);
  height: 38px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(241, 233, 218, 0.72) 0 2px,
    transparent 2px 4px,
    rgba(241, 233, 218, 0.5) 4px 5px,
    transparent 5px 9px,
    rgba(241, 233, 218, 0.8) 9px 12px,
    transparent 12px 14px
  );
  opacity: 0.72;
}
.ticket-serial {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-right: auto;
  color: rgba(241, 233, 218, 0.38);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.ticket-serial span:last-child {
  color: var(--coral);
}
.ticket-stamp {
  align-self: flex-start;
  padding: 6px 4px;
  border: 1px solid rgba(255, 91, 53, 0.65);
  color: var(--coral);
  font-family: var(--font-pixel);
  font-size: 7px;
  line-height: 1.4;
  text-align: center;
  transform: rotate(4deg);
}
.ticket-notch {
  display: none;
}
.ticket-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 19px;
  color: rgba(14, 25, 19, 0.55);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  transform: rotate(-0.55deg);
}
.ticket-lede {
  display: none;
}
.needs-attention {
  animation: attention 0.42s ease;
}
.is-copied {
  background: var(--lime) !important;
  color: var(--ink) !important;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(58px, 8vw, 104px);
  background: var(--ink);
  color: var(--paper);
}
.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line-light);
}
.footer-kicker {
  margin-bottom: 12px;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  line-height: 1.4;
}
.footer-top h2 {
  font-family: var(--font-cn);
  font-size: clamp(3.2rem, 7.2vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.9;
}
.footer-up {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  color: rgba(241, 233, 218, 0.5);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}
.footer-up strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(241, 233, 218, 0.36);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.footer-up:hover {
  color: var(--lime);
}
.footer-up:hover strong {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-3px);
}
.footer-brand {
  width: 100%;
  margin-top: clamp(30px, 4vw, 50px);
  overflow: hidden;
  color: var(--paper);
  font-family: var(--font-en);
  font-size: clamp(6rem, 22.5vw, 22rem);
  line-height: 0.7;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.footer-track {
  position: relative;
  z-index: 2;
  height: clamp(68px, 5.6vw, 84px);
  margin-top: clamp(48px, 5vw, 70px);
  overflow: hidden;
  border-top: 1px solid rgba(241, 233, 218, 0.2);
  border-bottom: 1px solid rgba(241, 233, 218, 0.2);
  background: var(--ink);
}
.footer-rail {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 1px;
  background: rgba(241, 233, 218, 0.2);
}
.footer-rail::before,
.footer-rail::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(241, 233, 218, 0.2);
  content: "";
}
.footer-rail::before {
  top: -3px;
}
.footer-rail::after {
  top: 3px;
}
.footer-train {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: clamp(640px, 64vw, 1050px);
  animation: footerTrain 26s linear 1s infinite;
  will-change: transform;
}
.footer-train img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.25));
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.9fr;
  gap: 30px;
  align-items: start;
  padding-block: 22px 26px;
  color: rgba(241, 233, 218, 0.38);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.02em;
  line-height: 1.8;
}
.footer-bottom p {
  max-width: 320px;
}
.footer-bottom p span {
  color: rgba(241, 233, 218, 0.24);
}
.footer-disclaimer {
  padding-left: 20px;
  border-left: 1px solid rgba(241, 233, 218, 0.14);
}
.footer-api {
  display: inline-block;
  margin-top: 4px;
  border-bottom: 1px solid rgba(241, 233, 218, 0.25);
  color: rgba(241, 233, 218, 0.42);
  font-size: 6px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-api:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  color: rgba(241, 233, 218, 0.7);
  font-size: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}
.footer-links a {
  transition: color 0.25s ease;
}
.footer-links a:hover {
  color: var(--lime);
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px 12px;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(241, 233, 218, 0.12);
}
.footer-social-label {
  color: rgba(241, 233, 218, 0.25);
  font-size: 6px;
  letter-spacing: 0.06em;
}
.social-slot {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: rgba(241, 233, 218, 0.38);
  font-size: 7px;
  line-height: 1.4;
}
.social-slot i {
  padding: 1px 4px;
  border: 1px dashed rgba(241, 233, 218, 0.22);
  color: rgba(241, 233, 218, 0.3);
  font-family: var(--font-mono);
  font-size: 5px;
  font-style: normal;
}
.social-slot.is-linked {
  border-bottom: 1px solid rgba(241, 233, 218, 0.35);
  color: rgba(241, 233, 218, 0.78);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.social-slot.is-linked:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.social-slot.is-static {
  color: rgba(241, 233, 218, 0.52);
}
.social-slot.is-static b {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  z-index: 2600;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 14px 18px;
  border: 1px solid rgba(241, 233, 218, 0.2);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.01em;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 18px, 0);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
}
.toast.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}
.toast-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}
@keyframes loaderRun {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateX(calc(100vw - var(--edge) * 2 - 34px)); opacity: 1; }
}
@keyframes heroTrain {
  0% { transform: translate3d(-110%, 0, 0); }
  58% { transform: translate3d(calc(100vw + 110%), 0, 0); }
  100% { transform: translate3d(calc(100vw + 110%), 0, 0); }
}
@keyframes tickerRun {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes cloudDrift {
  from { transform: translate3d(-12px, 0, 0) scale(0.98); }
  to { transform: translate3d(20px, 8px, 0) scale(1); }
}
@keyframes liveBars {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes voxelFloat {
  0%, 100% { transform: rotateX(-26deg) rotateY(42deg) translateY(0); }
  50% { transform: rotateX(-26deg) rotateY(42deg) translateY(-9px); }
}
@keyframes scrollDrop {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}
@keyframes drawPosterRoute {
  to { stroke-dashoffset: 0; }
}
@keyframes posterPulse {
  0% { opacity: 0.6; transform: scale(0.6); }
  70%, 100% { opacity: 0; transform: scale(2.6); }
}
@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}
@keyframes speedLine {
  0% { transform: translateX(-100%); opacity: 0; }
  18% { opacity: 0.8; }
  55% { opacity: 0.4; }
  100% { transform: translateX(340%); opacity: 0; }
}
@keyframes nudgeDown {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}
@keyframes rainFall {
  from { transform: translate3d(0, -5%, 0); }
  to { transform: translate3d(-5%, 5%, 0); }
}
@keyframes footerTrain {
  0% { transform: translate3d(-110%, 0, 0); }
  68% { transform: translate3d(calc(100vw + 30%), 0, 0); }
  100% { transform: translate3d(calc(100vw + 30%), 0, 0); }
}
@keyframes attention {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

/* ============================================================
   Reveal
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
html.js .reveal.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .page-hud {
    display: none;
  }
  .header-live {
    display: none;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
    gap: 38px;
  }
  .hero-line--xl {
    font-size: clamp(5.2rem, 14vw, 14rem);
  }
  .ticket-barcode {
    width: 130px;
  }
}

@media (max-width: 1100px) {
  .route-swipe-hint {
    display: flex;
  }
  .primary-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .btn--header {
    display: none;
  }
  .hero {
    padding-bottom: 236px;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: auto;
    gap: clamp(36px, 5vw, 56px);
    padding-top: 20px;
  }
  .hero-copy {
    max-width: 820px;
  }
  .hero-board {
    justify-self: start;
    width: min(100%, 420px);
  }
  .hero-line--xl {
    font-size: clamp(5rem, 15vw, 13rem);
  }
  .hero-sun {
    top: 9vh;
    right: -17vw;
    width: clamp(330px, 57vw, 700px);
  }
  .hero-ghost {
    font-size: 22vw;
  }
  .hero-words {
    display: none;
  }
  .hero-bottom-inner {
    grid-template-columns: 1fr auto;
  }
  .scroll-cue {
    grid-column: 2;
  }
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(42px, 7vw, 70px);
  }
  .about-copy {
    max-width: 760px;
  }
  .about-visual {
    width: min(100%, 660px);
  }
  .poster {
    aspect-ratio: 0.9;
  }
  .modes {
    height: auto;
    overflow: visible;
  }
  .modes-pin {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .modes-pin::before {
    top: 3%;
    font-size: 42vw;
  }
  .modes-inner {
    height: auto;
    padding-top: clamp(92px, 13vw, 140px);
    padding-bottom: clamp(68px, 9vw, 100px);
  }
  .modes-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .modes-head .display {
    font-size: clamp(2.8rem, 7.2vw, 5.6rem);
  }
  .modes-head-side {
    justify-self: start;
    max-width: 480px;
  }
  .modes-head-side .micro-label {
    margin-top: 16px;
  }
  .modes-viewport {
    flex: none;
    overflow: visible;
    margin-top: 38px;
  }
  .modes-track {
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 18px;
    transform: none !important;
  }
  .mode-card {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: clamp(20px, 3.2vw, 28px);
    opacity: 1 !important;
    transform: none !important;
  }
  .mode-card:nth-child(even) {
    margin-left: auto;
  }
  .mode-card::after {
    width: 48%;
  }
  .modes.is-pinned .mode-card:not(.is-current) {
    opacity: 1;
  }
  .mode-art {
    min-height: 180px;
    padding: 20px 0;
  }
  .modes-foot {
    display: none;
  }
  .webmap-bar {
    align-items: flex-start;
  }
  .webmap-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .join-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(34px, 6vw, 58px);
  }
  .join-copy {
    max-width: 720px;
  }
  .ticket-wrap {
    width: min(100%, 720px);
    padding-top: 0;
  }
  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .footer-links {
    align-items: flex-start;
    justify-content: flex-start;
    grid-column: 1 / -1;
  }
  .footer-nav {
    justify-content: flex-start;
  }
  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .section-head-main {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(20px, 3vw, 30px);
  }
  .section-lead {
    justify-self: start;
    max-width: 460px;
  }
  .section-head h2 {
    font-size: clamp(3rem, 10.6vw, 6.2rem);
  }
  .about::before,
  .about::after {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    max-width: 580px;
  }
  .frame:nth-child(1),
  .frame:nth-child(2),
  .frame:nth-child(3) {
    margin-top: 0;
  }
  .frame figcaption strong {
    font-size: 1.35rem;
  }
  .route-info {
    grid-template-columns: 1fr 1fr;
  }
  .route-info > div + div {
    padding-left: 14px;
  }
  .route-info > div:nth-child(3) {
    border-top: 1px solid var(--line-light);
    border-left: 0;
    padding-left: 0;
  }
  .route-info > div:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }
  .route-board {
    box-shadow: 9px 9px 0 var(--coral);
  }
  .ride-sign {
    top: 100px;
    right: 22px;
    width: min(290px, 31vw);
  }
  .ride-sign-body strong {
    font-size: 2.5rem;
  }
  .ride-content h2 {
    font-size: clamp(3rem, 8.6vw, 5.6rem);
  }
  .ride-bottom-inner {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
  .ride-progress-wrap {
    order: 3;
    width: 100%;
  }
  .ride-progress {
    flex: 1;
  }
  .ride-hint {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }
  .mobile-break {
    display: block;
  }
  .modes-head .display {
    font-size: clamp(2.3rem, 10.7vw, 4rem);
    line-height: 1.08;
  }
  .header-inner {
    gap: 14px;
  }
  .brand-type {
    font-size: 20px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .hero {
    padding-top: calc(var(--header-h) + 42px);
    padding-bottom: 205px;
  }
  .hero-eyebrow {
    gap: 9px;
    font-size: 7px;
    letter-spacing: 0.07em;
  }
  .eyebrow-rule {
    width: 20px;
  }
  .hero-line--sm {
    font-size: clamp(1.9rem, 7vw, 3.1rem);
  }
  .hero-line--xl {
    font-size: clamp(4.6rem, 25vw, 10rem);
    letter-spacing: -0.075em;
  }
  .hero-period {
    width: 15px;
    height: 15px;
    margin-bottom: clamp(12px, 3vw, 26px);
  }
  .hero-sub {
    display: block;
    margin-top: 21px;
  }
  .hero-en {
    margin-bottom: 13px;
    font-size: 0.92rem;
  }
  .hero-desc {
    max-width: 360px;
    font-size: 0.84rem;
    line-height: 1.85;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 25px;
  }
  .btn {
    min-height: 47px;
    padding: 0 16px;
    font-size: 10px;
    gap: 12px;
  }
  .hero-board {
    width: 100%;
    max-width: 380px;
    padding: 17px 16px 13px;
    box-shadow: 8px 8px 0 rgba(14, 25, 19, 0.14);
  }
  .hero-sub {
    margin-top: 18px;
  }
  .hero-actions {
    margin-top: 21px;
  }
  .hero-inner {
    gap: 30px;
  }
  .board-route {
    display: none;
  }
  .board-destination {
    padding-top: 14px;
    padding-bottom: 12px;
  }
  .board-info {
    gap: 8px;
    padding: 12px 0 10px;
  }
  .board-foot {
    padding-top: 10px;
  }
  .voxel--board {
    top: -44px;
    right: 16px;
    width: 62px;
    height: 68px;
  }
  .board-cn {
    font-size: 24px;
  }
  .board-info {
    gap: 9px;
    padding: 13px 0 12px;
  }
  .hero-sun {
    top: 10vh;
    right: -26vw;
    width: 76vw;
  }
  .hero-ghost {
    bottom: 155px;
    font-size: 27vw;
  }
  .hero-coords {
    display: none;
  }
  .hero-rail {
    bottom: 79px;
  }
  .hero-train-clip {
    height: 104px;
  }
  .hero-train {
    width: min(260vw, 1600px);
  }
  .hero-mountain--back,
  .hero-mountain--mid {
    bottom: 125px;
  }
  .hero-ground {
    height: 128px;
  }
  .hero-bottom-inner {
    grid-template-columns: 1fr auto;
    padding-bottom: 17px;
  }
  .hero-loc {
    display: none;
  }
  .scroll-cue {
    grid-column: 1;
    align-items: flex-start;
    gap: 7px;
    font-size: 6px;
  }
  .scroll-cue-line {
    height: 26px;
  }
  .hero-bottom-inner {
    display: flex;
    justify-content: flex-end;
  }
  .ticker {
    height: 47px;
  }
  .ticker-group {
    gap: 18px;
    padding-right: 18px;
    font-size: 1rem;
  }
  .section-pad {
    padding-block: 78px;
  }
  .section-index {
    gap: 9px;
    margin-bottom: 22px;
    font-size: 8px;
  }
  .section-index span {
    font-size: 9px;
  }
  .section-index i {
    width: 19px;
  }
  .section-head {
    margin-bottom: 39px;
  }
  .section-head h2 {
    font-size: clamp(2.7rem, 12.8vw, 5rem);
    line-height: 1.2;
  }
  .section-lead {
    padding-bottom: 0;
    font-size: 0.86rem;
    line-height: 1.8;
  }
  .about-copy > p:not(.about-lead) {
    margin-top: 22px;
    font-size: 0.86rem;
    line-height: 1.85;
  }
  .about-lead {
    font-size: 1.05rem;
    line-height: 1.7;
  }
  .about-quote {
    margin-top: 36px;
    padding-left: 17px;
    font-size: 1.75rem;
  }
  .about-links {
    margin-top: 32px;
    align-items: flex-start;
  }
  .about-links .micro-label {
    display: none;
  }
  .poster {
    aspect-ratio: 0.86;
  }
  .poster-head {
    top: 14px;
    right: 15px;
    left: 15px;
    font-size: 6px;
  }
  .poster-big {
    top: 35px;
    left: 17px;
    font-size: 5.2rem;
  }
  .poster-stamp {
    top: 58px;
    right: 15px;
    padding: 6px 7px;
    font-size: 5px;
  }
  .poster-caption--top {
    top: 32%;
    right: 15px;
    font-size: 6px;
  }
  .poster-caption--side {
    right: 15px;
    font-size: 6px;
  }
  .poster-coords {
    right: 16px;
    bottom: 16px;
    font-size: 7px;
  }
  .poster-label {
    bottom: 52px;
    left: 16px;
    min-width: 128px;
    padding: 9px 12px;
  }
  .poster-label strong {
    font-size: 1.9rem;
  }
  .poster-label span,
  .poster-label em {
    font-size: 6px;
  }
  .poster-station-name {
    font-size: 23px;
  }
  .poster-station-en {
    font-size: 10px;
  }
  .poster-time {
    font-size: 10px;
  }
  .poster-terminus {
    font-size: 8px;
  }
  .poster-bg-label {
    font-size: 14px;
  }
  .poster-bg-en {
    font-size: 7px;
  }
  .poster-here text {
    font-size: 8px;
  }
  .visual-caption {
    font-size: 6px;
  }
  .visual-caption span:last-child {
    max-width: 170px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 46px;
  }
  .stat {
    padding: 17px 15px 0 0;
  }
  .stat + .stat {
    padding-left: 15px;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .stat:nth-child(3) {
    padding-left: 0;
  }
  .stat:nth-child(4) {
    padding-left: 15px;
  }
  .stat strong {
    margin-top: 20px;
    font-size: 1.5rem;
    padding-bottom: 0;
  }
  .stat:first-child strong {
    font-size: 1.8rem;
  }
  .stat .stat-mixed {
    font-size: 0.97rem;
    line-height: 1.35;
  }
  .stat p {
    padding-bottom: 17px;
    font-size: 6px;
  }
  .modes-inner {
    padding-top: 85px;
  }
  .modes-head .display {
    font-size: clamp(2.65rem, 12vw, 4.4rem);
  }
  .modes-head-side p {
    font-size: 0.84rem;
  }
  .modes-viewport {
    margin-top: 28px;
  }
  .mode-card {
    width: 100%;
    padding: 19px;
  }
  .mode-card:nth-child(even) {
    margin-left: 0;
  }
  .mode-art {
    min-height: 140px;
    padding: 16px 0;
  }
  .mode-copy h3 {
    font-size: 1.7rem;
  }
  .mode-copy p {
    font-size: 0.81rem;
  }
  .ride {
    height: 280svh;
  }
  .ride-content {
    padding-top: 100px;
  }
  .ride-content h2 {
    font-size: clamp(3rem, 12vw, 5rem);
    max-width: 86%;
  }
  .ride-desc {
    max-width: 250px;
    font-size: 0.82rem;
  }
  .ride-sign {
    display: none;
  }
  .ride-ghost {
    bottom: 18vh;
    font-size: 47vw;
  }
  .ride-lights {
    padding: 4vh 8vw;
  }
  .ride-lights i {
    width: 10vw;
    height: 3px;
  }
  .ride-train-wrap {
    bottom: 17.2vh;
  }
  .ride-train {
    width: min(300vw, 1800px);
  }
  .ride-train::after {
    width: 34vw;
  }
  .ride-platform {
    height: 17vh;
  }
  .ride-people,
  .platform-label {
    display: none;
  }
  .ride-bottom {
    bottom: 15px;
  }
  .ride-state {
    font-size: 7px;
  }
  .ride-progress-wrap {
    font-size: 6px;
  }
  .ride-progress-wrap strong {
    font-size: 17px;
  }
  .ride-hint {
    display: none;
  }
  .ride-bottom-inner {
    gap: 9px 16px;
  }
  .webmap-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 16px 16px 21px;
  }
  .webmap-copy strong {
    font-size: 1.22rem;
  }
  .webmap-actions {
    justify-content: space-between;
    gap: 12px;
  }
  .webmap-open {
    flex: 1;
    min-width: 150px;
  }
  .route-board {
    padding: 15px;
    box-shadow: 7px 7px 0 var(--coral);
  }
  .route-board-head {
    align-items: flex-start;
  }
  .route-roundel {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .route-brand {
    gap: 9px;
  }
  .route-brand strong {
    font-size: 14px;
  }
  .route-brand small {
    font-size: 6px;
  }
  .route-badges {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    font-size: 6px;
  }
  .route-badges span {
    padding: 4px 6px;
  }
  .route-map-scroll,
  .route-swipe-hint {
    display: none;
  }
  .route-mobile {
    display: block;
  }
  .route-map {
    min-width: 900px;
  }
  .route-info {
    grid-template-columns: 1fr 1fr;
  }
  .route-info > div {
    padding: 12px 11px 10px 0;
  }
  .route-info > div + div {
    padding-left: 11px;
  }
  .route-info > div:nth-child(3) {
    padding-left: 0;
  }
  .route-info > div:nth-child(even) {
    padding-left: 11px;
  }
  .route-info strong {
    font-size: 0.95rem;
    margin-top: 5px;
  }
  .route-info span:first-child {
    font-size: 6px;
  }
  .route-board-foot {
    display: block;
    font-size: 6px;
  }
  .route-board-foot span {
    display: block;
    margin-top: 4px;
  }
  .route-note {
    font-size: 7px;
  }
  .gallery-grid {
    max-width: none;
    gap: 30px;
  }
  .gallery-note {
    display: block;
    margin-top: 42px;
    font-size: 7px;
  }
  .gallery-note span {
    display: block;
    margin-bottom: 6px;
  }
  .frame-canvas {
    aspect-ratio: 4 / 5;
  }
  .join-inner {
    gap: 34px;
  }
  .join-copy h2 {
    font-size: clamp(3.1rem, 14vw, 5.2rem);
  }
  .join-desc {
    font-size: 0.88rem;
  }
  .join-steps li {
    padding: 14px 0;
  }
  .offline-note {
    margin-top: 18px;
    padding: 12px;
    gap: 11px;
  }
  .offline-note p {
    font-size: 0.75rem;
  }
  .offline-note strong {
    font-size: 0.98rem;
  }
  .offline-mark {
    font-size: 5.5px;
    padding: 5px 6px;
  }
  .join-links {
    margin-top: 24px;
    gap: 20px;
  }
  .ticket {
    --ticket-pad: 20px;
    box-shadow: 9px 9px 0 rgba(14, 25, 19, 0.17);
    transform: none;
  }
  .ticket:hover {
    transform: none;
  }
  .ticket-caption {
    transform: none;
    font-size: 6px;
  }
  .ticket-brand strong {
    font-size: 20px;
  }
  .ticket-number {
    font-size: 5px;
  }
  .ticket-route {
    gap: 12px;
    padding: 20px 0;
  }
  .ticket-route strong {
    font-size: 1.4rem;
  }
  .ticket-ip {
    font-size: 1.1rem;
  }
  .ticket-copy {
    padding: 9px 10px;
    font-size: 8px;
  }
  .ticket-fields {
    grid-template-columns: 1fr;
  }
  .ticket-fields > div:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }
  .ticket-fields > div:nth-child(even) {
    padding-left: 0;
  }
  .ticket-fields > div:nth-child(2),
  .ticket-fields > div:nth-child(3) {
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
  }
  .ticket-fields > div:nth-child(2) {
    border-bottom: 0;
  }
  .ticket-fields > div:nth-child(3) {
    border-bottom: 0;
  }
  .ticket-fields > div:nth-child(n + 2) {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .ticket-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .ticket-barcode {
    width: 100px;
    height: 31px;
  }
  .ticket-serial {
    margin-right: 0;
  }
  .ticket-stamp {
    display: none;
  }
  .footer-top {
    align-items: flex-start;
  }
  .footer-up span {
    display: none;
  }
  .footer-up strong {
    width: 32px;
    height: 32px;
  }
  .footer-brand {
    margin-top: 35px;
    font-size: 28vw;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 18px 22px;
  }
  .footer-disclaimer {
    padding-left: 0;
    border-left: 0;
  }
  .footer-links {
    grid-column: auto;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .toast {
    bottom: 15px;
    padding: 12px 14px;
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  :root {
    --edge: 17px;
  }
  .brand-type {
    font-size: 18px;
  }
  .brand-type small {
    font-size: 5.5px;
  }
  .menu-toggle-label {
    font-size: 9px;
  }
  .hero-line--xl {
    font-size: 25vw;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .btn {
    justify-content: space-between;
  }
  .hero-board {
    max-width: none;
  }
  .hero-train {
    width: min(240vw, 1000px);
  }
  .poster {
    aspect-ratio: 0.8;
  }
  .poster-big {
    font-size: 4.5rem;
  }
  .poster-label {
    bottom: 42px;
  }
  .visual-caption span:last-child {
    display: none;
  }
  .mode-card {
    padding: 17px;
  }
  .ride-content h2 {
    font-size: 13vw;
  }
  .ride-bottom-inner {
    display: block;
  }
  .ride-progress-wrap {
    margin-top: 10px;
  }
  .ride-state {
    margin-bottom: 6px;
  }
  .ticket-route strong {
    font-size: 1.22rem;
  }
  .ticket-route em {
    font-size: 6px;
  }
  .ticket-arrow {
    font-size: 17px;
  }
  .footer-top h2 {
    font-size: 3rem;
  }
  .footer-brand {
    font-size: 27vw;
  }
}

/* ============================================================
   Reduced motion / no-js
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal,
  html.js .reveal.is-inview {
    opacity: 1;
    transform: none;
  }
  html.js .hero-line > span,
  html.js .hero-period {
    opacity: 1;
    transform: none;
  }
  .hero-train {
    animation: none;
    transform: translate3d(15vw, 0, 0);
  }
  .cloud--one,
  .cloud--two {
    animation: none;
  }
  .ticker-track {
    animation: none;
  }
  .modes {
    height: auto;
    overflow: visible;
  }
  .modes-pin {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .modes-inner {
    height: auto;
    padding-top: 92px;
  }
  .modes-viewport {
    overflow: visible;
    flex: none;
  }
  .modes-track {
    flex-direction: column;
    width: 100%;
    height: auto;
    transform: none !important;
  }
  .mode-card {
    flex: none;
    width: 100%;
    height: auto;
    max-height: none;
    opacity: 1 !important;
    transform: none !important;
  }
  .mode-card:nth-child(even) {
    margin-left: auto;
  }
  .modes-foot {
    display: none;
  }
  .ride {
    height: auto;
  }
  .ride-pin {
    position: relative;
    height: auto;
    min-height: 100svh;
  }
  .ride-train-wrap {
    bottom: 18vh;
  }
  .ride-train {
    transform: translate3d(calc(50vw - 50%), 0, 0) !important;
  }
  .ride-train::after {
    display: none;
  }
  .poster-orbit,
  .poster-route,
  .poster-pulse {
    animation: none !important;
  }
  .poster-route {
    stroke-dashoffset: 0;
  }
  .footer-train {
    animation: none;
    transform: translate3d(30vw, 0, 0);
  }
}

html:not(.js) .loader {
  display: none !important;
}
html:not(.js) body {
  overflow: auto;
}
html:not(.js) .modes,
html:not(.js) .ride {
  height: auto;
  overflow: visible;
}
html:not(.js) .modes-pin,
html:not(.js) .ride-pin {
  position: relative;
  height: auto;
  overflow: visible;
}
html:not(.js) .modes-inner {
  height: auto;
  padding-block: 96px;
}
html:not(.js) .modes-track {
  flex-direction: column;
  width: 100%;
  height: auto;
  transform: none !important;
}
html:not(.js) .mode-card {
  width: min(100%, 680px);
  height: auto;
  max-height: none;
  opacity: 1 !important;
  transform: none !important;
}
html:not(.js) .modes-foot {
  display: none;
}
html:not(.js) .ride-train {
  transform: translate3d(calc(50vw - 50%), 0, 0) !important;
}
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}
html:not(.js) .route-marker {
  display: none;
}

/* ============================================================
   Readability pass — slightly larger UI + labels
   ============================================================ */
html {
  font-size: 17px;
}
.btn {
  min-height: 54px;
  font-size: 13px;
}
.btn--header {
  min-height: 42px;
  font-size: 11px;
}
.brand-type {
  font-size: 24px;
}
.brand-type small {
  font-size: 7px;
}
.nav-link {
  font-size: 13px;
}
.nav-link i {
  font-size: 8px;
}
.header-live {
  font-size: 9px;
}
.micro-label {
  font-size: 10px;
}
.section-index {
  font-size: 11px;
}
.section-index span {
  font-size: 12px;
}
.section-lead {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}
.address-label {
  font-size: 9px;
}
.address-value {
  font-size: 12px;
}
.hero-eyebrow {
  font-size: 9px;
}
.hero-desc {
  font-size: clamp(0.97rem, 1.08vw, 1.08rem);
}
.hero-loc,
.scroll-cue,
.hero-words {
  font-size: 8px;
}
.board-head {
  font-size: 9px;
}
.board-cn {
  font-size: 29px;
}
.board-en {
  font-size: 8px;
}
.board-info span:first-child {
  font-size: 9.5px;
}
.board-info strong {
  font-size: 11px;
}
.board-info .status-pill {
  font-size: 10.5px;
}
.board-foot {
  font-size: 9px;
}
.board-foot strong {
  font-size: 10.5px;
}
.about-copy > p:not(.about-lead) {
  font-size: 1.02rem;
}
.about-lead {
  font-size: clamp(1.2rem, 1.68vw, 1.68rem);
}
.text-link {
  font-size: 12px;
}
.visual-caption {
  font-size: 8.5px;
}
.stat-index {
  font-size: 9px;
}
.stat p {
  font-size: 8px;
}
.mode-tag {
  font-size: 10px;
}
.mode-copy p {
  font-size: 0.96rem;
}
.mode-foot {
  font-size: 10px;
}
.modes-head-side p {
  font-size: 0.98rem;
}
.modes-meta {
  font-size: 9px;
}
.ride-desc {
  font-size: 1rem;
}
.ride-sign-head,
.ride-sign-foot {
  font-size: 8px;
}
.ride-sign-body em {
  font-size: 9px;
}
.ride-state {
  font-size: 10px;
}
.ride-progress-wrap,
.ride-hint {
  font-size: 9px;
}
.platform-label {
  font-size: 8px;
}
.webmap-kicker {
  font-size: 9px;
}
.webmap-copy p {
  font-size: 9.5px;
}
.webmap-open {
  min-height: 46px;
  font-size: 10px;
}
.route-brand small {
  font-size: 8.5px;
}
.route-badges {
  font-size: 9px;
}
.station-cn {
  font-size: 20px;
}
.station-en {
  font-size: 10px;
}
.station-time {
  font-size: 10px;
}
.station-tag {
  font-size: 8.5px;
}
.route-info span:first-child {
  font-size: 10px;
}
.route-info strong {
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
}
.route-board-foot {
  font-size: 9px;
}
.route-note {
  font-size: 9.5px;
}
.route-mobile-head {
  font-size: 8px;
}
.route-mobile-list strong {
  font-size: 1.18rem;
}
.route-mobile-list small {
  font-size: 8px;
}
.route-mobile-list em,
.route-mobile-list em.rm-time {
  font-size: 8.5px;
}
.route-mobile-note {
  font-size: 8px;
}
.frame-badge {
  font-size: 8px;
}
.frame-time {
  font-size: 11px;
}
.caption-kicker {
  font-size: 8.5px;
}
.frame figcaption strong {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
}
.caption-meta {
  font-size: 8.5px;
}
.gallery-note {
  font-size: 9px;
}
.join-desc {
  font-size: 1.04rem;
}
.offline-note p {
  font-size: 0.88rem;
}
.offline-mark {
  font-size: 7px;
}
.join-steps p {
  font-size: 0.92rem;
}
.join-steps strong {
  font-size: 1.28rem;
}
.step-no {
  font-size: 11px;
}
.ticket-brand small,
.ticket-number,
.ticket-route span,
.ticket-label {
  font-size: 8.5px;
}
.ticket-route em {
  font-size: 9px;
}
.ticket-copy {
  font-size: 10px;
}
.ticket-hint {
  font-size: 9.5px;
}
.ticket-fields span:first-child {
  font-size: 9px;
}
.ticket-fields strong {
  font-size: 10.5px;
}
.ticket-caption {
  font-size: 9px;
}
.footer-kicker,
.footer-up {
  font-size: 10px;
}
.footer-bottom {
  font-size: 9px;
}
.footer-links {
  font-size: 10px;
}
.footer-social-label {
  font-size: 8px;
}
.social-slot,
.social-slot i {
  font-size: 9px;
}
.footer-api {
  font-size: 8px;
}
.toast {
  font-size: 11px;
}

@media (max-width: 760px) {
  .section-index {
    font-size: 9.5px;
  }
  .section-index span {
    font-size: 10px;
  }
  .hero-eyebrow {
    font-size: 8px;
  }
  .hero-desc {
    font-size: 0.94rem;
  }
  .hero-board {
    /* Larger text needs a little more room in the mobile board. */
    padding-bottom: 15px;
  }
  .board-head {
    font-size: 8.5px;
  }
  .board-info span:first-child {
    font-size: 8px;
  }
  .board-info strong {
    font-size: 9.5px;
  }
  .mode-card {
    padding: 21px;
  }
  .mode-copy p {
    font-size: 0.93rem;
  }
  .route-mobile-list strong {
    font-size: 1.12rem;
  }
  .route-mobile-list small {
    font-size: 8.5px;
  }
  .route-mobile-list em,
  .route-mobile-list em.rm-time {
    font-size: 9.5px;
  }
  .route-mobile-head {
    font-size: 9px;
  }
  .ticket-fields strong {
    font-size: 9px;
  }
  .footer-bottom {
    font-size: 8px;
  }
  .footer-links {
    font-size: 9px;
  }
}

/* Network index */
.network-index {
  margin-top: clamp(34px, 5vw, 58px);
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.2);
}
.network-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(14, 25, 19, 0.16);
}
.network-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--coral-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.network-kicker span {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--coral);
}
.network-head h3 {
  margin-top: 8px;
  font-family: var(--font-cn);
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
}
.network-count {
  flex: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 8px;
}
.network-line {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid rgba(14, 25, 19, 0.1);
}
.network-line > div {
  min-width: 0;
}
.network-line i {
  flex: none;
  width: 31px;
  height: 5px;
  border-radius: 3px;
  background: var(--line, var(--ink));
  box-shadow: 0 0 0 1px rgba(14, 25, 19, 0.1);
}
.network-line strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-cn);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.network-line small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.network-foot {
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .network-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .network-index {
    padding: 18px 15px;
  }
  .network-head {
    display: block;
  }
  .network-count {
    display: block;
    margin-top: 10px;
  }
  .network-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .network-line strong {
    font-size: 1.02rem;
  }
}

.network-line .network-type {
  font-weight: 500;
}
.network-line .network-type--hsr {
  color: var(--coral-deep);
}
.network-line .network-type--ring {
  color: #2f7d32;
}
.network-line .network-type--bus {
  color: #7a5b3d;
}
.network-line .network-type--warn {
  color: var(--coral-deep);
  font-weight: 600;
}
.network-line .network-type--ferry {
  color: #2b7d8d;
}
.network-line .network-type--cable {
  color: #8a6a48;
}
.network-line .network-type--apm {
  color: #677b1b;
}

.network-group {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(14, 25, 19, 0.16);
  color: var(--coral-deep);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.network-group:first-child {
  margin-top: 2px;
}

.network-line .network-type--suspended {
  color: var(--coral-deep);
  font-weight: 600;
}


/* Real photo artwork in mode cards and gallery mosaic */
.mode-art--photo {
  position: relative;
  flex: 1;
  min-height: clamp(180px, 24vh, 260px);
  margin: 14px 0 16px;
  padding: 0;
  overflow: hidden;
  background: rgba(14, 25, 19, 0.08);
}
.mode-art--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-grid .frame {
  margin-top: 0;
}
.frame--wide {
  grid-column: span 2;
}
.frame--wide .frame-canvas {
  aspect-ratio: 16 / 9;
}
@media (max-width: 900px) {
  .frame--wide {
    grid-column: auto;
  }
}

.mode-photo-note {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 10px;
  padding: 4px 7px;
  background: rgba(14, 25, 19, 0.82);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* Font split: MiSans for UI/body and the two named display exceptions. */
.hero-title .hero-line--sm,
.hero-title .hero-line--xl {
  font-family: var(--font-sans);
}
.footer-font {
  color: rgba(241, 233, 218, 0.42);
}
.footer-font a {
  border-bottom: 1px solid rgba(241, 233, 218, 0.22);
  color: rgba(241, 233, 218, 0.52);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-font a:hover {
  border-color: var(--lime);
  color: var(--lime);
}
