@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* =============================================
   CSS 自定义属性
   ============================================= */
:root {
  --c-paper: #fafaf8;
  --c-mid: #4a4a4a;
  --c-ink: #1a1a1a;
  --c-rule: #2a2a2a;
  --c-muted: #6a6a6a;
  --c-bg-off: #f0efe8;
  --c-accent: #1a1a1a;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --radius-card: 28px;
  --max-w: 1120px;
  --max-w-prose: 720px;
  --gap: 2rem;
  --hdr-h: 80px;
}

/* =============================================
   重置
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: .75; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* =============================================
   手绘 / 草稿质感辅助
   ============================================= */
.ink-border {
  border: 2px solid var(--c-ink);
  border-radius: 2px;
}

/* 略微倾斜的标签装饰 */
.hero-badge,
.banner-label,
.about-stamp,
.privacy-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1.5px solid var(--c-ink);
  padding: .25rem .75rem;
  transform: rotate(-1.2deg);
  background: var(--c-paper);
  margin-bottom: 1.2rem;
  position: relative;
}

/* =============================================
   站点外框
   ============================================= */
.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =============================================
   页头（两行结构）
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-paper);
  border-bottom: 2px solid var(--c-ink);
}

.header-brand {
  padding: .75rem 1.5rem .5rem;
  border-bottom: 1px solid var(--c-bg-off);
}

.brand-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.brand-logo-img {
  height: 36px;
  width: auto;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-ink);
}

.header-nav-row {
  padding: .4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
}

/* 汉堡按钮 */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid var(--c-ink);
  padding: .5rem .6rem;
  transform: rotate(.5deg);
}

.burger-line {
  display: block;
  height: 2px;
  background: var(--c-ink);
  width: 100%;
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   全屏遮罩菜单
   ============================================= */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--c-ink);
  color: var(--c-paper);
  display: flex;
  flex-direction: column;
  padding: 2rem 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
}

.fullscreen-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.menu-close {
  align-self: flex-end;
  background: transparent;
  border: 1.5px solid var(--c-paper);
  color: var(--c-paper);
  font-family: var(--font-sans);
  font-size: .9rem;
  padding: .5rem 1.2rem;
  min-height: 44px;
  letter-spacing: .08em;
  margin-bottom: 2.5rem;
  transform: rotate(-.8deg);
}

.menu-nav dl {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.menu-nav dt.menu-brand-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-paper);
  opacity: .5;
  margin-bottom: .75rem;
  letter-spacing: .02em;
}

.menu-nav dd a {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--c-paper);
  text-decoration: none;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(250,250,248,.12);
  min-height: 44px;
  line-height: 1.3;
}

.menu-nav dd a:hover {
  opacity: .7;
  padding-left: .5rem;
}

/* =============================================
   Hero（首页）
   ============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-ink);
  color: var(--c-paper);
  overflow: hidden;
  text-align: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  filter: grayscale(80%) contrast(1.15);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2rem 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--c-paper);
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(250,250,248,.82);
  max-width: 560px;
  margin: 0 auto;
}

/* 斜切底边 */
.hero-clip {
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 80px;
  background: var(--c-paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}

/* =============================================
   首页内容区
   ============================================= */
.home-content-section {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 4rem auto;
  padding: 0 1.5rem;
  align-items: start;
}

.home-aside {
  position: sticky;
  top: calc(var(--hdr-h) + 1rem);
  border: 2px solid var(--c-ink);
  padding: 1.5rem;
  transform: rotate(-.4deg);
  background: var(--c-paper);
}

.home-aside h2 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .3rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.home-aside nav dl {
  margin-top: .75rem;
}

.home-aside nav dd {
  margin: 0;
}

.home-aside nav dd a {
  display: block;
  padding: .45rem 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--c-bg-off);
  text-decoration: none;
  min-height: 40px;
  line-height: 1.4;
}

.home-aside nav dd a:hover { text-decoration: underline; }

.home-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

