/* ==========================================================================
   KCRI — base, typography, components, sections
   Requires tokens.css. Breakpoints: ≤767 mobile (Figma 390), 768–1199 interpolated, ≥1200 desktop (Figma 1440).

   HEADING RULE: visual style and heading tag are independent.
   - Tags (h1–h6) come ONLY from the content document.
   - Look comes from a .t-* class. Text that looks like a heading but is not
     one in the document is a <p class="t-…">, never an h-tag.
   ========================================================================== */

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--kc-page);
  color: var(--kc-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: var(--fw-regular); }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--kc-purple); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--kc-purple); color: #fff; padding: 12px 20px; border-radius: var(--radius-pill);
}
.skip-link:focus { top: 16px; }

/* ---- Layout -------------------------------------------------------------- */
.kc-container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.kc-container--wide { width: min(var(--container-wide), 100% - 2 * var(--gutter)); }
.kc-section { padding-block: var(--section-pad-y); }

/* ==========================================================================
   TYPOGRAPHY — style classes (apply to any tag)
   ========================================================================== */
.t-display {            /* Hero headline — Figma 60/1.2 · mobile 36 */
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
}
.t-eyebrow {            /* Hero line above headline — Figma 24/1 · mobile 14 */
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  line-height: var(--lh-eyebrow);
}
.t-section {            /* Section titles — Figma 48/1.4 · mobile 30/1.2 */
  font-family: var(--font-display);
  font-size: var(--fs-section);
  line-height: var(--lh-section);
}
.t-section--tight { line-height: 1.1; } /* Single-line centered titles use leading-none in Figma */
.t-section--flush { line-height: 1; }
.t-section--snug { line-height: 1.12; letter-spacing: -0.01em; } /* Services page titles: 48/53.76, -1% tracking */
.t-section--sm { font-size: calc(var(--fs-section) * 0.9375); line-height: 1.3; } /* 45 desktop */
.t-section--relaxed { line-height: 1.3; }   /* long multi-line titles */
.t-lead-serif {         /* Serif lead paragraph — Figma 22/1.6 · mobile 18 */
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.6;
  color: #050805;
}
@media (max-width: 767px) { .t-lead-serif { font-size: 18px; } }
.t-title-lg {           /* 28/1.3 · mobile 20 */
  font-family: var(--font-title);
  font-size: var(--fs-title-lg);
  line-height: var(--lh-title);
}
.t-title-md {           /* 25/1.3 navy — service card titles */
  font-family: var(--font-title);
  font-size: var(--fs-title-md);
  line-height: var(--lh-title);
  color: var(--kc-navy);
}
.t-title-sm {           /* 20/1.3 */
  font-family: var(--font-title);
  font-size: var(--fs-title-sm);
  line-height: var(--lh-title);
}
.t-lead   { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--kc-ink-soft); }
.t-body   { font-size: var(--fs-body); line-height: var(--lh-body); }
.t-muted  { color: var(--kc-ink-muted); }
.t-small  { font-size: var(--fs-small); }
.t-caption { font-size: var(--fs-caption); font-style: italic; line-height: 1.6; }
.t-overline { font-weight: var(--fw-bold); text-transform: uppercase; line-height: 1.6; }
.t-center { text-align: center; }

/* Display-only line breaks: break on desktop, flow naturally on mobile */
.br-desktop { display: block; }
.mobile-only-br { display: none; }
.br-always { display: block; }
@media (min-width: 1200px) { .nowrap-desktop { white-space: nowrap; } }   /* titles Figma lets run a touch past the column */
@media (max-width: 1199px) { .br-desktop { display: inline; } }   /* tablet columns are narrower than Figma's desktop, so its breaks would leave ragged lines */
@media (max-width: 767px) { .mobile-only-br { display: inline; } }

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* ---- Buttons ------------------------------------------------------------- */
.kc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-height);
  padding-inline: var(--btn-pad-x);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.kc-btn--sm-caps { font-size: 14px; text-transform: uppercase; }
.kc-btn--primary { background: var(--kc-purple); color: #fff; }
.kc-btn--primary:hover { background: var(--kc-purple-hover); }
.kc-btn--outline { border: 2px solid var(--kc-navy); color: var(--kc-navy); }
.kc-btn--outline:hover { background: var(--kc-navy); color: #fff; }
.kc-btn--block { width: 100%; }
.kc-btn--wide { min-width: 255px; }

.kc-link-arrow {        /* "View all FAQs →" (14 caps) and "View All →" (16) */
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--kc-purple); font-weight: var(--fw-bold); line-height: 1.4;
}
.kc-link-arrow--caps { font-size: 14px; text-transform: uppercase; }
.kc-link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.kc-link-arrow img { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.kc-link-arrow:hover img { transform: translateX(3px); }

.kc-inline-link {       /* Bold links inside card copy (purple, like the Schedule a Consultation button) */
  color: var(--kc-purple); font-weight: var(--fw-bold);
  text-decoration: underline; text-underline-offset: 2px;
}
.kc-inline-link:hover { color: var(--kc-purple-hover); }
.kc-text-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }   /* plain underlined link in body copy */
.kc-text-link:hover { color: var(--kc-purple); }

/* ---- Slider controls ------------------------------------------------------ */
.kc-arrow {
  display: inline-grid; place-items: center;
  width: var(--arrow-size); height: var(--arrow-size); flex: none;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-arrow);
  border-radius: var(--radius-xs);
  transition: background-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.kc-arrow--round { border-radius: var(--radius-pill); }
.kc-arrow img { width: 24px; height: 24px; }
.kc-arrow:hover:not(:disabled) { background: var(--kc-sand); }
.kc-arrow:disabled { opacity: 0.35; cursor: default; }

.kc-dots { display: flex; align-items: center; gap: 8px; }
.kc-dots[hidden] { display: none; }
.kc-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--kc-purple-soft);
  transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease);
}
.kc-dots button[aria-current="true"] { background: var(--kc-purple); }
/* Large variant (services): 15px dots, active becomes a 30px pill */
.kc-dots--lg button { width: 15px; height: 15px; }
.kc-dots--lg button[aria-current="true"] { width: 30px; border-radius: var(--radius-pill); }

