/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Base palette — Bloomberg Terminal meets editorial */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --bg-surface: #1a1a25;
  
  --text-primary: #e8e6e3;
  --text-secondary: #9b97a0;
  --text-tertiary: #6b6775;
  --text-dim: #4a4655;
  
  --accent-green: #00e88f;
  --accent-green-dim: rgba(0, 232, 143, 0.15);
  --accent-blue: #5b8def;
  --accent-blue-dim: rgba(91, 141, 239, 0.15);
  --accent-amber: #f5a623;
  --accent-amber-dim: rgba(245, 166, 35, 0.15);
  --accent-red: #ef5b5b;
  --accent-red-dim: rgba(239, 91, 91, 0.12);
  --accent-cyan: #00d4ff;
  --accent-cyan-dim: rgba(0, 212, 255, 0.15);
  --accent-purple: #a855f7;
  --accent-purple-dim: rgba(168, 85, 247, 0.15);
  --accent-gradient: linear-gradient(135deg, #00e88f 0%, #5b8def 50%, #a855f7 100%);
  
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.10);
  
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  --max-width: 840px;
  --max-width-wide: 1200px;
  --section-gap: 5rem;
  
  /* Category colors */
  --cat-ai-infra: #00d4ff;
  --cat-dev-economy: #a855f7;
  --cat-agentic: #5b8def;
  --cat-token: #00e88f;
  --cat-healthcare: #ef5b5b;
  --cat-opensource: #f5a623;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

::selection { background: rgba(0, 232, 143, 0.3); color: #fff; }

a { color: var(--accent-green); text-decoration: none; transition: color 0.2s; }
a:hover { color: #5befa8; }

/* ===== GRAIN OVERLAY ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.3s;
}
.nav-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.nav-logo-mark {
  font-size: 1.2rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-green);
}
.nav-divider {
  width: 1px;
  height: 16px;
  background: var(--border-medium);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ===== HERO (HUB) ===== */
.hub-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}
.hub-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}
.hub-hero::before {
  content: '';
  position: absolute;
  top: -30%; left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 232, 143, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 30%, rgba(91, 141, 239, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hub-hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.hub-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hub-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hub-hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hub-hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

/* ===== SECTION HEADERS ===== */
.hub-section {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 2rem;
}
.hub-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-top: 4rem;
}
.hub-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hub-section-icon {
  font-size: 1.2rem;
}
.hub-section-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.hub-section-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--accent-green);
  transition: all 0.2s;
}
.hub-section-link:hover {
  color: #5befa8;
  transform: translateX(2px);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0 2rem;
  max-width: var(--max-width-wide);
  margin: 0 auto 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border-medium);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s;
  user-select: none;
}
.filter-pill:hover {
  border-color: var(--accent-green);
  color: var(--text-primary);
}
.filter-pill.active {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--bg-primary);
  font-weight: 700;
}

