:root {
  --paper: #f4f0e8;
  --paper-2: #ebe5da;
  --ink: #18201e;
  --muted: #626963;
  --green: #294d43;
  --green-2: #3e6a5c;
  --red: #a83f35;
  --gold: #c79a58;
  --pearl: #b9e7df;
  --line: rgba(24, 32, 30, 0.16);
  --white: #fffdf7;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.72, 0.22, 1);
  --shadow: 0 24px 60px rgba(25, 31, 29, 0.12);
}

/* The town built by travelers */
.community-town { padding: 100px 0; background: #132d29; color: #fff; }
.community-town .section-head p { color: rgba(255,255,255,.68); }
.town-canvas { display: grid; grid-template-columns: minmax(0,1fr) 320px; background: #e9e4da; color: var(--ink); min-height: 580px; box-shadow: var(--shadow); }
.town-canvas svg { width: 100%; height: 100%; min-height: 580px; }
.town-canvas aside { padding: 42px 32px; background: #fffdf7; display: flex; flex-direction: column; justify-content: center; }
.town-canvas blockquote { font: 500 1.65rem/1.35 var(--serif); margin: 18px 0 30px; }
.ct-sky { fill: #e9e4da; }
.ct-sun { fill: #a83f35; opacity: .92; }
.ct-water { fill: #b9e7df; opacity: .8; }
.ct-lane { fill: none; stroke: #c79a58; stroke-width: 11; stroke-linecap: round; opacity: .65; }
.ct-piece { fill: rgba(255,253,247,.25); stroke: #294d43; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; cursor: pointer; transition: .3s; }
.ct-piece:hover,.ct-piece:focus,.ct-piece.active { fill: rgba(168,63,53,.18); stroke: #a83f35; outline: 0; transform: translateY(-5px); transform-origin: center; }
.ct-piece circle { fill: #c79a58; }
.town-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.town-legend button { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; border-radius: 99px; padding: 9px 13px; cursor: pointer; font-size: .78rem; }
.town-legend button.active { background: var(--red); border-color: var(--red); }
.town-legend i { display: inline-block; width: 7px; height: 7px; background: var(--pearl); border-radius: 50%; margin-right: 7px; }
@media(max-width:900px){.town-canvas{grid-template-columns:1fr}.town-canvas svg{min-height:430px}.town-canvas aside{min-height:260px}}
@media(max-width:580px){.community-town{padding:70px 0}.town-canvas svg{min-height:320px}.town-canvas blockquote{font-size:1.35rem}}

/* Signature experience card */
.signature-banner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 440px;
  margin-bottom: 90px;
  background: var(--green);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.signature-banner img { width: 100%; height: 100%; object-fit: cover; }
.signature-banner > div {
  padding: clamp(36px, 6vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.signature-banner h2 {
  font: 500 clamp(2.7rem, 4vw, 4.8rem) / .95 var(--serif);
  letter-spacing: -.04em;
  margin: 17px 0;
}
.signature-banner p { color: rgba(255,255,255,.74); }
.signature-banner b { color: var(--pearl); margin-top: 22px; }
@media (max-width: 760px) {
  .signature-banner { grid-template-columns: 1fr; min-height: 0; }
  .signature-banner img { height: 300px; }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}
body.lock {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.serif {
  font-family: var(--serif);
}
.muted {
  color: var(--muted);
}
.header {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  top: 0;
  height: 76px;
  display: flex;
  align-items: center;
  transition: 0.45s var(--ease);
  color: #fff;
}
.header:not(.inner):not(.scrolled):before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(8, 14, 13, 0.68), rgba(8, 14, 13, 0.22));
  backdrop-filter: blur(4px);
}
.header.scrolled,
.header.inner {
  color: var(--ink);
  background: rgba(244, 240, 232, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1280px, calc(100% - 48px));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-right: auto;
  white-space: nowrap;
}
.brand-cn {
  font-family: var(--serif);
  font-size: 1.35rem;
}
.brand-en {
  font-size: 0.68rem;
  letter-spacing: 0.19em;
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
}
.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transition: 0.3s;
}
.nav-links a:hover:after,
.nav-links a.active:after {
  right: 0;
}
.lang {
  border: 1px solid currentColor;
  border-radius: 99px;
  background: transparent;
  color: inherit;
  padding: 8px 13px;
  cursor: pointer;
}
.mobile-lang {
  display: none;
  min-height: 44px;
}
.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.hero {
  min-height: 100svh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 1.8s ease,
    transform 8s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1.035);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(8, 14, 13, 0.72) 0%,
      rgba(8, 14, 13, 0.42) 43%,
      rgba(8, 14, 13, 0.1) 74%
    ),
    linear-gradient(0deg, rgba(8, 12, 11, 0.55), transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 72px;
  width: min(1280px, calc(100% - 96px));
  margin: auto;
}
.hero h1 {
  font: 500 clamp(4rem, 7.5vw, 7.5rem) / 0.88 var(--serif);
  letter-spacing: -0.055em;
  margin: 22px 0 25px;
  max-width: 920px;
}
.hero h1 span {
  color: var(--pearl);
  font-style: italic;
}
.hero-copy {
  max-width: 630px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  min-height: 50px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 99px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s var(--ease);
}
.btn-primary {
  background: var(--red);
  color: white;
}
.btn-primary:hover {
  background: #8d3028;
  transform: translateY(-2px);
}
.btn-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-outline {
  border-color: var(--ink);
}
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 40px;
  font-size: 0.67rem;
  letter-spacing: 0.18em;
}
.route-line {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 16%;
  width: 46%;
  height: 130px;
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: rotate(7deg);
}
.pearl {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 15%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8fe0d8, #fff0c7, #f0a8b9);
  box-shadow: 0 0 28px rgba(185, 231, 223, 0.9);
}
.section {
  padding: 110px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.section-head h2,
.page-hero h1 {
  font: 500 clamp(2.8rem, 5vw, 5.5rem) / 0.98 var(--serif);
  letter-spacing: -0.045em;
  margin: 10px 0;
}
.section-head p {
  max-width: 560px;
  color: var(--muted);
}
.paper-alt {
  background: var(--paper-2);
}
.ink-section {
  background: var(--green);
  color: #fff;
}
.ink-section .muted,
.ink-section .section-head p {
  color: rgba(255, 255, 255, 0.68);
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stage-card {
  min-height: 410px;
  padding: 38px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.45s;
  color: var(--ink);
}
.stage-card:last-child {
  border-right: 0;
}
.stage-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      0deg,
      rgba(11, 18, 16, 0.78),
      rgba(11, 18, 16, 0.08)
    ),
    var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0.24;
  transition: 0.55s;
}
.stage-card:hover {
  color: #fff;
}
.stage-card:hover:before {
  opacity: 1;
}
.stage-card:hover,
.stage-card:focus-visible {
  color: #fff;
}
.stage-card:focus-visible:before {
  opacity: 1;
}
.stage-card > * {
  position: relative;
  z-index: 1;
}
.stage-card .num {
  position: absolute;
  top: 30px;
  font: italic 1.1rem var(--serif);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.stage-card h3 {
  font: 500 2.4rem/1 var(--serif);
  margin: 0 0 14px;
}
.stage-card p {
  max-width: 300px;
}
.stage-card .link {
  margin-top: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.filters {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 14px;
}
.prototype-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.filter {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 16px;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}
.filter.active {
  background: var(--ink);
  color: #fff;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
  transition: 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.card-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--green), var(--pearl));
  position: relative;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 24px;
}
.tag {
  display: inline-flex;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.card h3 {
  font: 500 1.55rem/1.1 var(--serif);
  margin: 0 0 12px;
}
.card p {
  color: var(--muted);
  font-size: 0.9rem;
}
.proto {
  font-size: 0.62rem;
  background: #fff3d8;
  padding: 5px 8px;
  border-radius: 99px;
  margin-left: 8px;
  color: #705723;
}
.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  grid-template-rows: 300px 300px;
  gap: 18px;
}
.mosaic-item {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: white;
}
.mosaic-item:first-child {
  grid-row: 1/3;
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.8s var(--ease);
}
.mosaic-item:hover img {
  transform: scale(1.04);
}
.mosaic-caption {
  position: absolute;
  left: 26px;
  bottom: 24px;
  right: 26px;
  text-shadow: 0 2px 16px #000;
}
.mosaic-caption h3 {
  font: 500 2rem/1 var(--serif);
  margin: 0;
}
.mosaic-item:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(5, 10, 9, 0.7));
}
.mosaic-caption {
  z-index: 2;
}
.flow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.flow-visual {
  position: sticky;
  top: 110px;
  height: 630px;
  background: url("../images/nanxiang-xiaolong.png") center/cover;
  border-radius: 4px;
  overflow: hidden;
}
.flow-visual:after {
  content: "NANXIANG";
  position: absolute;
  left: 26px;
  bottom: 20px;
  color: #fff;
  font: 500 3rem var(--serif);
}
.flow-steps {
  border-top: 1px solid var(--line);
}
.flow-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  min-height: 145px;
}
.flow-step b {
  color: var(--red);
  font-family: var(--serif);
}
.flow-step h3 {
  font: 500 1.8rem var(--serif);
  margin: 0 0 8px;
}
.memory-preview {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  gap: 70px;
}
.map-art {
  aspect-ratio: 1.25;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  background: radial-gradient(
    circle at 55% 42%,
    rgba(185, 231, 223, 0.2),
    transparent 42%
  );
}
.map-art:before,
.map-art:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  inset: 18% 10% 20% 20%;
  transform: rotate(18deg);
}
.map-art:after {
  inset: 32% 28%;
  background: radial-gradient(circle, #b9e7df 0 4px, transparent 5px);
  box-shadow:
    80px -70px 0 -1px #b9e7df,
    -100px 50px 0 -1px #b9e7df,
    120px 60px 0 -1px #b9e7df;
}
.seal-thumb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}
.page-hero {
  padding: 170px 0 80px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero p {
  font-size: 1.05rem;
  max-width: 680px;
  color: var(--muted);
}
.crumb {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.task-list {
  display: grid;
  gap: 16px;
}
.task {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 28px;
}
.task summary {
  list-style: none;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  cursor: pointer;
}
.task summary::-webkit-details-marker {
  display: none;
}
.task-index {
  font: italic 1rem var(--serif);
  color: var(--red);
}
.task h3 {
  margin: 0;
  font: 500 1.35rem var(--serif);
}
.task-content {
  padding: 0 0 30px 56px;
  max-width: 900px;
}
.guide-steps {
  padding-left: 18px;
  color: var(--muted);
}
.official {
  display: inline-flex;
  margin-top: 10px;
  color: var(--red);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.town-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.town-card {
  padding: 28px;
  min-height: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: 0.35s;
}
.town-card:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-4px);
}
.town-card h3 {
  font: 500 2rem var(--serif);
  margin: 12px 0;
}
.town-card p {
  font-size: 0.88rem;
  color: var(--muted);
}
.town-card:hover p {
  color: rgba(255, 255, 255, 0.72);
}
.town-card .district {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.town-card .go {
  margin-top: auto;
}
.story-chain {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
}
.story-nav {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 10px;
}
.story-nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.story-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.story-block h2 {
  font: 500 3rem var(--serif);
  margin: 0 0 20px;
}
.era-grid,
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.era,
.life {
  padding: 26px;
  background: var(--white);
}
.life-grid {
  grid-template-columns: repeat(4, 1fr);
}
.journey-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
}
.welcome {
  display: grid;
  grid-template-columns: 1fr 230px;
  align-items: center;
  background: linear-gradient(135deg, #eff8f3, #f8eee7);
  min-height: 360px;
  overflow: hidden;
}
.welcome img {
  width: 560px;
  max-width: none;
  margin-left: -165px;
}
.service-tip {
  padding: 14px 16px;
  background: #edf5f1;
  border-left: 3px solid var(--green);
}
.service-meta {
  color: var(--muted);
  font-size: 0.8rem;
}
.source-list {
  display: grid;
  gap: 12px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.source-list a,
.saved-list a {
  display: block;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}
canvas:not([hidden]) {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
}
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stamp {
  aspect-ratio: 1;
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  border-radius: 50%;
  filter: grayscale(1);
  opacity: 0.5;
  text-align: center;
  font-size: 0.75rem;
}
.stamp.lit {
  filter: none;
  opacity: 1;
  background: linear-gradient(135deg, #e6fbf5, #fff0e2);
  border-style: solid;
}
.quiz-options {
  display: grid;
  gap: 10px;
}
.quiz-options button {
  padding: 12px;
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}
.quiz-options button.correct {
  background: #dfeee7;
}
.game-area {
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--paper-2);
  margin: 16px 0;
}
.bun {
  width: 110px;
  height: 80px;
  border-radius: 55% 55% 45% 45%;
  background: #fff8e9;
  box-shadow: inset 0 -8px 18px #e5d6bc;
  position: relative;
}
.bun:before {
  content: "";
  position: absolute;
  top: -12px;
  left: 42px;
  width: 24px;
  height: 28px;
  border-radius: 50%;
  background: #f9edda;
}
.progress {
  height: 6px;
  background: var(--paper-2);
  margin: 14px 0;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  transition: 0.4s;
}
.story-cards {
  columns: 3 280px;
  column-gap: 18px;
}
.traveler-story {
  break-inside: avoid;
  margin: 0 0 18px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
}
.traveler-story blockquote {
  font: 500 1.5rem/1.3 var(--serif);
  margin: 14px 0;
}
.traveler-story small {
  color: var(--muted);
}
.guide-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.guide-map a {
  background: var(--white);
  padding: 22px;
  border: 1px solid var(--line);
}
.footer {
  background: #121917;
  color: #fff;
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h3 {
  font: 500 1.6rem var(--serif);
}
.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  margin: 8px 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  margin-top: 50px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 120px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 99px;
  transition: 0.4s;
}
.toast.show {
  transform: translate(-50%, 0);
}
@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    background: var(--paper);
    color: var(--ink);
    display: none;
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .nav > .lang {
    display: none;
  }
  .nav-links .mobile-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-content {
    width: calc(100% - 40px);
    padding-bottom: 60px;
  }
  .hero h1 {
    font-size: clamp(3.2rem, 13vw, 5rem);
  }
  .hero-copy {
    font-size: 0.92rem;
  }
  .route-line,
  .pearl {
    display: none;
  }
  .stage-grid,
  .activity-grid,
  .town-grid {
    grid-template-columns: 1fr;
  }
  .stage-card {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stage-card:before {
    opacity: 0.72;
  }
  .stage-card {
    color: #fff;
  }
  .section {
    padding: 78px 0;
  }
  .section-head {
    display: block;
  }
  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 430px 260px 260px;
  }
  .mosaic-item:first-child {
    grid-row: auto;
  }
  .flow,
  .memory-preview,
  .journey-grid,
  .story-chain {
    grid-template-columns: 1fr;
  }
  .flow-visual {
    position: relative;
    top: 0;
    height: 420px;
  }
  .story-nav {
    display: none;
  }
  .era-grid,
  .life-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .welcome {
    grid-template-columns: 1fr;
  }
  .welcome img {
    width: 500px;
    margin: -20px 0 -70px;
    justify-self: center;
  }
  .guide-map {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .shell,
  .nav {
    width: calc(100% - 30px);
  }
  .brand-en {
    display: none;
  }
  .hero-content {
    width: calc(100% - 30px);
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .actions {
    display: grid;
  }
  .btn {
    width: 100%;
  }
  .stage-card {
    padding: 28px;
  }
  .activity-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .activity-grid .card {
    scroll-snap-align: start;
  }
  .mosaic {
    grid-template-rows: 310px 190px 190px;
  }
  .era-grid,
  .life-grid,
  .stamp-grid,
  .guide-map {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding-top: 130px;
  }
  .section-head h2,
  .page-hero h1 {
    font-size: 2.8rem;
  }
  .task {
    padding: 0 18px;
  }
  .task-content {
    padding-left: 0;
  }
  .task summary {
    grid-template-columns: 34px 1fr auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide {
    transform: none !important;
  }
}

/* Homepage v2: editorial Shanghai journey */
body[data-page="home"] .header {
  color: var(--ink);
  background: rgba(244, 240, 232, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 32, 30, 0.08);
}
body[data-page="home"] .header:not(.inner):not(.scrolled):before {
  display: none;
}
.editorial-hero {
  --hero-scroll: 0;
  min-height: 100svh;
  color: var(--ink);
  align-items: center;
  background: var(--paper);
}
.editorial-hero .hero-slide {
  left: 38%;
  opacity: 1;
  background-position: 54% center;
  transform: scale(calc(1 + var(--hero-scroll) * 0.035));
  transition: none;
}
.editorial-hero:after {
  background: linear-gradient(
      90deg,
      var(--paper) 0%,
      var(--paper) 34%,
      rgba(244, 240, 232, 0.91) 42%,
      rgba(244, 240, 232, 0.08) 67%
    ),
    linear-gradient(0deg, rgba(10, 17, 15, 0.18), transparent 42%);
}
.editorial-hero .hero-content {
  transform: translateY(calc(var(--hero-scroll) * -38px));
  opacity: calc(1 - var(--hero-scroll) * 0.72);
  padding: 148px 0 70px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}
.vermillion-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.7s var(--ease);
}
.reveal.in .vermillion-line,
.editorial-hero .vermillion-line,
.journey-result.lit .vermillion-line {
  transform: scaleX(1);
}
.editorial-hero h1 {
  max-width: 720px;
  font-size: clamp(4.2rem, 6.7vw, 7rem);
  color: var(--ink);
}
.editorial-hero h1 span {
  color: var(--ink);
}
.editorial-hero .hero-copy {
  max-width: 560px;
  color: var(--muted);
}
.editorial-hero .btn-light {
  background: rgba(244, 240, 232, 0.7);
  color: var(--ink);
  border-color: var(--ink);
}
.vertical-note {
  position: absolute;
  z-index: 3;
  top: 125px;
  right: 2.8vw;
  writing-mode: vertical-rl;
  padding: 28px 12px;
  background: rgba(244, 240, 232, 0.92);
  border-block: 1px solid var(--red);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.18em;
}
.hero-progress {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(244, 240, 232, 0.36);
}
.hero-progress i {
  display: block;
  width: calc(var(--hero-scroll) * 100%);
  height: 100%;
  background: var(--red);
}
.editorial-hero .scroll-cue {
  color: white;
  text-shadow: 0 1px 10px rgba(20, 27, 25, 0.72);
}
.journey-directory,
.editorial-experiences,
.story-intro {
  padding: 130px 0;
}
.chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 90px;
  align-items: end;
  margin-bottom: 70px;
}
.chapter-head .vermillion-line {
  margin-bottom: 20px;
}
.chapter-head h2 {
  margin: 10px 0 0;
  max-width: 820px;
  font: 500 clamp(3.4rem, 5.5vw, 5.9rem) / 0.96 var(--serif);
  letter-spacing: -0.045em;
}
.chapter-head > p {
  max-width: 460px;
  color: var(--muted);
  margin: 0 0 5px;
}
.journey-directory {
  background: var(--white);
}
.journey-chapters {
  display: flex;
  border-block: 1px solid var(--line);
}
.journey-chapter {
  min-height: 440px;
  flex: 1 1 27%;
  position: relative;
  overflow: hidden;
  padding: 35px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  transition:
    flex 0.55s var(--ease),
    color 0.4s var(--ease);
}
.journey-chapter:last-child {
  border-right: 0;
}
.journey-chapter:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--paper) 0%,
      rgba(244, 240, 232, 0.94) 44%,
      rgba(19, 31, 27, 0.12) 100%
    ),
    var(--chapter-image) center/cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.5s var(--ease),
    transform 0.8s var(--ease);
}
.journey-chapter.active {
  flex-basis: 46%;
}
.journey-chapter.active:before {
  opacity: 1;
  transform: none;
}
.journey-chapter > * {
  position: relative;
  z-index: 1;
}
.chapter-number {
  display: block;
  font: italic 1rem var(--serif);
  color: var(--red);
  letter-spacing: 0.08em;
}
.chapter-copy {
  width: min(100%, 350px);
  margin-top: 120px;
}
.chapter-copy h3 {
  margin: 0 0 18px;
  font: 500 clamp(2rem, 3vw, 3.1rem) / 1 var(--serif);
}
.chapter-copy p {
  color: var(--muted);
}
.chapter-copy ul {
  margin: 22px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  list-style: none;
  opacity: 0;
  transform: translateY(18px);
  transition: 0.45s var(--ease);
}
.journey-chapter.active .chapter-copy ul {
  opacity: 1;
  transform: none;
}
.chapter-copy li {
  padding: 3px 0;
  font-size: 0.88rem;
}
.chapter-copy a,
.chapter-head > a,
.text-link {
  color: var(--red);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
}
.editorial-experiences {
  background: var(--paper);
}
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 8px;
}
.editorial-tile {
  position: relative;
  overflow: hidden;
  color: white;
  min-height: 0;
}
.editorial-tile.tile-1 {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}
.editorial-tile.tile-2 {
  grid-column: 5 / span 4;
  grid-row: 1 / span 2;
}
.editorial-tile.tile-3 {
  grid-column: 9 / span 4;
}
.editorial-tile.tile-4 {
  grid-column: 9 / span 2;
}
.editorial-tile.tile-5 {
  grid-column: 11 / span 2;
}
.editorial-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s var(--ease),
    filter 0.45s var(--ease);
}
.editorial-grid:hover .editorial-tile:not(:hover) img {
  filter: brightness(0.78) saturate(0.82);
}
.editorial-tile:hover img,
.editorial-tile:focus-visible img {
  transform: scale(1.035);
}
.tile-shade {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(7, 13, 11, 0.82));
}
.tile-meta {
  position: absolute;
  z-index: 2;
  inset: auto 24px 23px;
  transform: translateY(30px);
  transition: transform 0.42s var(--ease);
}
.editorial-tile:hover .tile-meta,
.editorial-tile:focus-visible .tile-meta {
  transform: none;
}
.tile-meta:before {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-bottom: 14px;
  background: var(--red);
  transition: width 0.5s var(--ease);
}
.editorial-tile:hover .tile-meta:before,
.editorial-tile:focus-visible .tile-meta:before {
  width: 48px;
}
.tile-meta span,
.tile-meta small {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tile-meta h3 {
  margin: 5px 0 8px;
  font: 500 1.75rem/1.05 var(--serif);
}
.tile-meta small {
  display: block;
  opacity: 0;
  transition: opacity 0.35s;
}
.editorial-tile:hover .tile-meta small,
.editorial-tile:focus-visible .tile-meta small {
  opacity: 0.76;
}
.story-intro {
  padding-bottom: 80px;
  background: var(--white);
}
.story-intro .chapter-head {
  margin-bottom: 0;
}
.scroll-story {
  position: relative;
  height: 500vh;
  background: var(--paper);
}
.story-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: min(680px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(390px, 0.82fr);
  overflow: hidden;
}
.story-visuals,
.story-panel {
  position: relative;
  min-width: 0;
}
.story-visual {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
  transition:
    opacity 0.7s var(--ease),
    transform 1s var(--ease);
}
.story-visual.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.3s var(--ease),
    transform 0.5s var(--ease);
}
.story-visual img.switching {
  opacity: 0.28;
  transform: scale(1.015);
}
.ink-fade {
  position: absolute;
  inset: 0 0 0 72%;
  background: linear-gradient(90deg, transparent, var(--paper));
}
.story-panel {
  background: var(--paper);
  padding: 105px 70px 75px 38px;
  display: flex;
  flex-direction: column;
}
.story-panel:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(168, 63, 53, 0.45);
}
.story-wordmark {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.story-wordmark span {
  font: 500 clamp(2.1rem, 3.4vw, 4.2rem) / 1 var(--serif);
  letter-spacing: 0.04em;
}
.story-wordmark small {
  max-width: 160px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}
.story-copy {
  position: relative;
  flex: 1;
  min-height: 350px;
}
.story-copy-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(26px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.65s var(--ease);
}
.story-copy-item.active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.story-copy-item h3 {
  margin: 14px 0 20px;
  font: 500 clamp(2.1rem, 3.5vw, 4.4rem) / 0.98 var(--serif);
  letter-spacing: -0.035em;
}
.story-copy-item p {
  max-width: 480px;
  color: var(--muted);
}
.story-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.story-rail button {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--muted);
}
.story-rail i {
  display: block;
  height: 2px;
  background: var(--line);
  margin-bottom: 10px;
}
.story-rail span {
  display: none;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}
