/* =========================================================
   PROPERTY WITH PURPOSE
   Source: Kirst Estate/Proprety With Purpose Block.html
========================================================= */
/* =========================================================
   LOCAL RESET
========================================================= */

#kirst-estate-services-bridge,
#kirst-estate-services-bridge *,
#kirst-estate-services-bridge *::before,
#kirst-estate-services-bridge *::after {
    box-sizing: border-box;
}

/* =========================================================
   SECTION
========================================================= */

#kirst-estate-services-bridge {
    --kes-white: #FDFDFC;

    --kes-emerald: #0E2A24;
    --kes-emerald-deep: #071B17;
    --kes-emerald-soft: #173B32;

    --kes-champagne: #B89A68;
    --kes-champagne-light: #D2BD98;

    --kes-muted: #89928D;

    /*
     * JavaScript replaces this with a stable pixel value.
     * This prevents jumps caused by mobile browser toolbars.
     */
    --kes-viewport-height: 100vh;

    position: relative;
    display: block;

    width: 100%;

    /*
     * Total scroll distance of the animation.
     * Increase the multiplier for a slower sequence.
     */
    height: calc(
        var(--kes-viewport-height) * 3.2
    );

    margin: 0;
    padding: 0;

    background-color: var(--kes-emerald-deep);

    isolation: isolate;
}

/*
 * Prevents thin seams between this widget
 * and the following Elementor section.
 */
#kirst-estate-services-bridge::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;

    height: 8px;

    background-color: var(--kes-emerald-deep);

    pointer-events: none;
    z-index: 20;
}

/* =========================================================
   FULL-HEIGHT STICKY VIEWPORT
========================================================= */

.kes-bridge__sticky {
    position: -webkit-sticky;
    position: sticky;

    top: 0;

    width: 100%;

    height: var(--kes-viewport-height);
    min-height: 580px;

    overflow: hidden;

    color: var(--kes-emerald);
    background-color: var(--kes-white);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: normal;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: geometricPrecision;

    isolation: isolate;

    transform: translateZ(0);
    backface-visibility: hidden;

    will-change: background-color;
}

/* =========================================================
   AMBIENT BACKGROUND
========================================================= */

.kes-bridge__ambient {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;
    z-index: 1;
}

.kes-bridge__ambient-glow {
    position: absolute;

    top: -48%;
    right: -14%;

    width: min(72vw, 1100px);
    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(184, 154, 104, 0.14) 0%,
            rgba(184, 154, 104, 0.045) 38%,
            rgba(184, 154, 104, 0) 72%
        );

    opacity: 0.72;

    transform: translate3d(0, 0, 0);

    will-change:
        opacity,
        transform;
}

.kes-bridge__ambient-circle {
    position: absolute;

    display: block;

    border:
        1px solid
        rgba(184, 154, 104, 0.15);

    border-radius: 50%;

    opacity: 0.75;

    backface-visibility: hidden;

    will-change:
        opacity,
        transform,
        border-color;
}

.kes-bridge__ambient-circle--outer {
    top: 50%;
    right: clamp(-340px, -12vw, -100px);

    width: clamp(520px, 46vw, 880px);
    aspect-ratio: 1;

    transform:
        translate3d(0, -50%, 0)
        scale(0.94);
}

.kes-bridge__ambient-circle--inner {
    top: 50%;
    right: clamp(-190px, -4vw, -35px);

    width: clamp(320px, 29vw, 550px);
    aspect-ratio: 1;

    border-color:
        rgba(184, 154, 104, 0.09);

    transform:
        translate3d(0, -50%, 0)
        scale(0.9);
}

.kes-bridge__ambient-line {
    position: absolute;

    top: -35%;

    width: 1px;
    height: 170%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(14, 42, 36, 0.085),
            transparent
        );

    transform: rotate(22deg);

    will-change:
        opacity,
        background;
}

.kes-bridge__ambient-line--one {
    right: 24%;
}

.kes-bridge__ambient-line--two {
    right: 40%;

    opacity: 0.5;
}

/* =========================================================
   INTRO LABEL
========================================================= */

.kes-bridge__intro {
    position: absolute;

    top: clamp(54px, 10vh, 110px);
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(16px, 1.5vw, 28px);

    width: min(90vw, 740px);

    color: rgba(14, 42, 36, 0.58);

    opacity: 1;

    transform:
        translate3d(-50%, 0, 0);

    pointer-events: none;
    z-index: 7;

    will-change:
        opacity,
        transform,
        color;
}

.kes-bridge__intro-text {
    display: block;
    flex: 0 0 auto;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;

    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;

    white-space: nowrap;
}

.kes-bridge__intro-line {
    display: block;
    flex: 1 1 auto;

    width: 100%;
    max-width: 96px;
    height: 1px;

    background-color: currentColor;

    opacity: 0.42;
}

/* =========================================================
   MAIN HEADING
========================================================= */

.kes-bridge__headline {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(28px, 3vw, 68px);

    width: 100%;

    padding:
        0
        clamp(18px, 3vw, 60px);

    white-space: nowrap;

    transform:
        translate3d(-50%, -50%, 0);

    pointer-events: none;
    z-index: 3;
}

.kes-bridge__word {
    display: block;

    color: var(--kes-emerald);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: clamp(
        84px,
        8.6vw,
        164px
    );

    font-weight: 700;
    line-height: 0.9;

    letter-spacing: -0.065em;

    opacity: 1;

    transform:
        translate3d(0, 0, 0);

    backface-visibility: hidden;

    will-change:
        transform,
        opacity,
        color;
}

.kes-bridge__word--right {
    color: rgba(14, 42, 36, 0.44);
}

/* =========================================================
   VALUES
========================================================= */

.kes-bridge__values {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: clamp(8px, 1.1vh, 18px);

    width: min(94vw, 1500px);

    transform:
        translate3d(
            -50%,
            calc(-50% + 230px),
            0
        );

    pointer-events: none;
    z-index: 4;

    backface-visibility: hidden;

    will-change: transform;
}

.kes-bridge__value {
    display: block;

    width: 100%;

    color: var(--kes-emerald);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: clamp(
        44px,
        5vw,
        96px
    );

    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.055em;
    text-align: center;

    white-space: nowrap;

    opacity: 0;
    filter: blur(7px);

    transform:
        translate3d(0, 96px, 0);

    backface-visibility: hidden;

    will-change:
        opacity,
        transform,
        filter,
        color;
}

