/* --------------------------------------------------------------------------
   Dave Marsh tribute archive
   An editorial, print-derived look: paper, ink, one red. The obituary section
   is deliberately set apart -- dark ground, its own rules, its own rhythm.
   -------------------------------------------------------------------------- */

:root {
  --paper:      #f7f4ed;
  --paper-2:    #fffdf8;
  --paper-3:    #efe9dd;
  --ink:        #17140f;
  --ink-2:      #3d372e;
  --ink-3:      #6d6558;
  --rule:       #d9d1c1;
  --rule-2:     #c3b9a5;
  --red:        #ab2318;
  --red-soft:   #d94a3a;
  --dark:       #15120e;
  --dark-2:     #221d17;
  --dark-ink:   #efe9dd;
  --dark-ink-2: #a89f8e;

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body:    "Newsreader", Georgia, "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wide: 1180px;
  --text: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:    #14120f;
    --paper-2:  #1c1915;
    --paper-3:  #24201a;
    --ink:      #f2ece1;
    --ink-2:    #cfc6b6;
    --ink-3:    #9a9183;
    --rule:     #322c24;
    --rule-2:   #423b31;
    --red:      #e8695a;
    --red-soft: #e8695a;
    --dark:     #0d0b09;
    --dark-2:   #16130f;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--text); }

/* ---------- masthead ---------------------------------------------------- */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--rule);
}

.masthead-inner {
  max-width: var(--wide); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 22px; height: 62px;
}

.brand {
  font-family: var(--display);
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.brand .yrs {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; color: var(--ink-3); margin-left: 9px;
  font-variant-numeric: tabular-nums;
}

.navlinks {
  display: flex; gap: 3px; overflow-x: auto; flex: 1;
  scrollbar-width: none; -ms-overflow-style: none;
}
.navlinks::-webkit-scrollbar { display: none; }

.navlinks a {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .01em; text-decoration: none; color: var(--ink-2);
  padding: 7px 8px; border-radius: 6px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.navlinks a:hover { background: var(--paper-3); color: var(--ink); }
.navlinks a.obit-link { color: var(--red); font-weight: 600; }

/* the Fund lives on its own page -- mark it as a departure from the one-pager */
.navlinks a.page-link {
  color: var(--ink); font-weight: 600;
  border: 1px solid var(--rule-2); margin-left: 6px;
}
.navlinks a.page-link:hover { border-color: var(--red); color: var(--red); }

/* ---------- search ------------------------------------------------------ */

.search-box { position: relative; flex-shrink: 0; }

#search {
  font-family: var(--sans); font-size: 13px;
  padding: 8px 12px 8px 32px; width: 150px;
  border: 1px solid var(--rule-2); border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
  transition: width .22s ease, border-color .15s;
}
#search:focus { outline: none; border-color: var(--red); width: 230px; }
#search::placeholder { color: var(--ink-3); }

.search-box svg {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--ink-3); pointer-events: none;
}

#search-status {
  display: none; font-family: var(--sans); font-size: 13px;
  color: var(--ink-3); padding: 14px 0 0;
}
body.searching #search-status { display: block; }
body.searching .hide-on-search { display: none !important; }
.no-match { display: none !important; }

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

.hero { padding: 92px 0 68px; border-bottom: 1px solid var(--rule); }

.hero .kicker {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(58px, 12.5vw, 148px);
  letter-spacing: -0.04em; line-height: .92; margin-bottom: 22px;
}

.hero .dates {
  font-family: var(--display); font-size: clamp(22px, 3.4vw, 34px);
  color: var(--ink-3); font-variant-numeric: lining-nums;
  font-weight: 400; letter-spacing: -0.01em;
  padding-bottom: 26px; margin-bottom: 30px;
  border-bottom: 3px solid var(--ink);
  display: inline-block; min-width: min(420px, 100%);
}

.hero .tagline {
  font-family: var(--display); font-size: clamp(23px, 3vw, 31px);
  line-height: 1.32; max-width: 760px; margin-bottom: 30px; font-weight: 500;
}

.hero .summary {
  max-width: var(--text); font-size: 20px; color: var(--ink-2); line-height: 1.7;
}
.hero .summary em { font-style: italic; }

.factbar {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 46px;
  border-top: 1px solid var(--rule);
}
.fact {
  padding: 20px 30px 20px 0; margin-right: 30px;
  border-right: 1px solid var(--rule); flex: 0 1 auto;
}
.fact:last-child { border-right: 0; }
.fact dt {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 7px;
}
.fact dd { margin: 0; font-size: 17px; font-family: var(--display); font-weight: 500; }

