/* ==========================================================================
   Kgapane Hardware: main stylesheet
   Palette taken from the logo only: indigo roof, sun yellow, green roof,
   red tagline. Neutrals are indigo-tinted.
   ========================================================================== */

:root {
	--indigo: #3A3A97;
	--indigo-d: #2C2C7C;
	--deep: #1C1C4F;
	--deeper: #15153D;
	--sun: #FCC72D;
	--sun-d: #EDB413;
	--green: #10A54F;
	--green-d: #0B7F3D;
	--red: #D9262E;

	--ink: #1D1D45;
	--text: #33355C;
	--muted: #5E6185;
	--line: #DADCEA;
	--line-2: #C5C8DE;
	--soft: #F2F3F9;
	--soft-2: #E7E9F3;
	--white: #FFFFFF;

	--f-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-serif: Georgia, "Times New Roman", serif;

	--t-xs: 0.8125rem;
	--t-sm: 0.9375rem;
	--t-base: 1.0625rem;
	--t-lg: 1.1875rem;
	--t-xl: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem);
	--t-2xl: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
	--t-3xl: clamp(2.1rem, 1.4rem + 3vw, 3.5rem);
	--t-hero: clamp(2.3rem, 1.35rem + 3.6vw, 4.1rem);

	--gutter: clamp(16px, 4vw, 40px);
	--max: 1240px;
	--sp: clamp(56px, 3rem + 4vw, 116px);
	--sp-tight: clamp(36px, 1.5rem + 2.5vw, 64px);
	--r-s: 4px;
	--r-m: 8px;
	--header-h: 76px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--shadow: 0 18px 40px -24px rgba(28, 28, 79, 0.45);
}

/* --------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--f-sans);
	font-size: var(--t-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
@supports (overflow: clip) {
	body { overflow-x: clip; }
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo-d); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 0.5em; line-height: 1.12; font-weight: 750; font-stretch: 104%; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
address { font-style: normal; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

::selection { background: var(--sun); color: var(--ink); }
html { scrollbar-color: var(--indigo) var(--soft); accent-color: var(--indigo); }
input, textarea { caret-color: var(--indigo); }
h1, h2, h3, .kg-hero__title, .kg-cta__title { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.kg-section--deep ::selection, .kg-footer ::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
	outline: 3px solid var(--indigo);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px rgba(252, 199, 45, 0.55);
	border-radius: 2px;
}
.kg-section--deep :focus-visible,
.kg-footer :focus-visible,
.kg-sum :focus-visible,
.kg-calc__result :focus-visible { outline-color: var(--sun); box-shadow: 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;
}

.kg-skip {
	position: fixed; top: 8px; left: 8px; z-index: 1000;
	padding: 12px 18px; background: var(--sun); color: var(--ink);
	font-weight: 700; text-decoration: none; border-radius: var(--r-s);
	transform: translateY(-160%); transition: transform 0.2s;
}
.kg-skip:focus { transform: none; }

.kg-main:focus { outline: none; }

.kg-icon {
	width: 1.25em; height: 1.25em; flex: none;
	fill: none; stroke: currentColor; stroke-width: 1.75;
	stroke-linecap: round; stroke-linejoin: round;
	vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Layout
   ----------------------------------------------------------------------- */
.kg-container {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
}
.kg-container--bleed-right {
	width: auto;
	margin-left: max(var(--gutter), (100% - var(--max)) / 2);
	margin-right: 0;
}
.kg-narrow { max-width: 860px; }

.kg-section { padding-block: var(--sp); position: relative; }
.kg-section--tight { padding-block: var(--sp-tight) var(--sp); }
.kg-section--soft { background: var(--soft); }
.kg-section--deep {
	background: var(--deep);
	color: rgba(255, 255, 255, 0.84);
}
.kg-section--deep h2,
.kg-section--deep h3,
.kg-section--deep .kg-h2 { color: var(--white); }
.kg-section--deep a:not(.kg-btn) { color: var(--white); }
.kg-section--deep a:not(.kg-btn):hover { color: var(--sun); }

.kg-h1 { font-size: var(--t-3xl); font-weight: 800; }
.kg-h2 { font-size: var(--t-2xl); font-weight: 780; font-stretch: 106%; }
.kg-h3 { font-size: var(--t-xl); font-weight: 720; }
.kg-lead { font-size: var(--t-lg); max-width: 60ch; }

.kg-shead {
	display: grid;
	gap: 6px 40px;
	margin-bottom: clamp(28px, 3vw, 48px);
	grid-template-columns: minmax(0, 1fr);
	align-items: end;
}
.kg-shead .kg-h2 { margin: 0; max-width: 22ch; }
.kg-shead p { margin: 6px 0 0; max-width: 58ch; color: var(--muted); }
.kg-section--deep .kg-shead p { color: rgba(255, 255, 255, 0.78); }
@media (min-width: 900px) {
	.kg-shead { grid-template-columns: minmax(0, 1fr) auto; }
	.kg-shead p { grid-column: 1; }
	.kg-shead .kg-link { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

.kg-split { display: grid; gap: clamp(28px, 4vw, 72px); }
@media (min-width: 960px) {
	.kg-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
	.kg-split__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.kg-split__head p { color: var(--muted); max-width: 44ch; }

.kg-panel {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	padding: clamp(20px, 3vw, 40px);
}

.kg-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 650; color: var(--indigo); text-decoration: none;
	padding-bottom: 2px;
	background: linear-gradient(var(--sun), var(--sun)) left bottom / 100% 2px no-repeat;
	transition: background-size 0.3s var(--ease);
	white-space: nowrap;
}
.kg-link:hover { background-size: 0 2px; background-position: right bottom; }

.kg-tagline {
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 700;
	font-size: 1.3rem;
	margin: 12px 0 0;
	color: var(--white);
}
.kg-tagline--red { color: var(--red); }
.kg-muted-light { color: rgba(255, 255, 255, 0.62); }

.kg-notice {
	padding: 16px 20px; background: var(--soft); border: 1px solid var(--line-2); border-radius: var(--r-s);
}

/* --------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------- */
.kg-btn {
	--btn-bg: var(--indigo);
	--btn-fg: var(--white);
	--btn-edge: var(--indigo-d);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px;
	background: var(--btn-bg); color: var(--btn-fg);
	border: 0; border-radius: var(--r-s);
	box-shadow: inset 0 -3px 0 var(--btn-edge);
	font-size: var(--t-sm); font-weight: 680; letter-spacing: 0.005em; line-height: 1.1;
	text-decoration: none; text-align: center;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
	-webkit-tap-highlight-color: transparent;
}
.kg-btn:hover { color: var(--btn-fg); }
.kg-btn:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 var(--btn-edge); }
.kg-btn .kg-icon { width: 20px; height: 20px; }

.kg-btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-edge: #D9A20C; }
.kg-btn--sun:hover { --btn-bg: var(--sun-d); }
.kg-btn--indigo:hover { --btn-bg: var(--indigo-d); --btn-edge: var(--deep); }
.kg-btn--ghost,
.kg-btn--light,
.kg-btn--outline,
.kg-btn--text { --btn-edge: transparent; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); }
.kg-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--indigo); background: var(--soft); color: var(--ink); }
.kg-btn--light { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); color: var(--white); }
.kg-btn--light:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1.5px var(--white); color: var(--white); }
.kg-btn--outline { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.kg-btn--outline:hover { background: var(--ink); color: var(--sun); }
.kg-btn--text { box-shadow: none; color: var(--indigo); padding-inline: 10px; text-decoration: underline; text-underline-offset: 0.2em; }
.kg-btn--text:hover { color: var(--indigo-d); background: var(--soft); }
.kg-btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--t-xs); }
.kg-btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.kg-btn--block { width: 100%; }
.kg-btn[disabled], .kg-btn.is-busy { opacity: 0.65; pointer-events: none; }

.kg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kg-actions--center { justify-content: center; }

.kg-iconbtn {
	display: inline-grid; place-items: center;
	width: 48px; height: 48px;
	background: var(--white); color: var(--ink);
	border: 1.5px solid var(--line-2); border-radius: var(--r-s);
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.kg-iconbtn:hover { border-color: var(--indigo); background: var(--soft); }
.kg-iconbtn[disabled] { opacity: 0.4; cursor: default; }
.kg-iconbtn--sm { width: 38px; height: 38px; }
.kg-iconbtn--sm .kg-icon { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Opening status
   ----------------------------------------------------------------------- */
.kg-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.kg-status .kg-icon { width: 16px; height: 16px; color: var(--sun); }
.kg-status--lg { font-size: var(--t-lg); margin-bottom: 28px; font-weight: 650; }

/* --------------------------------------------------------------------------
   Top bar and header
   ----------------------------------------------------------------------- */
.kg-topbar {
	background: var(--deep);
	color: rgba(255, 255, 255, 0.86);
	font-size: var(--t-xs);
}
.kg-topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.kg-topbar .kg-status { color: var(--white); }
.kg-topbar__addr { display: none; align-items: center; gap: 6px; margin: 0; }
.kg-topbar__addr .kg-icon { width: 15px; height: 15px; color: var(--sun); }
.kg-topbar__links { display: flex; gap: 18px; list-style: none; margin-left: auto; }
.kg-topbar__links a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.kg-topbar__links a:hover { color: var(--sun); }
.kg-topbar__links .kg-icon { width: 15px; height: 15px; }
@media (max-width: 767px) { .kg-topbar { display: none; } }
@media (min-width: 1000px) { .kg-topbar__addr { display: inline-flex; } }

.kg-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	transition: transform 0.35s var(--ease), box-shadow 0.3s;
}
.admin-bar .kg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .kg-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .kg-header { top: 0; } }
.kg-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(28, 28, 79, 0.35); }
.kg-header.is-hidden { transform: translateY(-100%); }

