/* Kaptiva Sports Academy — global stylesheet.
   Rebuild of the Elementor redesign (test.kaptivasports.com), measured element by element.
   Tokens from the Elementor Kit (project-docs/diseno-tokens.md).
   Mobile first: base = phone (Elementor mobile <= 767px), 768px = tablet, 1025px = desktop. */

:root {
  --ks-ink: #212121;
  --ks-ink-2: #333333;
  --ks-magenta: #AD0076;
  --ks-purple: #780A80;
  --ks-navy: #000B4D;
  --ks-pink-soft: #FCE9FD;
  --ks-surface: #F8F9FF;
  --ks-grey: #F5F5F5;
  --ks-line: #E4E8FF;
  --ks-dot: #EEEEEE;
  --ks-white: #FFFFFF;
  --ks-gradient-btn: linear-gradient(176deg, var(--ks-purple) 0%, var(--ks-magenta) 100%);
  --ks-gradient-pill: linear-gradient(180deg, var(--ks-magenta) 0%, var(--ks-purple) 100%);
  --ks-glow-strong: radial-gradient(circle at 1% 80%, rgba(103, 19, 124, .98) 0, rgba(0, 0, 0, 0) 50%),
                    radial-gradient(circle at 93% 90%, rgba(103, 19, 124, .6) 0, rgba(0, 0, 0, 0) 50%);
  --ks-glow-soft: radial-gradient(circle at 1% 80%, rgba(103, 19, 124, .7) 0, rgba(0, 0, 0, 0) 50%),
                  radial-gradient(circle at 93% 90%, rgba(103, 19, 124, .6) 0, rgba(0, 0, 0, 0) 50%);
  --ks-glow-top: radial-gradient(circle at 1% 15%, rgba(103, 19, 124, .98) 0, rgba(0, 0, 0, 0) 50%),
                 radial-gradient(circle at 93% 85%, rgba(103, 19, 124, .6) 0, rgba(0, 0, 0, 0) 50%);
  --ks-font-head: "Inter", sans-serif;
  --ks-font-body: "Manrope", sans-serif;
  --ks-gutter: 24px;
  --ks-max: 1440px; /* Elementor boxed content width */
  /* Marquee (values from the original custom widget) */
  --ks-mq-angle: -6deg;
  --ks-mq-size: 60px;
  --ks-mq-height: 50px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ks-font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ks-ink);
  background: var(--ks-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ks-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.ks-container { width: 100%; max-width: calc(var(--ks-max) + 2 * var(--ks-gutter)); margin: 0 auto; padding: 0 var(--ks-gutter); }
.ks-center { text-align: center; }

/* ---------------------------------------------------------------- type */
.ks-h2 {
  font-family: var(--ks-font-head);
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
  font-style: italic;
  color: var(--ks-ink);
}
.ks-h2--light { color: var(--ks-white); }
.ks-h2--navy { color: var(--ks-navy); }
.ks-eyebrow {
  display: table;
  font-family: var(--ks-font-head);
  font-size: 1.1rem;
  line-height: 21px;
  font-weight: 400;
  color: var(--ks-ink);
  padding-left: 21px;
  border-left: 2px solid var(--ks-magenta);
  margin-bottom: 22px;
}
.ks-eyebrow--light { color: var(--ks-white); }
.ks-center > .ks-eyebrow { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- buttons, pills, dots */
.ks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  border-radius: 4px;
  font-family: var(--ks-font-head);
  font-size: 14px;
  line-height: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: filter .2s ease, background-color .2s ease, color .2s ease;
}
.ks-btn--primary { background-image: var(--ks-gradient-btn); color: var(--ks-white); border: 0; }
.ks-btn--primary:hover { filter: brightness(1.12); }
.ks-btn--outline { padding: 0 25px; border-color: var(--ks-navy); color: var(--ks-navy); background: transparent; }
.ks-btn--outline:hover { background: var(--ks-navy); color: var(--ks-white); }
.ks-btn--ghost-light { padding: 0 25px; border-color: var(--ks-white); color: var(--ks-white); background: transparent; }
.ks-btn--ghost-light:hover { background: var(--ks-white); color: var(--ks-navy); }

.ks-pill {
  display: table;
  padding: 6px 10px;
  border: 1px solid var(--ks-white);
  border-radius: 50px;
  font-family: var(--ks-font-head);
  font-size: 12px;
  line-height: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ks-white);
}
.ks-pill--solid { border: 0; background-image: var(--ks-gradient-pill); }

.ks-dots { display: flex; justify-content: center; gap: 12px; }
.ks-dots__btn { width: 8px; height: 8px; border-radius: 100%; background: var(--ks-dot); }
.ks-dots__btn.is-active { background: var(--ks-magenta); }

/* Native swipe carousels (mobile) */
[data-scroller] { scrollbar-width: none; }
[data-scroller]::-webkit-scrollbar { display: none; }

/* ---------------------------------------------------------------- tilt divider (Elementor "tilt", bottom) */
.ks-tilt {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 3;
  transform: rotate(180deg);
}
.ks-tilt__svg {
  position: relative;
  left: 50%;
  width: calc(100% + 1.3px);
  height: 46px;
  transform: translateX(-50%) rotateY(180deg);
}
.ks-tilt--navy path { fill: var(--ks-navy); }
.ks-tilt--white path { fill: var(--ks-white); }
.ks-tilt--pink path { fill: var(--ks-pink-soft); }
.ks-tilt--magenta path { fill: var(--ks-magenta); }
.ks-method .ks-tilt__svg { height: 48px; }
.ks-why .ks-tilt__svg { height: 48px; }

/* ---------------------------------------------------------------- header */
.ks-header { position: relative; z-index: 50; background: var(--ks-white); border-bottom: 1px solid var(--ks-grey); }
.ks-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  margin: 0 auto;
  padding: 0 var(--ks-gutter);
}
.ks-header__logo { display: block; }
.ks-header__logo img { width: auto; height: 18px; }
.ks-header__logo-light, .ks-header__logo-compact { display: none !important; }
.ks-header__nav { display: none; }
.ks-header__menu { display: flex; gap: 24px; }
.ks-header__menu a { font-family: var(--ks-font-head); font-size: 15px; line-height: 20px; font-weight: 700; text-transform: uppercase; color: var(--ks-ink); }
.ks-header__menu a:hover { color: var(--ks-magenta); }
.ks-header .ks-header__menu a[aria-current][href],
.ks-mobile-menu__list a[aria-current] { color: var(--ks-magenta); }
.ks-header__toggle { display: grid; place-items: center end; width: 30px; height: 30px; color: var(--ks-ink); }
.ks-header--overlay .ks-header__toggle { margin-top: 4px; }
.ks-header__toggle svg { width: 30px; height: 15px; fill: currentColor; }

.ks-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
.ks-header--overlay .ks-header__inner { padding-top: 24px; }
/* Franja oscura translúcida sobre la foto (mismo margen arriba y abajo); al fijarse con scroll vuelve a blanco */
.ks-header--overlay:not(.is-stuck) { background: rgba(0, 11, 77, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ks-header--overlay:not(.is-stuck) .ks-header__inner { height: 94px; padding-bottom: 24px; }
.ks-header--overlay .ks-header__logo-compact { display: block !important; height: 27px; }
.ks-header--overlay .ks-header__logo-dark { display: none !important; }
.ks-header--overlay .ks-header__menu a { color: var(--ks-white); }
.ks-header--overlay .ks-header__toggle { color: var(--ks-white); }
.ks-header--overlay.is-stuck {
  position: fixed;
  background: var(--ks-white);
  border-bottom-color: var(--ks-grey);
}
.ks-header--overlay.is-stuck { animation: ks-fade-in .34s ease; }
.ks-header--overlay.is-stuck .ks-header__inner { padding-top: 0; }
.ks-header--overlay.is-stuck .ks-header__logo-light,
.ks-header--overlay.is-stuck .ks-header__logo-compact { display: none !important; }
.ks-header--overlay.is-stuck .ks-header__logo-dark { display: block !important; }
.ks-header--overlay.is-stuck .ks-header__menu a { color: var(--ks-ink); }
.ks-header--overlay.is-stuck .ks-header__toggle { color: var(--ks-ink); }
@keyframes ks-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Mobile menu: full-screen white panel (original: JetPopup) */
.ks-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0 var(--ks-gutter) 65px;
  overflow-y: auto;
  background: var(--ks-white);
  color: var(--ks-ink);
}
.ks-mobile-menu[hidden] { display: none; }
.ks-mobile-menu__top { display: flex; align-items: center; justify-content: flex-end; gap: 21px; height: 70px; }
.ks-mobile-menu__close { display: grid; place-items: center; width: 24px; height: 24px; margin-right: 5px; }
.ks-mobile-menu__close svg { width: 22px; height: 22px; fill: none; stroke: var(--ks-ink); stroke-width: 2; }
.ks-mobile-menu__list { margin-top: 20px; padding-bottom: 25px; border-bottom: 1px solid var(--ks-grey); }
.ks-mobile-menu__list a { display: flex; align-items: center; height: 48px; font-family: var(--ks-font-head); font-size: 28px; line-height: 20px; font-weight: 700; font-style: italic; }
.ks-mobile-menu__secondary { margin-top: 25px; }
.ks-mobile-menu__secondary a { display: flex; align-items: center; height: 30px; font-family: var(--ks-font-head); font-size: 16px; line-height: 20px; font-weight: 500; }
.ks-mobile-menu__bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 40px; }
.ks-mobile-menu__bottom img { width: 50px; height: auto; margin-bottom: 16px; }
.ks-mobile-menu__line { font-size: 14px; line-height: 19.6px; }
.ks-mobile-menu__phone { max-width: 98px; margin: 3px 0 0 5px; text-align: center; }
.ks-mobile-menu__socials { display: flex; gap: 10px; }
.ks-mobile-menu__socials svg { width: 24px; height: 24px; fill: var(--ks-ink); }
body.is-menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- hero */
.ks-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 98vh;
  margin-top: -20px;
  padding-bottom: 54px;
  overflow: hidden;
  color: var(--ks-white);
  background: var(--ks-navy);
}
.ks-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.ks-hero::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .2; z-index: 1; }
.ks-hero__inner { position: relative; z-index: 2; width: 100%; max-width: calc(var(--ks-max) + 2 * var(--ks-gutter)); margin: 0 auto; padding: 248px var(--ks-gutter) 0; }
.ks-hero__title {
  max-width: 670px;
  font-family: var(--ks-font-head);
  font-size: 32px;
  line-height: 32px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.ks-hero__text { max-width: 380px; margin-top: 20px; font-size: 18px; line-height: 27px; }
.ks-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ks-hero__actions:empty { margin-top: 30px; }

.ks-marquee { position: relative; z-index: 2; height: var(--ks-mq-height); display: flex; align-items: center; pointer-events: none; }
.ks-marquee__angle { width: 100%; transform: rotate(var(--ks-mq-angle)); }
.ks-marquee__track { display: flex; width: max-content; animation: ks-marquee 25s linear infinite; }
.ks-marquee__item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--ks-font-head);
  font-size: var(--ks-mq-size);
  line-height: 1;
  color: rgba(255, 255, 255, .3);
}
.ks-marquee__text { font-weight: 900; font-style: italic; }
.ks-marquee__dot { margin: 0 40px; font-size: .5em; }
@keyframes ks-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ks-marquee__track { animation: none; } }

