
/* ═══════════════════════════════════════════════════
   anandchaturvedi.com — Global Stylesheet
   System Architect of the Silver Economy
   ═══════════════════════════════════════════════════ */

:root {
  --ink: #0a0a0c;
  --ink-deep: #060608;
  --ink-surface: #111115;
  --ink-elevated: #18181e;
  --ink-border: #222230;
  --ink-muted: #2a2a38;
  --text-primary: #e8e6e1;
  --text-secondary: #9b978f;
  --text-muted: #6b6860;
  --accent: #c8a96e;
  --accent-dim: #a08550;
  --accent-glow: rgba(200, 169, 110, 0.06);
  --accent-line: rgba(200, 169, 110, 0.15);
  --red-accent: #c45c4a;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--ink); }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #d4b67a; }

/* ═══ NAVIGATION ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ink-border);
}

.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}

.nav-brand {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  color: var(--text-primary); text-decoration: none; letter-spacing: 0.01em;
}
.nav-brand .reg { font-size: 0.7em; vertical-align: super; color: var(--accent); }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }

.nav-links a {
  font-size: 0.8rem; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em;
  position: relative; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent); transform: scaleX(0); transition: transform 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: 0.3s; }

/* ═══ PAGE HEADER ═══ */
.page-header {
  padding: 8rem 2rem 4rem; background: var(--ink-deep);
  border-bottom: 1px solid var(--ink-border);
}
.page-header-inner { max-width: 960px; margin: 0 auto; }
.page-header .section-label { margin-bottom: 1.5rem; }
.page-header h1 {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400; line-height: 1.2; color: var(--text-primary); margin-bottom: 1.5rem;
}
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header .lead-text { margin-bottom: 0; }

/* ═══ HERO (Homepage only) ═══ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; padding: 6rem 2rem 4rem; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(200,169,110,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(196,92,74,0.02) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { max-width: 1100px; position: relative; z-index: 1; width: 100%; }

.hero-layout { display: grid; grid-template-columns: 1fr 320px; gap: 4rem; align-items: center; }

.hero-eyebrow {
  font-family: var(--mono); font-size: 0.72rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 400; line-height: 1.15; color: var(--text-primary); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero h1 em { font-style: italic; color: var(--accent); }

.hero-subtitle {
  font-size: 1.1rem; font-weight: 300; line-height: 1.8;
  color: var(--text-secondary); max-width: 640px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta-row {
  display: flex; gap: 1.5rem; margin-bottom: 0; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-portrait { position: relative; opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards; }
.hero-portrait img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top;
  filter: grayscale(30%) contrast(1.05); border: 1px solid var(--ink-border);
}
.hero-portrait::after {
  content: ''; position: absolute; bottom: -8px; right: -8px;
  width: 100%; height: 100%; border: 1px solid var(--accent-line); z-index: -1;
}
.hero-portrait-caption {
  font-family: var(--mono); font-size: 0.62rem; color: var(--text-muted);
  letter-spacing: 0.15em; text-transform: uppercase; margin-top: 1rem; text-align: right;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  border-top: 1px solid var(--ink-border); padding-top: 2.5rem; margin-top: 3rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards;
}
.hero-stat-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--accent); display: block; }
.hero-stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; line-height: 1.4; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; background: var(--accent); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: 0.85rem;
  text-decoration: none; letter-spacing: 0.05em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #d4b67a; transform: translateY(-1px); color: var(--ink); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; background: transparent; color: var(--text-secondary);
  font-family: var(--sans); font-weight: 500; font-size: 0.85rem;
  text-decoration: none; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--ink-border); transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent-dim); }

/* ═══ SECTIONS ═══ */
section { padding: 6rem 2rem; position: relative; }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-wide { max-width: 1120px; margin: 0 auto; }

.section-label {
  font-family: var(--mono); font-size: 0.68rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.3em; margin-bottom: 1.5rem;
}

section h2, .page-content h2 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.2; color: var(--text-primary); margin-bottom: 1.5rem;
}
section h2 em, .page-content h2 em, h1 em { font-style: italic; color: var(--accent); }