/* =============================================
   首页卡片区
   ============================================= */
.featured-section {
  background: var(--c-bg-off);
  padding: 4rem 1.5rem;
  border-top: 2px solid var(--c-ink);
}

.featured-section > h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  max-width: var(--max-w);
  margin: 0 auto .3rem;
}

.featured-section > .subtitle {
  max-width: var(--max-w);
  margin: 0 auto 2rem;
  color: var(--c-muted);
  font-size: .95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.card {
  background: var(--c-paper);
  border: 2px solid var(--c-ink);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  box-shadow: 4px 4px 0 var(--c-ink);
  transform: rotate(-.3deg);
  transition: transform .12s, box-shadow .12s;
}

.card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 6px 6px 0 var(--c-ink);
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
  line-height: 1.3;
}

.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }

.card p {
  font-size: .9rem;
  color: var(--c-mid);
  line-height: 1.55;
}

/* =============================================
   page.content 通用样式
   ============================================= */
.page-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-ink);
}

.page-content h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 2.2rem 0 .5rem;
  padding-bottom: .3rem;
  border-bottom: 1.5px solid var(--c-ink);
}

.page-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 .4rem;
}

.page-content p { margin-bottom: 1.1rem; }

.page-content ul,
.page-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.1rem;
  list-style: disc;
}

.page-content ol { list-style: decimal; }

.page-content li { margin-bottom: .45rem; }

.page-content a {
  color: var(--c-ink);
  font-weight: 500;
}

.page-content blockquote {
  border-left: 3px solid var(--c-ink);
  padding-left: 1rem;
  color: var(--c-mid);
  margin: 1.5rem 0;
  font-style: italic;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .93rem;
}

.page-content th,
.page-content td {
  border: 1.5px solid var(--c-ink);
  padding: .55rem .8rem;
  text-align: left;
}

.page-content th {
  background: var(--c-ink);
  color: var(--c-paper);
  font-weight: 600;
}

/* =============================================
   副标题（h2 + p.subtitle 结构）
   ============================================= */
.subtitle,
p.subtitle,
p.subhead,
p.desc,
p.lead {
  font-size: .92rem;
  color: var(--c-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* =============================================
   栏目页 Banner
   ============================================= */
.page-banner {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  align-items: start;
}

.banner-figure {
  padding: 2.5rem 2rem;
  border: 2px solid var(--c-ink);
  background: var(--c-ink);
  color: var(--c-paper);
  transform: rotate(-.2deg);
}

.banner-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-paper);
}

.banner-label {
  color: var(--c-paper);
  border-color: rgba(250,250,248,.6);
}

.banner-aside {
  border: 2px solid var(--c-ink);
  padding: 1.25rem;
  transform: rotate(.5deg);
}

.banner-aside h2 {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}

.banner-aside nav dl { margin-top: .5rem; }
.banner-aside nav dd { margin: 0; }
.banner-aside nav dd a {
  display: block;
  padding: .4rem 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--c-bg-off);
  text-decoration: none;
  min-height: 40px;
}
.banner-aside nav dd a:hover { text-decoration: underline; }

/* =============================================
   栏目页内容区
   ============================================= */
.cat-content-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
  align-items: start;
}

.cat-body h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.cat-aside {
  border: 2px solid var(--c-ink);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--hdr-h) + 1rem);
  transform: rotate(.3deg);
}

.cat-aside h2 {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}

.cat-aside nav dl { margin-top: .5rem; }
.cat-aside nav dd { margin: 0; }
.cat-aside nav dd a {
  display: block;
  padding: .4rem 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--c-bg-off);
  text-decoration: none;
  min-height: 40px;
}
.cat-aside nav dd a:hover { text-decoration: underline; }

/* 栏目文章列表 */
.cat-list-section {
  max-width: var(--max-w);
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  border-top: 2px solid var(--c-ink);
  padding-top: 2.5rem;
}

.cat-list-section > h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.article-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.article-list li {
  border: 1.5px solid var(--c-ink);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 3px 3px 0 var(--c-ink);
  background: var(--c-paper);
}

