/* ============================================================
   DESIGN SYSTEM & CSS TOKENS (ShrikantYadav.com)
   ============================================================ */
:root {
  /* Color Palette - Light Mode (Warm Natural Paper & Ink) */
  --bg-primary: #F8F9F6;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F3EE;
  --bg-surface-elevated: #FFFFFF;
  
  --text-main: #111827;
  --text-muted: #4B5563;
  --text-soft: #6B7280;
  --text-faint: #9CA3AF;
  
  --border-subtle: #E5E7EB;
  --border-strong: #D1D5DB;
  --border-highlight: #CBD5E1;
  
  --brand-amber: #D97706;
  --brand-amber-light: #FEF3C7;
  --brand-amber-dark: #B45309;
  
  --brand-teal: #0D9488;
  --brand-teal-light: #CCFBF1;
  --brand-teal-dark: #0F766E;
  
  --brand-cyan: #06B6D4;
  --brand-cyan-light: #CFFAFE;
  
  --brand-indigo: #4F46E5;
  --brand-indigo-light: #EEF2FF;

  --badge-live-bg: #ECFDF5;
  --badge-live-text: #047857;
  --badge-live-border: #A7F3D0;

  --badge-progress-bg: #FFFBEB;
  --badge-progress-text: #B45309;
  --badge-progress-border: #FDE68A;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(17, 24, 39, 0.05), 0 2px 6px -1px rgba(17, 24, 39, 0.03);
  --shadow-hover: 0 16px 32px -8px rgba(17, 24, 39, 0.1), 0 4px 12px -2px rgba(17, 24, 39, 0.06);
  --shadow-pop: 0 20px 40px -12px rgba(13, 148, 136, 0.18);

  /* Layout */
  --container-max: 1160px;
  --nav-height: 72px;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Tokens */
[data-theme="dark"] {
  --bg-primary: #0A0E17;
  --bg-surface: #111827;
  --bg-surface-alt: #161F30;
  --bg-surface-elevated: #1F293D;

  --text-main: #F9FAFB;
  --text-muted: #D1D5DB;
  --text-soft: #9CA3AF;
  --text-faint: #6B7280;

  --border-subtle: #1F2937;
  --border-strong: #374151;
  --border-highlight: #4B5563;

  --brand-amber: #F59E0B;
  --brand-amber-light: rgba(245, 158, 11, 0.15);
  --brand-amber-dark: #FBBF24;

  --brand-teal: #14B8A6;
  --brand-teal-light: rgba(20, 184, 166, 0.15);
  --brand-teal-dark: #2DD4BF;

  --brand-cyan: #22D3EE;
  --brand-cyan-light: rgba(34, 211, 238, 0.15);

  --brand-indigo: #818CF8;
  --brand-indigo-light: rgba(129, 140, 248, 0.15);

  --badge-live-bg: rgba(16, 185, 129, 0.15);
  --badge-live-text: #34D399;
  --badge-live-border: rgba(52, 211, 153, 0.3);

  --badge-progress-bg: rgba(245, 158, 11, 0.15);
  --badge-progress-text: #FBBF24;
  --badge-progress-border: rgba(251, 191, 36, 0.3);

  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.4), 0 2px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 4px 12px -2px rgba(0, 0, 0, 0.4);
  --shadow-pop: 0 20px 40px -12px rgba(20, 184, 166, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Anti-Copy & Text Selection Protection */
html, body, *, *::before, *::after {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Image protection against dragging */
img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

code, pre, .mono {
  font-family: var(--font-mono);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Shared */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  margin-top: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 14px;
  line-height: 1.6;
}

/* Eyebrow / Tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-teal);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  background: var(--brand-teal-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-teal);
}

/* Status Dot Pulse */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #10B981;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* ============================================================
   BUTTONS & BADGES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-normal);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.btn-teal {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-teal:hover {
  background-color: var(--brand-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.badge-live {
  background-color: var(--badge-live-bg);
  color: var(--badge-live-text);
  border: 1px solid var(--badge-live-border);
}

.badge-progress {
  background-color: var(--badge-progress-bg);
  color: var(--badge-progress-text);
  border: 1px solid var(--badge-progress-border);
}

.badge-tag {
  background-color: var(--bg-surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: rgba(248, 249, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .navbar {
  background-color: rgba(10, 14, 23, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-logo .nav-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-teal);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.brand-logo:hover .nav-avatar-img {
  transform: scale(1.06);
  border-color: var(--brand-amber);
}

.brand-logo .sy-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-amber));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-mono);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.nav-menu a:hover {
  color: var(--text-main);
  background-color: var(--bg-surface-alt);
}

.nav-menu a::before {
  content: "/";
  color: var(--brand-teal);
  margin-right: 2px;
  opacity: 0.7;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.theme-btn:hover {
  color: var(--text-main);
  border-color: var(--border-strong);
  transform: rotate(15deg);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
}

.theme-btn .sun-icon { display: none; }
.theme-btn .moon-icon { display: block; }

[data-theme="dark"] .theme-btn .sun-icon { display: block; }
[data-theme="dark"] .theme-btn .moon-icon { display: none; }

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
}

.mobile-toggle svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.05) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subhead {
  font-size: 19px;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 520px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.social-icon-btn:hover {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.social-icon-btn svg {
  width: 19px;
  height: 19px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-item b {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  display: block;
}

.hero-stat-item span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.3;
}

/* Hero Visual / Interactive Entity Card */
.hero-visual {
  position: relative;
}

.entity-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.entity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-amber));
}

.entity-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.entity-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-teal-light), var(--brand-amber-light));
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-teal-dark);
}

