/* ─── Thesis / single-page styles ──────────────────────────────────── */

/* ── Thesis section header (anchor target before Core Thesis) ─────── */

.th-section-header {
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--rule);
}

.th-section-lead {
  font-size: 14px;
  font-weight: 300;
  color: var(--grey);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.th-section-header-sub {
  max-width: 620px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--grey);
  margin-top: 0;
}

/* Remove double border: th-section-header bottom padding + th-intro top border */
.th-section-header + .th-intro {
  border-top: none;
}

/* ── Shared text helpers ────────────────────────────────────────────── */

.th-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 2rem;
}

.th-h2 em {
  font-style: italic;
  color: var(--gold);
}

.th-h2--light {
  color: var(--white);
}

.th-h2--light em {
  color: var(--gold-lt);
}

.th-h2-center {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 1.5rem;
  text-align: center;
}

.th-h2-center em {
  font-style: italic;
  color: var(--gold);
}

.th-h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.th-h3--light {
  color: var(--white);
}

.th-p--light {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(245,243,238,0.65);
  margin-bottom: 1.25rem;
}

.th-p--light:last-child { margin-bottom: 0; }

/* ── Intro section (core thesis + diagram 1) ───────────────────────── */

.th-intro {
  padding: 5rem var(--pad-x) 7rem;
  border-top: 1px solid var(--rule);
}

.th-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.th-text-col p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--grey);
  margin-bottom: 1.25rem;
}

.th-text-col p:last-child { margin-bottom: 0; }

/* ── Pillars intro ────────────────────────────────────────────────── */

.th-pillars-intro {
  padding: 7rem var(--pad-x) 5rem;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.th-pillars-sub {
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--grey);
}

/* ── Individual pillar sections ────────────────────────────────────────── */

.th-pillar {
  padding: 7rem var(--pad-x);
}

.th-pillar--light {
  background: var(--white);
}

.th-pillar--dark {
  background: var(--black);
}

.th-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.th-pillar-grid--reversed .th-pillar-diagram {
  order: 2;
}

.th-pillar-grid--reversed .th-pillar-text {
  order: 1;
}

.th-pillar-num {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.th-pillar-num--light {
  color: var(--gold-lt);
}

.th-pillar-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--grey);
  margin-bottom: 1.25rem;
}

.th-pillar-text p:last-child { margin-bottom: 0; }

/* ── Diagram containers ──────────────────────────────────────────────── */

.th-diagram,
.th-pillar-diagram,
.th-synthesis-diagram {
  width: 100%;
}

.th-diagram svg,
.th-pillar-diagram svg,
.th-synthesis-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Synthesis section — distinct dark room ─────────────────────────────── */

.th-synthesis {
  padding: 6rem var(--pad-x);
  background: var(--black);
  border-top: 5px solid var(--gold);
  border-bottom: 5px solid var(--gold);
}

.th-synthesis .section-label {
  color: var(--gold);
}

.th-synthesis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.th-synthesis .th-p--light {
  font-size: 16px;
  line-height: 1.95;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.th-synthesis .th-p--light:last-child { margin-bottom: 0; }

/* E/ACC: serif italic heading in gold — heading-scale, not a small-caps chip */
.th-eacc-label {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
  color: var(--gold);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

/* ── Closing quote section — climactic full-dark treatment ───────────── */

.th-cta-section {
  padding: 12rem var(--pad-x);
  background: var(--black);
  text-align: center;
}

.th-cta-section blockquote {
  max-width: 820px;
  margin: 0 auto;
}

.th-cta-section blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--cream);
}

/* ── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .th-intro-grid,
  .th-pillar-grid,
  .th-synthesis-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .th-pillar-grid--reversed .th-pillar-diagram,
  .th-pillar-grid--reversed .th-pillar-text {
    order: unset;
  }

  .th-h2-center {
    text-align: left;
  }

  .th-pillars-intro {
    text-align: left;
  }

  .th-pillars-sub {
    margin: 0;
  }

  .th-cta-section {
    text-align: left;
  }
}