/* ---------- generic section -------------------------------------------- */

section { padding: 74px 0; border-bottom: 1px solid var(--rule); }

.sec-head { margin-bottom: 40px; }

.sec-num {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; color: var(--red); text-transform: uppercase;
  display: block; margin-bottom: 14px;
}

.sec-head h2 { font-size: clamp(34px, 5.2vw, 54px); letter-spacing: -0.03em; }

.sec-head .standfirst {
  margin-top: 16px; max-width: var(--text); color: var(--ink-2);
  font-size: 18.5px; line-height: 1.65;
}

.footnote {
  font-family: var(--sans); font-size: 13.5px; line-height: 1.6;
  color: var(--ink-3); max-width: var(--text); margin-top: 34px;
  padding-left: 15px; border-left: 2px solid var(--rule-2);
}

/* ---------- OBITUARIES: the section set apart --------------------------- */

#obituaries {
  background: var(--dark); color: var(--dark-ink);
  border-bottom: 0; padding: 88px 0 84px;
}
#obituaries .sec-num { color: var(--red-soft); }
#obituaries .sec-head h2 { color: #fff; }
#obituaries .sec-head .standfirst { color: var(--dark-ink-2); }
#obituaries .footnote { color: var(--dark-ink-2); border-left-color: #3a332a; }

.obit-list { border-top: 1px solid #332c24; }

.obit {
  display: grid; grid-template-columns: 210px 1fr auto; gap: 26px;
  align-items: baseline; padding: 22px 0;
  border-bottom: 1px solid #332c24;
  text-decoration: none; color: inherit;
  transition: background .16s, padding .16s;
}
.obit:hover { background: var(--dark-2); padding-left: 14px; padding-right: 14px; }

.obit .outlet {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red-soft);
}
.obit .headline {
  font-family: var(--display); font-size: 22px; font-weight: 500;
  line-height: 1.25; color: #fff; letter-spacing: -0.015em;
}
.obit .byline {
  font-family: var(--sans); font-size: 12.5px; color: var(--dark-ink-2);
  margin-top: 7px; display: block;
}
.obit .obit-note {
  display: block;
  font-size: 15.5px; color: var(--dark-ink-2); margin-top: 9px;
  font-style: italic; line-height: 1.55;
}
.obit .date {
  font-family: var(--sans); font-size: 12.5px; color: var(--dark-ink-2);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.obit .date::after {
  content: "↗"; margin-left: 9px; opacity: .45; font-size: 13px;
}

/* ---------- tributes ---------------------------------------------------- */

#tributes { background: var(--paper-2); }

.pullquotes { display: grid; gap: 34px; }

.pullquote {
  border-left: 4px solid var(--red); padding: 4px 0 4px 30px;
  max-width: 900px;
}
.pullquote blockquote {
  margin: 0 0 18px; font-family: var(--display); font-weight: 400;
  font-size: clamp(21px, 2.7vw, 29px); line-height: 1.4;
  letter-spacing: -0.015em;
}
.pullquote .attrib {
  font-family: var(--sans); font-size: 13.5px; color: var(--ink-3);
}
.pullquote .attrib strong {
  color: var(--ink); font-weight: 600; font-size: 14.5px;
  display: block; margin-bottom: 3px;
}
.pullquote .attrib a { color: var(--red); text-decoration: none; }
.pullquote .attrib a:hover { text-decoration: underline; }

.more-tributes {
  margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--rule);
}
.more-tributes h3 {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 18px;
}
.link-rows { display: grid; gap: 2px; }
.link-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.link-row:hover .lr-title { color: var(--red); }
.lr-title { font-family: var(--display); font-size: 19px; font-weight: 500; }
.lr-meta {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-3);
  white-space: nowrap;
}

/* ---------- timeline ---------------------------------------------------- */

.timeline { border-top: 1px solid var(--rule); max-width: 980px; }
.tl-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 30px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.tl-year {
  font-family: var(--display); font-size: 21px; font-weight: 600;
  color: var(--red); font-variant-numeric: lining-nums;
  letter-spacing: -0.01em;
}
.tl-body { font-size: 18px; line-height: 1.62; color: var(--ink-2); }
.tl-body em { font-style: italic; color: var(--ink); }

/* ---------- books ------------------------------------------------------- */