/* ---------------------------------------------------------------- why kaptiva (slider) */
.ks-why {
  position: relative;
  padding: 101px 0 380px;
  background-color: var(--ks-navy);
  background-image: var(--ks-glow-strong);
  color: var(--ks-white);
  overflow: hidden;
}
.ks-why__inner { width: 100%; max-width: 990px; margin: 0 auto; padding: 0 var(--ks-gutter); }
.ks-why__head { display: flex; flex-direction: column; }
.ks-why__intro { margin-top: 40px; font-size: 16px; line-height: 24px; }
.ks-tabs { display: flex; align-items: flex-start; gap: 10px; margin-top: 50px; }
.ks-tabs__btn {
  min-height: 32px;
  padding: 9px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .1);
  font-family: var(--ks-font-head);
  font-size: 14px;
  line-height: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ks-white);
  transition: background-color .2s ease;
}
.ks-tabs__btn:hover, .ks-tabs__btn.is-active { background: rgba(255, 255, 255, .25); }

.ks-slider { position: relative; overflow: hidden; }
.ks-slider__track { display: flex; transition: transform .5s ease; will-change: transform; }
.ks-slider--why { margin-top: 50px; }
.ks-slider--why .ks-slider__track { gap: 20px; }

.ks-why-card {
  position: relative;
  flex: 0 0 275px;
  display: flex;
  flex-direction: column;
  min-height: 704px;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}
.ks-why-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 39px 30px 30px; }
.ks-why-card__title { margin-top: 18px; font-family: var(--ks-font-head); font-size: 1.6rem; line-height: 1.2; font-weight: 700; font-style: italic; }
.ks-why-card__text { margin-top: 37px; font-size: 16px; line-height: 24px; }
.ks-why-card__media { position: relative; height: 334px; margin-top: auto; }
.ks-why-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ks-stat {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  width: 155px;
  height: 178px;
  padding: 20px;
  border-radius: 15px;
  background: rgba(0, 11, 77, .3);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.ks-stat__label { max-width: 76px; font-size: 16px; line-height: 24px; font-weight: 600; }
.ks-stat__icon { width: 19px; height: auto; justify-self: end; margin-top: 26px; }
.ks-stat__value { grid-column: 1 / -1; font-family: var(--ks-font-head); font-size: 32px; line-height: 32px; font-weight: 900; font-style: italic; text-transform: uppercase; }

.ks-slider__arrows { display: flex; gap: 8px; margin-top: 14px; padding-left: 26px; }
.ks-arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50px; }
.ks-arrow svg { width: 30px; height: 30px; }
.ks-arrow svg path { fill: var(--ks-white); }
.ks-arrow--next svg { transform: scaleX(-1); }
.ks-arrow--glass { background: rgba(255, 255, 255, .1); }
.ks-arrow--glass:hover { background: rgba(255, 255, 255, .2); }
.ks-arrow--dark { width: 50px; height: 50px; background: var(--ks-ink); }

/* ---------------------------------------------------------------- programs */
.ks-programs { position: relative; z-index: 4; margin-top: -300px; padding-bottom: 64px; }
.ks-programs .ks-h2 { text-align: center; }
.ks-programs__intro { margin-top: 10px; text-align: center; color: var(--ks-white); font-size: 16px; line-height: 24px; }
.ks-programs__grid {
  display: flex;
  gap: 24px;
  margin: 60px calc(-1 * var(--ks-gutter)) 0;
  padding: 0 var(--ks-gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--ks-gutter);
}
.ks-program-card { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 15px; overflow: hidden; background: var(--ks-surface); }
.ks-program-card__img { width: 100%; height: 245px; object-fit: cover; }
.ks-program-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 32px 24px 24px; }
.ks-program-card__title { margin-top: 20px; font-family: var(--ks-font-head); font-size: 22px; line-height: 26.4px; font-weight: 700; color: var(--ks-ink); }
.ks-program-card__text { margin-top: 12px; font-size: 16px; line-height: 24px; }
.ks-program-card__list { align-self: stretch; margin: 19px 0 21px; }
.ks-program-card__list li { padding: 9px 0; border-bottom: 1px solid var(--ks-line); font-size: 14px; line-height: 19.6px; font-weight: 700; color: var(--ks-ink-2); }
.ks-program-card .ks-btn { margin-top: auto; }
.ks-programs .ks-dots { margin-top: 23px; }

/* ---------------------------------------------------------------- journey (program rows) */
.ks-journey { padding: 51px 0 48px; }
.ks-journey__list { display: grid; gap: 10px; margin-top: 50px; }
.ks-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 30px;
  border-radius: 10px;
  background: var(--ks-surface);
}
.ks-row__title { font-family: var(--ks-font-head); font-size: 18px; line-height: 27px; font-weight: 700; color: var(--ks-ink); }
.ks-row__link::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.ks-row__meta { display: flex; align-items: center; gap: 10px; min-height: 20px; margin-top: 10px; font-size: 14px; line-height: 19.6px; color: var(--ks-ink-2); }
.ks-row__meta + .ks-row__sep + .ks-row__meta { margin-top: 9px; }
.ks-row__meta img { width: 16px; height: 16px; }
.ks-row__sep { display: none; width: 1px; height: 21px; background: var(--ks-line); }
.ks-row__actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; }

/* ---------------------------------------------------------------- methodology */
.ks-method { position: relative; padding: 61px 0 110px; background-color: var(--ks-magenta); background-image: var(--ks-glow-soft); color: var(--ks-white); }
.ks-method__grid { display: grid; grid-template-areas: "content" "collage" "list"; }
.ks-method__content { grid-area: content; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ks-method__logo { width: 120px; height: auto; margin-bottom: 40px; }
.ks-method__text { margin-top: 30px; font-size: 16px; line-height: 24px; }
.ks-method__collage { grid-area: collage; container-type: inline-size; margin-top: 60px; }
.ks-method__img { display: block; border-radius: 20px; object-fit: cover; transition: transform .4s; }
.ks-method__img--1 { width: 66%; height: auto; aspect-ratio: 4 / 3; }
.ks-method__img--2 { width: calc((100% - 30px) * .8); height: auto; aspect-ratio: 3 / 2; margin: -40px 30px 0 auto; }
.ks-method__row { display: none; }
.ks-method__list { grid-area: list; display: grid; gap: 10px; margin-top: 60px; }
.ks-method__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .1);
  font-size: 14px;
  line-height: 21px;
  font-weight: 800;
}
.ks-method__item img { flex: 0 1 30px; width: 30px; min-width: 0; height: auto; }

