:root {
  --red: #d0141b;
  --hot: #ff3d3d;
  --black: #0d0d0f;
  --panel: #19191c;
  --rule: #34343a;
  --white: #ffffff;
  --text: #ededee;
  --dim: #b4b4ba;
  --display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --body: "Lexend", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--body);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }

/* Poster type: heavy, condensed, upper case. */
h1, h2, .brand, .fig-name {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 72%;
  text-transform: uppercase;
  line-height: 0.92;
}

.red { background: var(--red) var(--grain); color: var(--white); }

.top { background: var(--black); padding: 0.9rem 0; }
.brand { font-size: 1.5rem; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--hot); }
.foot { margin-top: 5rem; padding: 1.5rem 0 3rem; border-top: 1px solid var(--rule); color: var(--dim); font-size: 0.9375rem; }

.btn {
  display: inline-block;
  font: 600 1rem/1 var(--body);
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 0.25rem;
  padding: 0.8rem 1.1rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--hot); color: var(--black); }
.btn-red { background: var(--red); color: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--white); color: var(--black); }
.btn[hidden] { display: none; }

/* ---- home ---- */
.hero { padding: 3.5rem 0 3rem; }
.hero h1 { font-size: clamp(3.5rem, 13vw, 9rem); color: var(--black); letter-spacing: -0.01em; }
.hero-home { padding-bottom: 0; }
.hero-faces { display: block; width: 100%; height: auto; margin-top: 2rem; }
@media (min-width: 56rem) {
  .hero-home { padding-bottom: 3rem; }
  .hero-home .wrap { position: relative; }
  .hero-home h1, .hero-home .lede { position: relative; z-index: 1; }
  .hero-home .lede { max-width: 30rem; }
  .hero-faces { position: absolute; right: 0; bottom: -3rem; width: min(44rem, 100% - 31rem); margin: 0; pointer-events: none; }
}
.lede { margin-top: 1.25rem; max-width: 36rem; font-size: 1.375rem; line-height: 1.4; }

.finder { padding-top: 2.5rem; }
.search span { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.search input {
  width: 100%;
  font: inherit;
  font-size: 1.125rem;
  color: var(--black);
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 0;
  border-radius: 0.25rem;
}
.search input:focus-visible { outline-color: var(--hot); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.chip {
  font: 500 0.9375rem/1 var(--body);
  color: var(--text);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 0.25rem;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
}
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: var(--black); font-weight: 600; }
.count { margin: 2rem 0 1rem; color: var(--dim); }

.figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: 1.25rem; }
.figs > li[hidden] { display: none; }
.fig {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-top: 0.4rem solid var(--red);
}
.fig-main { display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.25rem 0; text-decoration: none; }
.fig-photo {
  flex: none;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: var(--red) var(--grain);
  filter: grayscale(1) contrast(1.15);
}
.no-photo {
  display: grid;
  place-items: center;
  filter: none;
  color: var(--black);
  font: 900 3.25rem/1 var(--display);
}
.fig-name { display: block; font-size: 2.125rem; color: var(--white); }
.fig-main:hover .fig-name { color: var(--hot); }
.fig-role { display: block; margin-top: 0.4rem; color: var(--dim); font-size: 0.9375rem; line-height: 1.35; }
.fig-tag { padding: 1rem 1.25rem 0; font-size: 1rem; }
.fig-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
}
.none { color: var(--dim); padding: 1rem 0; }

/* ---- profile: the page is the poster ---- */
.who { overflow: hidden; }
.who-in { display: grid; grid-template-columns: 1fr minmax(0, 24rem); gap: 2rem; align-items: end; }
.who-text { padding: 3rem 0; }
.who h1 { font-size: clamp(3.5rem, 11vw, 8.5rem); overflow-wrap: anywhere; }
.who-is { display: block; color: var(--black); font-size: 0.55em; margin-bottom: 0.2em; }
.who-tag { margin-top: 1.5rem; max-width: 30rem; font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.3; }
.who-role { margin-top: 0.75rem; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.who-photo {
  width: 100%;
  max-height: 30rem;
  object-fit: contain;
  object-position: bottom;
  filter: grayscale(1) contrast(1.15);
  align-self: end;
}
.who-photo.no-photo {
  height: 100%;
  min-height: 14rem;
  align-items: end;
  justify-items: center;
  font-size: clamp(12rem, 30vw, 24rem);
  line-height: 0.8;
}

.dossier { padding-top: 3rem; }
.summary { max-width: 44rem; margin-bottom: 3rem; font-size: 1.1875rem; }
.summary p + p { margin-top: 0.75rem; }
.secs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 3rem 3.5rem; }
.sec h2 {
  font-size: 2.75rem;
  color: var(--hot);
  padding-bottom: 0.75rem;
  border-bottom: 0.3rem solid var(--hot);
  margin-bottom: 1.5rem;
}
.item { padding-left: 1rem; border-left: 0.25rem solid var(--hot); }
.item + .item { margin-top: 1.5rem; }
.item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.item h3 { font: 600 1.25rem/1.3 var(--body); color: var(--white); }
.when { flex: none; color: var(--hot); font-weight: 600; font-size: 0.9375rem; }
.item p { color: var(--dim); margin-top: 0.3rem; }
.item .item-src { font-size: 0.875rem; }
.sources { margin-top: 2.5rem; color: var(--dim); font-size: 0.9375rem; max-width: 60rem; }
.sources + .sources { margin-top: 0.5rem; }
.item-src a:hover, .sources a:hover { color: var(--white); }

