/* =============================================================
   philosophy.css — The Made Self · Philosophical Inquiry index
   Styles for inquiry/philosophy.html (the era/thinker index).
   Requires shared.css + module.css to be loaded first.
   ============================================================= */

/* ── TOC era grouping + sub-links ───────────────────────────── */
.toc-era {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  opacity: 0.6;
  padding: 16px 0 6px;
}
.toc-era:first-child { padding-top: 4px; }

.toc-link.toc-sub {
  padding-left: 16px;
  opacity: 0.6;
  font-size: 13px;
}

/* ── Era section ─────────────────────────────────────────────── */
.era-marker {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.era-marker:first-of-type {
  padding-top: 60px;
}

.era-marker-label {
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 300;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.era-marker-desc {
  font-family: var(--sans);
  font-size: clamp(14.5px, 1.3vw, 16px);
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
}

/* ── Thinker list + cards ────────────────────────────────────── */
.thinker-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.thinker-card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px dashed var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.thinker-card:hover { opacity: 0.7; }

.thinker-card-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.thinker-dates {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.5;
  white-space: nowrap;
  flex-shrink: 0;
}

.thinker-name {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
}

.thinker-wall {
  font-family: var(--sans);
  font-size: clamp(13px, 1.2vw, 14.5px);
  font-weight: 300;
  color: var(--muted);
  opacity: 0.7;
  line-height: 1.6;
  max-width: 380px;
  text-align: right;
  flex-shrink: 0;
}

.thinker-arrow {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
  margin-left: 16px;
}

@media (max-width: 640px) {
  .thinker-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 0;
  }
  .thinker-wall  { text-align: left; max-width: 100%; }
  .thinker-arrow { display: none; }
}
