/* ============================================================
   Lara Shewchuk — article (thought leadership) styles
   Externalized for a strict Content-Security-Policy.
   ============================================================ */

:root {
  --ink:        #0B1B2B;
  --midnight:   #0F1E2E;
  --ink-2:      #2E3B4C;
  --ink-3:      #6B7789;
  --paper:      #FFFFFF;
  --bg:         #F7F8FA;
  --bg-2:       #EEF1F5;
  --rule:       #D8DEE7;
  --accent:     #1B3A6B;
  --dot:        #D6AFD6;
  --font-wordmark:'Fraunces', Georgia, serif;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-sans:    'Inter Tight', system-ui, sans-serif;
  --font-mono:    'Inter Tight', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }
.dot-pink { color: var(--dot); font-weight: 600; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--midnight); color: var(--paper);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 4px; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.shell { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 780px) { .shell { padding: 0 24px; } }

/* ─── NAV ─── */
.nav { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--rule); }
.nav .row { display: flex; align-items: center; justify-content: space-between; min-height: 96px; padding: 18px 0; gap: 24px; }
.brand.brand--lockup { font-family: var(--font-wordmark); display: inline-flex; align-items: center; gap: 16px; color: var(--midnight); text-decoration: none; }
.brand__flag { display: inline-flex; align-items: center; justify-content: flex-start; width: 67px; height: 67px; flex-shrink: 0; }
.brand__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand__eyebrow { font-family: var(--font-wordmark); font-weight: 400; font-size: 18px; color: #707B85; letter-spacing: 0; margin-bottom: 4px; }
.brand__name { font-family: var(--font-wordmark); font-weight: 600; font-size: 36px; color: var(--midnight); letter-spacing: -0.025em; line-height: 1; }
.brand__dot { color: var(--dot); font-weight: 600; }
.nav__menu { display: flex; gap: 32px; align-items: center; }
.nav__menu li { position: relative; padding-right: 10px; }
.nav__menu a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-2); padding: 4px 0; position: relative; text-transform: uppercase;
}
.nav__menu a::before {
  content: '\2022'; position: absolute; right: -11px; top: 50%; transform: translateY(-62%);
  color: var(--dot); font-size: 14px; line-height: 1;
}
.nav__menu a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--midnight); transition: width .25s ease;
}
.nav__menu a:hover, .nav__menu a.is-current { color: var(--midnight); }
.nav__menu a:hover::after, .nav__menu a.is-current::after { width: 100%; }
.nav .credentials {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-3); font-weight: 500; text-transform: uppercase;
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 7px;
  line-height: 1.5; padding-left: 22px; border-left: 1px solid var(--rule);
}
.nav .credentials .sep { color: var(--rule); font-size: 9px; line-height: 0; margin: 0 -1px; }
@media (max-width: 1100px) { .nav .credentials { display: none; } }
@media (max-width: 900px)  { .nav__menu { display: none; } }

/* ─── ARTICLE HEADER ─── */
.article-head { padding: 72px 0 0; }
.article-head .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.article-head .eyebrow .sep { color: var(--dot); }
.article-head h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -0.022em;
  color: var(--midnight); text-wrap: balance; max-width: 18ch; margin: 26px 0 0;
}
.article-head h1 em { font-style: italic; color: var(--accent); }
.article-head .standfirst {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: var(--ink-2);
  max-width: 60ch; margin: 28px 0 0; text-wrap: pretty;
}
.article-head .byline {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline;
  margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule);
  font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-3);
}
.article-head .byline strong { color: var(--midnight); font-weight: 600; letter-spacing: 0; }
.article-head .byline .sep { color: var(--rule); }

/* ─── ARTICLE BODY ─── */
.article-body { padding: 56px 0 96px; }
.article-body .col { max-width: 680px; }
.article-body p {
  font-family: var(--font-body); font-size: 19px; line-height: 1.62;
  color: var(--ink-2); margin: 0 0 26px; text-wrap: pretty;
}
.article-body .lead { font-size: 21px; line-height: 1.55; color: var(--ink); }
.article-body p strong { color: var(--midnight); font-weight: 600; }
.article-body p em { font-style: italic; color: var(--accent); }
.article-body h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.18; letter-spacing: -0.015em;
  color: var(--midnight); margin: 52px 0 18px;
  display: flex; align-items: baseline; gap: 14px;
}
.article-body h2 .n {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  color: var(--dot); font-weight: 600; transform: translateY(-2px);
}
.article-body ul.checks { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--rule); }
.article-body ul.checks li {
  font-family: var(--font-body); font-size: 18px; line-height: 1.55;
  color: var(--ink-2); padding: 16px 0 16px 30px; position: relative;
  border-bottom: 1px solid var(--rule); text-wrap: pretty;
}
.article-body ul.checks li::before {
  content: ""; position: absolute; left: 4px; top: 25px;
  width: 7px; height: 7px; border: 1.5px solid var(--accent); transform: rotate(45deg);
}
.article-body .kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; margin: 0 0 40px;
}
.article-body .stat-row {
  display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 30px;
  padding: 26px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.article-body .stat { flex: 1 1 200px; }
.article-body .stat .fig {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 56px);
  line-height: 1; letter-spacing: -0.02em; color: var(--accent);
}
.article-body .stat .lbl { font-family: var(--font-body); font-size: 15px; line-height: 1.45; color: var(--ink-2); margin-top: 10px; text-wrap: pretty; }
.article-body .pull {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.32; color: var(--midnight);
  max-width: 22ch; margin: 44px 0; padding-left: 26px; border-left: 2px solid var(--dot); text-wrap: balance;
}
.article-body .closer {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--midnight);
  max-width: 28ch; margin: 56px 0 0; padding: 32px 0 0; border-top: 2px solid var(--dot); text-wrap: balance;
}
.article-body .sources { margin: 64px 0 0; padding: 26px 0 0; border-top: 1px solid var(--rule); }
.article-body .sources .lbl {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; margin: 0 0 12px;
}
.article-body .sources p { font-size: 15px; line-height: 1.6; color: var(--ink-3); margin: 0; }

/* ─── BACK LINK ─── */
.article-foot { padding: 0 0 100px; }
.back-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--midnight); font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid var(--midnight);
}
.back-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ─── FOOTER ─── */
footer.site { background: var(--midnight); color: color-mix(in oklab, var(--paper) 70%, transparent); padding: 48px 0; }
footer.site .shell { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site .col { display: flex; gap: 24px; font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.02em; }
footer.site .col a:hover { color: var(--paper); }
