
:root {
    --kehl-blue: #0f2281;
    --kehl-blue-dark: #09165f;
    --kehl-blue-soft: #1d3190;
    --kehl-offwhite: #ede8e2;
    --kehl-white: #ffffff;
    --kehl-charcoal: #151821;
    --kehl-steel: #aeb4bf;
    --kehl-line: rgba(21, 24, 33, 0.14);
    --kehl-line-light: rgba(255, 255, 255, 0.18);
    --kehl-shadow: 0 24px 70px rgba(10, 20, 70, 0.12);
    --kehl-radius: 2px;
    --kehl-container: min(1400px, calc(100vw - 56px));
    --kehl-font: "Aptos", "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--kehl-charcoal);
    background: var(--kehl-offwhite);
    font-family: var(--kehl-font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.lightbox-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    color: var(--kehl-white);
    background: var(--kehl-blue);
}

.kehl-container {
    width: var(--kehl-container);
    margin: 0 auto;
}

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

.skip-link:focus {
    clip: auto;
    width: auto;
    height: auto;
    left: 16px;
    top: 16px;
    padding: 10px 14px;
    color: var(--kehl-blue);
    background: var(--kehl-white);
    z-index: 99999;
}

.site-topbar {
    color: rgba(255,255,255,.78);
    background: #09165f;
    font-size: 13px;
    letter-spacing: .04em;
}

.topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-contact {
    display: flex;
    gap: 24px;
}

.topbar-contact a:hover {
    color: var(--kehl-white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--kehl-white);
    background: var(--kehl-blue);
    border-top: 8px solid transparent;
    transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 35px rgba(6, 15, 64, .22);
    background: rgba(15, 34, 129, .98);
}

.header-inner {
    min-height: 104px;
    padding-top: 8px;
    padding-bottom: 10px;
    display: grid;
    grid-template-columns: 290px 1fr auto;
    align-items: center;
    gap: 34px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    width: 280px;
    padding-top: 4px;
}

.site-brand > a,
.site-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.site-brand img,
.site-brand .custom-logo {
    display: block;
    width: 100%;
    height: auto;
}

.primary-nav {
    justify-self: end;
}

.kehl-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.kehl-menu li {
    position: relative;
}

.kehl-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 94px;
    color: rgba(255,255,255,.90);
    font-size: 15px;
    font-weight: 650;
    letter-spacing: .02em;
}

.kehl-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 24px;
    height: 2px;
    background: var(--kehl-offwhite);
    transition: right .2s ease;
}

.kehl-menu > li > a:hover,
.kehl-menu > li.current-menu-item > a,
.kehl-menu > li.current-menu-ancestor > a {
    color: var(--kehl-white);
}

.kehl-menu > li > a:hover::after,
.kehl-menu > li.current-menu-item > a::after,
.kehl-menu > li.current-menu-ancestor > a::after {
    right: 0;
}

.kehl-menu .sub-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: -22px;
    min-width: 290px;
    margin: 0;
    padding: 12px;
    list-style: none;
    color: var(--kehl-charcoal);
    background: var(--kehl-white);
    box-shadow: var(--kehl-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}

.kehl-menu .menu-item-has-children:hover > .sub-menu,
.kehl-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kehl-menu .sub-menu a {
    display: block;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 650;
    border-bottom: 1px solid rgba(21,24,33,.08);
}

.kehl-menu .sub-menu li:last-child a {
    border-bottom: 0;
}

.kehl-menu .sub-menu a:hover {
    color: var(--kehl-blue);
    background: #f4f5fb;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    color: var(--kehl-blue);
    background: var(--kehl-offwhite);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    background: var(--kehl-white);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.25);
    color: var(--kehl-white);
    background: transparent;
}

.nav-toggle > span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

.home-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    color: var(--kehl-white);
    background:
        linear-gradient(135deg, var(--kehl-blue) 0%, var(--kehl-blue-dark) 100%);
}

.home-hero.has-image {
    background-image:
        linear-gradient(90deg, rgba(7, 21, 102, .97) 0%, rgba(7, 21, 102, .88) 42%, rgba(7, 21, 102, .25) 78%, rgba(7, 21, 102, .12) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}

.home-hero::after {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to right, rgba(0,0,0,.55), transparent 75%);
}

.hero-inner {
    position: relative;
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 210px);
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    z-index: 2;
}

.hero-content {
    max-width: 760px;
    min-width: 0;
    padding: 70px 0 110px;
}

.eyebrow {
    margin: 0 0 20px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow.blue {
    color: var(--kehl-blue);
}

.home-hero h1,
.page-hero h1,
.error-page h1 {
    margin: 0;
    font-size: clamp(42px, 5.8vw, 84px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .94;
    text-wrap: balance;
}

.hero-lead,
.page-lead {
    max-width: 710px;
    margin: 32px 0 0;
    color: rgba(255,255,255,.80);
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 42px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-light {
    color: var(--kehl-blue);
    background: var(--kehl-offwhite);
}

.button-light:hover {
    background: var(--kehl-white);
}

.button-blue {
    color: var(--kehl-white);
    background: var(--kehl-blue);
}

.button-blue:hover {
    background: var(--kehl-blue-dark);
}

.button-outline-light {
    color: var(--kehl-white);
    border-color: rgba(255,255,255,.55);
    background: transparent;
}

.button-outline-light:hover {
    color: var(--kehl-blue);
    background: var(--kehl-white);
    border-color: var(--kehl-white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--kehl-blue);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .02em;
}

.text-link span {
    transition: transform .2s ease;
}

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

.text-link-light {
    color: var(--kehl-white);
}

.hero-fact {
    align-self: end;
    justify-self: end;
    max-width: 170px;
    min-width: 0;
    margin-bottom: 110px;
    padding-left: 22px;
    border-left: 1px solid rgba(255,255,255,.42);
}

.hero-fact strong {
    display: block;
    font-size: clamp(52px, 5.8vw, 88px);
    font-weight: 350;
    letter-spacing: -.06em;
    line-height: .85;
}

.hero-fact span {
    display: block;
    max-width: 130px;
    margin-top: 14px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.intro-strip {
    color: var(--kehl-blue);
    background: var(--kehl-offwhite);
    border-bottom: 1px solid var(--kehl-line);
}

.intro-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 90px;
    align-items: center;
}

.intro-strip-grid p {
    position: relative;
    margin: 0;
    padding-left: 24px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.intro-strip-grid p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 2px solid var(--kehl-blue);
    transform: translateY(-50%) rotate(45deg);
}

.section {
    padding: 110px 0;
}

.section-intro {
    background: var(--kehl-offwhite);
}

.split-intro {
    display: grid;
    grid-template-columns: 1.05fr .75fr;
    gap: 120px;
    align-items: end;
    margin-bottom: 72px;
}

.section h2,
.page-content-section h2,
.contact-cta h2 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 54px);
    font-weight: 520;
    letter-spacing: -.035em;
    line-height: 1;
    text-wrap: balance;
}

.intro-copy {
    max-width: 620px;
    font-size: 18px;
}

.intro-copy p {
    margin: 0 0 28px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--kehl-line);
    border-left: 1px solid var(--kehl-line);
}

.service-card {
    position: relative;
    min-height: 320px;
    padding: 34px;
    border-right: 1px solid var(--kehl-line);
    border-bottom: 1px solid var(--kehl-line);
    transition: background .25s ease, color .25s ease;
}

.service-card:hover {
    color: var(--kehl-white);
    background: var(--kehl-blue);
}

