/* ============================================================
   VANTA Consulting — Blog stylesheet
   Shares the design system of the main site (index.html).
   Every blog page links this file: <link rel="stylesheet" href="blog.css">
   ============================================================ */

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

:root {
  --cream: #F5F0E8; --warm-white: #FDFAF5; --ink: #18130F;
  --ink-soft: #3A332B; --ink-muted: #7C7268;
  --gold: #B8832A; --gold-rich: #C9932E; --gold-light: #DFC089;
  --gold-pale: #F2E4C4; --gold-faint: #FAF3E2;
  --border: rgba(24,19,15,0.1); --border-strong: rgba(24,19,15,0.22);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --container: 1120px; --radius: 18px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--warm-white); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--gold-pale); color: var(--ink); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 36px; }
.container--narrow { max-width: 760px; }

/* NAV (mirrors main site) */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 36px; height: 70px; display: flex; align-items: center; justify-content: space-between; background: rgba(253,250,245,0.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s; }
nav.scrolled { box-shadow: 0 2px 24px rgba(24,19,15,0.07); }
.nav-logo { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: 0.5px; display: flex; align-items: center; gap: 5px; }
.nav-logo-dot { width: 7px; height: 7px; background: var(--gold-rich); border-radius: 50%; display: inline-block; margin-bottom: 8px; flex-shrink: 0; }
.nav-links { display: flex; gap: 34px; list-style: none; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--ink-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { background: var(--ink) !important; color: var(--warm-white) !important; padding: 10px 24px !important; border-radius: 100px; font-weight: 500 !important; transition: background 0.2s, transform 0.15s !important; }
.nav-cta:hover { background: var(--ink-soft) !important; transform: translateY(-1px); }

/* BUTTONS */
.btn-primary { background: var(--ink); color: var(--warm-white); padding: 15px 34px; border-radius: 100px; font-family: var(--font-body); font-size: 15px; font-weight: 500; text-decoration: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(24,19,15,0.15); }
.btn-ghost { color: var(--ink-soft); font-size: 15px; font-weight: 400; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s, gap 0.2s; }
.btn-ghost:hover { color: var(--ink); gap: 12px; }

/* BLOG HEADER (index page) */
.blog-hero { padding: 150px 0 64px; background: var(--cream); position: relative; overflow: hidden; }
.blog-hero .hero-glow { position: absolute; top: 0; right: 0; width: 55%; height: 100%; background: radial-gradient(ellipse at 75% 45%, rgba(184,131,42,0.09) 0%, transparent 65%); pointer-events: none; }
.blog-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.blog-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); font-weight: 600; line-height: 1.08; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 20px; max-width: 720px; }
.blog-hero h1 em { font-style: italic; color: var(--gold-rich); font-weight: 400; }
.blog-hero p { font-size: 17px; font-weight: 300; color: var(--ink-soft); max-width: 560px; line-height: 1.75; }

/* ARTICLE GRID (index page) */
.blog-list { padding: 72px 0 110px; }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; text-decoration: none; transition: border-color 0.25s, transform 0.2s, box-shadow 0.2s; }
.guide-card:hover { border-color: var(--gold-light); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(184,131,42,0.08); }
.guide-card .guide-tag { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.guide-card h2, .guide-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.2; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.2px; }
.guide-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; font-weight: 300; margin-bottom: 22px; flex-grow: 1; }
.guide-card .guide-read { font-size: 14px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.2s; }
.guide-card:hover .guide-read { gap: 12px; color: var(--gold-rich); }
.guide-card.soon { pointer-events: none; opacity: 0.62; }
.guide-card.soon .guide-read { color: var(--ink-muted); }
.blog-list-divider { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted); margin: 56px 0 24px; }

/* ARTICLE PAGE */
.article-wrap { padding: 120px 0 90px; }
.breadcrumb { font-size: 13px; color: var(--ink-muted); margin-bottom: 28px; }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--border-strong); margin: 0 8px; }
.article-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.article-header h1 { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -0.4px; color: var(--ink); margin-bottom: 22px; }
.article-header h1 em { font-style: italic; color: var(--gold-rich); font-weight: 400; }
.article-meta { display: flex; align-items: center; gap: 14px; padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.article-meta .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.article-meta .byline { font-size: 14px; color: var(--ink); font-weight: 500; }
.article-meta .byline span { display: block; font-size: 12.5px; color: var(--ink-muted); font-weight: 400; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-light); }
.article-meta .reading { font-size: 13px; color: var(--ink-muted); }

/* Article body typography */
.article-body { font-size: 17px; color: var(--ink-soft); line-height: 1.8; font-weight: 300; }
.article-body > p { margin-bottom: 22px; }
.article-body .lead { font-size: 19px; color: var(--ink); font-weight: 400; line-height: 1.7; margin-bottom: 30px; }
.article-body h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 33px); font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -0.3px; margin: 48px 0 16px; }
.article-body h2 em { font-style: italic; color: var(--gold-rich); font-weight: 400; }
.article-body h3 { font-family: var(--font-body); font-size: 19px; font-weight: 600; color: var(--ink); margin: 32px 0 10px; }
.article-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color 0.2s; }
.article-body a:hover { color: var(--gold-rich); }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 22px 0; padding-left: 4px; list-style: none; }
.article-body ol { counter-reset: ol-counter; }
.article-body li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.article-body ul li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }
.article-body ol li { counter-increment: ol-counter; }
.article-body ol li::before { content: counter(ol-counter); position: absolute; left: 0; top: 1px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--gold); width: 20px; }
.article-body blockquote { border-left: 3px solid var(--gold-light); padding: 4px 0 4px 24px; margin: 28px 0; font-family: var(--font-display); font-size: 23px; font-style: italic; color: var(--ink); line-height: 1.4; }

/* CTA box at end of article */
.article-cta { background: var(--ink); color: var(--cream); border-radius: 24px; padding: 44px; margin: 56px 0 0; }
.article-cta h2 { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--warm-white); margin-bottom: 14px; line-height: 1.15; }
.article-cta h2 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.article-cta p { font-size: 15.5px; font-weight: 300; color: rgba(253,250,245,0.72); line-height: 1.75; margin-bottom: 26px; }
.article-cta .cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.article-cta .btn-primary { background: var(--gold-rich); }
.article-cta .btn-primary:hover { background: #a87225; }
.article-cta .btn-ghost { color: var(--gold-light); }
.article-cta .btn-ghost:hover { color: var(--warm-white); }

.article-back { margin-top: 44px; }
.article-back a { font-size: 14px; color: var(--ink-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s, gap 0.2s; }
.article-back a:hover { color: var(--gold); gap: 12px; }

/* FOOTER (mirrors main site) */
footer { background: #0D0A08; color: rgba(253,250,245,0.32); padding: 28px 0; font-size: 13px; font-weight: 300; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-display); font-size: 18px; color: rgba(253,250,245,0.52); font-weight: 700; }
.footer-logo span { color: var(--gold); }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: rgba(253,250,245,0.58); }

/* REVEAL */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; }
.reveal.in { animation: fadeUp 0.7s ease both; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .guides-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { padding: 0 22px; }
  .article-cta { padding: 32px 26px; }
}
