:root {
    --paper: #fbf1bd;
    --paper-light: #fff8d9;
    --ink: #10100f;
    --pink: #ea1d67;
    --teal: #008f91;
    --teal-dark: #006b6d;
    --yellow: #ffd12d;
    --container: 1600px;
    --side-gap: clamp(22px, 4vw, 76px);
    --display: Impact, Haettenschweiler, "Arial Narrow Bold",
        "Arial Narrow", sans-serif;
    --body: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--body);
    background: #2a2924;
    -webkit-font-smoothing: antialiased;
}

body.kd-modal-open {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

a {
    color: inherit;
}

.screen-reader-text,
.kd-skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.kd-skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 12px 18px;
    background: #fff;
}

.kd-page {
    width: 100%;
    max-width: 1920px;
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 20% 5%,
            rgba(255, 255, 255, .72),
            transparent 30%
        ),
        linear-gradient(180deg, #fff8d7, var(--paper));
    box-shadow: 0 0 70px rgba(0, 0, 0, .35);
}

.kd-container {
    width: min(
        calc(100% - (var(--side-gap) * 2)),
        var(--container)
    );
    margin-inline: auto;
}

.kd-anchor {
    position: absolute;
    top: -100px;
}

.kd-header {
    position: relative;
    z-index: 30;
    background: rgba(255, 248, 216, .95);
}

.kd-header__inner {
    min-height: 112px;
    display: grid;
    grid-template-columns:
        minmax(250px, 1fr)
        auto
        minmax(250px, 1fr);
    align-items: center;
    gap: 38px;
}

.kd-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    text-decoration: none;
}

.kd-brand__icon {
    width: 47px;
    height: 65px;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.kd-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.kd-brand__text strong {
    font-family: var(--display);
    font-size: clamp(27px, 2vw, 40px);
    letter-spacing: .02em;
    font-weight: 500;
}

.kd-brand__text small {
    margin-top: 7px;
    font-size: 13px;
    font-weight: 700;
}

.kd-brand__custom-logo img {
    max-width: 310px;
    max-height: 78px;
    width: auto;
    height: auto;
}

.kd-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 2.4vw, 46px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.kd-nav a {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.kd-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
    background: var(--pink);
}

.kd-nav a:hover::after,
.kd-nav a:focus-visible::after {
    transform: scaleX(1);
}

.kd-ornament-button {
    justify-self: end;
    min-width: 240px;
    min-height: 65px;
    border: 5px solid var(--pink);
    border-radius: 20px 12px;
    padding: 10px 28px;
    color: #ffe15a;
    font-family: var(--display);
    font-size: 27px;
    letter-spacing: .03em;
    cursor: pointer;
    background:
        radial-gradient(
            circle at 12px 12px,
            #ffcf24 0 3px,
            transparent 4px
        ) 0 0 / 24px 24px,
        var(--teal);
    box-shadow:
        0 0 0 3px #ffd33f,
        0 0 0 7px var(--teal),
        0 0 0 10px var(--pink),
        0 8px 0 rgba(91, 47, 16, .15);
    transition: transform .2s ease;
}

.kd-ornament-button:hover {
    transform: translateY(-2px) rotate(-1deg);
}

.kd-menu-toggle {
    display: none;
    justify-self: end;
    width: 50px;
    height: 46px;
    border: 0;
    padding: 9px;
    background: transparent;
    cursor: pointer;
}

.kd-menu-toggle > span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 4px;
    margin: 5px 0;
    border-radius: 99px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
}

.kd-menu-toggle[aria-expanded="true"]
    > span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.kd-menu-toggle[aria-expanded="true"]
    > span:nth-child(2) {
    opacity: 0;
}

.kd-menu-toggle[aria-expanded="true"]
    > span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.kd-hero {
    position: relative;
    min-height: 740px;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .32),
            transparent
        ),
        var(--paper);
}