.kg-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.kg-logo { display: inline-flex; flex: none; }
.kg-logo__img { height: 44px; width: auto; }
.kg-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.kg-header__phone {
	display: none; align-items: center; gap: 8px;
	font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.kg-header__phone .kg-icon { color: var(--indigo); }
@media (min-width: 1360px) { .kg-header__phone { display: inline-flex; } }
@media (max-width: 599px) {
	:root { --header-h: 64px; }
	.kg-logo__img { height: 36px; }
	.kg-header__cta { display: none; }
}

.kg-burger {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; padding: 0 14px;
	background: var(--soft); color: var(--ink);
	border: 0; border-radius: var(--r-s);
	font-weight: 650; font-size: var(--t-sm);
}
.kg-burger .kg-icon { width: 22px; height: 22px; }

/* Navigation: mobile drawer first */
.kg-nav {
	position: fixed; inset: 0 0 0 auto; z-index: 80;
	width: min(420px, 100%);
	display: flex; flex-direction: column;
	background: var(--white);
	overflow-y: auto; overscroll-behavior: contain;
	clip-path: inset(0 0 0 100%);
	visibility: hidden;
	transition: clip-path 0.45s var(--ease), visibility 0s linear 0.45s;
}
.kg-nav-open .kg-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.45s var(--ease); }
.kg-nav__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px var(--gutter); min-height: var(--header-h);
	border-bottom: 1px solid var(--line);
}
.kg-nav__title { font-weight: 750; font-size: var(--t-lg); color: var(--ink); }
.kg-nav__close {
	display: grid; place-items: center; width: 44px; height: 44px;
	background: var(--soft); border: 0; border-radius: var(--r-s);
}
.kg-nav__list { list-style: none; padding: 8px var(--gutter); }
.kg-nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.kg-nav__link {
	flex: 1; padding: 16px 0;
	color: var(--ink); text-decoration: none;
	font-weight: 680; font-size: 1.05rem;
}
.kg-nav__item.is-current > .kg-nav__link { color: var(--indigo); }
.kg-nav__toggle {
	display: grid; place-items: center; width: 44px; height: 44px;
	background: transparent; border: 0; color: var(--ink);
}
.kg-nav__toggle .kg-icon { transition: transform 0.3s var(--ease); }
.kg-nav__item.is-open > .kg-nav__toggle .kg-icon { transform: rotate(180deg); }
.kg-nav__sub, .kg-mega { display: none; width: 100%; }
.kg-nav__item.is-open > .kg-nav__sub,
.kg-nav__item.is-open > .kg-mega { display: block; }
.kg-nav__sub { list-style: none; padding: 0 0 12px 12px; }
.kg-nav__sub .kg-nav__item { border: 0; }
.kg-nav__sub .kg-nav__link { padding: 9px 0; font-weight: 550; font-size: var(--t-base); color: var(--text); }
.kg-nav__foot { display: grid; gap: 12px; padding: 24px var(--gutter) 40px; margin-top: auto; }
.kg-nav__foot .kg-status { justify-content: center; font-size: var(--t-sm); }

.kg-mega__inner { padding: 0 0 16px; }
.kg-mega__grid { list-style: none; display: grid; gap: 2px; }
.kg-mega__cat {
	display: flex; align-items: center; gap: 12px;
	padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600;
}
.kg-mega__cat .kg-icon { color: var(--indigo); width: 22px; height: 22px; }
.kg-mega__items, .kg-mega__list, .kg-mega__aside { display: none; }

.kg-scrim {
	position: fixed; inset: 0; z-index: 48;
	background: rgba(21, 21, 61, 0.5);
	opacity: 0; transition: opacity 0.3s;
}
.kg-nav-open .kg-scrim { opacity: 1; }
.kg-nav-open { overflow: hidden; }

/* Navigation: desktop */
@media (min-width: 1100px) {
	.kg-burger, .kg-nav__head, .kg-nav__foot { display: none; }
	.kg-scrim { display: none !important; }
	.kg-nav-open { overflow: visible; }
	.kg-nav {
		position: static; width: auto; transform: none; clip-path: none; visibility: visible;
		overflow: visible; background: none; flex-direction: row; margin-left: 12px;
		transition: none;
	}
	.kg-nav__list { display: flex; align-items: center; gap: 2px; padding: 0; }
	.kg-nav__item { border: 0; flex-wrap: nowrap; }
	.kg-nav__link {
		position: relative; padding: 10px 10px; font-size: var(--t-sm); font-weight: 650; white-space: nowrap;
	}
	.kg-nav__list > .kg-nav__item > .kg-nav__link::after {
		content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px;
		background: var(--sun); transform: scaleX(0); transform-origin: left;
		transition: transform 0.3s var(--ease);
	}
	.kg-nav__list > .kg-nav__item:hover > .kg-nav__link::after,
	.kg-nav__list > .kg-nav__item.is-current > .kg-nav__link::after { transform: scaleX(1); }
	.kg-nav__item.has-sub > .kg-nav__link { padding-right: 2px; }
	.kg-nav__toggle { width: 26px; height: 36px; margin-right: 4px; }
	.kg-nav__toggle .kg-icon { width: 16px; height: 16px; }

	.kg-nav__sub, .kg-mega {
		display: block; position: absolute; top: 100%;
		opacity: 0; visibility: hidden; transform: translateY(8px);
		transition: opacity 0.22s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
	}
	.kg-nav__sub {
		left: 0; min-width: 270px; padding: 10px;
		background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
		box-shadow: var(--shadow);
	}
	.kg-nav__sub .kg-nav__link { display: block; padding: 9px 12px; border-radius: var(--r-s); white-space: normal; }
	.kg-nav__sub .kg-nav__link:hover { background: var(--soft); color: var(--indigo); }

	.kg-nav__item.is-mega { position: static; }
	.kg-mega {
		left: 0; right: 0; width: auto;
		background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
		box-shadow: 0 30px 50px -30px rgba(28, 28, 79, 0.4);
	}
	.kg-mega__inner {
		width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
		display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px;
		padding: 32px 0 36px;
	}
	.kg-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 24px; }
	.kg-mega__cell { padding: 10px 12px; border-radius: var(--r-s); transition: background-color 0.2s; }
	.kg-mega__cell:hover { background: var(--soft); }
	.kg-mega__cat { padding: 0; }
	.kg-mega__cat .kg-icon {
		width: 34px; height: 34px; padding: 6px; border-radius: var(--r-s);
		background: var(--soft); transition: background-color 0.2s;
	}
	.kg-mega__cell:hover .kg-mega__cat .kg-icon { background: var(--sun); color: var(--ink); }
	.kg-mega__items { display: block; margin: 6px 0 0 46px; font-size: var(--t-xs); color: var(--muted); line-height: 1.45; }
	.kg-mega__list { display: block; list-style: none; margin: 6px 0 0 46px; }
	.kg-mega__list a { display: block; padding: 3px 0; font-size: var(--t-xs); color: var(--muted); text-decoration: none; }
	.kg-mega__list a:hover { color: var(--indigo); }
	.kg-mega__aside {
		display: block; padding: 24px; border-radius: var(--r-m);
		background: var(--deep); color: rgba(255, 255, 255, 0.82); font-size: var(--t-sm);
		align-self: start;
	}
	.kg-mega__aside-title { color: var(--white); font-weight: 750; font-size: var(--t-lg); margin-bottom: 6px; }

	.kg-nav__item.has-sub.is-open > .kg-nav__sub,
	.kg-nav__item.has-sub.is-open > .kg-mega,
	.kg-nav__item.has-sub:focus-within > .kg-nav__sub,
	.kg-nav__item.has-sub:focus-within > .kg-mega {
		opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s, transform 0.3s var(--ease);
	}
}
@media (min-width: 1100px) and (hover: hover) {
	.kg-nav__item.has-sub:hover > .kg-nav__sub,
	.kg-nav__item.has-sub:hover > .kg-mega {
		opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s 0.06s, transform 0.3s var(--ease) 0.06s;
	}
}
@media (min-width: 1100px) and (max-width: 1239px) {
	.kg-header__cta { padding: 0 14px; }
	.kg-nav__link { padding-inline: 7px; }
}

/* --------------------------------------------------------------------------
   Home hero
   ----------------------------------------------------------------------- */
