/* Public landing — Karuna (karuna.stickydrop.com) */
:root {
    --kp-ink: #142018;
    --kp-muted: #5c6d62;
    --kp-line: #d4ddd6;
    --kp-bg: #f4f7f4;
    --kp-card: #ffffff;
    --kp-sage: #2d4a3e;
    --kp-sage-deep: #1e3328;
    --kp-gold: #b8942e;
    --kp-soft: #e8f0ea;
    --kp-primary: #2d4639;
    --kp-primary-hover: #24362d;
    --kp-font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    --kp-font-serif: "Instrument Sans", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
    --kp-font-script: "Caveat", "Segoe Script", "Apple Chancery", cursive;
    /* One shell for header + main + home sections: same max width and gutters so columns align */
    --kp-shell-max: 1320px;
    --kp-gutter-x: clamp(2.25rem, 8vw + 1.75rem, 8.5rem);
}

* {
    box-sizing: border-box;
}

body.kp-body {
    margin: 0;
    font-family: var(--kp-font-sans);
    color: var(--kp-ink);
    background: var(--kp-bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.kp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--kp-line);
}

.kp-header__inner {
    max-width: var(--kp-shell-max);
    margin: 0 auto;
    padding: 0.85rem max(var(--kp-gutter-x), env(safe-area-inset-right)) 0.85rem max(var(--kp-gutter-x), env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.kp-logo {
    font-family: var(--kp-font-serif);
    font-weight: 600;
    font-size: 1.45rem;
    letter-spacing: 0.02em;
    color: var(--kp-sage-deep);
    text-decoration: none;
}

.kp-logo span {
    color: var(--kp-gold);
}

.kp-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.kp-nav a:not(.kp-btn) {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--kp-muted);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.kp-nav a:not(.kp-btn):hover {
    color: var(--kp-ink);
    background: var(--kp-soft);
}

.kp-nav a.kp-nav--primary {
    background: var(--kp-sage);
    color: #fff;
}

.kp-nav a.kp-nav--primary:hover {
    filter: brightness(1.06);
    color: #fff;
}

.kp-main {
    flex: 1;
    max-width: var(--kp-shell-max);
    margin: 0 auto;
    width: 100%;
    padding: 2.25rem max(var(--kp-gutter-x), env(safe-area-inset-right)) 3rem max(var(--kp-gutter-x), env(safe-area-inset-left));
}

/* Full-bleed public canvas: sections span viewport; content uses .kp-contain */
.kp-main--canvas {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Public header (wide) + all .kp-contain: identical box so edges line up */
.kp-header--full .kp-header__inner--wide,
.kp-contain {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--kp-shell-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: max(var(--kp-gutter-x), env(safe-area-inset-left));
    padding-right: max(var(--kp-gutter-x), env(safe-area-inset-right));
}

.kp-header--full .kp-header__inner--wide {
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem min(2.25rem, 4vw);
}

.kp-contain--page {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.kp-hero {
    background: var(--kp-card);
    border: 1px solid var(--kp-line);
    border-radius: 16px;
    padding: 2rem 1.65rem;
    box-shadow: 0 16px 40px rgba(20, 32, 24, 0.06);
}

@media (min-width: 640px) {
    .kp-hero {
        padding: 2.5rem 2.25rem;
    }
}

.kp-hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--kp-sage);
    margin: 0 0 0.65rem;
}

.kp-hero h1 {
    font-family: var(--kp-font-serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 4.2vw, 2.4rem);
    line-height: 1.18;
    margin: 0 0 1rem;
    max-width: 22ch;
    color: var(--kp-sage-deep);
}

.kp-hero p {
    margin: 0;
    max-width: 38rem;
    color: var(--kp-muted);
    font-size: 1.05rem;
}

.kp-hero__actions {
    margin-top: 1.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.kp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: filter 0.15s, background 0.15s, border-color 0.15s;
}

.kp-btn--solid {
    background: var(--kp-sage);
    color: #fff;
}

.kp-btn--solid:hover {
    filter: brightness(1.05);
}

.kp-btn--ghost {
    background: transparent;
    color: var(--kp-ink);
    border-color: var(--kp-line);
}

.kp-btn--ghost:hover {
    background: var(--kp-soft);
    border-color: transparent;
}

.kp-footer {
    max-width: var(--kp-shell-max);
    margin: 0 auto;
    width: 100%;
    padding: 1rem max(var(--kp-gutter-x), env(safe-area-inset-right)) 1.75rem max(var(--kp-gutter-x), env(safe-area-inset-left));
    font-size: 0.8rem;
    color: var(--kp-muted);
    border-top: 1px solid var(--kp-line);
}

/* --- Full site shell (Phases 2–4) --- */
.kp-skip {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.kp-skip:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid var(--kp-line);
    border-radius: 8px;
    z-index: 100;
}

.kp-header--full .kp-header__inner--wide .kp-logo {
    flex-shrink: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    line-height: 1.15;
    margin-right: min(0.75rem, 2vw);
    padding: 0.2rem 0.1rem;
    border-radius: 8px;
}

.kp-logo.kp-logo--current {
    color: var(--kp-ink);
    background: var(--kp-soft);
    box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.1);
}

html[data-theme="dark"] .kp-logo.kp-logo--current {
    color: #f8fafc;
    background: rgba(61, 107, 82, 0.22);
    box-shadow: inset 0 0 0 1px rgba(106, 191, 140, 0.25);
}

.kp-main--wide {
    max-width: var(--kp-shell-max);
}

/* Inner pages still use .kp-main--wide on client layout; public uses --canvas */

.kp-nav-toggle {
    display: none;
    font: inherit;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--kp-line);
    background: #fff;
    cursor: pointer;
    color: var(--kp-ink);
}

.kp-nav-drawer {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.kp-nav--main {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.05rem;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.kp-nav--cta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    flex-shrink: 0;
    padding-left: 0.65rem;
    margin-left: 0.35rem;
    border-left: 1px solid var(--kp-line);
}

.kp-nav--main a,
.kp-nav--cta a:not(.kp-btn) {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--kp-muted);
    text-decoration: none;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    white-space: nowrap;
}

@media (min-width: 1100px) {
    .kp-nav--main a,
    .kp-nav--cta a:not(.kp-btn) {
        font-size: 0.875rem;
        padding: 0.45rem 0.6rem;
    }
}

.kp-nav--main a:hover,
.kp-nav--cta a:not(.kp-btn):hover,
.kp-nav--main a.is-active {
    color: var(--kp-ink);
    background: var(--kp-soft);
}

.kp-nav--cta a.kp-btn {
    white-space: nowrap;
    color: #fff;
    background-color: var(--kp-sage);
}

.kp-nav--cta a.kp-btn:hover {
    color: #fff;
    background-color: var(--kp-sage);
    filter: brightness(1.05);
}

.kp-nav--cta a.kp-btn:focus-visible {
    color: #fff;
    outline: 2px solid var(--kp-gold);
    outline-offset: 2px;
}

