:root {
  --navy: #0b2534;
  --navy-deep: #061b27;
  --navy-soft: #153747;
  --mist: #dce7e7;
  --turquoise: #2a7772;
  --turquoise-bright: #66b5ad;
  --gold: #c59a58;
  --gold-soft: #dfc49a;
  --wood-red: #a84535;
  --paper: #f7f8f4;
  --white: #ffffff;
  --ink: #102b36;
  --muted: #5f6f73;
  --line: rgba(11, 37, 52, 0.16);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --page-x: clamp(22px, 6.4vw, 30px);
  --display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --data: "DIN Alternate", "SF Pro Display", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #04151f;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(102, 181, 173, 0.13), transparent 34rem),
    #04151f;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

svg {
  display: block;
}

::selection {
  color: var(--navy-deep);
  background: var(--gold-soft);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 50%;
  padding: 8px 14px;
  color: var(--navy);
  background: var(--white);
  font-size: 13px;
  transform: translate(-50%, -160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-shell {
  position: relative;
  width: min(100%, 480px);
  min-height: 100vh;
  margin-inline: auto;
  overflow: clip;
  background: var(--paper);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.24);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100%, 480px);
  height: calc(66px + var(--safe-top));
  padding: calc(12px + var(--safe-top)) 20px 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  transform: translateX(-50%);
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
  color: var(--navy);
  border-bottom: 1px solid rgba(11, 37, 52, 0.08);
  background: rgba(247, 248, 244, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  width: 27px;
  height: 20px;
  overflow: visible;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.menu-button,
.menu-drawer__top button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  place-content: center;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button {
  gap: 6px;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-button span:last-child {
  width: 17px;
  justify-self: end;
}

.menu-button:hover span:last-child {
  transform: translateX(-8px);
}

.menu-drawer {
  position: fixed;
  z-index: 300;
  inset: 0;
  left: 50%;
  display: flex;
  width: min(100%, 480px);
  padding: calc(18px + var(--safe-top)) var(--page-x) calc(28px + var(--safe-bottom));
  flex-direction: column;
  color: var(--white);
  background:
    linear-gradient(rgba(11, 37, 52, 0.96), rgba(6, 27, 39, 0.99)),
    url("assets/hero-mountain-city.jpg") center / cover;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-3%);
  transition: opacity 280ms ease, transform 420ms var(--ease);
}

.menu-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.menu-drawer__top {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  color: var(--gold-soft);
  font-family: var(--data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.menu-drawer__top button svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.4;
}

.menu-drawer nav {
  display: flex;
  margin: auto 0;
  flex-direction: column;
}

.menu-drawer nav a {
  display: grid;
  min-height: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  grid-template-columns: 42px 1fr;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(23px, 7vw, 30px);
  line-height: 1.25;
  text-decoration: none;
}

.menu-drawer nav a span {
  color: var(--gold);
  font-family: var(--data);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.menu-drawer__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ridge-progress {
  position: fixed;
  z-index: 90;
  top: calc(82px + var(--safe-top));
  right: max(8px, calc((100vw - 480px) / 2 + 8px));
  width: 16px;
  height: calc(100svh - 110px - var(--safe-top));
  pointer-events: none;
  transition: opacity 240ms ease;
}

.ridge-progress__line {
  position: absolute;
  top: 23px;
  bottom: 0;
  left: 8px;
  width: 1px;
  overflow: hidden;
  background: rgba(197, 154, 88, 0.24);
}

.ridge-progress__line i {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(var(--gold), var(--turquoise-bright));
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}

.ridge-progress__peak {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  color: var(--gold);
}

.ridge-progress__peak svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 23%;
  background: linear-gradient(transparent, rgba(6, 27, 39, 0.78) 82%, var(--navy-deep));
  content: "";
  pointer-events: none;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 105%;
  object-fit: cover;
  object-position: center 36%;
  will-change: transform;
}

.hero__copy {
  position: absolute;
  z-index: 2;
  top: 24%;
  left: var(--page-x);
  width: calc(100% - 56px);
}

.hero__copy h1 {
  max-width: 360px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 13.5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.14;
  text-wrap: balance;
  text-shadow: 0 3px 25px rgba(1, 12, 18, 0.28);
}

.hero__copy h1::after {
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 25px;
  background: var(--gold);
  content: "";
}

.hero__copy p {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.12em;
  line-height: 1.65;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero__altitude {
  position: absolute;
  z-index: 2;
  top: 18%;
  right: 12px;
  bottom: 18%;
  width: 62px;
  border-right: 1px solid rgba(223, 196, 154, 0.56);
}

.altitude-scale__item {
  position: absolute;
  right: 6px;
  display: flex;
  padding-right: 12px;
  flex-direction: column;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.altitude-scale__item::after {
  position: absolute;
  top: 7px;
  right: -10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 154, 88, 0.18);
  content: "";
}

.altitude-scale__item--top { top: 0; }
.altitude-scale__item--middle { top: 48%; }
.altitude-scale__item--bottom { bottom: 0; }

.altitude-scale b {
  color: var(--gold-soft);
  font-family: var(--data);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.altitude-scale small {
  font-size: 9px;
  letter-spacing: 0.08em;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: calc(26px + var(--safe-bottom));
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.hero__scroll svg {
  width: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  animation: float-down 1.8s ease-in-out infinite;
}

@keyframes float-down {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(5px); }
}

.section-pad {
  padding-inline: var(--page-x);
}

.section-dark {
  color: var(--mist);
  background:
    radial-gradient(circle at 0 0, rgba(42, 119, 114, 0.18), transparent 28rem),
    var(--navy-deep);
}

.section-index {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.section-index::before {
  display: inline-block;
  width: 27px;
  height: 1px;
  margin-right: 9px;
  vertical-align: 4px;
  background: currentColor;
  content: "";
}

h2,
h3,
h4,
p {
  text-wrap: pretty;
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 11.3vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.section-lead {
  margin: 24px 0 0;
  color: inherit;
  font-size: 16px;
  line-height: 2;
  opacity: 0.78;
}

.city-foundation {
  position: relative;
  padding: 98px 0 88px;
}

.city-foundation::after {
  position: absolute;
  right: -50px;
  bottom: 90px;
  width: 240px;
  height: 450px;
  border: 1px solid rgba(102, 181, 173, 0.08);
  border-radius: 48% 52% 20% 80% / 66% 24% 76% 34%;
  content: "";
  transform: rotate(-14deg);
  pointer-events: none;
}

.forces {
  position: relative;
  z-index: 1;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.force {
  position: relative;
  display: grid;
  min-height: 176px;
  padding: 31px 48px 30px var(--page-x);
  border-top: 1px solid rgba(220, 231, 231, 0.13);
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
}

.force:last-child {
  border-bottom: 1px solid rgba(220, 231, 231, 0.13);
}

.force__no {
  padding-top: 4px;
  color: var(--gold);
  font-family: var(--data);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.force h3 {
  margin: 0 0 11px;
  color: var(--white);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.force p {
  margin: 0;
  color: rgba(220, 231, 231, 0.66);
  font-size: 13px;
  line-height: 1.85;
}

.force > svg {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 36px;
  fill: none;
  stroke: var(--turquoise-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
  opacity: 0.62;
}

.world-heritage {
  position: relative;
  z-index: 1;
  margin: 68px var(--page-x) 0;
  padding: 25px 22px 24px;
  border: 1px solid rgba(197, 154, 88, 0.28);
  background: rgba(255, 255, 255, 0.025);
}

.world-heritage__year {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--data);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}

.world-heritage p {
  margin: 0;
  color: rgba(220, 231, 231, 0.78);
  font-size: 13px;
  line-height: 1.95;
}

.places {
  color: var(--ink);
  background: var(--paper);
}

.places__heading {
  padding-top: 94px;
  padding-bottom: 42px;
}

.places__heading > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.place-rail {
  position: sticky;
  z-index: 70;
  top: calc(65px + var(--safe-top));
  display: grid;
  height: 54px;
  padding-inline: 14px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 0.8fr 1.35fr 1.15fr;
  background: rgba(247, 248, 244, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.place-rail a {
  position: relative;
  display: grid;
  min-height: 44px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.place-rail a::after {
  position: absolute;
  right: 18%;
  bottom: -1px;
  left: 18%;
  height: 2px;
  background: var(--turquoise);
  content: "";
  transform: scaleX(0);
  transition: transform 300ms var(--ease);
}

.place-rail a.is-active {
  color: var(--navy);
}

.place-rail a.is-active::after {
  transform: scaleX(1);
}

.place {
  scroll-margin-top: calc(118px + var(--safe-top));
}

.place__media {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mist);
}

.place__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(6, 27, 39, 0.72));
  content: "";
}

.place__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.place__media.is-visible img {
  transform: scale(1.025);
}

.place__media figcaption {
  position: absolute;
  z-index: 1;
  right: var(--page-x);
  bottom: 19px;
  left: var(--page-x);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.place__media figcaption span {
  color: var(--gold-soft);
  font-family: var(--data);
  font-size: 10px;
}

.place__body {
  padding-top: 50px;
  padding-bottom: 86px;
}

.place__chapter {
  margin: 0 0 9px;
  color: var(--gold);
  font-family: var(--data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.place__body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.place--zhongyi .place__body h3,
.place--zhongyi .place__chapter {
  color: var(--wood-red);
}

.place__question {
  position: relative;
  margin: 24px 0 30px;
  padding-bottom: 19px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.6;
}

.place__question::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.place--zhongyi .place__question::after {
  background: var(--wood-red);
}

.place__body > p:not(.place__chapter, .place__question, .practical-note) {
  margin: 0 0 18px;
  color: #40545b;
  font-size: 15px;
  line-height: 2.05;
}

.field-note {
  margin: 39px 0 0;
  padding: 22px 0 2px 20px;
  border-left: 2px solid var(--turquoise);
}

.field-note--red {
  border-color: var(--wood-red);
}

.field-note h4 {
  margin: 0 0 18px;
  color: var(--turquoise);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.field-note--red h4 {
  color: var(--wood-red);
}

.field-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.field-note li {
  display: grid;
  margin: 0 0 13px;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  color: #4f6167;
  font-size: 13px;
  line-height: 1.75;
}

.field-note li span {
  display: grid;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(42, 119, 114, 0.38);
  border-radius: 50%;
  place-items: center;
  color: var(--turquoise);
  font-family: var(--display);
  font-size: 11px;
}

.field-note--red li span {
  border-color: rgba(168, 69, 53, 0.35);
  color: var(--wood-red);
}

.truth-note,
.practical-note {
  margin: 38px 0 0;
  padding: 18px;
  background: #edf2ee;
}

.truth-note {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
}

.truth-note svg {
  width: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.truth-note p,
.practical-note {
  color: #526268;
  font-size: 12px;
  line-height: 1.85;
}

.truth-note p {
  margin: 0;
}

.place__body blockquote {
  margin: 42px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(168, 69, 53, 0.26);
  color: var(--wood-red);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.8;
}

.place__body blockquote p {
  margin: 0;
}

.elevation-story {
  position: relative;
  margin: 38px 0 0;
  padding-left: 20px;
  border-left: 1px solid rgba(42, 119, 114, 0.32);
}

.elevation-story div {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: baseline;
  gap: 15px;
}

.elevation-story div::before {
  position: absolute;
  top: 9px;
  left: -24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--turquoise);
  content: "";
}

.elevation-story b {
  width: 74px;
  flex: none;
  color: var(--turquoise);
  font-family: var(--data);
  font-size: 13px;
}

.elevation-story span {
  color: var(--muted);
  font-size: 12px;
}

.practical-note {
  margin-bottom: 0;
}

.history {
  position: relative;
  padding: 98px 0 88px;
  overflow: hidden;
}

.history::before {
  position: absolute;
  top: 270px;
  right: -122px;
  width: 370px;
  height: 610px;
  border: 1px solid rgba(102, 181, 173, 0.08);
  border-radius: 50% 12% 45% 20%;
  content: "";
  transform: rotate(18deg);
}

.timeline {
  position: relative;
  margin: 62px 0 0;
  padding: 0 var(--page-x) 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 18px;
  right: 24px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(102, 181, 173, 0.55), transparent);
  content: "";
}

.timeline__item {
  position: relative;
  display: grid;
  min-height: 178px;
  padding: 0 36px 40px 0;
  grid-template-columns: 74px 1fr;
  gap: 18px;
}

.timeline__item::after {
  position: absolute;
  top: 12px;
  right: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--navy-deep);
  box-shadow: 0 0 0 5px rgba(197, 154, 88, 0.09);
  content: "";
}

.timeline__item time {
  color: var(--gold);
  font-family: var(--data);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.timeline__item h3 {
  margin: 1px 0 10px;
  color: var(--white);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

.timeline__item p {
  margin: 0;
  color: rgba(220, 231, 231, 0.63);
  font-size: 12px;
  line-height: 1.9;
}

.timeline__item--person {
  padding-top: 9px;
  padding-bottom: 48px;
}

.timeline__person {
  margin-bottom: 3px !important;
  color: var(--turquoise-bright) !important;
  font-family: var(--data);
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.quote-panel {
  margin: 46px var(--page-x) 0;
  padding: 30px 23px;
  border-top: 1px solid rgba(197, 154, 88, 0.34);
  border-bottom: 1px solid rgba(197, 154, 88, 0.18);
  background: rgba(255, 255, 255, 0.025);
}

.quote-panel > span {
  color: var(--gold);
  font-family: var(--data);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.quote-panel blockquote {
  margin: 16px 0 12px;
  color: var(--white);
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.5;
}

.quote-panel p {
  margin: 0;
  color: rgba(220, 231, 231, 0.58);
  font-size: 12px;
}

.more {
  padding: 96px 0 90px;
  background: var(--mist);
}

.more .section-lead {
  color: var(--muted);
}

.more__montage {
  position: relative;
  margin: 46px 0 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #bdced0;
}

.more__montage img {
  height: 100%;
  object-fit: cover;
}

.more__montage figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(6, 27, 39, 0.82);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.more-list {
  margin: 0;
  padding: 0 var(--page-x);
  counter-reset: more;
  list-style: none;
}

.more-list li {
  position: relative;
  min-height: 215px;
  padding: 44px 12px 40px 48px;
  border-bottom: 1px solid rgba(11, 37, 52, 0.17);
  counter-increment: more;
}

.more-list li::before {
  position: absolute;
  top: 49px;
  left: 0;
  color: var(--turquoise);
  font-family: var(--data);
  font-size: 11px;
  content: "0" counter(more);
}

.more-list li > span {
  display: block;
  margin-bottom: 8px;
  color: var(--wood-red);
  font-family: var(--data);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.more-list h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
}

.more-list p {
  margin: 0;
  color: #52666d;
  font-size: 13px;
  line-height: 1.9;
}

.route {
  padding: 96px 0 84px;
}

.route-switch {
  display: grid;
  margin: 44px var(--page-x) 0;
  border: 1px solid rgba(220, 231, 231, 0.16);
  grid-template-columns: 1fr 1fr;
}

.route-switch button {
  position: relative;
  display: grid;
  min-height: 105px;
  padding: 13px 14px;
  border: 0;
  color: rgba(220, 231, 231, 0.58);
  background: transparent;
  grid-template-columns: 34px 1fr;
  grid-template-rows: 22px 1fr;
  text-align: left;
  cursor: pointer;
  transition: color 240ms ease, background 240ms ease;
}

.route-switch button + button {
  border-left: 1px solid rgba(220, 231, 231, 0.16);
}

.route-switch button.is-active {
  color: var(--white);
  background: var(--turquoise);
}

.route-switch span {
  align-self: end;
  font-family: var(--data);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.route-switch b {
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--data);
  font-size: 35px;
  font-weight: 300;
  line-height: 1;
}

.route-switch small {
  align-self: start;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.route-day {
  padding: 24px var(--page-x) 0;
}

.route-day[hidden] {
  display: none;
}

.route-day ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-day li {
  display: grid;
  padding: 24px 0;
  border-bottom: 1px solid rgba(220, 231, 231, 0.13);
  grid-template-columns: 57px 1fr;
  gap: 15px;
}

.route-day time {
  padding-top: 4px;
  color: var(--gold);
  font-family: var(--data);
  font-size: 11px;
}

.route-day h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.route-day p {
  margin: 0;
  color: rgba(220, 231, 231, 0.58);
  font-size: 12px;
  line-height: 1.8;
}

.respect-note {
  display: grid;
  margin: 48px var(--page-x) 0;
  padding: 22px 20px;
  border: 1px solid rgba(197, 154, 88, 0.27);
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.respect-note svg {
  width: 36px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.respect-note h3 {
  margin: 0 0 7px;
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
}

.respect-note p {
  margin: 0;
  color: rgba(220, 231, 231, 0.6);
  font-size: 11px;
  line-height: 1.85;
}

.closing {
  position: relative;
  display: flex;
  min-height: 650px;
  padding: 108px var(--page-x) 78px;
  align-items: flex-start;
  flex-direction: column;
  color: var(--navy);
  background:
    linear-gradient(rgba(220, 231, 231, 0.87), rgba(247, 248, 244, 0.96)),
    url("assets/hero-mountain-city.jpg") center bottom / cover;
}

.closing > svg {
  width: 96px;
  margin-bottom: 36px;
  fill: none;
  stroke: var(--turquoise);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.closing h2 {
  font-size: 42px;
  line-height: 1.4;
}

.closing p {
  max-width: 345px;
  margin: 29px 0 0;
  color: #4d6269;
  font-size: 14px;
  line-height: 2;
}

.closing > a {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  align-items: center;
  gap: 10px;
  color: var(--turquoise);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.closing > a svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.site-footer {
  padding: 58px var(--page-x) calc(34px + var(--safe-bottom));
  color: rgba(220, 231, 231, 0.56);
  background: #04151f;
  font-size: 11px;
  line-height: 1.85;
}

.site-footer__title {
  margin: 0 0 13px;
  color: var(--gold);
  font-family: var(--data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.site-footer > p:not(.site-footer__title) {
  margin: 0;
}

.source-links {
  display: flex;
  margin: 22px 0 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.source-links a {
  color: rgba(220, 231, 231, 0.72);
  text-underline-offset: 4px;
}

.site-footer small {
  color: rgba(220, 231, 231, 0.34);
  font-family: var(--data);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 481px) {
  .site-shell::before,
  .site-shell::after {
    position: fixed;
    z-index: -1;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(197, 154, 88, 0.12);
    content: "";
  }

  .site-shell::before { left: calc(50% - 256px); }
  .site-shell::after { right: calc(50% - 256px); }
}

@media (max-width: 359px) {
  :root { --page-x: 19px; }

  .hero__copy h1 { font-size: 44px; }
  .hero__copy p { font-size: 17px; }
  .timeline__item { grid-template-columns: 64px 1fr; gap: 12px; }
  .timeline__item time { font-size: 21px; }
  .route-switch button { padding-inline: 10px; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__image {
    transform: none !important;
  }
}