.service-number {
    display: block;
    margin-bottom: 62px;
    color: var(--kehl-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.service-card:hover .service-number {
    color: rgba(255,255,255,.7);
}

.service-card h3 {
    margin: 0 0 15px;
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.service-card p {
    max-width: 340px;
    margin: 0;
    color: rgba(21,24,33,.70);
    font-size: 15px;
    line-height: 1.55;
}

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

.service-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 25px;
    transition: transform .2s ease;
}

.service-card:hover .service-arrow {
    transform: translate(4px, -4px);
}

.section-projects {
    color: var(--kehl-white);
    background: var(--kehl-charcoal);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 70px;
}

.legacy-project-grid {
    display: grid;
    gap: 0;
}

.legacy-project-card {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    min-height: 520px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.legacy-project-card:nth-child(even) .project-image-wrap {
    order: 2;
}

.legacy-project-card:nth-child(even) .project-card-copy {
    order: 1;
    padding-left: 0;
    padding-right: 80px;
}

.project-image-wrap {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #29314f;
}

.project-image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-image-wrap:hover img {
    transform: scale(1.025);
}

.image-fallback {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.06), transparent),
        repeating-linear-gradient(135deg, #192557 0 1px, transparent 1px 28px),
        var(--kehl-blue);
}

.project-index {
    position: absolute;
    left: 22px;
    bottom: 18px;
    min-width: 48px;
    padding: 6px 9px;
    color: var(--kehl-blue);
    background: var(--kehl-offwhite);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
}

.project-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0 60px 80px;
}

.project-card-copy h3 {
    margin: 0 0 24px;
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 520;
    letter-spacing: -.035em;
    line-height: 1;
}

.project-card-copy p:not(.eyebrow) {
    max-width: 570px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.66);
    font-size: 16px;
}

.project-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 90px;
}

.project-post-card {
    background: var(--kehl-white);
    color: var(--kehl-charcoal);
}

.project-post-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--kehl-blue);
}

.project-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.project-post-card:hover .project-post-image img {
    transform: scale(1.025);
}

.project-post-card > div {
    padding: 26px;
}

.project-post-card .eyebrow {
    margin-bottom: 10px;
    color: var(--kehl-blue);
}

.project-post-card h2,
.project-post-card h3 {
    margin: 0 0 12px;
    font-size: 27px;
    line-height: 1.12;
}

.project-post-card p {
    margin: 0;
    color: rgba(21,24,33,.68);
    font-size: 15px;
}

.section-history {
    background: var(--kehl-white);
}

.history-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 72px;
    align-items: center;
}

.history-number {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 45px;
    color: var(--kehl-offwhite);
    background:
        linear-gradient(135deg, rgba(255,255,255,.08), transparent),
        var(--kehl-blue);
}

.history-number span {
    font-size: clamp(120px, 16vw, 250px);
    font-weight: 300;
    letter-spacing: -.08em;
    line-height: .78;
}

.history-number small {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.history-copy {
    max-width: 760px;
}

.history-copy p:not(.eyebrow) {
    margin: 22px 0 0;
    color: rgba(21,24,33,.72);
    font-size: 18px;
}

.history-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 38px;
}

.section-process {
    background: #e4e0db;
}

.section-process > .kehl-container > h2 {
    max-width: 900px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 72px;
    border-top: 1px solid var(--kehl-line);
    border-left: 1px solid var(--kehl-line);
}

.process-grid article {
    min-height: 290px;
    padding: 32px;
    border-right: 1px solid var(--kehl-line);
    border-bottom: 1px solid var(--kehl-line);
}

.process-grid span {
    display: block;
    margin-bottom: 54px;
    color: var(--kehl-blue);
    font-size: 12px;
    font-weight: 800;
}

.process-grid h3 {
    margin: 0 0 14px;
    font-size: 25px;
}

.process-grid p {
    margin: 0;
    color: rgba(21,24,33,.68);
    font-size: 15px;
}

.contact-cta {
    padding: 95px 0;
    color: var(--kehl-white);
    background: var(--kehl-blue);
}

.contact-cta-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 80px;
}

.contact-cta h2 {
    max-width: 900px;
}

.contact-cta p:not(.eyebrow) {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.72);
}

.contact-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 0 0 auto;
}

.site-footer {
    color: rgba(255,255,255,.76);
    background: #0b0d12;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .65fr;
    gap: 90px;
    padding-top: 80px;
    padding-bottom: 70px;
}

.footer-brand img {
    width: 280px;
    margin-bottom: 26px;
}

.footer-brand p {
    max-width: 540px;
    margin: 0;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: var(--kehl-white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-footer p {
    margin: 0 0 18px;
    font-size: 15px;
}

.site-footer a:hover {
    color: var(--kehl-white);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0 0 9px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
}

.footer-bottom-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--kehl-white);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

.page-hero.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,21,102,.94) 0%, rgba(7,21,102,.82) 45%, rgba(7,21,102,.48) 100%);
}

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

.page-hero-blue {
    padding: 115px 0 100px;
    background: var(--kehl-blue);
}

.page-hero-simple {
    padding: 100px 0 75px;
    color: var(--kehl-charcoal);
    background: var(--kehl-offwhite);
    border-bottom: 1px solid var(--kehl-line);
}

.page-hero-simple h1 {
    max-width: 1000px;
    font-size: clamp(38px, 4.8vw, 68px);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.page-hero-inner > * {
    min-width: 0;
    max-width: 860px;
}

.page-hero .page-lead {
    max-width: 900px;
}



.split-intro-media {
    grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr);
    align-items: center;
}

.section-media-split {
    background: var(--kehl-white);
}

.media-split {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr);
    gap: 72px;
    align-items: center;
}

.section-copy p:not(.eyebrow) {
    margin: 20px 0 0;
    color: rgba(21,24,33,.72);
    font-size: 18px;
}

.section-visual,
.team-visual,
.contact-visual,
.legacy-project-preview {
    position: relative;
    overflow: hidden;
    background: #dfe3ec;
}

.section-visual img,
.team-visual img,
.contact-visual img,
.legacy-project-preview img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
}

.section-visual {
    min-height: 420px;
}

.team-side {
    display: grid;
    gap: 22px;
}

.team-visual {
    min-height: 340px;
}

.contact-visual {
    min-height: 280px;
    margin-bottom: 28px;
}

.legacy-project-preview {
    margin-top: 28px;
    min-height: 240px;
}

.image-fallback.tall {
    min-height: 100%;
    width: 100%;
    display: block;
}

.legacy-project-intro {
    background: var(--kehl-white);
}

.legacy-project-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 72px;
    align-items: start;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--kehl-line);
}

.feature-list li {
    position: relative;
    padding: 20px 40px 20px 30px;
    border-bottom: 1px solid var(--kehl-line);
    font-weight: 650;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 27px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--kehl-blue);
    transform: rotate(45deg);
}

.legacy-gallery-section {
    padding: 120px 0;
    background: var(--kehl-offwhite);
}

.gallery-heading {
    margin-bottom: 45px;
}

.gallery-heading h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 520;
    letter-spacing: -.035em;
    line-height: 1;
}

.kehl-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 110px;
    gap: 12px;
}

.kehl-gallery a {
    position: relative;
    grid-column: span 4;
    grid-row: span 3;
    overflow: hidden;
    background: #d8d5d2;
}

.kehl-gallery a:nth-child(7n + 1),
.kehl-gallery a:nth-child(7n + 5) {
    grid-column: span 6;
    grid-row: span 4;
}

.kehl-gallery a:nth-child(7n + 2),
.kehl-gallery a:nth-child(7n + 6) {
    grid-column: span 3;
}

.kehl-gallery a:nth-child(7n + 3),
.kehl-gallery a:nth-child(7n + 4),
.kehl-gallery a:nth-child(7n + 7) {
    grid-column: span 3;
}

.kehl-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.kehl-gallery a:hover img {
    transform: scale(1.035);
}

.kehl-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 90px;
    background: rgba(6,8,15,.95);
}

.kehl-lightbox.is-open {
    display: flex;
}

.kehl-lightbox figure {
    margin: 0;
    max-width: min(1400px, 88vw);
    max-height: 88vh;
}

.kehl-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
}

.kehl-lightbox button {
    position: absolute;
    border: 0;
    color: var(--kehl-white);
    background: transparent;
    font-size: 46px;
    line-height: 1;
}

.kehl-lightbox-close {
    top: 26px;
    right: 28px;
}

.kehl-lightbox-prev,
.kehl-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.kehl-lightbox-prev {
    left: 30px;
}

.kehl-lightbox-next {
    right: 30px;
}

.content-narrow {
    max-width: 980px;
}

.entry-content {
    font-size: 18px;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--kehl-blue);
    line-height: 1.15;
}

