:root {
  --forest: #24483a;
  --forest-deep: #173127;
  --sky: #91b9cd;
  --cream: #f4eedf;
  --paper: #fffdf7;
  --ink: #25302b;
  --muted: #6b756f;
  --line: rgba(36, 72, 58, 0.18);
  --shadow: 0 18px 50px rgba(28, 45, 37, 0.10);
  --content: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--paper);
  background: var(--forest-deep);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.site-header {
  min-height: 82svh;
  display: grid;
  align-items: end;
  padding: 6rem 0 4rem;
  color: var(--paper);
  background:
    linear-gradient(155deg, rgba(19, 47, 37, 0.96), rgba(53, 93, 78, 0.78)),
    var(--forest);
}

.site-header .shell {
  max-width: 58rem;
  margin-left: max(1rem, calc((100vw - var(--content)) / 2));
}

.eyebrow,
.section-label,
.scene-number,
.date {
  margin: 0 0 0.8rem;
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 11vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.title-line {
  margin: 0.7rem 0 1.6rem;
  font-size: clamp(1.4rem, 5vw, 2.5rem);
}

.date {
  color: #d8e7df;
}

.lead {
  max-width: 30rem;
  margin: 1.2rem 0 0;
  font-size: clamp(1rem, 3.4vw, 1.3rem);
}

.section {
  padding-block: clamp(5rem, 12vw, 9rem);
}

.intro {
  max-width: 50rem;
}

.section-label,
.scene-number {
  color: var(--forest);
}

h2 {
  margin: 0 0 1.5rem;
  color: var(--forest-deep);
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.15;
}

h3 {
  margin: 0 0 1.2rem;
  color: var(--forest-deep);
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.2;
}

.placeholder {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.stories {
  padding-top: 2rem;
}

.section-heading {
  padding-bottom: 3rem;
}

.scene {
  position: relative;
  margin-bottom: 1.2rem;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.3rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.scene::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(145, 185, 205, 0.14);
}

.letter {
  padding-inline: clamp(1.3rem, 5vw, 4rem);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.archive dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2.5rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.archive dl div {
  padding: 1.25rem;
  background: var(--paper);
}

.archive dt {
  color: var(--muted);
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.archive dd {
  margin: 0.25rem 0 0;
}

.archive-return {
  color: var(--muted);
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: 0.9rem;
}

.site-footer {
  padding: 2.5rem 0;
  color: #d8e7df;
  background: var(--forest-deep);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 40rem) {
  .site-header {
    min-height: 76svh;
  }

  .archive dl {
    grid-template-columns: 1fr;
  }
}

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

@media print {
  body {
    color: #000;
    background: #fff;
  }

  .site-header {
    min-height: auto;
    color: #000;
    background: #fff;
  }

  .scene,
  .letter {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* Step 4D-2B-R · 第一批视觉样式 */
body {
  min-width: 20rem;
  color: #303632;
  background:
    radial-gradient(circle at 10% 4%, rgba(145, 185, 205, 0.12), transparent 24rem),
    linear-gradient(180deg, #f7f1e5 0%, #f2eadb 100%);
  font-family: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  font-size: 1rem;
  line-height: 1.8;
}

main {
  overflow: hidden;
}

.site-header {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(2rem, 6vw, 5rem) 0;
  align-items: center;
  overflow: hidden;
  color: #fffdf7;
  background:
    linear-gradient(145deg, rgba(18, 46, 36, 0.98) 0%, rgba(37, 75, 59, 0.94) 58%, rgba(72, 104, 87, 0.88) 100%);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.site-header::before {
  right: -12%;
  bottom: -18%;
  width: 72%;
  height: 60%;
  border-radius: 50% 50% 0 0;
  background: rgba(132, 162, 140, 0.14);
  transform: rotate(-8deg);
}

.site-header::after {
  right: 22%;
  bottom: -32%;
  width: 68%;
  height: 64%;
  border-radius: 50% 50% 0 0;
  background: rgba(12, 37, 28, 0.24);
  transform: rotate(7deg);
}

.site-header .shell {
  max-width: var(--content);
  margin-inline: auto;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 8vw, 6rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 43rem;
}

.site-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.8rem);
  color: #dce8df;
}

.site-header .eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.site-header h1 {
  max-width: 8em;
  margin: 0;
  color: #fffdf7;
  font-size: clamp(2.75rem, 13vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.site-header .title-line {
  margin: 0.8rem 0 0;
  color: #f2eadb;
  font-size: clamp(1.5rem, 6vw, 3rem);
  line-height: 1.25;
}

.site-header .date {
  display: inline-block;
  margin: clamp(1.8rem, 5vw, 3rem) 0 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 253, 247, 0.28);
  border-radius: 999px;
  color: #e7eee9;
  background: rgba(255, 255, 255, 0.06);
  font-variant-numeric: tabular-nums;
}

.site-header .lead {
  margin: 1.25rem 0 0;
  color: rgba(255, 253, 247, 0.88);
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  line-height: 1.75;
}

.hero-placeholder {
  min-height: clamp(19rem, 72vw, 34rem);
  border-color: rgba(255, 253, 247, 0.24);
  color: rgba(255, 253, 247, 0.76);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(18, 46, 36, 0.36);
  box-shadow: 0 2rem 5rem rgba(8, 28, 20, 0.28);
}

.section-heading {
  max-width: 52rem;
}

.section-intro,
.intro-lead,
.scene-guide {
  color: #68716b;
  font-size: clamp(1rem, 2.8vw, 1.16rem);
}

.stories {
  position: relative;
  padding-block: clamp(4.5rem, 12vw, 9rem);
}

.stories-heading {
  margin-bottom: clamp(2.5rem, 7vw, 5rem);
}

.scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: clamp(2rem, 7vw, 5rem);
  padding: clamp(1.3rem, 5vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(36, 72, 58, 0.13);
  border-radius: clamp(1rem, 3vw, 1.75rem);
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 1.25rem 3.5rem rgba(37, 49, 42, 0.08);
}

.scene::after {
  right: -6rem;
  bottom: -7rem;
  width: 15rem;
  height: 15rem;
  background: rgba(145, 185, 205, 0.10);
}

.scene-copy,
.scene-story,
.scene-gallery,
.scene > .media-placeholder {
  position: relative;
  z-index: 1;
}

.scene-number {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  color: #567765;
  font-size: 0.82rem;
}

.scene-number::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: rgba(36, 72, 58, 0.34);
}

.scene h3 {
  max-width: 14em;
  margin-bottom: 0.9rem;
  font-size: clamp(1.9rem, 7vw, 3.7rem);
  letter-spacing: -0.035em;
}

.scene-guide {
  max-width: 38rem;
  margin: 0;
}

.scene-story {
  max-width: 44rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(36, 72, 58, 0.22);
  color: #4f5953;
}

.scene-story p {
  margin-top: 0;
}

.quote-note {
  margin-bottom: 0;
  color: #78817b;
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.media-placeholder,
.basic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 12rem;
  padding: clamp(1rem, 4vw, 1.5rem);
  overflow: hidden;
  border: 1px solid rgba(36, 72, 58, 0.18);
  border-radius: clamp(0.85rem, 2.5vw, 1.35rem);
  color: #5f6d65;
  background:
    linear-gradient(145deg, rgba(145, 185, 205, 0.16), transparent 58%),
    #e9e6d8;
  box-shadow: 0 0.9rem 2.25rem rgba(40, 54, 46, 0.08);
}

.media-placeholder::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -38%;
  width: 82%;
  height: 72%;
  border-radius: 50% 50% 0 0;
  background: rgba(54, 91, 72, 0.10);
  transform: rotate(-7deg);
}

.placeholder-index,
.placeholder-name,
.media-placeholder > span {
  position: relative;
  z-index: 1;
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
}

.placeholder-index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-name {
  align-self: flex-end;
  font-size: 0.88rem;
}

.scene-hero {
  min-height: clamp(16rem, 68vw, 35rem);
}

@media (min-width: 52rem) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.8fr);
  }

  .scene {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }

  .scene-copy,
  .scene-story {
    grid-column: 1;
  }

  .scene-hero,
  .scene-gallery,
  .scene > .inline-media-placeholder,
  .scene > .inline-video-card {
    grid-column: 2;
  }

  .scene-hero {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 26.875rem) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .site-header {
    min-height: 92svh;
    padding-block: 1.5rem 2.5rem;
  }

  .site-header h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  .site-header .title-line {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .hero-layout {
    gap: 2rem;
  }

  .hero-placeholder {
    min-height: 15rem;
  }

  .scene {
    gap: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
  }

  .scene h3 {
    font-size: clamp(1.7rem, 8.6vw, 2.35rem);
  }

  .scene-hero {
    min-height: 14rem;
  }
}

/* Step 4D-2B-R3 · 剩余模块 */
.gallery-section .section-heading,
.media-section .section-heading,
.audio-section .section-heading {
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.75rem, 3vw, 1.5rem);
}

.gallery-placeholder {
  min-height: clamp(10rem, 42vw, 17rem);
  justify-content: flex-end;
  padding: clamp(0.85rem, 3vw, 1.25rem);
  color: #637069;
  background:
    linear-gradient(150deg, rgba(145, 185, 205, 0.18), transparent 56%),
    linear-gradient(25deg, rgba(60, 96, 75, 0.10), transparent 62%),
    #e9e5d7;
}

.gallery-placeholder::before {
  content: "影像位置";
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  z-index: 1;
  color: rgba(52, 77, 64, 0.64);
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gallery-tall {
  grid-row: span 2;
  min-height: clamp(21rem, 88vw, 35.5rem);
}

.gallery-wide {
  grid-column: 1 / -1;
  min-height: clamp(11rem, 48vw, 22rem);
}

.media-section {
  position: relative;
  color: #eef2ed;
  background:
    radial-gradient(circle at 80% 12%, rgba(145, 185, 205, 0.16), transparent 25rem),
    linear-gradient(150deg, #183127, #294b3d);
}

.media-section .section-label,
.media-section h2,
.media-section .section-intro {
  color: inherit;
}

.media-section .section-intro {
  color: rgba(238, 242, 237, 0.72);
}

.video-grid {
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: start;
}

.video-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: clamp(0.85rem, 2.5vw, 1.25rem);
  color: #eef2ed;
  background: rgba(10, 31, 23, 0.58);
  box-shadow: 0 1.25rem 3rem rgba(6, 23, 17, 0.22);
}

.video-card video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #0c1914;
}

.video-card.video-portrait video {
  aspect-ratio: 9 / 16;
  max-height: 34rem;
  object-fit: contain;
}

.video-card figcaption {
  padding: 1rem 1.05rem 1.15rem;
}

.video-card strong {
  display: block;
  margin-top: 0.35rem;
  color: inherit;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.45;
}

.video-card figcaption p {
  margin: 0.45rem 0 0;
  color: rgba(238, 242, 237, 0.7);
  font-size: 0.86rem;
  line-height: 1.7;
}

.video-kicker {
  color: #b9cdbf;
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.inline-video-card {
  color: #f5f3e9;
  background: #213d31;
}

.inline-video-card figcaption {
  padding: 0.9rem 1rem 1rem;
}

@media (min-width: 52rem) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.video-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  width: 100%;
  min-height: clamp(14rem, 54vw, 36rem);
  aspect-ratio: 16 / 9;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(8, 27, 20, 0.42);
  box-shadow: 0 1.8rem 4rem rgba(6, 23, 17, 0.28);
}

.video-placeholder::after {
  right: -8%;
  bottom: -45%;
  width: 70%;
  height: 72%;
  background: rgba(145, 185, 205, 0.10);
}

.play-symbol {
  display: grid;
  place-items: center;
  width: clamp(3.4rem, 12vw, 5.5rem);
  height: clamp(3.4rem, 12vw, 5.5rem);
  padding-left: 0.22rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fffdf7;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.16);
  font-family: system-ui, sans-serif;
  font-size: clamp(1rem, 4vw, 1.5rem);
}

.future-film {
  margin: 1rem 0 0;
  color: rgba(238, 242, 237, 0.62);
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-align: right;
}

.audio-list {
  display: grid;
  gap: 0.8rem;
}

.audio-placeholder {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(12rem, 0.85fr) minmax(18rem, 1.15fr);
  gap: clamp(0.75rem, 3vw, 1.25rem);
  align-items: center;
  min-height: 5rem;
  padding: 0.85rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(36, 72, 58, 0.14);
  border-radius: 1rem;
  color: #35423b;
  background: rgba(255, 253, 247, 0.82);
  box-shadow: 0 0.75rem 2rem rgba(42, 55, 48, 0.06);
  font-size: clamp(0.94rem, 2.8vw, 1.06rem);
}

.audio-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.audio-copy h3 {
  margin: 0 0 0.35rem;
  color: #294837;
  font-size: clamp(1rem, 2.8vw, 1.12rem);
  line-height: 1.35;
}

.audio-copy p {
  margin: 0;
  color: #6c746f;
  font-size: 0.86rem;
  line-height: 1.6;
}

.audio-card audio {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.audio-placeholder::after {
  content: "";
  position: absolute;
  right: 5.2rem;
  bottom: 1.3rem;
  width: min(23%, 8rem);
  height: 1px;
  opacity: 0.45;
  background: repeating-linear-gradient(90deg, #6c8a78 0 2px, transparent 2px 5px);
}

.audio-number {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(36, 72, 58, 0.26);
  border-radius: 50%;
  color: #315440;
  background: #eef0e6;
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
}

.audio-number::after {
  content: "▶";
  margin-left: 0.08rem;
  font-size: 0.62rem;
}

.audio-number {
  font-size: 0;
}

.audio-duration {
  position: relative;
  z-index: 1;
  color: #7b847f;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.letter {
  position: relative;
  display: grid;
  gap: clamp(2rem, 7vw, 5rem);
  padding: clamp(2rem, 8vw, 6rem);
  overflow: hidden;
  border: 1px solid rgba(123, 97, 64, 0.15);
  border-radius: clamp(1rem, 3vw, 1.75rem);
  background:
    linear-gradient(rgba(137, 111, 77, 0.055) 1px, transparent 1px) 0 2.35rem / 100% 2.35rem,
    #fffaf0;
  box-shadow: 0 1.5rem 4rem rgba(68, 55, 39, 0.09);
}

.letter::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(1rem, 4vw, 3rem);
  width: 1px;
  background: rgba(172, 104, 83, 0.18);
}

.letter-mark {
  align-self: start;
  color: rgba(67, 83, 73, 0.26);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  writing-mode: vertical-rl;
}

.letter-copy {
  position: relative;
  z-index: 1;
  max-width: 43rem;
}

.letter-copy h2 {
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
}

.letter-placeholder {
  margin: 0;
  color: #545a55;
  font-size: clamp(1.05rem, 3vw, 1.22rem);
  line-height: 2.05;
}

.letter-signature {
  margin: clamp(2.5rem, 8vw, 4.5rem) 0 0;
  color: #77766e;
  font-size: 0.9rem;
  text-align: right;
}

.archive {
  max-width: 68rem;
}

.archive-card {
  position: relative;
  padding: clamp(1.5rem, 6vw, 4rem);
  overflow: hidden;
  border: 1px solid rgba(36, 72, 58, 0.14);
  border-radius: clamp(1rem, 3vw, 1.75rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(145, 185, 205, 0.16), transparent 15rem),
    rgba(255, 253, 247, 0.88);
  box-shadow: 0 1.25rem 3.5rem rgba(38, 52, 44, 0.08);
}

.archive-card::after {
  content: "家庭档案";
  position: absolute;
  right: -0.8rem;
  bottom: 1.5rem;
  color: rgba(36, 72, 58, 0.055);
  font-size: clamp(3.2rem, 11vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.archive-card > * {
  position: relative;
  z-index: 1;
}

.archive-card dl {
  margin: clamp(2rem, 6vw, 3.5rem) 0;
  border-radius: 1rem;
}

.archive-return {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(36, 72, 58, 0.16);
  border-radius: 0.85rem;
  color: #315440;
  background: rgba(238, 240, 230, 0.78);
  font-weight: 700;
}

.archive-return span {
  color: #7c857f;
  font-size: 0.76rem;
  font-weight: 400;
}

@media (min-width: 44rem) {
  .photo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-tall {
    grid-row: span 2;
  }

  .gallery-wide {
    grid-column: span 2;
  }

  .letter {
    grid-template-columns: minmax(4rem, 0.25fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 26.875rem) {
  .photo-wall {
    gap: 0.65rem;
  }

  .gallery-placeholder {
    min-height: 8.5rem;
    border-radius: 0.8rem;
  }

  .gallery-tall {
    min-height: 17.65rem;
  }

  .gallery-wide {
    min-height: 10rem;
  }

  .video-placeholder {
    min-height: 12rem;
  }

  .audio-placeholder {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    padding-inline: 0.75rem;
  }

  .audio-card audio {
    grid-column: 1 / -1;
  }

  .audio-placeholder::after {
    display: none;
  }

  .letter {
    gap: 1.5rem;
    padding: 1.5rem 1.25rem 2rem;
  }

  .letter-mark {
    font-size: 2.5rem;
    writing-mode: horizontal-tb;
  }

  .archive-card {
    padding: 1.25rem;
  }

  .archive-return {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Step 4D-3A · 正文图片 */
.hero-photo,
.scene-visual,
.photo-card {
  margin: 0;
}

.hero-photo {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #d9ded5;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-photo figcaption,
.scene-visual figcaption {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 1.8rem);
  margin-left: auto;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
  color: #fffdf7;
  background: rgba(19, 42, 32, 0.72);
  box-shadow: 0 0.4rem 1.2rem rgba(8, 25, 18, 0.16);
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: clamp(0.72rem, 2vw, 0.86rem);
  line-height: 1.45;
}

.scene-visual {
  position: relative;
  min-height: clamp(16rem, 68vw, 35rem);
  overflow: hidden;
  border: 1px solid rgba(36, 72, 58, 0.16);
  border-radius: clamp(0.85rem, 2.5vw, 1.35rem);
  background: #dfe3da;
  box-shadow: 0 0.9rem 2.25rem rgba(40, 54, 46, 0.10);
}

.scene-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.scene-visual.scene-portrait img {
  object-fit: contain;
  background: #dfe3da;
}

.scene-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 2.5vw, 1.15rem);
}

.photo-card {
  overflow: hidden;
  border: 1px solid rgba(36, 72, 58, 0.13);
  border-radius: clamp(0.75rem, 2vw, 1rem);
  background: #fffdf7;
  box-shadow: 0 0.6rem 1.5rem rgba(42, 55, 48, 0.07);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #e4e4da;
}

.photo-card figcaption {
  min-height: 3.8rem;
  padding: 0.7rem 0.8rem 0.8rem;
  color: #606a64;
  font-size: clamp(0.72rem, 2.1vw, 0.84rem);
  line-height: 1.55;
}

.photo-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.photo-card:last-child:nth-child(odd) img {
  aspect-ratio: 16 / 8;
}

@media (min-width: 52rem) {
  .scene-visual {
    min-height: 35rem;
  }

  .scene-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 26.875rem) {
  .hero-photo figcaption,
  .scene-visual figcaption {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    max-width: calc(100% - 1.3rem);
  }

  .scene-visual {
    min-height: 14rem;
  }

  .scene-gallery {
    gap: 0.6rem;
  }

  .photo-card figcaption {
    min-height: 4.3rem;
    padding: 0.55rem 0.6rem 0.65rem;
    font-size: 0.7rem;
  }
}

/* Step 4D-3B: 照片墙 */
.gallery-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 72, 58, 0.13);
  border-radius: clamp(0.8rem, 2vw, 1.05rem);
  background: #fffdf7;
  box-shadow: 0 0.65rem 1.65rem rgba(42, 55, 48, 0.08);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #e4e4da;
}

.gallery-card figcaption {
  min-height: 3.7rem;
  padding: 0.72rem 0.82rem 0.84rem;
  color: #5d6962;
  font-size: clamp(0.72rem, 2vw, 0.84rem);
  line-height: 1.55;
}

.gallery-card.gallery-tall {
  grid-row: auto;
  min-height: 0;
}

.gallery-card.gallery-tall img {
  aspect-ratio: 3 / 4;
}

.gallery-card.gallery-wide {
  min-height: 0;
}

.gallery-card.gallery-wide img {
  aspect-ratio: 16 / 9;
}

.gallery-more {
  margin-top: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid rgba(36, 72, 58, 0.16);
  border-radius: 1rem;
  background: rgba(255, 253, 247, 0.72);
  box-shadow: 0 0.55rem 1.5rem rgba(42, 55, 48, 0.06);
}

.gallery-more summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.6rem;
  padding: 0.85rem 1rem;
  color: #355846;
  cursor: pointer;
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-weight: 650;
  letter-spacing: 0.04em;
  list-style: none;
}

.gallery-more summary::-webkit-details-marker {
  display: none;
}

.gallery-more summary::before {
  content: "+";
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fffdf7;
  background: #496b58;
  font-size: 1.05rem;
  line-height: 1;
}

.gallery-more[open] summary::before {
  content: "\2212";
}

.gallery-more-count {
  margin-left: auto;
  color: #758078;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.photo-wall-more {
  padding: 0 1rem 1rem;
}

@media (min-width: 44rem) {
  .photo-wall,
  .photo-wall-more {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-card.gallery-wide {
    grid-column: span 2;
  }
}

@media (max-width: 22rem) {
  .photo-wall,
  .photo-wall-more {
    grid-template-columns: 1fr;
  }

  .gallery-card.gallery-wide {
    grid-column: auto;
  }

  .gallery-card.gallery-wide img {
    aspect-ratio: 4 / 3;
  }
}