/* =========================================================
   FINAL MESSAGE
========================================================= */

.kes-bridge__final {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: clamp(10px, 1.5vh, 20px);

    width: min(94vw, 1550px);

    color: var(--kes-white);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: clamp(
        52px,
        6.1vw,
        118px
    );

    font-weight: 700;
    line-height: 0.97;

    letter-spacing: -0.06em;
    text-align: center;

    opacity: 0;
    filter: blur(9px);

    transform:
        translate3d(
            -50%,
            calc(-50% + 105px),
            0
        );

    pointer-events: none;
    z-index: 8;

    backface-visibility: hidden;

    will-change:
        opacity,
        transform,
        filter;
}

.kes-bridge__final-primary,
.kes-bridge__final-secondary {
    display: block;

    max-width: 100%;
}

.kes-bridge__final-primary {
    color: var(--kes-white);
}

.kes-bridge__final-secondary {
    color:
        rgba(253, 253, 252, 0.46);
}

/* =========================================================
   PROGRESS INDICATOR
========================================================= */

.kes-bridge__progress {
    position: absolute;

    left: 50%;
    bottom: clamp(24px, 4vh, 44px);

    width: min(220px, 38vw);
    height: 1px;

    overflow: hidden;

    background-color:
        rgba(14, 42, 36, 0.14);

    transform: translateX(-50%);

    pointer-events: none;
    z-index: 10;

    will-change: background-color;
}

.kes-bridge__progress-fill {
    display: block;

    width: 100%;
    height: 100%;

    color: var(--kes-emerald);
    background-color: currentColor;

    transform: scaleX(0);
    transform-origin: left center;

    will-change:
        transform,
        color;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.kes-bridge__sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;
}

/* =========================================================
   MEDIUM DESKTOP
========================================================= */

@media (max-width: 1500px) {
    .kes-bridge__word {
        font-size: clamp(
            92px,
            8.7vw,
            142px
        );
    }

    .kes-bridge__value {
        font-size: clamp(
            46px,
            5vw,
            82px
        );
    }

    .kes-bridge__final {
        font-size: clamp(
            54px,
            6vw,
            100px
        );
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
    #kirst-estate-services-bridge {
        height: calc(
            var(--kes-viewport-height) * 3.25
        );
    }

    .kes-bridge__sticky {
        min-height: 560px;
    }

    .kes-bridge__intro {
        top: clamp(48px, 9vh, 84px);
    }

    .kes-bridge__headline {
        gap: clamp(20px, 2.8vw, 38px);
    }

    .kes-bridge__word {
        font-size: clamp(
            66px,
            9vw,
            100px
        );

        letter-spacing: -0.055em;
    }

    .kes-bridge__values {
        gap: clamp(10px, 1.4vh, 17px);
    }

    .kes-bridge__value {
        font-size: clamp(
            42px,
            6vw,
            64px
        );
    }

    .kes-bridge__final {
        font-size: clamp(
            48px,
            7.2vw,
            78px
        );
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    #kirst-estate-services-bridge {
        height: calc(
            var(--kes-viewport-height) * 3.35
        );

        overflow-x: hidden;
        overflow-x: clip;
    }

    .kes-bridge__sticky {
        top: 0;

        height:
            calc(
                var(--kes-viewport-height) + 72px
            );

        min-height:
            calc(
                var(--kes-viewport-height) + 72px
            );

        contain: none;

        transform: translateZ(0);
        backface-visibility: hidden;
    }

    @supports (height: 100lvh) {
        .kes-bridge__sticky {
            height: 100lvh;
            min-height: 100lvh;
        }
    }

    .kes-bridge__ambient-glow {
        top: -10%;
        right: -68%;

        width: 155vw;
    }

    .kes-bridge__ambient-circle--outer {
        right: -82%;

        width: 155vw;
    }

    .kes-bridge__ambient-circle--inner {
        right: -48%;

        width: 100vw;
    }

    .kes-bridge__ambient-line--one {
        right: 16%;
    }

    .kes-bridge__ambient-line--two {
        right: 53%;
    }

    .kes-bridge__intro {
        top: clamp(38px, 8vh, 70px);

        gap: 0;

        width: calc(100% - 28px);
    }

    .kes-bridge__intro-text {
        width: 100%;

        font-size: 10px;
        line-height: 1.5;

        letter-spacing: 0.14em;

        white-space: normal;
    }

    .kes-bridge__intro-line {
        display: none;
    }

    .kes-bridge__headline {
        gap: clamp(12px, 3.4vw, 20px);

        padding: 0 10px;
    }

    .kes-bridge__word {
        font-size: clamp(
            36px,
            10.4vw,
            54px
        );

        line-height: 0.96;

        letter-spacing: -0.045em;
    }

    .kes-bridge__values {
        gap: clamp(12px, 1.8vh, 20px);

        width: calc(100% - 24px);
    }

    .kes-bridge__value {
        font-size: clamp(
            31px,
            8.5vw,
            46px
        );

        line-height: 1.04;

        letter-spacing: -0.035em;

        white-space: normal;

        filter: none !important;
    }

    .kes-bridge__final {
        gap: clamp(10px, 1.6vh, 16px);

        width: calc(100% - 28px);

        font-size: clamp(
            38px,
            10vw,
            58px
        );

        line-height: 1;

        letter-spacing: -0.045em;

        filter: none !important;
    }

    .kes-bridge__final-primary,
    .kes-bridge__final-secondary {
        max-width: 100%;
    }

    .kes-bridge__progress {
        bottom:
            max(
                20px,
                env(safe-area-inset-bottom)
            );

        width: min(175px, 45vw);
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
    .kes-bridge__intro-text {
        font-size: 9px;
    }

    .kes-bridge__headline {
        gap: 11px;
    }

    .kes-bridge__word {
        font-size: clamp(
            31px,
            9.6vw,
            40px
        );
    }

    .kes-bridge__value {
        font-size: clamp(
            28px,
            8vw,
            36px
        );
    }

    .kes-bridge__final {
        font-size: clamp(
            34px,
            9.4vw,
            46px
        );
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    #kirst-estate-services-bridge {
        height: auto;

        background-color:
            var(--kes-emerald-deep);
    }

    .kes-bridge__sticky {
        position: relative;

        top: auto;

        height: auto;
        min-height: 0;

        overflow: hidden;

        background-color:
            var(--kes-white);
    }

    .kes-bridge__intro,
    .kes-bridge__headline,
    .kes-bridge__values,
    .kes-bridge__final {
        position: relative;

        top: auto;
        left: auto;

        width: 100%;

        transform: none !important;
    }

    .kes-bridge__intro {
        padding: 60px 20px 0;
        margin: 0 auto 90px;

        opacity: 1 !important;
    }

    .kes-bridge__headline {
        flex-wrap: wrap;

        padding: 0 20px;
        margin-bottom: 100px;
    }

    .kes-bridge__word {
        opacity: 1 !important;

        transform: none !important;
    }

    .kes-bridge__values {
        gap: 20px;

        padding: 0 20px;
        margin: 0 auto 110px;
    }

    .kes-bridge__value {
        opacity: 1 !important;

        filter: none !important;

        transform: none !important;
    }

    .kes-bridge__final {
        padding: 110px 20px;

        background-color:
            var(--kes-emerald-deep);

        opacity: 1 !important;

        filter: none !important;

        transform: none !important;
    }

    .kes-bridge__progress {
        display: none;
    }
}

/* =========================================================
   ESTATE SERVICES
   Source: Kirst Estate/Kirst Estate Services.html
========================================================= */
/* =========================================================
   RESET
========================================================= */

#kirst-estate-services-v3,
#kirst-estate-services-v3 *,
#kirst-estate-services-v3 *::before,
#kirst-estate-services-v3 *::after {
    box-sizing: border-box;
}