/* ===== INSIGHT CARD GRID ===== */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
/* Featured: first card spans full width */
.insight-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-direction: row;
}
.insight-card.featured .insight-card-body {
  padding: 2.25rem;
}
.insight-card.featured .insight-card-title {
  font-size: 2.2rem;
}
.insight-card.featured .insight-card-thesis {
  font-size: 1rem;
}
.insight-card.featured .insight-card-stat-value {
  font-size: 2rem;
}
.insight-card.featured .insight-card-feature-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.25rem;
  border-left: 1px solid var(--border-subtle);
  gap: 1.5rem;
}
.insight-card-feature-side {
  display: none;
}
.insight-card.featured .insight-card-arrow {
  bottom: 2.25rem;
  right: 2.25rem;
}
.insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}
.insight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.35s;
}
.insight-card:hover {
  border-color: rgba(0, 232, 143, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 232, 143, 0.1);
}
.insight-card:hover::before { opacity: 1; }
.insight-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.insight-card-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  width: fit-content;
  margin-bottom: 1rem;
  font-weight: 700;
}
.insight-card-tag[data-cat="Token Economics"] {
  background: var(--accent-green-dim);
  color: var(--accent-green);
}
.insight-card-tag[data-cat="Agentic Web"] {
  background: var(--accent-blue-dim);
  color: var(--accent-blue);
}
.insight-card-tag[data-cat="AI Infrastructure"] {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
}
.insight-card-tag[data-cat="Developer Economy"] {
  background: var(--accent-purple-dim);
  color: var(--accent-purple);
}
.insight-card-tag[data-cat="Healthcare AI"] {
  background: var(--accent-red-dim);
  color: var(--accent-red);
}
.insight-card-tag[data-cat="Open Source"] {
  background: var(--accent-amber-dim);
  color: var(--accent-amber);
}
.insight-card-tag[data-cat="Developer Tools"] {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
}
.insight-card-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.insight-card-thesis {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}
.insight-card-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}
.insight-card-stat-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
}
.insight-card-stat-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
.insight-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.insight-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.insight-card-arrow {
  position: absolute;
  bottom: 1.75rem;
  right: 1.75rem;
  font-size: 1.2rem;
  color: var(--accent-green);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.35s;
}
.insight-card:hover .insight-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Card hidden by filter */
.insight-card.hidden {
  display: none;
}

