/* Celsia Capital — shared article styles */

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

:root {
  --ink: #15264A;
  --ink-deep: #0F1C3A;
  --ink-soft: #243d6e;
  --paper: #EFEDE8;
  --paper-warm: #E4E2DB;
  --paper-callout: #DCD9CF;
  --paper-card: #FFFFFF;
  --gold: #C9A55A;
  --gold-soft: #E0C284;
  --gold-deep: #9B7D3A;
  --rule: rgba(21, 38, 74, 0.14);
  --rule-soft: rgba(21, 38, 74, 0.07);
  --text: #15264A;
  --text-muted: #4a5a7c;
  --text-dim: #8392ad;
  --text-paper: #D8D5CC;
  --text-paper-muted: #9aa3b8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

/* ─── Article nav ─── */
.article-nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 max(5vw, 32px);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 28, 58, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 165, 90, 0.22);
}
.article-nav-brand {
  display: flex; align-items: center; gap: 14px;
}
.article-nav-mark {
  width: 42px; height: 42px;
  flex-shrink: 0; object-fit: contain;
}
.article-nav-wordmark {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.article-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: transparent;
  transition: all 0.25s;
}
.article-nav-back:hover {
  background: var(--gold);
  color: var(--ink-deep);
}
.article-nav-back .arrow {
  transition: transform 0.25s;
}
.article-nav-back:hover .arrow {
  transform: translateX(-4px);
}

@media (max-width: 640px) {
  .article-nav { padding: 0 20px; height: 64px; }
  .article-nav-wordmark { font-size: 14px; letter-spacing: 0.1em; }
  .article-nav-mark { width: 36px; height: 36px; }
  .article-nav-back { padding: 8px 14px; font-size: 11px; letter-spacing: 0.08em; }
  .article-nav-back .arrow-text { display: none; }
}

/* ─── Article header ─── */
.article-header {
  padding: 96px max(5vw, 24px) 64px;
  max-width: 880px;
  margin: 0 auto;
}
.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.article-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.article-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 28px;
}
.article-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 0;
  max-width: 760px;
}
.article-rule {
  max-width: 880px;
  margin: 24px auto 0;
  padding: 0 max(5vw, 24px);
  border-bottom: 1px solid var(--rule);
}

/* ─── Article body ─── */
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px max(5vw, 24px) 96px;
}
.article-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 20px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.3;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 16px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 22px;
}
.article-body p strong { color: var(--ink); font-weight: 600; }

/* Analyst prompt callout — styled blockquote */
.article-body blockquote {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--paper-callout);
  border-left: 2px solid var(--gold);
  position: relative;
}
.article-body blockquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 12px;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body blockquote p strong {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
  margin-right: 8px;
}

/* ─── Back to insights footer ─── */
.article-back {
  background: var(--paper-warm);
  padding: 72px max(5vw, 24px);
  border-top: 1px solid var(--rule);
}
.article-back-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.article-back-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all 0.25s;
}
.article-back-link:hover {
  background: transparent;
  color: var(--ink);
}
.article-back-link .arrow {
  transition: transform 0.25s;
}
.article-back-link:hover .arrow {
  transform: translateX(-5px);
}

/* ─── Footer ─── */
.article-footer {
  background: var(--ink-deep);
  color: var(--text-paper);
  padding: 40px max(5vw, 24px);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.article-footer a { color: var(--gold-soft); }
.article-footer a:hover { color: var(--paper); }
.article-footer-mark {
  width: 36px; height: 36px;
  margin-bottom: 16px;
  object-fit: contain;
}
