/* Credits: the /credits/ page generated by Scripts/build-credits-page.py. */

.cr { padding: 0 0 24px; }
.cr-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ head */
.cr-head { margin: 8px 16px 0; padding: clamp(48px, 6vw, 88px) 32px clamp(150px, 15vw, 190px); border-radius: 52px; box-shadow: var(--lift); }
.cr-head-inner { width: min(980px, 100%); margin: 0 auto; }
.cr-head h1 { font-size: clamp(52px, 7.2vw, 108px); line-height: .9; letter-spacing: -.015em; }

/* ------------------------------------------------------------ sections */
.cr-body { position: relative; width: min(980px, calc(100% - 64px)); margin: calc(-1 * clamp(110px, 11vw, 140px)) auto 0; display: flex; flex-direction: column; gap: 22px; }

.cr-developer { position: relative; display: flex; align-items: center; gap: clamp(20px, 3vw, 34px); padding: clamp(28px, 4vw, 48px); border-radius: 34px; background: var(--paper); box-shadow: 0 30px 80px rgba(23, 34, 56, .2); }
/* The developer's card hangs the Crest's butter banner from its top edge. */
.cr-developer::after { content: ""; position: absolute; top: -2px; right: clamp(28px, 4vw, 48px); width: 34px; height: 46px; background: var(--butter); clip-path: path("M0 0H34V40Q34 46 28.9 43.3L19.9 38.5Q17 37 14.1 38.5L5.1 43.3Q0 46 0 40Z"); }
.cr-avatar { width: 112px; height: 112px; flex: none; border-radius: 34px; background: var(--field); object-fit: cover; }
.cr-avatar-empty { display: grid; place-items: center; color: var(--text-3); font-family: var(--display); font-variation-settings: var(--display-roundness); font-weight: 900; }
.cr-developer .cr-avatar-empty { font-size: 44px; }
.cr-developer-text { display: grid; gap: 4px; padding-right: 40px; }
.cr-developer h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1; letter-spacing: -.01em; }
.cr-developer p { color: var(--text-2); font-size: 19px; font-weight: 600; }
.cr-developer .cr-links { margin-top: 10px; }

.cr-section { padding: clamp(24px, 3.4vw, 40px); border-radius: 34px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); }
.cr-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.cr-section-head h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.005em; }
.cr-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; color: var(--ink); background: var(--cr-color); }
.cr-icon svg { width: 22px; height: 22px; }
.cr-more { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 8px 12px 8px 14px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: background-color .15s; }
.cr-more:hover { background: var(--field); }
.cr-more:active { background: var(--hairline); }
.cr-more-icon svg { width: 16px; height: 16px; }

/* People, each with a link to each place they can be found. */
.cr-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.cr-person { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 10px 10px 10px 18px; border-radius: 18px; background: var(--field); }
.cr-person strong { font-size: 17px; overflow-wrap: anywhere; }
.cr-links { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.cr-link { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--text-2); background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); transition: transform .15s, box-shadow .15s; }
.cr-link:hover { color: var(--ink); transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--hairline), 0 8px 18px rgba(23, 34, 56, .12); }
.cr-link:active { transform: translateY(0); box-shadow: inset 0 0 0 1px var(--hairline); }
.cr-link img, .cr-link svg { width: 20px; height: 20px; }
.cr-developer .cr-link { background: var(--field); box-shadow: none; }

.cr-contributors { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.cr-contributor { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px 14px; border-radius: 20px; color: var(--ink); background: var(--field); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.cr-contributor:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 34, 56, .12); }
.cr-contributor:active { transform: translateY(0); box-shadow: none; }
.cr-contributor img, .cr-contributor .cr-avatar-empty { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); }
.cr-contributor span { max-width: 100%; overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------ supporters */
.cr-supporters { margin: 40px 16px 0; padding: clamp(48px, 6vw, 80px) 32px clamp(48px, 6vw, 72px); border-radius: 52px; box-shadow: var(--lift); }
.cr-supporters-inner { width: min(980px, 100%); margin: 0 auto; }
.cr-supporters .cr-section-head h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.015em; }
.cr-supporters .cr-icon { width: 48px; height: 48px; border-radius: 15px; }
.cr-supporters .cr-icon svg { width: 26px; height: 26px; }