/* Insight grid footer */
.insight-grid-footer {
  max-width: var(--max-width-wide);
  margin: -2rem auto 0;
  padding: 0 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.insight-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* Mobile carousel */
@media (max-width: 700px) {
  .insight-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .insight-grid::-webkit-scrollbar { display: none; }
  .insight-grid .insight-card {
    flex: 0 0 88vw;
    scroll-snap-align: center;
    min-width: 88vw;
  }
  .insight-grid .insight-card .insight-card-body {
    padding: 1.25rem;
  }
  .insight-grid .insight-card .insight-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  .insight-grid .insight-card .insight-card-thesis {
    font-size: 0.82rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .insight-grid .insight-card .insight-card-stat {
    padding: 0.75rem 0;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
    align-items: center;
  }
  .insight-grid .insight-card .insight-card-stat-value {
    font-size: 1.3rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .insight-grid .insight-card .insight-card-stat-label {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  .insight-grid .insight-card .insight-card-meta {
    gap: 0.6rem;
    font-size: 0.6rem;
    flex-wrap: wrap;
  }
  .insight-grid .insight-card .insight-card-tag {
    white-space: nowrap;
  }
  .insight-grid .insight-card.featured {
    flex: 0 0 88vw;
    min-width: 88vw;
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
  }
  .insight-grid .insight-card.featured .insight-card-feature-side {
    display: none !important;
  }
  .insight-grid .insight-card.featured .insight-card-body {
    padding: 1.25rem;
  }
  .insight-grid .insight-card.featured .insight-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  .insight-grid .insight-card.featured .insight-card-thesis {
    font-size: 0.82rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .insight-grid .insight-card.featured .insight-card-stat-value {
    font-size: 1.3rem;
  }
  .insight-grid .insight-card.featured .insight-card-arrow {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .insight-scroll-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 0 0;
  }
  .insight-scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
    opacity: 0.3;
    transition: opacity 0.2s;
  }
  .insight-scroll-dot.active {
    opacity: 1;
    background: var(--accent-green);
  }
}
@media (min-width: 701px) {
  .insight-scroll-dots { display: none; }
}

/* ===== PULSE TEASER (HUB) ===== */
.pulse-feed {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.pulse-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s;
}
.pulse-item:first-child {
  border-top: 1px solid var(--border-subtle);
}
.pulse-item:hover {
  background: rgba(255,255,255,0.015);
}
.pulse-item-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  min-width: 50px;
  padding-top: 0.15rem;
}
.pulse-item-content {
  flex: 1;
}
.pulse-item-headline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.pulse-item-headline[data-href]:hover {
  color: var(--accent-green);
  text-decoration: underline;
}
.pulse-item-summary {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.pulse-item-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== WEEKLY TEASER (HUB) ===== */
.weekly-card {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 2rem 6rem;
}
.weekly-card-inner {
  position: relative;
  display: block;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.35s;
  color: inherit;
}
.weekly-card-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, #5b8def 0%, #a855f7 50%, #f5a623 100%);
}
.weekly-card-inner:hover {
  border-color: rgba(91, 141, 239, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.weekly-card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}
.weekly-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.weekly-card-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 1.5rem;
}
.weekly-card-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}
.footer-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-credit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
.footer-credit a { color: var(--accent-green); }
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text-primary); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== PAGE HEADER (about, pulse, weekly) ===== */
.page-header {
  position: relative;
  padding: 8rem 2rem 3rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
}
.page-header-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}
.page-header .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-header .breadcrumb a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.page-header .breadcrumb a:hover { color: var(--accent-green); }
.page-header .breadcrumb .sep { color: var(--text-dim); }
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.page-header-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== ABOUT PAGE ===== */
.about-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.about-section {
  margin-bottom: 4rem;
}
.about-section-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-green);
}
.about-section h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.about-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-section p strong { color: var(--text-primary); }
.methodology-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.methodology-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.3s;
}
.methodology-step:hover { border-color: var(--border-medium); }
.methodology-step-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  margin-bottom: 0.75rem;
}
.methodology-step-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.methodology-step-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.methodology-step-desc {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.not-list {
  list-style: none;
  margin: 1.5rem 0;
}
.not-list li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.not-list li .not-icon {
  color: var(--accent-red);
  font-weight: 700;
}

/* ===== PULSE PAGE ===== */
.pulse-date-filter {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.pulse-date-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pulse-date-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--text-secondary);
}
.pulse-date-pill.active {
  background: var(--accent-cyan-dim);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.pulse-date-filter-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-right: 0.25rem;
}
.pulse-page-feed {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 6rem;
}
.pulse-date-group {
  margin-top: 3rem;
}
.pulse-date-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  padding-bottom: 0.75rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-subtle);
}
.pulse-page-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.pulse-page-item:hover {
  background: rgba(255,255,255,0.01);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 6px;
}
.pulse-significance {
  font-size: 1rem;
  padding-top: 0.2rem;
}
.pulse-page-item-content {
  flex: 1;
}
.pulse-page-item-headline {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}
.pulse-page-item-summary {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.pulse-page-item-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.pulse-page-item-source {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.pulse-page-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 0.2rem;
}

/* ===== WEEKLY PAGE ===== */
.weekly-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.weekly-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-medium);
  border-radius: 10px;
}
.weekly-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.weekly-placeholder-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.weekly-placeholder-text {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  max-width: 400px;
  margin: 0 auto;
}

