@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS 自定义属性
   ============================================================ */
:root {
  --c-red: #ff0000;
  --c-purple: #8b00ff;
  --c-dark: #261717;
  --c-dark2: #1a0f0f;
  --c-dark3: #0e0808;
  --c-text: #f0e8e8;
  --c-text-muted: rgba(240,232,232,0.6);
  --c-border: rgba(255,255,255,0.18);
  --c-border-strong: rgba(255,255,255,0.3);
  --glass-bg: rgba(255,255,255,0.08);
  --glass-bg-strong: rgba(255,255,255,0.14);
  --blur: blur(15px);
  --blur-sm: blur(10px);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --ff-serif: 'Noto Serif JP', 'Georgia', serif;
  --ff-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', system-ui, sans-serif;
  --nav-h: 64px;
  --max-w: 1200px;
  --max-w-prose: 780px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--c-dark3);
  color: var(--c-text);
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 16px);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }
ol, ul { list-style: none; }
button, input { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--ff-serif);
  line-height: 1.3;
  font-weight: 600;
}

/* ============================================================
   Background & Glow
   ============================================================ */
.site-wrapper {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--red {
  width: 600px;
  height: 600px;
  background: var(--c-red);
  top: -200px;
  right: -150px;
  opacity: 0.2;
}

.bg-glow--purple {
  width: 500px;
  height: 500px;
  background: var(--c-purple);
  bottom: 10%;
  left: -100px;
  opacity: 0.25;
}

.bg-glow--dark {
  width: 800px;
  height: 800px;
  background: var(--c-dark);
  top: 30%;
  left: 20%;
  opacity: 0.4;
}

/* ============================================================
   Glass Card
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
}

.btn--cta {
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-purple) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(255,0,0,0.35);
}

.btn--cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255,0,0,0.5);
  opacity: 1;
}

.btn--sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-purple) 100%);
  color: #fff;
  min-height: 40px;
}

.btn--sm:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border-strong);
}

.btn--outline:hover {
  background: var(--glass-bg-strong);
  opacity: 1;
}

/* ============================================================
   Content Wrapper
   ============================================================ */
.content-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.3em;
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--c-text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--c-text); opacity: 1; }

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero--home {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 1.25rem;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero__bg-text {
  position: absolute;
  font-family: var(--ff-serif);
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em;
  bottom: 5%;
  left: -2%;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  line-height: 1;
}

.hero__collage {
  position: relative;
  height: clamp(400px, 60vh, 700px);
  z-index: 1;
}

.hero__img-a {
  position: absolute;
  top: 5%;
  left: 0;
  width: 65%;
  aspect-ratio: 3/4;
  overflow: hidden;
  transform: rotate(-3deg);
  z-index: 2;
}

.hero__img-b {
  position: absolute;
  bottom: 5%;
  right: 0;
  width: 60%;
  aspect-ratio: 3/4;
  overflow: hidden;
  transform: rotate(2deg);
  z-index: 3;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,0,0,0.3), rgba(139,0,255,0.3));
}

.hero__img-placeholder--b {
  background: linear-gradient(135deg, rgba(139,0,255,0.3), rgba(255,0,0,0.2));
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__content--right {
  text-align: right;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--c-red);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: var(--ff-sans);
  font-weight: 500;
}

.hero__h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--ff-serif);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255,200,200,0.9) 50%, rgba(200,100,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  line-height: 1.7;
}

/* ============================================================
   Section Blocks
   ============================================================ */
.section-block {
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 1.4rem;
  font-family: var(--ff-serif);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--c-text);
  padding-left: 1rem;
  border-left: 3px solid var(--c-red);
}

/* ============================================================
   Topic Grid (Home)
   ============================================================ */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.topic-card {
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,0,0,0.2);
}

.topic-card .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  gap: 0.75rem;
}

.card__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.topic-card:hover .card__img { transform: scale(1.04); }

.card__body { flex: 1; }

