/* Botmugs: "The Line-up". See docs/DESIGN.md for the rules. */

@font-face {
  font-family: "Big Shoulders";
  src: url(/assets/big-shoulders.b0cb3d2f6c.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url(/assets/martian-mono.f9c1655c2c.woff2) format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
}

:root {
  --paper: #efeee8;
  --ink: #161513;
  --ink-2: #4a4741;
  --yellow: #ffd23f;
  --red: #c4321d;
  --board: #1d1c1a;
  --groove: #282724;
  --chalk: #f3f1e8;
  --chalk-2: #c9c6bb;

  /* The wall (height chart) and its lights; switched by the Wall radios in the header. */
  --wall: #f8f7f3;
  --line: rgb(22 21 19 / .09);
  --line-strong: rgb(22 21 19 / .2);
  --scale: rgb(22 21 19 / .5);
  --wall-no: rgb(22 21 19 / .13);

  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --text: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1440px;
  color-scheme: light;
}

:root:has(#wall-night:checked) {
  --wall: #17181c;
  --line: rgb(255 255 255 / .07);
  --line-strong: rgb(255 255 255 / .17);
  --scale: rgb(255 255 255 / .55);
  --wall-no: rgb(255 255 255 / .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 14px/1.6 var(--text);
  font-stretch: 87.5%;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--yellow);
}
.board :focus-visible, .tag :focus-visible, .rap :focus-visible { outline-color: var(--yellow); box-shadow: none; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--yellow); color: var(--ink); padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 12px; }

main { display: block; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px;
  padding: 8px 18px;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink);
  font: 800 20px/1 var(--display);
  text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--yellow); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--sponsor { background: var(--yellow); color: var(--ink); }
