@import url('https://fonts.googleapis.com/css2?family=Karla:wght@300;400;500;600;700&family=Playfair+Display+SC:wght@400;700&display=swap');

/* ── 变量 ── */
:root {
  --ice: #c8e0f4;
  --pink: #f5e0e8;
  --dark: #171f26;
  --ice-mid: #a8c8e8;
  --pink-mid: #e8c0d0;
  --dark-mid: #2a3540;
  --dark-light: #3a4d5e;
  --text-main: #e8f0f8;
  --text-muted: #9bb5cc;
  --text-dark: #171f26;
  --white: #f0f8ff;
  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-input: 12px;
  --shadow-neu-out:
    -6px -6px 18px rgba(200,224,244,0.08),
    6px 6px 18px rgba(0,0,0,0.45);
  --shadow-neu-in:
    inset -4px -4px 10px rgba(200,224,244,0.06),
    inset 4px 4px 10px rgba(0,0,0,0.5);
  --shadow-card:
    -5px -5px 15px rgba(200,224,244,0.07),
    5px 5px 15px rgba(0,0,0,0.5);
  --shadow-card-hover:
    -8px -8px 22px rgba(200,224,244,0.12),
    8px 8px 22px rgba(0,0,0,0.55);
  --transition-fast: 150ms ease;
  --transition-std: 300ms ease;
  --max-content: 1180px;
  --font-head: 'Playfair Display SC', Georgia, serif;
  --font-body: 'Karla', system-ui, sans-serif;
}

/* ── 重置 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; border-radius: 10px; }
a { color: var(--ice); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--pink); }
a:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
table { border-collapse: collapse; width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── 公告条 ── */
.announce-bar {
  background: linear-gradient(90deg, var(--dark-mid), var(--dark-light));
  border-bottom: 1px solid rgba(200,224,244,0.12);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.announce-bar__text { font-weight: 500; }

/* ── 导航 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23,31,38,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,224,244,0.10);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.site-nav {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
  color: var(--ice);
  text-decoration: none;
}
.brand-logo__text {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ice);
  line-height: 1.2;
}
.brand-logo__img { height: 36px; width: auto; border-radius: 6px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-btn);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.nav-link:hover {
  color: var(--ice);
  background: rgba(200,224,244,0.07);
}
.nav-link--active {
  color: var(--ice);
  background: rgba(200,224,244,0.10);
  box-shadow: var(--shadow-neu-out);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 10px;
  border-radius: var(--radius-btn);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ice);
  border-radius: 2px;
  transition: transform var(--transition-std), opacity var(--transition-std);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 面包屑 ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--ice); }
.breadcrumb span[aria-hidden] { color: var(--text-muted); opacity: 0.5; }

/* ── 眉题 ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}

/* ── section h2 ── */
.section-h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ice);
  margin-bottom: 28px;
  line-height: 1.3;
}

/* ── Hero（首页） ── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 80px 20px 60px;
}
.hero-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero__img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}
.hero-placeholder {
  width: 100%;
  height: 480px;
  background: linear-gradient(145deg, var(--dark-mid), var(--dark-light));
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-neu-out);
}
.hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ── 软浮雕徽章 ── */
.neu-badge {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(145deg, var(--pink), var(--pink-mid));
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-card);
  letter-spacing: 0.05em;
}

/* ── 按钮 ── */
.neu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  min-height: 48px;
  background: linear-gradient(145deg, var(--ice), var(--ice-mid));
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  letter-spacing: 0.03em;
}
.neu-btn:hover {
  box-shadow: var(--shadow-card-hover);
  color: var(--text-dark);
}
.neu-btn:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-neu-in);
}
.neu-btn--primary {
  background: linear-gradient(145deg, var(--pink), var(--pink-mid));
}
.neu-btn--sm {
  padding: 10px 22px;
  min-height: 44px;
  font-size: 14px;
}

/* ── 正文区 ── */
.content-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 48px 20px;
}
.prose-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  border-radius: var(--radius-card);
  padding: 40px 44px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200,224,244,0.07);
}
.prose-wrap p,
.prose-wrap li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 1em;
}
.prose-wrap h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--ice);
  margin: 1.8em 0 0.6em;
}
.prose-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--pink);
  margin: 1.4em 0 0.5em;
}
.prose-wrap a { color: var(--ice); border-bottom: 1px solid rgba(200,224,244,0.3); }
.prose-wrap a:hover { color: var(--pink); border-color: var(--pink); }
.prose-wrap--entry { max-width: 860px; }
.prose-wrap--about { max-width: 720px; }
.prose-wrap--privacy { max-width: 720px; }

