/*
 * Karya Bintang — NovaCMS theme for CV. Karya Bintang Pratama.
 * World: a painted-steel lube skid container — primer-grey ground, ink line work, riveted data plates,
 * stencilled markings; logo navy for structure, lubricant yellow as the one loud field.
 *
 * Contrast (tokens in config/tokens.json): ink on primer 16.9:1 · text on white 13.4:1 · muted on primer 5.6:1 ·
 * navy on white 11.6:1 · ink on yellow 11.2:1 · #C9CDC5 on ink 11.9:1. Yellow is a fill, never text on light grounds.
 *
 * Block classes for the page builder (Advanced → CSS classes), see README.md:
 *   section   kb-hero | kb-banner | kb-s--white | kb-s--primer | kb-s--ink | kb-s--tight | kb-s--flush-top | kb-brands | kb-catalog
 *   heading   kb-display | kb-title | kb-marking (stencil) | kb-marking--lg | kb-banner__title
 *   text      kb-lead | kb-facts | kb-checklist | kb-statement | kb-plate__lead | kb-jump | kb-banner__lead
 *   columns   kb-hero__grid | kb-split | kb-duo | kb-brandwall | kb-cats | kb-brand-plates | kb-mosaic | kb-gallery | kb-contact | kb-catalog__row
 *   column    kb-plate (+ kb-plate--ink) | kb-cat | kb-brand-plate | kb-brandwall__pane
 *   container kb-head | kb-btn-row | kb-service-row (inside a query loop)
 *   image     kb-photo (+ kb-photo--hero, kb-photo--framed) | kb-logo
 *   query     kb-service-list
 *   button    primary = yellow, secondary = ink, outline; add kb-on-dark to an outline button on kb-s--ink
 */