.btn--sponsor:hover { background: var(--ink); color: var(--yellow); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Header: the booking desk ---------- */

.desk {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  gap: 12px 28px;
  padding: 14px var(--gutter);
  border-bottom: 3px solid var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font: 900 34px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.desk__nav { display: flex; flex-wrap: wrap; gap: 4px; }
.desk__nav a {
  padding: 8px 12px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none;
}
.desk__nav a:hover { background: var(--yellow); }
.desk__nav a[aria-current] { background: var(--ink); color: var(--paper); }

.lights { display: flex; align-items: center; margin: 0; padding: 0; border: 0; min-width: 0; }
.lights legend {
  float: left; padding: 0; margin-right: 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2);
}
.lights input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.lights label {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer;
}
.lights label + input + label { border-left-width: 0; }
.lights label::before {
  content: ""; width: 12px; height: 12px; border: 1.5px solid currentColor;
  background: #f8f7f3;
}
.lights label[for="wall-night"]::before { background: #17181c; }
.lights label[for="wall-clear"]::before { background: conic-gradient(#c9c9c9 25%, #fff 0 50%, #c9c9c9 0 75%, #fff 0) 0 0 / 6px 6px; }
.lights input:checked + label { background: var(--ink); color: var(--paper); }
.lights input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--yellow); }

/* ---------- The wall: a height chart in avatar units ---------- */

.wall {
  --s: 200px;
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  padding-top: calc(var(--s) * .3);
  background-color: var(--wall);
  background-image:
    linear-gradient(to top, var(--line-strong) 2px, transparent 2px),
    linear-gradient(to top, var(--line) 1px, transparent 1px);
  background-size: 100% calc(var(--s) / 4), 100% calc(var(--s) / 8);
  background-position: 0 100%, 0 100%;
  border-bottom: 4px solid var(--ink);
  isolation: isolate;
}
:root:has(#wall-clear:checked) .wall {
  background-color: #fff;
  background-image: conic-gradient(#d9d9d9 25%, #fff 0 50%, #d9d9d9 0 75%, #fff 0);
  background-size: 20px 20px;
  background-position: 0 0;
}
.wall img { position: relative; z-index: 1; width: var(--s); height: var(--s); flex: none; }
.wall__no {
  position: absolute; top: calc(var(--s) * .03); left: 0; right: 0; z-index: 0;
  text-align: center;
  font: 900 calc(var(--s) * .26)/1 var(--display);
  color: var(--wall-no);
}
.scale { position: absolute; left: 6px; top: 0; bottom: 0; z-index: 0; display: none; }
.scale i {
  position: absolute; left: 0;
  font: normal 700 10px/1 var(--text); font-stretch: 75%;
  color: var(--scale);
  letter-spacing: .02em;
}
.scale i:nth-child(1) { bottom: calc(var(--s) + 4px); }
.scale i:nth-child(2) { bottom: calc(var(--s) * .75 + 4px); }
.scale i:nth-child(3) { bottom: calc(var(--s) * .5 + 4px); }
.scale i:nth-child(4) { bottom: calc(var(--s) * .25 + 4px); }

/* The flash: a camera bulb goes off when you point at a figure. */
.mug .wall::after, .wall--strip::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: #fff; opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .mug:hover .wall::after, .wall--strip:hover::after { animation: flash .5s ease-out; }
  .wall--strip img { transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
  .wall--strip:hover img { transform: translateY(-6px); }
}
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .7; } 100% { opacity: 0; } }

/* ---------- Line-ups: figures side by side, walls joined ---------- */

.lineup { display: grid; column-gap: 0; }
.mug { display: flex; flex-direction: column; min-width: 0; }

.tag {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px;
  margin: 10px 4px 0;
  padding: 10px 12px 11px;
  background: var(--board) repeating-linear-gradient(to bottom, transparent 0 6px, var(--groove) 6px 7.5px);
  color: var(--chalk);
  border-radius: 3px;
  min-height: 52px;
}
.tag__no { font: 900 26px/1 var(--display); color: var(--yellow); grid-row: span 2; }
.tag a {
  font-weight: 700; font-size: 12.5px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none;
}
.tag a::after { content: ""; position: absolute; inset: 0; }
.tag a:hover { color: var(--yellow); }
.tag:has(a:hover) { background-color: #000; }
.tag small {
  grid-column: 2;
  font-size: 11px; line-height: 1.45; color: var(--chalk-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.dl { display: flex; gap: 4px; margin: 8px 4px 0; }
.dl li { flex: 1 1 auto; display: flex; }
.dl a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .35em;
  min-height: 36px; padding: 6px 6px;
  border: 1.5px solid var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.dl a b { font-weight: 700; }
.dl a:hover { background: var(--yellow); }

/* Hero line-up */
.lineup--hero { grid-template-columns: repeat(6, 1fr); margin-top: 44px; }
.lineup--hero .wall { --s: 208px; }
.lineup--hero .mug:first-child .scale { display: block; }

/* Set and role pages: the full book */
.lineup--grid { grid-template-columns: repeat(4, 1fr); row-gap: 44px; }
.lineup--grid .wall { --s: 256px; }
.lineup--grid .tag { flex: 1 0 auto; align-content: start; }
.lineup--grid .mug:nth-child(4n + 1) .scale { display: block; }

/* Home: every role in one row */
.lineup--roles { grid-template-columns: repeat(13, 1fr); }
.lineup--roles .wall { --s: 96px; padding-top: calc(var(--s) * .36); }
.lineup--roles .mug:first-child .scale { display: block; }
.lineup--roles .scale i:nth-child(odd) { display: none; }
.lineup--roles .tag { grid-template-columns: 1fr; margin: 8px 2px 0; padding: 8px 8px 9px; min-height: 0; }
.lineup--roles .tag__no { font-size: 20px; }
.lineup--roles .tag a { font-size: 10.5px; letter-spacing: .04em; }

/* ---------- Letterboard placard ---------- */

.board {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kicker no" "title title" "meta meta";
  align-items: start; gap: 6px 12px;
  padding: 16px 20px 18px;
  background: var(--board) repeating-linear-gradient(to bottom, transparent 0 7px, var(--groove) 7px 9px);
  color: var(--chalk);
  border-radius: 4px;
  box-shadow: inset 0 0 0 4px #2d2b27;
}
.board__kicker { grid-area: kicker; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--chalk-2); }
.board__no { grid-area: no; font: 900 40px/.8 var(--display); color: var(--yellow); }
.board__no small { font-size: 18px; color: var(--chalk-2); font-weight: 700; }
.board__title {
  grid-area: title;
  font: 900 46px/.88 var(--display); text-transform: uppercase; letter-spacing: .005em;
  overflow-wrap: anywhere;
}
.board__title a { text-decoration: none; }
.board__title a:hover { color: var(--yellow); }
.board__meta { grid-area: meta; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--chalk-2); }
.board__meta a { text-decoration-color: rgb(243 241 232 / .35); }
.board__meta a:hover { color: var(--yellow); text-decoration-color: var(--yellow); }
.board--xl { padding: 22px 28px 26px; gap: 10px 16px; }
.board--xl .board__title { font-size: clamp(60px, 9vw, 140px); margin: 6px 0 4px; }
.board--xl .board__kicker { font-size: 12px; }

/* ---------- Home ---------- */

.hero { padding-top: clamp(28px, 4vw, 56px); }
.hero__text {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  grid-template-areas: "kicker kicker" "title aside";
  gap: 18px 48px; align-items: end;
}
.kicker {
  grid-area: kicker;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.hero h1 {
  grid-area: title;
  font: 900 clamp(64px, 10.4vw, 168px)/.9 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.hl {
  padding: 0 .07em;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 62% / 100% 84% no-repeat;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero__aside { grid-area: aside; display: grid; gap: 14px; padding-bottom: 6px; }
.lead { font-size: 17px; line-height: 1.45; font-weight: 700; }

.head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 12px 48px; align-items: end;
  padding: 96px 0 28px;
  border-bottom: 3px solid var(--ink);
}
.head h2 { font: 900 clamp(52px, 7.5vw, 116px)/.84 var(--display); text-transform: uppercase; }
.head p { color: var(--ink-2); }

.strips { display: grid; }
.strip {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 28px; align-items: stretch;
  padding: 30px 0;
  border-bottom: 1px solid rgb(22 21 19 / .2);
}
.strip__card { display: grid; gap: 14px; align-self: stretch; align-content: space-between; }
.strip__text {
  font-size: 12.5px; line-height: 1.55; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.wall--strip {
  --s: 136px;
  justify-content: flex-start; gap: 6px;
  padding: calc(var(--s) * .2) 0 0 44px;
  text-decoration: none;
}
.wall--strip .scale { display: block; }
.wall--strip img { flex: 0 1 var(--s); min-width: 0; object-fit: contain; object-position: 50% 100%; }
.wall__more {
  flex: none; align-self: center; margin-left: auto; padding: 0 22px 0 12px; z-index: 1;
  display: grid; justify-items: end; text-align: right;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.3;
}
.wall__more b { font: 900 54px/.9 var(--display); }
.wall--strip:hover .wall__more b { background: var(--yellow); color: var(--ink); }
.wall--strip:focus-visible { outline-offset: 4px; }

.roles .lineup { margin-top: 36px; }

.record { margin: 104px 0 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; align-items: start; }
.record h2 { font: 900 clamp(44px, 5.4vw, 80px)/.86 var(--display); text-transform: uppercase; }
.record dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 3px solid var(--ink); }
.record dl > div { padding: 14px 0 16px; border-bottom: 1.5px dashed rgb(22 21 19 / .35); }
.record dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.record dd { font-size: 15px; line-height: 1.45; margin-top: 4px; }

/* ---------- Case file (set, role, index and license headers) ---------- */

.case { padding: 26px 0 52px; }
.crumbs { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 18px; }
.case__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 48px; align-items: end; }
.case__info { display: grid; gap: 18px; justify-items: start; }
.case__info p { max-width: 58ch; }
.btn--zip {
  display: grid; justify-items: start; gap: 8px;
  padding: 16px 22px 15px;
  background: var(--yellow); color: var(--ink);
  font-size: 32px; white-space: normal; text-align: left;
}
.btn--zip small { font: 700 11.5px/1.4 var(--text); font-stretch: 87.5%; text-transform: none; letter-spacing: .02em; }
.btn--zip:hover { background: var(--ink); color: var(--yellow); }
.fine { font-size: 12.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.stamp {
  display: inline-block; padding: 3px 8px;
  border: 2px solid var(--red); color: var(--red); border-radius: 3px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  transform: rotate(-4deg);
}
.stamp--big { font: 900 44px/1 var(--display); letter-spacing: .08em; padding: 8px 20px; border: 5px double var(--red); transform: rotate(-7deg); margin: 8px 0 0 10px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; width: 100%; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.pager a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.pager a:hover { text-decoration: underline; }

.tabs { margin-top: 32px; }
.tabs ol { display: flex; flex-wrap: wrap; gap: 5px; }
.tabs a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 9px;
  border: 1.5px solid var(--ink);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
}
.tabs a b { font: 900 17px/1 var(--display); }
.tabs a:hover { background: var(--yellow); }
.tabs a[aria-current] { background: var(--ink); color: var(--paper); }
.tabs a[aria-current] b { color: var(--yellow); }

.book { padding-bottom: 24px; }

/* The end of a line-up: the rest of the last row of wall, with a closing note. */
/* Span whatever is left of the last row (selectors per column count: 4, 3 and 2). */
.lineup--grid .mug--end:nth-child(4n + 1) { grid-column: span 4; }
.lineup--grid .mug--end:nth-child(4n + 2) { grid-column: span 3; }
.lineup--grid .mug--end:nth-child(4n + 3) { grid-column: span 2; }
.wall__spacer { display: block; width: 1px; height: var(--s); }
.end {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  display: grid; justify-items: start; align-content: end; gap: 12px;
  padding: 0 clamp(16px, 3vw, 40px) clamp(20px, 3vw, 36px) clamp(36px, 4vw, 64px);
}
.end p { max-width: 44ch; background: var(--wall); box-shadow: 0 0 0 4px var(--wall); }
.end__title { font: 900 clamp(30px, 3.4vw, 52px)/.9 var(--display); text-transform: uppercase; }
:root:has(#wall-night:checked) .end { color: var(--chalk); }
:root:has(#wall-night:checked) .end .btn:not(.btn--sponsor) { border-color: var(--chalk); }

.others { margin: 96px 0 88px; }
.others h2 { font: 900 clamp(40px, 5vw, 72px)/.9 var(--display); text-transform: uppercase; padding-bottom: 18px; border-bottom: 3px solid var(--ink); }
.others__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; }
.others__list a {
  display: grid; justify-items: center; gap: 4px; padding: 16px 8px 14px; height: 100%;
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: center; text-decoration: none;
  border-bottom: 1px solid rgb(22 21 19 / .2);
}
.others__list img { width: 96px; height: 96px; }
.others__list a:hover { background: var(--wall); }
.others__list a:hover span { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

/* ---------- Style tags ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 6px 4px 10px;
  border: 1.5px solid var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .03em; text-decoration: none;
}
.chips b { min-width: 22px; padding: 2px 5px; background: var(--ink); color: var(--paper); font: 800 13px/1 var(--display); text-align: center; }
.chips a:hover { background: var(--yellow); }
.chips a[aria-current] { background: var(--ink); color: var(--paper); }
.chips a[aria-current] b { background: var(--yellow); color: var(--ink); }
.filed { display: grid; gap: 8px; }
.filed__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }

/* Style pages: one dossier per crew, the whole cast on one wall. */
.dossier { padding: 40px 0 8px; border-top: 3px solid var(--ink); }
.dossier + .dossier { margin-top: 48px; }
.dossier__head { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 20px 32px; align-items: end; margin-bottom: 28px; }
.dossier__info { display: grid; gap: 16px; }
.dossier__info p:first-child { max-width: 70ch; }
.lineup--cast { grid-template-columns: repeat(13, 1fr); }
.lineup--cast .wall { --s: 96px; padding-top: calc(var(--s) * .34); }
.lineup--cast .scale i:nth-child(odd) { display: none; }
.cast__role { margin-top: 8px; text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.styles { margin: 104px 0 96px; }
.head--small { padding-top: 0; margin-bottom: 24px; }
.head--small h2 { font-size: clamp(44px, 5.4vw, 80px); }

/* ---------- License ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; padding: 44px 0 0; border-top: 3px solid var(--ink); }
.form h2 { font: 900 40px/.9 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.form h2:not(:first-child) { margin-top: 40px; }
.checks li, .notes li { position: relative; padding: 12px 0 12px 40px; border-bottom: 1.5px dashed rgb(22 21 19 / .35); font-size: 14.5px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border: 2px solid var(--ink); background: var(--wall);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: 14px; width: 9px; height: 16px;
  border: solid var(--red); border-width: 0 4px 4px 0; transform: rotate(40deg);
}
.notes li::before { content: ""; position: absolute; left: 6px; top: 20px; width: 10px; height: 10px; background: var(--ink); }
.actions--end { margin: 64px 0 96px; }

/* ---------- 404 ---------- */

.missing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 56px; align-items: end; padding: 48px 0 104px; }
.wall--missing { --s: 320px; }
.wall--missing .scale { display: block; }
.ghost { width: var(--s); height: var(--s); color: var(--scale); position: relative; z-index: 1; }
.missing__text { display: grid; gap: 18px; justify-items: start; }
.missing__text .board { width: 100%; }
.missing__text .board__title { font-size: clamp(52px, 6vw, 96px); }

/* ---------- Footer ---------- */

.rap { background: var(--ink); color: var(--chalk); margin-top: 0; }
.rap__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px 40px;
  padding: 56px var(--gutter) 64px;
}
.rap h2 { font: 900 26px/1 var(--display); text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; letter-spacing: .02em; }
.rap ul { display: grid; gap: 4px; font-size: 12.5px; }
.rap a { text-decoration-color: rgb(243 241 232 / .35); }
.rap a:hover { color: var(--yellow); text-decoration-color: var(--yellow); }
.rap p { font-size: 12.5px; color: var(--chalk-2); }
.rap__id { display: grid; gap: 16px; align-content: start; }
.rap__id .btn--sponsor { border-color: var(--yellow); }
.rap__id .btn--sponsor:hover { background: transparent; }
.brand--footer span { color: var(--chalk); }
.rap__fine p + p { margin-top: 10px; }

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  .lineup--hero .wall { --s: 176px; }
  .wall--strip { --s: 128px; }
  .wall--strip img:nth-of-type(n + 6) { display: none; }
  .lineup--roles { grid-template-columns: repeat(7, 1fr); row-gap: 28px; }
  .lineup--roles .wall { --s: 120px; }
  .lineup--roles .mug:nth-child(n) .scale { display: none; }
  .lineup--roles .mug:nth-child(7n + 1) .scale { display: block; }
  .lineup--cast { grid-template-columns: repeat(7, 1fr); row-gap: 24px; }
  .lineup--cast .wall { --s: 120px; }
  .lineup--cast .mug:nth-child(n) .scale { display: none; }
  .lineup--cast .mug:nth-child(7n + 1) .scale { display: block; }
}

@media (max-width: 1100px) {
  .desk { grid-template-columns: auto 1fr auto; }
  .desk__nav { grid-column: 1 / -1; grid-row: 2; }
  .lights { grid-column: 2; justify-self: end; }
  .lineup--grid { grid-template-columns: repeat(3, 1fr); }
  .lineup--grid .wall { --s: 224px; }
  .lineup--grid .mug:nth-child(n) .scale { display: none; }
  .lineup--grid .mug:nth-child(3n + 1) .scale { display: block; }
  .lineup--grid .mug--end:nth-child(n) { grid-column: auto; }
  .lineup--grid .mug--end:nth-child(3n + 1) { grid-column: span 3; }
  .lineup--grid .mug--end:nth-child(3n + 2) { grid-column: span 2; }
  .strip { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .wall--strip img:nth-of-type(n + 5) { display: none; }
  .rap__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero__text, .case__grid, .head, .record, .form, .missing { grid-template-columns: minmax(0, 1fr); }
  .hero__text { grid-template-areas: "kicker" "title" "aside"; }
  .lineup--hero {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 200px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .lineup--hero .mug { scroll-snap-align: start; }
  .lineup--hero .wall { --s: 184px; }
  .strip { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .strip__card { gap: 10px; }
  .strip__text { -webkit-line-clamp: 3; }
  .lineup--roles { grid-template-columns: repeat(4, 1fr); }
  .lineup--roles .mug:nth-child(n) .scale { display: none; }
  .lineup--roles .mug:nth-child(4n + 1) .scale { display: block; }
  .record dl { grid-template-columns: 1fr; }
  .dossier__head { grid-template-columns: minmax(0, 1fr); }
  .lineup--cast { grid-template-columns: repeat(5, 1fr); }
  .lineup--cast .wall { --s: 104px; }
  .lineup--cast .mug:nth-child(n) .scale { display: none; }
  .lineup--cast .mug:nth-child(5n + 1) .scale { display: block; }
  .head { padding-top: 72px; }
}

@media (max-width: 640px) {
  body { font-size: 13.5px; }
  .desk { grid-template-columns: 1fr auto; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 28px; }
  .desk__nav { grid-column: 1 / -1; grid-row: 2; }
  .desk__nav a { padding: 6px 8px; font-size: 11px; }
  .lights { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .lights label { min-height: 32px; padding: 4px 9px; }
  .desk .btn--sponsor { min-height: 40px; padding: 6px 14px; font-size: 18px; }

  .hero h1 { font-size: clamp(56px, 17vw, 84px); }
  .lead { font-size: 15.5px; }
  .lineup--hero { grid-auto-columns: 172px; margin-top: 32px; }
  .lineup--hero .wall { --s: 160px; }

  .wall--strip { --s: calc((100vw - 2 * var(--gutter) - 96px) / 3); padding-left: 30px; gap: 0; }
  .wall--strip img:nth-of-type(n + 4) { display: none; }
  .wall__more { padding: 0 8px 0 4px; font-size: 9.5px; letter-spacing: .04em; }
  .wall__more b { font-size: 36px; }
  .strip { padding: 22px 0 26px; gap: 12px; }
  .strip .board { padding: 12px 14px 13px; gap: 2px 10px; }
  .strip .board__title { font-size: 34px; }
  .strip .board__no { font-size: 32px; }
  .strip .board__meta { display: none; }
  .strip__text { font-size: 12px; -webkit-line-clamp: 2; }
  .case__info .lead { font-size: 14.5px; font-weight: 600; }
  .board { padding: 14px 16px 16px; }
  .board__title { font-size: 40px; }
  .board--xl { padding: 18px 18px 20px; }
  .board--xl .board__title { font-size: clamp(52px, 15vw, 72px); }

  .lineup--grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .lineup--grid .wall { --s: 160px; }
  .lineup--grid .mug:nth-child(n) .scale { display: none; }
  .lineup--grid .mug:nth-child(2n + 1) .scale { display: block; }
  .lineup--grid .mug--end:nth-child(n) { grid-column: auto; }
  .lineup--grid .mug--end:nth-child(2n + 1) { grid-column: span 2; }
  .end { padding: 0 12px 14px 30px; gap: 8px; }
  .end p:not(.end__title) { font-size: 11.5px; }
  .end .btn { font-size: 16px; min-height: 38px; padding: 6px 10px; white-space: normal; }
  .scale { left: 3px; }
  .scale i { font-size: 9px; }
  .tag { margin: 8px 2px 0; padding: 8px 9px 9px; column-gap: 8px; min-height: 0; }
  .tag__no { font-size: 22px; }
  .tag a { font-size: 11px; letter-spacing: .05em; }
  .tag small { display: none; }
  .dl { margin: 6px 2px 0; gap: 3px; flex-wrap: wrap; }
  .dl li:first-child { flex-basis: 100%; }
  .dl a { min-height: 34px; padding: 4px; font-size: 10.5px; letter-spacing: .02em; }

  .lineup--roles { grid-template-columns: repeat(3, 1fr); }
  .lineup--roles .wall { --s: 104px; }
  .lineup--roles .mug:nth-child(n) .scale { display: none; }
  .lineup--roles .mug:nth-child(3n + 1) .scale { display: block; }

  .tabs { margin-top: 24px; }
  .tabs ol { gap: 4px; }
  .tabs a { min-height: 32px; padding: 4px 7px; gap: 4px; font-size: 10px; letter-spacing: .03em; }
  .tabs a b { font-size: 14px; }
  .btn--zip { font-size: 26px; width: 100%; }
  .stamp--big { font-size: 34px; }
  .others__list { grid-template-columns: repeat(3, 1fr); }
  .lineup--cast { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .lineup--cast .wall { --s: 80px; }
  .lineup--cast .mug:nth-child(n) .scale { display: none; }
  .lineup--cast .mug:nth-child(4n + 1) .scale { display: block; }
  .cast__role { font-size: 9.5px; letter-spacing: .02em; }
  .chips a { font-size: 11px; min-height: 32px; }
  .dossier__info .actions .btn { font-size: 17px; }
  .others__list img { width: 80px; height: 80px; }
  .others__list a { font-size: 10px; padding: 12px 4px; }
  .wall--missing { --s: 240px; }
  .rap__grid { grid-template-columns: 1fr; padding-top: 44px; }
  .head { padding-top: 64px; }
  .record { margin-top: 72px; }
}