.kg-hero { padding-block: clamp(32px, 4vw, 72px) clamp(48px, 5vw, 96px); overflow: hidden; }
.kg-hero__grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
@media (min-width: 1000px) {
	.kg-hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
}
.kg-hero__title {
	font-size: var(--t-hero); font-weight: 820; font-stretch: 102%;
	line-height: 1.02; letter-spacing: -0.028em; margin: 0 0 24px;
	max-width: 15ch;
}
.kg-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.kg-w > span { display: inline-block; }
.kg-hero__lead { font-size: var(--t-lg); color: var(--text); max-width: 48ch; margin: 0; }
.kg-hero__facts {
	display: grid; gap: 14px 28px; margin: 36px 0 0; padding-top: 24px;
	border-top: 1px solid var(--line);
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.kg-hero__facts dt { font-size: var(--t-xs); color: var(--muted); margin-bottom: 2px; }
.kg-hero__facts dd { margin: 0; font-weight: 650; color: var(--ink); font-size: var(--t-sm); }
.kg-hero__facts dd a { color: var(--ink); text-decoration: none; }
.kg-hero__facts dd a:hover { color: var(--indigo); text-decoration: underline; }

/* Cutaway house */
.kg-house { margin: 0; }
.kg-house__stage {
	position: relative;
	background-color: var(--soft);
	background-image:
		linear-gradient(rgba(58, 58, 151, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(58, 58, 151, 0.07) 1px, transparent 1px);
	background-size: 32px 32px;
	border-radius: var(--r-m);
	padding: clamp(10px, 2vw, 22px) clamp(8px, 2vw, 20px) 0;
}
.kg-house__svg { display: block; width: 100%; height: auto; overflow: visible; }
.kg-house__svg [data-part] { transition: opacity 0.35s var(--ease); }
.kg-house.has-active [data-part]:not(.is-active) { opacity: 0.16; }

.kg-h-sun { fill: var(--sun); }
.kg-h-ground { stroke: var(--indigo); stroke-width: 3; stroke-linecap: round; }
.kg-h-found { fill: #D9DBEA; stroke: var(--indigo); stroke-width: 2; }
.kg-h-hatch { stroke: rgba(58, 58, 151, 0.35); stroke-width: 2; }
.kg-h-bag { fill: var(--white); stroke: var(--indigo); stroke-width: 2; stroke-linejoin: round; }
.kg-h-wall { fill: var(--white); stroke: var(--indigo); stroke-width: 3; }
.kg-h-line { stroke: var(--indigo); stroke-width: 3; }
.kg-h-thin { stroke: var(--indigo); stroke-width: 1.25; fill: none; opacity: 0.7; }
.kg-h-floor { fill: #ECEEF7; stroke: var(--indigo); stroke-width: 1.5; }
.kg-h-attic { fill: #EEF0F8; }
.kg-h-indigo { fill: var(--indigo); }
.kg-h-green { fill: var(--green); stroke: var(--white); stroke-width: 3; paint-order: stroke; }
.kg-h-truss { stroke: var(--indigo); stroke-width: 3; fill: none; opacity: 0.6; stroke-linecap: round; }
.kg-h-panel { fill: #E4E6F2; stroke: var(--indigo); stroke-width: 1.25; }
.kg-h-tank { fill: var(--green); }
[data-part="plumbing"] .kg-h-thin { stroke: var(--white); opacity: 0.75; }
.kg-h-pipe-o { stroke: var(--indigo); stroke-width: 7; fill: none; stroke-linejoin: round; }
.kg-h-pipe-i { stroke: var(--white); stroke-width: 3; fill: none; stroke-linejoin: round; }
.kg-h-cab { fill: var(--white); stroke: var(--indigo); stroke-width: 2; }
.kg-h-glass { fill: var(--deep); }
.kg-h-flame { fill: var(--sun); stroke: var(--indigo); stroke-width: 1; }
.kg-h-wire { stroke: var(--indigo); stroke-width: 1.5; stroke-dasharray: 4 3; fill: none; }
.kg-h-db { fill: var(--indigo); }
.kg-h-thin-w { stroke: var(--white); stroke-width: 1.5; }
.kg-h-glow { fill: var(--sun); opacity: 0.35; }
.kg-h-bulb { fill: var(--sun); stroke: var(--indigo); stroke-width: 1.5; }
.kg-h-cross { stroke: var(--white); stroke-width: 3; }
.kg-h-door { fill: #E4E6F2; stroke: var(--indigo); stroke-width: 2.5; }
.kg-h-lock { fill: var(--sun); stroke: var(--indigo); stroke-width: 2; }

.kg-hs {
	position: absolute; left: var(--x); top: var(--y);
	width: 28px; height: 28px; margin: 0; padding: 0;
	transform: translate(-50%, -50%);
	display: grid; place-items: center;
	background: var(--sun); color: var(--ink);
	border: 2px solid var(--ink); border-radius: 50%;
	font-size: 12px; font-weight: 800; line-height: 1;
	box-shadow: 0 0 0 4px rgba(252, 199, 45, 0.35);
	transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
	z-index: 2;
}
.kg-hs:hover, .kg-hs.is-active, .kg-hs:focus-visible {
	background: var(--indigo); color: var(--white); border-color: var(--indigo);
	transform: translate(-50%, -50%) scale(1.12);
	box-shadow: 0 0 0 6px rgba(58, 58, 151, 0.2);
	z-index: 3;
}
.kg-hs__tip {
	position: absolute; bottom: calc(100% + 10px); left: 50%;
	transform: translate(-50%, 4px);
	padding: 7px 11px; border-radius: var(--r-s);
	background: var(--deep); color: var(--white);
	font-size: 13px; font-weight: 600; white-space: nowrap;
	opacity: 0; pointer-events: none;
	transition: opacity 0.2s, transform 0.25s var(--ease);
}
.kg-hs:hover .kg-hs__tip, .kg-hs.is-active .kg-hs__tip, .kg-hs:focus-visible .kg-hs__tip { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 699px) {
	.kg-hs { width: 22px; height: 22px; font-size: 11px; border-width: 1.5px; box-shadow: 0 0 0 3px rgba(252, 199, 45, 0.35); }
	.kg-hs__tip { display: none; }
}

.kg-house__legend-wrap { margin-top: 18px; }
.kg-house__legend {
	list-style: none; counter-reset: kg-legend;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 18px;
}
.kg-house__legend li { counter-increment: kg-legend; }
.kg-house__legend a {
	display: flex; align-items: center; gap: 10px;
	padding: 6px 4px; color: var(--text); text-decoration: none;
	font-size: var(--t-xs); font-weight: 600; border-radius: var(--r-s);
	transition: background-color 0.2s, color 0.2s;
}
.kg-house__legend a::before {
	content: counter(kg-legend);
	display: grid; place-items: center; flex: none;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--white); border: 1.5px solid var(--ink); color: var(--ink);
	font-size: 11px; font-weight: 800;
	transition: background-color 0.2s;
}
.kg-house__legend a:hover, .kg-house__legend a.is-active { color: var(--indigo); background: var(--soft); }
.kg-house__legend a:hover::before, .kg-house__legend a.is-active::before { background: var(--sun); }
@media (max-width: 480px) { .kg-house__legend { grid-template-columns: 1fr 1fr; } }

/* Hero load sequence (only when motion is allowed) */
.kg-anim .kg-hero:not(.is-played) .kg-w > span { transform: translateY(108%); }
.kg-anim .kg-hero:not(.is-played) [data-hero-fade] { opacity: 0; transform: translateY(14px); }
.kg-anim .kg-hero:not(.is-played) [data-build] { opacity: 0; }
.kg-anim .kg-hero:not(.is-played) [data-build="sun"] { transform: translateY(70px); }
.kg-anim .kg-hero:not(.is-played) [data-build="found"] { transform: translateY(16px); }
.kg-anim .kg-hero:not(.is-played) [data-build="walls"] { transform: scaleY(0.2); }
.kg-anim .kg-hero:not(.is-played) [data-build="roof"] { transform: translateY(-40px); }
.kg-anim .kg-hero:not(.is-played) [data-build="detail"] { transform: translateY(8px); }
.kg-anim .kg-hero:not(.is-played) .kg-h-ground { stroke-dashoffset: 1; }
.kg-anim .kg-hero:not(.is-played) .kg-hs { transform: translate(-50%, -50%) scale(0); }
.kg-anim .kg-hero:not(.is-played) .kg-house__legend li { opacity: 0; }

.kg-anim .kg-hero .kg-w > span { transition: transform 0.9s var(--ease) calc(0.1s + var(--i, 0) * 0.055s); }
.kg-anim .kg-hero [data-hero-fade] { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.kg-anim .kg-hero [data-hero-fade]:nth-of-type(1) { transition-delay: 0.45s; }
.kg-anim .kg-hero .kg-actions[data-hero-fade] { transition-delay: 0.6s; }
.kg-anim .kg-hero .kg-hero__facts[data-hero-fade] { transition-delay: 0.75s; }
.kg-anim .kg-hero [data-build] { transform-box: fill-box; transform-origin: 50% 100%; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.kg-anim .kg-hero .kg-h-ground { stroke-dasharray: 1; transition: stroke-dashoffset 1s var(--ease) 0.1s; }
.kg-anim .kg-hero [data-build="ground"] { transition-delay: 0.1s; }
.kg-anim .kg-hero [data-build="found"] { transition-delay: 0.35s; }
.kg-anim .kg-hero [data-build="walls"] { transition-delay: 0.5s; }
.kg-anim .kg-hero [data-build="tiles"] { transition-delay: 0.75s; }
.kg-anim .kg-hero [data-build="roof"] { transition-delay: 0.8s; }
.kg-anim .kg-hero [data-build="sun"] { transition-delay: 1s; transition-duration: 0.8s, 1.4s; }
.kg-anim .kg-hero [data-part="steel"] { transition-delay: 1.15s; }
.kg-anim .kg-hero [data-part="ceiling"] { transition-delay: 1.22s; }
.kg-anim .kg-hero [data-part="plumbing"] { transition-delay: 1.3s; }
.kg-anim .kg-hero [data-part="cupboards"] { transition-delay: 1.38s; }
.kg-anim .kg-hero [data-part="gas"] { transition-delay: 1.44s; }
.kg-anim .kg-hero [data-part="electrical"] { transition-delay: 1.5s; }
.kg-anim .kg-hero [data-build="detail"]:not([data-part]) { transition-delay: 1.5s; }
.kg-anim .kg-hero [data-part="locks"] { transition-delay: 1.58s; }
.kg-anim .kg-hero .kg-hs { transition: background-color 0.2s, color 0.2s, box-shadow 0.25s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) calc(1.75s + var(--i) * 0.06s); }
.kg-anim .kg-hero.is-settled .kg-hs { transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s; }
.kg-anim .kg-hero .kg-house__legend li { transition: opacity 0.6s var(--ease) 1.9s; }
.kg-anim .kg-hero.is-settled [data-part] { transition: opacity 0.35s var(--ease); }

/* --------------------------------------------------------------------------
   Inner page hero and breadcrumbs
   ----------------------------------------------------------------------- */
.kg-phero {
	position: relative;
	padding-block: clamp(36px, 4vw, 72px) clamp(36px, 4vw, 64px);
	background: var(--soft);
	overflow: hidden;
	isolation: isolate;
}
.kg-phero__art {
	position: absolute; z-index: 0; right: max(var(--gutter), (100% - var(--max)) / 2 - 40px); bottom: -1px;
	width: min(38vw, 460px); height: auto; pointer-events: none;
}
.kg-phero__sun { fill: var(--sun); }
.kg-phero__chim, .kg-phero__left { fill: var(--indigo); }
.kg-phero__right { fill: var(--green); }
.kg-phero__win { fill: var(--green); }
.kg-anim .kg-phero__sun { transform-box: fill-box; transform-origin: 50% 100%; animation: kg-sunrise 1.4s var(--ease) 0.2s both; }
@keyframes kg-sunrise { from { transform: translateY(40%); } to { transform: none; } }
.kg-phero__inner { position: relative; z-index: 1; display: grid; gap: 32px; }
.kg-phero__text { max-width: 760px; }
.kg-phero__title {
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	font-size: var(--t-3xl); font-weight: 820; letter-spacing: -0.024em; margin: 0 0 16px;
}
.kg-phero__icon {
	display: inline-grid; place-items: center; flex: none;
	width: 1.35em; height: 1.35em; border-radius: var(--r-s);
	background: var(--indigo); color: var(--white);
}
.kg-phero__icon .kg-icon { width: 60%; height: 60%; stroke-width: 1.6; }
.kg-phero__intro { font-size: var(--t-lg); max-width: 60ch; margin: 0; }
.kg-phero .kg-actions { margin-top: 24px; }
@media (max-width: 899px) {
	.kg-phero__art { width: 44vw; right: 0; opacity: 0.2; }
}

.kg-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 16px; font-size: var(--t-xs); color: var(--muted); }
.kg-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.kg-crumbs a { color: var(--muted); text-decoration: none; }
.kg-crumbs a:hover { color: var(--indigo); text-decoration: underline; }
.kg-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Services list
   ----------------------------------------------------------------------- */
.kg-svc { list-style: none; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
	.kg-svc { grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
	.kg-svc__item { border-top: 1px solid var(--line); }
}
.kg-svc__item { border-bottom: 1px solid var(--line); }
.kg-svc__link {
	position: relative; isolation: isolate;
	display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
	padding: 22px 8px; color: var(--text); text-decoration: none;
}
.kg-svc__link::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--soft);
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.45s var(--ease);
}
.kg-svc__link:hover::before { transform: scaleX(1); }
.kg-svc__icon {
	display: grid; place-items: center; width: 52px; height: 52px;
	border-radius: var(--r-s); background: var(--soft); color: var(--indigo);
	transition: background-color 0.3s, color 0.3s;
}
.kg-svc__icon .kg-icon { width: 26px; height: 26px; }
.kg-svc__link:hover .kg-svc__icon { background: var(--indigo); color: var(--white); }
.kg-svc__body { display: grid; gap: 2px; min-width: 0; }
.kg-svc__name { font-weight: 720; font-size: var(--t-lg); color: var(--ink); font-stretch: 104%; }
.kg-svc__desc { font-size: var(--t-sm); color: var(--muted); }
.kg-svc__go { display: grid; place-items: center; width: 32px; color: var(--line-2); transition: color 0.3s, transform 0.45s var(--ease); }
.kg-svc__link:hover .kg-svc__go { color: var(--indigo); transform: translateX(6px); }
.kg-svc__tag {
	display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: 0.01em; color: var(--green-d);
}
.kg-svc__tag .kg-icon { width: 15px; height: 15px; }
@media (max-width: 520px) {
	.kg-svc__go { display: none; }
	.kg-svc__link { grid-template-columns: auto 1fr; gap: 14px; padding: 18px 4px; }
	.kg-svc__icon { width: 44px; height: 44px; }
}

/* --------------------------------------------------------------------------
   Cutting promo (deep section)
   ----------------------------------------------------------------------- */
.kg-cutting-promo__grid { display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; }
@media (min-width: 1000px) { .kg-cutting-promo__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }
.kg-cutting-promo .kg-lead { color: rgba(255, 255, 255, 0.84); }

.kg-steps { list-style: none; display: grid; gap: 0; margin: 32px 0 8px; position: relative; }
.kg-steps::before {
	content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px;
	background: rgba(255, 255, 255, 0.18);
}
.kg-steps::after {
	content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px;
	background: var(--sun); transform-origin: top; transform: scaleY(var(--progress, 1));
}
.kg-step { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 10px 0; position: relative; z-index: 1; }
.kg-step__n {
	display: grid; place-items: center; width: 36px; height: 36px;
	border-radius: 50%; background: var(--sun); color: var(--ink);
	font-weight: 800; font-size: var(--t-sm);
	box-shadow: 0 0 0 5px var(--deep);
}
.kg-step__title { font-size: var(--t-lg); margin: 4px 0 2px; color: var(--white); }
.kg-step p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: var(--t-sm); }

.kg-board { margin: 0; }
.kg-board svg { display: block; width: 100%; height: auto; overflow: visible; }
.kg-board__dims path { stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.5; fill: none; }
.kg-board__dims text { fill: var(--white); font-size: 14px; font-weight: 700; font-family: var(--f-sans); }
.kg-board__sheet { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; }
.kg-board__part rect { fill: var(--white); stroke: var(--deep); stroke-width: 1.6; }
.kg-board__part text { fill: var(--ink); font-size: 12px; font-weight: 700; font-family: var(--f-sans); }
.kg-board__edge { stroke: var(--sun); stroke-width: 4; fill: none; stroke-linecap: round; }
.kg-board__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: var(--t-xs); color: rgba(255, 255, 255, 0.82); }
.kg-board__legend span { display: inline-flex; align-items: center; gap: 8px; }
.kg-swatch { display: inline-block; width: 18px; height: 12px; border-radius: 2px; }
.kg-swatch--part { background: var(--white); }
.kg-swatch--edge { background: var(--sun); height: 4px; }
.kg-swatch--off { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.3) 0 2px, transparent 2px 5px); outline: 1px solid rgba(255, 255, 255, 0.4); }
.kg-anim .kg-board .kg-board__part { transition: opacity 0.5s var(--ease) calc(var(--i) * 70ms), transform 0.7s var(--ease) calc(var(--i) * 70ms); }
.kg-anim .kg-board:not(.is-in) .kg-board__part { opacity: 0; transform: translateY(-18px); }

/* --------------------------------------------------------------------------
   Build stages slider
   ----------------------------------------------------------------------- */
.kg-slider__track {
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; padding-bottom: 4px;
	cursor: grab;
}
.kg-slider__track::-webkit-scrollbar { display: none; }
.kg-slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.kg-slider__track.is-dragging a { pointer-events: none; }
.kg-stages { list-style: none; display: flex; gap: 16px; padding-right: var(--gutter); width: max-content; }
.kg-stage {
	scroll-snap-align: start;
	width: clamp(272px, 28vw, 340px);
	display: flex; flex-direction: column;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
	padding: 26px 26px 22px;
	user-select: none;
}
.kg-stage__art { width: 132px; height: auto; margin-bottom: 18px; overflow: visible; }
.kg-stage__art g > * { stroke-width: 2; stroke-linejoin: round; }
.kg-stage__art .is-done > * { fill: var(--indigo); stroke: var(--indigo); }
.kg-stage__art .is-now > * { fill: var(--sun); stroke: var(--ink); }
.kg-stage__art .is-todo > * { fill: none; stroke: var(--line-2); stroke-dasharray: 4 3; }
.kg-stage__art .kg-stroke { fill: none !important; stroke-width: 3; }
.kg-stage__art .is-done .kg-stroke { stroke: var(--white); }
.kg-stage__n { margin: 0 0 6px; font-weight: 800; font-size: var(--t-sm); color: var(--indigo); font-variant-numeric: tabular-nums; }
.kg-stage__n span { color: var(--line-2); font-weight: 600; }
.kg-stage__title { font-size: var(--t-xl); margin: 0 0 8px; }
.kg-stage__text { font-size: var(--t-sm); color: var(--muted); }
.kg-stage__items { list-style: none; display: grid; gap: 6px; margin: 4px 0 20px; }
.kg-stage__items li { display: flex; gap: 10px; align-items: baseline; font-size: var(--t-sm); color: var(--ink); font-weight: 550; }
.kg-stage__items li::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--sun); transform: translateY(-1px); }
.kg-stage__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--t-sm); font-weight: 650; }
.kg-stage__links a { text-decoration: none; }
.kg-stage__links a:hover { text-decoration: underline; }