.entity-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--brand-teal);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
  flex-shrink: 0;
}

.entity-title h3 {
  font-size: 20px;
}

.entity-title p {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-soft);
}

.entity-graph-box svg {
  width: 100%;
  height: auto;
}

.graph-path {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1.8;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-graph 1.6s ease forwards;
}

.graph-path.teal { stroke: var(--brand-teal); }
.graph-path.amber { stroke: var(--brand-amber); }

@keyframes draw-graph {
  to { stroke-dashoffset: 0; }
}

.graph-node circle {
  fill: var(--bg-surface);
  stroke: var(--text-main);
  stroke-width: 2;
}

.graph-node text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--text-main);
  font-weight: 500;
}

.graph-node.hub circle {
  fill: var(--brand-teal);
  stroke: var(--brand-teal-dark);
}

.graph-node.hub text {
  fill: #FFFFFF;
}

/* ============================================================
   /NOW LIVING COMMAND CENTER & LOG
   ============================================================ */
.now-hub-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 12px 36px -6px rgba(17, 24, 39, 0.08);
  position: relative;
  overflow: hidden;
}

.now-hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-cyan), var(--brand-amber));
}

.now-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.now-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-teal);
  background-color: var(--brand-teal-light);
  border: 1px solid var(--border-strong);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.now-meta-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.now-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.now-hero-intro {
  margin-bottom: 36px;
}

.now-hero-intro h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 10px;
}

.now-hero-intro p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 680px;
  line-height: 1.6;
}

.now-columns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.now-module-col {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.now-module-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.module-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.module-icon-wrap.teal {
  background-color: var(--brand-teal-light);
  color: var(--brand-teal);
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.module-icon-wrap.amber {
  background-color: var(--brand-amber-light);
  color: var(--brand-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.now-module-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.module-subtitle {
  font-size: 13px;
  color: var(--text-soft);
}

.now-items-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.now-item-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: all var(--transition-normal);
}

.now-item-box:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.now-item-top {
  margin-bottom: 8px;
}

.now-item-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.now-item-title-row h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
}

.now-item-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.now-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ============================================================
   STORY & PHILOSOPHY
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.story-content p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.story-content p.lead {
  font-size: 20px;
  color: var(--text-main);
  font-weight: 500;
}

.principles-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.principles-box h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.principle-item {
  margin-bottom: 18px;
}

.principle-item:last-child {
  margin-bottom: 0;
}

.principle-item b {
  display: block;
  font-size: 15px;
  color: var(--text-main);
}

.principle-item span {
  font-size: 13.5px;
  color: var(--text-soft);
}

/* Milestones Timeline */
.timeline-section {
  margin-top: 56px;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--border-strong);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 3px solid var(--brand-teal);
  box-shadow: 0 0 0 4px var(--bg-primary);
}

.timeline-item.active .timeline-dot {
  border-color: var(--brand-amber);
  background-color: var(--brand-amber);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-teal);
  font-weight: 600;
}