/* ---------- Tokens ---------- */
:root {
    --kb-ink: var(--nova-color-ink, #12161D);
    --kb-text: var(--nova-color-text, #2B3038);
    --kb-muted: var(--nova-color-muted, #5A616B);
    --kb-navy: var(--nova-color-navy, #1B2F6B);
    --kb-navy-deep: var(--nova-color-navy-deep, #101D45);
    --kb-maroon: var(--nova-color-maroon, #7A1E33);
    --kb-yellow: var(--nova-color-yellow, #F5B800);
    --kb-yellow-soft: var(--nova-color-yellow-soft, #FFF4CC);
    --kb-primer: var(--nova-color-primer, #F1F2EF);
    --kb-steel: var(--nova-color-steel, #E3E5E1);
    --kb-surface: var(--nova-color-surface, #FFFFFF);
    --kb-line: var(--nova-color-line, #12161D);
    --kb-hairline: var(--nova-color-hairline, #CDD0CA);
    --kb-on-ink: #C9CDC5;
    --kb-font: var(--nova-font-body, 'Archivo', 'Segoe UI', Roboto, Arial, sans-serif);
    --kb-stencil: var(--nova-font-stencil, 'Big Shoulders Stencil', 'Archivo', 'Arial Narrow', sans-serif);
    --kb-radius: var(--nova-radius-sm, 2px);
    --kb-radius-md: var(--nova-radius-md, 4px);
    --kb-container: var(--nova-container-max-width, 1240px);
    --kb-gutter: clamp(18px, 4vw, 40px);
    --kb-section: clamp(64px, 8vw, 120px);
    --kb-header-h: 76px;
    --kb-ease: cubic-bezier(.16, 1, .3, 1);
    --kb-shadow: 0 18px 40px -24px rgba(18, 22, 29, .45);
    /* Four rivets, one per corner of a data plate. */
    --kb-rivets:
        radial-gradient(circle at 10px 10px, var(--kb-rivet, #9EA39B) 2.5px, transparent 3px),
        radial-gradient(circle at calc(100% - 10px) 10px, var(--kb-rivet, #9EA39B) 2.5px, transparent 3px),
        radial-gradient(circle at 10px calc(100% - 10px), var(--kb-rivet, #9EA39B) 2.5px, transparent 3px),
        radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), var(--kb-rivet, #9EA39B) 2.5px, transparent 3px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kb-header-h) + 72px); scrollbar-color: #A3A89F var(--kb-primer); }
body {
    margin: 0;
    font-family: var(--kb-font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--kb-text);
    background: var(--kb-surface);
    font-optical-sizing: auto;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    caret-color: var(--kb-navy);
}
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    font-family: var(--kb-font);
    font-stretch: 112%;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.015em;
    color: var(--kb-ink);
    text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--kb-navy); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--kb-ink); text-decoration-color: var(--kb-yellow); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--kb-navy); outline-offset: 3px; }
.kb-s--ink :focus-visible, .kb-footer :focus-visible, .kb-plate--ink :focus-visible { outline-color: var(--kb-yellow); }
#main:focus { outline: none; }
::selection { background: var(--kb-yellow); color: var(--kb-ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--kb-primer); }
::-webkit-scrollbar-thumb { background: #A3A89F; border: 3px solid var(--kb-primer); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .7em .9em; border-bottom: 1px solid var(--kb-hairline); text-align: left; vertical-align: top; }
th { color: var(--kb-ink); font-weight: 700; border-bottom-color: var(--kb-line); }

.kb-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.kb-skip {
    position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px;
    background: var(--kb-yellow); color: var(--kb-ink); font-weight: 700; text-decoration: none;
    transition: top .2s var(--kb-ease);
}
.kb-skip:focus { top: 12px; color: var(--kb-ink); }

/* ---------- Layout ---------- */
.kb-container { width: 100%; max-width: calc(var(--kb-container) + 2 * var(--kb-gutter)); margin: 0 auto; padding-inline: var(--kb-gutter); }
.kb-container--narrow { max-width: calc(820px + 2 * var(--kb-gutter)); }
.kb-section { padding-block: var(--kb-section); }
.kb-s--primer { background: var(--kb-primer); }

/* Builder sections: same width and rhythm as the theme's own sections. */
.kb-canvas .nb-section { padding: var(--kb-section) var(--kb-gutter); }
.kb-canvas .nb-section > .nb-section__inner { max-width: var(--kb-container); }
.kb-canvas .nb-section--wide > .nb-section__inner { max-width: 1440px; }
.nb-section.kb-s--white { background: var(--kb-surface); }
.nb-section.kb-s--primer { background: var(--kb-primer); }
.nb-section.kb-s--tight { padding-block: clamp(32px, 4vw, 48px); }
.nb-section.kb-s--flush-top { padding-top: 0; }
.nb-section.kb-s--white + .nb-section.kb-s--white:not(.kb-s--flush-top) { border-top: 1px solid var(--kb-hairline); }
.nb-section.kb-s--ink { background: var(--kb-ink); color: var(--kb-on-ink); }
.kb-s--ink h1, .kb-s--ink h2, .kb-s--ink h3 { color: #fff; }
.kb-s--ink a:not(.nb-button) { color: #fff; }

.nb-columns { gap: clamp(20px, 3vw, 40px); }
.nb-image { margin: 0; }
.nb-button-wrap { margin: 0; }
.nb-text > ul, .nb-text > ol { padding-left: 1.2em; }

/* ---------- Type roles ---------- */
.kb-display, .nb-heading.kb-display {
    font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.5rem);
    font-weight: 750;
    font-stretch: 115%;
    line-height: 1;
    letter-spacing: -.035em;
    margin-bottom: .4em;
    max-width: 15ch;
}
.nb-heading.kb-title { margin-bottom: .35em; max-width: 22ch; }
.kb-lead, .nb-text.kb-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--kb-text); max-width: 60ch; }
.kb-s--ink .nb-text.kb-lead { color: var(--kb-on-ink); }

/* Stencilled marking: the crate lettering, used as the heading of plates and categories. */
.nb-heading.kb-marking {
    font-family: var(--kb-stencil);
    font-stretch: normal;
    font-weight: 800;
    font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
    line-height: .92;
    letter-spacing: .015em;
    text-transform: uppercase;
    color: var(--kb-ink);
    margin-bottom: .45em;
}
.nb-heading.kb-marking--lg { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.75rem); max-width: 12ch; }

.nb-text.kb-statement p { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.35; font-weight: 500; color: var(--kb-ink); max-width: 34ch; }

.kb-checklist ul, ul.kb-checklist { list-style: none; padding: 0; margin: 0 0 1.25em; }
.kb-checklist li { position: relative; padding: .5em 0 .5em 1.6em; border-bottom: 1px solid var(--kb-hairline); }
.kb-checklist li:last-child { border-bottom: 0; }
.kb-checklist li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--kb-ink); }
.kb-s--ink .kb-checklist li, .kb-plate--ink .kb-checklist li { border-color: rgba(255, 255, 255, .14); }
.kb-s--ink .kb-checklist li::before, .kb-plate--ink .kb-checklist li::before { background: var(--kb-yellow); }

/* ---------- Buttons ---------- */
.kb-btn, .nb-button {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    min-height: 48px; padding: .7em 1.35em;
    border: 1.5px solid transparent; border-radius: var(--kb-radius);
    font-family: var(--kb-font); font-weight: 650; font-size: 1rem; font-stretch: 108%; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    background: var(--kb-yellow); color: var(--kb-ink);
    transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s;
}
.kb-btn::after, .nb-button::after {
    content: ""; width: .9em; height: .9em; flex: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .25s var(--kb-ease);
}
.kb-btn:hover::after, .nb-button:hover::after { transform: translateX(3px); }
.kb-btn:hover, .nb-button:hover { opacity: 1; background: #FFCB2E; color: var(--kb-ink); text-decoration: none; box-shadow: inset 0 -3px 0 rgba(18, 22, 29, .25); }
.kb-btn--yellow { background: var(--kb-yellow); color: var(--kb-ink); }
.kb-btn--ink, .nb-button--secondary { background: var(--kb-ink); color: #fff; }
.kb-btn--ink:hover, .nb-button--secondary:hover { background: var(--kb-navy); color: #fff; box-shadow: none; }
.kb-btn--outline, .nb-button--outline { background: transparent; border-color: var(--kb-ink); color: var(--kb-ink); }
.kb-btn--outline:hover, .nb-button--outline:hover { background: var(--kb-ink); border-color: var(--kb-ink); color: #fff; box-shadow: none; }
.nb-button.kb-on-dark.nb-button--outline, .kb-btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.nb-button.kb-on-dark.nb-button--outline:hover, .kb-btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--kb-ink); }
.kb-btn--lg, .nb-button--lg { min-height: 56px; padding: .85em 1.6em; font-size: 1.0625rem; }
.kb-btn--sm, .nb-button--sm { min-height: 40px; padding: .5em 1em; font-size: .9375rem; }
.kb-btn--block { width: 100%; }
.kb-btn-row, .nb-container.kb-btn-row { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; margin: 1.75em 0 0; }

/* ---------- Header ---------- */
.kb-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(241, 242, 239, .94);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--kb-line);
}
.kb-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--kb-header-h); }

.kb-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--kb-ink); text-decoration: none; flex: none; }
.kb-brand:hover { color: var(--kb-ink); }
.kb-brand__mark {
    display: grid; place-items: center; width: 46px; height: 40px; flex: none;
    outline: 1.5px solid var(--kb-maroon); outline-offset: 3px;
    border: 3px solid var(--kb-navy); border-radius: 8px; background: #fff;
}
.kb-brand__mark span { font-weight: 800; font-size: 1.375rem; font-stretch: 100%; letter-spacing: -.07em; line-height: 1; color: var(--kb-ink); transform: translateX(-1px); }
.kb-brand__name { display: flex; flex-direction: column; font-weight: 750; font-stretch: 112%; font-size: 1.0625rem; line-height: 1.05; letter-spacing: -.01em; }
.kb-brand__name small { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--kb-muted); margin-bottom: 3px; }
.kb-brand__name > span { font-weight: 500; }
.kb-brand--inverse { color: #fff; }
.kb-brand--inverse:hover { color: #fff; }
.kb-brand--inverse .kb-brand__mark { outline-color: #C4566E; }
.kb-brand--inverse .kb-brand__name small { color: var(--kb-on-ink); }

.kb-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.kb-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.kb-menu__item { position: relative; display: flex; align-items: center; }
.kb-menu__link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    color: var(--kb-ink); font-weight: 550; font-size: .96875rem; text-decoration: none;
    background: linear-gradient(var(--kb-yellow), var(--kb-yellow)) 12px calc(100% - 8px) / 0 3px no-repeat;
    transition: background-size .3s var(--kb-ease);
}
.kb-menu__link:hover, .kb-menu__link[aria-current="page"], .kb-menu__item.is-active > .kb-menu__link { color: var(--kb-ink); background-size: calc(100% - 24px) 3px; text-decoration: none; }
.kb-menu__toggle {
    width: 28px; height: 44px; margin-left: -10px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--kb-ink);
}
.kb-menu__toggle::before {
    content: ""; display: block; width: 10px; height: 10px; margin: 0 auto;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg);
    transition: transform .2s var(--kb-ease);
}
.kb-menu__item.is-open > .kb-menu__toggle::before { transform: translateY(2px) rotate(-135deg); }
.kb-submenu {
    position: absolute; top: 100%; left: 0; z-index: 10; min-width: 290px; margin: 0; padding: 8px 0; list-style: none;
    background: #fff; border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .25s var(--kb-ease), visibility .18s;
}
.kb-menu__item.is-open > .kb-submenu, .kb-menu__item.has-sub:hover > .kb-submenu { opacity: 1; visibility: visible; transform: none; }
.kb-submenu a { display: block; padding: 10px 18px; color: var(--kb-ink); font-size: .9375rem; text-decoration: none; }
.kb-submenu a:hover, .kb-submenu a[aria-current="page"] { background: var(--kb-yellow-soft); color: var(--kb-ink); }

.kb-nav__actions { display: flex; align-items: center; gap: 18px; }
.kb-nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--kb-ink); font-weight: 600; font-size: .9375rem; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kb-nav__phone:hover { color: var(--kb-navy); }

.kb-nav-toggle {
    display: none; align-items: center; gap: 10px; min-height: 44px; margin-left: auto; padding: 0 12px;
    border: 1.5px solid var(--kb-ink); border-radius: var(--kb-radius); background: transparent; color: var(--kb-ink);
    font: 650 .9375rem var(--kb-font); cursor: pointer;
}
.kb-nav-toggle__bars, .kb-nav-toggle__bars::before, .kb-nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .25s var(--kb-ease), opacity .2s; }
.kb-nav-toggle__bars { position: relative; }
.kb-nav-toggle__bars::before, .kb-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.kb-nav-toggle__bars::before { top: -6px; }
.kb-nav-toggle__bars::after { top: 6px; }
.kb-nav-toggle[aria-expanded="true"] .kb-nav-toggle__bars { background: transparent; }
.kb-nav-toggle[aria-expanded="true"] .kb-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.kb-nav-toggle[aria-expanded="true"] .kb-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1179.98px) {
    .kb-nav__phone { display: none; }
}
@media (max-width: 1023.98px) {
    .kb-nav-toggle { display: inline-flex; }
    /* backdrop-filter would make the header the containing block of the fixed panel below. */
    .kb-header { backdrop-filter: none; background: var(--kb-primer); }
    .kb-nav {
        position: fixed; inset: var(--kb-nav-offset, var(--kb-header-h)) 0 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--kb-gutter) 32px;
        background: var(--kb-primer); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s, transform .3s var(--kb-ease), visibility .2s;
    }
    .kb-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .kb-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .kb-menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--kb-hairline); }
    .kb-menu__link { flex: 1; min-height: 60px; padding: 0; font-size: 1.375rem; font-weight: 650; font-stretch: 110%; background-position: 0 calc(100% - 12px); }
    .kb-menu__link:hover, .kb-menu__link[aria-current="page"], .kb-menu__item.is-active > .kb-menu__link { background-size: 48px 3px; }
    .kb-menu__toggle { width: 52px; height: 60px; margin: 0; }
    .kb-submenu { position: static; flex-basis: 100%; min-width: 0; display: none; padding: 0 0 12px; border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; }
    .kb-menu__item.is-open > .kb-submenu { display: block; }
    .kb-menu__item.has-sub:hover > .kb-submenu { display: none; }
    .kb-menu__item.has-sub.is-open:hover > .kb-submenu { display: block; }
    .kb-submenu a { padding: 10px 0 10px 16px; font-size: 1.0625rem; }
    .kb-nav__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
    .kb-nav__phone { display: inline-flex; min-height: 48px; justify-content: center; border: 1.5px solid var(--kb-ink); }
    body.kb-nav-open { overflow: hidden; }
}
@media (max-width: 479.98px) {
    .kb-brand__name { font-size: .9375rem; }
    .kb-nav-toggle__label { display: none; }
}

/* ---------- Section head: heading measured against a tick rule ---------- */
.nb-container.kb-head {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 32px;
    margin-bottom: clamp(32px, 4vw, 56px); padding-top: 28px;
}
.kb-head::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px;
    border-top: 1px solid var(--kb-line);
    background:
        repeating-linear-gradient(90deg, var(--kb-line) 0 1px, transparent 1px 120px) top left / 100% 9px no-repeat,
        repeating-linear-gradient(90deg, var(--kb-line) 0 1px, transparent 1px 24px) top left / 100% 5px no-repeat;
    transform-origin: left;
    transition: transform 1.1s var(--kb-ease);
}
.kb-js .kb-head:not(.is-in)::before { transform: scaleX(0); }
.kb-s--ink .kb-head::before { --kb-line: rgba(255, 255, 255, .5); }
.kb-head > * { grid-column: 1; }
.kb-head > .nb-heading { margin-bottom: .3em; }
.kb-head > .nb-text.kb-lead { color: var(--kb-muted); }
.kb-head > .nb-button-wrap { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
@media (max-width: 767.98px) {
    .nb-container.kb-head { grid-template-columns: minmax(0, 1fr); }
    .kb-head > .nb-button-wrap { grid-column: 1; grid-row: auto; margin-top: 16px; }
}

/* ---------- Hero ---------- */
.nb-section.kb-hero { background: var(--kb-primer); padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 96px); }
.nb-columns.kb-hero__grid { gap: clamp(32px, 5vw, 72px); }
.kb-hero__grid > .nb-column--w-66 { flex-basis: 57%; }
.kb-hero__grid > .nb-column--w-33 { flex-basis: 43%; }
.kb-hero .nb-text.kb-lead { max-width: 54ch; }

.kb-facts ul, ul.kb-facts {
    display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 0;
    margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; list-style: none;
    border-top: 1px solid var(--kb-line); border-bottom: 1px solid var(--kb-line);
    font-variant-numeric: tabular-nums;
}
.kb-facts li { padding: 14px 24px 14px 0; color: var(--kb-ink); font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.kb-facts li + li { padding-left: 24px; border-left: 1px solid var(--kb-hairline); }
.kb-facts strong { display: block; margin-bottom: 4px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--kb-muted); }
@media (max-width: 599.98px) {
    .kb-facts ul { grid-template-columns: 1fr 1fr; }
    .kb-facts li:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--kb-hairline); }
}

