:root {
    --rpd2-bg: #0b0d10;
    --rpd2-panel: #111419;
    --rpd2-panel-2: #161a20;
    --rpd2-line: rgba(255, 255, 255, .12);
    --rpd2-line-strong: rgba(255, 255, 255, .2);
    --rpd2-text: #f5f6f7;
    --rpd2-muted: #aeb5bd;
    --rpd2-red: var(--red, #e31e24);
}

.rpd2-page {
    background: var(--rpd2-bg);
    color: var(--rpd2-text);
}

.rpd2-page *,
.rpd2-page *::before,
.rpd2-page *::after {
    box-sizing: border-box;
}

.rpd2-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 5vw, 72px) 0 clamp(70px, 9vw, 128px);
    border-bottom: 1px solid var(--rpd2-line);
    background:
        radial-gradient(circle at 82% 18%, rgba(227, 30, 36, .13), transparent 31%),
        linear-gradient(180deg, #0f1216 0%, #0b0d10 100%);
}

.rpd2-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.rpd2-hero > .container {
    position: relative;
    z-index: 1;
}

.rpd2-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(30px, 4vw, 56px);
    color: #858d96;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.rpd2-breadcrumb a {
    color: #c9ced4;
    text-decoration: none;
    transition: color .2s ease;
}

.rpd2-breadcrumb a:hover {
    color: #fff;
}

.rpd2-hero-grid {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    gap: clamp(42px, 6vw, 92px);
    align-items: center;
}

.rpd2-copy {
    min-width: 0;
}

.rpd2-eyebrow {
    margin: 0 0 14px;
    color: var(--rpd2-red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.rpd2-copy h1,
.rpd2-story-heading h2,
.rpd2-contact h2 {
    margin: 0;
    color: #fff;
    font-weight: 850;
    letter-spacing: -.052em;
    line-height: .98;
}

.rpd2-copy h1 {
    max-width: 720px;
    font-size: clamp(44px, 5.4vw, 82px);
}

.rpd2-copy h1 span,
.rpd2-story-heading h2 span,
.rpd2-contact h2 span {
    color: var(--rpd2-red);
}

.rpd2-lead {
    max-width: 690px;
    margin: 26px 0 0;
    color: #c6cbd1;
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.72;
}

.rpd2-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 34px;
    border: 1px solid var(--rpd2-line);
    background: var(--rpd2-line);
}

.rpd2-fact {
    min-width: 0;
    padding: 15px 17px 16px;
    background: rgba(16, 19, 24, .94);
}

.rpd2-fact span,
.rpd2-fact strong {
    display: block;
}

.rpd2-fact span {
    margin-bottom: 6px;
    color: #8e969f;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.rpd2-fact strong {
    overflow-wrap: anywhere;
    color: #f7f8f9;
    font-size: 13px;
    line-height: 1.45;
}

.rpd2-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: #c5cad0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.rpd2-back:hover {
    color: #fff;
    transform: translateX(-3px);
}

.rpd2-showcase {
    min-width: 0;
}

.rpd2-slider {
    width: 100%;
}

.rpd2-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--rpd2-line-strong);
    background: #080a0d;
    box-shadow: 0 34px 85px rgba(0, 0, 0, .36);
}

.rpd2-stage:focus-visible {
    outline: 2px solid var(--rpd2-red);
    outline-offset: 4px;
}

.rpd2-stage::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 55%, rgba(0,0,0,.48) 100%);
}

.rpd2-slide {
    position: absolute;
    z-index: 1;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .36s ease, visibility .36s ease;
}

.rpd2-slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rpd2-image-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.rpd2-image-button:focus-visible {
    outline: 3px solid var(--rpd2-red);
    outline-offset: -5px;
}

.rpd2-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.001);
}

.rpd2-slide figcaption {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 16px;
    left: 18px;
    max-width: calc(100% - 150px);
    color: #fff;
    font-size: 11px;
    line-height: 1.45;
    text-shadow: 0 1px 14px rgba(0,0,0,.9);
}

.rpd2-media-badge {
    position: absolute;
    z-index: 5;
    top: 16px;
    left: 16px;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(9, 11, 14, .72);
    backdrop-filter: blur(8px);
}