/* =========================================================
   SECTION / TOKENS
========================================================= */

#kirst-estate-services-v3 {
    --kv-white: #FDFDFC;

    --kv-emerald: #0E2A24;
    --kv-emerald-deep: #071B17;

    --kv-champagne: #B89A68;
    --kv-champagne-light: #D2BD98;

    --kv-text: #13241D;
    --kv-muted: #78827D;

    --kv-gap: clamp(18px, 1.6vw, 28px);

    position: relative;
    display: block;

    width: 100%;

    padding: clamp(80px, 10vh, 150px) 0 clamp(80px, 10vh, 150px);

    background-color: var(--kv-white);

    color: var(--kv-emerald);

    font-family: "Montserrat", Arial, sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.kest-svc__inner {
    width: min(1800px, 94vw);

    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.kest-svc__header {
    max-width: 780px;

    margin-bottom: clamp(48px, 6.5vh, 84px);
}

.kest-svc__eyebrow,
.kest-svc__hero-eyebrow {
    display: flex;
    align-items: center;

    gap: 13px;

    color: rgba(14, 42, 36, 0.54);

    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.kest-svc__eyebrow {
    margin-bottom: clamp(16px, 2vh, 24px);

    opacity: 0;
    transform: translate3d(0, 18px, 0);
}

.kest-svc__eyebrow-dot {
    display: block;
    flex: 0 0 auto;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background-color: var(--kv-emerald);

    box-shadow: 0 0 0 7px rgba(14, 42, 36, 0.055);
}

.kest-svc__title {
    display: block;

    margin: 0 0 clamp(16px, 2.2vh, 26px);

    font-family: "Manrope", Arial, sans-serif;

    font-size: clamp(36px, 3.6vw, 64px);
    font-weight: 700;
    line-height: 0.99;

    letter-spacing: -0.055em;
}

.kest-svc__title-line {
    display: block;

    opacity: 0;
    transform: translate3d(0, 26px, 0);
}

.kest-svc__title-line--muted {
    color: rgba(14, 42, 36, 0.4);
}

.kest-svc__desc {
    max-width: 560px;

    margin: 0 0 clamp(22px, 3vh, 32px);

    color: rgba(19, 36, 29, 0.63);

    font-size: clamp(14px, 0.95vw, 17px);
    font-weight: 400;
    line-height: 1.68;

    letter-spacing: -0.01em;

    opacity: 0;
    transform: translate3d(0, 18px, 0);
}

.kest-svc__rule {
    display: block;

    width: 100%;
    max-width: 780px;
    height: 1px;

    background-color: rgba(14, 42, 36, 0.14);

    transform: scaleX(0);
    transform-origin: left center;
}

/* =========================================================
   HERO BANNER
========================================================= */

.kest-svc__hero {
    display: grid;

    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;

    min-height: clamp(440px, 42vw, 580px);

    margin-bottom: clamp(28px, 3vw, 44px);

    overflow: hidden;

    background-color: var(--kv-white);

    border: 1px solid rgba(14, 42, 36, 0.14);
    border-radius: 3px;
}

.kest-svc__hero-media {
    position: relative;

    overflow: hidden;

    background-color: #E7ECE9;

    clip-path: inset(0 100% 0 0);
}

.kest-svc__hero-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.14);

    will-change: transform;
}

.kest-svc__hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(7, 27, 23, 0) 60%,
        rgba(7, 27, 23, 0.3) 100%
    );

    pointer-events: none;
}

.kest-svc__hero-num {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 2;

    padding: 6px 13px;

    color: var(--kv-white);

    background-color: rgba(7, 27, 23, 0.55);
    backdrop-filter: blur(6px);

    border-radius: 30px;

    font-family: "Manrope", Arial, sans-serif;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.06em;
}

.kest-svc__hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: clamp(16px, 1.7vw, 22px);

    padding: clamp(36px, 3.6vw, 68px);
}

.kest-svc__hero-eyebrow {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
}

.kest-svc__hero-title {
    margin: 0;

    color: var(--kv-emerald);

    font-family: "Manrope", Arial, sans-serif;

    font-size: clamp(28px, 2.4vw, 42px);
    font-weight: 700;
    line-height: 1.05;

    letter-spacing: -0.04em;

    opacity: 0;
    transform: translate3d(0, 22px, 0);
}

.kest-svc__hero-desc {
    max-width: 480px;
    margin: 0;

    color: rgba(19, 36, 29, 0.63);

    font-size: clamp(14px, 0.95vw, 16.5px);
    font-weight: 400;
    line-height: 1.7;

    letter-spacing: -0.005em;

    opacity: 0;
    transform: translate3d(0, 18px, 0);
}

