/* ==========================================================================
   Kampala Road — Mudde AI
   Design system + components
   1. Tokens
   2. Base
   3. Layout
   4. Header / navigation
   5. Buttons
   6. Hero
   7. Sections & cards
   8. Buildings
   9. Laptops & prices
   10. Guides / editorial
   11. Single pages
   12. Forms
   13. Footer
   14. Utilities & motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--ink: #0b1220;
	--ink-2: #131c2e;
	--ink-3: #1e2a41;
	--slate: #5b6579;
	--slate-2: #7c8698;
	--line: #e6e1d6;
	--line-2: #efeae0;
	--paper: #fbf9f5;
	--surface: #ffffff;
	--cream: #f4efe4;
	--gold: #eaa916;
	--gold-2: #ffcf57;
	--gold-soft: #fdf3da;
	--red: #cf3a2c;
	--green: #14795c;
	--green-soft: #e6f4ee;
	--blue: #1c4e8a;

	--font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--r-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(11, 18, 32, .05), 0 1px 3px rgba(11, 18, 32, .04);
	--shadow-md: 0 10px 30px -12px rgba(11, 18, 32, .18), 0 2px 6px rgba(11, 18, 32, .04);
	--shadow-lg: 0 30px 70px -30px rgba(11, 18, 32, .35), 0 4px 12px rgba(11, 18, 32, .06);

	--wrap: 1180px;
	--gutter: clamp(18px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.022em;
	color: var(--ink);
	text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 4vw, 3.05rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.4rem); letter-spacing: -.012em; }
h4 { font-size: 1.02rem; letter-spacing: -.005em; }

p { margin: 0 0 1.1em; }
a { color: var(--ink); text-decoration-color: rgba(234, 169, 22, .55); text-underline-offset: 3px; }
a:hover { color: #8a6209; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

strong, b { font-weight: 700; }

:focus-visible {
	outline: 3px solid rgba(234, 169, 22, .75);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection { background: var(--gold-2); color: var(--ink); }

.kr-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.kr-skip:focus { left: 0; color: #fff; }

.kr-icon { flex: none; }

/* 3. Layout ---------------------------------------------------------------- */
.kr-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.kr-main { display: block; min-height: 40vh; }
.kr-section { padding-block: var(--section); }
.kr-section--tight { padding-block: clamp(36px, 5vw, 64px); }
.kr-section--paper { background: var(--paper); }
.kr-section--white { background: var(--surface); }
.kr-section--cream { background: linear-gradient(180deg, #f7f2e7 0%, var(--paper) 100%); }
.kr-section--ink { background: var(--ink); color: #e9edf5; }
.kr-section--ink h2, .kr-section--ink h3 { color: #fff; }

.kr-eyebrow {
	margin: 0 0 14px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #8a6209;
	display: flex; align-items: center; gap: 8px;
}
.kr-eyebrow::before {
	content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px;
}
.kr-eyebrow--light { color: var(--gold-2); }

.kr-section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.kr-section-head--center { margin-inline: auto; text-align: center; }
.kr-section-head--center .kr-eyebrow { justify-content: center; }
.kr-section-intro { font-size: 1.06rem; color: var(--slate); margin: 0; }

.kr-grid { display: grid; gap: 22px; }
.kr-grid > * { min-width: 0; }
.kr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kr-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 4. Header ---------------------------------------------------------------- */
.kr-topbar {
	background: var(--ink);
	color: #cfd6e4;
	font-size: .82rem;
}
.kr-topbar__inner {
	display: flex; align-items: center; gap: 26px;
	min-height: 40px; flex-wrap: wrap;
	padding-block: 6px;
}
.kr-topbar__item { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.kr-topbar__item svg { color: var(--gold); }
.kr-topbar__item--phone { margin-left: auto; color: #fff; font-weight: 600; }
.kr-topbar__item--phone:hover { color: var(--gold-2); }

.kr-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(251, 249, 245, .92);
	backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s ease, background .25s ease;
}
.kr-header.is-stuck { box-shadow: 0 8px 26px -18px rgba(11, 18, 32, .45); background: rgba(251, 249, 245, .97); }
.kr-header__inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }

.kr-brand { flex: none; }
.kr-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.kr-logo__mark {
	width: 40px; height: 40px; border-radius: 12px;
	display: grid; place-items: center;
	background: linear-gradient(145deg, var(--gold-2), var(--gold));
	color: #241a00; font-weight: 900; font-size: 1.15rem;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
}
.kr-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.kr-logo__text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.kr-logo__text em {
	font-style: normal; font-size: .72rem; letter-spacing: .16em;
	text-transform: uppercase; color: var(--slate-2);
}
.kr-logo--light .kr-logo__text strong { color: #fff; }
.kr-logo--light .kr-logo__text em { color: #8b96ab; }

.kr-nav { margin-left: auto; }
.kr-nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.kr-nav-list li { margin: 0; position: relative; }
.kr-nav-list a {
	display: block; padding: 9px 13px; border-radius: var(--r-pill); white-space: nowrap;
	font-size: .93rem; font-weight: 600; text-decoration: none; color: #29313f;
	transition: background .18s ease, color .18s ease;
}
.kr-nav-list a:hover { background: rgba(11, 18, 32, .06); color: var(--ink); }
.kr-nav-list .current-menu-item > a,
.kr-nav-list .current_page_item > a { background: var(--ink); color: #fff; }
.kr-nav-list .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
	box-shadow: var(--shadow-md); padding: 8px; display: none; z-index: 70;
}
.kr-nav-list .sub-menu a { padding: 9px 12px; }
.kr-nav-list li:hover > .sub-menu, .kr-nav-list li:focus-within > .sub-menu { display: block; }

.kr-header__actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

.kr-burger {
	display: none; width: 42px; height: 42px; border-radius: 12px;
	border: 1px solid var(--line); background: #fff; cursor: pointer;
	padding: 0; place-items: center; gap: 4px;
}
.kr-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

.kr-drawer[hidden] { display: none; }
.kr-drawer {
	position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 200;
	background: #fff; box-shadow: -20px 0 60px rgba(11, 18, 32, .25);
	padding: 20px; display: flex; flex-direction: column; gap: 6px;
	animation: kr-slide .22s ease;
}
.kr-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.kr-drawer__title { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; color: var(--slate); }
.kr-drawer__close {
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
	background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.kr-drawer__list { list-style: none; margin: 0; padding: 0; }
.kr-drawer__list li { margin: 0; border-bottom: 1px solid var(--line-2); }
.kr-drawer__list a { display: block; padding: 14px 4px; font-weight: 600; text-decoration: none; }
.kr-drawer__foot { margin-top: auto; display: grid; gap: 10px; padding-top: 18px; }
@keyframes kr-slide { from { transform: translateX(30px); opacity: .6; } to { transform: none; opacity: 1; } }

/* 5. Buttons --------------------------------------------------------------- */
.kr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 12px 20px; border-radius: var(--r-pill);
	font-size: .93rem; font-weight: 700; line-height: 1.2; text-decoration: none;
	border: 1px solid transparent; cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	white-space: nowrap;
}
.kr-btn:hover { transform: translateY(-1px); }
.kr-btn--gold {
	background: linear-gradient(160deg, var(--gold-2), var(--gold));
	color: #241a00;
	box-shadow: 0 6px 18px -8px rgba(234, 169, 22, .9), inset 0 -2px 0 rgba(0, 0, 0, .1);
}
.kr-btn--gold:hover { color: #1a1200; box-shadow: 0 10px 24px -8px rgba(234, 169, 22, .95); }
.kr-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.kr-btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.kr-btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.kr-btn--outline:hover { border-color: var(--ink); }
.kr-btn--dark { background: var(--ink); color: #fff; }
.kr-btn--dark:hover { color: #fff; background: #16213a; }
.kr-btn--lg { padding: 15px 26px; font-size: 1rem; }
.kr-btn--block { width: 100%; }
.kr-btn svg { flex: none; }

/* 6. Hero ------------------------------------------------------------------ */
.kr-hero { position: relative; background: var(--ink); color: #eef2f8; overflow: hidden; }
.kr-hero::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(900px 500px at 82% 18%, rgba(234, 169, 22, .22), transparent 62%),
		radial-gradient(600px 400px at 8% 92%, rgba(28, 78, 138, .35), transparent 65%);
	pointer-events: none;
}
.kr-hero__inner {
	position: relative; display: grid; grid-template-columns: 1.12fr .88fr;
	gap: clamp(28px, 4vw, 56px); align-items: center;
	padding-block: clamp(44px, 6vw, 78px) clamp(52px, 7vw, 96px);
}
.kr-hero__copy { max-width: 620px; }
.kr-hero h1 { color: #fff; margin-bottom: 18px; }
.kr-hero h1 .kr-hl {
	background: linear-gradient(180deg, transparent 62%, rgba(234, 169, 22, .38) 62%);
	padding: 0 .06em;
}
.kr-hero__lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: #c3cbdb; max-width: 54ch; }
.kr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.kr-hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.kr-hero__trust li {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: .86rem; color: #b9c3d4;
}
.kr-hero__trust svg { color: var(--gold-2); }
.kr-hero__note { margin: 14px 0 0; font-size: .74rem; color: #8e9ab0; max-width: 46ch; }

.kr-hero-media { position: relative; }
.kr-hero-media__frame {
	position: relative; border-radius: var(--r-lg); overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .16);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
	aspect-ratio: 4 / 3;
}
.kr-hero-media__frame img { width: 100%; height: 100%; object-fit: cover; }
.kr-hero-media__frame::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(6, 11, 21, .55));
}
.kr-hero-media__tag {
	position: absolute; left: 16px; top: 16px; z-index: 2;
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(11, 18, 32, .78); color: #fff; backdrop-filter: blur(6px);
	padding: 7px 13px; border-radius: var(--r-pill); font-size: .76rem;
	font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, .18);
}
.kr-hero-media__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .22); }
.kr-hero-media__caption {
	position: absolute; left: 16px; right: auto; max-width: 42%; bottom: 14px; z-index: 2;
	color: #e8edf6; font-size: .76rem; opacity: .9; margin: 0;
	text-shadow: 0 1px 3px rgba(6, 11, 21, .9);
	line-height: 1.35;
}
.kr-hero__prices {
	position: absolute; right: -8px; bottom: -26px; z-index: 3;
	background: #fff; color: var(--ink); border-radius: var(--r-md);
	padding: 14px 16px; min-width: 258px; box-shadow: var(--shadow-lg);
}
.kr-hero__prices h2 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin: 0 0 8px; }
.kr-hero__prices ul { list-style: none; margin: 0; padding: 0; }
.kr-hero__prices li { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding: 5px 0; font-size: .86rem; border-bottom: 1px dashed var(--line-2); }
.kr-hero__prices li:last-child { border: 0; }
.kr-hero__prices b { font-weight: 700; white-space: nowrap; color: #7a5405; }

/* 7. Quick answer & bands -------------------------------------------------- */
.kr-quick {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm);
	margin-top: -34px; position: relative; z-index: 5;
}
.kr-quick__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.kr-quick__head h2 { font-size: 1.06rem; margin: 0; letter-spacing: -.01em; }
.kr-quick__badge {
	font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800;
	background: var(--green-soft); color: #0c5a44; padding: 4px 8px; border-radius: 6px;
}
.kr-quick p { margin-bottom: .7em; color: #2c3546; }
.kr-quick p:last-child { margin-bottom: 0; }
.kr-quick ul { margin: 0; padding-left: 1.1em; color: #2c3546; }

.kr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.kr-stats__item { background: #fff; padding: 22px 20px; text-align: center; }
.kr-stats__item b { display: block; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -.03em; }
.kr-stats__item span { display: block; margin-top: 6px; font-size: .8rem; color: var(--slate); }

.kr-band { background: var(--ink); color: #dfe6f1; }
.kr-band--cta { padding-block: clamp(44px, 6vw, 72px); position: relative; overflow: hidden; }
.kr-band--cta::after {
	content: ""; position: absolute; right: -80px; top: -60px; width: 380px; height: 380px;
	background: radial-gradient(circle, rgba(234, 169, 22, .28), transparent 65%);
	pointer-events: none;
}
.kr-band__inner { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: center; }
.kr-band__inner h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.kr-band__inner p { color: #b9c3d4; margin-bottom: 0; }
.kr-band__actions { display: grid; gap: 10px; justify-items: stretch; }

/* 8. Cards ----------------------------------------------------------------- */
.kr-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	text-decoration: none; color: inherit; height: 100%;
}
.kr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d8d0bd; }
.kr-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.kr-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.kr-card:hover .kr-card__media img { transform: scale(1.04); }
.kr-card__badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	background: rgba(11, 18, 32, .82); color: #fff; backdrop-filter: blur(4px);
	font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 5px 10px; border-radius: var(--r-pill);
}
.kr-card__badge--gold { background: rgba(234, 169, 22, .95); color: #241a00; }
.kr-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kr-card__kicker { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); font-weight: 700; }
.kr-card__title { font-size: 1.08rem; margin: 0; letter-spacing: -.015em; }
.kr-card__title a { text-decoration: none; }
.kr-card__text { font-size: .9rem; color: var(--slate); margin: 0; }
.kr-card__meta { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; min-height: 54px; }
.kr-laptop-card .kr-card__meta { min-height: 30px; }
.kr-card__meta li {
	font-size: .74rem; background: var(--paper); border: 1px solid var(--line-2);
	padding: 3px 8px; border-radius: var(--r-pill); color: #3c4558; margin: 0;
	max-width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kr-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); }
.kr-price { font-weight: 800; letter-spacing: -.02em; font-size: 1.02rem; color: var(--ink); }
.kr-price small { font-weight: 600; font-size: .72rem; color: var(--slate-2); letter-spacing: 0; display: block; }
.kr-card__link { font-size: .84rem; font-weight: 700; color: #7a5405; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }

.kr-building-card .kr-card__title { font-size: 1.16rem; }
.kr-building-card .kr-card__media { aspect-ratio: 16 / 10; }

/* 9. Price table ----------------------------------------------------------- */
.kr-table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; max-width: 100%; }
table.kr-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
.kr-table th, .kr-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.kr-table thead th {
	background: var(--ink); color: #fff; font-size: .78rem; letter-spacing: .08em;
	text-transform: uppercase; font-weight: 700; border-bottom: 0;
}
.kr-table tbody tr:last-child td { border-bottom: 0; }
.kr-table tbody tr:nth-child(even) { background: #fcfaf6; }
.kr-table td strong { font-weight: 700; }
.kr-table .num { white-space: nowrap; font-variant-numeric: tabular-nums; }

.kr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.kr-chips a, .kr-chips span {
	display: inline-flex; align-items: center; gap: 6px;
	border: 1px solid var(--line); background: #fff; color: #2b3444;
	padding: 8px 14px; border-radius: var(--r-pill); font-size: .84rem; font-weight: 600; text-decoration: none;
}
.kr-chips a:hover { border-color: var(--ink); }
.kr-chips .is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 10. Steps / FAQ / editorial --------------------------------------------- */
.kr-steps { counter-reset: step; display: grid; gap: 18px; }
.kr-step { position: relative; padding-left: 58px; }
.kr-step::before {
	counter-increment: step; content: counter(step);
	position: absolute; left: 0; top: 0;
	width: 40px; height: 40px; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--ink); color: var(--gold-2); font-weight: 800; font-size: 1rem;
}
.kr-step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.kr-step p { font-size: .94rem; color: var(--slate); margin: 0; }

.kr-faq { display: grid; gap: 10px; }
.kr-faq details {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
	padding: 0 18px; transition: border-color .2s ease, box-shadow .2s ease;
}
.kr-faq details[open] { border-color: #d9cfb6; box-shadow: var(--shadow-sm); }
.kr-faq summary {
	cursor: pointer; padding: 16px 34px 16px 0; font-weight: 700; font-size: 1rem;
	list-style: none; position: relative; letter-spacing: -.01em;
}
.kr-faq summary::-webkit-details-marker { display: none; }
.kr-faq summary::after {
	content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	font-size: 1.35rem; font-weight: 500; color: var(--slate-2); line-height: 1;
}
.kr-faq details[open] summary::after { content: "–"; }
.kr-faq .kr-faq__body { padding: 0 0 18px; color: #37415a; font-size: .95rem; }
.kr-faq .kr-faq__body p:last-child { margin-bottom: 0; }

.kr-post-card { display: flex; flex-direction: column; gap: 0; text-decoration: none; color: inherit; }
.kr-post-card .kr-card__media { aspect-ratio: 16 / 9; }
.kr-post-card__meta { display: flex; gap: 10px; font-size: .76rem; color: var(--slate-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

.kr-answer-box {
	border-left: 4px solid var(--gold); background: var(--gold-soft);
	border-radius: 0 var(--r-md) var(--r-md) 0; padding: 16px 20px; margin: 0 0 24px;
}
.kr-answer-box p:last-child { margin-bottom: 0; }
.kr-answer-box strong { color: #4a3400; }

.kr-callout {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
	padding: 18px 20px; margin: 24px 0; display: flex; gap: 14px; align-items: flex-start;
}
.kr-callout svg { color: var(--gold); margin-top: 3px; }
.kr-callout p { margin: 0; font-size: .94rem; }

/* 11. Single pages --------------------------------------------------------- */
.kr-breadcrumbs { font-size: .8rem; color: var(--slate-2); padding-block: 16px; }
.kr-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.kr-breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.kr-breadcrumbs li + li::before { content: "/"; color: #c3bcaa; }
.kr-breadcrumbs a { text-decoration: none; color: var(--slate); }
.kr-breadcrumbs span { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.kr-breadcrumbs li:last-child { min-width: 0; }

.kr-page-head { padding-bottom: clamp(20px, 3vw, 34px); max-width: 820px; }
.kr-page-head h1 { margin-bottom: 12px; font-size: clamp(1.95rem, 3.6vw, 2.95rem); }
.kr-page-head .kr-lede { font-size: 1.08rem; color: var(--slate); }

.kr-single-hero {
	display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 48px);
	align-items: center; padding-block: clamp(18px, 3vw, 34px) clamp(28px, 4vw, 48px);
}
.kr-single-hero__media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--cream); aspect-ratio: 4 / 3; }
.kr-single-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.kr-pill-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.kr-pill {
	display: inline-flex; align-items: center; gap: 6px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
	padding: 5px 11px; font-size: .78rem; font-weight: 700; color: #3b4457; margin: 0;
}
.kr-pill--gold { background: var(--gold-soft); border-color: #f0dfb4; color: #75530a; }
.kr-pill--green { background: var(--green-soft); border-color: #cfe8dd; color: #0c5a44; }
.kr-pill--outline-light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }

.kr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 52px); align-items: start; padding-bottom: var(--section); }
.kr-layout > * { min-width: 0; }
.kr-sidebar { position: sticky; top: 96px; display: grid; gap: 16px; min-width: 0; }
.kr-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.kr-panel h2, .kr-panel h3 { font-size: 1rem; margin-bottom: 12px; letter-spacing: -.01em; }
.kr-panel p { font-size: .92rem; color: var(--slate); }
.kr-panel .kr-btn { margin-top: 6px; }
.kr-panel--ink { background: var(--ink); border-color: var(--ink); color: #dfe6f1; }
.kr-panel--ink h2, .kr-panel--ink h3 { color: #fff; }
.kr-panel--ink p { color: #b9c3d4; }

.kr-factlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kr-factlist li { display: grid; gap: 1px; margin: 0; font-size: .92rem; }
.kr-factlist b { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); font-weight: 700; }
.kr-factlist span { color: #232c3c; }

.kr-entry { font-size: 1.03rem; color: #29313f; }
.kr-entry > * + * { margin-top: 1.05em; }
.kr-entry h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 1.9em; scroll-margin-top: 96px; }
.kr-entry h3 { font-size: 1.16rem; margin-top: 1.6em; scroll-margin-top: 96px; }
.kr-entry ul, .kr-entry ol { padding-left: 1.3em; }
.kr-entry li { margin-bottom: .5em; }
.kr-entry img { border-radius: var(--r-md); }
.kr-entry blockquote {
	margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--gold);
	background: #fff; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 1.02rem;
}
.kr-entry table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.4em 0; }
.kr-entry th, .kr-entry td { border-bottom: 1px solid var(--line-2); padding: 10px 12px; text-align: left; }
.kr-entry th { background: #f7f3ea; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

.kr-spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.kr-spec-table th, .kr-spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.kr-spec-table th { width: 38%; color: var(--slate); font-weight: 600; background: #fcfaf6; }
.kr-spec-table tr:last-child th, .kr-spec-table tr:last-child td { border-bottom: 0; }

.kr-price-hero { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.kr-price-hero strong { font-size: clamp(1.55rem, 2.6vw, 2.3rem); letter-spacing: -.03em; white-space: nowrap; }
.kr-price-hero span { font-size: .86rem; color: var(--slate-2); }

.kr-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

.kr-author {
	display: flex; gap: 14px; align-items: flex-start;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
	padding: 20px; margin-top: 34px;
}
.kr-author .kr-logo__mark { flex: none; }
.kr-author__name { margin: 0 0 3px; font-weight: 800; letter-spacing: -.01em; }
.kr-author__bio { margin: 0; font-size: .9rem; color: var(--slate); }
.kr-author__bio a { font-weight: 600; }

.kr-related { border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 44px); margin-top: clamp(28px, 4vw, 44px); }

.kr-archive-head { background: var(--ink); color: #e9edf5; padding-block: clamp(38px, 5vw, 64px); position: relative; overflow: hidden; }
.kr-archive-head::after {
	content: ""; position: absolute; inset: auto -10% -60% 55%; height: 320px;
	background: radial-gradient(circle, rgba(234, 169, 22, .25), transparent 65%);
}
.kr-archive-head h1 { color: #fff; position: relative; }
.kr-archive-head p { color: #bdc7d7; max-width: 62ch; margin: 0; position: relative; }

.kr-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.kr-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
}
.kr-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

.kr-empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--r-md); padding: 40px; text-align: center; color: var(--slate); }

/* 12. Forms ---------------------------------------------------------------- */
.kr-form { display: grid; gap: 12px; }
.kr-form label { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], textarea, select {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
	background: #fff; font: inherit; font-size: .95rem; color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.kr-search { display: flex; gap: 8px; }
.kr-search input { flex: 1; }

.kr-scrim {
	position: fixed; inset: 0; z-index: 150; background: rgba(11, 18, 32, .52);
	opacity: 0; transition: opacity .22s ease;
}
.kr-scrim[hidden] { display: none; }
.kr-scrim.is-on { opacity: 1; }

/* 13. Footer --------------------------------------------------------------- */
.kr-footer { background: var(--ink); color: #a9b3c6; padding-block: clamp(44px, 6vw, 68px) 26px; font-size: .92rem; }
.kr-footer__grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr .9fr; gap: clamp(24px, 4vw, 48px); }
.kr-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; font-weight: 800; }
.kr-footer a { color: #cbd3e1; text-decoration: none; }
.kr-footer a:hover { color: var(--gold-2); }
.kr-footer .kr-btn--gold, .kr-footer .kr-btn--gold:hover { color: #241a00; }
.kr-footer__brand p { margin: 16px 0 18px; max-width: 40ch; }
.kr-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.kr-footer__list li { margin: 0; }
.kr-footer__nap { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .88rem; }
.kr-footer__nap li { display: flex; gap: 9px; align-items: flex-start; margin: 0; }
.kr-footer__nap svg { color: var(--gold); margin-top: 3px; }
.kr-footer__legal {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	margin-top: clamp(30px, 4vw, 48px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .8rem; color: #7f8b9f;
}
.kr-footer__legal p { margin: 0; }
.kr-footer__legal ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.kr-footer__legal li { margin: 0; }

.kr-mobile-cta { display: none; }

/* 14. Utilities ------------------------------------------------------------ */
.kr-hide-sm { display: inline-flex; }
.kr-muted { color: var(--slate); }
.kr-center { text-align: center; }
.kr-mt-0 { margin-top: 0; }
.kr-mb-0 { margin-bottom: 0; }
.kr-notice { font-size: .82rem; color: var(--slate-2); }
.kr-divider { height: 1px; background: var(--line); border: 0; margin: 28px 0; }

.kr-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.kr-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
	.kr-reveal { opacity: 1; transform: none; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1280px) {
	.kr-nav-list { gap: 0; }
	.kr-nav-list a { padding: 9px 8px; font-size: .88rem; }
	.kr-header__inner { gap: 16px; }
}

@media (max-width: 1080px) {
	.kr-nav { display: none; }
	.kr-burger { display: grid; }
	.kr-hero__inner { grid-template-columns: 1fr; }
	.kr-hero-media { order: -1; }
	.kr-hero__prices { position: static; margin-top: 14px; box-shadow: var(--shadow-md); }
	.kr-hero-media__frame { aspect-ratio: 16 / 10; }
	.kr-layout { grid-template-columns: minmax(0, 1fr); }
	.kr-sidebar { width: 100%; }
	.kr-sidebar { position: static; }
	.kr-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kr-band__inner { grid-template-columns: 1fr; }
	.kr-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.kr-nav { display: none; }
	.kr-burger { display: grid; }
	.kr-header__inner { min-height: 66px; gap: 14px; }
	.kr-header__actions { margin-left: auto; }
	.kr-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kr-stats { grid-template-columns: repeat(2, 1fr); }
	.kr-single-hero { grid-template-columns: minmax(0, 1fr); }
	.kr-single-hero__media { order: -1; }
	.kr-section { padding-block: clamp(44px, 7vw, 72px); }
	.kr-topbar__item--hours { display: none; }
}

@media (max-width: 720px) {
	body { font-size: 16px; }
	.kr-header__inner { gap: 8px; }
	.kr-header__actions { gap: 6px; margin-left: auto; }
	.kr-logo { gap: 8px; }
	.kr-logo__mark { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; }
	.kr-logo__text strong { font-size: .94rem; }
	.kr-logo__text em { font-size: .6rem; letter-spacing: .1em; }
	.kr-burger { width: 40px; height: 40px; }
	table.kr-table { min-width: 460px; }
	.kr-table th, .kr-table td { padding: 11px 12px; }
	.kr-hide-sm { display: none; }
	.kr-grid--2, .kr-grid--3, .kr-grid--4 { grid-template-columns: 1fr; }
	.kr-band__actions .kr-btn { width: 100%; }
	.kr-mobile-cta {
		display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px;
		position: fixed; inset: auto 0 0 0; z-index: 90;
		transform: translateY(105%); opacity: 0; pointer-events: none;
		transition: transform .28s ease, opacity .28s ease;
		background: rgba(251, 249, 245, .96); backdrop-filter: blur(10px);
		border-top: 1px solid var(--line); padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
	}
	.kr-mobile-cta a {
		display: inline-flex; align-items: center; justify-content: center; gap: 7px;
		padding: 11px 10px; border-radius: 12px; font-size: .88rem; font-weight: 800; text-decoration: none;
	}
	.kr-mobile-cta__call { background: #fff; border: 1px solid var(--line); color: var(--ink); }
	.kr-mobile-cta__wa { background: linear-gradient(160deg, var(--gold-2), var(--gold)); color: #241a00; }
	.kr-mobile-cta.is-on { transform: none; opacity: 1; pointer-events: auto; }
	.kr-single-hero > div { min-width: 0; }
	.kr-single-hero__media { order: 2; }
	.kr-single-hero { gap: 20px; }
	.kr-price-hero { flex-wrap: wrap; gap: 4px 10px; }
	.kr-header__actions .kr-btn--gold { padding: 10px 14px; font-size: .86rem; }
	.kr-hero__copy { order: 1; }
	.kr-hero-media { order: 2; }
	.kr-hero__prices { margin-top: 12px; }
	.kr-footer { padding-bottom: 92px; }
	.kr-footer__grid { grid-template-columns: 1fr; }
	.kr-footer__legal { flex-direction: column; }
	.kr-quick { margin-top: -22px; }
	.kr-step { padding-left: 50px; }
	.kr-topbar__inner { gap: 10px; font-size: .72rem; flex-wrap: nowrap; justify-content: space-between; }
	.kr-topbar__item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.kr-topbar__item--phone { margin-left: 0; }
	.kr-topbar__item svg { display: none; }
	.kr-breadcrumbs li:last-child span { max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.kr-hero .kr-eyebrow { font-size: .7rem; letter-spacing: .07em; }
	.kr-hero .kr-eyebrow::before { display: none; }
	.kr-archive-head { padding-block: 32px; }
}