.rpd2-media-badge span {
    display: block;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rpd2-arrow,
.rpd2-lightbox-arrow {
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    background: rgba(8, 10, 13, .68);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.rpd2-arrow {
    position: absolute;
    z-index: 6;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
}

.rpd2-arrow--prev {
    left: 16px;
}

.rpd2-arrow--next {
    right: 16px;
}

.rpd2-arrow:hover,
.rpd2-lightbox-arrow:hover {
    border-color: rgba(255,255,255,.65);
    background: rgba(227, 30, 36, .92);
}

.rpd2-arrow:focus-visible,
.rpd2-lightbox-arrow:focus-visible,
.rpd2-lightbox-close:focus-visible,
.rpd2-thumb:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.rpd2-counter {
    position: absolute;
    z-index: 6;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 70px;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    background: rgba(8, 10, 13, .72);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.rpd2-showcase-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 2px 0;
    color: #8f979f;
    font-size: 11px;
    line-height: 1.55;
}

.rpd2-showcase-meta p {
    margin: 0;
}

.rpd2-showcase-count {
    flex: 0 0 auto;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rpd2-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-bottom: 5px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.rpd2-thumb {
    position: relative;
    flex: 0 0 104px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--rpd2-line);
    background: #0d1014;
    opacity: .62;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.rpd2-thumb:hover,
.rpd2-thumb.is-active {
    opacity: 1;
    border-color: var(--rpd2-red);
}

.rpd2-thumb.is-active {
    transform: translateY(-2px);
}

.rpd2-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rpd2-thumb span {
    position: absolute;
    right: 6px;
    bottom: 5px;
    padding: 3px 5px;
    color: #fff;
    background: rgba(0,0,0,.68);
    font-size: 8px;
    font-weight: 900;
}

.rpd2-story {
    border-bottom: 1px solid var(--rpd2-line);
    background: #0e1115;
}

.rpd2-story-grid {
    display: grid;
    grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr);
    gap: clamp(42px, 7vw, 100px);
    align-items: start;
}

.rpd2-story-heading h2,
.rpd2-contact h2 {
    font-size: clamp(36px, 4vw, 58px);
}

.rpd2-prose {
    max-width: 860px;
    color: #b9c0c7;
    font-size: 16px;
    line-height: 1.92;
}

.rpd2-contact {
    background: linear-gradient(135deg, #12161b 0%, #0d1014 68%, rgba(227,30,36,.10) 100%);
}

.rpd2-contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: end;
}

.rpd2-contact p:not(.rpd2-eyebrow) {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--rpd2-muted);
    font-size: 15px;
    line-height: 1.7;
}

.rpd2-contact .btn {
    white-space: nowrap;
}

.rpd2-lightbox {
    width: min(1500px, calc(100vw - 28px));
    max-width: none;
    max-height: calc(100vh - 28px);
    padding: 0;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    background: #090b0e;
    box-shadow: 0 32px 100px rgba(0,0,0,.72);
}

.rpd2-lightbox::backdrop {
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(5px);
}

.rpd2-lightbox-shell {
    position: relative;
    min-height: 200px;
}

.rpd2-lightbox figure {
    display: grid;
    place-items: center;
    margin: 0;
    min-height: min(78vh, 900px);
    background: #07090b;
}

.rpd2-lightbox figure img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.rpd2-lightbox figcaption {
    position: absolute;
    right: 80px;
    bottom: 18px;
    left: 80px;
    color: #e5e8eb;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 1px 12px #000;
}

.rpd2-lightbox-close {
    position: absolute;
    z-index: 8;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.28);
    color: #fff;
    background: rgba(8,10,13,.72);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.rpd2-lightbox-arrow {
    position: absolute;
    z-index: 8;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
}

.rpd2-lightbox-arrow--prev {
    left: 16px;
}

.rpd2-lightbox-arrow--next {
    right: 16px;
}

.rpd2-lightbox-counter {
    position: absolute;
    z-index: 8;
    right: 16px;
    bottom: 14px;
    display: flex;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(8,10,13,.72);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

@media (max-width: 980px) {
    .rpd2-hero-grid,
    .rpd2-story-grid {
        grid-template-columns: 1fr;
    }

    .rpd2-hero-grid {
        gap: 44px;
    }

    .rpd2-copy {
        max-width: 820px;
    }

    .rpd2-showcase {
        max-width: 900px;
    }

    .rpd2-story-grid {
        gap: 28px;
    }
}

@media (max-width: 720px) {
    .rpd2-hero {
        padding-top: 28px;
        padding-bottom: 72px;
    }

    .rpd2-breadcrumb {
        margin-bottom: 28px;
        font-size: 9px;
    }

    .rpd2-copy h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .rpd2-lead {
        margin-top: 20px;
        font-size: 16px;
    }

    .rpd2-facts {
        grid-template-columns: 1fr 1fr;
        margin-top: 26px;
    }

    .rpd2-fact {
        padding: 13px 14px;
    }

    .rpd2-stage {
        aspect-ratio: 16 / 10;
    }

    .rpd2-arrow {
        width: 40px;
        height: 40px;
    }

    .rpd2-arrow--prev {
        left: 10px;
    }

    .rpd2-arrow--next {
        right: 10px;
    }

    .rpd2-counter {
        right: 10px;
        bottom: 10px;
    }

    .rpd2-media-badge {
        top: 10px;
        left: 10px;
    }

    .rpd2-slide figcaption {
        right: 96px;
        bottom: 12px;
        left: 12px;
        max-width: none;
    }

    .rpd2-showcase-meta {
        display: block;
    }

    .rpd2-showcase-count {
        margin-top: 4px !important;
    }

    .rpd2-thumb {
        flex-basis: 86px;
    }

    .rpd2-contact-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }

    .rpd2-contact .btn {
        width: 100%;
        justify-content: center;
    }

    .rpd2-lightbox {
        width: calc(100vw - 14px);
        max-height: calc(100vh - 14px);
    }

    .rpd2-lightbox figure {
        min-height: 72vh;
    }

    .rpd2-lightbox-arrow {
        top: auto;
        bottom: 14px;
        width: 44px;
        height: 44px;
        transform: none;
    }

    .rpd2-lightbox-arrow--prev {
        left: 14px;
    }

    .rpd2-lightbox-arrow--next {
        left: 64px;
        right: auto;
    }

    .rpd2-lightbox figcaption {
        right: 18px;
        bottom: 72px;
        left: 18px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .rpd2-facts {
        grid-template-columns: 1fr;
    }

    .rpd2-stage {
        aspect-ratio: 4 / 3;
    }

    .rpd2-media-badge {
        max-width: calc(100% - 90px);
    }

    .rpd2-story-heading h2,
    .rpd2-contact h2 {
        font-size: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rpd2-slide,
    .rpd2-arrow,
    .rpd2-lightbox-arrow,
    .rpd2-thumb,
    .rpd2-back {
        transition: none !important;
    }
}
