/* Cool People Stories: cream paper, serif headlines, pixel list. */

:root,
[data-theme="light"] {
  --paper: #f6f1e8;
  --paper-2: #fffdf8;
  --mint: #c8ebd8;
  --mint-deep: #7fc9a4;
  --ink: #17140f;
  --ink-2: #4a443c;
  --ink-3: #7a7368;
  --line: #e4ddd1;
  --blue: #2b5cff;
  --magenta: #e11d8f;
  --select: #ece8e0;
  --rainbow: linear-gradient(90deg, #22d3ee, #a3e635, #f472b6, #a78bfa, #38bdf8);
  --measure: 62ch;
  --site: 980px;
  --pad: 1.1rem;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Sora", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --reading: "Source Serif 4", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #14110f;
  --paper-2: #1c1916;
  --mint: #244337;
  --mint-deep: #7fc9a4;
  --ink: #f6f1e8;
  --ink-2: #cbbfb0;
  --ink-3: #8f8578;
  --line: #2f2a25;
  --blue: #7ea0ff;
  --magenta: #ff4db8;
  --select: #24201c;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  background:
    radial-gradient(900px 420px at 100% -10%, color-mix(in srgb, var(--mint) 55%, transparent), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, color-mix(in srgb, var(--magenta) 10%, transparent), transparent 55%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .65rem 1rem;
  z-index: 30;
}
.skip:focus { left: .5rem; top: .5rem; }

.shell {
  width: min(100% - (var(--pad) * 2), var(--site));
  margin-inline: auto;
}

/* ---------- chrome ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
}

.site-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 3.6rem;
  padding-block: .75rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: .2rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-mark {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wordmark-thin {
  font-family: var(--serif);
  font-weight: 500;
}
.wordmark-bar {
  display: block;
  width: 100%;
  height: 8px;
  position: relative;
  background: #d6d0c4;
  border: 1px solid var(--ink);
  image-rendering: pixelated;
}
.wordmark-bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 72%;
  background: var(--mint-deep);
}
.wordmark-bar::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: #fbbf24;
  border: 1px solid var(--ink);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.site-nav a {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
}
.site-nav a:hover { color: var(--blue); }

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .7rem;
  border: 1px solid var(--ink);
  background: var(--mint);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
}
.nav-pill:hover { background: var(--mint-deep); color: #0b1b14; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.theme-toggle svg { display: block; }
/* Show the mode being switched to: moon while light, sun while dark. */
[data-theme="light"] .theme-toggle-sun { display: none; }
[data-theme="dark"] .theme-toggle-moon { display: none; }
@media (prefers-reduced-motion: reduce) {
  .theme-toggle { transition: none; }
  .theme-toggle:active { transform: none; }
}

.site-foot {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--ink-3);
  font-size: .92rem;
}
.foot-mark {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 .35rem;
}
.site-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
}
.site-foot-links a {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.site-foot-links a:hover { text-decoration: underline; }
.foot-ai {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--ink-3);
  margin: 1.1rem 0 0;
}
.foot-ai a { color: var(--blue); text-decoration: none; font-weight: 600; }
.foot-ai a:hover { text-decoration: underline; }

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

.hero-stage {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--mint) 70%, transparent), transparent 40%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  animation: rise .65s cubic-bezier(.2,.7,.2,1) both;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 .85rem;
}