/* ---- Carousel track -------------------------------------------------------- */
.kc-track {
  display: flex; gap: var(--track-gap, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
  margin: 0; padding: 0; list-style: none;
}
.kc-track::-webkit-scrollbar { display: none; }
.kc-track > * { scroll-snap-align: start; flex: none; }

/* ---- Form fields ------------------------------------------------------------ */
.kc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kc-field label { font-size: 14px; font-weight: var(--fw-semibold); line-height: 20px; }
.kc-field .req { color: var(--kc-required); margin-left: 1px; }
.kc-input {
  width: 100%;
  padding: 12px 0;
  border: 0; border-bottom: 1px solid var(--kc-border-strong);
  border-radius: 0;
  background: transparent;
  font-size: 14px; line-height: 20px;
  color: var(--kc-ink);
}
.kc-input::placeholder { color: var(--kc-placeholder); opacity: 1; }
.kc-input:focus { outline: none; border-bottom-color: var(--kc-purple); box-shadow: 0 1px 0 var(--kc-purple); }
select.kc-input {
  appearance: none; -webkit-appearance: none;
  padding-right: 24px;
  background: url("../icons/chevron-down.svg") no-repeat right center / 14px;
  cursor: pointer;
}
select.kc-input:invalid { color: var(--kc-placeholder); }
select.kc-input option { color: var(--kc-ink); }
/* Roomier, on-brand option lists where the browser allows styling them (Chrome/Edge "customizable select");
   other browsers keep their native list. */
@supports (appearance: base-select) {
  select.kc-input, select.kc-input::picker(select) { appearance: base-select; }
  select.kc-input::picker-icon { display: none; }          /* the background chevron stays */
  select.kc-input::picker(select) {
    margin-top: 6px; padding: 6px;
    background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: 14px;
    box-shadow: 0 18px 40px -12px rgba(37, 33, 93, 0.25);
  }
  select.kc-input option {
    padding: 10px 14px; border-radius: 10px;
    font-size: 14px; line-height: 20px; color: var(--kc-ink); cursor: pointer;
  }
  select.kc-input option::checkmark { display: none; }
  select.kc-input option:hover, select.kc-input option:focus-visible { background: var(--kc-cream); color: var(--kc-purple); outline: none; }
  select.kc-input option:checked { color: var(--kc-purple); font-weight: var(--fw-semibold); }
  select.kc-input option[value=""] { color: var(--kc-placeholder); font-weight: inherit; }
}

/* ---- Form system (full forms: /contact-us/, /our-team/careers/, assessment …) ------------
   States: .is-invalid on a .kc-field / .kc-fieldset (set by forms.js), [aria-invalid] on the control,
   .is-loading on a submit button, [hidden] success/status panels. See README "Forms". */
.kc-input:hover:not(:focus):not(:disabled) { border-bottom-color: var(--kc-ink-muted); }
.kc-input:disabled { opacity: 0.6; cursor: not-allowed; }
input.kc-input[type="number"] { -moz-appearance: textfield; }
textarea.kc-input {
  min-height: 132px; padding: 12px 14px; resize: vertical;
  border: 1px solid var(--kc-border-strong); border-radius: 8px;
  line-height: 1.6;
}
textarea.kc-input:hover:not(:focus):not(:disabled) { border-color: var(--kc-ink-muted); }
textarea.kc-input:focus { border-color: var(--kc-purple); box-shadow: 0 0 0 1px var(--kc-purple); }

.kc-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.kc-fieldset > legend:not(.visually-hidden) {
  float: left; width: 100%;          /* float lets the legend take part in normal spacing */
  margin-bottom: 8px; padding: 0;
  font-size: 14px; font-weight: var(--fw-semibold); line-height: 20px;
}
.kc-fieldset > legend + * { clear: both; }
.kc-fieldset--question > legend:not(.visually-hidden) {      /* assessment questions */
  margin-bottom: 20px;
  font-family: var(--font-title); font-size: 24px; font-weight: var(--fw-regular); line-height: 1.35; color: var(--kc-navy);
}
.kc-fieldset .req, .kc-choice .req { color: var(--kc-required); margin-left: 1px; }

.kc-choices { display: grid; gap: 4px 24px; }
.kc-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kc-choice {
  display: flex; align-items: flex-start; gap: 12px;
  min-height: 44px; padding: 10px 0;
  font-size: 15px; line-height: 1.5; cursor: pointer;
}
.kc-consult .kc-choice { min-height: 0; padding: 4px 0; }   /* homepage consultation form: tighter checkbox rows */
.kc-choice input {
  flex: none; width: 20px; height: 20px; margin: 2px 0 0;
  accent-color: var(--kc-purple); cursor: pointer;
}
.kc-choices--cards { gap: 10px; }
.kc-choices--cards .kc-choice {
  align-items: center; padding: 12px 16px;
  background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: 10px;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.kc-choices--cards .kc-choice input { margin: 0; }
.kc-choices--cards .kc-choice:hover { border-color: var(--kc-purple-soft); background: var(--kc-page); }
.kc-choices--cards .kc-choice:has(input:checked) { border-color: var(--kc-purple); background: #fbf4fb; }

.kc-field__hint, .kc-field__counter, .kc-form__note { font-size: 13px; line-height: 1.5; color: var(--kc-ink-muted); }
.kc-field__counter { text-align: right; }
.kc-field__counter.is-near-limit { color: var(--kc-ink); font-weight: var(--fw-semibold); }
.kc-field__error {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 13px; font-weight: var(--fw-semibold); line-height: 1.4; color: var(--kc-required);
}
.kc-field__error::before {           /* icon + text, so errors never rely on color alone */
  content: "!"; flex: none; display: grid; place-items: center;
  width: 16px; height: 16px; margin-top: 1px; border-radius: 50%;
  background: var(--kc-required); color: #fff; font-size: 11px; font-weight: var(--fw-bold); line-height: 1;
}
.kc-field__error[hidden] { display: none; }
.is-invalid .kc-input { border-bottom-color: var(--kc-required); box-shadow: 0 1px 0 var(--kc-required); }
.is-invalid textarea.kc-input { border-color: var(--kc-required); box-shadow: 0 0 0 1px var(--kc-required); }
.is-invalid .kc-choices--cards .kc-choice { border-color: #f3b4b0; }
.is-invalid .kc-upload__box { border-color: var(--kc-required); }

.kc-consent__terms {               /* scrollable certification text (Careers) */
  display: flex; flex-direction: column; gap: 10px;
  max-height: 220px; overflow-y: auto; padding: 16px;
  background: var(--kc-sand-2); border: 1px solid var(--kc-border-warm); border-radius: 10px;
  font-size: 13px; line-height: 1.6; color: var(--kc-ink-soft);
}

.kc-upload__box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  padding: 24px 16px;
  background: var(--kc-page); border: 1.5px dashed var(--kc-border-strong); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--kc-ink-soft); text-align: center;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.kc-upload__box:focus-within { outline: 2px solid var(--kc-purple); outline-offset: 3px; }
.kc-upload__box.is-dragover { border-color: var(--kc-purple); background: #fbf4fb; }
.kc-upload__file { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; font-weight: var(--fw-semibold); word-break: break-all; }
.kc-upload__file[hidden] { display: none; }
.kc-upload__remove { min-height: 44px; color: var(--kc-purple); font-weight: var(--fw-bold); text-decoration: underline; }

.kc-btn--sm { height: 44px; padding-inline: 20px; font-size: 14px; }
.kc-btn:disabled, .kc-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.kc-btn.is-loading { opacity: 1; cursor: progress; }
.kc-btn.is-loading::after {
  content: ""; width: 16px; height: 16px; flex: none;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: kc-spin 0.7s linear infinite;
}
@keyframes kc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .kc-btn.is-loading::after { animation-duration: 2s; } }

.kc-form__status {                 /* form-level error summary */
  padding: 12px 16px;
  background: #fdf1f0; border: 1px solid var(--kc-required); border-left-width: 4px; border-radius: 8px;
  font-size: 14px; font-weight: var(--fw-semibold); line-height: 1.5; color: #b3140c;
}
.kc-form__status:focus { outline: none; }
.kc-form__success {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 40px 32px; text-align: center;
}
.kc-form__success:focus { outline: none; }
.kc-form__success::before {
  content: ""; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 50%;
  background: var(--kc-sage) url("../icons/heart-navy.svg") no-repeat center / 22px;
}
.kc-form__success .t-title-lg { color: var(--kc-navy); }
.kc-form__success p:last-child { max-width: 480px; color: var(--kc-ink-muted); }
.kc-form__status[hidden], .kc-form__success[hidden], .kc-form__body[hidden] { display: none; }

.kc-form__notice {                 /* temporary notice while forms are paused (content/forms-status.json) */
  margin: 0 0 16px; padding: 12px 16px;
  background: var(--kc-cream); border: 1px solid var(--kc-border-strong); border-left: 4px solid var(--kc-navy); border-radius: 8px;
  font-size: 14px; font-weight: var(--fw-semibold); line-height: 1.5; color: var(--kc-navy);
}
.kc-honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kc-captcha:empty { display: none; }
/* reCAPTCHA v2 checkbox (assets/js/forms-submit.js): Google draws a fixed 304 × 78 box, scaled down on very narrow screens */
.kc-captcha { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 359px) { .kc-captcha > div:first-child { transform: scale(.86); transform-origin: 0 0; margin-bottom: -11px; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; z-index: 50; top: 30px; left: 0; right: 0;
  transition: top var(--dur) var(--ease);
}
.site-header.is-scrolled { top: 12px; }
html { scroll-padding-top: 130px; } /* anchor links land below the fixed header */
.site-header__bar {
  width: min(var(--container-header), 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 15px 30px;
  background: var(--kc-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
}
.site-header__logo img { width: 228px; height: 54px; object-fit: contain; }
.site-nav ul { display: flex; gap: 25px; }
.site-nav a {
  font-size: 16px; line-height: 20px; text-transform: uppercase; color: var(--kc-ink-soft);
  padding-block: 6px; border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current] {   /* "page" = this page, "true" = a child page of this section */ color: var(--kc-purple); border-bottom-color: currentColor; }
.site-header__actions { display: flex; align-items: center; gap: 30px; }
.site-header__phone {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: var(--fw-bold); line-height: 1.4; color: var(--kc-ink-phone);
  white-space: nowrap;
}
.site-header__phone img { width: 22px; height: 22px; }
.site-header__toggle { display: none; }
.site-nav__cta { display: none; }

@media (max-width: 1199px) {
  /* Mobile header — Figma: 80px white bar, logo 179×42, 42px hamburger */
  .site-header, .site-header.is-scrolled { position: sticky; top: 0; }
  html { scroll-padding-top: 90px; }
  .site-header__bar {
    width: 100%; height: 80px; padding: 0 12px;
    border-radius: 0; box-shadow: none; border-bottom: 1px solid #bcbcbc;
  }
  .site-header__logo img { width: 179px; height: 42px; }
  .site-header__actions .kc-btn { display: none; }
  .site-header__phone { display: none; }
  .site-header__toggle { display: grid; place-items: center; width: 42px; height: 42px; }
  .site-header__toggle img { width: 42px; height: 42px; }
  .site-nav {
    position: absolute; top: 80px; left: 0; right: 0;
    background: var(--kc-white);
    border-bottom: 1px solid var(--kc-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 8px 20px 24px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--kc-border); }
  .site-nav .site-nav__cta {
    display: flex; margin-top: 20px; padding-block: 0;
    color: #fff; text-transform: none; border-bottom: 0;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.kc-hero {
  position: relative;
  min-height: 715px;
  display: flex; align-items: flex-end;
  padding: 220px 0 120px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  overflow: hidden;
  background: var(--kc-cream-hero);
  color: var(--kc-ink-hero);
}
.kc-hero__media { position: absolute; inset: 0; }
.kc-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.kc-hero__media::after {   /* Figma gradient: cream → transparent toward the image */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(-44.68deg, rgba(251,246,239,0) 35.36%, rgba(251,246,239,0.652) 46.28%, var(--kc-cream-hero) 63.11%);
}
.kc-hero__inner {
  position: relative;
  width: min(var(--container-wide), 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 40px;
}
.kc-hero__text { display: flex; flex-direction: column; gap: 20px; }
.kc-hero__title { max-width: 762px; }
.kc-hero__lead { max-width: 535px; font-size: 18px; line-height: 1.8; }

@media (max-width: 1199px) {
  .kc-hero { min-height: 560px; align-items: center; padding: 80px 0; border-radius: 0; }
}
@media (max-width: 767px) {
  /* Mobile hero — Figma: photo with 44% black overlay, centered white text */
  .kc-hero { min-height: 721px; align-items: center; padding: 50px 0; color: #fff; text-align: center; }
  .kc-hero__media img { object-position: 12% center; }
  .kc-hero__media::after { background: rgba(0, 0, 0, 0.44); }
  .kc-hero__inner { align-items: stretch; }
  .kc-hero__text { align-items: center; }
  .kc-hero__lead { font-size: 16px; line-height: 1.4; }
  .kc-hero .kc-btn { width: 100%; }
}

/* ==========================================================================
   SECTION HEADER (title + intro)
   ========================================================================== */
.kc-section-head { display: flex; flex-direction: column; gap: 10px; }
.kc-section-head--center { align-items: center; text-align: center; }
.kc-section-head--center p { max-width: 794px; }

/* ==========================================================================
   SERVICES CAROUSEL
   ========================================================================== */
.kc-services { background: var(--kc-cream); padding: var(--section-pad-y) 0 60px; }
.kc-services__inner { display: flex; flex-direction: column; gap: 40px; }
.kc-services .kc-track { --track-gap: 20px; }
.kc-services .kc-track > li { width: calc((100% - 2 * var(--track-gap)) / 3); }

.kc-service-card {
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--kc-sand);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.kc-service-card__media img { width: 100%; height: auto; aspect-ratio: 405.33 / 240; object-fit: cover; }
.kc-service-card__body {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 30px; text-align: center;
  min-height: 234px;
}
.kc-service-card__body p:not([class*="t-"]) { color: var(--kc-ink-muted); }
/* cards with their own page: the whole card is the link (title link stretched over the card) */
.kc-service-card:has(.kc-service-card__link) { position: relative; transition: box-shadow var(--dur) var(--ease); }
.kc-service-card__link { color: inherit; text-decoration: none; }
.kc-service-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kc-service-card:has(.kc-service-card__link:hover) { box-shadow: 0 10px 28px rgba(37, 33, 93, .12); }
.kc-service-card:has(.kc-service-card__link:hover) .kc-service-card__link { color: var(--kc-purple); }
.kc-service-card__link:focus-visible { outline: none; }
.kc-service-card:has(.kc-service-card__link:focus-visible) { outline: 2px solid var(--kc-purple); outline-offset: 3px; }

.kc-services__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.kc-services__nav { display: flex; align-items: center; gap: 16px; }
/* arrows on the sides of the service cards, centred on the card */
.kc-services__stage { position: relative; }
.kc-arrow--side {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 52px; height: 52px; border: 0; box-shadow: 0 10px 26px rgba(37, 33, 93, 0.18);
}
.kc-arrow--side.kc-arrow--prev { left: -26px; }
.kc-arrow--side.kc-arrow--next { right: -26px; }
.kc-arrow--side:disabled { opacity: 0.45; }   /* always shown; dimmed when there is nothing more that way */
/* The arrows are centred on the photo at every width, so they never sit on the card text.
   Photo height = card width x 240/405; card width depends on how many cards show (3, 2 or 1).
 */
.kc-services__stage { container-type: inline-size; }
.kc-arrow--side { top: calc((100cqw - 40px) / 3 * 0.296); }
@media (max-width: 1279px) {
  .kc-arrow--side.kc-arrow--prev { left: 8px; }
  .kc-arrow--side.kc-arrow--next { right: 8px; }
}
@media (max-width: 991px) {
  .kc-arrow--side { top: calc((100cqw - 20px) / 2 * 0.296); }
}
@media (max-width: 767px) {
  .kc-arrow--side { width: 44px; height: 44px; top: calc(100cqw * 0.296); }
}

@media (max-width: 991px) {
  .kc-services .kc-track > li { width: calc((100% - var(--track-gap)) / 2); }
}
@media (max-width: 767px) {
  .kc-services .kc-track > li { width: 100%; }
  .kc-services__controls { flex-direction: column; align-items: flex-start; }
  .kc-services__nav { width: 100%; }
  .kc-services__nav .kc-btn { flex: 1; min-width: 0; padding-inline: 12px; }
}
@media (max-width: 400px) {
  .kc-services__nav { flex-wrap: wrap; }
  .kc-services__nav .kc-btn { flex: 1 0 100%; }
}

/* ==========================================================================
   CONNECTION (image + copy)
   ========================================================================== */
.kc-connection { position: relative; background: var(--kc-linen); overflow: hidden; }
.kc-connection__grid { display: grid; grid-template-columns: 1fr 1fr; }
.kc-connection__media { position: relative; min-height: clamp(720px, 50vw, 960px); } /* ~square like Figma, so the photo isn't over-cropped on wide screens */
.kc-connection__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.kc-connection__content {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: 60px clamp(40px, 10.8vw, 156px) 60px 60px;
}
.kc-connection__copy { display: flex; flex-direction: column; gap: 24px; max-width: 504px; }
.kc-connection__copy > div { max-width: 479px; display: flex; flex-direction: column; gap: 25.6px; color: var(--kc-ink-muted); }
.kc-leaves {             /* Decorative leaf shadow, 10% opacity */
  position: absolute; pointer-events: none; opacity: 0.1;
  width: 414px; height: 536px; object-fit: cover;
}
.kc-connection .kc-leaves { top: 0; right: 0; transform: scaleX(-1); }

.kc-checklist { display: flex; flex-direction: column; gap: 16px; padding: 8px 0; }
.kc-checklist li { display: flex; align-items: center; gap: 16px; font-weight: var(--fw-semibold); }
.kc-checklist img { width: 24px; height: 24px; flex: none; }

@media (max-width: 991px) {
  .kc-connection__content { padding: 60px var(--gutter); }
  .kc-connection__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kc-connection__grid { grid-template-columns: 1fr; }
  .kc-connection__media { min-height: 0; height: 420px; }
  .kc-connection__content { padding: 60px 20px; gap: 10px; }
  .kc-connection__copy { gap: 10px; }
  .kc-checklist { gap: 15px; }
  .kc-connection .kc-leaves { width: 254px; height: 329px; }
}

/* ==========================================================================
   WHY CHOOSE (3 icon cards; carousel on mobile)
   ========================================================================== */
.kc-why { padding: var(--section-pad-y) 0 50px; }
.kc-why__inner { display: flex; flex-direction: column; gap: 80px; }
.kc-why .kc-track { --track-gap: 20px; overflow: visible; padding-top: 43px; }
.kc-why .kc-track > li { width: calc((100% - 2 * var(--track-gap)) / 3); }
.kc-why-card {
  height: 100%; min-height: 381px;
  display: flex; flex-direction: column; align-items: center;
  background: var(--kc-sand-2);
  border-radius: var(--radius-card);
  text-align: center;
}
.kc-why-card__icon {
  display: grid; place-items: center;
  width: 118px; height: 118px; margin-top: -43px; flex: none;
  border-radius: 50%; background: var(--kc-sage);
}
.kc-why-card__icon img { width: 48px; height: 48px; }
.kc-why-card__body { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px; }
.kc-why-card__body h3 { max-width: 210px; }
.kc-why-card__body p:not([class*="t-"]) { color: var(--kc-ink-muted); }
.kc-flags { display: flex; gap: 12px; margin-top: 6px; }
.kc-flags img { width: 75px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); }
.kc-why__controls { display: none; }

/* Below 992 three cards get too narrow: switch to the carousel (2-up, then 1-up on phones) */
@media (max-width: 991px) {
  .kc-why__inner { gap: 40px; }
  .kc-why .kc-track { overflow-x: auto; }
  .kc-why .kc-track > li { width: calc((100% - var(--track-gap)) / 2); }
  .kc-why__controls { display: flex; justify-content: center; align-items: center; gap: 16px; }
}
@media (max-width: 767px) {
  .kc-why .kc-track > li { width: 100%; }
}

/* ==========================================================================
   TEAM CAROUSEL (cards run off the right edge on desktop)
   ========================================================================== */
.kc-team { padding: var(--section-pad-y-sm) 0; overflow: hidden; }
.kc-team__inner { display: flex; flex-direction: column; gap: 40px; }
.kc-team__head { display: flex; flex-direction: column; gap: 12px; }
.kc-team__head p { max-width: 577px; color: var(--kc-ink-muted); }
.kc-team .kc-track {
  --track-gap: 20px;
  margin-right: calc(50% - 50vw);   /* bleed to viewport edge */
  padding-right: var(--gutter);
  scroll-padding-left: 0;
}
.kc-team .kc-track > li { width: 394.67px; }
.kc-member { display: flex; flex-direction: column; gap: 24px; }
.kc-member__photo { aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--kc-sand); }
.kc-member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.kc-member__body { display: flex; flex-direction: column; gap: 16px; }
.kc-member__title { display: flex; flex-direction: column; gap: 6px; }
.kc-member__title .t-title-lg { color: #050805; }
.kc-member__title p:last-child { color: var(--kc-ink-muted); }
.kc-member__email { display: inline-flex; align-items: center; gap: 10px; color: var(--kc-ink-muted); width: fit-content; }
.kc-member__email img { width: 31px; height: 22px; }
.kc-member__email:hover { color: var(--kc-purple); }
.kc-team__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.kc-team__nav { display: flex; align-items: center; gap: 16px; }
.kc-team__nav .kc-link-arrow { padding: 12px; }
.kc-team__dots-mobile { display: none; }

@media (max-width: 767px) {
  .kc-team__head .t-section { max-width: 260px; }
  .kc-team .kc-track { --track-gap: 8px; }
  .kc-team .kc-track > li { width: 310px; }
  .kc-member__photo { aspect-ratio: auto; height: 250px; }
  .kc-member .t-title-lg { font-size: 20px; }
  .kc-team__controls { justify-content: center; margin-top: 0; }
  .kc-team__dots-desktop { display: none; }
  .kc-team__dots-mobile:not([hidden]) { display: flex; }
  .kc-team__nav { flex-wrap: wrap; justify-content: center; }
  .kc-team__nav .kc-link-arrow { flex-basis: 100%; justify-content: center; margin-top: 24px; }
}

/* ==========================================================================
   TESTIMONIALS + SERVICE AREA CALLOUT
   ========================================================================== */
.kc-reviews { background: var(--kc-grey-bg); padding: var(--section-pad-y-sm) 0; }
.kc-reviews__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.kc-reviews__row { display: flex; align-items: center; gap: 24px; width: 100%; }
.kc-reviews .kc-track { --track-gap: 24px; flex: 1; min-width: 0; }
.kc-reviews .kc-track > li { width: calc((100% - 2 * var(--track-gap)) / 3); }
.kc-review {
  height: 100%;
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border);
  border-radius: var(--radius-md);
}
.kc-review__name { opacity: 0.8; color: #050805; padding-bottom: 12px; border-bottom: 1px solid var(--kc-border); }
.kc-review__text {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(4 * 1.6em);
}
.kc-review__stars { width: 170px; height: 26px; margin-top: 7px; }
.kc-reviews__mobile-nav { display: none; }

.kc-callout {
  display: flex; align-items: center; gap: 24px;
  width: 100%; max-width: 1200px;
  padding: 40px 20px 40px 40px;
  background: var(--kc-coral-tint);
  border-radius: var(--radius-sm);
}
.kc-callout > img { width: 106px; height: 105px; flex: none; }
.kc-callout__text { display: flex; flex-direction: column; gap: 6px; }
.kc-callout__text .t-title-lg { color: #050805; }

@media (max-width: 991px) {
  .kc-reviews .kc-track > li { width: calc((100% - var(--track-gap)) / 2); }
}
@media (max-width: 767px) {
  .kc-reviews__inner { gap: 40px; }
  .kc-reviews .kc-section-head p { color: var(--kc-ink-muted); }
  .kc-reviews__row > .kc-arrow { display: none; }
  .kc-reviews .kc-track { --track-gap: 8px; }
  .kc-reviews .kc-track > li { width: 312px; scroll-snap-align: center; }
  .kc-reviews__row .kc-track { padding-inline: calc(50% - 156px); }
  .kc-reviews__mobile-nav { display: flex; justify-content: center; align-items: center; gap: 16px; }
  .kc-reviews__dots-desktop { display: none; }
  .kc-callout { flex-direction: column; text-align: center; padding: 24px 25px; }
  .kc-callout > img { width: 88px; height: 88px; }
  .kc-callout__text { gap: 16px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.kc-faq { padding: var(--section-pad-y-sm) 0; }
.kc-faq__inner { display: flex; flex-direction: column; align-items: center; gap: 80px; }
.kc-faq__list { width: 100%; display: flex; flex-direction: column; gap: 48px; }
.kc-faq__row {
  display: grid; grid-template-columns: 500px 1fr; gap: 64px;
  padding-top: 24px; border-top: 1px solid var(--kc-border);
}
.kc-faq__row dt { color: #050805; }
.kc-faq__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.kc-faq__cta .t-title-lg { color: #050805; }
.kc-faq__cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 991px) {
  .kc-faq__row { grid-template-columns: 1fr 1.3fr; gap: 32px; }
}
@media (max-width: 767px) {
  .kc-faq__inner { gap: 40px; }
  .kc-faq__list { gap: 12px; }
  .kc-faq__row { grid-template-columns: 1fr; gap: 12px; padding-top: 18px; }
  .kc-faq__row dt { font-size: 18px; }
  .kc-faq__cta .t-title-lg { font-size: 28px; }
}

/* ==========================================================================
   CONSULTATION (copy + form)
   ========================================================================== */
.kc-consult {
  position: relative; overflow: hidden;
  background: var(--kc-linen);
  border-radius: var(--radius-card);
  padding: 50px 0;
}
.kc-consult .kc-leaves { top: 0; left: 0; width: 491px; height: 636px; }
.kc-consult__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 590px; align-items: center; gap: 40px;
  /* Figma: copy aligns with the 1128 content edge (156px), form ends 132px from the right */
  padding-inline: max(var(--gutter), (100% - var(--container)) / 2) max(var(--gutter), (100% - 1176px) / 2);
}
.kc-consult__copy { display: flex; flex-direction: column; gap: 12px; max-width: 560px; padding-block: 112px; }
.kc-consult__copy p { max-width: 506px; color: var(--kc-ink-muted); }
.kc-consult__copy .kc-btn[data-align="start"] { align-self: flex-start; } /* extra button in the copy column (centred again on phones) */

.kc-form {
  background: var(--kc-white);
  border: 1px solid var(--kc-border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-form);
  overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
.kc-form__head { background: var(--kc-navy); color: #fff; padding: 16px 20px; }
.kc-form__head p:last-child { font-size: 14px; color: #fafafa; opacity: 0.8; }
.kc-form__fields { display: flex; flex-direction: column; gap: 18px; padding: 0 20px; }
.kc-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kc-form__foot { display: flex; justify-content: flex-end; padding: 0 20px 20px; }

@media (max-width: 1199px) {
  .kc-consult__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .kc-consult { padding: 40px 0 60px; border-radius: 0; }
  .kc-consult .kc-leaves { width: 283px; height: 366px; }
  .kc-consult__grid { grid-template-columns: 1fr; gap: 40px; padding-inline: 12px; }
  .kc-consult__copy { padding: 0; align-items: center; text-align: center; gap: 20px; margin-inline: auto; }
  .kc-consult__copy .kc-btn[data-align="start"] { align-self: center; }
  .kc-form__head .t-title-lg { font-size: 20px; }
  .kc-form__pair { grid-template-columns: 1fr; gap: 18px; }
  .kc-form__foot .kc-btn { width: 100%; }
}

/* Inner-page CTA (no form; the button goes to /schedule-a-consultation/): the section's own copy
   and the button, centred in one column. The homepage keeps the form layout above. */
.kc-consult--cta { padding: 96px 0; }
.kc-consult--cta .kc-consult__grid { grid-template-columns: minmax(0, 1fr); padding-inline: var(--gutter); }
.kc-consult--cta .kc-consult__copy {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  max-width: 780px; margin-inline: auto; padding-block: 0; text-align: center;
}
.kc-consult--cta .kc-consult__copy > h2 { margin: 0 0 4px; }
.kc-consult--cta .kc-consult__copy p { max-width: 64ch; margin-inline: auto; }
.kc-consult--cta .kc-consult__btn { margin-top: 12px; }
/* pieces some pages carry in their CTA copy */
.kc-consult--cta .kc-phone-link, .kc-consult--cta .kc-consult__or { margin-inline: auto; }
.kc-consult--cta .kc-consult__or { width: min(420px, 100%); }
.kc-consult--cta .kc-consult__blocks { width: 100%; align-items: center; text-align: center; }
.kc-consult--cta .kc-consult__block { align-items: center; text-align: center; }
.kc-consult--cta .kc-consult__block .kc-btn { align-self: center; }
@media (max-width: 767px) {
  .kc-consult--cta { padding: 56px 0 64px; }
}

/* Homepage: the full consultation form (same fields as /schedule-a-consultation/) inside the form card */
@media (max-width: 1199px) {   /* tablets: copy above, form full width (the side-by-side version squeezes the checkbox labels) */
  .kc-consult:has(.kc-form--full) .kc-consult__grid { grid-template-columns: minmax(0, 1fr); padding-inline: var(--gutter); }
  .kc-consult:has(.kc-form--full) .kc-consult__copy { padding: 24px 0 0; align-items: center; text-align: center; margin-inline: auto; }
  .kc-consult:has(.kc-form--full) .kc-form { width: min(680px, 100%); margin-inline: auto; }
}
.kc-form--full .kc-form__body { gap: 20px; padding: 8px 0 24px; }
.kc-form--full .kc-form__status { margin: 0 20px; }
.kc-form--full .kc-form__fields { gap: 20px; }
.kc-form--full .kc-fieldset legend { margin-bottom: 8px; }
.kc-form--full .kc-form__foot { padding-top: 6px; }
.kc-form--full textarea.kc-input { min-height: 104px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--kc-night); color: #fff; padding: 56px 0 44px; }
.site-footer__inner { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 44px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; }
.site-footer__brand { width: 339px; display: flex; flex-direction: column; justify-content: flex-start; gap: 83px; }   /* newsletter sits 83px under the logo (Figma), even when the Services list runs long */
.site-footer__brand > a img { width: 339px; height: 80px; object-fit: contain; object-position: left; }
.kc-newsletter { display: flex; flex-direction: column; gap: 20px; }
.kc-newsletter__field { display: flex; flex-direction: column; gap: 6px; }
.kc-newsletter__row { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--kc-border-strong); }
.kc-newsletter__row input {
  flex: 1; min-width: 0; padding: 12px 0; border: 0; background: transparent; color: #fff; line-height: 1.6;
}
.kc-newsletter__row input::placeholder { color: rgba(255, 255, 255, 0.6); }
.kc-newsletter__row input:focus { outline: none; }
.kc-newsletter__row:focus-within { border-bottom-color: var(--kc-coral); }
.kc-newsletter__row button { color: var(--kc-coral); font-weight: var(--fw-bold); white-space: nowrap; }
/* Bigger touch targets with no visual change: the newsletter Submit and carousel dots get an invisible hit area */
.kc-newsletter__row button { min-height: 44px; }
.kc-dots button { position: relative; }
.kc-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 32px); height: 40px; transform: translate(-50%, -50%); }
.site-footer__col { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a:hover { color: var(--kc-coral); }
.kc-location { display: grid; grid-template-columns: 19px 1fr; column-gap: 5px; row-gap: 5px; }
.kc-location + .kc-location { margin-top: 15px; }
.kc-location img { width: 19px; height: 19px; margin-top: 3px; }
.kc-location a { color: var(--kc-coral); font-weight: var(--fw-bold); }
.kc-location a:hover { text-decoration: underline; color: var(--kc-coral) !important; }
.kc-location address { grid-column: 2; font-style: normal; font-size: 14px; line-height: 1.6; }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--kc-border-dark);
}
.site-footer__bottom ul { display: flex; gap: 24px; }
.site-footer__bottom a:hover { color: var(--kc-coral); }

@media (min-width: 768px) and (max-width: 1199px) {
  .site-footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; }
  .site-footer__brand { width: 100%; max-width: 339px; }
}
@media (max-width: 767px) {
  .site-footer { padding: 80px 0; }
  .site-footer__inner { gap: 40px; }
  .site-footer__top { flex-direction: column; gap: 40px; }
  .site-footer__brand { width: 100%; max-width: 339px; justify-content: flex-start; gap: 30px; }
  .site-footer__brand > a img { width: 100%; }
  .site-footer__bottom { flex-direction: column; gap: 40px; }
  .site-footer__bottom ul { flex-wrap: wrap; justify-content: flex-start; gap: 12px 28px; }
  .site-footer__bottom li { white-space: nowrap; }
}

/* ==========================================================================
   SERVICES PAGE (/services/) — Figma node 1888:290
   ========================================================================== */

/* ---- Photo hero (dark gradient, white text) ------------------------------ */
.kc-hero--photo { min-height: 659px; padding: 214px 0 120px; color: #fff; }
.kc-hero--photo .kc-hero__media img { object-position: var(--hero-pos, center); } /* set --hero-pos / --hero-pos-mobile per page */
.kc-hero--photo .kc-hero__media::after {   /* gradient stops vary per page in Figma: set --hero-fade-from / --hero-fade-to */
  background: linear-gradient(to left, rgba(0,0,0,0) var(--hero-fade-from, 33.472%), rgba(0,0,0,var(--hero-fade-alpha, 0.6)) var(--hero-fade-to, 66.736%));
}
.kc-hero--photo .kc-hero__inner { width: min(var(--container), 100% - 2 * var(--gutter)); }
.kc-hero--photo .kc-hero__lead { font-size: 19px; line-height: 1.7; color: #f3ede7; }
.kc-hero__lead--wide { max-width: 680px; }
.kc-hero__kicker { font-family: var(--font-body); font-size: 18px; font-weight: var(--fw-semibold); line-height: 1.4; color: #fff; }   /* small H1 above a big hero H2 */
@media (max-width: 767px) { .kc-hero__kicker { font-size: 15px; } }
.kc-hero__title--wide { max-width: 916px; }   /* long two-line titles */

@media (max-width: 1199px) {
  .kc-hero--photo { min-height: 560px; padding: 80px 0; }
}
@media (max-width: 767px) {
  .kc-hero--photo { min-height: 560px; padding: 60px 0; }
  .kc-hero--photo .kc-hero__media img { object-position: var(--hero-pos-mobile, center); }
  .kc-hero--photo .kc-hero__media::after { background: rgba(0, 0, 0, 0.5); }
  .kc-hero--photo .kc-hero__lead { font-size: 16px; line-height: 1.6; }
}

/* ---- Intro (title, serif lead, pull-quote) -------------------------------- */
.kc-intro { position: relative; overflow: hidden; background: var(--kc-cream); padding: var(--section-pad-y) 0; }
.kc-intro .kc-leaves { top: -179px; right: 0; width: 691px; height: 895px; transform: scaleX(-1); }
.kc-intro .kc-container { position: relative; }
.kc-intro__copy { max-width: var(--intro-w, 878px); display: flex; flex-direction: column; gap: 30px; }   /* Figma width varies per page: 878 / 1022 / 1158 */
.kc-intro__copy--wide { --intro-w: 1158px; }
.kc-intro__copy .t-section { color: #050805; }
.kc-stack { display: flex; flex-direction: column; gap: 1.6em; }
.kc-pullquote { background: var(--kc-blush); border-left: 5px solid var(--kc-purple); padding: 20px 30px; }

@media (max-width: 767px) {
  .kc-intro__copy { gap: 20px; }
  .kc-intro .kc-leaves { top: -80px; width: 300px; height: 389px; }
  .kc-pullquote { padding: 16px 20px; }
}

/* ---- Tabs (service categories) ------------------------------------------- */
.kc-svc-tabs { padding: var(--section-pad-y) 0; }
.kc-tabs { display: flex; flex-direction: column; gap: 80px; }
.kc-tabs__head { display: flex; flex-direction: column; gap: 20px; }
.kc-tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1080px; margin-inline: auto; }
.kc-tab {
  min-height: 48px; padding: 12px 23px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm);
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: var(--fw-bold); line-height: 1.3; color: var(--kc-ink-soft);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.kc-tab:hover { border-color: var(--kc-navy); color: var(--kc-navy); }
.kc-tab[aria-selected="true"] { background: var(--kc-navy); border-color: var(--kc-navy); color: #fff; }
.kc-tabs__panel { width: 100%; max-width: 1080px; margin-inline: auto; display: flex; flex-direction: column; gap: 35px; }
.kc-tabs__panel[hidden] { display: none; }
.kc-tabs__title {       /* Category title — Figma 38/42.56, -1% tracking */
  font-family: var(--font-display);
  font-size: 38px; line-height: 1.12; letter-spacing: -0.01em;
  text-align: center;
}

.kc-svc-list { border-bottom: 1px solid var(--kc-border-warm); }
.kc-svc-row {
  display: grid; grid-template-columns: 356px minmax(0, 1fr); align-items: start;
  padding: 31px 12px 32px 8px;
  border-top: 1px solid var(--kc-border-warm);
}
.kc-svc-row .t-title-md { line-height: 1.15; padding-right: 24px; }
.kc-svc-row__link { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: color var(--dur) var(--ease), background-size var(--dur) var(--ease); }
.kc-svc-row__link:hover, .kc-svc-row__link:focus-visible { color: var(--kc-purple); background-size: 100% 1.5px; }
.kc-svc-row__text { display: flex; flex-direction: column; gap: 18px; padding-top: 2px; line-height: 1.7; color: var(--kc-ink-soft); }

@media (max-width: 991px) {
  .kc-svc-row { grid-template-columns: 260px minmax(0, 1fr); padding-right: 8px; }
}
@media (max-width: 767px) {
  .kc-tabs { gap: 40px; }
  .kc-tabs__list { gap: 8px; }
  .kc-tab { width: 100%; padding-inline: 16px; }
  .kc-tabs__panel { gap: 24px; }
  .kc-tabs__title { font-size: 26px; }
  .kc-svc-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .kc-svc-row .t-title-md { font-size: 22px; padding-right: 0; }
}

/* ---- Split: copy + image ("How to Know", "Investment") -------------------- */
.kc-split-section { padding: var(--section-pad-y-sm) 0; }
.kc-split {
  width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 469px; gap: 80px; align-items: start;
  padding-top: 33px;
}
.kc-split--center { align-items: center; }
.kc-split__copy {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  max-width: 531px;
  font-size: 18px; line-height: 1.7; color: var(--kc-ink-soft);
}
.kc-split__copy .t-section { color: var(--kc-ink); }
.kc-split__lead { color: var(--kc-ink); }
.kc-split__copy > .kc-btn { margin-top: 8px; }
.kc-split__copy--even > .kc-btn { margin-top: 0; }
.kc-split__media img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-md); }
.kc-split__media--square img { aspect-ratio: 1; }
.kc-split__media--tall img { aspect-ratio: 469 / 513; }

@media (max-width: 1199px) {
  .kc-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 767px) {
  .kc-split { grid-template-columns: 1fr; gap: 40px; padding-top: 0; }
  .kc-split__copy { font-size: 16px; gap: 16px; }
  .kc-split__copy > .kc-btn { width: 100%; margin-top: 8px; }
}

/* ---- Who We Work With (images left, list right) -------------------------- */
.kc-who { background: var(--kc-grey-bg); padding: var(--section-pad-y-sm) 0; }
.kc-who__grid {
  width: min(1041px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 469px) minmax(0, 476px); justify-content: space-between; align-items: start; gap: 48px;
}
.kc-who__copy { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.kc-who__copy .t-section { color: var(--kc-ink); }
.kc-who__media { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 20px; margin-top: 14px; }
.kc-who__media img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-md); }
.kc-who__media img:first-child { aspect-ratio: 469 / 230; }
.kc-who__media img:last-child { aspect-ratio: 469 / 284; }

.kc-bullets { display: flex; flex-direction: column; gap: 16px; padding: 8px 0; }
.kc-bullets li { display: flex; align-items: flex-start; gap: 16px; font-weight: var(--fw-semibold); }
.kc-bullets li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px;
  border-radius: 50%; background: var(--kc-purple);
}

@media (max-width: 767px) {
  .kc-who__grid { grid-template-columns: 1fr; gap: 40px; }
  .kc-who__copy, .kc-who__media { grid-column: 1; grid-row: auto; }
  .kc-who__media { margin-top: 0; }
}

/* ---- How Getting Started Works (3 step cards) ---------------------------- */
.kc-steps-section { padding: var(--section-pad-y-sm) 0; }
.kc-steps-section--white { background: var(--kc-white); }
.kc-steps--tall .kc-step { min-height: 296px; }   /* service pages: Figma fixes the cards at ~296–300px */
@media (max-width: 767px) { .kc-steps--tall .kc-step { min-height: 0; } }
.kc-steps-section .kc-container { display: flex; flex-direction: column; gap: 47px; padding-top: 33px; }
.kc-steps-section .kc-section-head { gap: 14px; }
.kc-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  margin: 0; padding: 0 24px;
}
.kc-step {
  display: flex; flex-direction: column; gap: 10px;
  padding: 34px 30px 37px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm);
  border-radius: var(--radius-md);
  font-size: 15.5px; line-height: 1.7; color: var(--kc-ink-soft);
}
.kc-step__num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--kc-purple); margin-bottom: 5px; }
.kc-step__title { font-family: var(--font-title); font-size: 20px; line-height: 1.12; color: var(--kc-navy); }
.kc-steps-section__outro { max-width: 600px; margin: -21px auto 0; text-align: center; }   /* sits 26px under the cards */
.kc-steps-section--compact .kc-container { gap: 30px; padding-top: 0; }   /* head, cards and outro 30px apart */
.kc-steps-section--compact .kc-steps-section__outro { margin-top: 0; max-width: none; }
@media (max-width: 767px) { .kc-steps-section__outro { margin-top: 0; } }

@media (max-width: 991px) {
  .kc-steps { padding: 0; gap: 16px; }
  .kc-step { padding: 28px 22px 30px; }
}
@media (max-width: 767px) {
  .kc-steps-section .kc-container { gap: 32px; padding-top: 0; }
  .kc-steps { grid-template-columns: 1fr; }
}

/* ---- What Makes Our Approach Different (3 check points) ------------------- */
.kc-approach { background: var(--kc-grey-bg); padding: var(--section-pad-y-sm) 0; }
.kc-approach__inner { width: min(1054px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 39px; }
.kc-approach .t-section { max-width: 553px; margin-inline: auto; }
.kc-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; line-height: 1.7; color: var(--kc-ink-soft); }
.kc-points li { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 325px; }
.kc-points__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--kc-orange-tint); }
.kc-points__icon img { width: 22px; height: 22px; }

@media (max-width: 991px) {
  .kc-points { gap: 32px; }
}
@media (max-width: 767px) {
  .kc-points { grid-template-columns: 1fr; }
  .kc-points li { max-width: none; gap: 14px; }
}

/* ---- FAQ accordion (native details/summary) ------------------------------ */
.kc-faq-acc { background: var(--kc-linen); border-radius: var(--radius-card); padding: var(--section-pad-y) 0; }
.kc-faq-acc__inner { width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 39px; }
.kc-accordion details { border-bottom: 1px solid var(--kc-border-warm); padding-bottom: 7px; }
.kc-accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 78px; margin-top: 6px; padding: 12px 8px;
  list-style: none; cursor: pointer;
}
.kc-accordion summary::-webkit-details-marker { display: none; }
.kc-accordion summary .t-title-sm { color: #050805; line-height: 1.7; transition: color var(--dur) var(--ease); }
.kc-accordion summary:hover .t-title-sm { color: var(--kc-purple); }
.kc-accordion summary::after {   /* plus; the vertical bar drops when open = minus */
  content: ""; flex: none; width: 26px; height: 26px;
  background:
    linear-gradient(var(--kc-purple), var(--kc-purple)) center / 26px 2px no-repeat,
    linear-gradient(var(--kc-purple), var(--kc-purple)) center / 2px 26px no-repeat;
}
.kc-accordion details[open] summary::after { background: linear-gradient(var(--kc-purple), var(--kc-purple)) center / 26px 2px no-repeat; }
.kc-accordion details > p { padding: 0 56px 24px 8px; font-size: 16.5px; line-height: 1.7; color: var(--kc-ink-soft); }

@media (max-width: 767px) {
  .kc-faq-acc { border-radius: 0; }
  .kc-faq-acc__inner { gap: 24px; }
  .kc-accordion summary { padding: 12px 0; min-height: 64px; }
  .kc-accordion summary .t-title-sm { font-size: 18px; line-height: 1.4; }
  .kc-accordion details > p { padding: 0 0 24px; font-size: 16px; }
}
.kc-faq-acc--spaced .kc-faq-acc__inner { gap: 80px; }   /* service pages: two-line title, more air */
.kc-faq-acc__title--wide { margin-inline: -60px; }   /* title runs ~950px, wider than the 860px list */
@media (max-width: 1080px) { .kc-faq-acc__title--wide { margin-inline: 0; } }
@media (max-width: 767px) { .kc-faq-acc--spaced .kc-faq-acc__inner { gap: 24px; } }

.kc-consult__copy--loose { gap: 30px; }
@media (max-width: 767px) { .kc-consult__copy--loose { gap: 20px; } }

/* ==========================================================================
   SERVICE DETAIL PAGES (/our-services/<service>/) — first built: Sex Therapy, Figma node 1909:17
   ========================================================================== */

/* ---- Common reasons: wide image + two-column bullet list ------------------- */
.kc-reasons { padding: var(--section-pad-y) 0; }
.kc-reasons__inner { display: flex; flex-direction: column; gap: 30px; }
.kc-reasons__media { width: 100%; height: 400px; object-fit: cover; object-position: center 52%; border-radius: var(--radius-md); }

.kc-bullets--plain { gap: 7px; }   /* regular-weight 18px body bullets */
.kc-bullets--plain li { font-weight: var(--fw-regular); font-size: 18px; color: var(--kc-ink-soft); }
.kc-h-plain { font: inherit; color: inherit; letter-spacing: inherit; }   /* a heading tag (for SEO) that looks like the surrounding text */
.kc-bullets--plain li::before { margin-top: 11px; }
.kc-bullets--grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; row-gap: 7px; }
.kc-bullets--cols { display: block; columns: 2; column-gap: 40px; }   /* fills the left column first */
.kc-bullets--cols li { break-inside: avoid; margin-bottom: 7px; }

@media (max-width: 767px) {
  .kc-reasons__inner { gap: 20px; }
  .kc-reasons__media { height: 240px; }
  .kc-bullets--plain { gap: 10px; }
  .kc-bullets--plain li { font-size: 16px; }
  .kc-bullets--plain li::before { margin-top: 9px; }
  .kc-bullets--grid { grid-template-columns: 1fr; row-gap: 10px; }
  .kc-bullets--cols { columns: 1; }
  .kc-bullets--cols li { margin-bottom: 10px; }
}

/* ---- Duo: copy + bullets left, tall photo right ---------------------------- */
.kc-duo { padding: var(--section-pad-y) 0; }
.kc-duo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.kc-duo__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0; }
.kc-duo__copy .t-section { color: var(--kc-ink); }
.kc-duo__media { width: 100%; height: 642px; object-fit: cover; border-radius: var(--radius-md); }

.kc-duo__grid--media-left .kc-duo__media { order: -1; }   /* photo left on desktop; copy stays first in the source */

/* Variant: full-width head above the copy/photo pair */
.kc-duo__inner { display: flex; flex-direction: column; gap: 18px; }
.kc-duo__head { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.kc-duo__head .t-section { color: var(--kc-ink); }
.kc-duo__media--short { height: var(--duo-media-h, 444px); }
.kc-duo__media--tall { height: 687px; }
.kc-duo__inner--even, .kc-duo__inner--even .kc-duo__head { gap: 20px; }
.kc-duo__inner--even .kc-duo__head { padding-top: 0; }
.kc-duo__grid--list { grid-template-columns: minmax(0, 524px) minmax(0, 1fr); gap: 40px; }   /* bullet list + wide landscape photo */
.kc-duo__grid--wide-list { grid-template-columns: minmax(0, 604px) minmax(0, 1fr); }
.kc-duo__grid--centered { grid-template-columns: minmax(0, 469px) minmax(0, 531px); justify-content: center; gap: 76px; align-items: center; }   /* OP service list beside a portrait photo; the breakpoints below stack it */   /* long bullets, narrower photo */
.kc-duo__copy--tight { gap: 7px; padding: 0; }
.kc-duo__copy--tight .kc-bullets { padding: 0; }
.kc-duo__media--landscape { height: 339px; }

@media (max-width: 1199px) {
  .kc-duo__grid { gap: 48px; }
}
@media (max-width: 767px) {
  .kc-duo__grid { grid-template-columns: 1fr; gap: 24px; }
  .kc-duo__media { height: 360px; }
  .kc-duo__grid--media-left .kc-duo__media { order: 0; }
}

/* ---- Media + copy: portrait photo left, title + text + button right -------- */
.kc-mediacopy { position: relative; overflow: hidden; background: var(--kc-grey-bg); padding: 120px 0; }
.kc-mediacopy .kc-leaves { top: 0; right: 0; width: 457px; height: 592px; transform: scaleX(-1); }
.kc-mediacopy__grid {
  position: relative;
  width: min(1041px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 407px) minmax(0, 1fr); gap: 58px; align-items: start;
}
.kc-mediacopy__media { width: 100%; height: 469px; object-fit: cover; border-radius: var(--radius-md); margin-top: 2px; }
.kc-mediacopy__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.kc-mediacopy__copy .t-section { color: var(--kc-ink); }
.kc-mediacopy__copy .t-lead { line-height: 1.7; }

@media (max-width: 1199px) {
  .kc-mediacopy { padding: var(--section-pad-y) 0; }
  .kc-mediacopy__grid { gap: 40px; }
}
@media (max-width: 767px) {
  .kc-mediacopy__grid { grid-template-columns: 1fr; gap: 24px; }
  .kc-mediacopy__copy { order: -1; gap: 20px; }
  .kc-mediacopy__copy .kc-btn { width: 100%; }
  .kc-mediacopy__media { height: 360px; margin-top: 0; }
  .kc-mediacopy .kc-leaves { width: 254px; height: 329px; }
}

/* ---- Talk-about: centered head, image left + bullet list right ------------- */
.kc-talk { padding: var(--section-pad-y) 0; }
.kc-talk__inner { display: flex; flex-direction: column; gap: 40px; }
.kc-talk__head { display: flex; flex-direction: column; gap: 20px; text-align: center; align-items: center; }
.kc-talk__head .t-section { color: var(--kc-ink); }
.kc-talk__head .t-lead-serif { max-width: 760px; }
.kc-talk__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.kc-talk__media { width: 100%; height: 574px; object-fit: cover; border-radius: var(--radius-md); }
.kc-talk__list { display: flex; flex-direction: column; gap: 16px; padding: 8px 0; }
.kc-talk__list > div { display: flex; flex-direction: column; gap: 7px; }

@media (max-width: 767px) {
  .kc-talk__inner { gap: 24px; }
  .kc-talk__grid { grid-template-columns: 1fr; gap: 24px; }
  .kc-talk__media { height: 300px; }
}

/* ---- Why choose: icon rows + tall image ------------------------------------ */
.kc-why-list { background: var(--kc-cream); padding: var(--section-pad-y) 0; }
.kc-why-list__inner { display: flex; flex-direction: column; gap: 30px; }
.kc-why-list__grid { display: grid; grid-template-columns: minmax(0, 597px) minmax(0, 1fr); gap: 80px; align-items: start; }
.kc-why-list__media { width: 100%; height: var(--why-media-h, 660px); object-fit: cover; border-radius: var(--radius-md); }

.kc-features li { display: flex; align-items: flex-start; gap: 26px; padding: 27px 0 26px; border-top: 1px solid var(--kc-border-warm); }
.kc-features li:first-child { border-top: 0; padding-top: 26px; }
.kc-features li > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.kc-features__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--kc-orange-tint); }
.kc-features__icon img { width: 24px; height: 24px; }
.kc-features .kc-features__title { font-family: var(--font-title); font-size: 22px; line-height: 1.12; color: var(--kc-navy); }
.kc-features p { font-size: 16.5px; line-height: 1.7; color: var(--kc-ink-soft); }