.entry-content h2 {
    margin: 1.7em 0 .65em;
    font-size: clamp(34px, 4vw, 52px);
}

.entry-content h3 {
    margin: 1.6em 0 .6em;
    font-size: 28px;
}

.entry-content p {
    margin: 0 0 1.3em;
}

.entry-content a {
    color: var(--kehl-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content img {
    border-radius: var(--kehl-radius);
}

.entry-content .wp-block-gallery {
    gap: 14px;
}

.entry-content input:not([type="submit"]),
.entry-content textarea,
.entry-content select {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(21,24,33,.22);
    background: var(--kehl-white);
}

.entry-content input[type="submit"],
.entry-content button[type="submit"] {
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    color: var(--kehl-white);
    background: var(--kehl-blue);
    font-weight: 750;
}

.subtle-section {
    background: #e4e0db;
}

.team-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.team-grid h2 {
    margin-bottom: 30px;
}

.team-grid p {
    font-size: 18px;
}

.team-grid .button {
    margin-top: 20px;
}

.team-ci-panel {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px;
    color: var(--kehl-offwhite);
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        var(--kehl-blue);
    background-size: 42px 42px;
}

.team-ci-panel span {
    font-size: clamp(90px, 11vw, 170px);
    font-weight: 300;
    letter-spacing: -.08em;
    line-height: .8;
}

.team-ci-panel strong {
    max-width: 420px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 520;
    letter-spacing: -.035em;
    line-height: 1;
}

.team-ci-panel small {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.archive-projects {
    min-height: 500px;
    background: var(--kehl-offwhite);
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.project-filters a {
    padding: 10px 15px;
    border: 1px solid var(--kehl-line);
    font-size: 13px;
    font-weight: 750;
}

.project-filters a:hover,
.project-filters a.active {
    color: var(--kehl-white);
    background: var(--kehl-blue);
    border-color: var(--kehl-blue);
}

.archive-grid {
    margin-top: 0;
}

.empty-projects {
    max-width: 760px;
    padding: 50px;
    background: var(--kehl-white);
}

.empty-projects h2 {
    margin: 0 0 16px;
    font-size: 38px;
}

.navigation.pagination {
    margin-top: 50px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.page-numbers {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--kehl-line);
}

.page-numbers.current {
    color: var(--kehl-white);
    background: var(--kehl-blue);
    border-color: var(--kehl-blue);
}

.project-single-hero {
    position: relative;
    color: var(--kehl-white);
    background: var(--kehl-blue);
}

.project-single-image {
    height: min(62vw, 680px);
    min-height: 430px;
    overflow: hidden;
}

.project-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-single-title {
    padding-top: 70px;
    padding-bottom: 80px;
}

.project-single-title h1 {
    max-width: 1100px;
    margin: 0;
    font-size: clamp(48px, 7vw, 96px);
    line-height: .98;
    letter-spacing: -.04em;
}

.back-link {
    display: inline-block;
    margin-bottom: 42px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-single-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 900px);
    gap: 90px;
    align-items: start;
}

.project-meta {
    border-top: 1px solid var(--kehl-line);
}

.project-meta div {
    padding: 17px 0;
    border-bottom: 1px solid var(--kehl-line);
}

.project-meta span {
    display: block;
    margin-bottom: 4px;
    color: var(--kehl-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-meta strong {
    font-size: 15px;
}

.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    color: var(--kehl-white);
    background: var(--kehl-blue);
}

.error-page p:not(.eyebrow) {
    max-width: 650px;
    margin: 28px 0;
    font-size: 19px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1180px) {
    :root {
        --kehl-container: min(calc(100vw - 44px), 1180px);
    }

    .header-inner {
        grid-template-columns: 210px 1fr auto;
        gap: 20px;
    }

    .site-brand {
        width: 200px;
    }

    .kehl-menu {
        gap: 18px;
    }

    .kehl-menu > li > a {
        font-size: 14px;
    }

    .header-cta {
        padding-inline: 15px;
        font-size: 12px;
    }

    .split-intro,
    .legacy-project-intro-grid {
        gap: 70px;
    }

    .project-card-copy {
        padding-left: 55px;
    }

    .legacy-project-card:nth-child(even) .project-card-copy {
        padding-right: 55px;
    }

    .history-grid {
        gap: 70px;
    }

    .footer-grid {
        gap: 50px;
    }
}

@media (max-width: 1099px) {
    .site-topbar {
        display: none;
    }

    .site-header {
        top: 0;
    }

    .header-inner {
        min-height: 94px;
        padding-top: 10px;
        padding-bottom: 12px;
        grid-template-columns: 1fr auto auto;
    }

    .site-brand {
        width: 230px;
        padding-top: 6px;
    }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .header-cta {
        order: 2;
    }

    .primary-nav {
        position: fixed;
        inset: 82px 0 0;
        display: none;
        overflow: auto;
        padding: 28px 22px 60px;
        color: var(--kehl-charcoal);
        background: var(--kehl-offwhite);
    }

    .nav-open .primary-nav {
        display: block;
    }

    .kehl-menu {
        display: block;
        max-width: 760px;
        margin: 0 auto;
    }

    .kehl-menu > li {
        border-bottom: 1px solid var(--kehl-line);
    }

    .kehl-menu > li > a {
        min-height: 64px;
        color: var(--kehl-charcoal);
        font-size: 20px;
    }

    .kehl-menu > li > a::after {
        display: none;
    }

    .kehl-menu .sub-menu {
        position: static;
        min-width: 0;
        padding: 0 0 14px 18px;
        color: var(--kehl-charcoal);
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .kehl-menu .sub-menu a {
        padding: 9px 0;
        border: 0;
        color: rgba(21,24,33,.72);
    }

    .home-hero,
    .hero-inner {
        min-height: 650px;
    }

    .hero-inner {
        grid-template-columns: 1fr 180px;
    }

    .home-hero::after {
        display: none;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero-fact {
        margin-bottom: 90px;
    }

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

    .legacy-project-card {
        min-height: 460px;
    }

    .project-image-wrap {
        min-height: 460px;
    }

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

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

    .kehl-gallery {
        grid-auto-rows: 95px;
    }

    .kehl-gallery a,
    .kehl-gallery a:nth-child(n) {
        grid-column: span 6;
        grid-row: span 3;
    }
}

@media (max-width: 800px) {
    :root {
        --kehl-container: min(calc(100vw - 34px), 760px);
    }

    body {
        font-size: 16px;
    }

    .header-inner {
        min-height: 74px;
    }

    .site-brand {
        width: 175px;
    }

    .primary-nav {
        inset: 74px 0 0;
    }

    .header-cta {
        display: none;
    }

    .home-hero {
        min-height: 650px;
        background-position: 62% center;
    }

    .home-hero.has-image {
        background-image:
            linear-gradient(180deg, rgba(7,21,102,.96) 0%, rgba(7,21,102,.88) 64%, rgba(7,21,102,.60) 100%),
            var(--hero-image);
    }

    .hero-inner {
        min-height: 650px;
        grid-template-columns: 1fr;
        align-content: center;
    }

    .hero-content {
        padding: 70px 0 40px;
    }

    .home-hero h1,
    .page-hero h1,
    .error-page h1 {
        font-size: clamp(46px, 13vw, 76px);
    }

    .hero-lead,
    .page-lead {
        font-size: 19px;
    }

    .hero-fact {
        display: none;
    }

    .intro-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        min-height: 0;
        padding: 18px 0;
        gap: 14px 20px;
    }

    .intro-strip-grid p {
        font-size: 11px;
    }

    .section {
        padding: 86px 0;
    }

    .split-intro,
    .legacy-project-intro-grid,
    .history-grid,
    .team-grid,
    .project-single-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .split-intro {
        margin-bottom: 50px;
    }

    .section h2,
    .page-content-section h2,
    .contact-cta h2 {
        font-size: clamp(38px, 10vw, 56px);
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 245px;
    }

    .service-number {
        margin-bottom: 40px;
    }

    .section-heading,
    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading {
        display: flex;
    }

    .legacy-project-card {
        display: block;
        min-height: 0;
        padding: 0 0 64px;
        border-top: 1px solid rgba(255,255,255,.14);
    }

    .legacy-project-card + .legacy-project-card {
        padding-top: 64px;
    }

    .project-image-wrap {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .legacy-project-card:nth-child(even) .project-image-wrap,
    .legacy-project-card:nth-child(even) .project-card-copy {
        order: initial;
    }

    .project-card-copy,
    .legacy-project-card:nth-child(even) .project-card-copy {
        padding: 32px 0 0;
    }

    .project-card-copy h3 {
        font-size: 40px;
    }

    .project-posts-grid {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }

    .history-number {
        min-height: 350px;
    }

    .history-number span {
        font-size: 150px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .process-grid article {
        min-height: 220px;
    }

    .process-grid span {
        margin-bottom: 35px;
    }

    .contact-cta {
        padding: 72px 0;
    }

    .contact-cta-inner {
        display: flex;
        gap: 38px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-top: 65px;
        padding-bottom: 55px;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 0;
    }

    .footer-legal {
        justify-content: flex-start;
    }

    .page-hero-blue {
        padding: 90px 0 80px;
    }

    .legacy-gallery-section {
        padding: 80px 0;
    }

    .kehl-gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        gap: 8px;
    }

    .kehl-gallery a,
    .kehl-gallery a:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 1 / 1;
    }

    .kehl-lightbox {
        padding: 58px 20px;
    }

    .kehl-lightbox-prev {
        left: 8px;
    }

    .kehl-lightbox-next {
        right: 8px;
    }

    .project-single-image {
        min-height: 320px;
        height: 58vw;
    }

    .project-single-title {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .project-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .project-meta div {
        padding-right: 20px;
    }
}

@media (max-width: 520px) {
    :root {
        --kehl-container: calc(100% - 28px);
    }

    .site-brand {
        width: 160px;
    }

    .home-hero,
    .hero-inner {
        min-height: 610px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .intro-strip-grid {
        grid-template-columns: 1fr 1fr;
    }

    .history-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-meta {
        grid-template-columns: 1fr;
    }

    .kehl-gallery {
        grid-template-columns: 1fr;
    }

    .kehl-gallery a,
    .kehl-gallery a:nth-child(n) {
        aspect-ratio: 4 / 3;
    }

    .footer-legal {
        display: grid;
        gap: 9px;
    }
}


.contact-page-section {
    background: var(--kehl-offwhite);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 60px;
    align-items: start;
}

.contact-details h2 {
    margin-bottom: 42px;
}

.contact-detail-row {
    padding: 22px 0;
    border-top: 1px solid var(--kehl-line);
}

.contact-detail-row:last-child {
    border-bottom: 1px solid var(--kehl-line);
}

.contact-detail-row span {
    display: block;
    margin-bottom: 5px;
    color: var(--kehl-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-detail-row strong {
    display: block;
    font-size: 18px;
}

.contact-form-wrap {
    padding: 38px;
    background: var(--kehl-white);
}

.kehl-contact-form {
    display: grid;
    gap: 22px;
}

.kehl-contact-form .form-row {
    display: grid;
    gap: 18px;
}

.kehl-contact-form .form-row.two {
    grid-template-columns: 1fr 1fr;
}

.kehl-contact-form label > span {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 750;
}

.kehl-contact-form input:not([type="checkbox"]),
.kehl-contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(21,24,33,.20);
    border-radius: 0;
    color: var(--kehl-charcoal);
    background: #fafafa;
    outline: none;
}

.kehl-contact-form input:focus,
.kehl-contact-form textarea:focus {
    border-color: var(--kehl-blue);
    box-shadow: 0 0 0 2px rgba(15,34,129,.08);
}

.privacy-check {
    display: grid !important;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    font-size: 13px;
    line-height: 1.5;
}

.privacy-check input {
    margin-top: 3px;
}

.privacy-check a {
    color: var(--kehl-blue);
    text-decoration: underline;
}

.kehl-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-left: 4px solid var(--kehl-blue);
    background: #f3f4fa;
    font-size: 14px;
}

.form-message.success {
    border-left-color: #207a45;
}

.form-message.error {
    border-left-color: #a92d2d;
}

.prospect-section {
    background: var(--kehl-offwhite);
}

.prospect-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.prospect-grid a {
    display: block;
    padding: 20px;
    background: var(--kehl-white);
    box-shadow: 0 10px 35px rgba(10,20,70,.08);
}

.prospect-grid img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 800px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-wrap {
        padding: 28px 22px;
    }

    .kehl-contact-form .form-row.two {
        grid-template-columns: 1fr;
    }

    .prospect-grid {
        grid-template-columns: 1fr;
    }
}

/* Version 1.1.0: Mega navigation */
.kehl-mega-navigation > li {
    position: static;
}

.kehl-parent-link {
    display: flex;
    align-items: center;
    min-height: 94px;
}

.kehl-parent-link > a,
.kehl-mega-navigation > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 94px;
    color: rgba(255,255,255,.90);
    font-size: 15px;
    font-weight: 650;
    letter-spacing: .02em;
}

.kehl-parent-link > a::after,
.kehl-mega-navigation > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 24px;
    height: 2px;
    background: var(--kehl-offwhite);
    transition: right .2s ease;
}

.kehl-parent-link > a:hover,
.kehl-mega-navigation > li > a:hover,
.kehl-mega-navigation > li.current-menu-item > a,
.kehl-mega-navigation > li.current-menu-item .kehl-parent-link > a {
    color: var(--kehl-white);
}

.kehl-parent-link > a:hover::after,
.kehl-mega-navigation > li > a:hover::after,
.kehl-mega-navigation > li.current-menu-item > a::after,
.kehl-mega-navigation > li.current-menu-item .kehl-parent-link > a::after {
    right: 0;
}

.kehl-submenu-toggle {
    width: 28px;
    height: 38px;
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--kehl-white);
}

.kehl-submenu-toggle span {
    display: block;
    position: relative;
    width: 9px;
    height: 9px;
    margin: 0 auto 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.kehl-mega-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% - 1px);
    left: 50%;
    width: min(1420px, calc(100vw - 48px));
    padding: 28px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 240px;
    gap: 28px;
    color: var(--kehl-charcoal);
    background: var(--kehl-white);
    border-top: 1px solid rgba(15,34,129,.08);
    box-shadow: 0 30px 70px rgba(6,15,64,.20);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity .16s ease, visibility .16s ease;
}

.kehl-has-mega:hover > .kehl-mega-menu,
.kehl-has-mega:focus-within > .kehl-mega-menu,
.kehl-has-mega.is-submenu-open > .kehl-mega-menu,
.kehl-has-mega.is-hover-open > .kehl-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
}

.kehl-mega-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.kehl-mega-intro {
    padding: 8px 20px 8px 2px;
    border-right: 1px solid var(--kehl-line);
}

.kehl-mega-intro h2 {
    margin: 6px 0 12px;
    color: var(--kehl-blue);
    font-size: clamp(25px, 2vw, 34px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.kehl-mega-intro p:not(.eyebrow) {
    margin: 0 0 18px;
    color: rgba(21,24,33,.72);
    font-size: 14px;
    line-height: 1.55;
}

.kehl-mega-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.kehl-mega-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 10px;
    color: var(--kehl-charcoal);
    background: #f7f7f9;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.kehl-mega-card:hover {
    transform: translateY(-2px);
    background: var(--kehl-offwhite);
    box-shadow: 0 10px 24px rgba(10,20,70,.09);
}

.kehl-mega-thumb {
    position: relative;
    display: block;
    width: 82px;
    height: 64px;
    overflow: hidden;
    background: var(--kehl-blue);
}

.kehl-mega-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kehl-mega-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,34,129,.08), rgba(9,22,95,.38));
}