.hero-brand {
  font-size: clamp(2.5rem, 10vw, 4.4rem);
  max-width: 10ch;
  margin: 0 0 .85rem;
}
.hero-brand .chroma {
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-line {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3.5vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .7rem;
  max-width: 22ch;
}
.hero-line em {
  font-style: normal;
  color: var(--magenta);
}

.hero-support {
  color: var(--ink-2);
  margin: 0 0 1.25rem;
  max-width: 40ch;
  font-size: .98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1rem;
  background: var(--paper-2);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 650;
  font-size: .92rem;
}
.hero-cta:hover { background: color-mix(in srgb, var(--blue) 8%, var(--paper-2)); }

.hero-stickers {
  position: absolute;
  right: max(1rem, calc((100% - var(--site)) / 2));
  bottom: .4rem;
  display: flex;
  align-items: flex-end;
  gap: .4rem;
  pointer-events: none;
  z-index: 0;
}
.hero-stickers img {
  width: clamp(64px, 14vw, 110px);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 0 color-mix(in srgb, var(--ink) 8%, transparent));
  animation: bob 3.6s ease-in-out infinite;
}
.hero-stickers img:nth-child(2) { animation-delay: .5s; width: clamp(48px, 10vw, 84px); }
.hero-stickers img:nth-child(3) { animation-delay: 1s; width: clamp(40px, 8vw, 68px); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- directory list ---------- */

.home-panel {
  padding: 1.5rem 0 2.5rem;
}

.browse-stage {
  background:
    radial-gradient(circle, color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 1.5px) 0 0 / 18px 18px,
    color-mix(in srgb, var(--mint) 42%, var(--paper));
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1rem .85rem 1.15rem;
}

.browse-head {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: .85rem;
}
.browse-head h2 {
  font-size: 1.45rem;
}
.browse-hint {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: .85rem;
  padding: .7rem .9rem;
  font: inherit;
  font-size: .95rem;
}
.search input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0 0 .85rem;
}
.filter {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .55rem;
  border-radius: 999px;
  cursor: pointer;
}
.filter:hover { color: var(--ink); }
.filter.is-active {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink);
}

/* The hidden attribute must beat component display rules, or filtering silently
   does nothing. This is what broke search. */
[hidden] { display: none !important; }

.person-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
@media (min-width: 620px) {
  .person-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
}
@media (min-width: 900px) {
  .person-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 1.15rem .7rem 1rem;
  text-decoration: none;
  color: inherit;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.person-card:hover,
.person-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--ink) 9%, transparent);
  outline: none;
}
.person-card .pixel-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}
.person-card-text { min-width: 0; width: 100%; }
.person-card-text h3 {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin: 0 0 .2rem;
  line-height: 1.2;
}
.person-card-text p {
  margin: 0;
  color: var(--ink-3);
  font-size: .78rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.person-card-cat {
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: .5rem;
}

.pick-tag[hidden] { display: none; }

.pick-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .5rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--magenta);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .08rem .35rem;
  margin-top: .25rem;
  white-space: nowrap;
}
.person-card.is-featured {
  border-color: var(--magenta);
  background: color-mix(in srgb, var(--magenta) 5%, var(--paper-2));
}

.pixel-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  image-rendering: pixelated;
  border-radius: .35rem;
}

.empty { color: var(--ink-3); padding: 1rem .25rem; }

/* ---------- person page ---------- */

.person-hero {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  animation: rise .6s cubic-bezier(.2,.7,.2,1) both;
}
.person-hero-top {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}
.person-hero .pixel-avatar {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  border: 2px solid var(--ink);
  background: var(--paper-2);
}
.eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0;
  font-weight: 600;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.person-hero-text h1.headline {
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  max-width: 18ch;
  margin: 0 0 .7rem;
}
.person-name {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 .2rem;
}
.person-title {
  font-size: .95rem;
  color: var(--ink-3);
  margin: 0 0 1.1rem;
  font-weight: 600;
}
.byline {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 .35rem;
  font-weight: 600;
}

.person-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.75rem 0 1rem;
}

.story {
  max-width: var(--measure);
  font-family: var(--reading);
  font-size: 1.125rem;
}
.story h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 .7rem;
}
.story h2:first-child { margin-top: 0; }
.story p {
  margin: 0 0 1.35rem;
  color: color-mix(in srgb, var(--ink) 90%, var(--paper));
  line-height: 1.6;
}
.story p a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.pull {
  margin: 1.75rem 0;
  padding: 1rem 1rem 1rem 1.1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  border-image: none;
  position: relative;
}
.pull::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 42%;
  height: 3px;
  background: var(--rainbow);
  border-radius: 1rem 0 0 0;
}
.pull p {
  font-family: var(--reading);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 .45rem;
}
.pull cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
}