/* Photos: square-cut, ink-framed; the hero photo carries a data-plate caption. */
.nb-image.kb-photo { position: relative; }
.nb-image.kb-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; background: var(--kb-steel); }
.nb-image.kb-photo figcaption { margin-top: 10px; font-size: .875rem; color: var(--kb-muted); opacity: 1; }
.nb-image.kb-photo--hero img { aspect-ratio: 4 / 5; object-position: 42% 50%; }
.nb-image.kb-photo--hero figcaption, .nb-image.kb-photo--framed figcaption {
    position: absolute; left: 16px; bottom: 16px; margin: 0; padding: 12px 34px 12px 16px;
    background-color: #fff; background-image: var(--kb-rivets); border: 1px solid var(--kb-line);
    color: var(--kb-ink); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    --kb-rivet: #B9BDB5;
}
.nb-image.kb-photo--framed img { aspect-ratio: 5 / 4; }
@media (max-width: 1023.98px) {
    .nb-image.kb-photo--hero img { aspect-ratio: 4 / 3; }
}

/* ---------- Brand wall: one pane per principal, line ink is the only ornament ---------- */
.nb-section.kb-brands { padding-block: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--kb-line); }
.nb-heading.kb-brands__title { font-size: .8125rem; font-weight: 650; font-stretch: 100%; letter-spacing: .12em; text-transform: uppercase; color: var(--kb-muted); margin-bottom: 18px; }
.nb-columns.kb-brandwall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--kb-line); border-left: 1px solid var(--kb-line); }
@media (max-width: 1023.98px) { .nb-columns.kb-brandwall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .nb-columns.kb-brandwall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kb-brandwall > .nb-column {
    min-height: 112px;
    display: grid; place-items: center;
    background: #fff; box-shadow: inset -1px -1px 0 var(--kb-line);
    transition: background-color .3s var(--kb-ease);
}
.kb-brandwall__pane .nb-image, .kb-brandwall__pane .nb-image a { display: grid; place-items: center; width: 100%; height: 100%; padding: 16px 20px; }
.kb-brandwall__pane picture { display: contents; }
.kb-brandwall__pane img { max-height: 60px; width: auto; max-width: min(100%, 150px); object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15); opacity: .82; transition: filter .3s, opacity .3s; }
.kb-brandwall__pane:hover, .kb-brandwall__pane:focus-within, .kb-brandwall__more:hover, .kb-brandwall__more:focus-within { background: var(--kb-yellow); }
.kb-brandwall > .nb-column.kb-brandwall__more { position: relative; padding: 16px 20px; background: var(--kb-primer); transition: background-color .3s var(--kb-ease); }
.kb-brandwall__more .nb-text { width: 100%; }
.kb-brandwall__more a { font-weight: 650; color: var(--kb-ink); text-decoration: none; }
.kb-brandwall__more a::before { content: ""; position: absolute; inset: 0; }
.kb-brandwall__more a::after { content: " →"; }
@media (max-width: 599.98px) { .kb-brandwall__pane img { max-height: 48px; } .kb-brandwall > .nb-column { min-height: 92px; } }
.kb-brandwall__pane:hover img, .kb-brandwall__pane:focus-within img { filter: none; opacity: 1; }