.story-rail button.active {
  color: var(--red);
}
.story-rail button.active i {
  background: var(--red);
}
.story-rail button.active span {
  display: block;
}
.story-triggers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.story-triggers > div {
  height: 100vh;
}
.route-map {
  position: absolute;
  right: 4%;
  bottom: 9%;
  width: 230px;
  height: 240px;
  border: 1px solid rgba(244, 240, 232, 0.55);
  background: rgba(24, 32, 30, 0.62);
  backdrop-filter: blur(10px);
}
.route-segment {
  position: absolute;
  display: block;
  height: 2px;
  background: var(--paper);
  transform-origin: left;
  clip-path: inset(0 100% 0 0);
}
.route-live .route-segment {
  animation: routeDraw 1.2s var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  .route-segment {
    clip-path: inset(0) !important;
  }
}
.route-segment.one {
  left: 42px;
  bottom: 53px;
  width: 115px;
  transform: rotate(-55deg);
}
.route-segment.two {
  left: 105px;
  bottom: 146px;
  width: 88px;
  transform: rotate(-23deg);
  animation-delay: 0.5s;
}
.route-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
}
.route-dot.start {
  left: 35px;
  bottom: 45px;
}
.route-dot.town {
  right: 28px;
  top: 52px;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(168, 63, 53, 0.22);
}
.route-map span {
  position: absolute;
  right: 18px;
  top: 22px;
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.life-switch {
  position: absolute;
  left: 42px;
  bottom: 42px;
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(244, 240, 232, 0.9);
}
.life-switch button {
  min-width: 52px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  transition: 0.25s;
}
.life-switch button.active {
  background: var(--red);
  color: white;
}
.seal-action {
  display: flex;
  align-items: center;
  gap: 22px;
  width: fit-content;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--red);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  font-weight: 700;
}
.seal-action b,
.map-seal {
  display: grid;
  place-items: center;
  width: 62px;
  aspect-ratio: 1;
  border: 3px double var(--red);
  color: var(--red);
  font: 700 0.92rem var(--serif);
  transform: rotate(-4deg);
}
.seal-action:not(.earned):hover b {
  transform: rotate(0) scale(1.05);
}
.seal-action.earned b {
  animation: sealPress 0.55s var(--ease) both;
}
.seal-action:disabled {
  cursor: default;
}
.journey-result {
  padding: 150px 0;
  background: var(--green);
  color: white;
}
.journey-result-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 100px;
  align-items: center;
}
.journey-result h2 {
  margin: 18px 0 24px;
  font: 500 clamp(3.4rem, 6vw, 6.6rem) / 0.92 var(--serif);
  letter-spacing: -0.05em;
}
.journey-result p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.7);
}
.journey-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 30px 0;
}
.journey-stat strong {
  font: 500 4rem var(--serif);
  color: var(--pearl);
}
.journey-stat span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}
.journey-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.2);
  background: radial-gradient(
      circle at 68% 30%,
      rgba(185, 231, 223, 0.11),
      transparent 28%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent);
}
.waterway {
  position: absolute;
  width: 80%;
  height: 90px;
  border: 18px solid rgba(185, 231, 223, 0.23);
  border-inline-color: transparent;
  border-radius: 50%;
}
.waterway.one {
  left: 8%;
  top: 31%;
  transform: rotate(-12deg);
}
.waterway.two {
  left: 3%;
  top: 55%;
  transform: rotate(15deg);
}
.town-point {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.035);
}
.town-point.lit {
  background: var(--red);
  box-shadow: 0 0 0 10px rgba(185, 231, 223, 0.23);
  animation: pointPulse 1.1s var(--ease) both;
}
.point-1 {
  left: 32%;
  top: 25%;
}
.point-2 {
  left: 53%;
  top: 18%;
}
.point-3 {
  left: 67%;
  top: 34%;
}
.point-4 {
  left: 76%;
  top: 57%;
}
.point-5 {
  left: 58%;
  top: 70%;
}
.point-6 {
  left: 42%;
  top: 60%;
}
.point-7 {
  left: 24%;
  top: 72%;
}
.point-8 {
  left: 17%;
  top: 46%;
}
.point-9 {
  left: 84%;
  top: 28%;
}
.point-10 {
  left: 88%;
  top: 73%;
}
.point-11 {
  left: 46%;
  top: 40%;
}
.map-seal {
  position: absolute;
  left: calc(32% - 25px);
  top: calc(25% + 22px);
  opacity: 0;
  transform: translateY(-40px) rotate(-8deg) scale(1.45);
  background: rgba(41, 77, 67, 0.8);
}
.map-seal.show {
  opacity: 1;
  transform: translateY(0) rotate(-4deg) scale(1);
  transition: 0.75s var(--ease);
}
@keyframes routeDraw {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes sealPress {
  0% {
    transform: translateY(-22px) rotate(-4deg) scale(1.18);
    opacity: 0;
  }
  65% {
    transform: translateY(3px) rotate(-4deg) scale(0.94);
    opacity: 1;
  }
  100% {
    transform: none rotate(-4deg);
    opacity: 1;
  }
}
@keyframes pointPulse {
  0% {
    transform: scale(0.4);
  }
  55% {
    transform: scale(1.7);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 1080px) {
  .editorial-hero .hero-slide {
    left: 31%;
  }
  .editorial-hero:after {
    background: linear-gradient(
      90deg,
      var(--paper) 0%,
      rgba(244, 240, 232, 0.92) 38%,
      rgba(18, 24, 22, 0.18) 80%
    );
  }
  .journey-chapter {
    padding: 25px;
  }
  .chapter-copy {
    margin-top: 85px;
  }
  .story-sticky {
    grid-template-columns: 1.25fr 0.9fr;
  }
  .story-panel {
    padding: 95px 38px 55px 24px;
  }
}

@media (max-width: 900px) {
  .editorial-hero {
    color: white;
    align-items: flex-end;
  }
  .editorial-hero .hero-slide {
    left: 0;
  }
  .editorial-hero:after {
    background: linear-gradient(
      0deg,
      rgba(7, 12, 10, 0.78),
      rgba(7, 12, 10, 0.1) 76%
    );
  }
  .editorial-hero h1,
  .editorial-hero h1 span {
    color: white;
  }
  .editorial-hero .hero-copy {
    color: rgba(255, 255, 255, 0.82);
  }
  .vertical-note {
    display: none;
  }
  .editorial-hero .scroll-cue {
    color: white;
  }
  .chapter-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 42px;
  }
  .journey-chapters {
    display: grid;
  }
  .journey-chapter,
  .journey-chapter.active {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .journey-chapter:before {
    opacity: 0.42;
  }
  .journey-chapter.active:before {
    opacity: 0.42;
  }
  .chapter-copy {
    width: 75%;
    margin-top: 50px;
  }
  .chapter-copy ul {
    opacity: 1;
    transform: none;
  }
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 360px 280px 280px;
  }
  .editorial-tile.tile-1,
  .editorial-tile.tile-2,
  .editorial-tile.tile-3,
  .editorial-tile.tile-4,
  .editorial-tile.tile-5 {
    grid-column: auto;
    grid-row: auto;
  }
  .editorial-tile.tile-1 {
    grid-column: 1 / span 2;
  }
  .tile-meta,
  .editorial-tile:hover .tile-meta {
    transform: none;
  }
  .tile-meta small {
    opacity: 0.76;
  }
  .scroll-story {
    height: auto;
  }
  .story-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    display: block;
    overflow: visible;
  }
  .story-visuals {
    height: 62svh;
    min-height: 480px;
  }
  .story-panel {
    padding: 60px 24px;
  }
  .story-panel:before {
    display: none;
  }
  .story-copy {
    min-height: 0;
  }
  .story-copy-item {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 54px 0;
    border-bottom: 1px solid var(--line);
  }
  .story-copy-item:last-child {
    border-bottom: 0;
  }
  .story-copy-item .story-visual.mobile-inline {
    position: relative;
    inset: auto;
    height: min(58svh, 520px);
    margin: 26px 0 8px;
    opacity: 1;
    transform: none;
  }
  .story-rail,
  .story-triggers {
    display: none;
  }
  .journey-result-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (min-width: 901px) and (max-height: 650px) {
  .story-panel {
    padding: 72px 48px 30px 30px;
  }
  .story-copy {
    min-height: 260px;
  }
  .story-copy-item h3 {
    margin: 10px 0 14px;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
  }
  .story-rail {
    padding-top: 10px;
  }
}

@media (max-width: 560px) {
  .editorial-hero .hero-content {
    transform: none;
  }
  .editorial-hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.5rem);
  }
  .journey-directory,
  .editorial-experiences,
  .story-intro {
    padding: 88px 0;
  }
  .chapter-head h2 {
    font-size: 3rem;
  }
  .journey-chapter {
    padding: 24px 20px;
  }
  .chapter-copy {
    width: 100%;
  }
  .editorial-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: none;
    grid-template-rows: 510px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
  }
  .editorial-tile,
  .editorial-tile.tile-1 {
    grid-column: auto;
    grid-row: 1;
    scroll-snap-align: start;
  }
  .story-visuals {
    height: 58svh;
    min-height: 420px;
  }
  .story-wordmark {
    display: block;
  }
  .story-wordmark small {
    display: block;
    margin-top: 10px;
  }
  .story-copy-item h3 {
    font-size: 2.7rem;
  }
  .route-map {
    width: 180px;
    height: 190px;
  }
  .life-switch {
    left: 16px;
    right: 16px;
    bottom: 16px;
    justify-content: space-between;
  }
  .life-switch button {
    min-width: 0;
    flex: 1;
  }
  .journey-result {
    padding: 100px 0;
  }
  .journey-map {
    min-height: 360px;
  }
}