.rundown { margin-top: 2.2rem; }
.rundown h2 { font-size: 1.35rem; }
.rundown-sub {
  color: var(--ink-3);
  font-size: .88rem;
  margin: .2rem 0 1rem;
  font-weight: 500;
}
.rundown-list { list-style: none; padding: 0; margin: 0; }
.rundown-item {
  border-top: 1px solid var(--line);
  padding: .95rem 0;
}
.rundown-item:last-child { border-bottom: 1px solid var(--line); }
.rundown-item h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  margin: 0;
  color: var(--blue);
}
.rundown-item p {
  margin: .28rem 0 0;
  color: var(--ink-2);
  font-size: .94rem;
}

.claim-line { margin: .5rem 0 0; }
.claim-link {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  font-weight: 600;
}
.claim-link:hover { color: var(--blue); text-decoration: underline; }

.claim-button {
  padding: .7rem 1.2rem;
  border: none;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
}
.claim-button:hover { opacity: .88; }
.claim-button:disabled { opacity: .5; cursor: default; }
.claim-error { color: #c0392b; font-size: .9rem; }

.bru-claim {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 0 0 1rem;
  background: var(--paper-2);
}
.bru-head { margin: 0 0 .3rem; }
.bru-meta { margin: .2rem 0; font-size: .84rem; color: var(--ink-3); }
.bru-reason { margin: .4rem 0; font-size: .92rem; color: var(--ink-2); }
.bru-status {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .15rem .45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.bru-pending { color: #b7791f; border-color: #b7791f; }
.bru-approved { color: #2f855a; border-color: #2f855a; }
.bru-rejected { color: #c0392b; border-color: #c0392b; }
.bru-claim .claim-button { font-size: .85rem; padding: .45rem .8rem; margin-right: .3rem; }
.bru-approve { background: #2f855a; }
.bru-reject { background: #c0392b; }
.bru-hold { background: var(--ink-3); }

.signup {
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  background: var(--paper-2);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  margin: 2.5rem 0;
}
.signup-eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 .4rem;
  font-weight: 600;
}
.signup-title {
  font-size: 1.45rem;
  margin: 0 0 .3rem;
}
.signup-sub {
  color: var(--ink-2);
  margin: 0 0 1rem;
  font-size: .95rem;
}
.signup-form {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.signup-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .95rem;
}
.signup-form input[type="email"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.signup-form button {
  padding: .7rem 1.2rem;
  border: none;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
}
.signup-form button:hover { opacity: .88; }
.signup-note {
  font-size: .78rem;
  color: var(--ink-3);
  margin: .6rem 0 0;
}
.signup-msg {
  margin: .7rem 0 0;
  font-size: .92rem;
  font-weight: 600;
}
.signup-msg.is-ok { color: #2f855a; }
.signup-msg.is-error { color: #c0392b; }

.signup-compact { margin: 2.2rem 0 0; padding: 1.3rem 1.25rem; }
.signup-compact .signup-title { font-size: 1.2rem; }

.faq { margin-top: 2.2rem; }
.faq h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.faq-list { margin: 0; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item dt {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.faq-item dd {
  margin: .4rem 0 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .faq-item dt { font-size: .98rem; }
  .faq-item dd { font-size: .96rem; }
}

.facts {
  border-top: 3px solid var(--ink);
  padding-top: .9rem;
  background: var(--paper-2);
  border-radius: 0 0 1rem 1rem;
  padding: .9rem .95rem 1rem;
  border: 1px solid var(--line);
  border-top-width: 3px;
}
.facts h2 {
  font-family: var(--mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: .8rem;
}
.facts dl { margin: 0; }
.facts dl > div {
  padding: .55rem 0;
  border-top: 1px solid var(--line);
}
.facts dl > div:first-child { border-top: 0; padding-top: 0; }
.facts dt {
  font-family: var(--mono);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
  font-weight: 700;
}
.facts dd {
  margin: .18rem 0 0;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.45;
}
.cite {
  font-size: .62em;
  line-height: 0;
  margin-left: .15em;
  white-space: nowrap;
}
.cite a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  padding: 0 .12em;
}
.cite a:hover { text-decoration: underline; }
/* Two markers on one fact should not run together as a single number. */
.cite a + a { margin-left: .2em; }

.facts-links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.facts-links a {
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--blue);
}
.facts-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: 1.35rem;
  margin-bottom: .85rem;
}

/* ---------- about ---------- */

.page { max-width: var(--measure); padding: 2rem 0 1rem; }
.page .lede {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink);
  margin: .6rem 0 1.25rem;
}
.page h2 { font-size: 1.35rem; margin: 1.75rem 0 .65rem; }
.page p {
  font-family: var(--reading);
  font-size: 1.075rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 90%, var(--paper));
  margin: 0 0 1.15rem;
}
.page a { color: var(--blue); }

/* ---------- breakpoints ---------- */

@media (min-width: 720px) {
  :root { --pad: 1.5rem; }

  .browse-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .search { width: min(280px, 40%); }

  .person-body {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 2.5rem;
    align-items: start;
  }
  .facts { position: sticky; top: 5rem; }

  .hero-brand { max-width: 12ch; }
}

@media (min-width: 960px) {
  :root { --pad: 2rem; }
  .site-head { position: static; backdrop-filter: none; background: var(--paper); }
  .browse-stage { padding: 1.25rem 1.15rem 1.4rem; }
  .pixel-avatar { width: 52px; height: 52px; flex-basis: 52px; }
}

@media (max-width: 640px) {
  .site-nav a[href="/"] { display: none; }
  .hero-stickers { opacity: .9; right: .4rem; }
  .story { font-size: 1.0625rem; }
  .story p { line-height: 1.58; margin-bottom: 1.15rem; }
    .person-row-text p { font-size: .9rem; }
}

/* /bru newsletter panel */
#bru-news, #bru-news-actions { margin-bottom: 1.4rem; }
#bru-news-actions .claim-button { font-size: .85rem; padding: .45rem .8rem; margin: 0 .3rem .4rem 0; }
#bru-news-actions [data-news="send"] { background: #c0392b; }
#bru-news-actions [data-news="preview"] { background: var(--ink-3); }
.bru-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .9rem 1.1rem;
  margin: .6rem 0;
  font-size: .92rem;
}
.bru-preview h2 { font-size: 1.05rem; margin: 1rem 0 .2rem; }
.bru-preview blockquote {
  margin: .3rem 0; padding-left: .8rem;
  border-left: 2px solid var(--line); color: var(--ink-2);
}
.bru-source {
  width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem; padding: .6rem; border: 1px solid var(--line);
  border-radius: 8px; background: var(--paper-2); color: var(--ink-2);
}

/* ---------- collection pages ---------- */

.collection-links {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--ink-3);
  margin: 0 0 .9rem;
}
.collection-links a { color: var(--blue); text-decoration: none; font-weight: 600; }
.collection-links a:hover { text-decoration: underline; }

.collection-count {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1rem;
}

/* The prose above stays at a reading measure; the list of people does not
   need to, and two columns beat one very long scroll on a wide screen. */
.collection-list {
  list-style: none;
  margin: 0 0 2.4rem;
  padding: 0;
  display: grid;
  gap: .5rem;
  width: min(var(--site), calc(100vw - var(--pad) * 2));
}
@media (min-width: 900px) {
  .collection-list { grid-template-columns: 1fr 1fr; }
}

/* Grid stretches the item; the link has to fill it or cards in the same row
   end up ragged whenever one person has a location line and the other does not. */
.collection-item { display: flex; }

.collection-link {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: .9rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.collection-link:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.collection-link .pixel-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  image-rendering: pixelated;
}

.collection-text { display: block; min-width: 0; }
.collection-name {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.collection-role {
  display: block;
  font-size: .86rem;
  color: var(--ink-2);
  margin-top: .12rem;
}
.collection-hook {
  display: block;
  font-family: var(--reading);
  font-size: .95rem;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: .4rem;
}
.collection-meta {
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: .4rem;
}

.collection-more { margin-top: 2rem; }
.collection-more a { color: var(--blue); text-decoration: none; font-weight: 600; }
.collection-more a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .collection-link { transition: none; }
  .collection-link:hover { transform: none; }
}