.kd-hero__sun {
    position: absolute;
    inset: 0 auto auto 0;
    width: 58%;
    height: 100%;
    opacity: .26;
    background: repeating-conic-gradient(
        from -22deg at 0 42%,
        #ffd83c 0 11deg,
        transparent 11deg 24deg
    );
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.kd-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, .93fr)
        minmax(520px, 1.07fr);
    align-items: end;
    min-height: 740px;
}

.kd-hero__content {
    align-self: center;
    padding: 50px 0 70px;
}

.kd-hero__title {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    column-gap: .2em;
    max-width: 850px;
    margin-bottom: 28px;
    font-family: var(--display);
    font-size: clamp(62px, 5.3vw, 104px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: .006em;
    text-transform: uppercase;
}

.kd-hero__title span {
    display: block;
}

.kd-hero__title span:last-child {
    flex-basis: 100%;
    margin-top: .08em;
    font-size: .78em;
}

.kd-hero__title em {
    margin-bottom: .02em;
    color: var(--pink);
    font-style: normal;
    font-size: .92em;
}

.kd-hero__subtitle {
    margin-bottom: 18px;
    color: var(--pink);
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 800;
    line-height: 1.05;
}

.kd-hero__text {
    margin-bottom: 32px;
    font-size: clamp(18px, 1.2vw, 23px);
}

.kd-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.kd-button {
    min-height: 62px;
    border: 0;
    border-radius: 4px;
    padding: 14px 26px;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(20px, 1.5vw, 28px);
    line-height: 1;
    letter-spacing: .015em;
    cursor: pointer;
    box-shadow:
        inset 0 -4px 0 rgba(0, 0, 0, .12),
        0 6px 14px rgba(65, 38, 0, .14);
    transition: transform .18s ease, filter .18s ease;
}

.kd-button:hover,
.kd-button:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.05) saturate(1.1);
}

.kd-button--pink {
    background: var(--pink);
}

.kd-button--teal {
    background: var(--teal);
}

.kd-hero__visual {
    position: relative;
    align-self: end;
    min-height: 650px;
}

.kd-hero__visual > img {
    position: absolute;
    right: -40px;
    bottom: -4px;
    width: min(100%, 760px);
    height: auto;
    mix-blend-mode: multiply;
}

.kd-speech-bubble {
    position: absolute;
    z-index: 3;
    top: 32px;
    right: 18px;
    min-width: 175px;
    border: 4px solid var(--ink);
    border-radius: 50%;
    padding: 24px 22px;
    font-family: var(--display);
    font-size: 30px;
    line-height: 1.05;
    text-align: center;
    background: #fff9d3;
    transform: rotate(4deg);
}

.kd-speech-bubble::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: -26px;
    width: 35px;
    height: 34px;
    border-left: 4px solid var(--ink);
    border-bottom: 4px solid var(--ink);
    background: #fff9d3;
    transform: skew(-30deg) rotate(-18deg);
}

.kd-services {
    position: relative;
    z-index: 4;
    border-top: 6px solid #dda11c;
    border-bottom: 6px solid #d7a11f;
    background:
        radial-gradient(
            circle at 8px 8px,
            rgba(202, 93, 14, .15) 0 2px,
            transparent 2px
        ) 0 0 / 22px 22px,
        #ffd83e;
}

.kd-services::before,
.kd-services::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        #f02b67 0 14px,
        #008d91 14px 28px,
        #f2b723 28px 42px
    );
}

.kd-services::before {
    top: 5px;
}

.kd-services::after {
    bottom: 5px;
}

.kd-services__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 34px 0;
}

.kd-service-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    min-width: 0;
    padding: 10px 12px;
}