/* ---------- Data plates ---------- */
.nb-column.kb-plate {
    position: relative; padding: clamp(28px, 3vw, 44px);
    background-color: #fff; background-image: var(--kb-rivets); border: 1px solid var(--kb-line);
}
.nb-column.kb-plate--ink { background-color: var(--kb-ink); color: var(--kb-on-ink); --kb-rivet: #4A5059; }
.kb-plate--ink .nb-heading { color: #fff; }
.kb-plate--ink .nb-heading.kb-marking { color: var(--kb-yellow); }
.kb-plate--ink a:not(.nb-button) { color: #fff; }
.kb-plate--ink .nb-button--outline { border-color: rgba(255, 255, 255, .6); color: #fff; }
.kb-plate--ink .nb-button--outline:hover { background: var(--kb-yellow); border-color: var(--kb-yellow); color: var(--kb-ink); }
.nb-text.kb-plate__lead p { font-size: 1.1875rem; font-weight: 600; line-height: 1.4; color: var(--kb-ink); max-width: 30ch; }
.kb-plate--ink .nb-text.kb-plate__lead p { color: #fff; }
.nb-columns.kb-duo { gap: clamp(16px, 2vw, 24px); }
.kb-duo .kb-btn-row { margin-top: 8px; }

/* ---------- Services list (query loop rows) ---------- */
.nb-query.kb-service-list { gap: 0; border-top: 1px solid var(--kb-line); }
.kb-service-list.nb-query--list > .nb-query__item + .nb-query__item { padding-top: 0; border-top: 0; }
.kb-service-list > .nb-query__item { border-bottom: 1px solid var(--kb-line); }
.nb-container.kb-service-row {
    position: relative;
    display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; grid-template-areas: "img title btn" "img text btn";
    column-gap: clamp(20px, 3vw, 40px); align-items: center;
    padding: 20px 16px; transition: background-color .25s var(--kb-ease);
}
.kb-service-row > .nb-image { grid-area: img; }
.kb-service-row > .nb-image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.kb-service-row > .nb-heading { grid-area: title; align-self: end; margin: 0 0 .3em; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); }
.kb-service-row > .nb-text { grid-area: text; align-self: start; color: var(--kb-muted); max-width: 64ch; }
.kb-service-row > .nb-button-wrap { grid-area: btn; }
.kb-service-row > .nb-button-wrap a::before { content: ""; position: absolute; inset: 0; }
.kb-service-row:hover { background: var(--kb-yellow-soft); }
.kb-service-row:hover .nb-button--outline { background: var(--kb-ink); color: #fff; }
@media (max-width: 767.98px) {
    .nb-container.kb-service-row { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "img title" "text text" "btn btn"; row-gap: 10px; }
    .kb-service-row > .nb-heading { align-self: center; margin: 0; }
    .kb-service-row > .nb-text { margin-top: 4px; }
}

/* ---------- Grids of panes: product categories, contact ---------- */
.nb-columns.kb-cats, .nb-columns.kb-contact {
    display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--kb-line); border-left: 1px solid var(--kb-line);
}
.nb-columns.kb-contact { grid-template-columns: 1.15fr .9fr 1.3fr 1fr; }
.kb-contact a[href^="mailto:"] { white-space: nowrap; }
.kb-cats > .nb-column, .kb-contact > .nb-column {
    position: relative; padding: clamp(24px, 2.5vw, 36px);
    background: #fff; border: 0; box-shadow: inset -1px -1px 0 var(--kb-line);
    transition: background-color .3s var(--kb-ease);
}
.kb-contact > .nb-column.kb-plate { background-image: none; }
.kb-cats .nb-heading.kb-marking { font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.25rem); min-height: 1.9em; }
.kb-cats .nb-text p:first-child { color: var(--kb-muted); font-weight: 500; }
.kb-cats .nb-text a { font-weight: 650; color: var(--kb-ink); text-decoration: none; }
.kb-cats .nb-text a::before { content: ""; position: absolute; inset: 0; }
.kb-cats .nb-text a::after { content: " →"; }
.kb-cats > .nb-column:hover, .kb-cats > .nb-column:focus-within { background: var(--kb-yellow); }
.kb-cats > .nb-column:hover .nb-text p:first-child, .kb-cats > .nb-column:focus-within .nb-text p:first-child { color: var(--kb-ink); }
.kb-contact .nb-heading.kb-marking { font-size: 1.75rem; }
.kb-contact .nb-text { font-variant-numeric: tabular-nums; }
.kb-contact .nb-text p:first-child { color: var(--kb-ink); font-weight: 600; }
@media (max-width: 1023.98px) {
    .nb-columns.kb-cats, .nb-columns.kb-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559.98px) {
    .nb-columns.kb-cats, .nb-columns.kb-contact { grid-template-columns: minmax(0, 1fr); }
    .kb-cats .nb-heading.kb-marking { min-height: 0; }
}

/* ---------- Split, mosaic, gallery ---------- */
.nb-columns.kb-split { gap: clamp(32px, 6vw, 88px); }
.nb-columns.kb-mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.kb-mosaic > .nb-column:first-child { grid-row: span 2; }
.kb-mosaic > .nb-column:first-child .nb-image, .kb-mosaic > .nb-column:first-child img { height: 100%; }
.kb-mosaic > .nb-column:first-child img { aspect-ratio: auto; min-height: 100%; }
.kb-s--flush-top .nb-columns.kb-mosaic { grid-template-columns: 1fr 1fr 1fr; }
.kb-s--flush-top .kb-mosaic > .nb-column:first-child { grid-row: auto; }
.kb-s--flush-top .kb-mosaic > .nb-column:first-child img { aspect-ratio: 4 / 3; }
@media (max-width: 767.98px) {
    .nb-columns.kb-mosaic, .kb-s--flush-top .nb-columns.kb-mosaic { grid-template-columns: 1fr 1fr; }
    .kb-mosaic > .nb-column:first-child, .kb-s--flush-top .kb-mosaic > .nb-column:first-child { grid-column: 1 / -1; grid-row: auto; }
    .kb-mosaic > .nb-column:first-child img { aspect-ratio: 4 / 3; }
}

.nb-columns.kb-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); row-gap: clamp(20px, 2.4vw, 32px); }
.kb-gallery img { cursor: zoom-in; transition: filter .3s; }
.kb-gallery img:hover { filter: brightness(1.06) contrast(1.04); }
@media (max-width: 1023.98px) { .nb-columns.kb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519.98px) { .nb-columns.kb-gallery { grid-template-columns: minmax(0, 1fr); } }

.kb-lightbox { width: min(1200px, 94vw); max-width: none; max-height: 92vh; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.kb-lightbox::backdrop { background: rgba(10, 12, 16, .9); }
.kb-lightbox[open] { animation: kb-lightbox-in .35s var(--kb-ease); }
.kb-lightbox img { display: block; width: 100%; max-height: calc(92vh - 64px); object-fit: contain; background: #000; }
.kb-lightbox p { margin: 14px 0 0; font-size: .9375rem; color: var(--kb-on-ink); }
.kb-lightbox__close {
    position: absolute; top: -52px; right: 0; min-height: 44px; padding: 0 16px;
    border: 1.5px solid rgba(255, 255, 255, .6); border-radius: var(--kb-radius); background: transparent; color: #fff;
    font: 600 .9375rem var(--kb-font); cursor: pointer;
}
.kb-lightbox__close:hover { background: #fff; color: var(--kb-ink); }
@keyframes kb-lightbox-in { from { opacity: 0; transform: scale(.97); } }

/* ---------- Products ---------- */
.nb-section:has(.kb-jump) {
    position: sticky; top: var(--kb-header-h); z-index: 30;
    padding-block: 0 !important; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--kb-line);
}
.kb-jump ul, ul.kb-jump { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.kb-jump li { flex: none; }
.kb-jump a {
    display: inline-flex; align-items: center; min-height: 52px; padding: 0 14px;
    color: var(--kb-ink); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap;
    box-shadow: inset 0 -3px 0 transparent; transition: box-shadow .2s, background-color .2s;
}
.kb-jump a:hover { box-shadow: inset 0 -3px 0 var(--kb-yellow); color: var(--kb-ink); }
.kb-jump a.is-current { box-shadow: inset 0 -3px 0 var(--kb-ink); }

.nb-section.kb-catalog { padding-block: clamp(56px, 6vw, 88px); }
.nb-section.kb-catalog + .nb-section.kb-catalog { border-top: 1px solid var(--kb-line); }
.kb-catalog__head .nb-text { color: var(--kb-muted); max-width: 40ch; }
.kb-catalog__head .nb-image { margin-top: 24px; }
.kb-catalog__row > .nb-column--w-33 { flex-basis: 36%; }
.kb-catalog__row > .nb-column--w-66 { flex-basis: 64%; }
.nb-columns.kb-brand-plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.kb-brand-plates > .nb-column.kb-brand-plate {
    padding: 0 0 22px; background: #fff; border: 1px solid var(--kb-line);
    transition: box-shadow .3s var(--kb-ease), transform .3s var(--kb-ease);
}
.kb-brand-plate .nb-image.kb-logo { display: grid; place-items: center; height: 128px; margin-bottom: 20px; padding: 20px 28px; border-bottom: 1px solid var(--kb-hairline); }
.kb-brand-plate .nb-image.kb-logo img { max-height: 72px; max-width: 170px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.kb-brand-plate .nb-heading { margin: 0 22px 6px; font-size: 1.25rem; }
.kb-brand-plate .nb-text { margin: 0 22px; color: var(--kb-muted); font-size: .9375rem; }
.kb-brand-plate:hover { box-shadow: var(--kb-shadow); transform: translateY(-2px); }
.kb-brand-plate:hover .nb-image.kb-logo { background: var(--kb-yellow-soft); }

/* ---------- Inner page banner (theme partial and builder section) ---------- */
.kb-banner, .nb-section.kb-banner {
    background: var(--kb-primer); border-bottom: 1px solid var(--kb-line);
    padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px);
}
.kb-banner__title, .nb-heading.kb-banner__title {
    font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4rem); font-weight: 750; font-stretch: 115%;
    line-height: 1; letter-spacing: -.035em; margin: 0 0 .35em; max-width: 18ch;
}
.kb-banner__lead, .nb-text.kb-banner__lead p { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--kb-text); max-width: 60ch; margin: 0; }
.kb-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; font-size: .875rem; color: var(--kb-muted); }
.kb-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9EA39B; }
.kb-breadcrumb a { color: var(--kb-muted); text-decoration: none; }
.kb-breadcrumb a:hover { color: var(--kb-ink); text-decoration: underline; text-decoration-color: var(--kb-yellow); }
.kb-breadcrumb [aria-current] { color: var(--kb-ink); font-weight: 600; }