.kg-slider__ui { display: flex; align-items: center; gap: 24px; margin-top: 28px; padding-right: var(--gutter); max-width: calc(var(--max) + 0px); }
.kg-slider__bar { flex: 1; height: 3px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.kg-slider__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--indigo); transform-origin: left; transform: scaleX(var(--p, 0.2)); transition: transform 0.2s linear; }
.kg-slider__btns { display: flex; gap: 8px; }

/* --------------------------------------------------------------------------
   Departments
   ----------------------------------------------------------------------- */
.kg-depts {
	list-style: none; display: grid; gap: 0;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
	border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.kg-dept { background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 24px 22px; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 80px); }
.kg-dept__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.kg-dept__icon {
	display: grid; place-items: center; width: 44px; height: 44px; flex: none;
	border-radius: var(--r-s); background: var(--soft); color: var(--indigo);
	transition: background-color 0.3s, color 0.3s;
}
.kg-dept:hover .kg-dept__icon { background: var(--sun); color: var(--ink); }
.kg-dept__icon .kg-icon { width: 24px; height: 24px; }
.kg-dept__title { font-size: var(--t-lg); margin: 0; }
.kg-dept__text { font-size: var(--t-sm); color: var(--muted); margin: 0 0 14px; }
.kg-dept__items { list-style: none; display: grid; gap: 7px; margin: 4px 0 16px; }
.kg-dept__items li { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--ink); }
.kg-dept__items .kg-icon { width: 16px; height: 16px; color: var(--green-d); stroke-width: 2.4; }
.kg-dept__note {
	align-self: flex-start; margin: 0 0 14px; padding: 4px 10px;
	background: rgba(16, 165, 79, 0.1); color: var(--green-d);
	font-size: var(--t-xs); font-weight: 700; border-radius: var(--r-s);
}
.kg-dept__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; font-size: var(--t-sm); font-weight: 650; }
.kg-dept__links a { text-decoration: none; }
.kg-dept__links a:hover { text-decoration: underline; }
.kg-dept:target { box-shadow: inset 0 0 0 3px var(--sun); }
.kg-depts--detailed .kg-dept { padding: 30px 28px 26px; }

.kg-jump { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); transition: top 0.35s var(--ease); }
.kg-header-hidden .kg-jump { top: 0; }
.kg-jump__list {
	list-style: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
	padding: 12px 0; scroll-snap-type: x proximity;
}
.kg-jump__list::-webkit-scrollbar { display: none; }
.kg-jump__list a {
	display: block; white-space: nowrap; padding: 8px 14px; border-radius: var(--r-s);
	background: var(--soft); color: var(--ink); text-decoration: none; font-size: var(--t-xs); font-weight: 650;
	scroll-snap-align: start;
}
.kg-jump__list a:hover, .kg-jump__list a.is-active { background: var(--indigo); color: var(--white); }