.kd-service-card__icon {
    width: 90px;
    height: 100px;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.kd-service-card h2 {
    margin-bottom: 8px;
    font-size: 21px;
    line-height: 1.1;
}

.kd-service-card p {
    min-height: 42px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.35;
}

.kd-text-button {
    border: 0;
    padding: 0;
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    background: transparent;
    cursor: pointer;
}

.kd-text-button:hover {
    color: var(--pink);
}

.kd-cases {
    padding: 62px 0 70px;
    background: var(--paper-light);
}

.kd-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.kd-section-heading h2,
.kd-why__content h2,
.kd-result-card h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(42px, 4vw, 68px);
    font-weight: 500;
    line-height: 1;
}

.kd-scroll-buttons {
    display: none;
    gap: 10px;
}

.kd-scroll-buttons button {
    width: 48px;
    height: 48px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    font-size: 24px;
    background: transparent;
    cursor: pointer;
}

.kd-cases__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.kd-case-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 43%;
    min-height: 360px;
    overflow: hidden;
    border: 2px solid rgba(73, 52, 22, .35);
    background: rgba(255, 255, 255, .25);
    box-shadow: 0 6px 0 rgba(113, 76, 26, .08);
}

.kd-case-card__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px 10px 22px 24px;
}

.kd-case-card h3 {
    margin-bottom: 14px;
    font-size: clamp(21px, 1.6vw, 29px);
    line-height: 1.08;
}

.kd-case-card__service {
    min-height: 34px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.35;
}

.kd-case-card__metric {
    color: var(--pink);
    font-family: var(--display);
    font-size: clamp(45px, 4vw, 68px);
    font-weight: 500;
    line-height: .95;
}

.kd-case-card__metric-label {
    margin-top: 6px;
    font-size: 18px;
    font-weight: 800;
}

.kd-case-card__excerpt {
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.4;
}

.kd-case-card .kd-text-button {
    margin-top: auto;
}

.kd-case-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kd-why {
    position: relative;
    padding: 48px 0 0;
    background:
        linear-gradient(
            180deg,
            rgba(250, 217, 91, .14),
            transparent 45%
        ),
        var(--paper-light);
}

.kd-why::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    opacity: .5;
    background: repeating-linear-gradient(
        90deg,
        #e93467 0 14px,
        transparent 14px 28px,
        #008f91 28px 42px,
        transparent 42px 56px
    );
}

.kd-why__grid {
    display: grid;
    grid-template-columns:
        minmax(280px, .8fr)
        minmax(390px, 1fr)
        minmax(390px, .95fr);
    align-items: center;
    gap: clamp(30px, 4vw, 70px);
}

.kd-why__monkey {
    align-self: end;
}

.kd-why__monkey img {
    width: min(100%, 450px);
    margin: 0 auto;
    mix-blend-mode: multiply;
}

.kd-why__content {
    padding: 40px 0 110px;
}

.kd-why__content h2 {
    margin-bottom: 30px;
}

.kd-why__content ul {
    display: grid;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kd-why__content li {
    position: relative;
    padding-left: 42px;
    font-size: clamp(17px, 1.3vw, 22px);
    line-height: 1.35;
}

.kd-why__content li::before {
    content: "✿";
    position: absolute;
    left: 0;
    top: -4px;
    width: 28px;
    height: 28px;
    color: var(--teal);
    font-size: 28px;
    line-height: 1;
}

.kd-result-card {
    padding: 12px;
    background:
        radial-gradient(
            circle at 12px 12px,
            #ffd33f 0 3px,
            transparent 4px
        ) 0 0 / 24px 24px,
        var(--pink);
    border: 5px solid #008f91;
    box-shadow:
        0 0 0 5px #ffd12d,
        0 0 0 10px var(--pink),
        0 14px 30px rgba(78, 47, 0, .18);
}

.kd-result-card__inner {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border: 3px solid rgba(0, 0, 0, .4);
    padding: 42px 36px 35px;
    background: #ffd331;
}

.kd-result-card h2 {
    margin-bottom: 18px;
    font-size: clamp(42px, 3.2vw, 62px);
}

.kd-result-card p {
    max-width: 390px;
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.4;
}

.kd-result-card img {
    position: absolute;
    right: 12px;
    bottom: 6px;
    width: 135px;
    mix-blend-mode: multiply;
}

.kd-footer {
    position: relative;
    min-height: 280px;
    margin-top: -2px;
    padding-top: 112px;
    color: #f6edc4;
    background: #151515;
}

.kd-footer__skyline {
    position: absolute;
    top: -105px;
    left: 0;
    right: 0;
    height: 130px;
    background:
        url("../images/footer-skyline.webp")
        center bottom / cover no-repeat;
    mix-blend-mode: multiply;
}

.kd-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr .8fr auto;
    align-items: start;
    gap: 50px;
    padding-bottom: 58px;
}