.timeline-title {
  font-size: 18px;
  margin: 4px 0 6px;
}

.timeline-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 640px;
}

/* ============================================================
   INDIE PRODUCTS & VENTURES
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-highlight);
}

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.product-head h3 {
  font-size: 22px;
}

.product-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: color var(--transition-normal);
}

.product-link:hover {
  color: var(--brand-amber);
  text-decoration: underline;
}

.product-summary {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-role-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

/* ============================================================
   PROJECTS, CLIENT WORK & OPEN SOURCE
   ============================================================ */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-main);
}

.filter-btn.active {
  background-color: var(--text-main);
  color: var(--bg-primary);
  border-color: var(--text-main);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.project-type-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--brand-teal);
  background-color: var(--brand-teal-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}

.project-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.project-link-action {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-link-action:hover {
  color: var(--brand-amber);
}

/* ============================================================
   "USES", SETUP & GEAR (MONETIZATION / AFFILIATE)
   ============================================================ */
.disclosure-banner {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-amber);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.disclosure-banner strong {
  color: var(--text-main);
}

.uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.uses-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.uses-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.uses-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--brand-teal-light);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uses-icon-box svg {
  width: 20px;
  height: 20px;
}

.uses-card-header h3 {
  font-size: 17px;
}

.uses-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.uses-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.uses-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.uses-item-name {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-main);
}

.uses-item-category {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--brand-teal);
}

.uses-item p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.uses-affiliate-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-amber);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

/* ============================================================
   WORK WITH ME / SERVICES & CONSULTING
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.service-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-teal);
  flex-shrink: 0;
}

/* Quick Inquiry CTA Block */
.inquiry-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-surface-alt));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}

.inquiry-text h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.inquiry-text p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
}

.inquiry-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   RECOMMENDATIONS & TESTIMONIALS (FROM LINKEDIN LEADERS)
   ============================================================ */
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.recommendation-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.recommendation-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-hover);
}

.recommendation-quote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
}

.recommendation-quote::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
  color: var(--brand-teal);
  opacity: 0.3;
  position: absolute;
  top: -24px;
  left: -8px;
}

.recommendation-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.author-monogram {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-teal-light), var(--brand-amber-light));
  color: var(--brand-teal-dark);
  font-weight: 700;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
}