/* ---------------------------------------------------------------- life at kaptiva */
.ks-life { padding: 50px 0 84px; }
.ks-life--home { background: linear-gradient(var(--ks-pink-soft) 54%, var(--ks-white) 54%); }
.ks-life__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ks-life__head img { width: 64px; height: auto; margin-bottom: 40px; }
.ks-life__intro { max-width: 400px; margin: 15px 0; font-size: 16px; line-height: 24px; color: var(--ks-navy); }
.ks-life__grid {
  display: flex;
  gap: 24px;
  margin: 60px calc(-1 * var(--ks-gutter)) 0;
  padding: 0 calc(50% + var(--ks-gutter) - 137.5px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.ks-life-card { flex: 0 0 275px; scroll-snap-align: center; }
.ks-life-card__media img { width: 100%; height: 344px; object-fit: cover; border-radius: 15px; }
.ks-life-card__pill { margin-top: 19px; background-image: linear-gradient(90deg, var(--ks-magenta) 0%, var(--ks-purple) 100%); }
.ks-life-card__title { margin-top: 23px; font-family: var(--ks-font-head); font-size: 16px; line-height: 16px; font-weight: 600; color: var(--ks-ink-2); }
.ks-life-card__text { margin-top: 16px; font-size: 14px; line-height: 19.6px; color: var(--ks-ink-2); }

/* ---------------------------------------------------------------- testimonials */
.ks-testimonials { padding-bottom: 61px; }
.ks-testimonials--flush { padding-bottom: 1px; }
.ks-testimonials__box { padding: 61px 24px 48px; border-radius: 30px; background: var(--ks-surface); }
.ks-testimonials .ks-h2 { max-width: 279px; margin: 0 auto; }
.ks-quotes { position: relative; margin-top: 50px; }
.ks-slider--quotes { border-radius: 20px; }
.ks-slider--quotes .ks-slider__track { gap: 24px; }
.ks-quote { flex: 0 0 100%; display: flex; flex-direction: column; height: 856px; border-radius: 20px; overflow: hidden; background: var(--ks-white); }
.ks-quote__media { flex: 0 1 332px; width: 100%; min-height: 150px; object-fit: cover; }
.ks-quote__body { display: flex; flex: 1 0 auto; flex-direction: column; padding: 24px; }
.ks-stars { display: flex; }
.ks-stars svg { width: 20px; height: 20px; fill: var(--ks-magenta); }
.ks-quote__text { margin-top: 20px; font-size: 16px; line-height: 24px; color: var(--ks-ink); }
.ks-quote figcaption { margin-top: auto; padding-top: 20px; }
.ks-quote__name { display: block; font-family: Graphik, sans-serif; font-size: 14px; line-height: 14px; font-weight: 600; }
.ks-quote__role { display: block; margin-top: 6px; font-size: 12px; line-height: 12px; text-transform: uppercase; }
.ks-testimonials .ks-dots { gap: 10px; margin-top: 28px; }
.ks-arrow--side-prev, .ks-arrow--side-next { display: none; }

/* ---------------------------------------------------------------- stories */
.ks-stories { padding: 61px 0 80px; background-color: var(--ks-navy); background-image: var(--ks-glow-top); color: var(--ks-white); }
.ks-stories__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ks-stories__head .ks-eyebrow { margin-left: auto; margin-right: auto; }
.ks-stories__head .ks-btn { margin-top: 20px; }
.ks-stories__grid { display: grid; gap: 50px; margin-top: 50px; }
.ks-story__media img { width: 100%; height: 218px; object-fit: cover; }
.ks-story--m .ks-story__media img { height: 310px; }
.ks-story--l .ks-story__media img { height: 413px; }
/* Focal point of a cropped photo (images[].focus in the post JSON, see focus_classes() in build.py). */
.ks-focus { object-position: var(--ks-fx, 50%) var(--ks-fy, 50%); }
.ks-fx-0 { --ks-fx: 0%; } .ks-fx-5 { --ks-fx: 5%; } .ks-fx-10 { --ks-fx: 10%; } .ks-fx-15 { --ks-fx: 15%; } .ks-fx-20 { --ks-fx: 20%; } .ks-fx-25 { --ks-fx: 25%; } .ks-fx-30 { --ks-fx: 30%; } .ks-fx-35 { --ks-fx: 35%; } .ks-fx-40 { --ks-fx: 40%; } .ks-fx-45 { --ks-fx: 45%; } .ks-fx-50 { --ks-fx: 50%; } .ks-fx-55 { --ks-fx: 55%; } .ks-fx-60 { --ks-fx: 60%; } .ks-fx-65 { --ks-fx: 65%; } .ks-fx-70 { --ks-fx: 70%; } .ks-fx-75 { --ks-fx: 75%; } .ks-fx-80 { --ks-fx: 80%; } .ks-fx-85 { --ks-fx: 85%; } .ks-fx-90 { --ks-fx: 90%; } .ks-fx-95 { --ks-fx: 95%; } .ks-fx-100 { --ks-fx: 100%; }
.ks-fy-0 { --ks-fy: 0%; } .ks-fy-5 { --ks-fy: 5%; } .ks-fy-10 { --ks-fy: 10%; } .ks-fy-15 { --ks-fy: 15%; } .ks-fy-20 { --ks-fy: 20%; } .ks-fy-25 { --ks-fy: 25%; } .ks-fy-30 { --ks-fy: 30%; } .ks-fy-35 { --ks-fy: 35%; } .ks-fy-40 { --ks-fy: 40%; } .ks-fy-45 { --ks-fy: 45%; } .ks-fy-50 { --ks-fy: 50%; } .ks-fy-55 { --ks-fy: 55%; } .ks-fy-60 { --ks-fy: 60%; } .ks-fy-65 { --ks-fy: 65%; } .ks-fy-70 { --ks-fy: 70%; } .ks-fy-75 { --ks-fy: 75%; } .ks-fy-80 { --ks-fy: 80%; } .ks-fy-85 { --ks-fy: 85%; } .ks-fy-90 { --ks-fy: 90%; } .ks-fy-95 { --ks-fy: 95%; } .ks-fy-100 { --ks-fy: 100%; }
.ks-story__title { margin-top: 23px; font-size: 20px; line-height: 26px; font-weight: 800; }
.ks-story__meta { display: flex; gap: 25px; margin-top: 11px; font-size: 14px; line-height: 21px; }
.ks-story__cat { position: relative; font-weight: 700; }
.ks-story__cat::after { content: ""; position: absolute; top: 50%; right: -15px; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: currentColor; }

/* ---------------------------------------------------------------- inner pages: hero */
.ks-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 600px;
  padding-top: 30px;
  overflow: hidden;
  color: var(--ks-white);
  background: var(--ks-navy);
}
.ks-page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ks-page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 100%); opacity: .4; }
.ks-page-hero__inner { position: relative; z-index: 2; width: 100%; max-width: calc(var(--ks-max) + 2 * var(--ks-gutter)); margin: 0 auto; padding: 0 var(--ks-gutter); }
.ks-page-hero__title { font-family: var(--ks-font-head); font-size: 32px; line-height: 32px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.ks-page-hero__text { max-width: 380px; margin-top: 20px; font-size: 18px; line-height: 27px; }

/* ---------------------------------------------------------------- inner pages: intro */
.ks-intro { padding: 61px 0 60px; text-align: center; }
.ks-intro--left-kicker .ks-center > .ks-eyebrow { max-width: 260px; margin: 0 0 25px; text-align: left; }
.ks-intro--spaced { padding: 121px 0 50px; }
.ks-intro__title { max-width: 740px; margin: 0 auto; }
.ks-intro__text { max-width: 720px; margin: 40px auto 0; font-size: 16px; line-height: 24px; }

/* ---------------------------------------------------------------- programmes list (wide cards) */
.ks-program-list { padding: 10px 0 30px; }
.ks-program-list .ks-container { display: grid; gap: 40px; }
.ks-program-wide { position: relative; display: flex; flex-direction: column; border-radius: 15px; overflow: hidden; background: var(--ks-surface); }
.ks-program-wide__img { width: 100%; height: 260px; }
.ks-program-wide__img img { width: 100%; height: 100%; object-fit: cover; }
.ks-program-wide__body { display: flex; flex-direction: column; align-items: flex-start; padding: 32px 24px 40px; }
.ks-program-wide .ks-program-card__list { margin-bottom: 40px; }
.ks-program-wide__link::after { content: ""; position: absolute; inset: 0; }
.ks-program-wide .ks-btn { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- programme: hero */
.ks-prog-hero {
  position: relative;
  overflow: hidden;
  color: var(--ks-white);
  background-color: var(--ks-navy);
  background-image: var(--ks-glow-top);
}
.ks-prog-hero__inner { position: relative; max-width: calc(var(--ks-max) + 2 * var(--ks-gutter)); margin: 0 auto; padding: 150px var(--ks-gutter) 220px; }
.ks-prog-hero__art { display: none; }
.ks-prog-hero__content { position: relative; z-index: 2; }
.ks-prog-hero__content .ks-page-hero__title { max-width: 548px; }
.ks-prog-hero__text { max-width: 600px; margin: 30px 0; font-size: 18px; line-height: 27px; }

/* ---------------------------------------------------------------- programme: intro + overview card */
.ks-prog-intro { position: relative; z-index: 4; margin-top: -200px; }
.ks-prog-intro__grid { display: flex; flex-direction: column; padding-top: 60px; }
.ks-overview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border-radius: 15px;
  background: var(--ks-white);
  box-shadow: 0 8px 32px -8px rgba(84, 77, 183, .2);
}
.ks-overview__title { font-family: var(--ks-font-head); font-size: 22px; line-height: 26.4px; font-weight: 700; color: var(--ks-purple); }
.ks-overview__list { display: grid; gap: 16px; margin: 38px 0; }
.ks-overview__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 19.6px; font-weight: 700; color: var(--ks-ink-2); }
.ks-overview__list img { width: 12px; height: 9px; }
.ks-prog-intro__text { margin-top: 61px; }
.ks-prog-intro__text p:last-child { margin-top: 40px; font-size: 16px; line-height: 24px; }

/* ---------------------------------------------------------------- programme: gallery */
.ks-gallery { padding: 100px 0 50px; }
.ks-gallery__frame { position: relative; }
.ks-slider--gallery .ks-slider__track { gap: 40px; }
.ks-gallery__img { flex: 0 0 100%; width: 100%; height: 245px; border-radius: 20px; object-fit: cover; }
.ks-arrow--light { position: absolute; top: 50%; left: 10px; z-index: 2; width: 40px; height: 40px; margin-top: -20px; background: var(--ks-white); }
.ks-arrow--light.ks-arrow--next { left: auto; right: 10px; }
.ks-arrow--light svg path { fill: var(--ks-navy); }

/* ---------------------------------------------------------------- programme: weekly schedule */
.ks-schedule__box { margin-top: 90px; padding: 61px 24px 51px; border-radius: 30px; background: var(--ks-surface); }
.ks-schedule__box .ks-center > .ks-eyebrow { max-width: 242px; margin: 0 0 25px; text-align: left; }
.ks-schedule__grid { display: grid; gap: 41px; margin-top: 51px; }
.ks-schedule__card { padding: 24px 24px 23px; border-radius: 15px; background: var(--ks-white); box-shadow: 0 8px 32px -8px rgba(84, 77, 183, .2); }
.ks-schedule__title { font-family: var(--ks-font-head); font-size: 22px; line-height: 26.4px; font-weight: 700; color: var(--ks-ink); }
.ks-schedule__text { margin-top: 11px; font-size: 16px; line-height: 24px; }
.ks-schedule__list { margin-top: 20px; }
.ks-schedule__list li { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; padding: 8px 0 8px 26px; border-bottom: 1px solid var(--ks-line); position: relative; font-size: 14px; line-height: 21px; color: var(--ks-ink-2); }
.ks-schedule__list img { position: absolute; left: 0; top: 11px; width: 16px; height: 16px; }
.ks-schedule__time { flex: none; font-weight: 700; }
.ks-schedule__dash { font-size: 16px; line-height: 24px; color: var(--ks-ink); }

