.characters-page-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 710px;
    border-bottom: 1px solid #292d31;
    background:
        radial-gradient(circle at 72% 42%, rgba(245, 0, 99, .22), transparent 26%),
        radial-gradient(circle at 54% 94%, #2a1722 0, transparent 28%),
        linear-gradient(120deg, #060708 0%, #111419 55%, #090a0c 100%);
    color: #fff;
}

.characters-page-header::before {
    position: absolute;
    z-index: -1;
    top: 92px;
    right: -80px;
    width: 470px;
    height: 470px;
    background: url('../../img/paint-logo-hd.png') center/contain no-repeat;
    content: '';
    opacity: .28;
    transform: rotate(-15deg);
}

.characters-page-header::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 160px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .38));
    content: '';
}

.characters-page-header .navbar {
    min-height: 92px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.characters-page-header .brand img {
    display: block;
    width: 100%;
    max-height: 76px;
    object-fit: contain;
}

.characters-page-header .nav-link {
    color: rgba(255, 255, 255, .86);
}

.characters-page-header .nav-link:hover,
.characters-page-header .nav-link.active {
    color: var(--pink);
}

.characters-hero {
    position: relative;
    display: grid;
    min-height: 615px;
    grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
    align-items: center;
}

.characters-hero-copy {
    position: relative;
    z-index: 6;
    max-width: 650px;
    padding: 68px 0 100px;
}

.characters-hero-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: .12em;
}

.characters-hero-copy .eyebrow::before {
    width: 34px;
    height: 2px;
    background: var(--pink);
    content: '';
}

.characters-hero-copy h1 {
    margin: 16px 0 24px;
    font-size: clamp(4.8rem, 8vw, 8.1rem);
    letter-spacing: -.055em;
    line-height: .76;
    text-transform: uppercase;
}

.characters-hero-copy h1 span {
    color: var(--pink);
}

.characters-hero-copy > p:not(.eyebrow) {
    max-width: 570px;
    margin: 0 0 32px;
    color: #d4d7da;
    font-size: 1.05rem;
    line-height: 1.72;
}

.characters-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.characters-hero-actions .btn {
    min-width: 210px;
}

.characters-text-link {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.characters-text-link i {
    margin-left: 8px;
    transition: transform .2s ease;
}

.characters-text-link:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.characters-text-link:hover i {
    transform: translateX(5px);
}

.characters-hero-stage {
    position: absolute;
    z-index: 2;
    right: -70px;
    bottom: 0;
    width: min(66vw, 890px);
    height: 600px;
}

.characters-hero-stage::after {
    position: absolute;
    z-index: 1;
    right: 2%;
    bottom: 0;
    left: 2%;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .68);
    content: '';
    filter: blur(18px);
}

.characters-hero-ring {
    position: absolute;
    z-index: 0;
    top: 10%;
    left: 28%;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 36px rgba(255, 255, 255, .018), 0 0 0 72px rgba(255, 255, 255, .012);
}

.hero-character {
    position: absolute;
    z-index: 3;
    bottom: 0;
    height: 94%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .45));
}

.hero-character-left {
    z-index: 2;
    left: 2%;
    height: 78%;
    transform: rotate(-4deg);
}

.hero-character-center {
    z-index: 4;
    left: 27%;
    height: 98%;
}

.hero-character-right {
    right: 0;
    height: 82%;
    transform: rotate(3deg);
}

.characters-hero-number {
    position: absolute;
    z-index: 1;
    right: -10px;
    bottom: 2px;
    color: rgba(255, 255, 255, .035);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 17rem;
    font-weight: 900;
    line-height: .7;
}

.characters-page-main {
    background: #f6f6f3;
    color: #101215;
}

.characters-proof {
    position: relative;
    z-index: 5;
    border-bottom: 1px solid #d8d8d4;
    background: #fff;
}

