.characters-index,
.character-detail {
  background: #050408;
  color: #fff;
}

.characters-index {
  min-height: 70vh;
  padding: clamp(48px, 7vw, 96px) 0 110px;
}

.characters-index__container {
  max-width: 1440px;
}

.characters-index__header {
  max-width: 820px;
  margin-bottom: 46px;
}

.characters-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #00e8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.characters-index__header h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 104px);
  line-height: .88;
  letter-spacing: -.045em;
}

.characters-index__header p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #b7b3bd;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.character-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 610px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: #0b0910;
  color: inherit;
  text-decoration: none;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.character-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 0, 127, .55);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .34), 0 0 30px rgba(255, 0, 127, .12);
}

.character-card--featured {
  border-color: rgba(0, 232, 255, .38);
}

.character-card__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #000;
}

.character-card__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .5s ease;
}

.character-card:hover .character-card__media img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.character-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 4, 8, .9) 100%);
  pointer-events: none;
}

.character-card__location {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 10px;
  border-left: 3px solid #00e8ff;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.character-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.character-card__number {
  color: #ff3b99;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}

.character-card__body h2 {
  margin: 9px 0 10px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: .95;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.character-card__body p {
  margin: 0 0 22px;
  color: #aaa5b0;
  line-height: 1.55;
}

.character-card__link {
  margin-top: auto;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.character-card__link span {
  color: #ff3b99;
  margin-left: 6px;
}

.character-detail__topbar {
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #08070b;
}

.character-detail__topbar-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.character-detail__brand {
  flex: 0 0 auto;
  color: #ff3b99;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .24em;
}

.character-detail__switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 8px 0;
}

.character-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #8d8993;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.character-switch:hover,
.character-switch--active {
  color: #fff;
  border-color: rgba(255, 59, 153, .72);
  background: rgba(255, 59, 153, .11);
}

.character-switch__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55515b;
}

.character-switch--active .character-switch__dot {
  background: #00e8ff;
  box-shadow: 0 0 10px rgba(0, 232, 255, .85);
}

.character-editorial {
  display: grid;
  grid-template-columns: minmax(390px, 45vw) minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
}

.character-media-stage {
  position: relative;
  min-width: 0;
  background: #000;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.character-media-stage__sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  min-height: 620px;
}

.character-main-image {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.character-main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .68) 100%);
  pointer-events: none;
}

.character-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) brightness(.96);
}

.character-main-image figcaption {
  position: absolute;
  z-index: 1;
  left: 28px;
  bottom: 28px;
  max-width: calc(100% - 56px);
  padding: 8px 14px;
  border-left: 3px solid #00e8ff;
  background: rgba(0, 0, 0, .8);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.character-editorial-stage {
  width: 100%;
  max-width: 980px;
  padding: clamp(54px, 6vw, 88px) clamp(28px, 6vw, 82px) 120px;
}

.character-editorial-header h1 {
  margin: 0 0 24px;
  font-size: clamp(62px, 8vw, 108px);
  line-height: .83;
  letter-spacing: -.055em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 34%, #77727d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.character-editorial-header h2 {
  margin: 0 0 42px;
  padding-left: 20px;
  border-left: 4px solid #ff3b99;
  color: #ff3b99;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.38;
}

.character-copy__lead,
.character-copy__body {
  color: #d1cdd5;
}

.character-copy__lead {
  font-size: 18px;
  line-height: 1.82;
}

.character-copy__body {
  color: #aaa5b0;
  font-size: 16px;
  line-height: 1.82;
}

.character-copy__lead p,
.character-copy__body p {
  margin: 0 0 1.35em;
}

.character-scrapbook {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 42px 0;
}

.character-scrap {
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: #0d0b12;
}

.character-scrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.character-scrap figcaption {
  padding: 9px 2px 1px;
  color: #77727d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.character-quote {
  margin: 50px 0;
  padding: 23px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.character-news {
  margin-top: 64px;
  padding: 28px;
  border: 1px solid rgba(255, 59, 153, .22);
  border-radius: 10px;
  background: radial-gradient(circle at top left, rgba(255, 59, 153, .1), rgba(6, 5, 8, .72) 58%);
}

.character-news__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.character-news__pulse {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b99;
  box-shadow: 0 0 12px rgba(255, 59, 153, .8);
}

.character-news__eyebrow {
  color: #ff3b99;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
}

.character-news__head h3 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 15px;
  letter-spacing: .07em;
}

.character-news__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.character-news__entry {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: #fff;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.character-news__entry:hover {
  transform: translateX(5px);
  border-color: rgba(255, 59, 153, .35);
  background: rgba(255, 59, 153, .075);
}

.character-news__thumb {
  width: 92px;
  height: 64px;
  overflow: hidden;
  border-radius: 5px;
  background: #111;
}

.character-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-news__content span {
  display: block;
  margin-bottom: 4px;
  color: #00e8ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.character-news__content h4 {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.3;
}

.character-news__content small {
  color: #77727d;
  font-size: 10px;
}

.character-news__arrow {
  color: #ff3b99;
  font-size: 20px;
}

.character-news__empty {
  margin: 0;
  color: #aaa5b0;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .characters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .character-editorial {
    grid-template-columns: 42vw minmax(0, 1fr);
  }

  .character-editorial-stage {
    padding-left: 42px;
    padding-right: 42px;
  }
}

@media (max-width: 820px) {
  .character-detail__topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 10px;
  }

  .character-detail__switcher {
    width: 100%;
    justify-content: flex-start;
  }

  .character-editorial {
    grid-template-columns: 1fr;
  }

  .character-media-stage {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .character-media-stage__sticky {
    position: relative;
    top: 0;
    height: min(72vh, 760px);
    min-height: 520px;
  }

  .character-editorial-stage {
    max-width: none;
    padding: 48px 24px 90px;
  }

  .character-editorial-header h1 {
    font-size: clamp(58px, 16vw, 88px);
  }
}

@media (max-width: 640px) {
  .characters-index {
    padding-top: 42px;
  }

  .characters-grid {
    grid-template-columns: 1fr;
  }

  .character-card {
    min-height: 0;
  }

  .character-card__media,
  .character-card__media img {
    min-height: 390px;
  }

  .character-scrapbook {
    grid-template-columns: 1fr;
  }

  .character-news {
    padding: 20px 16px;
  }

  .character-news__entry {
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 11px;
  }

  .character-news__thumb {
    width: 74px;
    height: 58px;
  }

  .character-news__content h4 {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .character-card,
  .character-card__media img,
  .character-news__entry {
    transition: none;
  }
}