#books { background: var(--paper-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chip {
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  padding: 7px 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rule-2); background: transparent; color: var(--ink-2);
  transition: all .15s;
}
.chip:hover { border-color: var(--ink-3); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.books-grid {
  display: grid; gap: 1px; background: var(--rule);
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  border: 1px solid var(--rule);
}

.book {
  background: var(--paper-2); padding: 24px 24px 26px;
  display: flex; flex-direction: column; gap: 9px;
  transition: background .16s;
}
.book:hover { background: var(--paper); }

.book .yr {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .12em; color: var(--red); font-variant-numeric: tabular-nums;
}
.book h3 {
  font-size: 21px; font-weight: 600; line-height: 1.22; letter-spacing: -0.015em;
}
.book .pub {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-3);
}
.book .role {
  font-family: var(--sans); font-size: 12px; color: var(--ink-2);
  font-style: normal; background: var(--paper-3); align-self: flex-start;
  padding: 3px 9px; border-radius: 4px;
}
.book .bnote {
  font-size: 16px; line-height: 1.55; color: var(--ink-2); margin-top: 2px;
}

/* ---------- publications & radio ---------------------------------------- */

.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.card {
  border: 1px solid var(--rule); background: var(--paper-2);
  padding: 26px 26px 28px; border-radius: 3px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .16s, transform .16s;
}
.card:hover { border-color: var(--rule-2); transform: translateY(-2px); }

.card .period {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--red);
}
.card h3 { font-size: 25px; letter-spacing: -0.02em; }
.card .role {
  font-family: var(--sans); font-size: 13px; color: var(--ink-3); font-weight: 500;
}
.card p { margin: 4px 0 0; font-size: 16.5px; line-height: 1.58; color: var(--ink-2); }
.card .out {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  color: var(--red); text-decoration: none; margin-top: auto; padding-top: 12px;
}
.card .out:hover { text-decoration: underline; }

/* ---------- awards ------------------------------------------------------ */

.awards { border-top: 1px solid var(--rule); max-width: 980px; }
.award {
  display: grid; grid-template-columns: 190px 1fr; gap: 30px;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
}
.award .ayr {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .09em; color: var(--red); text-transform: uppercase;
  padding-top: 5px;
}
.award h3 { font-size: 24px; margin-bottom: 8px; letter-spacing: -0.02em; }
.award p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.58; }
.award a { color: var(--red); }

/* ---------- cause callout ----------------------------------------------- */

.cause {
  background: var(--paper-3); border: 1px solid var(--rule-2);
  border-left: 5px solid var(--red);
  padding: 34px 36px; border-radius: 3px; max-width: 860px; margin-top: 10px;
}
.cause .label {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin-bottom: 13px;
}
.cause h3 { font-size: 29px; margin-bottom: 13px; letter-spacing: -0.02em; }
.cause p { margin: 0 0 20px; color: var(--ink-2); font-size: 17.5px; line-height: 1.62; }
.cause a.btn { margin: 0; }

/* ---------- personal note ----------------------------------------------- */

.note-block {
  max-width: var(--text); font-size: 20px; line-height: 1.72;
}
.note-block p { margin: 0 0 20px; }
.note-sig {
  font-family: var(--display); font-size: 19px; color: var(--ink-3);
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule);
}

/* ---------- submit form -------------------------------------------------- */

#submit { background: var(--paper-2); }

.form-grid {
  display: grid; gap: 18px; max-width: 640px;
  grid-template-columns: 1fr 1fr;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink-2);
}
.field .hint {
  font-family: var(--sans); font-size: 12px; color: var(--ink-3); font-weight: 400;
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; padding: 11px 13px;
  border: 1px solid var(--rule-2); border-radius: 4px;
  background: var(--paper); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 14%, transparent);
}
.field textarea { resize: vertical; min-height: 88px; line-height: 1.55; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  background: var(--ink); color: var(--paper); border: 0;
  padding: 13px 26px; border-radius: 4px; cursor: pointer;
  text-decoration: none; display: inline-block; transition: background .15s;
}
.btn:hover { background: var(--red); }

.thanks {
  background: color-mix(in srgb, var(--red) 8%, transparent);
  border: 1px solid var(--red); border-radius: 4px;
  padding: 18px 22px; max-width: 640px; margin-bottom: 28px;
  font-size: 17px;
}
.flash {
  background: var(--paper-3); border: 1px solid var(--rule-2);
  border-radius: 4px; padding: 14px 18px; max-width: 640px;
  margin-bottom: 22px; font-size: 16px;
}

.added-list { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--rule); }
.added-list h3 {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 18px;
}
.kind-tag {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red);
  border: 1px solid currentColor; border-radius: 3px; padding: 2px 7px;
  margin-right: 10px; white-space: nowrap;
}

