.ka {
    --ka-cream: #f7f3e9;
    --ka-ink: #102b42;
    --ka-muted: #405464;
    --ka-rule: #d9d7cb;
    color: var(--ka-ink);
    background: #fff;
}
.ka .ka-width { width: min(90%, 1240px); margin-inline: auto; }
/* Classic themes add a presentational wrapper inside native Group blocks. */
.ka .wp-block-group__inner-container { display: contents; }
.ka p { max-width: none; margin: 0; }
.ka h1,.ka h2 { max-width: none; margin: 0; color: inherit; font-family: Inter, sans-serif; line-height: 1.04; letter-spacing: -.06em; text-wrap: balance; }
.ka h2 { font-size: clamp(34px, 4vw, 62px); font-weight: 725; }
.ka .ka-eyebrow,.ka-role {
    margin: 0 0 16px;
    color: #575c49;
    font-size: 11px;
    font-weight: 780;
    line-height: 1.5;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ka .ka-eyebrow::before { content: ""; display: inline-block; width: 27px; height: 2px; margin: 0 10px 3px 0; background: #ae8e4f; }
.ka-breadcrumb,.ka-hero { background: var(--ka-cream); }
.ka .crumb { padding: 24px 0 0; margin: 0; }
.ka-hero { border-bottom: 1px solid var(--ka-rule); padding: clamp(30px, 3.8vw, 60px) 0 clamp(45px, 5.7vw, 84px); }
.ka-hero-layout { display: grid; grid-template-columns: .85fr 1.15fr; column-gap: clamp(32px, 4.5vw, 80px); align-items: center; }
.ka h1 { font-size: clamp(52px,6.3vw,96px); font-weight: 760; line-height: .99; }
.ka-hero-text .ka-lead { max-width: 42ch; margin: clamp(18px,2vw,29px) 0 26px; color: var(--ka-muted); font-size: clamp(17px,1.33vw,21px); line-height: 1.63; }
.ka .btn { min-height: 49px; gap: 18px; }
.ka-pair { position: relative; }
.ka-pair::after { content: ''; display: block; position: absolute; right: 0; bottom: -8px; height: 3px; width: 21%; background: #bc9a54; }
.ka-pair img { display: block; width: 100%; height: auto; border-radius: 3px; }
.ka-profile { scroll-margin-top: 105px; }
.ka-profile .ka-profile-layout {
    width: min(85%, 1030px);
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr);
    gap: clamp(38px, 7.5vw, 122px);
    align-items: center;
    padding-block: clamp(44px, 5.5vw, 82px);
}
.ka-profile-dominika { background: #f7f7f2; border-block: 1px solid #e4e6df; }
.ka-profile-dominika .ka-profile-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); }
.ka-profile-dominika .ka-portrait { grid-column: 2; grid-row: 1; }
.ka-profile-dominika .ka-profile-text { grid-column: 1; grid-row: 1; }
.ka-portrait { align-self: start; }
.ka-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: contain; border-radius: 2px; }
.ka-profile-text { min-width: 0; }
.ka .ka-role { margin: 0 0 10px; }
.ka .ka-summary { margin: 18px 0 15px; color: var(--ka-muted); font-size: clamp(17px, 1.38vw, 21px); line-height: 1.62; }
.ka-email { display: inline-block; color: #254764; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .24em; text-decoration-color: #aab4b9; overflow-wrap: anywhere; }
.ka-profile .wp-block-details { margin-top: clamp(22px, 2.6vw, 38px); }
.ka details { border-block: 1px solid var(--ka-rule); }
.ka details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 12px 0;
    cursor: pointer;
    color: var(--ka-ink);
    font-weight: 740;
    line-height: 1.42;
    list-style: none;
}
.ka details summary::-webkit-details-marker { display: none; }
.ka details summary::after { content: ''; width: 9px; height: 9px; flex: none; margin-right: 3px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg); }
.ka details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.ka details > p { color: var(--ka-muted); margin: 0 0 15px; font-size: 16px; line-height: 1.7; }
.ka summary:hover,.ka-email:hover { color: #176186; }
.ka-history { padding: clamp(48px,6.5vw,96px) 0; color: #f4f4ef; background: #112e43; }
.ka-history .ka-width { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: clamp(40px,7vw,110px); }
.ka-history .ka-eyebrow { color: #e7ca8b; }
.ka-history-text h2 { margin-bottom: 21px; }
.ka-history-text p:not(.ka-eyebrow) { color: #d7e2e5; margin-top: 12px; font-size: 16px; line-height: 1.7; }
.ka-figures .ka-figure { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: baseline; gap: 12px; padding: 15px 0; border-top: 1px solid #466073; }
.ka-figure:last-child { border-bottom: 1px solid #466073; }
.ka .ka-stat { font: 650 clamp(36px, 3.9vw, 64px)/1.12 Inter, sans-serif; color: #f5da9f; letter-spacing: -.06em; white-space: nowrap; }
.ka-figure p:last-child { font-size: 16px; color: #d7e2e5; }
.ka-principles { padding: clamp(52px,6.2vw,94px) 0; }
.ka-principles-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,8vw,118px); }
.ka-principle-list details + details { border-top: none; }
.ka-principle-list summary { font-size: clamp(17px,1.4vw,21px); min-height: 64px; }
.ka-close { background: var(--ka-cream); padding: clamp(37px,5vw,74px) 0; border-block: 1px solid var(--ka-rule); }
.ka-close-layout { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.ka-close-layout h2 { max-width: 19ch; font-size: clamp(32px,3.8vw,56px); }
.ka-original { padding: 38px 0 54px; }
.ka-original .about-copy { margin-block: 25px; }
.ka-original p { max-width: 82ch; margin-block: 16px; }
.kf-home-people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,2.3vw,38px); }
.kf-home-person { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr); align-items: center; gap: clamp(16px,1.9vw,32px); border-top: 1px solid #c5c6b8; padding-top: 21px; }
.kf-home-person > img { width: 100%; height: auto; display: block; aspect-ratio: 3/4; object-fit: contain; border-radius: 2px; }
.lp-team .kf-home-person .ka-role { margin: 0 0 8px; font-size: 10px; line-height: 1.45; }
.lp-team .kf-home-person h3 { font-size: clamp(23px,2.25vw,36px); }
.kf-home-person-copy > p:not(.ka-role) { font-size: 15px; line-height: 1.6; color: #405464; margin: 12px 0; }
.kf-home-person-copy > a { min-height: 38px; padding-top: 5px; }
@media (min-width: 1650px) {
    .ka h1 { font-size: 92px; }
}
@media (max-width: 930px) {
    .ka-profile .ka-profile-layout { width: 90%; gap: 6vw; }
    .ka-hero-layout { grid-template-columns: .9fr 1.1fr; gap: 3vw; }
    .ka h1 { font-size: clamp(48px,6.3vw,64px); }
    .ka-history .ka-width { grid-template-columns: 1.12fr .88fr; gap: 5vw; }
    .kf-home-person { grid-template-columns: minmax(0,.64fr) minmax(0,1fr); gap: 15px; }
    .kf-home-person-copy > p:not(.ka-role) { font-size: 14px; }
}
@media (max-width: 710px) {
    .ka-hero-layout,.ka-principles-layout,.ka-history .ka-width { grid-template-columns: 1fr; gap: 28px; }
    .ka .crumb { padding-top: 15px; }
    .ka-hero { padding: 32px 0 37px; }
    .ka h1 { max-width: 10ch; font-size: clamp(50px,9vw,66px); }
    .ka .ka-eyebrow { margin-bottom: 12px; }
    .ka .ka-lead { margin: 17px 0 20px; }
    .ka-profile .ka-profile-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; padding-block: 42px; }
    .ka-profile-dominika .ka-portrait,.ka-profile-dominika .ka-profile-text { grid-column: auto; grid-row: auto; }
    .ka-portrait { max-width: 285px; width: 83%; }
    .ka-profile h2 { font-size: clamp(36px,7.5vw,52px); }
    .ka .ka-summary { margin: 13px 0 12px; }
    .ka-profile .wp-block-details { margin-top: 18px; }
    .ka-history-text h2,.ka-principles-title h2 { max-width: 18ch; }
    .ka-principle-list summary { min-height: 56px; }
    .ka-close-layout { flex-direction: column; align-items: start; }
    .kf-home-people { grid-template-columns: 1fr; gap: 26px; }
    .kf-home-person { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 16px; align-items: start; padding-top: 20px; }
    .kf-home-person-copy > p:not(.ka-role) { margin: 8px 0; }
    .kf-home-person-copy > a { min-height: 42px; }
}
@media (max-width: 400px) {
    .kf-home-person { grid-template-columns: minmax(0, .57fr) minmax(0, 1fr); gap: 13px; }
}