.kehl-mega-thumb.no-image::before {
    content: "KEHL";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.18);
    font-family: Georgia, serif;
    font-size: 21px;
    letter-spacing: .04em;
}

.kehl-mega-thumb b {
    position: absolute;
    z-index: 2;
    right: 7px;
    bottom: 5px;
    color: var(--kehl-white);
    font-size: 11px;
    letter-spacing: .08em;
}

.kehl-mega-card-copy {
    display: block;
    min-width: 0;
}

.kehl-mega-card-copy strong,
.kehl-mega-card-copy small {
    display: block;
}

.kehl-mega-card-copy strong {
    color: var(--kehl-blue);
    font-size: 14px;
    line-height: 1.28;
}

.kehl-mega-card-copy small {
    margin-top: 4px;
    color: rgba(21,24,33,.58);
    font-size: 11px;
    line-height: 1.35;
}

.kehl-mega-cta {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding: 22px;
    color: var(--kehl-white);
    background: var(--kehl-blue);
}

.kehl-mega-cta span {
    margin-bottom: 10px;
    color: rgba(255,255,255,.68);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.kehl-mega-cta strong {
    margin-bottom: 22px;
    font-size: 20px;
    line-height: 1.25;
}

.kehl-mega-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    color: var(--kehl-blue);
    background: var(--kehl-offwhite);
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.kehl-small-menu {
    position: absolute;
    top: calc(100% - 1px);
    min-width: 230px;
    margin: 0;
    padding: 10px;
    list-style: none;
    color: var(--kehl-charcoal);
    background: var(--kehl-white);
    box-shadow: var(--kehl-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity .16s ease, visibility .16s ease;
}

.kehl-has-small-menu:hover > .kehl-small-menu,
.kehl-has-small-menu:focus-within > .kehl-small-menu,
.kehl-has-small-menu.is-submenu-open > .kehl-small-menu,
.kehl-has-small-menu.is-hover-open > .kehl-small-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.kehl-small-menu a {
    display: block;
    padding: 11px 12px;
    color: var(--kehl-charcoal);
    font-size: 14px;
    font-weight: 650;
}

.kehl-small-menu a:hover {
    color: var(--kehl-blue);
    background: #f4f5fb;
}

/* Version 1.1.0: Leistungen */
.services-overview-hero .page-lead {
    max-width: 860px;
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--kehl-line);
    border: 1px solid var(--kehl-line);
}

.service-overview-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 270px;
    color: var(--kehl-charcoal);
    background: var(--kehl-white);
    overflow: hidden;
}