section h3, .page-content h3 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  color: var(--text-primary); margin-top: 3rem; margin-bottom: 1rem;
}

.lead-text {
  font-size: 1.1rem; line-height: 1.8; color: var(--text-secondary);
  max-width: 720px; margin-bottom: 3rem;
}

.divider { width: 100%; height: 1px; background: var(--ink-border); margin: 0; }

.page-content { max-width: 960px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.page-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; }
.page-content p strong { color: var(--text-primary); font-weight: 600; }

.bg-deep { background: var(--ink-deep); }
.bg-default { background: var(--ink); }

/* ═══ TIMELINE ═══ */
.origin-timeline { position: relative; padding-left: 3rem; margin-top: 3rem; }
.origin-timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--accent-line), var(--ink-border));
}
.timeline-item { position: relative; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(34,34,48,0.5); }
.timeline-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -3rem; top: 0.5rem;
  width: 7px; height: 7px; background: var(--accent); border-radius: 50%; transform: translateX(-3px);
}
.timeline-year { font-family: var(--mono); font-size: 0.75rem; color: var(--accent-dim); letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.timeline-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--text-primary); margin-bottom: 0.75rem; }
.timeline-text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; }

/* ═══ LEXICON ═══ */
.lex-entry {
  padding: 2rem 0; border-bottom: 1px solid var(--ink-border);
  display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start;
}
.lex-entry:first-child { border-top: 1px solid var(--ink-border); }
.lex-term { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--text-primary); }
.lex-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.62rem; color: var(--red-accent);
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.35rem;
  padding: 0.15rem 0.5rem; border: 1px solid rgba(196,92,74,0.25); border-radius: 2px;
}
.lex-def { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; }

/* ═══ EVIDENCE ═══ */
.evidence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.evidence-card { background: var(--ink-surface); border: 1px solid var(--ink-border); padding: 2rem; position: relative; overflow: hidden; }
.evidence-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.evidence-num { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 0.75rem; }
.evidence-claim { font-size: 0.95rem; color: var(--text-primary); line-height: 1.5; margin-bottom: 0.75rem; }
.evidence-source { font-family: var(--mono); font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.02em; }

/* ═══ VECTORS ═══ */
.vectors-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--ink-border); margin-top: 3rem; border: 1px solid var(--ink-border); }
.vector-cell { background: var(--ink-surface); padding: 2rem 1.5rem; text-align: center; }
.vector-num { font-family: var(--serif); font-size: 1.8rem; color: var(--accent); margin-bottom: 0.75rem; display: block; }
.vector-name { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--accent); margin-bottom: 0.5rem; }
.vector-arrow { font-family: var(--mono); font-size: 0.75rem; color: var(--red-accent); margin-bottom: 0.5rem; }
.vector-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ═══ PODCAST ═══ */
.podcast-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.podcast-card { background: var(--ink-surface); border: 1px solid var(--ink-border); padding: 2.5rem; position: relative; }
.podcast-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; }
.podcast-card:first-child::after { background: var(--accent); }
.podcast-card:last-child::after { background: var(--red-accent); }
.podcast-tagline { font-family: var(--mono); font-size: 0.68rem; color: var(--accent-dim); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.podcast-card:last-child .podcast-tagline { color: var(--red-accent); }
.podcast-name { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; color: var(--text-primary); margin-bottom: 1rem; }
.podcast-desc { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.5rem; }
.podcast-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); }

