/* Interactive cast */
.about-art { max-height: none; }
.about-art img { display: block; width: 100%; height: auto; }

@media (max-width: 650px) {
  .about-art img { height: auto; object-fit: contain; }
}

.cast-instruction {
  margin: 26px 0 0 !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  font-weight: 700;
}

.cast { margin-top: 14px; }

.cast-coming {
  margin: 16px 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--red) !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: .02em;
}

.cast-person {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  width: 100%;
  min-height: 82px;
  padding: 13px 34px 13px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: padding .18s ease, border-color .18s ease, background .18s ease;
}

.cast-person:hover,
.cast-person:focus-visible {
  padding-left: 12px;
  border-color: var(--accent);
  background: #eee3ca;
}

.cast-name {
  grid-column: 1;
  color: var(--accent);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  text-transform: uppercase;
}

.cast-role {
  grid-column: 1;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.45;
}

.cast-open {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  transition: transform .18s ease;
}

.cast-person:hover .cast-open,
.cast-person:focus-visible .cast-open { transform: rotate(90deg); }

/* Character biography modal */
.character-dialog {
  width: min(980px, calc(100vw - 48px));
  max-height: min(760px, calc(100vh - 48px));
  padding: 0;
  overflow: auto;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 14px 14px 0 rgba(25, 25, 21, .28);
}

.character-dialog::backdrop {
  background: rgba(25, 25, 21, .78);
  backdrop-filter: blur(2px);
}

.bio-close {
  position: sticky;
  top: 14px;
  right: 14px;
  z-index: 2;
  float: right;
  width: 46px;
  height: 46px;
  margin: 14px 14px -60px 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}

.bio-close:hover { background: var(--ink); color: var(--paper); }

.bio-layout {
  display: grid;
  grid-template-columns: minmax(270px, .82fr) minmax(0, 1.18fr);
  min-height: 610px;
}

.bio-portrait {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  padding: 44px 32px 20px;
  overflow: hidden;
  border-right: 2px solid var(--ink);
  background: color-mix(in srgb, var(--bio-accent) 90%, #191915);
}

.bio-portrait img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: center bottom;
  border: 2px solid var(--ink);
  background: #fff;
}

.bio-portrait figcaption {
  margin-top: 13px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.bio-content { padding: 54px 52px 48px; }
.bio-role {
  margin: 0 55px 10px 0;
  color: var(--bio-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bio-content h2 {
  color: var(--bio-accent);
  font-size: clamp(38px, 5vw, 61px);
  line-height: .98;
}

.bio-years {
  margin: 8px 0 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.bio-summary {
  margin: 0;
  color: #3d382f;
  font-size: 16px;
  line-height: 1.65;
}

.bio-fact {
  margin-top: 25px;
  padding: 18px 20px;
  border-left: 5px solid var(--bio-accent);
  background: #eadfc6;
}

.bio-fact strong,
.bio-reading strong {
  color: var(--bio-accent);
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.bio-fact p { margin: 5px 0 0; font-size: 14px; line-height: 1.55; }
.bio-reading { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.bio-reading ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 9px 0 0; padding: 0; list-style: none; }
.bio-reading a { color: var(--bio-accent); font-size: 13px; font-weight: 700; }

/* The emblem is always a circular corporate-red disc with a cream rim. */
.support .brand-emblem {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--paper);
}

@media (max-width: 720px) {
  .character-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    box-shadow: 7px 7px 0 rgba(25, 25, 21, .28);
  }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-portrait { height: 310px; padding: 24px 24px 12px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .bio-portrait img { height: 260px; }
  .bio-portrait figcaption { display: none; }
  .bio-content { padding: 34px 26px 36px; }
  .bio-content h2 { font-size: 42px; }
  .bio-summary { font-size: 15px; }
  .bio-close { position: fixed; }
  .cast-person { min-height: 76px; }
}
