:root {
  color-scheme: light;
  --ink: #18212b;
  --body: #3a4653;
  --brand: #781f2a;
  --rule: #d5dbe0;
  --surface: #f3f5f6;
  --panel: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, p { margin: 0; }

.wrap {
  width: min(100% - clamp(2rem, 7vw, 6rem), 75rem);
  margin-inline: auto;
}

a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
}

.header-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand slogan navigation";
  align-items: center;
  column-gap: clamp(1rem, 3vw, 2.65rem);
  min-height: 6rem;
  padding-block: 0.85rem;
}

.header-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  color: var(--ink);
  text-decoration: none;
}

.site-logo {
  display: block;
  width: clamp(3rem, 5.4vw, 4.1rem);
  height: auto;
}

.brand-name {
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-name span { color: var(--brand); }

.header-slogan {
  grid-area: slogan;
  min-width: 0;
  padding-inline-start: clamp(0.9rem, 2.25vw, 1.85rem);
  border-inline-start: 2px solid var(--brand);
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.35;
}

.header-slogan span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.header-slogan strong {
  display: block;
  margin-top: 0.18rem;
  font-size: clamp(1rem, 1.75vw, 1.4rem);
  line-height: 1.22;
  text-wrap: pretty;
}

.header-nav {
  display: flex;
  gap: 1rem;
  grid-area: navigation;
  justify-self: end;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration-color: var(--brand);
  text-underline-offset: 0.28em;
}

.header-nav a:hover { color: var(--brand); }

.contact-menu {
  position: relative;
}

.contact-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  list-style: none;
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 0.28em;
}

.contact-menu > summary::-webkit-details-marker { display: none; }

.contact-menu > summary::after {
  width: 0.42rem;
  height: 0.42rem;
  margin-top: -0.2rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  content: "";
}

.contact-menu[open] > summary::after {
  margin-top: 0.2rem;
  transform: rotate(225deg);
}

.contact-menu > summary:hover,
.contact-menu[open] > summary { color: var(--brand); }

.contact-menu > summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.contact-links {
  position: absolute;
  z-index: 2;
  inset-block-start: 100%;
  inset-inline-end: 0;
  width: max-content;
  min-width: 13rem;
  margin: 0;
  padding: 0.35rem;
  border: 1px solid var(--rule);
  border-radius: 0.65rem;
  background: var(--panel);
  box-shadow: 0 0.45rem 1.25rem rgb(24 33 43 / 14%);
  list-style: none;
}

.contact-links a {
  display: flex;
  padding: 0 0.65rem;
  border-radius: 0.35rem;
  text-decoration: none;
}

.contact-links a:hover,
.contact-links a[aria-current] { background: var(--surface); }

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(1.5rem, 3.8vw, 3.5rem);
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.hero h1 {
  max-width: 13ch;
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.75rem);
  font-weight: 775;
  letter-spacing: -0.047em;
  line-height: 1.05;
  text-wrap: balance;
}

.hero p {
  max-width: 45ch;
  margin-top: clamp(0.9rem, 2.5vw, 1.8rem);
  color: var(--body);
  font-size: clamp(1.125rem, 1.9vw, 1.48rem);
  line-height: 1.58;
}

.mission-emphasis {
  color: var(--brand);
  font-weight: 800;
}

.support {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.15rem, 2.45vw, 1.9rem);
  border: 1px solid var(--rule);
  border-radius: 0.85rem;
  background: var(--panel);
}