/* --------------------------------------------------------------------------
   Visit section, hours and map
   ----------------------------------------------------------------------- */
.kg-visit__grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 1000px) { .kg-visit__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.kg-visit__cols { display: grid; gap: 24px 40px; }
@media (min-width: 640px) { .kg-visit__cols { grid-template-columns: 1fr 1fr; } }
.kg-visit__h { font-size: var(--t-xs); font-weight: 700; color: var(--sun) !important; margin: 0 0 6px; letter-spacing: 0.02em; }
.kg-visit address, .kg-visit__cols p { margin: 0 0 22px; color: var(--white); font-weight: 550; }

.kg-hours { width: 100%; font-size: var(--t-sm); }
.kg-hours th, .kg-hours td { padding: 7px 0; text-align: left; border-bottom: 1px solid currentColor; border-color: rgba(127, 130, 170, 0.25); font-weight: 500; }
.kg-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.kg-hours tr.is-closed td { opacity: 0.7; }
.kg-hours tr.is-today th, .kg-hours tr.is-today td { font-weight: 800; }
.kg-hours tr.is-today th::after { content: attr(data-today); font-weight: 600; opacity: 0.85; }
.kg-section--deep .kg-hours tr.is-today th, .kg-section--deep .kg-hours tr.is-today td,
.kg-footer .kg-hours tr.is-today th, .kg-footer .kg-hours tr.is-today td { color: var(--sun); }
.kg-hours--compact { font-size: var(--t-xs); }
.kg-hours--compact th, .kg-hours--compact td { padding: 4px 0; }
.kg-hours__note { font-size: var(--t-xs); opacity: 0.8; margin: 8px 0 0; }

.kg-map {
	position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden;
	background: #25256A; border: 1px solid rgba(255, 255, 255, 0.15);
}
.kg-map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.kg-map__roads path { stroke: rgba(255, 255, 255, 0.16); stroke-width: 10; fill: none; stroke-linecap: round; }
.kg-map__ring { fill: none; stroke: var(--sun); stroke-width: 1.5; stroke-dasharray: 4 6; opacity: 0.55; }
.kg-map__pin { fill: var(--sun); stroke: var(--deep); stroke-width: 2; }
.kg-map__overlay {
	position: absolute; left: 16px; right: 16px; bottom: 16px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
	padding: 16px; border-radius: var(--r-s);
	background: rgba(21, 21, 61, 0.88); color: var(--white);
}
.kg-map__label { margin: 0; font-weight: 650; flex: 1 1 200px; }
.kg-map__fine { flex-basis: 100%; margin: 0; font-size: 12px; opacity: 0.72; }
.kg-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kg-map.is-loaded .kg-map__art, .kg-map.is-loaded .kg-map__overlay { display: none; }

/* --------------------------------------------------------------------------
   FAQ accordion
   ----------------------------------------------------------------------- */
.kg-faq { border-top: 1px solid var(--line); }
.kg-faq__item { border-bottom: 1px solid var(--line); }
.kg-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 22px 0; cursor: pointer; list-style: none;
	font-weight: 680; font-size: var(--t-lg); color: var(--ink); font-stretch: 103%;
}
.kg-faq__q::-webkit-details-marker { display: none; }
.kg-faq__q:hover { color: var(--indigo); }
.kg-faq__mark { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background-color 0.25s, border-color 0.25s; }
.kg-faq__mark::before, .kg-faq__mark::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px;
	background: currentColor; transform: translate(-50%, -50%); transition: transform 0.35s var(--ease);
}
.kg-faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.kg-faq__item.is-open .kg-faq__mark { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.kg-faq__item.is-open .kg-faq__mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.kg-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.kg-faq__a > div { overflow: hidden; }
.kg-faq__item.is-open .kg-faq__a { grid-template-rows: 1fr; }
.kg-faq__a p { margin: 0; padding: 0 56px 24px 0; color: var(--text); max-width: 68ch; }

/* --------------------------------------------------------------------------
   CTA band
   ----------------------------------------------------------------------- */
.kg-cta { background: var(--sun); color: var(--ink); padding-block: clamp(48px, 5vw, 88px) clamp(80px, 8vw, 130px); position: relative; overflow: hidden; }
.kg-cta__inner { position: relative; display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .kg-cta__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.kg-cta { isolation: isolate; }
.kg-cta__roof { position: absolute; z-index: -1; right: 0; bottom: calc(-1 * clamp(80px, 8vw, 130px) - 6px); width: min(40vw, 440px); opacity: 0.16; fill: none; stroke: var(--ink); stroke-width: 12; stroke-linejoin: miter; pointer-events: none; }
@media (max-width: 699px) { .kg-cta__roof { width: 64vw; opacity: 0.1; } }
.kg-cta__title { font-size: var(--t-2xl); margin: 0 0 8px; color: var(--ink); max-width: 20ch; }
.kg-cta__text p { margin: 0; font-size: var(--t-lg); max-width: 54ch; color: var(--ink); }
.kg-cta__actions { margin-top: 0; }

/* --------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */
.kg-footer {
	position: relative;
	background: var(--deep); color: rgba(255, 255, 255, 0.8);
	padding-top: clamp(56px, 5vw, 88px);
	font-size: var(--t-sm);
}
.kg-footer::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
	height: clamp(26px, 4.4vw, 64px);
	background: var(--deep);
	clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.kg-footer a { color: var(--white); text-decoration: none; }
.kg-footer a:hover { color: var(--sun); text-decoration: underline; }
.kg-footer__grid { display: grid; gap: 40px 32px; padding-bottom: 48px; }
@media (min-width: 700px) { .kg-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .kg-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.kg-footer .kg-logo__img { height: 50px; }
.kg-footer__about { margin: 16px 0 18px; max-width: 36ch; }
.kg-footer__social { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; }
.kg-footer__h { color: var(--white); font-size: var(--t-base); margin: 0 0 16px; }
.kg-footer__list { list-style: none; display: grid; gap: 8px; }
.kg-footer__visit address { margin-bottom: 12px; color: var(--white); }
.kg-footer__contact { margin-bottom: 18px; }
.kg-footer .kg-hours { color: rgba(255, 255, 255, 0.82); }
.kg-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
	padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: var(--t-xs); color: rgba(255, 255, 255, 0.7);
}
.kg-footer__bottom p { margin: 0; }
.kg-footer__menu { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Floating WhatsApp (desktop) and action bar (phones) */
.kg-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 40;
	display: inline-flex; align-items: center; gap: 0;
	height: 54px; padding: 0 15px; border-radius: var(--r-s);
	overflow: hidden;
	background: var(--green-d); color: var(--white); text-decoration: none;
	font-weight: 700; font-size: var(--t-sm);
	box-shadow: 0 14px 30px -14px rgba(11, 127, 61, 0.8), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
	transform: translateY(0); transition: transform 0.3s var(--ease), background-color 0.2s;
}
.kg-wa-float:hover { color: var(--white); background: #096B33; transform: translateY(-2px); }
.kg-wa-float .kg-icon { width: 24px; height: 24px; }
.kg-wa-float { overflow: visible; }
.kg-wa-float span {
	position: absolute; right: calc(100% + 10px); top: 50%;
	padding: 8px 12px; border-radius: var(--r-s); background: var(--deep); color: var(--white);
	white-space: nowrap; font-size: var(--t-xs); pointer-events: none;
	opacity: 0; transform: translate(6px, -50%); transition: opacity 0.2s, transform 0.3s var(--ease);
}
.kg-wa-float:hover span, .kg-wa-float:focus-visible span { opacity: 1; transform: translate(0, -50%); }
body:has(.kg-cut) .kg-wa-float { display: none; }
.kg-wa-float.is-tucked { transform: translateY(140%); }

.kg-actionbar { display: none; }
@media (max-width: 767px) {
	.kg-wa-float { display: none; }
	.kg-has-actionbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.kg-actionbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
		display: grid; grid-template-columns: repeat(4, 1fr);
		background: var(--white); border-top: 1px solid var(--line);
		padding-bottom: env(safe-area-inset-bottom);
		box-shadow: 0 -10px 30px -20px rgba(28, 28, 79, 0.4);
	}
	.kg-actionbar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		min-height: 64px; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 650;
	}
	.kg-actionbar a .kg-icon { width: 22px; height: 22px; color: var(--indigo); }
	.kg-actionbar a.is-primary { background: var(--sun); }
	.kg-actionbar a.is-primary .kg-icon { color: var(--ink); }
	.kg-actionbar a:active { background: var(--soft); }
}

/* --------------------------------------------------------------------------
   Forms
   ----------------------------------------------------------------------- */
.kg-form__grid { display: grid; gap: 18px 20px; }
@media (min-width: 640px) {
	.kg-form__grid { grid-template-columns: 1fr 1fr; }
	.kg-field--full { grid-column: 1 / -1; }
}
.kg-field { display: grid; gap: 6px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.kg-field > label, .kg-label, .kg-choice legend { font-weight: 650; font-size: var(--t-sm); color: var(--ink); padding: 0; }
.kg-opt { font-weight: 450; color: var(--muted); font-size: var(--t-xs); }
.kg-field input[type="text"], .kg-field input[type="email"], .kg-field input[type="tel"],
.kg-field input[type="number"], .kg-field input[type="date"], .kg-field input[type="search"],
.kg-field select, .kg-field textarea, .kg-search input, .kg-paste textarea, .kg-row input:not([type="checkbox"]), .kg-row select {
	width: 100%; min-height: 48px; padding: 10px 14px;
	background: var(--white); color: var(--ink);
	border: 1.5px solid var(--line-2); border-radius: var(--r-s);
	font-size: 1rem; line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none; -webkit-appearance: none;
}
.kg-field textarea, .kg-paste textarea { min-height: 120px; resize: vertical; }
.kg-field select, .kg-row select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A3A97' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.kg-field input:focus, .kg-field select:focus, .kg-field textarea:focus, .kg-search input:focus,
.kg-paste textarea:focus, .kg-row input:focus, .kg-row select:focus {
	outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(252, 199, 45, 0.5);
}
.kg-field ::placeholder, .kg-row ::placeholder, .kg-paste ::placeholder { color: #8C8FAE; }
.kg-field.has-error input, .kg-field.has-error textarea, .kg-field.has-error select { border-color: var(--red); }
.kg-field__err { margin: 0; font-size: var(--t-xs); color: var(--red); font-weight: 600; }
.kg-field__err:empty { display: none; }
.kg-field__hint { margin: 0; font-size: var(--t-xs); color: var(--muted); }

.kg-unit { position: relative; }
.kg-unit input { padding-right: 52px !important; font-variant-numeric: tabular-nums; }
.kg-unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: var(--t-xs); color: var(--muted); pointer-events: none; }
.kg-unit input::-webkit-outer-spin-button, .kg-unit input::-webkit-inner-spin-button { margin: 0; }

.kg-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.kg-choice legend { margin-bottom: 8px; width: 100%; }
.kg-radio, .kg-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--t-sm); color: var(--ink); }
.kg-radio, .kg-choice > .kg-radio { padding: 12px 16px; font-weight: 600; border: 1.5px solid var(--line-2); border-radius: var(--r-s); transition: border-color 0.2s, background-color 0.2s; }
.kg-radio:has(input:checked) { border-color: var(--indigo); background: var(--soft); }
.kg-radio input, .kg-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--indigo); }

