/*
 * pmproskillz-article.css
 * Shared stylesheet for all article pages on pmproskillz.com
 *
 * HOW ACCENT THEMING WORKS
 * ─────────────────────────────────────────────────────────────────
 * Every article has a category color. Instead of duplicating the
 * entire stylesheet with hardcoded teal or blue or slate, each
 * page sets four tokens in its own <style> block and inherits
 * everything else from here.
 *
 * Teal (Execution & Delivery) — default, no override needed:
 *   :root {
 *     --accent:        #0e7490;
 *     --accent-light:  #cffafe;
 *     --accent-dark:   #0a5568;
 *     --accent-border: rgba(14,116,144,.2);
 *   }
 *
 * Blue (Leadership & Strategy):
 *   :root {
 *     --accent:        #2563b0;
 *     --accent-light:  #e8f0fb;
 *     --accent-dark:   #1a4a8a;
 *     --accent-border: rgba(37,99,176,.2);
 *   }
 *
 * Slate (AI & Future of PM):
 *   :root {
 *     --accent:        #4a6080;
 *     --accent-light:  #f0f4f8;
 *     --accent-dark:   #2d3f54;
 *     --accent-border: rgba(74,96,128,.2);
 *   }
 *
 * If you add a new category, define a new accent set and add it
 * to this comment block so future articles can reference it.
 * ─────────────────────────────────────────────────────────────────
 */


/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Neutral palette */
  --white:        #ffffff;
  --off-white:    #F3F7FA;
  --cream:        #EEF2F7;
  --text-dark:    #1a2332;
  --text-mid:     #3d4d60;
  --text-muted:   #6b7d93;

  /* Brand colors (always teal — not category-dependent) */
  --teal:         #0e7490;
  --teal-light:   #cffafe;
  --teal-mid:     #0891b2;
  --teal-dark:    #0a5568;
  --blue:         #2563b0;
  --blue-light:   #e8f0fb;
  --green:        #3a7d5a;
  --green-light:  #E8F2F9;
  --slate:        #4a6080;
  --slate-light:  #f0f4f8;

  /* Borders & shadows */
  --border:       #D5E3EF;
  --border-light: #E4EDF6;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.10);

  /* Shape */
  --radius:       10px;
  --radius-lg:    16px;
  --max-w:        1120px;

  /* ── Category accent (teal is the default) ──────────────────
     Override these four tokens in the page <style> to change
     the accent color for a different article category.        */
  --accent:        #0e7490;
  --accent-light:  #cffafe;
  --accent-dark:   #0a5568;
  --accent-border: rgba(14,116,144,.2);
}


/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }


/* ─── BASE ───────────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; font-weight: 600; line-height: 1.25; }
p { color: var(--text-mid); }


/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}


/* ─── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__brand { font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); }
.nav__brand span { color: var(--teal); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: .88rem; font-weight: 500; color: var(--text-mid); transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--teal); }
.nav__cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 7px;
  font-size: .85rem !important;
  font-weight: 600 !important;
}
.nav__cta:hover { background: var(--teal-dark) !important; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 68px;
  right: 0;
  width: 260px;
  height: calc(100vh - 68px);
  background: var(--white);
  border-left: 1px solid var(--border);
  z-index: 200;
  padding: 24px;
  transform: translateX(110%);
  transition: transform .3s;
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-mid);
}


/* ─── ARTICLE HERO ───────────────────────────────────────────── */
.art-hero {
  background: var(--off-white);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.art-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  /* Uses accent color at 9% opacity for the hero glow */
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 9%, transparent) 0%, transparent 70%);
}

/* Fallback for browsers without color-mix (pre-2023) */
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .art-hero::before {
    background: radial-gradient(circle, rgba(14,116,144,.09) 0%, transparent 70%);
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb-sep { opacity: .4; }

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  background: var(--accent-light);
  color: var(--accent-dark);
  margin-bottom: 20px;
}

.art-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--text-dark);
  margin-bottom: 20px;
  max-width: 740px;
}
.art-hero h1 em { color: var(--accent); font-style: italic; }

.art-hero__sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 28px;
}

.art-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.art-meta__author { display: flex; align-items: center; gap: 9px; }
.art-meta__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
}
.art-meta__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.art-meta__name { font-size: .85rem; font-weight: 600; color: var(--text-dark); }
.art-meta-sep { color: var(--border); }
.art-meta__item { font-size: .82rem; color: var(--text-muted); }


/* ─── ARTICLE BODY LAYOUT ────────────────────────────────────── */
.art-body-wrap { padding: 72px 0 88px; }
.art-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: start;
}