/* ---------- footer ------------------------------------------------------- */

footer {
  background: var(--dark); color: var(--dark-ink-2);
  padding: 62px 0 54px; font-size: 15.5px; line-height: 1.65;
}
footer .wrap { display: grid; gap: 26px; max-width: var(--wide); }
footer strong { color: var(--dark-ink); font-weight: 600; }
footer a { color: var(--red-soft); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .fine {
  font-family: var(--sans); font-size: 13px; color: #6f665a;
  border-top: 1px solid #2c261f; padding-top: 24px; max-width: 820px;
}
footer .foot-name {
  font-family: var(--display); font-size: 27px; color: #fff;
  letter-spacing: -0.02em;
}

/* ---------- admin -------------------------------------------------------- */

.admin-wrap { max-width: 940px; margin: 60px auto; padding: 0 28px; }
.admin-wrap h1 { font-size: 38px; margin-bottom: 8px; }
.admin-sub { color: var(--ink-3); font-family: var(--sans); font-size: 14px; margin-bottom: 36px; }
.sub-card {
  border: 1px solid var(--rule); background: var(--paper-2);
  padding: 20px 22px; border-radius: 4px; margin-bottom: 14px;
}
.sub-card .surl { font-family: var(--sans); font-size: 13px; word-break: break-all; }
.sub-card .surl a { color: var(--red); }
.sub-card h3 { font-size: 20px; margin-bottom: 6px; }
.sub-card .smeta { font-family: var(--sans); font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.sub-actions { display: flex; gap: 9px; margin-top: 16px; }
.sub-actions button {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink);
}
.sub-actions button.ok { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sub-actions button.ok:hover { background: var(--red); border-color: var(--red); }
.status-pill {
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px;
  border-radius: 3px; background: var(--paper-3); color: var(--ink-3);
}
.login-card {
  max-width: 400px; margin: 120px auto; padding: 0 28px;
}
.login-card h1 { font-size: 30px; margin-bottom: 10px; }
.login-card p { color: var(--ink-3); font-size: 15px; margin-bottom: 26px; }
.err { color: var(--red); font-family: var(--sans); font-size: 14px; margin-top: 12px; }

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

@media (max-width: 900px) {
  .obit { grid-template-columns: 1fr; gap: 8px; }
  .obit .date { margin-top: 4px; }
  .tl-row, .award { grid-template-columns: 1fr; gap: 8px; }
  .search-box { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 18px; }
  .wrap { padding: 0 20px; }
  .masthead-inner { padding: 0 20px; gap: 14px; }
  .hero { padding: 60px 0 48px; }
  section { padding: 54px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .fact { padding-right: 20px; margin-right: 20px; }
  .link-row { flex-direction: column; gap: 5px; }
  .lr-meta { white-space: normal; }
  .cause { padding: 26px 24px; }
}

@media print {
  .masthead, #submit, footer .fine { display: none; }
  body { font-size: 11pt; background: #fff; color: #000; }
  section { page-break-inside: avoid; border-bottom: 1px solid #ccc; }
  #obituaries { background: #fff; color: #000; }
  #obituaries .sec-head h2, .obit .headline { color: #000; }
}

/* ==========================================================================
   Portrait in the hero
   ========================================================================== */

.hero-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 54px; align-items: start;
}

.portrait-figure { margin: 0; position: relative; }
.portrait-figure img {
  width: 100%; display: block; border-radius: 3px;
  filter: grayscale(1) contrast(1.06);
  border: 1px solid var(--rule);
}
.portrait-figure figcaption {
  font-family: var(--sans); font-size: 11.5px; line-height: 1.5;
  color: var(--ink-3); margin-top: 11px;
}
.portrait-figure figcaption a { color: var(--ink-3); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .portrait-figure { max-width: 240px; }
}

/* ==========================================================================
   Radio artwork -- an original graphic, not a borrowed one
   ========================================================================== */

.radio-art {
  width: 100%; max-width: 100%; height: auto; display: block;
  margin: 0 0 38px; border-radius: 3px; overflow: hidden;
  border: 1px solid var(--rule);
}

/* ==========================================================================
   The fund page
   ========================================================================== */

.fund-hero {
  background: var(--dark); color: var(--dark-ink);
  padding: 92px 0 78px;
}
.fund-hero .kicker {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red-soft);
  margin-bottom: 24px;
}
.fund-hero h1 {
  font-size: clamp(44px, 8vw, 96px); color: #fff;
  letter-spacing: -0.035em; line-height: .98; margin-bottom: 28px;
  max-width: 15ch;
}
.fund-lede {
  max-width: 700px; font-size: 20.5px; line-height: 1.66;
  color: var(--dark-ink-2); margin: 0;
}

.fund-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: #332c24; border: 1px solid #332c24;
  margin-top: 52px;
}
.fstat {
  background: var(--dark); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 9px;
}
.fstat .n {
  font-family: var(--display); font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600; color: var(--red-soft); letter-spacing: -0.025em;
  line-height: 1;
}
.fstat .l {
  font-family: var(--sans); font-size: 12.5px; line-height: 1.5;
  color: var(--dark-ink-2);
}

section.alt { background: var(--paper-2); }

.fund-cols {
  display: grid; grid-template-columns: 1fr 320px; gap: 62px; align-items: start;
}
.fund-para {
  font-size: 19.5px; line-height: 1.72; color: var(--ink-2);
  margin: 0 0 22px; max-width: var(--text);
}
.fund-para em { font-style: italic; color: var(--ink); }

.fund-aside {
  border: 1px solid var(--rule); background: var(--paper-2);
  padding: 30px 28px; border-radius: 3px; text-align: center;
  position: sticky; top: 92px;
}
.fund-aside .rose {
  width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 22px; display: block;
}
.fund-aside .kacf-logo {
  width: 100%; max-width: 210px; height: auto; display: block;
  margin: 0 auto 22px;
}
.aside-note {
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
  margin: 0 0 22px; text-align: left;
}
.aside-fine {
  font-family: var(--sans); font-size: 11px; color: var(--ink-3);
  margin: 16px 0 0; line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
  .fund-aside .kacf-logo { filter: invert(1) brightness(1.7); }
}

.fellow-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start;
}
.fellow-head {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.fellow-list { list-style: none; margin: 0; padding: 0; }
.fellow-list li {
  display: grid; grid-template-columns: 66px 1fr; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.fellow-list .fy {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.fellow-list .fn {
  font-family: var(--display); font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .fund-cols, .fellow-cols { grid-template-columns: 1fr; gap: 40px; }
  .fund-aside { position: static; }
}

/* the fund callout on the index page */
.fund-promo {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  background: var(--dark); color: var(--dark-ink);
  padding: 46px 48px; border-radius: 4px; margin-top: 10px;
  border-left: 5px solid var(--red);
}
.fund-promo .label {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red-soft);
  margin-bottom: 13px;
}
.fund-promo h3 {
  font-size: clamp(27px, 3.6vw, 38px); color: #fff;
  letter-spacing: -0.025em; margin-bottom: 14px;
}
.fund-promo p { margin: 0; color: var(--dark-ink-2); font-size: 17.5px; line-height: 1.62; max-width: 620px; }
.fund-promo .btn { background: var(--red); color: #fff; white-space: nowrap; }
.fund-promo .btn:hover { background: #fff; color: var(--dark); }

@media (max-width: 760px) {
  .fund-promo { grid-template-columns: 1fr; gap: 26px; padding: 32px 28px; }
}

/* ---------- elsewhere / reference --------------------------------------- */

.ref-grid {
  display: grid; gap: 1px; background: var(--rule);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  border: 1px solid var(--rule);
}
.ref {
  background: var(--paper); padding: 22px 24px 24px; text-decoration: none;
  display: flex; flex-direction: column; gap: 7px; transition: background .16s;
}
.ref:hover { background: var(--paper-2); }
.ref h3 { font-size: 20px; letter-spacing: -0.015em; }
.ref h3 span { color: var(--red); font-size: 14px; margin-left: 6px; }
.ref p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.ref .host {
  font-family: var(--sans); font-size: 11.5px; color: var(--ink-3); margin-top: 4px;
}

/* ---------- wide inline figure ------------------------------------------ */

.wide-figure { margin: 0 0 46px; }
.wide-figure img {
  width: 100%; display: block; border-radius: 3px;
  border: 1px solid var(--rule);
  max-height: 520px; object-fit: cover; object-position: center 22%;
}
@media (max-width: 620px) { .wide-figure img { max-height: 320px; } }
.wide-figure figcaption {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-3);
  margin-top: 11px;
}

/* ---------- the personal note ------------------------------------------- */

#note { background: var(--paper-3); }
.note-salutation {
  font-family: var(--display); font-size: 24px; font-weight: 600;
  margin: 0 0 20px;
}
.note-block p { margin: 0 0 20px; }