.kp-nav--cta a.kp-btn.is-header-cta-active {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.kp-nav--muted {
    color: var(--kp-muted) !important;
}

.kp-nav--cta a.kp-nav--muted.is-active {
    color: var(--kp-ink) !important;
    background: var(--kp-soft);
    font-weight: 600;
}

/* Appearance toggle (public header; same storage key as admin: karuna-admin-theme) */
.karuna-theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    height: 2.375rem;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.karuna-theme-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.karuna-theme-toggle:active {
    transform: scale(0.96);
}

.karuna-theme-toggle__icon {
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

html[data-theme="light"] .karuna-theme-toggle__icon--moon {
    display: inline-flex;
}

html[data-theme="dark"] .karuna-theme-toggle__icon--sun {
    display: inline-flex;
}

.kp-nav--cta .kp-header__theme-toggle {
    margin-left: 0.15rem;
}

html[data-theme="dark"] .karuna-theme-toggle {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
    color: #e2e8f0;
}

html[data-theme="dark"] .karuna-theme-toggle:hover {
    background: #334155;
    border-color: #475569;
    color: #f8fafc;
}

html[data-theme="dark"] .kp-header {
    background: rgba(15, 23, 42, 0.94);
    border-bottom-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-logo {
    color: #f1f5f9;
}

html[data-theme="dark"] body.kp-body {
    background: #0b1120;
    color: #e2e8f0;
}

/* Ghost buttons: default light ink is illegible on dark surfaces (e.g. service cards). */
html[data-theme="dark"] body.kp-body .kp-btn--ghost {
    background: rgba(30, 41, 59, 0.55);
    border-color: rgba(148, 163, 184, 0.42);
    color: #e2e8f0;
}

html[data-theme="dark"] body.kp-body .kp-btn--ghost:hover {
    background: rgba(51, 65, 85, 0.82);
    border-color: rgba(186, 230, 253, 0.35);
    color: #f8fafc;
}

html[data-theme="dark"] body.kp-body .kp-btn--ghost:focus-visible {
    outline: 2px solid rgba(134, 212, 168, 0.75);
    outline-offset: 2px;
}

html[data-theme="dark"] .kp-nav--main a,
html[data-theme="dark"] .kp-nav--cta a:not(.kp-btn) {
    color: #cbd5e1;
}

html[data-theme="dark"] .kp-nav--main a:hover,
html[data-theme="dark"] .kp-nav--cta a:not(.kp-btn):hover {
    color: #f8fafc;
    background: rgba(148, 163, 184, 0.12);
}

/* Active + dropdown trigger: light theme uses ink on --kp-soft; that pairing is illegible in dark (muted text on mint wash). */
html[data-theme="dark"] .kp-nav--main a.is-active {
    color: #f8fafc;
    background: rgba(61, 107, 82, 0.38);
    font-weight: 600;
}

html[data-theme="dark"] .kp-nav--main a.is-active:hover {
    color: #ffffff;
    background: rgba(61, 107, 82, 0.5);
}

html[data-theme="dark"] .kp-nav--cta {
    border-left-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-nav--cta a.kp-nav--muted.is-active {
    color: #f8fafc !important;
    background: rgba(61, 107, 82, 0.28);
}

html[data-theme="dark"] .kp-nav-logout {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-nav-logout:hover {
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.5);
}

html[data-theme="dark"] .kp-footer.kp-footer--site {
    background:
        radial-gradient(100% 80% at 50% 0%, rgba(61, 107, 82, 0.12) 0%, transparent 52%),
        radial-gradient(55% 45% at 100% 100%, rgba(184, 148, 46, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #0b1120 52%, #020617 100%);
    border-block-color: rgba(51, 65, 85, 0.5);
}

html[data-theme="dark"] .kp-footer__brand {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.55) 0%, rgba(15, 23, 42, 0.45) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 12px 36px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .kp-footer__heading {
    color: #86d4a8;
    opacity: 1;
    border-bottom-color: rgba(51, 65, 85, 0.5);
}

html[data-theme="dark"] .kp-footer__heading::after {
    opacity: 0.85;
}

html[data-theme="dark"] .kp-footer__links li,
html[data-theme="dark"] .kp-footer__links a {
    color: #cbd5e1;
}

html[data-theme="dark"] .kp-footer__links a:hover {
    color: #86d4a8;
    background: rgba(61, 107, 82, 0.12);
}

html[data-theme="dark"] .kp-footer__links a:focus-visible {
    outline-color: rgba(106, 191, 140, 0.55);
    color: #a7e8c3;
}

html[data-theme="dark"] .kp-footer__blurb {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-logo--footer {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-footer__strip {
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-footer__strip-links a {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-footer__strip-links a:hover {
    color: #86d4a8;
    background: rgba(61, 107, 82, 0.15);
}

html[data-theme="dark"] .kp-footer__strip-links a:focus-visible {
    outline-color: rgba(106, 191, 140, 0.55);
}

/* ----- Marketing pages: dark mode (home + shared blocks) ----- */
html[data-theme="dark"] .kp-muted {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-meta {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-hero.kp-hero--home:not(.kp-hero--brand) {
    background: linear-gradient(118deg, #0f172a 0%, #111827 42%, #0b1120 100%);
    border-bottom-color: rgba(51, 65, 85, 0.5);
    box-shadow: none;
}

html[data-theme="dark"] .kp-hero.kp-hero--home:not(.kp-hero--brand)::before {
    background: radial-gradient(circle at 35% 35%, rgba(61, 107, 82, 0.2) 0%, transparent 68%);
}

html[data-theme="dark"] .kp-hero--home:not(.kp-hero--brand) .kp-hero__eyebrow {
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow: none;
}

html[data-theme="dark"] .kp-hero--home h1 {
    color: #f8fafc;
}

/* Inner pages: .kp-page-head titles still used light-theme sage ink. */
html[data-theme="dark"] .kp-page-head h1 {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-hero--home .kp-hero__lead {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-hero--home .kp-hero__actions .kp-btn--ghost {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-hero--home .kp-hero__actions .kp-btn--ghost:hover {
    background: rgba(51, 65, 85, 0.85);
    color: #f8fafc;
}

html[data-theme="dark"] .kp-section--soft {
    background: #0f172a;
    border-block-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-home-courses.kp-section--soft {
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(61, 107, 82, 0.14) 0%, transparent 52%),
        linear-gradient(180deg, #0f172a 0%, #0b1120 55%, #020617 100%);
    border-block-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-home-courses__eyebrow {
    color: #86d4a8;
    border-color: rgba(106, 191, 140, 0.35);
    background: rgba(15, 23, 42, 0.65);
}

html[data-theme="dark"] .kp-home-courses__catalog.kp-btn {
    background: rgba(30, 41, 59, 0.75);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .kp-home-courses__catalog.kp-btn:hover {
    background: rgba(61, 107, 82, 0.35);
    border-color: rgba(106, 191, 140, 0.45);
    color: #f8fafc;
}

html[data-theme="dark"] .kp-course-teaser__price {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(51, 65, 85, 0.55);
    color: #cbd5e1;
}

html[data-theme="dark"] .kp-course-teaser__cta.kp-btn--solid {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-section--alt {
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
    border-block-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-section.kp-testimonials {
    background:
        radial-gradient(110% 80% at 50% 0%, rgba(61, 107, 82, 0.12) 0%, transparent 52%),
        radial-gradient(60% 45% at 100% 100%, rgba(184, 148, 46, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #0b1120 0%, #0f172a 50%, #020617 100%);
    border-block-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-section.kp-library {
    background: #0b1120;
    border-block-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-section--engage.kp-section--soft {
    background:
        radial-gradient(90% 55% at 12% 0%, rgba(61, 107, 82, 0.14) 0%, transparent 52%),
        radial-gradient(70% 50% at 100% 30%, rgba(184, 148, 46, 0.07) 0%, transparent 48%),
        linear-gradient(180deg, #0f172a 0%, #0b1120 48%, #020617 100%);
    border-block-color: rgba(51, 65, 85, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 24px 56px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-split h2,
html[data-theme="dark"] .kp-section__inner > h2,
html[data-theme="dark"] .kp-library__intro h2 {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-home-courses__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-home-courses__empty a {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-home-courses__empty a:hover {
    color: #a7e8c3;
}

html[data-theme="dark"] .kp-work-together.kp-section--soft {
    background:
        radial-gradient(100% 70% at 0% 100%, rgba(61, 107, 82, 0.12) 0%, transparent 55%),
        radial-gradient(90% 50% at 100% 0%, rgba(184, 148, 46, 0.08) 0%, transparent 48%),
        linear-gradient(180deg, #0f172a 0%, #0b1120 45%, #020617 100%);
    border-block-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-work-together__eyebrow {
    color: #86d4a8;
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(106, 191, 140, 0.28);
    box-shadow: none;
}

html[data-theme="dark"] .kp-work-together__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-work-together__lede.kp-muted {
    color: #cbd5e1;
}

html[data-theme="dark"] .kp-work-together__scroll::-webkit-scrollbar-thumb {
    background: rgba(134, 212, 168, 0.35);
}

html[data-theme="dark"] .kp-work-card {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.96) 0%, rgba(15, 23, 42, 0.9) 55%, rgba(11, 17, 32, 0.94) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 14px 40px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .kp-work-card:hover,
html[data-theme="dark"] .kp-work-card:focus-within {
    border-color: rgba(100, 116, 139, 0.6);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.25),
        0 22px 52px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .kp-work-card__mark {
    color: #e2e8f0;
    background: linear-gradient(150deg, rgba(51, 65, 85, 0.55) 0%, rgba(30, 41, 59, 0.8) 100%);
    border-color: rgba(100, 116, 139, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .kp-work-card__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-work-card__summary.kp-muted {
    color: #cbd5e1;
}

html[data-theme="dark"] .kp-work-card__cta.kp-btn--solid {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-home-courses__empty {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(100, 116, 139, 0.4);
}

html[data-theme="dark"] .kp-card {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-card--lift:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .kp-card.kp-card--lift.kp-course-teaser:hover,
html[data-theme="dark"] .kp-card.kp-card--lift.kp-course-teaser:focus-within {
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 28px 64px rgba(0, 0, 0, 0.48);
}

html[data-theme="dark"] .kp-card h2,
html[data-theme="dark"] .kp-card h3 {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-card h2 a,
html[data-theme="dark"] .kp-card h3 a {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-card h2 a:hover,
html[data-theme="dark"] .kp-card h3 a:hover {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-card h2 a:focus-visible,
html[data-theme="dark"] .kp-card h3 a:focus-visible {
    outline: 2px solid rgba(134, 212, 168, 0.75);
    outline-offset: 3px;
    border-radius: 4px;
}

html[data-theme="dark"] .kp-course-teaser {
    background: linear-gradient(180deg, #111c2e 0%, #0f172a 55%, #0c1323 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 18px 48px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-course-teaser__media {
    background: #020617;
}

html[data-theme="dark"] .kp-course-teaser__media--placeholder {
    background: linear-gradient(145deg, rgba(61, 107, 82, 0.2) 0%, rgba(15, 23, 42, 0.6) 100%);
}

html[data-theme="dark"] .kp-course-teaser__placeholder-label {
    color: #86d4a8;
    opacity: 1;
}

html[data-theme="dark"] .kp-course-teaser__heading a {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-course-teaser__heading a:hover {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-offerings__panel {
    background: linear-gradient(145deg, #0f172a 0%, #111827 50%, #0b1120 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-offerings__eyebrow {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-offerings__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-offerings__lede strong {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-offerings__scroll {
    scrollbar-color: rgba(134, 212, 168, 0.45) rgba(15, 23, 42, 0.5);
    mask-image: linear-gradient(to right, transparent, #000 10px, #000 calc(100% - 10px), transparent);
}

html[data-theme="dark"] .kp-offerings__scroll::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.6);
}

html[data-theme="dark"] .kp-offerings__scroll::-webkit-scrollbar-thumb {
    background: rgba(134, 212, 168, 0.35);
}

html[data-theme="dark"] .kp-offering-card {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(11, 17, 32, 0.92) 100%);
    border-color: rgba(51, 65, 85, 0.6);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 16px 44px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-offering-card:hover,
html[data-theme="dark"] .kp-offering-card:focus-within {
    border-color: rgba(100, 116, 139, 0.65);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.25),
        0 22px 52px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .kp-offering-card__mark {
    color: #e2e8f0;
    background: linear-gradient(145deg, rgba(51, 65, 85, 0.55) 0%, rgba(30, 41, 59, 0.75) 100%);
    border-color: rgba(100, 116, 139, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .kp-offering-card__summary {
    color: #cbd5e1;
}

html[data-theme="dark"] .kp-offering-card__meta {
    color: #e2e8f0;
    background: linear-gradient(180deg, rgba(51, 65, 85, 0.65) 0%, rgba(30, 41, 59, 0.75) 100%);
    border-color: rgba(100, 116, 139, 0.35);
}

html[data-theme="dark"] .kp-offering-card__title a {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-offering-card__title a:hover {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-offering-card__learn {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-engage__eyebrow {
    color: #86d4a8;
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(106, 191, 140, 0.28);
    box-shadow: none;
}

html[data-theme="dark"] .kp-engage__title {
    color: #f8fafc;
}

html[data-theme="dark"] .kp-engage__intro.kp-muted {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-engage__points li {
    color: #cbd5e1;
}

html[data-theme="dark"] .kp-engage__points li::before {
    background: #6abf8c;
    box-shadow: 0 0 0 3px rgba(106, 191, 140, 0.2);
}

html[data-theme="dark"] .kp-engage__skip {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-engage__skip:hover {
    color: #a7e8c3;
}

html[data-theme="dark"] .kp-engage__cta.kp-btn--solid {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .kp-testimonials__eyebrow {
    color: #86d4a8;
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(106, 191, 140, 0.28);
    box-shadow: none;
}

html[data-theme="dark"] .kp-testimonials__title {
    color: #f8fafc;
}

html[data-theme="dark"] .kp-testimonials__lede.kp-muted {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-testimonials__scroll::-webkit-scrollbar-thumb {
    background: rgba(134, 212, 168, 0.35);
}

html[data-theme="dark"] .kp-testimonial-card {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.96) 0%, rgba(15, 23, 42, 0.9) 52%, rgba(11, 17, 32, 0.94) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 12px 36px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .kp-testimonial-card:hover,
html[data-theme="dark"] .kp-testimonial-card:focus-within {
    border-color: rgba(100, 116, 139, 0.62);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.25),
        0 22px 52px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .kp-testimonial-card__mark {
    color: rgba(134, 212, 168, 0.22);
}

html[data-theme="dark"] .kp-testimonial-card__text {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-testimonial-card__footer {
    border-top-color: rgba(51, 65, 85, 0.65);
}

html[data-theme="dark"] .kp-testimonial-card__avatar {
    background: linear-gradient(145deg, rgba(61, 107, 82, 0.55) 0%, rgba(30, 41, 59, 0.9) 100%);
    color: #f1f5f9;
    border: 2px solid rgba(106, 191, 140, 0.35);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-testimonial-card__name {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-testimonial-card__role {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-newsletter-card {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.92) 52%, rgba(11, 17, 32, 0.96) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 16px 44px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .kp-newsletter-card:hover,
html[data-theme="dark"] .kp-newsletter-card:focus-within {
    border-color: rgba(100, 116, 139, 0.6);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.28),
        0 26px 56px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .kp-newsletter-card__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-newsletter-card__head {
    border-bottom-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-newsletter-card__label {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-input--engage {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.55);
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-input--engage:hover {
    border-color: rgba(100, 116, 139, 0.65);
}

html[data-theme="dark"] .kp-input--engage:focus {
    border-color: #6abf8c;
    box-shadow: 0 0 0 3px rgba(106, 191, 140, 0.2);
}

html[data-theme="dark"] .kp-newsletter-card__sub.kp-muted {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-newsletter-card__privacy {
    color: #64748b;
}

html[data-theme="dark"] .kp-alert--ok {
    background: rgba(61, 107, 82, 0.2);
    border-color: rgba(106, 191, 140, 0.35);
    color: #a7e8c3;
}

html[data-theme="dark"] .kp-alert--err {
    background: rgba(127, 29, 29, 0.25);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

/* Home library strip: video sidebar card (was still light gradient in dark mode). */
html[data-theme="dark"] .kp-library-aside {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.97) 100%);
    border-color: rgba(51, 65, 85, 0.6);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .kp-library-blog__title,
html[data-theme="dark"] .kp-library-aside__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-library-blog__all {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-library-blog__all:hover {
    color: #a7e8c3;
}

html[data-theme="dark"] .kp-blog-feature {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-blog-feature__eyebrow {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-blog-feature__heading a {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-blog-feature__heading a:hover {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-blog-feature__excerpt {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-blog-feature__media--placeholder {
    background: linear-gradient(145deg, rgba(61, 107, 82, 0.25) 0%, #0f172a 100%);
}

html[data-theme="dark"] .kp-blog-feature__placeholder-label {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-blog-compact {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-blog-compact__title a {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-blog-compact__title a:hover {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-library-aside__link {
    color: #cbd5e1;
}

html[data-theme="dark"] .kp-library-aside__link:hover {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-library-aside__dot {
    background: #3d6b52;
}

html[data-theme="dark"] .kp-tag {
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-link-btn {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-link-btn:hover {
    color: #a7e8c3;
}

html[data-theme="dark"] .kp-nav-toggle {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.55);
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-nav-dropdown__panel {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .kp-nav-dropdown__panel a {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-nav-dropdown__panel a:hover {
    background: rgba(51, 65, 85, 0.5);
    color: #f8fafc;
}

@media (max-width: 959px) {
    html[data-theme="dark"] .kp-nav--cta {
        border-top-color: rgba(51, 65, 85, 0.55);
    }
}

html[data-theme="dark"] .kp-section--soft .kp-btn--ghost,
html[data-theme="dark"] .kp-testimonials__actions .kp-btn--ghost,
html[data-theme="dark"] .kp-library-aside .kp-btn--ghost {
    background: rgba(30, 41, 59, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-section--soft .kp-btn--ghost:hover,
html[data-theme="dark"] .kp-testimonials__actions .kp-btn--ghost:hover,
html[data-theme="dark"] .kp-library-aside .kp-btn--ghost:hover {
    background: rgba(51, 65, 85, 0.8);
    color: #f8fafc;
}

html[data-theme="dark"] .kp-blog-compact__thumb--placeholder {
    background: linear-gradient(145deg, rgba(61, 107, 82, 0.22) 0%, #0f172a 100%);
}

html[data-theme="dark"] .kp-library-aside__hint {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-library-aside__label {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-blog-compact__link {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-blog-compact__link:hover {
    color: #a7e8c3;
}

.kp-nav-logout {
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--kp-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
}

.kp-inline-form {
    display: inline;
    margin: 0;
}

.kp-nav-dropdown {
    position: relative;
    display: inline-block;
}

.kp-nav-dropdown__trigger {
    cursor: pointer;
}

.kp-nav-dropdown__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    background: #fff;
    border: 1px solid var(--kp-line);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(20, 32, 24, 0.08);
    padding: 0.35rem 0;
    z-index: 40;
}

.kp-nav-dropdown:hover .kp-nav-dropdown__panel,
.kp-nav-dropdown.is-open .kp-nav-dropdown__panel {
    display: block;
}

.kp-nav-dropdown__panel a {
    display: block;
    padding: 0.45rem 0.85rem;
    border-radius: 0;
}

.kp-btn--sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
}

.kp-btn--lg {
    padding: 0.78rem 1.35rem;
    font-size: 0.95rem;
    border-radius: 12px;
}

@media (max-width: 959px) {
    .kp-header--full .kp-header__inner--wide {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .kp-nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .kp-nav-drawer {
        display: none;
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 0.75rem;
        flex-wrap: wrap;
    }

    .kp-nav-drawer.is-open {
        display: flex;
    }

    .kp-nav--main,
    .kp-nav--cta {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .kp-nav--main a,
    .kp-nav--cta a:not(.kp-btn) {
        white-space: normal;
    }

    .kp-nav--cta {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        border-top: 1px solid var(--kp-line);
        padding-top: 0.75rem;
        margin-top: 0.35rem;
    }

    .kp-nav-dropdown__panel {
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        padding-left: 0.5rem;
    }

    .kp-nav-dropdown.is-open .kp-nav-dropdown__panel {
        display: block;
    }
}

.kp-footer.kp-footer--site {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0;
    max-width: none;
    border: none;
    border-block: 1px solid rgba(45, 74, 62, 0.08);
    padding: clamp(2.75rem, 5vw, 3.75rem) 0 clamp(1.5rem, 3vw, 2rem);
    background:
        radial-gradient(90% 70% at 12% 0%, rgba(45, 74, 62, 0.06) 0%, transparent 52%),
        radial-gradient(60% 50% at 100% 100%, rgba(184, 148, 46, 0.06) 0%, transparent 48%),
        linear-gradient(180deg, #f6faf7 0%, var(--kp-bg) 42%, #e9f0eb 100%);
    box-shadow: 0 -20px 48px rgba(30, 51, 40, 0.05);
}

.kp-footer.kp-footer--site::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 2%,
        var(--kp-sage-deep) 18%,
        var(--kp-sage) 45%,
        var(--kp-gold) 68%,
        var(--kp-sage) 88%,
        transparent 98%
    );
    opacity: 0.72;
    pointer-events: none;
    z-index: 1;
}

.kp-footer--site > .kp-contain {
    position: relative;
    z-index: 2;
    max-width: var(--kp-shell-max);
}

.kp-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
    align-items: start;
}

@media (max-width: 900px) {
    .kp-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1.5rem;
    }

    .kp-footer__col--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .kp-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.kp-footer__col {
    min-width: 0;
}

.kp-footer__brand {
    padding: 1.25rem 1.2rem 1.35rem;
    border-radius: 18px;
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 249, 0.88) 100%);
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 14px 36px rgba(30, 51, 40, 0.07);
}

.kp-footer__heading {
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 1rem;
    padding-bottom: 0.55rem;
    color: var(--kp-sage-deep);
    border-bottom: 1px solid rgba(45, 74, 62, 0.1);
    position: relative;
}

.kp-footer__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 2.75rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--kp-sage) 0%, rgba(184, 148, 46, 0.75) 100%);
}

.kp-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.48;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.kp-footer__links li {
    color: var(--kp-muted);
}

.kp-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.45rem;
    margin: 0 -0.45rem;
    color: var(--kp-muted);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: color 0.18s ease, background 0.18s ease;
}

.kp-footer__links a:hover {
    color: var(--kp-sage-deep);
    background: rgba(45, 74, 62, 0.06);
}

.kp-footer__links a:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 2px;
    color: var(--kp-sage-deep);
}

.kp-footer__blurb {
    margin: 0.85rem 0 0;
    font-size: 0.9rem;
    line-height: 1.58;
    color: var(--kp-muted);
    max-width: 38ch;
}

.kp-logo--footer {
    display: block;
    font-family: var(--kp-font-serif);
    font-weight: 700;
    font-size: clamp(1.2rem, 2.2vw, 1.38rem);
    letter-spacing: -0.02em;
    color: var(--kp-sage-deep);
    line-height: 1.2;
}

.kp-footer__strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    font-size: 0.78rem;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: var(--kp-muted);
    margin-top: 0.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(45, 74, 62, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
}

.kp-footer__strip-copy {
    opacity: 0.92;
    max-width: 100%;
}

.kp-footer__strip-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
}

.kp-footer__strip-links a {
    color: var(--kp-muted);
    text-decoration: none;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    margin: -0.35rem -0.45rem;
    border-radius: 999px;
    transition: color 0.18s ease, background 0.18s ease;
}

.kp-footer__strip-links a:hover {
    color: var(--kp-sage-deep);
    background: rgba(45, 74, 62, 0.07);
}

.kp-footer__strip-links a:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 2px;
}

.kp-hero.kp-hero--home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(45, 74, 62, 0.08);
    padding: clamp(2.75rem, 6vw, 4.75rem) 0;
    background:
        linear-gradient(118deg, #fbfcfb 0%, #f4f7f4 38%, #eef4f0 72%, #fafdfb 100%);
    box-shadow: 0 28px 80px rgba(20, 32, 24, 0.06);
}

.kp-hero.kp-hero--home::before {
    content: "";
    position: absolute;
    inset: auto -12% -25% auto;
    width: min(58vw, 32rem);
    height: min(58vw, 32rem);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(45, 74, 62, 0.09) 0%, rgba(45, 74, 62, 0.02) 52%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.kp-hero.kp-hero--home::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 148, 46, 0.35), transparent);
    opacity: 0.75;
    pointer-events: none;
    z-index: 1;
}

.kp-hero__shell {
    position: relative;
    z-index: 2;
    max-width: 44rem;
}

/* Legacy .kp-hero h1 max-width (22ch) must not apply to full-width home hero */
.kp-hero.kp-hero--home.kp-hero--brand {
    width: 100%;
    max-width: none;
    display: block;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.kp-hero.kp-hero--home.kp-hero--brand h1,
.kp-hero.kp-hero--home.kp-hero--brand .kp-hero__lead,
.kp-hero.kp-hero--home.kp-hero--brand .kp-hero__content {
    max-width: none;
}

.kp-hero.kp-hero--home.kp-hero--brand .kp-hero__grid {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .kp-hero.kp-hero--home.kp-hero--brand .kp-hero__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    }
}

.kp-hero.kp-hero--home.kp-hero--brand > .kp-contain {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--kp-shell-max);
}

.kp-hero--home .kp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    margin: 0 0 1rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(20, 32, 24, 0.04);
    position: relative;
}

.kp-hero--home .kp-hero__eyebrow::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.65rem;
    width: 2.75rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--kp-gold), rgba(184, 148, 46, 0.2));
}

.kp-hero--home h1 {
    max-width: none;
    font-size: clamp(2.05rem, 4.8vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0.85rem 0 1.1rem;
    color: var(--kp-sage-deep);
    text-wrap: balance;
}

.kp-hero--home .kp-hero__lead {
    margin: 0;
    max-width: 38rem;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.65;
    color: var(--kp-muted);
}

.kp-hero--home .kp-hero__actions {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    gap: 0.65rem 0.85rem;
}

.kp-hero--home .kp-hero__actions .kp-btn--solid {
    box-shadow: 0 4px 14px rgba(45, 74, 62, 0.28);
}

.kp-hero--home .kp-hero__actions .kp-btn--solid:hover {
    box-shadow: 0 6px 18px rgba(45, 74, 62, 0.32);
}

.kp-hero--home .kp-hero__actions .kp-btn--ghost {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
}

@media (prefers-reduced-motion: no-preference) {
    .kp-hero.kp-hero--home {
        animation: kp-hero-fade 0.7s ease-out both;
    }

    @keyframes kp-hero-fade {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.kp-hero__lead {
    margin: 0.75rem 0 0;
    max-width: 40rem;
    color: var(--kp-muted);
    font-size: 1.05rem;
}

.kp-section {
    padding: clamp(2.75rem, 5vw, 4rem) 0;
    margin: 0;
    width: 100%;
}

.kp-section--soft {
    background: var(--kp-soft);
    border-radius: 0;
    padding: clamp(2.75rem, 5vw, 4.25rem) 0;
    margin: 0;
    border-block: 1px solid rgba(45, 74, 62, 0.06);
}

.kp-section--alt {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.65) 100%);
    border-block: 1px solid rgba(45, 74, 62, 0.05);
}

.kp-section.kp-testimonials {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    background:
        radial-gradient(120% 95% at 50% 0%, rgba(232, 240, 234, 0.55) 0%, transparent 50%),
        radial-gradient(65% 45% at 0% 100%, rgba(45, 74, 62, 0.055) 0%, transparent 50%),
        radial-gradient(55% 40% at 100% 85%, rgba(184, 148, 46, 0.06) 0%, transparent 52%),
        linear-gradient(180deg, #fbfcfb 0%, rgba(255, 255, 255, 0.97) 32%, var(--kp-bg) 58%, rgba(232, 240, 234, 0.38) 100%);
    border-block: 1px solid rgba(45, 74, 62, 0.065);
    padding-top: clamp(2.85rem, 5vw, 4.35rem);
    padding-bottom: clamp(2.85rem, 5vw, 4.45rem);
}

.kp-section.kp-testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 4%,
        var(--kp-sage-deep) 22%,
        var(--kp-sage) 48%,
        var(--kp-gold) 68%,
        var(--kp-sage) 82%,
        transparent 96%
    );
    opacity: 0.75;
    pointer-events: none;
    z-index: 1;
}

.kp-section.kp-library {
    background: #ffffff;
    border-block: 1px solid var(--kp-line);
}

/* —— Home: featured courses (premium band + cards) —— */
.kp-home-courses.kp-section--soft {
    margin-top: 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(120% 85% at 12% 0%, rgba(45, 74, 62, 0.08) 0%, transparent 52%),
        radial-gradient(90% 60% at 100% 20%, rgba(184, 148, 46, 0.06) 0%, transparent 48%),
        linear-gradient(180deg, #f9fcf9 0%, #eef5f0 42%, #e6efe9 100%);
    border-block: 1px solid rgba(45, 74, 62, 0.07);
    padding-top: clamp(3rem, 6vw, 4.25rem);
    padding-bottom: clamp(3.25rem, 6vw, 4.75rem);
}

.kp-home-courses.kp-section--soft::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kp-sage-deep) 0%, var(--kp-sage) 38%, var(--kp-gold) 62%, var(--kp-sage) 100%);
    opacity: 0.88;
    pointer-events: none;
    z-index: 1;
}

.kp-home-courses .kp-section__inner--library {
    position: relative;
    z-index: 2;
}

.kp-home-courses__intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(45, 74, 62, 0.08);
}

.kp-home-courses__intro-text {
    flex: 1 1 min(100%, 36rem);
    min-width: 0;
}

.kp-home-courses__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.65rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--kp-sage);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(20, 32, 24, 0.04);
}

.kp-home-courses__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.85rem, 3.5vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 0.65rem;
    color: var(--kp-sage-deep);
    text-wrap: balance;
}

.kp-home-courses__lede {
    margin: 0;
    max-width: 44rem;
    font-size: clamp(1rem, 1.2vw, 1.08rem);
    line-height: 1.62;
}

.kp-home-courses__catalog.kp-btn {
    flex-shrink: 0;
    align-self: flex-end;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--kp-sage-deep);
    background: #ffffff;
    border: 1px solid rgba(45, 74, 62, 0.18);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.05),
        0 12px 32px rgba(30, 51, 40, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.kp-home-courses__catalog.kp-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 74, 62, 0.28);
    box-shadow:
        0 4px 12px rgba(20, 32, 24, 0.08),
        0 20px 44px rgba(30, 51, 40, 0.12);
    background: #fdfefc;
}

.kp-home-courses__catalog-arrow {
    display: inline-flex;
    font-size: 1.05rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.kp-home-courses__catalog.kp-btn:hover .kp-home-courses__catalog-arrow {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .kp-home-courses__intro {
        flex-direction: column;
        align-items: stretch;
    }

    .kp-home-courses__catalog.kp-btn {
        width: 100%;
        justify-content: center;
        align-self: stretch;
    }
}

.kp-home-courses__empty {
    margin: 0;
    max-width: 42rem;
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px dashed rgba(45, 74, 62, 0.2);
}

.kp-home-courses__empty a {
    color: var(--kp-sage);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kp-home-courses__empty a:hover {
    color: var(--kp-sage-deep);
}

.kp-home-courses__grid {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 1.85rem);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .kp-home-courses__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .kp-home-courses__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.kp-course-teaser {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(45, 74, 62, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fafdfb 100%);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 18px 48px rgba(30, 51, 40, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.kp-course-teaser:hover,
.kp-course-teaser:focus-within {
    transform: translateY(-6px);
    border-color: rgba(45, 74, 62, 0.22);
    box-shadow:
        0 4px 12px rgba(20, 32, 24, 0.06),
        0 28px 64px rgba(30, 51, 40, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    .kp-course-teaser:hover,
    .kp-course-teaser:focus-within {
        transform: none;
    }

    .kp-home-courses__catalog.kp-btn:hover {
        transform: none;
    }

    .kp-home-courses__catalog.kp-btn:hover .kp-home-courses__catalog-arrow {
        transform: none;
    }
}

.kp-course-teaser::before {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    flex-shrink: 0;
    background: linear-gradient(90deg, var(--kp-sage-deep), var(--kp-sage) 45%, rgba(184, 148, 46, 0.75));
    opacity: 0.92;
}

.kp-course-teaser__media {
    display: block;
    line-height: 0;
    background: var(--kp-soft);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.kp-course-teaser__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20, 32, 24, 0.18) 100%);
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.kp-course-teaser:hover .kp-course-teaser__media::after,
.kp-course-teaser:focus-within .kp-course-teaser__media::after {
    opacity: 0.45;
}

.kp-course-teaser__media--placeholder::after {
    opacity: 0.35;
}

.kp-course-teaser__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
    .kp-course-teaser__media img {
        transition: none;
    }
}

.kp-course-teaser:hover .kp-course-teaser__media img,
.kp-course-teaser:focus-within .kp-course-teaser__media img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.02);
}

@media (prefers-reduced-motion: reduce) {
    .kp-course-teaser:hover .kp-course-teaser__media img,
    .kp-course-teaser:focus-within .kp-course-teaser__media img {
        transform: none;
        filter: none;
    }
}

.kp-course-teaser__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    background:
        linear-gradient(135deg, rgba(45, 74, 62, 0.14) 0%, rgba(232, 240, 234, 0.5) 45%, rgba(45, 74, 62, 0.08) 100%);
}

.kp-course-teaser__placeholder-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    opacity: 0.9;
}

.kp-course-teaser__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.2rem 1.25rem 1.35rem;
    gap: 0;
}

.kp-course-teaser__heading {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.05rem, 1.35vw, 1.15rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.kp-course-teaser__heading a {
    color: var(--kp-sage-deep);
    text-decoration: none;
    transition: color 0.15s ease;
}

.kp-course-teaser__heading a:hover {
    color: var(--kp-sage);
}

.kp-course-teaser__heading a:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
    border-radius: 6px;
}

.kp-course-teaser__excerpt {
    margin: 0 0 0.85rem;
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
    color: var(--kp-muted);
}

.kp-course-teaser__price-wrap {
    margin: 0 0 1rem;
}

.kp-course-teaser__price {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: linear-gradient(180deg, rgba(232, 240, 234, 0.95) 0%, rgba(220, 233, 224, 0.85) 100%);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
}

.kp-course-teaser__actions {
    margin-top: auto;
}

.kp-course-teaser__cta.kp-btn--solid {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 0.58rem 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 14px rgba(45, 74, 62, 0.22);
}

.kp-course-teaser__cta.kp-btn--solid:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 20px rgba(45, 74, 62, 0.28);
}

.kp-card.kp-course-teaser {
    padding: 0;
    border-radius: 20px;
    border: none;
    background: transparent;
    box-shadow: none;
}

.kp-card.kp-course-teaser:hover {
    box-shadow: none;
}

/* —— Home: how we work together (pillar band + work cards) —— */
.kp-work-together.kp-section--soft {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    background:
        radial-gradient(100% 80% at 0% 100%, rgba(45, 74, 62, 0.07) 0%, transparent 55%),
        radial-gradient(80% 55% at 100% 0%, rgba(184, 148, 46, 0.07) 0%, transparent 50%),
        linear-gradient(180deg, #f6faf7 0%, var(--kp-soft) 38%, #eef4f0 100%);
    border-block: 1px solid rgba(45, 74, 62, 0.07);
    padding-top: clamp(2.85rem, 5.5vw, 4.35rem);
    padding-bottom: clamp(3rem, 5.5vw, 4.5rem);
}

.kp-work-together.kp-section--soft::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--kp-sage) 22%, var(--kp-gold) 50%, var(--kp-sage) 78%, transparent 100%);
    opacity: 0.75;
    pointer-events: none;
    z-index: 1;
}

.kp-section__inner--work {
    position: relative;
    z-index: 2;
}

.kp-work-together__head {
    max-width: 44rem;
    margin-bottom: 0.35rem;
}

.kp-work-together__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.6rem;
    padding: 0.32rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.kp-work-together__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 0.65rem;
    color: var(--kp-sage-deep);
}

.kp-work-together__lede {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 40rem;
}

.kp-work-together__scroll-hint {
    display: none;
    margin: 1rem 0 0;
    font-size: 0.8125rem;
}

.kp-work-together__scroll {
    margin-top: clamp(1.75rem, 3vw, 2.35rem);
}

.kp-work-together__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.kp-work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.45rem 1.3rem 1.35rem;
    padding-top: 1.55rem;
    border-radius: 18px;
    background: linear-gradient(168deg, #ffffff 0%, #fafdfb 52%, #f2f7f3 100%);
    border: 1px solid rgba(45, 74, 62, 0.11);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 14px 36px rgba(30, 51, 40, 0.07);
    transition: border-color 0.25s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.kp-work-card:hover,
.kp-work-card:focus-within {
    border-color: rgba(45, 74, 62, 0.22);
    box-shadow:
        0 4px 14px rgba(20, 32, 24, 0.06),
        0 20px 48px rgba(30, 51, 40, 0.12);
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .kp-work-card:hover,
    .kp-work-card:focus-within {
        transform: none;
    }
}

.kp-work-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, var(--kp-sage-deep) 0%, var(--kp-sage) 45%, rgba(184, 148, 46, 0.75) 100%);
    opacity: 0.92;
}

.kp-work-card:nth-child(2) .kp-work-card__accent {
    background: linear-gradient(90deg, var(--kp-sage) 0%, rgba(184, 148, 46, 0.85) 55%, var(--kp-sage-deep) 100%);
}

.kp-work-card:nth-child(3) .kp-work-card__accent {
    background: linear-gradient(90deg, rgba(184, 148, 46, 0.75) 0%, var(--kp-sage) 50%, var(--kp-sage-deep) 100%);
}

.kp-work-card:nth-child(4) .kp-work-card__accent {
    background: linear-gradient(90deg, var(--kp-sage) 0%, var(--kp-sage-deep) 40%, rgba(184, 148, 46, 0.65) 100%);
}

.kp-work-card__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.95rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--kp-sage-deep);
    background: linear-gradient(150deg, rgba(232, 240, 234, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(45, 74, 62, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 6px 16px rgba(30, 51, 40, 0.06);
}

.kp-work-card__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.12rem, 1.5vw, 1.22rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    color: var(--kp-sage-deep);
}

.kp-work-card__summary {
    flex: 1 1 auto;
    margin: 0 0 1.1rem;
    font-size: 0.92rem;
    line-height: 1.52;
}

.kp-work-card__cta {
    align-self: flex-start;
    margin-top: auto;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(45, 74, 62, 0.18);
}

.kp-work-card__cta:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .kp-work-together__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .kp-work-together__scroll-hint {
        display: block;
    }

    .kp-work-together__scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0.75rem;
        margin-inline: -0.35rem;
        padding: 0.35rem 0.35rem 0.85rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(45, 74, 62, 0.3) transparent;
    }

    .kp-work-together__scroll::-webkit-scrollbar {
        height: 6px;
    }

    .kp-work-together__scroll::-webkit-scrollbar-thumb {
        background: rgba(45, 74, 62, 0.28);
        border-radius: 999px;
    }

    .kp-work-together__grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        width: max-content;
        min-height: 0;
    }

    .kp-work-card {
        flex: 0 0 min(17.5rem, 82vw);
        width: min(17.5rem, 82vw);
        max-width: none;
        scroll-snap-align: start;
        min-height: 15.5rem;
    }
}

@media (max-width: 560px) and (prefers-reduced-motion: reduce) {
    .kp-work-together__scroll {
        scroll-snap-type: none;
    }
}

/* Home — offerings & services (horizontal scroll rail + premium cards) */
.kp-offerings {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}

.kp-offerings__panel {
    position: relative;
    border-radius: 22px;
    padding: 2rem 1.35rem 1.75rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 240, 234, 0.5) 48%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow:
        0 4px 24px rgba(20, 32, 24, 0.04),
        0 28px 64px rgba(30, 51, 40, 0.07);
    overflow: hidden;
}

.kp-offerings__panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, var(--kp-sage-deep) 0%, var(--kp-sage) 42%, var(--kp-gold) 100%);
    opacity: 0.92;
}

@media (min-width: 640px) {
    .kp-offerings__panel {
        padding: 2.35rem 2rem 2rem;
    }
}

.kp-offerings__head {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.kp-offerings__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--kp-sage);
}

.kp-offerings__head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.15rem 1.5rem;
}

.kp-offerings__head-text {
    flex: 1 1 16rem;
    min-width: 0;
}

.kp-offerings__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.55rem, 2.8vw, 2.05rem);
    line-height: 1.18;
    margin: 0 0 0.55rem;
    color: var(--kp-sage-deep);
    letter-spacing: -0.02em;
}

.kp-offerings__lede {
    margin: 0;
    max-width: 38rem;
    font-size: 1.02rem;
    line-height: 1.55;
}

.kp-offerings__lede strong {
    font-weight: 700;
    color: var(--kp-sage-deep);
}

.kp-offerings__cta {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    border-radius: 999px;
    padding-inline: 1.15rem;
    box-shadow: 0 6px 22px rgba(30, 51, 40, 0.14);
}

@media (max-width: 720px) {
    .kp-offerings__head-row {
        flex-direction: column;
        align-items: stretch;
    }

    .kp-offerings__cta {
        align-self: stretch;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

.kp-offerings__scroll-hint {
    clear: both;
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    position: relative;
    z-index: 0;
}

@media (min-width: 900px) {
    .kp-offerings__scroll-hint {
        text-align: right;
        margin-top: 0;
        margin-bottom: 0.85rem;
        padding-left: 0;
    }
}

.kp-offerings__scroll {
    position: relative;
    z-index: 1;
    margin-top: 0.15rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.5rem;
    padding: 0.4rem 0 0.85rem;
    margin: 0 -0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 74, 62, 0.35) transparent;
    mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.kp-offerings__scroll::-webkit-scrollbar {
    height: 7px;
}

.kp-offerings__scroll::-webkit-scrollbar-track {
    background: rgba(45, 74, 62, 0.06);
    border-radius: 999px;
}

.kp-offerings__scroll::-webkit-scrollbar-thumb {
    background: rgba(45, 74, 62, 0.28);
    border-radius: 999px;
}

.kp-offerings__scroll:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 4px;
    border-radius: 12px;
}

.kp-offerings__grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 1.25rem;
    width: max-content;
    min-height: 100%;
    padding: 0.25rem 0.5rem 0.35rem;
}

.kp-offering-card {
    position: relative;
    flex: 0 0 clamp(17.25rem, 70vw, 21.5rem);
    width: clamp(17.25rem, 70vw, 21.5rem);
    max-width: none;
    scroll-snap-align: start;
    padding: 1.45rem 1.35rem 1.4rem;
    padding-top: 1.55rem;
    border-radius: 18px;
    background: linear-gradient(165deg, #ffffff 0%, #f9fcf9 55%, #f3f8f4 100%);
    border: 1px solid rgba(45, 74, 62, 0.12);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 16px 40px rgba(30, 51, 40, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.kp-offering-card:hover,
.kp-offering-card:focus-within {
    border-color: rgba(45, 74, 62, 0.22);
    box-shadow:
        0 4px 14px rgba(20, 32, 24, 0.06),
        0 22px 52px rgba(30, 51, 40, 0.14);
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .kp-offering-card:hover,
    .kp-offering-card:focus-within {
        transform: none;
    }
}

.kp-offering-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, var(--kp-sage-deep) 0%, var(--kp-sage) 50%, rgba(184, 148, 46, 0.75) 100%);
    opacity: 0.95;
}

.kp-offering-card__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--kp-sage-deep);
    background: linear-gradient(145deg, rgba(232, 240, 234, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(45, 74, 62, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 6px 16px rgba(30, 51, 40, 0.07);
}

.kp-offering-card__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.08rem, 1.4vw, 1.2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.kp-offering-card__title a {
    color: var(--kp-sage-deep);
    text-decoration: none;
    transition: color 0.15s ease;
}

.kp-offering-card__title a:hover {
    color: var(--kp-sage);
}

.kp-offering-card__title a:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
    border-radius: 6px;
}

.kp-offering-card__summary {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    line-height: 1.52;
    color: var(--kp-muted);
}

.kp-offering-card__meta-wrap {
    margin: 0 0 1.05rem;
}

.kp-offering-card__meta {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: linear-gradient(180deg, rgba(232, 240, 234, 0.95) 0%, rgba(220, 233, 224, 0.88) 100%);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
}

.kp-offering-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.kp-offering-card__actions .kp-btn--solid {
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(45, 74, 62, 0.2);
}

.kp-offering-card__learn {
    font-size: 0.875rem;
    font-weight: 600;
}

.kp-section--engage.kp-section--soft {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    background:
        radial-gradient(95% 72% at 12% 18%, rgba(184, 148, 46, 0.08) 0%, transparent 52%),
        radial-gradient(75% 55% at 100% 0%, rgba(45, 74, 62, 0.065) 0%, transparent 50%),
        radial-gradient(60% 45% at 0% 100%, rgba(45, 74, 62, 0.045) 0%, transparent 48%),
        linear-gradient(180deg, #f5faf7 0%, var(--kp-soft) 38%, #e8f2eb 100%);
    border-block: 1px solid rgba(45, 74, 62, 0.07);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 22px 56px rgba(30, 51, 40, 0.08);
    padding-top: clamp(2.85rem, 5vw, 4.35rem);
    padding-bottom: clamp(2.85rem, 5vw, 4.45rem);
}

.kp-section--engage.kp-section--soft::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 3%,
        var(--kp-sage-deep) 18%,
        var(--kp-sage) 45%,
        var(--kp-gold) 68%,
        var(--kp-sage) 86%,
        transparent 97%
    );
    opacity: 0.78;
    pointer-events: none;
    z-index: 1;
}

.kp-section__inner--engage {
    position: relative;
    z-index: 2;
}

.kp-engage {
    display: grid;
    gap: clamp(1.75rem, 3vw, 2.5rem);
    align-items: stretch;
}

@media (min-width: 860px) {
    .kp-engage {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        gap: clamp(2rem, 4vw, 3rem);
        align-items: center;
    }
}

.kp-engage__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.65rem;
    padding: 0.32rem 0.8rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.kp-engage__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.8rem, 3.4vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0 0 0.85rem;
    color: var(--kp-sage-deep);
}

.kp-engage__intro {
    margin: 0 0 1.35rem;
    font-size: 1.06rem;
    line-height: 1.62;
    max-width: 38rem;
}

.kp-engage__points {
    margin: 0 0 1.65rem;
    padding: 0;
    list-style: none;
    max-width: 36rem;
}

.kp-engage__points li {
    position: relative;
    padding-left: 1.65rem;
    margin-bottom: 0.72rem;
    font-size: 0.96rem;
    line-height: 1.5;
    color: var(--kp-sage-deep);
}

.kp-engage__points li:last-child {
    margin-bottom: 0;
}

.kp-engage__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--kp-sage-deep) 0%, var(--kp-sage) 100%);
    box-shadow:
        0 0 0 3px rgba(232, 240, 234, 0.95),
        0 0 0 5px rgba(45, 74, 62, 0.1);
}

.kp-engage__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}

.kp-engage__cta.kp-btn--solid {
    border-radius: 12px;
    padding: 0.62rem 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 20px rgba(45, 74, 62, 0.22);
}

.kp-engage__cta.kp-btn--solid:hover {
    filter: brightness(1.04);
    box-shadow: 0 8px 26px rgba(45, 74, 62, 0.28);
}

.kp-engage__skip {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    margin: -0.35rem -0.65rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.kp-engage__skip:hover {
    background: rgba(45, 74, 62, 0.06);
    color: var(--kp-sage);
    text-decoration: none;
}

.kp-engage__skip:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
    border-radius: 999px;
}

/* —— Testimonials (home) —— */
.kp-section__inner--testimonials {
    position: relative;
    z-index: 2;
}

.kp-testimonials__head {
    text-align: center;
    margin: 0 auto clamp(1.75rem, 3vw, 2.35rem);
    max-width: 40rem;
}

.kp-testimonials__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.65rem;
    padding: 0.32rem 0.8rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.kp-testimonials__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0 0 0.7rem;
    color: var(--kp-sage-deep);
}

.kp-testimonials__lede {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.58;
}

.kp-testimonials__scroll-hint {
    display: none;
    text-align: center;
    margin: -0.5rem 0 0.85rem;
    font-size: 0.8125rem;
}

.kp-testimonials__scroll {
    margin: 0;
}

.kp-testimonials__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

@media (min-width: 640px) {
    .kp-testimonials__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.3rem;
    }
}

@media (min-width: 960px) {
    .kp-testimonials__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.4rem;
    }
}

.kp-testimonial-card {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 1.5rem 1.35rem 1.3rem;
    padding-top: 1.55rem;
    border-radius: 20px;
    border: 1px solid rgba(45, 74, 62, 0.11);
    background: linear-gradient(168deg, #ffffff 0%, #fafdfb 45%, #f1f7f3 100%);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 14px 38px rgba(30, 51, 40, 0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.28s ease;
}

.kp-testimonial-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, var(--kp-sage-deep) 0%, var(--kp-sage) 45%, rgba(184, 148, 46, 0.72) 100%);
    opacity: 0.92;
}

.kp-testimonial-card:nth-child(3n + 2) .kp-testimonial-card__accent {
    background: linear-gradient(90deg, var(--kp-sage) 0%, rgba(184, 148, 46, 0.8) 50%, var(--kp-sage-deep) 100%);
}

.kp-testimonial-card:nth-child(3n) .kp-testimonial-card__accent {
    background: linear-gradient(90deg, rgba(184, 148, 46, 0.65) 0%, var(--kp-sage) 55%, var(--kp-sage-deep) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .kp-testimonial-card {
        transition: none;
    }
}

.kp-testimonial-card:hover,
.kp-testimonial-card:focus-within {
    border-color: rgba(45, 74, 62, 0.2);
    box-shadow:
        0 4px 14px rgba(20, 32, 24, 0.06),
        0 22px 52px rgba(30, 51, 40, 0.12);
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .kp-testimonial-card:hover,
    .kp-testimonial-card:focus-within {
        transform: none;
    }
}

.kp-testimonial-card__mark {
    position: absolute;
    top: 0.35rem;
    right: 0.65rem;
    font-family: var(--kp-font-serif);
    font-size: clamp(3.5rem, 9vw, 5rem);
    line-height: 1;
    color: var(--kp-sage);
    opacity: 0.09;
    pointer-events: none;
    user-select: none;
}

.kp-testimonial-card__body {
    position: relative;
    z-index: 1;
    margin: 0 0 1.15rem;
    padding: 0;
    border: 0;
}

.kp-testimonial-card__text {
    margin: 0;
    padding-right: 1.5rem;
    font-size: clamp(0.98rem, 1.45vw, 1.07rem);
    line-height: 1.6;
    color: var(--kp-sage-deep);
    font-style: italic;
}

.kp-testimonial-card__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(45, 74, 62, 0.09);
}

.kp-testimonial-card__avatar {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--kp-sage-deep) 0%, var(--kp-sage) 100%);
    color: #f8faf8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.12) inset,
        0 6px 18px rgba(45, 74, 62, 0.22);
}

.kp-testimonial-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.kp-testimonial-card__name {
    font-style: normal;
    font-weight: 700;
    font-size: 0.94rem;
    letter-spacing: -0.01em;
    color: var(--kp-sage-deep);
}

.kp-testimonial-card__role {
    font-size: 0.8125rem;
    line-height: 1.38;
    color: var(--kp-muted);
}

.kp-testimonials__actions {
    margin-top: clamp(2rem, 3.5vw, 2.5rem);
    text-align: center;
}

.kp-testimonials__actions .kp-btn--ghost {
    border-radius: 999px;
    padding-inline: 1.25rem;
    font-weight: 600;
}

.kp-testimonials__actions .kp-btn:focus-visible {
    outline-offset: 4px;
}

@media (max-width: 559px) {
    .kp-testimonials__scroll-hint {
        display: block;
    }

    .kp-testimonials__scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0.75rem;
        margin-inline: -0.35rem;
        padding: 0.35rem 0.35rem 0.9rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(45, 74, 62, 0.3) transparent;
    }

    .kp-testimonials__scroll::-webkit-scrollbar {
        height: 6px;
    }

    .kp-testimonials__scroll::-webkit-scrollbar-thumb {
        background: rgba(45, 74, 62, 0.28);
        border-radius: 999px;
    }

    .kp-testimonials__scroll:focus-visible {
        outline: 2px solid var(--kp-sage);
        outline-offset: 4px;
        border-radius: 12px;
    }

    .kp-testimonials__grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        width: max-content;
    }

    .kp-testimonial-card {
        flex: 0 0 min(19rem, 86vw);
        width: min(19rem, 86vw);
        max-width: none;
        scroll-snap-align: start;
        min-height: 100%;
    }
}

@media (max-width: 559px) and (prefers-reduced-motion: reduce) {
    .kp-testimonials__scroll {
        scroll-snap-type: none;
    }
}

.kp-newsletter-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(168deg, #ffffff 0%, #fafdfb 48%, #f0f7f2 100%);
    border: 1px solid rgba(45, 74, 62, 0.11);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 16px 42px rgba(30, 51, 40, 0.09);
    transition: border-color 0.28s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.kp-newsletter-card:hover,
.kp-newsletter-card:focus-within {
    border-color: rgba(45, 74, 62, 0.2);
    box-shadow:
        0 4px 14px rgba(20, 32, 24, 0.06),
        0 24px 56px rgba(30, 51, 40, 0.14);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .kp-newsletter-card {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .kp-newsletter-card:hover,
    .kp-newsletter-card:focus-within {
        transform: none;
    }
}

.kp-newsletter-card__accent {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--kp-sage-deep) 0%, var(--kp-sage) 42%, rgba(184, 148, 46, 0.78) 100%);
}

.kp-newsletter-card__inner {
    padding: 1.4rem 1.35rem 1.45rem;
}

@media (min-width: 480px) {
    .kp-newsletter-card__inner {
        padding: 1.55rem 1.65rem 1.65rem;
    }
}

.kp-newsletter-card__head {
    margin-bottom: 1.15rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(45, 74, 62, 0.08);
}

.kp-newsletter-card__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.35rem, 2.2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.45rem;
    color: var(--kp-sage-deep);
}

.kp-newsletter-card__sub {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.52;
}

.kp-newsletter-card__form {
    margin-top: 0.15rem;
}

.kp-newsletter-card__field {
    margin-bottom: 0.9rem;
}

.kp-newsletter-card__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.38rem;
    color: var(--kp-sage-deep);
}

.kp-input--engage {
    width: 100%;
    padding: 0.78rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(45, 74, 62, 0.14);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.85);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kp-input--engage:hover {
    border-color: rgba(45, 74, 62, 0.28);
    background: #ffffff;
}

.kp-input--engage:focus {
    outline: none;
    border-color: var(--kp-sage);
    box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12);
    background: #ffffff;
}

.kp-input--engage:focus-visible {
    outline: 2px solid var(--kp-sage-deep);
    outline-offset: 2px;
}

.kp-newsletter-card__form .kp-btn--block {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(45, 74, 62, 0.2);
}

.kp-newsletter-card__form .kp-btn--block:hover {
    filter: brightness(1.04);
    box-shadow: 0 6px 22px rgba(45, 74, 62, 0.26);
}

.kp-btn--block {
    width: 100%;
    justify-content: center;
}

.kp-newsletter-card .kp-alert {
    margin-top: 0;
    margin-bottom: 0.85rem;
}

.kp-newsletter-card__privacy {
    margin: 1.05rem 0 0;
    font-size: 0.78rem;
    line-height: 1.48;
    color: var(--kp-muted);
    opacity: 0.92;
}

.kp-section--cta {
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(45, 74, 62, 0.35) 0%, transparent 55%),
        linear-gradient(165deg, #1a2d24 0%, var(--kp-sage-deep) 45%, #16261f 100%);
    color: #f4f7f4;
    border-block: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.kp-section--cta .kp-muted {
    color: rgba(244, 247, 244, 0.9);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.kp-section--cta h2 {
    color: #f8fafc;
    text-wrap: balance;
    max-width: min(38ch, 100%);
    margin-left: auto;
    margin-right: auto;
}

.kp-cta-final__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1.75rem;
}

/* High-contrast buttons on dark CTA band (default ghost used dark ink — illegible here) */
.kp-section--cta .kp-btn--cta-primary {
    background: #ffffff;
    color: var(--kp-sage-deep);
    border-color: transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
    min-height: 2.75rem;
    padding: 0.7rem 1.35rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.kp-section--cta .kp-btn--cta-primary:hover {
    filter: none;
    background: #f0fdf4;
    color: #142018;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.kp-section--cta .kp-btn--cta-secondary {
    background: transparent;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    letter-spacing: 0.01em;
    min-height: 2.75rem;
    padding: 0.7rem 1.35rem;
}

.kp-section--cta .kp-btn--cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
    color: #ffffff;
}

.kp-section--cta .kp-btn--cta-primary:focus-visible,
.kp-section--cta .kp-btn--cta-secondary:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 3px;
}

@media (max-width: 520px) {
    .kp-cta-final__actions {
        flex-direction: column;
        width: 100%;
    }

    .kp-section--cta .kp-btn--cta-primary,
    .kp-section--cta .kp-btn--cta-secondary {
        width: 100%;
        max-width: 22rem;
        justify-content: center;
    }
}

/* Width / max-width come from .kp-contain on the same element — never set a second max-width here. */
.kp-section__inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.kp-library__intro {
    margin-bottom: 1.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .kp-library__intro {
        text-align: left;
    }
}

.kp-library__intro h2 {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.65rem, 2.8vw, 2rem);
    margin: 0 0 0.35rem;
    color: var(--kp-sage-deep);
}

.kp-library__lede {
    margin: 0;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.02rem;
}

@media (min-width: 768px) {
    .kp-library__lede {
        margin-left: 0;
        margin-right: 0;
    }
}

.kp-library__grid {
    display: grid;
    gap: 2rem;
    align-items: start;
    container-type: inline-size;
    container-name: library-grid;
}

@media (min-width: 900px) {
    .kp-library__grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
        grid-template-rows: auto auto;
        gap: 2.5rem;
        row-gap: 2rem;
    }

    .kp-library-blog {
        grid-column: 1;
        grid-row: 1;
    }

    .kp-library-aside {
        grid-column: 2;
        grid-row: 1;
    }

    .kp-library__grid > .kp-blog-support {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

.kp-library-blog__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.kp-library-blog__title {
    font-family: var(--kp-font-serif);
    font-size: 1.35rem;
    margin: 0;
    color: var(--kp-sage-deep);
}

.kp-library-blog__all {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--kp-sage);
    text-decoration: none;
    white-space: nowrap;
}

.kp-library-blog__all:hover {
    text-decoration: underline;
}

.kp-library-blog__all:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
    border-radius: 4px;
}

.kp-library-blog {
    min-width: 0;
}

.kp-blog-feature {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--kp-line);
    border-radius: 16px;
    background: var(--kp-card);
}

.kp-blog-feature__grid {
    display: grid;
    gap: 0;
}

@media (min-width: 640px) {
    .kp-blog-feature__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        align-items: stretch;
    }
}

.kp-blog-feature__media {
    display: block;
    margin: -1px -1px 0;
    line-height: 0;
    overflow: hidden;
    border-radius: 0;
    background: var(--kp-soft);
}

@media (min-width: 640px) {
    .kp-blog-feature__media {
        margin: -1px 0 -1px -1px;
        border-radius: 16px 0 0 16px;
        min-height: 100%;
    }
}

.kp-blog-feature__media img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    vertical-align: middle;
    transition: transform 0.45s ease, filter 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    .kp-blog-feature__media img {
        transition: none;
    }
}

.kp-blog-feature:hover .kp-blog-feature__media img,
.kp-blog-feature:focus-within .kp-blog-feature__media img {
    transform: scale(1.02);
    filter: saturate(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .kp-blog-feature:hover .kp-blog-feature__media img,
    .kp-blog-feature:focus-within .kp-blog-feature__media img {
        transform: none;
    }
}

.kp-blog-feature__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: linear-gradient(145deg, rgba(45, 74, 62, 0.12) 0%, rgba(45, 74, 62, 0.04) 100%);
    text-decoration: none;
}

.kp-blog-feature__placeholder-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage);
    opacity: 0.85;
}

.kp-blog-feature__body {
    padding: 1.35rem 1.25rem 1.5rem;
}

@media (min-width: 640px) {
    .kp-blog-feature__body {
        padding: 1.5rem 1.35rem 1.65rem 1.25rem;
    }
}

.kp-blog-feature__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-sage);
}

.kp-blog-feature__heading {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.2;
    margin: 0 0 0.35rem;
}

.kp-blog-feature__heading a {
    color: var(--kp-sage-deep);
    text-decoration: none;
}

.kp-blog-feature__heading a:hover {
    color: var(--kp-sage);
}

.kp-blog-feature__heading a:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
    border-radius: 4px;
}

.kp-blog-feature__meta {
    margin: 0 0 0.65rem;
}

.kp-blog-feature__tags {
    margin-bottom: 0.75rem;
}

.kp-blog-feature__excerpt {
    margin: 0 0 1.1rem;
    color: var(--kp-muted);
    line-height: 1.55;
    font-size: 0.96rem;
}

.kp-blog-support {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .kp-library__grid > .kp-blog-support {
        margin-top: 0;
    }
}

@container library-grid (min-width: 520px) {
    .kp-blog-support {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.kp-blog-compact {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    height: 100%;
    border-radius: 14px;
}

.kp-blog-compact__thumb {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    background: var(--kp-soft);
    border: 1px solid var(--kp-line);
}

.kp-blog-compact__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kp-blog-compact__thumb--placeholder {
    background: linear-gradient(160deg, rgba(45, 74, 62, 0.1), rgba(45, 74, 62, 0.02));
}

.kp-blog-compact__body {
    min-width: 0;
}

.kp-blog-compact__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 0.2rem;
}

.kp-blog-compact__title a {
    color: var(--kp-sage-deep);
    text-decoration: none;
}

.kp-blog-compact__title a:hover {
    color: var(--kp-sage);
}

.kp-blog-compact__title a:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 2px;
    border-radius: 4px;
}

.kp-blog-compact__meta {
    margin: 0 0 0.35rem;
}

.kp-blog-compact__excerpt {
    margin: 0 0 0.35rem;
    font-size: 0.86rem;
    line-height: 1.45;
}

.kp-blog-compact__link {
    margin-top: 0;
    font-size: 0.82rem;
}

.kp-blog-empty {
    padding: 1.5rem 1.25rem;
    text-align: center;
}

@media (min-width: 640px) {
    .kp-blog-empty {
        text-align: left;
    }
}

.kp-library-aside {
    padding: 1.25rem 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--kp-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, var(--kp-soft) 100%);
}

.kp-library-aside__title {
    font-family: var(--kp-font-serif);
    font-size: 1.25rem;
    margin: 0 0 0.35rem;
    color: var(--kp-sage-deep);
}

.kp-library-aside__hint {
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.kp-library-aside__list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.kp-library-aside__list li {
    margin-bottom: 0.15rem;
}

.kp-library-aside__link {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.45rem 0;
    text-decoration: none;
    color: var(--kp-sage-deep);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.35;
    border-radius: 8px;
}

.kp-library-aside__link:hover {
    color: var(--kp-sage);
}

.kp-library-aside__link:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 2px;
}

.kp-library-aside__dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--kp-sage);
    opacity: 0.65;
}

.kp-section__actions {
    margin-top: 1.25rem;
}

.kp-split {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.kp-split__cta {
    align-self: center;
}

.kp-split--stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 720px) {
    .kp-split--stack {
        grid-template-columns: 1fr;
    }
}

.kp-split--contact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

@media (max-width: 720px) {
    .kp-split--contact {
        grid-template-columns: 1fr;
    }
}

.kp-card-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.kp-card-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kp-card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kp-card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
    .kp-card-grid--4 {
        grid-template-columns: 1fr 1fr;
    }

    .kp-card-grid--3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .kp-card-grid--2,
    .kp-card-grid--4 {
        grid-template-columns: 1fr;
    }
}

.kp-card {
    background: var(--kp-card);
    border: 1px solid var(--kp-line);
    border-radius: 14px;
    padding: 1.25rem 1.1rem;
}

.kp-card--lift:hover {
    box-shadow: 0 12px 28px rgba(20, 32, 24, 0.07);
}

/* Home course cards use their own hover depth (overrides generic .kp-card--lift) */
.kp-card.kp-card--lift.kp-course-teaser:hover,
.kp-card.kp-card--lift.kp-course-teaser:focus-within {
    box-shadow:
        0 4px 12px rgba(20, 32, 24, 0.06),
        0 28px 64px rgba(30, 51, 40, 0.14);
}

.kp-card--post {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.kp-card--post .kp-card__media {
    display: block;
    margin: -1px -1px 0;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    line-height: 0;
    border-bottom: 1px solid var(--kp-line);
}

.kp-card--post .kp-card__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    vertical-align: middle;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.kp-card--post:hover .kp-card__media img {
    transform: scale(1.03);
    filter: saturate(1.05);
}

.kp-card--post h2,
.kp-card--post .kp-card__tags,
.kp-card--post .kp-muted,
.kp-card--post .kp-meta,
.kp-card--post .kp-link-btn {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}

.kp-card--post h2 {
    margin-top: 1rem;
}

.kp-card--post .kp-link-btn {
    margin: 0 1.1rem 1.25rem;
    display: inline-block;
}

.kp-card--post .kp-card__actions {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    margin: 0 0 1.25rem;
    gap: 0.5rem;
}

.kp-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0 0 0.5rem;
}

.kp-tag-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.kp-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    color: var(--kp-sage-deep);
    background: var(--kp-soft);
    border: 1px solid var(--kp-line);
}

.kp-tag--sm {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    font-weight: 500;
}

.kp-article__figure {
    margin: 1.25rem 0 1.75rem;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--kp-line);
    box-shadow: 0 12px 32px rgba(20, 32, 24, 0.08);
}

.kp-article__thumb {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.kp-lead {
    margin: 0.75rem 0 0;
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--kp-muted);
    max-width: 42rem;
}

.kp-article__foot {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--kp-line);
}

.kp-card h2,
.kp-card h3 {
    font-family: var(--kp-font-serif);
    margin: 0 0 0.5rem;
    color: var(--kp-sage-deep);
}

.kp-card__actions {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.kp-meta {
    font-size: 0.82rem;
    color: var(--kp-muted);
}

.kp-quote {
    margin: 0;
    font-style: italic;
}

.kp-quote footer {
    margin-top: 0.65rem;
    font-style: normal;
    font-size: 0.88rem;
}

.kp-newsletter .kp-form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.kp-input {
    flex: 1;
    min-width: 12rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--kp-line);
    border-radius: 10px;
    font: inherit;
}

.kp-list-links {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}

.kp-list-links a {
    color: var(--kp-sage);
    font-weight: 600;
    text-decoration: none;
}

.kp-cta-final {
    text-align: center;
}

.kp-cta-final h2 {
    font-family: var(--kp-font-serif);
    margin: 0 0 0.5rem;
}

.kp-page-head h1 {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0 0 0.5rem;
    color: var(--kp-sage-deep);
}

.kp-page-head {
    margin-bottom: 1.5rem;
}

.kp-h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
}

.kp-prose {
    max-width: 65ch;
    color: var(--kp-muted);
}

.kp-prose p {
    margin-top: 0;
}

.kp-list {
    padding-left: 1.2rem;
    color: var(--kp-muted);
}

/* —— Public booking wizard (4-step flow) —— */
/* Booking flow: use full shell width with modest gutters (default --kp-gutter-x is very wide on large screens). */
.kp-contain--page:has(> .kp-book-wizard),
.kp-contain--page:has(> .kp-video-library),
.kp-contain--page:has(> .kp-blog-library),
.kp-contain--page:has(> .kp-contact-page) {
    padding-left: max(clamp(1rem, 4vw, 2.25rem), env(safe-area-inset-left));
    padding-right: max(clamp(1rem, 4vw, 2.25rem), env(safe-area-inset-right));
}

.kp-book-wizard {
    width: 100%;
    max-width: none;
    margin: 0 0 3rem;
    padding: 0;
}

.kp-book-stepper {
    margin-bottom: 1.35rem;
}

.kp-book-stepper__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.35rem;
    position: relative;
}

.kp-book-stepper__list::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, rgba(45, 74, 62, 0.12) 0%, rgba(45, 74, 62, 0.22) 50%, rgba(45, 74, 62, 0.12) 100%);
    border-radius: 2px;
    z-index: 0;
    pointer-events: none;
}