/* ── 卡片网格 ── */
.card-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 20px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}
.card-grid tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card-row { display: contents; }
.card-cell { display: block; }
.neu-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-std), transform var(--transition-std);
  border: 1px solid rgba(200,224,244,0.06);
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  height: 100%;
}
.neu-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  color: var(--text-main);
}
.neu-card:active { transform: scale(0.98); box-shadow: var(--shadow-neu-in); }
.card__fig {
  overflow: hidden;
  margin: 0;
  flex-shrink: 0;
}
.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform var(--transition-std);
}
.neu-card:hover .card__img { transform: scale(1.04); }
.card__fig--sm .card__img { height: 150px; }
.card__body {
  padding: 16px 18px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--ice);
  line-height: 1.3;
  font-weight: 700;
}
.card__title--sm { font-size: 0.9rem; }
.card__date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.card__bar {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--ice), var(--pink));
  border-radius: 0 0 2px 2px;
  margin-top: auto;
}
.neu-card--sm .card__body { padding: 12px 14px 10px; }
.neu-card--nav {
  flex-direction: column;
  padding: 20px 22px;
  gap: 6px;
  text-align: center;
}
.neu-card--nav strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--ice);
  display: block;
}
.neu-card--nav span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── 专区卡片区、最近更新区 ── */
.cats-section,
.recent-section,
.related-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 48px 20px;
}

/* ── 表格列表（category/tag） ── */
.entry-table {
  max-width: var(--max-content);
  margin: 0 auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200,224,244,0.07);
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
}
.entry-table__head th {
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: left;
  background: rgba(200,224,244,0.04);
  border-bottom: 1px solid rgba(200,224,244,0.10);
}
.entry-row { border-bottom: 1px solid rgba(200,224,244,0.06); }
.entry-row:last-child { border-bottom: none; }
.entry-row:hover { background: rgba(200,224,244,0.03); }
.entry-cell { padding: 14px 18px; vertical-align: middle; }
.entry-cell--thumb { width: 80px; padding: 10px 12px; }
.tbl-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.entry-cell--date { width: 130px; font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.entry-link { display: flex; flex-direction: column; gap: 4px; }
.entry-link__title { font-weight: 600; color: var(--ice); font-size: 15px; line-height: 1.3; }
.entry-link:hover .entry-link__title { color: var(--pink); }
.entry-link__desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.cat-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(200,224,244,0.10);
  color: var(--ice);
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.empty-cell { padding: 32px; text-align: center; color: var(--text-muted); }

/* ── 分类页 hero ── */
.cat-hero-section,
.tag-hero-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 20px 0;
}
.cat-hero-inner,
.tag-hero-inner {
  padding: 40px;
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200,224,244,0.07);
  margin-bottom: 0;
}
.cat-h1, .tag-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.cat-desc, .tag-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}
.tag-count-badge { margin-top: 14px; }

/* ── 列表区 ── */
.list-section,
.tag-list-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 48px 20px;
}

/* ── 入口页 hero ── */
.entry-header-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 20px 0;
}
.entry-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200,224,244,0.07);
  overflow: hidden;
}
.entry-hero__fig {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.entry-hero__img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.entry-hero__meta {
  padding: 40px 36px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.entry-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white);
  line-height: 1.25;
}
.entry-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.entry-meta__date {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── 画廊 ── */
.gallery-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 20px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.gallery-item { margin: 0; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.gallery-thumb { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-card); transition: transform var(--transition-std); }
.gallery-item:hover .gallery-thumb { transform: scale(1.04); }

/* ── 关于页 ── */
.about-header-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 20px 0;
}
.about-hero {
  padding: 48px;
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200,224,244,0.07);
}
.about-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--white);
  margin-bottom: 12px;
}
.about-tagline { font-size: 16px; color: var(--text-muted); max-width: 580px; line-height: 1.7; }
.about-stats-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 20px;
}
.stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.neu-stat {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200,224,244,0.07);
  text-align: center;
  transition: box-shadow var(--transition-std), transform var(--transition-std);
}
.neu-stat:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.stat-num { font-family: var(--font-head); font-size: 2.2rem; color: var(--ice); font-weight: 700; }
.stat-label { font-size: 13px; color: var(--text-muted); letter-spacing: 0.05em; }
.about-nav-section, .privacy-nav-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 20px 48px;
}
.about-nav-table tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.about-nav-table tr { display: contents; }
.about-nav-table td { display: block; }