.kg-file {
	position: relative; display: flex; align-items: center; gap: 12px;
	min-height: 56px; padding: 12px 16px;
	border: 1.5px dashed var(--line-2); border-radius: var(--r-s);
	color: var(--muted); font-size: var(--t-sm); cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}
.kg-file:hover, .kg-file:focus-within { border-color: var(--indigo); background: var(--soft); }
.kg-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.kg-file .kg-icon { color: var(--indigo); }
.kg-file.has-file { border-style: solid; color: var(--ink); font-weight: 600; }

.kg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kg-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.kg-form__fine { margin: 0; font-size: var(--t-xs); color: var(--muted); max-width: 46ch; }
.kg-form__msg { margin-top: 18px; }
.kg-form__msg:empty { display: none; }
.kg-form__msg:focus { outline: none; }
.kg-msg {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 16px 18px; border-radius: var(--r-s); font-weight: 550;
}
.kg-msg .kg-icon { width: 24px; height: 24px; margin-top: 1px; }
.kg-msg--ok { background: rgba(16, 165, 79, 0.08); color: #075A2B; border: 1px solid rgba(16, 165, 79, 0.45); }
.kg-msg--err { background: rgba(217, 38, 46, 0.06); color: #9E1B21; border: 1px solid rgba(217, 38, 46, 0.4); }
.kg-msg p { margin: 0; }

.kg-formpage { display: grid; gap: 32px; }
@media (min-width: 1000px) { .kg-formpage { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.kg-formpage__side { display: grid; gap: 16px; }
@media (min-width: 1000px) { .kg-formpage__side { position: sticky; top: calc(var(--header-h) + 24px); } }
.kg-side-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--soft); }
.kg-side-card .kg-h3 { font-size: var(--t-lg); margin-bottom: 6px; }
.kg-side-card p { font-size: var(--t-sm); color: var(--muted); }
.kg-side-card .kg-status { margin-bottom: 10px; font-size: var(--t-sm); }

.kg-search { display: flex; gap: 8px; max-width: 520px; }
.kg-search input { flex: 1; }

/* --------------------------------------------------------------------------
   Service detail
   ----------------------------------------------------------------------- */
.kg-svcd { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 960px) { .kg-svcd { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: start; } }
.kg-checklist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .kg-checklist { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.kg-checklist li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 550; }
.kg-checklist .kg-icon { color: var(--green-d); stroke-width: 2.4; width: 20px; height: 20px; }
.kg-svcd__tips { background: var(--deep); color: rgba(255, 255, 255, 0.82); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-m); }
.kg-svcd__tips .kg-h3 { color: var(--white); }
.kg-tip { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.kg-tip__title { color: var(--sun); font-size: var(--t-base); margin: 0 0 4px; }
.kg-tip p { margin: 0; font-size: var(--t-sm); }

/* --------------------------------------------------------------------------
   Contact ways, about, values
   ----------------------------------------------------------------------- */
.kg-ways { list-style: none; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kg-ways > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kg-way { display: grid; gap: 4px; padding: 26px 24px; height: 100%; background: var(--white); color: var(--text); text-decoration: none; transition: background-color 0.25s; }
.kg-way:hover { background: var(--soft); color: var(--text); }
.kg-way__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: var(--r-s); background: var(--soft); color: var(--indigo); transition: background-color 0.25s, color 0.25s; }
.kg-way:hover .kg-way__icon { background: var(--sun); color: var(--ink); }
.kg-way__label { font-size: var(--t-xs); color: var(--muted); font-weight: 650; }
.kg-way__value { font-size: clamp(1rem, 0.9rem + 0.4vw, 1.1875rem); font-weight: 750; color: var(--ink); overflow-wrap: break-word; word-break: break-word; }
.kg-way__note { font-size: var(--t-xs); color: var(--muted); }

.kg-about { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .kg-about { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.kg-about__art { margin: 0; text-align: center; }
.kg-about__art img { margin-inline: auto; width: min(100%, 380px); }
.kg-about__art .kg-tagline { font-size: 1.6rem; margin-top: 0; }

.kg-values { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.kg-value { padding: 26px 0 0; border-top: 2px solid var(--ink); }
.kg-value__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: var(--r-s); background: var(--sun); color: var(--ink); }
.kg-value__title { font-size: var(--t-lg); margin-bottom: 6px; }
.kg-value p { margin: 0; color: var(--muted); font-size: var(--t-sm); }

/* --------------------------------------------------------------------------
   Prose (editor content, legal pages)
   ----------------------------------------------------------------------- */
.kg-prose { max-width: 760px; color: var(--text); }
.kg-prose > * + * { margin-top: 1em; }
.kg-prose h2 { font-size: var(--t-xl); margin-top: 1.8em; }
.kg-prose h3 { font-size: var(--t-lg); margin-top: 1.5em; }
.kg-prose h2:first-child, .kg-prose h3:first-child { margin-top: 0; }
.kg-prose ul, .kg-prose ol { padding-left: 1.3em; }
.kg-prose li + li { margin-top: 0.35em; }
.kg-prose a { color: var(--indigo); text-decoration: underline; }
.kg-prose img { border-radius: var(--r-m); }
.kg-prose blockquote { margin: 1.8em 0; padding: 0; font-family: var(--f-serif); font-style: italic; font-size: var(--t-xl); line-height: 1.45; color: var(--ink); }
.kg-prose blockquote::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 14px; background: var(--sun); }
.kg-prose table { width: 100%; font-size: var(--t-sm); }
.kg-prose th, .kg-prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.kg-prose .alignwide { max-width: none; }

.kg-editor.has-content:not(.is-elementor) { padding-block: var(--sp-tight); }
.kg-editor__wide { width: 100%; }
.kg-legal .kg-editor { padding-block: 0; }
.kg-builder { width: 100%; }
.kg-builder > :not(.elementor):not(.alignfull) { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Cutting list tool
   ----------------------------------------------------------------------- */
.kg-cut__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1100px) { .kg-cut__grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.kg-cut__main { display: grid; gap: 24px; min-width: 0; }
.kg-cut__block { margin: 0; padding: clamp(20px, 2.5vw, 32px); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); min-width: 0; }
.kg-cut__legend { display: flex; align-items: center; gap: 12px; padding: 0 8px; margin-left: -8px; font-weight: 780; font-size: var(--t-xl); color: var(--ink); font-stretch: 104%; }
.kg-cut__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); color: var(--white); font-size: var(--t-sm); font-weight: 800; }
.kg-cut__hint { margin: 4px 0 20px; font-size: var(--t-sm); color: var(--muted); max-width: 64ch; }
.kg-cut__rowbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.kg-cut__submit { display: grid; gap: 12px; justify-items: start; }

.kg-rows { list-style: none; display: grid; gap: 12px; counter-reset: kg-row; }
.kg-rows__head { display: none; }
.kg-row {
	position: relative;
	display: grid; gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 44px 14px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--soft);
	animation: kg-row-in 0.35s var(--ease);
}
@keyframes kg-row-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.kg-row.is-removing { animation: kg-row-out 0.25s var(--ease) forwards; }
@keyframes kg-row-out { to { opacity: 0; transform: translateX(16px); } }
.kg-row.has-error { border-color: var(--red); background: rgba(217, 38, 46, 0.04); }
.kg-row__n {
	position: absolute; left: 14px; top: 12px;
	display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
	border-radius: var(--r-s); background: var(--indigo); color: var(--white); font-size: 12px; font-weight: 800;
}
.kg-row__f { display: grid; gap: 4px; min-width: 0; align-content: start; }
.kg-row__f > label, .kg-row__f > .kg-label { font-size: var(--t-xs); font-weight: 650; color: var(--muted); }
.kg-row input:not([type="checkbox"]), .kg-row select { min-height: 44px; padding: 8px 10px; font-size: 0.975rem; }
.kg-row .kg-unit input { padding-right: 40px !important; }
.kg-row .kg-unit span { right: 10px; }
.kg-row__label, .kg-row__b { grid-column: 1 / -1; }
.kg-row__b .kg-check { margin-top: 6px; font-size: var(--t-xs); }
.kg-row__e { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.kg-row__e .kg-label { width: 100%; }
.kg-row__acts { position: absolute; right: 10px; top: 6px; display: flex; gap: 4px; }
.kg-row__acts .kg-iconbtn { background: transparent; border-color: transparent; }
.kg-row__acts .kg-iconbtn:hover { background: var(--white); border-color: var(--line-2); }
.kg-row__err { grid-column: 1 / -1; margin: 0; font-size: var(--t-xs); color: var(--red); font-weight: 650; }
.kg-row__err:empty { display: none; }
.kg-row.is-grainless [data-kg-grain-wrap] { display: none; }

.kg-edge { position: relative; width: 92px; height: 66px; flex: none; }
.kg-edge__panel {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: var(--pw, 56px); height: var(--ph, 34px);
	background: var(--white); border: 1.5px solid var(--indigo); border-radius: 1px;
	pointer-events: none;
}
.kg-edge__b {
	position: absolute; padding: 0; border: 0; background: transparent;
	display: grid; place-items: center;
}
.kg-edge__b::before { content: ""; background: transparent; border: 1.5px dashed var(--line-2); border-radius: 2px; transition: background-color 0.2s, border-color 0.2s; }
.kg-edge__t, .kg-edge__bt { left: 14px; right: 14px; height: 16px; }
.kg-edge__t { top: 0; }
.kg-edge__bt { bottom: 0; }
.kg-edge__t::before, .kg-edge__bt::before { width: var(--pw, 56px); height: 6px; }
.kg-edge__l, .kg-edge__r { top: 14px; bottom: 14px; width: 18px; }
.kg-edge__l { left: 0; }
.kg-edge__r { right: 0; }
.kg-edge__l::before, .kg-edge__r::before { height: var(--ph, 34px); width: 6px; }
.kg-edge__b:hover::before { border-color: var(--indigo); }
.kg-edge__b[aria-pressed="true"]::before { background: var(--sun); border: 1.5px solid var(--ink); }
.kg-edge__all { padding: 6px 10px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: var(--white); font-size: var(--t-xs); font-weight: 650; color: var(--ink); }
.kg-edge__all:hover { border-color: var(--indigo); }

@media (min-width: 700px) {
	.kg-row {
		grid-template-columns: 32px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.75fr) auto;
		padding: 14px 16px; align-items: end; column-gap: 12px;
	}
	.kg-row__n { position: static; align-self: center; margin-top: 18px; grid-row: 1; }
	.kg-row__label { grid-column: auto; }
	.kg-row__b { grid-column: 2 / span 2; grid-row: 2; }
	.kg-row__e { grid-column: 4 / span 3; grid-row: 2; }
	.kg-row__acts { position: static; grid-column: 6; grid-row: 1; justify-content: flex-end; align-self: end; padding-bottom: 3px; }
	.kg-row__err { grid-column: 2 / -1; }
}

