/* ============================================================
   Blog article pages — shares tokens with styles.css
   ============================================================ */

.article-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.article-header .nav { height: 72px; }

/* breadcrumb / hero */
.article-hero { padding-top: clamp(36px, 5vw, 64px); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: var(--green-700); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.article-cat {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brass-deep); margin-bottom: 16px;
}
.article-title {
  font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); max-width: 18ch;
}
.article-meta { display: flex; align-items: center; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 14.5px; flex-wrap: wrap; }
.article-meta .by { display: flex; align-items: center; gap: 10px; }
.article-meta .by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.article-meta .by strong { color: var(--ink); font-weight: 600; display: block; font-size: 14.5px; }
.article-meta .by span { font-size: 12.5px; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

.article-figure {
  margin: clamp(28px, 4vw, 44px) 0 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--sand); border: 1px solid var(--line);
  display: grid; place-items: center; max-height: 460px;
}
.article-figure img { width: 100%; height: auto; max-height: 460px; object-fit: contain; display: block; }

/* body prose */
.article-body { max-width: 760px; margin: clamp(36px, 5vw, 56px) auto 0; padding-bottom: clamp(48px, 6vw, 80px); }
.article-body > * + * { margin-top: 1.15em; }
.article-body p { font-size: 18px; line-height: 1.7; color: var(--body); }
.article-body .lead { font-size: 21px; line-height: 1.6; color: var(--ink); font-family: var(--font-display); }
.article-body h2 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); color: var(--ink);
  margin-top: 1.8em; line-height: 1.18; letter-spacing: -0.01em;
}
.article-body h3 {
  font-family: var(--font-display); font-size: clamp(20px, 2.3vw, 24px); color: var(--green-800);
  margin-top: 1.5em;
}
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { font-size: 18px; line-height: 1.7; color: var(--body); margin-top: .5em; }
.article-body li::marker { color: var(--brass); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body blockquote {
  border-left: 3px solid var(--brass); padding: 4px 0 4px 22px; margin: 1.6em 0;
  font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--green-800);
}
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }

/* callout / faq */
.callout {
  background: var(--green-50); border: 1px solid var(--green-100); border-radius: 14px;
  padding: 22px 26px; font-size: 16px; color: var(--green-800);
}
.callout strong { color: var(--green-800); }
.faq-block { margin-top: 1.4em; }
.faq-block .q { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 18px; margin-top: 1.3em; }
.faq-block .a { font-size: 17px; color: var(--body); line-height: 1.65; margin-top: .4em; }

.disclaimer {
  margin-top: 2em; font-size: 14.5px; color: var(--muted); font-style: italic;
  border-top: 1px solid var(--line); padding-top: 1.4em;
}

/* author bio */
.author-bio {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-top: 2.2em;
}
.author-bio img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.author-bio h4 { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.author-bio p { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; }

/* article CTA band */
.article-cta {
  background: var(--green-800); color: #fff; border-radius: 20px;
  padding: clamp(32px, 4vw, 48px); text-align: center; margin-top: 2.4em;
  position: relative; overflow: hidden;
}
.article-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(176,134,58,.18), transparent 60%); }
.article-cta > * { position: relative; z-index: 1; }
.article-cta h3 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); color: #fff; }
.article-cta p { color: #B9CABF; margin-top: 12px; font-size: 16.5px; }
.article-cta .btn { margin-top: 22px; }

/* related */
.related { border-top: 1px solid var(--line); }
.related h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); margin-bottom: 28px; }

@media (max-width: 640px) {
  .article-body p, .article-body li { font-size: 17px; }
  .article-body .lead { font-size: 19px; }
}