/* ---------------------------------------------------------------- programme: highlights (picker) */
.ks-highlights { padding: 0 0 40px; }
.ks-highlights__intro { margin-top: 20px; font-size: 16px; line-height: 24px; }
.ks-highlights .ks-eyebrow { margin-bottom: 12px; }
.ks-journey--programme { padding-bottom: 80px; }
.ks-highlights__grid { margin-top: 40px; }
.ks-highlights__list { display: grid; gap: 10px; }
.ks-highlights__btn {
  width: 100%;
  min-height: 54px;
  padding: 15px 20px;
  border-radius: 50px;
  background: var(--ks-surface);
  font-family: var(--ks-font-head);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  text-align: left;
  color: var(--ks-ink);
  transition: background-color .2s ease, color .2s ease;
}
.ks-highlights__btn.is-active { background: var(--ks-navy); color: var(--ks-white); }
.ks-highlights__sub { display: block; margin-top: 4px; font-size: 16px; line-height: 21.6px; font-weight: 400; }
.ks-highlights--sub .ks-highlights__btn { min-height: 80px; }
.ks-highlights--text { padding-bottom: 80px; }
.ks-highlights__media { display: none; }

/* ---------------------------------------------------------------- programme: what's included (slider) */
.ks-included { padding: 61px 0 50px; background: var(--ks-grey); }
.ks-included__intro { max-width: 840px; margin: 24px auto; font-size: 16px; line-height: 24px; }
.ks-slider--included { margin-top: 60px; }
.ks-slider--included .ks-slider__track { gap: 20px; }
.ks-included__card { flex: 0 0 295px; }
.ks-included__media { border-radius: 15px; }
.ks-included__card img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.ks-included__title { margin-top: 28px; font-family: var(--ks-font-head); font-size: 16px; line-height: 16px; font-weight: 600; color: var(--ks-ink-2); }
.ks-included__text { margin-top: 16px; font-size: 14px; line-height: 19.6px; color: var(--ks-ink-2); }
.ks-included__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding: 0 20px; }
.ks-arrow--white { background: var(--ks-white); }
.ks-arrow--white svg path { fill: var(--ks-ink); }
.ks-dots--dark .ks-dots__btn { background: var(--ks-ink); }
.ks-dots--dark .ks-dots__btn.is-active { background: var(--ks-magenta); }
.ks-dots--dark { gap: 12px; }

/* ---------------------------------------------------------------- admission steps */
.ks-admission { position: relative; padding: 81px 0 110px; background: var(--ks-navy); color: var(--ks-white); overflow: hidden; }
.ks-admission::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/img/p/37770382da72348f56dc00533969a955c6e2e02b-scaled.webp") center / cover no-repeat;
  opacity: .09;
}
.ks-admission .ks-container { position: relative; z-index: 1; }
.ks-admission__grid {
  display: flex;
  gap: 24px;
  margin: 40px calc(-1 * var(--ks-gutter)) 0;
  padding: 0 var(--ks-gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--ks-gutter);
}
.ks-step {
  flex: 0 0 100%;
  padding: 38px 30px 32px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 15px;
  background: rgba(255, 255, 255, .05);
}
.ks-step__num { font-family: var(--ks-font-head); font-size: 32px; line-height: 32px; font-weight: 900; font-style: italic; }
.ks-step__title { margin-top: 8px; font-family: var(--ks-font-head); font-size: 20px; line-height: 30px; font-weight: 800; }
.ks-step__text { margin-top: 20px; font-family: var(--ks-font-head); font-size: 15px; line-height: 22.5px; }
.ks-admission .ks-dots { margin-top: 28px; gap: 12px; }
.ks-admission__cta { margin-top: 38px; }

/* ---------------------------------------------------------------- programme pricing (short-term) */
.ks-pricing__intro { max-width: 840px; margin: 20px auto 0; text-align: center; font-size: 16px; line-height: 24px; }
.ks-pricing .ks-admission__grid { margin-top: 40px; }
.ks-price {
  flex: 0 0 100%;
  padding: 23px 30px 32px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 15px;
  font-family: var(--ks-font-head);
}
.ks-price__label { font-size: 16px; line-height: 24px; font-weight: 800; }
.ks-price__value { margin-top: 8px; font-size: 1.6rem; line-height: 1.2; font-weight: 900; font-style: italic; }
.ks-price__text { margin-top: 35px; font-size: 14px; line-height: 21px; }
.ks-pricing .ks-dots { margin-top: 27px; }
.ks-pricing__extras-title { margin-top: 39px; text-align: center; font-family: var(--ks-font-head); font-size: 1.1rem; line-height: 21px; font-weight: 700; }
.ks-pricing__extras { max-width: 840px; margin: 22px auto 0; text-align: center; font-size: 16px; line-height: 24px; }
.ks-pricing .ks-admission__cta { margin-top: 40px; }

/* ---------------------------------------------------------------- FAQ (accordion) */
.ks-faq { padding: 51px 0 80px; }
.ks-faq__intro { margin: 20px 0; font-size: 16px; line-height: 24px; }
.ks-faq__list { display: grid; gap: 10px; margin-top: 60px; align-content: start; }
.ks-faq__item { border-radius: 10px; background: var(--ks-surface); }
.ks-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 57px;
  padding: 11px 16px;
  list-style: none;
  cursor: pointer;
  font-family: var(--ks-font-head);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--ks-purple);
}
.ks-faq__q::-webkit-details-marker { display: none; }
.ks-faq__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ks-surface); }
.ks-faq__icon svg { width: 18px; height: 18px; fill: var(--ks-ink); transition: transform .2s ease; }
.ks-faq__item[open] .ks-faq__icon svg { transform: rotate(180deg); }
.ks-faq__a { padding: 14px 16px 29px; font-size: 16px; line-height: 24px; color: var(--ks-ink); }

/* ---------------------------------------------------------------- football: methodology pillars */
.ks-pillars { padding: 61px 0 120px; }
.ks-pillars__intro { margin: 30px calc(-1 * var(--ks-gutter)) 0; text-align: center; font-size: 16px; line-height: 24px; }
.ks-pillars__grid { display: grid; gap: 70px; margin-top: 40px; }
.ks-pillars__title { text-align: center; font-family: var(--ks-font-head); font-size: 20px; line-height: 26px; font-weight: 700; }
.ks-pillars .ks-method__list { gap: 20px; margin-top: 30px; }

/* ---------------------------------------------------------------- football: feature blocks */
.ks-features { padding: 20px 0 60px; }
.ks-features .ks-container { display: grid; gap: 60px; }
.ks-feature { position: relative; display: flex; flex-direction: column; }
.ks-feature__img { position: relative; z-index: 1; width: 100%; height: 184px; margin-top: 38px; object-fit: cover; border-radius: 20px; }
.ks-feature__card { margin-top: 38px; padding: 30px 24px 40px; border-radius: 20px; background: var(--ks-surface); }
.ks-feature__pill {
  display: table;
  padding: 4px 10px;
  border-radius: 50px;
  background-image: var(--ks-gradient-pill);
  font-family: var(--ks-font-head);
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ks-white);
}
.ks-feature__title { margin-top: 28px; font-family: var(--ks-font-head); font-size: 26px; line-height: 28px; font-weight: 700; font-style: italic; color: var(--ks-ink); }
.ks-feature__text { margin-top: 16px; font-size: 16px; line-height: 24px; }

/* ---------------------------------------------------------------- masonry gallery */
.ks-peek { padding: 80px 0; }
.ks-peek--tight { padding-top: 60px; }
.ks-masonry { --cols: 1; --gap: 20px; position: relative; margin-top: 60px; }
.ks-masonry__item { display: block; margin-bottom: var(--gap); border-radius: 10px; overflow: hidden; }
.ks-masonry__item img { width: 100%; height: auto; transition: transform .8s ease; }
.ks-masonry__item:hover img { transform: scale(1.05); }
.ks-masonry.is-laid-out .ks-masonry__item { position: absolute; margin: 0; }

/* ---------------------------------------------------------------- life at kaptiva */
.ks-intro--tight { padding-bottom: 20px; }
.ks-schedule--life { padding-bottom: 57px; }
.ks-schedule--life .ks-schedule__box { margin-top: 61px; }
.ks-testimonials--top { padding-top: 61px; }

.ks-split { display: flex; flex-direction: column; }
.ks-split__img { width: 100%; height: 350px; object-fit: cover; }
.ks-split__body { padding: 51px var(--ks-gutter) 55px; }
.ks-split__body .ks-eyebrow { max-width: 260px; margin-bottom: 30px; }
.ks-split__title { font-family: var(--ks-font-head); font-size: 26px; line-height: 28px; font-weight: 700; font-style: italic; color: var(--ks-ink); }
.ks-split__text { margin-top: 16px; font-size: 16px; line-height: 24px; }
.ks-split__list { margin-top: 30px; padding-left: 40px; list-style: disc; }
.ks-split__list li { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ks-ink-2); }
.ks-split__list li + li { margin-top: 5px; }

.ks-facilities { padding: 51px 0 42px; }
.ks-facilities .ks-h2 { margin-top: 0; }
.ks-facilities__grid { margin-top: 60px; }
.ks-facilities .ks-life-card__media img { height: 275px; aspect-ratio: 1; }
.ks-facilities .ks-dots { margin-top: 34px; }
.ks-facilities .ks-eyebrow { margin-bottom: 17px; }