.characters-proof .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.characters-proof .container > div {
    position: relative;
    display: flex;
    min-height: 108px;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.characters-proof .container > div:not(:last-child)::after {
    position: absolute;
    top: 28px;
    right: 0;
    width: 1px;
    height: 52px;
    background: #dededa;
    content: '';
}

.characters-proof strong {
    color: var(--pink);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.characters-proof span {
    max-width: 105px;
    color: #55595d;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.characters-library {
    background-image: radial-gradient(circle, rgba(0, 0, 0, .038) 0 1px, transparent 1.2px);
    background-size: 14px 14px;
    padding: clamp(80px, 9vw, 135px) 0 clamp(95px, 10vw, 150px);
}

.characters-library-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    align-items: end;
    gap: 80px;
    margin-bottom: 42px;
    padding-bottom: 32px;
    border-bottom: 3px solid #111316;
}

.characters-library-intro h2 {
    margin: 6px 0 0;
    font-size: clamp(3.8rem, 7vw, 7rem);
    letter-spacing: -.05em;
    line-height: .78;
}

.characters-library-intro > p {
    margin: 0;
    color: #62666a;
    font-size: 1rem;
    line-height: 1.7;
}

.characters-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;
}

.characters-filter button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 17px;
    border: 1px solid #cacbc8;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #34373a;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .025em;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.characters-filter button span {
    display: grid;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    place-items: center;
    border-radius: 999px;
    background: #e4e4e1;
    font-size: .68rem;
}

.characters-filter button:hover,
.characters-filter button.is-active {
    border-color: #111316;
    background: #111316;
    color: #fff;
    transform: translateY(-2px);
}

.characters-filter button.is-active span {
    background: var(--pink);
}

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

.characters-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d8d8d4;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(10, 12, 14, .07);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.characters-card[hidden] {
    display: none !important;
}

.characters-card:hover {
    border-color: rgba(245, 0, 99, .48);
    box-shadow: 0 20px 46px rgba(10, 12, 14, .15);
    transform: translateY(-7px);
}

.characters-card.is-highlighted {
    grid-column: span 2;
}

.characters-card-button {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.characters-card-button:focus-visible {
    outline: 4px solid var(--pink);
    outline-offset: -4px;
}

.characters-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 350px;
    background:
        radial-gradient(circle at 50% 56%, rgba(245, 0, 99, .12), transparent 39%),
        linear-gradient(145deg, #f7f7f5, #e8e9e6);
}

.characters-card.is-highlighted .characters-card-media {
    height: 430px;
    background:
        radial-gradient(circle at 50% 50%, rgba(245, 0, 99, .25), transparent 43%),
        linear-gradient(145deg, #1a1d21, #080a0c);
}

.characters-card-media::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 38%;
    background: linear-gradient(transparent, rgba(0, 0, 0, .28));
    content: '';
    opacity: 0;
    transition: opacity .25s ease;
}

.characters-card:hover .characters-card-media::after {
    opacity: 1;
}

.characters-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition: transform .42s ease;
}

.characters-card:hover .characters-card-media img {
    transform: scale(1.045);
}

