/* =========================================================
   永兴集团 · 共享外壳 /assets/site.css
   轨道侧栏 + 非对称编辑部版式 + 纸张叠层
   ========================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd {
  margin: 0;
}

ul, ol { padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

img, svg, picture, video { display: block; max-width: 100%; }

a { color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --deep: #0B2C4A;
  --channel: #123F63;
  --tide: #1E5A85;
  --shallow: #7FB2D4;
  --sand: #E8C57A;
  --sand-pale: #F2D9A0;
  --coral: #E8674A;
  --paper: #FBF7F0;
  --fold: #F2ECE2;
  --ink: #16212B;
  --mist: #5A6B78;
  --confirm: #2F7D5D;

  --rail-w: 274px;
  --masthead-h: 62px;
  --shell: 1200px;
  --gutter: clamp(18px, 4vw, 54px);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(242, 236, 226, .55), transparent 320px);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--ink);
}

p { max-width: 38em; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 300;
  transform: translateY(-160%);
  display: inline-block;
  padding: 10px 18px;
  background: var(--sand);
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Reading progress ---------- */
.progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 120;
  background: rgba(11, 44, 74, .10);
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--coral);
  transition: transform .12s linear;
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--paper);
}
.brand__mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(232, 197, 122, .55);
  background:
    linear-gradient(135deg, rgba(232, 197, 122, .22), rgba(127, 178, 212, .06) 62%, transparent);
}
.brand__mark::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 50%;
  height: 1px;
  background: rgba(127, 178, 212, .75);
}
.brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--sand);
  box-shadow: 0 0 0 3px rgba(232, 197, 122, .16);
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .10em;
  line-height: 1.2;
}
.brand__tag {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  color: rgba(232, 197, 122, .92);
  line-height: 1.4;
}

/* ---------- Masthead (mobile only) ---------- */
.masthead {
  display: none;
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--masthead-h);
  z-index: 100;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(127, 178, 212, .22), transparent 64%),
    linear-gradient(100deg, var(--deep), var(--channel));
  border-bottom: 1px solid rgba(232, 197, 122, .3);
}
.brand--bar .brand__name { font-size: 16px; }
.brand--bar .brand__tag { letter-spacing: .18em; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  background: rgba(251, 247, 240, .06);
  border: 1px solid rgba(127, 178, 212, .45);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.nav-toggle:hover { background: rgba(232, 197, 122, .16); border-color: var(--sand); }
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: var(--sand);
  transition: transform .24s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* ---------- Rail ---------- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 90;
  display: flex;
  flex-direction: column;
}
.rail__scrim { display: none; }

.rail__panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px 22px 22px;
  color: var(--paper);
  border-right: 1px solid rgba(232, 197, 122, .26);
  background:
    radial-gradient(130% 52% at 0% 0%, rgba(127, 178, 212, .22), transparent 62%),
    linear-gradient(178deg, var(--deep) 0%, var(--channel) 58%, #0A2E4C 100%);
  background-attachment: local;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 178, 212, .4) transparent;
}
.rail__panel::-webkit-scrollbar { width: 6px; }
.rail__panel::-webkit-scrollbar-thumb { background: rgba(127, 178, 212, .35); }

.rail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.rail__close {
  display: none;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(127, 178, 212, .45);
  color: var(--paper);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.rail__close:hover { border-color: var(--sand); color: var(--sand); }

/* ---------- Dual entries ---------- */
.rail__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 22px 0 4px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(127, 178, 212, .2);
}
.mode {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 9px 11px;
  text-decoration: none;
  color: rgba(251, 247, 240, .86);
  background: rgba(11, 44, 74, .45);
  border: 1px solid rgba(127, 178, 212, .28);
  transition: border-color .22s var(--ease), background-color .22s var(--ease), transform .22s var(--ease);
}
.mode:hover {
  border-color: var(--sand);
  background: rgba(232, 197, 122, .12);
  transform: translateY(-2px);
}
.mode__label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
}
.mode__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(232, 197, 122, .82);
}

