/* ============================================================
   饼干姐姐 · 人物影像杂志 | 全站设计系统
   结构：基础变量 → 布局 → 导航 → 首页 → 文章 → 响应式
   ============================================================ */
:root {
  --ink: #302c2a;
  --muted: #776d66;
  --paper: #fffdf9;
  --cream: #f7f1ea;
  --warm: #ece0d5;
  --accent: #af6c51;
  --line: #e7ded6;
  --width: 1180px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
img {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p {
  margin-top: 0;
}
h1, h2, h3 {
  line-height: 1.35;
}
.container {
  width: min(var(--width), calc(100% - 44px));
  margin: 0 auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 10px;
  background: #fff;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,253,249,.98);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 23px;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
  font-weight: 500;
  margin-top: -5px;
}
.site-nav {
  display: flex;
  gap: clamp(12px,2vw,32px);
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
}
.site-nav a {
  padding: 10px 0;
}
.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.hero {
  padding: 42px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  min-height: 520px;
  background: var(--cream);
}
.hero-copy {
  padding: clamp(36px, 5vw, 75px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero-copy h1 {
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: clamp(35px, 4.3vw, 58px);
  letter-spacing: .025em;
  margin: 17px 0 22px;
}
.hero-copy p {
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
}
.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero-visual span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  padding: 9px 17px;
  background: rgba(255,253,249,.9);
  color: #544a45;
  font-size: 12px;
  letter-spacing: .08em;
}
.button {
  display: inline-block;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  padding: 11px 24px;
  margin-top: 17px;
  font-size: 14px;
}
.button:hover {
  color: #fff;
  background: var(--accent);
}
.section {
  padding: 38px 0 74px;
}
.section-soft {
  background: var(--cream);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-weight: 600;
  font-size: clamp(25px,3vw,37px);
  margin: 8px 0 0;
}
.section-head p {
  color: var(--muted);
  max-width: 510px;
  margin: 0;
  font-size: 14px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.topic-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s, border-color .2s;
}
.topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.topic-num {
  color: var(--accent);
  font-family: Georgia, serif;
}
.topic-card h3 {
  margin: 14px 0 6px;
  font-size: 21px;
}
.topic-card p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
.category-list {
  padding-bottom: 90px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 19px;
}
.story-card {
  min-width: 0;
}
.story-card img {
  width: 100%;
  aspect-ratio: 9/11;
  object-fit: cover;
  background: var(--warm);
}
.story-card .tag {
  display: block;
  font-size: 12px;
  color: var(--accent);
  margin: 12px 0 5px;
}
.story-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
.story-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.feature-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 35px;
  align-items: center;
}
.feature-strip h2 {
  font-size: clamp(25px,3.2vw,40px);
  font-family: Georgia, "Songti SC", serif;
}
.feature-strip p {
  color: var(--muted);
}
.feature-note {
  padding: 35px;
  border-left: 2px solid var(--accent);
  background: #fff;
}
.feature-note strong {
  display: block;
  margin-bottom: 10px;
}
.feature-note a {
  border-bottom: 1px solid var(--accent);
}
.breadcrumb {
  padding: 26px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--accent);
}
.page-intro {
  max-width: 850px;
  padding: 55px 0 35px;
}
.page-intro h1 {
  font: 600 clamp(31px,4vw,49px)/1.3 Georgia, "Songti SC", serif;
  margin: 10px 0 19px;
}
.page-intro p {
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0,760px) minmax(210px,1fr);
  gap: 65px;
  padding-bottom: 80px;
}
.article-body {
  font-size: 16px;
}
.article-body h2 {
  font-size: 25px;
  margin: 38px 0 14px;
}
.article-body p {
  margin-bottom: 22px;
}
.article-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center 39%;
}
.sidebar {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  font-size: 14px;
}
.sidebar a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.editorial-disclaimer {
  font-size: 13px;
  color: var(--muted);
  background: var(--cream);
  padding: 15px 18px;
}
.site-footer {
  padding: 45px 0 25px;
  border-top: 1px solid var(--line);
  background: #302c2a;
  color: #fff;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner p, .footer-bottom {
  color: #c9bcb3;
  font-size: 13px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid #554a44;
  margin-top: 28px;
  padding-top: 18px;
}
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    padding: 18px 0;
    gap: 10px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 400px;
  }
  .topic-grid, .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, var(--width));
  }
  .site-nav {
    justify-content: center;
    gap: 8px 16px;
    font-size: 12px;
  }
  .hero {
    padding: 20px 0 38px;
  }
  .hero-copy {
    padding: 30px 25px;
  }
  .hero-visual {
    min-height: 270px;
  }
  .section {
    padding: 32px 0 48px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .topic-grid {
    gap: 10px;
  }
  .topic-card {
    min-height: 175px;
    padding: 17px;
  }
  .topic-card h3 {
    font-size: 18px;
  }
  .story-grid {
    gap: 24px 12px;
  }
  .story-card h3 {
    font-size: 15px;
  }
  .story-card p {
    font-size: 12px;
  }
  .feature-strip {
    grid-template-columns: 1fr;
  }
  .page-intro {
    padding-top: 35px;
  }
}