.kp-book-stepper__item {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.kp-book-stepper__hit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
    padding: 0.2rem;
    border-radius: 12px;
    transition: background 0.18s ease;
}

a.kp-book-stepper__hit:hover {
    background: rgba(45, 74, 62, 0.06);
}

a.kp-book-stepper__hit:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
}

.kp-book-stepper__circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: var(--kp-card);
    border: 2px solid rgba(45, 74, 62, 0.18);
    color: var(--kp-sage-deep);
    box-shadow: 0 2px 8px rgba(20, 32, 24, 0.06);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.kp-book-stepper__check {
    display: block;
}

.kp-book-stepper__item.is-done .kp-book-stepper__circle {
    background: linear-gradient(145deg, var(--kp-sage) 0%, var(--kp-sage-deep) 100%);
    border-color: rgba(45, 74, 62, 0.35);
    color: #f8fafc;
}

.kp-book-stepper__item.is-current .kp-book-stepper__circle {
    border-color: var(--kp-sage);
    background: linear-gradient(180deg, #ffffff 0%, var(--kp-soft) 100%);
    box-shadow:
        0 0 0 3px rgba(45, 74, 62, 0.12),
        0 6px 16px rgba(30, 51, 40, 0.12);
    transform: scale(1.06);
}

.kp-book-stepper__item.is-upcoming .kp-book-stepper__circle {
    opacity: 0.45;
    border-color: rgba(45, 74, 62, 0.12);
    color: var(--kp-muted);
    background: rgba(255, 255, 255, 0.65);
}

.kp-book-stepper__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kp-muted);
    line-height: 1.2;
    max-width: 6.5rem;
}