.characters-card-index {
    position: absolute;
    z-index: 3;
    top: 15px;
    left: 15px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(17, 19, 22, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    color: #111316;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: .83rem;
    font-weight: 900;
    backdrop-filter: blur(7px);
}

.characters-card-more {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 16px;
    color: #fff;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .05em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}

.characters-card:hover .characters-card-more {
    opacity: 1;
    transform: translateY(0);
}

.characters-card-more i {
    margin-left: 7px;
}

.characters-card-copy {
    display: flex;
    min-height: 132px;
    flex: 1;
    flex-direction: column;
    padding: 20px 21px 22px;
}

.characters-card-copy small {
    margin-bottom: 7px;
    color: var(--pink);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.characters-card-copy strong {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: .95;
    text-transform: uppercase;
}

.characters-card-copy > span {
    margin-top: 8px;
    color: #62666a;
    font-size: .78rem;
}

.characters-no-results {
    padding: 30px;
    border: 1px dashed #b8b9b6;
    background: #fff;
    color: #666a6e;
    text-align: center;
}

.characters-booking {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 40%, rgba(245, 0, 99, .3), transparent 28%),
        linear-gradient(115deg, #090b0d 0%, #171a1e 63%, #27000f 100%);
    color: #fff;
}

.characters-booking::before {
    position: absolute;
    z-index: -1;
    top: -80px;
    right: -50px;
    width: 430px;
    height: 430px;
    background: url('../../img/paint-logo-hd.png') center/contain no-repeat;
    content: '';
    opacity: .2;
}

.characters-booking .container {
    position: relative;
    display: grid;
    min-height: 520px;
    grid-template-columns: minmax(0, 1fr) 520px;
    align-items: center;
}

.characters-booking-copy {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding: 80px 0;
}

.characters-booking h2 {
    margin: 10px 0 20px;
    font-size: clamp(3.7rem, 6vw, 6.5rem);
    letter-spacing: -.04em;
    line-height: .82;
}

.characters-booking h2 span {
    color: var(--pink);
}

.characters-booking-copy > p:not(.eyebrow) {
    max-width: 530px;
    margin: 0 0 28px;
    color: #ced1d4;
    font-size: 1rem;
    line-height: 1.65;
}

.characters-booking .btn-light {
    color: #111316;
}

.characters-booking .btn-light:hover {
    border-color: var(--pink);
    background: var(--pink);
    color: #fff;
}

.characters-booking-cast {
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 570px;
    height: 500px;
}

.characters-booking-cast img {
    position: absolute;
    bottom: 0;
    height: 95%;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5));
}

.characters-booking-cast img:first-child {
    left: 0;
    height: 86%;
    transform: rotate(-3deg);
}

.characters-booking-cast img:last-child {
    right: 0;
}

.characters-footer-contact {
    display: grid;
    gap: 10px;
}

.characters-footer-contact > a,
.characters-footer-contact > span {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    color: #c7c9cb;
}

.characters-footer-contact i,
.characters-footer-contact .svg-inline--fa {
    display: grid;
    flex: 0 0 30px;
    width: 30px !important;
    height: 30px;
    padding: 8px;
    place-items: center;
    border: 1px solid rgba(245, 0, 99, .4);
    border-radius: 50%;
    color: var(--pink) !important;
}

.character-dialog {
    width: min(920px, calc(100vw - 30px));
    max-width: none;
    max-height: calc(100vh - 30px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: #111316;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
}

.character-dialog::backdrop {
    background: rgba(2, 3, 4, .86);
    backdrop-filter: blur(7px);
}

.character-dialog-panel {
    position: relative;
    display: grid;
    min-height: 570px;
    grid-template-columns: .9fr 1.1fr;
}

.character-dialog-close {
    position: absolute;
    z-index: 5;
    top: 15px;
    right: 15px;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 50%;
    background: #fff;
    color: #111316;
    font-size: 1.1rem;
}

.character-dialog-close:hover {
    border-color: var(--pink);
    background: var(--pink);
    color: #fff;
}

.character-dialog-media {
    display: grid;
    min-height: 570px;
    place-items: end center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(245, 0, 99, .22), transparent 45%),
        linear-gradient(145deg, #171a1e, #080a0c);
}

.character-dialog-media img {
    display: block;
    width: 100%;
    height: 540px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .42));
}

.character-dialog-copy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 70px 60px;
}

.character-dialog-copy h2 {
    margin: 6px 0 3px;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    letter-spacing: -.045em;
    line-height: .84;
    text-transform: uppercase;
}