/* Variant: two stacked photos left, title + feature rows right */
.kc-why-list__grid--media-left { grid-template-columns: minmax(0, 469px) minmax(0, 1fr); gap: 60px; }
.kc-why-list__photos { display: flex; flex-direction: column; gap: 20px; }
.kc-why-list__photos img { width: 100%; object-fit: cover; border-radius: var(--radius-md); }
.kc-why-list__photos img:first-child { height: 474px; }
.kc-why-list__photos img:last-child { height: 484px; }
.kc-why-list__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kc-why-list__intro { display: flex; flex-direction: column; gap: 10px; }   /* lead + "they value:" grouped tight */

/* Variant: two shorter stacked photos right of the feature rows */
.kc-why-list__photos--right img:first-child { height: 313px; }
.kc-why-list__photos--right img:last-child { height: 363px; }

/* Cool variant: blue-white background, navy icon tiles */
.kc-why-list--cool { background: #f8faff; }
.kc-features--navy .kc-features__icon { background: rgba(37, 33, 93, 0.12); }

/* Variant: title + intro left, feature rows right (no photo) */
.kc-why-list__grid--head-left { grid-template-columns: minmax(0, 469px) minmax(0, 1fr); gap: 60px; }

/* Variant: photo left, "they value" + feature rows right (title sits above the grid) */
.kc-why-list__grid--photo-left { grid-template-columns: minmax(0, 451px) minmax(0, 1fr); }
.kc-why-list__grid--photo-left .kc-why-list__media { order: -1; }

@media (max-width: 1199px) {
  .kc-why-list__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 767px) {
  .kc-why-list__inner { gap: 20px; }
  .kc-why-list__grid { grid-template-columns: 1fr; gap: 24px; }
  .kc-why-list__media { height: 420px; }
  .kc-why-list__grid--media-left .kc-why-list__copy { order: -1; }   /* text before photos on phones */
  .kc-why-list__grid--photo-left .kc-why-list__media { order: 0; }
  .kc-why-list__photos img:first-child, .kc-why-list__photos img:last-child { height: 260px; }
  .kc-features li { gap: 16px; padding: 20px 0; }
  .kc-features li:first-child { padding-top: 8px; }
  .kc-features__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); }
  .kc-features .kc-features__title { font-size: 20px; }
  .kc-features p { font-size: 16px; }
}

/* ---- Chips ("Services may include") ----------------------------------------- */
.kc-chip-section { position: relative; overflow: hidden; background: var(--kc-grey-bg); padding: var(--section-pad-y-sm) 0; }
.kc-chip-section .kc-leaves { top: 0; right: 0; width: 457px; height: 592px; transform: scaleX(-1); }
.kc-chip-section__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.kc-chip-section .t-section { color: var(--kc-ink); }
.kc-chip-section .t-lead-serif { max-width: 991px; }

.kc-chips { display: flex; flex-wrap: wrap; gap: 12px; max-width: 960px; }
.kc-chips li {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm);
  border-radius: var(--radius-pill);
  font-size: 15.5px; font-weight: var(--fw-semibold); line-height: 1.7; color: var(--kc-ink);
}
.kc-chips li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--kc-purple); }
.kc-chips--stack { flex-direction: column; align-items: flex-start; gap: 10px; }   /* one long chip per line */
.kc-chips--stack li { min-height: 46px; padding: 10px 22px; font-size: 16px; line-height: 1.6; }
.kc-chips--compact { max-width: 820px; gap: 10px; }   /* wrapping rows of the smaller 46px chip */
.kc-chips--compact li { min-height: 46px; padding: 10px 22px; font-size: 16px; line-height: 1.6; }
.kc-chip-section__inner--tight { gap: 20px; }
.kc-chip-section--roomy { padding: var(--section-pad-y) 0; }
.kc-chip-section__head { display: flex; flex-direction: column; gap: 10px; max-width: 852px; margin-bottom: 20px; }   /* title, lead, intro grouped tight; 40px to chips */
.kc-chip-section__head + .kc-chips ~ .t-lead { max-width: 852px; }

@media (max-width: 767px) {
  .kc-chip-section__inner { gap: 24px; }
  .kc-chip-section .kc-leaves { width: 254px; height: 329px; }
  .kc-chips { gap: 8px; }
  .kc-chips li { min-height: 44px; padding: 8px 18px; font-size: 15px; line-height: 1.5; border-radius: 26px; }
  .kc-chip-section .kc-btn { width: 100%; }
}

/* ---- Process: title left, horizontal step cards right ---------------------- */
.kc-process { background: var(--kc-white); padding: 120px 0; }
.kc-process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 686px); gap: 30px; align-items: start; }
.kc-process__head { display: flex; flex-direction: column; gap: 20px; max-width: 412px; }
.kc-process__head .t-section { color: var(--kc-ink); }
.kc-process__body, .kc-process__steps { display: flex; flex-direction: column; gap: 28px; }
.kc-process__steps { margin: 0; padding: 0; }
.kc-step--row { flex-direction: row; align-items: flex-start; gap: 30px; padding: 35px 31px; }
.kc-step--row > div { display: flex; flex-direction: column; gap: 20px; flex: 1; min-width: 0; }
.kc-step--row .kc-step__num { margin-bottom: 0; }

@media (max-width: 1199px) {
  .kc-process { padding: var(--section-pad-y) 0; }
  .kc-process__grid { grid-template-columns: 1fr; gap: 40px; }
  .kc-process__head { max-width: 640px; }
}
@media (max-width: 767px) {
  .kc-process__body, .kc-process__steps { gap: 16px; }
  .kc-step--row { gap: 16px; padding: 24px 20px; }
  .kc-step--row > div { gap: 12px; }
  .kc-step--row .kc-step__num { font-size: 36px; }
}

/* ---- Rates: price cards + image -------------------------------------------- */
.kc-rates { background: var(--kc-cream); padding: var(--section-pad-y-sm) 0; }
.kc-rates__grid {
  width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 469px; gap: 40px; align-items: center;
}
.kc-rates__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.kc-rates__copy .t-section { color: var(--kc-ink); }
.kc-rates__label, .kc-rates__text { font-size: 18px; line-height: 1.7; }
.kc-rate-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.kc-rate-cards li {
  display: flex; flex-direction: column; gap: 9px;
  padding: 31px 33px;
  background: var(--kc-cream);
  border: 1px solid var(--kc-border-warm);
  border-radius: var(--radius-md);
  line-height: 1.7; color: var(--kc-ink-soft);
}
.kc-rate-cards__price { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--kc-navy); }
.kc-rates__note { padding-top: 7px; font-size: 15px; font-style: italic; line-height: 1.7; color: var(--kc-ink-note); }
.kc-rates__after { padding-top: 11px; }
.kc-rates__label--spaced { padding-top: 1.7em; }   /* Figma: blank line before "Session Rates:" */
.kc-rate-cards--single { grid-template-columns: 1fr; }
.kc-rate-cards__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; }
.kc-rate-cards li .kc-rates__note { padding-top: 0; }
.kc-rates__media { width: 100%; height: 513px; object-fit: cover; border-radius: var(--radius-md); }
.kc-rates__grid--wide-media { grid-template-columns: minmax(0, 461px) minmax(0, 1fr); }   /* narrow copy, wide landscape photo */
.kc-rates__grid--wide-media .kc-rates__media { height: 463px; }
.kc-rates__grid--media-left { grid-template-columns: minmax(0, 1fr) minmax(0, 453px); gap: 80px; }   /* wide photo left, copy right */
.kc-rates__grid--media-left .kc-rates__media { order: -1; height: 481px; }
.kc-rates__grid--narrow-copy { grid-template-columns: minmax(0, 453px) minmax(0, 1fr); }   /* 453px copy, wide photo at the default 513px */
.kc-rates__grid--wide-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 464px); gap: 80px; }   /* ~584px copy, narrow photo */
.kc-rates__grid--balanced { grid-template-columns: minmax(0, 541px) minmax(0, 1fr); }   /* 541px copy, ~547px photo */
.kc-rates__grid--copy-w { grid-template-columns: minmax(0, var(--rates-copy-w, 541px)) minmax(0, 1fr); }   /* copy width set per page */

@media (max-width: 1199px) {
  .kc-rates__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kc-rates__grid--media-left, .kc-rates__grid--wide-copy { gap: 48px; }
  .kc-rate-cards li { padding: 24px; }
  .kc-rate-cards__price { font-size: 32px; }
}
@media (max-width: 767px) {
  .kc-rates__grid { grid-template-columns: 1fr; gap: 40px; }
  .kc-rate-cards { grid-template-columns: 1fr; gap: 12px; }
  .kc-rates__media, .kc-rates__grid--wide-media .kc-rates__media, .kc-rates__grid--media-left .kc-rates__media { height: 360px; }
  .kc-rates__grid--media-left .kc-rates__media { order: 0; }
  .kc-rates__copy .kc-btn { width: 100%; }
  .kc-rates__label, .kc-rates__text { font-size: 16px; }
}

/* ---- Related services: arrow link cards ------------------------------------ */
.kc-related { padding: var(--section-pad-y-sm) 0; }
.kc-related__inner { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 40px; }
.kc-related .t-section { color: var(--kc-ink); }
.kc-related__intro { max-width: 740px; }
.kc-related__inner--tight { gap: 24px; }
.kc-link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kc-link-cards a {
  display: flex; align-items: center; gap: 12px;
  height: 100%; min-height: 92px; padding: 16px 22px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm);
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold); line-height: 1.7; color: var(--kc-ink);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.kc-link-cards a::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("../icons/arrow-right-purple.svg") center / 18px no-repeat;
  transition: transform var(--dur) var(--ease);
}
.kc-link-cards a:hover { border-color: var(--kc-purple); color: var(--kc-purple); }
.kc-link-cards a:hover::before { transform: translateX(3px); }
.kc-link-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 991px) {
  .kc-link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .kc-related__inner { gap: 24px; }
  .kc-link-cards { grid-template-columns: 1fr; gap: 10px; }
  .kc-link-cards a { min-height: 64px; }
}

/* ==========================================================================
   LOCATIONS PAGE (/location/) — Figma node 2031:3272
   ========================================================================== */