.kd-footer__brand,
.kd-footer__contact,
.kd-footer__place {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.kd-footer__brand strong {
    font-family: var(--display);
    font-size: 36px;
    font-weight: 500;
    letter-spacing: .04em;
}

.kd-footer a {
    text-decoration: none;
}

.kd-footer__contact a,
.kd-footer__place span {
    font-size: 16px;
}

.kd-footer__socials {
    display: flex;
    gap: 17px;
}

.kd-footer__socials a {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #111;
    font-weight: 900;
    background: #f7efca;
}

.kd-basic-page {
    min-height: 60vh;
    padding: 80px 0;
    background: var(--paper-light);
}

.kd-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .22s ease, visibility .22s ease;
}

.kd-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.kd-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 5, .82);
    backdrop-filter: blur(2px);
}

.kd-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    overflow: auto;
}

.kd-modal__close {
    position: absolute;
    z-index: 20;
    top: 2px;
    right: 4px;
    width: 56px;
    height: 56px;
    border: 3px solid #221b0c;
    border-radius: 50%;
    padding: 0 0 5px;
    font-size: 44px;
    line-height: 1;
    background: #ffc83a;
    cursor: pointer;
}

.kd-contact-dialog {
    overflow: visible;
}

.kd-contact-dialog__frame {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border: 8px solid var(--pink);
    border-radius: 45px 18px;
    padding: 58px 210px 95px;
    background:
        radial-gradient(
            circle at 12px 12px,
            rgba(231, 47, 97, .25) 0 2px,
            transparent 3px
        ) 0 0 / 28px 28px,
        #fff2bb;
    box-shadow:
        0 0 0 5px #ffcd2f,
        0 0 0 11px #008e91,
        0 0 0 16px var(--pink),
        0 28px 80px rgba(0, 0, 0, .45);
}

