/* Shared poster/spotlight system; provisional content status is in README. */
.character-posters { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.character-poster { position: relative; isolation: isolate; background: var(--black); color: var(--white); border: 1px solid var(--white); box-shadow: 5px 7px 0 var(--black); }
/* Quiet, matching-color surfaces protect small black copy from the ink layer. */
.introduction .intro-body { background: var(--pink-deep); box-shadow: 0 0 1.5rem .75rem var(--pink-deep); }
.introduction .intro-heading > .eyebrow { background: var(--pink-deep); width: fit-content; }
.character-poster > header { min-height: 12rem; padding: 1.5rem 1.25rem 1rem; }
.character-poster h3 { margin: .5rem 0; font: 400 clamp(2.5rem, 4vw, 4rem)/1 var(--font-display); }
.character-poster h3 span { font: 400 .9rem/1.3 var(--font-body); display: inline-block; }
.character-role { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.character-tagline { font-size: 1rem; line-height: 1.4; color: var(--pink); max-width: 26ch; }
.character-poster > img { width: 100%; height: clamp(17rem, 25vw, 22rem); object-fit: contain; padding: 1rem; background: radial-gradient(#00000045 1px, transparent 1.4px) 0 0 / 5px 5px, var(--pink); }
.character-profile { border-top: 1px solid #ffffff50; }
.character-profile summary { cursor: pointer; min-height: 48px; padding: .85rem 1.25rem; font-size: .9rem; font-weight: 700; }
.character-profile summary::marker { color: var(--pink); }
.character-profile summary:hover, .character-profile[open] summary { background: var(--pink); color: var(--black); }
.character-profile[open] summary::marker, .character-profile summary:hover::marker { color: var(--black); }
.character-profile summary:focus-visible { outline: 3px solid var(--white); outline-offset: -5px; }
.profile-copy { padding: 1rem 1.25rem 1.5rem; font-size: .95rem; line-height: 1.7; }
.profile-copy ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 1rem 0 0; }
.profile-copy li { border: 1px solid #ffffff80; padding: .2rem .5rem; font-size: .7rem; }
/* A real button covers each poster. Details remain the no-JS fallback. */
.character-posters.is-interactive .character-poster { padding-bottom: 3.5rem; transition: transform 220ms ease; }
.character-posters.is-interactive .character-profile { display: none; }
.character-posters.is-interactive .character-poster > img { transition: transform 260ms ease; }
.character-trigger { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: var(--white); cursor: pointer; font: 700 .9rem/1.4 var(--font-body); text-align: left; }
.trigger-caption { position: absolute; bottom: 0; left: 0; right: 0; min-height: 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem 1.25rem; border-top: 1px solid #ffffff50; }
.trigger-caption > span { font-size: 1.4rem; color: var(--pink); }
.character-trigger:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.character-poster:focus-within { z-index: 3; }
@media (hover: hover) and (pointer: fine) {
  :where(:root:not([data-pointer-input="touch"])) .character-posters.is-interactive .character-poster:hover { z-index: 3; transform: translateY(-8px) rotate(-1.2deg) scale(1.015); }
  :where(:root:not([data-pointer-input="touch"])) .character-posters.is-interactive .character-poster:nth-child(2):hover { transform: translateY(-8px) rotate(1.2deg) scale(1.015); }
  :where(:root:not([data-pointer-input="touch"])) .character-posters.is-interactive .character-poster:hover > img { transform: translateY(-3px) rotate(1deg); }
  :where(:root:not([data-pointer-input="touch"])) .character-poster:hover .trigger-caption { background: var(--white); color: var(--black); }
  :where(:root:not([data-pointer-input="touch"])) .character-poster:hover .trigger-caption > span { color: var(--black); }
}
.spotlight-open { overflow: hidden; }
.character-spotlight { position: fixed; inset: 0; width: min(1000px, calc(100% - 2.5rem)); max-width: none; max-height: calc(100dvh - 2.5rem); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--pink); background: var(--black); color: var(--white); box-shadow: 8px 8px 0 #f97bb250; }
.character-spotlight::backdrop { background: #000c; }
.spotlight-close { position: sticky; top: .75rem; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 44px; margin: .75rem .75rem .75rem auto; padding: .5rem .85rem; border: 1px solid var(--white); background: var(--black); color: var(--white); font: 700 .85rem/1 var(--font-body); cursor: pointer; }
.spotlight-close > span { font-size: 1.5rem; }
.spotlight-close:hover { background: var(--pink); color: var(--black); }
.spotlight-close:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.spotlight-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
.spotlight-art { position: relative; isolation: isolate; margin: 0 1.5rem 2rem; padding: 2rem 1rem; background: var(--pink); transform: rotate(-2deg); box-shadow: 6px 7px 0 var(--white); }
.spotlight-art::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('../assets/images/textures/dry-ink.svg') center / 450px; opacity: .3; pointer-events: none; }
.spotlight-art img { width: 100%; height: min(50dvh, 450px); object-fit: contain; }
.spotlight-editorial { align-self: start; padding: 1rem 2rem 2.5rem 1rem; }
.spotlight-editorial h2 { margin: .75rem 0; font: 400 clamp(2.5rem, 5vw, 4.2rem)/1.1 var(--font-display); }
.spotlight-editorial .character-role { color: var(--pink); }
.spotlight-editorial .character-tagline { max-width: 32ch; font-weight: 700; }
.spotlight-biography { margin-top: 1.75rem; }
.spotlight-biography .profile-copy { padding: 0; }
@media (max-width: 900px) {
  .character-posters { grid-template-columns: minmax(0, 1fr); gap: 2rem; width: min(100%, 32rem); margin-inline: auto; }
  .character-poster > header { min-height: 0; }
  .character-poster > img { height: 22rem; }
}
@media (max-width: 650px) {
  .character-spotlight { width: calc(100% - 1.5rem); max-height: calc(100dvh - 1.5rem); box-shadow: 4px 4px 0 #f97bb250; }
  .spotlight-layout { grid-template-columns: minmax(0, 1fr); }
  .spotlight-art { margin: 0 1.25rem 1.5rem; padding: 1rem; }
  .spotlight-art img { height: min(32dvh, 280px); }
  .spotlight-editorial { padding: 1rem 1.25rem 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .character-posters.is-interactive .character-poster, .character-posters.is-interactive .character-poster > img { transition: none; }
  .character-posters.is-interactive .character-poster:hover, .character-posters.is-interactive .character-poster:nth-child(2):hover, .character-posters.is-interactive .character-poster:hover > img { transform: none; }
}
