/* ════════════════════════════════════════════════════
   Article page — single-post template
   ════════════════════════════════════════════════════ */

body { background: var(--bg-warm); }

/* ─── Reading progress bar (under sticky topnav) ─── */
.reading-progress {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(245, 241, 236, 0.06);
  z-index: 99;
  pointer-events: none;
}
.reading-progress__bar {
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width 0.08s linear;
}

/* ─── Breadcrumbs (reuse blog.css pattern) ─── */
.article-breadcrumbs {
  background: var(--bg-warm);
  padding: 88px 0 0;
}
.article-breadcrumbs__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font: 500 11px/1.4 var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-breadcrumbs__inner a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.article-breadcrumbs__inner a:hover { color: var(--accent); }
.article-breadcrumbs__sep { color: rgba(60, 50, 40, 0.32); }
.article-breadcrumbs__current {
  color: var(--text-dark);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 13px;
}

/* ─── Article header ─── */
.article-header {
  padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
}
.article-header__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.article-meta {
  font: 500 12px/1.3 var(--font-body);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.article-meta__sep {
  color: rgba(200, 121, 42, 0.45);
}

.article-title {
  font: 500 clamp(34px, 4.6vw, 60px)/1.1 var(--font-serif);
  letter-spacing: -0.6px;
  color: var(--text-dark);
  margin: 0 0 24px;
  text-wrap: balance;
}
.article-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.article-lead {
  font: italic 400 19px/1.55 var(--font-serif);
  color: var(--text-muted);
  margin: 0;
  text-wrap: pretty;
}

/* ─── Hero image ─── */
.article-hero {
  max-width: 980px;
  margin: clamp(32px, 4vw, 56px) auto;
  padding: 0 var(--gutter);
}
.article-hero__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  border: 1px solid var(--border);
}
.article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(200, 121, 42, 0.10) 0%, rgba(200, 121, 42, 0.02) 100%),
    var(--bg-cream);
  color: var(--accent);
  font: italic 500 18px/1 var(--font-serif);
  letter-spacing: 0.5px;
  padding: 0 24px;
  text-align: center;
}
.article-hero__caption {
  margin: 12px 4px 0;
  font: italic 400 13px/1.5 var(--font-body);
  color: var(--text-muted);
  text-align: center;
}

/* ─── Article body ─── */
.article-body {
  max-width: 680px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 var(--gutter);
  font: 400 18px/1.75 var(--font-body);
  color: var(--text-dark);
}
.article-body p {
  margin: 0 0 1.5em;
  text-wrap: pretty;
}
.article-body p:last-child { margin-bottom: 0; }

.article-body h2 {
  font: 500 clamp(26px, 2.6vw, 32px)/1.25 var(--font-serif);
  letter-spacing: -0.3px;
  color: var(--text-dark);
  margin: 2em 0 0.8em;
  text-wrap: pretty;
}
.article-body h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.article-body h3 {
  font: 500 22px/1.3 var(--font-serif);
  letter-spacing: -0.2px;
  color: var(--text-dark);
  margin: 1.6em 0 0.6em;
}

.article-body strong { font-weight: 600; }
.article-body em     { font-style: italic; color: inherit; font-weight: inherit; }
.article-body .accent { color: var(--accent); font-weight: 600; }

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
.article-body a:hover {
  color: var(--accent-dark);
  text-decoration-color: transparent;
}

.article-body blockquote {
  margin: 2.4em 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--accent);
  font: italic 500 22px/1.5 var(--font-serif);
  color: var(--text-dark);
}
.article-body blockquote p { margin: 0; }
.article-body blockquote cite {
  display: block;
  margin-top: 14px;
  font: 500 11px/1.3 var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

.article-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.article-body ul li {
  position: relative;
  padding-left: 24px;
}
.article-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Inline figure — breaks out of the text column up to 980px */
.article-figure {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100vw - 2 * var(--gutter)));
  margin: 2.4em 0;
}
.article-figure__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  border: 1px solid var(--border);
}
.article-figure__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(200, 121, 42, 0.08) 0%, rgba(200, 121, 42, 0.02) 100%),
    var(--bg-cream);
  color: var(--accent);
  font: italic 500 15px/1 var(--font-serif);
  text-align: center;
  padding: 0 24px;
}
.article-figure figcaption {
  margin: 12px 4px 0;
  font: italic 400 13px/1.5 var(--font-body);
  color: var(--text-muted);
  text-align: center;
}

/* ─── Inline CTA banner inside the article ─── */
.article-inline-cta {
  background: var(--bg-cream);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  margin: 2.4em 0;
  font: italic 500 16px/1.5 var(--font-serif);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-inline-cta__text { flex: 1; min-width: 240px; }
.article-inline-cta__link {
  color: var(--accent);
  font: 500 14px/1 var(--font-body);
  letter-spacing: 0.3px;
  text-decoration: none;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.article-inline-cta__link::after {
  content: '→';
  transition: transform var(--dur) var(--ease-out);
}
.article-inline-cta__link:hover { color: var(--accent-dark); }
.article-inline-cta__link:hover::after { transform: translateX(4px); }

/* ─── Author signature ─── */
.article-author {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px var(--gutter) 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 18px;
}
.article-author__avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-cream);
  border: 1px solid var(--border);
}
.article-author__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.article-author__body { min-width: 0; }
.article-author__name {
  font: 500 20px/1.2 var(--font-serif);
  color: var(--text-dark);
  margin: 0 0 4px;
}
.article-author__role {
  font: 500 11px/1.3 var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.article-author__role a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.article-author__role a:hover { color: var(--accent-dark); }

/* Add wrapper spacing under article body before author */
.article-body + .article-author {
  margin-top: -16px;
}

/* ─── Related articles ─── */
.related-articles {
  background: var(--bg-warm);
  padding: clamp(56px, 6vw, 88px) 0 clamp(64px, 7vw, 96px);
  border-top: 1px solid var(--border);
}
.related-articles__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.related-articles__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 500 12px/1 var(--font-body);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.related-articles__eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.related-articles__title {
  font: 500 clamp(28px, 3vw, 36px)/1.2 var(--font-serif);
  letter-spacing: -0.3px;
  color: var(--text-dark);
  margin: 0 0 36px;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .reading-progress { top: 64px; }
}
@media (max-width: 720px) {
  .reading-progress { top: 64px; }
  .article-breadcrumbs { padding-top: 80px; }
  .article-breadcrumbs__inner { padding: 14px var(--gutter-mobile); font-size: 11.5px; gap: 8px; }
  .article-header { padding-top: 32px; }
  .article-hero, .article-body, .article-author { padding-left: var(--gutter-mobile); padding-right: var(--gutter-mobile); }
  .article-figure { width: calc(100vw - 2 * var(--gutter-mobile)); }
  .article-body { font-size: 17px; line-height: 1.7; }
  .article-body blockquote { font-size: 19px; padding-left: 20px; }
  .article-inline-cta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .article-author { gap: 14px; }
  .article-author__avatar { width: 60px; height: 60px; }
}
