/* ============================================================
   Articles — the reading surface. Same materials, longer measure.
   ============================================================ */

.reading {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* ---------- language switch ---------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 2px;
  flex: none;
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang-switch button:hover:not([aria-pressed="true"]) { color: var(--text); }

/* ---------- reading progress ---------- */

.read-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 59;
  transition: width 0.1s linear;
}

/* ---------- hub ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filter-chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 650;
  padding: 7px 15px;
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-chip:hover { color: var(--text); border-color: var(--line-strong); }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { margin-left: auto; font-size: 13px; color: var(--faint); }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-row { border-bottom: 1px solid var(--line); }
.post-link {
  display: grid;
  grid-template-columns: 130px 1fr 24px;
  gap: clamp(16px, 3vw, 32px);
  align-items: baseline;
  padding: clamp(24px, 3vw, 32px) 0;
  text-decoration: none;
  color: inherit;
}
.post-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-cat i { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.cat-typology i { background: var(--lilac); }
.cat-research i { background: var(--sky); }
.cat-relationships i { background: var(--rose); }
.cat-shadow i { background: var(--amber); }
.post-main h2 {
  font-size: clamp(21px, 2.6vw, 28px);
  letter-spacing: -0.025em;
  transition: color 0.2s;
}
.post-link:hover .post-main h2 { color: var(--accent-ink); }
.post-dek { color: var(--muted); font-size: 15px; margin-top: 9px; max-width: 56ch; }
.post-time { display: block; font-size: 12.5px; color: var(--faint); margin-top: 12px; }
.post-go {
  font-size: 18px;
  color: var(--line-strong);
  transition: transform 0.22s var(--ease), color 0.22s;
}
.post-link:hover .post-go { color: var(--accent); transform: translateX(4px); }
.post-empty { padding: 40px 0; color: var(--muted); }

/* ---------- article ---------- */

.article-head { padding-block: clamp(36px, 5vw, 60px) clamp(24px, 3vw, 34px); }
.article-topline, .hub-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.hub-topline .eyebrow, .article-topline .crumbs { margin-bottom: 0; }
.crumbs { font-size: 12.5px; color: var(--faint); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 650; }
.crumbs a:hover { color: var(--accent-ink); }
.article-head h1 {
  font-size: clamp(31px, 4.6vw, 50px);
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.article-dek {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.55;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
}

.article-body { padding-bottom: clamp(32px, 4vw, 48px); }
.article-body > p { font-size: 17.5px; line-height: 1.75; margin-top: 22px; color: #2B2534; }
.article-body > p:first-child { margin-top: 0; }
.article-body h2 {
  font-size: clamp(22px, 2.8vw, 29px);
  letter-spacing: -0.028em;
  margin-top: clamp(36px, 4vw, 48px);
}
.article-body h3 { font-family: var(--sans); font-size: 16px; font-weight: 750; letter-spacing: 0; margin-top: 28px; }
.article-body ul, .article-body ol {
  font-size: 17px;
  line-height: 1.7;
  color: #2B2534;
  margin-top: 20px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.article-body strong { font-weight: 700; color: var(--text); }
.article-body em { font-style: italic; }
.article-body a { color: var(--accent-ink); }

.pull {
  margin: clamp(30px, 4vw, 40px) 0;
  padding-left: 22px;
  border-left: 2px solid var(--accent);
}
.pull p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 25px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}

.takeaway {
  margin-top: clamp(30px, 4vw, 40px);
  background: var(--sand);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.6vw, 26px);
}
.takeaway p:first-child {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.takeaway ul { margin-top: 14px; font-size: 15.5px; line-height: 1.65; gap: 8px; }

.article-fine {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
  line-height: 1.6;
}

/* ---------- the fixed end-of-article CTA (identical on every article) ---------- */

.article-cta {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(26px, 3.6vw, 38px);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.article-cta .eyebrow { margin-bottom: 12px; }
.article-cta h2 { font-size: clamp(23px, 3vw, 31px); letter-spacing: -0.03em; }
.article-cta .cta-copy { color: var(--muted); font-size: 15.5px; margin-top: 14px; max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.cta-fine { font-size: 12.5px; color: var(--faint); margin-top: 18px; }

.more-reads { border-top: 1px solid var(--line); }
.more-reads .card-grid { margin-top: 4px; }

@media (max-width: 760px) {
  .post-link { grid-template-columns: 1fr 20px; gap: 6px 14px; }
  .post-cat { grid-column: 1 / -1; }
  .post-go { align-self: center; }
  .filter-count { width: 100%; margin-left: 0; order: 9; }
  .article-body > p, .article-body ul, .article-body ol { font-size: 16.5px; }
  .cta-actions .btn { flex: 1 1 auto; }
}