/* ============================================================
   文体两开花 · Vintage Analog 复古胶片主题
   Primary: #f5e6c8 | Accent: #d4a574 | Dark: #262117
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&family=Comic+Neue:wght@300;400;700&display=swap');

/* ── 基础变量 ── */
:root {
  --clr-bg:       #f5e6c8;
  --clr-bg-warm:  #ede0b8;
  --clr-accent:   #d4a574;
  --clr-dark:     #262117;
  --clr-mid:      #5a4a30;
  --clr-light:    #fdf6e8;
  --clr-border:   #c8a86a;
  --clr-muted:    #8a7055;
  --ff-main:      'Baloo 2', 'Comic Neue', Georgia, serif;
  --fw-reg:       400;
  --fw-med:       600;
  --fw-bold:      700;
  --radius:       0;
  --max-w:        1100px;
  --gutter:       1.5rem;
  --nav-h:        64px;
  --transition:   0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--clr-bg); color: var(--clr-dark); font-family: var(--ff-main); font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--clr-accent); }
ul, ol { padding-left: 1.4em; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── 辅助 ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ── Film grain overlay ── */
.grain-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

/* ── Light leak ── */
.light-leak {
  position: fixed; top: 0; left: 0; width: 100%; height: 40%;
  pointer-events: none; z-index: 998;
  background: linear-gradient(135deg, rgba(255,200,100,0.08) 0%, transparent 60%);
  animation: lightLeakAnim 8s ease-in-out infinite alternate;
}
.light-leak--alt {
  background: linear-gradient(225deg, rgba(212,165,116,0.07) 0%, transparent 55%);
  animation-delay: -3s;
}
@keyframes lightLeakAnim {
  0%   { opacity: 0.4; transform: scaleX(1); }
  100% { opacity: 1;   transform: scaleX(1.05); }
}

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--clr-dark);
  border-bottom: 3px solid var(--clr-accent);
  height: var(--nav-h);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand-name {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand-name:hover { color: var(--clr-bg); }

/* 导航：nav > p > a */
.main-nav { flex: 1; overflow: hidden; }
.main-nav p {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: center;
}
.main-nav p::-webkit-scrollbar { display: none; }
.main-nav p a {
  display: inline-block;
  padding: 0 0.85rem;
  height: var(--nav-h);
  line-height: var(--nav-h);
  color: var(--clr-bg);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: var(--fw-med);
  white-space: nowrap;
  border-right: 1px solid rgba(212,165,116,0.2);
  transition: background var(--transition), color var(--transition);
}
.main-nav p a:last-child { border-right: none; }
.main-nav p a:hover,
.main-nav p a[aria-current="page"] {
  background: var(--clr-accent);
  color: var(--clr-dark);
}

/* 搜索 */
.nav-search { flex-shrink: 0; }
.search-input {
  background: rgba(245,230,200,0.12);
  border: 1px solid var(--clr-border);
  color: var(--clr-bg);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  width: 160px;
  outline: none;
  border-radius: 0;
  transition: background var(--transition);
}
.search-input::placeholder { color: var(--clr-muted); }
.search-input:focus { background: rgba(245,230,200,0.2); }

/* ── Sticky subnav (section pages) ── */
.sticky-subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 190;
  background: var(--clr-bg-warm);
  border-bottom: 2px solid var(--clr-accent);
}
.subnav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-link {
  display: inline-block;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: var(--fw-med);
  color: var(--clr-mid);
  text-decoration: none;
  border-right: 1px solid var(--clr-border);
  white-space: nowrap;
  min-height: 40px;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
}
.subnav-link:last-child { border-right: none; }
.subnav-link:hover { background: var(--clr-accent); color: var(--clr-dark); }

/* ── Eyebrow tags ── */
.eyebrow-tag {
  display: inline-block;
  background: var(--clr-accent);
  color: var(--clr-dark);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.5rem;
  text-transform: none;
}