/* ---- Intro: copy left, "three ways to meet" card right --------------------- */
.kc-loc-intro { padding: var(--section-pad-y) 0; }
.kc-loc-intro__grid {
  width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 593px) minmax(0, 495px); justify-content: space-between; gap: 80px; align-items: center;
}
.kc-loc-intro__copy { display: flex; flex-direction: column; gap: 30px; }
.kc-loc-intro__copy .t-section { line-height: 1; color: #050805; }

.kc-loc-card {
  background: var(--kc-white); border: 1px solid #e6e2dc; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(37, 33, 93, 0.06);
}
.kc-loc-card__head {
  background: var(--kc-navy); color: #fff; padding: 19px 26px 18px;
  font-size: 12px; font-weight: var(--fw-bold); line-height: 1.6; letter-spacing: 0.14em; text-transform: uppercase;
}
.kc-loc-card__row {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 16px;
  min-height: 103px; padding: 18px 26px; border-bottom: 1px solid #e6e2dc;
  color: inherit; transition: background-color var(--dur) var(--ease);
}
a.kc-loc-card__row:hover { background: #fffaf4; }
.kc-loc-card__row:last-child { border-bottom: 0; min-height: 0; padding-block: 20px 21px; }
.kc-loc-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fbe9e1; }
.kc-loc-card__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.kc-loc-card__name strong { font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.2; color: var(--kc-navy); }
.kc-loc-card__tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.4; color: #75757f; }
.kc-loc-card__tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--kc-navy); }
.kc-loc-card__addr { margin-top: 6px; font-size: 14.5px; line-height: 1.4; color: #75757f; }
.kc-loc-card__arrow { font-size: 19px; color: #ff8a66; transition: transform var(--dur) var(--ease); }
a.kc-loc-card__row:hover .kc-loc-card__arrow { transform: translateX(3px); }
.kc-loc-card__row--soon { opacity: 0.6; }
.kc-loc-card__row--soon .kc-loc-card__icon { background: #efeef6; }
.kc-loc-card__row--soon .kc-loc-card__tag::before { display: none; }

/* ---- Office sections: map + copy ------------------------------------------- */
.kc-loc { padding: var(--section-pad-y) 0; }
.kc-loc--cream { background: var(--kc-cream); }
.kc-loc__grid { display: grid; grid-template-columns: minmax(0, 439px) minmax(0, 1fr); gap: 80px; align-items: start; }
.kc-loc__grid--map-right { grid-template-columns: minmax(0, 609px) minmax(0, 439px); justify-content: space-between; }
.kc-loc__grid--map-right .kc-loc__map { order: 2; }
.kc-loc__map { display: block; border-radius: var(--radius-md); overflow: hidden; }
.kc-loc__map img { width: 100%; height: 457px; object-fit: cover; transition: transform var(--dur) var(--ease); }
.kc-loc__map:hover img { transform: scale(1.02); }
.kc-loc__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.kc-loc__copy .t-section { line-height: 1; color: #050805; }
.kc-loc__list { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.kc-loc__list .kc-bullets--grid { padding: 8px 0; }
.kc-loc-address {
  display: flex; align-items: flex-start; gap: 12px; width: 100%;
  padding: 17px 20px; border-radius: 10px; background: #efeef6;
}
.kc-loc-address img { flex: none; margin-top: 4px; }
.kc-loc-address strong { display: block; font-size: 18px; line-height: 1.2; color: var(--kc-navy); }
.kc-loc-address span { display: block; margin-top: 1px; font-size: 14px; font-style: italic; line-height: 1.6; color: var(--kc-ink-soft); }

.kc-soon {
  display: flex; align-items: center; gap: 24px; margin-top: 30px;
  padding: 30px 40px; border: 1px dashed #d9cfc4; border-radius: 14px; background: rgba(255, 255, 255, 0.6);
}
/* Lee's Summit: its own lavender band between Independence and Telehealth, so it reads as a separate (future) location */
.kc-loc-soon { padding: 64px 0; background: #f3f1f9; border-block: 1px solid #e4e0f1; }
.kc-loc-soon .kc-soon { margin-top: 0; gap: 28px; padding: 36px 44px; background: var(--kc-white); border: 1.5px dashed #b9b3dc; border-radius: var(--radius-card); }
.kc-soon__icon { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #ebe8f7; }
.kc-soon__icon img { width: 26px; height: 30px; }
.kc-soon__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.kc-loc-soon .kc-soon__title { margin-bottom: 0; }
.kc-soon__pill {
  flex: none; padding: 8px 14px; border: 1px solid #6a67a4; border-radius: var(--radius-pill);
  font-size: 10px; font-weight: 800; line-height: 1.6; letter-spacing: 0.14em; text-transform: uppercase; color: #6a67a4;
}
.kc-soon__title { font-family: var(--font-display); font-size: 30px; line-height: 1.17; color: var(--kc-navy); margin-bottom: 8px; }
.kc-soon p:last-child { font-size: 18px; line-height: 1.6; color: var(--kc-ink-soft); }

/* ---- Telehealth -------------------------------------------------------------- */
.kc-tele { background: #fdf3ee; padding: var(--section-pad-y) 0; }
.kc-tele__inner { display: flex; flex-direction: column; gap: 80px; }
.kc-tele__grid { display: grid; grid-template-columns: minmax(0, 439px) minmax(0, 1fr); gap: 80px; align-items: start; }
.kc-tele__media { width: 100%; height: 590px; object-fit: cover; border-radius: var(--radius-md); }
.kc-tele__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.kc-tele__copy .t-section { line-height: 1; color: #050805; }
.kc-tele__note {
  max-width: 522px; padding: 21px 26px; border: 1px solid #e6e2dc; border-radius: 10px; background: var(--kc-white);
  font-size: 14px; font-style: italic; line-height: 1.75; color: #55555f;
}
.kc-tele__helpful { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }

.kc-chips--sm { gap: 12px; max-width: 470px; }
.kc-chips--sm li {
  min-height: 46.75px; padding: 10px 22px; gap: 9px;
  border-color: #e6e2dc; font-size: 13px; line-height: 1.75; color: var(--kc-navy);
}
.kc-chips--sm li::before { width: 5px; height: 5px; background: #ff8a66; }
.kc-chips--center { justify-content: center; max-width: 720px; gap: 10px; }
.kc-chips--center li { min-height: 43px; padding: 10px 22px; font-size: 13px; line-height: 1.75; color: var(--kc-navy); }

/* ---- Format cards ------------------------------------------------------------ */
.kc-formats { padding: var(--section-pad-y-sm) 0; }
.kc-formats__inner { width: min(1100px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 47px; text-align: center; }
.kc-formats__head { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.kc-formats__head .t-lead { max-width: 476px; }
.kc-format-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; text-align: left; }
.kc-format-cards li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  min-height: 285px; padding: 28px 24px; border: 1px solid #e6e2dc; border-radius: 14px; background: var(--kc-white);
}
.kc-format-cards__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fbe9e1; }
.kc-format-cards__title { font-size: 18px; font-weight: var(--fw-bold); line-height: 1.3; letter-spacing: 0.1px; color: var(--kc-navy); max-width: 160px; }
.kc-format-cards p:last-child { font-size: 18px; line-height: 1.4; color: #7d8285; }

@media (max-width: 1199px) {
  .kc-loc-intro__grid { gap: 48px; }
  .kc-loc__grid, .kc-tele__grid { gap: 48px; }
  .kc-format-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-format-cards li { min-height: 0; }
}
@media (max-width: 991px) {
  .kc-loc-intro__grid { grid-template-columns: 1fr; }
  .kc-loc__grid, .kc-loc__grid--map-right, .kc-tele__grid { grid-template-columns: 1fr; gap: 40px; }
  .kc-loc__grid--map-right .kc-loc__map { order: 0; }
  .kc-loc__map img { height: 380px; }
  .kc-tele__media { height: 420px; }
}
@media (max-width: 767px) {
  .kc-loc-intro__copy, .kc-loc__copy, .kc-tele__copy { gap: 20px; }
  .kc-loc__grid, .kc-loc__grid--map-right, .kc-tele__grid { grid-template-columns: 1fr; gap: 24px; }
  .kc-loc__grid--map-right .kc-loc__map { order: 0; }
  .kc-loc__map img { height: 300px; }
  .kc-loc__copy .kc-btn, .kc-tele__copy .kc-btn { width: 100%; }
  .kc-loc-card__row { padding: 16px 18px; column-gap: 12px; min-height: 0; }
  .kc-loc-card__head { padding-inline: 18px; }
  .kc-soon { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 20px; }
  .kc-loc-soon { padding: 40px 0; }
  .kc-loc-soon .kc-soon { padding: 26px 22px; gap: 16px; }
  .kc-soon__icon { width: 56px; height: 56px; }
  .kc-soon__title { font-size: 24px; }
  .kc-soon p:last-child { font-size: 16px; }
  .kc-tele__inner { gap: 40px; }
  .kc-tele__media { height: 360px; }
  .kc-formats__inner { gap: 28px; }
  .kc-format-cards { grid-template-columns: 1fr; gap: 12px; }
  .kc-format-cards__title { max-width: none; }
  .kc-format-cards p:last-child { font-size: 16px; }
}

/* ==========================================================================
   CITY / LOCATION LANDING PAGES (/location/overland-park/ …) — Figma node 2032:4367
   ========================================================================== */

.kc-city { padding: var(--section-pad-y) 0; }
.kc-city--flush-top { padding-top: 0; }
.kc-city--warm { background: #fffdfb; }
.kc-city--cream { background: var(--kc-cream); }
.kc-city--grey { position: relative; overflow: hidden; background: var(--kc-grey-bg); padding: var(--section-pad-y-sm) 0; }
.kc-city--grey .kc-leaves { top: 0; right: 0; width: 457px; height: 592px; transform: scaleX(-1); }
.kc-city--sm { padding: var(--section-pad-y-sm) 0; }
.kc-city__inner { position: relative; width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 56px; }
.kc-city__head { display: flex; flex-direction: column; align-items: center; gap: 19px; text-align: center; }
.kc-city__head .t-section { color: var(--kc-ink); }
.kc-city__head .t-lead { max-width: 790px; color: #75757f; line-height: 1.72; }
.kc-city__outro { max-width: 704px; margin-inline: auto; text-align: center; line-height: 1.5; }

/* Reason cards (2-col, orange dot) */
.kc-reason-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kc-reason-cards li {
  display: flex; align-items: center; gap: 14px; min-height: 71.5px; padding: 12px 26px;
  background: var(--kc-white); border: 1px solid #e6e2dc; border-radius: 14px;
  font-size: 17px; font-weight: var(--fw-semibold); line-height: 1.5; color: var(--kc-navy);
}
.kc-reason-cards li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ff8a66; }
.kc-city__photo { width: 100%; height: 495px; object-fit: cover; border-radius: 22px; }

/* Value cards (3-col, orange bar) */
.kc-value-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kc-value-cards li {
  display: flex; flex-direction: column; gap: 12px; min-height: 233px; padding: 30px 28px;
  background: var(--kc-white); border: 1px solid #e6e2dc; border-radius: 14px;
}
.kc-value-cards li::before { content: ""; width: 44px; height: 5px; border-radius: 100px; background: #ff8a66; margin-bottom: 8px; }
.kc-value-cards__title { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.3; letter-spacing: 0.1px; color: #050805; }
.kc-value-cards p { font-size: 16px; line-height: 1.62; color: #75757f; }

/* Service link cards (2-col, title + arrow + text) */
.kc-svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.kc-svc-cards a, .kc-svc-cards__card {
  display: block; height: 100%; padding: 24px 28px 26px;
  background: var(--kc-white); border: 1px solid #e6e2dc; border-radius: 14px;
  transition: border-color var(--dur) var(--ease);
}
.kc-svc-cards a:hover { border-color: var(--kc-purple); }
.kc-svc-cards__title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 6px;
  font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.3; color: var(--kc-navy); }
.kc-svc-cards__title::after { content: "→"; font-family: var(--font-body); font-size: 19px; color: #ff8a66; transition: transform var(--dur) var(--ease); }
.kc-svc-cards a:hover .kc-svc-cards__title::after { transform: translateX(3px); }
.kc-svc-cards p { font-size: 16px; line-height: 1.6; color: #75757f; }

/* Compact link list (2-col, dot + arrow) */
.kc-link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kc-link-list a, .kc-link-list__item {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 62px; padding: 12px 22px;
  background: var(--kc-white); border: 1px solid #e6e2dc; border-radius: 10px;
  font-size: 16.5px; font-weight: var(--fw-semibold); line-height: 1.45; color: var(--kc-navy);
  transition: border-color var(--dur) var(--ease);
}
.kc-link-list__item::before, .kc-link-list a::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #ff8a66; }
.kc-link-list a::after { content: "→"; margin-left: auto; padding-left: 16px; font-weight: 700; color: #ff8a66; }
.kc-link-list a:hover { border-color: var(--kc-purple); }
.kc-link-list__item { cursor: default; }   /* plain (unlinked) item: same box, no arrow */

/* Rate band */
.kc-rate-band {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: center;
  width: min(1160px, 100% - 2 * var(--gutter)); margin: 40px auto 0; padding: 42px 50px;
  background: var(--kc-navy); border-radius: 22px; box-shadow: 0 18px 44px rgba(37, 33, 93, 0.18); color: #fff;
}
.kc-rate-band__label { font-size: 11.5px; font-weight: var(--fw-bold); line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: #ff8a66; margin-bottom: 7px; }
.kc-rate-band__price { font-family: var(--font-display); font-size: 46px; line-height: 1.37; }
.kc-rate-band__text { display: flex; flex-direction: column; gap: 10px; padding-left: 50px; border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.74); }
.kc-rate-band__text a { color: #ff8a66; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 991px) {
  .kc-value-cards { grid-template-columns: 1fr 1fr; }
  .kc-rate-band { grid-template-columns: 1fr; gap: 20px; }
  .kc-rate-band__text { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
}
@media (max-width: 767px) {
  .kc-city__inner { gap: 32px; }
  .kc-reason-cards, .kc-value-cards, .kc-svc-cards, .kc-link-list { grid-template-columns: 1fr; gap: 10px; }
  .kc-reason-cards li { font-size: 16px; min-height: 60px; padding: 12px 20px; }
  .kc-value-cards li { min-height: 0; padding: 24px 22px; }
  .kc-city__photo { height: 260px; border-radius: 16px; }
  .kc-svc-cards a, .kc-svc-cards__card { padding: 20px 22px; }
  .kc-svc-cards__title { font-size: 21px; }
  .kc-rate-band { padding: 28px 24px; }
  .kc-rate-band__price { font-size: 38px; }
  .kc-rate-band__text { font-size: 16px; }
}

/* Left-aligned city section + pill list (Blue Springs "Whole Relationship System") */
.kc-city__inner--left { align-items: flex-start; gap: 20px; }
.kc-city__inner--left .t-lead { color: #75757f; }
.kc-pill-list { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.kc-pill-list li {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px;
  background: var(--kc-white); border: 1px solid #e7dfd6; border-radius: 100px;
  font-size: 16.5px; font-weight: var(--fw-semibold); line-height: 1.45; color: var(--kc-navy);
}
.kc-pill-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--kc-purple); }
@media (max-width: 767px) {
  .kc-pill-list li { border-radius: 18px; font-size: 16px; padding: 10px 18px; }
}
.kc-pill-list--wrap { flex-direction: row; flex-wrap: wrap; }
.kc-pill-list--wrap li { font-size: 16px; line-height: 1.6; color: var(--kc-ink); }
@media (min-width: 768px) {
  .kc-svc-cards a, .kc-svc-cards__card { min-height: 146px; }   /* Figma cards keep a fixed minimum height */
}

/* ==========================================================================
   FAQs PAGE (/about-us/faq/) — Figma node 2045:1057
   ========================================================================== */
@media (min-width: 992px) { .kc-hero--no-cta { padding-top: 316px; } }   /* no button: title sits lower */
.kc-faq-page { background: #fffdfb; padding: var(--section-pad-y) 0; }
.kc-faq-page__inner { width: min(1128px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 50px; }
.kc-faq-page__head { display: flex; flex-direction: column; gap: 20px; text-align: center; color: #050805; }
.kc-faq-page__head .t-section { line-height: 1; }
.kc-faq-page__panel { width: min(860px, 100%); margin: -10px auto 0; }
.kc-faq-page__panel[hidden] { display: none; }
@media (max-width: 767px) {
  .kc-faq-page__inner { gap: 32px; }
  .kc-faq-page__head .t-section { line-height: 1.2; }
  .kc-faq-page__panel { margin-top: 0; }
}

/* ==========================================================================
   ABOUT PAGE (/about-us/) — Figma node 2068:2180
   ========================================================================== */
.kc-about-intro { position: relative; overflow: hidden; background: var(--kc-white); padding: var(--section-pad-y) 0; }
.kc-about-intro__inner { position: relative; width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 30px; }
.kc-beliefs { display: grid; grid-template-columns: minmax(0, 1fr) 451px; gap: 60px; align-items: center; }
.kc-beliefs__copy { display: flex; flex-direction: column; gap: 22px; }
.kc-beliefs__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.kc-beliefs__cards li {
  display: flex; flex-direction: column; gap: 19px; min-height: 172px; padding: 31px 29px;
  background: #fdf3ee; border: 1px solid #e6e2dc; border-radius: 14px;
  font-family: var(--font-display); font-size: 22px; line-height: 1.3; letter-spacing: 0.1px; color: #050805;
}
.kc-beliefs__cards li::before { content: ""; width: 44px; height: 5px; border-radius: 100px; background: var(--kc-purple); }
.kc-beliefs__media { width: 100%; height: 453px; object-fit: cover; border-radius: var(--radius-md); }
.kc-link-list--purple .kc-link-list__item::before, .kc-link-list--purple a::before { background: var(--kc-purple); }
.kc-link-list--purple a::after { color: var(--kc-purple); font-weight: 400; }
@media (max-width: 991px) {
  .kc-beliefs { grid-template-columns: 1fr; gap: 32px; }
  .kc-beliefs__media { height: 360px; }
}
@media (max-width: 767px) {
  .kc-beliefs__cards { grid-template-columns: 1fr; gap: 12px; }
  .kc-beliefs__cards li { min-height: 0; padding: 24px 22px; font-size: 20px; }
  .kc-beliefs__media { height: 260px; }
}

/* ==========================================================================
   WHAT TO EXPECT (/about-us/what-to-expect/) — Figma node 2068:3065
   ========================================================================== */
.kc-expect { background: var(--kc-cream); padding: var(--section-pad-y) 0; }
.kc-expect__list { width: min(1128px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 40px; }
.kc-expect__step { display: grid; grid-template-columns: 113px minmax(0, 1fr); gap: 99px; align-items: start; }
.kc-expect__num {
  display: grid; place-items: center; width: 113px; height: 113px; border-radius: 50%;
  background: var(--kc-purple); color: #fff; font-family: var(--font-display); font-size: 48px; line-height: 1;
}
.kc-expect__card {
  display: flex; flex-direction: column; gap: 20px; padding: 50px 60px;
  background: var(--kc-white); border: 1px solid #e7dfd6; border-radius: 12px;
}
.kc-expect__title { font-family: var(--font-title); font-size: 30px; line-height: 1; color: var(--kc-navy); }
.kc-expect__card .kc-bullets--grid { column-gap: 40px; padding: 0; }
.kc-expect__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.kc-expect__box { display: flex; flex-direction: column; gap: 11px; padding: 30px; background: #fdf3ee; border-radius: 8px; }
.kc-expect__box > p { font-size: 18px; line-height: 1.6; font-weight: var(--fw-bold); color: var(--kc-ink-soft); }
.kc-expect__box .kc-bullets { gap: 11px; padding: 0; }
.kc-expect__img { width: 100%; height: 271px; object-fit: cover; }
@media (max-width: 991px) {
  .kc-expect__step { grid-template-columns: 72px minmax(0, 1fr); gap: 24px; }
  .kc-expect__num { width: 72px; height: 72px; font-size: 30px; }
}
@media (max-width: 767px) {
  .kc-expect__step { grid-template-columns: 1fr; gap: 16px; }
  .kc-expect__num { width: 56px; height: 56px; font-size: 24px; }
  .kc-expect__card { padding: 28px 22px; gap: 16px; }
  .kc-expect__title { font-size: 26px; line-height: 1.15; }
  .kc-expect__card .kc-bullets--grid, .kc-expect__boxes { grid-template-columns: 1fr; gap: 10px; }
  .kc-expect__boxes { gap: 16px; }
  .kc-expect__box { padding: 22px; }
  .kc-expect__img { height: auto; aspect-ratio: 792 / 271; }
}

/* ==========================================================================
   OUR TEAM (/our-team/) — Figma node 2071:3813
   ========================================================================== */
.kc-staff-section { padding: var(--section-pad-y) 0; background: var(--kc-white); }
.kc-staff-section--cream { background: var(--kc-cream); }
.kc-staff-section__inner { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 30px; }
.kc-staff-section__inner > .t-section { line-height: 1.3; text-align: center; }
.kc-staff { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.kc-staff > li { width: calc((100% - 60px) / 3); }
.kc-person { display: flex; flex-direction: column; gap: 24px; }
.kc-person__photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); background: var(--kc-sand); }
.kc-person__media { position: relative; container-type: inline-size; }
.kc-person__media .kc-person__photo { display: block; }
.kc-person__badges { position: absolute; right: -6px; bottom: 6px; display: flex; flex-direction: row-reverse; }
.kc-person__badges li + li { margin-right: -14px; }
.kc-person__badges img { display: block; width: clamp(88px, 36cqw, 142px); height: auto; filter: drop-shadow(0 6px 14px rgba(22, 20, 43, 0.25)); }
.kc-person__body { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.kc-person__name { font-family: var(--font-title); font-size: 28px; line-height: 1.3; color: #050805; }
.kc-person__role { font-size: 16px; line-height: 1.6; font-weight: var(--fw-bold); color: #453f95; }
.kc-person__cred { font-size: 16px; line-height: 1.6; color: rgba(18, 18, 18, 0.6); }
.kc-person__where {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 17px 20px;
  background: #efeef6; border-radius: 10px; font-size: 14px; line-height: 1.6; font-style: italic; color: var(--kc-ink-soft);
}
.kc-person__where img { flex: none; margin-top: 4px; }
.kc-person__where img[src*="telehealth"] { margin-top: 0; }
.kc-person__bio-btn { padding: 12px 0; font-size: 16px; font-weight: var(--fw-bold); line-height: 1.4; color: var(--kc-purple); background: none; border: 0; cursor: pointer; }
.kc-person__bio-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

.kc-bio { width: min(720px, 100% - 32px); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: 16px; background: var(--kc-white); color: var(--kc-ink); box-shadow: 0 30px 80px rgba(37, 33, 93, 0.25); }
.kc-bio::backdrop { background: rgba(5, 8, 5, 0.55); }
.kc-bio__inner { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 44px 48px 40px; }
.kc-bio__head { display: flex; align-items: center; gap: 20px; padding-right: 40px; }
.kc-bio__head img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.kc-bio__head .kc-person__name { font-size: 30px; }
.kc-bio__text { display: flex; flex-direction: column; gap: 14px; font-size: 16.5px; line-height: 1.7; color: var(--kc-ink-soft); }
.kc-bio__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: #f3f1ee; color: var(--kc-ink); font-size: 24px; line-height: 1; cursor: pointer;
}
.kc-bio__close:hover { background: #e7dfd6; }
@media (max-width: 991px) { .kc-staff > li { width: calc((100% - 30px) / 2); } }
@media (max-width: 767px) {
  .kc-staff { gap: 40px; }
  .kc-staff > li { width: 100%; }
  .kc-person__name { font-size: 24px; }
  .kc-bio__inner { padding: 32px 22px 28px; }
  .kc-bio__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .kc-bio__head .kc-person__name { font-size: 24px; }
}

/* ==========================================================================
   RATES (/rates/) — Figma node 2073:4876
   ========================================================================== */
.kc-rates-page { padding: var(--section-pad-y) 0; }
.kc-rates-page--cream { background: var(--kc-cream); }
.kc-rates-page--peach { background: #fdf3ee; }
.kc-rates-page--warm { background: #fffdfb; }
.kc-rates-page__inner { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.kc-rates-page__inner > .t-section { line-height: 1.3; }
.kc-rates-page__inner > .t-lead { max-width: 1020px; }

.kc-tier-table-wrap { width: 100%; overflow-x: auto; background: var(--kc-white); border: 1px solid #e6e2dc; border-radius: 22px; text-align: left; }
.kc-tier-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.kc-tier-table th, .kc-tier-table td { padding: 0 26px; vertical-align: middle; }
.kc-tier-table thead td { background: var(--kc-navy); }
.kc-tier-table thead th { height: 101px; background: var(--kc-navy); color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.25; }
.kc-tier-table thead th:first-child { width: 250px; }
.kc-tier-table tbody tr { border-top: 1px solid #e6e2dc; }
.kc-tier-table .kc-tier-table__group th { height: 45px; background: #fdf3ee; font-size: 11.5px; font-weight: var(--fw-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--kc-purple); }
.kc-tier-table tbody th[scope="row"] { font-size: 16px; font-weight: var(--fw-semibold); line-height: 1.45; color: var(--kc-navy); }
.kc-tier-table td { font-family: var(--font-display); color: var(--kc-navy); }
.kc-tier-table__regular { height: 85px; }
.kc-tier-table__regular td { font-size: 28px; }
.kc-tier-table__rip { height: 87px; }
.kc-tier-table__rip th[scope="row"], .kc-tier-table__rip td { color: var(--kc-purple) !important; }
.kc-tier-table__rip td { font-size: 23px; }
.kc-tier-table__intensive { height: 64px; }
.kc-tier-table__intensive td { font-size: 20px; }
@media (max-width: 1199px) {   /* tablets: compact so all four columns fit without sideways scrolling */
  .kc-tier-table { min-width: 600px; }
  .kc-tier-table th, .kc-tier-table td { padding: 0 14px; }
  .kc-tier-table thead th { height: 84px; font-size: 18px; }
  .kc-tier-table thead th:first-child { width: 190px; }
  .kc-tier-table tbody th[scope="row"] { font-size: 14.5px; }
  .kc-tier-table__regular { height: 72px; }
  .kc-tier-table__regular td { font-size: 24px; }
  .kc-tier-table__rip { height: 74px; }
  .kc-tier-table__rip td { font-size: 20px; }
  .kc-tier-table__intensive td { font-size: 16px; }
}

.kc-tier-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; text-align: left; }
.kc-tier-person { display: flex; flex-direction: column; gap: 4px; padding: 23px 24px 16px; background: var(--kc-white); border: 1px solid #e6e2dc; border-radius: 14px; }
.kc-tier-person__name { font-family: var(--font-display); font-size: 20px; line-height: 1.3; color: var(--kc-navy); }
/* each provider card links to their bio on Our Team (name link stretched over the card) */
.kc-tier-person { position: relative; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.kc-tier-person__link { color: inherit; text-decoration: none; }
.kc-tier-person__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.kc-tier-person:has(.kc-tier-person__link:hover) { border-color: var(--kc-purple-soft); box-shadow: 0 8px 22px rgba(37, 33, 93, .08); }
.kc-tier-person:has(.kc-tier-person__link:hover) .kc-tier-person__link { color: var(--kc-purple); text-decoration: underline; text-underline-offset: 3px; }
.kc-tier-person__link:focus-visible { outline: none; }
.kc-tier-person:has(.kc-tier-person__link:focus-visible) { outline: 2px solid var(--kc-purple); outline-offset: 2px; }
.kc-tier-people__title-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.kc-tier-people__title-link:hover { color: var(--kc-purple); }
.kc-tier-person__cred { font-size: 14px; line-height: 1.5; color: #75757f; }
.kc-tier-person__tier { display: flex; align-items: center; gap: 9px; margin-top: 11px; padding-top: 12px; border-top: 1px solid #e6e2dc;
  font-size: 11px; font-weight: var(--fw-bold); line-height: 1.5; letter-spacing: 0.11em; text-transform: uppercase; color: #6a67a4; }
.kc-tier-person__tier::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6a67a4; }

.kc-rip-cards { display: grid; grid-template-columns: repeat(3, 288px); gap: 18px; justify-content: center; }
.kc-rip-cards li { display: flex; flex-direction: column; gap: 4px; padding: 28px 20px 30px; background: var(--kc-white); border: 1px solid #e6e2dc; border-radius: 14px; }
.kc-rip-cards p:first-child { font-size: 14.5px; font-weight: var(--fw-bold); line-height: 1.72; color: var(--kc-navy); }
.kc-rip-cards p:last-child { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--kc-purple); }
.kc-rip-perks { display: grid; grid-template-columns: repeat(2, 441px); gap: 18px; justify-content: center; }
.kc-rip-perks li { display: grid; place-items: center; min-height: 78px; padding: 16px 20px; background: var(--kc-navy); border-radius: 12px;
  font-family: var(--font-display); font-size: 22px; line-height: 1.35; color: #fff; }

.kc-pay { display: grid; grid-template-columns: 469px minmax(0, 531px); gap: 76px; align-items: center; justify-content: center;
  width: min(1128px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.kc-pay__media { width: 100%; height: 789px; object-fit: cover; border-radius: var(--radius-md); }
.kc-pay__copy { display: flex; flex-direction: column; gap: 24px; }
.kc-pay__copy > .t-section { font-size: 45px; line-height: 1.3; }
.kc-pay__list li { display: flex; align-items: center; gap: 15px; min-height: 61px; border-bottom: 1px solid #e6e2dc; font-size: 17px; font-weight: var(--fw-semibold); line-height: 1.4; color: var(--kc-navy); }
.kc-pay__list li:last-child { border-bottom: 0; }
.kc-pay__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: #fbe9e1; }
.kc-pay__box { display: flex; flex-direction: column; gap: 17px; padding: 34px 36px 36px; background: #efeef6; border-radius: 22px; }
.kc-pay__box h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.25; color: var(--kc-navy); }
.kc-pay__box p { font-size: 16.5px; line-height: 1.7; color: #55555f; }

.kc-ins { width: 100%; background: var(--kc-white); border: 1px solid #e6e2dc; border-radius: 22px; overflow: hidden; text-align: left; }
.kc-ins li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 24px; padding: 30px 38px 30px 36px; border-bottom: 1px solid #e6e2dc; }
.kc-ins li:last-child { border-bottom: 0; }
.kc-ins__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #efeef6; grid-row: span 2; }
.kc-ins h3 { padding-top: 2px; font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.3; letter-spacing: 0.1px; color: var(--kc-navy); }
.kc-ins li p { margin-top: 10px; font-size: 16.5px; line-height: 1.68; color: #75757f; }
.kc-nsa { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: -6px; padding: 28px 34px 30px; background: #efeef6; border: 1px solid #e6e2dc; border-radius: 14px; text-align: left; }
.kc-nsa h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.3; color: var(--kc-navy); }
.kc-nsa p { font-size: 16.5px; line-height: 1.65; color: #75757f; }
.kc-nsa a { color: var(--kc-purple); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1199px) {
  .kc-pay { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .kc-pay__media { height: 640px; }
}
@media (max-width: 991px) {
  .kc-tier-people { grid-template-columns: 1fr 1fr; }
  .kc-rip-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .kc-rip-perks { grid-template-columns: 1fr 1fr; width: 100%; }
  .kc-pay { grid-template-columns: 1fr; }
  .kc-pay__media { height: 360px; }
}
@media (max-width: 767px) {
  .kc-rates-page__inner { gap: 22px; }
  .kc-tier-table-wrap { border-radius: 16px; }
  .kc-tier-people, .kc-rip-cards, .kc-rip-perks { grid-template-columns: 1fr; }
  .kc-rip-cards li { padding: 20px; }
  .kc-rip-perks li { font-size: 20px; }
  .kc-pay__copy > .t-section { font-size: 34px; }
  .kc-pay__box { padding: 26px 22px; }
  .kc-pay__box h2 { font-size: 26px; }
  .kc-ins li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 24px 20px; }
  .kc-ins__icon { width: 40px; height: 40px; }
  .kc-ins h3 { font-size: 20px; }
  .kc-nsa { padding: 24px 20px; }
}

/* ==========================================================================
   FORM PAGES (/contact-us/, /schedule-a-consultation/, /our-team/careers/, /about/events/,
   /relationship-quiz/ and the thank-you pages). No Figma frames exist for
   these pages: they are composed from existing tokens and the .kc-form card.
   ========================================================================== */
.kc-page-head {                    /* compact cream header (the fixed nav floats over its top) */
  position: relative; overflow: hidden;
  padding: 196px 0 72px;
  background: var(--kc-cream-hero);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.kc-page-head .kc-leaves { top: 0; right: 0; transform: scaleX(-1); }
.kc-page-head__inner {
  position: relative;
  width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.kc-page-head__inner .t-display { max-width: 900px; }
.kc-page-head__lead { max-width: 680px; font-size: 18px; line-height: 1.7; color: var(--kc-ink-hero); }
.kc-page-head__lead a { color: var(--kc-purple); font-weight: var(--fw-semibold); text-decoration: underline; }
.kc-page-head .kc-btn { margin-top: 6px; }

.kc-form-page { padding: 64px 0 var(--section-pad-y); }
.kc-form-page--flush { padding-top: 0; }
.kc-form-page__inner {
  width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; flex-direction: column; gap: 24px;
}

.kc-form--page { gap: 0; }
.kc-form--page .kc-form__head { padding: 20px 32px; }
.kc-form--page .kc-form__head p.t-title-lg { font-size: var(--fs-title-lg); color: #fff; opacity: 1; }   /* title-only head: not the :last-child subtitle style */
.kc-form__body { display: flex; flex-direction: column; gap: 28px; padding: 32px 0; }
.kc-form--page .kc-form__fields { gap: 26px; padding: 0 32px; }
.kc-form--page .kc-form__foot { padding: 0 32px; }
.kc-form--page .kc-form__status { margin: 0 32px; }
.kc-form__intro { font-size: 15px; line-height: 1.7; color: var(--kc-ink-soft); }
.kc-form__intro a { color: var(--kc-purple); font-weight: var(--fw-semibold); text-decoration: underline; }

/* Long-form copy above a form (Careers job description, Events) */
.kc-prose { display: flex; flex-direction: column; gap: 16px; }
.kc-prose > * + .t-title-lg, .kc-prose > * + .t-title-sm { margin-top: 16px; }
.kc-prose .t-title-lg, .kc-prose .t-title-sm { color: var(--kc-navy); }
.kc-prose ul { display: flex; flex-direction: column; gap: 8px; padding-left: 1.25em; }
.kc-prose li::marker { color: var(--kc-purple); }
.kc-prose a { color: var(--kc-purple); font-weight: var(--fw-semibold); text-decoration: underline; }
.kc-prose .t-section { line-height: 1.25; }

.kc-event-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kc-event-details > div { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--kc-sand-2); border-radius: var(--radius-sm); }
.kc-event-details dt { font-size: 13px; font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--kc-purple); }
.kc-event-details dd { font-size: 15px; line-height: 1.6; }

.kc-page-head--tall { padding-bottom: 140px; }
.kc-prose__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.kc-prose .kc-btn { color: #fff; text-decoration: none; }

/* Visible placeholder for content KCRI still has to confirm. Remove once filled in. */
.kc-todo {
  display: inline-block; padding: 2px 8px;
  background: #fff7d6; border: 1px dashed #c9a400; border-radius: 4px;
  font-size: 13px; font-weight: var(--fw-semibold); font-style: normal; color: #5c4a00;
}

/* ---- Relationship Assessment wizard -------------------------------------
   Without JS every step is shown as one long form; forms.js adds .is-enhanced and
   shows one step at a time. */
.kc-wizard { display: flex; flex-direction: column; gap: 20px; }
.kc-wizard__progress { display: flex; flex-direction: column; gap: 8px; }
.kc-wizard__progress[hidden] { display: none; }
.kc-wizard__progress-text { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: var(--fw-semibold); color: var(--kc-navy); }
.kc-progress { height: 10px; background: var(--kc-purple-soft); border-radius: var(--radius-pill); overflow: hidden; }
.kc-progress__bar { display: block; width: 0; height: 100%; background: var(--kc-purple); border-radius: inherit; transition: width var(--dur) var(--ease); }
.kc-wizard .kc-form { gap: 0; }
.kc-wizard__step { display: flex; flex-direction: column; gap: 28px; padding-bottom: 32px; }
.kc-wizard__step:focus { outline: none; }
.kc-wizard__step[hidden] { display: none; }
.kc-wizard__step .kc-form__head { padding: 16px 32px; }
.kc-wizard__step .kc-form__head p:first-child { font-family: var(--font-title); font-size: 22px; line-height: 1.3; }
.kc-wizard__step .kc-form__fields { gap: 26px; padding: 0 32px; }
.kc-wizard__step + .kc-wizard__step { border-top: 1px solid var(--kc-border-warm); }
.kc-wizard.is-enhanced .kc-wizard__step + .kc-wizard__step { border-top: 0; }
.kc-wizard__nav { display: flex; align-items: center; gap: 12px; padding: 0 32px 32px; }
.kc-wizard__nav [data-wizard-next], .kc-wizard__nav [type="submit"] { margin-left: auto; }
.kc-wizard__nav [hidden] { display: none; }
.kc-wizard .kc-form__status { margin: 0 32px 24px; }

/* ---- Footer newsletter states (dark background) ---------------------------- */
.kc-newsletter .kc-field__error { color: var(--kc-coral); }
.kc-newsletter .kc-field__error::before { background: var(--kc-coral); color: var(--kc-night); }
.kc-newsletter .kc-form__status { background: rgba(255, 138, 102, 0.12); border-color: var(--kc-coral); color: #fff; }
.kc-newsletter__row:has([aria-invalid="true"]) { border-bottom-color: var(--kc-coral); }
.kc-newsletter__row button.is-loading::after {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; vertical-align: -1px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: kc-spin 0.7s linear infinite;
}
.kc-newsletter__row button:disabled { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 1199px) {
  /* ≤1199 the site header is sticky (in the flow, not floating), so no extra top offset is needed */
  .kc-page-head { padding: 56px 0; border-radius: 0 0 var(--radius-card) var(--radius-card); }
  .kc-page-head--tall { padding-block: 80px; }
}
@media (max-width: 767px) {
  .kc-page-head { padding: 40px 0; }
  .kc-page-head--tall { padding-block: 56px; }
  .kc-page-head .kc-leaves { width: 254px; height: 329px; }
  .kc-page-head__lead { font-size: 16px; line-height: 1.6; }
  .kc-page-head .kc-btn { width: 100%; }
  .kc-form-page { padding: 40px 0 60px; }
  .kc-form-page__inner { width: calc(100% - 2 * 16px); }
  .kc-form--page .kc-form__head, .kc-wizard__step .kc-form__head { padding: 16px 20px; }
  .kc-form__body { gap: 24px; padding: 24px 0; }
  .kc-form--page .kc-form__fields, .kc-wizard__step .kc-form__fields { padding: 0 20px; }
  .kc-form--page .kc-form__foot { padding: 0 20px; }
  .kc-form--page .kc-form__status { margin: 0 20px; }
  .kc-choices--2 { grid-template-columns: 1fr; }
  .kc-fieldset--question > legend:not(.visually-hidden) { font-size: 20px; }
  .kc-event-details { grid-template-columns: 1fr; }
  .kc-wizard__step { gap: 24px; padding-bottom: 24px; }
  .kc-wizard__nav { padding: 0 20px 24px; }
  .kc-wizard__nav .kc-btn { flex: 1; padding-inline: 16px; }
  .kc-wizard .kc-form__status { margin: 0 20px 20px; }
  .kc-form__success { padding: 32px 20px; }
}

/* Compact form card ("Book Your Consultation" on content pages): body wrapper keeps the card's 12px rhythm */
.kc-form__body--compact { gap: 12px; padding: 0; }
.kc-form__body--compact .kc-form__status { margin: 0 20px; }

/* ===================== 404 ===================== */
.kc-404 { padding-bottom: 120px; }
.kc-404__code { font: 120px/1 var(--font-display); color: var(--kc-purple); opacity: .9; margin: 0; }
.kc-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 6px; }
.kc-404__actions .kc-btn { margin-top: 0; }
.kc-404__links { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--kc-border-warm); width: min(680px, 100%); }
.kc-404__links .t-title-sm { margin: 0 0 14px; color: var(--kc-navy); }
.kc-404__links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.kc-404__links a { color: var(--kc-purple); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .kc-404 { padding-bottom: 72px; }
  .kc-404__code { font-size: 80px; }
  .kc-404__actions { flex-direction: column; width: 100%; }
  .kc-404__actions .kc-btn { width: 100%; }
}

/* ===================== ADMIN-EDITABLE EXTRAS (content/*.json) ===================== */

/* Events: empty detail + registration-closed message. Admin switches (data-kc-show/hide) must beat component display rules. */
[data-kc-show][hidden], [data-kc-hide][hidden] { display: none !important; }
.kc-soon-text { color: var(--kc-ink-muted); font-style: italic; }
.kc-event-closed {
  padding: 24px 26px; border-radius: var(--radius-sm);
  background: var(--kc-sand); color: var(--kc-navy);
  font-family: var(--font-title); font-size: 22px; line-height: 1.35;
}
/* registration closed: the message becomes the heading of a newsletter sign-up card (same form as the footer) */
.kc-event-newsletter {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: 64px 56px 56px; border-radius: var(--radius-card); text-align: center;
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(145, 40, 142, .6) 0%, rgba(145, 40, 142, 0) 55%),
    radial-gradient(80% 110% at 0% 100%, rgba(255, 138, 102, .16) 0%, rgba(255, 138, 102, 0) 60%),
    var(--kc-navy);
  color: #fff; line-height: 1.6;
  box-shadow: 0 24px 60px rgba(37, 33, 93, .22);
}
.kc-event-newsletter::before {          /* envelope badge */
  content: ""; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23ff8a66%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%275%27 width=%2718%27 height=%2714%27 rx=%272%27/%3E%3Cpath d=%27m3 7 9 6 9-6%27/%3E%3C/svg%3E") center / 28px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.kc-event-newsletter .kc-event-closed { max-width: 560px; padding: 0; background: none; color: #fff; font-size: 34px; line-height: 1.25; }
.kc-event-newsletter .kc-newsletter { width: 100%; max-width: 520px; text-align: left; }
.kc-event-newsletter .kc-newsletter__row { border-bottom-color: rgba(255, 255, 255, .45); }
.kc-event-newsletter .t-caption { text-align: center; opacity: .75; }
@media (max-width: 767px) {
  .kc-event-newsletter { padding: 44px 24px 36px; gap: 22px; }
  .kc-event-newsletter::before { width: 56px; height: 56px; background-size: 24px; }
  .kc-event-newsletter .kc-event-closed { font-size: 25px; }
}


/* ===================== EVENTS / RETREAT SIGN-UP (no Figma frame; built from the Retreats page components) ===================== */
.kc-retreat-intro { position: relative; overflow: hidden; background: var(--kc-cream); padding: var(--section-pad-y) 0; }
.kc-retreat-intro .kc-leaves { top: -120px; right: 0; width: 600px; height: 777px; transform: scaleX(-1); }
.kc-retreat-intro__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 80px; align-items: start; }
.kc-retreat-intro__copy { display: flex; flex-direction: column; gap: 28px; }
.kc-retreat-intro__grid--single { grid-template-columns: minmax(0, 860px); }
.kc-retreat-venue { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.kc-retreat-venue figcaption { font-size: 13px; font-style: italic; color: var(--kc-ink-muted); }
.kc-retreat-intro__title { font-size: 28px; line-height: 1.45; color: var(--kc-navy); }
.kc-hosts {
  display: flex; flex-direction: column; gap: 22px; padding: 32px;
  background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-card);
  box-shadow: 0 12px 40px rgba(37, 33, 93, 0.06);
}
.kc-hosts__label { color: var(--kc-purple); font-size: 13px; letter-spacing: 0.08em; }
.kc-hosts__list { display: flex; flex-direction: column; gap: 18px; }
.kc-hosts__list li { display: flex; align-items: center; gap: 16px; }
.kc-hosts__list img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 25%; background: var(--kc-sand); }
.kc-hosts__name { font-family: var(--font-title); font-size: 20px; line-height: 1.2; color: var(--kc-navy); }
.kc-hosts__list li p:last-child { font-size: 14px; line-height: 1.5; color: var(--kc-ink-muted); }
.kc-features--lines li { align-items: center; }
.kc-retreat-media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-md); }
.kc-retreat-media--wide { margin-top: 12px; aspect-ratio: 4 / 3; object-position: 45% center; }
.kc-retreat-reg { padding: var(--section-pad-y) 0; background: var(--kc-page); scroll-margin-top: 110px; }
.kc-retreat-reg__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 64px; align-items: start; }
.kc-retreat-reg__info { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 140px; }
.kc-retreat-reg__form { display: flex; flex-direction: column; gap: 16px; }
/* registration closed: only the newsletter card, centred */
.kc-retreat-reg__grid:has(> .kc-retreat-reg__info[hidden]) { grid-template-columns: minmax(0, 820px); justify-content: center; }
.kc-retreat-reg .kc-event-details { grid-template-columns: 1fr 1fr; }
.kc-retreat-reg .kc-event-details > div { background: var(--kc-sand-2); border: 1px solid var(--kc-border-warm); }
.kc-retreat-cta { position: relative; overflow: hidden; background: var(--kc-cream); padding: var(--section-pad-y) 0; text-align: center; }
.kc-retreat-cta .kc-leaves { top: 0; left: 0; }
.kc-retreat-cta__inner { position: relative; width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.kc-retreat-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 10px; }
@media (max-width: 1199px) {
  .kc-retreat-intro__grid, .kc-retreat-reg__grid { gap: 48px; }
}
@media (max-width: 991px) {
  .kc-retreat-intro__grid, .kc-retreat-reg__grid { grid-template-columns: 1fr; }
  .kc-retreat-reg__info { position: static; }
  .kc-hosts { max-width: 560px; }
}
@media (max-width: 767px) {
  .kc-retreat-intro, .kc-retreat-reg, .kc-retreat-cta { padding: 64px 0; }
  .kc-retreat-intro__title { font-size: 22px; }
  .kc-retreat-intro .kc-leaves { width: 300px; height: 388px; top: 0; }
  .kc-hosts { padding: 24px 20px; }
  .kc-retreat-reg .kc-event-details { grid-template-columns: 1fr; }
  .kc-retreat-cta__actions { width: 100%; flex-direction: column; }
  .kc-retreat-cta__actions .kc-btn { width: 100%; }
}

@media (max-width: 767px) { .kc-person__badges { right: 6px; } }

/* ===================== BLOG (generated from Sanity by scripts/build-blog.mjs; no Figma frame — built from site components) ===================== */
.kc-tab[aria-pressed="true"] { background: var(--kc-navy); border-color: var(--kc-navy); color: #fff; }
.kc-blog { padding: 64px 0 var(--section-pad-y); }
.kc-blog__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 40px; }
.kc-blog__filters { width: 100%; margin: 0 auto; }   /* centered under the search (the row is capped at 1080px) */
.kc-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.kc-post-card { display: flex; flex-direction: column; background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-card); overflow: hidden; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.kc-post-card[hidden] { display: none; }
.kc-post-card:hover { box-shadow: 0 14px 40px rgba(37, 33, 93, 0.10); transform: translateY(-2px); }
.kc-post-card__media { display: block; overflow: hidden; background: var(--kc-sand); }
.kc-post-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform var(--dur) var(--ease); }
.kc-post-card:hover .kc-post-card__media img { transform: scale(1.03); }
.kc-post-card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 26px; }
.kc-post-card__meta { font-size: 14px; color: var(--kc-ink-muted); }
.kc-post-card__title { font-size: 22px; line-height: 1.3; }
.kc-post-card__title a { color: var(--kc-navy); }
.kc-post-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.kc-post-card { position: relative; }
.kc-post-card__title a:focus-visible { outline: none; }
.kc-post-card:has(.kc-post-card__title a:focus-visible) { outline: 2px solid var(--kc-purple); outline-offset: 3px; }
.kc-post-card__excerpt { font-size: 15px; line-height: 1.65; color: var(--kc-ink-soft); }
.kc-post-card__cats { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: var(--fw-bold); letter-spacing: 0.02em; color: var(--kc-purple); }
.kc-blog__empty { text-align: center; color: var(--kc-ink-muted); }
.kc-blog__more { display: flex; justify-content: center; }
.kc-blog__more [hidden] { display: none; }
.kc-blog--related { background: var(--kc-cream); padding: var(--section-pad-y-sm) 0; }
.kc-blog--related .t-section { text-align: center; }

.kc-post-head { padding-bottom: 64px; }
.kc-post-head__title { max-width: 900px; font-size: clamp(34px, 4vw, 52px); }
.kc-post-head__cats { font-size: 14px; font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase; }
.kc-post-head__cats a { color: var(--kc-purple); }
.kc-post-head__cats a:hover { text-decoration: underline; }
.kc-post-head__date { color: var(--kc-ink-muted); font-size: 16px; }

.kc-article { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: 56px 0 var(--section-pad-y-sm); display: flex; flex-direction: column; align-items: center; gap: 48px; }
.kc-article__hero { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius-card); }
.kc-article__body { width: min(740px, 100%); font-size: 18px; line-height: 1.75; color: var(--kc-ink-soft); overflow-wrap: anywhere; }
.kc-article__body > * + * { margin-top: 1.1em; }
.kc-article__body h2 { margin-top: 1.8em; font-family: var(--font-title); font-size: 32px; line-height: 1.2; color: var(--kc-ink); }
.kc-article__body h3 { margin-top: 1.6em; font-family: var(--font-title); font-size: 25px; line-height: 1.25; color: var(--kc-navy); }
.kc-article__body h4 { margin-top: 1.4em; font-size: 19px; font-weight: var(--fw-bold); color: var(--kc-navy); }
.kc-article__body h2 + *, .kc-article__body h3 + *, .kc-article__body h4 + * { margin-top: 0.6em; }
.kc-article__body strong { color: var(--kc-ink); font-weight: var(--fw-bold); }
.kc-article__body a { color: var(--kc-purple); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 3px; }
.kc-article__body ul, .kc-article__body ol { padding-left: 1.4em; }
.kc-article__body ul { list-style: disc; }
.kc-article__body ol { list-style: decimal; }
.kc-article__body li + li { margin-top: 0.45em; }
.kc-article__body li > ul, .kc-article__body li > ol { margin-top: 0.45em; }
.kc-article__body li::marker { color: var(--kc-purple); }
.kc-article__body blockquote { padding: 4px 0 4px 24px; border-left: 3px solid var(--kc-purple); font-family: var(--font-title); font-size: 22px; line-height: 1.5; color: var(--kc-navy); }
.kc-article__figure { margin: 2em 0; }
.kc-article__figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
.kc-article__figure figcaption { margin-top: 8px; font-size: 14px; color: var(--kc-ink-muted); text-align: center; }
.kc-article__callout { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: var(--kc-blush); border-left: 4px solid var(--kc-purple); border-radius: var(--radius-sm); font-size: 17px; }
.kc-article__callout-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--kc-white); }
.kc-article__callout > div > * + * { margin-top: 0.8em; }
.kc-article__back { width: min(740px, 100%); }
@media (max-width: 991px) {
  .kc-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .kc-blog { padding: 40px 0 72px; }
  .kc-post-grid { grid-template-columns: 1fr; gap: 20px; }
  .kc-post-head { padding-bottom: 48px; }
  .kc-article { padding-top: 32px; gap: 32px; }
  .kc-article__body { font-size: 17px; }
  .kc-article__body h2 { font-size: 26px; }
  .kc-article__body h3 { font-size: 22px; }
  .kc-article__callout { flex-direction: column; gap: 12px; padding: 20px; }
}

/* Single post: article + sidebar (newsletter, search, recent posts, categories); share links and author under the article */
.kc-post-layout { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 56px 0 var(--section-pad-y-sm); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.kc-post-layout .kc-article { width: auto; margin: 0; padding: 0; align-items: stretch; gap: 40px; min-width: 0; }
.kc-post-layout .kc-article__body, .kc-post-layout .kc-article__back { width: auto; }
/* The sidebar runs the full height of the article; inside it, Search + Recent Posts + Categories (one group) stick
   below the site header while the newsletter scrolls away. ≥1200 the header floats (fixed, 12px from the top once
   scrolled, 84px tall → ends at 96px); 992–1199 it's sticky at the top, 80px tall; the admin toolbar adds 40px.
   main.js adds .is-unstuck when the group doesn't fit in the window, so it scrolls normally instead (nothing clipped). */
.kc-post-sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; align-self: stretch; }
.kc-post-sidebar__sticky { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
html.has-adminbar .kc-post-sidebar__sticky { top: 160px; }
.kc-post-sidebar__sticky.is-unstuck { position: static; }
.kc-post-sidebar__block { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-card); }
.kc-post-sidebar__newsletter { background: var(--kc-navy); border-color: var(--kc-navy); color: #fff; line-height: 1.6; }
.kc-post-sidebar__newsletter .kc-newsletter { gap: 12px; }
.kc-post-sidebar__title { color: var(--kc-purple); }
.kc-post-sidebar__list { display: flex; flex-direction: column; }
.kc-post-sidebar__list li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--kc-border-warm); }
.kc-post-sidebar__list a { color: var(--kc-navy); font-weight: var(--fw-semibold); line-height: 1.45; overflow-wrap: anywhere; transition: color var(--dur) var(--ease); }
.kc-post-sidebar__list a:hover { color: var(--kc-purple); text-decoration: underline; text-underline-offset: 3px; }
/* Blog search (post sidebar + /blog/) */
.kc-search { display: flex; gap: 8px; min-width: 0; }
.kc-search__input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; background: var(--kc-white); border: 1px solid var(--kc-border-strong); border-radius: var(--radius-pill); color: var(--kc-ink); }
.kc-search__input::placeholder { color: var(--kc-ink-muted); }
.kc-search__input:focus-visible { outline: 2px solid var(--kc-purple); outline-offset: 1px; border-color: var(--kc-purple); }
.kc-search__btn { flex: none; height: 48px; padding: 0 20px; border-radius: var(--radius-pill); background: var(--kc-purple); color: #fff; font-weight: var(--fw-bold); transition: background-color var(--dur) var(--ease); }
.kc-search__btn:hover { background: var(--kc-navy); }
.kc-blog__search { display: flex; flex-direction: column; gap: 12px; width: min(560px, 100%); align-self: center; }   /* centered above the category filters */
.kc-blog__status:empty { display: none; }
.kc-blog__status { color: var(--kc-ink-soft); text-align: center; overflow-wrap: anywhere; }
.kc-blog__empty { overflow-wrap: anywhere; }
.kc-blog-pending .kc-post-grid, .kc-blog-pending .kc-blog__more { visibility: hidden; }
.kc-blog-pending .kc-blog__status:empty { display: block; min-height: 1.6em; }   /* keep the line the result count will use */
.kc-blog[data-searching] .kc-blog__inner { min-height: 100vh; }   /* few or no results: the section below doesn't jump up */
.kc-blog__reset { color: var(--kc-purple); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 3px; }
/* Share: compact icon buttons (44px touch targets) */
.kc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 28px; border-top: 1px solid var(--kc-border-warm); }
.kc-share__label { color: var(--kc-navy); }
.kc-share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.kc-share__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--kc-white); border: 1px solid var(--kc-border-warm); color: var(--kc-navy); transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.kc-share__link:hover { background: var(--kc-purple); border-color: var(--kc-purple); color: #fff; }
.kc-share__icon { width: 20px; height: 20px; }
/* Author box (only when the post has an author) */
.kc-author { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: start; padding: 32px; background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-card); }
.kc-author--no-photo { grid-template-columns: minmax(0, 1fr); }
.kc-author__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.kc-author__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kc-author__name { color: var(--kc-navy); overflow-wrap: anywhere; }
.kc-author__cred { font-family: var(--font-body); font-size: 16px; font-weight: var(--fw-semibold); }
.kc-author__role { font-weight: var(--fw-semibold); color: var(--kc-ink); line-height: 1.5; }
.kc-author__bio { margin-top: 8px; color: var(--kc-ink-soft); line-height: 1.7; }
.kc-author__bio + .kc-author__bio { margin-top: 0; }
@media (max-width: 1199px) {   /* the header is sticky at the top here: 80px */
  .kc-post-sidebar__sticky { top: 104px; }
  html.has-adminbar .kc-post-sidebar__sticky { top: 144px; }
}
@media (max-width: 991px) {   /* one column: the sidebar follows the article, not sticky */
  .kc-post-layout { width: min(740px, 100% - 2 * var(--gutter)); grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .kc-post-sidebar__sticky, html.has-adminbar .kc-post-sidebar__sticky { position: static; }
}
@media (max-width: 767px) {
  .kc-post-layout { padding-top: 32px; gap: 40px; }
  .kc-post-layout .kc-article { gap: 32px; }
  .kc-post-sidebar__block { padding: 22px; }
  .kc-author { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px; }
  .kc-author__photo { width: 96px; height: 96px; }
}
@media (max-width: 359px) {
  .kc-search__btn { padding: 0 14px; }
}

/* ===================== ADMIN TOOLBAR (signed-in admins only; injected by assets/js/main.js) ===================== */
.kc-adminbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: stretch; height: 40px; padding: 0 8px;
  background: #16142b; color: #e9e7f3;
  font-family: var(--font-body); font-size: 13.5px; line-height: 1;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.kc-adminbar a { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: inherit; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.kc-adminbar a:hover, .kc-adminbar a:focus-visible { background: #24213f; color: var(--kc-coral); outline: none; }
.kc-adminbar svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kc-adminbar__brand { font-weight: var(--fw-bold); }
.kc-adminbar__mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--kc-purple); color: #fff; font-family: var(--font-title); font-size: 14px; }
.kc-adminbar__items { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.kc-adminbar__items::-webkit-scrollbar { display: none; }
html.has-adminbar { margin-top: 40px; scroll-padding-top: 170px; }
@media (min-width: 1200px) {
  html.has-adminbar .site-header { top: 70px; }
  html.has-adminbar .site-header.is-scrolled { top: 52px; }
}
@media (max-width: 1199px) {
  html.has-adminbar .site-header, html.has-adminbar .site-header.is-scrolled { top: 40px; }
}
@media (max-width: 767px) {
  .kc-adminbar { padding: 0; }
  .kc-adminbar a { padding: 0 11px; }
  .kc-adminbar__items .kc-adminbar__label, .kc-adminbar__out .kc-adminbar__label { display: none; }
}

/* Footer link area (markup from scripts/nav.mjs), right of the logo/newsletter column (which, with the bottom bar,
   stays as designed): Services (2 columns) | Quick Links (+ highlighted Patient Portal) | Locations (office cards from
   Site settings), with the Relationship Quiz strip across underneath. */
/* Desktop: a brand band (logo left, newsletter right) across the top; below it Services | Quick Links | Locations
   share the full width; the quiz strip runs across underneath. */
.site-footer__top:has(.site-footer__links) {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.75fr) minmax(0, 1fr); gap: 0 64px;
}
.site-footer__links, .site-footer__cols { display: contents; }   /* their parts become cells of the footer grid */
.site-footer__top > .site-footer__brand {
  grid-column: 1 / -1; width: 100%;
  display: grid; grid-template-columns: auto minmax(0, 480px); justify-content: space-between; align-items: center; gap: 40px;
  padding-bottom: 40px; margin-bottom: 44px; border-bottom: 1px solid var(--kc-border-dark);
}
.site-footer__col[aria-label="Services"] { grid-column: 1; }
.site-footer__col[aria-label="Quick Links"] { grid-column: 2; }
.site-footer__locations { grid-column: 3; }
.site-footer__quiz { grid-column: 1 / -1; margin-top: 44px; }
/* Wide screens: logo + Locations (two office cards side by side) across the top; Services | Quick Links | Newsletter below */
@media (min-width: 1280px) {
  .site-footer__top:has(.site-footer__links) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 1.1fr); }
  .site-footer__top > .site-footer__brand { display: contents; }
  .site-footer__brand > a { grid-column: 1; grid-row: 1; align-self: center; }
  .site-footer__locations { grid-column: 2 / -1; grid-row: 1; align-self: center; }
  .site-footer__top::before {   /* divider between the top band and the link columns */
    content: ""; grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--kc-border-dark); margin: 40px 0 44px;
  }
  .site-footer__col[aria-label="Services"] { grid-row: 3; }
  .site-footer__col[aria-label="Quick Links"] { grid-row: 3; }
  .site-footer__brand > .kc-newsletter { grid-column: 3; grid-row: 3; }
  .site-footer__quiz { grid-row: 4; }
  .site-footer__offices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
.site-footer .t-overline { position: relative; padding-bottom: 12px; letter-spacing: 0.08em; }
.site-footer .t-overline::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; border-radius: 2px; background: var(--kc-coral); }
/* Newsletter label styled like the footer column headings; sits closer to the logo */
.site-footer .kc-newsletter__field { gap: 14px; }
.site-footer .kc-newsletter__field > label {
  position: relative; align-self: flex-start; padding-bottom: 12px;
  font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase;
}
.site-footer .kc-newsletter__field > label::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; border-radius: 2px; background: var(--kc-coral); }
.site-footer__col { gap: 18px; }
.site-footer__col ul { gap: 9px; }
.site-footer__col ul a { color: rgba(255, 255, 255, 0.82); font-size: 15px; transition: color var(--dur) var(--ease); }
.site-footer__col ul a:hover, .site-footer__col a[aria-current] { color: var(--kc-coral); }
.site-footer__col[aria-label="Services"] ul { display: block; columns: 2; column-gap: 32px; }
.site-footer__col[aria-label="Services"] li { break-inside: avoid; margin-bottom: 9px; }

/* Patient Portal: highlighted like a sign-in button for clients */
.site-footer__portal {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 11px 18px;
  border-radius: var(--radius-pill); background: var(--kc-coral); color: var(--kc-night);
  font-size: 15px; font-weight: var(--fw-bold); line-height: 1.2; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(255, 138, 102, 0.6);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.site-footer__portal img { width: 16px; height: 16px; filter: brightness(0) saturate(100%); opacity: .85; }   /* lock icon in the dark text color */
.site-footer .site-footer__portal:hover, .site-footer .site-footer__portal:focus-visible { background: #fff; color: var(--kc-night); transform: translateY(-1px); }   /* white on hover; keeps the dark text readable (the footer's link hover is coral) */

/* Locations: the two office cards, stacked */
.site-footer__locations { gap: 18px; }
.site-footer__offices { display: grid; gap: 12px; width: 100%; }
.site-footer__offices .kc-location {
  margin: 0; padding: 14px 16px; border-radius: 14px; align-content: start;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-footer__offices .kc-location:hover { border-color: rgba(255, 138, 102, 0.45); background: rgba(255, 255, 255, 0.06); }
.site-footer__offices .kc-location address { color: rgba(255, 255, 255, 0.78); }

/* Relationship Quiz strip under the three columns */
.site-footer__quiz {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 16px 14px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09);
}
.site-footer__quiz p { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.site-footer__quiz strong { color: #fff; font-weight: var(--fw-semibold); }
.site-footer__quiz .kc-btn { min-height: 0; padding: 10px 20px; font-size: 14px; }

/* Tablet and small laptops: newsletter on top, then Services (full width), then Quick Links | Locations, then the quiz strip */
@media (max-width: 1279px) {
  .site-footer__top:has(.site-footer__links) { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); grid-template-rows: none; gap: 44px 40px; }
  .site-footer__top > .site-footer__brand { grid-column: 1 / -1; grid-row: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 36px; padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
  .site-footer__col[aria-label="Services"] { grid-column: 1 / -1; grid-row: auto; }
  .site-footer__col[aria-label="Quick Links"] { grid-column: 1; grid-row: auto; margin-top: 0; }
  .site-footer__locations { grid-column: 2; grid-row: auto; }
  .site-footer__quiz { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
}
@media (max-width: 767px) {
  .site-footer__top:has(.site-footer__links) { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__col[aria-label="Quick Links"], .site-footer__locations { grid-column: 1; }
  .site-footer__col { gap: 16px; }
  .site-footer__col ul { display: block; columns: 2; column-gap: 20px; }
  .site-footer__col li { break-inside: avoid; margin-bottom: 10px; }
  .site-footer__quiz { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; }
}

/* ==========================================================================
   LEGAL PAGES (/privacy-policy/, /terms-of-service/) — Termageddon embed
   termageddon.js injects the policy into #policy with its own stylesheet, which
   resets everything inside the policy div with `font: revert; margin: revert`
   (UA serif fonts). The `.kc-legal #policy …` selectors outrank that (1,1,x > 1,0,x).
   ========================================================================== */
.kc-legal { min-height: 60vh; }
@media (min-width: 1200px) {
  .kc-legal { padding-top: 196px; }       /* same clearance as .kc-page-head under the floating header */
}
.kc-legal #policy, .kc-legal #policy p, .kc-legal #policy li, .kc-legal #policy div,
.kc-legal #policy span, .kc-legal #policy strong, .kc-legal #policy em, .kc-legal #policy a,
.kc-legal #policy td, .kc-legal #policy th {
  font-family: var(--font-body, "Open Sans", sans-serif);
  font-size: 16px; line-height: 1.7; color: var(--kc-ink);
}
.kc-legal #policy strong, .kc-legal #policy th { font-weight: var(--fw-bold); }
.kc-legal #policy em { font-style: italic; }
.kc-legal #policy p, .kc-legal #policy ul, .kc-legal #policy ol { margin: 0 0 16px; }
.kc-legal #policy ul, .kc-legal #policy ol { padding-left: 1.25em; }
.kc-legal #policy li + li { margin-top: 8px; }
.kc-legal #policy li::marker { color: var(--kc-purple); }
.kc-legal #policy a { color: var(--kc-purple); font-weight: var(--fw-semibold); text-decoration: underline; overflow-wrap: anywhere; }
.kc-legal #policy h2 {                    /* first H2 is the policy title, the rest are section titles */
  margin: 40px 0 16px;
  font-family: var(--font-title); font-size: var(--fs-title-lg); line-height: var(--lh-title); font-weight: 400;
  color: var(--kc-navy);
}
.kc-legal__title {                       /* the page's H1; takes over from the embed's own title H2 (hidden) */
  margin: 0 0 16px;
  font-family: var(--font-display); font-size: var(--fs-section); line-height: 1.25; font-weight: 400;
  color: var(--kc-navy);
}
.kc-legal #policy article > h2:first-child { display: none; }
.kc-legal #policy .tg-last-updated-date { font-size: 14px; color: var(--kc-ink-soft); }
.kc-legal #policy h3, .kc-legal #policy h4 {
  font-family: var(--font-title); font-size: var(--fs-title-sm); line-height: var(--lh-title); font-weight: 400;
  color: var(--kc-navy);
}
.kc-legal #policy h4 { font-size: 17px; margin: 0 0 6px; }
/* data-collection accordions (privacy policy) */
.kc-legal #policy .accordions { border: 1px solid var(--kc-border); border-radius: var(--radius-sm); margin: 0 0 16px; background: var(--kc-white); }
.kc-legal #policy .accordion { border-bottom: 1px solid var(--kc-border); }
.kc-legal #policy .accordion:last-child { border-bottom: 0; }
.kc-legal #policy .accordion-summary { padding: 14px 18px; }
.kc-legal #policy .accordion-summary::marker { color: var(--kc-purple); }
.kc-legal #policy .accordion-content { padding: 4px 18px 18px 36px; }
.kc-legal #policy table { max-width: 100%; }
@media (max-width: 767px) {
  .kc-legal #policy h2 { margin-top: 32px; }
  .kc-legal #policy .accordion-content { padding: 4px 16px 16px 24px; }
}

/* ==========================================================================
   REVIEWS PAGE (/reviews/) — reuses .kc-review cards from the home page, but
   shows the full review text (no 4-line clamp) and the reviewer avatar/date.
   ========================================================================== */
.kc-reviews-page__summary { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kc-reviews-page__summary .t-title-lg { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--kc-purple); }
.kc-reviews-page__powered { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--kc-ink-soft); }
.kc-google-g { flex: none; }
.kc-reviews-page__summary .kc-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; }
.kc-reviews-page__list { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) {
  .kc-reviews-page .kc-form-page__inner { width: min(1080px, 100% - 2 * var(--gutter)); max-width: none; }
  .kc-reviews-page__list { display: block; columns: 2; column-gap: 24px; }
  .kc-reviews-page__list > li { break-inside: avoid; margin-bottom: 24px; }
}
.kc-reviews-page__card { height: auto; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.kc-reviews-page__card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(37, 33, 93, 0.25); }
.kc-reviews-page__who { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--kc-border); }
.kc-reviews-page__avatar { width: 50px; height: 50px; border-radius: 50%; flex: none; }
.kc-reviews-page__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kc-reviews-page__name { color: #050805; text-decoration: none; }
.kc-reviews-page__name:hover { text-decoration: underline; }
.kc-reviews-page__time { font-size: 14px; color: var(--kc-ink-soft); }
.kc-reviews-page__card .kc-review__stars { margin-top: 0; }
.kc-reviews-page__all { display: flex; justify-content: center; }
@media (max-width: 767px) {
  .kc-reviews-page__summary .kc-btn { width: auto; }   /* .kc-page-head .kc-btn is full-width on mobile */
  .kc-reviews-page__card { padding: 20px; }
}

/* ==========================================================================
   LAYOUT COMPONENTS for long copy pages (Couples Counseling, Tele-Health)
   ========================================================================== */
/* ==========================================================================
   REUSABLE LAYOUT COMPONENTS (first used on /our-services/couples-counseling/
   and /services/online-counseling/). Generic: no page-specific selectors.
   ========================================================================== */

/* ---- Type helpers ---------------------------------------------------------- */
.kc-lead-xl { font-size: 26px; line-height: 1.55; }                     /* oversized serif lead (use with .t-lead-serif) */
.kc-lead-xl--accent { padding-left: 28px; border-left: 4px solid var(--kc-purple); }
.kc-label-rule {                                                          /* small caps label followed by a hairline */
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-body); font-size: 14px; font-weight: var(--fw-bold);
  line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kc-purple);
}
.kc-label-rule::after { content: ""; flex: 1; height: 1px; background: var(--kc-border-warm); }
.kc-intro__copy--roomy { gap: 48px; }
.kc-section-intro { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }

/* ---- Question cards (3 short questions in a row) --------------------------- */
.kc-wonder { display: flex; flex-direction: column; gap: 22px; }
.kc-qcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kc-qcards > * {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 28px 28px 32px;
  background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(37, 33, 93, 0.05);
  font-family: var(--font-title); font-size: 22px; line-height: 1.35; color: var(--kc-navy);
}
.kc-qcards > *::before {                                                  /* decorative "?" badge */
  content: "?"; content: "?" / "";
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--kc-blush); color: var(--kc-purple);
  font-family: var(--font-display); font-size: 26px; line-height: 1;
}

/* ---- Rows: copy beside a photo that fills the row height ------------------- */
.kc-rows { display: flex; flex-direction: column; gap: 56px; }
.kc-rows__title { max-width: 860px; color: var(--kc-ink); }
.kc-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: stretch; }
.kc-row--media-left { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.kc-row--media-left > .kc-row__media { order: -1; }
.kc-row--center { align-items: center; }
.kc-row__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; max-width: 62ch; min-width: 0; }
.kc-row__media {
  width: 100%; height: 100%; min-height: 360px;
  contain: size;                     /* the copy sets the row height; the photo fills it */
  object-fit: cover; border-radius: var(--radius-md);
}

/* ---- Question grid (uniform cards with a small icon tile) ----------------- */
.kc-qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; }
.kc-qgrid li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px;
  background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-md);
  font-size: 16px; font-weight: var(--fw-semibold); line-height: 1.6; color: var(--kc-ink);
}
.kc-qgrid li::before {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--kc-orange-tint) url("../icons/check-chat.svg") center / 22px no-repeat;
}

/* ---- CTA strip (closing line + button) ------------------------------------- */
.kc-cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  width: 100%; margin-top: 12px; padding: 30px 40px;
  background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(37, 33, 93, 0.05);
}
.kc-cta-strip p { max-width: 700px; font-size: 20px; line-height: 1.5; }
.kc-cta-strip .kc-btn { flex: none; }

/* ---- Compare cards (two options side by side, one featured) --------------- */
.kc-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kc-compare__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 36px 36px 40px;
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-card);
  font-size: 16.5px; line-height: 1.7; color: var(--kc-ink-soft);
}
.kc-compare__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 14px; background: var(--kc-orange-tint); }
.kc-compare__icon img { width: 24px; height: 24px; }
.kc-compare__title { font-family: var(--font-title); font-size: 24px; line-height: 1.2; color: var(--kc-navy); }
.kc-compare__card--featured {
  background: var(--kc-white); border: 2px solid var(--kc-purple);
  box-shadow: 0 18px 44px rgba(145, 40, 142, 0.12);
}
.kc-compare__card--featured .kc-compare__icon { background: var(--kc-purple); }
.kc-compare__card--featured .kc-compare__icon img { filter: brightness(0) invert(1); }

/* ---- Card group (equal-height list cards) ---------------------------------- */
.kc-card-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.kc-card-group__card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 30px 34px;
  background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-md);
}
.kc-card-group__card::before { content: ""; width: 44px; height: 5px; margin-bottom: 6px; border-radius: var(--radius-pill); background: var(--kc-coral); }
.kc-card-group__card > p:first-of-type { font-family: var(--font-title); font-size: 21px; line-height: 1.3; color: var(--kc-navy); }
.kc-card-group__card > p:first-of-type strong { font-weight: var(--fw-regular); }
.kc-card-group__card .kc-bullets { gap: 10px; padding: 0; }
.kc-card-group__card .kc-bullets--plain li { font-size: 16px; line-height: 1.6; }
.kc-card-group__card .kc-bullets--plain li::before { margin-top: 10px; }

/* ---- Process tweak: step titles share one left edge ----------------------- */
.kc-process__steps--aligned .kc-step__num { flex: none; min-width: 58px; }

/* ---- Consultation copy: title + stacked blocks (one as a card) ------------- */
.kc-consult__copy--stacked { gap: 28px; padding-block: 72px; }
.kc-consult__blocks { display: flex; flex-direction: column; gap: 22px; }
.kc-consult__block { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.kc-consult__block--card { padding: 26px 28px; background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-md); }
.kc-consult__block--card .kc-btn { margin-top: 6px; }
.kc-consult__title-phone { font-size: calc(var(--fs-section) * 0.85); }
.kc-phone-link { display: flex; width: fit-content; align-items: center; gap: 14px; margin-top: 16px; color: var(--kc-purple); white-space: nowrap; transition: color var(--dur) var(--ease); }
.kc-phone-link:hover { color: var(--kc-purple-hover); }
.kc-phone-link__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--kc-white); border: 1px solid var(--kc-border-warm); }
.kc-phone-link__icon img { width: 22px; height: 22px; }
/* "or" divider + line pointing to the form, under a call-to-action phone number */
.kc-consult__or { display: flex; align-items: center; gap: 14px; max-width: 420px; margin-top: 8px;
  font-size: 13px; font-weight: var(--fw-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--kc-ink-soft); }
.kc-consult__or::before, .kc-consult__or::after { content: ""; flex: 1; height: 1px; background: var(--kc-border-warm); }
.kc-consult__alt { max-width: 420px; font-size: 17px; line-height: 1.6; color: var(--kc-ink-muted); }
@media (max-width: 767px) { .kc-consult__or, .kc-consult__alt { margin-inline: auto; } .kc-consult__or { width: 100%; } }

/* ---- Closing band (title + button left, copy right) ------------------------ */
.kc-band {
  position: relative;
  width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
  grid-template-areas: "title copy" "action copy";
  column-gap: 64px; row-gap: 28px; align-items: start;
  padding: 56px 60px;
  background: var(--kc-sand); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-card);
}
.kc-band__title { grid-area: title; color: var(--kc-ink); }
.kc-band__copy { grid-area: copy; }
.kc-band__action { grid-area: action; justify-self: start; }

/* ---- Split page head (lead left, framed graphic right) --------------------- */
.kc-page-head--split { padding: 176px 0 88px; }
.kc-page-head__copy { display: flex; flex-direction: column; gap: 28px; }
.kc-call-book { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-left: 32px; }   /* lines up with the accented intro text */
.kc-call-book__label { font-size: 13px; font-weight: var(--fw-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--kc-purple); }
.kc-call-book .kc-phone-link { margin: 6px 0 0; font-family: var(--font-display); font-size: 32px; line-height: 1.1; }
.kc-page-head--split .kc-page-head__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 80px;
  align-items: center; text-align: left;
}
.kc-framed { position: relative; }
.kc-framed::before { content: ""; position: absolute; inset: 22px -16px -16px 22px; border-radius: var(--radius-card); background: var(--kc-purple-soft); }
.kc-framed img { position: relative; display: block; width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: 0 24px 60px rgba(37, 33, 93, 0.14); }

/* ---- Video (16:9 embed in a rounded frame) --------------------------------- */
.kc-row--video { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.kc-video { overflow: hidden; aspect-ratio: 16 / 9; background: var(--kc-navy); border-radius: var(--radius-card); box-shadow: 0 24px 60px rgba(37, 33, 93, 0.14); }
.kc-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.kc-bullets--roomy { gap: 14px; padding: 0; }

/* ---- Note card (icon + small title + serif text) --------------------------- */
.kc-note-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start;
  padding: 40px 48px; background: var(--kc-blush); border-radius: var(--radius-card);
}
.kc-note-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--kc-white); }
.kc-note-card__icon img { width: 22px; height: 24px; }
.kc-note-card__body { display: flex; flex-direction: column; gap: 10px; }
.kc-note-card__title { color: var(--kc-navy); }

/* ---- Icon cards (uniform benefit cards; 3 per row, a short last row centred wider) */
.kc-icon-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; width: 100%; }
.kc-icon-cards li {
  grid-column: span 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 28px 26px 30px;
  background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: var(--radius-md);
  font-size: 17px; font-weight: var(--fw-semibold); line-height: 1.55; color: var(--kc-ink);
}
.kc-icon-cards li:nth-last-child(2):nth-child(3n+1),
.kc-icon-cards li:last-child:nth-child(3n+2) { grid-column: span 3; }
.kc-icon-cards li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.kc-icon-cards__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--kc-orange-tint); }
.kc-icon-cards__icon img { width: 22px; height: 22px; object-fit: contain; }

/* ---- Pair (two text blocks side by side) ----------------------------------- */
.kc-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; width: 100%; margin-top: 20px; }

/* ---- Responsive ------------------------------------------------------------ */
@media (max-width: 1199px) {
  .kc-row, .kc-row--media-left { gap: 48px; }
  .kc-page-head--split .kc-page-head__inner { gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
  .kc-lead-xl { font-size: 23px; }
  .kc-band { padding: 48px; column-gap: 48px; }
  .kc-qcards > * { font-size: 20px; }
}
@media (max-width: 991px) {
  .kc-qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-qgrid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kc-card-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-card-group__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kc-icon-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-icon-cards li, .kc-icon-cards li:nth-last-child(2):nth-child(3n+1), .kc-icon-cards li:last-child:nth-child(3n+2) { grid-column: auto; }
  .kc-icon-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kc-row--video { grid-template-columns: 1fr; gap: 40px; }
  .kc-row--video .kc-row__copy { max-width: none; }
  .kc-pair { grid-template-columns: 1fr; gap: 24px; }
  .kc-band { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "title" "copy" "action"; row-gap: 24px; }
  .kc-cta-strip { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 860px) {
  .kc-qcards { grid-template-columns: 1fr; gap: 12px; }
  .kc-qcards > * { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; font-size: 19px; }
  .kc-qcards > *::before { flex: none; width: 40px; height: 40px; font-size: 22px; }
  .kc-row, .kc-row--media-left { grid-template-columns: 1fr; gap: 28px; }
  .kc-row--media-left > .kc-row__media { order: 0; }
  .kc-row__copy { max-width: none; }
  .kc-row__media { contain: none; height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .kc-compare { grid-template-columns: 1fr; gap: 16px; }
  .kc-page-head--split .kc-page-head__inner { grid-template-columns: 1fr; gap: 48px; }
  .kc-page-head--split .kc-framed { width: min(360px, 100% - 16px); justify-self: center; }
}
@media (max-width: 767px) {
  .kc-lead-xl { font-size: 20px; }
  .kc-lead-xl--accent { padding-left: 18px; border-left-width: 3px; }
  .kc-call-book { padding-left: 21px; }
  .kc-call-book .kc-phone-link { font-size: 26px; margin-inline: 0; }
  .kc-intro__copy--roomy { gap: 32px; }
  .kc-label-rule { font-size: 12px; }
  .kc-rows { gap: 32px; }
  .kc-qgrid { grid-template-columns: 1fr; gap: 10px; }
  .kc-qgrid li { padding: 16px 18px; gap: 14px; font-size: 15px; }
  .kc-qgrid li::before { width: 36px; height: 36px; background-size: 20px; }
  .kc-cta-strip { padding: 24px 22px; }
  .kc-cta-strip p { font-size: 18px; }
  .kc-compare__card { padding: 26px 22px 28px; font-size: 16px; }
  .kc-compare__title { font-size: 21px; }
  .kc-compare__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); }
  .kc-card-group { grid-template-columns: 1fr; gap: 16px; }
  .kc-card-group__card { padding: 26px 22px 28px; }
  .kc-card-group__card > p:first-of-type { font-size: 20px; }
  .kc-process__steps--aligned .kc-step--row { flex-direction: column; gap: 10px; }
  .kc-consult__copy--stacked { padding-block: 0; gap: 24px; }
  .kc-consult__block { align-items: center; }
  .kc-consult__block--card { padding: 22px 20px; }
  .kc-consult__title-phone { font-size: var(--fs-section); }
  .kc-phone-link { margin-inline: auto; gap: 12px; }
  .kc-phone-link__icon { width: 44px; height: 44px; }
  .kc-band { padding: 32px 22px; }
  .kc-band__action { justify-self: stretch; }
  .kc-page-head--split { padding: 120px 0 56px; }
  .kc-note-card { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; }
  .kc-note-card__icon { width: 52px; height: 52px; }
  .kc-icon-cards { grid-template-columns: 1fr; gap: 12px; }
  .kc-icon-cards li:last-child:nth-child(odd) { grid-column: auto; }
  .kc-icon-cards li { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; font-size: 16px; }
  .kc-icon-cards__icon { flex: none; width: 44px; height: 44px; border-radius: var(--radius-sm); }
}

/* ---------- Layout components: Open Relationship / LGBTQ+ pages ---------- */
/* ==========================================================================
   kc-x- LAYOUT KIT (service pages: open relationship, LGBTQ+ couples)
   Generic, reusable layout pieces built from the existing tokens/components.
   ========================================================================== */

/* ---- Split intro: title left, lead + pull-quote right -------------------- */
/* Add to .kc-intro__copy. The first child (the title) spans the left column. */
.kc-x-split {
  --intro-w: none;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  column-gap: 64px; row-gap: 24px; align-items: start;
}
.kc-x-split > :first-child { grid-row: 1 / span 2; align-self: center; margin: 0; } /* heading centred against the copy, no dead space under it */
.kc-x-split > :not(:first-child) { grid-column: 2; }
.kc-x-split .kc-pullquote { margin-top: 6px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

@media (max-width: 991px) {
  .kc-x-split { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .kc-x-split > :first-child { grid-row: auto; }
  .kc-x-split > :not(:first-child) { grid-column: 1; }
}

/* ---- Panel: white card that holds a list column -------------------------- */
.kc-x-panel {
  padding: 36px 40px;
  background: var(--kc-white);
  border: 1px solid #e6e2dc;
  border-radius: var(--radius-md);
}
/* Panel beside a photo: both columns share one height, photo fills its cell */
.kc-x-panel-row { align-items: stretch; }
.kc-x-panel-row > .kc-x-panel { justify-content: center; }
.kc-x-panel-row > img { height: 100%; min-height: var(--duo-media-h, 420px); }
@media (max-width: 767px) {
  .kc-x-panel { padding: 26px 22px; }
  .kc-x-panel-row > img { height: 300px; min-height: 0; }
}

/* ---- Head split: title + intro on the left, photo on the right ------------ */
.kc-x-headsplit {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 64px; align-items: center;
}
.kc-x-headsplit__copy { display: flex; flex-direction: column; gap: 20px; }
.kc-x-headsplit__media { width: 100%; height: var(--headsplit-h, 360px); object-fit: cover; border-radius: var(--radius-md); }
/* More air between the split head and a card grid that follows it */
.kc-why-list__inner:has(> .kc-x-headsplit) { gap: 48px; }
@media (max-width: 767px) { .kc-why-list__inner:has(> .kc-x-headsplit) { gap: 28px; } }
@media (max-width: 1199px) {
  .kc-x-headsplit { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; }
}
@media (max-width: 991px) {
  .kc-x-headsplit { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .kc-x-headsplit__media { height: 340px; }
}
@media (max-width: 767px) {
  .kc-x-headsplit { gap: 20px; }
  .kc-x-headsplit__media { height: 260px; }
}

/* ---- Feature cards: icon tile + title + text, in an even grid ------------- */
/* Wrap the <ul> in .kc-x-cardgrid; the <ul> joins the grid (display: contents)
   so a closing note (.kc-x-cardgrid__note) can take the last cell. */
.kc-x-cardgrid {
  --cols: 3;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 22px;
}
.kc-x-cardgrid > ul { display: contents; }
.kc-x-feature-cards li {
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 28px 32px;
  background: var(--kc-white);
  border: 1px solid #e6e2dc;
  border-radius: 14px;
}
.kc-x-feature-cards .kc-features__icon { margin-bottom: 8px; }
.kc-x-feature-cards li > div { display: flex; flex-direction: column; gap: 8px; }
.kc-x-feature-cards .kc-features__title { font-family: var(--font-title); font-size: 22px; line-height: 1.2; color: var(--kc-navy); }
.kc-x-feature-cards li > div > p:not(.kc-features__title) { font-size: 16.5px; line-height: 1.7; color: var(--kc-ink-soft); }

/* Closing line set as a tinted card in the grid */
.kc-x-cardgrid__note {
  display: flex; align-items: center;
  padding: 30px 32px;
  background: var(--kc-blush);
  border-left: 5px solid var(--kc-purple);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-display); font-size: 20px; line-height: 1.55; color: #050805;
}
.kc-x-cardgrid__note--wide { grid-column: span 2; }   /* closing line across two cells (e.g. 4 cards + note in a 3-col grid) */

@media (max-width: 1199px) {
  .kc-x-cardgrid { --cols: 2; gap: 18px; }
}
@media (max-width: 767px) {
  .kc-x-cardgrid { --cols: 1; gap: 12px; }
  .kc-x-feature-cards li { flex-direction: row; gap: 16px; padding: 22px 20px; }
  .kc-x-feature-cards .kc-features__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); margin-bottom: 0; }
  .kc-x-feature-cards .kc-features__title { font-size: 20px; }
  .kc-x-feature-cards li > div > p:not(.kc-features__title) { font-size: 16px; }
  .kc-x-cardgrid__note { padding: 22px 22px; font-size: 18px; }
  .kc-x-cardgrid__note--wide { grid-column: auto; }
}

/* ---- Bento: value cards with a photo tile spanning 2 x 2 ------------------ */
/* <div class="kc-x-bento"><img class="kc-x-bento__media"><ul class="kc-value-cards">…</ul></div>
   Default 4 columns suits 8 cards (4 x 3 grid); --3 suits 5 cards (3 x 3 grid). */
.kc-x-bento {
  --cols: 4;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 20px;
}
.kc-x-bento--3 { --cols: 3; }   /* 5 cards: 3 x 3 grid */
.kc-x-bento > .kc-value-cards { display: contents; }
.kc-x-bento .kc-value-cards li { min-height: 0; padding: 28px 26px 30px; }
.kc-x-bento__media {
  grid-column: span 2; grid-row: span 2;
  width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 22px;
}
@media (max-width: 1199px) {
  .kc-x-bento { --cols: 3; }
}
@media (max-width: 991px) {
  .kc-x-bento { --cols: 2; gap: 16px; }
  .kc-x-bento__media { grid-row: span 1; min-height: 0; height: 340px; }
  .kc-x-bento .kc-value-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .kc-x-bento { --cols: 1; gap: 10px; }
  .kc-x-bento__media { grid-column: auto; height: 260px; border-radius: 16px; }
  .kc-x-bento .kc-value-cards li:last-child:nth-child(odd) { grid-column: auto; }
  .kc-x-bento .kc-value-cards li { padding: 24px 22px; }
}

/* ---- Icon tiles: uniform cards (icon + one line of text) ------------------ */
.kc-x-tiles {
  --cols: 4;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 20px;
  width: 100%;
}
.kc-x-tiles li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 28px 26px 30px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm);
  border-radius: var(--radius-md);
  font-size: 16.5px; font-weight: var(--fw-semibold); line-height: 1.6; color: var(--kc-ink);
}
.kc-x-tiles__icon {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--kc-orange-tint);
}
.kc-x-tiles__icon img { width: 24px; height: 24px; }
@media (max-width: 1199px) {
  .kc-x-tiles { --cols: 2; gap: 16px; }
}
@media (max-width: 767px) {
  .kc-x-tiles { --cols: 1; gap: 10px; }
  .kc-x-tiles li { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; font-size: 16px; }
  .kc-x-tiles__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); }
}

