/* ==========================================================================
   Keyline Cutting Tools — site design system
   Palette from the logo and current site: carbon black header, white
   wordmark, steel greys and Keyline blue (#0071BC).
   Type: Saira (heavy italic, like the KEYLINE wordmark) + Barlow (body).
   ========================================================================== */

:root {
	--kl-ink: #121416;          /* header / footer */
	--kl-carbon: #1b1f23;
	--kl-steel: #2c3238;
	--kl-steel-2: #3d454d;
	--kl-grey: #7f7f7f;         /* logo sub-line grey */
	--kl-silver: #b3b3b3;
	--kl-line: #dde2e7;
	--kl-light: #f3f5f7;
	--kl-white: #ffffff;
	--kl-text: #2a2f35;
	--kl-muted: #5d6670;
	--kl-blue: #0071bc;         /* Keyline blue */
	--kl-blue-hi: #1a8fdb;
	--kl-blue-dark: #005a96;
	--kl-blue-tint: #e6f1f9;
	--kl-font-head: "Saira", "Arial Narrow", system-ui, sans-serif;
	--kl-font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--kl-radius: 6px;
	--kl-container: 1200px;
	--kl-gutter: clamp(16px, 4vw, 32px);
	--kl-header-h: 78px;
	--kl-shadow: 0 1px 2px rgba(18, 20, 22, .06), 0 8px 24px rgba(18, 20, 22, .08);
	--kl-slant: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

/* ---------- Base ---------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kl-header-h) + 16px); }
body.kl-site {
	margin: 0;
	background: var(--kl-white);
	color: var(--kl-text);
	font-family: var(--kl-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.kl-site *, .kl-site *::before, .kl-site *::after { box-sizing: border-box; }
.kl-site img { max-width: 100%; height: auto; display: block; }
.kl-site a { color: var(--kl-blue); text-underline-offset: 3px; }
.kl-site a:hover { color: var(--kl-blue-dark); }
.kl-site h1, .kl-site h2, .kl-site h3, .kl-site h4 {
	font-family: var(--kl-font-head);
	color: var(--kl-ink);
	line-height: 1.08;
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}
.kl-site p { margin: 0 0 1em; }
.kl-site address { font-style: normal; }
.kl-site :focus-visible { outline: 3px solid var(--kl-blue-hi); outline-offset: 2px; }
.kl-site svg { flex: none; }

.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;
}
.kl-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--kl-blue); color: #fff !important; padding: 10px 16px; border-radius: var(--kl-radius);
	font-weight: 600; text-decoration: none;
}
.kl-skip:focus { top: 12px; }

.kl-container { width: 100%; max-width: var(--kl-container); margin: 0 auto; padding: 0 var(--kl-gutter); }
.kl-main { display: block; }
.kl-center { text-align: center; margin-top: 32px; }

/* ---------- Eyebrows / type helpers --------------------------------------- */
.kl-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--kl-font-head); font-style: italic; font-weight: 700;
	font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
	color: var(--kl-blue); margin: 0 0 12px;
}
.kl-eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; transform: skewX(-20deg); }
.kl-eyebrow--light { color: var(--kl-blue-hi); }
.kl-eyebrow--hero { color: #cfd6dc; flex-wrap: wrap; }
.kl-eyebrow--hero::before { background: var(--kl-blue-hi); }
.kl-eyebrow__sep { color: var(--kl-blue-hi); }
.kl-lead { font-size: 1.15rem; color: var(--kl-text); font-weight: 500; }
.kl-link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; text-decoration: none;
}
.kl-link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.kl-link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Buttons -------------------------------------------------------- */
.kl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px;
	font-family: var(--kl-font-head); font-weight: 700; font-style: italic;
	font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
	text-decoration: none !important; border-radius: var(--kl-radius);
	border: 2px solid transparent; cursor: pointer; line-height: 1.1;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.kl-btn:active { transform: translateY(1px); }
