/* ============================================= */
/*   VANGUARD ALLIANCE NETWORK — BLOG / ARTICLE  */
/* ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:      #B8860B;
  --gold-lt:   #D4A017;
  --gold-dim:  rgba(184,134,11,0.12);
  --white:     #FFFFFF;
  --grey:      #C8C8C8;
  --grey-dim:  #888;
  --card-bg:   rgba(68,65,65,0.28);
  --bg:        #000000;
  --font:      'Montserrat', sans-serif;
  --max:       820px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }

/* ── NEURAL CANVAS ── */
#neural-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ── PAGE WRAPPER ── */
.page-content { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
nav {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 0.5px solid #1c1c1c;
  backdrop-filter: blur(12px);
  background: rgba(8,8,8,0.92);
  box-sizing: border-box;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: #e2dfdf;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-call {
  background: var(--gold);
  color: #f8f5f5;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-call:hover { background: var(--gold-lt); transform: scale(1.05); color: #000; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── BACK LINK ── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); text-decoration: none;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.3px;
  padding: 100px 60px 0;
  transition: gap .2s;
}
.back-link:hover { gap: 10px; }
.back-link svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 10px 60px 0;
  font-size: 12px; color: var(--grey-dim);
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--grey-dim); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--grey); }

/* ══════════════════════════════════════════════
   ARTICLE HEADER
══════════════════════════════════════════════ */
.article-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 60px 0;
}

.article-category {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--gold); letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 6px;
}
.article-category::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold); border-radius: 2px;
}

.article-title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.article-title .gold { color: var(--gold); }

/* hero image */
.article-hero-img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.article-hero-img img {
  width: 100%; height: 420px;
  object-fit: cover;
  display: block;
}
.article-hero-img .img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
  border-radius: 16px;
}

/* intro text */
.article-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 60px 0;
  font-size: 15.5px;
  color: var(--grey);
  line-height: 1.8;
}

/* author strip */
.author-strip {
  max-width: 900px;
  margin: 32px auto 0;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 0.5px solid #222;
  border-bottom: 0.5px solid #222;
}
.author-left {
  display: flex; align-items: center; gap: 14px;
}
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--gold);
  background: var(--gold); flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name {
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 2px;
}
.author-title { font-size: 12px; color: var(--grey-dim); }

.share-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  color: var(--grey-dim); letter-spacing: 0.5px;
}
.share-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(184,134,11,0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .2s;
  text-decoration: none;
}
.share-btn:hover { background: rgba(184,134,11,0.28); transform: scale(1.12); }
.share-btn img { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════
   ARTICLE BODY
══════════════════════════════════════════════ */
.article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 60px 0;
}

.article-body h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--white);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  line-height: 1.25;
}
.article-body h2:first-child { margin-top: 0; }

.article-body p {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.85;
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.article-body li {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 8px;
}
.article-body li::marker { color: var(--gold); }

/* pull quote */
.pull-quote {
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--gold);
  background: rgba(184,134,11,0.06);
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
  position: relative;
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 24px;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  font-style: normal;
}

/* section divider */
.s-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #333, transparent);
  margin: 40px 0;
}

/* disclaimer box */
.disclaimer-box {
  margin: 48px 0 0;
  padding: 28px 28px;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}
