/* =========================================
   MIHIR KOLTHARKAR — INSIGHTS
   Inherits site tokens; editorial article design
   ========================================= */

:root {
  --red: #E8000D;
  --red-dark: #B5000A;
  --black: #0A0A0A;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --gray-dark: #2a2a2a;
  --gray-mid: #666;
  --gray-light: #999;
  --warm-white: #F5F0E8;
  --white: #FFFFFF;
  --gold: #C9A84C;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 72px;
  --container: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--black); color: var(--warm-white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }
::selection { background: var(--red); color: var(--white); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* ====== NAV ====== */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: rgba(10,10,10,0.95);
  border-bottom: 1px solid rgba(245,240,232,0.06);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 4px; text-decoration: none; }
.logo-m { font-family: var(--font-display); font-size: 2.4rem; color: var(--red); line-height: 1; }
.logo-rest { font-family: var(--font-display); font-size: 1.4rem; color: var(--red); letter-spacing: 0.12em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,240,232,0.7); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--warm-white); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--red); transition: width 0.3s var(--ease-out); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--red); color: var(--white) !important; padding: 10px 22px;
  font-size: 0.75rem; letter-spacing: 0.14em; border: none; transition: background 0.2s;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--red-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--warm-white); transition: all 0.3s; }

/* ====== INSIGHTS LISTING PAGE ====== */
.insights-hero {
  padding: 160px 0 80px;
  background: var(--black);
  border-bottom: 1px solid rgba(245,240,232,0.06);
  position: relative;
  overflow: hidden;
}
.insights-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(232,0,13,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.insights-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px; display: block;
}
.insights-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; letter-spacing: -0.01em;
  line-height: 1.05; color: var(--warm-white);
  margin-bottom: 20px;
}
.insights-hero h1 em { font-style: normal; color: var(--red); }
.insights-hero-sub {
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(245,240,232,0.55); max-width: 520px;
}

.insights-grid-section { padding: 80px 0 120px; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.insight-card {
  background: var(--black-2);
  padding: 40px 36px;
  border: 1px solid rgba(245,240,232,0.05);
  transition: background 0.3s, border-color 0.3s;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.insight-card:hover {
  background: var(--black-3);
  border-color: rgba(232,0,13,0.2);
}
.insight-card:hover .card-read-more { gap: 12px; }
.card-tag {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px; display: block;
}
.card-tag.negotiation { color: #4A9EFF; }
.card-tag.kam { color: var(--gold); }
.card-tag.leadership { color: #9B6BFF; }
.card-tag.culture { color: #00C896; }
.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.25;
  color: var(--warm-white); margin-bottom: 16px;
}
.card-excerpt {
  font-size: 0.88rem; line-height: 1.7;
  color: rgba(245,240,232,0.5);
  flex: 1; margin-bottom: 28px;
}
.card-meta {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(245,240,232,0.07); padding-top: 20px;
}
.card-read-time {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245,240,232,0.3);
}
.card-read-more {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); transition: gap 0.3s;
}

/* ====== ARTICLE PAGE ====== */
.article-hero {
  padding: 140px 0 60px;
  background: var(--black);
  border-bottom: 1px solid rgba(245,240,232,0.06);
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(232,0,13,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.article-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(245,240,232,0.35);
  margin-bottom: 28px;
}
.article-breadcrumb a { color: var(--red); transition: opacity 0.2s; }
.article-breadcrumb a:hover { opacity: 0.8; }
.article-breadcrumb span { color: rgba(245,240,232,0.2); }
.article-category {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 16px; display: block;
}
.article-category.negotiation { color: #4A9EFF; }
.article-category.kam { color: var(--gold); }
.article-category.leadership { color: #9B6BFF; }
.article-category.culture { color: #00C896; }
.article-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.08; color: var(--warm-white);
  max-width: 800px; margin-bottom: 24px;
}
.article-sub {
  font-size: 1.1rem; line-height: 1.7;
  color: rgba(245,240,232,0.55); max-width: 640px;
  margin-bottom: 36px;
}
.article-meta-row {
  display: flex; align-items: center; gap: 24px;
  border-top: 1px solid rgba(245,240,232,0.08);
  padding-top: 24px;
}
.meta-author {
  display: flex; align-items: center; gap: 12px;
}
.meta-author-img {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(232,0,13,0.4);
}
.meta-author-info strong {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--warm-white); letter-spacing: 0.04em;
}
.meta-author-info span {
  font-size: 0.72rem; color: rgba(245,240,232,0.4); letter-spacing: 0.06em;
}
.meta-divider { width: 1px; height: 32px; background: rgba(245,240,232,0.1); }
.meta-read { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,240,232,0.3); }

/* ====== ARTICLE BODY ====== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  padding: 80px 0 120px;
  align-items: start;
}
.article-body { max-width: 720px; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.01em; color: var(--warm-white);
  margin: 52px 0 20px;
  padding-top: 52px;
  border-top: 1px solid rgba(245,240,232,0.08);
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--warm-white); margin: 32px 0 12px;
}
.article-body p {
  font-size: 1.02rem; line-height: 1.82;
  color: rgba(245,240,232,0.72);
  margin-bottom: 20px;
}
.article-body p strong { color: var(--warm-white); font-weight: 600; }
.article-body ul, .article-body ol {
  margin: 20px 0 24px 0;
  padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.article-body ul li, .article-body ol li {
  font-size: 1rem; line-height: 1.72;
  color: rgba(245,240,232,0.7);
  padding-left: 24px; position: relative;
}
.article-body ul li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--red); font-weight: 700;
}
.article-body ol { counter-reset: ol-counter; }
.article-body ol li { counter-increment: ol-counter; }
.article-body ol li::before {
  content: counter(ol-counter) '.'; position: absolute; left: 0;
  color: var(--red); font-weight: 700; font-size: 0.88rem;
}

/* Pull quote */
.pull-quote {
  margin: 48px 0;
  padding: 32px 40px;
  border-left: 4px solid var(--red);
  background: rgba(232,0,13,0.05);
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem !important; font-weight: 600;
  line-height: 1.5 !important; color: var(--warm-white) !important;
  font-style: italic; margin: 0 !important;
}

/* Stat callout */
.stat-callout {
  margin: 40px 0;
  padding: 32px;
  background: rgba(245,240,232,0.03);
  border: 1px solid rgba(245,240,232,0.08);
  display: flex; gap: 24px; align-items: flex-start;
}
.stat-callout-num {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 800; color: var(--red);
  line-height: 1; flex-shrink: 0;
}
.stat-callout-text { font-size: 0.92rem; line-height: 1.65; color: rgba(245,240,232,0.6); }
.stat-callout-text strong { color: var(--warm-white); display: block; font-size: 1rem; margin-bottom: 6px; }

/* Framework box */
.framework-box {
  margin: 40px 0;
  padding: 32px 36px;
  background: var(--black-2);
  border: 1px solid rgba(245,240,232,0.08);
  border-top: 3px solid var(--red);
}
.framework-box-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: block;
}
.framework-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; color: var(--warm-white);
  margin-bottom: 14px;
}
.framework-box ul { margin: 0; }
.framework-box ul li { font-size: 0.92rem; color: rgba(245,240,232,0.65); }

/* Article CTA at end */
.article-end-cta {
  margin-top: 64px; padding: 48px;
  background: var(--red);
  text-align: center;
}
.article-end-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); margin-bottom: 12px; letter-spacing: -0.01em;
}
.article-end-cta p {
  font-size: 0.95rem; color: rgba(255,255,255,0.8);
  margin-bottom: 28px; line-height: 1.6;
}
.article-end-cta a {
  display: inline-block;
  background: var(--white); color: var(--red);
  padding: 14px 36px; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; transition: background 0.2s;
}
.article-end-cta a:hover { background: rgba(255,255,255,0.9); }

