/* =========================================================
   KRD HOMEPAGE
========================================================= */

.home-shell {
    width: min(90%, 1400px);
    margin: 0 auto;
}

.home-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.home-kicker--dark {
    color: #b58c14;
}

.home-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 1px solid var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .25s ease;
}

.home-button--gold {
    color: var(--navy);
    background: var(--gold);
}

.home-button--gold:hover {
    color: var(--gold);
    background: transparent;
}

.home-button--outline {
    color: #fff;
    background: transparent;
}

.home-button--outline:hover {
    color: var(--navy);
    background: var(--gold);
}

/* HERO */
.home-hero {
    position: relative;
    min-height: min(820px, calc(100vh - 128px));
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, #090b1b 0%, #12172f 100%);
    color: #fff;
}

.home-hero--has-image {
    background-image: var(--home-hero-image);
    background-size: cover;
    background-position: center;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 11, 27, .92) 0%, rgba(9, 11, 27, .68) 48%, rgba(9, 11, 27, .38) 100%);
}

.home-hero__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 110px 110px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .45), transparent 80%);
}

.home-hero__orb {
    position: absolute;
    border: 1px solid rgba(231, 191, 63, .32);
    border-radius: 50%;
    pointer-events: none;
    transition: transform .18s ease-out;
}

.home-hero__orb--one {
    width: 420px;
    height: 420px;
    right: 8%;
    top: 12%;
}

.home-hero__orb--two {
    width: 180px;
    height: 180px;
    right: 26%;
    top: 28%;
}

.home-hero__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, .18);
    font-weight: 700;
    letter-spacing: .14em;
}

.home-hero__placeholder small {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    padding: clamp(110px, 14vw, 190px) 0 86px;
}

.home-hero__content {
    max-width: 930px;
}

.home-hero h1 {
    margin: 0 0 28px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(62px, 9vw, 132px);
    font-weight: 500;
    line-height: .88;
    letter-spacing: -.035em;
}

.home-hero h1 span {
    color: var(--gold);
}

.home-hero__content>p {
    max-width: 690px;
    margin: 0 0 34px;
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.8;
    color: rgba(255, 255, 255, .76);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-hero__stats {
    margin-top: 70px;
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.home-hero__stats div {
    min-width: 185px;
    padding: 20px 34px 20px 0;
    margin-right: 34px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.home-hero__stats strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 29px;
    color: #fff;
}

.home-hero__stats span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .53);
}

.home-scroll-cue {
    position: absolute;
    z-index: 3;
    right: 4%;
    bottom: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .5);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-scroll-cue span {
    width: 36px;
    height: 1px;
    background: var(--gold);
    animation: homeCue 1.8s ease-in-out infinite;
    transform-origin: left;
}

@keyframes homeCue {

    0%,
    100% {
        transform: scaleX(.35)
    }

    50% {
        transform: scaleX(1)
    }
}

/* MARQUEE */
.home-marquee {
    overflow: hidden;
    background: var(--gold);
    border-block: 1px solid rgba(9, 11, 27, .1);
}

.home-marquee__track {
    width: max-content;
    display: flex;
    animation: homeMarquee 34s linear infinite;
}

.home-marquee__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 16px 0;
}

.home-marquee__group span {
    padding: 0 22px;
    color: var(--navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-marquee__group i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--navy);
    opacity: .55;
}

@keyframes homeMarquee {
    to {
        transform: translateX(-50%);
    }
}

/* COMMON SECTIONS */
.home-services,
.home-why {
    padding: 100px 0;
    background: #f7f7f5;
}

.home-section-top {
    display: grid;
    grid-template-columns: 1.1fr .8fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 52px;
}

.home-section-top h2 {
    max-width: 780px;
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5.7vw, 78px);
    font-weight: 500;
    line-height: 1.02;
    color: var(--navy);
}

.home-section-top>p {
    margin: 0;
    max-width: 540px;
    font-size: 15px;
    line-height: 1.85;
    color: #60626b;
}

.home-section-top--light h2 {
    color: #fff;
}

.home-section-top--light>p {
    color: rgba(255, 255, 255, .62);
}

.home-section-action {
    margin-top: 34px;
}

.home-text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-text-link span {
    color: #b58c14;
    transition: transform .2s ease;
}

.home-text-link:hover span {
    transform: translateX(5px);
}

.home-text-link--light {
    color: #fff;
}

/* SERVICES */
.home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(9, 11, 27, .12);
    border-left: 1px solid rgba(9, 11, 27, .12);
}

.home-service-card {
    position: relative;
    min-height: 330px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(9, 11, 27, .12);
    border-bottom: 1px solid rgba(9, 11, 27, .12);
    background: #fff;
    transition: background .25s ease, color .25s ease, transform .15s ease-out;
    transform-style: preserve-3d;
}