.character-dialog-copy h3 {
    margin: 7px 0 22px;
    color: var(--pink);
    font-family: Inter, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.character-dialog-copy > p:not(.eyebrow) {
    margin: 0 0 30px;
    color: #5d6266;
    font-size: .96rem;
    line-height: 1.72;
}

.character-dialog-copy .btn {
    align-self: flex-start;
}

body.character-dialog-open {
    overflow: hidden;
}

@media (max-width: 1199.98px) {
    .characters-hero {
        grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr);
    }

    .characters-hero-stage {
        right: -120px;
        width: 760px;
    }

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

@media (max-width: 991.98px) {
    .characters-page-header .navbar-collapse {
        position: relative;
        z-index: 20;
    }

    .characters-page-header {
        min-height: 790px;
    }

    .characters-hero {
        display: block;
        min-height: 695px;
    }

    .characters-hero-copy {
        max-width: 720px;
        padding: 55px 0 0;
    }

    .characters-hero-copy > p:not(.eyebrow) {
        max-width: 590px;
    }

    .characters-hero-stage {
        right: -45px;
        bottom: 0;
        width: 670px;
        height: 410px;
        opacity: .62;
    }

    .characters-hero-number {
        font-size: 12rem;
    }

    .characters-library-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .characters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .characters-booking .container {
        min-height: 570px;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .characters-booking-copy {
        padding: 70px 0 250px;
    }

    .characters-booking-cast {
        right: -30px;
        height: 340px;
        opacity: .64;
    }
}

@media (max-width: 767.98px) {
    .characters-page-header {
        min-height: 730px;
    }

    .characters-hero {
        min-height: 635px;
    }

    .characters-hero-copy {
        padding-top: 42px;
    }

    .characters-hero-copy h1 {
        font-size: clamp(3.8rem, 16vw, 5.5rem);
    }

    .characters-hero-copy > p:not(.eyebrow) {
        max-width: 95%;
        font-size: .95rem;
    }

    .characters-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .characters-hero-stage {
        right: -35%;
        width: 630px;
        height: 350px;
        opacity: .46;
    }

    .characters-proof .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .characters-proof .container > div {
        min-height: 94px;
    }

    .characters-proof .container > div:nth-child(2)::after {
        display: none;
    }

    .characters-proof .container > div:nth-child(-n+2) {
        border-bottom: 1px solid #dededa;
    }

    .characters-filter {
        flex-wrap: nowrap;
        margin-right: calc(var(--bs-gutter-x) * -.5);
        margin-left: calc(var(--bs-gutter-x) * -.5);
        padding: 3px calc(var(--bs-gutter-x) * .5) 12px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .characters-filter button {
        flex: 0 0 auto;
    }

    .characters-card-media,
    .characters-card.is-highlighted .characters-card-media {
        height: 340px;
    }

    .characters-card.is-highlighted {
        grid-column: auto;
    }

    .character-dialog {
        overflow-y: auto;
    }

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

    .character-dialog-media {
        min-height: 370px;
    }

    .character-dialog-media img {
        height: 355px;
    }

    .character-dialog-copy {
        padding: 38px 28px 42px;
    }
}

@media (max-width: 575.98px) {
    .characters-page-header {
        min-height: 760px;
    }

    .characters-hero {
        min-height: 670px;
    }

    .characters-hero-copy .eyebrow {
        font-size: .64rem;
    }

    .characters-hero-stage {
        right: -255px;
        width: 650px;
        height: 345px;
    }

    .characters-hero-number {
        right: -30px;
        font-size: 9rem;
    }

    .characters-proof strong {
        font-size: 2.15rem;
    }

    .characters-proof span {
        max-width: 82px;
        font-size: .62rem;
    }

    .characters-library-intro h2 {
        font-size: 3.45rem;
    }

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

    .characters-card-media,
    .characters-card.is-highlighted .characters-card-media {
        height: 420px;
    }

    .characters-card-copy {
        min-height: 118px;
    }

    .characters-booking-copy {
        padding-top: 60px;
    }

    .characters-booking h2 {
        font-size: 3.45rem;
    }

    .characters-booking-cast {
        right: -180px;
        width: 510px;
    }

    .character-dialog-media {
        min-height: 320px;
    }

    .character-dialog-media img {
        height: 310px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .characters-card,
    .characters-card-media img,
    .characters-card-more,
    .characters-filter button,
    .characters-text-link i {
        transition: none;
    }
}