.article-list li div {
  padding: 1.25rem 1.5rem;
}

.article-list li div h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  line-height: 1.3;
}

.article-list li div h3 a { text-decoration: none; }
.article-list li div h3 a:hover { text-decoration: underline; }

.article-list li div p {
  font-size: .92rem;
  color: var(--c-mid);
  margin: 0;
}

.card-meta {
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--c-muted);
}

/* =============================================
   文章页
   ============================================= */
.article-head-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  align-items: start;
}

.article-head-figure {
  position: relative;
  overflow: hidden;
  background: var(--c-ink);
  border: 2px solid var(--c-ink);
}

.article-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  opacity: .35;
  filter: grayscale(70%) contrast(1.2);
}

.article-eyebrow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(26,26,26,.9));
  color: var(--c-paper);
  font-size: .85rem;
  font-weight: 500;
}

.article-eyebrow a {
  color: var(--c-paper);
  text-decoration: none;
  opacity: .85;
}

.article-meta-aside {
  border: 2px solid var(--c-ink);
  padding: 1.25rem;
  transform: rotate(.4deg);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.article-date,
.article-date-mod {
  display: block;
  font-size: .85rem;
  color: var(--c-muted);
  font-style: italic;
}

.back-link {
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-ink);
  display: inline-block;
  min-height: 40px;
  padding: .3rem 0;
}
.back-link:hover { text-decoration: underline; }

/* 文章主体 */
.article-body-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 2.5rem auto 4rem;
  padding: 0 1.5rem;
  align-items: start;
}

.article-main h1.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .5rem;
}

.article-lead {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.article-content { max-width: var(--max-w-prose); }

/* 侧边栏 */
.article-sidebar {
  position: sticky;
  top: calc(var(--hdr-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-block {
  border: 2px solid var(--c-ink);
  padding: 1.25rem;
  background: var(--c-paper);
  transform: rotate(-.3deg);
}

.sidebar-block h2 {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .25rem;
}

.sibling-list { margin-top: .75rem; }
.sibling-list li { border-bottom: 1px solid var(--c-bg-off); }
.sibling-list li a {
  display: block;
  padding: .4rem 0;
  font-size: .88rem;
  text-decoration: none;
  min-height: 40px;
  line-height: 1.4;
}
.sibling-list li a:hover { text-decoration: underline; }

.sidebar-block nav dl { margin-top: .5rem; }
.sidebar-block nav dd { margin: 0; }
.sidebar-block nav dd a {
  display: block;
  padding: .4rem 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--c-bg-off);
  text-decoration: none;
  min-height: 40px;
  line-height: 1.4;
}
.sidebar-block nav dd a:hover { text-decoration: underline; }

/* =============================================
   关于页
   ============================================= */
.about-intro-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  align-items: start;
}

.about-figure {
  padding: 2.5rem 2rem;
  border: 2px solid var(--c-ink);
  background: var(--c-bg-off);
  transform: rotate(-.3deg);
}

.about-figure h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: .5rem;
}

.about-aside {
  border: 2px solid var(--c-ink);
  padding: 1.25rem;
  transform: rotate(.5deg);
}

.about-aside h2 {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}

.about-aside nav dl { margin-top: .5rem; }
.about-aside nav dd { margin: 0; }
.about-aside nav dd a {
  display: block;
  padding: .4rem 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--c-bg-off);
  text-decoration: none;
  min-height: 40px;
}
.about-aside nav dd a:hover { text-decoration: underline; }

.about-body-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
  align-items: start;
}

.about-main h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.about-side-block {
  border: 2px solid var(--c-ink);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--hdr-h) + 1rem);
  transform: rotate(.4deg);
}

.about-side-block h2 {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}

.info-dl {
  margin-top: .75rem;
  font-size: .9rem;
}

