/* ============================================================
   Nurture · Resources (articles + listing + legal)
   Editorial-clinical, matching site.css. Class names preserved
   from v1 so converted article bodies and legal pages restyle
   without markup changes.
   ============================================================ */

/* ---------- shared scaffolding ---------- */

.shell.narrow { max-width: 780px; }

.article-page { background: var(--paper, #fff); }

/* ---------- article hero ---------- */

.art-hero {
  padding: 132px 0 8px;
  position: relative;
}

.art-hero .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
  border: 1px solid var(--hairline, #E4EAF3);
  border-radius: var(--r-full);
  padding: 8px 16px;
  margin-bottom: 34px;
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.art-hero .back:hover { border-color: var(--ink-900, #0A1830); color: var(--ink-900, #0A1830); }

.art-hero .cat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.art-hero .cat {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.art-hero .cat-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-300); }
.art-hero .ix {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.art-hero h1.display {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink-900, #0A1830);
  margin: 0 0 20px;
}
.art-hero h1 .accent { color: var(--orange-500); font-style: italic; }

.art-hero .dek {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--slate-500);
  max-width: 58ch;
  margin: 0 0 34px;
}

.art-hero .byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline, #E4EAF3);
  border-bottom: 1px solid var(--hairline, #E4EAF3);
  padding: 16px 0;
}
.art-hero .who { display: flex; align-items: center; gap: 13px; }

.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-850, #0D1F3C), var(--blue-600));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.avatar.lg { width: 54px; height: 54px; font-size: 15px; }

.art-hero .byline .name { font-size: 14px; font-weight: 600; color: var(--ink-900, #0A1830); }
.art-hero .byline .role { font-family: var(--font-mono); font-size: 11px; color: var(--slate-400); margin-top: 2px; }
.art-hero .meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-500);
}
.art-hero .meta-right .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-300); }

.ekg-divider {
  color: var(--orange-500);
  max-width: 340px;
  margin: 36px auto 0;
}
.ekg-divider svg { width: 100%; height: 28px; }

/* ---------- article body ---------- */

.art-body { padding: 40px 0 24px; }

.art-body p, .art-body li {
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--slate-700);
}
.art-body p { margin: 0 0 24px; }

.art-body > .shell > p:first-of-type,
.art-body .lede-graf {
  font-size: 20.5px;
  line-height: 1.65;
  color: var(--ink-900, #0A1830);
}
.art-body > .shell > p:first-of-type::first-letter,
.art-body .lede-graf::first-letter {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 600;
  line-height: 0.9;
  color: var(--orange-500);
  float: left;
  padding: 6px 10px 0 0;
}

.art-body strong { color: var(--ink-900, #0A1830); font-weight: 600; }
.art-body em { font-style: italic; }

.art-body a {
  color: var(--blue-600);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: var(--blue-200);
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.art-body a:hover { text-decoration-color: var(--blue-600); }

.art-body h2 {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink-900, #0A1830);
  margin: 52px 0 18px;
}
.art-body h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-900, #0A1830);
  margin: 40px 0 14px;
}

.art-body ul, .art-body ol { margin: 0 0 24px; padding-left: 26px; }
.art-body li { margin-bottom: 10px; }
.art-body li::marker { color: var(--orange-500); font-family: var(--font-mono); font-size: 14px; }

.art-body hr {
  border: 0;
  height: 1px;
  background: var(--hairline, #E4EAF3);
  margin: 44px 0;
}

/* stages — numbered stage cards (raw HTML blocks in content) */
.stages {
  list-style: none;
  margin: 34px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.stages li {
  position: relative;
  background: var(--paper, #fff);
  border: 1px solid var(--hairline, #E4EAF3);
  border-radius: var(--r-md, 12px);
  padding: 22px 24px 22px 78px;
  margin: 0;
}
.stages li .n {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink-900, #0A1830);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stages li h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900, #0A1830);
  margin: 0 0 6px;
}
.stages li p {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate-500);
  margin: 0;
}
.stages li.hl {
  border-color: var(--orange-200);
  background: var(--orange-50);
}
.stages li.hl .n { background: var(--orange-500); }

/* pullquote */
.pullquote {
  margin: 40px 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--orange-500);
}
.pullquote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.45;
  color: var(--ink-900, #0A1830);
}
/* plain markdown blockquotes get the same treatment */
.art-body > .shell > blockquote {
  margin: 40px 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--orange-500);
}
.art-body > .shell > blockquote p {
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-900, #0A1830);
  margin-bottom: 12px;
}

/* stat-block — inverse panel with three stats */
.stat-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--ink-900, #0A1830);
  border-radius: var(--r-md, 12px);
  padding: 30px 32px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.stat-block::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-500), transparent 70%);
}
.stat-block .stat { position: relative; }
.stat-block .v {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat-block .v .u { font-size: 22px; color: var(--orange-300); }
.stat-block .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.55;
  color: rgba(190, 208, 235, 0.65);
}

/* asks — numbered checklist */
.asks {
  list-style: none;
  margin: 34px 0;
  padding: 0;
  counter-reset: asks;
  display: grid;
  gap: 10px;
}
.asks li {
  counter-increment: asks;
  position: relative;
  padding: 14px 18px 14px 58px;
  background: var(--paper-tint, #F5F8FC);
  border: 1px solid var(--hairline, #E4EAF3);
  border-radius: var(--r-sm, 8px);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--slate-600);
  margin: 0;
}
.asks li::before {
  content: counter(asks, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-600);
}

/* author card */
.author-foot {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper-tint, #F5F8FC);
  border: 1px solid var(--hairline, #E4EAF3);
  border-radius: var(--r-md, 12px);
  padding: 24px;
  margin-top: 48px;
}
.author-foot .who { font-size: 14.5px; color: var(--slate-600); font-family: var(--font-sans); }
.author-foot .who strong { color: var(--ink-900, #0A1830); }
.author-foot .sub {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-400);
  margin-top: 6px;
  font-family: var(--font-sans);
}

/* ---------- newsletter band (articles + listing) ---------- */

.art-nl { padding: 16px 0 8px; }

.nl-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--ink-900, #0A1830);
  border-radius: var(--r-lg, 16px);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.nl-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px 240px at 100% 100%, rgba(230, 126, 34, 0.18), transparent 70%);
}
.nl-band > * { position: relative; z-index: 1; }
.nl-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 10px;
}
.nl-band h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 10px;
}
.nl-band p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(214, 226, 244, 0.75);
  margin: 0;
  max-width: 44ch;
}
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: var(--r-sm, 8px);
  border: 1px solid rgba(148, 175, 220, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nl-form input::placeholder { color: rgba(190, 208, 235, 0.45); }
.nl-form input:focus {
  outline: 0;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(190, 208, 235, 0.6);
}
.nl-form button {
  flex: 0 0 auto;
  padding: 13px 22px;
  border-radius: var(--r-sm, 8px);
  border: 0;
  cursor: pointer;
  background: var(--orange-500);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.nl-form button:hover { background: var(--orange-600); }
.nl-form button:active { transform: translateY(1px); }
.nl-form button:disabled { opacity: 0.7; cursor: default; }
.nl-band .micro {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(190, 208, 235, 0.5);
  margin-top: 12px;
}
.nl-band .micro a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- related ---------- */

.related {
  border-top: 1px solid var(--hairline, #E4EAF3);
  margin-top: 56px;
  padding: 64px 0 8px;
}
.rel-head { margin-bottom: 32px; }
.rel-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-900, #0A1830);
  margin: 0;
}
.rel-head h2 .accent { color: var(--orange-500); font-style: italic; }

/* ---------- mini CTA ---------- */

.mini-cta { padding: 56px 0 88px; }
.mini-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--ink-900, #0A1830);
  border-radius: var(--r-lg, 16px);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.mini-cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(360px 200px at 100% 100%, rgba(230, 126, 34, 0.18), transparent 70%);
}
.mini-cta-card > * { position: relative; z-index: 1; }
.mini-cta-card .eyebrow { color: rgba(190, 208, 235, 0.6); }
.mini-cta-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 10px;
}
.mini-cta-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(214, 226, 244, 0.75);
  margin: 0;
  max-width: 46ch;
}
.btn-cta-light {
  background: #fff;
  color: var(--ink-900, #0A1830);
  flex: none;
}
.btn-cta-light:hover { background: var(--orange-50); color: var(--ink-900, #0A1830); }

/* ---------- listing page ---------- */

.resources-page { padding-bottom: 96px; }

.res-hero { padding: 132px 0 0; }
.res-hero h1.display {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink-900, #0A1830);
  margin: 0 0 18px;
}
.res-hero .dek {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate-500);
  max-width: 60ch;
  margin: 0;
}

.filter-strip {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--hairline, #E4EAF3);
  border-bottom: 1px solid var(--hairline, #E4EAF3);
}
.filter-strip .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-right: 8px;
}
.filter-strip button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-600);
  padding: 7px 15px;
  border-radius: var(--r-full);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.filter-strip button:hover { background: var(--slate-100); color: var(--ink-900, #0A1830); }
.filter-strip button.on { background: var(--ink-900, #0A1830); color: #fff; }
.filter-strip .count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-400);
}

.res-section { padding: 52px 0 0; }
.res-section .sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 22px;
}
.res-section .sec-head h2 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink-900, #0A1830);
  margin: 0;
}
.res-section .sec-head .sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.archive-list { border-top: 1px solid var(--hairline, #E4EAF3); }
.archive-list a.row {
  display: grid;
  grid-template-columns: 110px 1fr auto auto auto;
  gap: 22px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--hairline, #E4EAF3);
  color: inherit;
  transition: background var(--t-fast) var(--ease);
}
.archive-list a.row:hover { background: var(--paper-tint, #F5F8FC); }
.archive-list .row .cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.archive-list .row.practice .cat { color: var(--orange-600); }
.archive-list .row.science .cat { color: var(--blue-600); }
.archive-list .row.research .cat { color: #5B7BA8; }
.archive-list .row.culture .cat { color: #9B6BC2; }
.archive-list .row h3 {
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-900, #0A1830);
  margin: 0;
}
.archive-list .row h3 small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--slate-500);
  margin-top: 4px;
  line-height: 1.5;
}
.archive-list .row .when,
.archive-list .row .read-time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate-400);
  white-space: nowrap;
}
.archive-list .row .arr {
  color: var(--blue-600);
  font-weight: 600;
  font-size: 14px;
  transition: transform var(--t-fast) var(--ease);
}
.archive-list a.row:hover .arr { transform: translateX(3px); }

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .res-hero { padding-top: 104px; }
  .nl-band { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .archive-list a.row { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .archive-list .row .arr { display: none; }
  .filter-strip .count { display: none; }
  .mini-cta-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .art-hero { padding-top: 100px; }
  .art-body p, .art-body li { font-size: 16.5px; }
  .art-body > .shell > p:first-of-type, .art-body .lede-graf { font-size: 18.5px; }
  .stat-block { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .stages li { padding: 18px 20px; }
  .stages li .n { position: static; margin-bottom: 12px; }
  .pullquote blockquote { font-size: 20px; }
}