.card__eyebrow {
  font-size: 0.75rem;
  color: var(--c-purple);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.card__title {
  font-size: 1.05rem;
  font-family: var(--ff-serif);
  margin: 0.3rem 0 0.5rem;
  line-height: 1.35;
}

.card__desc {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.card__count {
  font-size: 0.78rem;
  color: var(--c-red);
  opacity: 0.8;
  margin-top: 0.5rem;
  display: block;
}

.card__arrow {
  color: var(--c-red);
  font-size: 1.1rem;
  align-self: flex-end;
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition);
}

.topic-card:hover .card__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ============================================================
   Article Grid (Home)
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.art-card {
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.art-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(139,0,255,0.2);
}

.artcard-inner {
  display: block;
  padding: 1.25rem;
}

.artcard__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 0.75rem;
}

.artcard__img { width: 100%; height: 100%; object-fit: cover; }

.artcard__eyebrow {
  font-size: 0.72rem;
  color: var(--c-purple);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.artcard__title {
  font-size: 0.95rem;
  font-family: var(--ff-serif);
  margin: 0.3rem 0 0.4rem;
  line-height: 1.4;
}

.artcard__date {
  font-size: 0.78rem;
  color: var(--c-text-muted);
}

/* ============================================================
   Topic Page
   ============================================================ */
.page-header {
  margin: 1rem auto;
  max-width: var(--max-w);
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 1;
}

.page-header__inner { max-width: 700px; }

.page-header__h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin: 0.75rem 0 0.75rem;
}

