/* ============================================================
   mostlyCBD — Blog Article Stylesheet
   Loaded by /blog/*.html alongside ../style.css
   ../style.css  →  site nav, site footer
   style.css     →  article tokens, reset, all content components
   ============================================================ */

/* ─── tokens ─────────────────────────────────────────────── */
:root {
  --bg:          #F4F1EB;
  --bg-alt:      #EAE6DC;
  --ink:         #1C1B18;
  --ink-muted:   #5A5750;
  --rule:        #C8C3B8;
  --green:       #3B6E52;
  --green-pale:  #D4E7DC;
  --amber:       #C4692A;
  --amber-pale:  #F5E4D5;
  --red:         #9B3030;
  --red-pale:    #F2DCDC;
  --serif:       'Libre Baskerville', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --mono:        'DM Mono', monospace;
  --max:         760px;
  --max-wide:    1020px;
}

/* ─── reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  padding: 0; /* override root style.css body padding */
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: block; /* override root style.css flex */
  min-height: unset;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ─── nav override (body has no side padding here) ───────── */
.site-nav { margin-left: 0; margin-right: 0; }
a:hover { color: var(--amber); }

/* ─── utilities ──────────────────────────────────────────── */
.container      { max-width: var(--max);      margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 24px; }
.rule { border: none; border-top: 1px solid var(--rule); margin: 0; }

/* ─── campaign label ─────────────────────────────────────── */
.campaign-label {
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 0;
}

/* ─── hero ───────────────────────────────────────────────── */
.hero {
  padding: 80px 0 56px;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
  background-image: none;
  background-color: transparent;
  margin-bottom: 0;
  text-align: left;
}
.hero__kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__headline {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  max-width: 640px;
  margin-bottom: 24px;
}
.hero__headline em {
  font-style: italic;
  color: var(--green);
}
.hero__sub {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero__meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: .04em;
}
.hero__meta-item strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 2px;
}

/* ─── animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__kicker   { animation: fadeUp .5s ease both; }
.hero__headline { animation: fadeUp .55s .08s ease both; }
.hero__sub      { animation: fadeUp .55s .16s ease both; }
.hero__meta     { animation: fadeUp .5s .24s ease both; }

/* ─── section spacing ────────────────────────────────────── */
.section       { padding: 72px 0; }
.section--alt  { background: var(--bg-alt); }
.section--tight { padding: 48px 0; }

.section__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section__heading {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.25;
  margin-bottom: 24px;
}
.section__heading--amber { color: var(--amber); }
.section__heading--red   { color: var(--red); }

/* ─── prose ──────────────────────────────────────────────── */
.prose p              { margin-bottom: 20px; color: var(--ink); }
.prose p:last-child   { margin-bottom: 0; }
.prose strong         { font-weight: 500; }

/* ─── definition block ───────────────────────────────────── */
.definition {
  background: var(--bg);
  border-left: 3px solid var(--green);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}
.definition__term {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.definition__phonetic {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.definition p { color: var(--ink); line-height: 1.65; }

/* ─── stat grid ──────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin: 40px 0;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
}
.stat-cell {
  background: var(--bg);
  padding: 28px 24px;
}
.stat-cell__num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
  margin-bottom: 6px;
}
.stat-cell__num--amber { color: var(--amber); }
.stat-cell__num--red   { color: var(--red); }
.stat-cell__label {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ─── mechanism diagram ──────────────────────────────────── */
.mechanism-wrap {
  margin: 40px 0;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.mechanism-header {
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  padding: 10px 20px;
}
.mechanism-body { padding: 28px 24px; }
.mechanism-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.mechanism-row:last-child { margin-bottom: 0; }
.mechanism-cell {
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.45;
}
.mechanism-cell--left  { background: var(--red-pale);   border-left: 3px solid var(--red); }
.mechanism-cell--right { background: var(--green-pale);  border-left: 3px solid var(--green); }
.mechanism-cell__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.mechanism-arrow {
  font-size: 20px;
  color: var(--ink-muted);
  text-align: center;
  flex-shrink: 0;
}
.mechanism-vs {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
  text-align: center;
}

/* ─── callout ────────────────────────────────────────────── */
.callout {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 28px 32px;
  margin: 32px 0;
  position: relative;
}
.callout--amber { border-color: var(--amber); background: var(--amber-pale); }
.callout--green { border-color: var(--green); background: var(--green-pale); }
.callout--red   { border-color: var(--red);   background: var(--red-pale); }
.callout__icon {
  font-size: 22px;
  margin-bottom: 10px;
}
.callout--amber .callout__icon,
.callout--green .callout__icon,
.callout--red .callout__icon {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.callout--amber .callout__icon { color: var(--amber); }
.callout--green .callout__icon { color: var(--green); }
.callout--red   .callout__icon { color: var(--red); }
.callout__heading {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}
.callout p { font-size: 15px; line-height: 1.6; }

/* ─── pull quote ─────────────────────────────────────────── */
.pull-quote {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  margin: 48px 0;
  padding: 28px 0 24px;
}
.pull-quote__text {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 26px);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 12px;
}
.pull-quote__attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* ─── evidence table ─────────────────────────────────────── */
.evidence-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}
.evidence-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--rule);
  background: var(--bg-alt);
}
.evidence-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.5;
}
.evidence-table tr:hover td { background: var(--bg-alt); }
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
}
.badge--green { background: var(--green-pale); color: var(--green); }
.badge--amber { background: var(--amber-pale); color: var(--amber); }
.badge--red   { background: var(--red-pale);   color: var(--red); }

/* ─── nuance grid ────────────────────────────────────────── */
.nuance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 32px 0;
}
.nuance-cell {
  background: var(--bg);
  padding: 24px;
}
.nuance-cell__head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.nuance-cell__head--concern { color: var(--amber); }
.nuance-cell__head--context { color: var(--green); }
.nuance-cell p { font-size: 14px; line-height: 1.6; color: var(--ink); }

/* ─── position cards ─────────────────────────────────────── */
.position-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}
.position-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.position-item__num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.position-item__content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}
.position-item__content strong {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  margin-bottom: 4px;
}

/* ─── footnotes ──────────────────────────────────────────── */
.footnotes {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}
.footnotes__heading {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.footnotes ol { padding-left: 20px; }
.footnotes li {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 8px;
}
.footnotes a {
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 12px;
}

/* ─── responsive ─────────────────────────────────────────── */
@media (max-width: 580px) {
  .nuance-grid      { grid-template-columns: 1fr; }
  .mechanism-row    { grid-template-columns: 1fr; }
  .mechanism-arrow  { display: none; }
}