.service-overview-image {
    position: relative;
    min-height: 100%;
    background: var(--kehl-blue);
    overflow: hidden;
}

.service-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-overview-image.no-image::before {
    content: "KEHL";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.18);
    font-family: Georgia, serif;
    font-size: 42px;
}

.service-overview-number {
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: var(--kehl-white);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .1em;
}

.service-overview-copy {
    padding: 32px;
}

.service-overview-copy h2 {
    margin: 5px 0 12px;
    color: var(--kehl-blue);
    font-size: 27px;
    line-height: 1.12;
}

.service-overview-copy p {
    margin: 0 0 18px;
    font-size: 15px;
    color: rgba(21,24,33,.72);
}

.legacy-project-detail-copy {
    padding-top: 0;
}

.legacy-project-detail-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.legacy-project-detail-grid h2 {
    color: var(--kehl-blue);
    margin-top: 0;
}

.legacy-project-detail-grid p {
    margin-top: 0;
    font-size: 18px;
}

@media (max-width: 1280px) {
    .kehl-menu {
        gap: 20px;
    }

    .header-inner {
        grid-template-columns: 220px 1fr auto;
        gap: 24px;
    }

    .site-brand {
        width: 210px;
    }

    .kehl-mega-menu {
        grid-template-columns: 230px minmax(0, 1fr) 210px;
        gap: 20px;
        padding: 22px;
    }

    .kehl-mega-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1099px) {
    .kehl-parent-link {
        min-height: 64px;
        justify-content: space-between;
    }

    .kehl-parent-link > a,
    .kehl-mega-navigation > li > a {
        min-height: 64px;
        color: var(--kehl-charcoal);
        font-size: 20px;
    }

    .kehl-parent-link > a::after,
    .kehl-mega-navigation > li > a::after {
        display: none;
    }

    .kehl-submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        color: var(--kehl-blue);
        border: 1px solid rgba(15,34,129,.12);
    }

    .kehl-submenu-toggle span {
        margin: 0 0 5px;
    }

    .is-submenu-open > .kehl-parent-link .kehl-submenu-toggle span {
        transform: rotate(225deg);
        margin-bottom: -3px;
    }

    .kehl-mega-menu,
    .kehl-small-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        padding: 0 0 22px;
        margin: 0;
        color: var(--kehl-charcoal);
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .kehl-has-mega.is-submenu-open > .kehl-mega-menu,
    .kehl-has-small-menu.is-submenu-open > .kehl-small-menu {
        display: block;
        transform: none;
    }

    .kehl-mega-intro,
    .kehl-mega-cta {
        display: none;
    }

    .kehl-mega-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 4px 0 8px;
        gap: 10px;
    }

    .kehl-mega-card {
        grid-template-columns: 74px minmax(0, 1fr);
        padding: 8px;
        background: var(--kehl-white);
        border: 1px solid var(--kehl-line);
    }

    .kehl-mega-thumb {
        width: 74px;
        height: 58px;
    }

    .kehl-small-menu {
        padding-left: 18px;
    }

    .kehl-small-menu a {
        padding: 9px 0;
        color: rgba(21,24,33,.72);
    }
}

@media (max-width: 800px) {
    .services-overview-grid {
        grid-template-columns: 1fr;
    }

    .service-overview-card {
        grid-template-columns: 125px minmax(0, 1fr);
        min-height: 230px;
    }

    .service-overview-copy {
        padding: 24px 20px;
    }

    .legacy-project-detail-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 560px) {
    .kehl-mega-services {
        grid-template-columns: 1fr;
    }

    .header-cta {
        display: none;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .site-brand {
        width: min(235px, 68vw);
    }

    .service-overview-card {
        grid-template-columns: 1fr;
    }

    .service-overview-image {
        min-height: 190px;
    }
}

@media (min-width: 1100px) {
    .kehl-mega-navigation > .kehl-has-small-menu {
        position: relative;
    }

    .kehl-has-small-menu > .kehl-small-menu {
        left: -18px;
    }
}


@media (max-width: 800px) {
    .service-grid { grid-template-columns: 1fr; }
    .media-split, .split-intro-media { grid-template-columns: 1fr; gap: 34px; }
    .section-visual, .team-visual, .contact-visual, .legacy-project-preview { min-height: 240px; }
    .team-side { gap: 18px; }
}


/* Version 1.1.2: Jobs */
.jobs-hero {
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        var(--kehl-blue);
    background-size: 48px 48px;
}

.jobs-intro-section {
    background: var(--kehl-white);
}

.jobs-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
    gap: 72px;
    align-items: center;
}

.jobs-copy p:not(.eyebrow) {
    margin: 20px 0 0;
    color: rgba(21,24,33,.72);
    font-size: 18px;
}

.jobs-copy .button {
    margin-top: 32px;
}

.jobs-image-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.jobs-image-pair img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 18px 50px rgba(10,20,70,.14);
}

.jobs-details-section {
    background: #e4e0db;
}

.jobs-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--kehl-line);
    border: 1px solid var(--kehl-line);
}

.jobs-details-grid article {
    padding: 42px;
    background: var(--kehl-offwhite);
}

.jobs-details-grid article > span {
    display: block;
    margin-bottom: 34px;
    color: var(--kehl-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.jobs-details-grid h2 {
    margin-bottom: 28px;
}

.jobs-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jobs-list li {
    position: relative;
    padding: 14px 0 14px 30px;
    border-top: 1px solid var(--kehl-line);
}

.jobs-list li:last-child {
    border-bottom: 1px solid var(--kehl-line);
}

.jobs-list li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 22px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--kehl-blue);
    transform: rotate(45deg);
}

@media (max-width: 1099px) {
    .jobs-intro-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .jobs-image-pair,
    .jobs-details-grid {
        grid-template-columns: 1fr;
    }

    .jobs-details-grid article {
        padding: 30px 24px;
    }
}


/* Version 1.1.7 */
.primary-nav { position: relative; }
.kehl-mega-navigation > .kehl-has-mega { position: static; }
.kehl-mega-menu { top: calc(100% + 6px); border-radius: 0 0 12px 12px; }
.kehl-mega-card { min-height: 86px; }
.kehl-mega-card-copy strong { font-size: 15px; }