/* ── 隐私页 ── */
.privacy-header-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 20px 0;
}
.privacy-hero {
  padding: 40px;
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200,224,244,0.07);
}
.privacy-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  color: var(--white);
  margin-bottom: 10px;
}
.privacy-updated { font-size: 13px; color: var(--text-muted); letter-spacing: 0.04em; }

/* ── 输入框 ── */
.neu-input {
  padding: 12px 18px;
  min-height: 44px;
  background: var(--dark);
  border: 1px solid rgba(200,224,244,0.15);
  border-radius: var(--radius-input);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  box-shadow: var(--shadow-neu-in);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
.neu-input:focus { border-color: var(--ice); box-shadow: 0 0 0 3px rgba(200,224,244,0.15), var(--shadow-neu-in); }
.neu-input::placeholder { color: var(--text-muted); }

/* ── 页脚 ── */
.site-footer {
  background: linear-gradient(180deg, var(--dark-mid), var(--dark));
  border-top: 1px solid rgba(200,224,244,0.08);
  margin-top: 60px;
}
.footer-top {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 48px 20px 36px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(200,224,244,0.06);
}
.footer-tagline {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--ice);
  flex: 1;
  min-width: 240px;
  line-height: 1.5;
}
.subscribe-form { flex: 1; min-width: 280px; max-width: 380px; }
.subscribe-form__label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; font-weight: 500; letter-spacing: 0.04em; }
.subscribe-form__row { display: flex; gap: 10px; align-items: stretch; }
.subscribe-form__row .neu-input { flex: 1; }
.footer-cols {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-dl dt {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--ice);
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,224,244,0.12);
}
.footer-dl dd {
  margin-bottom: 10px;
}
.footer-dl dd a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.footer-dl dd a:hover { color: var(--ice); }
.footer-bottom {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(200,224,244,0.06);
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { font-size: 13px; color: var(--text-muted); }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--ice); }

/* ── Scroll Reveal ── */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-item.is-visible { opacity: 1; transform: none; }

/* ── 移动端断点 ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__img { height: 360px; }
  .hero-section { min-height: auto; padding: 100px 20px 60px; }
  .entry-hero { grid-template-columns: 1fr; }
  .entry-hero__meta { padding: 24px; }
  .entry-hero__img { height: 280px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(23,31,38,0.98);
    border-bottom: 1px solid rgba(200,224,244,0.10);
    flex-direction: column;
    padding: 12px 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 99;
  }
  .nav-links.nav-open { display: flex; }
  .nav-link { width: 100%; height: 48px; padding: 0 16px; font-size: 15px; }
  .nav-toggle { display: flex; }
  .site-nav { position: relative; }
  .brand-logo__text { font-size: 14px; }
  .hero-section { padding: 80px 16px 48px; }
  .hero-h1 { font-size: 1.6rem; }
  .hero__img { height: 260px; }
  .prose-wrap { padding: 24px 20px; }
  .card-grid tbody { grid-template-columns: 1fr 1fr; gap: 16px; }
  .card__img { height: 160px; }
  .entry-table { font-size: 14px; }
  .entry-cell--thumb { width: 60px; padding: 8px; }
  .tbl-thumb { width: 52px; height: 52px; }
  .entry-cell--date { display: none; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-row { flex-direction: column; }
  .about-nav-table tbody { grid-template-columns: 1fr; }
  .card-grid--related tbody { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumb { height: 150px; }
  .cat-hero-inner, .tag-hero-inner, .about-hero, .privacy-hero { padding: 24px; }
}

@media (max-width: 375px) {
  .card-grid tbody { grid-template-columns: 1fr; }
  .hero__img { height: 220px; }
  .nav-link { min-height: 44px; }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-item { opacity: 1; transform: none; }
}