.kp-book-stepper__item.is-current .kp-book-stepper__label {
    color: var(--kp-sage-deep);
}

.kp-book-stepper__item.is-done .kp-book-stepper__label {
    color: var(--kp-sage);
}

@media (min-width: 520px) {
    .kp-book-stepper__label {
        font-size: 0.72rem;
        max-width: none;
    }
}

@media (max-width: 400px) {
    .kp-book-stepper__list::before {
        top: 1rem;
    }

    .kp-book-stepper__circle {
        width: 2rem;
        height: 2rem;
        font-size: 0.72rem;
    }
}

.kp-book-wizard__card {
    position: relative;
    border-radius: 20px;
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
    background: linear-gradient(168deg, #ffffff 0%, #fafdfb 45%, #f2f7f3 100%);
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 18px 44px rgba(30, 51, 40, 0.08);
}

.kp-book-wizard__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, var(--kp-sage-deep) 0%, var(--kp-sage) 45%, rgba(184, 148, 46, 0.75) 100%);
    opacity: 0.9;
    pointer-events: none;
}

.kp-book-wizard__summary {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(45, 74, 62, 0.1);
}

.kp-book-wizard__summary-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-sage);
}

.kp-book-wizard__summary-main {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--kp-sage-deep);
}

.kp-book-wizard__summary-meta {
    font-size: 0.84rem;
    font-weight: 500;
}