/* ---------- Listing plates (archives, search) ---------- */
.kb-plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.kb-plate--service, .kb-plate--post {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--kb-line);
    transition: box-shadow .3s var(--kb-ease), transform .3s var(--kb-ease);
}
.kb-plate__media { display: block; border-bottom: 1px solid var(--kb-line); overflow: hidden; }
.kb-plate__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--kb-ease); }
.kb-plate__placeholder { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--kb-primer); font-family: var(--kb-stencil); font-size: 3rem; font-weight: 800; color: #B9BDB5; }
.kb-plate__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.kb-plate__meta { margin: 0 0 8px; font-size: .8125rem; color: var(--kb-muted); }
.kb-plate__title { margin: 0 0 .45em; font-size: 1.375rem; }
.kb-plate__title a { color: var(--kb-ink); text-decoration: none; }
.kb-plate__title a::before { content: ""; position: absolute; inset: 0; }
.kb-plate__text { color: var(--kb-muted); font-size: .96875rem; }
.kb-plate__more { margin-top: auto; padding-top: 8px; font-weight: 650; color: var(--kb-ink); }
.kb-plate__more::after { content: " →"; }
.kb-plate--service:hover, .kb-plate--post:hover { box-shadow: var(--kb-shadow); transform: translateY(-3px); }
.kb-plate--service:hover .kb-plate__media img, .kb-plate--post:hover .kb-plate__media img { transform: scale(1.035); }
.kb-plate--service:hover .kb-plate__more { text-decoration: underline 3px var(--kb-yellow); text-underline-offset: .25em; }
@media (max-width: 1023.98px) { .kb-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .kb-plates { grid-template-columns: minmax(0, 1fr); } }