/* ====== SIDEBAR ====== */
.article-sidebar { position: sticky; top: 100px; }
.sidebar-box {
  background: var(--black-2);
  border: 1px solid rgba(245,240,232,0.07);
  padding: 32px; margin-bottom: 24px;
}
.sidebar-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(245,240,232,0.35);
  margin-bottom: 20px; display: block;
  padding-bottom: 12px; border-bottom: 1px solid rgba(245,240,232,0.06);
}
.sidebar-toc { display: flex; flex-direction: column; gap: 0; }
.sidebar-toc a {
  font-size: 0.84rem; line-height: 1.5; color: rgba(245,240,232,0.5);
  padding: 10px 0; border-bottom: 1px solid rgba(245,240,232,0.05);
  transition: color 0.2s; display: block;
}
.sidebar-toc a:hover { color: var(--warm-white); }
.sidebar-toc a:last-child { border-bottom: none; }
.sidebar-author-img {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--red);
  margin-bottom: 16px;
}
.sidebar-author-name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--warm-white);
  margin-bottom: 4px;
}
.sidebar-author-title {
  font-size: 0.78rem; color: rgba(245,240,232,0.4);
  line-height: 1.5; margin-bottom: 16px;
}
.sidebar-author-bio {
  font-size: 0.82rem; line-height: 1.6;
  color: rgba(245,240,232,0.55); margin-bottom: 20px;
}
.sidebar-book-btn {
  display: block; text-align: center;
  background: var(--red); color: var(--white);
  padding: 12px; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s;
}
.sidebar-book-btn:hover { background: var(--red-dark); }
.related-article {
  padding: 14px 0; border-bottom: 1px solid rgba(245,240,232,0.06);
  display: block; transition: color 0.2s;
}
.related-article:last-child { border-bottom: none; }
.related-article-tag {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.related-article-title {
  font-size: 0.88rem; font-weight: 600; line-height: 1.4;
  color: rgba(245,240,232,0.6); transition: color 0.2s;
}
.related-article:hover .related-article-title { color: var(--warm-white); }

/* ====== FOOTER ====== */
.insights-footer {
  background: var(--black-2);
  border-top: 1px solid rgba(245,240,232,0.06);
  padding: 48px 0;
  text-align: center;
}
.insights-footer p { font-size: 0.82rem; color: rgba(245,240,232,0.3); }
.insights-footer a { color: var(--red); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .article-sidebar { position: static; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 28px 24px 32px;
    gap: 18px;
    border-top: 1px solid rgba(232,0,13,0.2);
    backdrop-filter: blur(12px);
    z-index: 999;
  }
  .nav-links.open a { font-size: 1rem; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-hero { padding: 120px 0 60px; }
  .article-hero { padding: 120px 0 48px; }
  .article-body h2 { font-size: 1.35rem; }
  .pull-quote { padding: 24px; }
  .stat-callout { flex-direction: column; gap: 12px; }
}