.kp-book-wizard__summary-slot {
    margin: 0.65rem 0 0;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(45, 74, 62, 0.08);
    font-size: 0.88rem;
}

.kp-book-wizard__summary-slot-label {
    font-weight: 700;
    color: var(--kp-sage-deep);
    margin-right: 0.35rem;
}

.kp-book-wizard__head {
    margin-bottom: 1.35rem;
}

.kp-book-wizard__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.45rem, 2.8vw, 1.85rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    color: var(--kp-sage-deep);
}

.kp-book-wizard__lede {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 36rem;
}

.kp-book-wizard__empty {
    margin: 0 0 1rem;
}

.kp-book-wizard__fieldset {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.kp-book-wizard__legend {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-sage);
    margin: 0 0 0.85rem;
}

.kp-book-wizard__options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.kp-book-wizard__options--slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 0.65rem;
}

@media (max-width: 480px) {
    .kp-book-wizard__options--slots {
        grid-template-columns: 1fr;
    }
}

.kp-radio-card--wizard {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    margin: 0;
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.22s ease, background 0.2s ease, transform 0.2s ease;
}

.kp-radio-card--wizard:hover {
    border-color: rgba(45, 74, 62, 0.22);
    box-shadow: 0 6px 20px rgba(30, 51, 40, 0.07);
}

.kp-radio-card--wizard:has(:focus-visible) {
    outline: 2px solid var(--kp-sage);
    outline-offset: 2px;
}

.kp-radio-card--wizard:has(:checked) {
    border-color: var(--kp-sage);
    background: linear-gradient(165deg, #ffffff 0%, rgba(232, 240, 234, 0.65) 100%);
    box-shadow:
        0 0 0 1px rgba(45, 74, 62, 0.08),
        0 10px 28px rgba(30, 51, 40, 0.1);
    transform: translateY(-1px);
}

.kp-radio-card--wizard input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.kp-radio-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.kp-radio-card__title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--kp-sage-deep);
    line-height: 1.25;
}

.kp-radio-card__line {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--kp-sage);
}

.kp-radio-card__meta {
    font-size: 0.84rem;
    color: var(--kp-muted);
}

.kp-radio-card--slot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0.95rem 0.75rem;
}

.kp-radio-card--slot .kp-radio-card__body {
    align-items: center;
    text-align: center;
}

.kp-book-wizard__form--fields .kp-field label {
    color: var(--kp-sage-deep);
}

.kp-book-wizard__form--fields .kp-field input {
    border-radius: 12px;
    border-color: rgba(45, 74, 62, 0.14);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kp-book-wizard__form--fields .kp-field input:focus {
    outline: none;
    border-color: var(--kp-sage);
    box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
}

.kp-book-wizard__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(45, 74, 62, 0.08);
}

.kp-book-wizard__actions-spacer {
    flex: 1;
    min-width: 0;
}

.kp-book-wizard__next {
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.62rem 1.35rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(45, 74, 62, 0.2);
}

@media (max-width: 480px) {
    .kp-book-wizard__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .kp-book-wizard__actions-spacer {
        display: none;
    }

    .kp-book-wizard__next {
        width: 100%;
        justify-content: center;
    }

    .kp-book-wizard__actions .kp-btn--ghost {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kp-book-stepper__item.is-current .kp-book-stepper__circle,
    .kp-radio-card--wizard:has(:checked) {
        transform: none;
    }
}

html[data-theme="dark"] .kp-book-stepper__list::before {
    background: linear-gradient(90deg, rgba(51, 65, 85, 0.35) 0%, rgba(71, 85, 105, 0.55) 50%, rgba(51, 65, 85, 0.35) 100%);
}

html[data-theme="dark"] .kp-book-stepper__circle {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(100, 116, 139, 0.45);
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-book-stepper__item.is-done .kp-book-stepper__circle {
    background: linear-gradient(145deg, rgba(61, 107, 82, 0.85) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-color: rgba(134, 212, 168, 0.35);
    color: #f8fafc;
}

html[data-theme="dark"] .kp-book-stepper__item.is-current .kp-book-stepper__circle {
    border-color: #86d4a8;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 0 0 3px rgba(106, 191, 140, 0.2);
}

html[data-theme="dark"] .kp-book-stepper__item.is-upcoming .kp-book-stepper__circle {
    background: rgba(15, 23, 42, 0.65);
    color: #64748b;
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-book-stepper__label {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-book-stepper__item.is-current .kp-book-stepper__label {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-book-stepper__item.is-done .kp-book-stepper__label {
    color: #86d4a8;
}

html[data-theme="dark"] a.kp-book-stepper__hit:hover {
    background: rgba(51, 65, 85, 0.35);
}

html[data-theme="dark"] .kp-book-wizard__card {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.96) 55%, rgba(11, 17, 32, 0.98) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 18px 48px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-book-wizard__summary {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-book-wizard__summary-eyebrow {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-book-wizard__summary-main {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-book-wizard__summary-slot {
    border-top-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-book-wizard__summary-slot-label {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-book-wizard__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-book-wizard__legend {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-radio-card--wizard {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-radio-card--wizard:hover {
    border-color: rgba(100, 116, 139, 0.55);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .kp-radio-card--wizard:has(:checked) {
    border-color: rgba(134, 212, 168, 0.45);
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.85) 0%, rgba(61, 107, 82, 0.18) 100%);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .kp-radio-card__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-radio-card__line {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-radio-card__meta {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-book-wizard__actions {
    border-top-color: rgba(51, 65, 85, 0.5);
}

html[data-theme="dark"] .kp-book-wizard__form--fields .kp-field label {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-book-wizard__form--fields .kp-field input {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(51, 65, 85, 0.65);
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-book-wizard__form--fields .kp-field input::placeholder {
    color: #64748b;
}

html[data-theme="dark"] .kp-book-wizard__form--fields .kp-field input:focus {
    border-color: #6abf8c;
    box-shadow: 0 0 0 3px rgba(106, 191, 140, 0.2);
}

.kp-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0;
}

.kp-form {
    max-width: 520px;
}

.kp-form--narrow {
    max-width: 480px;
}

.kp-field {
    margin-bottom: 1rem;
}

.kp-field label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: var(--kp-sage-deep);
}

.kp-field input,
.kp-field textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--kp-line);
    border-radius: 10px;
    font: inherit;
}

.kp-field-error {
    color: #a33;
    font-size: 0.82rem;
}

.kp-radio-card {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--kp-line);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.kp-radio-card input {
    margin-top: 0.2rem;
}

.kp-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.kp-chip {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--kp-line);
    font-size: 0.82rem;
    text-decoration: none;
    color: var(--kp-muted);
}

.kp-chip.is-active {
    background: var(--kp-sage);
    color: #fff;
    border-color: var(--kp-sage);
}

.kp-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--kp-line);
    margin: 1rem 0;
}

.kp-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.kp-video-native {
    margin: 1.25rem 0 1.5rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--kp-line);
    background: #0d1410;
    box-shadow: 0 16px 40px rgba(20, 32, 24, 0.12);
}

.kp-video-native video {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(70vh, 720px);
    vertical-align: middle;
}

.kp-pagination {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.kp-pagination__muted {
    opacity: 0.45;
}

html[data-theme="dark"] .kp-pagination a {
    color: #86d4a8;
    font-weight: 600;
}

html[data-theme="dark"] .kp-pagination a:hover {
    color: #a7e8c3;
}

html[data-theme="dark"] .kp-pagination__muted {
    color: #64748b;
    opacity: 1;
}

/* —— Video library (public index) —— */
.kp-video-library {
    margin-bottom: 3rem;
}

.kp-video-library__hero {
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
    border-bottom: 1px solid rgba(45, 74, 62, 0.1);
}

.kp-video-library__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.6rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
}

.kp-video-library__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(2rem, 4vw, 2.65rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    color: var(--kp-sage-deep);
}

.kp-video-library__lede {
    margin: 0;
    max-width: 40rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

.kp-video-library__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.kp-video-library__toolbar-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-sage);
    flex-shrink: 0;
}

.kp-video-library__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.kp-video-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 1rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(45, 74, 62, 0.14);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.kp-video-chip:hover {
    border-color: rgba(45, 74, 62, 0.28);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(30, 51, 40, 0.08);
}

.kp-video-chip.is-active {
    background: var(--kp-sage);
    color: #fff;
    border-color: var(--kp-sage);
    box-shadow: 0 4px 16px rgba(45, 74, 62, 0.22);
}

.kp-video-chip:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
}

.kp-video-library__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
    gap: clamp(1.15rem, 2.5vw, 1.65rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.kp-video-library__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 16px;
    border: 1px dashed rgba(45, 74, 62, 0.2);
    background: rgba(232, 240, 234, 0.35);
}

.kp-video-library__empty a {
    font-weight: 600;
    color: var(--kp-sage);
}

.kp-video-tile {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(168deg, #ffffff 0%, #fafdfb 48%, #f3f8f4 100%);
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 14px 36px rgba(30, 51, 40, 0.07);
    transition: border-color 0.22s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.kp-video-tile:hover {
    border-color: rgba(45, 74, 62, 0.2);
    box-shadow:
        0 4px 14px rgba(20, 32, 24, 0.06),
        0 22px 48px rgba(30, 51, 40, 0.11);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .kp-video-tile:hover {
        transform: none;
    }
}

.kp-video-tile__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(45, 74, 62, 0.12) 0%, rgba(232, 240, 234, 0.5) 100%);
    border-bottom: 1px solid rgba(45, 74, 62, 0.08);
}

.kp-video-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.35s ease;
}

.kp-video-tile:hover .kp-video-tile__media img {
    transform: scale(1.04);
    filter: saturate(1.06);
}

.kp-video-tile__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-sage);
    opacity: 0.85;
}

.kp-video-tile__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 32, 24, 0.35);
    color: #fff;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.kp-video-tile__play svg {
    width: 3rem;
    height: 3rem;
    padding: 0.65rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.kp-video-tile:hover .kp-video-tile__play,
.kp-video-tile:focus-within .kp-video-tile__play {
    opacity: 1;
}

.kp-video-tile__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem 1.1rem 1.15rem;
    gap: 0.35rem;
    min-height: 0;
}

.kp-video-tile__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    margin-bottom: 0.15rem;
}

.kp-video-tile__badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.22rem 0.5rem;
    border-radius: 6px;
    color: var(--kp-sage-deep);
    background: linear-gradient(180deg, rgba(184, 148, 46, 0.22) 0%, rgba(184, 148, 46, 0.12) 100%);
    border: 1px solid rgba(184, 148, 46, 0.35);
}

.kp-video-tile__cat {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kp-sage);
}

.kp-video-tile__title {
    font-family: var(--kp-font-serif);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    margin: 0.15rem 0 0.25rem;
}

.kp-video-tile__title a {
    color: var(--kp-sage-deep);
    text-decoration: none;
    transition: color 0.15s ease;
}

.kp-video-tile__title a:hover {
    color: var(--kp-sage);
}

.kp-video-tile__title a:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
    border-radius: 4px;
}

.kp-video-tile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0 0 0.35rem;
}

.kp-video-tile__tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    color: var(--kp-sage-deep);
    background: rgba(232, 240, 234, 0.9);
    border: 1px solid rgba(45, 74, 62, 0.1);
}

.kp-video-tile__excerpt {
    margin: 0 0 0.75rem;
    font-size: 0.86rem;
    line-height: 1.5;
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
}

.kp-video-tile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.kp-video-tile__actions .kp-btn--solid {
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 74, 62, 0.18);
}

.kp-video-library__pagination {
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(45, 74, 62, 0.1);
}

html[data-theme="dark"] .kp-video-library__hero {
    border-bottom-color: rgba(51, 65, 85, 0.5);
}

html[data-theme="dark"] .kp-video-library__eyebrow {
    color: #86d4a8;
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(106, 191, 140, 0.28);
}

html[data-theme="dark"] .kp-video-library__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-video-library__toolbar-label {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-video-chip {
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.55);
    border-color: rgba(100, 116, 139, 0.4);
}

html[data-theme="dark"] .kp-video-chip:hover {
    background: rgba(51, 65, 85, 0.75);
    border-color: rgba(148, 163, 184, 0.45);
    color: #f8fafc;
}

html[data-theme="dark"] .kp-video-chip.is-active {
    background: linear-gradient(145deg, rgba(61, 107, 82, 0.95) 0%, rgba(45, 74, 62, 0.98) 100%);
    border-color: rgba(134, 212, 168, 0.35);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-video-library__empty {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(100, 116, 139, 0.4);
}

html[data-theme="dark"] .kp-video-library__empty a {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-video-tile {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.92) 52%, rgba(11, 17, 32, 0.96) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 14px 40px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .kp-video-tile:hover {
    border-color: rgba(100, 116, 139, 0.55);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.25),
        0 24px 56px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .kp-video-tile__media {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.5) 100%);
    border-bottom-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-video-tile__placeholder {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-video-tile__badge {
    color: #fef3c7;
    background: rgba(184, 148, 46, 0.15);
    border-color: rgba(251, 191, 36, 0.35);
}

html[data-theme="dark"] .kp-video-tile__cat {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-video-tile__title a {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-video-tile__title a:hover {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-video-tile__tag {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-video-library__pagination {
    border-top-color: rgba(51, 65, 85, 0.5);
}

/* —— Blog library (public index) —— */
.kp-blog-library {
    margin-bottom: 3rem;
}

.kp-blog-library__hero {
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
    border-bottom: 1px solid rgba(45, 74, 62, 0.1);
}

.kp-blog-library__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.6rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
}

.kp-blog-library__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(2rem, 4vw, 2.65rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    color: var(--kp-sage-deep);
}

.kp-blog-library__lede {
    margin: 0;
    max-width: 40rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

.kp-blog-library__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
    gap: clamp(1.15rem, 2.5vw, 1.65rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.kp-blog-library__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 16px;
    border: 1px dashed rgba(45, 74, 62, 0.2);
    background: rgba(232, 240, 234, 0.35);
}

.kp-blog-tile {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(168deg, #ffffff 0%, #fafdfb 48%, #f3f8f4 100%);
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 14px 36px rgba(30, 51, 40, 0.07);
    transition: border-color 0.22s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.kp-blog-tile:hover {
    border-color: rgba(45, 74, 62, 0.2);
    box-shadow:
        0 4px 14px rgba(20, 32, 24, 0.06),
        0 22px 48px rgba(30, 51, 40, 0.11);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .kp-blog-tile:hover {
        transform: none;
    }
}

.kp-blog-tile__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(45, 74, 62, 0.1) 0%, rgba(232, 240, 234, 0.45) 100%);
    border-bottom: 1px solid rgba(45, 74, 62, 0.08);
}

.kp-blog-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.35s ease;
}

.kp-blog-tile:hover .kp-blog-tile__media img {
    transform: scale(1.04);
    filter: saturate(1.05);
}

.kp-blog-tile__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-sage);
    opacity: 0.88;
}

.kp-blog-tile__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem 1.1rem 1.15rem;
    gap: 0.35rem;
    min-height: 0;
}

.kp-blog-tile__date {
    margin: 0 0 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kp-sage);
}

.kp-blog-tile__date time {
    color: inherit;
}

.kp-blog-tile__title {
    font-family: var(--kp-font-serif);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    margin: 0 0 0.25rem;
}

.kp-blog-tile__title a {
    color: var(--kp-sage-deep);
    text-decoration: none;
    transition: color 0.15s ease;
}

.kp-blog-tile__title a:hover {
    color: var(--kp-sage);
}

.kp-blog-tile__title a:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 3px;
    border-radius: 4px;
}

.kp-blog-tile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0 0 0.35rem;
}

.kp-blog-tile__tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    color: var(--kp-sage-deep);
    background: rgba(232, 240, 234, 0.9);
    border: 1px solid rgba(45, 74, 62, 0.1);
}

.kp-blog-tile__excerpt {
    margin: 0 0 0.75rem;
    font-size: 0.86rem;
    line-height: 1.5;
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
}

.kp-blog-tile__actions {
    margin-top: auto;
    padding-top: 0.35rem;
}

.kp-blog-tile__actions .kp-btn--solid {
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 74, 62, 0.18);
}

.kp-blog-library__pagination {
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(45, 74, 62, 0.1);
}

html[data-theme="dark"] .kp-blog-library__hero {
    border-bottom-color: rgba(51, 65, 85, 0.5);
}

html[data-theme="dark"] .kp-blog-library__eyebrow {
    color: #86d4a8;
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(106, 191, 140, 0.28);
}

html[data-theme="dark"] .kp-blog-library__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-blog-library__empty {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(100, 116, 139, 0.4);
}