/* Shared article layout for imported HTML, Markdown, shops and mobile readers. */
.yc-article-body { font-size: 1.05rem; line-height: 1.9; overflow-wrap: anywhere; min-width: 0; }
.yc-article-body h1,.yc-article-body h2,.yc-article-body h3 { line-height: 1.35; margin: 2em 0 1em; scroll-margin-top: 100px; }
.yc-article-body img { display: block; max-width: 100%; height: auto; margin: 1.5em auto; border-radius: 8px; }
.yc-article-body figure { margin: 1.5em 0; }
.yc-article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.yc-article-body td,.yc-article-body th { border: 1px solid #cfc8bc; padding: .6em 1em; }
.yc-article-body pre { overflow-x: auto; padding: 1em; background: #eae5dc; border-radius: 8px; }
.yc-article-body blockquote { margin: 1em 0; padding: .5em 1em; border-left: 3px solid #537565; }
.yc-article-actions { margin-top: 2em; display: flex; gap: 1em; align-items: center; flex-wrap: wrap; }
.yc-shop-service { border-top: 1px solid #cfc8bc; margin-top: 1.5em; padding-top: 1em; }
.yc-live-picks { padding: 2rem; display: grid; gap: 1rem; align-content: center; }
.yc-live-picks button { text-align: left; padding: 1rem; background: transparent; border: 1px solid #cfc8bc; border-radius: 8px; color: inherit; cursor: pointer; }
.yc-live-picks button.active { background: #e0e9df; }
.yc-live-picks small { display: block; margin-top: .5em; }
.yc-empty { text-align: center; padding: 3rem 1rem; }
.yc-activity-controls { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.yc-activity-controls label { display: grid; gap: .4rem; flex: 1; min-width: 160px; }
.yc-activity-controls input,.yc-activity-controls select { padding: .7rem; border: 1px solid #cfc8bc; border-radius: 6px; background: transparent; color: inherit; width: 100%; }
@media(max-width: 760px) { .story-chain { grid-template-columns: minmax(0,1fr); } .story-nav { position: static; max-height: 200px; overflow: auto; } .yc-article-body { font-size: 1rem; } .yc-live-picks { padding: 1rem; } }
[hidden] { display: none !important; }

@media(max-width: 1050px) { #articleToc { display: flex; position: static; flex-direction: column; max-height: 220px; overflow-y: auto; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; } }
.yc-live-picks button.active { color: #18201e; }
