/* ==========================================================================
   南山街 · 大连  |  样式表
   浅色纸感 + 墨绿 + 樱粉，宋体标题 / 无衬线正文
   ========================================================================== */

/* ---------- 1. 变量与重置 ---------- */
:root {
  --paper: #f7f3ea;
  --paper-2: #efe8da;
  --card: #fffdf8;
  --ink: #1c2421;
  --ink-2: #4b544e;
  --ink-3: #8b928c;
  --moss: #2c4a3e;
  --moss-deep: #16261f;
  --sakura: #e3a9ad;
  --clay: #b0714a;
  --line: rgba(28, 36, 33, 0.11);
  --line-strong: rgba(28, 36, 33, 0.22);

  --shadow-s: 0 1px 2px rgba(28, 36, 33, 0.05), 0 10px 26px -14px rgba(28, 36, 33, 0.18);
  --shadow-m: 0 2px 6px rgba(28, 36, 33, 0.05), 0 28px 56px -28px rgba(28, 36, 33, 0.3);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --max: 1160px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, Georgia, serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

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

ul,
ol,
figure {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--sakura);
  color: #3a1f22;
}

/* ---------- 2. 通用布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  position: relative;
  padding: 118px 0;
}

.section--tint {
  background: var(--paper-2);
}

.section--tint::before,
.section--tint::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.section--tint::before { top: 0; }
.section--tint::after { bottom: 0; }

.section__head {
  max-width: 760px;
  margin-bottom: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section__title {
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: 0.06em;
}

.section__desc {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 620px;
}

.section__head--light .section__title { color: #f3efe4; }
.section__head--light .eyebrow { color: var(--sakura); }
.section__head--light .section__desc { color: rgba(243, 239, 228, 0.66); }

/* ---------- 3. 阅读进度条 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}

.progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--moss), var(--sakura));
  transition: width 0.08s linear;
}

/* ---------- 4. 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f6f2e7;
  transition: color 0.4s var(--ease);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1;
  opacity: 0.9;
}

.brand__mark--sm {
  width: 34px;
  height: 34px;
  font-size: 16px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.brand__text em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.26em;
  opacity: 0.55;
  margin-top: 5px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__links a {
  position: relative;
  padding: 8px 13px;
  font-size: 14px;
  color: rgba(246, 242, 231, 0.78);
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav__links a.is-current {
  color: #fff;
}

.nav__links a.is-current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sakura);
  transform: translateX(-50%);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.35s var(--ease);
}

.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #f6f2e7;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), background 0.35s var(--ease);
}

/* 滚动后：米白毛玻璃 */
.nav.is-stuck {
  background: rgba(247, 243, 234, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(28, 36, 33, 0.5);
}

.nav.is-stuck .brand,
.nav.is-stuck .nav__links a {
  color: var(--ink);
}

.nav.is-stuck .nav__links a:hover {
  background: rgba(44, 74, 62, 0.08);
  color: var(--moss);
}

.nav.is-stuck .nav__links a.is-current {
  color: var(--moss);
}

.nav.is-stuck .nav__toggle {
  border-color: var(--line-strong);
}

.nav.is-stuck .nav__toggle span {
  background: var(--ink);
}

/* 移动端菜单展开时，导航同样转为浅色 */
.nav.is-menu-open {
  background: rgba(247, 243, 234, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav.is-menu-open .brand,
.nav.is-menu-open .nav__links a {
  color: var(--ink);
}

.nav.is-menu-open .nav__toggle {
  border-color: var(--line-strong);
}

.nav.is-menu-open .nav__toggle span {
  background: var(--ink);
}

/* ---------- 5. 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #101d19;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(227, 169, 173, 0.24), transparent 55%),
    linear-gradient(168deg, #0d1a16 0%, #16281f 46%, #1d3329 100%);
}

.hero__glow {
  position: absolute;
  top: -12%;
  right: 6%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 226, 202, 0.22), transparent 62%);
  filter: blur(6px);
}

.hero__hill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero__hill--far {
  height: 46%;
  background: linear-gradient(180deg, rgba(35, 60, 50, 0.65), rgba(16, 29, 25, 0.95));
  clip-path: polygon(0 62%, 12% 50%, 24% 58%, 38% 38%, 52% 52%, 66% 34%, 80% 48%, 92% 36%, 100% 46%, 100% 100%, 0 100%);
}

.hero__hill--near {
  height: 30%;
  background: linear-gradient(180deg, rgba(11, 22, 18, 0.7), #0c1713);
  clip-path: polygon(0 74%, 14% 66%, 30% 78%, 46% 62%, 62% 76%, 78% 64%, 90% 74%, 100% 68%, 100% 100%, 0 100%);
}

/* 细颗粒纹理 */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 28px 120px;
  color: #f4f0e4;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: rgba(244, 240, 228, 0.7);
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sakura);
  box-shadow: 0 0 0 4px rgba(227, 169, 173, 0.18);
}

.hero__title {
  font-size: clamp(58px, 12vw, 148px);
  line-height: 0.98;
  letter-spacing: 0.1em;
  margin-left: -0.05em;
  text-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero__sub {
  margin: 26px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.9vw, 22px);
  letter-spacing: 0.14em;
  color: rgba(244, 240, 228, 0.9);
}

.hero__desc {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(244, 240, 228, 0.62);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.14em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn--solid {
  background: #f4f0e4;
  color: #16261f;
  box-shadow: 0 14px 30px -18px rgba(244, 240, 228, 0.8);
}

.btn--solid:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 20px 36px -18px rgba(244, 240, 228, 0.9);
}

.btn--ghost {
  border: 1px solid rgba(244, 240, 228, 0.32);
  color: rgba(244, 240, 228, 0.92);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 240, 228, 0.7);
  background: rgba(244, 240, 228, 0.08);
}