.cards { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.cards h2 { font-size: 2.75rem; color: var(--white); margin-bottom: 1.5rem; }
.card-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 30rem)); gap: 2rem 1.5rem; }
.card { margin: 0; }
.card img { width: 100%; }
.card figcaption { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }

@media (max-width: 44rem) {
  .who-in { grid-template-columns: 1fr; gap: 0; }
  .who-text { padding: 2rem 0 1.5rem; }
  .who-photo { max-height: 18rem; width: auto; margin-left: auto; }
  .who-photo.no-photo { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- site nav ---- */
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.4rem; }
.nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 500; padding: 0.3rem 0; border-bottom: 0.15rem solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--red); }
.nav .btn { padding: 0.6rem 1rem; }

.hero-sm h1 { font-size: clamp(3.25rem, 12vw, 8rem); }
.btn-big { font-size: 1.25rem; padding: 1.1rem 1.6rem; }
.hero .actions { margin-top: 2rem; }

/* ---- connections ---- */
.linked { margin-top: 3.5rem; }
.linked h2 { font-size: 2.75rem; color: var(--hot); padding-bottom: 0.75rem; border-bottom: 0.3rem solid var(--hot); margin-bottom: 1.5rem; }
.linked ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 0.75rem; }
.linked a { display: flex; align-items: center; gap: 0.9rem; padding: 0.75rem; background: var(--panel); text-decoration: none; }
.linked a:hover b { color: var(--hot); }
.linked b { display: block; color: var(--white); font-weight: 600; }
.linked small { display: block; color: var(--dim); font-size: 0.875rem; line-height: 1.3; }
.linked-photo { flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; object-position: top; background: var(--red) var(--grain); filter: grayscale(1) contrast(1.15); }
.linked-photo.no-photo { font-size: 2rem; }

/* Organization logos keep their own colors and shape. */
.fig-photo.kind-what, .linked-photo.kind-what { filter: none; background: var(--white); object-fit: contain; object-position: center; padding: 0.4rem; }
.who-photo.kind-what { filter: none; max-height: 16rem; margin: 2rem 0; background: var(--white); padding: 1.5rem; align-self: center; }

/* ---- donate, get involved ---- */
.plain { padding-top: 3rem; max-width: 46rem; margin-left: max(1rem, calc((100% - 70rem) / 2)); }
.ways li { padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.ways li:first-child { border-top: 0; padding-top: 0; }
.ways h2 { font-size: 2.25rem; color: var(--white); margin-bottom: 0.6rem; }
.ways p { color: var(--dim); }
.ways p + p { margin-top: 1rem; }

/* ---- long-form, sources, draft notice ---- */
.more, .srcs { margin-top: 3.5rem; }
.more h2, .srcs h2 { font-size: 2.75rem; color: var(--hot); padding-bottom: 0.75rem; border-bottom: 0.3rem solid var(--hot); margin-bottom: 1.5rem; }
.prose { max-width: 44rem; font-size: 1.125rem; line-height: 1.7; }
.prose p + p, .prose h3 + p { margin-top: 1rem; }
.prose h3 { font: 600 1.375rem/1.3 var(--body); color: var(--white); margin-top: 2.25rem; }
.prose h3:first-child { margin-top: 0; }
.prose a:hover, .srcs a:hover { color: var(--hot); }
.srcs ol { margin: 0; padding-left: 1.5rem; max-width: 50rem; color: var(--dim); }
.srcs li { padding: 0.35rem 0 0.35rem 0.25rem; }
.srcs li a { color: var(--white); }
.srcs li span { display: block; font-size: 0.9375rem; }
.linked li { background: var(--panel); }
.linked li p { padding: 0 0.9rem 0.9rem; color: var(--dim); font-size: 0.9375rem; }
.draft { background: #ffd83d; color: #111; font-weight: 600; text-align: center; padding: 0.6rem 1rem; }