.author-info h4 {
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-info p {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.4;
}

.linkedin-verified-badge {
  color: #0A66C2;
  display: inline-flex;
}

.linkedin-verified-badge svg,
.google-review-badge svg {
  width: 15px;
  height: 15px;
}

.google-review-badge {
  color: #EA4335;
  display: inline-flex;
}

.review-stars {
  color: #F59E0B;
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 2px;
}

.rating-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   FAQS (AEO & AI SEARCH CITABILITY)
   ============================================================ */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.faq-card:hover {
  border-color: var(--border-strong);
}

.faq-card summary {
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--brand-teal);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-card[open] .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 26px 24px;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT & CONNECT HUB
   ============================================================ */
.contact-hub-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.contact-card-main {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.contact-card-main h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.contact-card-main p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-channel-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.contact-channel-item:hover {
  border-color: var(--brand-teal);
  transform: translateX(4px);
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel-text b {
  display: block;
  font-size: 14px;
  color: var(--text-main);
}

.channel-text span {
  font-size: 13px;
  color: var(--text-soft);
}

/* Social Grid */
.social-network-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.social-network-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.social-network-card p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.social-link-item:hover {
  border-color: var(--border-strong);
  background: var(--bg-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.social-link-item svg {
  width: 20px;
  height: 20px;
  color: var(--text-main);
  flex-shrink: 0;
}

.social-link-item span {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 60px 0 36px;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 380px;
}

.footer-links-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color var(--transition-normal);
}

.footer-col a:hover {
  color: var(--brand-teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   TOAST & TO-TOP BUTTON
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--text-main);
  color: var(--bg-primary);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.to-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-normal);
  z-index: 90;
}

.to-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top-btn:hover {
  background-color: var(--text-main);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--text-main);
  color: var(--bg-primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */
/* ============================================================
   RESPONSIVE MEDIA QUERIES & MOBILE ENHANCEMENTS
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommendations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-hub-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 64px;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--nav-height));
    background-color: var(--bg-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px 40px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 150;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-menu a {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-menu a:hover,
  .nav-menu a:focus {
    background-color: var(--bg-surface-alt);
    color: var(--brand-teal);
  }

  .mobile-toggle {
    display: flex;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .uses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .now-columns-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links-group {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
  }

  .hero-stat-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
  }

  .hero-stat-item b {
    font-size: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    margin-bottom: 24px;
  }

  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .social-links-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rating-pills-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .rating-pill {
    justify-content: center;
    width: 100%;
  }

  .inquiry-banner {
    padding: 24px 18px;
    gap: 20px;
  }

  .inquiry-actions {
    width: 100%;
    flex-direction: column;
  }

  .inquiry-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-card-main {
    padding: 24px 18px;
  }

  .contact-channel-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-channel-item .btn {
    width: 100%;
    justify-content: center;
  }

  .now-hub-card {
    padding: 26px 18px;
  }

  .now-module-col {
    padding: 20px 16px;
  }

  .now-item-box {
    padding: 16px 14px;
  }

  .recommendation-card {
    padding: 24px 18px;
  }

  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 14px;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hero-stat-item {
    padding: 10px;
  }

  .hero-stat-item b {
    font-size: 22px;
  }

  .hero-stat-item span {
    font-size: 11.5px;
  }

  .entity-card {
    padding: 18px 14px;
  }

  .product-card,
  .project-card,
  .service-card {
    padding: 20px 16px;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   BLOG SYSTEM & ARTICLE PROSE TYPOGRAPHY
   ============================================================ */

/* Reading Progress Indicator */
.reading-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  z-index: 999;
  background: transparent;
}

.reading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-amber));
  transition: width 0.1s ease-out;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition-normal);
}

.breadcrumbs a:hover {
  color: var(--brand-teal);
}

.breadcrumbs .separator {
  color: var(--text-faint);
  user-select: none;
}

.breadcrumbs .current {
  color: var(--text-main);
  font-weight: 500;
}

/* Blog Index / Hub Layout */
.blog-header {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 10% 20%, var(--brand-teal-light), transparent 40%),
              radial-gradient(circle at 90% 80%, var(--brand-amber-light), transparent 40%);
}

.blog-header-inner {
  max-width: 820px;
}

.blog-header h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-top: 14px;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.blog-header p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.blog-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--text-main);
  color: var(--bg-primary);
  border-color: var(--text-main);
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-teal);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.blog-card-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.blog-card-readtime {
  color: var(--text-soft);
}

.blog-card h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: color var(--transition-normal);
}

.blog-card:hover h3 {
  color: var(--brand-teal);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--brand-teal);
}

.blog-card-byline b {
  color: var(--text-main);
  font-weight: 600;
}

/* Single Article Layout */
.article-page {
  padding: 48px 0 96px;
}

.article-header {
  max-width: 820px;
  margin: 0 auto 40px;
}

.article-header h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: 16px;
  margin-bottom: 20px;
}

.article-byline-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-top: 24px;
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-teal);
}

.article-author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.article-author-role {
  font-size: 13px;
  color: var(--brand-teal);
  font-family: var(--font-mono);
}

.article-meta-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-soft);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

.article-main {
  min-width: 0;
}

