/* ============ BASE (from Edition 6) ============ */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #EDF0E6;
  --surface: #F5F7EF;
  --surface2: #E8EBE2;
  --border: rgba(27,74,71,0.13);
  --text: #1B3634;
  --text-muted: #4B6B68;
  --text-dim: #7A9896;
  --accent-blue: #1B4A47;
  --accent-purple: #7C3AED;
  --accent-green: #059669;
  --accent-orange: #C2410C;
  --primary: #1B4A47;
  --accent: #3D9A93;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(27,54,52,0.04), 0 2px 6px rgba(27,54,52,0.03);
  --shadow-md: 0 2px 4px rgba(27,54,52,0.04), 0 8px 24px rgba(27,54,52,0.06);
  --shadow-lg: 0 4px 8px rgba(27,54,52,0.04), 0 16px 48px rgba(27,54,52,0.08);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 60px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

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

/* Reading progress */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-green));
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(124,58,237,0.3);
}

/* ============ NAV ============ */
nav.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
  /* position context for centered IG CTA */
  background: rgba(237,240,230,0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.nav-brand {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-right: auto;
}
.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  background: var(--accent-blue);
  color: #fff;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ============ CONTAINER ============ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ============ ARTICLE LAYOUT ============ */
.article-wrap {
  padding: 28px 0 80px;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

article.story header {
  margin-bottom: 32px;
}
.story .cat-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.cat-ai { color: var(--accent-purple); border-color: rgba(124,58,237,0.25); }
.cat-auto { color: var(--accent-orange); border-color: rgba(194,65,12,0.25); }
.cat-seo { color: var(--accent-green); border-color: rgba(5,150,105,0.25); }

.story h1 {
  margin-top: 20px;
  font-family: var(--font-text);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text);
}
.story .byline {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--text-dim);
}
.story .byline .author { color: var(--text-muted); font-weight: 600; }
.story .byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); }

