/* ========== ARTICLE PAGE ========== */
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.article {
  background: var(--paper);
  min-height: 100vh;
  padding-top: 100px;
}

.article-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 40px 0;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 40px;
  transition: color 0.2s;
}
.article-back:hover { color: var(--accent-warm); }
.article-back svg { width: 14px; height: 14px; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.article-meta-dot { width: 3px; height: 3px; background: var(--ink-muted); border-radius: 50%; }
.article-meta-cat {
  color: var(--accent-warm);
  font-weight: 600;
}

.article-title {
  font-size: clamp(36px, 5.5vw, 60px);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
  text-wrap: balance;
}
.article-title em {
  font-style: italic;
  color: var(--accent-warm);
}

.article-lede {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 350;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 60ch;
  letter-spacing: -0.005em;
  margin-bottom: 40px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.article-author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fbf7ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}
.article-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.article-author-role {
  font-size: 12px;
  color: var(--ink-muted);
}

.article-cover {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 64px;
  padding: 0 40px;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.article-body p {
  margin-bottom: 28px;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  color: var(--ink-soft);
  font-size: 17px;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--accent-warm);
  font-weight: 400;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 56px 0 20px;
  line-height: 1.15;
  color: var(--ink);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 40px 0 14px;
  color: var(--ink);
}
.article-body ul, .article-body ol {
  margin: 0 0 28px 20px;
  color: var(--ink-soft);
}
.article-body li {
  margin-bottom: 10px;
  line-height: 1.7;
  padding-left: 6px;
}
.article-body blockquote {
  margin: 40px 0;
  padding: 28px 36px;
  border-left: 3px solid var(--accent-warm);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
  font-weight: 350;
}
.article-body a {
  color: var(--accent-warm);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.article-body strong {
  color: var(--ink);
  font-weight: 600;
}
.article-body hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 56px 0;
}
.article-body figure {
  margin: 40px 0;
}
.article-body figure img {
  width: 100%;
  border-radius: var(--radius);
}
.article-body figcaption {
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

.article-end {
  max-width: 680px;
  margin: 80px auto 0;
  padding: 0 40px;
}
.article-end-divider {
  width: 60px;
  height: 1px;
  background: var(--accent-warm);
  margin-bottom: 40px;
}
.article-end-cta {
  background: var(--bg-deep);
  color: var(--paper);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 80px;
}
.article-end-cta h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--paper);
  line-height: 1.15;
}
.article-end-cta h3 em { color: var(--accent-sun); font-style: italic; }
.article-end-cta p {
  font-size: 15px;
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  margin-bottom: 24px;
  max-width: 52ch;
}
.article-end-cta .btn {
  background: var(--accent-sun);
  color: var(--bg-deep);
  font-weight: 600;
}
.article-end-cta .btn:hover { background: var(--paper); }

.article-related {
  padding: 80px 0;
  background: var(--bg);
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.article-related h4 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
}
.related-post {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s;
}
.related-post:hover { transform: translateX(4px); }
.related-post-img {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.related-post-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.related-post-meta {
  font-size: 11px;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 6px;
}
.related-post h5 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

@media (max-width: 768px) {
  .article-hero, .article-cover, .article-body, .article-end { padding-left: 20px; padding-right: 20px; }
  .article-body { font-size: 16px; }
  .article-body blockquote { padding: 20px 24px; font-size: 19px; }
  .article-related-grid { grid-template-columns: 1fr; }
}