.info-dl dt {
  font-weight: 600;
  margin-top: .75rem;
  color: var(--c-muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.info-dl dd {
  margin: .2rem 0 0;
  color: var(--c-ink);
}

/* =============================================
   隐私政策页
   ============================================= */
.privacy-head-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  align-items: start;
}

.privacy-figure {
  padding: 2.5rem 2rem;
  border: 2px solid var(--c-ink);
  background: var(--c-bg-off);
  transform: rotate(.2deg);
}

.privacy-figure h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-top: .5rem;
}

.privacy-date {
  display: block;
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--c-muted);
  font-style: italic;
}

.privacy-aside {
  border: 2px solid var(--c-ink);
  padding: 1.25rem;
  transform: rotate(-.5deg);
}

.privacy-aside h2 {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}

.privacy-aside nav dl { margin-top: .5rem; }
.privacy-aside nav dd { margin: 0; }
.privacy-aside nav dd a {
  display: block;
  padding: .4rem 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--c-bg-off);
  text-decoration: none;
  min-height: 40px;
}
.privacy-aside nav dd a:hover { text-decoration: underline; }

.privacy-body-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
  align-items: start;
}

.privacy-main h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.privacy-side {
  border: 2px solid var(--c-ink);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--hdr-h) + 1rem);
  transform: rotate(.3deg);
}

.privacy-side h2 {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}

.privacy-side p {
  font-size: .9rem;
  color: var(--c-mid);
  margin-top: .6rem;
  line-height: 1.55;
}

/* =============================================
   页脚（单行极简）
   ============================================= */
.site-footer {
  margin-top: auto;
  border-top: 2px solid var(--c-ink);
  background: var(--c-paper);
  padding: 1rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.footer-logo a {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--c-ink);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer-nav {
  flex: 1;
}

.footer-nav dl {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .1rem;
  align-items: center;
}

.footer-nav dt { display: none; }

.footer-nav dd {
  margin: 0;
}

.footer-nav dd a {
  display: inline-block;
  font-size: .8rem;
  padding: .35rem .65rem;
  text-decoration: none;
  border-right: 1px solid var(--c-bg-off);
  white-space: nowrap;
  min-height: 40px;
  line-height: 2.2;
  color: var(--c-mid);
}

.footer-nav dd:last-child a { border-right: none; }
.footer-nav dd a:hover { color: var(--c-ink); }

.footer-copy small {
  font-size: .78rem;
  color: var(--c-muted);
  white-space: nowrap;
}

/* =============================================
   Scroll Reveal
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .45s ease, transform .45s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-clip { display: none; }
  * { transition: none !important; }
}

/* =============================================
   移动端响应式
   ============================================= */
@media (max-width: 768px) {
  :root { --gap: 1.25rem; }

  .home-content-section,
  .cat-content-section,
  .cat-list-section,
  .article-head-section,
  .article-body-section,
  .page-banner,
  .about-intro-section,
  .about-body-section,
  .privacy-head-section,
  .privacy-body-section {
    grid-template-columns: 1fr;
  }

  .home-aside {
    position: static;
    transform: none;
  }

  .cat-aside,
  .article-sidebar,
  .about-side-block,
  .privacy-side,
  .banner-aside,
  .about-aside,
  .privacy-aside {
    position: static;
    transform: none;
  }

  .hero-section { min-height: 100svh; }

  .hero-title { font-size: 1.9rem; }

  .article-hero-img { height: 180px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }

  .footer-nav dl {
    flex-wrap: wrap;
    gap: 0;
  }

  .footer-nav dd a {
    font-size: .78rem;
    padding: .3rem .5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .banner-figure {
    transform: none;
  }
}

@media (max-width: 480px) {
  .header-brand { padding: .6rem 1rem .4rem; }
  .header-nav-row { padding: .3rem 1rem; }
  .brand-text { font-size: 1.2rem; }
  .hero-title { font-size: 1.5rem; }
  .home-content-section,
  .featured-section,
  .cat-list-section,
  .about-body-section,
  .privacy-body-section,
  .article-body-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