/* ===== WEEKLY INDEX ===== */
.weekly-index {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
  display: grid;
  gap: 1.5rem;
}
.weekly-index-card {
  position: relative;
  display: block;
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}
.weekly-index-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, #5b8def 0%, #a855f7 50%, #f5a623 100%);
  opacity: 0;
  transition: opacity 0.35s;
}
.weekly-index-card:hover {
  border-color: rgba(91, 141, 239, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(91, 141, 239, 0.1);
}
.weekly-index-card:hover::before { opacity: 1; }
.weekly-index-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.weekly-index-card-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
}
.weekly-index-card-stats {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.weekly-index-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.weekly-index-card-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 1.25rem;
}
.weekly-index-card-trends {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.weekly-index-card-trend-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-weight: 700;
}
.weekly-index-card-arrow {
  position: absolute;
  bottom: 2.25rem;
  right: 2.25rem;
  font-size: 1.2rem;
  color: var(--accent-blue);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.35s;
}
.weekly-index-card:hover .weekly-index-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== WEEKLY INDIVIDUAL PAGE ===== */
.weekly-hero {
  position: relative;
  padding: 8rem 2rem 3rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  overflow: hidden;
}
.weekly-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, #5b8def 0%, #a855f7 50%, #f5a623 100%);
}
.weekly-hero::after {
  content: '';
  position: absolute;
  top: -30%; left: -20%;
  width: 140%; height: 140%;
  background: radial-gradient(ellipse at 30% 50%, rgba(91, 141, 239, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 30%, rgba(168, 85, 247, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.weekly-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}
.weekly-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.weekly-hero .breadcrumb a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.weekly-hero .breadcrumb a:hover { color: var(--accent-green); }
.weekly-hero .breadcrumb .sep { color: var(--text-dim); }
.weekly-hero-dates {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
}
.weekly-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}
.weekly-hero-summary {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

/* Weekly Stats Bar */
.weekly-stats-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 0;
  display: flex;
  gap: 1px;
  background: var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}
.weekly-stats-bar-item {
  flex: 1;
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.weekly-stats-bar-item:first-child { border-radius: 8px 0 0 8px; }
.weekly-stats-bar-item:last-child { border-radius: 0 8px 8px 0; }
.weekly-stats-bar-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}
.weekly-stats-bar-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Weekly Page Body */
.weekly-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}
.weekly-page-section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-blue);
}

/* Weekly Trend Card */
.weekly-trend-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s;
}
.weekly-trend-card:hover {
  border-color: var(--border-medium);
}
.weekly-trend-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.weekly-trend-card-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-weight: 700;
}
.weekly-trend-card-significance {
  font-size: 0.9rem;
}
.weekly-trend-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.weekly-trend-card-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.weekly-trend-card-body p {
  margin-bottom: 1rem;
}
.weekly-trend-card-body p:last-child {
  margin-bottom: 0;
}

/* Weekly Signals List */
.weekly-signals {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}
.weekly-signals-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.weekly-signals-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.weekly-signals-list li {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.weekly-signals-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-size: 0.7rem;
}
.weekly-signals-list li a {
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.weekly-signals-list li a:hover {
  color: var(--accent-green);
}

/* Weekly Outlook Section */
.weekly-outlook {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 2rem;
  margin-top: 3rem;
}
.weekly-outlook::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-green) 100%);
  border-radius: 10px 10px 0 0;
}
.weekly-outlook-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.weekly-outlook-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.weekly-outlook-body p {
  margin-bottom: 1rem;
}
.weekly-outlook-body p:last-child {
  margin-bottom: 0;
}