/* ---------- Axis nav ---------- */
.axis-nav {
  padding: 20px 0 8px;
}
.axis-nav__label {
  margin: 0 0 12px 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(127, 178, 212, .78);
  max-width: none;
}
.axis-nav__list {
  position: relative;
  margin: 0;
  padding-left: 20px;
}
.axis-nav__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, rgba(127, 178, 212, .5), rgba(127, 178, 212, .08));
}
.axis-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 8px;
  text-decoration: none;
  color: rgba(251, 247, 240, .74);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.axis-nav__dot {
  position: absolute;
  left: -19px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border: 1px solid rgba(127, 178, 212, .75);
  border-radius: 50%;
  background: var(--channel);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.axis-nav__name {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .06em;
  transform: translateX(-2px);
  transition: transform .22s var(--ease);
}
.axis-nav__idx {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(127, 178, 212, .55);
}
.axis-nav__link:hover {
  color: var(--paper);
  background: rgba(127, 178, 212, .1);
}
.axis-nav__link:hover .axis-nav__name { transform: translateX(3px); }
.axis-nav__link:hover .axis-nav__dot {
  background: var(--sand);
  border-color: var(--sand);
  box-shadow: 0 0 0 3px rgba(232, 197, 122, .16);
}
.axis-nav__link[aria-current="page"] {
  color: var(--paper);
  background: rgba(127, 178, 212, .13);
  box-shadow: inset 2px 0 0 var(--sand);
}
.axis-nav__link[aria-current="page"] .axis-nav__dot {
  background: var(--sand);
  border-color: var(--sand);
  box-shadow: 0 0 0 3px rgba(232, 197, 122, .18);
}
.axis-nav__link[aria-current="page"] .axis-nav__name { font-weight: 700; }
.axis-nav__link[aria-current="page"] .axis-nav__idx { color: var(--sand); }

/* ---------- Rail foot ---------- */
.rail__foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(127, 178, 212, .2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rail__hours {
  max-width: none;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(127, 178, 212, .85);
}
.rail__tel {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  color: var(--paper);
  padding: 2px 0;
}
.rail__tel-label {
  font-size: 10.5px;
  letter-spacing: .22em;
  color: rgba(232, 197, 122, .9);
}
.rail__tel-num {
  font-family: var(--font-mono);
  font-size: 15.5px;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}
.rail__tel:hover .rail__tel-num { color: var(--sand); }
.rail__cta {
  display: block;
  margin-top: 4px;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  background: var(--coral);
  color: #FFF9F3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  border: 1px solid rgba(0, 0, 0, .1);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.rail__cta:hover { background: #D9573B; transform: translateY(-2px); }

/* ---------- Skyline (drawer only) ---------- */
.rail__skyline { display: none; }

/* ---------- Wrap / layout helpers ---------- */
.wrap {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose p { max-width: 36em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--tide);
  max-width: none;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--sand);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--deep);
  color: var(--paper);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--coral { background: var(--coral); color: #FFF9F3; }
.btn--coral:hover { background: #D9573B; }
.btn--sand { background: var(--sand); color: var(--deep); }
.btn--sand:hover { background: var(--sand-pale); }
.btn--ghost {
  background: transparent;
  color: var(--deep);
  border-color: rgba(11, 44, 74, .3);
}
.btn--ghost:hover { border-color: var(--deep); background: rgba(11, 44, 74, .05); }

/* ---------- Breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  list-style: none;
  padding: 0;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--mist);
}
.crumbs li { display: flex; align-items: center; gap: 7px; }
.crumbs li + li::before {
  content: "/";
  color: rgba(22, 33, 43, .28);
}
.crumbs a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.crumbs a:hover { color: var(--tide); border-bottom-color: var(--sand); }

/* ---------- Paper card ---------- */
.paper-card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(22, 33, 43, .16);
  box-shadow: 7px 7px 0 -1px var(--fold), 7px 7px 0 0 var(--sand);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.paper-card:hover,
.paper-card:focus-within {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 -1px var(--fold), 10px 10px 0 0 var(--sand);
}

/* ---------- Media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--fold);
  border: 1px solid rgba(22, 33, 43, .14);
  aspect-ratio: 16 / 10;
}
.media > img,
.media > picture,
.media > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--tone > img,
.media--tone > picture > img {
  filter: saturate(.94) contrast(1.02);
}
.media--tone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 90, 133, .13), rgba(11, 44, 74, .22));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 21 / 9; }
.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  max-width: none;
  padding: 8px 12px;
  background: rgba(11, 44, 74, .82);
  color: var(--sand-pale);
  font-size: 11.5px;
  letter-spacing: .12em;
  line-height: 1.5;
}

/* ---------- Reveal protocol ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Footer ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(64px, 9vw, 128px);
  color: rgba(251, 247, 240, .78);
  border-top: 1px solid rgba(232, 197, 122, .34);
  background:
    radial-gradient(110% 60% at 88% 0%, rgba(30, 90, 133, .62), transparent 64%),
    radial-gradient(80% 44% at 8% 96%, rgba(232, 197, 122, .1), transparent 66%),
    linear-gradient(180deg, var(--deep) 0%, #08223A 100%);
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(127, 178, 212, .55) 0 1px, transparent 1px 46px);
  opacity: .55;
}

.site-foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(40px, 6vw, 76px) 0 clamp(30px, 4vw, 52px);
}

.site-foot__brand { display: flex; flex-direction: column; gap: 12px; }
.site-foot__name {
  max-width: none;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--paper);
  line-height: 1.2;
}
.site-foot__tag {
  max-width: 20em;
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(127, 178, 212, .9);
}
.site-foot__cta {
  align-self: flex-start;
  margin-top: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  color: var(--deep);
  background: var(--sand);
  border: 1px solid rgba(232, 197, 122, .6);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.site-foot__cta:hover { background: var(--sand-pale); transform: translateY(-2px); }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.foot-col__title {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--sand);
  line-height: 1.4;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.foot-col li {
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: rgba(251, 247, 240, .74);
  overflow-wrap: anywhere;
}
.foot-col a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.foot-col a:hover { color: var(--sand); border-bottom-color: rgba(232, 197, 122, .6); }
.foot-col--contact li { font-family: var(--font-mono); font-size: 12.5px; }
.foot-col--contact li:last-child { font-family: var(--font-sans); }

/* ---------- City axis band ---------- */
.city-axis {
  padding: 22px 0 6px;
  border-top: 1px solid rgba(127, 178, 212, .24);
}
.city-axis__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.city-axis__label {
  max-width: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .26em;
  color: rgba(127, 178, 212, .95);
}
.city-axis__meta {
  max-width: none;
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(251, 247, 240, .72);
}
.city-axis__meta .mono { color: var(--sand); font-size: 13px; }
.city-axis__track {
  position: relative;
  height: 46px;
  margin-top: 14px;
}
.city-axis__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 197, 122, .85), rgba(127, 178, 212, .55) 46%, rgba(127, 178, 212, .16));
}
.city-axis__track::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(232, 197, 122, .78) 0 1.7px, transparent 1.8px);
  background-size: calc(100% / 31) 100%;
  background-position: 0 50%;
  background-repeat: repeat-x;
  opacity: .9;
}
.city-axis__origin {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  background: var(--sand);
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  white-space: nowrap;
}