/* ── Two-column layout base ── */
.two-col {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ── Left aside (all pages) ── */
.left-aside {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  background: var(--clr-light);
  border: 2px solid var(--clr-border);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.left-aside h3 {
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  margin: 0.8rem 0 0.3rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--clr-border);
}
.left-aside h3:first-child { margin-top: 0; }
.left-aside h3 span { display: inline; }
.aside-link {
  display: block;
  padding: 0.3rem 0.4rem;
  font-size: 0.85rem;
  color: var(--clr-mid);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: border-color var(--transition), color var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.aside-link:hover {
  border-left-color: var(--clr-accent);
  color: var(--clr-dark);
}
.aside-link--parent { font-weight: var(--fw-med); }

/* ── Tags ── */
.tag-pill {
  display: inline-block;
  border: 1px solid var(--clr-border);
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  color: var(--clr-mid);
  text-decoration: none;
  margin: 0.15rem 0.1rem;
  transition: background var(--transition), color var(--transition);
}
.tag-pill:hover,
.tag-pill--active {
  background: var(--clr-accent);
  color: var(--clr-dark);
  border-color: var(--clr-accent);
}

/* ── Page content body ── */
.page-content-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--clr-dark);
}
.page-content-body h2,
.page-content-body h3 {
  margin: 1.8em 0 0.6em;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}
.page-content-body h2 { font-size: 1.35rem; border-bottom: 2px solid var(--clr-accent); padding-bottom: 0.3rem; }
.page-content-body h3 { font-size: 1.1rem; }
.page-content-body p  { margin: 0.85em 0; }
.page-content-body ul,
.page-content-body ol { margin: 0.85em 0; }
.page-content-body li { margin: 0.3em 0; }
.page-content-body a  { color: var(--clr-mid); font-weight: var(--fw-med); }
.page-content-body a:hover { color: var(--clr-accent); }
.page-content-body blockquote {
  border-left: 4px solid var(--clr-accent);
  padding: 0.5em 1em;
  background: var(--clr-light);
  margin: 1em 0;
  color: var(--clr-mid);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--clr-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  min-height: 40px;
  line-height: 40px;
}
.breadcrumb:hover { color: var(--clr-accent); }

/* ══════════════════════════════
   HOME page
══════════════════════════════ */
.home-main { }

/* Hero */
.hero-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 45vh;
}
.hero-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--clr-accent);
  background: var(--clr-dark);
  min-height: 200px;
}
.film-strip {
  width: 80px;
  height: 140px;
  background: repeating-linear-gradient(
    to bottom,
    var(--clr-dark) 0, var(--clr-dark) 10px,
    var(--clr-accent) 10px, var(--clr-accent) 12px
  );
  position: relative;
  border: 2px solid var(--clr-border);
}
.film-strip::before,
.film-strip::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px;
  height: 18px;
  background: var(--clr-bg);
}
.film-strip::before { top: 8px; }
.film-strip::after  { bottom: 8px; }

.hero-aside { }
.hero-aside h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: var(--fw-bold);
  line-height: 1.25;
  margin-bottom: 0.6rem;
  color: var(--clr-dark);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--clr-mid);
  max-width: 520px;
  margin-bottom: 1.2rem;
}
.cta-btn {
  display: inline-block;
  background: var(--clr-dark);
  color: var(--clr-accent);
  padding: 0.65rem 1.4rem;
  font-weight: var(--fw-bold);
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--clr-accent);
  transition: background var(--transition), color var(--transition);
  min-height: 44px;
  line-height: 1.4;
}
.cta-btn:hover {
  background: var(--clr-accent);
  color: var(--clr-dark);
}

/* Home content + aside */
.content-body-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  border-top: 2px solid var(--clr-border);
}

/* Sections grid */
.sections-grid-section {
  background: var(--clr-dark);
  padding: 3rem var(--gutter);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  max-width: 100%;
}
.section-deco {
  display: flex;
  align-items: flex-start;
  padding-top: 1rem;
}
.reel-deco {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid var(--clr-accent);
  position: relative;
}
.reel-deco::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  background: var(--clr-dark);
}
.sections-grid {
  max-width: calc(var(--max-w) - 80px - 2rem);
}
.sections-grid h2 {
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--clr-accent);
  padding-bottom: 0.4rem;
}
.sec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.sec-card {
  background: rgba(245,230,200,0.06);
  border: 2px solid var(--clr-border);
  padding: 1.25rem;
  transition: border-color var(--transition), background var(--transition);
}
.sec-card:hover {
  border-color: var(--clr-accent);
  background: rgba(212,165,116,0.1);
}
.sec-card h3 {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  margin-bottom: 0.5rem;
}
.sec-card h3 span { display: inline; }
.sec-desc { font-size: 0.85rem; color: var(--clr-bg); margin-bottom: 0.5rem; line-height: 1.5; }
.sec-count { font-size: 0.78rem; color: var(--clr-muted); margin-bottom: 0.6rem; }
.sec-link {
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--transition);
}
.sec-link:hover { color: var(--clr-bg); }