.kd-contact-dialog__content {
    position: relative;
    z-index: 5;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.kd-contact-dialog h2 {
    margin-bottom: 26px;
    font-family: var(--display);
    font-size: clamp(48px, 5vw, 75px);
    font-weight: 500;
    line-height: .98;
}

.kd-contact-dialog h2 span,
.kd-contact-dialog h2 strong {
    display: block;
}

.kd-contact-dialog h2 strong {
    margin-top: 8px;
    color: var(--pink);
    font-weight: 500;
}

.kd-contact-dialog__content > p {
    margin: 0 auto 25px;
    font-size: 20px;
    line-height: 1.45;
}

.kd-contact-form {
    display: grid;
    gap: 14px;
}

.kd-field span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.kd-field input {
    width: 100%;
    height: 64px;
    border: 3px solid var(--teal);
    border-radius: 8px;
    padding: 0 20px;
    font-size: 20px;
    background: rgba(255, 255, 255, .75);
    outline: none;
}

.kd-field input:focus {
    box-shadow: 0 0 0 4px rgba(0, 143, 145, .17);
}

.kd-contact-form__submit {
    width: 100%;
}

.kd-contact-form__status {
    min-height: 24px;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.kd-contact-dialog__note {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 700;
}

.kd-contact-dialog__monkey,
.kd-contact-dialog__stupa,
.kd-contact-dialog__eye {
    position: absolute;
    z-index: 3;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.kd-contact-dialog__monkey {
    left: -15px;
    bottom: -22px;
    width: 280px;
}

.kd-contact-dialog__stupa {
    right: -15px;
    bottom: -34px;
    width: 260px;
}

.kd-contact-dialog__eye {
    top: 220px;
    width: 92px;
}

.kd-contact-dialog__eye--left {
    left: 35px;
}

.kd-contact-dialog__eye--right {
    right: 35px;
}

.kd-contact-dialog__tagline {
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 14px;
    width: min(620px, 76%);
    transform: translateX(-50%);
    border: 4px solid #f5cf38;
    border-radius: 30px 8px;
    padding: 13px 24px;
    color: #fff;
    font-weight: 900;
    text-align: center;
    background: #075f60;
    box-shadow: 0 0 0 4px var(--teal-dark);
}

.kd-case-dialog {
    width: min(1080px, calc(100vw - 48px));
    border: 8px solid var(--pink);
    border-radius: 24px 8px;
    background: var(--paper-light);
    box-shadow:
        0 0 0 5px #ffd12d,
        0 0 0 10px var(--teal),
        0 30px 90px rgba(0, 0, 0, .5);
}

.kd-case-dialog__body {
    min-height: 380px;
    padding: 38px;
}

.kd-case-detail {
    display: grid;
    grid-template-columns:
        minmax(260px, .72fr)
        minmax(0, 1.28fr);
    gap: 42px;
    align-items: stretch;
}

.kd-case-detail > img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.kd-case-detail h2 {
    margin-bottom: 18px;
    padding-right: 50px;
    font-family: var(--display);
    font-size: clamp(42px, 4vw, 65px);
    font-weight: 500;
    line-height: 1;
}

.kd-case-detail__service {
    margin-bottom: 10px;
    color: var(--teal-dark);
    font-weight: 800;
}

.kd-case-detail__result {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.kd-case-detail__result strong {
    color: var(--pink);
    font-family: var(--display);
    font-size: 64px;
    font-weight: 500;
}

.kd-case-detail__result span {
    font-size: 21px;
    font-weight: 800;
}

.kd-case-detail__text {
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 1500px) {
    :root {
        --container: 1320px;
        --side-gap: clamp(24px, 3vw, 52px);
    }

    .kd-header__inner {
        grid-template-columns:
            minmax(230px, 1fr)
            auto
            minmax(210px, 1fr);
        gap: 26px;
    }

    .kd-ornament-button {
        min-width: 205px;
        min-height: 56px;
        font-size: 23px;
    }

    .kd-hero,
    .kd-hero__grid {
        min-height: 675px;
    }

    .kd-hero__grid {
        grid-template-columns:
            minmax(0, .95fr)
            minmax(470px, 1.05fr);
    }

    .kd-hero__visual {
        min-height: 600px;
    }

    .kd-service-card {
        grid-template-columns: 78px 1fr;
        gap: 12px;
    }

    .kd-service-card__icon {
        width: 75px;
        height: 86px;
    }

    .kd-case-card {
        min-height: 330px;
    }

    .kd-why__grid {
        grid-template-columns:
            minmax(240px, .72fr)
            minmax(360px, 1fr)
            minmax(350px, .9fr);
    }
}

@media (max-width: 1200px) {
    .kd-header__inner {
        grid-template-columns: 1fr auto auto;
        min-height: 92px;
    }

    .kd-nav {
        position: absolute;
        top: 100%;
        left: var(--side-gap);
        right: var(--side-gap);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: .2s ease;
        background: #fff4c6;
        border: 3px solid var(--ink);
        box-shadow: 0 15px 25px rgba(0, 0, 0, .18);
    }

    .kd-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .kd-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
    }

    .kd-nav a {
        display: block;
        padding: 14px 16px;
    }

    .kd-menu-toggle {
        display: block;
    }

    .kd-ornament-button {
        min-width: 185px;
    }

    .kd-hero__grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(410px, .85fr);
    }

    .kd-hero__title {
        font-size: clamp(58px, 7vw, 80px);
    }

    .kd-speech-bubble {
        top: 38px;
        right: 0;
        min-width: 145px;
        padding: 18px;
        font-size: 24px;
    }

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

    .kd-cases__track {
        display: flex;
        gap: 22px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        padding-bottom: 12px;
    }

    .kd-case-card {
        flex: 0 0 min(620px, 78vw);
        scroll-snap-align: start;
    }

    .kd-scroll-buttons {
        display: flex;
    }

    .kd-why__grid {
        grid-template-columns: .8fr 1.2fr;
    }

    .kd-result-card {
        grid-column: 1 / -1;
        width: min(680px, 100%);
        margin: 0 auto 130px;
    }

    .kd-why__content {
        padding-bottom: 70px;
    }

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

    .kd-footer__socials {
        justify-self: end;
    }

    .kd-contact-dialog__frame {
        padding-inline: 150px;
    }

    .kd-contact-dialog__monkey {
        width: 230px;
    }

    .kd-contact-dialog__stupa {
        width: 220px;
    }

    .kd-contact-dialog__eye {
        display: none;
    }
}

@media (max-width: 900px) {
    :root {
        --side-gap: 24px;
    }

    .kd-header__inner {
        grid-template-columns: 1fr auto;
    }

    .kd-ornament-button {
        display: none;
    }

    .kd-brand__text strong {
        font-size: 29px;
    }

    .kd-hero,
    .kd-hero__grid {
        min-height: auto;
    }

    .kd-hero__grid {
        grid-template-columns: 1fr;
    }

    .kd-hero__content {
        position: relative;
        z-index: 3;
        padding: 40px 0 20px;
    }

    .kd-hero__title {
        max-width: 720px;
        font-size: clamp(54px, 10vw, 78px);
    }

    .kd-hero__visual {
        min-height: 540px;
    }

    .kd-hero__visual > img {
        right: 50%;
        width: min(760px, 112%);
        max-width: none;
        transform: translateX(50%);
    }

    .kd-speech-bubble {
        z-index: 4;
        right: 4%;
    }

    .kd-why__grid {
        grid-template-columns: 1fr;
    }

    .kd-why__monkey {
        order: 2;
    }

    .kd-why__monkey img {
        max-width: 420px;
    }

    .kd-why__content {
        order: 1;
        padding-bottom: 20px;
    }

    .kd-result-card {
        order: 3;
        margin-bottom: 130px;
    }

    .kd-contact-dialog__frame {
        min-height: 620px;
        padding: 48px 80px 100px;
    }

    .kd-contact-dialog__monkey {
        left: -35px;
        width: 190px;
    }

    .kd-contact-dialog__stupa {
        right: -25px;
        width: 180px;
    }

    .kd-case-detail {
        grid-template-columns: 1fr;
    }

    .kd-case-detail > img {
        height: 280px;
        min-height: 0;
    }
}

@media (max-width: 680px) {
    :root {
        --side-gap: 18px;
    }

    .kd-header__inner {
        min-height: 78px;
    }

    .kd-brand {
        gap: 9px;
    }

    .kd-brand__icon {
        width: 35px;
        height: 49px;
    }

    .kd-brand__text strong {
        font-size: 24px;
    }

    .kd-brand__text small {
        max-width: 190px;
        font-size: 10px;
    }

    .kd-hero__content {
        padding-top: 30px;
    }

    .kd-hero__title {
        display: block;
        font-size: clamp(45px, 14vw, 66px);
        line-height: .94;
    }

    .kd-hero__title em {
        display: inline-block;
        margin: 3px 0 0;
    }

    .kd-hero__title span:last-child {
        margin-top: 5px;
        font-size: .72em;
    }

    .kd-hero__subtitle {
        font-size: 24px;
    }

    .kd-hero__actions {
        display: grid;
    }

    .kd-button {
        width: 100%;
        min-height: 58px;
        font-size: 23px;
    }

    .kd-hero__visual {
        min-height: 410px;
    }

    .kd-hero__visual > img {
        width: 112%;
    }

    .kd-speech-bubble {
        top: 8px;
        right: 0;
        min-width: 115px;
        border-width: 3px;
        padding: 14px 10px;
        font-size: 20px;
    }

    .kd-services__track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 28px 0;
    }

    .kd-service-card {
        flex: 0 0 86vw;
        scroll-snap-align: start;
        grid-template-columns: 75px 1fr;
        border-right: 1px solid rgba(0, 0, 0, .18);
    }

    .kd-section-heading {
        align-items: flex-end;
    }

    .kd-section-heading h2,
    .kd-why__content h2 {
        font-size: 43px;
    }

    .kd-scroll-buttons button {
        width: 42px;
        height: 42px;
    }

    .kd-case-card {
        flex-basis: 88vw;
        grid-template-columns: 1fr 42%;
        min-height: 360px;
    }

    .kd-case-card__content {
        padding: 22px 8px 18px 18px;
    }

    .kd-case-card__excerpt {
        display: none;
    }

    .kd-case-card__metric {
        font-size: 50px;
    }

    .kd-case-card__metric-label {
        font-size: 16px;
    }

    .kd-result-card {
        width: calc(100% - 16px);
    }

    .kd-result-card__inner {
        min-height: 360px;
        padding: 32px 26px 110px;
    }

    .kd-result-card h2 {
        font-size: 47px;
    }

    .kd-footer {
        padding-top: 90px;
    }

    .kd-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kd-footer__socials {
        justify-self: start;
    }

    .kd-modal {
        padding: 12px;
    }

    .kd-modal__dialog,
    .kd-case-dialog {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }

    .kd-modal__close {
        width: 48px;
        height: 48px;
        top: -4px;
        right: -2px;
        font-size: 38px;
    }

    .kd-contact-dialog__frame {
        min-height: 610px;
        border-width: 5px;
        border-radius: 25px 10px;
        padding: 45px 22px 125px;
    }

    .kd-contact-dialog h2 {
        padding: 0 28px;
        font-size: clamp(42px, 12vw, 57px);
    }

    .kd-contact-dialog__content > p {
        font-size: 17px;
    }

    .kd-contact-dialog__monkey {
        left: -35px;
        width: 155px;
    }

    .kd-contact-dialog__stupa {
        right: -45px;
        width: 155px;
    }

    .kd-contact-dialog__tagline {
        bottom: 15px;
        width: 76%;
        padding: 10px 14px;
        font-size: 12px;
    }

    .kd-field input {
        height: 58px;
        font-size: 17px;
    }

    .kd-case-dialog__body {
        padding: 24px 18px;
    }

    .kd-case-detail h2 {
        padding-right: 28px;
        font-size: 43px;
    }

    .kd-case-detail__result {
        display: block;
    }

    .kd-case-detail__result strong {
        display: block;
        font-size: 55px;
    }
}

@media (max-width: 420px) {
    .kd-brand__text small {
        display: none;
    }

    .kd-hero__title {
        font-size: 42px;
    }

    .kd-hero__subtitle {
        font-size: 21px;
    }

    .kd-hero__visual {
        min-height: 350px;
    }

    .kd-case-card {
        grid-template-columns: 1fr 38%;
    }

    .kd-case-card h3 {
        font-size: 19px;
    }

    .kd-case-card__service {
        font-size: 11px;
    }

    .kd-contact-dialog__monkey,
    .kd-contact-dialog__stupa {
        opacity: .72;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
