/* Kathleen A. Davies — 2018 campaign archive. No JavaScript, frameworks or remote fonts. */
:root {
  color-scheme: light;
  --ink: #261b32;
  --muted: #594f63;
  --brand: #452063;
  --brand-strong: #321249;
  --accent: #e76a00;
  --accent-pale: #fff2e5;
  --surface: #fff;
  --canvas: #faf8fc;
  --line: #ded7e4;
  --focus: #ffb343;
  --width: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: #582778; text-underline-offset: .2em; }
a:hover { color: #983e00; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: .15rem; }
.skip-link { position: absolute; z-index: 5; transform: translateY(-180%); background: #fff; color: #17121b; padding: .65rem 1rem; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(100% - 2.5rem, var(--width)); margin-inline: auto; }
.site-header { background: var(--brand-strong); color: #fff; border-bottom: 4px solid var(--accent); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem 2rem; padding-block: 1.1rem; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: #fff; font-weight: 780; line-height: 1.2; font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -.015em; }
.wordmark:hover { color: #fff; }
.wordmark span { color: #f7ceb2; font-size: .77rem; font-weight: 600; letter-spacing: .04em; margin-top: .28rem; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; border-radius: .4rem; padding: .45rem .7rem; color: #fff; text-decoration: none; font-weight: 650; font-size: .9rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #704091; color: #fff; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px #ffaf57; }
.archive-strip { border-bottom: 1px solid #ead5c6; background: var(--accent-pale); color: #5f330e; font-size: .9rem; }
.archive-strip .container { padding-block: .55rem; }
.archive-strip strong { font-weight: 750; }
main { min-height: 60vh; }
.section { padding-block: clamp(2.25rem, 4.5vw, 4.5rem); }
.section + .section { padding-top: .3rem; }
.kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .13em; color: #964300; font-weight: 780; margin: 0 0 .85rem; }
h1, h2, h3 { font-weight: 770; line-height: 1.19; letter-spacing: -.035em; color: var(--brand-strong); }
h1 { margin: 0 0 1.1rem; font-size: clamp(2.35rem, 5.2vw, 4.4rem); }
h2 { margin: 0 0 .85rem; font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
p { margin: 0 0 1.1rem; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: #3f3150; line-height: 1.52; max-width: 46rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero .lead { max-width: 37rem; }
.hero-figure { margin: 0; overflow: hidden; border-radius: 1.25rem; box-shadow: 0 16px 44px #30143a24; background: #e6dce9; }
.hero-figure img { width: 100%; max-height: 34rem; object-fit: cover; object-position: center 20%; }
.hero-figure figcaption { padding: .5rem 1rem .7rem; font-size: .78rem; color: var(--muted); background: #fff; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.7rem; }
.action { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .7rem 1.05rem; border-radius: .55rem; background: var(--brand); color: #fff; font-weight: 750; text-decoration: none; }
.action:hover { background: #5a2e78; color: #fff; }
.action.secondary { color: var(--brand); background: #fff; border: 1px solid #aa9ab9; }
.action.secondary:hover { background: #f0eaf5; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.25rem, 2.5vw, 2rem); box-shadow: 0 4px 18px #3511460a; }
.card p:last-child, .prose p:last-child { margin-bottom: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link h3 { text-decoration: underline; text-decoration-color: #bd8cce; text-underline-offset: .2em; }
.card-link:hover { border-color: #9b70b2; background: #fffaff; }
.card-link p { color: var(--muted); }
.note { border-left: 4px solid var(--accent); padding: 1rem 1.2rem; background: #fff5ea; border-radius: 0 .5rem .5rem 0; color: #4b321c; }
.note p:last-child { margin-bottom: 0; }
.quote { margin: 0; border-left: 4px solid #895aa6; padding-left: clamp(1rem, 3vw, 1.8rem); }
.quote p { font-size: 1.035rem; }
.quote footer { margin-top: 1rem; color: var(--muted); font-style: normal; font-size: .9rem; }
.breadcrumb { padding-top: 1.55rem; font-size: .87rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .55rem; color: #93889b; }
.page-head { padding-block: 2rem 1.5rem; }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 54rem; }
.prose { max-width: 48rem; }
.prose h2 { margin-top: 2.1rem; }
.prose ul { padding-left: 1.5rem; }
.prose li { margin-bottom: .5rem; }
.columns { display: grid; grid-template-columns: minmax(0,2fr) minmax(16rem,1fr); gap: clamp(1.2rem,4vw,3rem); align-items: start; }
.side-note { position: relative; }
.side-note h2 { font-size: 1.25rem; }
.credentials { display: flex; flex-wrap: wrap; list-style: none; gap: .65rem; margin: 1.5rem 0 0; padding: 0; }
.credentials li { padding: .45rem .8rem; border: 1px solid #cdb5df; border-radius: 999px; background: #f7f0fc; color: var(--brand-strong); font-weight: 700; font-size: .9rem; }
.gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; margin-top: 1.4rem; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: auto; background: #ddd7e1; }
.gallery figcaption { padding: .9rem 1.1rem 1.1rem; color: #4b4056; font-size: .92rem; }
.gallery .wide { grid-column: 1/-1; }
.gallery .wide img { max-height: 18rem; object-fit: contain; background: #fff; }
.gallery-note { margin-top: 1.6rem; }
.site-footer { background: #28163d; color: #eee5f3; margin-top: 2rem; padding-block: 2.3rem; font-size: .91rem; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.site-footer a { color: #fff0c6; }
.site-footer p { max-width: 41rem; margin-bottom: .6rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; }
.small { font-size: .88rem; color: var(--muted); }
.site-footer .small { color: #d3c3df; }
@media (max-width: 780px) {
  .hero, .columns { grid-template-columns: 1fr; }
  .hero-figure { max-width: 30rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child, .gallery .wide { grid-row: auto; grid-column: auto; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 1.5rem, var(--width)); }
  .site-nav { gap: .15rem; }
  .site-nav a { padding-inline: .55rem; font-size: .86rem; }
  h1 { font-size: 2.3rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .archive-strip, .actions, .breadcrumb { display: none; }
  body { background: white; color: #000; }
  .section { padding-block: 1rem; }
  .card { break-inside: avoid; box-shadow: none; }
}

/* Article index and documentary research (November 2026) */
.section-heading { max-width: 50rem; margin-bottom: 1.4rem; }
.article-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.article-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 1.1rem; background: #fff; overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 4px 18px #3511460a; }
.article-card > img { aspect-ratio: 1200 / 630; width: 100%; object-fit: cover; background: #301348; }
.article-card > div { flex: 1; padding: clamp(1.1rem, 2vw, 1.75rem); }
.article-card h2, .article-card h3 { margin: .4rem 0 1rem; font-size: clamp(1.24rem, 2.2vw, 1.65rem); }
.article-card p { color: var(--muted); }
.article-card .kicker { color: #964300; font-size: .74rem; }
.article-card:hover { border-color: #9b70b2; box-shadow: 0 12px 36px #35114618; }
.article-card:hover h2, .article-card:hover h3 { text-decoration: underline; text-underline-offset: .17em; }
.read-more { color: #582778; font-weight: 750; text-decoration: underline; text-underline-offset: .16em; }
.all-articles-link { margin-top: 1.3rem; font-weight: 750; }
.research-notice { margin-top: 2rem; }
.article-layout { padding-bottom: 1rem; }
.article-head { max-width: 60rem; margin: 1.5rem 0 2rem; }
.article-head h1 { max-width: 59rem; font-size: clamp(2.1rem, 4.3vw, 3.65rem); line-height: 1.13; }
.article-head .lead { max-width: 55rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem .65rem; color: var(--muted); font-size: .9rem; }
.article-cover { max-width: 67.5rem; margin: 0 0 2.7rem; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: #fff; }
.article-cover img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.article-cover figcaption, .article-figure figcaption { font-size: .85rem; color: var(--muted); line-height: 1.5; padding: .7rem 1.1rem .85rem; background: #fff; }
.article-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14.5rem, 17.5rem); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: start; }
.article-prose { max-width: none; min-width: 0; font-size: 1.06rem; line-height: 1.84; }
.article-prose p { max-width: 70ch; margin-bottom: 1.25rem; }
.article-prose h2 { font-size: clamp(1.5rem, 2.5vw, 1.95rem); margin-top: 2.7rem; margin-bottom: 1.05rem; scroll-margin-top: 1.5rem; }
.article-prose h2:first-child { margin-top: 0; }
.article-prose h3 { font-size: 1.4rem; margin-top: 2.5rem; scroll-margin-top: 1.5rem; }
.article-prose a { overflow-wrap: anywhere; }
.article-prose li { padding-left: .22rem; margin-bottom: .65rem; }
.article-prose ol, .article-prose ul { padding-left: 1.5rem; margin-top: .4rem; margin-bottom: 1.6rem; }
.article-prose li::marker { color: var(--brand); font-weight: 750; }
.article-prose .article-figure { margin: 2rem 0 2.4rem; border: 1px solid var(--line); background: #fff; border-radius: .85rem; overflow: hidden; }
.article-figure img { width: 100%; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; margin: 1.2rem 0 1.4rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.research-table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.52; }
.research-table th { color: var(--brand-strong); background: #f0e9f5; font-weight: 750; text-align: left; }
.research-table th, .research-table td { padding: .7rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.research-table tbody tr:last-child td { border-bottom: 0; }
.research-table tbody tr:nth-child(even) { background: #fcfafd; }
.article-rule { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0 1.5rem; }
.article-aside { min-width: 0; position: sticky; top: 1.5rem; }
.article-toc { padding: 1.2rem; max-height: min(70vh, 38rem); overflow: auto; }
.article-toc h2 { margin-bottom: .8rem; font-size: 1.14rem; }
.article-toc ol { margin: 0; padding-left: 1.15rem; font-size: .89rem; line-height: 1.45; }
.article-toc li { margin-bottom: .65rem; }
.article-toc li::marker { color: #7b478d; }
.article-toc a { overflow-wrap: anywhere; }
.article-context { margin-top: 1.2rem; font-size: .87rem; }
.article-context p { margin-bottom: .6rem; }
.related-section { margin-top: 3.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.related-grid .card { padding: 1.3rem; }
.related-grid h3 { font-size: 1.12rem; }
.related-grid p { font-size: .91rem; }
@media (max-width: 1000px) {
  .article-columns { grid-template-columns: minmax(0, 1fr) minmax(12rem, 14rem); gap: 1.3rem; }
  .article-toc { padding: .95rem; }
}
@media (max-width: 780px) {
  .article-columns { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .article-toc { max-height: none; }
  .article-card-grid, .related-grid { grid-template-columns: 1fr; }
  .article-head { margin-top: 1.1rem; }
  .article-cover { margin-bottom: 1.7rem; }
}
@media print {
  .article-aside, .related-section { display: none; }
  .article-columns { display: block; }
  .article-prose { font-size: 10.5pt; }
  .article-cover { max-width: 12cm; }
}