/* ---- CTA band: closing line + button in one white bar --------------------- */
.kc-x-cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  width: 100%;
  padding: 26px 30px 26px 34px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm);
  border-radius: var(--radius-card);
}
.kc-x-cta-band > p { max-width: 760px; }
.kc-x-cta-band > .kc-btn { flex: none; }
@media (max-width: 767px) {
  .kc-x-cta-band { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 20px; }
  .kc-x-cta-band > .kc-btn { width: 100%; }
}

/* Head with the title left and the lead right (wide screens) */
.kc-x-head-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 64px; align-items: end; width: 100%;
}
@media (max-width: 991px) {
  .kc-x-head-split { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Icon cards in one row (Why choose us) -------------------------------- */
/* Sage icon circle overlapping the card top, as on the homepage Why cards.
   One row on desktop whatever the count; 2-up (odd one centred) on tablets. */
.kc-x-iconcards {
  display: flex; flex-wrap: nowrap; justify-content: center; gap: 20px;
  padding-top: 38px; margin-top: 16px;
}
.kc-x-iconcards li {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 0 22px 32px;
  background: var(--kc-sand-2);
  border-radius: var(--radius-card);
  text-align: center;
  font-family: var(--font-title); font-size: 19px; line-height: 1.4; color: var(--kc-navy);
}
.kc-x-iconcards__icon {
  display: grid; place-items: center; flex: none;
  width: 84px; height: 84px; margin-top: -38px;
  border-radius: 50%; background: var(--kc-sage);
  box-shadow: 0 0 0 6px var(--kc-cream);
}
.kc-x-iconcards__icon img { width: 36px; height: 36px; }
.kc-x-iconcards--white li { background: var(--kc-white); border: 1px solid #e6e2dc; }

@media (max-width: 1199px) {
  .kc-x-iconcards { flex-wrap: wrap; row-gap: 58px; }
  .kc-x-iconcards li { flex: 0 1 calc((100% - 20px) / 2); }
}
@media (max-width: 767px) {
  .kc-x-iconcards { padding-top: 0; margin-top: 0; row-gap: 10px; }
  .kc-x-iconcards li {
    flex: 1 1 100%; flex-direction: row; align-items: center; gap: 16px;
    padding: 14px 20px 14px 14px; text-align: left; font-size: 17px; border-radius: 14px;
  }
  .kc-x-iconcards__icon { width: 52px; height: 52px; margin-top: 0; box-shadow: none; }
  .kc-x-iconcards__icon img { width: 26px; height: 26px; }
}

/* ---- Consult copy: accent bar above the title ----------------------------- */
.kc-x-accent::before {
  content: ""; display: block; width: 44px; height: 5px; margin-bottom: 6px;
  border-radius: var(--radius-pill); background: var(--kc-coral);
}

/* ---------- Careers page ---------- */
/* ==========================================================================
   CAREERS (/careers/) — page layout. Builds on .kc-page-head and the .kc-form card;
   all classes prefixed .kc-cr-. Form markup is untouched apart from layout wrappers
   (.kc-cr-group / .kc-cr-pair / .kc-cr-essays), which forms.js does not look at.
   ========================================================================== */
.kc-cr-wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---- Page head: title left, photo right ---------------------------------- */
.kc-cr-head { padding: 176px 0 72px; }
.kc-cr-head__inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center; gap: 64px; text-align: left;
}
.kc-cr-head__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.kc-cr-head__text .t-display { max-width: 600px; color: var(--kc-navy); }
.kc-cr-head__rule { display: block; width: 64px; height: 4px; border-radius: var(--radius-pill); background: var(--kc-purple); }
.kc-cr-head__media {
  position: relative; aspect-ratio: 5 / 4;
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: 0 18px 40px rgba(37, 33, 93, 0.14);
}
.kc-cr-head__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }

/* ---- Intro: heading, the three questions, role copy ---------------------- */
.kc-cr-intro { padding: 96px 0 88px; }
.kc-cr-intro__head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.kc-cr-intro__head .t-section { line-height: 1.2; color: var(--kc-ink); }
.kc-cr-intro__sub { color: var(--kc-purple); }

.kc-cr-questions {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin: 48px 0 0; padding: 0; list-style: none;
}
.kc-cr-q {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px 28px 34px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm); border-radius: var(--radius-md);
  font-family: var(--font-title); font-size: 20px; line-height: 1.4; color: var(--kc-navy);
}
.kc-cr-q__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--kc-orange-tint); }
.kc-cr-q__icon img { width: 24px; height: 24px; }