/* ═══ MANIFESTO ═══ */
.manifesto-opener {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400; font-style: italic; line-height: 1.6;
  color: var(--text-primary); max-width: 780px; margin-bottom: 3rem;
  padding-left: 2rem; border-left: 2px solid var(--accent);
}
.manifesto-structure { display: grid; gap: 0; margin-top: 2rem; border: 1px solid var(--ink-border); }
.manifesto-step { display: grid; grid-template-columns: 160px 1fr; gap: 2rem; padding: 1.5rem 2rem; border-bottom: 1px solid var(--ink-border); align-items: center; }
.manifesto-step:last-child { border-bottom: none; }
.manifesto-step-label { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); }
.manifesto-step-text { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }
.manifesto-editions { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.edition-card { background: var(--ink-surface); border: 1px solid var(--ink-border); padding: 2rem; }
.edition-label { font-family: var(--mono); font-size: 0.68rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.75rem; }
.edition-title { font-family: var(--serif); font-size: 1.3rem; color: var(--text-primary); margin-bottom: 0.75rem; }
.edition-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ═══ COLLABORATE ═══ */
.collab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.collab-card { padding: 2rem; border: 1px solid var(--ink-border); background: var(--ink-surface); transition: border-color 0.3s; }
.collab-card:hover { border-color: var(--accent-dim); }
.collab-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.collab-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ═══ BIO SIDEBAR ═══ */
.bio-layout { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start; }
.bio-sidebar { position: sticky; top: 80px; }
.bio-sidebar-photo img { width: 100%; filter: grayscale(30%) contrast(1.05); border: 1px solid var(--ink-border); margin-bottom: 1.5rem; }
.bio-meta-item { margin-bottom: 1.25rem; }
.bio-meta-label { font-family: var(--mono); font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.25rem; }
.bio-meta-value { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }
.bio-meta-value a { color: var(--accent); }

/* ═══ CREDENTIAL CARDS ═══ */
.credential-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0 3rem; }
.credential-card { padding: 1.5rem; border-left: 2px solid var(--accent); background: var(--ink-surface); }
.credential-org { font-family: var(--mono); font-size: 0.68rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.credential-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══ CONTACT STRIP ═══ */
.contact-strip { padding: 3rem 2rem; background: var(--ink-elevated); border-top: 1px solid var(--ink-border); border-bottom: 1px solid var(--ink-border); }
.contact-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.contact-block-label { font-family: var(--mono); font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.5rem; }
.contact-block-value { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.contact-block-value a { color: var(--accent); text-decoration: none; }
.contact-block-value a:hover { text-decoration: underline; }

/* ═══ FOOTER ═══ */
footer { padding: 4rem 2rem 3rem; background: var(--ink-deep); border-top: 1px solid var(--ink-border); }
.footer-inner { max-width: 960px; margin: 0 auto; }
.authority-string {
  font-family: var(--sans); font-size: 0.82rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--ink-border);
}
.authority-string strong { color: var(--text-secondary); font-weight: 500; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-social { display: flex; gap: 1.5rem; margin-top: 1.5rem; }
.footer-social a { font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; }
.footer-social a:hover { color: var(--accent); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* ═══ BREADCRUMBS ═══ */
.breadcrumb { font-family: var(--mono); font-size: 0.68rem; color: var(--text-muted); margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.5rem; }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-portrait { max-width: 280px; margin: 0 auto; order: -1; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .vectors-row { grid-template-columns: repeat(3, 1fr); }
  .podcast-cards { grid-template-columns: 1fr; }
  .manifesto-editions { grid-template-columns: 1fr; }
  .lex-entry { grid-template-columns: 1fr; gap: 0.5rem; }
  .manifesto-step { grid-template-columns: 120px 1fr; gap: 1rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-sidebar { position: static; max-width: 300px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: rgba(10,10,12,0.98);
    padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--ink-border);
  }
  .vectors-row { grid-template-columns: repeat(2, 1fr); }
  section, .page-content { padding-left: 1.25rem; padding-right: 1.25rem; }
  .page-header { padding: 6rem 1.25rem 3rem; }
}

@media (max-width: 500px) {
  .vectors-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-cta-row { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

