/* Shanghai Scout — shared editorial language, river edition / 01.
   Layout mechanics live in styles.css; this layer owns visual primitives. */
:root {
  --ink: #282923;
  --muted: #65665d;
  --line: #c9c9be;
  --line-dark: #aaa99e;
  --paper: #f8f6f0;
  --panel: #f8f6f0;
  --soft: #eeeee5;
  --accent: #376d62;
  --accent-dark: #28564e;
  --sun: #b18a44;
  --shadow: none;
  --display: "Baskerville", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --reading: Georgia, "Times New Roman", serif;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--ui);
}
body { font-size: 16px; overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; overflow-wrap: normal; }
h1 { font-size: clamp(3rem, 5.8vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
h3 { font-size: 1.75rem; }
button, input, select { font: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[id] { scroll-margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow { color: var(--ink); font: 500 .66rem/1.5 var(--ui); letter-spacing: .18em; }
.site-header { position: relative; min-height: 96px; padding: 0; margin: 0 auto; width: min(90%, 1320px); background: transparent; backdrop-filter: none; border-bottom: 1px solid var(--line-dark); gap: 2rem; }
.brand { gap: 0; }
.brand strong { font: 400 clamp(1.85rem, 3vw, 2.7rem)/1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.brand small, .brand-mark { display: none; }
.nav { gap: 1.8rem; font-size: .82rem; }
.nav a { padding: .4rem 0; }
.nav a:hover, .footer-nav a:hover { text-decoration: underline; text-underline-offset: .4em; }
.button { border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); box-shadow: none; font-size: .8rem; font-weight: 500; padding: .75rem 1.25rem; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.text-link, .editorial-link { display: inline-block; font-weight: 500; color: var(--ink); font-size: .88rem; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: .15rem; }
.editorial-link span { color: var(--accent); margin-left: .4rem; }
.section, .listing, .article-shell, .local-shops-shell { max-width: 1320px; width: 90%; padding: 4.5rem 0; }
.section-heading { max-width: 810px; margin-bottom: 2.5rem; }
.section-heading h2 { margin: .6rem 0 1rem; }
.section-heading > p:not(.eyebrow) { max-width: 620px; }
.guide-card, .guide-row, .flagship-card, .tool-card, .local-shop-card, .answer-grid article,
.arrival-card, .hero-route, .article-note, .cta-panel, .local-life-note, .experience-selector,
.museum-map-section { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.guide-card:hover, .guide-row:hover, .flagship-card:hover { transform: none; box-shadow: none; border-color: var(--accent); }
.guide-card:hover h3, .guide-row:hover h3, .flagship-card:hover h3 { color: var(--accent-dark); }
.guide-card, .local-shop-card, .tool-card, .answer-grid article { padding: 1.5rem 0; }
.guide-grid, .local-shop-grid, .tool-grid, .answer-grid { gap: 2.5rem; }
.guide-card span, .guide-row span, .flagship-label, .flagship-number, .shop-card-top { color: var(--muted); font-size: .67rem; font-weight: 500; letter-spacing: .14em; }
.guide-row { padding: 1.6rem 0; grid-template-columns: 110px minmax(0, 1fr); }
.guide-row h3 { margin: 0; }
.guide-row p { margin-bottom: 0; font-size: .94rem; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; }
.flagship-grid { gap: 0 3.5rem; }
.flagship-card { padding: 2rem 0; min-height: 300px; }
.flagship-card::after { content: none; }
.flagship-number { font: italic 1.5rem/1 var(--display); margin-bottom: 1.3rem; }
.flagship-card h3 { font-size: clamp(1.8rem, 2.8vw, 2.8rem); margin-top: .75rem; max-width: 470px; }
.flagship-card > strong { font-size: .8rem; font-weight: 500; padding-top: 1rem; }
.answer-grid h3 { font-size: 1.65rem; }
.answer-grid p { font-size: .93rem; }
.home-hero { width: min(90%, 1320px); margin: auto; padding: 5rem 0 4rem; min-height: 0; grid-template-columns: 1.05fr .95fr; gap: 4rem; }
.home-hero h1 { font-size: clamp(3rem, 5.3vw, 5.2rem); max-width: 680px; }
.home-hero h1 em { font-weight: 400; }
.hero-copy p:not(.eyebrow) { font-size: 1rem; max-width: 510px; }
.hero-copy .creator-note { margin-top: 2rem; font-size: .74rem !important; }
.hero-actions { gap: 1.2rem; }
.home-frontispiece { margin: 0; }
.home-frontispiece > a { display: block; }
.home-frontispiece img { width: 100%; height: 290px; object-fit: contain; }
.home-frontispiece figcaption { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: .75rem 0; font-size: .7rem; color: var(--muted); }
.hero-route { padding: 1.5rem 0 0; margin-top: .75rem; }
.hero-route > a { min-height: 45px; grid-template-columns: 26px 70px 1fr; padding: .4rem 0; }
.hero-route > a span, .hero-route > a strong { font-size: .75rem; font-weight: 500; }
.hero-route > a small { font-size: .75rem; }
.home-river-feature { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 3rem; border-bottom: 1px solid var(--line); }
.home-river-feature h2 { font-size: clamp(2.5rem, 4vw, 4rem); margin: .6rem 0 1rem; }
.home-river-art { display: flex; align-items: center; gap: 0; text-decoration: none; }
.home-river-art img { width: 36%; height: auto; }
.home-river-art img + img { margin-left: -4%; }
.home-river-art img:nth-child(2) { transform: translateY(-20px); }
.travel-paths { border-top: 1px solid var(--line); }
.travel-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.travel-path-card { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.travel-path-card h3 { font-size: 2rem; margin: .6rem 0 1rem; }
.travel-path-card > p:not(.eyebrow) { font-size: .95rem; line-height: 1.7; color: var(--muted); }
.travel-path-links { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.travel-path-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; text-underline-offset: .3em; }
@media (max-width: 900px) {
  .travel-path-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.listing.narrow { max-width: 800px; }
.listing > h1, .article-hero h1 { max-width: 1040px; font-size: clamp(2.75rem, 5vw, 4.7rem); }
.listing > .dek, .article-hero .dek { font-family: var(--reading); font-size: 1.22rem; line-height: 1.6; max-width: 790px; }
.article-hero { max-width: none; border-bottom: 1px solid var(--line); padding-bottom: 2.5rem; margin-bottom: 3rem; }
.article-grid { grid-template-columns: minmax(160px, .25fr) minmax(0, 760px); gap: 4rem; }
.article-note { padding: 1.1rem 0; font-size: .8rem; top: 2rem; }
.byline, .breadcrumbs { font-size: .72rem; }
.byline a, .creator-note a { font-weight: 500; }
.prose { font-family: var(--reading); font-size: 1.12rem; line-height: 1.85; }
.prose h2 { font-size: 2.2rem; }
.prose h3 { font-size: 1.65rem; }
.prose strong { font-weight: 600; }
.prose table { font-family: var(--ui); font-size: .85rem; line-height: 1.6; border: 0; background: transparent; }
.prose th { font-weight: 600; background: var(--soft); }
.prose blockquote { border-left: 1px solid var(--accent); padding-left: 1.4rem; font-style: italic; }
.cta-panel { padding: 1.5rem 0; border-bottom: 1px solid var(--line); font-family: var(--ui); }
.cta-panel h2 { font-size: 2rem; }
.cta-panel p { font-size: .9rem; }
.local-shops-hero h1 { font-size: clamp(2.75rem, 5vw, 4.7rem); }
.local-life-note { border-top: 0; border-left: 1px solid var(--line); font-size: .85rem; }
.shop-filter, .cluster-nav a { border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; padding: .55rem .2rem; margin-right: 1rem; font-size: .8rem; font-weight: 500; }
.shop-filter:hover, .shop-filter.is-active, .cluster-nav a:hover { background: transparent; color: var(--accent-dark); border-bottom-color: var(--accent); }
.local-shop-card h2 { font-size: 1.8rem; }
.shop-chinese { font-weight: 400 !important; font-size: .86rem; }
.shop-card-top { font-size: .65rem; }
.tool-card { gap: 1.5rem; }
.tool-form { gap: 1rem; font-size: .94rem; }
.tool-form select, .experience-filter-form select { border-radius: 0; background: transparent; font-weight: 400; }
.tool-result, .tool-result-actions button, .museum-map, .museum-map-card, .museum-map-list li { border-radius: 0; box-shadow: none; }
.tool-result { padding: 1.2rem; border-width: 0 0 0 2px; }
.tool-result-actions button { font-weight: 500; font-size: .8rem; }
.experience-selector { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.experience-card h2 { font-size: 1.8rem; }
.museum-map-section { padding: 2rem 0; }
.museum-pin { box-shadow: none; }
.site-footer { width: min(90%, 1320px); margin: auto; padding: 2rem 0 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; font-size: .73rem; border-color: var(--line-dark); }
.site-footer p { max-width: 630px; margin: 0; }
.site-footer p strong { display: block; color: var(--ink); font: 400 1.65rem/1.4 var(--display); margin-bottom: .5rem; }
.footer-nav { margin: .5rem 0 0; max-width: 290px; align-content: start; gap: .8rem 1.3rem; }
.footer-nav a { font-size: .72rem; font-weight: 500; }

/* River atlas: a single responsive illustration, never a scrolling map. */
.river-edition { width: min(92%, 1320px); margin: auto; }
.edition-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 7%; align-items: center; padding: 2.5rem 0 .5rem; }
.edition-intro h1 { font-size: clamp(3.5rem, 6.5vw, 6.6rem); line-height: .97; letter-spacing: -.05em; }
.edition-intro h1 em { font-weight: 400; }
.edition-intro .eyebrow { margin-bottom: 1.3rem; }
.edition-deck { border-left: 1px solid var(--line); padding-left: 3rem; }
.edition-deck > p { font: 400 clamp(1.2rem, 2vw, 1.9rem)/1.24 var(--display); margin: 0 0 2.5rem; }
.edition-deck > span { font-size: .7rem; }
.edition-deck i { margin: 0 .8rem; font-style: normal; }
.river-atlas { margin-top: .5rem; }
.atlas-overview { width: 100%; user-select: none; -webkit-user-select: none; }
.atlas-canvas { position: relative; width: 100%; aspect-ratio: 1300 / 500; container-type: inline-size; isolation: isolate; }
.atlas-forest { position: absolute; left: var(--forest-left); top: var(--forest-y); width: var(--forest-width); height: auto; pointer-events: none; z-index: 0; }
.atlas-greenway-link { position: absolute; left: 0; top: calc(var(--forest-y) + var(--forest-height) + .25rem); z-index: 3; font: italic clamp(.65rem, 1.15cqw, .95rem)/1.2 var(--display); text-decoration: none; color: var(--accent-dark); }
.atlas-greenway-link:hover { text-decoration: underline; }
.atlas-water { position: absolute; width: 100%; height: 100%; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.atlas-water path { fill: none; stroke: #b6d0c5; stroke-width: 34; stroke-linejoin: round; stroke-linecap: round; }
.atlas-water .atlas-green-bank { stroke: #e6eadd; stroke-width: 54; opacity: .55; }
.atlas-water .atlas-water-edge { stroke: #f4f4e9; stroke-width: 43; }
.atlas-water .atlas-water-thread { display: none; }
.atlas-grove { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: auto; transform: translate(-50%, -100%) scaleX(var(--flip)); pointer-events: none; }
.atlas-grove--back { z-index: 2; }
.atlas-grove--front { z-index: 2; }
.atlas-overview { overflow: clip; }
.atlas-north { position: absolute; right: 1rem; top: 0; text-align: center; font-size: .65rem; line-height: 1.1; color: var(--accent-dark); }
.atlas-landmark { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -100%); width: var(--size); padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; z-index: 3; }
.atlas-landmark[data-bank="south"] { transform: translate(-50%, 0); }
.atlas-landmark[data-bank="bridge"] { transform: translate(-50%, -55%); }
.atlas-landmark img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; pointer-events: none; transition: transform .25s ease; transform-origin: bottom center; }
.atlas-landmark > span { position: absolute; top: 100%; left: 0; width: 100%; display: block; padding-top: .2em; font: 400 clamp(.6rem, 1.06cqw, .875rem)/1.15 var(--display); }
.atlas-landmark[data-bank="north"] > span { top: auto; bottom: 100%; padding: 0 0 .2em; }
.atlas-landmark[data-stop="linkong"] > span { left: 50%; width: max-content; transform: translateX(-50%); padding: .15em .35em; background: var(--paper); }
.atlas-landmark b { font-weight: 600; margin-right: .2em; font-variant-numeric: tabular-nums; }
.atlas-landmark:hover img { transform: scale(1.1); }
.atlas-landmark.is-active img { transform: scale(1.12); }
.atlas-landmark.is-active { z-index: 4; }
.atlas-landmark.is-active span { color: var(--accent-dark); }
.atlas-selection { min-height: 215px; display: grid; place-items: center; }
.atlas-detail { display: grid; grid-template-columns: 270px 1fr; align-items: center; gap: 2rem; width: min(100%, 740px); padding: 0 0 1rem; }
.atlas-detail > img { width: 270px; height: 190px; object-fit: contain; }
.atlas-detail-copy { position: relative; padding: 1rem 2.5rem 1rem 0; }
.atlas-detail h2 { font-size: 2.5rem; margin: 0; }
.atlas-detail .eyebrow { margin-bottom: .6rem; }
.atlas-detail-copy > p:not(.eyebrow):not(.atlas-chinese):not(.atlas-detail-meta) { font: 400 1rem/1.55 var(--reading); margin: .8rem 0; }
.atlas-chinese { color: var(--muted); font: 400 .72rem/1.6 var(--ui); margin: .3rem 0; }
.atlas-detail-meta { color: var(--muted); font-size: .7rem; }
.atlas-close { position: absolute; top: .6rem; right: 0; width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.6rem; font-weight: 300; cursor: pointer; color: var(--muted); }
.atlas-empty { color: var(--muted); font: italic 1.25rem var(--display); }
.atlas-legend { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line-dark); padding-top: .8rem; font-size: .6rem; text-transform: uppercase; letter-spacing: .13em; }
.atlas-legend span:nth-child(2) { text-transform: none; letter-spacing: .03em; }
.atlas-caption { font-size: .62rem; color: var(--muted); margin: .65rem 0 1.7rem; text-align: right; }
.atlas-caption a { color: inherit; }
.river-stories { border-top: 1px solid var(--line); padding-top: 2.5rem; }
.editorial-section-heading { display: flex; align-items: center; gap: 2rem; margin-bottom: 2.5rem; }
.editorial-section-heading h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); margin: 0; }
.editorial-section-heading > p { border-left: 1px solid var(--line); padding-left: 2rem; font: 400 .95rem/1.6 var(--reading); }
.river-chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.river-chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: center; padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--line); min-width: 0; }
.river-chapter:nth-child(even) { border-left: 1px solid var(--line); padding-left: 2rem; }
.chapter-art { display: block; }
.chapter-art img { display: block; width: 100%; height: 225px; object-fit: contain; }
.river-chapter h3 { font-size: clamp(1.7rem, 2.5vw, 2.55rem); margin: .7rem 0; }
.river-chapter p:not(.eyebrow) { font: 400 .94rem/1.6 var(--reading); color: var(--muted); }
.river-chapter .editorial-link { font-size: .72rem; }
.river-practical { display: grid; grid-template-columns: .8fr repeat(3, 1fr); align-items: center; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.river-practical h2 { font-size: 1.6rem; margin: 0; }
.river-practical p { padding-left: 1.5rem; border-left: 1px solid var(--line); font-size: .73rem; }
.river-greenway { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 4rem; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.river-greenway > .eyebrow { grid-column: 1 / -1; }
.river-greenway h2 { font-size: 2rem; margin: .4rem 0; }
.river-greenway > p:last-child { font-size: .85rem; color: var(--muted); margin: .4rem 0; }
.atlas-directory { margin: 0 0 1.5rem; }
.atlas-directory-art { margin:0 0 1rem; max-width:300px; }
.atlas-directory-art img { display:block; width:100%; height:auto; }
.atlas-directory-art figcaption { margin-top:.5rem; font-size:.7rem; color:var(--muted); }
.atlas-directory > summary { display: flex; justify-content: space-between; padding: 1.25rem 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; border-bottom: 1px solid var(--line); list-style: none; }
.atlas-directory > summary::-webkit-details-marker { display: none; }
.atlas-directory[open] > summary > span:last-child { transform: rotate(45deg); }
.atlas-stop-article { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.atlas-stop-article header { display: flex; gap: 1.5rem; }
.stop-index { color: var(--sun); font: italic 1.7rem var(--display); }
.atlas-stop-article h3 { margin: 0; font-size: 2rem; }
.atlas-stop-article p { margin-top: 0; font-size: .9rem; }
.atlas-stop-article .eyebrow { font-size: .65rem; }
.atlas-status { color: #805328; border-top: 1px solid var(--line); padding-top: .8rem; }

@media (max-width: 1100px) {
  .home-hero { gap: 2rem; }
  .nav { gap: 1.1rem; }
  .article-grid { gap: 2rem; }
  .edition-deck { padding-left: 2rem; }
  .edition-deck > span { font-size: .64rem; }
  .edition-deck i { margin: 0 .3rem; }
  .river-chapter { gap: 1rem; }
  .river-chapter:nth-child(even) { padding-left: 1.5rem; }
  .chapter-art img { height: 180px; }
}
@media (max-width: 960px) {
  .home-hero { grid-template-columns: 1fr 1fr; }
  .home-hero h1 { font-size: 3.5rem; }
  .home-frontispiece img { height: 220px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-note { position: static; max-width: 700px; }
  .river-chapters { grid-template-columns: 1fr; }
  .river-chapter:nth-child(even) { padding-left: 0; border-left: 0; }
  .chapter-art img { height: 210px; }
  .river-chapter h3 { font-size: 2.5rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; }
  .footer-nav { max-width: none; }
}
@media (max-width: 680px) {
  .site-header { min-height: 100px; gap: .5rem; justify-content: center; padding: 1rem 0 .5rem; }
  .brand strong { font-size: 2rem; }
  .nav { gap: 1.3rem; font-size: .73rem; flex-wrap: wrap; }
  .nav a { min-height: 36px; }
  .section, .listing, .article-shell, .local-shops-shell { padding: 2.8rem 0; }
  .home-hero { padding: 2.8rem 0; grid-template-columns: 1fr; gap: 2.5rem; }
  .home-hero h1 { font-size: clamp(2.9rem, 11.5vw, 4.2rem); }
  .hero-copy p:not(.eyebrow) { font-size: .92rem; }
  .hero-actions { align-items: flex-start; gap: 1rem; }
  .hero-actions .button { width: auto; }
  .home-frontispiece img { height: 250px; }
  .hero-route { margin-top: .5rem; }
  .home-river-feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .flagship-grid, .support-grid { grid-template-columns: 1fr; }
  .flagship-card { min-height: 0; padding: 1.5rem 0; }
  .flagship-card h3 { font-size: 2rem; }
  .guide-row { grid-template-columns: 1fr; gap: .75rem; }
  .guide-grid, .local-shop-grid, .answer-grid { gap: .8rem; }
  .guide-card { min-height: 0; }
  .listing > h1, .article-hero h1, .local-shops-hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .listing > .dek, .article-hero .dek { font-size: 1.1rem; }
  .article-hero { margin-bottom: 2rem; }
  .prose { font-size: 1.05rem; line-height: 1.8; }
  .prose h2 { font-size: 1.9rem; }
  .section-heading h2 { font-size: 2.3rem; }
  .local-life-note { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .river-edition { width: 90%; }
  .suzhou-creek-page .site-header { min-height: 0; gap: .5rem; padding: .9rem 0 .4rem; }
  .suzhou-creek-page .nav { gap: 0 .8rem; }
  .edition-intro { grid-template-columns: 1fr; gap: .8rem; padding: 1.4rem 0 .25rem; }
  .edition-intro .eyebrow { margin: 0 0 .75rem; }
  .edition-intro h1 { font-size: clamp(1.375rem, 6.4vw, 2rem); line-height: 1.15; letter-spacing: -.035em; }
  .edition-intro h1 br { display: none; }
  .edition-deck { border-left: 0; padding-left: 0; }
  .edition-deck > p { font-size: 1rem; line-height: 1.4; max-width: 30rem; margin-bottom: .6rem; }
  .edition-deck > p br { display: none; }
  .edition-deck > span { font-size: .65rem; }
  .atlas-canvas { aspect-ratio: 2 / 1; margin-top: 1.5rem; }
  .atlas-greenway-link { top: calc(var(--forest-y) + var(--forest-height) + 2rem); }
  .atlas-landmark > span { min-height: 12px; font: 500 .6rem/1.2 var(--ui); }
  .atlas-landmark-name { display: none; }
  .atlas-landmark b { margin: 0; }
  .atlas-north { right: 0; font-size: .5rem; }
  .atlas-selection { min-height: 300px; padding: 1rem 0; }
  .atlas-detail { position: relative; grid-template-columns: minmax(0, 1fr); gap: .75rem; align-items: start; padding-bottom: .5rem; }
  .atlas-detail > img { width: min(68%, 220px); height: auto; aspect-ratio: 3 / 2; margin: 0; justify-self: center; }
  .atlas-detail-copy { position: static; width: min(100%, 440px); justify-self: center; padding: 0; }
  .atlas-detail h2 { font-size: clamp(1.125rem, 4.8vw, 1.375rem); line-height: 1.2; padding-right: 0; }
  .atlas-detail .eyebrow { font-size: .6rem; margin: 0 1.75rem .4rem 0; letter-spacing: .1em; }
  .atlas-detail .atlas-chinese { font-size: .6875rem; margin: .25rem 0; }
  .atlas-detail-copy > p:not(.eyebrow):not(.atlas-chinese):not(.atlas-detail-meta) { font-size: .875rem; line-height: 1.45; margin: .55rem 0; }
  .atlas-detail .atlas-detail-meta { font-size: .65rem; margin: .5rem 0; }
  .atlas-detail .editorial-link { font-size: .78rem; min-height: 36px; display: inline-flex; align-items: center; }
  .atlas-close { right: 0; top: 0; width: 44px; height: 44px; }
  .atlas-legend { font-size: .5rem; gap: .5rem; }
  .atlas-legend span:nth-child(2) { display: none; }
  .atlas-caption { font-size: .6rem; text-align: left; }
  .editorial-section-heading { display: block; margin-bottom: 1rem; }
  .editorial-section-heading h2 { font-size: 2.5rem; }
  .editorial-section-heading > p { border: 0; padding: 0; }
  .river-chapter { grid-template-columns: .85fr 1.15fr; gap: 1rem; padding: 1.5rem 0; }
  .river-chapter h3 { font-size: 1.9rem; }
  .river-chapter p:not(.eyebrow) { font-size: .9rem; }
  .chapter-art img { height: 175px; }
  .river-chapter .eyebrow { font-size: .55rem; letter-spacing: .12em; }
  .river-practical { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem 0; }
  .river-practical p { border: 0; padding: 0; margin: .2rem 0; }
  .river-greenway { grid-template-columns: 1fr; gap: .8rem; padding: 2rem 0; }
  .atlas-stop-article { grid-template-columns: 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}

/* Continuous panorama: the illustration stays intact beneath accessible controls. */
.atlas-panorama { position:relative; width:100%; isolation:isolate; margin:1.5rem 0 0; }
.atlas-panorama-image { display:block; width:100%; height:auto; mix-blend-mode:multiply; }
.atlas-hotspot { position:absolute; left:var(--x); top:var(--y); width:var(--w); height:var(--h); padding:0; border:0; border-radius:25%; background:transparent; cursor:pointer; touch-action:manipulation; }
.atlas-hotspot:hover, .atlas-hotspot:focus-visible { background:radial-gradient(ellipse,#f2d38e30,transparent 70%); }
.atlas-hotspot.is-active::after { content:""; position:absolute; bottom:0; left:calc(50% - 15px); width:30px; border-bottom:2px solid var(--accent); }
.atlas-hotspot-tip { position:absolute; bottom:100%; left:50%; transform:translateX(-50%); padding:5px 8px; background:var(--paper); font:12px/1.4 var(--ui); white-space:nowrap; opacity:0; pointer-events:none; }
.atlas-hotspot:hover .atlas-hotspot-tip, .atlas-hotspot:focus-visible .atlas-hotspot-tip { opacity:1; }
.atlas-hotspot:first-of-type .atlas-hotspot-tip { left:0; transform:none; }
.atlas-hotspot[data-stop="waibaidu"] .atlas-hotspot-tip { left:auto; right:0; transform:none; }
.atlas-picker { margin:.5rem 0 1rem; font: .78rem/1.6 var(--ui); }
.atlas-picker summary { cursor:pointer; padding:12px 0; min-height:44px; }
.atlas-picker > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 2rem; padding-bottom:1rem; }
.atlas-picker a { padding:12px 0; min-height:44px; border-bottom:1px solid var(--line); text-decoration:none; }
.atlas-picker a:hover, .atlas-picker a[aria-current="true"] { color:var(--accent-dark); text-decoration:underline; }
.creek-route-guide { border-top:1px solid var(--line); padding:2.5rem 0; }
.creek-route-guide h2 { max-width:800px; margin:.6rem 0 1rem; }
.creek-lead { font:1.08rem/1.8 var(--reading); max-width:820px; color:var(--muted); }
.creek-route-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2.5rem; margin-top:2rem; }
.creek-route-options article { border-top:1px solid var(--line); padding:1rem 0; }
.creek-route-options h3 { font-size:1.9rem; margin:.8rem 0; }
.creek-route-options p:not(.eyebrow) { font:.95rem/1.75 var(--reading); color:var(--muted); }
.creek-faq { border-top:1px solid var(--line); padding:2.5rem 0 1rem; }
.creek-faq h2 { margin:.6rem 0 1.5rem; }
.creek-faq details { padding:1rem 0; border-bottom:1px solid var(--line); }
.creek-faq summary { font:1.18rem/1.5 var(--display); cursor:pointer; }
.creek-faq details p { max-width:820px; font:1rem/1.8 var(--reading); color:var(--muted); }
.creek-related { padding:2rem 0; display:flex; flex-wrap:wrap; gap:1rem 2rem; }
.creek-related h2 { flex-basis:100%; font-size:2rem; margin:0 0 .5rem; }
.creek-related a { font-size:.85rem; text-underline-offset:.3em; }
@media(max-width:680px) {
  .atlas-panorama { margin-top: .75rem; }
  .atlas-hotspot-tip { display:none; }
  .atlas-picker > div { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1.25rem; }
  .creek-route-options { grid-template-columns:1fr; gap:.5rem; }
  .creek-route-guide h2 { font-size:2.3rem; }
  .atlas-selection { min-height:0; padding:.5rem 0 1rem; }
}