/* ─── TABLE OF CONTENTS ──────────────────────────────────────── */
.toc { position: sticky; top: 88px; }
.toc__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.toc__list { display: flex; flex-direction: column; gap: 2px; }
.toc__item a {
  display: block;
  font-size: .82rem;
  color: var(--text-muted);
  padding: 5px 10px;
  border-left: 2px solid var(--border-light);
  transition: all .2s;
  line-height: 1.4;
}
.toc__item a:hover, .toc__item a.active {
  color: var(--accent);
  border-left-color: var(--accent);
}
.toc__divider { height: 1px; background: var(--border-light); margin: 18px 0; }
.toc__cta {
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 16px;
}
.toc__cta p {
  font-size: .78rem;
  line-height: 1.55;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.toc__cta a {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  padding: 7px;
  transition: background .2s;
}
.toc__cta a:hover { background: var(--accent); color: var(--white); }


/* ─── ARTICLE CONTENT ────────────────────────────────────────── */
.art-content h2 {
  font-size: 1.55rem;
  color: var(--text-dark);
  margin: 52px 0 18px;
  padding-top: 12px;
}
.art-content h2:first-of-type { margin-top: 0; }
.art-content p { margin-bottom: 20px; line-height: 1.8; }
.art-content p:last-child { margin-bottom: 0; }


/* ─── OPENING NOTE ───────────────────────────────────────────── */
.opening-note {
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 28px;
  margin-bottom: 40px;
  font-size: .95rem;
  line-height: 1.72;
  color: var(--text-mid);
}
.opening-note p { color: var(--text-mid); margin: 0; }


/* ─── PULL QUOTE ─────────────────────────────────────────────── */
.pull-quote {
  border-left: 3px solid var(--accent);
  padding: 24px 32px;
  margin: 36px 0;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote p {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  line-height: 1.65;
  font-style: italic;
  color: var(--text-dark);
  margin: 0;
}


/* ─── NUMBERED LIST ──────────────────────────────────────────── */
.num-list { display: flex; flex-direction: column; gap: 20px; margin: 28px 0; }
.num-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.num-item__n {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.num-item__title {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.num-item__text { font-size: .9rem; line-height: 1.7; color: var(--text-mid); margin: 0; }


/* ─── COMPARE COLUMNS ────────────────────────────────────────── */
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.compare-col { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-col--left { background: var(--off-white); }
.compare-col--right { background: var(--accent-light); border-color: var(--accent-border); }
.compare-col__title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.compare-col--right .compare-col__title { color: var(--accent); }
.compare-col ul { display: flex; flex-direction: column; gap: 8px; }
.compare-col li {
  font-size: .88rem;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
}
.compare-col li::before { content: '·'; position: absolute; left: 0; color: var(--text-muted); }
.compare-col--right li::before { color: var(--accent); }


/* ─── DIAGNOSTIC BOX ─────────────────────────────────────────── */
.diag-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
}
.diag-box__title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.diag-box__q {
  font-family: 'Lora', serif;
  font-size: .95rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}
.diag-box p { font-size: .88rem; line-height: 1.65; margin-bottom: 16px; }
.diag-box p:last-child { margin-bottom: 0; }


/* ─── DESIGN QUESTION BLOCK ──────────────────────────────────── */
.design-q {
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 20px 0;
}
.design-q__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.design-q h4 {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.design-q p { font-size: .9rem; line-height: 1.65; margin: 0; }


/* ─── SECTION DIVIDER ────────────────────────────────────────── */
.section-divider {
  width: 40px;
  height: 2.5px;
  background: var(--teal);   /* always brand teal, not category accent */
  border-radius: 2px;
  margin: 52px 0 -36px;
  opacity: .5;
}


/* ─── NEXT STEP CONVERSION BLOCK ─────────────────────────────── */
.next-step-block {
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 48px 0 0;
  background: linear-gradient(135deg, #F3F7FA 0%, #EEF2F7 100%);
  position: relative;
  overflow: hidden;
}
.next-step-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
}
.next-step-block__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.next-step-block__icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.next-step-block__label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}
.next-step-block__tool-type {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .05em;
}
.next-step-block__tool {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.next-step-block__body {
  font-size: .92rem;
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.next-step-block__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: var(--white);
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 700;
  transition: background .2s, transform .15s;
  text-decoration: none;
}
.next-step-block__cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}


/* ─── SPECTRUM BAR (AI articles) ─────────────────────────────── */
.spectrum { margin: 32px 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.spectrum__row { display: grid; grid-template-columns: 200px 1fr; min-height: 52px; }
.spectrum__row:not(:last-child) { border-bottom: 1px solid var(--border-light); }
.spectrum__label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 14px 18px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border-light);
}
.spectrum__bar-wrap { padding: 14px 18px; display: flex; align-items: center; gap: 14px; }


/* ─── ARTICLE FOOTER ─────────────────────────────────────────── */
.art-footer { border-top: 1px solid var(--border-light); padding-top: 48px; margin-top: 56px; }
.art-footer__author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
}
.art-footer__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.art-footer__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.art-footer__author-info strong { display: block; font-size: .95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.art-footer__author-info span { font-size: .82rem; color: var(--teal); }
.art-footer__author-info p { font-size: .85rem; line-height: 1.65; margin-top: 8px; }

.related-title {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 48px; }
.related-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all .2s;
  display: block;
}
.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.related-card__cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.related-card h4 {
  font-family: 'Lora', serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 6px;
}
.related-card p { font-size: .82rem; color: var(--text-muted); }


/* ─── NEWSLETTER STRIP ───────────────────────────────────────── */
.nl-strip {
  background: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.nl-strip h3 { font-family: 'Lora', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 8px; }
.nl-strip p { font-size: .88rem; color: rgba(255,255,255,.6); margin: 0; }
.nl-strip__form { display: flex; gap: 10px; flex-shrink: 0; }
.nl-strip__input {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  padding: 11px 14px;
  outline: none;
  width: 220px;
}
.nl-strip__input::placeholder { color: rgba(255,255,255,.35); }
.nl-strip__btn {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  padding: 11px 18px;
  cursor: pointer;
  white-space: nowrap;
}
.nl-strip__btn:hover { background: var(--teal-mid); }


/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: #111820; padding: 60px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand h3 { font-family: 'Lora', serif; font-size: 1.05rem; color: var(--white); margin-bottom: 12px; }
.footer__brand p { font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,.4); }
.footer__col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col a { font-size: .84rem; color: rgba(255,255,255,.5); }
.footer__col a:hover { color: var(--teal-mid); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: .78rem; color: rgba(255,255,255,.25); }
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-size: .78rem; color: rgba(255,255,255,.25); }
.footer__links a:hover { color: rgba(255,255,255,.5); }


/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .art-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .nl-strip { grid-template-columns: 1fr; }
  .nl-strip__form { flex-direction: column; }
  .nl-strip__input { width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  .compare-cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
