:root {
  --np-indigo: #2d1b4e;
  --np-magenta: #e0218a;
  --np-purple: #7b2ff7;
  --np-gold: #f5b921;
  --np-bg: #f7f5fb;
  --np-white: #ffffff;
  --np-ink: #221a2e;
  --np-muted: #6c6480;
  --np-radius: 12px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #221a2e;
  background-color: #f7f5fb;
  line-height: 1.6;
}
h1, h2, h3, h4, .site-brand, .footer-brand, .section-title, .article-title, .hero-title, .post-card-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  color: #2d1b4e;
}

/* header */
.site-header { background: #2d1b4e; box-shadow: 0 2px 14px rgba(45,27,78,.25); }
.site-nav { padding-top: .6rem; padding-bottom: .6rem; }
.site-brand { color: #ffffff !important; font-size: 1.4rem; font-weight: 700; }
.site-brand span { color: #e0218a; }
.site-nav .nav-link { color: rgba(255,255,255,.9); font-weight: 500; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: #f5b921; }
.site-nav .dropdown-menu { border: none; border-radius: var(--np-radius); box-shadow: 0 8px 30px rgba(45,27,78,.2); }
.site-nav .dropdown-item:hover { background: #f7f5fb; color: #e0218a; }
.navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-toggler-icon { filter: invert(1); }

/* hero */
.hero--home { background: linear-gradient(135deg, #2d1b4e 0%, #7b2ff7 70%, #e0218a 130%); color: #fff; padding: 5rem 0; }
.hero-title { color: #ffffff; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; margin: .5rem 0; }
.hero-sub { font-size: 1.15rem; opacity: .95; max-width: 680px; }
.eyebrow { color: #f5b921; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 600; display: block; }

/* sections */
.section { padding: 4rem 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 2rem; }

/* directory cards */
.dir-card { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 80px; background: #fff; border: 1px solid #eadff7; border-radius: var(--np-radius); padding: 1rem; color: #2d1b4e; font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(45,27,78,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.dir-card:hover { transform: translateY(-3px); border-color: #e0218a; color: #e0218a; box-shadow: 0 8px 24px rgba(224,33,138,.15); }

/* prose */
.site-prose { max-width: 820px; }
.article-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.5rem; }
.site-prose img, .site-block--image img, .site-block--gallery img { max-width: 100%; height: auto; border-radius: 8px; }
.site-block--paragraph { margin-bottom: 1.1rem; }
.site-block--image { margin: 1.5rem 0; }
.article-summary { color: #6c6480; border-left: 4px solid #f5b921; padding-left: 1rem; }

/* content links scoped */
.site-prose a, .site-block--paragraph a, .article-body a, .category-desc a {
  color: #e0218a; text-decoration: underline; text-decoration-color: #7b2ff7;
}
.site-prose a:hover, .site-block--paragraph a:hover, .article-body a:hover { color: #7b2ff7; }

/* post / category cards */
.post-card, .route-card { background: #fff; border: 1px solid #eadff7; border-radius: var(--np-radius); overflow: hidden; box-shadow: 0 4px 16px rgba(45,27,78,.06); transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover, .route-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(123,47,247,.14); }
.post-card-img, .route-card-img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body, .route-card-body { padding: 1.25rem 1.5rem; }
.post-card-title a, .route-card-title a { color: #2d1b4e; text-decoration: none; }
.post-card-title a:hover, .route-card-title a:hover { color: #e0218a; }
.route-card-link { color: #e0218a; font-weight: 600; text-decoration: none; }
.route-card--minimal { border: none; border-left: 3px solid #f5b921; border-radius: 0; box-shadow: none; }

/* breadcrumbs */
.site-breadcrumbs { background: #efe8f9; padding: .6rem 0; }
.site-breadcrumbs .breadcrumb { margin: 0; }
.site-breadcrumbs a { color: #7b2ff7; text-decoration: none; }

/* ToC */
.article-toc { background: #efe8f9; border-radius: var(--np-radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.article-toc a { color: #7b2ff7; text-decoration: none; }

/* footer */
.site-footer { background: #221a2e; color: rgba(255,255,255,.82); padding: 3.5rem 0 1.5rem; }
.footer-brand { color: #ffffff; font-size: 1.4rem; margin-bottom: .75rem; }
.footer-tagline { color: rgba(255,255,255,.7); }
.footer-col-title { color: #f5b921; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: 1rem; }
.footer-links, .footer-social { list-style: none; padding-left: 0; }
.footer-links li, .footer-social li { margin-bottom: .5rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-links a, .footer-social a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-links a:hover, .footer-social a:hover { color: #e0218a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,.6); }
