/* /credits/: the people whose footage this site runs on.
   Built entirely on the --wt-* tokens, which are already redefined under
   [data-mode="batman"], so light and dark both come out right with no
   second palette to keep in sync and no contrast to re-verify. */

.kcc-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 96px;
  font-family: var(--wt-font-body);
  color: var(--wt-ink);
}

/* ---- hero ---- */
.kcc-hero { max-width: 660px; margin: 0 0 44px; }

.kcc-eyebrow {
  font: 600 12.5px/1.4 var(--wt-font-ui);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--wt-eyebrow);
  margin: 0 0 12px;
}

.kcc-h1 {
  font-family: var(--wt-font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--wt-ink);
  margin: 0 0 16px;
  text-wrap: balance;
}

.kcc-lede {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--wt-ink-soft);
  margin: 0;
}

/* ---- sections ---- */
.kcc-sec {
  border-top: 1px solid var(--wt-rule);
  padding-top: 28px;
  margin-top: 40px;
}

.kcc-thanks {
  max-width: 660px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--wt-ink-soft);
}
.kcc-thanks p { margin: 0 0 14px; }

.kcc-note {
  font-size: 15px;
  color: var(--wt-ink-quiet);
}

.kcc-h2 {
  font-family: var(--wt-font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.008em;
  color: var(--wt-ink);
  margin: 0 0 8px;
}

.kcc-src {
  font-size: 15px;
  line-height: 1.6;
  color: var(--wt-ink-quiet);
  margin: 0 0 24px;
}

/* ---- contributor list ----
   Hundreds of names, so the job is scanning, not reading. A fluid grid keeps
   the columns wide enough for long names without ever overflowing on a phone. */
.kcc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px 24px;
}

.kcc-list li { margin: 0; min-width: 0; }

.kcc-p {
  display: block;
  padding: 6px 2px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--wt-link);
  text-decoration: none;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

.kcc-p:hover { color: var(--wt-link-hover); text-decoration: underline; }

/* Dark mode dims the hover token toward the background, so hold the mint. */
[data-mode="batman"] .kcc-p:hover { color: var(--wt-link); }

.kcc-p:focus-visible {
  outline: 2px solid var(--wt-link);
  outline-offset: 2px;
  text-decoration: underline;
}

.kcc-src a { color: var(--wt-link); }
.kcc-src a:hover { color: var(--wt-link-hover); }
[data-mode="batman"] .kcc-src a:hover { color: var(--wt-link); }

@media (max-width: 600px) {
  .kcc-page { padding: 32px 16px 72px; }
  .kcc-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