.kb-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; }
.kb-pagination__status { color: var(--kb-muted); font-size: .9375rem; }
.kb-empty { padding: 48px; border: 1px dashed #A3A89F; text-align: center; background: var(--kb-primer); }
.kb-empty__title { font-size: 1.25rem; font-weight: 650; color: var(--kb-ink); }

/* ---------- Single pages ---------- */
.kb-layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1023.98px) { .kb-layout-sidebar { grid-template-columns: minmax(0, 1fr); } }
.kb-feature-image, .kb-feature-image img { display: block; width: 100%; }
.kb-feature-image img, img.kb-feature-image { aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--kb-line); }
picture.kb-feature-image, .kb-service-body > picture, .kb-service-body > img { display: block; margin-bottom: 36px; }

.kb-prose { max-width: 70ch; font-size: 1.0625rem; }
.kb-prose > :first-child { margin-top: 0; }
.kb-prose h2 { margin: 1.8em 0 .55em; font-size: clamp(1.5rem, 1.3rem + .7vw, 1.875rem); }
.kb-prose h3 { margin: 1.5em 0 .5em; }
.kb-prose ul, .kb-prose ol { margin: 0 0 1.25em; padding-left: 1.3em; }
.kb-prose li { margin-bottom: .45em; padding-left: .2em; }
.kb-prose ul { list-style: square; }
.kb-prose li::marker { color: var(--kb-ink); }
.kb-prose ol li::marker { font-weight: 700; font-variant-numeric: tabular-nums; }
.kb-prose strong { color: var(--kb-ink); }
.kb-prose img { display: block; margin: 1.5em 0; border: 1px solid var(--kb-line); }
.kb-prose table { margin: 1.5em 0; font-size: .96875rem; }

