/* Homepage people sections (src/lib/home-people.ts). Kinore brand: Montserrat, Charcoal #1E1919, Sunrise #FABE19, Indigo #640AE1. */
.kp-who, .kp-help, .kp-people, .kp-how { font-family: 'Montserrat', Arial, sans-serif; color: #1E1919; }
.kp-who *, .kp-help *, .kp-people *, .kp-how * { box-sizing: border-box; }
.kp-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.kp-eyebrow { margin: 0 0 12px !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase; color: #640AE1 !important; }
.kp-eyebrow-sun { color: #FABE19 !important; }
.kp-who h2, .kp-help h2, .kp-people h2, .kp-how h2 { margin: 0 0 20px; font-family: inherit; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; color: inherit; text-transform: none; }
.kp-who p, .kp-help p, .kp-people p, .kp-how p { font-family: inherit; }
.kp-ph { position: relative; margin: 0; overflow: hidden; border-radius: 24px; background: #EDE8F4; }
.kp-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kp-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: #640AE1 !important; font-size: 16px; font-weight: 700; text-decoration: none !important; }
.kp-link svg, .kp-btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.kp-link:hover svg, .kp-btn:hover svg { transform: translateX(3px); }
.kp-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; background: #FABE19; color: #1E1919 !important; font-size: 16px; font-weight: 700; text-decoration: none !important; transition: background .2s ease; }
.kp-btn:hover { background: #F0AE00; }
.kp-btn-dark { background: #1E1919; color: #fff !important; }
.kp-btn-dark:hover { background: #3a3333; }
.kp-who a:focus-visible, .kp-help a:focus-visible, .kp-people a:focus-visible, .kp-how a:focus-visible { outline: 3px solid #640AE1; outline-offset: 3px; border-radius: 8px; }

/* Who we are: text beside a photo collage */
.kp-who { padding: clamp(64px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); background: #fff; }
.kp-who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kp-who-text p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; color: #4A4444; }
.kp-who-text .kp-who-pull { position: relative; margin: 28px 0 22px; padding-left: 20px; border-left: 4px solid #FABE19; font-size: 19px; line-height: 1.55; font-weight: 600; color: #1E1919; }
.kp-who-photos { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 230px 190px; gap: 16px; }
.kp-ph-a { grid-column: 1; grid-row: 1; }
.kp-ph-b { grid-column: 2; grid-row: 1 / span 2; }
.kp-ph-c { grid-column: 1; grid-row: 2; }

/* Who we help: a growth curve with the five audiences as stages along it */
.kp-help { padding: clamp(64px, 8vw, 112px) 0; background: #fff; }
.kp-help-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.kp-help-head h2 { margin-bottom: 0; }
.kp-help-head > p { margin: 0; font-size: 17px; line-height: 1.7; color: #4A4444; }
.kp-growth { position: relative; }
.kp-curve { display: block; width: 100%; height: clamp(180px, 22vw, 300px); overflow: visible; clip-path: inset(-24px 100% -24px -24px); transition: clip-path 1.8s cubic-bezier(.6,0,.2,1); }
.kp-growth.is-drawn .kp-curve { clip-path: inset(-24px -24px -24px -24px); }
.kp-curve-line { fill: none; stroke: url(#kp-curve-line); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.kp-curve-drop { stroke: #D9D2DF; stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.kp-curve-stop { fill: #fff; stroke: #1E1919; stroke-width: 3; vector-effect: non-scaling-stroke; }
.kp-curve-stop.is-top { fill: #FABE19; stroke: #1E1919; }
.kp-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.kp-stages li { margin: 0; padding: 0; list-style: none; }
.kp-stages a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 20px 20px; border: 1px solid #ECE8F2; border-top: 4px solid #1E1919; border-radius: 4px 4px 18px 18px; background: #fff; color: #1E1919 !important; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.kp-stages li:last-child a { border-top-color: #FABE19; background: #FFFBEF; }
.kp-stages a:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(30,25,25,.45); }
.kp-stage-num { font-size: 13px; font-weight: 700; color: #9A9393; font-variant-numeric: tabular-nums; }
.kp-stage-name { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #640AE1; }
.kp-stages strong { margin-top: 4px; font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.kp-stage-text { font-size: 14px; line-height: 1.55; color: #5B5555; }
.kp-stage-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700; color: #640AE1; }
.kp-stage-go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.kp-stages a:hover .kp-stage-go svg { transform: translateX(3px); }

/* Meet the people: the whole team, full width */
.kp-people { position: relative; background: #1E1919; color: #fff; overflow: hidden; }
.kp-people-photo { position: relative; height: clamp(420px, 52vw, 720px); }
.kp-people-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.kp-people-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,25,25,.92) 0%, rgba(30,25,25,.72) 34%, rgba(30,25,25,.05) 62%); }
.kp-people-card { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.kp-people-card > * { max-width: 470px; }
.kp-people h2 { color: #fff; }
.kp-people p { margin: 0 0 28px; font-size: 17px; line-height: 1.7; color: #E6E0EA; }

/* How it works: photo beside three steps */
.kp-how { padding: clamp(64px, 8vw, 112px) 0; background: #F7F5F2; }
.kp-how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.kp-how-photo { aspect-ratio: 1 / 1; }
.kp-steps { margin: 8px 0 32px; padding: 0; list-style: none; counter-reset: none; }
.kp-steps li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; margin: 0; padding: 0 0 28px; list-style: none; }
.kp-steps li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 6px; width: 2px; background: repeating-linear-gradient(#D9D2DF 0 6px, transparent 6px 12px); }
.kp-step-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #1E1919; color: #FABE19; font-size: 20px; font-weight: 900; }
.kp-steps h3 { margin: 10px 0 6px; font-family: inherit; font-size: 20px; font-weight: 800; color: #1E1919; text-transform: none; letter-spacing: -0.01em; }
.kp-steps p { margin: 0; font-size: 16px; line-height: 1.65; color: #5B5555; }

@media (max-width: 1024px) {
  .kp-who-grid, .kp-how-grid { grid-template-columns: minmax(0, 1fr); }
  .kp-who-photos { grid-template-rows: 210px 170px; }
  .kp-people-photo { height: auto; aspect-ratio: 3 / 2; overflow: hidden; }
  .kp-people-photo::after { background: linear-gradient(180deg, rgba(30,25,25,0) 55%, rgba(30,25,25,1) 100%); }
  .kp-people-card { position: static; transform: none; padding-top: 8px; padding-bottom: 56px; }
  .kp-people-card > * { max-width: 640px; }
  .kp-how-photo { order: 2; }
}
@media (max-width: 1024px) {
  .kp-help-head { grid-template-columns: minmax(0, 1fr); }
  .kp-stages { gap: 10px; }
  .kp-stages a { padding: 18px 14px; }
  .kp-stages strong { font-size: 16px; }
}
@media (max-width: 760px) {
  /* On phones the curve becomes a rising vertical timeline. */
  .kp-curve { display: none; }
  .kp-stages { grid-template-columns: minmax(0, 1fr); gap: 0; position: relative; padding-left: 44px; }
  .kp-stages::before { content: ""; position: absolute; left: 15px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #FABE19, #640AE1); }
  .kp-stages li { position: relative; padding: 0 0 14px; }
  .kp-stages li::before { content: ""; position: absolute; left: -38px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #1E1919; }
  .kp-stages li:last-child::before { background: #FABE19; }
}
@media (max-width: 680px) {
  .kp-who-photos { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 130px; gap: 10px; }
  .kp-ph { border-radius: 16px; }
    .kp-people-photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .kp-link svg, .kp-btn svg { transition: none; }
  .kp-curve { transition: none !important; clip-path: none !important; }
}

/* Why choose Kinore: the four reasons as simple numbered notes instead of icon tiles. */
.elementor-element-21400b8e .elementor-icon-box-icon { display: none !important; }
.elementor-element-21400b8e .elementor-widget-icon-box { counter-increment: kp-reason; }
.elementor-element-21400b8e .elementor-icon-box-title::before { content: "0" counter(kp-reason); display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #640AE1; }
.elementor-element-21400b8e { counter-reset: kp-reason; }

/* ---------- Brand colour and the cropped-circle symbol (brand guidelines) ---------- */
.kp-circle { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.kp-circle-sun { background: #FABE19; }
.kp-circle-indigo { background: #640AE1; }
.kp-circle-grey { background: #C8D2DC; }
.kp-circle-ink { background: #1E1919; }

/* Who we are: circles peeking out behind the collage */
.kp-who-photos > .kp-ph { position: relative; z-index: 1; }
.kp-who-c1 { width: 220px; height: 220px; left: -70px; bottom: -60px; }
.kp-who-c2 { width: 70px; height: 70px; right: -22px; top: -26px; }

/* Who we help: warm tint, stages coloured along the curve from Sunrise to Indigo */
.kp-help { background: linear-gradient(180deg, #fff 0%, #FFF8E7 100%); }
.kp-stages li:nth-child(1) a { border-top-color: #FABE19; }
.kp-stages li:nth-child(2) a { border-top-color: #D4914B; }
.kp-stages li:nth-child(3) a { border-top-color: #AF647D; }
.kp-stages li:nth-child(4) a { border-top-color: #8937AF; }
.kp-stages li:nth-child(5) a { border-top-color: #640AE1; background: #fff; }
.kp-stages li:nth-child(5) .kp-stage-name { color: #640AE1; }
.kp-curve-stop.is-top { fill: #640AE1; stroke: #fff; stroke-width: 4; }
@media (max-width: 760px) {
  .kp-stages li:last-child::before { background: #640AE1; border-color: #640AE1; }
}

/* What we do: a Charcoal panel with white cards */
.kp-svc { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; background: #1E1919; font-family: 'Montserrat', Arial, sans-serif; color: #fff; }
.kp-svc * { box-sizing: border-box; }
.kp-svc .kp-wrap { position: relative; z-index: 1; }
.kp-svc-c1 { width: 520px; height: 520px; right: -170px; bottom: -300px; }
.kp-svc-c2 { width: 160px; height: 160px; left: -60px; top: -60px; }
.kp-svc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.kp-svc h2 { margin: 0; max-width: 16ch; font-family: inherit; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; font-weight: 900; letter-spacing: -0.02em; color: #fff; text-transform: none; }
.kp-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.kp-svc-grid li { margin: 0; padding: 0; list-style: none; }
.kp-svc-grid a { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px 28px 26px; border-radius: 22px; background: #fff; color: #1E1919 !important; text-decoration: none !important; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.kp-svc-grid a::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 110px; height: 110px; border-radius: 50%; background: #FABE19; transform: scale(0); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.kp-svc-grid a:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(0,0,0,.8); }
.kp-svc-grid a:hover::after { transform: scale(1); }
.kp-svc-num { font-size: 14px; font-weight: 900; color: #640AE1; }
.kp-svc-grid h3 { margin: 6px 0 0; font-family: inherit; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; color: #1E1919; text-transform: none; }
.kp-svc-grid p { margin: 0; font-family: inherit; font-size: 15px; line-height: 1.6; color: #5B5555; }
.kp-svc-go { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 15px; font-weight: 700; color: #640AE1; }
.kp-svc-go svg { width: 18px; height: 18px; transition: transform .2s ease; }
.kp-svc-grid a:hover .kp-svc-go svg { transform: translateX(3px); }
.kp-svc a:focus-visible { outline: 3px solid #FABE19; outline-offset: 3px; }

/* Kinore in numbers: a light band between the two dark sections */
.kp-numbers { padding: clamp(56px, 7vw, 96px) 0; background: #fff; font-family: 'Montserrat', Arial, sans-serif; color: #1E1919; }
.kp-numbers * { box-sizing: border-box; }
.kp-numbers .kp-eyebrow { text-align: center; margin-bottom: 36px !important; }
.kp-num-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.kp-num-list li { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 8px 24px; list-style: none; text-align: center; }
.kp-num-list li + li { border-left: 1px solid #ECE8F2; }
.kp-num-value { font-size: clamp(40px, 4.2vw, 64px); line-height: 1; font-weight: 900; letter-spacing: -0.03em; color: #1E1919; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kp-num-unit { color: #FABE19; }
.kp-num-label { margin-top: 6px; font-size: 16px; line-height: 1.4; font-weight: 700; color: #1E1919; }
.kp-num-line { max-width: 26ch; font-size: 14px; line-height: 1.55; color: #5B5555; }

/* The team photo band's staff figures */
.kp-team-stats { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: -6px 0 30px; max-width: none !important; padding: 0; list-style: none; }
.kp-team-stats li { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.kp-team-stats .kp-num-value { font-size: clamp(30px, 3vw, 40px); color: #fff; }
.kp-team-stats .kp-num-label { max-width: 13ch; margin: 0; font-size: 13px; line-height: 1.35; font-weight: 500; color: #E6E0EA; }

/* Rise in when scrolled into view (only when script runs) */
.kp-rise > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.kp-rise.is-in > * { opacity: 1; transform: none; }
.kp-rise.is-in > *:nth-child(2) { transition-delay: .12s; }
.kp-rise.is-in > *:nth-child(3) { transition-delay: .24s; }
.kp-rise.is-in > *:nth-child(4) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .kp-rise > * { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1024px) {
  .kp-num-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .kp-num-list li:nth-child(3) { border-left: 0; }
}
@media (max-width: 680px) {
  .kp-num-list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .kp-num-list li { padding: 24px 0; }
  .kp-num-list li + li { border-left: 0; border-top: 1px solid #ECE8F2; }
}

/* Meet the people: Sunrise circles cropped at the bottom of the photo */
.kp-people-photo .kp-circle { z-index: 1; }
.kp-people-c1 { width: 240px; height: 240px; right: 6%; bottom: -150px; }
.kp-people-c2 { width: 110px; height: 110px; right: calc(6% + 250px); bottom: -62px; }

/* How it works: soft grey tint and circles cropped at the bottom of the photo */
.kp-how { background: #EEF1F5; }
.kp-how-photo { overflow: hidden; }
.kp-how-photo img { position: relative; z-index: 0; }
.kp-how-photo .kp-circle { z-index: 1; }
.kp-how-c1 { width: 200px; height: 200px; left: -50px; bottom: -110px; }
.kp-how-c2 { width: 260px; height: 260px; right: -60px; bottom: -170px; }
.kp-step-num { background: #640AE1; color: #fff; }
.kp-steps li:nth-child(3) .kp-step-num { background: #FABE19; color: #1E1919; }

@media (max-width: 1024px) {
  .kp-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .kp-svc-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .kp-svc-grid a { padding: 22px; }
  .kp-who-c1 { width: 140px; height: 140px; left: -40px; bottom: -40px; }
  .kp-people-c1 { width: 150px; height: 150px; bottom: -95px; }
  .kp-people-c2 { width: 70px; height: 70px; right: calc(6% + 160px); bottom: -40px; }
  .kp-how-c1 { width: 130px; height: 130px; bottom: -75px; }
  .kp-how-c2 { width: 170px; height: 170px; bottom: -110px; }
}
@media (prefers-reduced-motion: reduce) {
  .kp-svc-grid a, .kp-svc-grid a::after, .kp-svc-go svg { transition: none; }
}


/* Client reviews: Trustpilot's carousel inside a heading and a soft card */
.kp-reviews { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; background: #FFF8E7; font-family: 'Montserrat', Arial, sans-serif; color: #1E1919; }
.kp-reviews * { box-sizing: border-box; }
.kp-reviews::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -120px; border-radius: 50%; background: #FABE19; }
.kp-reviews .kp-wrap { position: relative; z-index: 1; }
.kp-reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.kp-reviews h2 { margin: 0; font-family: inherit; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; color: #1E1919; text-transform: none; }
.kp-reviews-card { padding: clamp(20px, 3vw, 36px) clamp(12px, 2vw, 28px); border-radius: 28px; background: #fff; border: 1px solid #F1E6C8; box-shadow: 0 24px 50px -36px rgba(30,25,25,.35); }
.kp-reviews-card .trustpilot-widget { min-height: 140px; }
@media (max-width: 680px) { .kp-reviews::before { width: 140px; height: 140px; right: -70px; top: -80px; } }