.kg-paste { margin-top: 16px; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: var(--r-m); display: grid; gap: 10px; }
.kg-paste label { font-size: var(--t-sm); font-weight: 650; color: var(--ink); }
.kg-paste__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.kg-cut__side { min-width: 0; }
@media (min-width: 1100px) { .kg-cut__side { position: sticky; top: calc(var(--header-h) + 20px); } }
.kg-sum { background: var(--deep); color: rgba(255, 255, 255, 0.84); border-radius: var(--r-m); padding: 26px; }
.kg-sum__title { color: var(--white); font-size: var(--t-xl); margin: 0 0 18px; }
.kg-sum__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 0 18px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-s); overflow: hidden; }
.kg-sum__stats > div { background: var(--deep); padding: 14px 16px; }
.kg-sum__stats dt { font-size: var(--t-xs); color: rgba(255, 255, 255, 0.72); }
.kg-sum__stats dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; font-stretch: 108%; }
.kg-sum__stats dd[data-kg-sum="sheets"] { color: var(--sun); }
.kg-sum__boards { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; font-size: var(--t-xs); }
.kg-sum__boards li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, 0.18); }
.kg-sum__boards strong { color: var(--white); white-space: nowrap; }
.kg-sheets__title { color: var(--white); font-size: var(--t-base); margin: 0 0 12px; }
.kg-sheets__list { display: grid; gap: 14px; max-height: 520px; overflow-y: auto; margin-bottom: 12px; scrollbar-width: thin; }
.kg-sheets__empty { margin: 0; padding: 18px; border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: var(--r-s); font-size: var(--t-xs); }
.kg-sheets .kg-field__hint { color: rgba(255, 255, 255, 0.66); }
.kg-sheet figcaption { font-size: 12px; color: rgba(255, 255, 255, 0.72); margin-bottom: 6px; display: flex; justify-content: space-between; gap: 8px; }
.kg-sheet svg { display: block; width: 100%; height: auto; }
.kg-sheet__bg { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.5); stroke-width: 6; }
.kg-sheet__p { fill: var(--white); stroke: var(--deep); stroke-width: 6; }
.kg-sheet__e { stroke: var(--sun); stroke-width: 18; stroke-linecap: round; }
.kg-sheet__t { fill: var(--ink); font-size: 72px; font-weight: 700; font-family: var(--f-sans); }

.kg-done { padding-block: 16px; }
.kg-done:focus { outline: none; }
.kg-done__card {
	max-width: 720px; margin-inline: auto; text-align: center;
	padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white);
}
.kg-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: var(--green-d); color: var(--white); }
.kg-done__icon .kg-icon { width: 32px; height: 32px; stroke-width: 2.4; }
.kg-done__ref { font-size: var(--t-lg); }
.kg-done__ref strong { display: inline-block; margin-left: 6px; padding: 2px 10px; background: var(--sun); color: var(--ink); border-radius: var(--r-s); font-variant-numeric: tabular-nums; }
.kg-done .kg-actions { justify-content: center; }
.kg-print { display: none; }

/* --------------------------------------------------------------------------
   Calculators
   ----------------------------------------------------------------------- */
.kg-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; padding: 4px; background: var(--soft); border-radius: var(--r-m); width: fit-content; max-width: 100%; }
.kg-tabs::-webkit-scrollbar { display: none; }
.kg-tab {
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	min-height: 46px; padding: 0 18px; border: 0; border-radius: var(--r-s);
	background: transparent; color: var(--text); font-weight: 650; font-size: var(--t-sm);
	transition: background-color 0.2s, color 0.2s;
}
.kg-tab:hover { color: var(--indigo); }
.kg-tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line-2), 0 8px 20px -14px rgba(28, 28, 79, 0.5); }
.kg-tab[aria-selected="true"] .kg-icon { color: var(--indigo); }

.kg-calc { display: grid; gap: 20px; scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 960px) { .kg-calc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: start; } }
.kg-calc__form { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.kg-calc__title { font-size: var(--t-xl); margin-bottom: 6px; }
.kg-calc__hint { color: var(--muted); font-size: var(--t-sm); margin-bottom: 22px; }
.kg-calc__result { background: var(--deep); color: rgba(255, 255, 255, 0.84); border-radius: var(--r-m); padding: clamp(22px, 3vw, 32px); }
@media (min-width: 960px) { .kg-calc__result { position: sticky; top: calc(var(--header-h) + 24px); } }
.kg-calc__big { margin: 0 0 16px; color: var(--sun); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 850; line-height: 1; font-variant-numeric: tabular-nums; font-stretch: 110%; }
.kg-calc__big small { display: block; margin-top: 8px; font-size: var(--t-base); font-weight: 600; color: var(--white); font-stretch: 100%; }
.kg-calc__list { list-style: none; display: grid; margin-bottom: 18px; }
.kg-calc__list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: var(--t-sm); }
.kg-calc__list strong { color: var(--white); font-variant-numeric: tabular-nums; text-align: right; }
.kg-calc__note { font-size: var(--t-xs); color: rgba(255, 255, 255, 0.66); }
.kg-calc__big.is-bump { animation: kg-bump 0.35s var(--ease); }
@keyframes kg-bump { 40% { transform: scale(1.04); } }

/* --------------------------------------------------------------------------
   Index, 404, comments
   ----------------------------------------------------------------------- */
