:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #63706b;
  --paper: #f7f4ed;
  --paper-strong: #fffaf0;
  --line: rgba(23, 33, 31, 0.14);
  --forest: #24483f;
  --moss: #7c966f;
  --clay: #b76e4a;
  --sky: #5d8cab;
  --gold: #d7a94a;
  --shadow: 0 24px 70px rgba(31, 41, 37, 0.14);
}

.home-index > main,
.home-index > .site-header,
.home-index > .site-footer,
.home-index > .seed-fab { display: none; }
.detail-page { background: #f1f4f4; }
.detail-heading { max-width: 1280px; margin: 0 auto; padding: 40px 24px 24px; border-bottom: 1px solid #c9d4d2; }
.detail-heading nav { color: #63706b; font-size: 14px; margin-bottom: 22px; }
.detail-heading h1 { font-size: 48px; line-height: 1.15; margin-bottom: 24px; }
.detail-heading > a, .place-detail-link { color: #24483f; text-decoration: underline; text-underline-offset: 5px; }
.detail-page .section { margin: 0 auto; padding-top: 40px; }
.detail-page .place-detail-board { grid-template-columns: minmax(0, 1fr); }
.detail-page .poem-section { margin-top: 32px; }
.detail-page .top-nav [aria-current="page"] { color: #24483f; border-bottom: 2px solid currentColor; }
.page-status { padding: 32px 24px; }
a:focus-visible, button:focus-visible { outline: 2px solid #5d8cab; outline-offset: 5px; }
@media (max-width: 680px) {
  .detail-heading h1 { font-size: 36px; }
  .detail-page .site-header { position: relative; }
}

/* Reference-style index: fixed depth rail plus a scannable content board. */
.atlas-overview{min-height:100vh;background:#f1f4f4;color:#102b2b;padding:22px;display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:24px}.iceberg-rail{min-height:calc(100vh - 44px);position:sticky;top:22px;overflow:hidden;color:#eef7f4;background:#061922;border-radius:8px;display:flex;flex-direction:column;box-shadow:0 12px 30px #06212b22}.rail-topline{height:64px;padding:17px 20px;display:flex;justify-content:space-between;gap:18px;background:#f0f4f2;color:#102b2b}.rail-topline strong{font-size:14px}.rail-topline span{font-size:9px;line-height:1.35;color:#73827f}.rail-hero{height:310px;position:relative;overflow:hidden;background:#123e4c}.rail-hero img{width:100%;height:100%;object-fit:cover;filter:saturate(.7) brightness(.78)}.rail-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,#061922 100%)}.rail-copy{position:absolute;left:34px;bottom:32px;z-index:1;max-width:260px}.rail-copy .eyebrow{color:#9cc0bd}.rail-copy h1{font-size:23px;font-weight:400;line-height:1.2;margin:12px 0}.rail-copy p:last-child{font-size:11px;color:#a9c0bd}.rail-waterline{position:absolute;top:48%;left:0;right:0;border-top:1px solid #dcebe8aa;z-index:2}.rail-depths{padding:24px 30px 14px;display:grid;gap:7px;position:relative;flex:1;background:linear-gradient(180deg,#092c38,#061922)}.rail-depths:before{content:"";position:absolute;left:42px;top:25px;bottom:22px;border-left:1px dashed #799c9d66}.rail-depths a{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;align-items:center;min-height:42px;position:relative;z-index:1}.rail-depths a:before{content:"";width:11px;height:11px;border-radius:50%;border:1px solid #d7a94a;background:#092d38;position:absolute;left:6px;top:5px}.rail-depths span{font:10px monospace;color:#80a6a5}.rail-depths strong{font-size:13px;letter-spacing:.06em}.rail-depths small{grid-column:2;color:#82a29f;font-size:9px}.rail-depths a:hover strong{color:#e5bd60}.rail-unknown{padding:2px 30px 22px 78px;background:#061922}.rail-unknown span{display:block;font:10px monospace;color:#80a6a5}.rail-unknown strong{display:block;font-size:13px;margin-top:7px}.rail-unknown small{font-size:9px;color:#82a29f}.rail-footer{padding:15px 20px;background:#f0f4f2;color:#7a8885;font:8px monospace;letter-spacing:.08em}.overview-content{min-width:0;padding:4px 0 0}.overview-heading{display:flex;justify-content:space-between;align-items:end;padding:0 3px 18px;border-bottom:1px solid #c9d4d2}.overview-heading h2{font-size:23px;margin:7px 0 0;font-weight:600}.overview-date{font:10px monospace;color:#7e8d8b}.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.overview-card{min-height:245px;padding:20px;background:#fbfcfb;border:1px solid #d9e1df;border-radius:7px;box-shadow:0 7px 18px #193b3a0d;position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.overview-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px #193b3a1a}.card-number{position:absolute;left:0;top:0;width:29px;height:29px;background:#dfe7e5;display:grid;place-items:center;font:11px monospace}.card-heading{display:flex;justify-content:space-between;margin:3px 0 28px 36px;font:10px monospace;letter-spacing:.06em;color:#647775}.card-heading b{font-size:15px;color:#536d6c}.overview-card h3{font-size:25px;margin:0 0 7px}.overview-card p{font-size:10px;color:#71827f;margin:0;line-height:1.5}.card-now{background:linear-gradient(135deg,#fff,#f0f6f5)}.mini-bars{margin-top:24px;display:grid;gap:8px}.mini-bars i{height:2px;background:#9bb9b4;display:block}.mini-bars i:nth-child(1){width:82%}.mini-bars i:nth-child(2){width:68%}.mini-bars i:nth-child(3){width:91%}.mini-bars i:nth-child(4){width:55%}.work-thumbs{display:grid;gap:8px;margin-top:17px}.work-thumbs img{width:100%;height:54px;object-fit:cover;border-radius:4px;filter:saturate(.7)}.card-work{min-height:300px}.journey-stats{display:flex;gap:35px;margin:26px 0 18px}.journey-stats strong{font:25px Georgia,serif}.journey-stats small{display:block;font:8px monospace;color:#71827f;margin-top:3px}.map-strip{height:57px;background:#e7eff0;display:flex;align-items:center;justify-content:space-around;color:#537477;font:8px monospace;letter-spacing:.06em}.place-images{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:20px}.place-images img{width:100%;height:92px;object-fit:cover;border-radius:4px}.book-spines{display:flex;align-items:end;gap:7px;margin-top:24px;height:92px}.book-spines i{width:22%;height:80px;padding:9px 4px;background:#d5c4aa;color:#594f45;font:9px Georgia,serif;font-style:normal}.book-spines i:nth-child(2){height:92px;background:#ede3d3}.book-spines i:nth-child(3){height:74px;background:#a76d4d;color:#fff}.book-spines i:nth-child(4){height:87px;background:#5689ad;color:#fff}.card-poems{background:linear-gradient(140deg,#fff,#e9f2f4)}.card-poems blockquote{font:italic 19px Georgia,serif;line-height:1.75;margin:36px 0 0 44px;color:#45656a}.thought-map{height:115px;position:relative;margin-top:20px}.thought-map span,.thought-map b{position:absolute;border:1px solid #b9cfcc;border-radius:50%;padding:8px 11px;font:9px monospace;font-weight:400}.thought-map b{left:36%;top:34%;background:#f4f8f7;text-align:center}.thought-map span:nth-child(1){left:0;top:30%}.thought-map span:nth-child(2){left:42%;top:0}.thought-map span:nth-child(4){left:67%;top:66%}.thought-map span:nth-child(5){right:0;top:30%}.memory-collage{position:relative;height:100px;margin-top:16px}.memory-collage img{position:absolute;width:42%;height:82px;object-fit:cover;border:5px solid #fff;box-shadow:0 3px 8px #173d3b22}.memory-collage img:first-child{left:4%;transform:rotate(-5deg)}.memory-collage img:nth-child(2){right:6%;transform:rotate(5deg)}.memory-collage span{position:absolute;bottom:3px;left:40%;font:9px monospace;color:#a15d3d}.archive-lines{margin-top:23px;display:grid;gap:9px;font:9px monospace;color:#6f817e}.archive-lines span{display:flex;justify-content:space-between;border-bottom:1px solid #d9e1df;padding-bottom:7px}.archive-lines b{font-weight:400;color:#315a58}.about-years{display:flex;justify-content:space-between;margin-top:48px;text-align:center;font:9px monospace;color:#78908b}.about-years b{font-weight:400;color:#315a58}.card-about{background:linear-gradient(#fbfcfb 72%,#dcebe8)}.overview-note{padding:20px 4px 4px;display:flex;justify-content:space-between;gap:20px;font:9px monospace;color:#6c807c}.overview-note strong{font-weight:400;text-align:right}.private-threshold{margin-top:0}.atlas-overview+.depth-landing{display:none}

/* Surface / depth layer */
.depth-landing{min-height:calc(100vh - 76px);display:grid;grid-template-columns:42% 58%;padding:7vh 5vw 28px;position:relative;background:linear-gradient(130deg,#f5f2eb,#d5e4e4)}
.depth-landing-copy{align-self:center;padding-right:7vw;position:relative;z-index:2}.depth-landing h1{font-size:clamp(42px,6vw,86px);line-height:1.02;font-weight:400;margin:25px 0}.depth-landing h1 em,.depth-dive-intro h2 em{font-family:Georgia,serif;font-style:italic}.depth-lede{max-width:320px;color:#47625f}.hero-actions{display:flex;align-items:center;gap:25px;margin-top:36px}.depth-button{border:0;background:#102b2b;color:#fff;padding:16px 19px;display:inline-flex;justify-content:space-between;gap:24px;align-items:center;font-size:12px;letter-spacing:.06em;cursor:pointer}.depth-button.light{background:transparent;border:1px solid #9db9b5}.depth-text-link{font-size:12px;border-bottom:1px solid currentColor;padding-bottom:5px}.depth-iceberg{min-height:580px;position:relative;overflow:hidden;background:#092c35}.depth-iceberg img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.82)}.depth-image-caption{position:absolute;left:20px;bottom:18px;color:#fff;font:10px monospace;letter-spacing:.12em}.depth-waterline{position:absolute;top:52%;left:0;right:0;height:1px;background:#fff;opacity:.85}.depth-landing-foot{position:absolute;left:5vw;right:5vw;bottom:23px;display:flex;justify-content:space-between;font:10px monospace;letter-spacing:.15em}.depth-dive-intro{padding:150px 10vw 170px;background:#0b3441;color:#d9e7e3}.depth-dive-intro h2{font-size:clamp(42px,6vw,82px);font-weight:400;line-height:1;margin:18px 0}.depth-dive-intro p:not(.eyebrow){max-width:420px;color:#a9c0bd}.private-threshold{padding:150px 10vw;background:#06151d;color:#dcebe8}.private-threshold h2{font-size:clamp(40px,5vw,72px);font-weight:400;margin:20px 0}.private-threshold p:not(.eyebrow){max-width:480px;color:#a9c0bd}.access-dialog{border:0;background:#e8eee8;color:#102b2b;max-width:480px;width:calc(100% - 32px);padding:42px;box-shadow:0 20px 70px #001018aa}.access-dialog::backdrop{background:#021a24bb;backdrop-filter:blur(8px)}.dialog-close{position:absolute;top:14px;right:16px;border:0;background:transparent;font-size:26px;cursor:pointer}.access-dialog h2{font:italic 34px Georgia,serif}.access-dialog label{display:block;font:11px monospace;margin-top:18px}.access-dialog input,.access-dialog textarea{display:block;width:100%;border:0;border-bottom:1px solid rgba(16,43,43,.18);background:transparent;padding:12px 0;outline:0}.access-dialog form .depth-button{margin-top:25px}.access-dialog small{display:block;margin-top:20px;color:#607672}.access-dialog:not([open]){display:none}
@media(max-width:760px){.depth-landing{display:block;padding:70px 20px 70px}.depth-landing-copy{padding:0 0 45px}.depth-landing h1{font-size:53px}.depth-iceberg{min-height:390px}.depth-landing-foot{left:20px;right:20px}.depth-dive-intro,.private-threshold{padding:100px 20px}.depth-dive-intro h2,.private-threshold h2{font-size:48px}.depth-landing-foot span:first-child{display:none}}

@media(max-width:820px){.atlas-overview{display:block;padding:12px}.iceberg-rail{position:relative;top:auto;min-height:0;height:auto;margin-bottom:18px}.rail-topline{height:auto;min-height:54px;padding:14px 16px}.rail-hero{height:250px}.rail-copy{left:22px;bottom:22px}.rail-copy h1{font-size:20px}.rail-depths{display:flex;overflow-x:auto;gap:7px;padding:12px 14px}.rail-depths:before{display:none}.rail-depths a{min-width:118px;min-height:72px;padding:14px 10px 8px 25px;background:#103d48}.rail-depths a:before{left:8px;top:16px;width:8px;height:8px}.rail-depths span{font-size:9px}.rail-depths strong{font-size:11px}.rail-depths small{font-size:8px}.rail-unknown,.rail-footer{display:none}.overview-content{padding:0 2px}.overview-heading{display:block;padding:8px 3px 14px}.overview-heading h2{font-size:19px}.overview-date{display:block;margin-top:10px}.overview-grid{grid-template-columns:1fr;gap:12px;margin-top:12px}.overview-card{min-height:205px;padding:17px}.card-work{min-height:260px}.overview-note{display:block;padding:15px 4px}.overview-note strong{display:block;text-align:left;margin-top:8px}}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 33, 31, 0.1);
  background: rgba(247, 244, 237, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.top-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-size: 12px;
}

.top-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a {
  padding: 8px 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100svh - 71px);
  padding: clamp(44px, 8vw, 92px) clamp(18px, 6vw, 84px) 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions a {
  min-width: 116px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--forest);
  font-weight: 800;
  text-align: center;
}

.hero-actions a:first-child {
  color: #fff;
  background: var(--forest);
}

.atlas-panel {
  position: relative;
  min-height: min(68svh, 680px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(20, 33, 30, 0.36), rgba(20, 33, 30, 0.16)),
    url("assets/atlas-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.atlas-panel::before,
.atlas-panel::after {
  position: absolute;
  content: "";
  inset: 11% 14%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  transform: rotate(-13deg);
}

.atlas-panel::after {
  inset: 22% 26%;
  transform: rotate(16deg);
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.46);
  border-radius: 50%;
}

.orbit-one {
  inset: 14% 22%;
}

.orbit-two {
  inset: 30% 9% 18% 18%;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.map-node span {
  font-weight: 900;
}

.map-node small {
  color: var(--muted);
}

.node-home {
  left: 42%;
  top: 42%;
}

.node-travel {
  right: 8%;
  top: 19%;
}

.node-library {
  left: 11%;
  top: 23%;
}

.node-gallery {
  right: 15%;
  bottom: 19%;
}

.node-projects {
  left: 13%;
  bottom: 16%;
}

.node-garden {
  left: 43%;
  bottom: 7%;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 6vw, 84px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 32px;
}

.section-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.privacy-badge {
  flex: 0 0 auto;
  margin-top: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(36, 72, 63, 0.24);
  border-radius: 999px;
  color: var(--forest);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.now-grid,
.library-grid,
.project-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.now-grid article,
.book-shelf,
.cinema,
.project-board article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.now-grid span {
  color: var(--sky);
  font-weight: 900;
}

.now-grid p,
.project-board p,
.book-shelf p,
.cinema span {
  color: var(--muted);
}

.split-section {
  background: #eef2ea;
}

.travel-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.world-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 35%, rgba(36, 72, 63, 0.18) 0 10%, transparent 10.4%),
    radial-gradient(circle at 54% 45%, rgba(93, 140, 171, 0.2) 0 15%, transparent 15.4%),
    radial-gradient(circle at 76% 42%, rgba(183, 110, 74, 0.2) 0 11%, transparent 11.4%),
    #fffaf0;
  border: 1px solid var(--line);
}

.world-map button {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--forest);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.story-list {
  display: grid;
  gap: 16px;
}

.story-list article,
.photo-story {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.story-list img {
  height: 220px;
  object-fit: cover;
}

.story-list div,
.photo-story div {
  padding: 22px;
}

.library-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.shelf-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.shelf-row i {
  display: block;
  width: var(--w);
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--forest), var(--moss), var(--gold));
}

.cinema ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cinema li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cinema strong {
  color: var(--clay);
  white-space: nowrap;
}

.gallery-section {
  background: #f7efe8;
}

.photo-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
}

.photo-story img {
  height: 520px;
  object-fit: cover;
}

.project-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.travel-board-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(23, 33, 31, 0.07) 0 1px, transparent 1.6px),
    linear-gradient(#f5f5f2, #ececea);
  background-size: 18px 18px, auto;
}

.travel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 26px;
  align-items: end;
  max-width: none;
}

.travel-board {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
}

.cork-board,
.felt-wall {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 31, 0.2);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.1);
}

.cork-board {
  background:
    radial-gradient(circle at 11% 18%, rgba(23, 33, 31, 0.12) 0 1px, transparent 1.7px),
    radial-gradient(circle at 74% 62%, rgba(23, 33, 31, 0.08) 0 1px, transparent 1.7px),
    #f7f7f4;
  background-size: 26px 24px, 41px 37px, auto;
}

.cork-board > input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cork-board.is-adding {
  cursor: copy;
}

#map-layer {
  position: absolute; inset: 0; transform-origin: 0 0;
}
#map-layer .china-map {
  inset: 0; width: 100%; height: 100%; opacity: 1;
}
#map-layer .travel-pin { transform: translate(-50%, -15%); }
#map-layer .province {
  fill: #dfebe6; stroke: #728e83; stroke-width: .8; vector-effect: non-scaling-stroke;
}
#map-layer .province:hover { fill: #b5d3c6; }
#map-layer .province-label {
  fill: #567266; font-size: 10px; text-anchor: middle; pointer-events: none;
}
.map-controls {
  position: absolute; right: 12px; bottom: 12px; z-index: 12;
  display: flex; align-items: center; background: #fff; border: 1px solid #bfcfc7; border-radius: 4px;
}
.map-controls button {
  width: 32px; height: 34px; padding: 0; border: 0; background: transparent;
  color: #244f46; font-size: 22px; cursor: pointer;
}
.map-controls button:disabled { opacity: .35; cursor: default; }
.map-controls output { width: 43px; text-align: center; font-size: 11px; color: #244f46; }
#map-status {
  position: absolute; bottom: 53px; left: 14px; z-index: 10; margin: 0;
  font-size: 10px; color: #567266; pointer-events: none;
}
#travel-photo-board .board-label { z-index: 10; pointer-events: none; }
#travel-photo-board .board-add-hint { z-index: 10; }
#travel-photo-board .board-clear-button {
  position: absolute; top: 22px; right: 24px; z-index: 10;
  border: 0; background: transparent; color: #687a73; cursor: pointer;
}
#travel-photo-board { touch-action: none; cursor: grab; aspect-ratio: 1; min-height: 0; align-self: start; }
#travel-photo-board:not(.map-ready) .travel-pin { visibility: hidden; }

.board-label {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 3;
  padding: 7px 10px;
  border: 1px solid rgba(23, 33, 31, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: #1c2422;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.china-map {
  position: absolute;
  inset: 82px 6% 72px;
  z-index: 1;
  width: 88%;
  height: auto;
  overflow: visible;
  opacity: 0.8;
}

.china-outline,
.china-inner,
.china-island {
  fill: rgba(255, 255, 255, 0.1);
  stroke: rgba(23, 33, 31, 0.34);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.china-inner {
  fill: none;
  stroke: rgba(23, 33, 31, 0.18);
  stroke-dasharray: 3 7;
  stroke-width: 1.4;
}

.china-island {
  fill: rgba(23, 33, 31, 0.03);
  stroke-width: 1.5;
}

.board-add-hint {
  position: absolute;
  top: 68px;
  right: 24px;
  z-index: 5;
  padding: 8px 11px;
  border: 1px solid rgba(23, 33, 31, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #17211f;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 12px rgba(23, 33, 31, 0.08);
}

.travel-pin {
  position: absolute;
  z-index: 6;
  display: grid;
  gap: 4px;
  justify-items: center;
  border: 0;
  background: transparent;
  color: #1d2422;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.travel-pin:hover,
.travel-pin.is-active {
  transform: translate(-50%, -50%) scale(1.08);
}

.travel-pin i {
  display: block;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #8d8d8a;
  box-shadow: 0 4px 8px rgba(23, 33, 31, 0.24);
  transform: rotate(-45deg);
}

.travel-pin span {
  padding: 4px 7px;
  border: 1px solid rgba(23, 33, 31, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
  color: #1d2422;
}

.pin-beijing {
  left: 68%;
  top: 27%;
}

.pin-chengdu {
  left: 51%;
  top: 47%;
}

.pin-xiamen {
  left: 74%;
  top: 62%;
}

.pin-yunnan {
  left: 37%;
  top: 61%;
}

.pin-hangzhou {
  left: 67%;
  top: 51%;
}

.route-line {
  position: absolute;
  inset: 20% 8% 15% 8%;
  width: 84%;
  height: 70%;
  overflow: visible;
  opacity: 0.7;
}

.route-line path {
  fill: none;
  stroke: rgba(23, 33, 31, 0.42);
  stroke-dasharray: 5 9;
  stroke-linecap: round;
  stroke-width: 3;
}

.board-sticker {
  position: absolute;
  z-index: 4;
  padding: 11px;
  border: 1px solid rgba(23, 33, 31, 0.16);
  background: #f8f8f5;
  color: #1d2422;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  box-shadow: 0 8px 12px rgba(23, 33, 31, 0.08);
}

.board-photo {
  touch-action: none;
  cursor: grab;
  user-select: none;
  margin: 0;
  position: absolute;
  z-index: 7;
  width: 128px;
  padding: 7px 7px 26px;
  border: 1px solid rgba(23, 33, 31, 0.14);
  background: #fff;
  box-shadow: 0 10px 18px rgba(23, 33, 31, 0.14);
  transform: translate(-50%, -50%) rotate(var(--r, -4deg));
}

.board-photo::before {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #9a9a96;
  box-shadow: 0 2px 5px rgba(23, 33, 31, 0.2);
  content: "";
  transform: translateX(-50%);
}

.board-photo.is-dragging { z-index: 9; cursor: grabbing; }
.board-backup-tools {
  position: absolute; bottom: 12px; left: 12px; z-index: 10;
  display: flex; gap: 8px;
}
.board-backup-tools button {
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px;
  background: #fff; color: #244f46; font: inherit; font-size: 12px; cursor: pointer;
}

.board-photo img {
  height: 94px;
  border: 1px solid rgba(23, 33, 31, 0.08);
  object-fit: cover;
  filter: grayscale(1) contrast(0.92);
}

.board-photo span {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  overflow: hidden;
  color: #5f6662;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticker-one {
  right: 13%;
  bottom: 8%;
  transform: rotate(6deg);
}

.sticker-two {
  left: 9%;
  bottom: 10%;
  background: #eeeeea;
  transform: rotate(-8deg);
}

.felt-wall {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border-color: rgba(23, 33, 31, 0.22);
  background:
    radial-gradient(circle at 12% 18%, rgba(23, 33, 31, 0.08) 0 1px, transparent 1.7px),
    radial-gradient(circle at 80% 74%, rgba(23, 33, 31, 0.06) 0 1px, transparent 1.7px),
    #f6f6f2;
  background-size: 17px 23px, 29px 31px, auto;
}

.felt-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  color: #17211f;
}

.felt-topline .kicker {
  color: #5f6662;
}

.felt-topline h3 {
  max-width: 470px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.memory-count {
  padding: 8px 10px;
  border: 1px solid rgba(23, 33, 31, 0.22);
  color: #17211f;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 12px;
  white-space: nowrap;
}

.polaroid-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  min-height: 330px;
  align-items: center;
}

.polaroid {
  position: relative;
  padding: 10px 10px 34px;
  background: #fffaf0;
  box-shadow: 0 12px 20px rgba(23, 33, 31, 0.12);
  transform: rotate(-3deg);
  transition: transform 180ms ease;
}

.polaroid:nth-child(2) {
  transform: translateY(22px) rotate(5deg);
}

.polaroid:hover {
  z-index: 3;
  transform: translateY(-6px) rotate(0);
}

.polaroid img {
  height: 270px;
  object-fit: cover;
  filter: grayscale(1) contrast(0.88);
}

.polaroid:nth-child(2) img {
  height: 210px;
}

.polaroid figcaption {
  position: absolute;
  right: 12px;
  bottom: 9px;
  left: 12px;
  overflow: hidden;
  color: #5b5448;
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.memory-detail {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(23, 33, 31, 0.16);
  background: rgba(255, 255, 255, 0.68);
  color: #17211f;
}

.memory-detail > p {
  max-width: 650px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.memory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #63706b;
  font-size: 13px;
}

.memory-meta button {
  padding: 8px 12px;
  border: 1px solid rgba(23, 33, 31, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #17211f;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.seed-lab-section {
  background: #edf3f0;
}

.seed-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.seed-form,
.seed-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 50px rgba(31, 41, 37, 0.08);
}

.seed-form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
}

.drop-zone {
  display: grid;
  min-height: 230px;
  place-items: center;
  padding: 28px;
  border: 1px dashed rgba(36, 72, 63, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.82), rgba(255, 250, 240, 0.86)),
    radial-gradient(circle at 26% 34%, rgba(93, 140, 171, 0.18) 0 12%, transparent 12.4%),
    radial-gradient(circle at 74% 62%, rgba(183, 110, 74, 0.14) 0 14%, transparent 14.4%);
  color: var(--forest);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.drop-zone.is-dragging {
  border-color: var(--clay);
  background: #fff;
  transform: translateY(-3px);
}

.drop-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.drop-zone strong,
.drop-zone small {
  display: block;
}

.drop-zone small {
  max-width: 420px;
  margin-top: 8px;
  color: var(--muted);
}

.seed-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seed-fields label,
.seed-search {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.seed-fields label:last-child {
  grid-column: 1 / -1;
}

.seed-fields input,
.seed-fields select,
.seed-fields textarea,
.seed-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.seed-fields textarea {
  resize: vertical;
}

.seed-preview {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 110px;
  padding: 14px;
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.seed-preview p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.seed-preview img {
  height: 112px;
  border-radius: 6px;
  object-fit: cover;
}

.seed-preview strong,
.seed-preview span,
.seed-preview small {
  display: block;
}

.seed-preview span,
.seed-preview small {
  color: var(--muted);
}

.seed-preview pre {
  max-height: 120px;
  overflow: auto;
  margin: 8px 0 0;
  color: var(--muted);
  white-space: pre-wrap;
  font-size: 12px;
}

.seed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seed-actions button,
.seed-filter button,
.seed-meta button {
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.seed-actions button {
  padding: 11px 18px;
}

.seed-actions .ghost-button,
.seed-filter button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--forest);
}

.seed-aside {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: clamp(18px, 3vw, 28px);
}

.seed-aside h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.seed-aside p {
  color: var(--muted);
}

.seed-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seed-filter button {
  padding: 8px 12px;
  font-size: 13px;
}

.seed-filter button.is-active {
  background: var(--forest);
  color: #fff;
}

.seed-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.seed-card,
.empty-seed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.seed-card > img,
.seed-file {
  height: 210px;
}

.seed-card > img {
  object-fit: cover;
}

.seed-file {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(36, 72, 63, 0.96), rgba(93, 140, 171, 0.82)),
    var(--forest);
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 800;
}

.seed-card-body,
.empty-seed {
  padding: 20px;
}

.seed-card-body p {
  color: var(--muted);
}

.seed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
}

.seed-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(124, 150, 111, 0.16);
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
}

.seed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.seed-meta small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seed-meta button {
  flex: 0 0 auto;
  padding: 6px 10px;
  background: rgba(183, 110, 74, 0.14);
  color: var(--clay);
  font-size: 12px;
}

.empty-seed {
  grid-column: 1 / -1;
}

.seed-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 12;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 18px 38px rgba(31, 41, 37, 0.24);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 15;
  max-width: min(360px, calc(100vw - 44px));
  padding: 11px 14px;
  border: 1px solid rgba(23, 33, 31, 0.18);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(23, 33, 31, 0.14);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.photo-dialog {
  width: min(720px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.photo-dialog::backdrop {
  background: rgba(23, 33, 31, 0.38);
  backdrop-filter: blur(4px);
}

.photo-dialog > img {
  width: 100%;
  max-height: 30vh;
  object-fit: contain;
  background: #e8e8e5;
  filter: none;
}

#photo-form { display: grid; gap: 14px; margin-top: 18px; }
#photo-form label { display: grid; gap: 6px; min-width: 0; font-size: 14px; }
#photo-form input, #photo-form textarea, #photo-form select {
  width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line);
  border-radius: 4px; background: #fff; color: #222; font: inherit;
}
#photo-form textarea { resize: vertical; }
.photo-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.photo-actions button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; font: inherit; }
.photo-actions .photo-save { background: #244f46; color: #fff; }
.photo-actions .dialog-delete { margin-right: auto; }
#photo-error { color: #a32d32; }
.board-photo .board-photo-status {
  position: absolute; top: 8px; right: 8px; padding: 2px 4px;
  background: #fff; color: #244f46; font-size: 10px; line-height: 1.5;
}
.board-photo:focus-visible { outline: 3px solid #317464; outline-offset: 4px; }
@media (max-width: 480px) {
  .photo-field-row { grid-template-columns: 1fr; }
  .photo-dialog .dialog-content { padding: 16px; }
}

.dialog-content {
  padding: 22px;
}

.dialog-content h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.dialog-content p:not(.kicker) {
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(23, 33, 31, 0.16);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.92);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.dialog-delete {
  padding: 9px 13px;
  border: 1px solid rgba(183, 110, 74, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--clay);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.project-card {
  display: block;
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(23, 33, 31, 0.14);
  background: rgba(255, 255, 255, 0.5);
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-card span { display: block; margin-top: 20px; color: var(--clay); font-size: 12px; font-weight: 800; }
.project-card:focus-visible { outline: 3px solid #317464; outline-offset: 4px; }
.project-dialog {
  width: min(820px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.project-dialog-inner { padding: 42px; }
.project-dialog h2 { margin: 8px 0 12px; font: 400 32px/1.2 "Segoe UI", sans-serif; overflow-wrap: anywhere; }
.project-dialog-summary { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.project-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.project-facts div { display: grid; gap: 7px; padding-top: 12px; border-top: 1px solid var(--line); }
.project-facts small { color: var(--muted); font-size: 11px; }
.project-facts strong { font-size: 13px; font-weight: 700; }
.project-story { display: grid; gap: 20px; }
.project-story article { display: grid; grid-template-columns: 180px 1fr; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.project-story h3 { margin: 0; color: var(--clay); font: 11px monospace; letter-spacing: 0; }
.project-story p { margin: 0; line-height: 1.8; color: var(--muted); }
.project-story p, .project-card h3, .project-card p, .project-facts strong { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.project-local-notice { font-size: 12px; color: var(--muted); line-height: 1.7; border-left: 2px solid #b79143; padding-left: 12px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.project-actions button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #244f46; cursor: pointer; font: inherit; }
.project-actions a { align-self: center; font-size: 14px; color: #244f46; }
.project-dialog.project-full-page {
  position: relative; inset: auto; width: min(900px, calc(100% - 32px));
  max-height: none; margin: 0 auto 60px; border: 0; border-radius: 0;
  box-shadow: none; overflow: visible; background: transparent;
}
.project-full-page #project-dialog-close {
  position: static; display: block; width: auto; height: auto; padding: 10px 14px;
  margin-left: 42px; border-radius: 4px; font: inherit;
}
#project-editor:not([hidden]) { display: grid; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
#project-editor label { display: grid; gap: 8px; font-size: 14px; }
#project-editor input, #project-editor textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #222; font: inherit; }
#project-save-error { color: #a32d32; }
.project-dialog::backdrop { background: rgba(23, 33, 31, 0.46); backdrop-filter: blur(5px); }
@media (max-width: 600px) {
  .project-dialog-inner { padding: 28px 20px; }
  .project-facts { grid-template-columns: 1fr; gap: 16px; }
  .project-story article { grid-template-columns: 1fr; gap: 8px; }
}

.poem-section {
  display: grid;
  place-items: center;
  gap: 46vh;
  min-height: 180vh;
  padding: 35vh 24px;
  background: #17211f;
  color: #fffaf0;
  text-align: center;
}

.poem-section p {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 6vw, 76px);
  line-height: 1.2;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 150px;
  padding: 20px;
  border-left: 4px solid var(--clay);
  background: #fff;
}

.timeline span,
.timeline strong {
  display: block;
}

.timeline span {
  color: var(--muted);
  font-weight: 800;
}

.timeline strong {
  margin-top: 22px;
  font-size: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 6vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--forest);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .travel-layout,
  .travel-board,
  .photo-story {
    grid-template-columns: 1fr;
  }

  .atlas-panel {
    min-height: 560px;
  }

  .cork-board,
  .felt-wall {
    min-height: 560px;
  }

  .now-grid,
  .project-board,
  .seed-board,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-story img {
    height: 380px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero {
    width: 100vw;
    max-width: 100vw;
    padding-right: 30px;
    padding-left: 30px;
    min-height: auto;
    overflow: hidden;
  }

  .section-title-row {
    display: block;
  }

  .privacy-badge {
    display: inline-block;
    margin-top: 0;
  }

  .hero-copy,
  .atlas-panel {
    width: 100%;
    max-width: 100%;
  }

  .travel-heading {
    grid-template-columns: 1fr;
  }

  .cork-board,
  .felt-wall {
    min-height: 520px;
  }

  .cork-board {
    min-height: 470px;
  }

  .china-map {
    inset: 96px 3% 74px;
    width: 94%;
  }

  .board-add-hint {
    top: 64px;
    right: 18px;
  }

  .board-photo {
    width: 96px;
    padding: 6px 6px 22px;
  }

  .board-photo img {
    height: 70px;
  }

  .felt-wall {
    padding: 20px;
  }

  .felt-topline {
    align-items: start;
  }

  .felt-topline h3 {
    font-size: 28px;
  }

  .polaroid-grid {
    gap: 10px;
    min-height: 260px;
  }

  .polaroid {
    padding: 7px 7px 28px;
  }

  .polaroid img,
  .polaroid:nth-child(2) img {
    height: 180px;
  }

  .memory-meta {
    align-items: start;
    flex-direction: column;
  }

  .hero-text {
    max-width: 330px;
  }

  h1 {
    max-width: 340px;
    font-size: 34px;
    line-height: 1.05;
  }

  .atlas-panel {
    min-height: 600px;
  }

  .map-node {
    min-width: 104px;
    padding: 9px 10px;
    font-size: 14px;
  }

  .map-node small {
    font-size: 12px;
  }

  .node-home {
    left: 35%;
    top: 42%;
  }

  .node-travel {
    right: auto;
    left: 55%;
    top: 15%;
  }

  .node-library {
    left: 5%;
    top: 22%;
  }

  .node-gallery {
    right: auto;
    left: 55%;
    bottom: 23%;
  }

  .node-projects {
    left: 6%;
    bottom: 18%;
  }

  .node-garden {
    left: 34%;
    bottom: 6%;
  }

  .now-grid,
  .library-grid,
  .project-board,
  .seed-lab,
  .seed-fields,
  .seed-board,
  .timeline {
    grid-template-columns: 1fr;
  }

  .seed-preview {
    grid-template-columns: 1fr;
  }

  .seed-preview img {
    height: 180px;
  }

  .cinema li,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