.page-header__desc {
  color: var(--c-text-muted);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.page-header__count {
  display: inline-block;
  background: rgba(255,0,0,0.15);
  color: var(--c-red);
  padding: 0.2em 0.8em;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  border: 1px solid rgba(255,0,0,0.25);
}

.content-wrapper--topic { padding-top: 1rem; }

.topic-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

.topic-main { min-width: 0; }

.topic-aside {
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

/* ============================================================
   Sub List (Topic children)
   ============================================================ */
.sub-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.subcard {
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.subcard:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 24px rgba(255,0,0,0.15);
}

.subcard > a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.subcard__media {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.subcard__img { width: 100%; height: 100%; object-fit: cover; }

.subcard__body { flex: 1; min-width: 0; }

.subcard__title {
  font-size: 1rem;
  font-family: var(--ff-serif);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.subcard__meta {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  display: block;
}

.subcard__meta time { color: var(--c-purple); opacity: 0.8; }

.subcard__arrow {
  color: var(--c-red);
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.subcard:hover .subcard__arrow { opacity: 1; transform: translateX(3px); }

/* ============================================================
   Aside
   ============================================================ */
.aside__title {
  font-size: 1rem;
  font-family: var(--ff-serif);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
}

.aside__nav ol, .aside__sibling-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aside__nav a, .aside__sibling-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--c-text-muted);
  transition: background var(--transition), color var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}

.aside__nav a:hover, .aside__sibling-list a:hover {
  background: var(--glass-bg-strong);
  color: var(--c-text);
  opacity: 1;
}

.aside__link--active {
  color: var(--c-red) !important;
  background: rgba(255,0,0,0.1) !important;
}

.aside__cta, .aside__parent {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.aside__parent a {
  color: var(--c-purple);
  font-size: 0.875rem;
}

.aside__cta p { margin-bottom: 0.5rem; }

/* ============================================================
   Article Layout
   ============================================================ */
.article-layout { padding-top: 1.5rem; }

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

.article-hero {
  margin-bottom: 2rem;
  overflow: hidden;
}

.article-hero__media {
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.article-hero__img { width: 100%; height: 100%; object-fit: cover; }

.article-hero__meta { padding: 1.5rem 2rem 2rem; }

.article-hero__h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin: 0.75rem 0 0.75rem;
  font-family: var(--ff-serif);
}

.article-hero__desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}

.article-hero__dates {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.date-label { color: var(--c-text-muted); }
.article-date { color: var(--c-purple); font-weight: 500; }
.date-sep { color: var(--c-text-muted); }

.article-body-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  align-items: start;
}

.article-prose { padding: 2rem; min-width: 0; }

.article-aside {
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

/* ============================================================
   Prose
   ============================================================ */
.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}

.page-content h2 {
  font-size: 1.35rem;
  font-family: var(--ff-serif);
  margin: 2rem 0 0.75rem;
  color: var(--c-text);
  padding-left: 0.75rem;
  border-left: 2px solid var(--c-purple);
}

.page-content h3 {
  font-size: 1.1rem;
  font-family: var(--ff-serif);
  margin: 1.5rem 0 0.5rem;
  color: var(--c-text);
}

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

.page-content a {
  color: var(--c-red);
  text-decoration: underline;
  text-decoration-color: rgba(255,0,0,0.3);
  transition: text-decoration-color var(--transition);
}

.page-content a:hover {
  text-decoration-color: var(--c-red);
  opacity: 1;
}

.page-content ul, .page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.page-content blockquote {
  border-left: 3px solid var(--c-purple);
  padding: 0.75rem 1.25rem;
  background: rgba(139,0,255,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
  color: var(--c-text-muted);
}

.page-content code {
  background: rgba(255,255,255,0.1);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.page-content pre {
  background: rgba(0,0,0,0.4);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-bottom: 1rem;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.page-content th, .page-content td {
  padding: 0.6rem 0.875rem;
  border: 1px solid var(--c-border);
  text-align: left;
}

.page-content th {
  background: rgba(255,255,255,0.08);
  font-family: var(--ff-serif);
}

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

/* ============================================================
   Related Cards
   ============================================================ */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.rel-card {
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.rel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(139,0,255,0.2);
}

.rel-card > a {
  display: block;
  padding: 1.25rem;
}

.relcard__media {
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.relcard__img { width: 100%; height: 100%; object-fit: cover; }

.relcard__title {
  font-size: 0.95rem;
  font-family: var(--ff-serif);
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.relcard__desc {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  display: block;
}

/* ============================================================
   About Layout
   ============================================================ */
.about-layout { padding-top: 1.5rem; }

.about-header {
  max-width: var(--max-w);
  margin: 0 auto 1.5rem;
  padding: 2.5rem 2rem;
}

.about-header__h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin: 0.75rem 0 0.75rem;
}

.about-header__desc { color: var(--c-text-muted); font-size: 1rem; }

.about-body-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  align-items: start;
}

.about-prose { padding: 2rem; }

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 1rem;
}

.about-aside__card { padding: 1.5rem; }
.about-aside__title { font-size: 1rem; margin-bottom: 1rem; font-family: var(--ff-serif); }

.about-aside__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about-aside__list a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--c-text-muted);
  min-height: 40px;
  transition: background var(--transition), color var(--transition);
}

.about-aside__list a:hover {
  background: var(--glass-bg-strong);
  color: var(--c-text);
  opacity: 1;
}

.about-aside__cta-title { font-size: 0.95rem; margin-bottom: 0.5rem; }
.about-aside__card p { font-size: 0.875rem; color: var(--c-text-muted); margin-bottom: 0.875rem; }

/* ============================================================
   Privacy Layout
   ============================================================ */
.privacy-layout { padding-top: 1.5rem; }

.privacy-header {
  max-width: var(--max-w);
  margin: 0 auto 1.5rem;
  padding: 2.5rem 2rem;
}

.privacy-header__h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin: 0.75rem 0 0.5rem;
}

.privacy-header__date { font-size: 0.875rem; color: var(--c-purple); }

.privacy-body-wrap {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2rem;
  align-items: start;
}

.privacy-prose { padding: 2rem; }

.privacy-aside {
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

.aside__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.aside__list a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--c-text-muted);
  min-height: 40px;
  transition: background var(--transition), color var(--transition);
}

.aside__list a:hover {
  background: var(--glass-bg-strong);
  color: var(--c-text);
  opacity: 1;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(14,8,8,0.7);
  -webkit-backdrop-filter: var(--blur-sm);
  backdrop-filter: var(--blur-sm);
  border-top: 1px solid var(--c-border);
  margin-top: 4rem;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer__logo { margin-bottom: 0.75rem; }

.footer__logo-text {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--c-red), var(--c-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.footer__contact-label {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer__input {
  flex: 1;
  min-width: 160px;
  padding: 0.5rem 0.875rem;
  background: var(--glass-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  color: var(--c-text);
  font-size: 0.875rem;
  min-height: 40px;
  outline: none;
  transition: border-color var(--transition);
}

.footer__input::placeholder { color: var(--c-text-muted); }
.footer__input:focus { border-color: var(--c-purple); }

.footer__nav-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
  font-family: var(--ff-sans);
  font-weight: 500;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  transition: color var(--transition);
  padding: 0.25rem 0;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer__links a:hover { color: var(--c-text); opacity: 1; }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

.footer__bottom a { color: var(--c-purple); }

/* ============================================================
   Bottom Navigation
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26,15,15,0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--c-border);
  height: var(--nav-h);
}

.bottom-nav__list {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: stretch;
  padding: 0 0.5rem;
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.bottom-nav__link,
.bottom-nav__cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem 0.25rem;
  min-height: 44px;
  min-width: 44px;
  transition: color var(--transition), background var(--transition);
  border-radius: var(--radius-sm);
  margin: 8px 2px;
  font-size: 0.72rem;
  color: var(--c-text-muted);
}

.bottom-nav__link:hover, .bottom-nav__cta:hover {
  color: var(--c-text);
  background: var(--glass-bg);
  opacity: 1;
}

.bottom-nav__link--active {
  color: var(--c-red) !important;
}

.bottom-nav__item--cta .bottom-nav__cta {
  background: linear-gradient(135deg, var(--c-red), var(--c-purple));
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  padding: 0.5rem 1rem;
}

.bottom-nav__item--cta .bottom-nav__cta:hover {
  opacity: 0.9;
  color: #fff;
  background: linear-gradient(135deg, var(--c-red), var(--c-purple));
}

.bottom-nav__icon {
  font-size: 0.8rem;
  font-family: var(--ff-serif);
  font-weight: 700;
}

.bottom-nav__label { font-size: 0.68rem; }

/* ============================================================
   Stagger Animation
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stagger-item {
  animation: fadeInUp 0.45s ease both;
  animation-delay: calc(var(--stagger, 0) * 0.07s);
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 900px) {
  .topic-layout,
  .article-body-wrap,
  .about-body-wrap,
  .privacy-body-wrap {
    grid-template-columns: 1fr;
  }

  .topic-aside,
  .article-aside,
  .about-aside,
  .privacy-aside {
    position: static;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero--home {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .hero__content--right { text-align: left; }
  .hero__sub { margin-left: 0; }

  .hero__collage {
    height: 320px;
    order: -1;
  }
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */
@media (max-width: 600px) {
  body { font-size: 16px; }

  :root { --nav-h: 60px; }

  .hero--home {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .hero__h1 { font-size: 1.8rem; }
  .hero__sub { font-size: 0.95rem; }

  .hero__collage { height: 240px; }

  .hero__img-a { width: 60%; }
  .hero__img-b { width: 55%; }

  .content-wrapper { padding: 1.25rem 1rem; }

  .page-header { padding: 1.75rem 1.25rem; }

  .topic-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }

  .article-hero__meta { padding: 1.25rem; }
  .article-prose { padding: 1.25rem; }
  .about-prose { padding: 1.25rem; }
  .privacy-prose { padding: 1.25rem; }

  .footer__inner { padding: 2rem 1rem 1rem; }
  .footer__form { flex-direction: column; }
  .footer__input { min-width: 0; }

  .bottom-nav__list { padding: 0 0.25rem; }
  .bottom-nav__label { display: none; }
  .bottom-nav__icon { font-size: 0.9rem; }

  .bottom-nav__link,
  .bottom-nav__cta {
    padding: 0.5rem 0.5rem;
    margin: 6px 2px;
  }

  .section-title { font-size: 1.2rem; }
}

@media (max-width: 400px) {
  .article-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
