.kfk-green {
    --green: #07594c;
    --ink: #131c2b;
    --paper: #f6f3ee;
    --line: #d8d3ca;
    --display: Georgia, 'Times New Roman', serif;
    background: var(--paper);
    color: var(--ink);
}
.kfk-green a:focus-visible, .kfk-green summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.kfk-green .main-page > section { scroll-margin-top: 24px; }
.kfk-nav { background: #fff; position: relative; z-index: 10; border-bottom: 1px solid var(--line); }
.kfk-nav__inner {
    width: min(100% - 64px, 1440px);
    min-height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    font: 19px/1.2 var(--display);
}
.kfk-brand { display: flex; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.kfk-brand strong { font-size: 42px; font-weight: 700; letter-spacing: -.04em; }
.kfk-brand span { padding-left: 16px; border-left: 1px solid var(--line); }
.kfk-nav__desktop { display: flex; align-items: center; gap: clamp(22px, 3vw, 52px); margin-left: auto; white-space: nowrap; }
.kfk-nav nav a, .kfk-nav summary { color: var(--ink); text-decoration: none; cursor: pointer; }
.kfk-nav nav a:hover, .kfk-nav summary:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.kfk-services-menu { position: relative; }
.kfk-services-menu__links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: #fff;
    border: 1px solid var(--line);
    min-width: 258px;
    padding: 8px 16px;
}
.kfk-services-menu__links a { display: block; padding: 11px 0; }
.kfk-mobile-menu { display: none; }
.kfk-green .kfk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    background: var(--green);
    color: #fff;
    border: 1px solid var(--green);
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    font: 600 20px/1.25 var(--display);
}
.kfk-green .kfk-button:hover { background: #064437; }
.kfk-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(460px, 42vw, 650px);
    background: #f1eeea;
}
.kfk-hero__copy {
    grid-column: 1 / 2;
    grid-row: 1;
    z-index: 1;
    align-self: center;
    padding: 40px 0 44px max(34px, calc((100vw - 1440px) / 2));
    position: relative;
}
.kfk-hero h1 { color: var(--ink); margin: 0; font: 700 clamp(44px, 5.1vw, 82px)/1.02 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.kfk-hero h1::after { content: ''; display: block; width: 72px; border-bottom: 3px solid var(--green); margin: 25px 0 23px; }
.kfk-hero p { max-width: 450px; margin: 0 0 32px; font: 400 clamp(21px, 2.1vw, 32px)/1.14 var(--display); }
.kfk-hero__photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: 57% center;
    mask-image: linear-gradient(to right, transparent 0%, #000 36%);
}
.kfk-home-content { width: min(100% - 64px, 1440px); margin: 30px auto 0; }
.kfk-audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kfk-audience {
    display: grid;
    grid-template-columns: minmax(94px, 31%) minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    padding: 12px 20px 12px 0;
    gap: clamp(14px, 2vw, 26px);
    min-height: 170px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: var(--ink);
    text-decoration: none;
    font: 700 clamp(23px, 2.2vw, 34px)/1.12 var(--display);
}
.kfk-audience:hover { border-color: var(--green); background: #ebf0e8; }
.kfk-audience img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.kfk-audience > span:nth-child(2) { border-left: 1px solid var(--line); padding-left: clamp(14px, 2vw, 30px); }
.kfk-audience__arrow { color: var(--green); font-weight: 400; }
.kfk-quicklinks { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; padding: 18px 0; border-block: 1px solid var(--line); }
.kfk-quicklinks a { min-height: 54px; display: flex; gap: 16px; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; font: 700 clamp(18px, 1.9vw, 28px)/1.15 var(--display); }
.kfk-quicklinks a + a { border-left: 1px solid var(--line); }
.kfk-quicklinks a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.kfk-quicklinks img { width: 38px; height: 38px; object-fit: contain; filter: grayscale(1) sepia(1) hue-rotate(90deg) saturate(2); }
.kfk-green .we-work, .kfk-green .develop, .kfk-green .production, .kfk-green .company, .kfk-green .partners { padding-block: clamp(38px, 6vw, 92px); }
.kfk-green .we-work, .kfk-green .production, .kfk-green .partners { background: var(--paper); }
.kfk-green .develop, .kfk-green .company { background: #fcfaf7; }
.kfk-green .we-work__title, .kfk-green .develop__title, .kfk-green .production__title,
.kfk-green .company__title, .kfk-green .partners__title { font-family: var(--display); line-height: 1.08; color: var(--ink); }
.kfk-green .we-work__title span, .kfk-green .develop__title span, .kfk-green .production__title span,
.kfk-green .company__title span, .kfk-green .partners__title span { color: var(--green); }
.kfk-green .production::before, .kfk-green .production::after { display: none; }
@media (max-width: 980px) {
    .kfk-nav__inner { width: calc(100% - 36px); min-height: 60px; }
    .kfk-brand { gap: 10px; font-size: 15px; }
    .kfk-brand strong { font-size: 30px; }
    .kfk-brand span { padding-left: 10px; }
    .kfk-nav__desktop, .kfk-green .kfk-nav__contact { display: none; }
    .kfk-mobile-menu { display: block; }
    .kfk-mobile-menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; }
    .kfk-mobile-menu > summary::-webkit-details-marker { display: none; }
    .kfk-mobile-menu nav { position: absolute; top: 100%; inset-inline: 0; background: #fff; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); }
    .kfk-mobile-menu nav > a, .kfk-mobile-menu nav summary { display: block; padding: 12px 8px; }
    .kfk-mobile-menu nav summary { display: list-item; list-style-position: inside; }
    .kfk-services-menu__links { position: static; margin-left: 8px; }
}
@media (max-width: 660px) {
    .kfk-hero { display: flex; flex-direction: column; min-height: 0; }
    .kfk-hero__copy { align-self: stretch; padding: 24px 20px 18px; }
    .kfk-hero h1 { font-size: clamp(33px, 9vw, 52px); text-wrap: initial; }
    .kfk-hero h1::after { width: 52px; margin: 17px 0 14px; border-width: 2px; }
    .kfk-hero p { font-size: 21px; margin-bottom: 19px; }
    .kfk-hero .kfk-button { width: 100%; text-align: center; }
    .kfk-hero__photo { position: static; width: 100%; height: auto; aspect-ratio: 1.52; mask-image: none; }
    .kfk-home-content { width: calc(100% - 24px); margin-top: 12px; }
    .kfk-audiences { grid-template-columns: 1fr; gap: 10px; }
    .kfk-audience { min-height: 106px; grid-template-columns: 82px minmax(0, 1fr) auto; padding: 8px 13px 8px 0; gap: 9px; font-size: 21px; }
    .kfk-audience > span:nth-child(2) { padding-left: 12px; }
    .kfk-quicklinks { grid-template-columns: 1fr; margin-top: 18px; padding: 0; }
    .kfk-quicklinks a { justify-content: flex-start; padding: 6px 10px; }
    .kfk-quicklinks a + a { border-left: 0; border-top: 1px solid var(--line); }
    .kfk-quicklinks img { width: 30px; height: 30px; }
}

/* Apply the homepage palette to buttons inherited from the original theme. */
.kfk-green .btn:not(.btn--white) {
    background: var(--green);
    color: #fff;
}
.kfk-green .btn:not(.btn--white)::before,
.kfk-green .btn:not(.btn--white)::after {
    background: none;
}
.kfk-green .btn:not(.btn--white):is(:hover, :active) {
    background: #064437;
}
body:has(.kfk-green) .soc-contact__toggler-icon {
    filter: hue-rotate(-43deg) brightness(.82);
}