html[data-theme="dark"] .kp-blog-tile {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.92) 52%, rgba(11, 17, 32, 0.96) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 14px 40px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .kp-blog-tile:hover {
    border-color: rgba(100, 116, 139, 0.55);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.25),
        0 24px 56px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .kp-blog-tile__media {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.5) 100%);
    border-bottom-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-blog-tile__placeholder {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-blog-tile__date {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-blog-tile__title a {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-blog-tile__title a:hover {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-blog-tile__tag {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-blog-library__pagination {
    border-top-color: rgba(51, 65, 85, 0.5);
}

/* —— Contact page —— */
.kp-contact-page {
    margin-bottom: 3rem;
}

.kp-contact-page__status {
    margin-bottom: 1.25rem;
}

.kp-contact-page__hero {
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
    border-bottom: 1px solid rgba(45, 74, 62, 0.1);
}

.kp-contact-page__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.6rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(45, 74, 62, 0.12);
    border-radius: 999px;
}

.kp-contact-page__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(2rem, 4vw, 2.65rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    color: var(--kp-sage-deep);
}

.kp-contact-page__lede {
    margin: 0;
    max-width: 40rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

.kp-contact-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

@media (max-width: 820px) {
    .kp-contact-page__grid {
        grid-template-columns: 1fr;
    }
}

.kp-contact-page__panel {
    border-radius: 20px;
    padding: clamp(1.25rem, 3vw, 1.85rem);
    background: linear-gradient(168deg, #ffffff 0%, #fafdfb 48%, #f2f7f3 100%);
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow:
        0 1px 2px rgba(20, 32, 24, 0.04),
        0 16px 40px rgba(30, 51, 40, 0.07);
}

.kp-contact-page__panel::before {
    content: "";
    display: block;
    height: 3px;
    margin: calc(-1 * clamp(1.25rem, 3vw, 1.85rem)) calc(-1 * clamp(1.25rem, 3vw, 1.85rem)) clamp(1rem, 2vw, 1.25rem);
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, var(--kp-sage-deep) 0%, var(--kp-sage) 45%, rgba(184, 148, 46, 0.75) 100%);
    opacity: 0.9;
}

.kp-contact-page__panel-title {
    font-family: var(--kp-font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
    color: var(--kp-sage-deep);
}

.kp-contact-page__panel-intro {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 36rem;
}

.kp-contact-page__form {
    max-width: none;
    margin: 0;
}

.kp-contact-page .kp-field {
    margin-bottom: 1.1rem;
}

.kp-contact-page .kp-field label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--kp-sage-deep);
    margin-bottom: 0.42rem;
}

.kp-contact-page .kp-field input,
.kp-contact-page .kp-field textarea {
    padding: 0.72rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(45, 74, 62, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: var(--kp-ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.kp-contact-page .kp-field input::placeholder,
.kp-contact-page .kp-field textarea::placeholder {
    color: rgba(92, 109, 98, 0.75);
}

.kp-contact-page .kp-field input:hover,
.kp-contact-page .kp-field textarea:hover {
    border-color: rgba(45, 74, 62, 0.22);
    background: #ffffff;
}

.kp-contact-page .kp-field input:focus,
.kp-contact-page .kp-field textarea:focus {
    outline: none;
    border-color: var(--kp-sage);
    box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
    background: #ffffff;
}

.kp-contact-page .kp-field textarea {
    min-height: 9rem;
    resize: vertical;
    line-height: 1.5;
}

.kp-contact-page__form-actions {
    margin-top: 0.25rem;
}

.kp-contact-page__submit {
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.62rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(45, 74, 62, 0.2);
}

.kp-contact-page__channels {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.kp-contact-page__channel {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid rgba(45, 74, 62, 0.1);
    background: rgba(255, 255, 255, 0.65);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

a.kp-contact-page__channel:hover {
    border-color: rgba(45, 74, 62, 0.22);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(30, 51, 40, 0.08);
}

a.kp-contact-page__channel:focus-visible {
    outline: 2px solid var(--kp-sage);
    outline-offset: 2px;
}

.kp-contact-page__channel--static {
    cursor: default;
}

.kp-contact-page__channel-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kp-sage);
}

.kp-contact-page__channel-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
    word-break: break-word;
}

a.kp-contact-page__channel .kp-contact-page__channel-value {
    color: var(--kp-sage);
}

a.kp-contact-page__channel:hover .kp-contact-page__channel-value {
    color: var(--kp-sage-deep);
}

.kp-contact-page__wa {
    margin: 0;
}

.kp-contact-page__wa-btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(45, 74, 62, 0.18);
}

html[data-theme="dark"] .kp-contact-page__hero {
    border-bottom-color: rgba(51, 65, 85, 0.5);
}

html[data-theme="dark"] .kp-contact-page__eyebrow {
    color: #86d4a8;
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(106, 191, 140, 0.28);
}

html[data-theme="dark"] .kp-contact-page__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-contact-page__panel {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.92) 52%, rgba(11, 17, 32, 0.96) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 16px 44px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .kp-contact-page__panel-title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-contact-page .kp-field label {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-contact-page .kp-field input,
html[data-theme="dark"] .kp-contact-page .kp-field textarea {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(100, 116, 139, 0.45);
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-contact-page .kp-field input::placeholder,
html[data-theme="dark"] .kp-contact-page .kp-field textarea::placeholder {
    color: #64748b;
}

html[data-theme="dark"] .kp-contact-page .kp-field input:hover,
html[data-theme="dark"] .kp-contact-page .kp-field textarea:hover {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.5);
}

html[data-theme="dark"] .kp-contact-page .kp-field input:focus,
html[data-theme="dark"] .kp-contact-page .kp-field textarea:focus {
    border-color: #6abf8c;
    box-shadow: 0 0 0 3px rgba(106, 191, 140, 0.2);
    background: rgba(15, 23, 42, 0.92);
}

html[data-theme="dark"] .kp-contact-page .kp-field-error {
    color: #fca5a5;
}

html[data-theme="dark"] .kp-contact-page__channel {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] a.kp-contact-page__channel:hover {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(100, 116, 139, 0.5);
}

html[data-theme="dark"] .kp-contact-page__channel-label {
    color: #86d4a8;
}

html[data-theme="dark"] .kp-contact-page__channel-value {
    color: #e2e8f0;
}

html[data-theme="dark"] a.kp-contact-page__channel .kp-contact-page__channel-value {
    color: #86d4a8;
}

html[data-theme="dark"] a.kp-contact-page__channel:hover .kp-contact-page__channel-value {
    color: #a7e8c3;
}

html[data-theme="dark"] .kp-contact-page__submit,
html[data-theme="dark"] .kp-contact-page__wa-btn {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.kp-alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.kp-alert--ok {
    background: rgba(45, 74, 62, 0.1);
    border: 1px solid rgba(45, 74, 62, 0.2);
    color: var(--kp-sage-deep);
}

.kp-alert--err {
    background: rgba(160, 60, 60, 0.08);
    border: 1px solid rgba(160, 60, 60, 0.25);
    color: #822;
}

.kp-link-btn {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--kp-sage);
    text-decoration: none;
}

.kp-link-btn:hover {
    text-decoration: underline;
}

.kp-modules {
    color: var(--kp-muted);
    line-height: 1.55;
}

.kp-module-body {
    margin-top: 0.35rem;
    font-size: 0.92rem;
}

/* Public course detail — LMS-style catalog page */
.kp-course-page {
    margin-bottom: 2.5rem;
}

.kp-course-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.86rem;
    margin-bottom: 1.25rem;
    color: var(--kp-muted);
}

.kp-course-breadcrumb a {
    color: var(--kp-sage);
    font-weight: 600;
    text-decoration: none;
}

.kp-course-breadcrumb a:hover {
    text-decoration: underline;
}

.kp-course-breadcrumb__sep {
    opacity: 0.45;
    user-select: none;
}

.kp-course-breadcrumb__current {
    color: var(--kp-ink);
    font-weight: 600;
    max-width: 100%;
}

.kp-course-page__flash {
    margin-bottom: 1.25rem;
}

.kp-course-hero {
    margin-bottom: 2.25rem;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 240, 234, 0.45) 45%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow: 0 20px 56px rgba(20, 32, 24, 0.07);
    overflow: hidden;
}

.kp-course-hero__inner {
    padding: 1.75rem 1.35rem 2rem;
}

@media (min-width: 640px) {
    .kp-course-hero__inner {
        padding: 2rem 2rem 2.25rem;
    }
}

.kp-course-hero__grid {
    display: grid;
    gap: 1.75rem;
    align-items: center;
}

@media (min-width: 900px) {
    .kp-course-hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 2rem;
        align-items: stretch;
    }
}

.kp-course-hero__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage);
}

.kp-course-hero__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 1.1rem;
    color: var(--kp-sage-deep);
}

.kp-course-stats {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
}

.kp-course-stats__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 4.25rem;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--kp-line);
}

.kp-course-stats__value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--kp-sage-deep);
    line-height: 1.1;
}

.kp-course-stats__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--kp-muted);
    margin-top: 0.2rem;
}

.kp-course-stats__item--badge .kp-course-stats__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    background: rgba(184, 148, 46, 0.18);
    border: 1px solid rgba(184, 148, 46, 0.35);
}

.kp-course-stats__item--badge .kp-course-stats__label {
    margin-top: 0.35rem;
}

.kp-course-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
    align-items: center;
}

.kp-course-hero__enroll {
    display: inline;
    margin: 0;
}

.kp-course-hero__hint {
    margin: 0.85rem 0 0;
    max-width: 36rem;
    font-size: 0.92rem;
}

.kp-course-hero__enrolled-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    max-width: 36rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
}

.kp-course-hero__enrolled-dot {
    flex-shrink: 0;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.38rem;
    border-radius: 50%;
    background: #2d8a54;
    box-shadow: 0 0 0 4px rgba(45, 138, 84, 0.2);
}

.kp-course-hero__media-wrap {
    min-width: 0;
}

.kp-course-hero__media {
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
    border: 1px solid var(--kp-line);
    box-shadow: 0 12px 36px rgba(20, 32, 24, 0.1);
    background: var(--kp-soft);
}

.kp-course-hero__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    vertical-align: middle;
}

.kp-course-hero__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    min-height: 180px;
    background: linear-gradient(150deg, rgba(45, 74, 62, 0.12), rgba(45, 74, 62, 0.03));
}

.kp-course-hero__placeholder-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage);
    opacity: 0.85;
}

.kp-course-body__grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 960px) {
    .kp-course-body__grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
        gap: 2.5rem;
    }
}

.kp-course-main {
    min-width: 0;
}

.kp-course-panel {
    padding: 1.5rem 1.35rem 1.65rem;
    margin-bottom: 1.75rem;
    border-radius: 16px;
    background: var(--kp-card);
    border: 1px solid var(--kp-line);
    box-shadow: 0 8px 28px rgba(20, 32, 24, 0.04);
}

@media (min-width: 640px) {
    .kp-course-panel {
        padding: 1.65rem 1.75rem 1.85rem;
    }
}

.kp-course-panel__h {
    font-family: var(--kp-font-serif);
    font-size: 1.25rem;
    margin: 0 0 0.85rem;
    color: var(--kp-sage-deep);
}

.kp-course-panel__prose {
    font-size: 1.02rem;
    line-height: 1.65;
}

.kp-course-curriculum__head {
    margin-bottom: 1.25rem;
}

.kp-course-curriculum__title {
    font-family: var(--kp-font-serif);
    font-size: 1.35rem;
    margin: 0 0 0.4rem;
    color: var(--kp-sage-deep);
}

.kp-course-curriculum__sub {
    margin: 0;
    max-width: 42rem;
    font-size: 0.95rem;
}

.kp-course-curriculum__empty {
    margin: 0;
}

.kp-course-outline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.kp-course-outline__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 1.15rem;
    align-items: start;
    padding: 1.1rem 1.15rem;
    border-radius: 14px;
    background: var(--kp-card);
    border: 1px solid var(--kp-line);
    box-shadow: 0 4px 16px rgba(20, 32, 24, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kp-course-outline__item:hover {
    border-color: rgba(45, 74, 62, 0.2);
    box-shadow: 0 10px 28px rgba(20, 32, 24, 0.06);
}

.kp-course-outline__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.35rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    background: linear-gradient(145deg, var(--kp-sage-deep), var(--kp-sage));
}

.kp-course-outline__heading {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    line-height: 1.3;
    color: var(--kp-sage-deep);
}

.kp-course-outline__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.kp-course-aside {
    position: relative;
}

@media (min-width: 960px) {
    .kp-course-aside {
        position: sticky;
        top: 5.5rem;
    }
}

.kp-course-rail {
    padding: 1.35rem 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--kp-line);
    background: linear-gradient(180deg, #fff 0%, rgba(232, 240, 234, 0.35) 100%);
    box-shadow: 0 12px 32px rgba(20, 32, 24, 0.06);
}

.kp-course-rail__h {
    font-family: var(--kp-font-serif);
    font-size: 1.15rem;
    margin: 0 0 0.65rem;
    color: var(--kp-sage-deep);
}

.kp-course-rail__price {
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
}

.kp-course-rail__amount {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--kp-sage-deep);
}

.kp-course-rail__per {
    font-size: 0.88rem;
}

.kp-course-rail__bullets {
    margin: 0 0 1.25rem;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--kp-muted);
}

.kp-course-rail__bullets li {
    margin-bottom: 0.4rem;
}

.kp-course-rail__bullets li:last-child {
    margin-bottom: 0;
}

.kp-course-rail__ctas {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.kp-course-rail__note {
    margin: 0 0 0.65rem;
    font-size: 0.86rem;
}

.kp-course-aside__back {
    display: inline-block;
    margin-top: 1rem;
    margin-left: 0.15rem;
}

.kp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.kp-dash-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.kp-dash-panel h2 {
    font-family: var(--kp-font-serif);
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.kp-dash-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--kp-line);
}

.kp-dash-row:last-child {
    border-bottom: none;
}

/* —— Client LMS (course hub, quiz, certificate) —— */
.kp-lms-breadcrumb {
    font-size: 0.88rem;
    color: var(--kp-muted);
    margin-bottom: 1rem;
}

.kp-lms-breadcrumb a {
    color: var(--kp-sage);
    font-weight: 600;
    text-decoration: none;
}

.kp-lms-breadcrumb a:hover {
    text-decoration: underline;
}

.kp-lms-breadcrumb span[aria-hidden="true"] {
    margin: 0 0.35rem;
    opacity: 0.5;
}

.kp-lms-hero {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 768px) {
    .kp-lms-hero {
        grid-template-columns: 1fr minmax(0, 280px);
    }
}

.kp-lms-hero__media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--kp-line);
    line-height: 0;
    box-shadow: 0 12px 32px rgba(20, 32, 24, 0.08);
}

.kp-lms-hero__media img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.kp-lms-badge {
    display: inline-block;
    margin: 0.35rem 0 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(45, 74, 62, 0.12);
    color: var(--kp-sage-deep);
    border: 1px solid rgba(45, 74, 62, 0.2);
}

.kp-lms-section {
    margin-bottom: 1rem;
}

.kp-lms-intro {
    margin-top: 0;
    margin-bottom: 1rem;
}

.kp-lms-sub {
    font-size: 0.92rem;
    margin: 1rem 0 0.5rem;
    color: var(--kp-sage-deep);
}

.kp-lms-resource-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
}

.kp-lms-resource-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--kp-line);
}

.kp-lms-resource-list li:last-child {
    border-bottom: none;
}

.kp-lms-resource-list a {
    font-weight: 600;
    color: var(--kp-sage);
    text-decoration: none;
}

.kp-lms-resource-list a:hover {
    text-decoration: underline;
}

.kp-lms-quiz-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kp-lms-quiz-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--kp-line);
}

.kp-lms-quiz-row:last-child {
    border-bottom: none;
}

.kp-lms-pill {
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    background: var(--kp-sage-deep);
    color: #fff;
    vertical-align: middle;
}

.kp-lms-soon {
    font-size: 0.85rem;
}

.kp-lms-modules {
    margin-bottom: 2rem;
}

.kp-lms-module {
    margin-bottom: 1rem;
}

.kp-lms-module__head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.kp-lms-module__n {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--kp-soft);
    border: 1px solid var(--kp-line);
    font-weight: 700;
    color: var(--kp-sage-deep);
    font-size: 0.95rem;
}

.kp-lms-module__title {
    font-family: var(--kp-font-serif);
    font-size: 1.2rem;
    margin: 0 0 0.35rem;
    color: var(--kp-sage-deep);
}

.kp-lms-module__body {
    font-size: 0.92rem;
    margin: 0;
}

.kp-lms-quiz-form .kp-lms-question {
    margin-bottom: 1rem;
}

.kp-lms-question__legend {
    font-weight: 600;
    color: var(--kp-sage-deep);
    padding: 0 0 0.5rem;
    line-height: 1.45;
}

.kp-lms-question__num {
    display: inline-block;
    min-width: 1.5rem;
    color: var(--kp-sage);
}

.kp-lms-answers {
    margin-top: 0.5rem;
}

.kp-lms-cert-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.kp-lms-cert {
    background: linear-gradient(165deg, #faf9f6 0%, #f0ebe3 100%);
    border: 1px solid var(--kp-line);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(20, 32, 24, 0.08);
}

.kp-lms-cert__border {
    border: 2px solid rgba(45, 74, 62, 0.35);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.kp-lms-cert__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-muted);
}

.kp-lms-cert__title {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0 0 0.35rem;
    color: var(--kp-sage-deep);
}

.kp-lms-cert__subtitle {
    margin: 0 0 1.5rem;
    color: var(--kp-muted);
    font-size: 1rem;
}

.kp-lms-cert__present {
    margin: 0;
    font-size: 0.9rem;
    color: var(--kp-muted);
}

.kp-lms-cert__name {
    margin: 0.5rem 0 0.25rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--kp-sage-deep);
}

.kp-lms-cert__course {
    margin: 1rem 0 0.25rem;
    font-size: 0.9rem;
    color: var(--kp-muted);
}

.kp-lms-cert__course-title {
    margin: 0;
    font-family: var(--kp-font-serif);
    font-size: 1.35rem;
    color: var(--kp-sage);
}

.kp-lms-cert__date {
    margin: 1.75rem 0 0;
    font-size: 0.88rem;
    color: var(--kp-muted);
}

/* Sign in / Create account — inside main site (Butterfly-style: no duplicate nav column) */
.kp-auth-page {
    width: 100%;
    background: #f1f5f9;
    /* Equal space above & below the auth block (no tall min-height dead zone) */
    padding-block: clamp(2rem, 5vw, 3rem);
    box-sizing: border-box;
}

.kp-auth-page__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
}

.kp-auth-page__tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem;
    margin: 0 auto 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.kp-auth-page__tab {
    display: inline-block;
    padding: 0.45rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.kp-auth-page__tab:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.05);
}

.kp-auth-page__tab.is-active {
    color: #fff;
    background: linear-gradient(180deg, #3d5f4f 0%, #2d4a3e 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.kp-auth-page__tab:focus-visible {
    outline: 2px solid rgba(45, 74, 62, 0.45);
    outline-offset: 2px;
}

.kp-auth-page__intro {
    width: 100%;
    max-width: 28rem;
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #475569;
    text-align: center;
}

html[data-theme="dark"] .kp-auth-page {
    background: #0b1120;
}

html[data-theme="dark"] .kp-auth-page__tabs {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-auth-page__tab {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-auth-page__tab:hover {
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.5);
}

html[data-theme="dark"] .kp-auth-page__intro {
    color: #94a3b8;
}

/* —— Homepage brand redesign (grid rules consolidated above) —— */

.kp-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.kp-trust-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(45, 74, 62, 0.1);
    border-radius: 999px;
}

.kp-trust-badges li::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--kp-gold);
    flex-shrink: 0;
}

.kp-hero__presence-card {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(232, 240, 234, 0.75) 100%);
    border: 1px solid rgba(45, 74, 62, 0.12);
    box-shadow:
        0 24px 60px rgba(20, 32, 24, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.kp-hero__presence-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 100% 0%, rgba(184, 148, 46, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.kp-hero__presence-mark {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    font-family: var(--kp-font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--kp-sage) 0%, var(--kp-sage-deep) 100%);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(30, 51, 40, 0.25);
}

.kp-hero__presence-name {
    margin: 0 0 0.5rem;
    font-family: var(--kp-font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
}

.kp-hero__presence-essence {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--kp-muted);
}

.kp-hero__presence-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(45, 74, 62, 0.1);
    padding-top: 1rem;
}

.kp-hero__presence-stats li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-align: center;
}

.kp-hero__presence-stat-val {
    font-family: var(--kp-font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
}

.kp-hero__presence-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kp-muted);
}

.kp-pillars__head,
.kp-audience__head,
.kp-journey__head {
    max-width: 42rem;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.kp-pillars__eyebrow,
.kp-audience__eyebrow,
.kp-journey__eyebrow,
.kp-coach-preview__eyebrow,
.kp-library__eyebrow {
    display: inline-flex;
    margin: 0 0 0.65rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(45, 74, 62, 0.06);
    border: 1px solid rgba(45, 74, 62, 0.1);
    border-radius: 999px;
}

.kp-pillars__title,
.kp-audience__title,
.kp-journey__title,
.kp-coach-preview__title {
    margin: 0 0 0.65rem;
    font-family: var(--kp-font-serif);
    font-size: clamp(1.55rem, 3vw, 2rem);
    line-height: 1.2;
    color: var(--kp-sage-deep);
}

.kp-pillars__lede,
.kp-audience__lede,
.kp-journey__lede,
.kp-coach-preview__lede {
    margin: 0;
    max-width: 52ch;
    line-height: 1.65;
}

.kp-pillars__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .kp-pillars__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kp-pillar-card {
    position: relative;
    padding: 1.35rem 1.25rem 1.4rem;
    background: var(--kp-card);
    border: 1px solid rgba(45, 74, 62, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(20, 32, 24, 0.04);
}

.kp-pillar-card__accent {
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--kp-sage), var(--kp-gold));
    opacity: 0.65;
}

.kp-pillar-card__title {
    margin: 0.5rem 0 0.45rem;
    font-family: var(--kp-font-serif);
    font-size: 1.1rem;
    color: var(--kp-sage-deep);
}

.kp-pillar-card__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.kp-audience__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .kp-audience__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kp-audience-card {
    padding: 1.25rem 1.2rem 1.35rem;
    background: var(--kp-card);
    border: 1px solid rgba(45, 74, 62, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 32, 24, 0.04);
}

.kp-audience-card__index {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--kp-gold);
}

.kp-audience-card__title {
    margin: 0 0 0.4rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
}

.kp-audience-card__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.kp-audience__cta {
    margin: clamp(1.75rem, 3vw, 2.25rem) 0 0;
    text-align: center;
}

.kp-journey__steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .kp-journey__steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

.kp-journey-step {
    position: relative;
    display: flex;
    gap: 0.85rem;
    padding: 1.15rem 0;
}