.kl-btn svg { width: 18px; height: 18px; }
.kl-btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.kl-btn--block { width: 100%; }
.kl-site .kl-btn--primary { background: var(--kl-blue); color: #fff; }
.kl-site .kl-btn--primary:hover { background: var(--kl-blue-dark); color: #fff; }
.kl-site .kl-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.kl-site .kl-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.kl-site .kl-btn--ghost-dark { border-color: var(--kl-steel-2); color: var(--kl-ink); background: transparent; }
.kl-site .kl-btn--ghost-dark:hover { border-color: var(--kl-blue); color: var(--kl-blue); }
.kl-site .kl-btn--light { background: #fff; color: var(--kl-blue-dark); }
.kl-site .kl-btn--light:hover { background: var(--kl-blue-tint); color: var(--kl-blue-dark); }
.kl-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Top bar -------------------------------------------------------- */
.kl-topbar { background: #0b0c0d; color: #aeb6be; font-size: .86rem; }
.kl-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.kl-topbar__hours, .kl-topbar__contact a { display: inline-flex; align-items: center; gap: 7px; }
.kl-topbar svg { width: 15px; height: 15px; color: var(--kl-blue-hi); }
.kl-topbar__contact { display: inline-flex; gap: 22px; }
.kl-site .kl-topbar a { color: #dfe4e8; text-decoration: none; }
.kl-site .kl-topbar a:hover { color: #fff; }

/* ---------- Header --------------------------------------------------------- */
.kl-header {
	position: sticky; top: 0; z-index: 100;
	background: linear-gradient(180deg, #23282d 0%, var(--kl-ink) 100%);
	border-bottom: 3px solid var(--kl-blue);
	box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.admin-bar .kl-header { top: 32px; }
.kl-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--kl-header-h); }
.kl-header__brand { display: block; flex: none; }
.kl-header__brand img { width: 220px; height: auto; }
.kl-header__nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.kl-header__nav-extra { display: none; }
.kl-header__actions { display: none; align-items: center; gap: 8px; margin-left: auto; }

.kl-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 12px 0 0; padding: 0; }
.kl-menu__item { position: relative; }
.kl-site .kl-menu__link,
.kl-menu__parent {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: var(--kl-radius);
	font-family: var(--kl-font-head); font-weight: 600; font-size: .98rem;
	letter-spacing: .03em; text-transform: uppercase;
	color: #e4e8eb; text-decoration: none; background: none; border: 0; cursor: pointer;
	position: relative;
}
.kl-site .kl-menu__link:hover, .kl-menu__parent:hover,
.kl-menu__item--parent:focus-within .kl-menu__parent { color: #fff; background: rgba(255,255,255,.06); }
.kl-site .kl-menu__link[aria-current="page"],
.kl-menu__parent.is-current { color: #fff; }
.kl-site .kl-menu__link[aria-current="page"]::after,
.kl-menu__parent.is-current::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px;
	background: var(--kl-blue-hi); transform: skewX(-20deg);
}
.kl-menu__caret {
	width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .2s;
}
.kl-menu__parent[aria-expanded="true"] .kl-menu__caret { transform: translateY(2px) rotate(-135deg); }

.kl-submenu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
	list-style: none; margin: 0; padding: 8px;
	background: #fff; border-radius: var(--kl-radius); border-top: 3px solid var(--kl-blue);
	box-shadow: 0 14px 40px rgba(0,0,0,.25);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.kl-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.kl-menu__item--parent:hover .kl-submenu,
.kl-menu__item--parent:focus-within .kl-submenu,
.kl-menu__parent[aria-expanded="true"] + .kl-submenu { opacity: 1; visibility: visible; transform: none; }
.kl-site .kl-submenu a {
	display: flex; flex-direction: column; padding: 10px 12px; border-radius: 4px;
	text-decoration: none; color: var(--kl-ink);
}
.kl-site .kl-submenu a:hover, .kl-site .kl-submenu a[aria-current="page"] { background: var(--kl-blue-tint); }
.kl-submenu__label { font-family: var(--kl-font-head); font-weight: 700; font-size: 1rem; }
.kl-submenu__note { font-size: .85rem; color: var(--kl-muted); }

.kl-header__phone {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: var(--kl-radius);
	color: #fff !important; background: var(--kl-blue);
}
.kl-header__toggle {
	width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 2px solid rgba(255,255,255,.3); border-radius: var(--kl-radius); cursor: pointer; padding: 0;
}
.kl-header__toggle:hover, .kl-header__toggle:focus { background: transparent; border-color: #fff; }
.kl-header__toggle-bars, .kl-header__toggle-bars::before, .kl-header__toggle-bars::after {
	display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform .2s, background-color .2s;
}
.kl-header__toggle-bars::before, .kl-header__toggle-bars::after { content: ""; position: absolute; left: 0; }
.kl-header__toggle-bars::before { top: -7px; }
.kl-header__toggle-bars::after { top: 7px; }
.kl-header__toggle[aria-expanded="true"] .kl-header__toggle-bars { background: transparent; }
.kl-header__toggle[aria-expanded="true"] .kl-header__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.kl-header__toggle[aria-expanded="true"] .kl-header__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero ------------------------------------------------------ */
.kl-hero {
	position: relative; overflow: hidden; color: #d7dde2;
	background: radial-gradient(120% 90% at 85% 10%, #26303a 0%, #15191d 55%, #0d0f11 100%);
	padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 9vw, 120px);
}
.kl-hero__bg {
	position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(90deg, transparent, #000 50%);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 50%);
}
.kl-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.kl-hero__title {
	font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; font-style: italic;
	color: #fff !important; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 20px;
}
.kl-hero__title-sub {
	display: block; margin-top: 14px;
	font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; font-style: italic;
	text-transform: none; letter-spacing: 0; color: var(--kl-blue-hi);
}
.kl-hero__subhead { font-size: 1.12rem; max-width: 560px; color: #c3cad1; }
.kl-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kl-hero__media { position: relative; min-height: 360px; }
.kl-hero__img { margin: 0; position: absolute; overflow: hidden; border-radius: var(--kl-radius); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.kl-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.kl-hero__img--a { top: 0; right: 0; width: 82%; aspect-ratio: 600 / 340; border: 1px solid rgba(255,255,255,.12); }
.kl-hero__img--b { bottom: 0; left: 0; width: 64%; aspect-ratio: 520 / 300; border: 4px solid var(--kl-ink); outline: 2px solid var(--kl-blue); }
.kl-hero__badge {
	position: absolute; right: 4%; bottom: 6%; z-index: 2;
	display: flex; align-items: center; gap: 12px; padding: 14px 18px;
	background: var(--kl-blue); color: #fff; border-radius: var(--kl-radius);
	box-shadow: 0 12px 30px rgba(0,0,0,.35); transform: skewX(-8deg);
}
.kl-hero__badge > * { transform: skewX(8deg); }
.kl-hero__badge strong { font-family: var(--kl-font-head); font-style: italic; font-size: 2.2rem; line-height: 1; }
.kl-hero__badge span { font-size: .85rem; line-height: 1.25; font-weight: 500; }

/* angled blue edge under heroes */
.kl-edge {
	position: absolute; left: 0; right: 0; bottom: 0; height: 36px;
	background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.kl-edge::before {
	content: ""; position: absolute; inset: 0;
	background: var(--kl-blue); clip-path: polygon(0 100%, 100% 0, 100% 10%, 0 100%);
}

/* ---------- Page hero ------------------------------------------------------ */
.kl-page-hero {
	position: relative; overflow: hidden;
	background: radial-gradient(120% 120% at 90% 0%, #27313b 0%, #15191d 60%, #0d0f11 100%);
	color: #c9d0d6; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}
.kl-page-hero__bg {
	position: absolute; inset: 0; opacity: .25; pointer-events: none;
	background: url("../img/gears.webp") right center / auto 140% no-repeat;
	mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
	-webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
}
.kl-page-hero .kl-container { position: relative; }
.kl-page-hero__title {
	font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; font-style: italic;
	color: #fff !important; text-transform: uppercase; max-width: 900px;
}
.kl-page-hero__subhead { font-size: 1.12rem; max-width: 720px; margin: 0; color: #c3cad1; }
.kl-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 18px; color: #8f99a3; }
.kl-site .kl-crumbs a { color: #cfd6dc; text-decoration: none; }
.kl-site .kl-crumbs a:hover { color: #fff; text-decoration: underline; }
.kl-crumbs [aria-current] { color: var(--kl-blue-hi); }

/* ---------- Quick links ---------------------------------------------------- */
.kl-quick { position: relative; z-index: 3; margin-top: -48px; }
.kl-quick__panel {
	display: grid; grid-template-columns: 220px 1fr; overflow: hidden;
	background: #fff; border-radius: var(--kl-radius); box-shadow: 0 18px 48px rgba(18,20,22,.18);
}
.kl-quick__title {
	margin: 0 !important; display: flex; align-items: center; padding: 22px 26px;
	background: var(--kl-blue); color: #fff !important;
	font-style: italic; font-weight: 800; font-size: 1.4rem; text-transform: uppercase;
}
.kl-quick__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.kl-quick__list li + li { border-left: 1px solid var(--kl-line); }
.kl-site .kl-quick__item {
	display: flex; align-items: center; gap: 12px; height: 100%; padding: 20px 18px;
	text-decoration: none; color: var(--kl-ink); transition: background-color .2s;
}
.kl-site .kl-quick__item:hover { background: var(--kl-blue-tint); color: var(--kl-ink); }
.kl-quick__icon { display: inline-flex; color: var(--kl-blue); }
.kl-quick__icon svg { width: 26px; height: 26px; }
.kl-quick__text { display: flex; flex-direction: column; line-height: 1.25; }
.kl-quick__text strong { font-family: var(--kl-font-head); font-size: 1.02rem; }
.kl-quick__text span { font-size: .85rem; color: var(--kl-muted); }

/* ---------- Sections ------------------------------------------------------- */
.kl-section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.kl-section--alt { background: var(--kl-light); }
.kl-section--dark { background: linear-gradient(180deg, #1a1f24 0%, #121416 100%); color: #c3cad1; }
.kl-section--dark .kl-section__title, .kl-section--dark h3 { color: #fff; }
.kl-section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.kl-section__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; font-style: italic; }

/* split layout */
.kl-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.kl-split--reverse .kl-split__copy { order: 2; }
.kl-split__media { margin: 0; }
.kl-split__media--round img { margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.18)); }
.kl-split__media--plain img { margin: 0 auto; }
.kl-split__media figcaption { text-align: center; font-size: .88rem; color: var(--kl-muted); margin-top: 10px; }

.kl-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 0; }
.kl-facts > div { border-left: 4px solid var(--kl-blue); padding: 4px 0 4px 14px; }
.kl-facts dt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--kl-muted); }
.kl-facts dd { margin: 0; font-family: var(--kl-font-head); font-weight: 800; font-style: italic; font-size: 1.6rem; color: var(--kl-ink); }

/* product cards */
.kl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kl-card {
	background: #fff; border: 1px solid var(--kl-line); border-radius: var(--kl-radius);
	padding: 26px; display: flex; flex-direction: column; gap: 2px;
	transition: border-color .2s, box-shadow .2s, transform .2s;
	position: relative;
}
.kl-card::before {
	content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px;
	background: var(--kl-blue); border-radius: var(--kl-radius) var(--kl-radius) 0 0;
	transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.kl-card:hover { box-shadow: var(--kl-shadow); transform: translateY(-2px); }
.kl-card:hover::before { transform: scaleX(1); }
.kl-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: var(--kl-radius); margin-bottom: 14px;
	background: var(--kl-blue-tint); color: var(--kl-blue);
}
.kl-card__icon svg { width: 26px; height: 26px; }
.kl-card__title { font-size: 1.35rem; font-weight: 700; font-style: italic; }
.kl-card .kl-link-arrow { margin-top: auto; padding-top: 10px; }
.kl-card__tag {
	align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--kl-blue); background: var(--kl-blue-tint); padding: 3px 10px; border-radius: 99px; margin-bottom: 12px;
}
.kl-card__spec { display: flex; align-items: center; gap: 8px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--kl-line); font-weight: 600; color: var(--kl-ink); }
.kl-card__spec svg { color: var(--kl-blue); }

/* checklists */
.kl-checklist { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 6px; }
.kl-checklist li { position: relative; padding-left: 24px; }
.kl-checklist li::before {
	content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px;
	border-left: 2.5px solid var(--kl-blue); border-bottom: 2.5px solid var(--kl-blue); transform: rotate(-45deg);
}
.kl-checklist--cols { grid-template-columns: 1fr 1fr; column-gap: 20px; margin-bottom: 24px; }
.kl-checklist--big { gap: 0; margin: 0; }
.kl-checklist--big li {
	font-family: var(--kl-font-head); font-weight: 600; font-size: 1.15rem; color: var(--kl-ink);
	padding: 14px 0 14px 34px; border-bottom: 1px solid var(--kl-line);
}
.kl-checklist--big li::before { top: 1.25em; left: 4px; width: 14px; height: 8px; }

/* industries */
.kl-chips { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.kl-chips li {
	font-family: var(--kl-font-head); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .04em;
	padding: 10px 18px; border: 1px solid rgba(255,255,255,.18); border-left: 4px solid var(--kl-blue-hi);
	color: #fff; background: rgba(255,255,255,.04);
}
.kl-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.kl-point__icon {
	display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center;
	border-radius: 50%; background: rgba(26,143,219,.15); color: var(--kl-blue-hi); margin-bottom: 14px;
}
.kl-point__icon svg { width: 24px; height: 24px; }
.kl-point__title { font-size: 1.15rem; font-style: italic; }
.kl-point p { font-size: .97rem; margin: 0; }

/* logos */
.kl-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.kl-logos__item {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	min-height: 120px; padding: 18px 14px 12px; background: #fff;
	border: 1px solid var(--kl-line); border-radius: var(--kl-radius); text-align: center;
	transition: box-shadow .2s, border-color .2s;
}
.kl-logos__item:hover { box-shadow: var(--kl-shadow); border-color: transparent; }
.kl-logos__item img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.kl-logos__name { font-size: .78rem; color: var(--kl-muted); line-height: 1.2; }

/* catalogues */
.kl-catalogues { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; align-items: center; }
.kl-catalogues__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.kl-doclist { list-style: none; margin: 0; padding: 0; grid-column: 1 / -1; display: grid; gap: 8px; }
.kl-doclist a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }

/* team */
.kl-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.kl-team__card {
	display: flex; gap: 16px; align-items: center; padding: 20px;
	background: #fff; border: 1px solid var(--kl-line); border-radius: var(--kl-radius);
}
.kl-team__avatar, .kl-team__photo { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.kl-team__avatar {
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--kl-blue) 0%, var(--kl-blue-dark) 100%);
	color: #fff; font-family: var(--kl-font-head); font-weight: 800; font-style: italic; font-size: 1.3rem;
}
.kl-team__photo { object-fit: cover; }
.kl-team__name { font-size: 1.15rem; margin: 0 0 2px !important; }
.kl-team__role { margin: 0 0 6px !important; color: var(--kl-muted); font-size: .95rem; }
.kl-team__email { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; text-decoration: none; }
.kl-team__email svg { width: 16px; height: 16px; }

/* MATRIX stats */
.kl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.kl-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 22px; border: 1px solid rgba(255,255,255,.12); border-top: 4px solid var(--kl-blue-hi); background: rgba(255,255,255,.03); }
.kl-stat dd { margin: 0 0 6px; font-family: var(--kl-font-head); font-weight: 800; font-style: italic; font-size: 2.8rem; line-height: 1; color: #fff; }
.kl-stat dt { color: #b9c1c8; font-size: .95rem; }
.kl-benefits { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }

/* FAQ */
.kl-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.kl-faq__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.kl-faq__list { display: grid; gap: 10px; }
.kl-faq__item { background: #fff; border: 1px solid var(--kl-line); border-radius: var(--kl-radius); }
.kl-faq__item[open] { border-color: var(--kl-blue); }
.kl-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 20px; cursor: pointer; list-style: none;
	font-family: var(--kl-font-head); font-weight: 700; font-size: 1.08rem; color: var(--kl-ink);
}
.kl-faq__q::-webkit-details-marker { display: none; }
.kl-faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.kl-faq__icon::before, .kl-faq__icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--kl-blue); transition: transform .2s; }
.kl-faq__icon::after { transform: rotate(90deg); }
.kl-faq__item[open] .kl-faq__icon::after { transform: rotate(0); }
.kl-faq__a { padding: 0 20px 6px; color: var(--kl-muted); }

/* forms */
.kl-form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.kl-contact-list { margin: 24px 0; display: grid; gap: 16px; }
.kl-contact-list > div { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--kl-blue); }
.kl-contact-list dt { display: flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--kl-muted); }
.kl-contact-list dt svg { width: 16px; height: 16px; color: var(--kl-blue); }
.kl-contact-list dd { margin: 0; font-weight: 600; font-size: 1.08rem; color: var(--kl-ink); }
.kl-contact-list dd a { text-decoration: none; }
.kl-contact-list small { font-weight: 400; color: var(--kl-muted); }
.kl-form-wrap { background: var(--kl-light); border: 1px solid var(--kl-line); border-radius: var(--kl-radius); padding: clamp(20px, 4vw, 36px); }
.kl-form { display: grid; gap: 16px; }
.kl-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kl-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--kl-ink); }
.kl-req { color: var(--kl-blue); }
.kl-site .kl-field input, .kl-site .kl-field select, .kl-site .kl-field textarea {
	width: 100%; min-height: 48px; padding: 11px 14px;
	font: inherit; font-size: 16px; color: var(--kl-text);
	background: #fff; border: 1px solid #c7ced5; border-radius: var(--kl-radius);
}
.kl-site .kl-field textarea { min-height: 140px; resize: vertical; }
.kl-site .kl-field input:focus, .kl-site .kl-field select:focus, .kl-site .kl-field textarea:focus {
	outline: none; border-color: var(--kl-blue); box-shadow: 0 0 0 3px rgba(0,113,188,.2);
}
.kl-form__note { font-size: .85rem; color: var(--kl-muted); margin: 0; }
.kl-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kl-alert { padding: 14px 18px; border-radius: var(--kl-radius); margin-bottom: 18px; font-weight: 500; }
.kl-alert--success { background: #e7f6ec; color: #135c2c; border: 1px solid #a6dbb7; }
.kl-alert--error { background: #fdecec; color: #8a1c1c; border: 1px solid #f1b5b5; }

/* locations */
.kl-locations { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 20px; }
.kl-location { background: #fff; border: 1px solid var(--kl-line); border-radius: var(--kl-radius); padding: 24px; }
.kl-location__title { font-size: 1.2rem; font-style: italic; }
.kl-location address { margin-bottom: 12px; line-height: 1.55; }
.kl-location--map { padding: 0; overflow: hidden; min-height: 280px; }
.kl-location--map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* CTA */
.kl-cta {
	position: relative; overflow: hidden; color: #e3eef7;
	background: linear-gradient(110deg, var(--kl-blue-dark) 0%, var(--kl-blue) 60%, var(--kl-blue-hi) 100%);
	padding: clamp(44px, 6vw, 72px) 0;
}
.kl-cta::after {
	content: ""; position: absolute; top: 0; bottom: 0; right: -6%; width: 40%;
	background: repeating-linear-gradient(-60deg, rgba(255,255,255,.07) 0 2px, transparent 2px 18px);
	pointer-events: none;
}
.kl-cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.kl-cta__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: #fff !important; font-style: italic; font-weight: 800; text-transform: uppercase; }
.kl-cta p { margin: 0; max-width: 620px; }
.kl-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* prose */
.kl-prose { max-width: 780px; }
.kl-prose h2 { font-size: 1.6rem; margin-top: 1.6em; font-style: italic; }
.kl-prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.kl-prose ul { padding-left: 1.2em; }
.kl-prose__meta { color: var(--kl-muted); font-size: .9rem; }

/* ---------- Footer --------------------------------------------------------- */
.kl-footer { background: var(--kl-ink); color: #a9b2ba; padding: 64px 0 24px; border-top: 4px solid var(--kl-blue); font-size: .97rem; }
.kl-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.3fr; gap: 36px; }
.kl-footer__logo { width: 220px; margin-bottom: 18px; }
.kl-footer__heading {
	font-size: .85rem !important; letter-spacing: .2em; text-transform: uppercase;
	color: #fff !important; font-style: italic; margin-bottom: 16px !important;
}
.kl-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kl-site .kl-footer a { color: #d5dbe0; text-decoration: none; }
.kl-site .kl-footer a:hover { color: #fff; text-decoration: underline; }
.kl-footer__contact { display: grid; gap: 10px; }
.kl-footer__contact > * { display: flex; align-items: flex-start; gap: 10px; }
.kl-footer__contact svg { width: 17px; height: 17px; color: var(--kl-blue-hi); margin-top: 4px; }
.kl-site .kl-footer__phone { font-family: var(--kl-font-head); font-weight: 700; font-size: 1.2rem; color: #fff; }
.kl-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	margin-top: 48px; padding-top: 20px; border-top: 1px solid #2a3036; font-size: .86rem; color: #7f8a94;
}
.kl-footer__bottom-links { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.kl-footer__sep { color: #3d454d; }

.kl-social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 10px; }
.kl-social__link { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }

/* ---------- Mobile action bar --------------------------------------------- */
.kl-callbar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Laptop / small desktop */
@media (max-width: 1180px) {
	.kl-quick__panel { grid-template-columns: 1fr; }
	.kl-quick__title { justify-content: center; padding: 14px; font-size: 1.15rem; }
	.kl-points { grid-template-columns: repeat(2, 1fr); }
	.kl-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet and down: collapse the menu */
@media (max-width: 980px) {
	:root { --kl-header-h: 68px; }
	.kl-topbar { display: none; }
	.kl-header__brand img { width: 180px; }
	.kl-header__actions { display: flex; }
	.kl-header__nav {
		position: fixed; inset: var(--kl-header-h) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 0; margin: 0;
		padding: 16px var(--kl-gutter) 32px; overflow-y: auto;
		background: var(--kl-ink); border-top: 1px solid #2a3036;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .kl-header__nav { top: calc(var(--kl-header-h) + 46px); }
	.kl-header__nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.kl-menu { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
	.kl-menu__item { border-bottom: 1px solid #262c32; }
	.kl-site .kl-menu__link, .kl-menu__parent {
		width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.15rem; border-radius: 0;
	}
	.kl-site .kl-menu__link[aria-current="page"]::after, .kl-menu__parent.is-current::after { left: 4px; right: auto; width: 40px; bottom: 8px; }
	.kl-submenu {
		position: static; min-width: 0; padding: 0 0 12px 12px; margin: 0;
		background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
		display: none;
	}
	.kl-menu__item--parent:hover .kl-submenu, .kl-menu__item--parent:focus-within .kl-submenu { display: none; }
	.kl-menu__parent[aria-expanded="true"] + .kl-submenu { display: block; }
	.kl-site .kl-submenu a { color: #e4e8eb; padding: 10px 12px; border-left: 2px solid #2f363d; border-radius: 0; }
	.kl-site .kl-submenu a:hover, .kl-site .kl-submenu a[aria-current="page"] { background: rgba(255,255,255,.05); border-left-color: var(--kl-blue-hi); }
	.kl-submenu__note { color: #8f99a3; }
	.kl-header__nav-extra { display: grid; gap: 12px; margin: 24px 0 18px; }
	.kl-site .kl-header__nav-phone {
		display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; text-decoration: none;
		border: 1px solid #39424a; border-radius: var(--kl-radius); color: #fff;
	}
	.kl-header__nav-phone-label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: #8f99a3; }
	.kl-header__nav-phone-num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--kl-font-head); font-weight: 700; font-size: 1.35rem; }
	.kl-header__nav-phone-num svg { color: var(--kl-blue-hi); }
	.kl-site .kl-header__nav-mail { display: inline-flex; gap: 10px; align-items: center; color: #d5dbe0; text-decoration: none; word-break: break-all; }
	.kl-header__nav-mail svg { color: var(--kl-blue-hi); }
	.kl-header__nav-hours { margin: 0 !important; color: #8f99a3; font-size: .92rem; }
	.kl-header__cta { width: 100%; min-height: 54px; }
	body.kl-menu-open { overflow: hidden; }

	.kl-hero__inner, .kl-split, .kl-faq, .kl-form-layout, .kl-benefits, .kl-catalogues { grid-template-columns: 1fr; }
	.kl-split--reverse .kl-split__copy { order: 0; }
	.kl-hero__media { min-height: 0; aspect-ratio: 16 / 10; max-width: 640px; width: 100%; }
	.kl-catalogues__actions { justify-content: flex-start; }
	.kl-cards { grid-template-columns: repeat(2, 1fr); }
	.kl-cards--3 { grid-template-columns: repeat(3, 1fr); }
	.kl-cards--3 .kl-card { padding: 20px; }
	.kl-stats { grid-template-columns: repeat(2, 1fr); }
	.kl-locations { grid-template-columns: 1fr 1fr; }
	.kl-location--map { grid-column: 1 / -1; }
	.kl-quick__list { grid-template-columns: repeat(3, 1fr); }
	.kl-quick__list li { border-bottom: 1px solid var(--kl-line); }
	.kl-quick__list li + li { border-left: 0; }
	.kl-quick__list li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--kl-line); }
	.kl-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* Phones */
@media (max-width: 640px) {
	body.kl-site { font-size: 16px; padding-bottom: 72px; }
	.kl-header__brand img { width: 160px; }
	.kl-hero { padding-top: 36px; }
	.kl-hero__ctas .kl-btn { flex: 1 1 100%; }
	.kl-hero__badge { right: 0; bottom: 4%; padding: 10px 14px; }
	.kl-hero__badge strong { font-size: 1.7rem; }
	.kl-quick { margin-top: -32px; }
	.kl-quick__list { grid-template-columns: 1fr 1fr; }
	.kl-quick__list li:not(:nth-child(3n + 1)) { border-left: 0; }
	.kl-quick__list li:nth-child(even) { border-left: 1px solid var(--kl-line); }
	.kl-quick__list li:last-child { grid-column: 1 / -1; border-bottom: 0; }
	.kl-site .kl-quick__item { padding: 16px 14px; }
	.kl-cards, .kl-cards--3, .kl-points, .kl-locations, .kl-field-row, .kl-checklist--cols { grid-template-columns: 1fr; }
	.kl-stats { grid-template-columns: 1fr 1fr; }
	.kl-stat { padding: 16px; }
	.kl-stat dd { font-size: 2.1rem; }
	.kl-facts dd { font-size: 1.3rem; }
	.kl-logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.kl-logos__item { min-height: 100px; }
	.kl-logos__item img { max-height: 44px; }
	.kl-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.kl-footer__bottom { flex-direction: column; }
	.kl-cta__actions, .kl-cta__actions .kl-btn, .kl-btn-row .kl-btn { width: 100%; }

	.kl-callbar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(18,20,22,.96); border-top: 2px solid var(--kl-blue);
		transition: transform .25s;
	}
	.kl-callbar.is-hidden { transform: translateY(110%); }
	.kl-site .kl-callbar__btn {
		display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
		border-radius: var(--kl-radius); text-decoration: none; color: #fff;
		font-family: var(--kl-font-head); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: .95rem;
	}
	.kl-site .kl-callbar__btn--call { border: 2px solid rgba(255,255,255,.4); }
	.kl-site .kl-callbar__btn--quote { background: var(--kl-blue); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.kl-site *, .kl-site *::before, .kl-site *::after { transition: none !important; animation: none !important; }
}

@media print {
	.kl-topbar, .kl-header__nav, .kl-header__actions, .kl-callbar, .kl-cta, .kl-edge { display: none !important; }
	.kl-header { position: static; background: none; border: 0; box-shadow: none; }
	.kl-header__brand img { content: url("../img/keyline-logo-dark.png"); }
	.kl-hero, .kl-page-hero, .kl-section--dark, .kl-footer { background: none !important; color: #000 !important; }
	.kl-hero__title, .kl-page-hero__title { color: #000 !important; }
}