.support h2 {
  margin: 0;
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  font-weight: 775;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.support p {
  max-width: 45ch;
  margin-top: 0.7rem;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
}

.support-button,
.key-download {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.35rem;
  padding: 0.7rem 1.05rem;
  border-radius: 0.45rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.support-button:hover,
.key-download:hover {
  background: #5a1620;
  text-decoration: underline;
}

.support-qr {
  --qr-size: 10rem;
  display: grid;
  grid-template-columns: var(--qr-size);
  justify-self: start;
  justify-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 0.7rem;
  background: var(--surface);
  color: var(--body);
  font-size: 0.875rem;
  text-align: center;
}

.support-qr-code {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #fff;
}

/* Show the code and its white margin from the original GoFundMe poster. */
.support-qr-code img {
  position: absolute;
  inset-block-start: calc(-162 / 252 * 100%);
  inset-inline-start: calc(-184 / 252 * 100%);
  width: calc(620 / 252 * 100%);
  height: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(1.5rem, 3.8vw, 3.5rem);
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.contact-address {
  display: inline-block;
  margin-top: 1.35rem;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-panel {
  scroll-margin-block-start: 1rem;
  padding: clamp(1.15rem, 2.45vw, 1.9rem);
  border: 1px solid var(--rule);
  border-radius: 0.85rem;
  background: var(--panel);
  color: var(--body);
  line-height: 1.6;
}

.contact-panel h2,
.contact-panel h3 {
  color: var(--ink);
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  line-height: 1.2;
}

.contact-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}

.contact-panel h3 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.25rem;
}

.contact-panel a:not(.key-download) { color: var(--brand); }

.public-key {
  margin-top: 1.15rem;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: 0.65rem;
  background: var(--surface);
}

.key-download { margin-top: 0; }

.public-key dl { margin: 0.85rem 0 0; }

.public-key dt {
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.public-key dd { margin: 0; }

.public-key code {
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.pgp-steps {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
  padding-inline-start: 1.35rem;
}

.pgp-steps strong { color: var(--ink); }

.encryption-note {
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}

@media (min-width: 72rem) {
  .support {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .support-qr { --qr-size: 9rem; }
}

@media (max-width: 48rem) {
  .wrap { width: min(100% - 2rem, 35rem); }

  .header-layout {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "brand slogan" "navigation navigation";
    column-gap: 0.9rem;
    row-gap: 0.4rem;
    padding-block: 0.7rem 0.15rem;
  }

  .header-nav {
    justify-self: stretch;
    border-top: 1px solid var(--rule);
    gap: clamp(0.5rem, 2.7vw, 1rem);
    justify-content: flex-end;
  }

  .header-brand {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
  }

  .header-slogan { padding-inline-start: 0.82rem; }
  .home-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

:root {
  --paper: #fbfaf9;
  --surface: #f1f0ef;
  --body: #353e47;
  --ink: #1b2229;
  --brand: #781f2a;
  --brand-dark: #571621;
  --rule: #ded8d6;
  --shadow: 0 12px 28px rgb(35 25 23 / 8%);
  background: var(--paper);
}

[hidden] { display: none !important; }
.wrap { width: min(100% - clamp(2rem, 6vw, 5rem), 73.5rem); }
.review-strip { background: #27282d; color: #faf7f8; }
.review-strip .wrap { padding-block: .34rem; font-size: .875rem; font-weight: 650; letter-spacing: .014em; }
.site-header { border-bottom-color: var(--rule); }
.site-logo { width: clamp(2.85rem, 5vw, 4rem); }
.header-layout { min-height: 5.2rem; }
.header-layout.simple-header { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand navigation"; }
.header-nav { align-items: center; gap: clamp(.55rem, 1.5vw, 1.45rem); flex-wrap: wrap; }
.header-nav > a { white-space: nowrap; }
.header-nav > a[aria-current="page"] { color: var(--brand); text-decoration-thickness: .13em; }
.contact-menu > summary[aria-current="page"] { color: var(--brand); text-decoration-thickness: .13em; }
.contact-links { z-index: 5; }
.skip-link { position: absolute; z-index: 10; inset: .5rem auto auto .5rem; transform: translateY(-160%); background: white; color: var(--brand); padding: .7rem 1rem; }
.skip-link:focus { transform: none; }

.home-layout, .contact-layout { padding-block: clamp(2.5rem, 6vw, 5rem); }
.home-layout { column-gap: clamp(1.7rem, 5vw, 4.75rem); }
.home-layout .support { border-top: .25rem solid var(--brand); box-shadow: var(--shadow); }
.home-layout .hero h1 { max-width: 14ch; }
.home-layout .hero a { margin-top: 1.35rem; }
.home-layout .hero p { margin-top: clamp(.95rem, 2vmin, 1.6rem); }
.home-evidence { grid-column: 1 / -1; padding-top: clamp(1.7rem, 3.5vw, 2.75rem); border-top: 1px solid var(--rule); }
.home-evidence h2, .sections-title { margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2.35rem); letter-spacing: -.038em; line-height: 1.12; }

.review-page { min-height: 65vh; }
.page-heading { padding-block: clamp(2.3rem, 6vw, 4.2rem); background: #292b32; color: #fff; }
.page-heading .wrap { max-width: 73.5rem; }
.page-heading h1 { font-size: clamp(2.5rem, 6.7vw, 5rem); letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.page-heading p { line-height: 1.55; }
.page-heading .heading-note { margin-top: .95rem; max-width: 64ch; color: #ebe3e6; font-size: clamp(1.05rem, 1.85vw, 1.28rem); }
.page-heading .breadcrumb { display: inline-block; margin-bottom: .9rem; color: #ffd9df; font-size: .9375rem; }
.page-heading .photo-credit { color: #ebe3e6; }
.page-heading .photo-credit a { color: #ffd9df; }
.heading-profile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1.1rem, 4vw, 3rem); }
.hero-portrait { width: clamp(8.25rem, 16vw, 13rem); margin: 0; }
.hero-portrait img { display: block; width: 100%; height: auto; max-height: 15rem; object-fit: cover; object-position: center 31%; border-radius: .55rem; }
.photo-credit { margin-top: .4rem; font-size: .8125rem; line-height: 1.35; overflow-wrap: anywhere; }

.review-content { padding-block: clamp(1.85rem, 4.5vw, 3.65rem) clamp(2.75rem, 5vw, 5.1rem); font-size: 1rem; color: var(--body); line-height: 1.62; }
.review-content h2, .review-content h3 { color: var(--ink); line-height: 1.18; }
.review-content h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); letter-spacing: -.028em; margin: 2rem 0 .85rem; }
.review-content h3 { font-size: 1.16rem; margin: 0 0 .5rem; }
.review-content p { margin: 0 0 .8rem; }
.review-content p:last-child { margin-bottom: 0; }
.review-content a, .home-evidence a { color: var(--brand); text-decoration-color: #a35b66; text-underline-offset: .2em; }
.review-content a:hover, .home-evidence a:hover { color: var(--brand-dark); text-decoration-thickness: .13em; }
.review-content a:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: .22rem; }
.site-header a, .review-content a, .home-evidence a, .site-footer a { overflow-wrap: anywhere; }
.button-link, a.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; background: var(--brand); color: white; padding: .56rem 1rem; border-radius: .35rem; text-decoration: none; font-weight: 700; }
a.button-link:hover { background: var(--brand-dark); color: white; text-decoration: underline; }
.button-link + .text-link { margin-left: 1rem; }
.section-note, .review-content .notice { padding: .85rem 1rem; border-left: .2rem solid var(--brand); background: #f3e9e9; color: #382f34; border-radius: 0 .35rem .35rem 0; }
.section-note { max-width: 70ch; }
.review-content .limits { color: #54545a; font-size: .9375rem; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1rem 1.5rem; }
.review-card { min-width: 0; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--rule); border-radius: .7rem; padding: 1.15rem 1.25rem; }
.review-card:hover:has(a:hover) { border-color: #a86872; }
.review-card h2, .review-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; letter-spacing: -.012em; line-height: 1.25; }
.review-card p { color: var(--body); line-height: 1.55; margin-bottom: .45rem; }
.review-card a { font-weight: 700; }
.review-card .card-meta { margin-top: auto; padding-top: .48rem; color: #59565a; font-size: .875rem; }
.person-card { display: grid; grid-template-columns: 3.8rem minmax(0, 1fr); align-content: start; gap: .8rem; }
.person-card.no-portrait { grid-template-columns: minmax(0, 1fr); }
.person-card img { display: block; width: 100%; height: 4.8rem; object-fit: cover; object-position: center 30%; border-radius: .33rem; }
.person-card h2 { font-size: 1.12rem; }
.person-card p { font-size: .94rem; }

.filter-box { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1rem; padding: .95rem 1.05rem; border: 1px solid var(--rule); border-radius: .55rem; background: #fff; margin-bottom: 1rem; }
.filter-box label { display: grid; gap: .24rem; font-weight: 650; color: var(--ink); }
.filter-box .search-field { flex: 1 1 17rem; }
.filter-box input, .filter-box select { color: var(--ink); background: var(--paper); font: inherit; font-weight: 450; padding: .55rem .68rem; min-height: 2.75rem; border: 1px solid #a99a9e; border-radius: .3rem; width: 100%; }
.filter-box select { appearance: none; padding-right: 2.1rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23781f2a' stroke-width='1.5' d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-size: 1rem; background-repeat: no-repeat; background-position: right .65rem center; }
.filter-box p { font-size: .9rem; margin: 0 0 .65rem; color: #524c50; }

.evidence-stack { display: grid; gap: .6rem; margin-top: 1.05rem; }
.record, .source-entry { border: 1px solid var(--rule); border-radius: .6rem; background: #fff; margin-bottom: .75rem; }
.record { padding: 1.05rem 1.2rem; }
.source-entry { margin: 0; scroll-margin-top: .8rem; }
.source-entry summary { list-style: none; cursor: pointer; position: relative; padding: .85rem 2.8rem .85rem 1rem; border-radius: .55rem; }
.source-entry summary::-webkit-details-marker { display: none; }
.source-entry summary::after { content: ""; width: .47rem; height: .47rem; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); position: absolute; right: 1.15rem; top: 1.39rem; }
.source-entry[open] summary::after { transform: rotate(225deg); top: 1.57rem; }
.source-entry summary:hover { background: #f8f1f1; }
.source-entry:target { border-color: var(--brand); box-shadow: 0 0 0 2px rgb(120 31 42 / 13%); }
.source-entry .entry-title { display: block; font-weight: 720; color: var(--ink); font-size: 1.04rem; line-height: 1.3; }
.source-entry .record-body { border-top: 1px solid var(--rule); padding: .9rem 1rem 1rem; }
.record .label, .record-meta, .label { color: #655960; font-size: .875rem; font-weight: 600; }
.record .label { margin-bottom: .4rem; }
.record-meta { display: flex; flex-wrap: wrap; gap: .14rem .65rem; margin-top: .34rem; }
.record .links, .article-links { display: flex; flex-wrap: wrap; gap: .4rem 1.15rem; margin-top: .6rem; }
.record-people { font-size: .9375rem; }
.record-people a { display: inline-block; margin-right: .7rem; }
.table-scroll { overflow-x: auto; margin: 1.05rem 0 1.45rem; }
.review-content table { width: 100%; min-width: 32rem; border-collapse: collapse; background: white; font-size: .94rem; }
.review-content th, .review-content td { border: 1px solid var(--rule); padding: .65rem .8rem; text-align: left; vertical-align: top; }
.review-content th { color: var(--ink); background: #f3e9e9; }
.chapter-content > p { max-width: 78ch; }
.chapter-content .record h3 { margin-top: .16rem; }

.reading-width { max-width: 54rem; }
.about-intro { display: grid; justify-items: start; gap: .4rem; margin-bottom: 2rem; }
.intro-text { font-size: clamp(1.17rem, 2.4vw, 1.55rem); line-height: 1.52; }
.article-section { margin-top: 1.7rem; padding-top: .4rem; border-top: 1px solid var(--rule); }
.article-section p { max-width: 74ch; }
.article-section > p:not(.article-links) { font-size: 1.075rem; }
.about-pullquote { margin: 1.6rem 0; padding: .85rem 0 .85rem 1.1rem; border-left: .25rem solid var(--brand); color: var(--brand); font: 700 clamp(1.35rem, 3.3vw, 2.02rem)/1.36 Georgia, serif; }
.timeline { list-style: none; margin: .55rem 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 9.3rem minmax(0, 1fr); gap: .9rem; padding: 1.12rem 0; border-bottom: 1px solid var(--rule); }
.timeline .timeline-date { color: var(--brand); font-weight: 720; }
.timeline h2 { margin: 0 0 .35rem; }
.timeline p { margin-bottom: .4rem; }

.site-footer { border-top: 1px solid var(--rule); background: var(--surface); color: var(--body); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.25rem; padding-block: 1.25rem; }
.site-footer nav { display: flex; gap: .45rem 1.15rem; flex-wrap: wrap; }
.site-footer a { color: var(--brand); text-underline-offset: .17em; }

@media (max-width: 66rem) {
  .header-layout:not(.simple-header) { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand slogan" "navigation navigation"; row-gap: .25rem; }
  .header-layout:not(.simple-header) .header-nav { justify-self: stretch; border-top: 1px solid var(--rule); justify-content: flex-start; }
}

@media (max-width: 52rem) {
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .header-layout.simple-header { grid-template-columns: 1fr; grid-template-areas: "brand" "navigation"; row-gap: .25rem; }
  .simple-header .header-brand { flex-direction: row; justify-content: flex-start; }
  .header-nav, .header-layout:not(.simple-header) .header-nav { border-top: 1px solid var(--rule); justify-content: flex-start; justify-self: stretch; gap: 0 .85rem; }
  .header-nav > a, .contact-menu > summary { font-size: .91rem; }
  .header-nav .contact-menu { margin-left: auto; }
  .contact-links { min-width: 12.5rem; max-width: calc(100vw - 2rem); }
  .page-heading h1 { font-size: clamp(2.3rem, 9vw, 4rem); }
  .heading-profile { grid-template-columns: minmax(0, 1fr); }
  .hero-portrait { width: min(8.4rem, 100%); }
  .timeline li { grid-template-columns: 1fr; gap: .32rem; }
}

@media (max-width: 34rem) {
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .filter-box p { margin-bottom: 0; }
  .review-card, .record { padding: .9rem 1rem; }
  .button-link + .text-link { margin-left: .5rem; }
}
