/* ThinkingEnterprise — Shared Design System */
:root {
  --ink: #0f0e0c;
  --ink2: #3a3835;
  --ink3: #7a7772;
  --warm: #f0ede7;
  --rule: #dedad3;
  --fire: #c8401a;
  --fire2: #f5ede9;
  --card: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', monospace;
}

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

body {
  background: var(--warm);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header {
  background: white;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 48px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.logo {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--fire); }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--ink3);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--fire); }
.nav-cta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--fire);
  color: white !important;
  padding: 6px 14px;
  text-decoration: none;
}

/* ── TICKER ── */
.ticker {
  background: #f0ede7;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 7px 32px;
  display: flex;
  gap: 28px;
  overflow: hidden;
}
.ticker-item {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink3);
  white-space: nowrap;
}
.ticker-item b { color: var(--ink); font-weight: 500; }
.ticker-sep { color: var(--ink3); font-size: 10px; flex-shrink: 0; }

/* ── LAYOUT ── */
.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── TAGS ── */
.tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  display: inline-block;
}
.tag-essay { background: #ebe8f5; color: #4a3d9e; }
.tag-analysis { background: #e8f4ec; color: #1a6644; }
.tag-tool { background: var(--fire2); color: var(--fire); }

/* ── ARTICLE PAGES ── */
.article-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}
.article-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 16px;
}
.article-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}
.article-title i { font-style: italic; color: var(--fire); }
.article-deck {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── ARTICLE BODY ── */
.article-body { padding-bottom: 80px; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 10px;
}
.article-body p {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.75;
  margin-bottom: 18px;
  font-weight: 300;
}
.key-points {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--fire);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.key-points-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 12px;
}
.key-points ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.key-points li {
  font-size: 14px;
  color: var(--ink2);
  padding-left: 16px;
  position: relative;
}
.key-points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--fire);
  font-size: 12px;
}
.pull-quote {
  border-left: 3px solid var(--fire);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--fire2);
}
.pull-quote p {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

/* ── HOME PAGE CARDS ── */
.post-card-meta { display: flex; align-items: center; gap: 8px; }
.post-date { font-family: var(--mono); font-size: 11px; color: var(--ink3); }
.post-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.post-excerpt { font-size: 13px; color: var(--ink2); line-height: 1.55; }
.post-link {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fire);
  margin-top: auto;
}

/* ── FOOTER ── */
.site-footer {
  background: #1e1c1a;
  padding: 28px 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}
.footer-logo span { color: var(--fire); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: white; }
.footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
}

/* ── HIDE ON MOBILE ── */
@media (max-width: 680px) {
  .hide-mobile { display: none; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .site-header { padding: 0 20px; }
  .site-footer { padding: 28px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
}
