@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,500;0,700;1,300;1,500&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* ── 变量 ── */
:root {
  --c-primary: #ff0000;
  --c-accent: #ff1493;
  --c-dark: #261717;
  --c-dark2: #1a0f0f;
  --c-dark3: #0e0808;
  --c-glass: rgba(38, 23, 23, 0.55);
  --c-glass-border: rgba(255, 20, 147, 0.25);
  --c-text: #f5e8e8;
  --c-text-muted: #c9a0a0;
  --c-link: #ff6b9d;
  --c-link-hover: #ff1493;
  --c-glow: rgba(255, 0, 0, 0.35);
  --c-glow2: rgba(255, 20, 147, 0.3);
  --font-serif: 'Cormorant Garamond', 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Crimson Pro', 'Cormorant Garamond', Georgia, serif;
  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.45), 0 0 0 1px var(--c-glass-border);
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --header-h: 108px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-dark3);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-link-hover); }
ul { list-style: none; }

/* ── Aurora Background ── */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: auroraDrift 10s ease-in-out infinite alternate;
}
.aurora-layer--1 {
  width: 90vw; height: 60vh;
  top: -20%; left: -20%;
  background: radial-gradient(ellipse at center, #ff0000 0%, rgba(255,0,0,0) 70%);
  animation-duration: 11s;
  animation-delay: 0s;
}
.aurora-layer--2 {
  width: 70vw; height: 50vh;
  top: 10%; right: -15%;
  background: radial-gradient(ellipse at center, #ff1493 0%, rgba(255,20,147,0) 68%);
  animation-duration: 9s;
  animation-delay: -3s;
}
.aurora-layer--3 {
  width: 60vw; height: 55vh;
  bottom: -10%; left: 20%;
  background: conic-gradient(from 180deg, rgba(255,0,0,0.5), rgba(255,20,147,0.4), rgba(38,23,23,0) 60%);
  animation-duration: 12s;
  animation-delay: -6s;
}
@keyframes auroraDrift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50%  { transform: translate(4%, 3%) scale(1.08); opacity: 0.6; }
  100% { transform: translate(-3%, 5%) scale(0.96); opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-layer { animation: none; }
}

/* ── Dot Grid ── */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,20,147,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}

/* ── Announce Bar ── */
.announce-bar {
  position: relative;
  z-index: 20;
  background: linear-gradient(90deg, rgba(255,0,0,0.18), rgba(255,20,147,0.22), rgba(255,0,0,0.18));
  border-bottom: 1px solid var(--c-glass-border);
  text-align: center;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--c-text-muted);
}

/* ── Site Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 8, 8, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-glass-border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.brand-row {
  padding: 14px 24px 10px;
  border-bottom: 1px solid rgba(255,20,147,0.1);
}
.brand-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #ff6b6b, #ff1493, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.nav-row {
  padding: 8px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-aside {
  width: 100%;
}
.pill-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pill-nav li a {
  display: inline-block;
  padding: 7px 16px;
  min-height: 40px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-glass-border);
  background: rgba(255,20,147,0.08);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--c-text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.pill-nav li a:hover,
.pill-nav li a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(255,0,0,0.3), rgba(255,20,147,0.35));
  color: #fff;
  border-color: var(--c-accent);
  box-shadow: 0 0 12px var(--c-glow2);
}

/* ── Hero (home) ── */
.hero-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img-wrap {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 48px rgba(0,0,0,0.7);
}
.hero-img-wrap--1 {
  top: 10%;
  right: 5%;
  width: 38%;
  max-width: 520px;
  aspect-ratio: 3/4;
  transform: rotate(2deg);
  z-index: 2;
}
.hero-img-wrap--2 {
  top: 25%;
  right: 28%;
  width: 28%;
  max-width: 380px;
  aspect-ratio: 4/5;
  transform: rotate(-3deg);
  z-index: 1;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(14,8,8,0.92) 0%, rgba(14,8,8,0.65) 55%, rgba(14,8,8,0.2) 100%);
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 4;
  padding: 120px 48px 80px;
  max-width: 620px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 40px var(--c-glow);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, #ff0000, #ff1493);
  color: #fff;
  box-shadow: 0 4px 20px var(--c-glow);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #ff1493, #ff0000);
  box-shadow: 0 6px 28px var(--c-glow2);
  color: #fff;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--c-glass-border);
  color: var(--c-text-muted);
}
.btn--ghost:hover {
  background: rgba(255,20,147,0.15);
  color: #fff;
  border-color: var(--c-accent);
}