/* Recent stories */
.recent-stories-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  border-top: 2px solid var(--clr-border);
}
.stories-aside { }
.stories-aside h3 {
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 0.2rem;
}
.stories-aside h3 span { display: inline; }
.stories-list h2 {
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--clr-accent);
  padding-bottom: 0.3rem;
}
.stories-list h2 span { display: inline; }
.story-item {
  border-bottom: 1px solid var(--clr-border);
  padding: 1rem 0;
}
.story-item:last-child { border-bottom: none; }
.story-meta { font-size: 0.78rem; color: var(--clr-muted); margin-bottom: 0.25rem; }
.story-item h3 { font-size: 1rem; font-weight: var(--fw-med); margin-bottom: 0.35rem; }
.story-item h3 span { display: inline; }
.story-item h3 a { text-decoration: none; color: var(--clr-dark); }
.story-item h3 a:hover { color: var(--clr-accent); }
.story-item p { font-size: 0.88rem; color: var(--clr-mid); line-height: 1.55; }

/* ══════════════════════════════
   SECTION page
══════════════════════════════ */
.section-hero-band {
  background: var(--clr-dark);
  padding: 2.5rem var(--gutter);
  max-width: 100%;
  display: grid;
  grid-template-columns: auto 80px 1fr;
  gap: 1.5rem;
  align-items: center;
}
.section-badge {
  background: var(--clr-accent);
  padding: 0.4rem 0.75rem;
  align-self: flex-start;
  margin-top: 0.25rem;
}
.badge-label {
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  color: var(--clr-dark);
  letter-spacing: 0.1em;
}
.section-tape { display: flex; align-items: center; }
.tape-reel {
  width: 56px;
  height: 56px;
  border: 3px solid var(--clr-accent);
  border-radius: 50%;
  position: relative;
}
.tape-reel::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--clr-accent);
  opacity: 0.3;
}
.section-hero-text h1 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  margin-bottom: 0.5rem;
}
.section-hero-desc { font-size: 0.95rem; color: var(--clr-bg); line-height: 1.6; }

.section-body-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
}
.section-content { }
.child-index { margin-top: 2.5rem; }
.child-index h2 {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--clr-accent);
  padding-bottom: 0.3rem;
}
.child-index h2 span { display: inline; }

/* dl > dt > a + dd  (契约结构) */
.child-dl { }
.child-dl dt {
  margin-top: 1.1rem;
}
.child-dl dt a {
  font-size: 1.05rem;
  font-weight: var(--fw-med);
  color: var(--clr-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--transition);
}
.child-dl dt a:hover { color: var(--clr-accent); }
.child-dl dd {
  margin: 0.3rem 0 0 0.5rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--clr-border);
}
.child-desc { font-size: 0.88rem; color: var(--clr-mid); line-height: 1.55; }
.child-meta { font-size: 0.78rem; color: var(--clr-muted); margin-top: 0.2rem; }
.child-meta time { font-style: italic; }

/* ══════════════════════════════
   STORY page
══════════════════════════════ */
.story-main { }
.story-header-section {
  background: var(--clr-dark);
  padding: 2.5rem var(--gutter);
  max-width: 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
.story-hero-figure {
  border: 4px solid var(--clr-accent);
  overflow: hidden;
  background: var(--clr-dark);
  position: relative;
}
.story-hero-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: sepia(0.3) contrast(1.1) saturate(0.85); }
.story-hero-placeholder {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-film {
  width: 80px;
  height: 120px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0, transparent 8px,
    var(--clr-accent) 8px, var(--clr-accent) 10px
  );
  border: 2px solid var(--clr-border);
  opacity: 0.5;
}
.story-header-aside h1 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  margin: 0.5rem 0 0.6rem;
  line-height: 1.3;
}
.story-lede { font-size: 0.95rem; color: var(--clr-bg); margin-bottom: 0.75rem; line-height: 1.6; }
.story-meta-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.4rem; }
.meta-item { font-size: 0.8rem; color: var(--clr-muted); font-style: italic; }
.meta-item time { font-style: normal; }
.story-tags { margin-top: 0.5rem; }

