:root {
  --ink: #1a1008;
  --paper: #f5efe3;
  --paper-dark: #ede4d0;
  --red: #c0392b;
  --red-light: #e8c4bf;
  --gold: #b5860d;
  --gold-light: #f0e2b0;
  --sepia: #7a5c3a;
  --sepia-light: #c9a97a;
  --muted: #6b5a47;
  --border: #c9a97a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  line-height: 1.8;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(181,134,13,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(192,57,43,0.05) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ─── SHARED NAV (topo de cada página temática) ─── */
.site-nav {
  background: var(--ink);
  color: var(--paper);
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--gold);
  position: relative;
  z-index: 10;
}

.site-nav-brand {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav-brand::before { content: '←'; font-size: 1rem; color: var(--red); }

.site-nav-brand:hover { color: var(--paper); }

.site-nav-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,239,227,0.5);
  border: 1px solid rgba(245,239,227,0.2);
  padding: 0.2rem 0.75rem;
}

.site-nav-back {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sepia-light);
  text-decoration: none;
  border: 1px solid rgba(201,169,122,0.3);
  padding: 0.3rem 0.85rem;
  transition: all 0.2s;
}

.site-nav-back:hover { color: var(--paper); border-color: var(--gold); }

/* ─── COVER ─── */
.cover {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  border-bottom: 2px solid var(--border);
  overflow: hidden;
}

.cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(181,134,13,0.08) 28px,
      rgba(181,134,13,0.08) 29px
    );
}

.cover-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sepia);
  border: 1px solid var(--sepia-light);
  padding: 0.35rem 1rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cover h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.cover h1 em {
  font-style: italic;
  color: var(--red);
}

.cover-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--sepia);
  margin-top: 1.5rem;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.cover-meta {
  margin-top: 3rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.ornament {
  color: var(--gold);
  font-size: 2rem;
  margin: 1.5rem 0;
  position: relative;
  z-index: 1;
}

/* ─── LAYOUT ─── */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── SECTIONS ─── */
.section {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(181,134,13,0.25);
}

.section-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sepia-light);
  display: block;
  margin-bottom: 0.75rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

h2 .accent { color: var(--red); font-style: italic; }

.section-intro {
  font-size: 1.1rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--paper-dark);
}

p {
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
}

/* ─── QUOTE BLOCKS ─── */
.scripture-block {
  background: var(--paper-dark);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  position: relative;
}

.scripture-block::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold-light);
  position: absolute;
  top: -1rem;
  left: 1rem;
  line-height: 1;
}

.scripture-ref {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--sepia);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.scripture-block p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

.scripture-block strong {
  font-style: normal;
  font-weight: 700;
  color: var(--red);
  background: rgba(192,57,43,0.08);
  padding: 0 2px;
}

/* ─── ANALYSIS BLOCK ─── */
.analysis {
  background: rgba(192,57,43,0.05);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 2px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.analysis-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.analysis-label::before {
  content: '⚠';
  font-style: normal;
}

.analysis p {
  font-size: 0.98rem;
  color: var(--ink);
  margin: 0;
}

.analysis p + p { margin-top: 1rem; }

/* ─── TIMELINE ─── */
.timeline {
  margin: 3rem 0;
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--red));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed rgba(181,134,13,0.2);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.15rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--gold);
}

.timeline-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--sepia);
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* ─── CARDS GRID ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.card {
  background: var(--paper-dark);
  border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative;
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  display: block;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ─── COMPARISON TABLE ─── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 0.95rem;
}

.compare-table th {
  background: var(--ink);
  color: var(--paper);
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-weight: 400;
}

.compare-table th:last-child { background: var(--red); }

.compare-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--paper-dark);
  vertical-align: top;
}

.compare-table tr:nth-child(even) td { background: rgba(181,134,13,0.05); }

.compare-table td:first-child {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--sepia);
  width: 30%;
}

.compare-table td:last-child { color: var(--red); font-weight: 600; }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  border: 2px solid var(--red);
  padding: 2rem;
  margin: 3rem 0;
  position: relative;
}

.highlight-box::before {
  content: 'ATENÇÃO';
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--paper);
  background: var(--red);
  position: absolute;
  top: -0.65rem;
  left: 1.5rem;
  padding: 0.1rem 0.75rem;
}

/* ─── NUMBER CALLOUT ─── */
.big-number {
  text-align: center;
  padding: 3rem 2rem;
  margin: 2.5rem 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.big-number::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(181,134,13,0.05) 10px, rgba(181,134,13,0.05) 11px);
}

.big-number-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  position: relative;
  z-index: 1;
}