/* ---------------------------------------------------------------- why kaptiva */
.ks-intro--stats { padding-bottom: 63px; }
.ks-stat-cards {
  display: flex;
  gap: 24px;
  margin: 65px calc(-1 * var(--ks-gutter)) 0;
  padding: 0 var(--ks-gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--ks-gutter);
  text-align: left;
}
.ks-stat-card {
  flex: 0 0 100%;
  min-height: 170px;
  padding: 30px;
  scroll-snap-align: start;
  border-radius: 15px;
  background: var(--ks-white);
  box-shadow: 0 8px 32px -8px rgba(84, 77, 183, .2);
}
.ks-stat-card__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ks-stat-card__label { max-width: 204px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ks-ink); }
.ks-stat-card__head img { flex: none; width: 43px; height: 43px; }
.ks-stat-card__value { margin-top: 12px; font-family: var(--ks-font-head); font-size: 32px; line-height: 32px; font-weight: 900; font-style: italic; color: var(--ks-ink); }
.ks-intro--stats .ks-dots { margin-top: 48px; }

.ks-features--why .ks-feature__img { height: 245px; margin-top: 7px; }
.ks-features--why .ks-feature__card { margin-top: 8px; padding-bottom: 70px; }
.ks-features--why .ks-feature__title { line-height: 28px; }
.ks-features--why .ks-feature__text { margin-top: 46px; font-weight: 600; }

.ks-videos { padding: 61px 0 65px; background-color: var(--ks-magenta); background-image: var(--ks-glow-soft); color: var(--ks-white); }
.ks-videos__intro { margin-top: 30px; font-size: 16px; line-height: 24px; }
.ks-slider--videos { margin-top: 70px; }
.ks-slider--videos .ks-slider__track { gap: 20px; }
.ks-video { flex: 0 0 295px; padding: 31px 31px 33px; border-radius: 15px; background: rgba(255, 255, 255, .1); }
.ks-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.ks-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ks-video__title { margin-top: 20px; font-family: var(--ks-font-head); font-size: 16px; line-height: 22.4px; font-weight: 700; }
.ks-videos__nav { margin-top: 33px; }
.ks-dots--light .ks-dots__btn { background: rgba(255, 255, 255, .2); }
.ks-dots--light .ks-dots__btn.is-active { background: var(--ks-white); }

/* ---------------------------------------------------------------- admissions: hero + contact cards */
.ks-apply-hero { padding: 170px 0 108px; text-align: center; background-image: var(--ks-glow-top); }
.ks-apply-hero__title { font-family: var(--ks-font-head); font-size: 32px; line-height: 32px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.ks-apply-hero__text { max-width: 700px; margin: 30px auto; font-size: 18px; line-height: 27px; }
.ks-apply-hero .ks-admission__grid { margin-top: 90px; text-align: left; }
.ks-apply-hero .ks-tilt__svg { height: 70px; }
.ks-journey--admissions { padding-bottom: 48px; }

.ks-contact-cards { padding: 0 0 70px; }
.ks-contact-cards__grid { display: grid; gap: 30px; }
.ks-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  text-align: center;
  border-radius: 15px;
  background: var(--ks-white);
  box-shadow: 0 8px 32px -8px rgba(84, 77, 183, .2);
}
.ks-contact-card img { width: 32px; height: 32px; }
.ks-contact-card__title { margin-top: 24px; font-family: var(--ks-font-head); font-size: 20px; line-height: 26px; font-weight: 700; color: var(--ks-ink); }
.ks-contact-card__text { margin-top: 12px; font-size: 14px; line-height: 19.6px; color: var(--ks-ink); }
.ks-contact-card__link { margin-top: 28px; font-family: var(--ks-font-head); font-size: 16px; line-height: 16px; font-weight: 600; color: var(--ks-ink); }
.ks-contact-card__link:hover { color: var(--ks-magenta); }
.ks-contact-card__btn {
  margin-top: 24px;
  padding: 14px 14px;
  border: 1px solid var(--ks-ink);
  border-radius: 4px;
  font-family: var(--ks-font-head);
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
  color: var(--ks-ink);
}
.ks-contact-card__btn:hover { background: var(--ks-ink); color: var(--ks-white); }

/* ---------------------------------------------------------------- contact */
.ks-contact-hero { min-height: 679px; padding: 170px 0 0; }
.ks-contact-hero::before { display: none; }
.ks-contact-hero .ks-tilt__svg { height: 90px; }
.ks-contact-hero__actions { justify-content: center; }
.ks-contact-cards--overlap { position: relative; z-index: 4; margin-top: -140px; padding-bottom: 0; }
.ks-contact-form { padding: 90px 0; }
.ks-fillout { width: 100%; min-height: 500px; }
.ks-fillout iframe { display: block; border-radius: 10px; }

/* ---------------------------------------------------------------- faq page */
.ks-faq-hero { min-height: 733px; }
.ks-faq-cats { position: relative; z-index: 4; margin-top: -180px; padding: 25px 0 59px; }
.ks-faq-cats__grid {
  display: flex;
  gap: 20px;
  margin: 0 calc(-1 * var(--ks-gutter));
  padding: 0 calc(50% + var(--ks-gutter) - 137.5px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.ks-faq-cat {
  flex: 0 0 275px;
  display: flex;
  flex-direction: column;
  min-height: 296px;
  padding: 40px;
  scroll-snap-align: center;
  border-radius: 15px;
  background: var(--ks-white);
  box-shadow: 0 8px 32px -8px rgba(84, 77, 183, .2);
}
.ks-faq-cat__title { font-family: var(--ks-font-head); font-size: 20px; line-height: 26px; font-weight: 700; color: var(--ks-ink); }
.ks-faq-cat__text { margin-top: 10px; font-size: 14px; line-height: 19.6px; color: var(--ks-ink); }
.ks-faq-cat__count { margin-top: 15px; font-size: 14px; line-height: 19.6px; font-weight: 800; color: var(--ks-purple); }
.ks-faq-page { padding: 0 0 91px; }
.ks-faq-group { padding-top: 90px; }
.ks-faq-group + .ks-faq-group { padding-top: 100px; }
.ks-faq-group__title { font-family: var(--ks-font-head); font-size: 22px; line-height: 26.4px; font-weight: 700; color: var(--ks-ink); }
.ks-faq-group .ks-faq__list { gap: 20px; margin-top: 40px; }

/* ---------------------------------------------------------------- legal pages */
.ks-header--dark .ks-header__menu a, .ks-header--dark .ks-header__toggle { color: var(--ks-ink); }
.ks-legal { padding: 140px 0 50px; }
.ks-legal__title { font-family: var(--ks-font-head); font-size: 32px; line-height: 32px; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--ks-ink); }
.ks-legal__body { margin-top: 40px; font-size: 16px; line-height: 24px; color: var(--ks-ink); overflow-wrap: anywhere; }
.ks-legal__body p, .ks-legal__body table { margin-bottom: 30px; }
.ks-legal__body ol, .ks-legal__body ul { padding-left: 40px; }
.ks-legal__body ol { list-style: decimal; }
.ks-legal__body ul { list-style: disc; }
.ks-legal__body li > p { margin-bottom: 0; }
.ks-legal__body h2, .ks-legal__body h3 { margin: 0 0 20px; font-family: var(--ks-font-head); font-size: 20px; line-height: 28px; font-weight: 700; }
.ks-legal__body a { color: var(--ks-magenta); text-decoration: underline; }

/* ---------------------------------------------------------------- blog: cards with the image's own proportions */
.ks-story--natural .ks-story__media img { height: auto; }
.ks-story__placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background-color: var(--ks-navy); background-image: var(--ks-glow-top); }
.ks-story__placeholder img { width: 64px; height: auto; filter: brightness(0) invert(1); opacity: .9; }
.ks-cards { display: grid; gap: 60px; margin-top: 50px; color: var(--ks-ink); }

/* blog index */
.ks-blog { padding: 150px 0 140px; background-color: var(--ks-navy); background-image: var(--ks-glow-top); color: var(--ks-white); }
.ks-blog__title { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; font-family: var(--ks-font-head); font-size: 32px; line-height: 32px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.ks-blog__accent { color: var(--ks-magenta); }
.ks-blog__intro { max-width: 700px; margin: 30px auto 0; font-size: 18px; line-height: 27px; text-align: center; }
.ks-blog__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 50px; }
.ks-blog__filter { padding: 9px 10px; border-radius: 4px; background: rgba(255, 255, 255, .1); font-family: var(--ks-font-head); font-size: 14px; line-height: 14px; font-weight: 700; text-transform: uppercase; color: var(--ks-white); }
.ks-blog__grid { display: grid; gap: 60px; margin-top: 60px; }