.hero__scroll {
  position: absolute;
  right: 34px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(244, 240, 228, 0.55);
  writing-mode: vertical-rl;
  transition: color 0.3s var(--ease);
}

.hero__scroll:hover { color: rgba(244, 240, 228, 0.95); }

/* 首屏文案入场：仅在脚本就绪后播放，脚本异常时内容照常可见 */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

body.is-ready .hero__kicker,
body.is-ready .hero__title,
body.is-ready .hero__sub,
body.is-ready .hero__desc,
body.is-ready .hero__actions {
  animation: hero-in 1.05s var(--ease) both;
}

body.is-ready .hero__kicker  { animation-delay: 0.12s; }
body.is-ready .hero__title   { animation-delay: 0.26s; }
body.is-ready .hero__sub     { animation-delay: 0.42s; }
body.is-ready .hero__desc    { animation-delay: 0.54s; }
body.is-ready .hero__actions { animation-delay: 0.68s; }

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, rgba(244, 240, 228, 0.6), transparent);
  animation: scroll-line 2.4s var(--ease) infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0.2); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- 6. 概览 ---------- */
.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.about__text .lead {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--moss);
  margin-bottom: 26px;
}

.about__text p:not(.lead) {
  color: var(--ink-2);
  font-size: 15.5px;
}

.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.fact {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  row-gap: 4px;
}

.fact__num {
  grid-row: span 2;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--sakura);
  padding-top: 4px;
}

.fact h3 {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.fact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ---------- 7. 时间轴 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
}

.tl {
  position: relative;
  padding: 0 0 46px 28px;
}

.tl:last-child { padding-bottom: 0; }

.tl__dot {
  position: absolute;
  left: -34px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1.5px solid var(--moss);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}

.tl:hover .tl__dot {
  background: var(--moss);
  transform: scale(1.25);
}

.tl__era {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--clay);
  font-weight: 600;
}

.tl h3 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.tl p:last-child {
  margin: 0;
  max-width: 640px;
  font-size: 15px;
  color: var(--ink-2);
}

/* ---------- 8. 漫步路线 ---------- */
.walk {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 44px;
  align-items: start;
}

.map {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-s);
}

.map__svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
  overflow: hidden;
}

.map__blocks rect {
  fill: #e0d8c6;
  stroke: rgba(28, 36, 33, 0.06);
  stroke-width: 1;
}

