/* ============================================================
   ARTICLE — long-form insight / blog page
   Inherits tokens from styles.css (:root)
   ============================================================ */

.article-main { padding-top: 0; }

/* ---------- hero ---------- */
.article-hero { padding: clamp(48px, 7vh, 88px) 0 0; }
.article-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.article-back {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.article-back:hover { color: var(--ink); gap: 13px; }
.article-cat {
  display: block;
  margin-top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.article-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 18px 0 0;
  text-wrap: balance;
}
.article-dek {
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 24px auto 0;
  max-width: 660px;
  text-wrap: pretty;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 34px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.article-meta .am-author { color: var(--ink); }
.article-meta .am-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* ---------- cover ---------- */
.article-cover {
  max-width: 1080px;
  margin: clamp(40px, 6vh, 72px) auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- body ---------- */
.article-body { max-width: 720px; margin: clamp(44px, 6vh, 72px) auto 0; }
.article-body > * { margin: 0; }
.article-body > * + * { margin-top: 26px; }
.article-body p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.72;
  color: var(--ink-2);
  text-wrap: pretty;
}
.article-body p .lead-in { color: var(--ink); }
.article-body strong { color: var(--ink); font-weight: 400; }
.article-body a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(90,140,240,0.4); }
.article-body a:hover { border-bottom-color: var(--blue); }
.article-body h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 52px;
}
.article-body h2 + p { margin-top: 18px; }
.article-body h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 36px;
}
.article-body blockquote {
  margin: 40px 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--orange);
}
.article-body blockquote p {
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
}
.article-body ul, .article-body ol { padding-left: 0; list-style: none; }
.article-body li {
  position: relative;
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink-2);
  padding: 0 0 0 26px;
}
.article-body li + li { margin-top: 14px; }
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px; height: 1.5px;
  background: var(--orange);
}
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before {
  content: counter(ol);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--blue);
}
.article-pull {
  margin: 48px 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.article-pull .hl { color: var(--blue); }

/* ---------- author / footer ---------- */
.article-author {
  max-width: 720px;
  margin: clamp(48px, 7vh, 80px) auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.article-author .aa-mark {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.article-author .aa-name { font-size: 17px; font-weight: 500; color: var(--ink); }
.article-author .aa-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.article-author .aa-bio { font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--ink-2); margin-top: 12px; }

/* ---------- end CTA ---------- */
.article-cta {
  max-width: 720px;
  margin: clamp(44px, 6vh, 64px) auto 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(90,140,240,0.05), transparent 60%), var(--bg-2);
  text-align: center;
}
.article-cta h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.article-cta p { font-size: 15px; font-weight: 300; color: var(--ink-2); margin: 0 0 24px; }

/* ---------- more articles ---------- */
.article-more { margin-top: clamp(60px, 9vh, 110px); }
.article-more .sec-head { margin-bottom: 40px; }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.more-card {
  border: 1px solid var(--line);
  padding: 30px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.more-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.more-card .mc-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.more-card .mc-title { font-size: 21px; font-weight: 400; line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }

@media (max-width: 680px) {
  .more-grid { grid-template-columns: 1fr; }
  .article-author { flex-direction: column; gap: 16px; }
}