.story .hero-image {
  margin-top: 32px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.story .hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.14) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.18) 0%, transparent 60%);
}
.story .hero-image::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-text);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* Gradient image fills — in-palette */
.img-mythos { background: linear-gradient(145deg, #142e2d 0%, #1B4A47 25%, #5a2db8 60%, #7C3AED 80%, #3D9A93 100%); }
.img-gemma { background: linear-gradient(145deg, #0a2e1f 0%, #0f3d2a 30%, #059669 65%, #3D9A93 100%); }
.img-openai { background: linear-gradient(145deg, #0f2320 0%, #1B3634 30%, #4B6B68 65%, #7A9896 100%); }
.img-oracle { background: linear-gradient(145deg, #4a150a 0%, #6b1f0c 25%, #C2410C 60%, #e88c5c 100%); }
.img-copilot { background: linear-gradient(145deg, #091e38 0%, #0f2a4a 25%, #1B4A47 60%, #3D9A93 100%); }
.img-layoffs { background: linear-gradient(145deg, #0f2320 0%, #1B3634 30%, #1B4A47 60%, #4B6B68 100%); }
.img-core { background: linear-gradient(145deg, #082b1c 0%, #0f3d2a 30%, #3D9A93 65%, #5fb6a7 100%); }
.img-zero { background: linear-gradient(145deg, #200e4a 0%, #3a1b6b 30%, #7C3AED 65%, #a67cff 100%); }
.img-amazon { background: linear-gradient(145deg, #3d1208 0%, #6b1f0c 25%, #C2410C 60%, #f5a26b 100%); }
.img-nil { background: linear-gradient(145deg, #082b1c 0%, #059669 30%, #3D9A93 65%, #7C3AED 100%); }
.img-stanford { background: linear-gradient(145deg, #1a0a3a 0%, #3b1578 25%, #7C3AED 55%, #a67cff 80%, #d4c4f9 100%); }
.img-altman { background: linear-gradient(145deg, #2a0a0a 0%, #5c1414 25%, #b22222 55%, #e85c3a 80%, #f5a26b 100%); }
.img-askmaps { background: linear-gradient(145deg, #082b1c 0%, #0f4a30 25%, #059669 55%, #3D9A93 80%, #7dd6cc 100%); }
.img-vibecode { background: linear-gradient(145deg, #0f2320 0%, #1B4A47 25%, #3D9A93 50%, #7C3AED 80%, #a67cff 100%); }
.img-marchcore { background: linear-gradient(145deg, #082b1c 0%, #0f3d2a 30%, #059669 55%, #3D9A93 80%, #5fb6a7 100%); }
.img-llmcrawl { background: linear-gradient(145deg, #091e38 0%, #142e2d 25%, #1B4A47 50%, #3D9A93 75%, #7A9896 100%); }
.img-novo { background: linear-gradient(145deg, #0a1e3d 0%, #143060 25%, #1B4A47 50%, #059669 75%, #3D9A93 100%); }
.img-gscbug { background: linear-gradient(145deg, #1a2e0a 0%, #2d4a14 25%, #059669 55%, #3D9A93 80%, #7dd6cc 100%); }
.img-eddie { background: linear-gradient(145deg, #2a1a0a 0%, #4a2e14 25%, #C2410C 50%, #7C3AED 75%, #a67cff 100%); }
.img-pwcgap { background: linear-gradient(145deg, #1a0a2e 0%, #2d1454 25%, #7C3AED 50%, #C2410C 75%, #e88c5c 100%); }
.img-agentsdk { background: linear-gradient(145deg, #0a1e2e 0%, #142e4a 25%, #1B4A47 50%, #059669 75%, #7dd6cc 100%); }
.img-agenticseo { background: linear-gradient(145deg, #0a2e1a 0%, #0f4a2d 25%, #059669 50%, #1B4A47 75%, #3D9A93 100%); }
.img-allbirds { background: linear-gradient(145deg, #0a1f1a 0%, #1a3d30 25%, #3D9A93 50%, #e88c5c 75%, #f5d1a6 100%); }
.img-physicalai { background: linear-gradient(145deg, #0a0a1e 0%, #141428 25%, #2d1454 50%, #059669 75%, #7dd6cc 100%); }
.img-chatgptbiz { background: linear-gradient(145deg, #0a1e2e 0%, #0f3d4a 25%, #1B4A47 50%, #3D9A93 75%, #a67cff 100%); }
.img-claude-design { background: linear-gradient(145deg, #2a0a2e 0%, #4a1454 25%, #C2410C 50%, #e88c5c 75%, #f5d1a6 100%); }
.img-skild-zebra { background: linear-gradient(145deg, #0a0a1e 0%, #142e4a 25%, #1B4A47 50%, #4B6B68 75%, #7A9896 100%); }
.img-chatgpt-ads { background: linear-gradient(145deg, #082b1c 0%, #0f3d2a 25%, #059669 50%, #7C3AED 75%, #e88c5c 100%); }
.img-ring-a-ding { background: linear-gradient(145deg, #0a1e2e 0%, #1B3634 25%, #3D9A93 50%, #7C3AED 75%, #a67cff 100%); }
.img-snap-layoffs { background: linear-gradient(145deg, #2a1a0a 0%, #4a2e14 25%, #b22222 50%, #e88c5c 75%, #f5d79c 100%); }
.img-gpt-rosalind { background: linear-gradient(145deg, #0a1e3d 0%, #2d1454 25%, #5a2db8 50%, #059669 75%, #7dd6cc 100%); }
.img-amazon-anthropic { background: linear-gradient(145deg, #3d1208 0%, #6b1f0c 25%, #C2410C 55%, #e88c5c 80%, #f5d1a6 100%); }
.img-aptean { background: linear-gradient(145deg, #0a1e2e 0%, #0f3d4a 25%, #1B4A47 50%, #059669 75%, #7dd6cc 100%); }
.img-gcnext { background: linear-gradient(145deg, #091e38 0%, #142e4a 25%, #2d1454 50%, #7C3AED 75%, #a67cff 100%); }
.img-microsoft-japan { background: linear-gradient(145deg, #2a0a0a 0%, #5c1414 25%, #b22222 55%, #1B4A47 80%, #3D9A93 100%); }
.img-adobe-nvidia { background: linear-gradient(145deg, #0a2e1a 0%, #0f4a1f 25%, #059669 50%, #C2410C 75%, #e88c5c 100%); }
.img-blandtax { background: linear-gradient(145deg, #1a0a2e 0%, #2d1454 25%, #7C3AED 50%, #3D9A93 75%, #f5d79c 100%); }
.img-dsa-aimax { background: linear-gradient(145deg, #0a1e2e 0%, #142e4a 25%, #1e3a8a 50%, #C2410C 75%, #f5d1a6 100%); }
.img-tpu8 { background: linear-gradient(145deg, #0a0a1e 0%, #141428 25%, #2d1454 50%, #059669 75%, #3D9A93 100%); }
.img-partner-fund { background: linear-gradient(145deg, #2a0a1e 0%, #4a1454 25%, #7C3AED 50%, #059669 75%, #7dd6cc 100%); }
.img-gpt55 { background: linear-gradient(145deg, #0a1e2e 0%, #0f3d4a 25%, #1B4A47 50%, #059669 75%, #f5d79c 100%); }
.img-anthropic-nec { background: linear-gradient(145deg, #2a0a0a 0%, #5c1414 25%, #C2410C 50%, #e88c5c 75%, #f5d1a6 100%); }
.img-deepseek-v4 { background: linear-gradient(145deg, #050b1f 0%, #0e1a3d 25%, #1d3a8c 50%, #2563eb 75%, #93c5fd 100%); }
.img-april-volatility { background: linear-gradient(145deg, #1a0a0a 0%, #3d1414 25%, #b91c1c 50%, #f59e0b 75%, #fde68a 100%); }
.img-google-anthropic-40b { background: linear-gradient(145deg, #0a0e1f 0%, #1d2a4a 25%, #2563eb 50%, #C2410C 75%, #fde68a 100%); }
.img-chatgpt-clinicians { background: linear-gradient(145deg, #051a14 0%, #0d3d2e 25%, #059669 50%, #14b8a6 75%, #d1fae5 100%); }
.img-aio-ctr-recovery { background: linear-gradient(145deg, #0f0a2e 0%, #2d1b69 25%, #7c3aed 50%, #a78bfa 75%, #ede9fe 100%); }
.img-meta-muse-spark { background: linear-gradient(145deg, #0a0a2a 0%, #1d1d54 25%, #1877F2 50%, #6366f1 75%, #c7d2fe 100%); }
.img-openai-workspace-agents { background: linear-gradient(145deg, #04140e 0%, #0d3024 25%, #10A37F 50%, #34d399 75%, #d1fae5 100%); }
.img-microsoft-agent-governance { background: linear-gradient(145deg, #0a0e2a 0%, #14243d 25%, #0078D4 50%, #38bdf8 75%, #e0f2fe 100%); }
.img-trades-voice-unicorn { background: linear-gradient(145deg, #2a0e0a 0%, #4a1f0a 25%, #ea580c 50%, #fbbf24 75%, #fef3c7 100%); }
.img-microsoft-365-e7 { background: linear-gradient(145deg, #0a1a2e 0%, #112e4d 25%, #0078D4 50%, #60a5fa 75%, #dbeafe 100%); }
.img-google-let-call { background: linear-gradient(145deg, #1a0a2a 0%, #3b1d54 25%, #4285F4 50%, #34a853 75%, #fbbc04 100%); }
.img-ai-agent-tipping-point { background: linear-gradient(145deg, #0a1d24 0%, #0f3a45 25%, #0891b2 50%, #06b6d4 75%, #cffafe 100%); }
.img-claude-security-beta { background: linear-gradient(145deg, #1a0808 0%, #3d1414 25%, #C2410C 50%, #f97316 75%, #fed7aa 100%); }
.img-preferred-sources-global { background: linear-gradient(145deg, #1a1408 0%, #3d2e0a 25%, #4285F4 50%, #fbbc04 75%, #fef3c7 100%); }
.img-pentagon-ai-snub { background: linear-gradient(145deg, #050a14 0%, #14202e 25%, #334155 50%, #64748b 75%, #cbd5e1 100%); }
.img-windows-11-taskbar-agents { background: linear-gradient(145deg, #050a1f 0%, #0f1d3d 25%, #0078D4 50%, #38bdf8 75%, #e0f2fe 100%); }
.img-bny-mellon-20k-agents { background: linear-gradient(145deg, #0a0a14 0%, #1a1f3d 25%, #1B4A47 50%, #10A37F 75%, #d1fae5 100%); }
.img-salesforce-headless-360 { background: linear-gradient(145deg, #001433 0%, #003d7a 25%, #00A1E0 50%, #38bdf8 75%, #e0f7ff 100%); }
.img-ai-labs-wall-street-ventures { background: linear-gradient(145deg, #0a0e1f 0%, #1d2454 25%, #2d5a87 50%, #C2410C 75%, #f5d79c 100%); }
.img-site-reputation-abuse-enforcement { background: linear-gradient(145deg, #2a0a0a 0%, #4a1414 25%, #b91c1c 50%, #fbbc04 75%, #fef3c7 100%); }
.img-sierra-15b-raise { background: linear-gradient(145deg, #1a0a1f 0%, #2d1454 25%, #7C3AED 50%, #ea580c 75%, #fbbf24 100%); }
.img-anthropic-finance-agents { background: linear-gradient(145deg, #1a0808 0%, #3d1a14 25%, #C2410C 50%, #d97706 75%, #fde68a 100%); }
.img-gemini-enterprise-agent-platform { background: linear-gradient(145deg, #0a0e1f 0%, #14243d 25%, #4285F4 50%, #34a853 75%, #fbbc04 100%); }
.img-web-bot-auth { background: linear-gradient(145deg, #0a1a14 0%, #0d3024 25%, #059669 50%, #38bdf8 75%, #e0f2fe 100%); }
.img-servicenow-project-arc { background: linear-gradient(145deg, #02141a 0%, #062e3d 25%, #00B6A0 50%, #76B900 75%, #d9f99d 100%); }
.img-ibm-content-cortex { background: linear-gradient(145deg, #050a1f 0%, #0a1a3d 25%, #0F62FE 50%, #4589FF 75%, #d0e2ff 100%); }
.img-anthropic-google-200b { background: linear-gradient(145deg, #1a0808 0%, #3d1a14 25%, #C2410C 50%, #4285F4 75%, #fbbc04 100%); }
.img-salesforce-agentforce-operations { background: linear-gradient(145deg, #001433 0%, #003d7a 25%, #00A1E0 50%, #1ab394 75%, #d1fae5 100%); }
.img-google-ai-mode-outbound-links { background: linear-gradient(145deg, #1a1408 0%, #3d2e0a 25%, #4285F4 50%, #34a853 75%, #fbbc04 100%); }
.img-writer-event-triggers { background: linear-gradient(145deg, #0a0a1f 0%, #1d1454 25%, #6366f1 50%, #f97316 75%, #fde68a 100%); }
.img-perplexity-computer-mac { background: linear-gradient(145deg, #050b1a 0%, #0d2845 25%, #20808d 50%, #5eead4 75%, #ecfeff 100%); }
.img-anthropic-spacex-colossus { background: linear-gradient(145deg, #0c0612 0%, #2a1530 25%, #c44a1f 50%, #f59e0b 75%, #fef3c7 100%); }
.img-google-back-button-penalty { background: linear-gradient(145deg, #1a0808 0%, #4a1414 25%, #ea4335 50%, #fbbc04 75%, #fef9c3 100%); }
.img-openai-deployment-company { background: linear-gradient(145deg, #06121a 0%, #0a3b4a 25%, #10a37f 50%, #6ee7b7 75%, #ecfdf5 100%); }
.img-microsoft-agent-365-may-update { background: linear-gradient(145deg, #0b1020 0%, #1f3a8a 25%, #2563eb 50%, #38bdf8 75%, #e0f2fe 100%); }
.img-google-merchant-center-agencies-global { background: linear-gradient(145deg, #0d1117 0%, #1d3b14 25%, #34a853 50%, #fbbc04 75%, #fff7d6 100%); }
.img-google-gemini-cross-app { background: linear-gradient(145deg, #0a1428 0%, #1e3a8a 25%, #4285f4 50%, #a78bfa 75%, #f0f9ff 100%); }
.img-xero-xeroforce-agents { background: linear-gradient(145deg, #052e3a 0%, #0a6f8c 25%, #13b5ea 50%, #67e8f9 75%, #f0fdfa 100%); }
.img-conde-nast-zero-search { background: linear-gradient(145deg, #0d0a14 0%, #2d1b3d 25%, #6b21a8 50%, #c084fc 75%, #fdf4ff 100%); }
.img-anthropic-passes-openai-business { background: linear-gradient(145deg, #1a0a05 0%, #4a1c0a 25%, #c2410c 50%, #fb923c 75%, #fff7ed 100%); }
.img-sap-autonomous-enterprise { background: linear-gradient(145deg, #051428 0%, #0f2a52 25%, #0070f3 50%, #38bdf8 75%, #eff6ff 100%); }
.img-google-aeo-geo-still-seo { background: linear-gradient(145deg, #0a1714 0%, #0f3a2d 25%, #15803d 50%, #6ee7b7 75%, #f0fdf4 100%); }

.story .body {
  margin-top: 36px;
  font-family: var(--font-text);
  font-size: 19px;
  line-height: 1.78;
  color: var(--text);
}
.story .body p {
  margin-bottom: 22px;
}
.story .body strong {
  color: var(--text);
  font-weight: 600;
}
.story .body .lede {
  font-family: var(--font);
  font-size: 24px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.story .body h3 {
  font-family: var(--font-text);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text);
}

/* Reuse Edition 6 stat-row styles */
.story .stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin: 36px 0;
}
.story .stat {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story .stat .num {
  font-family: var(--font);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.story .stat .label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Footer CTA — pulled from deep-take style */
.story .footer-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.story .footer-cta h4 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}
.story .footer-cta p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}
.story .footer-cta a {
  display: inline-block;
  background: var(--accent-blue);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s;
}
.story .footer-cta a:hover { opacity: 0.85; }

/* ============ SIDEBAR ============ */
.side {
  position: sticky;
  top: 92px;
}
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.side-card .side-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.side-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.side-item:last-of-type { border-bottom: none; }
.side-item .meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.side-item h4 {
  margin-top: 8px;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.25s ease;
}
.side-item a:hover h4 { color: var(--accent); }
.aside-date {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.side-more {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
  padding-top: 18px;
  border-top: 1px solid var(--border);
  transition: opacity 0.2s;
}
.side-more:hover { opacity: 0.75; }
.side-more::after { content: " \2192"; }

.side-subscribe {
  margin-top: 24px;
  padding: 28px 26px;
  background: linear-gradient(160deg, #1B4A47, #163c3a);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(27,74,71,0.2);
}
.side-subscribe h4 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.side-subscribe p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 18px;
  line-height: 1.55;
}
.side-subscribe a {
  display: block;
  background: #fff;
  color: var(--accent-blue);
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  transition: opacity 0.2s;
}
.side-subscribe a:hover { opacity: 0.9; }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  font-size: 13px;
  color: var(--text-dim);
}
footer div:first-child {
  font-family: var(--font);
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============ INDUSTRY PICKER BAR ============ */
.industry-bar {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: linear-gradient(135deg, #1B4A47 0%, #1a3f3d 50%, #163632 100%);
  border-bottom: 1px solid rgba(61,154,147,0.2);
  box-shadow: 0 6px 28px rgba(27,74,71,0.22);
  overflow: hidden;
}
/* Animated shimmer across the bar */
.industry-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(61,154,147,0.08) 40%,
    rgba(255,255,255,0.06) 50%,
    rgba(61,154,147,0.08) 60%,
    transparent 80%
  );
  background-size: 250% 100%;
  animation: barShimmer 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes barShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.industry-bar-inner {
  max-width: none;
  margin: 0 auto;
  padding: 24px 56px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
}
.industry-bar-label {
  font-family: var(--font-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
  color: #fff;
  white-space: nowrap;
}
.industry-select {
  width: 340px;
  flex-shrink: 0;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  padding: 16px 48px 16px 20px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%231B4A47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.industry-select:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(61,154,147,0.25);
  transform: translateY(-1px);
  outline: none;
}
.industry-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61,154,147,0.25), 0 4px 16px rgba(61,154,147,0.2);
  outline: none;
}

/* ============ STORY-PAGE INDUSTRY INSIGHT ============ */
.industry-insight {
  display: none;
  margin: 36px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(27,74,71,0.05), rgba(124,58,237,0.05));
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 16px;
}
.industry-insight-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.industry-insight-text {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

/* ============ HOME-CARD COMPACT INSIGHT ============ */
.card-insight {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(27,74,71,0.05);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
}
.card-insight-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.card-insight-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .article-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .story .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .container { padding: 0 24px; }
  nav.nav { padding: 0 24px; }
  .nav-links { display: none; }
  .story .body { font-size: 18px; }
  .industry-bar-inner {
    padding: 18px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .industry-bar-label { font-size: 18px; white-space: normal; }
  .industry-select { width: 100%; font-size: 15px; }
}