.home-service-card:hover {
    background: var(--navy);
    color: #fff;
}

.home-service-card--featured {
    background: var(--navy);
    color: #fff;
}

.home-service-card__number {
    color: #b58c14;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.home-service-card__type {
    margin-top: auto;
    margin-bottom: 12px;
    color: #b58c14;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-service-card h3 {
    margin: 0 0 15px;
    font-size: 25px;
    line-height: 1.15;
}

.home-service-card p {
    margin: 0 0 24px;
    font-size: 13px;
    line-height: 1.75;
    color: #666971;
}

.home-service-card:hover p,
.home-service-card--featured p {
    color: rgba(255, 255, 255, .63);
}

.home-service-card__link {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #b58c14;
}

/* PROJECTS */
.home-projects {
    padding: 100px 0;
    background: var(--navy);
    color: #fff;
}

.home-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-project-card {
    margin: 0;
}

.home-project-card__image,
.home-image-placeholder.home-project-card__image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.home-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #11152d;
    color: var(--gold);
    text-align: center;
}

.home-image-placeholder span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.home-image-placeholder small {
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
}

.home-project-card figcaption {
    padding-top: 14px;
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-project-card figcaption span {
    color: var(--gold);
    margin-right: 8px;
}

/* SPLIT */
.home-split {
    background: #fff;
    padding: 100px 0;
}

.home-split__grid {
    display: grid;
    gap: 22px;
}

.home-split-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 520px;
    background: #f7f7f5;
}

.home-split-card--reverse .home-split-card__media {
    order: 2;
}

.home-split-card__media {
    min-height: 520px;
}

.home-split-card__image,
.home-image-placeholder.home-split-card__image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.home-split-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 6vw, 90px);
}

.home-split-card__content>span {
    margin-bottom: 18px;
    color: #b58c14;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-split-card h2 {
    margin: 0 0 22px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 4.2vw, 62px);
    font-weight: 500;
    line-height: 1.03;
    color: var(--navy);
}

.home-split-card p {
    margin: 0 0 28px;
    color: #61636c;
    font-size: 14px;
    line-height: 1.8;
}

.home-split-card a {
    color: #b58c14;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* WHY */
.home-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(9, 11, 27, .12);
    border-left: 1px solid rgba(9, 11, 27, .12);
}

.home-why-grid article {
    min-height: 255px;
    padding: 30px;
    border-right: 1px solid rgba(9, 11, 27, .12);
    border-bottom: 1px solid rgba(9, 11, 27, .12);
    background: #fff;
}

.home-why-grid article>span {
    color: #b58c14;
    font-size: 10px;
    font-weight: 800;
}

.home-why-grid h3 {
    margin: 55px 0 14px;
    font-size: 20px;
    color: var(--navy);
}

.home-why-grid p {
    margin: 0;
    color: #666971;
    font-size: 13px;
    line-height: 1.7;
}

/* AREAS */
.home-areas {
    padding: 100px 0;
    background: #0b0e21;
    color: #fff;
}

.home-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.home-area-grid a {
    min-height: 190px;
    position: relative;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    transition: background .25s ease;
}

.home-area-grid a:hover {
    background: rgba(231, 191, 63, .08);
}

.home-area-grid span {
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
}

.home-area-grid strong {
    margin-top: auto;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 500;
}

.home-area-grid small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-area-grid i {
    position: absolute;
    right: 25px;
    bottom: 25px;
    color: var(--gold);
    font-style: normal;
}

/* CTA */
.home-final-cta {
    position: relative;
    overflow: hidden;
    padding: 115px 0;
    background: var(--gold);
    color: var(--navy);
}

.home-final-cta__word {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(120px, 20vw, 330px);
    color: rgba(9, 11, 27, .055);
    white-space: nowrap;
    pointer-events: none;
}

.home-final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 940px;
    text-align: center;
}

.home-final-cta .home-kicker {
    color: rgba(9, 11, 27, .65);
}

.home-final-cta h2 {
    margin: 0 0 22px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 7vw, 92px);
    font-weight: 500;
    line-height: .98;
}

.home-final-cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 15px;
    line-height: 1.8;
}

