/* ============================================================
   Article / blog post page styles
   Builds on styles.css + creatives.css tokens
   ============================================================ */

.article-top {
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: 10px;
}
.article-col {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.article-wide {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 30px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.back-link:hover { color: var(--accent); gap: 12px; }

.article-cat {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.article-dek {
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 22px;
  text-wrap: pretty;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.article-meta .av {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.article-meta .byline b { font-family: var(--font-display); font-size: 15.5px; display: block; }
.article-meta .byline span { color: var(--ink-soft); font-size: 13.5px; }
.article-meta .byline.nowrap span { white-space: nowrap; }
.article-meta .dot-sep { color: var(--ink-faint); }

.article-cover {
  margin: 40px auto 8px;
}
.article-cover .cv { aspect-ratio: 21 / 9; border-radius: var(--radius); }
.article-cover figcaption {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 12px;
  text-align: center;
}

/* prose */
.prose { font-size: 19px; line-height: 1.72; color: var(--ink); }
.prose > p { margin-top: 26px; }
.prose > p:first-child { margin-top: 34px; }
.prose .dropcap {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4em;
  float: left;
  line-height: 0.78;
  margin: 7px 12px 0 0;
  color: var(--accent);
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(25px, 2.8vw, 33px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 52px;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  margin-top: 34px;
}
.prose ul { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: "";
  position: absolute; left: 2px; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.prose strong { font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.pullquote {
  margin: 46px 0;
  padding: 4px 0 4px 32px;
  border-left: 3px solid var(--accent);
}
.pullquote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(23px, 2.8vw, 31px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.article-figure { margin: 46px 0; }
.article-figure .cv { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.article-figure figcaption { font-size: 13px; color: var(--ink-faint); margin-top: 12px; }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.article-tags .t {
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* author card */
.author-card {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 44px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.author-card .av {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.author-card h4 { font-family: var(--font-display); font-size: 19px; }
.author-card .role { color: var(--accent); font-weight: 600; font-size: 14.5px; margin-top: 2px; }
.author-card p { color: var(--ink-soft); font-size: 15.5px; margin-top: 10px; }

/* related */
.related { padding: clamp(70px, 10vh, 120px) 0; background: var(--bg-2); margin-top: 80px; }
.related h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; margin-bottom: 36px; }

@media (max-width: 560px) {
  .author-card { flex-direction: column; align-items: flex-start; text-align: left; }
}