:root {
    --kp-navy: #122943;
    --kp-blue: #04a7dd;
    --kp-pink: #ef3f8f;
    --kp-cream: #f7f4ef;
    --kp-text: #17283a;
    --kp-muted: #66717d;
    --kp-border: rgba(18, 41, 67, 0.13);
    --kp-radius: 22px;
}
.kp-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}
.kp-realisations-page,
.kp-realisation-single {
    color: var(--kp-text);
    background: #fff;
}
.kp-kicker {
    display: inline-block;
    color: var(--kp-pink);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.kp-archive-hero {
    background: var(--kp-cream);
    padding: 94px 0 80px;
    overflow: hidden;
    position: relative;
}
.kp-archive-hero:after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 58px solid var(--kp-blue);
    border-radius: 50%;
    right: -100px;
    top: -120px;
    opacity: 0.12;
}
.kp-archive-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 60px;
}
.kp-archive-hero h1,
.kp-single-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--kp-navy);
    margin: 0;
}
.kp-archive-hero p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--kp-muted);
    margin: 0;
    max-width: 530px;
}
.kp-archive-content {
    padding: 58px 0 90px;
}
.kp-filters {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding-bottom: 18px;
    margin-bottom: 30px;
    scrollbar-width: thin;
}
.kp-filter {
    white-space: nowrap;
    border: 1px solid var(--kp-border);
    border-radius: 999px;
    padding: 10px 18px;
    color: var(--kp-navy);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}