.story-body-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
}
.story-content { }
.story-article { }
.story-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--clr-dark);
}
.story-body h2 { font-size: 1.3rem; margin: 1.8em 0 0.6em; border-bottom: 2px solid var(--clr-accent); padding-bottom: 0.2rem; }
.story-body h3 { font-size: 1.1rem; margin: 1.5em 0 0.5em; }
.story-body p  { margin: 0.85em 0; }
.story-body a  { color: var(--clr-mid); font-weight: var(--fw-med); }
.story-body a:hover { color: var(--clr-accent); }
.story-body ul, .story-body ol { margin: 0.85em 0; }
.story-body li { margin: 0.3em 0; }
.story-body blockquote {
  border-left: 4px solid var(--clr-accent);
  padding: 0.5em 1em;
  background: var(--clr-light);
  margin: 1em 0;
  color: var(--clr-mid);
}
.story-footer-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--clr-border);
}
.updated-note { font-size: 0.8rem; color: var(--clr-muted); font-style: italic; margin-bottom: 0.5rem; }

/* ══════════════════════════════
   TAG page
══════════════════════════════ */
.tag-main { }
.tag-header-section {
  background: var(--clr-dark);
  padding: 2.5rem var(--gutter);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: center;
}
.tag-deco { display: flex; align-items: center; }
.tag-film-strip {
  width: 40px;
  height: 100px;
  background: repeating-linear-gradient(
    to bottom,
    var(--clr-accent) 0, var(--clr-accent) 3px,
    transparent 3px, transparent 14px
  );
  border: 2px solid var(--clr-border);
}
.tag-header-aside h1 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  margin: 0.5rem 0 0.5rem;
}
.tag-header-aside p { color: var(--clr-bg); font-size: 0.95rem; }

.tag-body-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
}
.tag-content { }
.tag-story-list { margin-top: 2rem; }
.tag-story-list h2 {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--clr-accent);
  padding-bottom: 0.3rem;
}
.tag-story-list h2 span { display: inline; }
.empty-note { color: var(--clr-muted); font-size: 0.9rem; margin-top: 1rem; }

/* ══════════════════════════════
   ABOUT page
══════════════════════════════ */
.about-main { }
.about-header-section {
  background: var(--clr-dark);
  padding: 2.5rem var(--gutter);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: center;
}
.about-polaroid {
  border: 4px solid var(--clr-bg);
  background: var(--clr-bg);
  padding: 8px 8px 32px;
  box-shadow: 3px 3px 0 var(--clr-accent);
  transform: rotate(-2deg);
}
.polaroid-inner {
  width: 120px;
  height: 100px;
  background: linear-gradient(135deg, var(--clr-mid) 0%, var(--clr-dark) 100%);
  border: 1px solid var(--clr-border);
}
.polaroid-caption {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: var(--clr-mid);
  margin-top: 4px;
  font-family: 'Comic Neue', cursive;
}
.about-header-aside h1 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  margin: 0.5rem 0 0.6rem;
}
.about-lede { color: var(--clr-bg); font-size: 0.95rem; line-height: 1.6; }

.about-body-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
}
.about-content { }

/* ══════════════════════════════
   PRIVACY page
══════════════════════════════ */
.privacy-main { }
.privacy-header-section {
  background: var(--clr-dark);
  padding: 2.5rem var(--gutter);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: center;
}
.privacy-deco { display: flex; align-items: center; }
.film-perfs {
  width: 30px;
  height: 80px;
  background: repeating-linear-gradient(
    to bottom,
    var(--clr-bg) 0, var(--clr-bg) 6px,
    var(--clr-dark) 6px, var(--clr-dark) 14px
  );
  border: 1px solid var(--clr-border);
}
.privacy-header-aside h1 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  margin: 0.4rem 0 0.5rem;
}
.privacy-header-aside p { color: var(--clr-bg); font-size: 0.9rem; }

.privacy-body-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
}
.privacy-content { }

/* ══════════════════════════════
   DEFAULT page
══════════════════════════════ */
.default-main { }
.default-header-section {
  background: var(--clr-dark);
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: center;
}
.default-deco { display: flex; align-items: center; }
.default-header-aside h1 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  margin: 0.4rem 0 0.5rem;
}
.default-header-aside p { color: var(--clr-bg); font-size: 0.9rem; }
.default-body-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
}
.default-content { }