/* Version 1.1.8, größere Marke, grafische Elemente, verfeinertes Menü */
.site-topbar {
    position: relative;
}

.site-topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255,255,255,.08);
}

.header-inner {
    grid-template-columns: 290px 1fr auto;
    gap: 28px;
}

.site-brand {
    width: 280px;
}

@media (max-width: 1099px) {
    .header-inner {
        grid-template-columns: 1fr auto auto;
    }

    .site-brand {
        width: 230px;
    }
}

@media (max-width: 640px) {
    .site-brand {
        width: 170px;
    }
}

.hero-chip-row,
.intro-badges,
.project-hero-tags,
.accent-band-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-chip-row {
    margin: 26px 0 0;
}

.hero-chip-row span,
.intro-badges span,
.project-hero-tags span,
.accent-band-points span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(15,34,129,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.intro-badges {
    margin: 24px 0 18px;
}

.intro-badges span,
.accent-band-points span {
    color: var(--kehl-blue);
    background: #f2f4f9;
}

.project-hero-tags {
    margin-top: 22px;
}

.section-accent-band {
    padding: 0 0 110px;
    background: linear-gradient(180deg, var(--kehl-white) 0%, var(--kehl-offwhite) 100%);
}

.accent-band-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
    padding: 34px 38px;
    border: 1px solid rgba(15,34,129,.10);
    background: var(--kehl-white);
    box-shadow: 0 20px 50px rgba(10,20,70,.07);
    overflow: hidden;
}

.accent-band-grid::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 10px;
    background: linear-gradient(180deg, var(--kehl-blue), #5d6fc7);
}

.accent-band-grid::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -50px;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(15,34,129,.08);
    border-radius: 50%;
}

.accent-band-copy h2 {
    margin: 6px 0 12px;
}

.accent-band-copy p:not(.eyebrow) {
    margin: 0;
    color: rgba(21,24,33,.72);
    font-size: 18px;
}

.accent-band-points {
    justify-content: flex-end;
}

.section-visual,
.team-visual,
.contact-visual,
.legacy-project-preview,
.service-card-media,
.kehl-mega-thumb,
.project-image-wrap {
    border-radius: 14px;
}

.service-card,
.process-grid article,
.jobs-details-grid article,
.contact-form-wrap,
.contact-details,
.service-overview-card {
    border-radius: 16px;
}

.service-card {
    overflow: hidden;
}

.service-card::after,
.process-grid article::after,
.jobs-details-grid article::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 16px;
    width: 34px;
    height: 34px;
    border-top: 2px solid rgba(15,34,129,.14);
    border-right: 2px solid rgba(15,34,129,.14);
}

.kehl-has-services-mega,
.kehl-has-company-panel {
    position: static;
}

.kehl-mega-menu-services {
    width: min(1420px, calc(100vw - 48px));
    padding: 32px;
    grid-template-columns: 300px minmax(0, 1fr) 250px;
    border-radius: 0 0 18px 18px;
}

.kehl-mega-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kehl-mega-card {
    min-height: 106px;
    padding: 12px;
    border: 1px solid rgba(15,34,129,.08);
    border-radius: 14px;
}

.kehl-mega-card-copy em {
    display: block;
    margin-top: 6px;
    color: rgba(21,24,33,.62);
    font-size: 11px;
    font-style: normal;
    line-height: 1.45;
}

.kehl-company-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 50%;
    width: min(900px, calc(100vw - 48px));
    padding: 28px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    background: var(--kehl-white);
    color: var(--kehl-charcoal);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 30px 70px rgba(6,15,64,.20);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity .16s ease, visibility .16s ease;
}

.kehl-has-company-panel:hover > .kehl-company-panel,
.kehl-has-company-panel:focus-within > .kehl-company-panel,
.kehl-has-company-panel.is-submenu-open > .kehl-company-panel,
.kehl-has-company-panel.is-hover-open > .kehl-company-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.kehl-company-panel-intro {
    padding-right: 10px;
    border-right: 1px solid var(--kehl-line);
}

.kehl-company-panel-intro h2 {
    margin: 6px 0 10px;
    color: var(--kehl-blue);
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.08;
}

.kehl-company-panel-intro p:not(.eyebrow) {
    margin: 0;
    color: rgba(21,24,33,.72);
    font-size: 14px;
    line-height: 1.55;
}

.kehl-company-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.kehl-company-links a {
    display: block;
    min-height: 160px;
    padding: 18px;
    border: 1px solid rgba(15,34,129,.08);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
    color: var(--kehl-charcoal);
    transition: transform .18s ease, box-shadow .18s ease;
}

.kehl-company-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10,20,70,.09);
}

.kehl-company-links strong,
.kehl-company-links small {
    display: block;
}

.kehl-company-links strong {
    margin-bottom: 10px;
    color: var(--kehl-blue);
    font-size: 18px;
    line-height: 1.2;
}

.kehl-company-links small {
    color: rgba(21,24,33,.62);
    font-size: 13px;
    line-height: 1.5;
}

.legacy-detail-copy {
    margin: 18px 0 0;
    color: rgba(21,24,33,.74);
    font-size: 18px;
    line-height: 1.75;
}

.contact-cta,
.jobs-cta {
    position: relative;
    overflow: hidden;
}

.contact-cta::before,
.jobs-cta::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -20px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

@media (max-width: 1099px) {
    .kehl-company-panel,
    .kehl-mega-menu-services {
        width: calc(100vw - 48px);
    }

    .kehl-company-panel {
        grid-template-columns: 1fr;
    }

    .kehl-company-panel-intro {
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid var(--kehl-line);
        padding-bottom: 16px;
    }

    .kehl-company-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .accent-band-grid,
    .legacy-project-intro-grid {
        grid-template-columns: 1fr;
    }

    .accent-band-points {
        justify-content: flex-start;
    }
}

@media (max-width: 1099px) {
    .kehl-company-panel,
    .kehl-mega-menu-services,
    .kehl-small-menu {
        position: static;
        width: 100%;
        max-width: none;
        left: auto;
        top: auto;
        transform: none;
        margin-top: 10px;
        box-shadow: none;
        border-radius: 0;
    }

    .kehl-mega-menu-services {
        padding: 18px 0 0;
        grid-template-columns: 1fr;
        gap: 18px;
        background: transparent;
    }

    .kehl-mega-intro,
    .kehl-company-panel-intro {
        border: 0;
        padding: 0;
    }

    .kehl-mega-services {
        grid-template-columns: 1fr;
    }

    .kehl-mega-cta {
        min-height: 0;
        border-radius: 14px;
    }

    .kehl-company-panel {
        padding: 18px 0 0;
        background: transparent;
        color: var(--kehl-white);
    }

    .kehl-company-links a {
        min-height: 0;
    }
}


/* Version 1.1.9: einheitliche Leistungskarten */
.service-grid {
    gap: 18px;
    border: 0;
    align-items: stretch;
    background: transparent;
}

.service-card {
    display: grid;
    grid-template-rows: 220px auto 1fr auto;
    gap: 16px;
    min-height: 100%;
    height: 100%;
    padding: 18px 18px 22px;
    border: 1px solid var(--kehl-line);
    background: rgba(255,255,255,.72);
}

.service-card-media {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    background: #dfe3ec;
}

.service-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-media.no-image::before {
    content: "KEHL";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.28);
    background: var(--kehl-blue);
    font-family: Georgia, serif;
    font-size: 38px;
}

.service-number {
    position: absolute;
    z-index: 2;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 34px;
    margin: 0;
    color: var(--kehl-blue);
    background: var(--kehl-offwhite);
    border-radius: 4px;
}

.service-card h3 {
    min-height: 2.25em;
    margin: 0;
    font-size: 24px;
    line-height: 1.12;
}

.service-card p {
    max-width: none;
    margin: 0;
    min-height: 4.6em;
}

.service-arrow {
    position: static;
    justify-self: end;
    align-self: end;
}

.service-card::after {
    display: none;
}