/* single post and category archive */
.ks-post { padding: 130px 0 120px; color: var(--ks-ink); }
.ks-post__back { display: inline-flex; padding: 10px 16px; border: 1px solid var(--ks-ink); border-radius: 3px; background: var(--ks-white); font-family: var(--ks-font-head); font-size: 15px; line-height: 15px; color: var(--ks-ink); }
.ks-post__title { margin-top: 40px; font-family: var(--ks-font-head); font-size: 32px; line-height: 32px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.ks-post__meta { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 30px; font-size: 16px; line-height: 24px; font-weight: 700; }
.ks-post__meta time { position: relative; }
.ks-post__meta time:last-child::after { display: none; }
.ks-post__meta time::after { content: ""; position: absolute; top: 50%; right: -14px; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: currentColor; }
.ks-post__grid { margin-top: 103px; }
.ks-post__img { display: block; width: 100%; height: auto; border-radius: 20px; }
.ks-post__body { margin-top: 50px; font-size: 16px; line-height: 24px; overflow-wrap: break-word; }
.ks-post__body:empty { display: none; }
.ks-post__body p, .ks-post__body ul, .ks-post__body ol, .ks-post__body blockquote { margin-bottom: 30px; }
.ks-post__video { margin-bottom: 36px; } /* the original keeps videos and photos inside a paragraph: 6 px of line box below */
.ks-post__body h2, .ks-post__body h3, .ks-post__body h4 { margin: 8px 0 16px; font-family: var(--ks-font-head); font-size: 22px; line-height: 26.4px; font-weight: 700; }
.ks-post__body a { color: #CC3366; }
.ks-post__body ul { padding-left: 40px; list-style: disc; }
.ks-post__body ol { padding-left: 40px; list-style: decimal; }
.ks-post__body img { display: inline-block; width: 100%; height: auto; border-radius: 20px; }
.ks-post__video iframe { display: block; width: 100%; height: 450px; border: 0; }
.ks-post__side { display: none; }
.ks-post--archive .ks-cards { margin-top: 60px; }
.ks-related { padding: 90px 0 110px; background: var(--ks-surface); }
.ks-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 60px; font-family: var(--ks-font-head); font-size: 14px; line-height: 14px; font-weight: 700; }
.ks-pager__link { min-width: 32px; padding: 9px 10px; border: 1px solid var(--ks-ink); border-radius: 4px; text-align: center; color: var(--ks-ink); }
.ks-pager__link.is-current { background: var(--ks-ink); color: var(--ks-white); }
.ks-pager__gap { color: var(--ks-ink); }
.ks-pager--light .ks-pager__link { border-color: transparent; background: rgba(255, 255, 255, .1); color: var(--ks-white); }
.ks-pager--light .ks-pager__link.is-current { background: var(--ks-white); color: var(--ks-navy); }
.ks-pager--light .ks-pager__gap { color: var(--ks-white); }
.ks-related__title { font-family: var(--ks-font-head); font-size: 20px; line-height: 26px; font-weight: 700; color: var(--ks-ink); }
.ks-legal__body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.ks-legal__body td, .ks-legal__body th { padding: 8px; border: 1px solid var(--ks-line); vertical-align: top; text-align: left; }

/* ---------------------------------------------------------------- image zoom on hover (desktop only, as the original) */
.ks-zoom { display: block; overflow: hidden; }
.ks-zoom img, .ks-story__media img { transition: transform .6s; }
.ks-story__media { display: block; overflow: hidden; border-radius: 20px; }
.ks-story__media img { transition-duration: .5s; transition-timing-function: ease-in-out; }
.ks-why-card__media img { transition: transform .8s cubic-bezier(.2, 1, .3, 1); }

/* ---------------------------------------------------------------- footer */
.ks-footer { position: relative; background: var(--ks-magenta) url("/img/footer-pattern-tablet.webp") bottom center / contain no-repeat; color: var(--ks-white); }
.ks-footer::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(180deg, var(--ks-navy) 45%, rgba(173, 0, 118, 0) 100%); pointer-events: none; }
.ks-footer__inner { position: relative; margin: 0 auto; padding: 60px var(--ks-gutter) 41px; }
.ks-footer__top { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 20px; }
.ks-footer__cta, .ks-footer__contact { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ks-footer__logo { width: 100%; height: auto; }
.ks-footer__title { max-width: 280px; margin-top: 40px; font-family: var(--ks-font-head); font-size: 1.6rem; line-height: 1.2; font-weight: 900; font-style: italic; text-transform: uppercase; }
.ks-footer__text { max-width: 280px; margin: 10px 0 30px; font-size: 18px; line-height: 27px; }
.ks-footer__contact { margin-top: 60px; }
.ks-footer__brand { font-family: var(--ks-font-head); font-size: 16px; line-height: 22.4px; font-weight: 700; font-style: italic; text-transform: uppercase; }
.ks-footer__address { max-width: 268px; margin-top: 21px; font-size: 14px; line-height: 19.6px; }
.ks-footer__line { margin-top: 3px; font-size: 14px; line-height: 19.6px; }
.ks-footer__address + .ks-footer__line { margin-top: 20px; }
.ks-footer__socials { display: flex; justify-content: center; gap: 16px; margin-top: 21px; }
.ks-footer__socials svg { width: 24px; height: 24px; fill: var(--ks-white); }
.ks-footer__col { margin-top: 65px; }
.ks-footer__col-title { font-family: var(--ks-font-head); font-size: 14px; line-height: 17px; font-weight: 700; font-style: italic; text-transform: uppercase; }
.ks-footer__col ul { margin-top: 22px; }
.ks-footer__col a { display: block; padding: 4px 0; font-size: 12px; line-height: 16.8px; }
.ks-footer a:hover { text-decoration: underline; }
.ks-footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 82px; }
.ks-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.ks-footer__legal a { display: block; font-size: 12px; line-height: 20px; }
.ks-footer__copy { font-size: 14px; line-height: 19.6px; }

/* ================================================================ tablet */
@media (min-width: 768px) {
  :root { --ks-gutter: 30px; --ks-mq-size: 80px; --ks-mq-height: 80px; }
  .ks-program-card { flex-basis: calc(50% - 12px); }
  .ks-why-card { flex-basis: calc(100% - 2 * var(--ks-gutter)); }
  .ks-masonry { --cols: 3; --gap: 15px; }
  .ks-footer { background-position: bottom right; }
  .ks-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 50px; }
  .ks-footer::before { background-image: linear-gradient(90deg, var(--ks-navy) 45%, rgba(173, 0, 118, 0) 100%); }
}