/* ══════════════════════════════
   Footer (仅 p + small)
══════════════════════════════ */
.site-footer {
  background: var(--clr-dark);
  border-top: 4px solid var(--clr-accent);
  padding: 3rem var(--gutter) 2rem;
  max-width: 100%;
}
.footer-brand {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  font-family: var(--ff-main);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  opacity: 0.85;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--clr-muted);
  max-width: 480px;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.footer-copy {
  display: block;
  font-size: 0.78rem;
  color: var(--clr-muted);
  border-top: 1px solid rgba(212,165,116,0.25);
  padding-top: 1rem;
}
.footer-copy a {
  color: var(--clr-border);
  text-decoration: none;
  margin: 0 0.25rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.footer-copy a:hover { color: var(--clr-accent); }

/* ══════════════════════════════
   Stagger animations
══════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .stagger-item {
    opacity: 0;
    transform: translateY(16px);
    animation: staggerFadeUp 0.45s ease forwards;
  }
  .stagger-item:nth-child(1) { animation-delay: 0.05s; }
  .stagger-item:nth-child(2) { animation-delay: 0.12s; }
  .stagger-item:nth-child(3) { animation-delay: 0.19s; }
  .stagger-item:nth-child(4) { animation-delay: 0.26s; }
  .stagger-item:nth-child(5) { animation-delay: 0.33s; }
  .stagger-item:nth-child(6) { animation-delay: 0.40s; }
  @keyframes staggerFadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  .sec-card:hover .sec-link,
  .story-item h3 a:hover,
  .child-dl dt a:hover {
    text-decoration: underline;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stagger-item { opacity: 1; transform: none; animation: none; }
  .light-leak   { animation: none; }
}

/* ══════════════════════════════
   h2 > span 标题装饰 (契约)
══════════════════════════════ */
h2 > span, h3 > span {
  display: inline;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}
h2:hover > span { border-bottom-color: var(--clr-accent); }
.sections-grid h2 > span { border-bottom-color: var(--clr-accent); }

/* ══════════════════════════════
   Inline tag
══════════════════════════════ */
.inline-tag {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--clr-bg-warm);
  border: 1px solid var(--clr-border);
  padding: 0.1rem 0.4rem;
  color: var(--clr-muted);
  margin-left: 0.25rem;
}

/* ══════════════════════════════
   Responsive
══════════════════════════════ */
@media (max-width: 900px) {
  .hero-section          { grid-template-columns: 120px 1fr; gap: 1.2rem; }
  .content-body-section,
  .section-body-wrap,
  .story-body-section,
  .tag-body-section,
  .about-body-section,
  .privacy-body-section,
  .default-body-section,
  .recent-stories-section { grid-template-columns: 180px 1fr; gap: 1.5rem; }
  .story-header-section  { grid-template-columns: 220px 1fr; }
  .section-hero-band     { grid-template-columns: auto 60px 1fr; }
  .sections-grid-section { grid-template-columns: 60px 1fr; }
}

@media (max-width: 680px) {
  :root { --nav-h: 56px; }

  .header-inner { gap: 0.75rem; }
  .main-nav p a { padding: 0 0.55rem; font-size: 0.8rem; }
  .search-input { width: 110px; font-size: 0.8rem; }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem var(--gutter) 1.5rem;
  }
  .hero-figure { display: none; }
  .hero-aside h1 { font-size: 1.5rem; }

  .content-body-section,
  .section-body-wrap,
  .story-body-section,
  .tag-body-section,
  .about-body-section,
  .privacy-body-section,
  .default-body-section,
  .recent-stories-section {
    grid-template-columns: 1fr;
  }
  .left-aside, .story-sidebar, .stories-aside {
    position: static;
    border: 2px solid var(--clr-border);
  }

  .story-header-section {
    grid-template-columns: 1fr;
  }
  .story-hero-figure { min-height: 160px; }

  .section-hero-band {
    grid-template-columns: auto 1fr;
  }
  .section-tape { display: none; }

  .sections-grid-section {
    grid-template-columns: 1fr;
    padding: 2rem var(--gutter);
  }
  .section-deco { display: none; }

  .about-header-section {
    grid-template-columns: 1fr;
  }
  .about-polaroid { display: none; }

  .privacy-header-section,
  .default-header-section,
  .tag-header-section {
    grid-template-columns: 1fr;
  }
  .privacy-deco, .default-deco, .tag-deco { display: none; }

  .footer-brand { font-size: 2.2rem; }
  .sec-cards { grid-template-columns: 1fr; }

  .subnav-inner { padding: 0 0.75rem; }
  .subnav-link  { font-size: 0.78rem; padding: 0.45rem 0.6rem; }
}

@media (max-width: 400px) {
  .main-nav p a { padding: 0 0.4rem; font-size: 0.75rem; }
  .search-input { width: 80px; }
  .hero-aside h1 { font-size: 1.3rem; }
}