.home-final-cta .home-button--gold {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.home-final-cta .home-button--gold:hover {
    background: transparent;
    color: var(--navy);
}

/* MOBILE SWIPE CONTROLS */
.mobile-swipe__controls {
    display: none;
}

@media (max-width: 900px) {
    .home-section-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-project-card__image,
    .home-image-placeholder.home-project-card__image {
        height: 420px;
    }

    .home-split-card {
        grid-template-columns: 1fr;
    }

    .home-split-card--reverse .home-split-card__media {
        order: 0;
    }

    .home-split-card__media,
    .home-split-card__image,
    .home-image-placeholder.home-split-card__image {
        min-height: 420px;
    }
}

@media (max-width: 700px) {
    .home-shell {
        width: calc(100% - 38px);
    }

    .home-hero {
        min-height: 680px;
        align-items: flex-end;
    }

    .home-hero__overlay {
        background: linear-gradient(0deg, rgba(9, 11, 27, .96) 0%, rgba(9, 11, 27, .7) 58%, rgba(9, 11, 27, .45) 100%);
    }

    .home-hero__inner {
        padding: 110px 0 50px;
    }

    .home-hero h1 {
        font-size: clamp(55px, 17vw, 78px);
    }

    .home-hero__content>p {
        font-size: 14px;
        line-height: 1.75;
    }

    .home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-button {
        width: 100%;
    }

    .home-hero__stats {
        margin-top: 38px;
        overflow: hidden;
    }

    .home-hero__stats div {
        min-width: 0;
        flex: 1;
        margin-right: 0;
        padding: 16px 12px 16px 0;
    }

    .home-hero__stats div+div {
        padding-left: 12px;
    }

    .home-hero__stats strong {
        font-size: 23px;
    }

    .home-hero__stats span {
        font-size: 8px;
    }

    .home-scroll-cue {
        display: none;
    }

    .home-hero__orb--one {
        width: 260px;
        height: 260px;
        right: -80px;
        top: 100px;
    }

    .home-hero__orb--two {
        display: none;
    }

    .home-services,
    .home-projects,
    .home-split,
    .home-why,
    .home-areas {
        padding: 68px 0;
    }

    .home-section-top {
        margin-bottom: 34px;
    }

    .home-section-top h2 {
        font-size: 44px;
    }

    .home-section-top>p {
        font-size: 14px;
        line-height: 1.75;
    }

    .home-swipe {
        width: 100%;
        overflow: hidden;
    }

    .home-swipe .mobile-swipe__track {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 14px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border: 0;
    }

    .home-swipe .mobile-swipe__track::-webkit-scrollbar {
        display: none;
    }

    .home-swipe .mobile-swipe__track>* {
        flex: 0 0 86%;
        width: 86%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .home-swipe .home-service-card,
    .home-swipe .home-why-grid article,
    .home-swipe .home-area-grid a {
        border: 1px solid rgba(9, 11, 27, .12);
    }

    .home-swipe .home-project-card {
        flex-basis: 88%;
    }

    .home-area-grid a {
        border-color: rgba(255, 255, 255, .13) !important;
    }

    .mobile-swipe__controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 18px;
    }

    .mobile-swipe__status {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #6d6f76;
        font-size: 10px;
        font-weight: 700;
    }

    .mobile-swipe__status i {
        width: 34px;
        height: 1px;
        background: rgba(9, 11, 27, .18);
    }

    .mobile-swipe__buttons {
        display: flex;
        gap: 8px;
    }

    .mobile-swipe__buttons button {
        width: 42px;
        height: 42px;
        border: 1px solid rgba(9, 11, 27, .16);
        border-radius: 50%;
        background: transparent;
        color: var(--navy);
        cursor: pointer;
    }

    .mobile-swipe__buttons button:disabled {
        opacity: .28;
    }

    .mobile-swipe__controls--light .mobile-swipe__status {
        color: rgba(255, 255, 255, .55);
    }

    .mobile-swipe__controls--light .mobile-swipe__status i {
        background: rgba(255, 255, 255, .18);
    }

    .mobile-swipe__controls--light .mobile-swipe__buttons button {
        border-color: rgba(255, 255, 255, .18);
        color: #fff;
    }

    .home-service-card {
        min-height: 300px;
    }

    .home-project-card__image,
    .home-image-placeholder.home-project-card__image {
        height: 390px;
    }

    .home-split__grid {
        gap: 14px;
    }

    .home-split-card__media,
    .home-split-card__image,
    .home-image-placeholder.home-split-card__image {
        min-height: 330px;
    }

    .home-split-card__content {
        padding: 36px 26px;
    }

    .home-split-card h2 {
        font-size: 40px;
    }

    .home-why-grid article {
        min-height: 235px;
    }

    .home-area-grid a {
        min-height: 185px;
    }

    .home-final-cta {
        padding: 80px 0;
    }

    .home-final-cta h2 {
        font-size: 49px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-marquee__track,
    .home-scroll-cue span {
        animation: none;
    }

    .home-hero__orb {
        transition: none;
    }
}