.kp-filter:hover,
.kp-filter.is-active {
    background: var(--kp-navy);
    color: #fff;
    border-color: var(--kp-navy);
}
.kp-project-grid {
    columns: 3;
    column-gap: 24px;
}
.kp-project-card {
    break-inside: avoid;
    margin: 0 0 24px;
    border-radius: var(--kp-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--kp-border);
    box-shadow: 0 14px 40px rgba(18, 41, 67, 0.06);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.kp-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 60px rgba(18, 41, 67, 0.12);
}
.kp-project-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.kp-project-card__media {
    position: relative;
    background: var(--kp-cream);
    overflow: hidden;
}
.kp-project-card__media img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.45s;
}
.kp-project-card:hover .kp-project-card__media img {
    transform: scale(1.035);
}
.kp-project-card__media--empty {
    min-height: 240px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--kp-navy), #274f76);
    color: #fff;
    font-weight: 800;
}
.kp-card-video {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--kp-pink);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.kp-project-card__body {
    position: relative;
    padding: 22px 64px 24px 22px;
}
.kp-project-card__category {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--kp-pink);
    font-weight: 800;
}
.kp-project-card h2 {
    font-size: 1.35rem;
    color: var(--kp-navy);
    margin: 7px 0 5px;
    line-height: 1.2;
}
.kp-project-card p {
    margin: 0;
    color: var(--kp-muted);
    font-size: 0.92rem;
}
.kp-card-arrow {
    position: absolute;
    right: 20px;
    bottom: 22px;
    font-size: 1.4rem;
    color: var(--kp-blue);
}
.kp-pagination {
    margin-top: 48px;
    text-align: center;
}
.kp-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.kp-pagination a,
.kp-pagination span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--kp-border);
    text-decoration: none;
}
.kp-pagination .current {
    background: var(--kp-navy);
    color: #fff;
}
.kp-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--kp-cream);
    border-radius: var(--kp-radius);
}
.kp-cta {
    background: var(--kp-navy);
    color: #fff;
    padding: 62px 0;
}
.kp-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.kp-cta h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.6rem);
    margin: 0 0 10px;
    letter-spacing: -0.04em;
}
.kp-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    max-width: 650px;
}
.kp-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--kp-pink);
    color: #fff !important;
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.kp-single-hero {
    background: var(--kp-cream);
    padding: 78px 0;
}
.kp-single-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 58px;
    align-items: center;
}
.kp-single-hero__grid--no-image {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    text-align: center;
}
.kp-back-link {
    display: inline-block;
    color: var(--kp-muted);
    text-decoration: none;
    margin-bottom: 38px;
}
.kp-term-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.kp-term-list a {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--kp-pink);
    text-decoration: none;
}
.kp-single-subtitle {
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.35;
    color: var(--kp-blue);
    font-weight: 700;
    margin: 20px 0 0;
}
.kp-single-summary {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--kp-muted);
    max-width: 640px;
    margin: 22px 0 0;
}
.kp-project-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 30px;
    border-top: 1px solid var(--kp-border);
    padding-top: 24px;
    margin: 30px 0 0;
}
.kp-project-facts div {
    min-width: 0;
}
.kp-project-facts dt {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--kp-muted);
    font-weight: 800;
}
.kp-project-facts dd {
    margin: 4px 0 0;
    color: var(--kp-navy);
    font-weight: 700;
}
.kp-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.kp-service-tags span {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--kp-border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}
.kp-single-hero__image {
    margin: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(18, 41, 67, 0.18);
}
.kp-single-hero__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: cover;
}
.kp-story {
    padding: 100px 0;
}
.kp-story-block {
    display: grid;
    grid-template-columns: 70px minmax(0, 760px);
    gap: 26px;
    padding: 44px 0;
    border-bottom: 1px solid var(--kp-border);
}
.kp-story-block > span {
    font-size: 0.8rem;
    color: var(--kp-pink);
    font-weight: 800;
}
.kp-story-block h2,
.kp-section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: -0.04em;
    color: var(--kp-navy);
    margin: 0 0 18px;
}
.kp-story-block p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--kp-muted);
}
.kp-entry-content {
    max-width: 860px;
    padding: 90px 0;
    font-size: 1.05rem;
    line-height: 1.85;
}
.kp-media-section,
.kp-related {
    padding: 20px 0 100px;
}
.kp-section-heading {
    margin-bottom: 32px;
}
.kp-media-grid {
    columns: 2;
    column-gap: 22px;
}
.kp-media-item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--kp-cream);
    cursor: pointer;
    break-inside: avoid;
}
.kp-media-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s;
}
.kp-media-item:hover img {
    transform: scale(1.025);
}
.kp-video-placeholder {
    display: block;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--kp-navy), var(--kp-blue));
}
.kp-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--kp-pink);
    font-size: 1.4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
}
.kp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.kp-related-grid .kp-project-card {
    margin: 0;
}
.kp-related-grid .kp-project-card__media img {
    height: 300px;
    object-fit: cover;
}
.kp-lightbox {
    position: fixed;
    z-index: 999999;
    inset: 0;
    background: rgba(5, 15, 27, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
}
.kp-lightbox.is-open {
    display: flex;
}
.kp-lightbox__content {
    width: min(1100px, 100%);
    max-height: 82vh;
    display: grid;
    place-items: center;
}
.kp-lightbox__content img,
.kp-lightbox__content video {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 10px;
}
.kp-lightbox__content iframe {
    width: min(1100px, 90vw);
    aspect-ratio: 16/9;
    border: 0;
}
.kp-lightbox button {
    position: absolute;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
}
.kp-lightbox__close {
    right: 28px;
    top: 18px;
}
.kp-lightbox__prev {
    left: 24px;
}
.kp-lightbox__next {
    right: 24px;
}
.kp-lightbox__caption {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    margin: 0;
    max-width: 80%;
    text-align: center;
}
.kp-no-scroll {
    overflow: hidden;
}
@media (max-width: 980px) {
    .kp-project-grid {
        columns: 2;
    }
    .kp-archive-hero__inner,
    .kp-single-hero__grid {
        grid-template-columns: 1fr;
    }
    .kp-single-hero__image {
        order: -1;
    }
    .kp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .kp-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 640px) {
    .kp-container {
        width: min(100% - 28px, 1180px);
    }
    .kp-archive-hero,
    .kp-single-hero {
        padding: 58px 0;
    }
    .kp-archive-hero__inner {
        gap: 24px;
    }
    .kp-project-grid,
    .kp-media-grid {
        columns: 1;
    }
    .kp-project-facts {
        grid-template-columns: 1fr;
    }
    .kp-story {
        padding: 60px 0;
    }
    .kp-story-block {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .kp-related-grid {
        grid-template-columns: 1fr;
    }
    .kp-related-grid .kp-project-card__media img {
        height: auto;
    }
    .kp-cta {
        padding: 48px 0;
    }
    .kp-lightbox {
        padding: 60px 16px;
    }
    .kp-lightbox__prev,
    .kp-lightbox__next {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