/* Weekly Nav */
.weekly-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.weekly-nav-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.weekly-nav-link:hover {
  color: #8aacf5;
  transform: translateX(2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .insight-card.featured {
    grid-template-columns: 1fr;
  }
  .insight-card.featured .insight-card-feature-side {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding: 1.5rem 1.75rem;
  }
  .insight-grid {
    grid-template-columns: 1fr 1fr;
  }
  .methodology-steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .pulse-page-item {
    grid-template-columns: auto 1fr;
  }
  .pulse-page-tag {
    grid-column: 1 / -1;
  }
  .weekly-stats-bar {
    flex-wrap: wrap;
  }
  .weekly-stats-bar-item {
    flex: 1 1 calc(50% - 1px);
  }
}

@media (max-width: 700px) {
  .insight-grid {
    grid-template-columns: 1fr;
  }
  .insight-card.featured {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
  }
  .insight-card.featured .insight-card-feature-side {
    display: none !important;
  }
  .nav-links { 
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(16px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 0.5rem;
  }
  .nav-toggle { display: block; }
  .hub-hero { padding: 6rem 1.25rem 3rem; }
  .hub-section { padding: 0 1.25rem; }
  .filter-bar { padding: 0 1.25rem; }
  .insight-grid { padding: 0 1.25rem 3rem; }
  .pulse-feed { padding: 0 1.25rem 3rem; }
  .pulse-item {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
  .pulse-item-time {
    min-width: auto;
  }
  .pulse-item-content {
    flex-basis: 100%;
    order: 3;
  }
  .pulse-item-tag {
    margin-left: auto;
  }
  .weekly-card { padding: 0 1.25rem 4rem; }
  .weekly-index { padding: 3rem 1.25rem 6rem; }
  .weekly-hero { padding: 6rem 1.25rem 2rem; }
  .weekly-page { padding: 2rem 1.25rem 4rem; }
  .weekly-stats-bar { padding: 1.5rem 1.25rem 0; flex-direction: column; }
  .weekly-stats-bar-item { border-radius: 0 !important; }
  .weekly-stats-bar-item:first-child { border-radius: 8px 8px 0 0 !important; }
  .weekly-stats-bar-item:last-child { border-radius: 0 0 8px 8px !important; }
  .weekly-nav { padding: 0 1.25rem 2rem; flex-direction: column; align-items: flex-start; }
  .methodology-steps {
    grid-template-columns: 1fr;
  }
  .page-header { padding: 6rem 1.25rem 2rem; }
  .pulse-page-feed { padding: 0 1.25rem 4rem; }
  .pulse-date-filter { padding: 1rem 1.25rem 0; }
  .weekly-trend-card { padding: 1.25rem; }
  .weekly-trend-card-title { font-size: 1.1rem; }
  .weekly-outlook { padding: 1.25rem; }
  .weekly-content { padding: 3rem 1.25rem 4rem; }
  .about-content { padding: 2rem 1.25rem 4rem; }
  .footer { padding: 2rem 1.25rem; }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}

/* ===== PRINT ===== */
@media print {
  body::after { display: none; }
  .nav, .filter-bar, .footer { display: none; }
  body { background: white; color: black; }
  .hub-hero { padding-top: 2rem; min-height: auto; }
  a { color: inherit; text-decoration: underline; }
}

/* ===== PULSE SEARCH, CATEGORY FILTER & COUNT BAR ===== */

/* Search box */
.pulse-search-wrap {
  max-width: var(--max-width);
  margin: 1.75rem auto 0;
  padding: 0 2rem;
}
.pulse-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.pulse-search-inner::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.85rem;
  height: 0.85rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4655' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.pulse-search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.7rem 2.5rem 0.7rem 2.4rem;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.pulse-search-input::placeholder {
  color: var(--text-dim);
  font-style: italic;
}
.pulse-search-input:focus {
  border-color: var(--accent-cyan);
  background: var(--bg-card);
}
.pulse-search-clear {
  position: absolute;
  right: 0.7rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.7rem;
  cursor: pointer;
  padding: 0.3rem 0.35rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, color 0.15s;
  line-height: 1;
  border-radius: 3px;
}
.pulse-search-clear.visible {
  opacity: 1;
  pointer-events: auto;
}
.pulse-search-clear:hover {
  color: var(--text-secondary);
  background: var(--bg-card-hover);
}

/* Category filter row */
.pulse-cat-filter {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 2rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  min-height: 2.25rem;
}
.pulse-cat-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-transform: uppercase;
}
.pulse-cat-pill:hover {
  border-color: var(--border-medium);
  color: var(--text-secondary);
}
/* Active state colors applied inline via JS */

/* Item count bar */
.pulse-count-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 2rem 0;
}
.pulse-count-text {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Hidden item state (applied by filter JS) */
.pulse-page-item.pulse-item-hidden {
  display: none;
}

/* Mobile tweaks */
@media (max-width: 700px) {
  .pulse-search-wrap  { padding: 0 1.25rem; margin-top: 1.25rem; }
  .pulse-cat-filter   { padding: 0.6rem 1.25rem 0; }
  .pulse-count-bar    { padding: 0.5rem 1.25rem 0; }
}