/* ================================================================ desktop (Elementor > 1024px) */
@media (min-width: 1025px) {
  :root { --ks-gutter: 50px; --ks-mq-angle: -3deg; --ks-mq-size: 160px; --ks-mq-height: 120px; }

  .ks-h2 { font-size: 40px; line-height: 48px; }
  .ks-eyebrow { font-size: 1.3rem; line-height: 25px; margin-bottom: 21px; }
  .ks-dots--mobile { display: none; }

  .ks-header__logo img { height: 30px; }
  .ks-header--overlay .ks-header__logo-compact { display: none !important; }
  .ks-header--overlay .ks-header__logo-light { display: block !important; height: 35px; }
  .ks-header--overlay.is-stuck .ks-header__logo-light { display: none !important; }

  /* Hero = exactly one screen high, like the original (min-height 100vh). The text sits at 285 px and,
     on screens taller than 900 px, moves down with the height (measured at 760, 900 and 1000 px). */
  .ks-hero { height: auto; min-height: 100vh; }
  .ks-hero__inner { padding-top: max(min(285px, calc(190px + 12.5vh)), calc(96vh - 579px)); margin-bottom: 20px; }
  .ks-hero__title { font-size: 50px; line-height: 50px; }
  .ks-tilt__svg, .ks-why .ks-tilt__svg, .ks-method .ks-tilt__svg { height: 90px; }

  .ks-why { padding: 98px 0 410px; }
  .ks-why__inner { max-width: none; padding: 0 0 0 16%; }
  .ks-why__head { flex-direction: row; justify-content: flex-start; align-items: flex-end; gap: 150px; }
  .ks-why__head .ks-h2 { max-width: 400px; }
  .ks-why__intro { flex: none; width: 440px; margin-top: 0; }
  .ks-why__head > div { flex: none; width: 400px; }
  .ks-tabs { margin-top: 70px; }
  .ks-tabs__btn { white-space: nowrap; }
  .ks-slider--why { margin-top: 20px; }
  .ks-slider--why .ks-slider__track { gap: 30px; }
  .ks-slider--why { margin: 20px -15px 0; }
  .ks-why-card { flex-basis: calc(70% - 30px); flex-direction: row; height: 500px; min-height: 0; }
  .ks-why-card__body { flex: 0 0 495px; justify-content: center; padding: 0 50px; }
  .ks-why-card__title { max-width: 345px; font-size: 40px; line-height: 48px; }
  .ks-why-card__text { max-width: 345px; margin-top: 36px; }
  .ks-why-card__media { flex: 0 0 494px; height: auto; margin-top: 0; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
  .ks-stat { width: 260px; height: 182px; padding: 20px 20px 36px; }
  .ks-stat__label { max-width: 170px; }
  .ks-stat__icon { width: auto; max-height: 50px; margin-top: 0; }
  .ks-stat__value { font-size: 50px; line-height: 50px; }
  .ks-slider__arrows { gap: 10px; padding-left: 0; margin-left: -5px; }

  .ks-programs { margin-top: -325px; padding-bottom: 79px; }
  .ks-programs__intro { margin-top: 20px; }
  .ks-programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 80px 0 0; padding: 0; overflow: visible; }
  .ks-program-card__img { height: auto; aspect-ratio: 415 / 311; }
  .ks-program-card__body { padding: 42px 40px 40px; }
  .ks-program-card__title { font-size: 30px; line-height: 36px; }
  .ks-program-card__list { margin-bottom: 40px; }

  .ks-journey { padding: 59px 0 89px; }
  .ks-journey .ks-h2 { text-align: center; }
  .ks-journey__list { margin-top: 59px; }
  .ks-row { flex-direction: row; align-items: center; gap: 13px; height: 82px; padding: 0 30px; }
  .ks-row__title { flex: 0 0 388px; margin-right: 7px; }
  .ks-row__meta, .ks-row__meta + .ks-row__sep + .ks-row__meta { margin-top: 0; }
  .ks-row__sep { display: block; }
  .ks-row__actions { flex-direction: row; margin: 0 0 0 auto; }

  .ks-method { padding: 100px 0 162px; }
  .ks-method__grid {
    grid-template-columns: minmax(0, 56.85fr) minmax(0, 43.15fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". collage" "content collage" "list collage" ". collage";
    justify-content: space-between;
    column-gap: 150px;
  }
  .ks-method__content { align-items: flex-start; text-align: left; }
  .ks-method__logo { width: 140px; margin-bottom: 41px; }
  .ks-method__collage { margin-top: 0; perspective: 1200px; }
  .ks-method__row, .ks-method__col { perspective: 1200px; }
  .ks-method__row { display: flex; align-items: flex-start; gap: 50px; margin-top: -80px; }
  .ks-method__col { flex: 1 1 0; min-width: 0; }
  .ks-method__img--3 { width: 80%; height: auto; aspect-ratio: 3 / 4; }
  /* measured: 208 px wide at a 507 px collage, 195 px at 558 px */
  .ks-method__img--4 { flex: none; width: calc(208px - (100cqw - 507px) * .235); height: auto; aspect-ratio: 1; margin-top: 50px; }
  .ks-method__list { margin-top: 40px; }
  .ks-method__item { font-size: 16px; line-height: 24px; }
  .ks-method__item img { flex: none; }

  .ks-life { padding: 60px 0 99px; }
  .ks-life__intro { margin: 30px 0; }
  .ks-life__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0; padding: 0; overflow: visible; align-items: start; }
  .ks-life-card:nth-child(2) { margin-top: 80px; }
  .ks-life-card__media img { height: auto; aspect-ratio: 415 / 519; }
  .ks-life-card__pill { margin-top: 20px; }
  .ks-life-card__title { margin-top: 21px; font-size: 18px; line-height: 18px; }

  .ks-testimonials__box { padding: 78px 0; }
  .ks-testimonials--flush { padding-bottom: 61px; }
  .ks-testimonials .ks-h2 { max-width: none; }
  .ks-quotes { margin-top: 80px; }
  .ks-slider--quotes { width: 100vw; margin-left: calc(50% - 50vw - 7px); }
  .ks-slider--quotes { border-radius: 0; }
  .ks-slider--quotes .ks-slider__track { gap: 100px; }
  .ks-quote { flex: 0 0 calc(94.25% - 359.2px); flex-direction: row; height: clamp(500px, calc(543px - (100vw - 1440px) * .0896), 543px); }
  .ks-quote__media { flex: 0 0 49%; width: 49%; min-width: 0; height: 100%; min-height: 0; }
  .ks-quote__body { flex: 1 1 auto; }
  .ks-quote__body { padding: 50px 41px 30px 49px; }
  .ks-quote__text { font-size: 19px; line-height: 28.5px; }
  .ks-quote figcaption { padding-top: 0; }
  .ks-arrow--side-prev, .ks-arrow--side-next { display: grid; position: absolute; top: 258px; z-index: 2; }
  .ks-arrow--side-prev { left: -10px; }
  .ks-arrow--side-next { right: -10px; }

  .ks-stories { padding: 98px 0 101px; }
  .ks-stories__head { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: left; }
  .ks-stories__head .ks-eyebrow { margin-left: 0; }
  .ks-stories__head .ks-btn { margin-top: 0; }
  .ks-stories__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 80px; align-items: start; }
  .ks-story--s .ks-story__media img { height: auto; aspect-ratio: 415 / 277; }
  .ks-story--m .ks-story__media img { height: auto; aspect-ratio: 415 / 393; }
  .ks-story--l .ks-story__media img { height: auto; aspect-ratio: 415 / 524; }
  .ks-story__title { font-size: 24px; line-height: 31.2px; }

  .ks-footer__inner { padding: 80px var(--ks-gutter) 30px; }
  .ks-footer { background-image: url("/img/footer-pattern.webp"); background-position: center right; }
  .ks-footer__top { display: flex; gap: 20px; }
  .ks-footer__cta, .ks-footer__contact { align-items: flex-start; text-align: left; }
  .ks-footer__cta { flex: 0 0 450px; margin-right: auto; }
  .ks-footer__logo { width: 360px; }
  .ks-footer__title { max-width: 450px; margin-top: 50px; font-size: 40px; line-height: 48px; }
  .ks-footer__text { max-width: 450px; margin: 20px 0 30px; }
  .ks-footer__contact { flex: 0 0 268px; margin-top: 53px; margin-right: 91px; }
  .ks-footer__brand { font-size: 18px; line-height: 25.2px; }
  .ks-footer__address { margin-top: 20px; }
  .ks-footer__line { margin-top: 4px; }
  .ks-footer__socials { justify-content: flex-start; }
  .ks-footer__col { flex: 0 0 134px; margin-top: 58px; }
  .ks-footer__col a { font-size: 14px; line-height: 19.6px; }
  .ks-footer__bottom { flex-direction: row; justify-content: space-between; margin-top: 121px; }

  .ks-page-hero { height: 700px; }
  .ks-page-hero__title { font-size: 50px; line-height: 50px; }

  .ks-intro { padding: 58px 0 60px; }
  .ks-intro--left-kicker .ks-center > .ks-eyebrow { max-width: none; margin: 0 auto 21px; }
  .ks-intro--spaced { padding: 118px 0 60px; }

  .ks-program-list { padding: 50px 0 81px; }
  .ks-program-list .ks-container { gap: 80px; }
  .ks-program-wide { display: grid; grid-template-columns: calc((100% + 40px) * .6) minmax(0, 1fr); column-gap: 40px; align-items: center; padding-right: 40px; }
  .ks-program-wide--reverse { grid-template-columns: minmax(0, 1fr) calc((100% + 40px) * .6); padding: 0 0 0 40px; }
  .ks-program-wide--reverse .ks-program-wide__img { order: 2; }
  .ks-program-wide__img { align-self: stretch; height: auto; min-height: 100%; aspect-ratio: 3 / 2; }
  .ks-program-wide__body { padding: 40px 0; }

  .ks-prog-hero__inner { padding: 230px var(--ks-gutter) 130px; }
  .ks-prog-hero__art { display: block; position: absolute; right: var(--ks-gutter); bottom: 0; width: 1080px; height: 1350px; max-width: none; }
  .ks-prog-hero__text { margin: 30px 0; }

  .ks-prog-intro__grid { flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; padding-top: 0; }
  .ks-overview { flex: 0 0 400px; padding: 40px; }
  .ks-overview__title { font-size: 30px; line-height: 36px; }
  .ks-overview__list { margin: 37px 0 39px; }
  .ks-prog-intro__text { flex: 0 1 740px; margin-top: 268px; }
  .ks-prog-intro__text p:last-child { max-width: 720px; }

  .ks-gallery { padding: 100px 0 50px; }
  .ks-gallery .ks-container { max-width: none; }
  .ks-gallery__img { flex-basis: calc((100% - 80px) / 3); width: calc((100% - 80px) / 3); height: auto; aspect-ratio: 4 / 3; }
  .ks-arrow--light { left: 30px; }
  .ks-arrow--light.ks-arrow--next { right: 30px; }

  .ks-schedule__box { padding: 78px 50px 80px; }
  .ks-schedule__box .ks-center > .ks-eyebrow { max-width: none; margin: 0 auto 21px; }
  .ks-schedule__grid { grid-template-columns: minmax(0, 375fr) minmax(0, 375fr) minmax(0, 395fr); gap: 40px; margin-top: 80px; }
  .ks-schedule__card { padding: 40px 40px 40px; }
  .ks-schedule__title { font-size: 30px; line-height: 36px; }
  .ks-schedule__text { margin-top: 10px; }
  .ks-schedule__list li { flex-wrap: nowrap; font-size: 16px; line-height: 24px; }

  .ks-highlights { padding: 98px 0 80px; }
  .ks-highlights--text { padding-bottom: 160px; }
  .ks-highlights--sub { padding-bottom: 55px; }
  .ks-highlights--sub .ks-highlights__btn { height: 82px; padding: 16px 36px; }
  .ks-highlights--sub .ks-highlights__media { padding-top: 25px; }
  .ks-highlights__list { padding-bottom: 10px; }
  .ks-highlights__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
  .ks-highlights__head > div { min-width: 0; }
  .ks-highlights .ks-eyebrow { margin-bottom: 11px; }
  .ks-journey--programme { padding-bottom: 121px; }
  .ks-prog-hero__content .ks-page-hero__title { max-width: none; }
  .ks-highlights__intro { width: 460px; margin: 0 0 0 100px; }
  .ks-highlights__grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 80px; }
  .ks-highlights__list { padding-right: 30px; }
  .ks-highlights__btn { height: 56px; padding: 0 36px; }
  .ks-highlights__media { display: block; position: relative; padding-left: 50px; }
  .ks-highlights__img { display: none; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 20px; object-fit: cover; }
  .ks-highlights__img.is-active { display: block; }

  .ks-included { padding: 120px 0 120px; }
  .ks-included__intro { margin: 24px auto; }
  .ks-slider--included { margin-left: -15px; margin-right: -15px; }
  .ks-slider--included .ks-slider__track { gap: 30px; }
  .ks-included__card { flex-basis: calc((100% - 200px) / 4 - 30px); }
  .ks-included__title { font-size: 18px; line-height: 18px; }
  .ks-included__nav { justify-content: center; gap: 56px; margin-top: 48px; padding: 0; }

  .ks-method--compact { padding-bottom: 100px; }

  .ks-admission { padding: 108px 0 200px; }
  .ks-admission__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 90px 0 0; padding: 0; overflow: visible; }
  .ks-step { padding: 39px 30px 31px; }
  .ks-step__num { font-size: 50px; line-height: 50px; }
  .ks-admission__cta { margin-top: 90px; }

  .ks-faq { padding: 48px 0 140px; }
  .ks-faq__grid { display: flex; gap: 60px; }
  /* extra width beyond 1325 px goes 15/100 to each column, as measured on the original */
  .ks-faq__aside { flex: 15 1 453px; min-width: 0; }
  .ks-faq__list { flex: 100 1 812px; min-width: 0; }
  .ks-faq__intro { margin: 40px 0; }
  .ks-faq__list { margin-top: 2px; }
  .ks-faq__q { min-height: 82px; padding: 0 30px; font-size: 18px; line-height: 27px; }
  .ks-faq__a { padding: 14px 30px 29px; }

  .ks-pricing .ks-admission__grid { margin-top: 90px; }
  .ks-price { padding-bottom: 31px; }
  .ks-price__value { font-size: 40px; line-height: 48px; }
  .ks-price__text { margin-top: 36px; }
  .ks-pricing__extras-title { margin-top: 68px; font-size: 1.3rem; line-height: 25px; }
  .ks-pricing__extras { margin-top: 21px; }
  .ks-pricing .ks-admission__cta { margin-top: 60px; }
  .ks-pricing { padding-bottom: 180px; }

  .ks-pillars { padding: 100px 0 170px; }
  .ks-pillars__intro { max-width: 840px; margin: 30px auto 0; }
  .ks-pillars__grid { grid-template-columns: repeat(2, 570px); justify-content: center; gap: 60px; margin-top: 80px; }
  .ks-pillars__title { font-size: 24px; line-height: 31.2px; }

  .ks-features { padding: 60px 0 100px; }
  .ks-features .ks-container { gap: 120px; }
  /* image: % of the content width with a 16:9 ratio; the card overlaps it by 50 px (as measured at 1440 and 1920 px) */
  .ks-feature { display: grid; grid-template-columns: 54.6% minmax(0, 1fr); align-items: start; }
  .ks-feature__img { grid-column: 1; grid-row: 1; position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 70px 0 0; }
  .ks-feature__card { grid-column: 2; grid-row: 1; margin: 0 0 0 -50px; padding: 70px 40px 60px 120px; }
  .ks-feature--reverse { grid-template-columns: minmax(0, 1fr) 54.5%; }
  .ks-feature--reverse .ks-feature__img { grid-column: 2; }
  .ks-feature--reverse .ks-feature__card { grid-column: 1; margin: 0 -50px 0 0; padding: 70px 120px 60px 50px; }
  .ks-feature__title { font-size: 34px; line-height: 40px; }
  .ks-feature--reverse .ks-feature__title { line-height: 30px; }

  .ks-masonry { --gap: 30px; }

  .ks-intro--tight { padding-bottom: 40px; }
  .ks-schedule--life { padding-bottom: 61px; }
  .ks-facilities .ks-eyebrow { margin-bottom: 21px; }
  .ks-split { flex-direction: row; height: 700px; }
  .ks-split__img { flex: 0 0 50%; width: 50%; min-width: 0; height: 100%; }
  .ks-split__body { display: flex; flex-direction: column; justify-content: center; flex: 0 0 50%; min-width: 0; padding: 0 120px 0 80px; }
  .ks-split--reverse { flex-direction: row-reverse; }
  .ks-split__body .ks-eyebrow { max-width: none; margin-bottom: 29px; }
  .ks-split__title { font-size: 34px; line-height: 30px; }
  .ks-split__list { margin-bottom: 6px; }

  .ks-facilities { padding: 98px 0 100px; background: linear-gradient(var(--ks-pink-soft) 54%, var(--ks-white) 54%); }
  .ks-facilities__grid { margin-top: 60px; }
  .ks-facilities .ks-life-card:nth-child(2) { margin-top: 0; }
  .ks-facilities .ks-life-card__media img { height: auto; aspect-ratio: 1; }
  .ks-facilities .ks-life-card__title { margin-top: 22px; }

  .ks-intro--stats { padding-bottom: 100px; }
  .ks-stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1350px; margin: 80px auto 0; padding: 0; overflow: visible; }
  .ks-stat-card { min-height: 186px; }
  .ks-stat-card__label { max-width: 190px; }
  .ks-stat-card__head img { width: 40px; height: 40px; }
  .ks-stat-card__value { font-size: 50px; line-height: 50px; }

  .ks-features--why .ks-feature { grid-template-columns: 48.85% minmax(0, 1fr); }
  .ks-features--why .ks-feature--reverse { grid-template-columns: minmax(0, 1fr) 48.65%; }
  .ks-features--why .ks-feature__img { height: auto; aspect-ratio: 4 / 3; margin: 70px 0 0; }
  .ks-features--why .ks-feature__card { min-height: 410px; margin-top: 0; padding: 70px 40px 30px 120px; }
  .ks-features--why .ks-feature--reverse .ks-feature__card { padding: 70px 120px 30px 50px; }
  .ks-features--why .ks-feature__title { line-height: 30px; }

  .ks-videos { padding: 100px 0 115px; }
  .ks-slider--videos { margin-top: 80px; }
  .ks-slider--videos { margin-left: -15px; margin-right: -15px; }
  .ks-slider--videos .ks-slider__track { gap: 30px; }
  .ks-video { flex-basis: calc((100% - 200px) / 2 - 30px); padding: 30px 31px 33px; }
  .ks-video__title { font-size: 18px; line-height: 25.2px; }
  .ks-videos__nav { margin-top: 33px; }

  .ks-apply-hero { padding: 190px 0 170px; }
  .ks-apply-hero__title { font-size: 50px; line-height: 50px; }
  .ks-apply-hero .ks-tilt__svg { height: 90px; }
  .ks-journey--admissions { padding: 88px 0 150px; }
  .ks-contact-cards { padding-bottom: 120px; }
  .ks-contact-cards__grid { grid-template-columns: repeat(4, 1fr); }
  .ks-contact-card img { width: 40px; height: 40px; }
  .ks-contact-card__title { font-size: 24px; line-height: 31.2px; }
  .ks-contact-card__link { margin-top: 29px; }

  .ks-contact-hero { min-height: 686px; padding-top: 190px; }
  .ks-contact-cards--overlap { padding-bottom: 0; }
  .ks-contact-form { padding: 120px 0; }

  .ks-faq-hero { min-height: 713px; }
  .ks-faq-cats { margin-top: -140px; padding: 0 0 30px; }
  .ks-faq-cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0; padding: 0; overflow: visible; }
  .ks-faq-cat { min-height: 216px; }
  .ks-faq-cat__title { font-size: 24px; line-height: 31.2px; }
  .ks-faq-page { padding-bottom: 120px; }
  .ks-faq-group { padding-top: 120px; }
  .ks-faq-group__title { font-size: 30px; line-height: 36px; }

  .ks-legal { padding: 190px 0 100px; }
  .ks-legal__grid { display: grid; grid-template-columns: 287px minmax(0, 1fr); column-gap: 80px; align-items: start; }
  .ks-legal__title { font-size: 50px; line-height: 50px; }
  .ks-legal__body { margin-top: 0; }

  .ks-program-card:hover .ks-zoom img,
  .ks-life-card:hover .ks-zoom img,
  .ks-story:hover .ks-story__media img,
  .ks-program-wide:hover .ks-zoom img,
  .ks-included__card:hover .ks-zoom img { transform: scale(1.1); }
  .ks-why-card:hover .ks-why-card__media img { transform: scale(1.1); transform-origin: right center; }
}