.disclaimer-box h4 {
  font-size: 13px; font-weight: 700;
  color: var(--gold); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 10px;
}
.disclaimer-box p {
  font-size: 12.5px;
  color: var(--grey-dim);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   RELATED ARTICLES
══════════════════════════════════════════════ */
.related-section {
  padding: 80px 60px 80px;
  position: relative;
}

.related-section::before {
  content: '';
  position: absolute; top: 0; left: 60px; right: 60px;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, #333, transparent);
}

.related-label {
  font-size: 13px; font-weight: 700;
  color: var(--grey-dim); letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
  display: block;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.related-card {
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.related-card:hover {
  transform: translateY(-7px);
  border-color: rgba(184,134,11,0.25);
  box-shadow: 0 18px 50px rgba(184,134,11,0.1);
}

.related-card-img {
  width: 100%; height: 160px; overflow: hidden;
}
.related-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.related-card:hover .related-card-img img { transform: scale(1.06); }

.related-card-body {
  padding: 18px 18px 22px;
  flex: 1; display: flex; flex-direction: column;
}
.related-card-cat {
  font-size: 10px; font-weight: 800;
  color: var(--gold); letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 9px; display: block;
}
.related-card-body h3 {
  font-size: 14px; font-weight: 700;
  line-height: 1.4; color: var(--white);
  margin-bottom: 10px; flex: 1;
}
.related-card-meta {
  font-size: 11.5px; color: #555; margin-top: auto;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background: #000;
  border-top: 0.5px solid #1e1e1e;
  position: relative; z-index: 1;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 70px 60px 40px;
  display: flex;
  gap: 100px;
  align-items: flex-start;
  width: 100%; box-sizing: border-box;
}

.footer-brand { max-width: 280px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo img { height: 44px; }
.footer-tagline {
  font-size: 14px; line-height: 1.65;
  color: #C0C0C0; margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(184,134,11,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.footer-socials a:hover { background: rgba(184,134,11,0.25); transform: scale(1.12); }
.footer-socials a img { width: 14px; height: 14px; }

.footer-links-wrap {
  display: flex; gap: 70px; flex: 1; justify-content: flex-end;
}
.footer-col h5 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 18px; color: #fff;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  font-size: 13.5px; color: #b0adad;
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-copyright {
  background: #000;
  border-top: 0.5px solid #1e1e1e;
  padding: 22px 60px;
  font-size: 13px; color: #888;
  max-width: 100%; margin: 0;
  box-sizing: border-box;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════════════ */
.read-progress {
  position: fixed;
  top: 80px; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  z-index: 300;
  transition: width .1s linear;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — 1024px
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .back-link, .breadcrumb { padding-left: 32px; padding-right: 32px; }
  .article-header, .article-intro, .author-strip,
  .article-body { padding-left: 32px; padding-right: 32px; }
  .related-section { padding-left: 32px; padding-right: 32px; }
  .footer-inner { padding: 60px 32px 36px; gap: 60px; }
  .footer-copyright { padding: 20px 32px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — 768px
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  img, video { max-width: 100%; height: auto; }

  /* NAV */
  nav { padding: 0 16px; height: 66px; box-sizing: border-box; }
  .logo img { height: 38px; }

  /* Hide desktop nav links off-screen (slide-in replaces display:none) */
  .nav-links {
    position: fixed;
    top: 66px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 66px);
    background: #0a0a0a;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    gap: 28px;
    transition: left 0.4s ease;
    z-index: 999;
  }
  .nav-links.active { left: 0; }

  /* Show hamburger, hide desktop CTA */
  .hamburger { display: flex; }
  .btn-call { display: none; }

  /* BACK + BREADCRUMB */
  .back-link { padding: 82px 16px 0; font-size: 12px; }
  .breadcrumb { padding: 8px 16px 0; font-size: 11px; }

  /* ARTICLE HEADER */
  .article-header { padding: 24px 16px 0; }
  .article-title { font-size: clamp(24px, 7vw, 36px); letter-spacing: -0.2px; }

  /* HERO IMAGE */
  .article-hero-img { border-radius: 10px; }
  .article-hero-img img { height: 220px; }

  /* INTRO */
  .article-intro { padding: 22px 16px 0; font-size: 14px; }

  /* AUTHOR STRIP */
  .author-strip { padding: 16px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .author-avatar { width: 40px; height: 40px; }
  .author-name { font-size: 13px; }

  /* ARTICLE BODY */
  .article-body { padding: 32px 16px 0; }
  .article-body h2 { font-size: clamp(16px, 4.5vw, 20px); margin: 32px 0 12px; padding-left: 12px; }
  .article-body p, .article-body li { font-size: 14px; }
  .pull-quote { padding: 20px 20px; font-size: 15px; margin: 24px 0; }
  .pull-quote::before { font-size: 60px; }
  .disclaimer-box { padding: 20px; }
  .disclaimer-box p { font-size: 12px; }

  /* RELATED */
  .related-section { padding: 48px 16px 60px; }
  .related-section::before { left: 16px; right: 16px; }
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .related-card-img { height: 180px; }

  /* FOOTER */
  footer { width: 100%; }
  .footer-inner { flex-direction: column; gap: 32px; padding: 40px 16px 24px; box-sizing: border-box; }
  .footer-brand { max-width: 100%; }
  .footer-brand .logo img { height: 40px; }
  .footer-tagline { font-size: 13px; }
  .footer-links-wrap { flex-wrap: wrap; gap: 24px 36px; justify-content: flex-start; width: 100%; }
  .footer-col h5 { font-size: 14px; margin-bottom: 12px; }
  .footer-col ul li a { font-size: 13px; }
  .footer-copyright { padding: 16px 16px 20px; font-size: 12px; }

  /* READ PROGRESS */
  .read-progress { top: 66px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — 420px
══════════════════════════════════════════════ */
@media (max-width: 420px) {
  .article-title { font-size: clamp(22px, 8vw, 30px); }
  .article-hero-img img { height: 180px; }
  .pull-quote { font-size: 14px; }
  .related-card-img { height: 160px; }
}