.kc-cr-copy {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 760px; margin: 48px auto 0;
  font-size: 16px; line-height: 1.8; color: var(--kc-ink-soft);
}
.kc-cr-copy__lead { font-size: 18px; line-height: 1.75; color: var(--kc-ink); }
.kc-cr-copy a { color: var(--kc-purple); font-weight: var(--fw-semibold); text-decoration: underline; }

/* ---- Qualifications band -------------------------------------------------- */
.kc-cr-quals { padding: 96px 0; background: var(--kc-sand); border-radius: var(--radius-card); }
.kc-cr-quals__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.kc-cr-quals__side { display: flex; flex-direction: column; gap: 28px; }
.kc-cr-card {
  display: flex; flex-direction: column; gap: 24px;
  padding: 36px 40px 40px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm); border-radius: var(--radius-card);
  box-shadow: 0 6px 24px rgba(37, 33, 93, 0.06);
}
.kc-cr-card__title {
  padding-bottom: 18px; border-bottom: 1px solid var(--kc-border-warm);
  font-size: 26px; color: var(--kc-navy);
}
.kc-cr-checks { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.kc-cr-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.kc-cr-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.6; color: var(--kc-ink-soft); }
.kc-cr-check {
  position: relative; flex: none; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: var(--kc-purple-soft);
}
.kc-cr-check::after {
  content: ""; position: absolute; left: 7.5px; top: 4.5px; width: 6px; height: 10px;
  border: solid var(--kc-purple); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.kc-cr-note {
  position: relative;
  padding: 32px 32px 34px 32px;
  background: var(--kc-navy); color: #fff;
  border-radius: var(--radius-card);
  font-size: 16px; line-height: 1.75;
}
.kc-cr-note::before {
  content: ""; display: block; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%;
  background: var(--kc-white) url("../icons/medal.svg") no-repeat center / 24px;
}

/* ---- Apply: lead line + application card --------------------------------- */
.kc-cr-apply { padding: 96px 0 var(--section-pad-y); }
.kc-cr-apply__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.kc-cr-apply__lead { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 760px; text-align: center; }
.kc-cr-apply__title { font-size: 30px; line-height: 1.35; color: var(--kc-navy); }
.kc-cr-apply__arrow {
  display: block; width: 48px; height: 48px; border-radius: 50%;
  background: var(--kc-purple-soft) url("../icons/arrow-small-right.svg") no-repeat center / 20px;
  transform: rotate(90deg);
}

.kc-cr-apply .kc-form { width: min(960px, 100%); border-color: var(--kc-border-warm); border-radius: var(--radius-card); }
.kc-cr-apply .kc-form__head { padding: 26px 48px; }
.kc-cr-apply .kc-form__body { padding: 40px 0 48px; gap: 32px; }
.kc-cr-apply .kc-form__status { margin: 0 48px; }
.kc-cr-apply .kc-form__fields { gap: 0; padding: 0 48px; }
.kc-cr-apply .kc-form__foot { padding: 0 48px; }
.kc-cr-apply .kc-form__foot .kc-btn { min-width: 200px; }
.kc-cr-apply .kc-form__intro {
  margin-bottom: 8px; padding: 20px 24px;
  background: var(--kc-sand-2); border-left: 4px solid var(--kc-purple); border-radius: var(--radius-sm);
}

.kc-cr-group {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--kc-border-warm);
}
.kc-cr-group:last-of-type { border-bottom: 0; padding-bottom: 8px; }
.kc-cr-group__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--kc-orange-tint) no-repeat center / 24px;
}
.kc-cr-group--contact .kc-cr-group__icon { background-image: url("../icons/fmt-people.svg"); }
.kc-cr-group--questions .kc-cr-group__icon { background-image: url("../icons/check-chat.svg"); }
.kc-cr-group--upload .kc-cr-group__icon { background-image: url("../icons/ins-doc.svg"); }
.kc-cr-group--terms .kc-cr-group__icon { background-image: url("../icons/check-shield.svg"); }
.kc-cr-group__body { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

.kc-cr-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.kc-cr-group .kc-form__pair { gap: 24px; }

/* Essay questions: 2 × 2, textareas lined up across a row (subgrid) */
.kc-cr-essays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 0; }
.kc-cr-essays .kc-field { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 8px; align-content: start; margin-bottom: 28px; }
.kc-cr-essays .kc-field:nth-last-child(-n + 2) { margin-bottom: 0; }
.kc-cr-essays .kc-field label { align-self: end; }
.kc-cr-essays .kc-field__error[hidden] { display: none; }

