/* The Execution Standard - Insights shared styles */
:root {
  --bg: #0F1724;
  --surface: #1E2A3D;
  --border: #3D4759;
  --text: #F7F3EC;
  --muted: #8B95A8;
  --accent: #D4A574;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.nav-brand span { color: var(--accent); }
.brand-mark { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.nav-cta { font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; padding: 10px 20px; border: 1px solid var(--border); transition: border-color 160ms ease, color 160ms ease; }
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

.eyebrow { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 32px; }

/* INSIGHTS HUB */
.insights-hero { padding: 140px 24px 64px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.insights-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.insights-hero h1 { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }
.insights-hero .lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 680px; }
.insights-list-wrap { padding: 24px 24px 120px; }
.insights-list { max-width: 820px; margin: 0 auto; }
.insight-row { display: block; text-decoration: none; padding: 36px 0; border-bottom: 1px solid var(--border); transition: opacity 160ms ease; }
.insight-row:hover .insight-title { color: var(--accent); }
.insight-cat { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 14px; }
.insight-title { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; color: var(--text); margin-bottom: 12px; transition: color 160ms ease; }
.insight-dek { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 660px; }

/* ARTICLE */
.article-wrap { padding: 96px 24px 24px; position: relative; }
.article { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.article-back { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); text-decoration: none; margin-bottom: 40px; transition: color 160ms ease; }
.article-back:hover { color: var(--accent); }
.article-eyebrow { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.article-title { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 46px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }
.article-dek { font-size: 21px; line-height: 1.5; color: var(--muted); margin-bottom: 32px; }
.article-byline { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.08em; color: var(--muted); padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid var(--border); }
.article-byline strong { color: var(--text); font-weight: 600; }
.article-body p { font-size: 19px; line-height: 1.75; color: var(--text); margin-bottom: 28px; }
.article-body h2 { font-family: 'Inter', sans-serif; font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; margin: 52px 0 24px; }
.pullquote { margin: 48px 0; padding: 8px 0 8px 28px; border-left: 2px solid var(--accent); font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }

.article-related { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); margin: 0; }
.article-related a { color: var(--accent); text-decoration: none; transition: opacity 160ms ease; }
.article-related a:hover { opacity: 0.7; }

/* CTA */
.article-cta { margin: 64px 0 32px; padding: 36px 32px; background: var(--surface); border: 1px solid var(--border); border-left: 2px solid var(--accent); }
.article-cta h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.article-cta p { font-size: 16px; line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; background: var(--accent); color: var(--bg); font-size: 15px; font-weight: 600; text-decoration: none; transition: opacity 160ms ease; }
.btn:hover { opacity: 0.88; }

/* ===== HEADER TEXTURE BAND (mirrors homepage hero treatment: faint skyscraper + navy fade-to-solid) ===== */
/* Hub header - covers the whole .insights-hero block, fades to solid at its lower edge */
.insights-hero::before,
.insights-hero::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.insights-hero::before {
  background-image: url('/hero-bg.jpg'); background-size: cover; background-position: center;
  opacity: 0.18; filter: grayscale(40%) contrast(1.1);
}
.insights-hero::after {
  z-index: 1;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bg) 70%, transparent) 0%,
    color-mix(in srgb, var(--bg) 85%, transparent) 60%,
    var(--bg) 100%);
}
/* Article header - band confined to the top ~460px, fades to solid navy before the body copy */
.article-wrap::before,
.article-wrap::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 460px; z-index: 0; pointer-events: none; }
.article-wrap::before {
  background-image: url('/hero-bg.jpg'); background-size: cover; background-position: center;
  opacity: 0.18; filter: grayscale(40%) contrast(1.1);
}
.article-wrap::after {
  z-index: 1;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bg) 70%, transparent) 0%,
    color-mix(in srgb, var(--bg) 85%, transparent) 60%,
    var(--bg) 100%);
}

/* FOOTER */
footer { background: var(--bg); padding: 48px 24px; border-top: 1px solid var(--border); margin-top: 64px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { font-size: 14px; font-weight: 600; color: var(--text); display: inline-flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { width: 14px; height: 14px; }
.footer-brand span { color: var(--accent); }
.footer-meta { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }

@media (max-width: 640px) {
  .insights-hero { padding: 96px 20px 48px; }
  .insights-hero h1 { font-size: 36px; }
  .insights-hero .lead { font-size: 17px; }
  .insights-list-wrap { padding: 16px 20px 80px; }
  .insight-title { font-size: 22px; }
  .article-wrap { padding: 72px 20px 16px; }
  .article-wrap::before, .article-wrap::after { height: 400px; }
  .article-title { font-size: 32px; }
  .article-dek { font-size: 18px; }
  .article-body p { font-size: 17px; }
  .article-body h2 { font-size: 22px; }
  .pullquote { font-size: 20px; }
  .article-cta { padding: 28px 24px; }
}