/* ---------- Footer base ---------- */
.site-foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(127, 178, 212, .16);
}
.site-foot__legal,
.site-foot__note {
  max-width: none;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(251, 247, 240, .56);
}
.site-foot__note { font-family: var(--font-mono); }

/* =========================================================
   Desktop shell: rail occupies left, content pushed right
   ========================================================= */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
  .progress { left: var(--rail-w); }
  .site-foot { margin-left: 0; }
}

/* =========================================================
   Mobile / tablet: drawer
   ========================================================= */
@media (max-width: 1023px) {
  body {
    padding-top: var(--masthead-h);
  }
  body.is-nav-open { overflow: hidden; }

  .masthead { display: flex; }
  .progress { top: var(--masthead-h); }

  .rail {
    inset: 0;
    width: auto;
    background: rgba(8, 34, 58, .58);
    opacity: 0;
    pointer-events: none;
    transition: opacity .26s var(--ease);
  }
  .rail[data-open] {
    opacity: 1;
    pointer-events: auto;
  }
  .rail__scrim {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(8, 34, 58, .3);
  }
  .rail__panel {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(88vw, 352px);
    transform: translateX(-103%);
    transition: transform .3s var(--ease);
    border-right: 1px solid rgba(232, 197, 122, .34);
    box-shadow: 18px 0 40px -20px rgba(0, 0, 0, .6);
  }
  .rail[data-open] .rail__panel { transform: none; }

  .rail__close { display: block; }

  .rail__skyline {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 74px;
    margin-top: auto;
    padding-top: 18px;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .42s var(--ease) .1s, transform .42s var(--ease) .1s;
  }
  .rail[data-open] .rail__skyline {
    opacity: .92;
    transform: none;
  }
  .rail__skyline span {
    flex: 1 1 0;
    background: linear-gradient(180deg, rgba(127, 178, 212, .58), rgba(127, 178, 212, .1));
    border-top: 1px solid rgba(232, 197, 122, .45);
  }
  .rail__skyline span:nth-child(1) { height: 34%; }
  .rail__skyline span:nth-child(2) { height: 62%; }
  .rail__skyline span:nth-child(3) { height: 44%; }
  .rail__skyline span:nth-child(4) { height: 88%; }
  .rail__skyline span:nth-child(5) { height: 56%; }
  .rail__skyline span:nth-child(6) { height: 100%; }
  .rail__skyline span:nth-child(7) { height: 40%; }

  .site-foot { margin-top: clamp(52px, 10vw, 88px); }
  .site-foot__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-axis__track::after { background-size: calc(100% / 15) 100%; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .site-foot__base { flex-direction: column; align-items: flex-start; gap: 6px; }
  .city-axis__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .foot-cols { gap: 22px 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .rail,
  .rail__panel,
  .rail__skyline { transition: none !important; }
}