.kest-svc__hero-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin: 6px 0 0;
    padding: 0;

    list-style: none;

    opacity: 0;
    transform: translate3d(0, 16px, 0);
}

.kest-svc__hero-tags li {
    padding: 8px 16px;

    color: rgba(14, 42, 36, 0.68);

    border: 1px solid rgba(14, 42, 36, 0.18);
    border-radius: 30px;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 11.5px;
    font-weight: 500;

    letter-spacing: 0.03em;
}

/* =========================================================
   GRID (FLEX — even 3+2 wrap, no dead cells)
========================================================= */

.kest-svc__grid {
    display: flex;
    flex-wrap: wrap;

    gap: var(--kv-gap);
}

.kest-svc__card {
    position: relative;

    display: flex;
    flex-direction: column;

    flex: 1 1 calc((100% - (2 * var(--kv-gap))) / 3);
    min-width: 260px;

    overflow: hidden;

    background-color: var(--kv-white);

    border: 1px solid rgba(14, 42, 36, 0.12);
    border-radius: 3px;

    box-shadow: 0 0 0 0 rgba(7, 27, 23, 0);

    opacity: 0;
    transform: translate3d(0, 46px, 0);

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.kest-svc__card:hover {
    transform: translate3d(0, -8px, 0);

    box-shadow: 0 20px 40px -30px rgba(7, 27, 23, 0.2);
}

.kest-svc__media {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 3;

    overflow: hidden;

    background-color: #E7ECE9;
}

.kest-svc__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.1);

    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}

.kest-svc__card:hover .kest-svc__media img {
    transform: scale(1.07);
}

.kest-svc__media-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(7, 27, 23, 0) 55%,
        rgba(7, 27, 23, 0.35) 100%
    );

    pointer-events: none;
}

.kest-svc__num {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 2;

    padding: 5px 11px;

    color: var(--kv-white);

    background-color: rgba(7, 27, 23, 0.55);
    backdrop-filter: blur(6px);

    border-radius: 30px;

    font-family: "Manrope", Arial, sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.06em;

    transition:
        background-color 0.35s ease,
        color 0.35s ease;
}

.kest-svc__card:hover .kest-svc__num {
    color: var(--kv-white);

    background-color: var(--kv-emerald-deep);
}

.kest-svc__body {
    display: flex;
    flex-direction: column;

    flex: 1 1 auto;

    padding: clamp(20px, 1.7vw, 28px);
}

.kest-svc__body h3 {
    margin: 0 0 8px;

    color: var(--kv-emerald);

    font-family: "Manrope", Arial, sans-serif;

    font-size: clamp(18px, 1.25vw, 22px);
    font-weight: 650;
    line-height: 1.15;

    letter-spacing: -0.03em;
}

.kest-svc__body p {
    margin: 0;

    color: rgba(19, 36, 29, 0.6);

    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.6;

    letter-spacing: -0.005em;
}

.kest-svc__card-accent {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 2px;

    background-color: var(--kv-emerald-deep);

    transform: scaleX(0);
    transform-origin: left center;

    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);

    pointer-events: none;
}

.kest-svc__card:hover .kest-svc__card-accent {
    transform: scaleX(1);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
    .kest-svc__hero {
        grid-template-columns: 1fr;

        min-height: 0;
    }

    .kest-svc__hero-media {
        aspect-ratio: 16 / 10;
    }

    .kest-svc__card {
        flex-basis: calc((100% - var(--kv-gap)) / 2);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .kest-svc__inner {
        width: min(100%, 92vw);
    }

    .kest-svc__title {
        font-size: clamp(30px, 8.6vw, 40px);
    }

    .kest-svc__hero-content {
        padding: 28px 22px;
    }

    .kest-svc__hero-title {
        font-size: clamp(25px, 7vw, 32px);
    }

    .kest-svc__grid {
        gap: 18px;
    }

    .kest-svc__card {
        flex-basis: 100%;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .kest-svc__eyebrow,
    .kest-svc__title-line,
    .kest-svc__desc,
    .kest-svc__card,
    .kest-svc__hero-eyebrow,
    .kest-svc__hero-title,
    .kest-svc__hero-desc,
    .kest-svc__hero-tags {
        opacity: 1 !important;
        transform: none !important;
    }

    .kest-svc__rule {
        transform: scaleX(1) !important;
    }

    .kest-svc__hero-media {
        clip-path: none !important;
    }

    .kest-svc__hero-media img,
    .kest-svc__media img {
        transform: none !important;
    }
}

/* =========================================================
   ESTATE PROCESS
   Source: Kirst Estate/One Process Every Decision.html
========================================================= */
/* =========================================================
   RESET
========================================================= */

#kirst-estate-process-v6,
#kirst-estate-process-v6 *,
#kirst-estate-process-v6 *::before,
#kirst-estate-process-v6 *::after {
    box-sizing: border-box;
}

/* =========================================================
   VARIABLES / SECTION
========================================================= */

#kirst-estate-process-v6 {
    --kep6-white: #FDFDFC;

    --kep6-emerald: #0E2A24;
    --kep6-emerald-deep: #071B17;
    --kep6-emerald-soft: #29483F;

    --kep6-green-grey: #75857D;
    --kep6-green-pale: #A5B0AA;

    --kep6-text: #13241D;
    --kep6-muted: #78827D;

    --kep6-vh: 100vh;

    position: relative;

    display: block;

    width: 100%;
    max-width: 100%;

    height:
        calc(
            var(--kep6-vh) * 5.25
        );

    margin: 0;
    padding: 0;

    overflow: visible;

    background-color:
        var(--kep6-white);

    isolation: isolate;
}

/* =========================================================
   STICKY VIEWPORT
========================================================= */

.kep6-sticky {
    position: -webkit-sticky;
    position: sticky;

    top: 0;

    width: 100%;
    height: var(--kep6-vh);
    min-height: 660px;

    overflow: hidden;

    color: var(--kep6-text);
    background-color: var(--kep6-white);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: geometricPrecision;

    isolation: isolate;

    transform: translateZ(0);
    backface-visibility: hidden;
}

/* =========================================================
   LAYOUT
========================================================= */

.kep6-layout {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 43%)
        minmax(0, 57%);

    align-items: center;

    width: 100%;
    height: 100%;

    padding:
        clamp(36px, 4.8vh, 72px)
        clamp(34px, 4.7vw, 98px);

    z-index: 2;
}

