/* The McKenna File — built in the candidate's own palette and type.
   Blue #005B94 · Cream #FFF5D9 · Slate #7B949C · Navy #182241 · Roboto. */
:root {
  --blue: #005B94;
  --blue-deep: #004473;
  --cream: #FFF5D9;
  --slate: #7B949C;
  --slate-deep: #62787F;
  --navy: #182241;
  --navy-50: rgba(24, 34, 65, 0.5);
  --rule: rgba(24, 34, 65, 0.18);
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--slate); color: var(--navy);
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
a:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Header: wordmark left, small nav right ---------- */
.site-header { background: var(--blue); color: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.wordmark { color: var(--cream); text-decoration: none; font-size: 1.25rem; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark:hover { color: #fff; }
.wordmark { white-space: normal; }
.wordmark .tagline { display: block; font-size: 0.82rem; font-weight: 400; letter-spacing: 0; opacity: 0.9; margin-top: 3px; max-width: 46ch; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 0.86rem; }
.site-nav a { color: var(--cream); text-decoration: none; opacity: 0.9; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a.current { opacity: 1; border-bottom-color: var(--cream); color: var(--cream); }

/* ---------- Bands ---------- */
.band { padding: clamp(40px, 6vw, 72px) 0; }
.band.blue { background: var(--blue); color: var(--cream); }
.band.blue a { color: var(--cream); }
.band.slate { background: var(--slate); color: var(--navy); }
.band + .band.slate { border-top: 1px solid rgba(255,255,255,0.08); }

/* Hero: headline left, big statement right (mirrors her hero grid) */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 22px; color: var(--cream); }
.hero .sub { font-size: 0.95rem; line-height: 1.5; max-width: 34ch; margin: 0 0 28px; color: var(--cream); opacity: 0.95; }
.hero .figure { background: var(--cream); color: var(--navy); padding: 36px 34px; }
.hero .figure .big { font-size: clamp(3.6rem, 8vw, 6rem); font-weight: 400; letter-spacing: -0.04em; line-height: 0.9; color: var(--blue); margin: 0; }
.hero .figure .cap { font-size: 1.05rem; line-height: 1.4; margin: 14px 0 0; }
.hero .figure .cap b { font-weight: 500; }

/* Emphasis */
.red { color: #FF5C5C; }
.punch { font-size: 1.22rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.band.blue .punch { color: #FFFFFF; }
.band.blue .punch .red, .band.blue .punch.red { color: #FF5C5C; }
.band.slate .red, .band.slate .punch .red, .band.slate .punch.red { color: #B3121B; }
.closer .punch { font-size: 1.3rem; max-width: 40ch; margin: 0 auto 14px; }

/* Pill buttons — her button spec */
.pill { display: inline-block; border-radius: 300px; padding: 15px 26px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; line-height: 1; white-space: nowrap; }
.band a.pill.cream, a.pill.cream { background: var(--cream); color: var(--blue); }
.band a.pill.cream:hover, a.pill.cream:hover { background: #fff; color: var(--blue-deep); }
.band a.pill.blue, a.pill.blue { background: var(--blue); color: var(--cream); }
.band a.pill.blue:hover, a.pill.blue:hover { background: var(--blue-deep); color: var(--cream); }
.pill.small { padding: 11px 18px; font-size: 0.72rem; }

/* Scorecard strip */
.score { padding: clamp(28px, 4vw, 44px) 0; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px 28px; }
.tiles li { display: flex; flex-direction: column; gap: 6px; padding-left: 14px; border-left: 3px solid var(--blue); }
.tiles .v { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--blue); }
.tiles .l { font-size: 0.9rem; line-height: 1.35; color: var(--navy); }

/* ---------- Record bands on the index ---------- */
.entry .wrap { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 40px 56px; align-items: start; }
.entry h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.entry .body p { margin: 0 0 12px; font-size: 1.08rem; line-height: 1.5; }
.entry .body p:last-of-type { margin-bottom: 0; }
.entry .stamp { font-size: 0.82rem; opacity: 0.85; margin: 0 0 10px; }
.entry .actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.entry.slate .stamp { color: var(--navy); }
.entry.blue .body { color: var(--cream); }
/* Alternate: headline on the right, body on the left */
.entry.flip .wrap > h2 { grid-column: 2; grid-row: 1; text-align: right; }
.entry.flip .wrap > .body { grid-column: 1; grid-row: 1; }
.entry.flip .actions { justify-content: flex-start; }

/* Big italic pull-quote — her mid-page quote treatment */
.quote { font-size: clamp(1.5rem, 2.8vw, 1.95rem); font-style: italic; font-weight: 400; line-height: 1.6; margin: 0; }
.quote cite { display: block; font-style: normal; font-size: 0.9rem; margin-top: 14px; opacity: 0.85; }

/* Ledger-style list used inside bands */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; }
.ledger li { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 0 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.band.blue .ledger li { border-bottom-color: rgba(255,245,217,0.25); }
.ledger .when { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.ledger .what strong { display: block; font-weight: 500; margin-bottom: 4px; }
.ledger .what p { margin: 0 0 6px; }

/* Closing band — her "Donate Today!" */
.closer { text-align: center; }
.closer h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 18px; }
.closer h2 u { text-decoration-color: var(--blue); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.closer p { max-width: 54ch; margin: 0 auto 26px; }
.band.blue.closer h2, .band.blue.closer p { color: var(--cream); }
.band.blue.closer .punch { color: #fff; }
.band.blue.closer .punch.red { color: #FF5C5C; }

/* ---------- Section pages: blue title band + cream sheet on slate ---------- */
.title-band { background: var(--blue); color: var(--cream); padding: clamp(44px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); }
.title-band h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 22ch; }
.title-band .dek { font-size: 1.02rem; line-height: 1.5; max-width: 62ch; margin: 0 0 8px; opacity: 0.95; }
.title-band .dateline { font-size: 0.84rem; opacity: 0.8; margin: 0; }
.sheet-band { background: var(--slate); padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 90px); }
.sheet { background: var(--cream); color: var(--navy); max-width: 800px; padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 56px); }

h2.section { font-size: 1.55rem; font-weight: 400; letter-spacing: -0.015em; line-height: 1.15; margin: 38px 0 12px; color: var(--blue); }
h2.section:first-child { margin-top: 0; }
h3.subsection { font-size: 1.1rem; font-weight: 500; margin: 24px 0 8px; }
p { margin: 0 0 14px; }
p.lede { font-size: 1.12rem; line-height: 1.55; }
p.note { font-size: 0.92rem; color: var(--navy); opacity: 0.8; }
ul { margin: 0 0 16px; padding-left: 1.3em; }
li { margin-bottom: 8px; }
li::marker { color: var(--blue); }

blockquote { margin: 0 0 18px; padding: 6px 0 6px 22px; border-left: 4px solid var(--blue); font-size: 1.15rem; font-style: italic; line-height: 1.55; }
blockquote p { margin: 0 0 10px; }
blockquote .ts { font-style: normal; font-size: 0.82rem; opacity: 0.75; }

/* Margin notes */
.note { margin: 6px 0 22px; padding: 14px 18px; background: var(--blue); color: var(--cream); }
.note p { margin: 0; }
.note a { color: var(--cream); }
.note-label { font-weight: 500; }
.note.flag { background: var(--navy); }

/* Source lines */
.source-note { font-size: 0.84rem; line-height: 1.5; margin: -4px 0 20px; opacity: 0.9; }
.source-note .source-label { font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.72rem; margin-right: 4px; }
.source-note .sep { opacity: 0.4; padding: 0 4px; }

/* Tables */
table.snapshot, table.data { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
table.snapshot td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.snapshot td.label { width: 32%; font-weight: 500; padding-right: 16px; color: var(--blue); }
table.data th { text-align: left; font-weight: 500; padding: 6px 10px 8px 0; border-bottom: 2px solid var(--navy); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.data td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data td.num, table.data th.num { text-align: right; padding-right: 18px; white-space: nowrap; }
table.data tr.late td { background: rgba(0,91,148,0.08); }
table.data tr.late td:first-child { box-shadow: inset 4px 0 0 var(--blue); padding-left: 10px; }
table.data tr.late td.flag { color: var(--blue); font-weight: 700; }
table.data td.flag { white-space: nowrap; }

hr.rule { border: none; border-top: 1px solid var(--rule); margin: 28px 0; }

.more-from { margin-top: 40px; padding-top: 18px; border-top: 2px solid var(--navy); font-size: 0.95rem; }
.more-from h2 { font-size: 1rem; font-weight: 500; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.more-from ul { padding-left: 1.2em; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); font-size: 0.84rem; line-height: 1.55; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 40px; }
.site-footer p { margin: 0 0 8px; opacity: 0.9; }
.site-footer a { color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap, .entry .wrap { grid-template-columns: 1fr; gap: 24px; }
  .entry.flip .wrap > h2 { grid-column: 1; grid-row: auto; text-align: left; }
  .entry.flip .wrap > .body { grid-column: 1; grid-row: auto; }
  .hero .figure { padding: 26px 24px; }
  .site-header .wrap { padding-top: 16px; padding-bottom: 14px; }
  .wordmark { font-size: 1.05rem; white-space: normal; }
  .site-nav { font-size: 0.82rem; gap: 2px 16px; }
  .band { padding: 44px 0; }
  .ledger li { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  table.data { font-size: 0.86rem; }
  table.data td, table.data th { padding: 7px 6px 7px 0; }
  table.data td.flag, table.data td.num, table.data th.num { white-space: normal; padding-right: 8px; }
  table.data .dd { display: none; }
  table.snapshot, table.snapshot tbody, table.snapshot tr, table.snapshot td { display: block; width: 100%; }
  table.snapshot td.label { border-bottom: none; padding-bottom: 0; width: auto; }
  table.snapshot td.value { padding-top: 2px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .tiles { grid-template-columns: 1fr; }
  .pill { white-space: normal; text-align: center; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .more-from, .pill { display: none; }
  .band, .title-band, .sheet-band { background: #fff; color: #000; padding: 12px 0; }
  .sheet { background: #fff; padding: 0; max-width: none; }
  a { color: inherit; text-decoration: none; }
}