.kg-posts { list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.kg-post__link { display: grid; gap: 8px; color: var(--text); text-decoration: none; }
.kg-post__img img { border-radius: var(--r-m); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.kg-post__date { font-size: var(--t-xs); color: var(--muted); }
.kg-post__title { font-size: var(--t-lg); font-weight: 720; color: var(--ink); }
.kg-post__link:hover .kg-post__title { color: var(--indigo); text-decoration: underline; }
.kg-pagination { margin-top: 40px; }
.kg-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.kg-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-weight: 650; }
.kg-pagination .page-numbers.current { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.kg-empty { display: grid; gap: 16px; justify-items: start; }

.kg-404 { text-align: center; }
.kg-404__inner { max-width: 640px; }
.kg-404__art { width: min(100%, 300px); margin: 0 auto 24px; display: block; }
.kg-404__sun { fill: var(--sun); }
.kg-404__roof { fill: none; stroke: var(--indigo); stroke-width: 14; stroke-linejoin: miter; }
.kg-404__ground { stroke: var(--ink); stroke-width: 3; }
.kg-404 .kg-lead { margin-inline: auto; }

.kg-comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.kg-comments__list { list-style: none; display: grid; gap: 20px; margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   Hero scenes: hardware / board cutting
   ----------------------------------------------------------------------- */
.kg-hero__panels { display: grid; }
.kg-hero__scene {
	grid-area: 1 / 1; min-width: 0;
	transition: opacity 0.6s var(--ease) 0.15s, transform 0.8s var(--ease) 0.15s, visibility 0s;
}
.kg-hero__scene:not(.is-active) {
	opacity: 0; transform: translateY(14px); visibility: hidden; pointer-events: none;
	transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s;
}
.kg-hero__art { display: grid; min-width: 0; }
.kg-hero__art-scene { grid-area: 1 / 1; min-width: 0; }
.kg-hero__art-scene.is-active { z-index: 2; clip-path: inset(0 0 0 0); transition: clip-path 0.95s cubic-bezier(0.77, 0, 0.18, 1); }
.kg-hero__art-scene:not(.is-active) { z-index: 1; visibility: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 0s linear 0.95s, visibility 0s linear 0.95s; }

.kg-scenes {
	display: inline-grid; grid-template-columns: auto auto; gap: 0 28px;
	margin: 0 0 clamp(26px, 3vw, 40px); max-width: 100%;
}
.kg-scenes__tab {
	display: grid; gap: 0; align-content: start; text-align: left; min-width: 0;
	padding: 0 0 4px; background: none; border: 0; color: var(--muted);
	-webkit-tap-highlight-color: transparent;
}
.kg-scenes__bar { display: block; height: 3px; margin-bottom: 12px; background: var(--line); overflow: hidden; }
.kg-scenes__bar i { display: block; height: 100%; background: var(--indigo); transform-origin: left; transform: scaleX(0); transition: transform 0.5s var(--ease); }
.kg-scenes__tab.is-active .kg-scenes__bar i { transform: scaleX(1); }
.kg-hero.is-auto .kg-scenes__tab.is-active .kg-scenes__bar i { animation: kg-fill 9s linear forwards; transition: none; }
.kg-hero.is-auto:hover .kg-scenes__bar i,
.kg-hero.is-auto:focus-within .kg-scenes__bar i { animation-play-state: paused; }
@keyframes kg-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.kg-scenes__label {
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	font-size: var(--t-sm); font-weight: 700; color: var(--muted); transition: color 0.25s;
}
.kg-scenes__label .kg-icon { width: 18px; height: 18px; }
.kg-scenes__tab:hover .kg-scenes__label { color: var(--ink); }
.kg-scenes__tab.is-active .kg-scenes__label { color: var(--indigo); }
.kg-anim .kg-hero .kg-scenes[data-hero-fade] { transition-delay: 0.05s; }
@media (max-width: 400px) { .kg-scenes { gap: 0 16px; } .kg-scenes__label .kg-icon { display: none; } }

/* Board-cutting scene */
.kg-cutscene { margin: 0; }
.kg-cutscene__stage {
	background-color: var(--deep);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 32px 32px;
	border-radius: var(--r-m);
	padding: clamp(10px, 2vw, 22px) clamp(8px, 2vw, 20px) 0;
}
.kg-cutscene__svg { display: block; width: 100%; height: auto; overflow: visible; }
.kg-cs-dim, .kg-cs-tick { stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.5; fill: none; }
.kg-cs-dims text { fill: var(--white); font-family: var(--f-sans); font-size: 15px; font-weight: 700; }
.kg-cs-sheet { fill: #2A2A70; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; }
.kg-cs-part { transform: translate(var(--dx), var(--dy)); }
.kg-cs-part rect { fill: var(--white); stroke: var(--deep); stroke-width: 1.5; }
.kg-cs-part text { fill: var(--ink); font-family: var(--f-sans); font-size: 12px; font-weight: 700; }
.kg-cs-edge { stroke: var(--sun); stroke-width: 5; fill: none; stroke-linecap: round; }
@media (max-width: 699px) { .kg-cs-part text { font-size: 19px; } .kg-cs-dims text { font-size: 22px; } .kg-cs-edge { stroke-width: 7; } }
.kg-cs-cut { stroke: var(--sun); stroke-width: 2; fill: none; opacity: 0; }

.kg-anim .kg-cs-dim, .kg-anim .kg-cs-cut, .kg-anim .kg-cs-edge { stroke-dasharray: 1; }
.kg-anim .kg-cutscene:not(.is-played) * { transition: none !important; }
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-dim,
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-edge,
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-cut { stroke-dashoffset: 1; }
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-cut { opacity: 1; }
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-dims text,
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-part text,
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-off { opacity: 0; }
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-part { transform: none; }
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-part rect { stroke: transparent; }
.kg-anim .kg-cutscene:not(.is-played) .kg-cs-sheet { opacity: 0; }

.kg-anim .kg-cutscene .kg-cs-sheet { transition: opacity 0.5s var(--ease); }
.kg-anim .kg-cutscene .kg-cs-dim { transition: stroke-dashoffset 0.7s var(--ease) 0.15s; }
.kg-anim .kg-cutscene .kg-cs-dims text { transition: opacity 0.5s var(--ease) 0.45s; }
.kg-anim .kg-cutscene .kg-cs-cut { transition: stroke-dashoffset 0.4s cubic-bezier(0.5, 0, 0.3, 1) calc(0.6s + var(--i) * 70ms), opacity 0.4s var(--ease) 2.05s; }
.kg-anim .kg-cutscene .kg-cs-part { transition: transform 0.9s var(--ease) 1.8s; }
.kg-anim .kg-cutscene .kg-cs-part rect { transition: stroke 0.3s 1.8s; }
.kg-anim .kg-cutscene .kg-cs-off { transition: opacity 0.6s var(--ease) 1.85s; }
.kg-anim .kg-cutscene .kg-cs-part text { transition: opacity 0.4s var(--ease) calc(2.05s + var(--i) * 30ms); }
.kg-anim .kg-cutscene .kg-cs-edge { transition: stroke-dashoffset 0.5s var(--ease) calc(2.35s + var(--i) * 60ms); }

.kg-cutscene__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: var(--t-xs); font-weight: 600; color: var(--text); }
.kg-cutscene__legend span { display: inline-flex; align-items: center; gap: 8px; }
.kg-cutscene__legend .kg-swatch--part { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--indigo); }
.kg-cutscene__legend .kg-swatch--off { background: repeating-linear-gradient(45deg, var(--indigo) 0 1.5px, transparent 1.5px 5px); outline: 1px solid var(--indigo); }

/* --------------------------------------------------------------------------
   Shelf index (home departments)
   ----------------------------------------------------------------------- */
.kg-shelf { list-style: none; border-top: 1px solid var(--line); }
@media (min-width: 1000px) {
	.kg-shelf { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
	.kg-shelf > li:nth-child(-n+2) { border-top: 1px solid var(--line); }
}
.kg-shelf__link {
	display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; gap: 2px 18px; align-items: center;
	padding: 20px 4px; border-bottom: 1px solid var(--line);
	color: var(--text); text-decoration: none;
}
.kg-shelf__icon {
	grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px;
	border: 1.5px solid var(--line-2); border-radius: var(--r-s); color: var(--indigo);
	transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.kg-shelf__icon .kg-icon { width: 24px; height: 24px; }
.kg-shelf__name {
	font-size: clamp(1.15rem, 1rem + 0.55vw, 1.45rem); font-weight: 780; font-stretch: 106%;
	letter-spacing: -0.012em; color: var(--ink); line-height: 1.2;
	transition: transform 0.5s var(--ease), color 0.25s;
}
.kg-shelf__items { grid-column: 2; font-size: var(--t-sm); color: var(--muted); transition: transform 0.5s var(--ease) 0.03s; }
.kg-shelf__note { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--green-d); }
.kg-shelf__go { grid-column: 3; grid-row: 1 / span 2; color: var(--line-2); transition: color 0.25s, transform 0.5s var(--ease); }
.kg-shelf__link:hover .kg-shelf__icon { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.kg-shelf__link:hover .kg-shelf__name, .kg-shelf__link:hover .kg-shelf__items { transform: translateX(6px); }
.kg-shelf__link:hover .kg-shelf__name { color: var(--indigo); }
.kg-shelf__link:hover .kg-shelf__go { color: var(--indigo); transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Tools: inline tile calculator
   ----------------------------------------------------------------------- */
.kg-tools__grid { display: grid; gap: clamp(32px, 4vw, 64px); }
@media (min-width: 1000px) { .kg-tools__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; } }
.kg-tools__head p { color: var(--muted); max-width: 44ch; }
.kg-tools__more { list-style: none; margin-top: 28px; border-top: 1px solid var(--line-2); }
.kg-tools__more a {
	display: flex; align-items: center; gap: 14px; padding: 14px 0;
	border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 640;
}
.kg-tools__more .kg-icon { color: var(--indigo); }
.kg-tools__more a span { transition: transform 0.45s var(--ease); }
.kg-tools__more a:hover { color: var(--indigo); }
.kg-tools__more a:hover span { transform: translateX(6px); }

.kg-minicalc { display: grid; border-radius: var(--r-m); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(28, 28, 79, 0.55); }
@media (min-width: 700px) { .kg-minicalc { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.kg-minicalc__form { background: var(--white); padding: clamp(22px, 3vw, 36px); }
.kg-minicalc__title { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: var(--t-lg); font-weight: 760; color: var(--ink); }
.kg-minicalc__title .kg-icon { color: var(--indigo); }
.kg-minicalc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kg-minicalc__fields .kg-field--full { grid-column: 1 / -1; }
.kg-minicalc__out { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 36px); background: var(--deep); color: rgba(255, 255, 255, 0.84); }
.kg-minicalc__out .kg-calc__list { margin-bottom: 22px; }
.kg-minicalc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }
.kg-link--light { color: var(--white); }
.kg-link--light:hover { color: var(--sun); }

/* --------------------------------------------------------------------------
   Scroll reveal (only when motion is allowed)
   ----------------------------------------------------------------------- */
.kg-anim [data-reveal] {
	opacity: 0; transform: translateY(18px);
	transition: opacity 0.75s var(--ease) calc(var(--ri, 0) * 80ms), transform 0.75s var(--ease) calc(var(--ri, 0) * 80ms);
}
.kg-anim [data-reveal].is-in { opacity: 1; transform: none; }
.kg-anim .kg-shead[data-reveal], .kg-anim .kg-split__head[data-reveal], .kg-anim .kg-tools__head[data-reveal] {
	transform: translateY(28px); filter: blur(8px);
	transition: opacity 0.9s var(--ease), transform 1s var(--ease), filter 0.9s var(--ease);
}
.kg-anim .kg-shead[data-reveal].is-in, .kg-anim .kg-split__head[data-reveal].is-in, .kg-anim .kg-tools__head[data-reveal].is-in { filter: none; }
.kg-in-builder [data-reveal], .elementor-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------------------------
   Reduced motion
   ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.kg-slider__track { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Print
   ----------------------------------------------------------------------- */
@media print {
	.kg-topbar, .kg-header, .kg-footer, .kg-wa-float, .kg-actionbar, .kg-cta, .kg-phero__art, .kg-skip { display: none !important; }
	body { padding: 0 !important; color: #000; }
	body.kg-printing .kg-main > *:not(.kg-cut) { display: none !important; }
	body.kg-printing .kg-cut > *:not(.kg-done) { display: none !important; }
	body.kg-printing .kg-done__card { display: none !important; }
	body.kg-printing .kg-print { display: block !important; }
	.kg-print h1 { font-size: 20pt; margin-bottom: 8pt; }
	.kg-print table { width: 100%; font-size: 10pt; margin-bottom: 12pt; }
	.kg-print th, .kg-print td { border: 1px solid #999; padding: 4pt 6pt; text-align: left; }
	a { color: #000; text-decoration: none; }
}