/* =========================================================
   CONTENT
========================================================= */

.kep6-content {
    position: relative;

    width: min(720px, 100%);

    padding-right:
        clamp(32px, 4.2vw, 82px);

    z-index: 3;
}

/* =========================================================
   EYEBROW
========================================================= */

.kep6-eyebrow {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom:
        clamp(18px, 2.4vh, 30px);

    color:
        rgba(14, 42, 36, 0.54);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kep6-eyebrow-dot {
    display: block;
    flex: 0 0 auto;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background-color:
        var(--kep6-emerald);

    box-shadow:
        0 0 0 7px
        rgba(14, 42, 36, 0.055);
}

/* =========================================================
   TITLE
========================================================= */

.kep6-title {
    display: block;

    width: 100%;

    margin:
        0
        0
        clamp(17px, 2.2vh, 26px);

    color:
        var(--kep6-emerald);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size:
        clamp(
            48px,
            4vw,
            80px
        );

    font-weight: 700;
    line-height: 0.97;

    letter-spacing: -0.06em;

    font-kerning: normal;

    overflow: visible;
}

.kep6-title-primary,
.kep6-title-secondary {
    display: block;

    width: 100%;

    overflow: visible;
}

.kep6-title-primary {
    white-space: nowrap;
}

.kep6-title-secondary {
    max-width: 650px;

    color:
        rgba(14, 42, 36, 0.4);

    text-wrap: balance;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.kep6-description {
    max-width: 570px;

    margin: 0;

    color:
        rgba(19, 36, 29, 0.63);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size:
        clamp(
            14px,
            0.94vw,
            17px
        );

    font-weight: 400;
    line-height: 1.68;

    letter-spacing: -0.01em;
}

/* =========================================================
   STEPS
========================================================= */

.kep6-steps {
    display: flex;
    flex-direction: column;

    width: 100%;

    margin-top:
        clamp(27px, 3.6vh, 44px);

    border-top:
        1px solid
        rgba(14, 42, 36, 0.14);
}

.kep6-step {
    --kep6-step-fill: 0;

    position: relative;

    display: grid;

    grid-template-columns:
        70px
        minmax(0, 1fr);

    align-items: center;

    gap: 17px;

    width: 100%;

    min-height:
        clamp(
            72px,
            8vh,
            92px
        );

    margin: 0;

    padding:
        12px
        14px
        12px
        0;

    overflow: hidden;

    color:
        rgba(14, 42, 36, 0.42);

    background-color: transparent;

    border: 0;
    border-bottom:
        1px solid
        rgba(14, 42, 36, 0.14);

    border-radius: 0;

    text-align: left;

    cursor: pointer;

    transition:
        color 0.35s ease,
        background-color 0.35s ease,
        padding-left 0.35s ease;
}

/*
 * No hover animation.
 */

.kep6-step:hover {
    color:
        rgba(14, 42, 36, 0.42);

    background-color: transparent;

    padding-left: 0;
}

.kep6-step.is-active,
.kep6-step.is-active:hover {
    padding-left: 13px;

    color:
        var(--kep6-emerald);

    background-color:
        rgba(14, 42, 36, 0.036);
}

.kep6-step:focus-visible {
    outline:
        1px solid
        rgba(14, 42, 36, 0.5);

    outline-offset: -4px;
}

.kep6-step-progress {
    position: absolute;

    right: 0;
    bottom: -1px;
    left: 0;

    height: 2px;

    background-color:
        var(--kep6-emerald);

    transform:
        scaleX(
            var(--kep6-step-fill)
        );

    transform-origin: left center;

    pointer-events: none;
}

/* =========================================================
   STEP NUMBER
========================================================= */

.kep6-step-number {
    display: inline-flex;
    align-items: center;

    width: max-content;

    color:
        rgba(14, 42, 36, 0.52);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size:
        clamp(
            26px,
            1.85vw,
            37px
        );

    font-weight: 600;
    line-height: 1;

    letter-spacing: -0.04em;

    white-space: nowrap;

    transition:
        color 0.35s ease;
}

.kep6-step.is-active
.kep6-step-number {
    color:
        var(--kep6-emerald);
}

/* =========================================================
   STEP CONTENT
========================================================= */

.kep6-step-content {
    display: grid;

    grid-template-columns:
        minmax(146px, 0.65fr)
        minmax(205px, 1.35fr);

    align-items: center;

    gap: 22px;

    min-width: 0;
}

.kep6-step-content strong {
    display: block;

    width: max-content;
    max-width: 100%;

    color: currentColor;

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size:
        clamp(
            20px,
            1.35vw,
            27px
        );

    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -0.035em;

    white-space: nowrap;

    font-kerning: normal;
}

.kep6-step-content small {
    display: block;

    min-width: 0;

    color:
        rgba(19, 36, 29, 0.48);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size:
        clamp(
            10px,
            0.7vw,
            12px
        );

    font-weight: 400;
    line-height: 1.5;

    letter-spacing: -0.005em;
}

.kep6-step.is-active
.kep6-step-content small {
    color:
        rgba(19, 36, 29, 0.7);
}

/* =========================================================
   SIGNATURE
========================================================= */

.kep6-signature {
    display: flex;
    flex-direction: column;

    margin-top:
        clamp(23px, 3.2vh, 39px);

    color:
        var(--kep6-emerald);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size:
        clamp(
            20px,
            1.65vw,
            32px
        );

    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.047em;
}

.kep6-signature span:last-child {
    color:
        rgba(14, 42, 36, 0.37);
}

/* =========================================================
   VISUAL COLUMN
========================================================= */

.kep6-visual-column {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    min-width: 0;
}

/* =========================================================
   VISUAL SHELL
========================================================= */

.kep6-visual-shell {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(56vw, 1030px);
    height: min(78vh, 800px);

    min-width: 500px;
    min-height: 480px;

    overflow: visible;

    isolation: isolate;

    perspective: 1400px;
}

/* =========================================================
   PARALLAX STAGE
========================================================= */

.kep6-visual-stage {
    --kep6-tilt-x: 0deg;
    --kep6-tilt-y: 0deg;

    position: relative;

    width: 100%;
    height: 100%;

    transform:
        perspective(1400px)
        rotateX(var(--kep6-tilt-x))
        rotateY(var(--kep6-tilt-y));

    transform-style: preserve-3d;

    transition:
        transform 0.7s
        cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}

/* =========================================================
   VISUAL TOP LINE
========================================================= */

.kep6-visual-topline {
    position: absolute;

    top: 4%;
    right: 5%;
    left: 5%;

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color:
        rgba(14, 42, 36, 0.46);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 9px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    pointer-events: none;
}

.kep6-stage-index {
    color:
        var(--kep6-emerald);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.07em;
}

/* =========================================================
   SVG
========================================================= */

.kep6-process-svg {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    overflow: visible;
}

/* =========================================================
   AMBIENT LINES
========================================================= */

.kep6-ambient {
    fill: none;

    stroke:
        rgba(14, 42, 36, 0.085);

    stroke-width: 1;

    pointer-events: none;
}

/* =========================================================
   SCENE SYSTEM
========================================================= */

.kep6-scene {
    opacity: 0;

    transform:
        translateY(24px)
        scale(0.975);

    transform-box: fill-box;
    transform-origin: center;

    pointer-events: none;

    will-change:
        opacity,
        transform;
}

.kep6-scene--understand {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

/* =========================================================
   SVG TYPOGRAPHY
========================================================= */

.kep6-svg-eyebrow,
.kep6-card-label,
.kep6-card-meta,
.kep6-card-score,
.kep6-selected-chip-text,
.kep6-node-title,
.kep6-node-copy,
.kep6-property-node-title,
.kep6-property-node-copy {
    font-family:
        "Montserrat",
        Arial,
        sans-serif;
}

.kep6-svg-heading,
.kep6-card-heading,
.kep6-score,
.kep6-analysis-conclusion {
    font-family:
        "Manrope",
        Arial,
        sans-serif;
}

.kep6-svg-eyebrow {
    fill:
        rgba(14, 42, 36, 0.48);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;
}

.kep6-svg-heading {
    fill:
        var(--kep6-emerald);

    font-size: 38px;
    font-weight: 700;

    letter-spacing: -1.6px;
}

.kep6-svg-heading--muted {
    fill:
        rgba(14, 42, 36, 0.42);
}

.kep6-outline {
    fill: none;

    stroke:
        rgba(14, 42, 36, 0.16);

    stroke-width: 1;
}

.kep6-selected-outline {
    fill: none;

    stroke:
        var(--kep6-emerald);

    stroke-width: 1.5;
}

.kep6-divider {
    stroke:
        rgba(14, 42, 36, 0.13);

    stroke-width: 1;
}

/* =========================================================
   UNDERSTAND
========================================================= */

.kep6-criterion {
    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 500;

    fill:
        rgba(14, 42, 36, 0.62);
}

.kep6-criterion > circle:first-child {
    fill:
        var(--kep6-emerald);

    stroke: none;
}

.kep6-criterion line {
    stroke:
        rgba(14, 42, 36, 0.13);

    stroke-width: 2;
}

.kep6-criterion-marker {
    fill:
        var(--kep6-emerald);
}

/* =========================================================
   PROPERTY CARDS
========================================================= */

.kep6-property-background {
    fill: #E7ECE9;
}

.kep6-property-background--selected {
    fill: #DDE6E1;
}

.kep6-property-building {
    fill:
        rgba(117, 133, 125, 0.1);

    stroke:
        var(--kep6-green-grey);

    stroke-width: 2;

    stroke-linejoin: round;
}

.kep6-property-building--selected {
    fill:
        rgba(14, 42, 36, 0.08);

    stroke:
        var(--kep6-emerald);
}

.kep6-property-ground {
    fill: none;

    stroke:
        rgba(117, 133, 125, 0.52);

    stroke-width: 2;
}

.kep6-property-ground--selected {
    stroke:
        var(--kep6-emerald);
}

.kep6-card-label {
    fill:
        rgba(14, 42, 36, 0.43);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.4px;
}

.kep6-card-heading {
    fill:
        var(--kep6-emerald);

    font-size: 22px;
    font-weight: 650;

    letter-spacing: -0.7px;
}

.kep6-card-meta {
    fill:
        rgba(14, 42, 36, 0.48);

    font-size: 10px;
    font-weight: 500;
}

.kep6-card-score {
    fill:
        var(--kep6-emerald);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1px;
}

.kep6-selected-chip {
    fill:
        var(--kep6-emerald);
}

.kep6-selected-chip-text {
    fill:
        var(--kep6-white);

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 1px;
}

/* =========================================================
   ANALYSIS
========================================================= */

.kep6-analysis-row {
    fill:
        rgba(14, 42, 36, 0.62);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 500;
}

.kep6-bar-track {
    fill:
        rgba(14, 42, 36, 0.085);
}

.kep6-bar-value {
    fill:
        var(--kep6-emerald);

    transform-box: fill-box;
    transform-origin: left center;

    transform: scaleX(0);
}

.kep6-score {
    fill:
        var(--kep6-emerald);

    font-size: 13px;
    font-weight: 600;
}

.kep6-analysis-total circle {
    fill:
        var(--kep6-emerald);
}

.kep6-analysis-total text {
    fill:
        var(--kep6-white);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 17px;
    font-weight: 700;
}

.kep6-analysis-conclusion {
    fill:
        var(--kep6-emerald);

    font-size: 17px;
    font-weight: 600;
}

/* =========================================================
   REPRESENT
========================================================= */

.kep6-deal-orbit {
    fill: none;

    stroke:
        rgba(14, 42, 36, 0.1);

    stroke-width: 1;
}

.kep6-deal-path {
    fill: none;

    stroke:
        var(--kep6-emerald);

    stroke-width: 2;

    stroke-linecap: round;

    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.kep6-deal-node {
    transform-box: fill-box;
    transform-origin: center;

    opacity: 0;

    transform: scale(0.8);
}

.kep6-node-outer {
    fill:
        rgba(253, 253, 252, 0.9);

    stroke:
        rgba(14, 42, 36, 0.2);

    stroke-width: 1;
}

.kep6-node-inner {
    fill:
        rgba(14, 42, 36, 0.045);

    stroke:
        rgba(14, 42, 36, 0.12);

    stroke-width: 1;
}

.kep6-node-outer--dark {
    fill:
        var(--kep6-emerald-deep);

    stroke:
        var(--kep6-emerald-deep);
}

.kep6-node-inner--dark {
    fill:
        rgba(255, 255, 255, 0.04);

    stroke:
        rgba(255, 255, 255, 0.12);
}

.kep6-node-title {
    fill:
        var(--kep6-emerald);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.4px;
}

.kep6-node-title--light {
    fill:
        var(--kep6-white);
}

.kep6-node-copy {
    fill:
        rgba(14, 42, 36, 0.48);

    font-size: 9px;
    font-weight: 500;
}

.kep6-node-copy--light {
    fill:
        rgba(253, 253, 252, 0.55);
}

.kep6-property-node {
    fill:
        rgba(253, 253, 252, 0.96);

    stroke:
        var(--kep6-emerald);

    stroke-width: 1;
}

.kep6-property-node-icon {
    fill: none;

    stroke:
        var(--kep6-emerald);

    stroke-width: 1.5;
}

.kep6-property-node-title {
    fill:
        var(--kep6-emerald);

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 0.8px;
}

.kep6-property-node-copy {
    fill:
        rgba(14, 42, 36, 0.5);

    font-size: 7px;
    font-weight: 500;

    letter-spacing: 0.7px;
}

/* =========================================================
   COMPLETE
========================================================= */

.kep6-complete-ring {
    fill: none;

    stroke:
        rgba(14, 42, 36, 0.15);

    transform-box: fill-box;
    transform-origin: center;

    transform: scale(0.7);

    opacity: 0;
}

.kep6-complete-ring--inner {
    stroke:
        rgba(14, 42, 36, 0.28);
}

.kep6-final-image {
    fill: #E2E9E5;
}

.kep6-final-building {
    fill:
        rgba(14, 42, 36, 0.06);

    stroke:
        var(--kep6-emerald);

    stroke-width: 2;

    stroke-linejoin: round;
}

.kep6-complete-check-circle {
    fill:
        var(--kep6-emerald);
}

.kep6-complete-check {
    fill: none;

    stroke:
        var(--kep6-white);

    stroke-width: 3;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

.kep6-key {
    fill: none;

    stroke:
        var(--kep6-emerald);

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: 0;

    transform:
        translate(-18px, 18px);

    transform-box: fill-box;
    transform-origin: center;
}

.kep6-document {
    fill:
        rgba(253, 253, 252, 0.96);

    stroke:
        var(--kep6-green-grey);

    stroke-width: 1.5;

    stroke-linecap: round;

    opacity: 0;

    transform:
        translate(18px, 18px);

    transform-box: fill-box;
    transform-origin: center;
}

/* =========================================================
   CAPTION
========================================================= */

.kep6-stage-caption {
    position: absolute;

    bottom: 5%;
    left: 5%;

    z-index: 20;

    display: flex;
    flex-direction: column;

    gap: 5px;

    pointer-events: none;
}

.kep6-stage-caption span {
    color:
        rgba(14, 42, 36, 0.43);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 8px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kep6-stage-caption strong {
    display: block;

    width: max-content;

    color:
        var(--kep6-emerald);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size:
        clamp(
            20px,
            1.35vw,
            27px
        );

    font-weight: 600;
    line-height: 1;

    letter-spacing: -0.035em;

    white-space: nowrap;
}

/* =========================================================
   VISUAL COUNTER
========================================================= */

.kep6-visual-counter {
    position: absolute;

    right: 5%;
    bottom: 5%;

    z-index: 20;

    display: flex;
    align-items: center;

    gap: 9px;

    color:
        rgba(14, 42, 36, 0.42);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 10px;
    font-weight: 600;

    pointer-events: none;
}

.kep6-counter-current {
    color:
        var(--kep6-emerald);

    font-size: 15px;
}

.kep6-counter-divider {
    display: block;

    width: 26px;
    height: 1px;

    background-color:
        rgba(14, 42, 36, 0.22);
}

/* =========================================================
   PAGE PROGRESS
========================================================= */

.kep6-page-progress {
    position: absolute;

    right:
        clamp(24px, 3vw, 52px);

    bottom:
        clamp(17px, 2.5vh, 32px);

    left:
        clamp(24px, 3vw, 52px);

    z-index: 30;

    height: 1px;

    overflow: hidden;

    background-color:
        rgba(14, 42, 36, 0.12);

    pointer-events: none;
}

.kep6-page-progress-fill {
    display: block;

    width: 100%;
    height: 100%;

    background-color:
        var(--kep6-emerald);

    transform: scaleX(0);
    transform-origin: left center;

    will-change: transform;
}

/* =========================================================
   SHORT DESKTOP
========================================================= */

@media
    (min-width: 768px)
    and (max-height: 820px) {

    .kep6-layout {
        padding-top: 26px;
        padding-bottom: 30px;
    }

    .kep6-eyebrow {
        margin-bottom: 12px;

        font-size: 9px;
    }

    .kep6-title {
        margin-bottom: 11px;

        font-size:
            clamp(
                38px,
                3.35vw,
                60px
            );
    }

    .kep6-description {
        font-size: 11px;
        line-height: 1.5;
    }

    .kep6-steps {
        margin-top: 16px;
    }

    .kep6-step {
        grid-template-columns:
            56px
            minmax(0, 1fr);

        min-height: 54px;

        padding-top: 6px;
        padding-bottom: 6px;
    }

    .kep6-step-number {
        font-size:
            clamp(
                20px,
                1.45vw,
                26px
            );
    }

    .kep6-step-content {
        grid-template-columns:
            minmax(120px, 0.62fr)
            minmax(180px, 1.38fr);

        gap: 14px;
    }

    .kep6-step-content strong {
        font-size:
            clamp(
                15px,
                1.08vw,
                20px
            );
    }

    .kep6-step-content small {
        font-size: 8px;
        line-height: 1.4;
    }

    .kep6-signature {
        margin-top: 15px;

        font-size:
            clamp(
                17px,
                1.4vw,
                26px
            );
    }

    .kep6-visual-shell {
        height:
            min(
                76vh,
                640px
            );

        min-height: 370px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
    .kep6-layout {
        grid-template-columns:
            minmax(0, 49%)
            minmax(0, 51%);

        padding-right: 26px;
        padding-left: 32px;
    }

    .kep6-content {
        padding-right: 28px;
    }

    .kep6-title {
        font-size:
            clamp(
                38px,
                4.5vw,
                58px
            );
    }

    .kep6-step {
        grid-template-columns:
            51px
            minmax(0, 1fr);
    }

    .kep6-step-number {
        font-size:
            clamp(
                20px,
                2.3vw,
                28px
            );
    }

    .kep6-step-content {
        grid-template-columns: 1fr;

        gap: 4px;
    }

    .kep6-step-content strong {
        font-size:
            clamp(
                17px,
                2vw,
                22px
            );
    }

    .kep6-step-content small {
        max-width: 275px;

        font-size: 8.5px;
    }

    .kep6-visual-shell {
        width: 100%;
        height:
            min(
                72vh,
                650px
            );

        min-width: 350px;
        min-height: 350px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    #kirst-estate-process-v6 {
        height:
            calc(
                var(--kep6-vh) * 5
            );
    }

    .kep6-sticky {
        min-height: 650px;
    }

    .kep6-layout {
        display: flex;
        flex-direction: column;

        align-items: stretch;
        justify-content: flex-start;

        padding:
            max(
                17px,
                env(safe-area-inset-top)
            )
            15px
            max(
                19px,
                env(safe-area-inset-bottom)
            );
    }

    .kep6-content {
        flex: 0 0 auto;

        width: 100%;

        padding: 0;

        text-align: center;
    }

    .kep6-eyebrow {
        justify-content: center;

        margin-bottom: 8px;

        font-size: 8px;
    }

    .kep6-eyebrow-dot {
        width: 6px;
        height: 6px;

        box-shadow:
            0 0 0 5px
            rgba(14, 42, 36, 0.055);
    }

    .kep6-title {
        margin-bottom: 7px;

        font-size:
            clamp(
                29px,
                8.2vw,
                40px
            );

        line-height: 0.98;
    }

    .kep6-title-primary {
        white-space: nowrap;
    }

    .kep6-title-secondary {
        max-width: 100%;
    }

    .kep6-description {
        max-width: 520px;

        margin: 0 auto;

        font-size: 9px;
        line-height: 1.42;
    }

    .kep6-steps {
        margin-top: 11px;
    }

    .kep6-step {
        grid-template-columns:
            40px
            minmax(0, 1fr);

        gap: 8px;

        min-height: 45px;

        padding:
            4px
            6px
            4px
            0;

        text-align: left;
    }

    .kep6-step:hover {
        padding-left: 0;
    }

    .kep6-step.is-active,
    .kep6-step.is-active:hover {
        padding-left: 6px;
    }

    .kep6-step-number {
        font-size:
            clamp(
                16px,
                4.8vw,
                21px
            );
    }

    .kep6-step-content {
        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 8px;
    }

    .kep6-step-content strong {
        flex: 0 0 auto;

        font-size:
            clamp(
                13px,
                3.9vw,
                17px
            );

        white-space: nowrap;
    }

    .kep6-step-content small {
        max-width: 168px;

        font-size: 6.3px;
        line-height: 1.32;

        text-align: right;
    }

    .kep6-signature {
        display: none;
    }

    .kep6-visual-column {
        flex: 1 1 auto;

        min-height: 0;
    }

    .kep6-visual-shell {
        width: 100%;
        height:
            min(
                35vh,
                335px
            );

        min-width: 0;
        min-height: 205px;

        margin-top: 2px;
    }

    .kep6-visual-stage {
        transform: none !important;
    }

    .kep6-visual-topline {
        top: 2%;
        right: 2%;
        left: 2%;

        font-size: 5.5px;
    }

    .kep6-stage-index {
        font-size: 7px;
    }

    .kep6-stage-caption {
        bottom: 1.5%;
        left: 2%;
    }

    .kep6-stage-caption span {
        font-size: 5px;
    }

    .kep6-stage-caption strong {
        font-size:
            clamp(
                14px,
                4.2vw,
                18px
            );
    }

    .kep6-visual-counter {
        right: 2%;
        bottom: 2%;

        font-size: 7px;
    }

    .kep6-counter-current {
        font-size: 10px;
    }

    .kep6-counter-divider {
        width: 17px;
    }

    .kep6-page-progress {
        right: 15px;

        bottom:
            max(
                9px,
                env(safe-area-inset-bottom)
            );

        left: 15px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
    .kep6-layout {
        padding-right: 11px;
        padding-left: 11px;
    }

    .kep6-title {
        font-size:
            clamp(
                26px,
                7.7vw,
                31px
            );
    }

    .kep6-description {
        font-size: 7.5px;
    }

    .kep6-step {
        grid-template-columns:
            34px
            minmax(0, 1fr);

        min-height: 39px;

        padding-top: 3px;
        padding-bottom: 3px;
    }

    .kep6-step-number {
        font-size:
            clamp(
                14px,
                4.3vw,
                17px
            );
    }

    .kep6-step-content strong {
        font-size:
            clamp(
                11px,
                3.45vw,
                14px
            );
    }

    .kep6-step-content small {
        max-width: 136px;

        font-size: 5.4px;
    }

    .kep6-visual-shell {
        height:
            min(
                31vh,
                250px
            );

        min-height: 175px;
    }
}

/* =========================================================
   VERY SHORT MOBILE
========================================================= */

@media
    (max-width: 767px)
    and (max-height: 700px) {

    .kep6-eyebrow {
        margin-bottom: 5px;
    }

    .kep6-title {
        margin-bottom: 4px;

        font-size:
            clamp(
                24px,
                7vw,
                32px
            );
    }

    .kep6-description {
        display: none;
    }

    .kep6-steps {
        margin-top: 7px;
    }

    .kep6-step {
        min-height: 36px;

        padding-top: 2px;
        padding-bottom: 2px;
    }

    .kep6-visual-shell {
        height:
            min(
                30vh,
                220px
            );

        min-height: 160px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    #kirst-estate-process-v6 {
        height: auto;
    }

    .kep6-sticky {
        position: relative;

        height: auto;
        min-height: 760px;
    }

    .kep6-scene {
        display: none;
    }

    .kep6-scene--complete {
        display: block;

        opacity: 1;

        transform: none;
    }

    .kep6-complete-ring,
    .kep6-key,
    .kep6-document {
        opacity: 1;

        transform: none;
    }

    .kep6-complete-check {
        stroke-dashoffset: 0;
    }

    .kep6-page-progress {
        display: none;
    }
}

/* =========================================================
   SCREEN READER
========================================================= */

.kep6-sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}
