/* ============================================================
   ARTICLE — layout and typography for thinking/ essay pages
   Shared by: thinking/dear-self.html, thinking/should-we-build.html
   ============================================================ */

article {
  max-width: 720px;
  margin: 0 auto;
  padding: 9rem 2rem 6rem;
}

.article-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.article-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.article-title em { font-style: normal; font-weight: 400; color: var(--ink-4); }

.article-deck {
  font-size: 1.2rem;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 3rem;
}

.article-byline {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4rem;
}
.byline-mono {
  font-family: var(--mono); font-size: 0.66rem; color: var(--ink-4);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.byline-name { font-size: 0.88rem; color: var(--ink-2); }

/* Body prose */
.article-body p {
  font-size: 1.1rem; line-height: 1.7; color: var(--ink-2);
  margin-bottom: 1.5rem; font-weight: 300;
}
.article-body p strong { color: var(--ink); font-weight: 500; }
.article-body p em { font-style: italic; color: var(--ink); }

/* Section break rule */
.section-break {
  font-family: var(--mono); font-size: 0.66rem; color: var(--ink-4);
  letter-spacing: 0.12em; text-transform: uppercase;
  text-align: center; margin: 3.5rem 0 2.5rem; position: relative;
}
.section-break::before, .section-break::after {
  content: ''; position: absolute; top: 50%; width: 30%; height: 1px; background: var(--rule);
}
.section-break::before { left: 0; }
.section-break::after  { right: 0; }

/* Pull quote */
.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2; letter-spacing: -0.03em; font-weight: 400;
  color: var(--ink); padding: 2.5rem 0; margin: 2rem 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.pullquote em { color: var(--accent); font-style: normal; }

/* Footer */
.article-footer { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.footer-cta {
  font-family: var(--serif); font-size: 1.4rem; color: var(--ink);
  letter-spacing: -0.02em; margin-bottom: 1.25rem; font-weight: 500;
}
.footer-cta em { font-style: normal; color: var(--ink-4); font-weight: 400; }
.footer-link {
  display: inline-block; color: var(--accent); text-decoration: none;
  font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.04em; transition: opacity 150ms;
}
.footer-link:hover { opacity: 0.7; }

@media (max-width: 720px) {
  article { padding: 7rem 1.5rem 4rem; }
}