.big-number-label {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(245,239,227,0.7);
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* ─── PERSONAS ─── */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (max-width: 600px) { .persona-grid { grid-template-columns: 1fr; } }

.persona-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.persona-card.him { background: rgba(181,134,13,0.06); border-color: var(--gold); }
.persona-card.her { background: rgba(192,57,43,0.06); border-color: var(--red); }

.persona-name {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid currentColor;
}

.persona-card.him .persona-name { color: var(--gold); }
.persona-card.her .persona-name { color: var(--red); }

.persona-item {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  align-items: flex-start;
}

.persona-item .icon { flex-shrink: 0; }

/* ─── VERDICT ─── */
.verdict {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 3rem;
  margin: 4rem 0 0;
  text-align: center;
}

.verdict h2 {
  color: var(--gold);
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

.verdict p {
  max-width: 600px;
  margin: 0 auto 1.2rem;
  font-size: 1.05rem;
  color: rgba(245,239,227,0.85);
}

/* ─── DIVIDERS ─── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  color: var(--sepia-light);
  font-size: 1rem;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── TOC ─── */
.toc {
  background: var(--paper-dark);
  border: 1px solid var(--border);
  padding: 2rem 2.5rem;
  margin: 3rem 0;
}

.toc-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 1.2rem;
}

.toc ol {
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px dotted rgba(181,134,13,0.3);
  font-size: 0.95rem;
}

.toc li:last-child { border-bottom: none; }

.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--sepia-light);
  flex-shrink: 0;
}

.toc a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.toc a:hover { color: var(--red); }

/* ─── RELATED LINKS ("Leia também") ─── */
.related-section { border-bottom: none; padding-bottom: 4rem; }

.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.related-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.4rem;
  background: var(--paper-dark);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.related-link:hover {
  border-color: var(--gold);
  background: var(--gold-light);
}

.related-link-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia-light);
}

.related-link-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ─── FOOTNOTE ─── */
.footnote {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* ─── SOURCES ─── */
.sources-header {
  background: var(--ink);
  padding: 4rem 0 3rem;
  margin-top: 0;
}

.sources-header .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sources-header .section-number {
  color: var(--sepia-light);
}

.sources-header h2 {
  color: var(--paper);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.sources-header h2 .accent {
  color: var(--gold);
}

.sources-header p {
  color: rgba(245,239,227,0.6);
  font-size: 0.95rem;
  max-width: 650px;
  margin-top: 0.5rem;
}

.sources-body {
  background: #111008;
  padding: 0 0 5rem;
}

.source-category {
  padding-top: 3rem;
  border-top: 1px solid rgba(181,134,13,0.15);
  margin-top: 3rem;
}

.source-category:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 3rem;
}

.source-category-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.source-category-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(181,134,13,0.2);
}

.source-entry {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.5rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: start;
}

.source-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.source-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: rgba(181,134,13,0.5);
  padding-top: 0.2rem;
  min-width: 2rem;
  text-align: right;
}

.source-content {}

.source-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.source-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: rgba(181,134,13,0.7);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.source-desc {
  font-size: 0.88rem;
  color: rgba(245,239,227,0.55);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.source-claims {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.source-claim-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  background: rgba(181,134,13,0.12);
  color: rgba(181,134,13,0.8);
  border: 1px solid rgba(181,134,13,0.2);
  padding: 0.15rem 0.55rem;
  border-radius: 2px;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: rgba(192,57,43,0.8);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  word-break: break-all;
}

.source-link:hover { color: var(--red); }

.source-link::before { content: '↗'; font-size: 0.75rem; }

.source-official {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(245,239,227,0.3);
  margin-left: 0.75rem;
}

.source-official.confirmed { color: rgba(100,200,100,0.6); }
.source-official.confirmed::before { content: '✓ '; }
.source-official.church::before { content: '⛪ '; }
.source-official.church { color: rgba(181,134,13,0.6); }

.source-key-quote {
  background: rgba(192,57,43,0.08);
  border-left: 2px solid rgba(192,57,43,0.4);
  padding: 0.75rem 1rem;
  margin-top: 0.7rem;
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(245,239,227,0.7);
  line-height: 1.6;
}

.source-key-quote strong {
  font-style: normal;
  color: rgba(192,57,43,0.9);
}

.sources-legend {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(181,134,13,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: rgba(245,239,227,0.4);
  letter-spacing: 0.08em;
}

/* ─── HUB / LANDING ─── */
.hub-cover {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  border-bottom: 2px solid var(--border);
  overflow: hidden;
}

.hub-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(181,134,13,0.05) 28px,
      rgba(181,134,13,0.05) 29px
    ),
    radial-gradient(
      ellipse 42% 55% at center,
      rgba(245,239,227,0.35) 0%,
      rgba(245,239,227,0.15) 55%,
      rgba(245,239,227,0) 100%
    ),
    linear-gradient(
      rgba(245,239,227,0.58),
      rgba(245,239,227,0.58)
    ),
    url('ilustracoes/hero-cover.jpg');
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-color: var(--paper);
}