.kb-inline-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin-top: 48px; padding: 28px 32px; background-color: var(--kb-yellow); background-image: var(--kb-rivets); --kb-rivet: rgba(18, 22, 29, .35);
}
.kb-inline-cta h2 { margin: 0 0 .25em; font-size: 1.375rem; }
.kb-inline-cta p { margin: 0; color: var(--kb-ink); }
.kb-inline-cta .kb-btn { background: var(--kb-ink); color: #fff; }
.kb-inline-cta .kb-btn:hover { background: var(--kb-navy); box-shadow: none; }

/* Sidebar */
.kb-sidebar { position: sticky; top: calc(var(--kb-header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 1023.98px) { .kb-sidebar { position: static; } }
.kb-side-nav { border: 1px solid var(--kb-line); background: #fff; }
.kb-side-nav__title { margin: 0; padding: 16px 20px; font-size: .8125rem; font-weight: 650; font-stretch: 100%; letter-spacing: .12em; text-transform: uppercase; color: var(--kb-muted); border-bottom: 1px solid var(--kb-line); }
.kb-side-nav ul { margin: 0; padding: 0; list-style: none; }
.kb-side-nav li + li { border-top: 1px solid var(--kb-hairline); }
.kb-side-nav a { display: block; padding: 14px 20px; color: var(--kb-ink); font-weight: 550; text-decoration: none; transition: background-color .2s; }
.kb-side-nav a:hover { background: var(--kb-yellow-soft); }
.kb-side-nav a[aria-current="page"], .kb-side-nav .current > a, .kb-side-nav .is-current > a { background: var(--kb-yellow); font-weight: 700; }
.kb-help { padding: 28px; background-color: var(--kb-ink); background-image: var(--kb-rivets); color: var(--kb-on-ink); --kb-rivet: #4A5059; }
.kb-help h2 { color: #fff; font-size: 1.375rem; }
.kb-help p { font-size: .96875rem; }
.kb-help__phone { display: block; margin: 0 0 16px; color: #fff; font-size: 1.375rem; font-weight: 700; font-stretch: 110%; text-decoration: none; font-variant-numeric: tabular-nums; }
.kb-help__phone:hover { color: var(--kb-yellow); }

/* Search & 404 */
.kb-search { display: flex; gap: 8px; max-width: 620px; margin: 0 0 40px; }
.kb-search input {
    flex: 1; min-width: 0; min-height: 52px; padding: 0 16px;
    border: 1.5px solid var(--kb-ink); border-radius: var(--kb-radius); background: #fff;
    font: 1rem var(--kb-font); color: var(--kb-ink);
}
.kb-search input::placeholder { color: #6E747C; }
.kb-search input:focus { outline: 3px solid var(--kb-navy); outline-offset: 2px; }
.kb-notfound { background: var(--kb-primer); }
.kb-notfound__code { margin: 0; font-family: var(--kb-stencil); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: .85; color: var(--kb-ink); }
.kb-notfound h1 { margin-top: .3em; }
.kb-notfound .kb-btn-row { margin-bottom: 40px; }
.kb-s--primer .kb-display { max-width: 18ch; }

/* ---------- Footer ---------- */
.kb-footer { background: var(--kb-ink); color: var(--kb-on-ink); font-size: .96875rem; overflow: hidden; }
.kb-footer a { color: #fff; text-decoration: none; }
.kb-footer a:hover { color: var(--kb-yellow); text-decoration: none; }
.kb-footer__band { background: var(--kb-yellow); color: var(--kb-ink); }
.kb-footer__cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
    padding-block: clamp(40px, 5vw, 72px);
}
.kb-footer__band :focus-visible { outline-color: var(--kb-ink); }
.kb-footer__band a.kb-btn--ink, .kb-footer__band a.kb-btn--ink:hover { color: #fff; }
.kb-footer__band a.kb-btn--ink:hover { background: var(--kb-navy); }
.kb-footer__band a.kb-btn--outline { color: var(--kb-ink); border-color: var(--kb-ink); }
.kb-footer__band a.kb-btn--outline:hover { background: var(--kb-ink); color: #fff; }
.kb-footer__cta-title { margin: 0; max-width: 30ch; color: var(--kb-ink); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 700; font-stretch: 112%; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.kb-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kb-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 5vw, 72px) 0 24px; }
.kb-footer__brand p { max-width: 38ch; margin-top: 22px; }
.kb-footer__title { margin: 0 0 16px; font-size: .75rem; font-weight: 650; font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; color: #9EA39B; }
.kb-footer__col ul { margin: 0; padding: 0; list-style: none; }
.kb-footer__col li { margin-bottom: 10px; }
.kb-footer__col ul ul { display: none; }
.kb-footer__contact { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-variant-numeric: tabular-nums; }
.kb-footer__contact dt { color: #9EA39B; font-size: .8125rem; padding-top: .15em; }
.kb-footer__contact dd { margin: 0; color: #fff; }
.kb-footer__socials { display: flex; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; font-weight: 600; }
.kb-footer__stencil {
    margin: 0; padding: 8px 0 0; text-align: center; white-space: nowrap;
    font-family: var(--kb-stencil); font-weight: 800; font-size: clamp(3.5rem, 15.5vw, 15rem); line-height: .78; letter-spacing: .01em;
    color: #1D222A; user-select: none;
}
.kb-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.kb-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; font-size: .875rem; color: #9EA39B; }
.kb-footer__bottom p { margin: 0; }
@media (max-width: 1023.98px) { .kb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599.98px) { .kb-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Floating WhatsApp (only when the number is set) */
.kb-whatsapp {
    position: fixed; right: 20px; bottom: 20px; z-index: 40;
    display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
    background: var(--kb-ink); color: #fff; border: 1.5px solid #25D366; border-radius: 999px;
    font-weight: 650; text-decoration: none; box-shadow: var(--kb-shadow);
    transition: background-color .2s, transform .3s var(--kb-ease);
}
.kb-whatsapp svg { color: #25D366; }
.kb-whatsapp:hover { background: #1E2530; color: #fff; transform: translateY(-2px); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .kb-js .kb-head:not(.is-in)::before { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