/* ================================================================ blog, desktop (Elementor > 1024px) */
@media (min-width: 1025px) {
  .ks-blog { padding: 190px 0 139px; }
  .ks-blog__title { font-size: 50px; line-height: 50px; }
  .ks-blog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 90px 50px; margin-top: 75px; align-items: start; }
  .ks-story--featured { grid-column: span 2; }
  .ks-story--featured .ks-story__media img { aspect-ratio: 16 / 9; object-fit: cover; }
  .ks-story--featured .ks-story__title { max-width: 50%; }
  .ks-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 40px; align-items: start; }
  .ks-post__title { max-width: 70%; margin-top: 70px; font-size: 50px; line-height: 50px; }
  .ks-post__meta { display: none; }
  .ks-post__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; margin-top: 60px; }
  .ks-post__body h2, .ks-post__body h3, .ks-post__body h4 { font-size: 30px; line-height: 36px; }
  .ks-post__side { display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 24px; }
  .ks-post__value { font-weight: 700; }
  .ks-post__cats a { display: block; }
  .ks-post__share { display: flex; gap: 15.5px; margin-top: 8px; }
  .ks-post__share-link { display: block; width: 23px; height: 23px; color: var(--ks-ink); }
  .ks-post__share-link svg { display: block; width: 100%; height: 100%; fill: currentColor; }
  .ks-post--archive { padding-bottom: 119px; }
  .ks-related__title { font-size: 24px; line-height: 31.2px; }
}

/* ---------------------------------------------------------------- language switcher (round flags, fixed bottom right)
   Same side margin as .ks-footer__inner (full width, --ks-gutter), so the last flag ends on the
   same line as the footer copyright on every page and width. */
.ks-lang {
  position: fixed; right: var(--ks-gutter); bottom: 16px; z-index: 90;
  display: flex; gap: 8px;
}
.ks-lang__flag {
  display: block; width: 34px; height: 34px; overflow: hidden; border-radius: 50%;
  border: 2px solid var(--ks-white); background: var(--ks-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28); opacity: .8;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.ks-lang__flag svg { width: 100%; height: 100%; max-width: none; }
.ks-lang__flag:hover, .ks-lang__flag:focus-visible { opacity: 1; transform: translateY(-2px); }
.ks-lang__flag.is-current { opacity: 1; box-shadow: 0 0 0 2px var(--ks-magenta), 0 2px 8px rgba(0, 0, 0, .28); }
.ks-lang__flag:focus-visible { outline: 2px solid var(--ks-navy); outline-offset: 3px; }
@media (min-width: 1025px) {
  .ks-lang { bottom: 24px; gap: 10px; }
  .ks-lang__flag { width: 40px; height: 40px; }
}
@media print { .ks-lang { display: none; } }

/* Menú completo solo desde 1420 px: en mayúsculas a 15px no cabe en una línea junto al logo (397 px)
   por debajo (medido: ~1380 px en inglés, ~1420 px en español). Entre 1025 y 1419 px se usa el icono de menú. */
@media (min-width: 1420px) {
  .ks-header__nav { display: flex; align-items: center; gap: 44px; }
  .ks-header__toggle, .ks-mobile-menu { display: none !important; }
}