.hub-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(245,239,227,0.35) 0%,
    rgba(245,239,227,0) 22%,
    rgba(245,239,227,0) 72%,
    var(--paper) 100%
  );
}

.hub-cover > * { position: relative; z-index: 1; }

.hub-cover h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0;
  text-shadow:
    0 0 14px rgba(245,239,227,0.95),
    0 0 30px rgba(245,239,227,0.8);
}

.hub-cover h1 em {
  font-style: italic;
  color: #000;
  text-shadow:
    0 0 14px rgba(245,239,227,0.95),
    0 0 30px rgba(245,239,227,0.8);
}

.hub-cover .cover-label {
  background: rgba(245,239,227,0.82);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: var(--ink);
  border-color: var(--sepia);
}

.hub-cover .cover-sub {
  color: var(--ink);
  text-shadow:
    0 0 10px rgba(245,239,227,0.92),
    0 0 22px rgba(245,239,227,0.7);
}

.hub-cover .cover-meta {
  color: var(--ink);
  text-shadow: 0 0 10px rgba(245,239,227,0.9);
}

.hub-cover .ornament {
  text-shadow: 0 0 12px rgba(245,239,227,0.9);
}

.hub-manifesto {
  max-width: 720px;
  margin: 2rem auto 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink);
  line-height: 1.6;
  background: rgba(245,239,227,0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1.2rem 1.8rem;
  border-left: 3px solid var(--red);
  border-right: 3px solid var(--red);
  box-shadow: 0 2px 14px rgba(26,16,8,0.06);
}

.hub-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 900px;
  margin: 3rem auto 0;
}

.hub-principle {
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  background: rgba(245,239,227,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: left;
  box-shadow: 0 2px 10px rgba(26,16,8,0.05);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hub-principle:hover {
  background: rgba(245,239,227,0.92);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,16,8,0.08);
}

.hub-principle-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.hub-principle p {
  font-size: 0.88rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.55;
}

.tier-header {
  margin: 4rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tier-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
}

.tier-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

.tier-desc {
  flex-basis: 100%;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.topic-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-dark);
  border: 1px solid var(--border);
  padding: 0 1.5rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width 0.3s ease;
  z-index: 2;
}

.topic-card:hover {
  background: var(--paper);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,16,8,0.08);
}

.topic-card:hover::before { width: 100%; }

.topic-card-image {
  display: block;
  width: calc(100% + 3rem);
  height: 180px;
  object-fit: cover;
  margin: 0 -1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
  filter: sepia(0.15) saturate(0.92) contrast(1.02);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.topic-card:hover .topic-card-image {
  filter: sepia(0) saturate(1) contrast(1);
  transform: scale(1.025);
}

.topic-card-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--sepia-light);
  margin-bottom: 0.5rem;
}

.topic-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--ink);
  line-height: 1.25;
}

.topic-card-title em { color: var(--red); font-style: italic; }

.topic-card-hook {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.topic-card-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  border-top: 1px dashed rgba(192,57,43,0.3);
  padding-top: 0.6rem;
  margin-top: auto;
}

.topic-card.pilot .topic-card-tag { color: var(--gold); border-color: rgba(181,134,13,0.3); }

.hub-footer {
  background: var(--ink);
  color: rgba(245,239,227,0.6);
  padding: 3rem 2rem;
  margin-top: 4rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.8;
}

.hub-footer strong { color: var(--gold); font-weight: 600; }

.hub-footer a { color: var(--red-light); text-decoration: underline; text-underline-offset: 3px; }

/* ─── PRINT / FOCUS ─── */
a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cover > * {
  animation: fadeUp 0.7s ease both;
}

.cover > *:nth-child(1) { animation-delay: 0.1s; }
.cover > *:nth-child(2) { animation-delay: 0.2s; }
.cover > *:nth-child(3) { animation-delay: 0.35s; }
.cover > *:nth-child(4) { animation-delay: 0.45s; }
.cover > *:nth-child(5) { animation-delay: 0.55s; }
.cover > *:nth-child(6) { animation-delay: 0.65s; }