.kc-cr-group .kc-consent__terms {
  gap: 12px; max-height: 240px; padding: 22px 24px;
  background: var(--kc-page); border-radius: var(--radius-sm);
  font-size: 13.5px; line-height: 1.7;
}
.kc-cr-group .kc-consent__terms:focus-visible { outline: 2px solid var(--kc-purple); outline-offset: 3px; }
.kc-cr-group .kc-choice { font-weight: var(--fw-semibold); }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 1199px) {
  .kc-cr-head { padding: 56px 0; }
  .kc-cr-head__inner { gap: 40px; }
  .kc-cr-quals__grid { grid-template-columns: minmax(0, 1fr); }
  .kc-cr-quals__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
}
@media (max-width: 991px) {
  .kc-cr-head__inner { grid-template-columns: minmax(0, 1fr); }
  .kc-cr-head__media { aspect-ratio: 16 / 9; }
  .kc-cr-questions { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .kc-cr-q { flex-direction: row; align-items: center; gap: 18px; padding: 22px 24px; font-size: 18px; }
  .kc-cr-q__icon { flex: none; }
  .kc-cr-essays { grid-template-columns: minmax(0, 1fr); }
  .kc-cr-essays .kc-field:nth-last-child(2) { margin-bottom: 28px; }
  .kc-cr-apply .kc-form__head { padding: 22px 32px; }
  .kc-cr-apply .kc-form__fields, .kc-cr-apply .kc-form__foot { padding-inline: 32px; }
  .kc-cr-apply .kc-form__status { margin-inline: 32px; }
}
@media (max-width: 767px) {
  .kc-cr-head { padding: 40px 0 48px; }
  .kc-cr-head__inner { gap: 28px; }
  .kc-cr-head__text { align-items: center; text-align: center; gap: 18px; }
  .kc-cr-head__media { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
  .kc-cr-intro { padding: 56px 0 56px; }
  .kc-cr-questions { margin-top: 32px; }
  .kc-cr-q { align-items: flex-start; padding: 20px; gap: 14px; font-size: 17px; }
  .kc-cr-q__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); }
  .kc-cr-copy { margin-top: 32px; font-size: 15.5px; }
  .kc-cr-copy__lead { font-size: 17px; }
  .kc-cr-quals { padding: 56px 0; border-radius: 0; }
  .kc-cr-quals__side { grid-template-columns: minmax(0, 1fr); }
  .kc-cr-card { padding: 26px 22px 28px; gap: 20px; border-radius: var(--radius-md); }
  .kc-cr-card__title { font-size: 22px; padding-bottom: 14px; }
  .kc-cr-checks--2 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .kc-cr-checks li { font-size: 15px; }
  .kc-cr-note { padding: 24px 22px 26px; border-radius: var(--radius-md); font-size: 15px; }
  .kc-cr-apply { padding: 56px 0 60px; }
  .kc-cr-apply__inner { gap: 28px; }
  .kc-cr-apply__title { font-size: 22px; }
  .kc-cr-apply__arrow { width: 40px; height: 40px; background-size: 18px; }
  .kc-cr-apply .kc-form { border-radius: var(--radius-md); }
  .kc-cr-apply .kc-form__head { padding: 18px 20px; }
  .kc-cr-apply .kc-form__body { padding: 24px 0 28px; gap: 24px; }
  .kc-cr-apply .kc-form__fields, .kc-cr-apply .kc-form__foot { padding-inline: 20px; }
  .kc-cr-apply .kc-form__status { margin-inline: 20px; }
  .kc-cr-apply .kc-form__foot .kc-btn { min-width: 0; }
  .kc-cr-apply .kc-form__intro { padding: 16px 18px; }
  .kc-cr-group { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 28px 0; }
  .kc-cr-group__icon { display: none; }
  .kc-cr-group__body { gap: 24px; }
  .kc-cr-pair { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .kc-cr-group .kc-form__pair { gap: 24px; }
  .kc-cr-group .kc-consent__terms { padding: 16px 18px; }
}

/* ---------- Form pages: Contact, Consultation, Assessment, thank-you pages ---------- */
/* ==========================================================================
   FORM PAGES — layout redesign (kc-fp-*)
   /contact-us/, /schedule-a-consultation/ (form card + info panel),
   /relationship-quiz/ (wizard card), thank-you pages (success card).
   Layout only: form markup, field order and wizard structure are untouched.
   ========================================================================== */

/* ---- Page head: extra room at the bottom so the content card can overlap it */
.kc-fp-head { padding-bottom: 152px; }
.kc-fp-head .kc-page-head__inner { gap: 16px; }

/* ---- Split layout: form card + info panel (Contact Us, Schedule a Consultation) */
.kc-fp-split { position: relative; z-index: 1; margin-top: -104px; padding-top: 0; }
.kc-fp-split__inner.kc-form-page__inner {
  width: min(var(--container), 100% - 2 * var(--gutter));
  display: grid; grid-template-columns: minmax(0, 1fr) 372px; align-items: start; gap: 32px;
}

/* Form card */
.kc-fp-split .kc-form,
.kc-fp-quiz .kc-wizard {
  position: relative;
  border: 1px solid var(--kc-border-warm);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 48px rgba(37, 33, 93, 0.10), 0 2px 6px rgba(37, 33, 93, 0.05);
}
.kc-fp-split .kc-form__body { gap: 30px; padding: 44px 0 40px; }
.kc-fp-split .kc-form__fields { gap: 28px; padding: 0 44px; }
.kc-fp-split .kc-form__foot { padding: 4px 44px 0; }
.kc-fp-split .kc-form__status { margin: 0 44px; }
.kc-fp-split .kc-form__foot .kc-btn { min-width: 180px; }
.kc-fp-split .kc-form__success { padding: 72px 40px; }

/* Checkbox groups as tidy selectable tiles */
.kc-fp-split .kc-choices { gap: 10px 12px; }
.kc-fp-split .kc-choice {
  align-items: center; min-height: 48px; padding: 11px 14px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm); border-radius: 10px;
  font-size: 14px; line-height: 1.4;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.kc-fp-split .kc-choice input { margin: 0; width: 18px; height: 18px; }
.kc-fp-split .kc-choice:hover { border-color: var(--kc-purple-soft); background: var(--kc-page); }
.kc-fp-split .kc-choice:has(input:checked) { border-color: var(--kc-purple); background: #fbf4fb; }
.kc-fp-split .kc-choice:has(input:focus-visible) { outline: 2px solid var(--kc-purple); outline-offset: 2px; }
.kc-fp-split .is-invalid .kc-choice { border-color: #f3b4b0; }
.kc-fp-split .kc-choices:not(.kc-choices--2) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kc-fp-split .kc-choices.kc-choices--1 { grid-template-columns: minmax(0, 1fr); }   /* stacked (consultation: best time) */

/* Info panel: decorative image + phone + offices (same data as header/footer) */
.kc-fp-aside {
  position: sticky; top: 140px;
  display: flex; flex-direction: column;
  background: var(--kc-navy); color: #fff;
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: 0 18px 48px rgba(37, 33, 93, 0.16);
}
.kc-fp-aside__img { display: block; width: 100%; height: 248px; object-fit: cover; object-position: center 30%; }
.kc-fp-aside__body { position: relative; display: flex; flex-direction: column; gap: 26px; padding: 30px 32px 34px; }
.kc-fp-aside__phone { position: relative; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.kc-fp-aside .site-header__phone {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-title); font-size: 26px; font-weight: var(--fw-regular); line-height: 1.2; color: #fff;
  white-space: normal;
}
.kc-fp-aside .site-header__phone img {
  box-sizing: content-box; width: 20px; height: 20px; padding: 12px;
  background: var(--kc-white); border-radius: 50%;
}
.kc-fp-aside .site-header__phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.kc-fp-aside__offices { position: relative; display: flex; flex-direction: column; gap: 18px; }
.kc-fp-aside .kc-location + .kc-location { margin-top: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.10); }
.kc-fp-aside .kc-location { column-gap: 10px; }
.kc-fp-aside .kc-location address { color: rgba(255, 255, 255, 0.82); font-size: 15px; }

/* ---- Relationship Assessment: one polished wizard card -------------------- */
.kc-fp-head--quiz { padding-bottom: 148px; }
.kc-fp-quiz-section { position: relative; z-index: 1; margin-top: -100px; padding-top: 0; }
.kc-fp-quiz.kc-form-page__inner { width: min(800px, 100% - 2 * var(--gutter)); }
.kc-fp-quiz .kc-wizard { gap: 0; overflow: hidden; background: var(--kc-white); }
.kc-fp-quiz .kc-wizard .kc-form { border: 0; border-radius: 0; box-shadow: none; }

/* Progress sits in the navy header band, flowing into the step head */
.kc-fp-quiz .kc-wizard__progress { gap: 12px; padding: 26px 44px 6px; background: var(--kc-navy); }
.kc-fp-quiz .kc-wizard__progress-text {
  font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.kc-fp-quiz .kc-progress { height: 6px; background: rgba(255, 255, 255, 0.16); }
.kc-fp-quiz .kc-progress__bar {
  background: linear-gradient(90deg, var(--kc-coral), #f6b3f3);
  transition: width 400ms var(--ease);
}
.kc-fp-quiz .kc-wizard__step { gap: 32px; padding-bottom: 36px; }
.kc-fp-quiz .kc-wizard__step .kc-form__head {
  position: relative; padding: 20px 44px 30px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.kc-fp-quiz .kc-wizard__step .kc-form__head p:first-child { font-size: 28px; line-height: 1.25; }
.kc-fp-quiz .kc-wizard__step .kc-form__head p:last-child { margin-top: 4px; font-size: 14px; }
.kc-fp-quiz .kc-wizard__step .kc-form__fields { gap: 28px; padding: 0 44px; }
.kc-fp-quiz .kc-fieldset--question > legend:not(.visually-hidden) { margin-bottom: 22px; font-size: 26px; }

/* Answer options: selectable cards with a custom radio */
.kc-fp-quiz .kc-choices--cards { gap: 10px; }
.kc-fp-quiz .kc-choices--cards .kc-choice {
  gap: 14px; min-height: 54px; padding: 13px 18px;
  border-radius: var(--radius-sm); font-size: 15px;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.kc-fp-quiz .kc-choices--cards .kc-choice:hover { border-color: #d8b3d6; background: #fdf8fd; transform: translateX(2px); }
.kc-fp-quiz .kc-choices--cards .kc-choice input {
  appearance: none; -webkit-appearance: none;
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--kc-border-strong); background: var(--kc-white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.kc-fp-quiz .kc-choices--cards .kc-choice input:checked {
  border-color: var(--kc-purple);
  box-shadow: inset 0 0 0 4px var(--kc-white), inset 0 0 0 11px var(--kc-purple);
}
.kc-fp-quiz .kc-choices--cards .kc-choice input:focus-visible { outline: 2px solid var(--kc-purple); outline-offset: 3px; }
.kc-fp-quiz .kc-choices--cards .kc-choice:has(input:checked) {
  border-color: var(--kc-purple); background: #fbf4fb;
  box-shadow: 0 4px 14px rgba(145, 40, 142, 0.12);
  color: var(--kc-navy); font-weight: var(--fw-semibold);
}

/* Footer of the card: Back / Next / Get results */
.kc-fp-quiz .kc-wizard__nav {
  padding: 22px 44px; border-top: 1px solid var(--kc-border-warm);
  background: var(--kc-sand-2);
}
.kc-fp-quiz .kc-wizard__nav .kc-btn { min-width: 140px; }
.kc-fp-quiz .kc-form__status { margin: 0 44px 24px; }

/* ---- Thank-you pages: centred success card -------------------------------- */
.kc-fp-thanks.kc-page-head {
  display: grid; place-items: center;
  min-height: min(100svh, 980px);
  padding: 168px 0 96px;
  background:
    radial-gradient(60% 50% at 15% 85%, rgba(145, 40, 142, 0.07), transparent 70%),
    radial-gradient(50% 45% at 90% 15%, rgba(255, 138, 102, 0.10), transparent 70%),
    var(--kc-cream-hero);
}
.kc-fp-thanks .kc-fp-thanks__card {
  width: min(720px, 100% - 2 * var(--gutter));
  gap: 18px; padding: 64px 56px 60px;
  background: var(--kc-white);
  border: 1px solid var(--kc-border-warm); border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(37, 33, 93, 0.10), 0 2px 6px rgba(37, 33, 93, 0.05);
}
.kc-fp-thanks__icon {
  position: relative; display: grid; place-items: center;
  width: 88px; height: 88px; margin-bottom: 8px; border-radius: 50%;
  background: var(--kc-sage); color: var(--kc-navy);
  box-shadow: 0 0 0 10px rgba(214, 226, 222, 0.45);
  animation: kc-fp-pop 500ms var(--ease) both;
}
.kc-fp-thanks__icon svg { width: 44px; height: 44px; }
.kc-fp-thanks__icon path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: kc-fp-draw 500ms 250ms var(--ease) forwards; }
.kc-fp-thanks .t-display { font-size: clamp(36px, 4.4vw, 56px); color: var(--kc-navy); }
.kc-fp-thanks .kc-page-head__lead { max-width: 520px; }
@keyframes kc-fp-pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes kc-fp-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .kc-fp-thanks__icon { animation: none; }
  .kc-fp-thanks__icon path { animation: none; stroke-dashoffset: 0; }
}

/* ---- Responsive ------------------------------------------------------------ */
@media (max-width: 1199px) {
  .kc-fp-head, .kc-fp-head--quiz { padding-bottom: 128px; }
  .kc-fp-split { margin-top: -88px; }
  .kc-fp-quiz-section { margin-top: -88px; }
  .kc-fp-split__inner.kc-form-page__inner { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .kc-fp-aside { top: 104px; }
  .kc-fp-thanks.kc-page-head { min-height: calc(100svh - 80px); padding: 64px 0; }
}
@media (max-width: 991px) {
  .kc-fp-split__inner.kc-form-page__inner { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .kc-fp-aside { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kc-fp-aside__img { height: 100%; min-height: 240px; }
  .kc-fp-split .kc-choices:not(.kc-choices--2) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .kc-fp-head, .kc-fp-head--quiz { padding-bottom: 96px; }
  .kc-fp-split, .kc-fp-quiz-section { margin-top: -64px; }
  .kc-fp-split__inner.kc-form-page__inner, .kc-fp-quiz.kc-form-page__inner { width: calc(100% - 2 * 16px); }
  .kc-fp-split .kc-form__body { gap: 24px; padding: 28px 0; }
  .kc-fp-split .kc-form__fields { gap: 24px; padding: 0 20px; }
  .kc-fp-split .kc-form__foot { padding: 0 20px; }
  .kc-fp-split .kc-form__status { margin: 0 20px; }
  .kc-fp-split .kc-choices--2 { grid-template-columns: minmax(0, 1fr); }
  .kc-fp-aside { display: flex; }
  .kc-fp-aside__img { height: 200px; min-height: 0; }
  .kc-fp-aside__body { padding: 26px 22px 28px; }
  .kc-fp-aside .site-header__phone { font-size: 22px; }

  .kc-fp-quiz .kc-wizard__progress { padding: 20px 20px 4px; }
  .kc-fp-quiz .kc-wizard__step .kc-form__head { padding: 16px 20px 24px; }
  .kc-fp-quiz .kc-wizard__step .kc-form__head p:first-child { font-size: 22px; }
  .kc-fp-quiz .kc-wizard__step .kc-form__fields { padding: 0 20px; }
  .kc-fp-quiz .kc-fieldset--question > legend:not(.visually-hidden) { font-size: 21px; }
  .kc-fp-quiz .kc-choices--cards .kc-choice { padding: 12px 14px; }
  .kc-fp-quiz .kc-wizard__nav { padding: 18px 20px; }
  .kc-fp-quiz .kc-wizard__nav .kc-btn { min-width: 0; flex: 1; }
  .kc-fp-quiz .kc-form__status { margin: 0 20px 20px; }

  .kc-fp-thanks.kc-page-head { padding: 40px 0 56px; min-height: calc(100svh - 80px); }
  .kc-fp-thanks .kc-fp-thanks__card { width: calc(100% - 2 * 16px); padding: 48px 22px 40px; }
  .kc-fp-thanks__icon { width: 72px; height: 72px; }
  .kc-fp-thanks__icon svg { width: 36px; height: 36px; }
}

/* ===================== HEADER: DROPDOWN MENUS =====================
   Markup comes from scripts/nav.mjs. Desktop: card under the item (hover or chevron click).
   Mobile: accordion inside the slide-down menu (chevron click). */
.site-nav__item.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.site-nav__sub-toggle {
  display: grid; place-items: center; width: 24px; height: 24px; padding: 0;
  border: 0; border-radius: 6px; background: none; color: var(--kc-ink-soft); cursor: pointer;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-nav__sub-toggle:hover { color: var(--kc-purple); background: var(--kc-purple-soft); }
.site-nav__sub-toggle svg { transition: transform var(--dur) var(--ease); }
.site-nav__item.is-open .site-nav__sub-toggle svg { transform: rotate(180deg); }
.site-nav__item.is-open > a { color: var(--kc-purple); }

.site-nav .site-nav__sub ul { display: block; gap: 0; }
.site-nav .site-nav__sub a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 14px; border: 0; border-radius: 12px;
  font-size: 15px; line-height: 1.35; text-transform: none; color: var(--kc-ink-soft);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-nav .site-nav__sub a:hover { background: var(--kc-cream); color: var(--kc-purple); }
/* this page */
.site-nav .site-nav__sub a[aria-current] { color: var(--kc-purple); font-weight: var(--fw-semibold); background: #fbf3fa; }
/* Our Services: the five main services in one list. "Couples Therapy" and "Family Therapy" are groups (no page
   of their own): a button with a › caret that opens the group's own sub-menu (flyout on desktop, accordion on phones). */
.site-nav .site-nav__sub .site-nav__main {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 11px 14px; border: 0; border-radius: 12px; background: none; cursor: pointer;
  font: inherit; font-size: 15.5px; font-weight: var(--fw-semibold); line-height: 1.35; text-align: left;
  color: var(--kc-navy); text-transform: none; letter-spacing: 0;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-nav__caret { flex: none; width: 16px; height: 16px; color: var(--kc-purple); transition: transform var(--dur) var(--ease); }
.site-nav__group.is-open > .site-nav__group-btn,
.site-nav__group-btn:hover, .site-nav__group-btn:focus-visible { background: var(--kc-cream); color: var(--kc-purple); outline: none; }
.site-nav__group.is-here > .site-nav__group-btn { color: var(--kc-purple); }   /* the page you're on is inside this group */
.site-nav__mains > li + li { margin-top: 2px; }
/* icon tiles for the five main services */
.site-nav__main-label { display: inline-flex; align-items: center; gap: 12px; }
.site-nav__ico {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: #f3eef8; color: var(--kc-purple);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.site-nav .site-nav__sub .site-nav__main:hover .site-nav__ico, .site-nav__group.is-open > .site-nav__group-btn .site-nav__ico,
.site-nav .site-nav__sub .site-nav__main[aria-current] .site-nav__ico { background: var(--kc-purple); color: #fff; }
.site-nav .site-nav__sub a.site-nav__main:hover { background: var(--kc-cream); color: var(--kc-purple); }
.site-nav .site-nav__sub .site-nav__main { padding: 8px 12px 8px 8px; }
/* sub-service lists: small coral dot before each */
.site-nav__flyout > li:not(.site-nav__flyout-head) > a::before {
  content: ""; flex: none; order: -1; width: 6px; height: 6px; border-radius: 50%; background: var(--kc-coral); opacity: .55;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.site-nav .site-nav__sub .site-nav__flyout a { justify-content: flex-start; gap: 12px; }
.site-nav__flyout > li > a:hover::before, .site-nav__flyout > li > a[aria-current]::before { opacity: 1; transform: scale(1.3); }
.site-nav__flyout-head { display: none; }

@media (min-width: 1200px) {
  .site-nav > ul { align-items: center; gap: 18px; }
  .site-nav a { white-space: nowrap; }
  /* calmer header: smaller, lightly tracked menu text; quieter phone number */
  .site-nav > ul > li > a { font-size: 14px; letter-spacing: 0.06em; }
  .site-nav__sub-toggle svg { width: 14px; height: 14px; }
  .site-header__phone { font-size: 17px; font-weight: var(--fw-semibold); gap: 8px; }
  .site-header__phone img { width: 18px; height: 18px; }
  .site-header__actions .kc-btn { font-size: 13px; letter-spacing: 0.04em; }
  .site-header__bar { gap: 20px; }
  .site-header__logo { flex-shrink: 0; }
  .site-header__actions { gap: 20px; flex-shrink: 0; }

  .site-nav__sub {
    position: absolute; top: calc(100% + 31px); left: 50%; z-index: 60; /* 6px under the header bar */
    min-width: 250px; padding: 14px 10px 10px; transform: translate(-50%, 10px);
    background: var(--kc-white); border: 1px solid var(--kc-border-warm); border-radius: 22px;
    box-shadow: 0 30px 60px -12px rgba(37, 33, 93, 0.22), 0 8px 18px rgba(37, 33, 93, 0.06);
    opacity: 0; visibility: hidden;
    /* closing waits a moment, so a mouse that briefly leaves the card (e.g. heading for a sub-menu) can come back */
    transition: opacity .2s var(--ease) .25s, transform .2s var(--ease) .25s, visibility 0s linear .45s;
  }
  .site-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 38px; } /* hover bridge across the gap */

  /* top items all line up: Rates (no dropdown) is a plain link, so give it the same box as the others */
  .site-nav > ul > li > a { display: block; }

  /* Our Services: one card. Hovering/opening a group slides out an attached second pane on the right (same card,
     shared edge, tinted), so the sub-menu reads as part of the dropdown rather than a separate floating box. */
  .site-nav__sub--mega { min-width: 310px; padding: 10px; transition-property: opacity, transform, visibility, border-radius; }
  .site-nav__sub--mega:has(.site-nav__group:hover, .site-nav__group.is-open) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .site-nav__group:hover > .site-nav__group-btn .site-nav__ico { background: var(--kc-purple); color: #fff; }
  .site-nav__group { position: static; }   /* the pane is placed against the whole card, not the row */
  .site-nav .site-nav__sub .site-nav__flyout {
    position: absolute; top: -1px; bottom: -1px; left: 100%; z-index: 61;
    min-width: 290px; padding: 0 12px 12px;
    background: #fbf8fd; border: 1px solid var(--kc-border-warm); border-left-color: #ece4f3; border-radius: 0 22px 22px 0;
    box-shadow: 18px 30px 50px -16px rgba(37, 33, 93, 0.22);
    clip-path: inset(-60px -60px -60px 0);   /* no shadow spilling back over the main card */
    opacity: 0; visibility: hidden; transform: translateX(-8px);
    /* closing waits a moment, so a diagonal move from the group to its pane (across other rows) doesn't close it */
    transition: opacity .18s var(--ease) .25s, transform .18s var(--ease) .25s, visibility 0s linear .43s;
  }
  /* pane header: the group name */
  .site-nav__flyout-head {
    display: block; margin: 0 -12px 8px; padding: 18px 22px 12px; border-bottom: 1px solid #ece4f3;
    font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--kc-purple);
  }
  .site-nav .site-nav__sub .site-nav__flyout a:hover { background: var(--kc-white); }
  .site-nav__group:hover > .site-nav__flyout, .site-nav__group.is-open > .site-nav__flyout {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
  }
  .site-nav__group:hover > .site-nav__flyout { z-index: 62; }   /* the newly hovered group's pane sits above one still fading out */
  /* the active group row is tinted like the pane and runs to the card edge, so the two visibly connect */
  .site-nav__group:hover > .site-nav__group-btn, .site-nav__group.is-open > .site-nav__group-btn {
    background: #fbf8fd; color: var(--kc-purple); margin-right: -10px; width: calc(100% + 10px); border-radius: 12px 0 0 12px;
  }
  .site-nav__group:hover > .site-nav__group-btn .site-nav__caret, .site-nav__group.is-open > .site-nav__group-btn .site-nav__caret { transform: translateX(3px); }
  /* one pane at a time: a clicked-open group closes while another is hovered */
  .site-nav__mains:has(.site-nav__group:hover) .site-nav__group.is-open:not(:hover) > .site-nav__flyout { opacity: 0; visibility: hidden; transition: none; }
  .site-nav__mains:has(.site-nav__group:hover) .site-nav__group.is-open:not(:hover) > .site-nav__group-btn { background: none; margin-right: 0; width: 100%; border-radius: 12px; }

  .site-nav__item.has-sub:hover .site-nav__sub,
  .site-nav__item.has-sub.is-open .site-nav__sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
  }
  .site-nav__item.has-sub:hover > a { color: var(--kc-purple); }
  .site-nav > ul:has(> .site-nav__item.has-sub:hover) > .site-nav__item.has-sub:not(:hover):not(.is-open) .site-nav__sub { opacity: 0; visibility: hidden; transition: none; }
  .site-nav__item.has-sub:hover .site-nav__sub-toggle svg { transform: rotate(180deg); }
  .site-nav__item.has-sub.is-closed .site-nav__sub { opacity: 0; visibility: hidden; transition: none; } /* Esc closes even while hovered */
}
/* The six-item menu needs the room: wide screens let the bar grow; below that the phone number
   becomes a phone icon button on small laptops, which also get a slightly smaller logo and menu text. */
@media (min-width: 1480px) { .site-header__bar { width: min(1400px, 100% - 2 * var(--gutter)); } }
@media (min-width: 1200px) and (max-width: 1379px) {
  .site-header__logo img { width: 190px; height: 45px; }
  .site-nav > ul { gap: 12px; }
  .site-nav > ul > li > a { font-size: 13px; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .site-header__phone {
    justify-content: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--kc-border-warm);
  }
  .site-header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1199px) {
  .site-nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .site-nav__item.has-sub { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--kc-border); }
  .site-nav .site-nav__item.has-sub > a { flex: 1; border-bottom: 0; }
  .site-nav__sub-toggle { width: 44px; height: 44px; margin-right: -10px; border-radius: 12px; }
  .site-nav__item.is-open .site-nav__sub-toggle { color: var(--kc-purple); background: var(--kc-purple-soft); }
  .site-nav__sub {
    display: none; flex-basis: 100%; margin: 0 0 14px; padding: 8px;
    background: var(--kc-cream); border: 1px solid var(--kc-border-warm); border-radius: 16px;
  }
  .site-nav__item.is-open .site-nav__sub { display: block; animation: kc-sub-in .2s var(--ease); }
  .site-nav .site-nav__sub a { padding: 11px 14px; border-bottom: 0; }
  .site-nav .site-nav__sub a:hover, .site-nav .site-nav__sub a[aria-current] { background: var(--kc-white); }
  .site-nav .site-nav__sub .site-nav__main { padding: 11px 14px; border-bottom: 0; }
  .site-nav__group-btn .site-nav__caret { transform: rotate(90deg); }
  .site-nav__group.is-open > .site-nav__group-btn .site-nav__caret { transform: rotate(-90deg); }
  .site-nav .site-nav__sub .site-nav__flyout { display: none; margin: 2px 0 8px 17px; padding-left: 4px; border-left: 2px solid var(--kc-border-warm); }
  .site-nav .site-nav__sub .site-nav__group.is-open > .site-nav__flyout { display: block; animation: kc-sub-in .2s var(--ease); }
  .site-nav__links { margin-block: 4px; }
}
@keyframes kc-sub-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .site-nav__sub, .site-nav .site-nav__sub a { transition: none !important; animation: none !important; }
}

/* ===================== BREADCRUMBS =====================
   Added to the top of each page's first section at build time (api/_lib/content/structured-data.mjs).
   Sits just above the page title; on photo heroes it's light, on cream page heads it's dark.
   Pages with no <h1> (legal) get --top: pinned to the top of the first section instead. */
.kc-breadcrumbs {
  position: relative; z-index: 3; margin: 0 0 16px;
  font-size: 13px; line-height: 1.4; color: var(--kc-ink-soft);
}
.kc-breadcrumbs--top {
  position: absolute; top: 136px; left: 0; right: 0; margin: 0 auto;
  width: min(var(--container), 100% - 2 * var(--gutter));
}
.kc-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.kc-breadcrumbs li { display: inline-flex; align-items: center; }
.kc-breadcrumbs li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.kc-breadcrumbs a { color: inherit; text-decoration: none; }
.kc-breadcrumbs a:hover { color: var(--kc-purple); text-decoration: underline; text-underline-offset: 3px; }
.kc-breadcrumbs [aria-current] { font-weight: var(--fw-semibold); color: var(--kc-navy); }
.kc-hero--photo .kc-breadcrumbs { color: rgba(255, 255, 255, 0.82); }
.kc-hero--photo .kc-breadcrumbs [aria-current] { color: #fff; }
.kc-hero--photo .kc-breadcrumbs a:hover { color: #fff; }
.kc-page-head__inner > .kc-breadcrumbs ol { justify-content: center; }
@media (max-width: 1199px) {
  .kc-breadcrumbs--top { top: 20px; }
}
@media (max-width: 767px) {
  .kc-breadcrumbs { font-size: 12px; margin-bottom: 12px; }
  .kc-hero .kc-breadcrumbs ol, .kc-cr-head .kc-breadcrumbs ol { justify-content: center; }   /* centred hero text on phones */
  .kc-breadcrumbs--top { top: 14px; }
}

/* ---- SEO heading conversions (look unchanged) -------------------------------- */
.kc-faq__row > h3 { color: #050805; }                       /* homepage FAQ question (was <dt>) */
.kc-expect__box > .kc-expect__box-label { font-size: 18px; line-height: 1.6; font-weight: var(--fw-bold); color: var(--kc-ink-soft); }
.kc-loc__map iframe { display: block; width: 100%; height: 457px; border: 0; }   /* Google Maps embed (locations hub) */
@media (max-width: 991px) { .kc-loc__map iframe { height: 380px; } }
@media (max-width: 767px) {
  .kc-faq__row > h3 { font-size: 18px; }
  .kc-loc__map iframe { height: 300px; }
}
/* office address = link to the Google Business Profile; keeps the plain address look */
.kc-location address a.kc-location__map { color: inherit; font-weight: inherit; text-decoration: none; }
.kc-location address a.kc-location__map:hover { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; }

/* Hero calls to action: Schedule a Consultation + Call Us side by side (content region "call-cta") */
.kc-cta-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.kc-btn--call { border: 2px solid currentColor; color: var(--kc-navy); background: transparent; gap: 10px; }
.kc-btn--call:hover { background: var(--kc-navy); border-color: var(--kc-navy); color: #fff; }
.kc-hero--photo .kc-btn--call { color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.kc-hero--photo .kc-btn--call:hover { background: #fff; border-color: #fff; color: var(--kc-navy); }
.kc-page-head .kc-cta-pair { justify-content: center; }
@media (max-width: 767px) {
  .kc-hero .kc-cta-pair { justify-content: center; }
  .kc-cta-pair .kc-btn { flex: 1 1 200px; }
}
.kc-legal { position: relative; }   /* holds the breadcrumb trail */
@media (max-width: 1199px) { .kc-legal { padding-top: 56px; } }