@media (min-width: 768px) {
    .kp-journey-step {
        flex-direction: column;
        padding: 1.25rem 1rem 1.35rem;
        background: var(--kp-card);
        border: 1px solid rgba(45, 74, 62, 0.08);
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(20, 32, 24, 0.04);
    }
}

.kp-journey-step__num {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: var(--kp-sage);
    border-radius: 50%;
}

.kp-journey-step__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
}

.kp-journey-step__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.58;
}

.kp-coach-preview__grid {
    display: grid;
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: center;
}

@media (min-width: 860px) {
    .kp-coach-preview__grid {
        grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1fr);
    }
}

.kp-coach-preview__portrait {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    max-width: 18rem;
    margin: 0 auto;
    border-radius: 20px;
    background:
        radial-gradient(circle at 30% 20%, rgba(184, 148, 46, 0.18) 0%, transparent 45%),
        linear-gradient(160deg, var(--kp-soft) 0%, #fff 55%, rgba(232, 240, 234, 0.9) 100%);
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow: 0 20px 50px rgba(20, 32, 24, 0.07);
}

.kp-coach-preview__monogram {
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    font-family: var(--kp-font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--kp-sage) 0%, var(--kp-sage-deep) 100%);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(30, 51, 40, 0.22);
}

.kp-coach-preview__creds {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.kp-coach-preview__creds li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.35rem;
    font-size: 0.92rem;
    color: var(--kp-muted);
}

.kp-coach-preview__creds li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--kp-gold);
}

.kp-coach-preview__quote {
    margin: 1.35rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--kp-gold);
    border-radius: 0 12px 12px 0;
    background: rgba(45, 74, 62, 0.04);
}

.kp-coach-preview__quote p {
    margin: 0;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--kp-sage-deep);
}

.kp-coach-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

html[data-theme="dark"] .kp-trust-badges li {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-hero__presence-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.75) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .kp-hero__presence-name,
html[data-theme="dark"] .kp-hero__presence-stat-val,
html[data-theme="dark"] .kp-pillars__title,
html[data-theme="dark"] .kp-audience__title,
html[data-theme="dark"] .kp-journey__title,
html[data-theme="dark"] .kp-coach-preview__title,
html[data-theme="dark"] .kp-pillar-card__title,
html[data-theme="dark"] .kp-audience-card__title,
html[data-theme="dark"] .kp-journey-step__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-hero__presence-essence,
html[data-theme="dark"] .kp-coach-preview__creds li {
    color: #94a3b8;
}

html[data-theme="dark"] .kp-pillar-card,
html[data-theme="dark"] .kp-audience-card,
html[data-theme="dark"] .kp-journey-step {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-coach-preview__quote {
    background: rgba(15, 23, 42, 0.5);
}

html[data-theme="dark"] .kp-coach-preview__quote p {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-coach-preview__portrait {
    background:
        radial-gradient(circle at 30% 20%, rgba(184, 148, 46, 0.12) 0%, transparent 45%),
        linear-gradient(160deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-pillars__eyebrow,
html[data-theme="dark"] .kp-audience__eyebrow,
html[data-theme="dark"] .kp-journey__eyebrow,
html[data-theme="dark"] .kp-coach-preview__eyebrow,
html[data-theme="dark"] .kp-library__eyebrow {
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

/* —— Brief-based homepage sections —— */
.kp-hero__presence-role {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kp-gold);
    line-height: 1.45;
}

/* Mission strip — see authoritative block near end of file */

.kp-coach-beats {
    display: grid;
    gap: 1rem;
    margin-top: 1.35rem;
}

.kp-coach-beat {
    padding: 1rem 1.1rem;
    background: rgba(45, 74, 62, 0.04);
    border-left: 3px solid var(--kp-gold);
    border-radius: 0 12px 12px 0;
}

.kp-coach-beat__title {
    margin: 0 0 0.35rem;
    font-family: var(--kp-font-serif);
    font-size: 1.02rem;
    color: var(--kp-sage-deep);
}

.kp-coach-beat__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.kp-miles__head,
.kp-three-a__head,
.kp-expertise__head {
    max-width: 46rem;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.kp-miles__eyebrow,
.kp-three-a__eyebrow,
.kp-expertise__eyebrow,
.kp-diamond__eyebrow {
    display: inline-flex;
    margin: 0 0 0.65rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(45, 74, 62, 0.06);
    border: 1px solid rgba(45, 74, 62, 0.1);
    border-radius: 999px;
}

.kp-miles__title,
.kp-three-a__title,
.kp-expertise__title {
    margin: 0 0 0.35rem;
    font-family: var(--kp-font-serif);
    font-size: clamp(1.65rem, 3.2vw, 2.15rem);
    line-height: 1.15;
    color: var(--kp-sage-deep);
}

.kp-miles__subtitle,
.kp-three-a__subtitle {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--kp-gold);
}

.kp-miles__lede,
.kp-three-a__lede,
.kp-expertise__lede {
    margin: 0;
    line-height: 1.65;
}

.kp-miles__flow {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 900px) {
    .kp-miles__flow {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.65rem;
    }
}

.kp-miles-step {
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1rem 1.25rem;
    background: var(--kp-card);
    border: 1px solid rgba(45, 74, 62, 0.09);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 32, 24, 0.04);
}

.kp-miles-step__letter {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--kp-font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--kp-sage) 0%, var(--kp-sage-deep) 100%);
    border-radius: 10px;
}

.kp-miles-step__title {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--kp-sage-deep);
    line-height: 1.3;
}

.kp-miles-step__tagline {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--kp-gold);
}

.kp-miles-step__text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
}

.kp-three-a__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .kp-three-a__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kp-three-a-step {
    position: relative;
    padding: 1.35rem 1.2rem 1.4rem;
    background: var(--kp-card);
    border: 1px solid rgba(45, 74, 62, 0.09);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(20, 32, 24, 0.04);
}

.kp-three-a-step__index {
    display: inline-flex;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--kp-sage-deep);
    background: rgba(184, 148, 46, 0.14);
    border-radius: 999px;
}

.kp-three-a-step__title {
    margin: 0 0 0.25rem;
    font-family: var(--kp-font-serif);
    font-size: 1.2rem;
    color: var(--kp-sage-deep);
}

.kp-three-a-step__subtitle {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--kp-gold);
}

.kp-three-a-step__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.58;
}

.kp-diamond {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(184, 148, 46, 0.1) 0%, transparent 55%),
        linear-gradient(180deg, #fff 0%, rgba(232, 240, 234, 0.65) 100%);
    border-block: 1px solid rgba(45, 74, 62, 0.08);
}

.kp-diamond__panel {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.kp-diamond__title {
    margin: 0 0 1rem;
    font-family: var(--kp-font-serif);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    line-height: 1.12;
    color: var(--kp-sage-deep);
}

.kp-diamond__lede,
.kp-diamond__middle {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--kp-muted);
}

.kp-diamond__belief {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--kp-sage-deep);
}

.kp-diamond__questions {
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.kp-diamond__questions li {
    padding: 0.35rem 0;
    font-family: var(--kp-font-serif);
    font-size: 1.02rem;
    font-style: italic;
    color: var(--kp-sage-deep);
}

.kp-diamond__cta {
    box-shadow: 0 4px 14px rgba(45, 74, 62, 0.28);
}

.kp-offerings__grid--services {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .kp-offerings__grid--services {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kp-offering-card--service {
    min-width: 0;
}

.kp-offering-card__audience {
    margin: 0.75rem 0 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--kp-muted);
}

.kp-offering-card__audience-label {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kp-gold);
}

.kp-expertise__grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .kp-expertise__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .kp-expertise__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kp-expertise-card {
    padding: 1.1rem 1rem 1.15rem;
    background: var(--kp-card);
    border: 1px solid rgba(45, 74, 62, 0.08);
    border-radius: 12px;
}

.kp-expertise-card__title {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--kp-sage-deep);
    line-height: 1.35;
}

.kp-expertise-card__text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
}

.kp-vision__panel {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.kp-vision__title {
    margin: 0 0 0.75rem;
    font-family: var(--kp-font-serif);
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    color: var(--kp-sage-deep);
}

.kp-vision__lede {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--kp-sage-deep);
    font-weight: 500;
}

.kp-vision__support {
    margin: 0;
    line-height: 1.65;
}

html[data-theme="dark"] .kp-mission-strip {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(30, 41, 59, 0.45) 100%);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-mission-strip__quote p,
html[data-theme="dark"] .kp-miles__title,
html[data-theme="dark"] .kp-three-a__title,
html[data-theme="dark"] .kp-expertise__title,
html[data-theme="dark"] .kp-diamond__title,
html[data-theme="dark"] .kp-diamond__belief,
html[data-theme="dark"] .kp-diamond__questions li,
html[data-theme="dark"] .kp-vision__title,
html[data-theme="dark"] .kp-vision__lede,
html[data-theme="dark"] .kp-miles-step__title,
html[data-theme="dark"] .kp-three-a-step__title,
html[data-theme="dark"] .kp-expertise-card__title,
html[data-theme="dark"] .kp-coach-beat__title {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-coach-beat {
    background: rgba(15, 23, 42, 0.5);
}

html[data-theme="dark"] .kp-miles-step,
html[data-theme="dark"] .kp-three-a-step,
html[data-theme="dark"] .kp-expertise-card {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-diamond {
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(184, 148, 46, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.55) 100%);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-miles__eyebrow,
html[data-theme="dark"] .kp-three-a__eyebrow,
html[data-theme="dark"] .kp-expertise__eyebrow,
html[data-theme="dark"] .kp-diamond__eyebrow {
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-hero__presence-role {
    color: #d4b85a;
}

/* —— Hero (brand) — premium first section —— */
.kp-hero--brand {
    position: relative;
    isolation: isolate;
    min-height: clamp(28rem, 75vh, 40rem);
    display: block;
    width: 100%;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.25rem);
    background:
        radial-gradient(ellipse 85% 65% at 8% 18%, rgba(45, 74, 62, 0.09) 0%, transparent 52%),
        radial-gradient(ellipse 55% 45% at 92% 12%, rgba(184, 148, 46, 0.11) 0%, transparent 48%),
        radial-gradient(ellipse 45% 35% at 75% 88%, rgba(45, 74, 62, 0.06) 0%, transparent 42%),
        linear-gradient(168deg, #fcfdfc 0%, #f3f8f4 42%, #eaf2ec 100%);
    border-bottom: none;
    box-shadow: none;
    overflow: hidden;
}

.kp-hero--brand::before,
.kp-hero--brand::after {
    display: none;
}

.kp-hero__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.kp-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
}

.kp-hero__orb--sage {
    width: min(42vw, 28rem);
    height: min(42vw, 28rem);
    top: -8%;
    right: -6%;
    background: radial-gradient(circle at 35% 35%, rgba(45, 74, 62, 0.14) 0%, rgba(45, 74, 62, 0.03) 55%, transparent 72%);
}

.kp-hero__orb--gold {
    width: min(32vw, 20rem);
    height: min(32vw, 20rem);
    bottom: 8%;
    left: -4%;
    background: radial-gradient(circle at 40% 40%, rgba(184, 148, 46, 0.16) 0%, rgba(184, 148, 46, 0.04) 50%, transparent 70%);
}

.kp-hero__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(45, 74, 62, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 74, 62, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 20%, transparent 75%);
}

.kp-hero--brand .kp-hero__grid {
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.kp-hero--brand .kp-hero__content {
    min-width: 0;
}

.kp-hero--brand .kp-hero__presence {
    min-width: 0;
    width: 100%;
}

@media (min-width: 900px) {
    .kp-hero--brand .kp-hero__presence {
        max-width: 24rem;
        justify-self: end;
    }
}

.kp-hero__eyebrow-wrap {
    margin-bottom: 1.15rem;
}

.kp-hero--brand .kp-hero__eyebrow {
    margin: 0;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--kp-sage);
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.kp-hero--brand .kp-hero__eyebrow::after {
    display: none;
}

.kp-hero__eyebrow-sub {
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--kp-muted);
}

.kp-hero--brand h1 {
    margin: 0 0 1.15rem;
    max-width: none;
    width: 100%;
    font-size: clamp(2.35rem, 5.8vw, 3.55rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.kp-hero__emphasis {
    font-style: italic;
    color: var(--kp-sage);
    position: relative;
}

.kp-hero__emphasis::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 0.35em;
    background: linear-gradient(90deg, rgba(184, 148, 46, 0.35), rgba(184, 148, 46, 0.08));
    border-radius: 2px;
    z-index: -1;
}

.kp-hero--brand .kp-hero__lead {
    margin: 0;
    max-width: 38rem;
    font-size: clamp(1.02rem, 1.5vw, 1.14rem);
    line-height: 1.7;
    color: var(--kp-muted);
}

.kp-hero--brand .kp-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: clamp(1.75rem, 3.5vw, 2.35rem);
}

.kp-btn--hero {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.8rem 1.65rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 999px;
    box-shadow:
        0 4px 18px rgba(45, 74, 62, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.kp-btn--hero:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 28px rgba(45, 74, 62, 0.32),
        0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.kp-btn__arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.kp-btn--hero:hover .kp-btn__arrow {
    transform: translateX(3px);
}

.kp-hero__quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
}

.kp-hero__quick-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
    text-decoration: none;
    padding: 0.2rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.kp-hero__quick-links a:hover {
    color: var(--kp-sage);
    border-bottom-color: rgba(184, 148, 46, 0.55);
}

.kp-hero__quick-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--kp-gold);
    opacity: 0.65;
}

/* Presence card */
.kp-hero__presence-card {
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 28px 72px rgba(20, 32, 24, 0.1),
        0 8px 24px rgba(20, 32, 24, 0.05);
    backdrop-filter: blur(12px);
}

.kp-hero__presence-card::before {
    background: linear-gradient(135deg, rgba(184, 148, 46, 0.08) 0%, transparent 45%, rgba(45, 74, 62, 0.05) 100%);
}

.kp-hero__presence-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1.15rem;
    background: linear-gradient(180deg, rgba(232, 240, 234, 0.55) 0%, transparent 100%);
    border-bottom: 1px solid rgba(45, 74, 62, 0.07);
}

.kp-hero__presence-avatar {
    position: relative;
    flex-shrink: 0;
}

.kp-hero__presence-avatar::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--kp-gold), var(--kp-sage));
    opacity: 0.45;
    z-index: 0;
}

.kp-hero--brand .kp-hero__presence-mark {
    position: relative;
    z-index: 1;
    width: 4.25rem;
    height: 4.25rem;
    margin: 0;
    font-size: 1.65rem;
    border-radius: 16px;
}

.kp-hero__presence-id {
    min-width: 0;
}

.kp-hero--brand .kp-hero__presence-name {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.kp-hero--brand .kp-hero__presence-brands {
    margin: 0.25rem 0 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-muted);
}

.kp-hero__presence-roles {
    margin: 0;
    padding: 1.1rem 1.5rem 0.25rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.kp-hero__presence-roles li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--kp-sage-deep);
}

.kp-hero__presence-roles li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--kp-gold);
    opacity: 0.8;
}

.kp-hero__presence-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.85rem 1.5rem 1.5rem;
    padding: 0;
    list-style: none;
}

.kp-hero__presence-pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--kp-sage-deep);
    background: rgba(45, 74, 62, 0.05);
    border: 1px solid rgba(45, 74, 62, 0.08);
    border-radius: 999px;
}

.kp-hero__pill-icon {
    font-size: 0.55rem;
    color: var(--kp-gold);
    line-height: 1;
}

/* Trust strip — full width footer of hero */
.kp-hero__trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin: clamp(2.25rem, 4vw, 3rem) 0 0;
    padding: 1rem 0 0;
    list-style: none;
    border-top: 1px solid rgba(45, 74, 62, 0.08);
}

.kp-hero__trust-strip li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--kp-muted);
    letter-spacing: 0.02em;
}

.kp-hero__trust-strip li::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--kp-gold);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(184, 148, 46, 0.15);
}

@media (max-width: 899px) {
    .kp-hero--brand {
        min-height: auto;
        padding-top: clamp(2.5rem, 6vw, 3.5rem);
    }

    .kp-hero--brand .kp-hero__grid {
        grid-template-columns: 1fr;
    }

    .kp-hero--brand .kp-hero__presence {
        max-width: none;
        justify-self: stretch;
    }

    .kp-hero__trust-strip {
        justify-content: flex-start;
        gap: 0.65rem 1.15rem;
    }
}

@media (max-width: 520px) {
    .kp-hero--brand h1 {
        font-size: clamp(2rem, 9vw, 2.45rem);
    }

    .kp-hero__presence-header {
        padding: 1.25rem 1.25rem 1rem;
    }

    .kp-hero__presence-roles {
        padding-inline: 1.25rem;
    }

    .kp-hero__presence-pills {
        margin-inline: 1.25rem;
        margin-bottom: 1.25rem;
    }
}

html[data-theme="dark"] .kp-hero.kp-hero--brand {
    background:
        radial-gradient(ellipse 85% 65% at 8% 18%, rgba(45, 74, 62, 0.2) 0%, transparent 52%),
        radial-gradient(ellipse 55% 45% at 92% 12%, rgba(184, 148, 46, 0.12) 0%, transparent 48%),
        linear-gradient(168deg, #0b1120 0%, #0f172a 50%, #111827 100%);
    border-bottom-color: transparent;
}

html[data-theme="dark"] .kp-hero__mesh {
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
}

html[data-theme="dark"] .kp-hero--brand .kp-hero__eyebrow {
    color: #94a3b8;
    background: none;
    border: none;
}

html[data-theme="dark"] .kp-hero__eyebrow-sub {
    color: #64748b;
}

html[data-theme="dark"] .kp-hero__emphasis {
    color: #a7c4b5;
}

html[data-theme="dark"] .kp-hero__quick-links a {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-hero__quick-links a:hover {
    color: #f8fafc;
}

html[data-theme="dark"] .kp-hero--brand .kp-hero__presence-card {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-hero__presence-header {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.65) 0%, transparent 100%);
    border-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-hero__presence-roles li {
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-hero__presence-pills li {
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-hero__trust-strip {
    border-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-hero__trust-strip li {
    color: #94a3b8;
}

@media (prefers-reduced-motion: reduce) {
    .kp-btn--hero:hover {
        transform: none;
    }

    .kp-btn--hero:hover .kp-btn__arrow {
        transform: none;
    }
}

/* —— Homepage section polish —— */
.kp-home .kp-section {
    padding-top: clamp(3.25rem, 6vw, 5rem);
    padding-bottom: clamp(3.25rem, 6vw, 5rem);
}

.kp-home .kp-section--soft {
    padding-top: clamp(3.5rem, 6.5vw, 5.25rem);
    padding-bottom: clamp(3.5rem, 6.5vw, 5.25rem);
}

.kp-hero--brand h1 {
    font-family: var(--kp-font-serif);
}

.kp-hero--brand .kp-hero__presence-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 960px) {
    .kp-hero--brand .kp-hero__presence-card:hover {
        transform: translateY(-5px);
        box-shadow:
            0 36px 80px rgba(20, 32, 24, 0.14),
            0 1px 0 rgba(255, 255, 255, 0.95) inset;
    }
}

/* Coach preview */
.kp-home .kp-coach-preview {
    background: linear-gradient(180deg, #fff 0%, rgba(244, 247, 244, 0.4) 100%);
    border-block: 1px solid rgba(45, 74, 62, 0.05);
}

.kp-coach-preview__portrait {
    position: relative;
    overflow: hidden;
}

.kp-coach-preview__portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(184, 148, 46, 0.2);
    pointer-events: none;
}

.kp-coach-beats {
    position: relative;
    padding-left: 0.25rem;
}

.kp-coach-beat {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.15rem;
    background: var(--kp-card);
    border: 1px solid rgba(45, 74, 62, 0.08);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(20, 32, 24, 0.04);
    border-left: none;
}

.kp-coach-beat__marker {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: var(--kp-sage);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(30, 51, 40, 0.2);
}

.kp-coach-beat__body {
    min-width: 0;
}

.kp-coach-preview__quote {
    background: linear-gradient(135deg, rgba(232, 240, 234, 0.65) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-left-width: 4px;
    padding: 1.15rem 1.25rem;
}

/* MILES */
.kp-home .kp-miles {
    position: relative;
}

.kp-miles__head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.kp-miles__eyebrow,
.kp-three-a__eyebrow,
.kp-expertise__eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.kp-miles__title,
.kp-three-a__title,
.kp-expertise__title {
    text-wrap: balance;
}

.kp-miles__ribbon {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.kp-miles__ribbon span {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    font-family: var(--kp-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--kp-sage-deep);
    background: var(--kp-card);
    border: 2px solid var(--kp-gold);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(184, 148, 46, 0.15);
}

.kp-miles__flow {
    position: relative;
}

@media (min-width: 900px) {
    .kp-miles__flow::before {
        content: "";
        position: absolute;
        top: 1.65rem;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--kp-sage) 15%, var(--kp-gold) 50%, var(--kp-sage) 85%, transparent);
        opacity: 0.35;
        z-index: 0;
        pointer-events: none;
    }
}

.kp-miles-step {
    position: relative;
    z-index: 1;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.kp-miles-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(20, 32, 24, 0.08);
}

.kp-miles-step__letter {
    box-shadow: 0 6px 16px rgba(30, 51, 40, 0.22);
}

/* 3A */
.kp-home .kp-three-a {
    background: #fff;
    border-block: 1px solid rgba(45, 74, 62, 0.06);
}

.kp-three-a__head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.kp-three-a__grid {
    position: relative;
}

@media (min-width: 768px) {
    .kp-three-a-step:not(:last-child)::after {
        content: "→";
        position: absolute;
        top: 1.75rem;
        right: -0.85rem;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--kp-gold);
        opacity: 0.7;
        z-index: 2;
        pointer-events: none;
    }
}

.kp-three-a-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--kp-sage), var(--kp-gold));
    opacity: 0.75;
}