/* Sticky Table of Contents Sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.toc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.toc-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-title svg {
  width: 16px;
  height: 16px;
  color: var(--brand-teal);
}

.toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-nav li a {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
  padding: 4px 8px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  transition: all var(--transition-normal);
}

.toc-nav li a:hover,
.toc-nav li a.active {
  color: var(--brand-teal);
  border-left-color: var(--brand-teal);
  background: var(--brand-teal-light);
  padding-left: 10px;
}

/* Author Quick Card on Sidebar */
.sidebar-cta-card {
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-surface-alt));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
}

.sidebar-cta-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.sidebar-cta-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ============================================================
   PROSE & CONTENT STYLING (AEO & READABILITY OPTIMIZED)
   ============================================================ */
.prose {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-main);
}

.prose * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.prose p {
  margin-bottom: 22px;
  color: var(--text-main);
}

.prose h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  margin-top: 44px;
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--nav-height) + 20px);
  position: relative;
}

.prose h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.35;
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.prose ul, .prose ol {
  margin: 18px 0 24px 24px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.prose strong, .prose b {
  font-weight: 700;
  color: var(--text-main);
}

.prose a {
  color: var(--brand-teal);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--transition-normal), text-decoration-color var(--transition-normal);
}

.prose a:hover {
  color: var(--brand-amber-dark);
  text-decoration-color: var(--brand-amber);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 40px 0;
}

/* Citable Answer Block / Executive Summary (GEO Signal) */
.citable-summary {
  background: var(--bg-surface);
  border-left: 4px solid var(--brand-teal);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.citable-summary .summary-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.citable-summary p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 0;
  font-weight: 500;
}

/* Key Takeaways Callout */
.takeaways-card {
  background: linear-gradient(135deg, var(--bg-surface), var(--brand-teal-light));
  border: 1px solid var(--brand-teal);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 36px 0;
}

[data-theme="dark"] .takeaways-card {
  background: linear-gradient(135deg, var(--bg-surface), rgba(20, 184, 166, 0.1));
}

.takeaways-card h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-teal-dark);
}

[data-theme="dark"] .takeaways-card h3 {
  color: var(--brand-teal);
}

.takeaways-card ul {
  margin: 0 0 0 20px;
}

.takeaways-card li {
  margin-bottom: 8px;
  font-size: 15.5px;
}

/* Highlight Quote / Philosophy Box */
.quote-highlight {
  border-left: 3px solid var(--brand-amber);
  background: var(--bg-surface-alt);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text-main);
}

/* Code Snippets & Architecture Boxes */
.code-card {
  background: #0A0E17;
  color: #F9FAFB;
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 28px 0;
  border: 1px solid #1F2937;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
}

.code-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1F2937;
  color: #9CA3AF;
  font-size: 12px;
}

/* Tool Listicle Cards (for Post 6) */
.tool-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 24px 0;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.tool-showcase-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--brand-teal);
}

.tool-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tool-number-badge {
  background: var(--text-main);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.tool-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-teal);
  text-decoration: none !important;
  font-weight: 600;
}

.tool-link-pill:hover {
  color: var(--brand-amber);
}

/* Article Author Bio Footer Box */
.article-author-bio {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 48px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-teal);
  flex-shrink: 0;
}

.author-bio-details h4 {
  font-size: 20px;
  margin-bottom: 6px;
}

.author-bio-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.author-bio-details p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.author-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.author-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none !important;
  transition: all var(--transition-normal);
}

.author-social-pill:hover {
  color: var(--text-main);
  border-color: var(--text-main);
  background: var(--bg-surface);
}

/* Related / Crosslink Posts Section */
.related-posts-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.related-posts-section h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.related-post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.related-post-card:hover {
  border-color: var(--brand-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.related-post-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-teal);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.related-post-card h4 {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 8px;
  flex-grow: 1;
}

.related-post-byline {
  font-size: 12.5px;
  color: var(--text-soft);
  font-family: var(--font-mono);
}

/* Responsive adjustments for Blog & Articles */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-sidebar {
    position: static;
    order: -1;
    margin-bottom: 16px;
  }

  .toc-card {
    padding: 18px;
  }

  .sidebar-cta-card {
    display: none;
  }
}