@media (max-width: 1099px) {
    .service-card {
        grid-template-rows: 200px auto 1fr auto;
    }
    .service-card-media {
        height: 200px;
        min-height: 200px;
    }
}

@media (max-width: 800px) {
    .service-card {
        grid-template-rows: 230px auto auto auto;
    }
    .service-card-media {
        height: 230px;
        min-height: 230px;
    }
    .service-card h3,
    .service-card p {
        min-height: 0;
    }
}


/* Version 1.1.10: Unternehmen nutzt dasselbe Megamenü-System wie Leistungen */
.kehl-mega-menu-company {
    width: min(1420px, calc(100vw - 48px));
    padding: 32px;
    grid-template-columns: 300px minmax(0, 1fr) 250px;
    border-radius: 0 0 18px 18px;
}

.kehl-company-mega-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: stretch;
}

.kehl-company-mega-card {
    grid-template-columns: 1fr;
    grid-template-rows: 118px 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px;
}

.kehl-company-mega-card .kehl-mega-thumb {
    width: 100%;
    height: 118px;
    border-radius: 10px;
}

.kehl-company-mega-card .kehl-mega-card-copy {
    padding: 0 4px 4px;
}

.kehl-company-mega-card .kehl-mega-card-copy strong {
    font-size: 16px;
}

@media (max-width: 1280px) and (min-width: 1100px) {
    .kehl-mega-menu-company {
        grid-template-columns: 230px minmax(0, 1fr) 210px;
        gap: 20px;
        padding: 22px;
    }

    .kehl-company-mega-card {
        grid-template-rows: 92px 1fr;
    }

    .kehl-company-mega-card .kehl-mega-thumb {
        height: 92px;
    }
}

@media (max-width: 1099px) {
    .kehl-mega-menu-company {
        position: static;
        width: 100%;
        padding: 18px 0 0;
        margin: 0;
        grid-template-columns: 1fr;
        gap: 18px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        transform: none;
    }

    .kehl-company-mega-services {
        grid-template-columns: 1fr;
    }

    .kehl-company-mega-card {
        grid-template-columns: 86px minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: center;
    }

    .kehl-company-mega-card .kehl-mega-thumb {
        width: 86px;
        height: 70px;
    }
}


/* Version 1.1.11: Mobile- und Footer-Feinschliff */
.mobile-nav-actions {
    display: none;
}

.footer-metal-line {
    height: 10px;
    background:
        repeating-linear-gradient(135deg,
            var(--kehl-blue) 0 26px,
            #233a9a 26px 28px,
            var(--kehl-blue) 28px 52px);
}