/* ── Page Layout with Aside ── */
.page-body {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.layout-with-aside {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Sidebar ── */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar-inner {
  padding: 24px 20px;
}
.sidebar-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: var(--c-accent);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-glass-border);
  text-transform: uppercase;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.sidebar-links a {
  display: block;
  padding: 8px 12px;
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  transition: background var(--transition), color var(--transition);
}
.sidebar-links a:hover {
  background: rgba(255,20,147,0.12);
  color: #fff;
}
.sidebar-tags {
  margin-top: 16px;
}
.sidebar-tags h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--c-text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sidebar-tags h3 span { display: inline; }

/* ── Main Content ── */
.main-content {
  min-width: 0;
}
.content-article {
  /* structural container */
}

/* ── Glass Cards ── */
.glass-card {
  background: var(--c-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), 0 0 0 1px var(--c-accent);
  border-color: rgba(255,20,147,0.45);
}

/* ── Section Titles ── */
.section-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-glass-border);
}
.section-title span {
  background: linear-gradient(90deg, #ff6b6b, #ff1493);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Category Cards ── */
.cat-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.cat-card {
  padding: 24px;
}
.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 10px;
}
.cat-card h3 span { display: inline; }

/* ── Entry Cards ── */
.entry-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.entry-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.entry-card h3 {
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.4;
}
.entry-card h3 span { display: inline; }

/* ── Child Cards (category page) ── */
.child-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.child-card {
  padding: 22px;
}
.child-card h3 {
  font-family: var(--font-display);
  font-size: 0.97rem;
  color: #fff;
  margin-bottom: 8px;
}
.child-card h3 span { display: inline; }

/* ── Card Common ── */
.card-desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  flex: 1;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.card-link {
  font-size: 0.85rem;
  color: var(--c-accent);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.card-link:hover { color: var(--c-primary); }
.card-meta { margin-top: 8px; }
.eyebrow-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  background: rgba(255,20,147,0.12);
  border: 1px solid rgba(255,20,147,0.25);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  text-transform: uppercase;
}
.count-badge {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--c-primary);
  background: rgba(255,0,0,0.1);
  border: 1px solid rgba(255,0,0,0.25);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
}

/* ── Tags ── */
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  min-height: 32px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  border: 1px solid var(--c-glass-border);
  background: rgba(255,20,147,0.08);
  color: var(--c-text-muted);
  margin: 3px 3px 3px 0;
  transition: all var(--transition);
}
.tag-chip:hover {
  background: rgba(255,20,147,0.22);
  border-color: var(--c-accent);
  color: #fff;
}

/* ── Category Banner ── */
.cat-banner {
  position: relative;
  z-index: 1;
  padding: 60px 24px 50px;
  background: linear-gradient(135deg, rgba(38,23,23,0.9) 0%, rgba(255,0,0,0.07) 60%, rgba(255,20,147,0.08) 100%);
  border-bottom: 1px solid var(--c-glass-border);
}
.cat-banner-content {
  max-width: 800px;
  margin: 0 auto;
}
.cat-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 12px 0 16px;
  text-shadow: 0 0 30px var(--c-glow);
}
.cat-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  max-width: 600px;
  line-height: 1.75;
}
.cat-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.tag-banner .cat-h1 .tag-prefix {
  display: inline-block;
  font-size: 0.7em;
  vertical-align: middle;
  color: var(--c-accent);
  background: rgba(255,20,147,0.12);
  border: 1px solid rgba(255,20,147,0.25);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  margin-right: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-link-hover); }