.map__roads path {
  fill: none;
  stroke: url(#roadGrad);
  stroke-width: 17;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map__sakura {
  fill: none;
  stroke: rgba(227, 169, 173, 0.55);
  stroke-width: 17;
  stroke-linecap: round;
  stroke-dasharray: 3 7;
}

.map__poi {
  cursor: pointer;
  outline: none;
}

.map__poi text {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  fill: #5c645e;
  transition: fill 0.3s var(--ease);
  pointer-events: none;
}

.map__pin {
  fill: #fdfbf6;
  stroke: var(--moss);
  stroke-width: 2.5;
  transition: fill 0.3s var(--ease), r 0.3s var(--ease);
}

.map__halo {
  fill: var(--moss);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.35s var(--ease);
}

.map__poi:hover .map__halo,
.map__poi:focus-visible .map__halo { opacity: 0.12; }

.map__poi:hover .map__pin,
.map__poi:focus-visible .map__pin { fill: var(--moss); }

.map__poi:hover text,
.map__poi:focus-visible text { fill: var(--moss); }

.map__poi.is-active .map__pin {
  fill: var(--clay);
  stroke: var(--clay);
}

.map__poi.is-active .map__halo {
  fill: var(--clay);
  opacity: 0.16;
}

.map__poi.is-active text {
  fill: var(--clay);
  font-weight: 600;
}

.map__hint {
  margin: 14px 4px 2px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* 面板 */
.walk__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
}

.poi-panels {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-s);
  overflow: hidden;
}

.poi-panel {
  display: none;
}

.poi-panel.is-active {
  display: block;
  width: 100%;
  animation: panel-in 0.5s var(--ease);
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.poi-panel__step {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--clay);
  font-weight: 600;
}

.poi-panel h3 {
  font-size: 25px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.poi-panel p {
  font-size: 14.8px;
  color: var(--ink-2);
}

.poi-panel__tip {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13.5px;
  color: var(--moss);
}

.poi-counter {
  margin: 0;
  align-self: flex-end;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}

.poi-counter span {
  color: var(--clay);
  font-size: 18px;
}

/* ---------- 9. 街景画廊 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 218px;
  gap: 16px;
}

.shot {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  cursor: default;
  box-shadow: var(--shadow-s);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}

.shot--brick  { grid-column: span 2; grid-row: span 2; }
.shot--tile   { grid-column: span 2; }
.shot--sakura { grid-column: span 1; }
.shot--gate   { grid-column: span 1; }
.shot--window { grid-column: span 2; }
.shot--dusk   { grid-column: span 2; }

.shot__img {
  position: absolute;
  inset: 0;
  transition: transform 0.9s var(--ease);
}

.shot:hover .shot__img { transform: scale(1.06); }

.shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 24px 20px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(14, 22, 19, 0.78) 62%);
}

.shot figcaption h3 {
  font-size: 18px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.shot figcaption p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

/* --- 用 CSS 渐变模拟街景 --- */

/* 红砖墙 */
.shot--brick .shot__img {
  background-color: #8d4b39;
  background-image:
    radial-gradient(ellipse at 78% 12%, rgba(255, 230, 200, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(20, 26, 23, 0.34), rgba(20, 26, 23, 0.56)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 46px),
    linear-gradient(120deg, #a4583e 0%, #8a4733 48%, #6f3a2b 100%);
}

/* 砖墙上的一扇窗 */
.shot--brick .shot__img::after {
  content: "";
  position: absolute;
  right: 13%;
  top: 26%;
  width: 27%;
  height: 32%;
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 47.8%, rgba(38, 24, 17, 0.62) 47.8% 52.2%, transparent 52.2%),
    linear-gradient(180deg, transparent 46%, rgba(38, 24, 17, 0.62) 46% 54%, transparent 54%),
    linear-gradient(170deg, rgba(255, 236, 198, 0.6) 0%, rgba(196, 150, 96, 0.35) 38%, rgba(46, 40, 30, 0.82) 100%);
  box-shadow:
    0 0 0 6px rgba(58, 32, 24, 0.5),
    0 0 0 7.5px rgba(255, 255, 255, 0.1),
    inset 0 0 22px rgba(255, 214, 150, 0.28);
}

/* 瓦 */
.shot--tile .shot__img {
  background-color: #4d5a55;
  background-image:
    linear-gradient(180deg, rgba(18, 24, 22, 0.28), rgba(18, 24, 22, 0.62)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 20px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 26px),
    linear-gradient(160deg, #64726c 0%, #434f4a 60%, #2c3633 100%);
}

/* 樱花 */
.shot--sakura .shot__img {
  background-color: #e8c9cc;
  background-image:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.92) 0 4px, transparent 5px),
    radial-gradient(circle at 46% 9%, rgba(233, 168, 175, 0.92) 0 5px, transparent 6px),
    radial-gradient(circle at 74% 22%, rgba(255, 255, 255, 0.85) 0 3px, transparent 4px),
    radial-gradient(circle at 88% 40%, rgba(219, 141, 152, 0.9) 0 5px, transparent 6px),
    radial-gradient(circle at 30% 44%, rgba(233, 168, 175, 0.95) 0 7px, transparent 8px),
    radial-gradient(circle at 58% 56%, rgba(255, 255, 255, 0.8) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 68%, rgba(219, 141, 152, 0.88) 0 6px, transparent 7px),
    radial-gradient(circle at 14% 74%, rgba(233, 168, 175, 0.85) 0 5px, transparent 6px),
    radial-gradient(circle at 44% 86%, rgba(255, 255, 255, 0.72) 0 3px, transparent 4px),
    radial-gradient(circle at 66% 96%, rgba(219, 141, 152, 0.8) 0 4px, transparent 5px),
    linear-gradient(180deg, rgba(40, 30, 32, 0.1), rgba(40, 30, 32, 0.45)),
    linear-gradient(150deg, #f4dfe1 0%, #e5bfc4 55%, #cf9aa2 100%);
}

/* 院门 */
.shot--gate .shot__img {
  background-color: #4a4238;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.06) 34%, rgba(0, 0, 0, 0.42) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, #6d6350 0%, #4c4438 55%, #2f2a23 100%);
}

/* 窗与咖啡 */
.shot--window .shot__img {
  background-color: #2c3a42;
  background-image:
    radial-gradient(ellipse at 30% 62%, rgba(244, 202, 140, 0.5), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 62px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 58px),
    linear-gradient(140deg, #3c4d55 0%, #283740 55%, #16232a 100%);
}

/* 傍晚坡道 */
.shot--dusk .shot__img {
  background-color: #2a3040;
  background-image:
    radial-gradient(circle at 72% 24%, rgba(255, 214, 170, 0.55), transparent 34%),
    linear-gradient(180deg, rgba(255, 170, 150, 0.22), transparent 52%),
    repeating-linear-gradient(105deg, rgba(255, 220, 190, 0.12) 0 2px, transparent 2px 34px),
    linear-gradient(180deg, #4a5670 0%, #33405a 42%, #1d2537 100%);
}

.gallery__note {
  margin: 22px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- 10. 四季 ---------- */
.seasons__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.season-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  transition: all 0.35s var(--ease);
}

.season-tab:hover {
  border-color: var(--moss);
  color: var(--moss);
}

.season-tab.is-active {
  background: var(--moss);
  border-color: var(--moss);
  color: #f4f0e4;
}

.seasons__body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  min-height: 380px;
}

.seasons__visual {
  position: relative;
  transition: background 0.8s var(--ease);
  overflow: hidden;
}

.seasons__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 26px);
  mix-blend-mode: soft-light;
}

.seasons__label {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.season--spring {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(150deg, #e8bfc4 0%, #cfa0ab 48%, #9c7686 100%);
}

.season--summer {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 240, 200, 0.35), transparent 42%),
    linear-gradient(150deg, #6d8f6b 0%, #456b52 48%, #2b4a3a 100%);
}

.season--autumn {
  background:
    radial-gradient(circle at 26% 74%, rgba(255, 210, 140, 0.42), transparent 44%),
    linear-gradient(150deg, #c58a4c 0%, #9c6337 48%, #6b4028 100%);
}

.season--winter {
  background:
    radial-gradient(circle at 66% 26%, rgba(255, 255, 255, 0.55), transparent 46%),
    linear-gradient(150deg, #a9bcc4 0%, #7b9099 48%, #4c5f68 100%);
}

.seasons__panels {
  padding: 46px 44px;
  display: flex;
  align-items: center;
}

.season-panel {
  display: none;
}

.season-panel.is-active {
  display: block;
  animation: panel-in 0.55s var(--ease);
}

.season-panel__when {
  margin: 0 0 12px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--clay);
  font-weight: 600;
}

.season-panel h3 {
  font-size: 27px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.season-panel p {
  font-size: 15px;
  color: var(--ink-2);
}

.season-panel p:last-child { margin-bottom: 0; }

/* ---------- 11. 来访须知 ---------- */
.section--dark {
  background:
    radial-gradient(90% 70% at 82% 0%, rgba(227, 169, 173, 0.14), transparent 58%),
    linear-gradient(170deg, #16261f 0%, #1a2c24 60%, #14211c 100%);
  color: #eee9dc;
}

.section--dark .eyebrow { color: var(--sakura); }

.info__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(238, 233, 220, 0.14);
  border: 1px solid rgba(238, 233, 220, 0.14);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 54px;
}

.info-card {
  padding: 30px 26px;
  background: rgba(20, 33, 28, 0.72);
  transition: background 0.4s var(--ease);
}

.info-card:hover {
  background: rgba(44, 74, 62, 0.55);
}

.info-card h3 {
  font-size: 16px;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  color: #f4f0e4;
}

.info-card p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.85;
  color: rgba(238, 233, 220, 0.62);
}

.notice {
  max-width: 820px;
}

.notice h3 {
  font-size: 22px;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  color: #f4f0e4;
}

.notice ul {
  display: grid;
  gap: 14px;
}

.notice li {
  display: flex;
  gap: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(238, 233, 220, 0.74);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(238, 233, 220, 0.1);
}

.notice li span {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sakura);
  padding-top: 4px;
}

/* ---------- 12. 页脚 ---------- */
.footer {
  background: #0f1b16;
  color: rgba(238, 233, 220, 0.6);
  padding: 54px 0 44px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #eee9dc;
}

.footer__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.16em;
}

.footer__sub {
  margin: 2px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(238, 233, 220, 0.42);
}

.footer__note {
  margin: 0;
  max-width: 520px;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(238, 233, 220, 0.42);
}

.footer__top {
  font-size: 13px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: rgba(238, 233, 220, 0.7);
  transition: color 0.3s var(--ease);
}

.footer__top:hover { color: #fff; }

/* ---------- 13. 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 44px; }
  .walk { grid-template-columns: 1fr; gap: 30px; }
  .info__grid { grid-template-columns: repeat(2, 1fr); }
  .seasons__body { grid-template-columns: 1fr; }
  .seasons__visual { min-height: 180px; }
  .seasons__panels { padding: 36px 32px; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; justify-items: start; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 44px; }

  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 26px;
    background: rgba(247, 243, 234, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(28, 36, 33, 0.5);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav__links a {
    color: var(--ink);
    padding: 14px 10px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav__links a + a { border-top: 1px solid var(--line); border-radius: 0; }
  .nav__links a:hover { color: var(--moss); background: rgba(44, 74, 62, 0.06); }
  .nav__links a.is-current::after { display: none; }

  /* 汉堡变叉 */
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .hero__content { padding-bottom: 100px; }
  .hero__desc { font-size: 14px; }
  .hero__scroll { right: 20px; bottom: 26px; }
  .hero__scroll-line { height: 40px; }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
  }

  .shot--brick  { grid-column: span 2; grid-row: span 2; }
  .shot--tile   { grid-column: span 2; }
  .shot--sakura,
  .shot--gate   { grid-column: span 1; }
  .shot--window,
  .shot--dusk   { grid-column: span 2; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav__inner { padding: 0 18px; }
  .hero__content { padding-left: 18px; padding-right: 18px; }
  .hero__title { font-size: clamp(52px, 19vw, 92px); }
  .hero__sub { font-size: 15px; letter-spacing: 0.1em; }
  .hero__actions .btn { flex: 1 1 auto; padding: 0 22px; }
  .hero__scroll { display: none; }

  .poi-panels { padding: 26px 22px; }
  .map { padding: 10px; }
  .map__poi text { font-size: 12px; }

  .info__grid { grid-template-columns: 1fr; }
  .seasons__panels { padding: 28px 22px; }
  .season-panel h3 { font-size: 23px; }
  .season-tab { padding: 8px 16px; font-size: 13px; }

  .timeline { padding-left: 20px; }
  .tl { padding-left: 22px; }
  .tl__dot { left: -20px; width: 9px; height: 9px; }

  .facts .fact { grid-template-columns: 34px 1fr; }
}

/* ---------- 15. 无障碍 / 减少动效 ---------- */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

.map__poi:focus-visible {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