.footer-callout {
    min-height: 250px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-callout-mark {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
}

.footer-callout-mark::before,
.footer-callout-mark::after {
    content: "";
    position: absolute;
    background: rgba(255,255,255,.18);
}

.footer-callout-mark::before {
    width: 48px;
    height: 1px;
    left: -24px;
    top: 50%;
}

.footer-callout-mark::after {
    width: 1px;
    height: 48px;
    top: -24px;
    left: 50%;
}

.footer-callout-mark strong {
    color: var(--kehl-white);
    font-size: 38px;
    line-height: 1;
    letter-spacing: -.04em;
}

.footer-callout-mark span {
    margin-top: 6px;
    color: rgba(255,255,255,.62);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.footer-callout-copy .eyebrow {
    color: rgba(255,255,255,.56);
}

.footer-callout-copy h2 {
    margin: 7px 0 10px;
    color: var(--kehl-white);
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-transform: none;
}

.footer-callout-copy p:not(.eyebrow) {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 16px;
}

.footer-callout-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-phone-link {
    color: var(--kehl-white);
    font-size: 15px;
    font-weight: 700;
}

.footer-main {
    border-top: 1px solid rgba(255,255,255,.10);
    background: #10131a;
}

.footer-grid-v2 {
    grid-template-columns: 1.3fr .9fr .7fr .9fr;
    gap: 56px;
    padding-top: 70px;
    padding-bottom: 68px;
}

.footer-grid-v2 .footer-brand img {
    width: 250px;
    margin-bottom: 24px;
}

.footer-contact-mini {
    display: grid;
    gap: 5px;
    margin-top: 22px;
    color: var(--kehl-white);
    font-size: 14px;
}

.footer-column {
    min-width: 0;
}

.footer-service-links {
    columns: 1;
}

.footer-address p {
    max-width: 250px;
}

.footer-route {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--kehl-white);
    font-size: 13px;
    font-weight: 700;
}

.footer-links a {
    position: relative;
    display: inline-flex;
    padding: 2px 0;
}

.footer-links a::before {
    content: "";
    width: 0;
    height: 1px;
    margin-right: 0;
    align-self: center;
    background: rgba(255,255,255,.55);
    transition: width .18s ease, margin-right .18s ease;
}

.footer-links a:hover::before {
    width: 14px;
    margin-right: 8px;
}

@media (max-width: 1099px) {
    .site-header {
        border-top-width: 0;
    }

    .header-inner {
        min-height: 88px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-brand {
        width: 220px;
        padding-top: 0;
    }

    .primary-nav {
        inset: 88px 0 0;
        padding: 24px 22px 34px;
        background: #f5f2ee;
        overscroll-behavior: contain;
    }

    .kehl-menu {
        max-width: 820px;
    }

    .kehl-menu > li {
        border-bottom: 1px solid rgba(21,24,33,.10);
    }

    .kehl-parent-link,
    .kehl-parent-link > a,
    .kehl-mega-navigation > li > a {
        min-height: 62px;
    }

    .kehl-parent-link > a,
    .kehl-mega-navigation > li > a {
        font-size: 19px;
        font-weight: 700;
    }

    .kehl-submenu-toggle {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgba(15,34,129,.05);
    }

    .kehl-mega-menu-services,
    .kehl-mega-menu-company {
        padding: 6px 0 18px;
    }

    .kehl-mega-intro,
    .kehl-mega-cta {
        display: block;
    }

    .kehl-mega-intro {
        padding: 18px 0 14px;
        border: 0;
    }

    .kehl-mega-intro h2 {
        font-size: 25px;
    }

    .kehl-mega-cta {
        min-height: 0;
        margin-top: 10px;
        border-radius: 12px;
    }

    .kehl-mega-services,
    .kehl-company-mega-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile-nav-actions {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        max-width: 820px;
        margin: 22px auto 0;
        padding-bottom: 20px;
    }

    .mobile-nav-project,
    .mobile-nav-phone {
        min-height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        border-radius: 4px;
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    .mobile-nav-project {
        color: var(--kehl-white);
        background: var(--kehl-blue);
    }

    .mobile-nav-phone {
        color: var(--kehl-blue);
        border: 1px solid rgba(15,34,129,.18);
        background: var(--kehl-white);
    }

    .footer-callout {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .footer-callout-mark {
        width: 112px;
        height: 112px;
    }

    .footer-callout-actions {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
    }

    .footer-grid-v2 {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-bottom: 34px;
        border-bottom: 1px solid rgba(255,255,255,.10);
    }
}

@media (max-width: 800px) {
    :root {
        --kehl-container: min(calc(100vw - 28px), 760px);
    }

    .header-inner {
        min-height: 76px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .site-brand {
        width: 180px;
    }

    .primary-nav {
        inset: 76px 0 0;
        padding: 16px 14px 28px;
    }

    .home-hero,
    .hero-inner {
        min-height: 590px;
    }

    .hero-content {
        padding: 54px 0 34px;
    }

    .home-hero h1,
    .page-hero h1,
    .error-page h1 {
        font-size: clamp(38px, 11vw, 56px);
        line-height: .98;
    }

    .hero-lead,
    .page-lead {
        font-size: 17px;
        line-height: 1.55;
    }

    .hero-chip-row,
    .intro-badges,
    .project-hero-tags {
        gap: 7px;
    }

    .hero-chip-row span,
    .intro-badges span,
    .project-hero-tags span {
        min-height: 32px;
        padding: 0 10px;
        font-size: 10px;
    }

    .section {
        padding: 70px 0;
    }

    .section h2,
    .page-content-section h2,
    .contact-cta h2 {
        font-size: clamp(30px, 8.5vw, 44px);
        line-height: 1.06;
    }

    .service-card {
        grid-template-rows: 210px auto auto auto;
    }

    .service-card-media {
        height: 210px;
        min-height: 210px;
    }

    .project-card-copy h3 {
        font-size: 34px;
    }

    .page-hero-blue {
        padding: 72px 0 64px;
    }

    .kehl-mega-services,
    .kehl-company-mega-services {
        grid-template-columns: 1fr;
    }

    .kehl-mega-card,
    .kehl-company-mega-card {
        min-height: 0;
    }

    .mobile-nav-actions {
        grid-template-columns: 1fr;
    }

    .footer-callout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .footer-callout-mark {
        width: 94px;
        height: 94px;
    }

    .footer-callout-mark strong {
        font-size: 30px;
    }

    .footer-callout-actions {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .footer-callout-actions .button,
    .footer-phone-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .footer-grid-v2 {
        grid-template-columns: 1fr 1fr;
        gap: 38px 26px;
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-address {
        grid-column: 1 / -1;
        padding-top: 28px;
        border-top: 1px solid rgba(255,255,255,.10);
    }

    .footer-bottom-inner {
        gap: 14px;
    }
}

@media (max-width: 520px) {
    :root {
        --kehl-container: calc(100% - 24px);
    }

    .site-brand {
        width: 160px;
    }

    .nav-toggle {
        width: 46px;
        height: 46px;
    }

    .footer-grid-v2 {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-address {
        grid-column: auto;
    }

    .footer-column {
        padding-top: 26px;
        border-top: 1px solid rgba(255,255,255,.10);
    }

    .footer-brand {
        padding-bottom: 28px;
        border-top: 0;
    }

    .footer-bottom-inner {
        padding: 22px 0;
    }
}


/* Version 1.2.1: Mobile Navigation Fix */
@media (max-width: 1099px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 10050;
        width: 100%;
        background: var(--kehl-blue);
    }

    .header-inner {
        position: relative;
        min-height: 82px;
        padding-top: 7px;
        padding-bottom: 7px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
    }

    .site-brand {
        width: min(230px, 52vw);
        max-width: 230px;
        padding: 0;
        z-index: 3;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        position: relative;
        z-index: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 10px;
        margin: 0;
        order: 2;
        border: 1px solid rgba(255,255,255,.34);
        border-radius: 0;
        background: rgba(255,255,255,.03);
    }

    .nav-toggle > span:not(.screen-reader-text) {
        width: 24px;
        height: 2px;
        margin: 3px 0;
        transform-origin: center;
        transition: transform .2s ease, opacity .2s ease, margin .2s ease;
    }

    .nav-open .nav-toggle > span:not(.screen-reader-text):nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-open .nav-toggle > span:not(.screen-reader-text):nth-child(2) {
        opacity: 0;
    }

    .nav-open .nav-toggle > span:not(.screen-reader-text):nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .primary-nav {
        position: fixed !important;
        z-index: 10040;
        inset: 82px 0 0 0 !important;
        width: 100vw !important;
        max-width: none !important;
        height: calc(100dvh - 82px);
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        color: var(--kehl-charcoal);
        background: #f5f2ee;
        box-shadow: none;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .nav-open .primary-nav {
        display: block !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-nav::before {
        content: "";
        display: block;
        height: 1px;
        background: rgba(15,34,129,.10);
    }

    .kehl-menu {
        display: block !important;
        width: min(100% - 36px, 760px) !important;
        max-width: 760px !important;
        margin: 0 auto !important;
        padding: 18px 0 10px !important;
    }

    .kehl-mega-navigation > li,
    .kehl-menu > li {
        position: relative !important;
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(21,24,33,.12);
    }

    .kehl-parent-link {
        width: 100%;
        min-height: 62px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 48px;
        align-items: center;
        gap: 10px;
    }

    .kehl-parent-link > a,
    .kehl-mega-navigation > li > a {
        min-height: 62px;
        width: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        color: var(--kehl-charcoal) !important;
        font-size: 20px;
        font-weight: 720;
        line-height: 1.2;
    }

    .kehl-mega-navigation > li > a::after,
    .kehl-parent-link > a::after {
        display: none !important;
    }

    .kehl-submenu-toggle {
        width: 44px;
        height: 44px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
        border: 1px solid rgba(15,34,129,.14);
        border-radius: 50%;
        color: var(--kehl-blue);
        background: rgba(15,34,129,.04);
    }

    .kehl-submenu-toggle span {
        width: 10px;
        height: 10px;
        margin: -5px 0 0;
    }

    .is-submenu-open > .kehl-parent-link .kehl-submenu-toggle {
        background: var(--kehl-blue);
        color: var(--kehl-white);
    }

    .is-submenu-open > .kehl-parent-link .kehl-submenu-toggle span {
        transform: rotate(225deg);
        margin-top: 5px;
        margin-bottom: 0;
    }

    .kehl-mega-menu,
    .kehl-mega-menu-services,
    .kehl-mega-menu-company {
        position: static !important;
        inset: auto !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 0 18px !important;
        display: none !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        color: var(--kehl-charcoal);
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .kehl-has-mega.is-submenu-open > .kehl-mega-menu {
        display: grid !important;
    }

    .kehl-mega-menu::before {
        display: none !important;
    }

    .kehl-mega-intro {
        display: none !important;
    }

    .kehl-mega-services,
    .kehl-company-mega-services {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        padding: 0;
    }

    .kehl-mega-card,
    .kehl-company-mega-card {
        min-height: 86px;
        display: grid;
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
        border: 1px solid rgba(15,34,129,.10);
        border-radius: 10px;
        background: #fff;
        box-shadow: none;
    }

    .kehl-mega-card:hover,
    .kehl-company-mega-card:hover {
        transform: none;
        box-shadow: none;
    }

    .kehl-mega-thumb,
    .kehl-company-mega-card .kehl-mega-thumb {
        width: 74px;
        height: 66px;
        border-radius: 7px;
    }

    .kehl-mega-card-copy strong {
        font-size: 14px;
        line-height: 1.2;
    }

    .kehl-mega-card-copy small {
        margin-top: 3px;
        font-size: 10px;
    }

    .kehl-mega-card-copy em {
        display: none;
    }

    .kehl-mega-cta {
        display: none !important;
    }

    .mobile-nav-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(180px, .65fr);
        gap: 10px;
        width: min(100% - 36px, 760px);
        max-width: 760px;
        margin: 18px auto 0;
        padding: 0 0 34px;
    }

    .mobile-nav-project,
    .mobile-nav-phone {
        min-height: 52px;
        padding: 0 16px;
        border-radius: 6px;
        font-size: 13px;
    }
}

@media (max-width: 800px) {
    .header-inner {
        min-height: 74px;
    }

    .site-brand {
        width: min(190px, 54vw);
    }

    .primary-nav {
        inset: 74px 0 0 0 !important;
        height: calc(100dvh - 74px);
    }

    .kehl-menu {
        width: calc(100% - 28px) !important;
        padding-top: 10px !important;
    }

    .kehl-parent-link,
    .kehl-parent-link > a,
    .kehl-mega-navigation > li > a {
        min-height: 58px;
    }

    .kehl-parent-link > a,
    .kehl-mega-navigation > li > a {
        font-size: 19px;
    }

    .kehl-mega-services,
    .kehl-company-mega-services {
        grid-template-columns: 1fr;
    }

    .mobile-nav-actions {
        grid-template-columns: 1fr;
        width: calc(100% - 28px);
        margin-top: 14px;
    }
}

@media (max-width: 520px) {
    .header-inner {
        min-height: 70px;
    }

    .site-brand {
        width: min(168px, 55vw);
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
    }

    .primary-nav {
        inset: 70px 0 0 0 !important;
        height: calc(100dvh - 70px);
    }

    .kehl-menu,
    .mobile-nav-actions {
        width: calc(100% - 24px) !important;
    }

    .kehl-parent-link,
    .kehl-parent-link > a,
    .kehl-mega-navigation > li > a {
        min-height: 56px;
    }

    .kehl-parent-link > a,
    .kehl-mega-navigation > li > a {
        font-size: 18px;
    }
}