.kp-three-a-step {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.kp-three-a-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(20, 32, 24, 0.08);
}

/* Diamond */
.kp-diamond__frame {
    position: relative;
    max-width: 46rem;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(184, 148, 46, 0.14) 0%, transparent 60%),
        linear-gradient(165deg, #fff 0%, rgba(232, 240, 234, 0.75) 100%);
    border: 1px solid rgba(45, 74, 62, 0.1);
    border-radius: 24px;
    box-shadow:
        0 24px 64px rgba(20, 32, 24, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.kp-diamond__gem {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1.25rem;
    font-size: 1.65rem;
    line-height: 1;
    color: var(--kp-gold);
    background: rgba(184, 148, 46, 0.12);
    border: 1px solid rgba(184, 148, 46, 0.25);
    border-radius: 12px;
    transform: rotate(45deg);
}

.kp-diamond__panel {
    max-width: none;
}

.kp-diamond__belief strong {
    font-family: var(--kp-font-serif);
    font-size: 1.12rem;
    font-weight: 600;
}

.kp-diamond__questions li::before {
    content: "·";
    margin-right: 0.45rem;
    color: var(--kp-gold);
    font-style: normal;
    font-weight: 700;
}

/* Services — equal-height grid cards */
.kp-offerings--home {
    background: linear-gradient(180deg, rgba(244, 247, 244, 0.35) 0%, #fff 100%);
}

.kp-offerings__grid--services {
    margin-top: 0.25rem;
    gap: 1.25rem;
}

.kp-offerings__grid--services .kp-offering-card {
    flex: unset;
    width: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.kp-offering-card--service .kp-offering-card__actions {
    margin-top: auto;
    padding-top: 1.15rem;
}

.kp-offering-card--service .kp-offering-card__audience {
    flex: 1;
}

/* Expertise */
.kp-expertise__head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.kp-expertise-card {
    position: relative;
    padding-left: 1.35rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kp-expertise-card::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    top: 1.15rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--kp-gold);
    opacity: 0.85;
}

.kp-expertise-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(20, 32, 24, 0.07);
    border-color: rgba(45, 74, 62, 0.14);
}

/* Vision band */
.kp-home .kp-vision {
    background:
        linear-gradient(135deg, rgba(45, 74, 62, 0.06) 0%, rgba(232, 240, 234, 0.55) 50%, rgba(184, 148, 46, 0.08) 100%);
    border-block: 1px solid rgba(45, 74, 62, 0.08);
}

.kp-vision__eyebrow {
    display: inline-flex;
    margin: 0 0 0.65rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(45, 74, 62, 0.1);
    border-radius: 999px;
}

.kp-vision__lede {
    font-family: var(--kp-font-serif);
    font-size: clamp(1.1rem, 2.2vw, 1.28rem);
    font-style: italic;
}

/* Testimonials — grid on wide screens */
@media (min-width: 960px) {
    .kp-testimonials--home .kp-testimonials__scroll-hint {
        display: none;
    }

    .kp-testimonials--home .kp-testimonials__scroll {
        overflow: visible;
        mask-image: none;
        padding: 0;
        margin: 0;
    }

    .kp-testimonials--home .kp-testimonials__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        width: 100%;
    }

    .kp-testimonials--home .kp-testimonial-card {
        flex: unset;
        width: auto;
        max-width: none;
        scroll-snap-align: unset;
    }
}

/* Library empty state */
.kp-blog-empty__text {
    margin: 0 0 1rem;
}

/* Newsletter on home — tighter engage layout */
.kp-home .kp-section--engage .kp-engage {
    align-items: center;
}

.kp-home .kp-cta-final h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.15;
}

/* Dark mode polish */
html[data-theme="dark"] .kp-home .kp-coach-preview {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(11, 17, 32, 0.3) 100%);
}

html[data-theme="dark"] .kp-coach-beat {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-coach-preview__quote {
    background: rgba(15, 23, 42, 0.5);
}

html[data-theme="dark"] .kp-miles__ribbon span {
    background: rgba(15, 23, 42, 0.8);
    color: #f1f5f9;
    border-color: rgba(184, 148, 46, 0.45);
}

html[data-theme="dark"] .kp-home .kp-three-a {
    background: rgba(11, 17, 32, 0.4);
    border-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-diamond__frame {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(184, 148, 46, 0.1) 0%, transparent 60%),
        linear-gradient(165deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.65) 100%);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .kp-offerings--home {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(11, 17, 32, 0.2) 100%);
}

html[data-theme="dark"] .kp-home .kp-vision {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65) 0%, rgba(30, 41, 59, 0.45) 100%);
    border-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-vision__eyebrow {
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

/* ═══ Mission strip — editorial quote panel ═══ */
.kp-home .kp-mission-strip {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 5rem) 0;
    margin: 0;
    background: #f3f8f5;
    border-block: 1px solid rgba(45, 74, 62, 0.06);
}

.kp-home .kp-mission-strip__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 70% at 0% 50%, rgba(45, 74, 62, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 45% 60% at 100% 40%, rgba(184, 148, 46, 0.08) 0%, transparent 52%),
        linear-gradient(180deg, #f8fbf9 0%, #eef4f0 100%);
}

.kp-home .kp-mission-strip > .kp-contain {
    position: relative;
    z-index: 1;
}

.kp-home .kp-mission-strip__panel {
    position: relative;
    max-width: 52rem;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
    text-align: center;
    background: #fff;
    border: 1px solid rgba(45, 74, 62, 0.09);
    border-radius: 24px;
    box-shadow:
        0 2px 4px rgba(20, 32, 24, 0.03),
        0 28px 64px rgba(20, 32, 24, 0.08);
    overflow: hidden;
}

.kp-home .kp-mission-strip__panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--kp-gold) 0%, var(--kp-sage) 55%, var(--kp-sage-deep) 100%);
    border-radius: 24px 0 0 24px;
}

.kp-home .kp-mission-strip__panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--kp-sage-deep), var(--kp-gold), var(--kp-sage-deep));
    opacity: 0.35;
    pointer-events: none;
}

.kp-home .kp-mission-strip__head {
    margin-bottom: 1.5rem;
}

.kp-home .kp-mission-strip__eyebrow {
    display: inline-flex;
    margin: 0 0 0.4rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--kp-sage-deep);
    background: rgba(232, 240, 234, 0.75);
    border: 1px solid rgba(45, 74, 62, 0.1);
    border-radius: 999px;
}

.kp-home .kp-mission-strip__tagline {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--kp-muted);
    letter-spacing: 0.03em;
}

.kp-home .kp-mission-strip__quote-wrap {
    position: relative;
    padding: 0 0.5rem;
}

.kp-home .kp-mission-strip__glyph {
    display: block;
    margin: 0 auto 0.5rem;
    font-family: var(--kp-font-script);
    font-size: clamp(3.5rem, 10vw, 5rem);
    font-weight: 600;
    line-height: 0.85;
    color: var(--kp-gold);
    opacity: 0.55;
    transform: rotate(-4deg);
}

.kp-home .kp-mission-strip__quote {
    margin: 0;
    padding: 0;
    border: none;
}

.kp-home .kp-mission-strip__quote p {
    margin: 0;
    font-family: var(--kp-font-serif);
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: var(--kp-sage-deep);
    text-wrap: balance;
}

.kp-home .kp-mission-strip__highlight {
    font-family: var(--kp-font-script);
    font-style: normal;
    font-weight: 600;
    font-size: 1.12em;
    color: var(--kp-gold);
    letter-spacing: 0.01em;
}

.kp-home .kp-mission-strip__support {
    margin: 1.5rem auto 0;
    max-width: 40rem;
    padding-top: 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--kp-muted);
    border-top: 1px solid rgba(45, 74, 62, 0.08);
}

.kp-home .kp-mission-strip__closing {
    margin: 1.35rem 0 0;
    padding: 1.15rem 1.25rem;
    text-align: left;
    background: linear-gradient(135deg, rgba(232, 240, 234, 0.55) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(45, 74, 62, 0.07);
    border-left: 3px solid var(--kp-gold);
    border-radius: 0 14px 14px 0;
}

.kp-home .kp-mission-strip__closing p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--kp-sage-deep);
}

@media (min-width: 768px) {
    .kp-home .kp-mission-strip__panel {
        text-align: center;
    }

    .kp-home .kp-mission-strip__closing {
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--kp-gold);
        border-radius: 14px;
    }
}

html[data-theme="dark"] .kp-home .kp-mission-strip {
    background: #0b1120;
    border-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-home .kp-mission-strip__bg {
    background:
        radial-gradient(ellipse 55% 70% at 0% 50%, rgba(45, 74, 62, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 45% 60% at 100% 40%, rgba(184, 148, 46, 0.1) 0%, transparent 52%),
        linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
}

html[data-theme="dark"] .kp-home .kp-mission-strip__panel {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .kp-home .kp-mission-strip__eyebrow {
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
}

html[data-theme="dark"] .kp-home .kp-mission-strip__quote p,
html[data-theme="dark"] .kp-home .kp-mission-strip__closing p {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-home .kp-mission-strip__highlight {
    color: #d4b85a;
}

html[data-theme="dark"] .kp-home .kp-mission-strip__closing {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(51, 65, 85, 0.45);
}

/* ═══ Home hero — professional layout (authoritative) ═══ */
.kp-home .kp-hero.kp-hero--home.kp-hero--brand {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: none;
    display: block;
    margin: 0;
    padding: 0;
    min-height: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #f8faf9;
    overflow: hidden;
}

.kp-home .kp-hero.kp-hero--brand::before,
.kp-home .kp-hero.kp-hero--brand::after {
    display: none;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 55% at 100% 0%, rgba(45, 74, 62, 0.07) 0%, transparent 58%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(184, 148, 46, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #fafcfb 0%, #f4f8f5 100%);
}

.kp-home .kp-hero.kp-hero--brand > .kp-contain {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--kp-shell-max);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 1024px) {
    .kp-home .kp-hero.kp-hero--brand:not(.kp-hero--home) .kp-hero__layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(300px, 380px);
        gap: clamp(3rem, 5vw, 5rem);
    }
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__main {
    min-width: 0;
    max-width: none;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__tag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0 0 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kp-sage);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__tag > span:first-child {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    color: var(--kp-sage-deep);
    background: #fff;
    border: 1px solid rgba(45, 74, 62, 0.1);
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(20, 32, 24, 0.04);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__tag-dot {
    color: var(--kp-gold);
    font-weight: 400;
    letter-spacing: 0;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__tag-sub {
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--kp-muted);
    text-transform: none;
}

.kp-home .kp-hero.kp-hero--brand h1 {
    margin: 0 0 1.25rem;
    max-width: none;
    width: 100%;
    font-family: var(--kp-font-serif);
    font-size: clamp(2.35rem, 4.8vw, 3.35rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--kp-sage-deep);
    text-wrap: balance;
}

@media (min-width: 1024px) {
    .kp-home .kp-hero.kp-hero--brand h1 {
        max-width: 11.5em;
    }
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__emphasis {
    display: inline-block;
    margin: 0 0.06em;
    font-family: var(--kp-font-script);
    font-style: normal;
    font-weight: 600;
    font-size: 1.22em;
    line-height: 0.95;
    letter-spacing: 0.01em;
    color: var(--kp-gold);
    transform: rotate(-2.5deg) translateY(0.04em);
    transform-origin: center bottom;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__emphasis::after {
    display: none;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__lead {
    margin: 0;
    max-width: 36rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--kp-muted);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 2rem;
}

.kp-home .kp-hero.kp-hero--brand .kp-btn--hero-primary {
    min-height: 2.875rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(45, 74, 62, 0.22);
}

.kp-home .kp-hero.kp-hero--brand .kp-btn--hero-primary:hover {
    box-shadow: 0 4px 18px rgba(45, 74, 62, 0.28);
}

.kp-home .kp-hero.kp-hero--brand .kp-btn--hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.875rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(45, 74, 62, 0.18);
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.kp-home .kp-hero.kp-hero--brand .kp-btn--hero-secondary:hover {
    background: var(--kp-soft);
    border-color: rgba(45, 74, 62, 0.28);
    color: var(--kp-sage-deep);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__highlights li {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--kp-muted);
    line-height: 1.4;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__highlights li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.85rem;
    margin: 0 0.85rem;
    background: rgba(45, 74, 62, 0.15);
    vertical-align: middle;
}

/* Coach card — premium profile panel */
.kp-home .kp-hero.kp-hero--brand .kp-hero__aside {
    min-width: 0;
    width: 100%;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(45, 74, 62, 0.1);
    box-shadow:
        0 2px 4px rgba(20, 32, 24, 0.03),
        0 24px 56px rgba(20, 32, 24, 0.09),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 1024px) {
    .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card:hover {
        transform: translateY(-4px);
        box-shadow:
            0 4px 8px rgba(20, 32, 24, 0.04),
            0 32px 64px rgba(20, 32, 24, 0.12);
    }
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card-cap {
    position: relative;
    z-index: 0;
    height: 5.5rem;
    background:
        linear-gradient(135deg, var(--kp-sage-deep) 0%, var(--kp-sage) 48%, rgba(184, 148, 46, 0.55) 100%);
    overflow: hidden;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card-cap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 120%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% -20%, rgba(184, 148, 46, 0.35) 0%, transparent 50%);
    pointer-events: none;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card-cap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card-badge {
    position: absolute;
    z-index: 2;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 0.75rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -2.75rem;
    padding: 0 1.5rem 1.5rem;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-photo {
    display: grid;
    place-items: center;
    width: 5.75rem;
    height: 5.75rem;
    margin-bottom: 1rem;
    font-family: var(--kp-font-serif);
    font-size: 2.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(155deg, #3a5f4e 0%, var(--kp-sage-deep) 100%);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow:
        0 0 0 1px rgba(184, 148, 46, 0.35),
        0 14px 36px rgba(30, 51, 40, 0.22);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-name {
    margin: 0 0 0.3rem;
    font-family: var(--kp-font-serif);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
    letter-spacing: -0.02em;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-role {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--kp-sage-deep);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-meta {
    margin: 0.3rem 0 0;
    font-size: 0.8rem;
    color: var(--kp-muted);
    line-height: 1.45;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-offers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-offers li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    text-align: left;
    background: linear-gradient(90deg, rgba(232, 240, 234, 0.65) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(45, 74, 62, 0.07);
    border-radius: 10px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-offers li:hover {
    border-color: rgba(184, 148, 46, 0.28);
    background: rgba(232, 240, 234, 0.85);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-offer-mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.55rem;
    color: var(--kp-gold);
    background: rgba(184, 148, 46, 0.12);
    border-radius: 8px;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-offer-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--kp-sage-deep);
    line-height: 1.3;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--kp-sage) 0%, var(--kp-sage-deep) 100%);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(45, 74, 62, 0.22);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 6px 20px rgba(45, 74, 62, 0.28);
    transform: translateY(-1px);
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-btn-arrow {
    transition: transform 0.2s ease;
}

.kp-home .kp-hero.kp-hero--brand .kp-hero__coach-btn:hover .kp-hero__coach-btn-arrow {
    transform: translateX(3px);
}

@media (max-width: 1023px) {
    .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card {
        max-width: 22rem;
        margin-inline: auto;
    }

    .kp-home .kp-hero.kp-hero--brand h1 {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .kp-home .kp-hero.kp-hero--brand .kp-hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .kp-home .kp-hero.kp-hero--brand .kp-btn--hero-primary,
    .kp-home .kp-hero.kp-hero--brand .kp-btn--hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .kp-home .kp-hero.kp-hero--brand .kp-hero__highlights {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .kp-home .kp-hero.kp-hero--brand .kp-hero__highlights li:not(:last-child)::after {
        display: none;
    }
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand {
    background: #0b1120;
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__bg {
    background:
        radial-gradient(ellipse 70% 55% at 100% 0%, rgba(45, 74, 62, 0.15) 0%, transparent 58%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(184, 148, 46, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__tag > span:first-child {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(51, 65, 85, 0.55);
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand h1,
html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-name,
html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-role {
    color: #f1f5f9;
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__emphasis {
    color: #d4b85a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-btn--hero-secondary {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(51, 65, 85, 0.55);
    color: #e2e8f0;
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-btn--hero-secondary:hover {
    background: rgba(30, 41, 59, 0.75);
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(51, 65, 85, 0.55);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-photo {
    border-color: rgba(15, 23, 42, 0.95);
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-offers li {
    background: rgba(30, 41, 59, 0.55);
    border-color: rgba(51, 65, 85, 0.45);
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-offers li:hover {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(184, 148, 46, 0.3);
}

html[data-theme="dark"] .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-offer-label {
    color: #e2e8f0;
}

@media (prefers-reduced-motion: reduce) {
    .kp-miles-step:hover,
    .kp-three-a-step:hover,
    .kp-expertise-card:hover,
    .kp-hero--brand .kp-hero__presence-card:hover {
        transform: none;
    }

    .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-btn:hover {
        transform: none;
    }

    .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-btn:hover .kp-hero__coach-btn-arrow {
        transform: none;
    }

    .kp-home .kp-hero.kp-hero--brand .kp-hero__coach-card:hover {
        transform: none;
    }

    .kp-home .kp-hero.kp-hero--brand .kp-hero__emphasis {
        transform: none;
    }
}

@media print {
    .kp-header,
    .kp-lms-breadcrumb,
    .kp-inline-form,
    .kp-footer,
    .kp-card__actions {
        display: none !important;
    }

    .kp-lms-cert-wrap {
        max-width: none;
    }

    .kp-lms-cert {
        box-shadow: none;
        border: none;
        padding: 0;
    }
}
