/* ═══════════════════════════════════════════════════════════════
   1 in a Billion — Thesis article overrides
   Extends the main styles.css light cream theme
   ═══════════════════════════════════════════════════════════════ */

/* ─── Article container ─── */
.thesis-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Hero ─── */
.thesis-hero {
  padding: 120px 0 60px;
  text-align: center;
}

.thesis-hero .eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 24px;
}

.thesis-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 24px;
}

.thesis-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 36px;
}

.thesis-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.thesis-meta-item { text-align: center; }

.thesis-meta-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 6px;
}

.thesis-meta-value {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ─── Section spacing ─── */
.thesis-section {
  padding: 50px 0;
  position: relative;
}

.thesis-section + .thesis-section { padding-top: 0; }

.thesis-section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin-bottom: 50px;
}

.thesis-section:first-of-type::before { display: none; }

/* ─── Section numbers ─── */
.section-num {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 14px;
}

/* ─── Headings ─── */
.thesis-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0 0 24px;
}

.thesis-section h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-main);
  margin: 36px 0 14px;
  line-height: 1.25;
}

/* ─── Body text ─── */
.thesis-section p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-main);
  margin: 0 0 20px;
  max-width: 68ch;
}

.thesis-section p:last-child { margin-bottom: 0; }

/* ─── Drop caps ─── */
.drop-cap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 4em;
  line-height: 0.78;
  padding-right: 10px;
  padding-top: 6px;
  color: var(--brand-red);
  font-weight: 700;
}

/* ─── Pull quotes ─── */
.pull-quote {
  border-left: 3px solid var(--brand-red);
  padding: 8px 0 8px 24px;
  margin: 36px 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-main);
  max-width: 600px;
}

.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ─── Lists ─── */
.thesis-section ul,
.thesis-section ol {
  padding-left: 24px;
  margin: 0 0 20px;
  max-width: 68ch;
}

.thesis-section li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 10px;
}

.thesis-section li strong {
  color: var(--text-main);
  font-weight: 600;
}

/* ─── Computation / emphasis blocks ─── */
.computation-block {
  margin: 28px 0;
  padding: 24px 26px;
  border-radius: 20px;
  background: rgba(209, 0, 0, 0.04);
  border: 1px solid rgba(209, 0, 0, 0.12);
}

.computation-block h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin: 0 0 10px;
}

.computation-block p {
  font-size: 0.98rem !important;
  line-height: 1.78;
  color: var(--text-main) !important;
  margin: 0 0 12px;
}

.computation-block p:last-child { margin-bottom: 0; }

/* ─── Closing ─── */
.thesis-closing {
  text-align: center;
  padding: 70px 20px 90px;
}

.thesis-closing h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 20px;
}

.thesis-closing p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.thesis-closing .btn-primary {
  margin-top: 8px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .thesis-hero { padding: 100px 0 40px; }
  .thesis-article { padding: 0 20px; }
  .thesis-section { padding: 36px 0; }
  .thesis-section::before { margin-bottom: 36px; }
  .pull-quote { font-size: 1.1rem; padding-left: 18px; margin: 24px 0; }
  .drop-cap::first-letter { font-size: 3.2em; padding-right: 8px; }
  .thesis-meta { gap: 20px; }
  .computation-block { padding: 18px 20px; }
}

@media (max-width: 480px) {
  .thesis-hero { padding: 90px 0 32px; }
  .thesis-meta { flex-direction: column; gap: 14px; }
  .pull-quote { font-size: 1.02rem; }
}
