/* ═══════════════════════════════════════════════════
   article.css — Shared stylesheet for all article pages
   Rhythmic Analyst
   To change cosmetic style across all articles, edit ONLY this file.
   Version: v202605121300
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dim:    #8a6a28;
  --bg:          #050505;
  --bg-card:     #0d0d0d;
  --border:      #1e1e1e;
  --text:        #c8d4e0;
  --text-muted:  #6a7a8a;
  --serif:       'Playfair Display', serif;
  --sans:        'DM Sans', sans-serif;
  --mono:        'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); min-height: 100vh; line-height: 1.7; }

/* ── Page wrap ── */
.article-body-wrap { max-width: 860px; margin: 0 auto; padding: 28px 40px 24px; }

/* ── Back link ── */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; margin-bottom: 28px; transition: color 0.2s; }
.back-link:hover { color: var(--gold); }

/* ── Eyebrow ── */
.article-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.article-tag { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3); padding: 3px 10px; border-radius: 3px; }
.article-date { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* ── Title ── */
.article-title { font-family: var(--serif); font-size: clamp(26px, 4.5vw, 44px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 32px; }

/* ── Main image ── */
.article-main-img { width: 100%; display: block; border-radius: 6px; border: 1px solid var(--border); margin-bottom: 40px; }

/* ── Article content typography ── */
.article-content h2 { font-family: var(--serif); font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: #fff; margin: 44px 0 16px; line-height: 1.3; }
.article-content h3 { font-family: var(--serif); font-size: clamp(17px, 2.5vw, 22px); font-weight: 600; color: var(--gold-light); margin: 32px 0 12px; }
.article-content p { font-family: var(--sans); font-size: 16px; color: var(--text); line-height: 1.85; margin-bottom: 22px; }
.article-content strong { color: #fff; font-weight: 600; }
.article-content em { color: var(--gold-light); font-style: italic; }
.article-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.article-content a:hover { color: var(--gold-light); }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 22px; }
.article-content li { font-family: var(--sans); font-size: 16px; color: var(--text); line-height: 1.8; margin-bottom: 6px; }
.article-content blockquote { border-left: 3px solid var(--gold); margin: 32px 0; padding: 16px 24px; background: rgba(201,168,76,0.05); border-radius: 0 6px 6px 0; }
.article-content blockquote p { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--gold-light); margin: 0; }
.article-content figure { margin: 36px 0; }
.article-content figure img { width: 100%; border-radius: 6px; border: 1px solid var(--border); display: block; }
.article-content figcaption { font-family: var(--mono); font-size: 12px; color: var(--text-muted); margin-top: 10px; text-align: center; letter-spacing: 0.05em; }
.article-content hr { border: none; border-top: 1px solid var(--border); margin: 44px 0; }

/* ── Explore link ── */
.explore-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); text-decoration: none; border: 1px solid var(--gold-dim); border-radius: 4px; padding: 10px 20px; margin-bottom: 32px; transition: background 0.2s, color 0.2s; }
.explore-link:hover { background: rgba(201,168,76,0.1); color: var(--gold-light); }

/* ── Disclaimer strip ── */
.article-footer-strip { margin-top: 56px; padding: 24px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-card); display: flex; align-items: flex-start; gap: 16px; }
.article-footer-icon { font-size: 24px; flex-shrink: 0; }
.article-footer-text { font-family: var(--mono); font-size: 12px; color: var(--text-muted); line-height: 1.8; letter-spacing: 0.03em; }
.article-footer-text a { color: var(--gold); text-decoration: none; }
.article-footer-text a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 768px) { .article-body-wrap { padding: 20px 20px 24px; } }
