*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: #07040f; color: #fff; overflow-x: hidden; }

:root {
  --violet: #5B2D8E; --violet-light: #9B6FD4; --violet-deep: #3a1a5e;
  --gold: #C9A84C; --gold-light: #e8c96a;
  --bg: #07040f; --bg-2: #0d0820; --bg-card: #110c22;
  --border: rgba(91,45,142,0.25); --border-gold: rgba(201,168,76,0.3);
  --text-muted: rgba(255,255,255,0.42); --text-dim: rgba(255,255,255,0.65);
}

.grid-texture { position: absolute; inset: 0; background-image: linear-gradient(rgba(91,45,142,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(91,45,142,0.07) 1px, transparent 1px); background-size: 52px 52px; pointer-events: none; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 0 5%; height: 72px; display: flex; align-items: center; justify-content: space-between; background: rgba(7,4,15,0.75); backdrop-filter: blur(20px); border-bottom: 0.5px solid var(--border); transition: background 0.3s; }
nav.scrolled { background: rgba(7,4,15,0.95); }
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo img { height: 36px; }
.nav-wordmark { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-wordmark span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s; position: relative; }
.nav-links a.active { color: var(--gold); }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-secondary { font-size: 13px; color: var(--text-muted); text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s; }
.nav-secondary:hover { color: #fff; }
.nav-cta { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #07040f; background: var(--gold); border: 1px solid var(--gold); border-radius: 6px; padding: 9px 20px; transition: background 0.2s; text-decoration: none; }
.nav-cta:hover { background: var(--gold-light); }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; cursor: pointer; z-index: 600; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s, width 0.3s; transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(7,4,15,0.98); backdrop-filter: blur(20px); z-index: 490; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 40px 5%; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: rgba(255,255,255,0.6); text-decoration: none; letter-spacing: -0.01em; padding: 16px 0; width: 100%; text-align: center; border-bottom: 1px solid rgba(91,45,142,0.2); transition: color 0.2s; }
.mobile-menu a:first-child { border-top: 1px solid rgba(91,45,142,0.2); }
.mobile-menu a:hover, .mobile-menu a.active { color: #C9A84C; }
.mobile-menu-cta { margin-top: 32px; font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #07040f; background: #C9A84C; border: none; border-radius: 7px; padding: 14px 36px; cursor: pointer; text-decoration: none; display: inline-block; width: 100%; text-align: center; }
@media (max-width: 960px) { .hamburger { display: flex; } .nav-links { display: none; } }

/* ARTICLE HERO */
.article-hero { padding: 140px 5% 50px; background: var(--bg-2); position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -120px; left: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(91,45,142,0.28) 0%, transparent 60%); pointer-events: none; }
.article-hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.back-link { display: inline-block; font-size: 13px; color: var(--text-muted); text-decoration: none; margin-bottom: 24px; transition: color 0.2s; }
.back-link:hover { color: var(--gold); }
.article-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.article-cat { background: rgba(91,45,142,0.15); border: 1px solid rgba(91,45,142,0.3); border-radius: 4px; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-light); }
.article-date, .article-read-time { font-size: 12px; color: var(--text-muted); }
.meta-dot { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; }
.article-title { font-family: 'Syne', sans-serif; font-size: clamp(28px, 4.5vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #fff; }

/* ARTICLE BODY */
.article-section { background: var(--bg); padding: 0 5% 80px; position: relative; }
.article-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.article-hero-img { width: 100%; height: 380px; border-radius: 12px; background-size: cover; background-position: center; margin-bottom: 40px; border: 1px solid var(--border); }
.article-body { font-size: 16px; font-weight: 300; color: var(--text-dim); line-height: 1.9; }
.article-body h2 { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 700; color: #fff; margin: 40px 0 14px; letter-spacing: -0.01em; }
.article-body h3 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--violet-light); margin: 30px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body strong { color: #fff; font-weight: 500; }
.article-body ul { list-style: none; margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.article-body ul li { display: flex; align-items: flex-start; gap: 10px; }
.article-body ul li::before { content: ''; display: block; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 9px; }
.article-body a { color: var(--gold); text-decoration: underline; }

/* RELATED POSTS */
.related-section { background: var(--bg-2); padding: 60px 5%; position: relative; }
.related-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.related-label { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: block; text-decoration: none; transition: border-color 0.3s, transform 0.2s; overflow: hidden; }
.related-card:hover { border-color: rgba(91,45,142,0.5); transform: translateY(-2px); }
.related-card-img { width: calc(100% + 48px); height: 130px; margin: -24px -24px 16px; background-size: cover; background-position: center; }
.post-cat { display: inline-flex; align-items: center; gap: 6px; background: rgba(91,45,142,0.12); border: 1px solid rgba(91,45,142,0.28); border-radius: 4px; padding: 3px 9px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-light); margin-bottom: 12px; width: fit-content; }
.related-card-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; letter-spacing: -0.01em; }

/* CTA STRIP */
.cta-strip { background: var(--bg-2); padding: 70px 5%; text-align: center; position: relative; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 300px; background: radial-gradient(ellipse, rgba(91,45,142,0.25) 0%, transparent 65%); pointer-events: none; }
.cta-strip-inner { max-width: 620px; margin: 0 auto; position: relative; z-index: 2; }
.cta-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25); border-radius: 20px; padding: 6px 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.cta-badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
.cta-strip-title { font-family: 'Syne', sans-serif; font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-strip-sub { font-size: 15px; font-weight: 300; color: var(--text-dim); line-height: 1.75; margin-bottom: 28px; }
.btn-gold { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #07040f; background: var(--gold); border: none; border-radius: 7px; padding: 13px 28px; cursor: pointer; transition: background 0.2s; text-decoration: none; display: inline-block; }
.btn-gold:hover { background: var(--gold-light); }

/* FOOTER */
footer { background: #04020a; border-top: 1px solid var(--border); padding: 48px 5% 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; gap: 40px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; text-decoration: none; }
.footer-logo img { height: 32px; }
.footer-logo-text { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-logo-text span { color: var(--gold); }
.footer-tagline { font-size: 12px; color: var(--text-muted); font-style: italic; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col-title { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(91,45,142,0.15); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-copy span { color: var(--gold); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }
.footer-locations { font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; }

@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,168,76,0.4); } 50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(201,168,76,0); } }

@media (max-width: 960px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-hero-img { height: 220px; }
}