@media (max-width: 640px) {
  .blog-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card {
    padding: 22px;
  }

  .article-byline-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .article-author-bio {
    flex-direction: column;
    padding: 22px;
    gap: 16px;
  }

  .author-bio-avatar {
    width: 64px;
    height: 64px;
  }
}

/* ============================================================
   PREMIUM CHALLENGE HUB & SCOREBOARD UI STYLES
   ============================================================ */
.challenge-hub-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.challenge-hub-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0D9488 0%, #14B8A6 50%, #F59E0B 100%);
}

.challenge-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.challenge-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: var(--brand-teal);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(13, 148, 136, 0.15);
}

.scoreboard-strip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.scoreboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.scoreboard-metric-box {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.scoreboard-metric-box:hover {
  border-color: var(--brand-teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(13, 148, 136, 0.2);
}

.scoreboard-metric-box b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 4px;
}

.scoreboard-metric-box span {
  font-size: 12px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scoreboard-progress-wrap {
  margin-top: 16px;
}

.scoreboard-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.scoreboard-progress-track {
  width: 100%;
  height: 14px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.scoreboard-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0D9488, #14B8A6, #F59E0B);
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.scoreboard-progress-bar::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* 3 Ventures & Community Cards Grid */
.challenge-businesses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.challenge-biz-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.challenge-biz-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: 0 16px 32px -8px rgba(13, 148, 136, 0.2);
}

.challenge-biz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.challenge-biz-header h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.challenge-biz-target {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-teal);
  font-weight: 600;
  margin-bottom: 12px;
}

/* 6-Stage Master Plan Roadmap Grid */
.challenge-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.roadmap-node {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  font-size: 13px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.roadmap-node:hover {
  transform: translateY(-3px);
  border-color: var(--brand-teal);
}

.roadmap-node.active {
  border-color: var(--brand-teal);
  background: rgba(13, 148, 136, 0.12);
}

.roadmap-node b {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-teal);
  margin-bottom: 6px;
}

.roadmap-node span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.weekly-logs-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.weekly-log-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.weekly-log-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.weekly-log-stat {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-teal);
}

.weekly-log-summary {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 10px;
}

.weekly-log-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
}

/* ============================================================
   DAILY STORY LOG SYSTEM & HUB STYLES (/days/)
   ============================================================ */
.daily-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}

.daily-story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.daily-story-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: 0 16px 32px -8px rgba(13, 148, 136, 0.2);
}

.daily-story-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.daily-story-rev {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-teal);
}

.daily-story-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.daily-story-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.daily-story-title a:hover {
  color: var(--brand-teal);
}

.daily-story-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.daily-story-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--brand-teal);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* Daily Story Article Layout */
.daily-story-header-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.story-article-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.story-article-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.daily-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.daily-metric-chip {
  text-align: center;
}

.daily-metric-chip span {
  display: block;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-soft);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.daily-metric-chip b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-teal);
}

.story-prose-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 40px;
}

.story-prose-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--text-main);
}

.story-prose-content p {
  margin-bottom: 20px;
}

.story-prose-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.story-prose-content li {
  margin-bottom: 10px;
}

.story-prose-content code {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand-teal);
}

.daily-pagination-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

/* RESPONSIVE MEDIA BREAKPOINTS */
@media (max-width: 1024px) {
  .challenge-businesses-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .daily-stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .challenge-roadmap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .challenge-businesses-grid {
    grid-template-columns: 1fr;
  }
  .scoreboard-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .daily-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-article-title {
    font-size: 26px;
  }
  .daily-story-header-card {
    padding: 24px 18px;
  }
}

@media (max-width: 600px) {
  .hero-headline {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  .hero-subheadline {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .section-title {
    font-size: 22px !important;
  }
  .daily-stories-grid {
    grid-template-columns: 1fr !important;
  }
  .scoreboard-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .scoreboard-metric-box {
    padding: 14px 10px !important;
  }
  .scoreboard-metric-box b {
    font-size: 20px !important;
  }
  .challenge-roadmap-grid {
    grid-template-columns: 1fr !important;
  }
  .daily-pagination-nav {
    flex-direction: column !important;
    width: 100% !important;
  }
  .daily-pagination-nav .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
}




