/* =============================================
   NAV OVERRIDE - Always Solid
============================================= */
.nav {
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--cream-05);
}

/* =============================================
   ARTICLE HEADER
============================================= */
.article-header {
  padding: 180px clamp(24px, 5vw, 60px) 80px;
  position: relative;
  overflow: hidden;
}

.article-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-10), transparent);
}

.article-header__inner {
  max-width: 760px;
  margin: 0 auto;
}

.article-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-40);
  margin-bottom: 48px;
  transition: color 0.3s;
}

.article-header__back:hover {
  color: var(--accent);
}

.article-header__back-arrow {
  transition: transform 0.3s;
}

.article-header__back:hover .article-header__back-arrow {
  transform: translateX(-4px);
}

.article-header__cat {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.article-header__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.82rem;
  color: var(--cream-40);
  font-weight: 300;
}

.article-header__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cream-20);
}

/* =============================================
   ARTICLE BODY
============================================= */
.article-body {
  padding: 80px clamp(24px, 5vw, 60px) 120px;
}

.article-body__inner {
  max-width: 760px;
  margin: 0 auto;
}

/* =============================================
   PROSE STYLES
============================================= */
.prose p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--cream-80);
  line-height: 1.85;
  margin-bottom: 28px;
}

.prose h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin-top: 64px;
  margin-bottom: 24px;
  color: var(--cream);
}

.prose h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--cream);
}

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

.prose em {
  font-style: italic;
  color: var(--cream-80);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 107, 43, 0.3);
  transition: text-decoration-color 0.3s;
}

.prose a:hover {
  text-decoration-color: var(--accent);
}

.prose ul, .prose ol {
  margin-bottom: 28px;
  padding-left: 24px;
}

.prose ul {
  list-style: none;
  padding-left: 0;
}

.prose ul li {
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream-80);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.prose ol li {
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream-80);
  line-height: 1.8;
  margin-bottom: 8px;
}

.prose ol li::marker {
  color: var(--accent);
  font-weight: 500;
}

.prose blockquote {
  margin: 40px 0;
  padding: 28px 32px;
  border-left: 2px solid var(--accent);
  background: var(--accent-glow);
  border-radius: 0 12px 12px 0;
}

.prose blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream-80);
  margin-bottom: 0;
}

.prose hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-10), transparent);
  margin: 56px 0;
}

.prose code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88em;
  background: var(--surface-2);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--accent);
  border: 1px solid var(--cream-05);
}

.prose pre {
  background: var(--surface);
  border: 1px solid var(--cream-05);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 32px 0;
  overflow-x: auto;
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--cream-60);
  line-height: 1.7;
}

.prose img {
  width: 100%;
  border-radius: 12px;
  margin: 40px 0;
  border: 1px solid var(--cream-05);
}

.prose figure {
  margin: 40px 0;
}

.prose figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--cream-40);
  margin-top: 12px;
  font-weight: 300;
}

/* =============================================
   CALLOUT
============================================= */
.callout {
  background: var(--surface);
  border: 1px solid var(--cream-05);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 40px 0;
}

.callout__label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.callout p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =============================================
   ARTICLE CTA
============================================= */
.article-cta {
  padding: 0 clamp(24px, 5vw, 60px) 120px;
}

.article-cta__inner {
  max-width: 760px;
  margin: 0 auto;
}

.article-cta__box {
  background: var(--surface);
  border: 1px solid var(--cream-05);
  border-radius: 20px;
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta__box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at center top, var(--accent-glow) 0%, transparent 70%);
}

.article-cta__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
}

.article-cta__desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--cream-60);
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.7;
  position: relative;
}

/* =============================================
   MORE ARTICLES
============================================= */
.more {
  padding: 0 clamp(24px, 5vw, 60px) 120px;
}

.more__inner {
  max-width: 760px;
  margin: 0 auto;
}

.more__label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.more__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.more__card {
  background: var(--surface);
  border: 1px solid var(--cream-05);
  border-radius: 14px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: block;
}

.more__card:hover {
  border-color: var(--accent-glow-strong);
  transform: translateY(-3px);
}

.more__card-cat {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.more__card-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.more__card:hover .more__card-title {
  color: var(--accent);
}

.more__card-time {
  font-size: 0.72rem;
  color: var(--cream-20);
}

/* =============================================
   READING PROGRESS BAR
============================================= */
.progress-bar {
  position: fixed;
  top: 80px;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 8999;
  width: 0%;
  transition: width 0.1s linear;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 960px) {
  .more__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .article-header__title {
    font-size: 1.8rem;
  }

  .article-header__meta {
    flex-wrap: wrap;
    gap: 12px;
  }
}