/* ── Dates ── */
.entry-date, .page-date {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

/* ── Prose ── */
.prose-section {
  color: var(--c-text);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 40px;
}
.prose-section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin: 32px 0 14px;
  letter-spacing: 0.05em;
}
.prose-section h2 span { display: inline; }
.prose-section h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--c-text);
  margin: 24px 0 10px;
}
.prose-section h3 span { display: inline; }
.prose-section p {
  margin-bottom: 16px;
}
.prose-section ul, .prose-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
  list-style: disc;
}
.prose-section a {
  color: var(--c-link);
  text-decoration: underline;
  text-decoration-color: rgba(255,107,157,0.4);
}
.prose-section a:hover {
  color: var(--c-link-hover);
  text-decoration-color: var(--c-link-hover);
}
.prose-section strong { color: #fff; font-weight: 600; }
.prose-section em { font-style: italic; color: var(--c-text-muted); }
.prose-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.prose-section th, .prose-section td {
  padding: 10px 14px;
  border: 1px solid var(--c-glass-border);
  text-align: left;
}
.prose-section th {
  background: rgba(255,20,147,0.1);
  color: var(--c-accent);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.prose-section blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 12px 20px;
  background: rgba(255,20,147,0.06);
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  color: var(--c-text-muted);
  font-style: italic;
}

/* ── Entry Page ── */
.entry-header-section {
  margin-bottom: 32px;
}
.entry-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 12px 0 14px;
  text-shadow: 0 0 24px var(--c-glow);
  line-height: 1.25;
}
.entry-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.entry-hero {
  margin: 20px 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  max-height: 420px;
}
.entry-hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.entry-footer-section {
  padding-top: 24px;
  border-top: 1px solid var(--c-glass-border);
}
.back-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ── Page Title (about/privacy) ── */
.page-title-section {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--c-glass-border);
  margin-bottom: 32px;
}
.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-shadow: 0 0 24px var(--c-glow);
}
.page-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── About Cats ── */
.about-cat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.mini-card {
  padding: 20px;
}
.mini-card h3 {
  font-family: var(--font-display);
  font-size: 0.93rem;
  color: #fff;
  margin-bottom: 8px;
}
.mini-card h3 span { display: inline; }

/* ── Related links (entry sidebar) ── */
.related-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  min-height: 44px;
  justify-content: center;
}
.related-title {
  font-size: 0.88rem;
  color: var(--c-text);
  line-height: 1.4;
}
.related-desc {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  line-height: 1.3;
}

/* ── Privacy Prose ── */
.privacy-prose {
  max-width: 720px;
}
.privacy-footer-section {
  padding-top: 24px;
  border-top: 1px solid var(--c-glass-border);
  margin-top: 8px;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(10, 5, 5, 0.92);
  border-top: 1px solid var(--c-glass-border);
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 36px;
}
.footer-brand .brand-name {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}
.footer-nav h3, .footer-contact h3 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-nav h3 span, .footer-contact h3 span { display: inline; }
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  transition: color var(--transition);
  display: inline-block;
  min-height: 28px;
  line-height: 1.6;
}
.footer-nav a:hover { color: var(--c-link-hover); }
.footer-contact p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-contact a { color: var(--c-link); }
.footer-contact a:hover { color: var(--c-link-hover); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,20,147,0.1);
}
.copyright {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.footer-bottom nav {
  display: flex;
  gap: 16px;
}
.footer-bottom nav a {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.footer-bottom nav a:hover { color: var(--c-link-hover); }

/* ── Stagger Animation ── */
.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  animation: staggerIn 0.55s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.08s + 0.1s);
}
@keyframes staggerIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .stagger-item { animation: none; opacity: 1; transform: none; }
}

/* ── Sections spacing ── */
.cats-section, .entries-section, .children-section,
.tagged-entries-section, .about-nav-section, .entry-footer-section {
  margin-top: 40px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .layout-with-aside {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-contact {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 80px; }
  html { font-size: 17px; }
  .layout-with-aside {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    order: 2;
  }
  .main-content { order: 1; }
  .hero-content {
    padding: 100px 24px 60px;
  }
  .hero-img-wrap--1 {
    width: 52%;
    right: 2%;
    top: 8%;
  }
  .hero-img-wrap--2 {
    display: none;
  }
  .hero-h1 { font-size: 1.7rem; }
  .cat-card-list,
  .entry-card-list,
  .child-card-list {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 20px 28px;
  }
  .footer-contact { grid-column: span 1; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .pill-nav ul {
    gap: 4px;
  }
  .pill-nav li a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .brand-row { padding: 12px 16px 8px; }
  .nav-row { padding: 6px 16px; }
  .page-body { padding: 24px 16px 48px; }
  .cat-banner { padding: 40px 16px 36px; }
  .hero-section { min-height: 100svh; }
  .about-cat-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-img-wrap--1 { display: none; }
  .hero-content { padding: 80px 20px 50px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cat-banner-content { padding: 0; }
  .back-links { flex-direction: column; }
  .back-links .btn { width: 100%; text-align: center; justify-content: center; }
}
