/* ============================================
   ARTICLE STYLES
   ============================================ */

/* Reading progress */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold), var(--gold-deep));
  z-index: 200;
  transition: width 0.15s linear;
}

/* Hero */
.article-hero {
  padding: 9rem 0 3rem;
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 500px;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.article-hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

.article-meta-top {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.article-meta-top .dot {
  width: 4px; height: 4px;
  background: var(--cream-muted);
  border-radius: 50%;
}
.article-meta-top .date,
.article-meta-top .read-time {
  color: var(--cream-muted);
}
.article-meta-top a.category {
  color: var(--gold);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: all 0.3s ease;
}
.article-meta-top a.category:hover {
  background: var(--gold-glow);
}

.article-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.article-excerpt {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--cream-dim);
  max-width: 740px;
}

.article-author {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.article-author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--cream);
  font-size: 15px;
}
.article-author-info { display: flex; flex-direction: column; gap: 2px; }
.article-author-name { color: var(--cream); font-weight: 500; font-size: 0.95rem; }
.article-author-role { color: var(--cream-muted); font-size: 12px; letter-spacing: 0.05em; }

/* Hero feature visual */
.article-feature-image {
  max-width: 1100px;
  margin: 4rem auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, #1a1612 0%, #221d18 50%, #14110e 100%),
    radial-gradient(circle at 30% 30%, var(--gold-glow), transparent 60%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-feature-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 450' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23c9a961' stroke-width='0.5' fill='none' opacity='0.25'%3E%3Cpath d='M50 320 L400 150 L750 320 L750 420 L50 420 Z'/%3E%3Cpath d='M200 320 L200 420 M300 320 L300 420 M500 320 L500 420 M600 320 L600 420'/%3E%3Cpath d='M50 320 L750 320'/%3E%3Crect x='340' y='340' width='120' height='80'/%3E%3Crect x='220' y='340' width='60' height='50'/%3E%3Crect x='520' y='340' width='60' height='50'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.article-feature-badge {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.article-feature-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.article-feature-text {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Body */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--cream-dim);
}

.article-body > p:first-of-type {
  font-size: 1.2rem;
  color: var(--cream);
  font-weight: 300;
}
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  float: left;
  line-height: 0.85;
  margin: 0.55rem 0.65rem 0 0;
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--cream);
  margin: 3.5rem 0 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.article-body h2 .num {
  display: inline-block;
  font-style: italic;
  font-size: 0.85em;
  color: var(--gold);
  margin-right: 0.65rem;
  font-weight: 300;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.article-body p {
  margin-bottom: 1.4rem;
}

.article-body a {
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s ease;
}
.article-body a:hover { border-color: var(--gold); }

.article-body ul, .article-body ol {
  margin: 1.25rem 0 1.75rem 1.25rem;
}
.article-body li {
  margin-bottom: 0.65rem;
  padding-left: 0.35rem;
}
.article-body ul li::marker { color: var(--gold); }
.article-body ol li::marker { color: var(--gold); font-family: var(--font-display); font-style: italic; }

.article-body strong {
  color: var(--cream);
  font-weight: 500;
}

.article-body em { color: var(--cream); font-style: italic; }

.article-body blockquote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--cream);
  margin: 3rem 0;
  padding: 1rem 0 1rem 2rem;
  border-left: 2px solid var(--gold);
  position: relative;
}
.article-body blockquote::before {
  content: '"';
  position: absolute;
  left: -0.4rem;
  top: -1.2rem;
  font-size: 5rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1;
  opacity: 0.6;
}

/* Callout box */
.callout {
  margin: 2.75rem 0;
  padding: 2rem 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.7;
}
.callout-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 0.85rem; }

/* Stat block */
.stat-block {
  margin: 3rem 0;
  padding: 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 300px 200px at 50% 0%, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.stat-item { position: relative; z-index: 1; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
@media (max-width: 700px) {
  .stat-block { grid-template-columns: 1fr; }
}

/* Inline CTA block */
.cta-block {
  margin: 4rem 0;
  padding: 3rem 2.5rem;
  background: linear-gradient(165deg, rgba(201,169,97,0.08), var(--bg-card) 60%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 50% 0%, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.cta-block-inner { position: relative; z-index: 1; }
.cta-block .eyebrow { margin-bottom: 1rem; justify-content: center; }
.cta-block h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  color: var(--cream);
}
.cta-block p {
  color: var(--cream-dim);
  margin: 0 auto 1.75rem;
  max-width: 500px;
  font-size: 1rem;
}

/* TOC sidebar (desktop only) */
.article-layout {
  position: relative;
}

/* Share row */
.share-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.share-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-right: 0.5rem;
}
.share-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream-dim);
  transition: all 0.3s ease;
}
.share-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* Related articles */
.related-articles {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  padding: 5rem 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Author bio (end of article) */
.author-bio {
  margin: 4rem 0 2rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.author-bio-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--cream);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.author-bio-text { flex: 1; }
.author-bio-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.author-bio-role {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.author-bio-desc {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 600px) {
  .article-body { font-size: 1.05rem; line-height: 1.7; }
  .article-body blockquote { font-size: 1.25rem; padding-left: 1.5rem; }
  .callout, .cta-block, .stat-block { padding: 1.75rem; }
  .author-bio { flex-direction: column; padding: 1.75rem; }
}
