: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(4rem, 17vw, 12rem); color: var(--black); letter-spacing: -0.01em; }
.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;
}
.gfx { font-weight: 600; }
.gfx:hover { color: var(--hot); }
.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; } }
