/* ─── ARTICLE HERO ─── */
.article-hero {
  padding: 10rem 3rem 4rem;
  max-width: 780px;
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--slate);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: all 0.3s var(--ease);
}

.article-back:hover { color: var(--accent); gap: 0.6rem; }

.article-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.article-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.article-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.article-meta-bar {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.82rem;
  color: var(--slate);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.article-meta-bar .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--stone);
}

/* ─── ARTICLE BANNER ─── */
.article-banner {
  max-width: 960px;
  margin: 0 auto 4rem;
  padding: 0 3rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

.article-banner-inner {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.banner-1 {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.banner-2 {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c4a6e 100%);
}

.banner-3 {
  background: linear-gradient(135deg, #0a0a0a 0%, #1c1917 50%, #292524 100%);
}

.banner-1 .banner-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.banner-2 .banner-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.banner-3 .banner-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.banner-icon {
  position: relative;
  z-index: 1;
}

/* ─── ARTICLE CONTENT ─── */
.article-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 3rem 6rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(10,10,10,0.75);
  font-weight: 300;
  margin-bottom: 1.75rem;
}

.article-content p.lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 400;
}

.article-content h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.article-content blockquote {
  border-left: 2px solid var(--accent);
  padding: 1rem 0 1rem 2rem;
  margin: 2.5rem 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(10,10,10,0.7);
  font-weight: 300;
  margin-bottom: 0.6rem;
}

.article-content code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  background: rgba(10,10,10,0.05);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.88rem;
}

.callout {
  background: var(--accent-glow);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}

.callout p {
  color: var(--ink) !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
  font-size: 0.95rem !important;
}

.callout strong { color: var(--accent); }

/* ─── ARTICLE FOOTER ─── */
.article-footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 3rem 4rem;
}

.article-footer-inner {
  border-top: 1px solid rgba(10,10,10,0.08);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-footer-cta h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-footer-cta p {
  font-size: 0.9rem;
  color: var(--slate);
  font-weight: 300;
}

/* ─── RELATED ─── */
.related {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 3rem 6rem;
}

.related h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.related-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(10,10,10,0.05);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(10,10,10,0.07);
  border-color: transparent;
}

.related-card .article-tag { margin-bottom: 0.75rem; }

.related-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.related-card p {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.6;
  font-weight: 300;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .article-hero { padding: 7rem 1.5rem 3rem; }
  .article-banner { padding: 0 1.5rem; }
  .article-banner-inner { height: 220px; }
  .article-content { padding: 0 1.5rem 4rem; }
  .article-footer { padding: 0 1.5rem 3rem; }
  .related { padding: 0 1.5rem 4rem; }
  .related-grid { grid-template-columns: 1fr; }
  .article-footer-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}