.cr-tier { margin-top: 30px; }
.cr-tier-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cr-banner { width: 30px; height: 34px; flex: none; }
.cr-tier-head h3 { font-size: 22px; }
.cr-tier-head span { color: var(--text-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.cr-tier ul { margin: 0; padding: 0; list-style: none; }
.cr-supporter { position: relative; display: grid; align-content: start; gap: 8px; background: var(--paper); }
/* The service a supporter gives through, in its own colors, in the card's corner. */
.cr-source { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--cr-brand); background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); }
.cr-source-mark { width: 17px; height: 17px; }
.cr-supporter strong { overflow-wrap: anywhere; }
.cr-supporter-link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; max-width: 100%; padding: 6px 12px 6px 8px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: background-color .15s; }
.cr-supporter-link:hover { background: var(--field); }
.cr-supporter-link:active { background: var(--hairline); }
.cr-supporter-link img, .cr-supporter-link svg { width: 20px; height: 20px; flex: none; }
.cr-supporter-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cr-tier-top ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.cr-tier-top .cr-supporter { min-height: 132px; padding: 24px 26px; border-radius: 28px; box-shadow: inset 0 -4px 0 var(--cr-color), 0 18px 40px rgba(23, 34, 56, .14); }
.cr-tier-top .cr-supporter strong { padding-right: 36px; font-family: var(--display); font-variation-settings: var(--display-roundness); font-size: 28px; font-weight: 800; line-height: 1.15; }
.cr-tier-middle ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cr-tier-middle .cr-supporter { min-height: 96px; padding: 18px 20px; border-radius: 22px; box-shadow: inset 0 -3px 0 var(--cr-color), 0 10px 24px rgba(23, 34, 56, .1); }
.cr-tier-middle .cr-supporter strong { padding-right: 34px; font-family: var(--display); font-variation-settings: var(--display-roundness); font-size: 20px; font-weight: 800; }
.cr-tier-base ul { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-tier-base .cr-supporter { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(23, 34, 56, .06); }
.cr-tier-base .cr-supporter:has(.cr-source) { padding-left: 8px; }
.cr-tier-base .cr-source { position: static; width: 26px; height: 26px; box-shadow: none; background: var(--field); }
.cr-tier-base .cr-source-mark { width: 15px; height: 15px; }
.cr-tier-base .cr-supporter strong { font-size: 16px; }

.cr-support { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
/* Each service's button in its own colors and mark. */
.cr-brand-button { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 18px; border-radius: 16px; color: var(--cr-brand-ink); background: var(--cr-brand); font-family: var(--display); font-variation-settings: var(--display-roundness); font-size: 17px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 20px rgba(23, 34, 56, .16); transition: filter .15s, transform .15s, box-shadow .15s; }
.cr-brand-button:hover { color: var(--cr-brand-ink); filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(23, 34, 56, .2); }
.cr-brand-button:active { filter: brightness(.92); transform: translateY(0); box-shadow: 0 4px 10px rgba(23, 34, 56, .16); }
.cr-brand-mark { width: 20px; height: 20px; flex: none; }
.cr-support p { flex: 1 1 280px; color: var(--text-2); font-size: 15px; font-weight: 600; }

@media (max-width: 640px) {
  .cr-head { margin: 6px 8px 0; padding: 40px 16px 130px; border-radius: 34px; }
  .cr-body { width: calc(100% - 32px); }
  .cr-developer { flex-direction: column; align-items: flex-start; padding: 26px 22px; border-radius: 28px; }
  .cr-developer::after { right: 22px; }
  .cr-avatar { width: 88px; height: 88px; border-radius: 26px; }
  .cr-developer-text { padding-right: 0; }
  .cr-section { padding: 22px 16px; border-radius: 28px; }
  .cr-people { grid-template-columns: minmax(0, 1fr); }
  .cr-contributors { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .cr-supporters { margin: 28px 8px 0; padding: 40px 16px 44px; border-radius: 34px; }
  .cr-tier-top ul, .cr-tier-middle ul { grid-template-columns: minmax(0, 1fr); }
}
