:root {
  --kcid-yellow: #FCD11E;
  --kcid-yellow-deep: #b78918;
  --kcid-yellow-accent: #efbd1b;
  --kcid-sky: #48aadb;
  --kcid-pink: #ed1682;
  --kcid-black: #050809;
  --kcid-charcoal: #11171c;
  --kcid-ink: #151a21;
  --kcid-muted: #68727c;
  --kcid-cta-muted: #8a9299;
  --kcid-blue: #0b3f91;
  --kcid-line: #d9dee3;
  --kcid-paper: #fcfdfe;
  --kcid-soft: #f5f6f7;
  --kcid-radius: 8px;
  --kcid-shadow: 0 18px 50px rgba(5, 8, 9, 0.2);
  --kcid-container: min(1180px, calc(100vw - 48px));
  --kcid-heading-tracking: -0.025em;
  --kcid-copy-size: 0.95rem;
  --kcid-copy-leading: 1.6;
  --kcid-section-space: clamp(4rem, 7vw, 6.5rem);
  color-scheme: light;
}

/* Full KENCID application flow. The page keeps the same palette and type scale
 * as the rest of the theme, but gives the application one calm, focused card. */
.apply-hero {
  position: relative;
  min-height: clamp(330px, 38vw, 490px);
  overflow: hidden;
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.apply-hero__image,
.apply-hero__veil {
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
}

.apply-hero__image {
  object-fit: cover;
  object-position: center top;
}

.apply-hero__veil {
  background: linear-gradient(90deg, rgba(5, 8, 9, 0.88) 0%, rgba(5, 8, 9, 0.7) 42%, rgba(5, 8, 9, 0.28) 76%, rgba(5, 8, 9, 0.12) 100%);
}

.apply-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.apply-hero__content .eyebrow {
  margin-bottom: 1.1rem;
  color: var(--kcid-yellow);
}

.apply-hero__content h1 {
  max-width: 520px;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
  color: var(--kcid-paper);
}

.apply-section {
  position: relative;
  z-index: 2;
  padding: 0 1.25rem clamp(3rem, 7vw, 6rem);
  background: var(--kcid-paper);
}

.apply-card {
  width: min(100%, 860px);
  margin: -5.5rem auto 0;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.15rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3.25rem);
  border: 1px solid rgba(217, 222, 227, 0.85);
  border-radius: 18px;
  background: var(--kcid-paper);
  box-shadow: 0 18px 48px rgba(5, 8, 9, 0.16);
}

.apply-card__intro {
  max-width: 650px;
  margin-inline: auto;
  text-align: center;
}

.apply-card__logo {
  width: min(190px, 52vw);
  height: auto;
  margin: 0 auto 1.5rem;
  padding: 0.55rem 0.7rem;
  background: var(--kcid-black);
  border-radius: 2px;
}

.apply-card__intro h2 {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.apply-card__intro > p {
  margin: 1.15rem auto 0;
  color: var(--kcid-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.application-form {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.application-section {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.application-section + .application-section {
  margin-top: 2rem;
}

.application-section legend {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding: 0;
  color: var(--kcid-ink);
  font-size: 1rem;
  font-weight: 800;
}

.application-section__icon {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
  place-items: center;
}

.application-section__icon svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke-width: 2.25;
}

.application-section__icon--blue { color: var(--kcid-sky); }
.application-section__icon--pink { color: var(--kcid-pink); }
.application-section__icon--yellow { color: var(--kcid-yellow-deep); }

.application-grid {
  display: grid;
  gap: 1rem;
}

.application-grid + .application-grid {
  margin-top: 1rem;
}

.application-grid--one { grid-template-columns: minmax(0, 1fr); }
.application-grid--split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.application-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.application-field,
.application-fieldset {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--kcid-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.application-field > span:not([aria-hidden="true"]),
.application-fieldset > legend {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--kcid-ink);
  font-size: inherit;
  font-weight: 700;
}

.application-field > span > span,
.application-field > span[aria-hidden="true"],
.application-fieldset legend span[aria-hidden="true"] {
  color: var(--kcid-pink);
}

.application-field > input,
.application-field > select,
.date-selects select {
  min-height: 48px;
  border-color: #d4dbe1;
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
  color: var(--kcid-ink);
  font-size: 0.82rem;
}

.application-field > input::placeholder {
  color: #87909a;
  opacity: 1;
}

.application-field > select,
.date-selects select {
  appearance: auto;
  background-color: var(--kcid-paper);
}

.application-field > input:focus,
.application-field > select:focus,
.date-selects select:focus {
  border-color: var(--kcid-sky);
  box-shadow: 0 0 0 3px rgba(72, 170, 219, 0.18);
  outline: 0;
}

.application-fieldset > legend {
  width: auto;
  padding: 0;
}

.application-fieldset {
  border: 0;
}

.date-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.date-selects label {
  min-width: 0;
}

.gender-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.gender-option {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--kcid-line);
  border-radius: 6px;
  color: var(--kcid-ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gender-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gender-option span {
  font-size: 1.35rem;
  line-height: 1;
}

.gender-option--male:has(input:checked) {
  border-color: var(--kcid-sky);
  background: rgba(72, 170, 219, 0.08);
  box-shadow: inset 0 0 0 1px var(--kcid-sky);
}

.gender-option--male span { color: var(--kcid-sky); }

.gender-option--female:has(input:checked) {
  border-color: var(--kcid-pink);
  background: rgba(237, 22, 130, 0.06);
  box-shadow: inset 0 0 0 1px var(--kcid-pink);
}

.gender-option--female span { color: var(--kcid-pink); }

.entry-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(72, 170, 219, 0.6);
  border-radius: 6px;
  background: #f0f8fd;
}

.entry-note__icon {
  display: inline-grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-sky);
  color: var(--kcid-paper);
  font-size: 0.78rem;
  font-weight: 900;
}

.entry-note p {
  margin: 0;
  color: var(--kcid-ink);
  font-size: 0.72rem;
  line-height: 1.45;
}

.application-upload-field > span {
  display: block;
}

.application-upload {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1rem;
  border: 1px dashed #aeb8c1;
  border-radius: 8px;
  background: var(--kcid-paper);
  color: var(--kcid-ink);
  cursor: pointer;
  text-align: center;
}

.application-upload:hover {
  border-color: var(--kcid-sky);
  background: #f7fcff;
}

.application-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.application-upload input:focus-visible + .application-upload__icon {
  outline: 3px solid var(--kcid-yellow);
  outline-offset: 4px;
}

.application-upload__icon {
  display: inline-grid;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 2.9rem;
  place-items: center;
  border: 3px solid var(--kcid-sky);
  border-radius: 50%;
  color: var(--kcid-sky);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.application-upload strong,
.application-upload small {
  display: block;
}

.application-upload strong {
  font-size: 0.78rem;
}

.application-upload small {
  margin-top: 0.35rem;
  color: var(--kcid-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.application-upload__files {
  display: block;
  margin-top: 0.35rem;
  color: var(--kcid-blue);
  font-size: 0.7rem;
  font-weight: 700;
}

.application-submit {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 1.4rem;
  border: 0;
  border-radius: 6px;
  background: var(--kcid-sky);
  color: var(--kcid-paper);
  font-size: 0.95rem;
  font-weight: 800;
  transition: background-color 160ms ease, transform 160ms ease;
}

.application-submit:hover {
  background: #258fca;
  transform: translateY(-1px);
}

.application-status {
  min-height: 1.4em;
  margin: 0.9rem 0 0;
  color: var(--kcid-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.apply-page ~ .site-footer {
  overflow: hidden;
}

@media (max-width: 900px) {
  .apply-hero__image {
    object-position: 62% top;
  }

  .apply-card {
    margin-top: -4rem;
  }
}

@media (max-width: 600px) {
  .apply-hero {
    min-height: 440px;
  }

  .apply-hero__image {
    object-position: 66% top;
  }

  .apply-hero__veil {
    background: linear-gradient(180deg, rgba(5, 8, 9, 0.84) 0%, rgba(5, 8, 9, 0.62) 48%, rgba(5, 8, 9, 0.2) 100%);
  }

  .apply-hero__content {
    justify-content: flex-start;
    padding-top: 3.25rem;
  }

  .apply-hero__content h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .apply-section {
    padding-inline: 0.75rem;
  }

  .apply-card {
    margin-top: -3.5rem;
    border-radius: 14px;
  }

  .apply-card__desktop-break {
    display: none;
  }

  .application-grid--split,
  .application-grid--three {
    grid-template-columns: 1fr;
  }

  .application-upload {
    flex-direction: column;
    gap: 0.65rem;
  }
}

/* Editorial course pages: the breadcrumb, summary, and career list keep the
 * legacy course copy easy to scan without introducing a second visual system. */
.course-detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.course-detail-breadcrumbs a {
  color: rgba(255, 255, 255, 0.78);
}

.course-detail-breadcrumbs a:hover,
.course-detail-breadcrumbs a:focus-visible {
  color: var(--kcid-yellow);
}

.course-detail-breadcrumbs span:last-child {
  color: var(--kcid-yellow);
}

.course-detail-hero__lede {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.course-detail-article__intro > p:last-child {
  max-width: 42rem;
}

.course-career-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.course-career-list li {
  position: relative;
  min-height: 3rem;
  padding: 0.8rem 0.9rem 0.8rem 2.4rem;
  border: 1px solid var(--kcid-line);
  border-radius: var(--kcid-radius);
  background: var(--kcid-soft);
  color: var(--kcid-ink);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.course-career-list li::before {
  position: absolute;
  top: 0.95rem;
  left: 1rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--kcid-pink);
  content: "";
}

@media (max-width: 600px) {
  .course-detail-breadcrumbs {
    align-items: flex-start;
    gap: 0.35rem 0.45rem;
    font-size: 0.7rem;
  }

  .course-career-list {
    grid-template-columns: 1fr;
  }
}

/* Events listing and ticket checkout. The page uses the existing KENCID
 * palette and card language, with a slightly more operational layout for
 * scanning dates, prices, and availability. */
.events-featured {
  background: var(--kcid-paper);
}

.events-featured__card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  overflow: hidden;
  border-radius: 18px;
  background: var(--kcid-black);
  box-shadow: var(--kcid-shadow);
}

.events-featured__media {
  position: relative;
  min-height: 440px;
  background: var(--kcid-charcoal);
}

.events-featured__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-featured__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.events-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--kcid-paper);
}

.events-featured__body .eyebrow {
  color: var(--kcid-yellow);
}

.events-featured__body h2 {
  max-width: 11ch;
  margin-top: 0.75rem;
  color: var(--kcid-paper);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.events-featured__body > p:not(.eyebrow) {
  max-width: 38ch;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.events-featured__details,
.event-card__details {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.events-featured__details li,
.event-card__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
}

.events-featured__details svg {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  color: var(--kcid-yellow);
}

.events-featured__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.events-featured__footer > div,
.event-card__price-copy {
  display: grid;
  gap: 0.2rem;
}

.events-featured__footer strong,
.event-card__price-copy strong {
  color: var(--kcid-yellow);
  font-size: 0.94rem;
}

.events-featured__footer span,
.event-card__price-copy span {
  color: var(--kcid-muted);
  font-size: 0.72rem;
}

.events-featured__footer span {
  color: rgba(255, 255, 255, 0.62);
}

.events-featured__footer .button {
  flex: 0 0 auto;
}

.events-listing {
  background: var(--kcid-soft);
}

.events-listing__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.events-listing__header h2 {
  max-width: 15ch;
  margin-top: 0.35rem;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.events-listing__count {
  margin: 0 0 0.3rem;
  color: var(--kcid-muted);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.events-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.34fr) auto;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 2rem;
}

.events-search,
.events-filter-select {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  border: 1px solid var(--kcid-line);
  border-radius: 8px;
  background: var(--kcid-paper);
}

.events-search:focus-within,
.events-filter-select:focus-within {
  border-color: var(--kcid-sky);
  box-shadow: 0 0 0 3px rgba(72, 170, 219, 0.18);
}

.events-search__icon,
.events-filter-select__icon {
  display: inline-grid;
  width: 3rem;
  flex: 0 0 3rem;
  place-items: center;
  color: var(--kcid-blue);
}

.events-search__icon svg,
.events-filter-select__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.events-search input,
.events-filter-select select {
  width: 100%;
  min-height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--kcid-ink);
  font: inherit;
  font-size: 0.82rem;
}

.events-search input::placeholder {
  color: #87909a;
  opacity: 1;
}

.events-filter-select select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.events-filter-select__chevron {
  position: absolute;
  right: 1rem;
  display: inline-grid;
  pointer-events: none;
}

.events-filter-select__chevron svg {
  width: 1rem;
  height: 1rem;
}

.events-price-filter {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid var(--kcid-line);
  border-radius: 8px;
  background: var(--kcid-paper);
}

.events-price-filter__label {
  padding-inline: 0.65rem 0.4rem;
  color: var(--kcid-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.events-price-filter__button {
  min-height: 42px;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--kcid-muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.events-price-filter__button:hover,
.events-price-filter__button:focus-visible,
.events-price-filter__button.is-active {
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.events-filter-status {
  min-height: 1.4em;
  margin: 1rem 0 0;
  color: var(--kcid-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.event-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--kcid-line);
  border-radius: 14px;
  background: var(--kcid-paper);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.event-card:hover {
  border-color: rgba(72, 170, 219, 0.75);
  box-shadow: 0 16px 34px rgba(5, 8, 9, 0.1);
  transform: translateY(-3px);
}

.event-card[hidden] {
  display: none;
}

.event-card__media {
  position: relative;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: var(--kcid-charcoal);
}

.event-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.event-card:hover .event-card__media img {
  transform: scale(1.04);
}

.event-card__date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 54px;
  min-height: 58px;
  place-items: center;
  align-content: center;
  border-radius: 6px;
  background: var(--kcid-paper);
  box-shadow: 0 6px 18px rgba(5, 8, 9, 0.2);
  text-align: center;
}

.event-card__date strong {
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.event-card__date span {
  margin-top: 0.22rem;
  color: var(--kcid-blue);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.event-card__price {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.event-card__price--free {
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.event-card__price--paid {
  background: var(--kcid-pink);
  color: var(--kcid-paper);
}

.event-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.event-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--kcid-blue);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card__eyebrow span + span {
  padding-left: 0.55rem;
  border-left: 1px solid var(--kcid-line);
  color: var(--kcid-muted);
}

.event-card h3 {
  max-width: 18ch;
  margin-top: 0.7rem;
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.event-card__body > p {
  margin-top: 0.65rem;
  color: var(--kcid-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.event-card__details {
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.event-card__details li {
  color: var(--kcid-muted);
  font-size: 0.72rem;
}

.event-card__details svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 0.95rem;
  color: var(--kcid-sky);
}

.event-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.event-card__action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--kcid-black);
  border-radius: 5px;
  background: var(--kcid-black);
  color: var(--kcid-paper);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.event-card__action:hover,
.event-card__action:focus-visible {
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  transform: translateY(-1px);
}

.event-card__action svg,
.events-featured .button svg,
.event-modal .button svg {
  width: 0.9rem;
  height: 0.9rem;
}

.events-empty {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px dashed var(--kcid-line);
  background: var(--kcid-paper);
  color: var(--kcid-muted);
  font-size: 0.9rem;
  text-align: center;
}

.events-listing-note {
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.events-listing-note__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.events-listing-note h2 {
  margin-top: 0.35rem;
  color: var(--kcid-yellow);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.events-listing-note__grid > div:last-child {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.events-listing-note__grid > div:last-child > p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.76);
}

.events-listing-note .text-link {
  color: var(--kcid-yellow);
}

.event-modal[hidden] {
  display: none;
}

.event-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.event-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 9, 0.74);
}

.event-modal__dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: min(90vh, 850px);
  overflow: auto;
  border-radius: 14px;
  background: var(--kcid-paper);
  box-shadow: 0 24px 80px rgba(5, 8, 9, 0.36);
}

.event-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.25rem);
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.event-modal__header .eyebrow {
  color: var(--kcid-yellow);
}

.event-modal__header h2 {
  max-width: 18ch;
  margin-top: 0.35rem;
  color: var(--kcid-paper);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.event-modal__close {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--kcid-paper);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.event-modal__close:hover,
.event-modal__close:focus-visible {
  border-color: var(--kcid-yellow);
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.event-modal__content {
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.event-modal__event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--kcid-line);
  color: var(--kcid-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.event-modal__event-meta span + span {
  padding-left: 1rem;
  border-left: 1px solid var(--kcid-line);
}

.event-ticket-form__intro {
  margin-top: 1.4rem;
}

.event-ticket-form__intro > p:last-child {
  margin-top: 0.3rem;
  color: var(--kcid-muted);
  font-size: 0.8rem;
}

.event-ticket-options {
  margin: 1.2rem 0 0;
  padding: 0;
  border: 0;
}

.event-ticket-options legend {
  margin-bottom: 0.6rem;
  color: var(--kcid-ink);
  font-size: 0.78rem;
  font-weight: 800;
}

#event-ticket-options-list {
  display: grid;
  gap: 0.55rem;
}

.event-ticket-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--kcid-line);
  border-radius: 8px;
  cursor: pointer;
}

.event-ticket-option:has(input:checked) {
  border-color: var(--kcid-sky);
  background: rgba(72, 170, 219, 0.08);
  box-shadow: inset 0 0 0 1px var(--kcid-sky);
}

.event-ticket-option input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--kcid-blue);
}

.event-ticket-option__copy {
  display: grid;
  gap: 0.15rem;
}

.event-ticket-option__copy strong {
  color: var(--kcid-ink);
  font-size: 0.78rem;
}

.event-ticket-option__copy small {
  color: var(--kcid-muted);
  font-size: 0.68rem;
}

.event-ticket-option__price {
  color: var(--kcid-blue);
  font-size: 0.8rem;
  white-space: nowrap;
}

.event-ticket-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.event-ticket-form__grid label {
  display: grid;
  gap: 0.4rem;
  color: var(--kcid-ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.event-ticket-form__grid input,
.event-ticket-form__grid select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d4dbe1;
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  background: var(--kcid-paper);
  color: var(--kcid-ink);
  font: inherit;
  font-size: 0.8rem;
}

.event-ticket-form__grid input:focus,
.event-ticket-form__grid select:focus {
  border-color: var(--kcid-sky);
  box-shadow: 0 0 0 3px rgba(72, 170, 219, 0.18);
  outline: 0;
}

.event-order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: var(--kcid-soft);
}

.event-order-summary div {
  display: grid;
  gap: 0.15rem;
}

.event-order-summary span {
  color: var(--kcid-muted);
  font-size: 0.7rem;
}

.event-order-summary strong {
  color: var(--kcid-black);
  font-size: 1rem;
}

.event-payment-note,
.event-ticket-form__status {
  min-height: 1.4em;
  margin: 0.9rem 0 0;
  color: var(--kcid-muted);
  font-size: 0.7rem;
}

.event-ticket-form__status {
  color: var(--kcid-pink);
}

.event-ticket-form__submit {
  width: 100%;
  margin-top: 0.2rem;
}

.event-confirmation {
  padding: 2.5rem 1rem 1.5rem;
  text-align: center;
}

.event-confirmation__icon {
  display: inline-grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font-size: 2rem;
  font-weight: 900;
}

.event-confirmation .eyebrow {
  margin-top: 1.25rem;
}

.event-confirmation h3 {
  margin-top: 0.35rem;
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.event-confirmation > p:not(.eyebrow) {
  max-width: 44ch;
  margin: 0.8rem auto 1.5rem;
  color: var(--kcid-muted);
  font-size: 0.82rem;
}

body.event-modal-open {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-filters {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.5fr);
  }

  .events-price-filter {
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: max-content;
  }
}

@media (max-width: 900px) {
  .events-featured__card {
    grid-template-columns: 1fr;
  }

  .events-featured__media {
    min-height: 340px;
  }

  .events-listing-note__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .events-listing__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .events-listing__count {
    margin: 0;
  }

  .events-filters,
  .events-grid,
  .event-ticket-form__grid {
    grid-template-columns: 1fr;
  }

  .events-price-filter {
    grid-column: auto;
    width: 100%;
  }

  .events-price-filter__button {
    flex: 1;
  }

  .events-featured__media {
    min-height: 260px;
  }

  .events-featured__body {
    padding: 1.5rem;
  }

  .events-featured__footer,
  .event-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .events-featured__footer .button,
  .event-card__action {
    width: 100%;
    justify-content: center;
  }

  .event-card__body {
    padding: 1.2rem;
  }

  .event-modal {
    align-items: end;
    padding: 0;
  }

  .event-modal__dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 14px 14px 0 0;
  }

  .event-modal__event-meta span + span {
    padding-left: 0;
    border-left: 0;
  }

  .event-ticket-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .event-ticket-option__price {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-card,
  .event-card__media img,
  .event-card__action {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .application-submit {
    transition: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--kcid-paper);
  color: var(--kcid-ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-kerning: normal;
  font-synthesis: none;
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Poppins, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* Chaty supplies its own SVG artwork; keep the theme's global icon stroke from outlining it. */
.chaty svg,
.chaty svg * {
  stroke: none;
  stroke-width: 0;
}

/* The WhatsApp form header uses a separate logo SVG. Its borders should stay
 * white against the green header instead of inheriting the theme's ink color. */
.chaty-whatsapp-header .header-wp-icon svg,
.chaty-whatsapp-header .header-wp-icon svg * {
  stroke: #fff;
}

@media (max-width: 900px) {
  body.kcid-chaty-collapsed-mobile .chaty-outer-forms {
    display: none !important;
    visibility: hidden;
  }
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--kcid-line);
  border-radius: 6px;
  background: var(--kcid-paper);
  color: var(--kcid-ink);
  padding: 0.8rem 0.9rem;
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 3px solid var(--kcid-yellow);
  outline-offset: 4px;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 800;
}

.container {
  width: var(--kcid-container);
  margin-inline: auto;
}

@media (min-width: 1101px) {
  .site-header .container,
  .hero .container {
    width: min(1312px, calc(100vw - 128px));
  }
}

.section-pad {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.section-dark {
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.section-light {
  background: var(--kcid-soft);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--kcid-yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--kcid-yellow);
  font-family: "Squegly", "Squeeg", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: none;
}

.eyebrow--blue {
  color: var(--kcid-blue);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: var(--kcid-heading-tracking);
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.45;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.78rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.button--primary:hover {
  background: var(--kcid-yellow-deep);
}

.site-header__cta,
.hero__actions .button {
  min-width: 163px;
  min-height: 56px;
  border-radius: 8px;
  padding-inline: 1rem;
  font-size: 1.18rem;
}

/* The header CTA must remain a compact, single-line action alongside its icon. */
.site-header__cta {
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 7px 12px -4px rgba(252, 209, 30, 0.62);
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  box-shadow: 0 9px 14px -4px rgba(252, 209, 30, 0.7);
}

.button--dark {
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--kcid-paper);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--kcid-blue);
  font-weight: 600;
}

.text-link:hover {
  color: #092f6d;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.site-utility {
  min-height: 29px;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.site-utility__inner {
  width: min(1312px, calc(100vw - 128px));
  min-height: 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: auto;
}

.site-utility__left,
.site-utility__links {
  display: flex;
  align-items: center;
}

.site-utility__phones {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-utility__left {
  gap: 1.5rem;
}

.site-utility__item,
.site-utility__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 29px;
  color: inherit;
  font-size: 0.875rem;
  white-space: nowrap;
}

.site-utility__item svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--kcid-black);
}

.site-utility__phone {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.site-utility__links {
  gap: 1.5rem;
}

.site-utility__links a {
  transition: color 160ms ease;
}

.site-utility__links a:hover {
  color: var(--kcid-black);
}

.site-header__inner {
  min-height: 100px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand__image {
  display: block;
  width: 165px;
  height: 78px;
  object-fit: contain;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font-weight: 950;
  font-size: 1.32rem;
  line-height: 0.88;
  letter-spacing: 0;
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(5, 8, 9, 0.08);
}

.brand__mark span {
  display: block;
}

.brand__name {
  color: var(--kcid-paper);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.25vw, 1.35rem);
  font-size: 1.04rem;
  font-weight: 600;
}

@media (min-width: 1101px) {
  .primary-nav {
    /* Let mega-menu panels use the full header as their positioning context. */
    position: static;
    align-self: stretch;
    left: 0;
  }

  .primary-nav__dropdown {
    display: flex;
    align-self: stretch;
  }

  .primary-nav__toggle {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    border-radius: 0;
  }
}

.primary-nav > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--kcid-paper);
  white-space: nowrap;
  transition: color 160ms ease;
}

.primary-nav > a:first-child {
  color: var(--kcid-paper);
}

.primary-nav > a:hover {
  color: var(--kcid-yellow);
}

.primary-nav__dropdown {
  position: static;
}

.primary-nav__toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 0;
  padding: 0 0.7rem;
  background: transparent;
  color: var(--kcid-paper);
  font: inherit;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

/* Keep the full navigation inside the header at common desktop widths. */
@media (min-width: 1281px) {
  .site-header__inner {
    gap: 1rem;
  }

  .primary-nav {
    gap: 0.5rem;
    font-size: 0.94rem;
  }

  .primary-nav__toggle {
    padding-inline: 0.35rem;
  }

  .site-header__cta {
    min-width: 144px;
    min-height: 48px;
    padding-inline: 0.75rem;
    font-size: 1rem;
  }
}

/* The header has less room below desktop width, so retain the navigation
 * and remove only the supplementary CTA until the mobile menu takes over. */
@media (min-width: 1101px) and (max-width: 1280px) {
  .site-header__inner {
    gap: 0.75rem;
  }

  .primary-nav {
    gap: 0.4rem;
    font-size: 0.9rem;
  }

  .primary-nav__toggle {
    padding-inline: 0.3rem;
  }

  .site-header__cta {
    display: none;
  }
}

.primary-nav__toggle:hover,
.primary-nav__toggle[aria-expanded="true"] {
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.primary-nav__toggle svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 160ms ease;
}

.primary-nav__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-panel {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  display: grid;
  grid-auto-rows: min-content;
  align-content: start;
  width: 100%;
  min-height: 370px;
  gap: 0.35rem;
  border-top: 4px solid var(--kcid-yellow);
  padding: 2rem max(3rem, calc((100vw - 1312px) / 2));
  background: var(--kcid-paper);
  color: var(--kcid-black);
  box-shadow: 0 18px 30px rgba(5, 8, 9, 0.2);
}

.nav-panel[hidden] {
  display: none;
}

.nav-panel::before {
  display: none;
}

.nav-panel--compact {
  top: calc(100% - 0.5rem);
  left: 50%;
  grid-template-columns: 1fr;
  align-content: center;
  width: min(calc(100vw - 3rem), 920px);
  max-width: calc(100vw - 3rem);
  min-height: 337px;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  padding: 1.5rem 1.7rem;
  box-shadow: 0 22px 42px rgba(11, 63, 145, 0.14);
  transform: translateX(-50%);
}

.nav-panel--compact::before,
.nav-panel--compact::after {
  position: absolute;
  left: 0;
  display: block;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.nav-panel--compact::before {
  z-index: 2;
  bottom: -52px;
  left: 14px;
  width: 86px;
  height: 86px;
  background: var(--kcid-pink);
}

.nav-panel--compact::after {
  z-index: 1;
  bottom: -8px;
  width: 46px;
  height: 46px;
  border-radius: 0 100% 0 0;
  background: #08adeb;
}

.nav-panel--compact .nav-panel__group {
  z-index: 3;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 0.65rem 1.25rem;
}

.nav-panel--compact .nav-panel__group > p {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.55rem;
  color: #2876f7;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-panel--compact .nav-panel__group > p::after {
  display: block;
  flex: 0 0 2.8rem;
  height: 3px;
  border-radius: 999px;
  background: var(--kcid-yellow);
  content: "";
}

.nav-panel--student-life .nav-panel__group > p::after {
  background: #08adeb;
}

.nav-panel--compact .nav-compact-link {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 4.1rem;
  padding: 0.6rem 0.7rem;
  border: 0;
  border-radius: 10px;
  color: var(--kcid-black);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.nav-compact-link__icon {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
}

.nav-compact-link__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-compact-link--yellow .nav-compact-link__icon { color: #f0b500; }
.nav-compact-link--blue .nav-compact-link__icon { color: #008fe8; }
.nav-compact-link--pink .nav-compact-link__icon { color: var(--kcid-pink); }

.nav-panel--compact .nav-compact-link:hover,
.nav-panel--compact .nav-compact-link:focus-visible {
  border-left: 0;
  background: #e8f7ff;
  color: var(--kcid-blue);
}

.nav-panel a {
  display: flex;
  align-items: center;
  width: min(100%, 300px);
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid transparent;
  color: var(--kcid-black);
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav-school-link {
  gap: 0.65rem;
}

.nav-school-link__icon {
  display: inline-grid;
  flex: 0 0 1.15rem;
  place-items: center;
  color: var(--kcid-blue);
}

.nav-school-link__icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  background: var(--kcid-yellow);
  border-left-color: var(--kcid-black);
  color: var(--kcid-black);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: transparent;
  color: var(--kcid-paper);
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle__bar {
  position: relative;
  margin-inline: auto;
  transition: background-color 160ms ease;
}

.menu-toggle__bar::before {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-7px);
  transition: transform 160ms ease;
}

.menu-toggle__bar::after {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(5px);
  transition: transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(650px, calc(100svh - 129px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.hero__slides {
  position: absolute;
  inset: 0;
  isolation: isolate;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 9, 0.45) 0%, rgba(5, 8, 9, 0.16) 48%, rgba(5, 8, 9, 0) 78%);
  transform: scale(1);
  transform-origin: center top;
}

/* The architecture artwork is portrait-oriented. Its building sits lower in
 * the source image, so a dedicated focal point keeps the subject in frame on
 * wide screens while the media layer itself stays flush below the header. */
.hero__slide--architecture {
  --hero-position: center 35%;
}

.hero__slide--interior-design .hero__media,
.hero__slide--fashion-design .hero__media {
  filter: brightness(0.84);
}

.hero__slide.is-active .hero__media {
  background:
    linear-gradient(90deg, rgba(5, 8, 9, 0.45) 0%, rgba(5, 8, 9, 0.16) 48%, rgba(5, 8, 9, 0) 78%),
    var(--hero-image) var(--hero-position, right top) / cover no-repeat;
}

.hero__media--responsive {
  background: none;
}

.hero__media--responsive .hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, right top);
}

.hero__media--responsive::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 8, 9, 0.45) 0%, rgba(5, 8, 9, 0.16) 48%, rgba(5, 8, 9, 0) 78%);
  pointer-events: none;
}

.hero__slide.is-active .hero__media--responsive {
  background: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 4rem;
  transform: translateY(1.2rem);
}

.hero__slide .hero__welcome,
.hero__slide h1,
.hero__slide .hero__actions {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
}

.hero__slide.is-active .hero__welcome,
.hero__slide.is-active h1,
.hero__slide.is-active .hero__actions {
  animation: hero-copy-reveal 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__slide.is-active h1 {
  animation-delay: 90ms;
}

.hero__slide.is-active .hero__actions {
  animation-delay: 180ms;
}

.hero__welcome {
  margin: 0 0 0.1rem;
  color: var(--kcid-yellow);
  font-family: "Squegly", "Squeeg", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 500;
  line-height: 0.9;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3.25rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.hero__controls {
  position: absolute;
  z-index: 3;
  right: 1.5rem;
  bottom: 12px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transform: translateX(-50%);
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(5, 8, 9, 0.58);
  box-shadow: 0 8px 24px rgba(5, 8, 9, 0.2);
}

.hero__dot {
  display: block;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.hero__dot:hover,
.hero__dot:focus-visible {
  transform: scale(1.12);
}

.hero__dot.is-active {
  border-color: var(--kcid-yellow);
  background: var(--kcid-yellow);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.28);
}

@keyframes hero-copy-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


.design-wide {
  width: min(1296px, calc(100vw - 144px));
  margin-inline: auto;
}

.about-section,
.schools-section,
.why-choose-us {
  background: var(--kcid-paper);
  color: var(--kcid-black);
}

.about-section {
  min-height: 577px;
}

.about-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 605px) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: var(--kcid-section-space);
}

.about-section__media,
.why-choose-us__media {
  width: 100%;
  height: 441px;
  overflow: hidden;
  background: #d9d9d9;
}

.about-section__media {
  border-radius: var(--kcid-radius);
}

.why-choose-us__media {
  border-radius: var(--kcid-radius);
}

.about-section__media img,
.why-choose-us__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.about-section__content {
  padding-top: 0;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .about-section--reveal-ready .about-section__content > *,
  .intake-section--reveal-ready .intake-section__content > *,
  .prefooter-cta--reveal-ready .prefooter-cta__content > * {
    opacity: 0;
    transform: translate3d(0, 0.35rem, 0);
  }

  .about-section--reveal-ready.is-revealed .about-section__content > *,
  .intake-section--reveal-ready.is-revealed .intake-section__content > *,
  .prefooter-cta--reveal-ready.is-revealed .prefooter-cta__content > * {
    animation: hero-copy-reveal 300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .about-section--reveal-ready.is-revealed .about-section__content h2,
  .intake-section--reveal-ready.is-revealed .intake-section__content h2,
  .prefooter-cta--reveal-ready.is-revealed .prefooter-cta__content h2 {
    animation-delay: 90ms;
  }

  .about-section--reveal-ready.is-revealed .about-section__content .section-copy,
  .intake-section--reveal-ready.is-revealed .intake-section__content .intake-section__copy,
  .prefooter-cta--reveal-ready.is-revealed .prefooter-cta__content > p {
    animation-delay: 135ms;
  }

  .about-section--reveal-ready.is-revealed .about-section__content .about-section__cta,
  .intake-section--reveal-ready.is-revealed .intake-section__content .intake-date-pill,
  .prefooter-cta--reveal-ready.is-revealed .prefooter-cta__button {
    animation-delay: 180ms;
  }

  .intake-section--reveal-ready.is-revealed .intake-section__content .intake-countdown {
    animation-delay: 210ms;
  }

  .intake-section--reveal-ready.is-revealed .intake-section__content .intake-actions {
    animation-delay: 240ms;
  }

}

.script-label {
  margin: 0;
  color: var(--kcid-black);
  font-family: "Qwitcher Grypen", "Brush Script MT", "Segoe Script", cursive;
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.95;
}

.about-section h2,
.schools-section h2,
.why-choose-us h2 {
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.about-section h2 {
  max-width: 597px;
  margin-top: 0.65rem;
  font-size: 2.8rem;
}

.about-section h2 .about-section__heading-lead {
  color: var(--kcid-black);
}

.about-section h2 .about-section__heading-tail {
  color: var(--kcid-pink);
}

.section-copy {
  max-width: 569px;
  margin-top: 1.8rem;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
  letter-spacing: 0;
}

.about-section .section-copy {
  color: var(--kcid-muted);
}

.about-section .button,
.why-choose-us .button {
  min-width: 162px;
  min-height: 56px;
  margin-top: 2.05rem;
  border-radius: 8px;
  padding-inline: 0.85rem;
  font-size: 1.25rem;
}

.about-section .about-section__cta,
.why-choose-us .why-choose-us__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.75rem;
  border-radius: 999px;
  padding: 0.35rem 0.45rem 0.35rem 1.15rem;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(5, 8, 9, 0.12);
  transition: transform 160ms ease, background-color 160ms ease;
}

.about-section .about-section__cta:hover,
.why-choose-us .why-choose-us__cta:hover {
  background: var(--kcid-yellow-deep);
  color: var(--kcid-black);
}

.about-section__cta-icon,
.why-choose-us__cta-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-pink);
  color: var(--kcid-paper);
  box-shadow: 0 2px 8px rgba(5, 8, 9, 0.16);
}

.about-section__cta-icon svg,
.why-choose-us__cta-icon svg {
  width: 18px;
  height: 18px;
}

.intake-section {
  overflow: hidden;
  background: var(--kcid-paper);
  color: var(--kcid-black);
  scroll-margin-top: 130px;
}

.intake-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  min-height: 0;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: var(--kcid-section-space);
}

.intake-section__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.intake-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 1rem 0 0;
  border-radius: 999px;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font-size: clamp(0.8rem, 1.1vw, 0.9rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.intake-kicker__icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-right: 0.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-pink);
  color: var(--kcid-paper);
}

.intake-kicker__icon svg {
  width: 22px;
  height: 22px;
}

.intake-section h2 {
  max-width: 597px;
  margin-top: 0.65rem;
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.2rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  white-space: nowrap;
}

.intake-section h2 span,
.intake-section h2 strong {
  display: block;
}

.intake-section h2 strong {
  color: inherit;
  font-weight: inherit;
}

.intake-section__accent {
  width: 82px;
  height: 7px;
  margin: 1.45rem 0 1.25rem;
  border-radius: 999px;
  background: var(--kcid-yellow);
}

.intake-section__copy {
  max-width: 569px;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
}

.intake-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 597px;
  margin-top: 1.5rem;
  padding: 1rem 1rem;
  border-radius: 18px;
  background: var(--kcid-paper);
  box-shadow: 0 18px 42px rgba(5, 8, 9, 0.1);
}

.intake-countdown__item {
  display: grid;
  position: relative;
  justify-items: center;
  gap: 0.15rem;
  padding-inline: 0.85rem;
  text-align: center;
}

.intake-countdown__item + .intake-countdown__item::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: var(--kcid-sky);
  content: "";
}

.intake-countdown__item strong {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 950;
  line-height: 1;
}

.intake-countdown__item span {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.intake-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.button--intake {
  min-width: 162px;
  min-height: 56px;
  border-radius: 9px;
  background: var(--kcid-blue);
  color: var(--kcid-paper);
  font-size: 1.05rem;
}

.button--intake:hover {
  background: var(--kcid-sky);
  color: var(--kcid-black);
}

.intake-call {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 56px;
  color: var(--kcid-black);
}

.intake-call__icon,
.intake-starts__icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
}

.intake-call__icon {
  width: 48px;
  height: 48px;
  background: var(--kcid-pink);
  color: var(--kcid-paper);
}

.intake-call__icon svg {
  width: 22px;
  height: 22px;
}

.intake-call__copy {
  display: grid;
  gap: 0.1rem;
  line-height: 1.15;
}

.intake-call__copy span {
  font-size: 0.92rem;
}

.intake-call__copy strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.intake-section__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  align-self: stretch;
  min-height: 400px;
}

.intake-section__visual::before {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: min(27vw, 300px);
  height: min(27vw, 300px);
  border-radius: 50%;
  background: var(--kcid-sky);
  content: "";
}

.intake-section__visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-width: none;
  height: auto;
  margin: auto auto 0;
  object-fit: contain;
}

.intake-starts {
  display: flex;
  position: absolute;
  z-index: 2;
  right: -1rem;
  bottom: 1.2rem;
  align-items: center;
  gap: 0.9rem;
  min-width: 260px;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 34px rgba(5, 8, 9, 0.11);
}

.intake-starts__icon {
  width: 48px;
  height: 48px;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.intake-starts__icon svg {
  width: 24px;
  height: 24px;
}

.intake-starts__copy {
  display: grid;
  gap: 0.1rem;
  font-size: 0.95rem;
  line-height: 1.15;
}

.intake-starts__copy strong {
  color: var(--kcid-pink);
  font-size: 1.15rem;
  font-weight: 900;
}

.schools-section {
  margin-top: clamp(2.5rem, 13vw, 3.75rem);
  padding-block: 1.6rem 4.25rem;
}

.schools-section > .design-wide {
  text-align: center;
}

.schools-section h2 {
  margin: 0;
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.6rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: var(--kcid-heading-tracking);
}

.schools-section h2 span {
  color: var(--kcid-pink);
}

.schools-section__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  box-shadow: 0 4px 10px rgba(5, 8, 9, 0.12);
}

.schools-section__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.schools-section__description {
  max-width: 760px;
  margin: 1.35rem auto 0;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
  letter-spacing: 0;
}

.schools-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(410px, 100%);
  min-height: 50px;
  margin: 1.75rem auto 0;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--kcid-paper);
  box-shadow: 0 10px 26px rgba(5, 8, 9, 0.12);
}

.schools-search input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 0.9rem 0 3rem;
  background: transparent;
  color: var(--kcid-black);
  font-size: 0.9rem;
  font-family: inherit;
  box-shadow: none;
}

.schools-search input::placeholder {
  color: rgba(5, 8, 9, 0.62);
}

.schools-search input:focus {
  outline: none;
}

.schools-search:focus-within {
  box-shadow: 0 0 0 3px rgba(252, 209, 30, 0.28), 0 10px 26px rgba(5, 8, 9, 0.12);
}

.schools-search__icon {
  position: absolute;
  top: 50%;
  left: 0.7rem;
  width: 2rem;
  height: 2rem;
  padding: 0.48rem;
  border-radius: 50%;
  background: #f2f6fd;
  color: var(--kcid-yellow);
  pointer-events: none;
  transform: translateY(-50%);
}

.schools-search__icon circle,
.schools-search__icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.schools-search__submit {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 0.25rem;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  box-shadow: 0 4px 10px rgba(252, 209, 30, 0.28);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.schools-search__submit::before {
  position: absolute;
  top: 50%;
  left: -0.55rem;
  width: 1px;
  height: 22px;
  background: rgba(11, 63, 145, 0.1);
  content: '';
  pointer-events: none;
  transform: translateY(-50%);
}

.schools-search__submit:hover {
  background: var(--kcid-yellow-deep);
  box-shadow: 0 6px 14px rgba(183, 137, 24, 0.24);
  transform: translateY(-1px);
}

.schools-search__submit:focus-visible {
  outline: 3px solid rgba(252, 209, 30, 0.4);
  outline-offset: 2px;
}

.schools-search__submit svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.schools-search__status {
  min-height: 1.25rem;
  margin: 0.65rem auto 0;
  color: var(--kcid-black);
  font-size: 0.85rem;
}

.schools-search__status:empty {
  min-height: 0;
  margin: 0;
}

.schools-section__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  column-gap: 1.25rem;
  row-gap: 2.5rem;
  margin-top: 2.6rem;
}

.school-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: var(--kcid-black);
  text-align: left;
}

.school-card__image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  aspect-ratio: 1.08;
  min-height: 0;
  overflow: hidden;
  padding: 1.15rem 1.15rem 1.1rem;
  border-radius: 12px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #e7edf5;
  --school-accent: var(--kcid-yellow);
  box-shadow: 0 10px 24px rgba(5, 8, 9, 0.12);
  isolation: isolate;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.school-card__image::before {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(5, 8, 9, 0), rgba(5, 8, 9, 0.96));
  content: "";
}

.school-card__image::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  border-radius: 0 0 12px 12px;
  background: var(--school-accent);
  content: "";
}

.school-card:nth-child(4n + 1) .school-card__image {
  --school-accent: var(--kcid-yellow);
}

.school-card:nth-child(4n + 2) .school-card__image {
  --school-accent: var(--kcid-sky);
}

.school-card:nth-child(4n + 4) .school-card__image {
  --school-accent: var(--kcid-pink);
}

.school-card__image,
.school-card__content,
.school-card__title {
  position: relative;
  z-index: 1;
}

.school-card__image > img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-card__content {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: 7rem 0 0 0.15rem;
}

.school-card__title {
  display: block;
  min-width: 0;
  color: var(--kcid-paper);
  letter-spacing: -0.015em;
  text-shadow: 0 2px 5px rgba(5, 8, 9, 0.7);
}

.school-card__title {
  flex: 1 1 auto;
  max-width: 235px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
}

.school-card__arrow {
  position: relative;
  z-index: 3;
  inset: auto;
  flex: 0 0 40px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--school-accent);
  color: var(--kcid-black);
  box-shadow: 0 4px 10px rgba(5, 8, 9, 0.2);
}

.school-card__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.school-card:hover .school-card__image,
.school-card:focus-visible .school-card__image {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(5, 8, 9, 0.16);
}

.schools-directory-page__section {
  margin-top: 0;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  background: var(--kcid-paper);
}

.schools-directory-page__section > .design-wide {
  text-align: center;
}

.schools-directory-page__section--schools .schools-section__grid {
  margin-top: 0;
}

.schools-directory-page__grid {
  align-items: stretch;
}

.schools-directory-page__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: var(--kcid-black);
  text-align: left;
}

.schools-directory-page__card .school-card__image {
  width: 100%;
  text-decoration: none;
}

.schools-directory-page__card .school-card__title {
  margin: 0;
  color: var(--kcid-paper);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
}

.schools-directory-page__card .school-card__content {
  padding-bottom: 0;
}

.schools-directory-page__card .school-card__image:focus-visible {
  outline: 3px solid var(--kcid-black);
  outline-offset: 3px;
}

.schools-directory-page__card:hover .school-card__image,
.schools-directory-page__card:focus-within .school-card__image {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(5, 8, 9, 0.16);
}

.schools-directory-page__institutes {
  background: #f1f7fb;
}

.schools-directory-page__institutes-grid {
  width: min(100%, 780px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
}

@media (max-width: 620px) {
  .schools-directory-page .schools-directory-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.why-choose-us {
  min-height: 0;
}

.study-modes {
  overflow: hidden;
  background: #fff;
  color: var(--kcid-black);
}

.study-modes__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 540px;
}

.study-modes__content {
  position: relative;
  top: 1.25rem;
  z-index: 1;
  width: 49%;
  margin-right: 2%;
}

.study-modes h2 {
  max-width: 597px;
  margin: 0;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.study-modes h2 span {
  color: var(--kcid-pink);
}

.study-modes__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.study-mode-card {
  --study-mode-shadow: rgba(252, 209, 30, 0.28);
  --study-mode-shadow-hover: rgba(252, 209, 30, 0.42);
  position: relative;
  display: flex;
  min-height: 210px;
  height: auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 30px var(--study-mode-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.study-mode-card--evening {
  --study-mode-shadow: rgba(72, 170, 219, 0.28);
  --study-mode-shadow-hover: rgba(72, 170, 219, 0.42);
}

.study-mode-card--weekend {
  --study-mode-shadow: rgba(237, 22, 130, 0.2);
  --study-mode-shadow-hover: rgba(237, 22, 130, 0.34);
}

.study-mode-card:hover,
.study-mode-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px var(--study-mode-shadow-hover);
}

.study-mode-card__icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.study-mode-card--evening .study-mode-card__icon {
  background: var(--kcid-sky);
}

.study-mode-card--weekend .study-mode-card__icon,
.study-mode-card--weekend .study-mode-card__arrow {
  background: var(--kcid-pink);
  color: var(--kcid-paper);
}

.study-mode-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.study-mode-card h3 {
  margin: 0.55rem 0 0.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.study-mode-card p {
  max-width: 32ch;
  margin: 0;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
}

.study-mode-card__arrow {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  align-self: flex-end;
  margin-top: auto;
  border-radius: 50%;
  background: var(--kcid-yellow);
}

.study-mode-card--evening .study-mode-card__arrow {
  background: var(--kcid-sky);
}

.study-mode-card__arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

.study-modes__student {
  position: absolute;
  left: 4%;
  bottom: 1rem;
  width: auto;
  height: 520px;
}

@media (max-width: 1100px) {
  .study-modes__inner {
    display: block;
    height: auto;
    padding-block: 3.5rem 0;
  }

  .study-modes__content {
    top: auto;
    width: 100%;
    margin-right: 0;
  }

  .study-modes__student {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    display: block;
    width: min(34rem, 78%);
    height: auto;
    margin: 2rem auto 0;
  }
}

@media (max-width: 640px) {
  .study-modes__inner {
    padding-top: 3rem;
  }

  .study-modes h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .study-modes__cards {
    grid-template-columns: 1fr;
  }

  .study-mode-card {
    height: auto;
    min-height: 14rem;
  }

  .study-modes__student {
    width: min(100%, 28rem);
  }
}

.accommodation-promo {
  padding-block: clamp(2.5rem, 4vw, 4rem);
  background: var(--kcid-soft);
  color: var(--kcid-black);
}

.accommodation-promo__panel {
  display: grid;
  width: min(1120px, 84vw);
  min-height: 400px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-inline: auto;
  padding: 2rem clamp(2rem, 3vw, 3rem) 2rem clamp(2rem, 5vw, 5rem);
  border-radius: 1rem;
  background: var(--kcid-sky);
}

.accommodation-promo__copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.accommodation-promo__copy p {
  max-width: 48ch;
  margin: 0.9rem 0 0;
  font-size: var(--kcid-copy-size);
  line-height: 1.55;
}

.accommodation-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.accommodation-promo__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 2px solid var(--kcid-yellow);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.accommodation-promo__button:hover,
.accommodation-promo__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(5, 8, 9, 0.12);
}

.accommodation-promo__button--primary {
  background: var(--kcid-yellow);
}

.accommodation-promo__button--primary > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-pink);
  color: #fff;
}

.accommodation-promo__button--primary svg {
  width: 0.95rem;
  height: 0.95rem;
}

.accommodation-promo__button--outline {
  background: transparent;
}

.accommodation-promo__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 0.65rem;
  object-fit: cover;
}

@media (max-width: 800px) {
  .accommodation-promo__panel {
    width: calc(100% - 2rem);
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem;
  }

  .accommodation-promo__copy p {
    max-width: 65ch;
  }
}

@media (max-width: 480px) {
  .accommodation-promo__panel {
    padding: 1.5rem;
  }
}

.home-gallery {
  padding-block: 4.5rem;
  background: #fff;
  color: var(--kcid-black);
}

.home-gallery__inner {
  width: min(1060px, calc(100% - 3rem));
  margin-inline: auto;
  text-align: center;
}

.home-gallery h2 {
  margin: 0;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.home-gallery h2 span {
  color: var(--kcid-pink);
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  grid-auto-rows: clamp(145px, 16vw, 170px);
  gap: 0.75rem;
  margin-top: 4rem;
}

.home-gallery__photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0.65rem;
  box-shadow: 0 10px 25px rgba(252, 209, 30, 0.28);
}

.home-gallery__photo:nth-child(3n + 2) {
  box-shadow: 0 10px 25px rgba(72, 170, 219, 0.28);
}

.home-gallery__photo:nth-child(3n) {
  box-shadow: 0 10px 25px rgba(237, 22, 130, 0.24);
}

.home-gallery__photo:nth-child(2),
.home-gallery__photo:nth-child(5) {
  height: calc(100% + 28px);
}

.home-gallery__photo:nth-child(2) {
  align-self: end;
}

.home-gallery__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-gallery__cta {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 0.75rem;
  margin-top: 4rem;
  padding: 0.3rem 0.35rem 0.3rem 1rem;
  border-radius: 6px;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  box-shadow: 0 8px 22px rgba(237, 22, 130, 0.24);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-gallery__cta:hover,
.home-gallery__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(237, 22, 130, 0.32);
}

.home-gallery__cta span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-pink);
  color: #fff;
}

.home-gallery__cta svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 760px) {
  .home-gallery {
    padding-block: 3.5rem;
  }

  .home-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.65rem;
    margin-top: 3rem;
  }

  .home-gallery__photo,
  .home-gallery__photo:nth-child(2),
  .home-gallery__photo:nth-child(5) {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .home-gallery__cta {
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .home-gallery__inner {
    width: calc(100% - 2rem);
  }

  .home-gallery__grid {
    gap: 0.5rem;
  }
}

.partners-section {
  padding-block: clamp(4.25rem, 6vw, 5.5rem);
  background: var(--kcid-paper);
  color: var(--kcid-black);
}

.partners-section--industry {
  padding-top: 0;
}

.partners-section h2 {
  margin: 0;
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-align: center;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.partner-logo-grid--industry {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.partner-logo {
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  border: 0;
  border-radius: 12px;
  background: var(--kcid-paper);
  box-shadow: 0 8px 22px rgba(72, 170, 219, 0.25);
}

.partner-logo img {
  width: 100%;
  max-width: 190px;
  height: 80px;
  object-fit: contain;
}

.blog-section {
  padding-block: clamp(3.5rem, 5vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(5, 8, 9, 0.9), rgba(5, 8, 9, 0.78) 48%, rgba(5, 8, 9, 0.94)),
    url("../img/student-work-strip.webp") center / cover no-repeat;
  color: var(--kcid-paper);
}

.blog-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.blog-section__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  box-shadow: 0 4px 10px rgba(5, 8, 9, 0.24);
}

.blog-section__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.blog-section h2 {
  margin: 0;
  color: var(--kcid-paper);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.blog-section .button {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 1.2rem;
  border-radius: 8px;
  font-size: 0.92rem;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 330px));
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.blog-section__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.blog-card {
  display: grid;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--kcid-paper);
  color: var(--kcid-black);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 185px;
  padding: 1.15rem;
  text-align: center;
}

.blog-card__meta {
  margin: 0;
  color: var(--kcid-pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0.6rem 0 1rem;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--kcid-cta-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.blog-card__link svg {
  width: 1.05rem;
  height: 1.05rem;
}

.blog-card__link:hover,
.blog-card__link:focus-visible {
  color: var(--kcid-pink);
}

.blog-archive-header {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.blog-archive-header h1,
.blog-post__header h1 {
  margin: 0.35rem 0 0.75rem;
}

.blog-archive-header p:last-child {
  margin: 0;
}

.blog-card-grid--archive {
  justify-content: start;
  margin-top: 0;
}

.blog-card-grid--archive .blog-card h2 {
  margin: 0.6rem 0 1rem;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.blog-post {
  max-width: 52rem;
}

.blog-post__header {
  margin-bottom: 2rem;
}

.blog-post__image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 12px;
}

.blog-post__content > * + *,
.blog-post__content .elementor-widget-container > * + * {
  margin-block-start: 1rem;
}

.why-choose-us__grid {
  display: grid;
  grid-template-columns: minmax(0, 605px) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: var(--kcid-section-space);
}

.why-choose-us__content {
  padding-top: 0;
}

.why-choose-us h2 {
  max-width: 597px;
  margin-top: 0;
  font-size: 2.8rem;
  color: var(--kcid-black);
}

.why-choose-us h2 .why-choose-us__heading-lead {
  color: var(--kcid-black);
}

.why-choose-us h2 .why-choose-us__heading-tail {
  color: var(--kcid-pink);
}

.why-choose-us .section-copy {
  margin-top: 1.8rem;
}

.why-choose-us .button {
  margin-top: 2rem;
}

.programs-strip__grid,
.student-work__grid,
.why__grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.section-intro {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.section-intro p:not(.eyebrow) {
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
  letter-spacing: 0;
}

.section-dark .section-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.program-card-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 0.75rem;
}

.program-card {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.8rem;
  overflow: hidden;
  border-radius: var(--kcid-radius);
  background-image:
    linear-gradient(180deg, rgba(5, 8, 9, 0.02), rgba(5, 8, 9, 0.88)),
    url("../img/program-sheet.webp");
  background-size: 300% 200%;
  color: var(--kcid-paper);
  padding: 1rem;
  box-shadow: 0 1px 0 rgba(5, 8, 9, 0.1);
}

.program-card strong {
  max-width: 11ch;
  font-size: 1.02rem;
  line-height: 1.12;
}

.program-card__icon {
  color: var(--kcid-paper);
  opacity: 0.9;
}

.program-card > span:last-child {
  align-self: flex-end;
  color: var(--kcid-yellow);
}

.tile-1 { background-position: 0% 0%; }
.tile-2 { background-position: 50% 0%; }
.tile-3 { background-position: 100% 0%; }
.tile-4 { background-position: 0% 100%; }
.tile-5 { background-position: 50% 100%; }
.tile-6 { background-position: 100% 100%; }

.work-strip {
  min-height: 250px;
  border-radius: var(--kcid-radius);
  background: url("../img/student-work-strip.webp") center / cover no-repeat;
  box-shadow: var(--kcid-shadow);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  border-left: 1px solid var(--kcid-line);
}

.reason-grid--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 0;
  gap: 1rem;
}

.reason-card {
  min-height: 152px;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--kcid-line);
  text-align: center;
}

.reason-grid--wide .reason-card {
  border: 1px solid var(--kcid-line);
  border-radius: var(--kcid-radius);
  background: var(--kcid-paper);
  text-align: left;
}

.reason-card span {
  display: inline-flex;
  justify-content: center;
  color: var(--kcid-black);
  font-size: 1.9rem;
}

.reason-grid--wide .reason-card span {
  justify-content: start;
  color: var(--kcid-blue);
}

.reason-card p {
  color: var(--kcid-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 9, 0.9) 0%, rgba(5, 8, 9, 0.66) 56%, rgba(5, 8, 9, 0.42) 100%),
url("../img/hero-design-studio.webp") center / cover no-repeat;
  color: var(--kcid-paper);
}

.page-hero__inner {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.page-hero h1,
.course-detail-hero h1 {
  max-width: 680px;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.25rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.page-hero p:not(.eyebrow) {
  max-width: 569px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
  letter-spacing: 0;
}

.program-list {
  display: grid;
  gap: 1rem;
}

.program-detail {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--kcid-line);
  border-radius: var(--kcid-radius);
}

.program-detail__image {
  min-height: 210px;
  border-radius: 6px;
  background-image: url("../img/program-sheet.webp");
  background-size: 300% 200%;
}

.program-detail p:not(.eyebrow) {
  max-width: 680px;
  margin-block: 1rem;
  color: var(--kcid-muted);
}

.schools-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid var(--kcid-line);
  border-radius: 999px;
  background: var(--kcid-paper);
  padding: 0.65rem 0.9rem;
  font-weight: 750;
}

.admissions-grid,
.contact-grid,
.feature-grid,
.split-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.feature-card,
.contact-card,
.contact-form,
.admissions-form,
.stat-panel {
  border: 1px solid var(--kcid-line);
  border-radius: var(--kcid-radius);
  background: var(--kcid-paper);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.admissions-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
  background: var(--kcid-yellow);
  border-color: transparent;
}

.admissions-form h2 {
  grid-column: 1 / -1;
  color: var(--kcid-black);
}

.admissions-form label,
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 1.7rem;
  position: relative;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--kcid-yellow);
  content: "";
}

.contact-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.contact-card p,
.footer-contact p {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-card svg,
.footer-contact svg {
  flex: 0 0 auto;
  color: var(--kcid-yellow);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.split-page {
  align-items: stretch;
}

.split-page > div:first-child {
  display: grid;
  gap: 1rem;
}

.stat-panel {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.stat-panel strong {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.stat-panel span {
  font-weight: 900;
}

.content-page {
  max-width: 800px;
}

.footer-cta {
  position: relative;
  overflow: hidden;
  overflow: clip;
  contain: paint;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.16), transparent 48%),
    var(--kcid-yellow);
  color: var(--kcid-black);
}

.footer-cta__decor {
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  border: 3px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
}

.footer-cta__decor--pink {
  bottom: -295px;
  left: -155px;
  color: var(--kcid-pink);
  box-shadow: 0 0 0 25px rgba(237, 22, 130, 0.14), 0 0 0 52px rgba(237, 22, 130, 0.08);
}

.footer-cta__decor--blue {
  top: -300px;
  right: -130px;
  color: var(--kcid-sky);
  transform: rotate(-18deg);
}

.footer-cta__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: center;
  min-height: 390px;
}

.footer-cta__copy {
  position: relative;
  z-index: 3;
}

.footer-cta__copy {
  max-width: 540px;
}

.footer-cta h2 {
  max-width: 17ch;
  font-size: clamp(2.7rem, 3.8vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.footer-cta__copy .button {
  min-width: 210px;
  min-height: 70px;
  margin-top: 1.5rem;
  border-radius: 10px;
  padding-inline: 1.35rem;
  font-size: 1.3rem;
}

.footer-cta__people {
  position: relative;
  z-index: 2;
  align-self: stretch;
  min-width: 0;
  overflow: visible;
  pointer-events: none;
}

.footer-cta__people img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: calc(100% - 24px);
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}

@media (min-width: 1101px) {
  .footer-cta__inner {
    width: min(1312px, calc(100vw - 128px));
  }

  .footer-cta h2 span {
    white-space: nowrap;
  }
}

.site-footer {
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) 0.8fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: 2.5rem;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.socials a {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 600;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
}

.footer-links a,
.footer-contact p,
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--kcid-yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

@media (max-width: 1100px) {
  .site-utility__inner {
    width: min(calc(100% - 48px), 1312px);
  }

  .site-utility__links {
    gap: 1rem;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-header__cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    justify-content: start;
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1rem;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav > a,
  .primary-nav summary,
  .primary-nav__dropdown,
  .primary-nav__toggle {
    width: 100%;
    padding: 0.65rem 0;
  }

  .nav-panel {
    position: static;
    width: 100%;
    gap: 0;
    transform: none;
    padding: 0 0 0 0.9rem;
    border-top: 0;
    background: transparent;
    color: var(--kcid-paper);
    box-shadow: none;
    margin-bottom: 0.4rem;
  }

  .primary-nav__toggle {
    justify-content: space-between;
    padding-block: 0.65rem;
  }

  .nav-panel::before {
    display: none;
  }

  .nav-panel a {
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
  }

  .nav-panel a:hover,
  .nav-panel a:focus-visible {
    background: rgba(255, 230, 0, 0.12);
    color: var(--kcid-yellow);
  }

  .program-card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-cta__inner,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cta__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    min-height: 0;
    padding-block: 3.5rem 0;
  }

  .footer-cta__people {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    height: 260px;
  }

  .footer-cta__people img {
    height: 100%;
  }

  .about-section,
  .why-choose-us {
    min-height: 0;
  }

  .about-section__grid,
  .why-choose-us__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 4.5rem;
  }

  .about-section__content,
  .why-choose-us__content {
    padding-top: 0;
    transform: none;
  }

  .about-section__media,
  .why-choose-us__media {
    height: min(441px, 70vw);
  }

  .intake-section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 2rem;
  }

  .intake-section h2 {
    font-size: 2.25rem;
  }

  .intake-section__visual {
    min-height: 360px;
  }

  .intake-starts {
    right: -0.75rem;
    min-width: 270px;
  }

  .schools-section__grid {
    width: min(100%, 760px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1rem;
  }

  .partner-logo-grid--industry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-choose-us__grid {
    display: flex;
    flex-direction: column;
  }

  .why-choose-us__media {
    order: 2;
  }
}

@media (max-width: 900px) {
  .site-utility__links {
    display: none;
  }

  .site-utility__inner {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  :root {
    --kcid-container: min(100vw - 32px, 1180px);
  }

  .design-wide {
    width: min(calc(100vw - 32px), 1296px);
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .brand__mark {
    width: 48px;
    height: 48px;
    font-size: 0.9rem;
  }

  .site-header__inner {
    min-height: 76px;
  }

  .site-header__inner,
  .site-utility__inner {
    padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
  }

  .site-utility__inner {
    width: min(calc(100vw - 32px), 1312px);
    gap: 0.75rem;
  }

  .site-utility__left {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 0;
  }

  .site-utility__item {
    min-width: 0;
  }

  .site-utility__item:first-child {
    display: flex;
    width: 100%;
  }

  .site-utility__item:first-child span {
    overflow: visible;
  }

  .site-utility__phones {
    position: static;
    width: auto;
    justify-content: flex-start;
    gap: 0.9rem;
  }

  .site-utility__phone {
    position: static;
    width: auto;
    flex: 0 0 auto;
    gap: 0.35rem;
    padding-left: 0;
    border-left: 0;
  }

  .site-utility__item,
  .site-utility__links a {
    gap: 0.35rem;
    font-size: 0.72rem;
  }

  .site-utility__item svg {
    width: 1rem;
    height: 1rem;
  }

  .site-utility__phone {
    padding-left: 0;
    border-left: 0;
  }

  .site-utility__phone svg {
    width: 0.85rem;
    height: 0.85rem;
  }

  .site-utility__links {
    display: none;
  }

  .brand__name {
    font-size: 0.94rem;
  }

  .hero {
    min-height: 575px;
  }

  .hero__slide.is-active .hero__media {
    background:
      linear-gradient(90deg, rgba(5, 8, 9, 0.6), rgba(5, 8, 9, 0.22)),
      var(--hero-image) var(--hero-position-mobile, 68% top) / cover no-repeat;
  }

  .hero__media--responsive .hero__image {
    object-position: var(--hero-position-mobile, 68% top);
  }

  .hero__media--responsive::after {
    background: linear-gradient(90deg, rgba(5, 8, 9, 0.6), rgba(5, 8, 9, 0.22));
  }

  .hero__slide.is-active .hero__media--responsive {
    background: none;
  }

  .hero__slide--architecture {
    --hero-position-mobile: center 35%;
  }

  .hero__content {
    padding-block: 4rem 4.5rem;
    transform: none;
  }

  .hero__welcome {
    margin-bottom: 0.9rem;
    font-size: 2.65rem;
  }

  .hero h1,
  .page-hero h1,
  .course-detail-hero h1 {
    font-size: clamp(2.15rem, 9vw, 3.4rem);
    line-height: 1.08;
  }

  .hero__controls {
    bottom: 14px;
  }

  .about-section,
  .why-choose-us {
    min-height: 0;
  }

  .intake-section {
    scroll-margin-top: 110px;
  }

  .about-section__grid,
  .why-choose-us__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 4rem;
  }

  .about-section__content,
  .why-choose-us__content {
    padding-top: 0;
    transform: none;
  }

  .about-section__media,
  .why-choose-us__media {
    height: min(441px, 72vw);
  }

  .intake-section__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 4rem;
  }

  .intake-section h2 {
    font-size: clamp(1.8rem, 7vw, 2.25rem);
  }

  .intake-section__visual {
    width: min(100%, 680px);
    min-height: 340px;
    margin-inline: auto;
  }

  .intake-section__visual::before {
    right: 12%;
    width: min(52vw, 320px);
    height: min(52vw, 320px);
  }

  .intake-starts {
    right: 0;
  }

  .script-label {
    font-size: 3.4rem;
  }

  .about-section h2,
  .schools-section h2,
  .why-choose-us h2 {
    font-size: clamp(1.8rem, 7vw, 2.25rem);
  }

  .about-section h2 {
    font-size: 2.8rem;
  }

  .schools-section h2 {
    font-size: 2.8rem;
  }

  .section-copy,
  .schools-section__description {
    font-size: var(--kcid-copy-size);
    line-height: var(--kcid-copy-leading);
  }

  .application-field > input,
  .application-field > select,
  .date-selects select {
    font-size: 1rem;
  }

  .about-section .section-copy,
  .why-choose-us .section-copy {
    margin-top: 1.5rem;
  }

  .schools-section {
    padding-block: 4rem 4.5rem;
  }

  .schools-search {
    margin-top: 2.5rem;
  }

  .schools-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }

  .school-card {
    min-height: 0;
    padding: 0;
  }

  .school-card__image {
    min-height: 250px;
    padding: 1.15rem 1rem 1rem;
  }

  .school-card__content {
    padding-top: 5.5rem;
    padding-bottom: 0;
  }

  .school-card__title {
    font-size: 1.05rem;
  }

  .partners-section {
    padding-block: 3rem;
  }

  .partners-section--industry {
    padding-top: 0;
  }

  .partners-section h2 {
    font-size: clamp(1.8rem, 7vw, 2.25rem);
  }

  .partner-logo-grid,
  .partner-logo-grid--industry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
  }

  .partner-logo {
    min-height: 104px;
    padding: 0.75rem;
  }

  .partner-logo img {
    height: 58px;
  }

  .blog-section {
    padding-block: 3rem;
  }

  .blog-section__header {
    align-items: center;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .blog-section .script-label {
    font-size: 3rem;
  }

  .blog-section h2 {
    font-size: clamp(1.8rem, 7vw, 2.25rem);
  }

  .blog-section .button {
    width: auto;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.8rem;
  }

  .blog-card__body {
    min-height: 0;
  }

  .why-choose-us__grid {
    display: flex;
    flex-direction: column;
  }

  .why-choose-us__media {
    order: 2;
  }

  .programs-strip__grid,
  .student-work__grid,
  .why__grid,
  .schools-grid,
  .program-detail,
  .admissions-grid,
  .contact-grid,
  .feature-grid,
  .split-page,
  .footer-cta__inner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-cta__inner {
    min-height: 0;
    gap: 1.5rem;
    padding-block: 2.75rem 1rem;
  }

  .footer-cta__copy .button {
    width: 100%;
  }

  .footer-cta__people {
    position: relative;
    inset: auto;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: 210px;
    opacity: 1;
    order: 2;
  }

  .footer-cta__people img {
    height: 100%;
    object-position: center bottom;
  }

  .program-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-card {
    min-height: 190px;
  }

  .reason-grid,
  .reason-grid--wide {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .reason-card {
    border: 1px solid var(--kcid-line);
    border-radius: var(--kcid-radius);
    text-align: left;
  }

  .reason-card span {
    justify-content: start;
  }

  .admissions-form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.slogan-band {
  padding-block: clamp(1.1rem, 2.5vw, 1.75rem);
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.slogan-band__inner {
  display: flex;
  justify-content: center;
}

.slogan-band__headline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2em 0.65em;
  margin: 0;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.2rem, 3.25vw, 2.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.025em;
  text-align: center;
}

.slogan-band__learn {
  color: #00c9e8;
}

.slogan-band__prove {
  color: var(--kcid-pink);
}

.slogan-band__practice {
  color: var(--kcid-yellow);
}

@media (max-width: 430px) {
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .program-card-row {
    grid-template-columns: 1fr;
  }

  .work-strip {
    min-height: 420px;
    background-size: cover;
  }

  .intake-kicker {
    min-height: 40px;
    padding-right: 0.8rem;
    font-size: 0.75rem;
  }

  .intake-kicker__icon {
    width: 46px;
    height: 46px;
    margin-right: 0.5rem;
  }

  .intake-kicker__icon svg {
    width: 20px;
    height: 20px;
  }

  .intake-section h2 {
    margin-top: 1.4rem;
    font-size: clamp(1.4rem, 5vw, 2.25rem);
  }

  .intake-section__accent {
    width: 82px;
    height: 7px;
    margin-block: 1.5rem 1.25rem;
  }

  .intake-section__copy {
    font-size: var(--kcid-copy-size);
  }

  .intake-countdown {
    margin-top: 1.5rem;
    padding: 1rem 0.35rem;
  }

  .intake-countdown__item {
    padding-inline: 0.25rem;
  }

  .intake-countdown__item strong {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .intake-countdown__item span {
    font-size: 0.7rem;
  }

  .intake-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.75rem;
  }

  .intake-actions .button,
  .intake-call {
    width: 100%;
  }

  .intake-call {
    justify-content: center;
  }

  .intake-section__visual {
    min-height: 300px;
  }

  .intake-section__visual::before {
    right: 8%;
    bottom: 10%;
    width: 240px;
    height: 240px;
  }

  .intake-starts {
    right: -0.4rem;
    bottom: 0;
    min-width: 0;
    width: calc(100% - 1.5rem);
    padding: 0.8rem;
  }

  .intake-starts__icon {
    width: 48px;
    height: 48px;
  }

  .intake-starts__copy {
    font-size: 0.9rem;
  }

  .intake-starts__copy strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 380px) {
  .site-utility__item:first-child {
    min-width: 0;
  }

  .site-utility__item:first-child span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-utility__phone {
    flex: 0 0 auto;
  }

  .schools-section__grid {
    grid-template-columns: 1fr;
  }

  .school-card {
    min-height: 0;
  }

  .school-card__image {
    min-height: 270px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Projects gallery */
.projects-section {
  background: var(--kcid-soft);
}

.projects-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.7fr);
  gap: 3rem;
  align-items: end;
}

.projects-section__intro .script-label {
  margin-bottom: 0.25rem;
}

.projects-section__intro h2 {
  color: var(--kcid-sky);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.projects-section__intro > p {
  max-width: 390px;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
  letter-spacing: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.project-card {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--kcid-line);
  border-radius: 14px;
  padding: 0;
  background: var(--kcid-paper);
  color: var(--kcid-black);
  text-align: left;
  box-shadow: 0 8px 20px rgba(5, 8, 9, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(5, 8, 9, 0.12);
}

.project-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--kcid-black);
}

.project-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 8, 9, 0.65));
  content: "";
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.project-card:hover .project-card__media img {
  transform: scale(1.045);
}

.project-card__view {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-card__view span {
  color: var(--kcid-yellow);
  font-size: 1rem;
}

.project-card__body {
  display: block;
  padding: 1.1rem 1.2rem 1.2rem;
}

.project-card__discipline {
  display: block;
  color: var(--kcid-pink);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__title {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.1;
}

.project-card__meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--kcid-muted);
  font-size: 0.78rem;
}

.project-card__meta > span:first-child {
  color: var(--kcid-black);
  font-weight: 800;
}

.project-card__year {
  margin-left: auto;
  color: var(--kcid-blue);
  font-weight: 850;
}

body.project-modal-open {
  overflow: hidden;
}

.project-modal[hidden] {
  display: none;
}

.project-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 9, 0.88);
}

.project-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(850px, calc(100svh - 3rem));
  overflow: auto;
  border-radius: 14px;
  background: var(--kcid-paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.project-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 0;
}

.project-modal__header .eyebrow {
  margin: 0;
}

.project-modal__close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--kcid-line);
  border-radius: 50%;
  background: var(--kcid-paper);
  color: var(--kcid-black);
  font-size: 1.8rem;
  line-height: 1;
}

.project-modal__content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.5rem;
  padding: 0.5rem 1.25rem 1.25rem;
}

.project-modal__visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--kcid-black);
}

.project-modal__visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.project-modal__nav {
  position: absolute;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(5, 8, 9, 0.72);
  color: #fff;
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.project-modal__nav:hover {
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.project-modal__nav--prev { left: 1rem; }
.project-modal__nav--next { right: 1rem; }

.project-modal__details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1rem 0.5rem 0.5rem 0;
}

.project-modal__title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.project-modal__title-row h2 {
  color: var(--kcid-sky);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.project-modal__title-row > span {
  flex: 0 0 auto;
  color: var(--kcid-blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.project-modal__designer {
  margin-top: 0.8rem;
  color: var(--kcid-muted);
  font-size: 0.85rem;
}

.project-modal__designer strong {
  color: var(--kcid-black);
}

.project-modal__details > #project-modal-summary {
  margin-top: 1.5rem;
  color: var(--kcid-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.project-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 2rem;
}

.project-modal__thumb {
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: var(--kcid-soft);
}

.project-modal__thumb.is-active,
.project-modal__thumb:focus-visible {
  border-color: var(--kcid-pink);
}

.project-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-modal__content {
    grid-template-columns: 1fr;
  }

  .project-modal__visual,
  .project-modal__visual img {
    min-height: 360px;
    height: min(58svh, 520px);
  }

  .project-modal__details {
    padding-right: 0;
  }

  .project-modal__thumbs {
    margin-top: 1rem;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .projects-section__intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .project-card__media {
    aspect-ratio: 16 / 11;
  }

  .project-modal {
    padding: 0;
  }

  .project-modal__dialog {
    width: 100%;
    max-height: 100svh;
    border-radius: 0;
  }

  .project-modal__header {
    padding-inline: 1rem;
  }

  .project-modal__content {
    gap: 0.85rem;
    padding-inline: 1rem;
  }

  .project-modal__visual,
  .project-modal__visual img {
    min-height: 300px;
    height: 56svh;
  }

  .project-modal__nav--prev { left: 0.65rem; }
  .project-modal__nav--next { right: 0.65rem; }

  .project-modal__details {
    padding-bottom: 1.25rem;
  }

  .project-modal__thumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .project-modal__thumb {
    flex: 0 0 76px;
  }
}

/* Internal pages carry the home page's image-led rhythm and colour blocking. */
.page-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.page-intro__grid--reverse > .page-intro__media {
  order: 2;
}

.page-intro__media,
.about-page-story__media {
  min-height: 390px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--kcid-black);
}

.about-page-story__media {
  display: flex;
}

.page-intro__media img,
.about-page-story__media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.page-intro__media--tall {
  min-height: 470px;
}

.student-life-video-section {
  background: var(--kcid-paper);
}

.student-life-video-section__intro {
  display: grid;
  max-width: 680px;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.student-life-video-section__intro h2 {
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
}

.student-life-video-section__intro > p:last-child {
  max-width: 570px;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
  letter-spacing: 0;
}

.student-life-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--kcid-line);
  background: var(--kcid-soft);
}

.video-card--featured {
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.video-card__frame {
  background: var(--kcid-black);
}

.kcid-video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--kcid-black);
}

.kcid-video-frame--landscape {
  aspect-ratio: 16 / 9;
}

.kcid-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.kcid-video-facade {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--kcid-black);
  color: var(--kcid-paper);
  cursor: pointer;
}

.kcid-video-facade img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kcid-video-facade__play {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(8, 10, 12, 0.78);
  color: var(--kcid-paper);
  transition: transform 160ms ease, background-color 160ms ease;
}

.kcid-video-facade__play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.kcid-video-facade:hover .kcid-video-facade__play,
.kcid-video-facade:focus-visible .kcid-video-facade__play {
  transform: scale(1.08);
  background: var(--kcid-blue);
}

.kcid-video-facade:focus-visible {
  outline: 3px solid var(--kcid-yellow);
  outline-offset: -4px;
}

.kcid-video-placeholder {
  display: grid;
  min-height: 100%;
  place-content: center;
  gap: 0.55rem;
  padding: 2rem;
  color: var(--kcid-paper);
  text-align: center;
}

.kcid-video-placeholder__mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-inline: auto;
  place-items: center;
  border: 2px solid var(--kcid-yellow);
  border-radius: 50%;
  color: var(--kcid-yellow);
  font-size: 1.15rem;
}

.kcid-video-placeholder strong {
  font-size: 1rem;
}

.kcid-video-placeholder span:last-child {
  max-width: 240px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.45;
}

.kcid-video-placeholder code {
  color: var(--kcid-yellow);
  font-size: inherit;
}

.video-card__body {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem;
}

.video-card__body .eyebrow {
  margin-bottom: 0;
}

.video-card__body h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.video-card__body p:last-child {
  color: var(--kcid-muted);
  font-size: 0.9rem;
}

.video-card--featured .video-card__body p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.about-page-story__media .kcid-video-frame {
  flex: 1;
}

.page-intro__copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.page-intro__copy h2,
.about-page-story h2,
.admissions-copy h2 {
  max-width: 18ch;
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
}

.page-intro__copy > p:not(.script-label),
.about-page-story__media + p {
  max-width: 570px;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
  letter-spacing: 0;
}

.mini-stats,
.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 1rem;
  border-top: 1px solid var(--kcid-line);
  border-bottom: 1px solid var(--kcid-line);
}

.mini-stats > div,
.about-stat-grid > div {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0.8rem 1rem 0;
}

.mini-stats > div + div,
.about-stat-grid > div + div {
  padding-left: 0.8rem;
  border-left: 1px solid var(--kcid-line);
}

.mini-stats strong,
.about-stat-grid strong {
  color: var(--kcid-black);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 950;
  line-height: 1;
}

.mini-stats span,
.about-stat-grid span {
  color: var(--kcid-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading-row h2 {
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.section-heading-row .button {
  flex: 0 0 auto;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.catalog-card {
  overflow: hidden;
  border: 1px solid var(--kcid-line);
  border-radius: 14px;
  background: var(--kcid-paper);
  box-shadow: 0 10px 24px rgba(5, 8, 9, 0.06);
}

.catalog-card__image {
  position: relative;
  min-height: 150px;
  background-position: center;
  background-size: cover;
}

.catalog-card__image span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font-size: 0.78rem;
  font-weight: 900;
}

.catalog-card__body {
  padding: 1.35rem 1.45rem 1.5rem;
}

.catalog-card__body .eyebrow {
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
}

.catalog-card__body h3 {
  margin-bottom: 0.55rem;
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.catalog-card__body > p:not(.eyebrow) {
  min-height: 3.1em;
  color: var(--kcid-muted);
  font-size: 0.92rem;
}

.catalog-card__body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.catalog-card__body li {
  border-radius: 999px;
  background: var(--kcid-soft);
  padding: 0.4rem 0.65rem;
  color: var(--kcid-black);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.featured-programs {
  background: var(--kcid-paper);
}

.program-list--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.program-list--compact .program-detail {
  display: block;
  padding: 0;
  overflow: hidden;
}

.program-list--compact .program-detail__image {
  min-height: 180px;
  border-radius: 0;
}

.program-list--compact .program-detail > div:last-child {
  padding: 1.2rem;
}

.program-list--compact .program-detail h3 {
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 850;
}

.program-list--compact .program-detail p:not(.eyebrow) {
  min-height: 5.2em;
  font-size: 0.9rem;
}

.intake-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border-radius: 14px;
  background: var(--kcid-yellow);
}

.intake-banner h2 {
  max-width: 18ch;
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.intake-banner p:last-child {
  max-width: 600px;
  margin-top: 0.7rem;
  color: rgba(5, 8, 9, 0.76);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pathway-card {
  display: grid;
  align-content: start;
  min-height: 270px;
  padding: 1.5rem;
  border-radius: 14px;
  color: var(--kcid-black);
}

.pathway-card--yellow { background: var(--kcid-yellow); }
.pathway-card--blue { background: var(--kcid-sky); }
.pathway-card--pink { background: var(--kcid-pink); color: var(--kcid-paper); }

.pathway-card__number {
  margin-bottom: 2rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pathway-card h2 {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
}

.pathway-card p {
  min-height: 3.2em;
  margin-top: 0.55rem;
  font-size: 0.92rem;
}

.pathway-card strong {
  margin-top: auto;
  font-size: 1.1rem;
}

.pathway-card > span:last-child {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admissions-grid--refreshed {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.admissions-copy {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}

.admissions-guidance .admissions-copy {
  max-width: 740px;
  margin-inline: auto;
  padding-top: 0;
}

.admissions-copy > p:not(.script-label) {
  max-width: 560px;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
  letter-spacing: 0;
}

.admissions-checks {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.65rem;
  font-weight: 800;
}

.admissions-checks span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admissions-checks svg {
  width: 1.3rem;
  color: var(--kcid-pink);
}

.admissions-form {
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.admissions-form p {
  grid-column: 1 / -1;
  margin-top: -0.3rem;
  color: rgba(5, 8, 9, 0.72);
}

.admissions-form label {
  gap: 0.45rem;
}

.tveta-section {
  padding-block: clamp(4.5rem, 7vw, 7rem);
  background: #fff;
  color: var(--kcid-black);
}

.tveta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tveta-section h2 {
  max-width: 900px;
  margin: 0;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.5rem, 5.3vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.tveta-section h2 span {
  display: block;
  color: var(--kcid-pink);
}

.tveta-section img {
  display: block;
  width: min(380px, 74vw);
  height: auto;
  margin: 2.4rem auto 2.25rem;
}

.tveta-section__license-label {
  margin: 0;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.tveta-section__license-number {
  max-width: 100%;
  margin: 0.5rem 0 0;
  color: #353b40;
  font-size: clamp(1.1rem, 2.5vw, 1.85rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .tveta-section {
    padding-block: 3.5rem;
  }

  .tveta-section img {
    margin-block: 2rem;
  }
}

.student-life-support__heading {
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.student-life-support__list {
  display: grid;
  gap: 0;
}

/* Keep the full-bleed support panels inside the document width. 100vw includes
 * a classic scrollbar, which made the previous viewport-offset approach create
 * a horizontal scroll area. */
body:not(.home) main .student-life-support > .container {
  width: 100%;
}

.student-life-support__item {
  width: 100%;
  min-height: 550px;
  padding-block: 50px;
  background: transparent;
}

.student-life-support__item-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: var(--kcid-container);
  min-height: 450px;
  margin: 0 auto;
}

#affairs {
  background: var(--kcid-blue);
}

#accommodation {
  background: var(--kcid-yellow);
}

#accommodation .student-life-support__copy p {
  color: var(--kcid-black);
}

#accommodation .student-life-support__copy h3 {
  color: var(--kcid-black);
}

#accommodation .student-life-support__copy h3 span {
  color: var(--kcid-pink);
}

#accommodation .student-life-support__cta > span {
  background: var(--kcid-pink);
}

#affairs .student-life-support__copy,
#affairs .student-life-support__copy h3,
#affairs .student-life-support__copy p,
#affairs .student-life-support__cta {
  background: transparent;
  color: var(--kcid-paper);
}

.student-life-support__item--reverse .student-life-support__media {
  order: 2;
}

.student-life-support__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.student-life-support__copy .feature-card__icon {
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  margin: 0 0 1.5rem;
  background: var(--kcid-yellow);
}

.student-life-support__copy h3 {
  max-width: 18ch;
  margin: 0;
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.student-life-support__copy p {
  max-width: 48ch;
  margin: 0.9rem 0 0;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
}

.student-life-support__media {
  align-self: center;
  height: 390px;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--kcid-radius);
  background: var(--kcid-black);
}

.student-life-support__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

#affairs .student-life-support__media {
  height: 430px;
  min-height: 430px;
}

.student-life-support__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin-top: 1.75rem;
  color: var(--kcid-black);
  font-size: 1rem;
  font-weight: 700;
}

.student-life-support__cta > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-yellow);
  transition: transform 160ms ease, background-color 160ms ease;
}

.student-life-support__cta svg {
  width: 1rem;
  height: 1rem;
}

.student-life-support__cta:hover > span,
.student-life-support__cta:focus-visible > span {
  transform: translateX(0.2rem);
  background: var(--kcid-yellow-deep);
}

.clubs-page {
  background: var(--kcid-paper);
}

.clubs-page__intro {
  max-width: 47rem;
  margin-bottom: 2.5rem;
}

.clubs-page__intro h2 {
  margin: 0.35rem 0 0.85rem;
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
}

.clubs-page__intro > p:last-child {
  margin: 0;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.club-card {
  position: relative;
  display: flex;
  min-height: 260px;
  overflow: hidden;
  align-items: end;
  border-radius: var(--kcid-radius);
  border-bottom: 6px solid var(--kcid-yellow);
  background: var(--kcid-black);
  color: var(--kcid-paper);
  isolation: isolate;
}

.club-card:nth-child(4n + 2) { border-bottom-color: var(--kcid-blue); }
.club-card:nth-child(4n + 3) { border-bottom-color: var(--kcid-sky); }
.club-card:nth-child(4n + 4) { border-bottom-color: var(--kcid-yellow-deep); }

.club-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.club-card__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 9, 0.04) 26%, rgba(5, 8, 9, 0.88) 100%);
}

.club-card__content {
  display: flex;
  width: 100%;
  align-items: end;
  padding: 1.35rem;
}

.club-card__content strong {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.3rem;
  line-height: 1.12;
}

.club-card:hover img,
.club-card:focus-visible img {
  transform: scale(1.05);
}

.club-card:focus-visible {
  outline: 3px solid var(--kcid-pink);
  outline-offset: 3px;
}

.feature-grid--color {
  gap: 1rem;
  margin-top: 2rem;
}

.feature-grid--color .feature-card {
  border: 0;
  min-height: 260px;
  box-shadow: 0 10px 24px rgba(5, 8, 9, 0.08);
}

.feature-card--yellow { background: var(--kcid-yellow); }
.feature-card--blue { background: var(--kcid-sky); }
.feature-card--pink { background: var(--kcid-pink); color: var(--kcid-paper); }

.feature-card__icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--kcid-black);
}

.feature-card--pink .feature-card__icon { color: var(--kcid-pink); }

.feature-card h3 {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 850;
}

.feature-card p {
  margin-top: 0.65rem;
  font-size: 0.95rem;
}

.about-page-story {
  background: var(--kcid-paper);
}

.about-page-story__media {
  min-height: 0;
}

.about-stat-grid {
  margin-bottom: 2.5rem;
  border-color: var(--kcid-line);
}

.about-stat-grid strong {
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
}

.reason-grid--about .reason-card {
  min-height: 190px;
  padding: 1.25rem;
}

.reason-grid--about .reason-card h3 {
  font-size: 1.05rem;
}

.reason-grid--about .reason-card p {
  font-size: 0.9rem;
}

.contact-grid--refreshed {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.contact-card--image {
  min-height: 590px;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(5,8,9,0.25), rgba(5,8,9,0.94)), url("../img/hero-business-v2.webp") center / cover no-repeat;
}

.contact-card--image h2 {
  max-width: 12ch;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.03;
}

.contact-card--image > div:first-child > p:last-child {
  max-width: 430px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: grid;
  gap: 0.85rem;
}

.contact-details p {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-details svg {
  flex: 0 0 auto;
  color: var(--kcid-yellow);
}

.contact-form--refreshed {
  align-content: start;
  min-height: 590px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--kcid-soft);
}

.form-heading {
  margin-bottom: 0.5rem;
}

.form-heading h2 {
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
}

.contact-form--refreshed label {
  gap: 0.45rem;
}

.contact-form--refreshed .button {
  width: max-content;
  min-width: 170px;
  margin-top: 0.4rem;
}

.contact-next__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.contact-next__grid h2 {
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-next__grid > div:last-child {
  display: grid;
  gap: 1rem;
  align-content: start;
}

@media (max-width: 900px) {
  .page-intro__grid,
  .admissions-grid--refreshed,
  .contact-grid--refreshed,
  .contact-next__grid {
    grid-template-columns: 1fr;
  }

  .page-intro__grid--reverse > .page-intro__media {
    order: initial;
  }

  .student-life-support__item {
    min-height: 0;
  }

  .student-life-support__item-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .student-life-support__item--reverse .student-life-support__media {
    order: initial;
  }

  #affairs {
    background: var(--kcid-blue);
  }

  .student-life-support__media {
    height: 280px;
    min-height: 280px;
  }

  .page-intro__media,
  .about-page-story__media,
  .contact-card--image,
  .contact-form--refreshed {
    min-height: 0;
  }

  .student-life-video-grid {
    grid-template-columns: 1fr;
  }

  .page-intro__media img,
  .about-page-story__media img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .catalog-grid,
  .program-list--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    min-height: 220px;
  }

  .feature-grid--color {
    grid-template-columns: 1fr;
  }

  .feature-grid--color .feature-card {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .section-heading-row,
  .intake-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading-row .button,
  .intake-banner .button {
    width: 100%;
  }

  .catalog-grid,
  .program-list--compact {
    grid-template-columns: 1fr;
  }

  .catalog-card__body > p:not(.eyebrow) {
    min-height: 0;
  }

  .page-intro__media--tall,
  .about-page-story__media {
    min-height: 0;
  }

  .about-page-story__media .kcid-video-frame {
    min-height: 0;
  }

  .mini-stats span,
  .about-stat-grid span {
    font-size: 0.65rem;
  }

  .contact-form--refreshed .button {
    width: 100%;
  }

}

/* Course discovery and editorial course detail views. These reuse the homepage
 * tokens and the journal's black / white / yellow card rhythm. */
.page-hero--image {
  background-image:
    linear-gradient(90deg, rgba(5, 8, 9, 0.9) 0%, rgba(5, 8, 9, 0.7) 56%, rgba(5, 8, 9, 0.42) 100%),
    var(--page-hero-image);
  background-position: center;
  background-size: cover;
  color: var(--kcid-paper);
}

.page-hero--image p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero--image h1,
.page-hero--image p:not(.eyebrow) {
  max-width: 520px;
}

.page-hero--image.page-hero--title-break h1 {
  max-width: 680px;
}

.page-hero--image.page-hero--about h1 {
  max-width: 820px;
}

.page-hero--programs {
  background-image:
    linear-gradient(180deg, rgba(5, 8, 9, 0.2) 0%, rgba(5, 8, 9, 0.62) 46%, rgba(5, 8, 9, 0.94) 100%),
    var(--page-hero-image) !important;
  background-position: center 52% !important;
}

.page-hero--programs .page-hero__inner {
  min-height: clamp(34rem, 68vh, 44rem) !important;
  justify-content: center !important;
  padding-top: clamp(4rem, 7vh, 6rem) !important;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.page-hero--programs h1 {
  max-width: 760px;
}

.page-hero--programs:not(.page-hero--school-programs) {
  background-color: var(--kcid-paper);
  background-image:
    linear-gradient(90deg, rgba(5, 8, 9, 0.42) 0%, rgba(5, 8, 9, 0.28) 42%, rgba(5, 8, 9, 0.12) 100%),
    var(--page-hero-image) !important;
  color: var(--kcid-ink);
}

.page-hero--programs:not(.page-hero--school-programs) h1 {
  color: #fcfdfe;
  text-shadow: none !important;
}

.page-hero--programs:not(.page-hero--school-programs) .page-hero__icon {
  margin-bottom: 0.25rem;
}

.page-hero--programs:not(.page-hero--school-programs) .course-finder__status {
  color: var(--kcid-black);
}

.page-hero--school-programs .page-hero__inner {
  min-height: clamp(30rem, 64vh, 38rem) !important;
  justify-content: center !important;
  padding-top: clamp(3rem, 8vh, 5rem) !important;
  padding-bottom: clamp(1.5rem, 3vw, 2rem) !important;
}

.page-hero--school-programs .page-hero__title-accent {
  color: var(--kcid-yellow);
}

.page-hero--school-programs .page-hero__title-last-word {
  display: block;
}

.page-hero--school-programs .page-hero__title-ampersand {
  color: var(--kcid-paper);
}

.course-hero-explorer {
  width: 100%;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-top: clamp(1.1rem, 2vw, 1.6rem);
}

.course-hero-explorer--school {
  margin-top: clamp(0.75rem, 1.5vw, 1.15rem);
  padding-top: 0;
  border-top: 0;
}

.course-hero-explorer--school .course-finder__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.course-hero-explorer--school .course-finder__searchbar {
  min-height: 58px;
  min-width: 0;
  margin: 0;
}

.course-hero-explorer--school .course-search input {
  min-height: 56px;
  font-size: 0.9rem;
}

.course-hero-explorer--school .course-finder__controls > .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 165px;
  min-height: 58px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.course-hero-explorer--school .course-finder__status {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 500;
}

.page-hero--programs:has(.course-hero-explorer--school) h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 3.8vw, 3.2rem);
  letter-spacing: -0.01em;
}

.course-hero-explorer__heading h2 {
  color: var(--kcid-paper);
  text-shadow: 0 2px 18px rgba(5, 8, 9, 0.65);
}

.course-hero-explorer .eyebrow--blue {
  color: var(--kcid-yellow);
}

.course-hero-explorer .course-finder__controls {
  margin-top: 1.25rem;
}

.course-hero-explorer .course-finder__school-intro,
.course-hero-explorer .course-finder__popular-label,
.course-hero-explorer .course-finder__status {
  color: rgba(255, 255, 255, 0.88);
}

.course-hero-explorer .course-finder__tag {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(5, 8, 9, 0.55);
  color: var(--kcid-paper);
  backdrop-filter: blur(8px);
}

.course-hero-explorer .course-finder__tag:hover,
.course-hero-explorer .course-finder__tag:focus-visible {
  border-color: var(--kcid-yellow);
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.course-hero-explorer .button--dark {
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.course-finder--results .course-card-grid {
  margin-top: 0;
}

.course-finder {
  background: var(--kcid-paper);
}

.course-finder__controls {
  display: block;
  margin-top: 2rem;
}

.course-finder__school-intro {
  max-width: 620px;
  margin-top: 0.85rem;
  color: var(--kcid-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.course-finder--school .course-finder__searchbar {
  max-width: none;
}

.course-finder--school .course-search {
  width: 100%;
}

.course-finder__searchbar {
  display: flex;
  align-items: stretch;
  min-height: 68px;
  overflow: hidden;
  border: 1px solid rgba(217, 222, 227, 0.7);
  border-radius: 12px;
  background: var(--kcid-paper);
  box-shadow: 0 12px 30px rgba(5, 8, 9, 0.1);
}

.course-search,
.course-filter {
  position: relative;
  display: flex;
  align-items: center;
}

.course-search {
  flex: 1 1 auto;
  min-width: 0;
}

.course-filter {
  flex: 0 1 340px;
  min-width: 250px;
  padding: 0 1.25rem;
  border-left: 1px solid var(--kcid-line);
}

.course-search input,
.course-filter select {
  min-height: 66px;
  border: 0;
  border-radius: 0;
  outline-offset: -3px;
  background: transparent;
  color: var(--kcid-black);
  font-size: 0.98rem;
}

.course-search input {
  padding: 0.8rem 1.25rem 0.8rem 4.2rem;
}

.course-search input::placeholder {
  color: var(--kcid-muted);
}

.course-search__icon {
  position: absolute;
  left: 1rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  color: var(--kcid-blue);
  pointer-events: none;
}

.course-search__icon svg {
  width: 1.9rem;
  height: 1.9rem;
  stroke-width: 1.7;
}

.course-filter__icon,
.course-filter__chevron {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--kcid-blue);
  pointer-events: none;
}

.course-filter__icon svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke-width: 1.7;
}

.course-filter select {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.8rem 0.65rem;
  appearance: none;
  font-weight: 500;
  text-overflow: ellipsis;
}

.course-filter__chevron {
  color: var(--kcid-ink);
}

.course-filter__chevron svg {
  width: 1.1rem;
  height: 1.1rem;
}

.course-finder__searchbar--catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.65fr) auto;
  align-items: center;
  gap: 0.25rem;
  min-height: 66px;
  padding: 0.6rem;
  border-color: #e5eaf0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 63, 145, 0.09);
}

.course-finder__searchbar--catalog .course-search input,
.course-finder__searchbar--catalog .course-filter select {
  min-height: 46px;
  font-size: 0.88rem;
}

.course-finder__searchbar--catalog .course-search input {
  padding: 0.65rem 0.8rem 0.65rem 3rem;
}

.course-finder__searchbar--catalog .course-search__icon {
  left: 0.65rem;
  width: 1.5rem;
}

.course-finder__searchbar--catalog .course-search__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.course-finder__searchbar--catalog .course-filter {
  min-width: 0;
  min-height: 46px;
  padding: 0 1.1rem;
  border: 0;
}

.course-finder__searchbar--catalog .course-filter::before {
  position: absolute;
  top: 50%;
  left: 0;
  height: 28px;
  border-left: 1px solid #e5eaf0;
  content: "";
  transform: translateY(-50%);
}

.course-finder__searchbar--catalog .course-filter__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.course-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: clamp(165px, 18vw, 210px);
  min-height: 46px;
  padding: 0.65rem 1.2rem;
  border: 0;
  border-radius: 6px;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.course-search-submit:hover {
  background: #f2c613;
}

.course-search-submit:focus-visible {
  outline: 2px solid var(--kcid-blue);
  outline-offset: -4px;
}

.course-search-submit svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  .course-finder__searchbar--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-finder__searchbar--catalog .course-search {
    grid-column: 1 / -1;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e5eaf0;
  }

  .course-finder__searchbar--catalog .course-filter {
    padding: 0 0.45rem;
  }

  .course-finder__searchbar--catalog .course-filter::before {
    display: none;
  }

  .course-finder__searchbar--catalog .course-filter select {
    padding-inline: 0.4rem;
    font-size: 0.8rem;
  }

  .course-search-submit {
    min-width: 0;
    width: 100%;
    gap: 0.4rem;
    padding-inline: 0.65rem;
    font-size: 0.75rem;
  }
}

.course-finder__popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-top: 0.65rem;
}

.course-finder__popular-label {
  margin-right: 0.15rem;
  color: var(--kcid-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.course-finder__tag {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: color-mix(in srgb, var(--kcid-sky) 10%, var(--kcid-paper));
  color: var(--kcid-blue);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.course-finder__tag:hover,
.course-finder__tag:focus-visible {
  background: color-mix(in srgb, var(--kcid-sky) 18%, var(--kcid-paper));
  color: var(--kcid-black);
}

.course-finder__tag:hover {
  transform: translateY(-1px);
}

.course-finder__status {
  min-height: 1.3rem;
  margin-top: 0.7rem;
  color: var(--kcid-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.course-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.15rem;
  row-gap: 4rem;
  margin-top: 1.25rem;
  scroll-margin-top: 10rem;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  content-visibility: auto;
  contain-intrinsic-size: auto 470px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--kcid-paper);
  box-shadow: 0 0 0 1px rgba(126, 196, 255, 0.18), 0 10px 26px rgba(94, 177, 245, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(126, 196, 255, 0.34), 0 0 30px rgba(94, 177, 245, 0.3), 0 18px 34px rgba(11, 63, 145, 0.12);
}

.course-card[hidden] {
  display: none;
}

.course-card__number {
  display: none;
}

.course-card__media {
  position: relative;
  display: block;
  min-height: 160px;
  aspect-ratio: 1.52 / 1;
  overflow: hidden;
  border-radius: 0;
  background: var(--kcid-soft);
}

.course-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.course-card:hover .course-card__media img,
.course-card:focus-within .course-card__media img {
  transform: scale(1.03);
}

.course-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-height: 205px;
  margin-top: -1rem;
  padding: 1.3rem 0.9rem 1.55rem;
  border-radius: 14px 14px 0 0;
  background: var(--kcid-paper);
  box-shadow: 0 -8px 18px rgba(5, 8, 9, 0.04);
}

.course-card__body::after {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 1.5%;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--kcid-pink);
  content: "";
  pointer-events: none;
  transform: translateY(44%);
}

.course-card__body::before {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 6%;
  aspect-ratio: 1;
  border-radius: 0 100% 0 0;
  background: #08adeb;
  content: "";
  pointer-events: none;
}

.course-card__body > * {
  position: relative;
  z-index: 2;
}

.course-card__body .eyebrow,
.course-card__body > p:not(.eyebrow) {
  display: none;
}

.course-card h3 {
  max-width: 100%;
  margin: 0;
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.45vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.course-card__meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.5rem 0.78rem;
  border: 0;
  border-radius: 999px;
  background: #e9f4ff;
  color: var(--kcid-black);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.course-card__badge--diploma {
  background: #ffea72 !important;
  color: var(--kcid-black) !important;
}

.course-card__badge--certificate {
  background: #cfe9ff !important;
  color: var(--kcid-blue) !important;
}

.course-card__badge--foundation {
  background: #f6c9ec !important;
  color: #9b145d !important;
}

.course-card__meta .course-card__duration {
  width: auto;
  justify-content: center;
  border-color: #dcebf6;
  border-radius: 999px;
  background: var(--kcid-paper);
  color: var(--kcid-muted);
  font-size: 0.56rem;
  font-weight: 700;
}

.course-card__meta-icon {
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.course-card__duration strong {
  color: var(--kcid-black);
  font-size: 0.62rem;
  font-weight: 800;
}

.course-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: auto;
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid #dce8f2;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.course-card:hover .course-card__actions,
.course-card:focus-within .course-card__actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
  .course-card__actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.course-card__details,
.course-card__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 50px;
  border-radius: 8px;
  padding: 0.65rem 0.5rem;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.course-card__details {
  background: var(--kcid-blue);
  color: var(--kcid-paper);
}

.course-card__details:hover,
.course-card__details:focus-visible {
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.course-card__apply {
  border: 1px solid transparent;
  background: #e8f4ff;
  color: var(--kcid-blue);
}

.course-card__apply:hover,
.course-card__apply:focus-visible {
  border-color: #c5e4fb;
  background: #d8edff;
  color: var(--kcid-blue);
}

/* Team portraits use the same image-led card rhythm as course discovery. */
.team-section {
  background: var(--kcid-soft);
  padding-top: clamp(0.5rem, 1vw, 1rem);
}

.team-section .section-heading-row {
  align-items: end;
}

.team-section__count {
  margin: 0 0 0.25rem auto;
  color: var(--kcid-muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.team-coming-soon {
  display: grid;
  justify-items: center;
  max-width: 52rem;
  margin: clamp(1rem, 3vw, 2rem) auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(126, 196, 255, 0.24);
  border-radius: var(--kcid-radius);
  background: #fff;
  box-shadow: 0 14px 35px rgba(94, 177, 245, 0.12);
  text-align: center;
}

.team-coming-soon__mark {
  display: grid;
  place-items: center;
  width: 3.25rem;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #eaf5ff;
  color: var(--kcid-blue);
}

.team-coming-soon__mark svg {
  width: 1.5rem;
  height: 1.5rem;
}

.team-coming-soon .eyebrow {
  margin: 0 0 0.65rem;
}

.team-coming-soon h2 {
  max-width: 20ch;
  margin: 0;
  color: var(--kcid-black);
}

.team-coming-soon > p:last-child {
  max-width: 39rem;
  margin: 1rem 0 0;
  color: var(--kcid-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.team-group + .team-group {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.team-group__title {
  margin: 0;
  color: var(--kcid-black);
  font-family: Poppins, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-align: center;
}

.blog-card__bubbles {
  position: absolute;
  z-index: 0;
  bottom: -1.75rem;
  left: -1.7rem;
  width: 3.75rem;
  height: 3.75rem;
  pointer-events: none;
}

.blog-card__bubbles i {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.blog-card__bubbles i:first-child {
  z-index: 1;
  inset: 0;
  background: var(--kcid-pink);
}

.blog-card__bubbles i:last-child {
  right: auto;
  bottom: -0.5rem;
  left: 2.15rem;
  width: 3.75rem;
  height: 3.75rem;
  background: #08adeb;
}

.team-group .team-card-grid {
  margin-top: 1.3rem;
}

.team-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.25rem;
  row-gap: 3rem;
  margin-top: 2rem;
}

.team-card-grid--1,
.team-card-grid--2,
.team-card-grid--3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.team-card-grid--1 .team-card,
.team-card-grid--2 .team-card,
.team-card-grid--3 .team-card {
  flex: 0 1 calc((100% - 3.75rem) / 4);
}

.team-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(11, 63, 145, 0.1);
  border-radius: 24px;
  background: var(--kcid-paper);
  box-shadow: 0 0 18px rgba(237, 22, 130, 0.25), 0 0 42px rgba(237, 22, 130, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 24px rgba(237, 22, 130, 0.38), 0 0 54px rgba(237, 22, 130, 0.22);
}

.team-card__media {
  position: relative;
  aspect-ratio: 4 / 4.35;
  overflow: hidden;
  background: var(--kcid-sky);
}

.team-card__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(5, 8, 9, 0.42), transparent);
  content: "";
  pointer-events: none;
}

.team-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.team-card__media--pending {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(145deg, var(--kcid-soft), var(--kcid-sky));
  color: var(--kcid-blue);
  text-align: center;
}

.team-card__media--pending::after {
  display: none;
}

.team-card__media--pending span {
  font-size: 0.9rem;
  font-weight: 700;
}

.team-card:hover .team-card__media img {
  transform: scale(1.03);
}

.team-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 176px;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.55rem;
  margin-top: -1.35rem;
  padding: 1.05rem 1.15rem 1.2rem;
  border-radius: 22px 22px 0 0;
  background: var(--kcid-paper);
  box-shadow: 0 -10px 20px rgba(5, 8, 9, 0.05);
}

.team-card__body::after {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 6%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--kcid-pink);
  content: "";
  pointer-events: none;
  transform: translateY(44%);
}

.team-card__body::before {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 11%;
  aspect-ratio: 1;
  border-radius: 0 100% 0 0;
  background: #08adeb;
  content: "";
  pointer-events: none;
}

.team-card__body > * {
  position: relative;
  z-index: 2;
}

.team-card h3 {
  margin: 0;
  color: var(--kcid-blue);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.team-card__role {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.7em;
  margin: 0;
  color: var(--kcid-blue);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.team-card__role::before {
  display: block;
  flex: 0 0 auto;
  width: 1.65rem;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--kcid-yellow);
  content: "";
}

.team-card__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  min-height: 38px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  background: linear-gradient(135deg, #ffd42a, #ffc400);
  color: var(--kcid-black);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.team-card__profile svg,
.team-profile-dialog__contact svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.team-card__profile:hover,
.team-card__profile:focus-visible {
  background: var(--kcid-blue);
  color: var(--kcid-paper);
  transform: translateY(-1px);
}

.team-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  gap: 0.65rem;
  width: 86%;
  margin-top: auto;
}

.team-card__actions--profile-only {
  grid-template-columns: minmax(0, 1fr);
}

.team-card__linkedin {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: rgba(248, 251, 253, 0.92);
  color: #0a66c2;
  text-decoration: none;
}

.team-card__linkedin svg {
  width: 1.25rem;
  height: 1.25rem;
}

.team-card__footer-accent {
  display: block;
  position: relative;
  margin: 1rem 0 0;
  height: 1.35rem;
}

.team-card__footer-accent::before {
  position: absolute;
  top: 0.25rem;
  left: 4.65rem;
  width: 34%;
  border-top: 1px solid #dce5ee;
  content: "";
}

.team-card__footer-accent::after {
  position: absolute;
  top: 0.15rem;
  right: 0;
  width: 1.55rem;
  height: 0.2rem;
  border-radius: 999px;
  background: var(--kcid-yellow);
  content: "";
}

.team-profile-dialog {
  width: min(46rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100vh - 2rem));
  overflow: auto;
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: var(--kcid-paper);
  box-shadow: 0 24px 70px rgba(5, 8, 9, 0.35);
}

.team-profile-dialog::backdrop {
  background: rgba(5, 8, 9, 0.72);
  backdrop-filter: blur(5px);
}

.team-profile-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

.team-profile-dialog__media {
  min-height: 26rem;
  background: var(--kcid-blue);
}

.team-profile-dialog__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile-dialog__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.team-profile-dialog__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid var(--kcid-line);
  border-radius: 50%;
  background: var(--kcid-paper);
  color: var(--kcid-blue);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.team-profile-dialog__role {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: #d89d00;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-profile-dialog__role::before {
  width: 1.8rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--kcid-yellow);
  content: "";
}

.team-profile-dialog h2 {
  margin: 0.8rem 0;
  color: var(--kcid-blue);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.team-profile-dialog__body > p:not(.team-profile-dialog__role) {
  margin: 0;
  color: var(--kcid-blue);
  font-size: 1rem;
  line-height: 1.5;
}

.team-profile-dialog__contact {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  border-radius: 9px;
  padding: 0.8rem 1rem;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

/* Individual team member profiles. */
.team-profile-page {
  padding-block: clamp(2rem, 5vw, 5rem) clamp(3.5rem, 7vw, 7rem);
  background: var(--kcid-soft);
}

.team-profile-page__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.8rem);
  color: var(--kcid-muted);
  font-size: 0.88rem;
}

.team-profile-page__breadcrumbs a {
  color: var(--kcid-blue);
  font-weight: 700;
  text-decoration: none;
}

.team-profile-page__intro {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border-radius: 28px;
  background: var(--kcid-paper);
  box-shadow: 0 18px 44px rgba(5, 8, 9, 0.12);
}

.team-profile-page__media {
  min-height: clamp(280px, 35vw, 460px);
  background: var(--kcid-blue);
}

.team-profile-page__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile-page__identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.team-profile-page__identity h1,
.team-profile-page__content h2 {
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.team-profile-page__identity h1 {
  max-width: 12ch;
  margin: 0.6rem 0;
  font-size: clamp(2.5rem, 5.4vw, 5.5rem);
  line-height: .98;
}

.team-profile-page__role {
  margin: 0;
  color: var(--kcid-blue);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
}

.team-profile-page__socials {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.7rem;
}

.team-profile-page__socials a {
  border: 1px solid #dce5ee;
  border-radius: 999px;
  padding: .5rem .85rem;
  color: var(--kcid-blue);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.team-profile-page__socials a:hover,
.team-profile-page__socials a:focus-visible {
  border-color: var(--kcid-blue);
  background: var(--kcid-blue);
  color: var(--kcid-paper);
}

.team-profile-page__content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, .75fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(1.5rem, 3vw, 2.8rem);
}

.team-profile-page__bio,
.team-profile-page__qualifications {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 20px;
  background: var(--kcid-paper);
  box-shadow: 0 10px 26px rgba(5, 8, 9, .07);
}

.team-profile-page__content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.team-profile-page__bio p,
.team-profile-page__qualifications li {
  color: var(--kcid-muted);
  line-height: 1.7;
}

.team-profile-page__bio p:last-child {
  margin-bottom: 0;
}

.team-profile-page__qualifications {
  border-top: 5px solid var(--kcid-yellow);
}

.team-profile-page__qualifications ul {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding-left: 1.2rem;
}

.team-profile-page__back {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
}

.team-profile-page__back .button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 600px) {
  .team-profile-dialog[open] {
    grid-template-columns: 1fr;
  }

  .team-profile-dialog__media {
    min-height: 16rem;
  }

  .team-profile-page__intro,
  .team-profile-page__content {
    grid-template-columns: 1fr;
  }

  .team-profile-page__media {
    min-height: min(115vw, 390px);
  }
}

body:not(.home) main .team-card {
  border-radius: 24px;
}

body:not(.home) main .team-card h3 {
  color: var(--kcid-black);
}

.course-card__details svg,
.course-card__apply svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.course-finder__empty {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px dashed var(--kcid-line);
  color: var(--kcid-muted);
  text-align: center;
}

.course-pathway-note {
  background: var(--kcid-soft);
}

.course-pathway-note__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.course-pathway-note h2 {
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.course-pathway-note__grid > div:last-child {
  display: grid;
  gap: 1rem;
}

.course-detail-hero,
.course-detail-related {
  background: var(--kcid-black);
  color: var(--kcid-paper);
}

.course-detail-hero {
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(5, 8, 9, 0.92) 0%, rgba(5, 8, 9, 0.78) 52%, rgba(5, 8, 9, 0.5) 100%),
    var(--course-hero-image);
  background-position: center top;
  background-size: cover;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
}

.course-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.course-detail-back svg {
  transform: rotate(-90deg);
}

.course-detail-back:hover {
  color: var(--kcid-yellow);
}

.course-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-top: 1rem;
}

.course-detail-hero__copy {
  display: grid;
  max-width: 760px;
  min-width: 0;
  gap: 1rem;
}

.course-detail-hero .eyebrow {
  max-width: 100%;
}

.course-detail-hero__school {
  display: block;
  margin-top: 0.3rem;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-detail-hero__action {
  width: max-content;
  margin-top: 0.15rem;
}

.course-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 48rem;
  margin-top: 0.75rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--kcid-paper);
  box-shadow: 0 14px 30px rgba(5, 8, 9, 0.2);
}

.course-detail-meta__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  padding: 1rem;
}

.course-detail-meta__item + .course-detail-meta__item {
  border-left: 1px solid #dce5ee;
}

.course-detail-meta__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.85rem;
  color: var(--kcid-black);
}

.course-detail-meta__item--qualification .course-detail-meta__icon { background: #ffe4f1; color: var(--kcid-pink); }
.course-detail-meta__item--duration .course-detail-meta__icon { background: #fff3c9; color: var(--kcid-yellow-deep); }
.course-detail-meta__item--mode .course-detail-meta__icon { background: #e1f2ff; color: var(--kcid-blue); }

.course-detail-meta__icon svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.course-detail-meta__content {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.course-detail-meta__content span,
.course-apply-card__details span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-detail-meta__item--qualification .course-detail-meta__content span { color: var(--kcid-pink); }
.course-detail-meta__item--duration .course-detail-meta__content span { color: var(--kcid-yellow-deep); }
.course-detail-meta__item--mode .course-detail-meta__content span { color: var(--kcid-blue); }

.course-detail-meta__content strong {
  color: var(--kcid-black);
  min-width: 0;
  font-size: 0.87rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.course-detail-content {
  background: var(--kcid-paper);
}

.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}

.course-detail-article {
  max-width: 680px;
}

.course-detail-article h2 {
  max-width: 15ch;
  margin-top: 0.45rem;
  color: var(--kcid-sky);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.course-detail-article > p:not(.eyebrow):not(.script-label) {
  margin-top: 1.4rem;
  color: var(--kcid-muted);
  font-size: var(--kcid-copy-size);
  line-height: 1.65;
}

.course-detail-section-heading {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--kcid-line);
}

.course-detail-section-heading .eyebrow,
.course-detail-career .eyebrow {
  margin-bottom: 0.65rem;
}

.course-detail-section-heading h3,
.course-detail-career h3 {
  margin-top: 0;
}

.course-detail-section-heading > p:last-child,
.course-detail-career > p:last-child {
  max-width: 38rem;
  margin-top: 0.7rem;
  color: var(--kcid-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.course-detail-article h3 {
  margin-top: 2.75rem;
  color: var(--kcid-black);
  font-size: 1.4rem;
  font-weight: 800;
}

.course-learning-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  background: var(--kcid-line);
}

.course-learning-list li {
  display: grid;
  gap: 0.4rem;
  min-height: 130px;
  padding: 1.25rem;
  background: var(--kcid-paper);
}

.course-learning-list strong {
  color: var(--kcid-black);
  font-size: 0.98rem;
}

.course-learning-list span {
  color: var(--kcid-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.course-detail-career {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--kcid-sky);
}

.course-apply-card {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 1rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 12px;
  background: var(--kcid-soft);
}

.course-apply-card h2 {
  color: var(--kcid-black);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.course-apply-card > p:not(.eyebrow) {
  color: var(--kcid-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.course-apply-card__details {
  display: grid;
  gap: 0.3rem;
  padding-block: 1rem;
  border-top: 1px solid var(--kcid-line);
  border-bottom: 1px solid var(--kcid-line);
}

.course-apply-card__details span {
  color: var(--kcid-pink);
}

.course-apply-card__details strong {
  font-size: 1rem;
}

.course-apply-card .button,
.course-apply-card .text-link {
  width: 100%;
}

.course-apply-card .text-link {
  justify-content: center;
  color: var(--kcid-blue);
  font-size: 0.84rem;
}

.course-entry-requirements {
  gap: 0;
}

.course-entry-requirements__list {
  margin-top: 0.6rem;
}

.course-entry-requirement {
  padding: 1.05rem 0;
  border-top: 1px solid var(--kcid-line);
}

.course-entry-requirement:last-child {
  padding-bottom: 0;
}

.course-entry-requirement h3 {
  margin: 0;
  color: var(--kcid-black);
  font-size: 1rem;
  font-weight: 800;
}

.course-entry-requirement p {
  margin-top: 0.45rem;
  color: var(--kcid-black);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
}

.course-entry-requirement span {
  display: block;
  margin-top: 0.25rem;
  color: var(--kcid-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.course-detail-related {
  padding-block: var(--kcid-section-space);
}

.course-detail-related .blog-section__header {
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  text-align: left;
}

.course-detail-related .script-label {
  color: var(--kcid-yellow);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.course-detail-related h2 {
  max-width: 16ch;
  margin-top: 0.3rem;
  color: var(--kcid-paper);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.08;
}

.course-related-card__image {
  min-height: 180px;
  overflow: hidden;
  background: var(--kcid-soft);
}

.course-related-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .course-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .course-detail-hero {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .course-detail-hero__copy {
    gap: 0.75rem;
  }

  .course-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-card-grid--1 .team-card,
  .team-card-grid--2 .team-card,
  .team-card-grid--3 .team-card {
    flex-basis: calc((100% - 2.5rem) / 3);
  }

  .course-detail-hero__grid,
  .course-detail-layout,
  .course-pathway-note__grid {
    grid-template-columns: 1fr;
  }

  .course-detail-hero__copy {
    order: 2;
  }

  .course-apply-card {
    position: static;
  }
}

@media (max-width: 600px) {
  .page-hero--image {
    background-color: var(--kcid-black);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 0;
  }

  .page-hero--image.page-hero--about {
    --page-hero-image: var(--page-hero-image-mobile) !important;
  }

  .page-hero--partners {
    background-position: 88% top !important;
  }

  .page-hero--schools {
    background-position: 75% top !important;
  }

  .page-hero--programs:not(.page-hero--school-programs) {
    --page-hero-image: var(--page-hero-image-mobile) !important;
  }

  .page-hero h1,
  .course-detail-hero h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.06;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .page-hero--image .page-hero__inner {
    padding-block: 2rem 1.25rem;
  }

  .page-hero--programs .page-hero__inner {
    min-height: 0 !important;
    padding-top: 5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .course-hero-explorer {
    min-width: 0;
    max-width: 100%;
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .course-hero-explorer__heading {
    width: 100%;
    min-width: 0;
    gap: 1rem;
  }

  .course-hero-explorer__heading > div,
  .course-hero-explorer .course-finder__controls,
  .course-hero-explorer .course-finder__searchbar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .course-hero-explorer__heading h2 {
    max-width: 16ch;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    text-wrap: balance;
  }

  .page-hero--projects h1 {
    max-width: 15ch;
  }

  .page-hero--programs:has(.course-hero-explorer--school) h1 {
    font-size: clamp(2.1rem, 7vw, 2.8rem);
  }

  .course-hero-explorer .course-finder__controls {
    margin-top: 1rem;
  }

  .course-hero-explorer--school .course-finder__controls {
    grid-template-columns: 1fr;
  }

  .course-hero-explorer--school .course-finder__controls > .button {
    width: 100%;
    min-height: 58px;
  }

  .page-hero--about h1 {
    font-size: clamp(1.8rem, 6.7vw, 2.25rem);
  }

  .course-detail-hero__grid,
  .course-detail-hero__copy {
    width: 100%;
  }

  .course-finder__searchbar {
    flex-direction: column;
  }

  .course-search,
  .course-filter {
    flex: 0 0 auto;
  }

  .course-search {
    width: 100%;
  }

  .course-filter {
    min-width: 0;
    min-height: 58px;
    padding-inline: 1rem;
    border-top: 1px solid var(--kcid-line);
    border-left: 0;
  }

  .course-filter select {
    min-height: 56px;
  }

  .course-finder__controls,
  .course-card-grid,
  .course-learning-list {
    grid-template-columns: 1fr;
  }

  body:not(.home) .section-pad.course-finder--results > .container {
    width: min(1512px, calc(100% - 32px));
  }

  .team-section .section-heading-row {
    align-items: stretch;
  }

  .team-section__count {
    margin-top: -0.5rem;
  }

  .team-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.8rem;
    row-gap: 1.75rem;
    margin-top: 1.5rem;
  }

  .team-card-grid--1 .team-card,
  .team-card-grid--2 .team-card,
  .team-card-grid--3 .team-card {
    flex-basis: calc((100% - 0.8rem) / 2);
  }

  .team-card__body {
    min-height: 106px;
    padding: 1rem;
  }

  .team-card h3 {
    font-size: 1rem;
  }

  .team-card__body p {
    font-size: 0.72rem;
  }

  .course-finder__controls {
    gap: 0.65rem;
  }

  .course-card {
    min-height: 0;
  }

  .course-card__body {
    min-height: 0;
  }

  .course-card__actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .course-detail-hero h1 {
    max-width: none;
  }

  .course-detail-hero__action {
    width: 100%;
  }

  .course-detail-hero .eyebrow {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .course-detail-meta {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .course-detail-meta__item {
    overflow-wrap: anywhere;
    padding: 0.8rem;
    border-left: 0;
  }

  .course-detail-meta__item + .course-detail-meta__item {
    border-top: 1px solid #dce5ee;
    border-left: 0;
  }

  .course-detail-related .blog-section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-detail-related .blog-section__header .button {
    width: 100%;
  }
}

/* Intake section reference layout */
.intake-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--kcid-paper);
}

.intake-section::before,
.intake-section::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: #fff8dd;
  content: "";
  pointer-events: none;
}

.intake-section::before {
  top: -10.5rem;
  right: -10rem;
  width: 20rem;
  height: 20rem;
}

.intake-section::after {
  bottom: -12rem;
  left: -11rem;
  width: 23rem;
  height: 23rem;
}

.intake-section__inner {
  position: relative;
  z-index: 1;
  width: min(1296px, calc(100vw - 144px));
  height: 420px;
  min-height: 420px;
  max-height: 420px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 3vw, 3.5rem);
  padding-block: 0.75rem;
}

.intake-section__content {
  max-width: 760px;
}

.intake-kicker {
  min-width: 210px;
  min-height: 42px;
  padding-right: 1rem;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 700;
}

.intake-kicker__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-right: 0.65rem;
}

.intake-kicker__icon svg {
  width: 22px;
  height: 22px;
}

.intake-section h2 {
  display: flex;
  max-width: 760px;
  align-items: baseline;
  gap: 0.22em;
  margin-top: 0.65rem;
  margin-bottom: 0;
  color: var(--kcid-black);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  transform: none;
  white-space: nowrap;
}

.intake-section h2 span,
.intake-section h2 strong {
  display: inline;
}

.intake-section h2 span {
  color: var(--kcid-black);
}

.intake-section h2 strong {
  color: var(--kcid-pink);
  margin-top: 0;
  font-size: 1.02em;
  font-weight: 700;
  line-height: 1.04;
  transform: none;
}

.intake-section__accent {
  width: 80px;
  height: 7px;
  margin: 8px 0 36px;
  background: var(--kcid-sky);
}

.intake-section__copy {
  max-width: 720px;
  margin-top: 1.25rem;
  color: var(--kcid-muted);
  font-size: clamp(0.875rem, 0.95vw, 0.95rem);
  line-height: 1.6;
}

.intake-date-pill {
  display: none;
}

.intake-countdown {
  width: min(520px, 100%);
  max-width: 520px;
  min-width: 0;
  min-height: 60px;
  margin: 0.85rem 0 0;
  padding: 0.35rem 0.7rem 0.35rem 0;
  border: 0;
  border-radius: 14px;
  background: #fffbeb;
  box-shadow: none;
  justify-self: start;
}

.intake-countdown__item {
  padding-inline: 0.6rem;
  min-width: 0;
}

.intake-countdown__item:first-child {
  justify-items: center;
  padding-left: 0;
  text-align: center;
}

.intake-countdown__item strong {
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 700;
}

.intake-countdown__item span {
  font-size: 0.72rem;
  font-weight: 600;
}

.intake-countdown__item + .intake-countdown__item::before {
  left: 0;
  width: 1px;
}

.intake-actions {
  gap: clamp(0.75rem, 1vw, 1rem);
  margin-top: 36px;
}

.button--intake {
  display: inline-flex;
  min-width: 175px;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 14px;
  padding-inline: clamp(1rem, 1.5vw, 1.5rem);
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  font-weight: 600;
}

.button--intake svg {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button--intake:hover {
  background: #f5c400;
  color: var(--kcid-black);
}

.intake-section .button--intake {
  min-width: 0;
  border-radius: 999px;
  padding: 0.35rem 0.45rem 0.35rem 1.15rem;
  gap: 0.7rem;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(5, 8, 9, 0.12);
}

.intake-section__cta-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-pink);
  color: var(--kcid-paper);
  box-shadow: 0 2px 8px rgba(5, 8, 9, 0.16);
}

.intake-section__cta-icon svg {
  width: 18px;
  height: 18px;
}

.intake-call {
  gap: 0.65rem;
  min-height: 48px;
  text-decoration: none;
}

.intake-call__icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(237, 22, 130, 0.24);
  background: rgba(237, 22, 130, 0.08);
  color: var(--kcid-pink);
}

.intake-call__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.intake-call__icon svg circle {
  fill: currentColor;
  stroke: none;
}

.intake-call__copy {
  gap: 0.2rem;
  border-left: 0;
  padding-left: 0.15rem;
  line-height: 1.25;
}

.intake-call__copy strong {
  font-size: 0.9rem;
  font-weight: 900;
}

.intake-call__copy span {
  color: var(--kcid-muted);
  font-size: 0.75rem;
}

.intake-section__visual {
  height: 100%;
  min-height: 0;
  isolation: isolate;
}

.intake-section__visual::before {
  z-index: -2;
  right: 4.2%;
  bottom: -4rem;
  width: min(28vw, 360px);
  height: min(28vw, 360px);
  background: var(--kcid-yellow);
}

.intake-section__visual::after {
  position: absolute;
  z-index: -3;
  top: 20%;
  right: -1%;
  width: min(10vw, 150px);
  height: min(10vw, 150px);
  border-radius: 48% 52% 52% 48%;
  background: var(--kcid-sky);
  content: "";
}

.intake-section__visual img {
  position: absolute;
  z-index: 1;
  top: -0.3rem;
  left: 43%;
  width: min(92%, 430px);
  max-width: none;
  height: auto;
  margin: 0;
  transform: translateX(-50%);
}

.intake-section__rays,
.intake-section__blue-marks,
.intake-section__dots {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.intake-section__blue-marks,
.intake-section__dots {
  display: none;
}

.intake-section__rays {
  top: 8%;
  left: 18%;
  width: 82px;
  height: 82px;
  transform: scale(0.88);
  transform-origin: top left;
}

.intake-section__rays i,
.intake-section__blue-marks i {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.intake-section__rays i {
  width: 56px;
  height: 14px;
  background: var(--kcid-yellow);
}

.intake-section__rays i:nth-child(1) {
  top: 0;
  left: 24px;
  transform: rotate(28deg);
}

.intake-section__rays i:nth-child(2) {
  top: 34px;
  left: 6px;
  width: 52px;
  transform: rotate(7deg);
}

.intake-section__rays i:nth-child(3) {
  top: 63px;
  left: 12px;
  width: 46px;
  transform: rotate(-3deg);
}

.intake-section__blue-marks {
  top: 14%;
  right: 25%;
  width: 74px;
  height: 82px;
}

.intake-section__blue-marks i {
  width: 14px;
  height: 54px;
  background: var(--kcid-sky);
}

.intake-section__blue-marks i:nth-child(1) {
  top: 2px;
  right: 34px;
  transform: rotate(35deg);
}

.intake-section__blue-marks i:nth-child(2) {
  top: 32px;
  right: 6px;
  height: 42px;
  transform: rotate(65deg);
}

.intake-section__blue-marks i:nth-child(3) {
  top: 48px;
  right: 46px;
  height: 34px;
  transform: rotate(78deg);
}

.intake-section__dots {
  top: 52%;
  right: -3%;
  width: 78px;
  height: 94px;
  background-image: radial-gradient(var(--kcid-yellow) 3.5px, transparent 4px);
  background-size: 24px 24px;
}

.intake-starts {
  right: -2rem;
  bottom: 1rem;
  gap: 0.8rem;
  min-width: 260px;
  min-height: 64px;
  padding: 0.5rem 0.8rem;
  border-radius: 18px;
  border: 1px solid rgba(5, 8, 9, 0.1);
  box-shadow: 0 8px 20px rgba(5, 8, 9, 0.07);
}

.intake-starts__icon {
  width: 46px;
  height: 46px;
}

.intake-starts__icon svg {
  width: 26px;
  height: 26px;
}

.intake-starts__copy {
  gap: 0.2rem;
  border-left: 3px solid var(--kcid-sky);
  padding-left: 0.8rem;
  font-size: 0.8rem;
}

.intake-starts__copy strong {
  font-size: 1.05rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .intake-section__inner {
    width: min(1296px, calc(100vw - 64px));
    min-height: 420px;
    gap: 2rem;
  }

  .intake-section h2 {
    font-size: 2.8rem;
  }

  .intake-section__visual {
    min-height: 0;
  }

  .intake-section__visual img {
    width: min(100%, 560px);
  }

  .intake-starts {
    right: -0.5rem;
    min-width: 280px;
  }
}

@media (max-width: 900px) {
  .intake-section__inner {
    width: min(1296px, calc(100vw - 48px));
    height: 420px;
    min-height: 420px;
    max-height: 420px;
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 0;
  }

  .intake-section__content {
    width: min(100%, 850px);
    margin-inline: auto;
    transform: none;
  }

  .intake-section h2 {
    font-size: 2.8rem;
    transform: none;
  }

  .intake-section__copy {
    max-width: 760px;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  }

  .intake-date-pill {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.55rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(237, 22, 130, 0.22);
    border-radius: 999px;
    background: rgba(237, 22, 130, 0.07);
    color: var(--kcid-ink);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
  }

  .intake-date-pill__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: var(--kcid-pink);
  }

  .intake-date-pill__icon svg {
    width: 18px;
    height: 18px;
  }

  .intake-date-pill strong {
    color: var(--kcid-pink);
    font-weight: 700;
  }

  .intake-section__visual {
    display: none;
  }

  .intake-section__visual::before {
    right: 50%;
    bottom: 0;
    width: min(76vw, 520px);
    height: min(76vw, 520px);
    transform: translateX(50%);
  }

  .intake-section__visual::after {
    top: 8%;
    right: 6%;
    width: min(25vw, 180px);
    height: min(25vw, 180px);
  }

  .intake-section__visual img {
    top: 0;
    left: 50%;
    width: min(94%, 640px);
  }

  .intake-section__rays {
    top: 14%;
    left: 3%;
  }

  .intake-section__blue-marks {
    top: 7%;
    right: 22%;
  }

  .intake-section__dots {
    top: 48%;
    right: 0;
  }

  .intake-starts {
    right: 0;
    bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .intake-section__inner {
    width: min(1296px, calc(100vw - 32px));
    height: 420px;
    min-height: 420px;
    max-height: 420px;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 0.75rem;
  }

  .intake-section__content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .intake-kicker {
    min-width: 0;
    min-height: 40px;
    padding-right: 0.8rem;
    font-size: 0.75rem;
  }

  .intake-kicker__icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
  }

  .intake-kicker__icon svg {
    width: 20px;
    height: 20px;
  }

  .intake-section h2 {
    display: block;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    font-size: clamp(2.25rem, 6.4vw, 2.8rem);
    white-space: normal;
  }

  .about-section h2 {
    font-size: clamp(2.25rem, 6.4vw, 2.8rem);
  }

  .schools-section h2 {
    font-size: clamp(2.25rem, 6.4vw, 2.8rem);
  }

  .intake-section h2 span,
  .intake-section h2 strong {
    min-width: 0;
  }

  .intake-section h2 strong {
    display: inline-block;
    margin-left: 0.22em;
  }

  .intake-section__accent {
    width: 68px;
    height: 6px;
    margin: 8px 0 36px;
  }

  .intake-section__copy {
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .intake-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 54px;
    margin-top: 0.5rem;
    padding: 0.25rem 0.15rem 0.25rem 0;
    border-radius: 14px;
  }

  .intake-countdown__item {
    padding-inline: 0.15rem;
  }

  .intake-countdown__item:first-child {
    padding-left: 0;
  }


  .intake-countdown__item strong {
    font-size: clamp(1.15rem, 5.5vw, 1.5rem);
  }

  .intake-countdown__item span {
    font-size: 0.56rem;
  }

  .intake-actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.65rem;
    margin-top: 36px;
  }

  .intake-date-pill {
    min-height: 28px;
    margin-top: 0.4rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.7rem;
  }

  .intake-section .button--intake {
    width: auto;
    min-width: 0;
    min-height: 50px;
    flex: 0 0 auto;
    max-width: 100%;
    gap: 0.5rem;
    padding-inline: 0.75rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .intake-section .intake-call {
    width: auto;
    min-height: 42px;
    flex: 0 0 auto;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .intake-call__icon {
    width: 42px;
    height: 42px;
  }

  .intake-call__copy {
    padding-left: 0.5rem;
  }

  .intake-section__visual {
    min-height: clamp(470px, 120vw, 590px);
  }

  .intake-section__visual::before {
    width: min(84vw, 390px);
    height: min(84vw, 390px);
  }

  .intake-section__visual img {
    width: min(100%, 500px);
  }

  .intake-section__rays {
    top: 11%;
    left: 0;
    transform: scale(0.76);
    transform-origin: top left;
  }

  .intake-section__blue-marks {
    top: 5%;
    right: 16%;
    transform: scale(0.76);
    transform-origin: top right;
  }

  .intake-section__dots {
    top: 44%;
    right: -0.3rem;
    transform: scale(0.78);
    transform-origin: top right;
  }

  .intake-starts {
    right: 0;
    bottom: 1rem;
    width: min(385px, calc(100% - 8px));
    min-width: 0;
    min-height: 88px;
    gap: 0.85rem;
    padding: 0.7rem 0.85rem;
    border-radius: 20px;
  }

  .intake-starts__icon {
    width: 58px;
    height: 58px;
  }

  .intake-starts__copy {
    gap: 0.2rem;
    padding-left: 0.8rem;
    font-size: 0.95rem;
  }

  .intake-starts__copy strong {
    font-size: 1.2rem;
  }
}

@media (max-width: 380px) {
  .intake-section h2 {
    font-size: 2.25rem;
  }
}

/* Image-led call to action placed directly before the global footer. */
.prefooter-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 370px;
  overflow: hidden;
  background-color: #050809;
  background-image: url("../img/cta-design-journey-clean.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--kcid-paper);
}

.prefooter-cta::before {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 50%;
  background: linear-gradient(
    90deg,
    rgba(5, 8, 9, 0.56) 0%,
    rgba(5, 8, 9, 0.48) 22%,
    rgba(5, 8, 9, 0.38) 45%,
    rgba(5, 8, 9, 0.24) 65%,
    rgba(5, 8, 9, 0.1) 82%,
    rgba(5, 8, 9, 0) 100%
  );
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
}

.prefooter-cta__shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1296px, calc(100vw - 144px));
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  padding-block: clamp(2rem, 1.5vw, 2.5rem) clamp(2.4rem, 3vw, 4.25rem);
}

.prefooter-cta__brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.75rem;
  color: var(--kcid-paper);
  text-transform: uppercase;
}

.prefooter-cta__brand strong {
  padding-right: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.7);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.6rem, 1.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.prefooter-cta__brand span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.prefooter-cta__content {
  max-width: 760px;
  margin-top: 0;
}

.prefooter-cta h2 {
  max-width: 100%;
  margin: 0;
  color: var(--kcid-paper);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3rem, 3vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.prefooter-cta h2 span {
  display: block;
  color: var(--kcid-yellow);
}

.prefooter-cta h2 .prefooter-cta__title-line {
  color: var(--kcid-paper);
  white-space: nowrap;
}

.prefooter-cta__content > p {
  max-width: 620px;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.1vw, 1.35rem);
  line-height: 1.45;
  letter-spacing: normal;
}

.prefooter-cta__desktop-break {
  display: block;
}

.prefooter-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  min-height: 0;
  margin-top: 1.75rem;
  border-radius: 999px;
  padding: 0.35rem 0.45rem 0.35rem 1.15rem;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(5, 8, 9, 0.12);
  transition: transform 160ms ease, background-color 160ms ease;
}

.prefooter-cta__button:hover,
.prefooter-cta__button:focus-visible {
  background: var(--kcid-yellow-deep);
  color: var(--kcid-black);
  transform: translateY(-1px);
}

.prefooter-cta__button:hover svg,
.prefooter-cta__button:focus-visible svg {
  background: var(--kcid-pink);
}

.prefooter-cta__button svg {
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 50%;
  background: var(--kcid-pink);
  color: var(--kcid-paper);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  box-shadow: 0 2px 8px rgba(5, 8, 9, 0.16);
}

.prefooter-cta__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: auto 0 0;
  padding: 2rem 0 0;
  list-style: none;
}

.prefooter-cta__features li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  padding-inline: 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.27);
}

.prefooter-cta__features li:first-child {
  padding-left: 0;
}

.prefooter-cta__features li:last-child {
  padding-right: 0;
  border-right: 0;
}

.prefooter-cta__features strong {
  color: var(--kcid-paper);
  font-size: clamp(0.75rem, 0.75vw, 0.88rem);
  font-weight: 600;
  line-height: 1.25;
}

.prefooter-cta__feature-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--kcid-black);
}

.prefooter-cta__feature-icon--yellow {
  background: var(--kcid-yellow);
}

.prefooter-cta__feature-icon--blue {
  background: var(--kcid-sky);
}

.prefooter-cta__feature-icon--pink {
  background: var(--kcid-pink);
}

.prefooter-cta__feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 1100px) {
  .prefooter-cta {
    min-height: 370px;
    background-image: url("../img/cta-design-journey-clean.webp");
    background-position: 70% center;
    background-size: cover;
  }

  .prefooter-cta__shell {
    width: calc(100% - 64px);
    max-width: 980px;
  }
}

@media (max-width: 700px) {
  .prefooter-cta {
    min-height: 0;
    background-image: url("../img/cta-design-journey-clean-640w.webp");
    background-position: 66% center;
    background-size: cover;
  }

  .blog-section {
    background-image:
      linear-gradient(180deg, rgba(5, 8, 9, 0.9), rgba(5, 8, 9, 0.78) 48%, rgba(5, 8, 9, 0.94)),
      url("../img/student-work-strip-640w.webp");
  }

  .work-strip {
    background-image: url("../img/student-work-strip-640w.webp");
  }

  .prefooter-cta::before {
    width: 50%;
    background: linear-gradient(
      90deg,
      rgba(5, 8, 9, 0.55) 0%,
      rgba(5, 8, 9, 0.46) 22%,
      rgba(5, 8, 9, 0.34) 45%,
      rgba(5, 8, 9, 0.18) 65%,
      rgba(5, 8, 9, 0.06) 82%,
      rgba(5, 8, 9, 0) 100%
    );
  }

  .prefooter-cta__shell {
    width: calc(100% - 40px);
    max-width: 620px;
    padding-block: 2.5rem 3rem;
  }

  .prefooter-cta__content {
    margin-top: 0;
  }

  .prefooter-cta h2 {
    overflow-wrap: anywhere;
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  .prefooter-cta h2 .prefooter-cta__title-line {
    white-space: normal;
  }

  .prefooter-cta__content > p {
    overflow-wrap: anywhere;
    font-size: 1rem;
  }

  .prefooter-cta__desktop-break {
    display: none;
  }

  .prefooter-cta__button {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
  }

  .prefooter-cta__features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 0;
  }

  .prefooter-cta__features li,
  .prefooter-cta__features li:first-child,
  .prefooter-cta__features li:last-child {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 0;
  }
}

/* Reference footer: five information panels with a mapped location. */
.site-footer {
  border-top: 8px solid var(--kcid-yellow);
  background:
    radial-gradient(circle at 6% 92%, rgba(72, 170, 219, 0.035), transparent 30%),
    var(--kcid-black);
  color: var(--kcid-paper);
}

.footer-shell {
  width: min(1296px, calc(100vw - 144px));
  margin-inline: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr) minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, 1.35fr);
  gap: 0;
  padding-block: clamp(2.75rem, 4vw, 4rem) clamp(2.5rem, 3.5vw, 3.5rem);
}

.footer-panel {
  min-width: 0;
  padding-inline: clamp(1rem, 1.5vw, 1.5rem);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.footer-panel:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-location {
  padding-right: 0;
}

.footer-brand .brand {
  display: block;
  width: min(100%, 240px);
  min-width: 0;
  max-width: 240px;
}

.footer-brand .brand__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.footer-brand > p {
  max-width: 270px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--kcid-copy-size);
  line-height: var(--kcid-copy-leading);
}

.site-footer .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.site-footer .socials a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--kcid-paper);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-footer .socials a:hover,
.site-footer .socials a:focus-visible {
  border-color: var(--kcid-yellow);
  color: var(--kcid-yellow);
  transform: translateY(-2px);
}

.site-footer .socials svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  color: var(--kcid-paper);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-heading > span {
  display: inline-grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--kcid-yellow);
}

.footer-heading svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-link {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  line-height: 1.35;
  text-decoration: none;
}

.footer-link > span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--kcid-yellow);
}

.footer-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-link:hover,
.footer-link:focus-visible,
.footer-link.is-current {
  color: var(--kcid-yellow);
}

.footer-contact p {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  line-height: 1.45;
}

.footer-contact p > svg {
  width: 20px;
  height: 20px;
  margin-top: 0.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  color: var(--kcid-yellow);
}

.footer-contact a {
  color: inherit;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--kcid-yellow);
}

.footer-location__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.footer-location__heading .footer-heading {
  margin: 0;
}

.footer-location__heading > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.4rem;
  color: var(--kcid-yellow);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.footer-location__heading > a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-map {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.48;
  min-height: 170px;
  border-radius: 12px;
  background: #e7edf5;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-map__link {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--kcid-black);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(5, 8, 9, 0.16);
}

.footer-map__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-map__link svg:last-child {
  width: 13px;
  height: 13px;
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

@media (max-width: 1350px) {
  .footer-shell {
    width: min(1296px, calc(100vw - 144px));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 3.5rem;
  }

  .footer-panel {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-top: 0;
    border-top: 0;
  }

  .footer-links:nth-of-type(2),
  .footer-location {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer-location {
    grid-column: 1 / -1;
    padding-bottom: 0;
    border-left: 0;
  }

  .footer-map {
    aspect-ratio: 16 / 7;
  }

  .site-footer .footer-bottom {
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 700px) {
  .site-footer {
    border-top-width: 6px;
  }

  .footer-shell {
    width: min(calc(100vw - 32px), 1296px);
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-block: 2rem;
  }

  .footer-brand,
  .footer-location {
    grid-column: auto;
  }

  .footer-panel,
  .footer-panel:first-child,
  .footer-links:nth-of-type(2),
  .footer-location {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .footer-panel:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .footer-brand .brand {
    width: min(100%, 240px);
  }

  .footer-location__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-map {
    min-height: 250px;
    aspect-ratio: 4 / 3;
  }

  .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.5rem 2rem;
  }
}

/* -------------------------------------------------------------------------
 * Shared page system
 *
 * The homepage is the visual source of truth for the site. These rules bring
 * the interior content templates back into that same rhythm: bold Poppins
 * headings, spacious white sections, yellow/pink/sky accents, and the
 * homepage's soft card treatment. Hero sections are intentionally untouched.
 * ------------------------------------------------------------------------- */
body:not(.home) .section-pad {
  padding-block: var(--kcid-section-space);
}

body:not(.home) .team-section {
  padding-top: clamp(1rem, 2vw, 2rem);
}

body:not(.home) .team-section .team-card-grid {
  margin-top: clamp(1rem, 2vw, 2rem);
}

body:not(.home) .section-pad > .container,
body:not(.home) .section-pad > .design-wide {
  width: var(--kcid-container);
}

body:not(.home) .section-pad h2,
body:not(.home) .section-pad h3 {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
}

body:not(.home) .section-pad h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.12;
}

body:not(.home) .section-heading-row h2,
body:not(.home) .projects-section__intro h2,
body:not(.home) .student-life-video-section__intro h2,
body:not(.home) .admissions-copy h2,
body:not(.home) .form-heading h2,
body:not(.home) .about-page-story h2,
body:not(.home) .events-listing__header h2,
body:not(.home) .events-listing-note h2 {
  color: var(--kcid-sky);
}

body:not(.home) .feature-card h3,
body:not(.home) .pathway-card h2,
body:not(.home) .course-card h3,
body:not(.home) .team-card h3,
body:not(.home) .event-card h3 {
  color: var(--kcid-black);
}

body:not(.home) .section-pad > .container > p:not(.eyebrow),
body:not(.home) .section-pad .section-heading-row > p,
body:not(.home) .section-pad .section-intro p:not(.eyebrow) {
  color: var(--kcid-muted);
}

body:not(.home) .section-light {
  background: var(--kcid-soft);
}

body:not(.home) .section-dark,
body:not(.home) .course-detail-related {
  background: var(--kcid-black);
}

body:not(.home) .feature-card,
body:not(.home) .pathway-card,
body:not(.home) .course-card,
body:not(.home) .team-card,
body:not(.home) .project-card,
body:not(.home) .contact-card,
body:not(.home) .contact-form,
body:not(.home) .admissions-form,
body:not(.home) .panel,
body:not(.home) .stat-panel,
body:not(.home) .events-featured__card,
body:not(.home) .event-card,
body:not(.home) .course-apply-card {
  border-radius: var(--kcid-radius);
  box-shadow: 0 10px 26px rgba(5, 8, 9, 0.08);
}

body:not(.home) .course-card {
  box-shadow: 0 0 0 1px rgba(126, 196, 255, 0.18), 0 10px 26px rgba(94, 177, 245, 0.2);
}

body:not(.home) .course-card:hover {
  box-shadow: 0 0 0 1px rgba(126, 196, 255, 0.34), 0 0 30px rgba(94, 177, 245, 0.3), 0 18px 34px rgba(11, 63, 145, 0.12);
}

body:not(.home) .team-card {
  box-shadow: 0 0 18px rgba(237, 22, 130, 0.25), 0 0 42px rgba(237, 22, 130, 0.14);
}

body:not(.home) .team-card:hover {
  box-shadow: 0 0 24px rgba(237, 22, 130, 0.38), 0 0 54px rgba(237, 22, 130, 0.22);
}

body:not(.home) .button--primary,
body:not(.home) .button--intake {
  border-radius: 8px;
}

body:not(.home) .eyebrow--blue {
  color: var(--kcid-blue);
}

@media (max-width: 760px) {
  body:not(.home) .section-pad > .container,
  body:not(.home) .section-pad > .design-wide {
    width: min(calc(100vw - 32px), 1180px);
  }
}

/* Image-and-text sections follow the homepage's first content block: image
 * first, copy second, no decorative kicker, large heading, and one clear
 * yellow action. */
body:not(.home) .about-page-story {
  background: var(--kcid-paper);
}

body:not(.home) .about-page-story .page-intro__grid {
  grid-template-columns: minmax(0, 605px) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
}

/* The archive carries long editorial titles, so it needs the full page width
 * and a card-level type scale instead of the generic section-heading scale. */
body:not(.home) .blog-archive.section-pad {
  padding-top: clamp(2.5rem, 4vw, 3.75rem);
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}

body:not(.home) .section-pad > .container.content-page--blog-archive {
  width: var(--kcid-container);
  max-width: none;
}

body:not(.home) .content-page--blog-archive .blog-archive-header {
  max-width: none;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

body:not(.home) .content-page--blog-archive .blog-archive-header h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  line-height: 1.1;
}

body:not(.home) .content-page--blog-archive .blog-card-grid--archive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2vw, 1.6rem);
}

body:not(.home) .content-page--blog-archive .blog-card {
  min-width: 0;
  display: block;
  box-shadow: 0 12px 28px rgba(5, 8, 9, 0.11);
}

body:not(.home) .content-page--blog-archive .blog-card__permalink {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

body:not(.home) .content-page--blog-archive .blog-card__permalink:focus-visible {
  outline: 3px solid var(--kcid-yellow);
  outline-offset: -3px;
}

body:not(.home) .content-page--blog-archive .blog-card__image {
  display: block;
  height: clamp(190px, 15vw, 220px);
  flex: 0 0 auto;
  aspect-ratio: auto;
  object-fit: cover;
}

body:not(.home) .content-page--blog-archive .blog-card__body {
  min-height: 12rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem 1.35rem;
  text-align: left;
}

body:not(.home) .content-page--blog-archive .blog-card h2 {
  margin: 0.65rem 0 1.2rem;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  font-weight: 700;
  line-height: 1.35;
}

body:not(.home) .content-page--blog-archive .blog-card__link {
  color: var(--kcid-blue);
  font-weight: 750;
}

body:not(.home) .content-page--blog-archive .blog-card__permalink:hover .blog-card__link,
body:not(.home) .content-page--blog-archive .blog-card__permalink:focus-visible .blog-card__link {
  color: var(--kcid-pink);
}

.blog-archive .navigation.pagination {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.blog-archive .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-archive .page-numbers {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--kcid-line);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  color: var(--kcid-blue);
  font-weight: 750;
  text-decoration: none;
}

.blog-archive .page-numbers.current {
  border-color: var(--kcid-yellow);
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.blog-archive a.page-numbers:hover,
.blog-archive a.page-numbers:focus-visible {
  border-color: var(--kcid-blue);
  background: var(--kcid-soft);
}

.blog-archive .page-numbers.dots {
  min-width: auto;
  border: 0;
}

body:not(.home) .blog-post__header h1 {
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

body:not(.home) .blog-post__content h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}

body:not(.home) .blog-post__content p {
  color: #4c5869;
  font-size: 0.98rem;
  line-height: 1.6;
}

.blog-post__content img.emoji,
.blog-post__content img.wp-smiley {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin: 0 0.07em;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  vertical-align: -0.1em;
}

body:not(.home) .section-pad > .container.content-page.blog-post {
  width: var(--kcid-container);
  max-width: none;
}

.blog-post__header {
  max-width: 860px;
}

.blog-post__layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(280px, 340px);
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.blog-post__main {
  min-width: 0;
}

body:not(.home) .blog-post__sidebar .course-entry-feature > h2,
body:not(.home) .blog-post__sidebar .course-sidebar-related h2,
body:not(.home) .blog-post__sidebar .course-sidebar-cta h2 {
  font-size: 1.2rem;
  line-height: 1.1;
}

@media (max-width: 980px) {
  .blog-post__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body:not(.home) .section-pad > .container.content-page.blog-post {
    width: min(calc(100vw - 32px), 1180px);
  }
}

@media (max-width: 900px) {
  body:not(.home) .content-page--blog-archive .blog-card-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body:not(.home) .content-page--blog-archive .blog-card-grid--archive {
    grid-template-columns: minmax(0, 1fr);
  }
}

body:not(.home) .about-page-story__media {
  min-height: 441px;
  border-radius: var(--kcid-radius);
}

body:not(.home) .about-page-story .page-intro__copy {
  gap: 0;
}

body:not(.home) .projects-section__intro .script-label,
body:not(.home) .student-life-video-section__intro .script-label,
body:not(.home) .intake-banner .eyebrow {
  display: none;
}

body:not(.home) .about-page-story .page-intro__copy h2 {
  max-width: 597px;
  margin: 0;
  color: var(--kcid-black);
  font-size: 2.8rem;
  line-height: 1.12;
}

body:not(.home) .about-page-story__heading-lead {
  color: var(--kcid-black);
}

body:not(.home) .about-page-story__heading-tail {
  color: var(--kcid-pink);
}

body:not(.home) .about-page-story .page-intro__copy > p {
  margin-top: 1.8rem;
}

body:not(.home) .about-page-story .button {
  width: max-content;
  min-height: 0;
  margin-top: 1.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.45rem 0.35rem 1.15rem;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  box-shadow: 0 4px 10px rgba(5, 8, 9, 0.12);
}

body:not(.home) .about-page-story .button svg {
  width: 38px;
  height: 38px;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--kcid-pink);
  color: var(--kcid-paper);
}

body:not(.home) .about-purpose {
  background: var(--kcid-soft);
}

body:not(.home) .about-purpose__header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

body:not(.home) .about-purpose__header h2 {
  margin: 0.5rem 0 0;
  color: var(--kcid-ink);
}

body:not(.home) .about-purpose__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

body:not(.home) .about-purpose__card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 4px solid var(--kcid-yellow);
  border-radius: var(--kcid-radius);
  background: var(--kcid-paper);
  box-shadow: 0 10px 26px rgba(5, 8, 9, 0.06);
}

body:not(.home) .about-purpose__card + .about-purpose__card {
  border-top-color: var(--kcid-pink);
}

body:not(.home) .about-purpose__card h3 {
  margin: 0 0 1rem;
  color: var(--kcid-blue);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

body:not(.home) .about-purpose__card p {
  margin: 0;
  color: var(--kcid-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

@media (max-width: 700px) {
  body:not(.home) .about-purpose__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  body:not(.home) .about-page-story .page-intro__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  body:not(.home) .about-page-story .page-intro__copy h2 {
    font-size: 2.25rem;
  }

  body:not(.home) .about-why-section__header h2 {
    font-size: 2.25rem;
  }

  body:not(.home) .about-page-story__media {
    min-height: 300px;
  }
}

/* About page: the proof points and reasons section follows the supplied
 * reference composition while reusing KENCID's own colors, icons, and image
 * assets. */
body:not(.home) .about-why-section {
  background: var(--kcid-paper);
}

body:not(.home) .about-why-section__header {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

/* Explore menu and the supporting information pages use the same crisp,
 * image-led language as the existing About and Student Life sections. */
.nav-panel--explore {
  top: calc(100% - 0.5rem);
  left: 50%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100vw - 3rem), 920px);
  max-width: calc(100vw - 3rem);
  min-height: 337px;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  padding: 1.5rem 1.7rem;
  box-shadow: 0 22px 42px rgba(11, 63, 145, 0.14);
  transform: translateX(-50%);
}

.nav-panel--explore::before,
.nav-panel--explore::after {
  position: absolute;
  left: 0;
  display: block;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.nav-panel--explore .nav-panel__group {
  z-index: 3;
  position: relative;
  min-width: 0;
}

.nav-panel--explore::before {
  z-index: 2;
  bottom: -54px;
  left: 14px;
  width: 90px;
  height: 90px;
  background: var(--kcid-pink);
}

.nav-panel--explore::after {
  z-index: 1;
  bottom: -8px;
  width: 48px;
  height: 48px;
  border-radius: 0 100% 0 0;
  background: #08adeb;
}

.nav-panel--explore .nav-panel__group + .nav-panel__group {
  margin-left: 0.85rem;
  padding-left: 0.85rem;
}

.nav-panel--explore .nav-panel__group > p {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.55rem;
  color: #2876f7;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-panel--explore .nav-panel__group > p::after {
  display: block;
  flex: 0 0 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: var(--kcid-yellow);
  content: "";
}

.nav-panel--explore .nav-panel__group:nth-child(2) > p::after {
  background: #08adeb;
}

.nav-panel--explore .nav-panel__group:nth-child(3) > p::after {
  background: var(--kcid-pink);
}

.nav-panel--explore .nav-explore-link {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 3.35rem;
  padding: 0.55rem 0;
  border: 0;
  color: var(--kcid-black);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.nav-panel--explore .nav-explore-link:last-child {
  border-bottom: 0;
}

.nav-explore-link__icon {
  display: inline-grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
}

.nav-explore-link__icon svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-explore-link--yellow .nav-explore-link__icon { color: #f0b500; }
.nav-explore-link--blue .nav-explore-link__icon { color: #008fe8; }
.nav-explore-link--pink .nav-explore-link__icon { color: var(--kcid-pink); }

.nav-panel--explore .nav-explore-link:hover,
.nav-panel--explore .nav-explore-link:focus-visible {
  border-left: 0;
  background: #e8f7ff;
  color: var(--kcid-blue);
}

@media (max-width: 1100px) {
  .nav-panel--explore { display: block; width: 100%; padding: 0 0 0 0.9rem; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
  .nav-panel--explore::before, .nav-panel--explore::after { display: none; }
  .nav-panel--explore .nav-panel__group + .nav-panel__group { margin-top: 0.6rem; border-left: 0; padding-left: 0; }
  .nav-panel--explore .nav-panel__group > p { margin: 0.5rem 0 0.25rem 0.75rem; color: var(--kcid-yellow); }
  .nav-panel--explore .nav-panel__group > p::after { display: none; }
  .nav-panel--explore .nav-explore-link { display: flex; min-height: 42px; padding: 0.55rem 0.75rem; border-bottom: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; font-weight: 600; }
  .nav-explore-link__icon { display: none; }
  .nav-panel--compact { display: block; width: 100%; min-height: 0; padding: 0 0 0 0.9rem; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
  .nav-panel--compact::before, .nav-panel--compact::after { display: none; }
  .nav-panel--compact .nav-panel__group { display: block; }
  .nav-panel--compact .nav-panel__group > p { margin: 0.5rem 0 0.25rem 0.75rem; color: var(--kcid-yellow); }
  .nav-panel--compact .nav-panel__group > p::after { display: none; }
  .nav-panel--compact .nav-compact-link { display: flex; min-height: 42px; padding: 0.55rem 0.75rem; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; font-weight: 600; }
  .nav-compact-link__icon { display: none; }
}

body:not(.home) .about-why-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  color: var(--kcid-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body:not(.home) .about-why-section__eyebrow span {
  width: 3.5rem;
  height: 3px;
  background: var(--kcid-yellow);
}

body:not(.home) .about-why-section__header h2 {
  color: var(--kcid-ink);
  font-size: 2.8rem;
  line-height: 1.02;
}

body:not(.home) .about-why-section__header h2 span {
  color: var(--kcid-pink);
}

body:not(.home) .about-why-section__header > p:last-child {
  color: var(--kcid-muted);
  font-size: 1rem;
}

body:not(.home) .about-stat-grid--tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 1.5rem;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
}

body:not(.home) .about-stat-grid--tiles > .about-stat-grid__tile {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  min-height: 132px;
  padding: 1.35rem 1.5rem;
  border: 0;
}

body:not(.home) .about-stat-grid--tiles .about-stat-grid__tile--yellow { background: #fff8df; }
body:not(.home) .about-stat-grid--tiles .about-stat-grid__tile--pink { background: #fff0f7; }
body:not(.home) .about-stat-grid--tiles .about-stat-grid__tile--blue { background: #eef7ff; }

body:not(.home) .about-stat-grid__icon {
  display: grid;
  grid-row: 1 / -1;
  width: 4.4rem;
  height: 4.4rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(252, 209, 30, 0.62);
  color: var(--kcid-black);
}

body:not(.home) .about-stat-grid__tile--pink .about-stat-grid__icon { background: rgba(237, 22, 130, 0.16); color: var(--kcid-pink); }
body:not(.home) .about-stat-grid__tile--blue .about-stat-grid__icon { background: rgba(72, 170, 219, 0.18); color: var(--kcid-blue); }

body:not(.home) .about-stat-grid--tiles .about-stat-grid__tile strong {
  padding: 0;
  color: var(--kcid-ink);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 0.92;
}

body:not(.home) .about-stat-grid--tiles .about-stat-grid__tile > span:last-child {
  padding: 0;
  color: var(--kcid-ink);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

body:not(.home) .about-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

body:not(.home) .about-benefit-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8edf2;
  border-bottom: 7px solid var(--kcid-yellow);
  border-radius: 18px;
  background: var(--kcid-paper);
  box-shadow: 0 12px 28px rgba(5, 8, 9, 0.08);
}

body:not(.home) .about-benefit-card--1 { border-bottom-color: var(--kcid-sky); }
body:not(.home) .about-benefit-card--2 { border-bottom-color: var(--kcid-yellow); }

body:not(.home) .about-benefit-card__illustration {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 162px;
  margin-inline: auto;
  padding: 0.5rem 1rem 0;
  object-fit: contain;
  object-position: center;
}

body:not(.home) .about-benefit-card__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.25rem 1.75rem 1.25rem;
}

body:not(.home) .about-benefit-card h3 {
  color: var(--kcid-ink);
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.1;
}

body:not(.home) .about-benefit-card p {
  margin: 0.65rem 0 1rem;
  color: var(--kcid-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

body:not(.home) .about-benefit-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--kcid-ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

body:not(.home) .about-benefit-card__link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 180ms ease;
}

body:not(.home) .about-benefit-card__link:hover svg,
body:not(.home) .about-benefit-card__link:focus-visible svg {
  transform: translateX(0.22rem);
}

body:not(.home) .about-benefit-card__visual {
  min-width: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body:not(.home) .about-why-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.75rem;
}

body:not(.home) .about-why-section__actions .button {
  min-height: 0;
  border-radius: 999px;
  padding: 0.35rem 0.45rem 0.35rem 1.25rem;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

body:not(.home) .about-why-section__actions .button svg {
  width: 38px;
  height: 38px;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--kcid-pink);
  color: var(--kcid-paper);
}

body:not(.home) .about-why-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--kcid-yellow);
  padding-bottom: 0.25rem;
  color: var(--kcid-ink);
  font-weight: 700;
}

body:not(.home) .about-why-section__link svg {
  color: var(--kcid-black);
}

.page-hero--our-team .page-hero__icon,
.page-hero--partners .page-hero__icon,
.page-hero--schools .page-hero__icon,
.page-hero--about .page-hero__icon,
.page-hero--student-life .page-hero__icon,
.page-hero--projects .page-hero__icon,
.page-hero--events .page-hero__icon,
.page-hero--contact .page-hero__icon,
.page-hero--school-programs .page-hero__icon,
.page-hero--programs .page-hero__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 0.8rem;
  place-items: center;
  border-radius: 50%;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
}

.page-hero--our-team .page-hero__icon svg,
.page-hero--partners .page-hero__icon svg,
.page-hero--schools .page-hero__icon svg,
.page-hero--about .page-hero__icon svg,
.page-hero--student-life .page-hero__icon svg,
.page-hero--projects .page-hero__icon svg,
.page-hero--events .page-hero__icon svg,
.page-hero--contact .page-hero__icon svg,
.page-hero--school-programs .page-hero__icon svg,
.page-hero--programs .page-hero__icon svg {
  width: 24px;
  height: 24px;
}

.page-hero--school-programs .page-hero__icon {
  background: var(--kcid-pink);
}

@media (max-width: 900px) {
  body:not(.home) .about-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  body:not(.home) .about-stat-grid--tiles,
  body:not(.home) .about-benefit-grid {
    grid-template-columns: 1fr;
  }

  body:not(.home) .about-stat-grid--tiles > .about-stat-grid__tile {
    min-height: 112px;
  }

  body:not(.home) .about-benefit-card {
    min-height: 330px;
  }

  body:not(.home) .about-benefit-card__illustration {
    height: 150px;
  }
}

/* Interior sections use the same typography as the homepage content blocks.
 * Decorative hero type stays in its existing hero rules. */
body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero),
body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) p,
body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) a,
body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) button,
body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) input,
body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) select,
body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) textarea {
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) h2 {
  font-family: Poppins, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) h3 {
  font-family: Poppins, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) p:not(.eyebrow):not(.script-label) {
  line-height: var(--kcid-copy-leading);
}

body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) .script-label {
  color: var(--kcid-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Editorial course pages */
.course-detail-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 8, 9, 0.94) 0%, rgba(5, 8, 9, 0.78) 49%, rgba(5, 8, 9, 0.28) 100%),
    var(--course-hero-image);
  background-position: center;
  background-size: cover;
  color: var(--kcid-paper);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.25rem, 2vw, 2rem);
}

.course-detail-breadcrumbs {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
}

.course-detail-breadcrumbs a,
.course-detail-breadcrumbs span { font-weight: 500; }

.course-detail-breadcrumbs a { color: rgba(255, 255, 255, 0.82); }
.course-detail-breadcrumbs span:last-child { color: var(--kcid-yellow); }

.course-detail-hero__grid { margin-top: 1.15rem; }

.course-detail-hero__copy {
  max-width: 860px;
  gap: 0.7rem;
}

.course-detail-hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--kcid-yellow);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.course-detail-hero__kicker::before {
  width: 2.25rem;
  border-top: 2px solid var(--kcid-yellow);
  content: "";
}

.course-detail-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--kcid-paper);
  font-family: Poppins, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.course-detail-hero h1 > span { display: block; }
.course-detail-hero .course-detail-title__accent { color: var(--kcid-yellow); }

.course-detail-hero__byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin: 0.25rem 0 0;
  color: #536174;
  font-size: 0.72rem;
  line-height: 1.35;
}

.course-detail-hero__byline span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.course-detail-hero__byline span + span::before {
  margin-right: 0.35rem;
  color: #a3adba;
  content: "|";
}

.course-detail-hero__byline svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.course-detail-hero__lede {
  max-width: 52rem;
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.92rem, 1.35vw, 1.08rem);
  line-height: 1.55;
}

.course-detail-hero__action {
  margin-top: 0.75rem;
}

.course-detail-hero .course-detail-meta {
  width: 100%;
  max-width: none;
  margin: 2.5rem 0 -3rem;
  transform: translateY(3rem);
  border: 1px solid rgba(220, 229, 238, 0.9);
  border-radius: 1rem;
  box-shadow: 0 16px 34px rgba(5, 8, 9, 0.18);
}

.course-detail-meta__item {
  position: relative;
}

.course-detail-meta__item::after {
  position: absolute;
  right: 1rem;
  bottom: 0.7rem;
  left: 1rem;
  height: 0.28rem;
  border-radius: 99px;
  content: "";
}

.course-detail-meta__item--qualification::after { background: var(--kcid-pink); }
.course-detail-meta__item--duration::after { background: var(--kcid-yellow); }
.course-detail-meta__item--mode::after { background: var(--kcid-blue); }

.course-detail-meta__item {
  min-height: 8rem;
  padding-top: 1.3rem;
  padding-bottom: 2rem;
}

body:not(.home) .course-detail-content.section-pad {
  padding: clamp(7rem, 11vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.course-detail-layout {
  grid-template-columns: minmax(0, 860px) minmax(280px, 340px);
  justify-content: space-between;
  gap: 2.75rem;
  column-gap: 100px;
}

.course-detail-article { max-width: 860px; }

.course-detail-article__intro {
  margin: 0;
  padding-top: 0;
}

.course-detail-article h2 {
  max-width: none;
  margin: 0;
  color: var(--kcid-black);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.08;
}

body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) .course-detail-article h2 {
  font-size: 1.5rem;
  line-height: 1.15;
}

.course-detail-article__intro > p,
.course-detail-section-heading > p:last-child,
.course-detail-career > p:last-child {
  max-width: 52rem;
  color: #4c5869;
  font-size: 0.98rem;
  line-height: 1.6;
}

.course-detail-article__intro > p { margin-top: 0.7rem; }

.course-detail-section-heading {
  margin-top: 2.5rem;
  padding-top: 0;
  border-top: 0;
}

.course-detail-article > .course-detail-section-heading:first-child { margin-top: 0; }

.course-detail-section-heading h3,
.course-detail-career h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.course-detail-career {
  margin-top: 2.5rem;
  padding-top: 0;
  border-top: 0;
}

.course-learning-list,
.course-career-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  background: transparent;
  list-style: none;
}

.course-learning-list li,
.course-career-list li {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0 0 0 1.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4c5869;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
}

.course-learning-list li::before,
.course-career-list li::before {
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--kcid-pink);
  content: "";
}

.course-learning-list strong {
  display: inline;
  color: var(--kcid-black);
  font-size: inherit;
}

.course-learning-list strong::after { content: ": "; }

.course-learning-list span {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.course-apply-card {
  position: sticky;
  top: 8rem;
  max-width: 340px;
  border: 1px solid #dce5ee;
  border-radius: 0.75rem;
  background: #f7f9fc;
}

.course-detail-sidebar {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
}

.course-detail-sidebar .course-apply-card { width: 100%; }

.course-sidebar-related {
  overflow: hidden;
  padding: 1rem;
  border: 0;
  border-bottom: 5px solid var(--kcid-sky);
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #fff 0%, #f7fbff 100%);
  box-shadow: 0 8px 20px rgba(5, 8, 9, 0.06);
}

.course-sidebar-related h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  color: var(--kcid-black);
  font-size: 1.2rem;
  line-height: 1.1;
}

body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) .course-sidebar-related h2 { font-size: 1.2rem; }

.course-sidebar-related h2::before {
  width: 0.35rem;
  height: 1.8rem;
  flex: 0 0 0.35rem;
  border-radius: 99px;
  background: var(--kcid-yellow);
  content: "";
}

.course-sidebar-related__list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0;
}

.course-sidebar-related__item {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 1rem;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  padding: 0.75rem;
  border: 0;
  border-radius: 0.65rem;
  background: #f3f6fa;
  color: var(--kcid-black);
  text-decoration: none;
}

.course-sidebar-related__item + .course-sidebar-related__item { border-top: 0; }

.course-sidebar-related__item img {
  display: block;
  width: 4rem;
  height: 3.4rem;
  border-radius: 0.45rem;
  object-fit: cover;
}

.course-sidebar-related__item span { min-width: 0; }

.course-sidebar-related__item strong,
.course-sidebar-related__item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-sidebar-related__item strong { font-size: 0.86rem; }
.course-sidebar-related__item small { margin-top: 0.12rem; color: #64748b; font-size: 0.73rem; }

.course-sidebar-related__item > svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.course-sidebar-related__item:hover strong { color: var(--kcid-blue); }

.course-sidebar-cta {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #effaff 0%, #c7eaff 100%);
}

.course-sidebar-cta::before,
.course-sidebar-cta::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.course-sidebar-cta::before {
  top: -1.6rem;
  right: -1.8rem;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--kcid-yellow);
}

.course-sidebar-cta::after {
  right: -2.5rem;
  bottom: -2.8rem;
  width: 6.5rem;
  height: 6.5rem;
  background: var(--kcid-pink);
}

.course-sidebar-cta > * { position: relative; z-index: 1; }

.course-sidebar-cta p {
  margin: 0;
  color: var(--kcid-blue);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-sidebar-cta h2 {
  max-width: none;
  margin: 0.45rem 0 0.9rem;
  color: var(--kcid-black);
  font-size: 1.2rem;
  line-height: 1.1;
}

body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) .course-sidebar-cta h2 {
  font-size: 1.2rem;
  line-height: 1.1;
}

.course-sidebar-cta .button { min-height: 2.55rem; }

.course-entry-feature {
  max-width: 980px;
  margin-top: clamp(3rem, 6vw, 5rem);
  scroll-margin-top: 8rem;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border-radius: 1.6rem;
  background: linear-gradient(135deg, #fff 0%, #f7fbff 100%);
  box-shadow: 0 18px 52px rgba(32, 67, 106, 0.12);
}

.course-entry-feature > h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  color: #050a2a;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.course-entry-feature > h2::before {
  width: 0.6rem;
  height: 2.9rem;
  border-radius: 99px;
  background: var(--kcid-yellow);
  content: "";
}

.course-entry-feature__list {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

.course-entry-feature__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  min-height: 11.5rem;
  padding: 1.5rem 2rem;
  border: 0;
  border-radius: 1.2rem;
}

.course-entry-feature__item--diploma,
.course-entry-feature__item--certificate,
.course-entry-feature__item--foundation { background: #f3f6fa; }

.course-entry-feature__icon {
  display: none;
  width: 9rem;
  height: 9rem;
  place-items: center;
  border-radius: 50%;
  color: #050a2a;
}

.course-entry-feature__icon { background: transparent; }

.course-entry-feature__icon > svg {
  width: 4.6rem;
  height: 4.6rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.course-entry-feature__copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding-left: 0;
  border-left: 0;
}

.course-entry-feature__copy h3 {
  margin: 0 0 0.35rem;
  color: #050a2a;
  font-size: clamp(1.5rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.05;
}

body:not(.home) main > section:not(.page-hero):not(.hero):not(.apply-hero):not(.course-detail-hero) .course-entry-feature__copy h3 { font-weight: 600; }

.course-entry-feature__copy p {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: #536383;
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  line-height: 1.35;
}

.course-entry-feature__copy p span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #60708f;
}

.course-entry-feature__item--diploma .course-entry-feature__icon,
.course-entry-feature__item--diploma .course-entry-feature__copy p span { color: var(--kcid-yellow); }

.course-entry-feature__item--certificate .course-entry-feature__icon,
.course-entry-feature__item--certificate .course-entry-feature__copy p span { color: var(--kcid-sky); }

.course-entry-feature__item--foundation .course-entry-feature__icon,
.course-entry-feature__item--foundation .course-entry-feature__copy p span { color: var(--kcid-pink); }

.course-entry-feature__copy p svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.course-detail-sidebar .course-entry-feature {
  max-width: none;
  margin: 0;
  padding: 1rem;
  border-bottom: 5px solid var(--kcid-sky);
  border-radius: 0.7rem;
  box-shadow: 0 8px 20px rgba(32, 67, 106, 0.08);
}

body:not(.home) .course-detail-sidebar .course-entry-feature > h2 {
  gap: 0.6rem;
  font-size: 1.2rem;
  white-space: normal;
}

.course-detail-sidebar .course-entry-feature > h2::before {
  width: 0.35rem;
  height: 1.8rem;
}

.course-detail-sidebar .course-entry-feature__list {
  gap: 0.6rem;
  margin-top: 1rem;
}

.course-detail-sidebar .course-entry-feature__item {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  min-height: 0;
  padding: 0.75rem;
  border: 0;
  border-radius: 0.65rem;
}

.course-detail-sidebar .course-entry-feature__icon {
  width: 3.8rem;
  height: 3.8rem;
}

.course-detail-sidebar .course-entry-feature__icon > svg {
  width: 2rem;
  height: 2rem;
}

.course-detail-sidebar .course-entry-feature__copy {
  gap: 0.25rem;
  padding-left: 0;
  border-left: 0;
}

.course-detail-sidebar .course-entry-feature__copy h3 {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
}

.course-detail-sidebar .course-entry-feature__copy p {
  gap: 0.35rem;
  font-size: 0.72rem;
}

.course-detail-sidebar .course-entry-feature__copy p svg {
  width: 0.95rem;
  height: 0.95rem;
}

@media (max-width: 900px) {
	.clubs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-detail-layout { grid-template-columns: 1fr; }
  .course-apply-card { position: static; max-width: none; }
  .course-detail-sidebar { grid-template-columns: 1fr; }
  .course-entry-feature__item { grid-template-columns: minmax(0, 1fr); min-height: 9rem; padding: 1.25rem; }
  .course-entry-feature__icon { width: 6.5rem; height: 6.5rem; }
  .course-entry-feature__icon > svg { width: 3.5rem; height: 3.5rem; }
}

@media (max-width: 700px) {
	.clubs-grid { grid-template-columns: 1fr; }
	.club-card { min-height: 230px; }
  .course-detail-hero { padding-bottom: 2.5rem; }
  .course-detail-hero h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .course-detail-hero__byline { gap: 0.25rem 0.5rem; }
  .course-detail-hero__byline span + span::before { margin-right: 0.2rem; }
  .course-detail-hero__image { aspect-ratio: 16 / 8.5; }
  .course-detail-sidebar { grid-template-columns: 1fr; }
  .course-detail-sidebar .course-apply-card { grid-row: auto; }
  .course-entry-feature { padding: 1.35rem; border-radius: 1rem; }
  .course-entry-feature > h2::before { height: 2.25rem; }
  .course-entry-feature__item { grid-template-columns: 1fr; gap: 1rem; min-height: 0; }
  .course-entry-feature__icon { width: 5.25rem; height: 5.25rem; }
  .course-entry-feature__icon > svg { width: 2.8rem; height: 2.8rem; }
  .course-entry-feature__copy { padding-left: 0; border-left: 0; }
}

/* Explore guides use an image-led editorial layout inspired by the supplied
 * reference. These rules are scoped to the shared Explore page template. */
.explore-page {
  overflow: hidden;
  background: #fff;
  color: #11131d;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

.explore-page .container {
  width: min(1200px, calc(100% - 80px));
}

.explore-page h1,
.explore-page h2,
.explore-page h3 {
  font-family: Poppins, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.explore-heading-dot {
  color: var(--kcid-yellow);
}

.explore-eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  color: #151723;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}

.explore-eyebrow::after {
  width: 3.9rem;
  height: 3px;
  background: var(--kcid-yellow);
  content: "";
}

.explore-hero {
  position: relative;
  padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(3.5rem, 6vw, 6rem);
  background: radial-gradient(circle at 104% 25%, #fff9e7 0, transparent 20%), #fff;
}

.explore-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -4rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: #f1f8ff;
  content: "";
  pointer-events: none;
}

.explore-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.explore-hero__media {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.explore-hero__media::before {
  position: absolute;
  z-index: -1;
  top: -0.9rem;
  right: -0.9rem;
  width: 25%;
  height: 26%;
  border-radius: 1.25rem;
  background: var(--kcid-yellow);
  content: "";
}

.explore-hero__media::after {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  left: -1.8rem;
  width: clamp(3.2rem, 6vw, 4.6rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--kcid-pink);
  content: "";
}

.explore-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.4;
  border-radius: 1.5rem;
  object-fit: cover;
}

.explore-hero__orb {
  position: absolute;
  z-index: 3;
  bottom: -0.85rem;
  left: 1rem;
  width: clamp(3.2rem, 6vw, 4.6rem);
  aspect-ratio: 1;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #42a4f5;
}

.explore-hero__copy h1 {
  max-width: 12.5ch;
  margin: 1.4rem 0 1.4rem;
  color: #090b14;
  font-size: clamp(2.5rem, 4.35vw, 4.35rem);
  font-weight: 800;
  line-height: 1.13;
}

.explore-hero--academic-structure .explore-hero__copy h1 {
  max-width: 597px;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.explore-hero--academic-structure .explore-hero__heading-tail {
  color: var(--kcid-pink);
}

.explore-hero--academic-structure .explore-hero__grid {
  grid-template-columns: minmax(0, 605px) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
}

.explore-hero--academic-structure .container {
  width: min(1296px, calc(100vw - 144px));
}

.explore-hero__lede {
  max-width: 48ch;
  margin: 0;
  color: #4e5868;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
}

.explore-story {
  padding: 0 0 clamp(4.5rem, 7vw, 7rem);
  background: #fff;
}

.explore-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.explore-story__copy {
  min-width: 0;
}

.explore-story__kicker {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1.3rem;
  color: var(--kcid-pink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.explore-story__kicker::after {
  width: 2.5rem;
  height: 2px;
  margin-left: 0.25rem;
  background: var(--kcid-pink);
  content: "";
}

.explore-story__copy h2 {
  margin: 0 0 1.3rem;
  color: #090b14;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.12;
}

.explore-story__copy h2 .explore-heading-dot {
  color: var(--kcid-pink);
}

.explore-story__copy h3 {
  margin: 0 0 0.7rem;
  color: #10121a;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 750;
  line-height: 1.24;
}

.explore-story__copy p:not(.explore-story__kicker),
.explore-story__detail p,
.explore-story__richtext {
  color: #526073;
  font-size: 1rem;
  line-height: 1.75;
}

.explore-story__copy p:not(.explore-story__kicker) {
  margin: 0 0 1.15rem;
}

.explore-story__richtext > * + * {
  margin-top: 1rem;
}

.explore-story__media {
  position: relative;
  min-width: 0;
}

.explore-story__media > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.04;
  border-radius: 1.5rem;
  object-fit: cover;
}

.explore-story__callout {
  position: absolute;
  right: -0.85rem;
  bottom: -0.4rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: min(270px, 80%);
  min-height: 6.2rem;
  border-radius: 1.15rem;
  padding: 1rem 1.2rem;
  background: #fff;
  box-shadow: 0 10px 32px rgba(20, 31, 48, 0.13);
  color: #586577;
  font-size: 0.85rem;
  line-height: 1.4;
}

.explore-story__callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #11131c;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.explore-story__callout-icon {
  display: grid;
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 50%;
  background: #fff1b8;
  color: #e8a900;
}

.explore-story__callout-icon svg {
  width: 2rem;
  height: 2rem;
}

.explore-story__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  border-top: 2px solid #e3eff9;
  padding-top: clamp(2.5rem, 4vw, 3.7rem);
}

.explore-story__detail {
  min-width: 0;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) 0 0;
}

.explore-story__detail:nth-child(even) {
  border-left: 1px solid #dbe8f3;
  padding-right: 0;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
}

.explore-story__detail:nth-child(n + 3) {
  margin-top: 2.5rem;
  border-top: 1px solid #dbe8f3;
  padding-top: 2.5rem;
}

.explore-story__detail:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 65ch;
  border-left: 0;
  padding-left: 0;
}

.explore-story__detail-heading {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1rem;
}

.explore-story__detail-icon {
  display: grid;
  flex: 0 0 5.2rem;
  width: 5.2rem;
  height: 5.2rem;
  place-items: center;
  border-radius: 1.15rem;
  background: #eaf5ff;
  color: #288cf0;
}

.explore-story__detail:nth-child(even) .explore-story__detail-icon {
  background: #fff5d4;
  color: #edb300;
}

.explore-story__detail-icon svg {
  width: 3rem;
  height: 3rem;
}

.explore-story__detail h3 {
  max-width: 17ch;
  margin: 0;
  color: #10121a;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 750;
  line-height: 1.22;
}

.explore-story__detail p {
  margin: 0 0 1rem;
}

.explore-features {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  background: linear-gradient(180deg, #edf7ff 0%, #f7fbff 100%);
}

.explore-features__header {
  margin-bottom: 2.2rem;
  text-align: center;
}

.explore-features__header .explore-eyebrow {
  align-items: center;
  color: #dda500;
}

.explore-features__header .explore-eyebrow::after {
  display: none;
}

.explore-features__header h2 {
  margin: 0.8rem 0 0;
  color: #090b14;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.12;
}

.explore-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.explore-feature {
  display: flex;
  min-width: 0;
  min-height: 340px;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 6px solid var(--kcid-yellow);
  border-radius: 1.2rem;
  padding: 1.55rem 1.65rem 1.3rem;
  background: #fff;
  box-shadow: 0 14px 28px rgba(31, 58, 91, 0.08);
}

.explore-feature--1 {
  border-bottom-color: #42a4f5;
}

.explore-feature__illustration {
  display: block;
  width: 100%;
  height: 150px;
  margin: 0 0 0.8rem;
  border-radius: 0.9rem;
  object-fit: cover;
  object-position: center;
}

.explore-feature h3 {
  margin: 0.4rem 0 0.45rem;
  color: #11131c;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 750;
  line-height: 1.2;
}

.explore-feature p {
  margin: 0 0 1.2rem;
  color: #677184;
  font-size: 0.94rem;
  line-height: 1.55;
}

.explore-feature__link,
.explore-related .blog-card__link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  margin-top: auto;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: #eaf4ff;
  color: #07529d;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.explore-feature__link:hover,
.explore-feature__link:focus-visible,
.explore-related .blog-card__link:hover,
.explore-related .blog-card__link:focus-visible {
  background: var(--kcid-yellow);
  color: #11131c;
  transform: translateY(-2px);
}

.explore-feature__link svg,
.explore-related .blog-card__link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.explore-related {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  background: #fff;
}

.explore-related .blog-section__header h2 {
  color: #10121a;
}

.explore-related .blog-section__header .blog-card__meta {
  color: var(--kcid-pink);
}

.explore-related .blog-card {
  box-shadow: 0 12px 30px rgba(24, 54, 83, 0.1);
}

.explore-related .blog-card__image {
  display: block;
  height: 190px;
  aspect-ratio: auto;
  object-fit: cover;
}

.explore-related .blog-card__body {
  min-height: 225px;
}

.explore-related .blog-card h3 {
  margin-bottom: 0.55rem;
}

.explore-related__text {
  margin: 0;
  color: #657182;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .explore-hero__grid,
  .explore-story__grid {
    grid-template-columns: 1fr;
  }

  .explore-hero__copy h1 {
    max-width: 18ch;
  }

  .explore-story__media {
    max-width: 650px;
  }

  .explore-story__media > img {
    aspect-ratio: 1.25;
  }

  .explore-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .explore-hero--academic-structure .explore-hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .explore-hero--academic-structure .container {
    width: min(calc(100vw - 32px), 1296px);
  }
}

@media (max-width: 640px) {
  .explore-page .container {
    width: min(100% - 36px, 1200px);
  }

  .explore-hero--academic-structure .container {
    width: min(calc(100vw - 32px), 1296px);
  }

  .explore-hero {
    padding-top: 3rem;
  }

  .explore-hero__grid,
  .explore-story__grid {
    gap: 2.5rem;
  }

  .explore-hero__media img {
    aspect-ratio: 1.18;
  }

  .explore-hero__media::after {
    left: -0.75rem;
  }

  .explore-hero__copy h1 {
    font-size: clamp(2.3rem, 10vw, 3.25rem);
  }

  .explore-story__copy h2,
  .explore-features__header h2 {
    font-size: 2.25rem;
  }

  .explore-story__details,
  .explore-features__grid {
    grid-template-columns: 1fr;
  }

  .explore-story__detail,
  .explore-story__detail:nth-child(even) {
    border-left: 0;
    padding: 0;
  }

  .explore-story__detail + .explore-story__detail,
  .explore-story__detail:nth-child(n + 3) {
    margin-top: 2rem;
    border-top: 1px solid #dbe8f3;
    padding-top: 2rem;
  }

  .explore-story__detail-icon {
    flex-basis: 4.5rem;
    width: 4.5rem;
    height: 4.5rem;
  }

  .explore-story__callout {
    right: 0;
    bottom: -1rem;
  }

  .explore-feature {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .explore-hero--academic-structure .explore-hero__copy h1 {
    font-size: clamp(2.25rem, 6.4vw, 2.8rem);
  }
}

/* Projects follows the shared image hero, page intro, gallery and color-card system. */
.project-page-intro,
.project-page-types,
.project-page-faq {
  background: var(--kcid-paper);
}

.project-page-intro .page-intro__grid,
.project-page-types .page-intro__grid {
  grid-template-columns: minmax(0, 605px) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
}

.project-page-intro .page-intro__media,
.project-page-types .page-intro__media {
  min-height: 430px;
  border-radius: var(--kcid-radius);
}

.project-page-intro .page-intro__copy,
.project-page-types .page-intro__copy {
  gap: 0;
}

body:not(.home) .project-page-intro .page-intro__copy h2 {
  max-width: 600px;
  margin: 0;
  color: var(--kcid-black);
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  line-height: 1.12;
}

.project-page-intro__accent {
  color: var(--kcid-pink);
}

.project-page-intro .page-intro__copy > p,
.project-page-types .page-intro__copy > p {
  margin-top: 1.5rem;
  line-height: 1.75;
}

body:not(.home) .project-page__button {
  width: max-content;
  min-height: 0;
  margin-top: 1.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.45rem 0.35rem 1.15rem;
  background: var(--kcid-yellow);
  color: var(--kcid-black);
  box-shadow: 0 4px 10px rgba(5, 8, 9, 0.12);
}

.project-page__button svg {
  width: 38px;
  height: 38px;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--kcid-pink);
  color: var(--kcid-paper);
}

.project-service-card .project-card__body {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem;
}

.project-service-card .project-card__title {
  margin: 0.45rem 0 0;
  color: var(--kcid-black);
}

.project-service-card__summary {
  margin: 0.75rem 0 1.5rem;
  color: var(--kcid-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.project-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  border-bottom: 2px solid var(--kcid-yellow);
  padding-bottom: 0.2rem;
  color: var(--kcid-blue);
  font-size: 0.88rem;
  font-weight: 800;
}

.project-service-card__link:hover,
.project-service-card__link:focus-visible {
  color: var(--kcid-pink);
}

/* Six service cards on the KENCID Projects page. */
.projects-section--services {
  overflow: hidden;
  background: #f7fafd;
}

.projects-section--services .projects-section__intro {
  position: relative;
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.72fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.projects-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  color: var(--kcid-pink);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.projects-section__eyebrow::before {
  width: 1.9rem;
  height: 2px;
  background: var(--kcid-pink);
  content: "";
}

.projects-section--services .projects-section__intro h2 {
  max-width: 15ch;
  margin: 0;
  color: #101a2e;
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.projects-section__headline h2 > span {
  display: block;
}

.projects-section__title-accent {
  position: relative;
  width: fit-content;
  color: #0754bf;
}

.projects-section__title-accent::after {
  position: absolute;
  right: auto;
  bottom: -0.23rem;
  left: 0.1rem;
  width: 4.8rem;
  height: 0.34rem;
  transform: rotate(-5deg);
  border-radius: 99px;
  background: #f6bd00;
  content: "";
}

.projects-section__note {
  position: relative;
  padding-right: 1.5rem;
}

.projects-section__note p {
  max-width: 25rem;
  margin: 0;
  color: #687995;
  font-size: 1rem;
  line-height: 1.65;
}

.projects-section__spark {
  position: absolute;
  top: -1.1rem;
  right: 0;
  width: 2.4rem;
  height: 2.4rem;
}

.projects-section__spark i {
  position: absolute;
  display: block;
  width: 0.32rem;
  height: 1.6rem;
  border-radius: 99px;
  background: #f6bd00;
}

.projects-section__spark i:first-child {
  top: 0;
  left: 0.25rem;
  transform: rotate(24deg);
}

.projects-section__spark i:last-child {
  top: 0.6rem;
  right: 0.15rem;
  transform: rotate(47deg);
}

.projects-section--services .projects-grid {
  gap: 1.2rem;
  margin-top: 2rem;
}

.project-service-card {
  border-color: rgba(28, 50, 83, 0.06);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(26, 53, 89, 0.075);
}

.projects-section--services .project-service-card:hover {
  box-shadow: 0 18px 36px rgba(26, 53, 89, 0.13);
}

.projects-section--services .project-card__media {
  aspect-ratio: 1.22;
  background: #eaf2f9;
}

.projects-section--services .project-card__media::after {
  display: none;
}

.projects-section--services .project-card__media img {
  filter: saturate(1.12) brightness(1.04);
}

.project-service-card__status {
  position: absolute;
  z-index: 1;
  top: 0.8rem;
  left: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - 4rem);
  border-radius: 99px;
  padding: 0.46rem 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  color: #e60072;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.project-service-card__status i {
  width: 0.52rem;
  height: 0.52rem;
  flex: 0 0 0.52rem;
  border-radius: 50%;
  background: #f20a82;
}

.project-service-card__favorite {
  position: absolute;
  z-index: 1;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  color: #164b9c;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(19, 42, 72, 0.12);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.project-service-card__favorite svg {
  width: 1.2rem;
  height: 1.2rem;
}

.project-service-card__favorite:hover,
.project-service-card__favorite:focus-visible {
  transform: scale(1.06);
  outline: 2px solid #7ec4ff;
  outline-offset: 2px;
}

.project-service-card__favorite.is-saved {
  background: #fff0f7;
  color: #ed1682;
}

.project-service-card__favorite.is-saved svg {
  fill: currentColor;
}

.project-service-card .project-card__body {
  min-height: 18rem;
  padding: 0.95rem 1.1rem 1rem;
}

.project-service-card__identity {
  display: flex;
  min-height: 3.35rem;
  align-items: center;
  gap: 0.8rem;
}

.project-service-card__icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 3.25rem;
  place-items: center;
  border-radius: 1rem;
  background: #fff0f7;
  color: #ed1682;
}

.project-service-card__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.project-service-card .project-card__discipline {
  margin-bottom: 0.24rem;
  font-size: 0.63rem;
  letter-spacing: 0.1em;
}

.project-service-card .project-card__title {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  letter-spacing: -0.035em;
}

.project-service-card__summary {
  display: -webkit-box;
  min-height: 4.7rem;
  overflow: hidden;
  margin: 0.75rem 0 0.8rem;
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  margin-bottom: 0.85rem;
  padding: 0;
  list-style: none;
}

.project-service-card__tags li {
  border-radius: 0.5rem;
  padding: 0.42rem 0.56rem;
  background: #eef5ff;
  color: #164b9c;
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1.2;
}

.project-service-card__link {
  display: flex;
  width: 100%;
  min-height: 2.85rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  border: 0;
  border-radius: 0.6rem;
  padding: 0.68rem 0.9rem;
  background: #0754bf;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.project-service-card__link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.project-service-card__link:hover,
.project-service-card__link:focus-visible {
  transform: translateY(-1px);
  background: #063f93;
  color: #fff;
}

@media (max-width: 700px) {
  .projects-section--services .projects-section__intro {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .projects-section__spark {
    display: none;
  }

  .projects-section--services .projects-grid {
    gap: 1rem;
  }

  .project-service-card .project-card__body {
    min-height: 0;
  }

  .project-service-card__summary {
    min-height: 0;
  }
}

body:not(.home) .projects-section__intro h2 {
  color: var(--kcid-blue);
}

body:not(.home) .projects-section--services .projects-section__intro h2 {
  color: #101a2e;
}

body:not(.home) .project-page-types .page-intro__copy h2 {
  max-width: 16ch;
  color: var(--kcid-blue);
}

.project-page-types__list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.project-page-types__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--kcid-line);
  padding: 0.75rem 0;
  font-size: 0.92rem;
  font-weight: 750;
}

.project-page-types__list li::before {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--kcid-pink);
  content: "";
}

.project-page-process {
  background: var(--kcid-soft);
}

.project-page-process__heading,
.project-page-faq__heading {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

body:not(.home) .project-page-process__heading h2,
body:not(.home) .project-page-faq__heading h2 {
  margin-bottom: 0.75rem;
  color: var(--kcid-blue);
}

.project-page-process__heading p,
.project-page-faq__heading p {
  margin-bottom: 0;
  color: var(--kcid-muted);
}

.project-page-process__grid {
  display: grid;
}

body:not(.home) .project-page-process .feature-card--pink h3 {
  color: var(--kcid-paper);
}

.project-page-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
}

.project-page-faq__grid article {
  border-top: 2px solid var(--kcid-yellow);
  padding: 1.4rem 0;
}

.project-page-faq__grid h3 {
  margin: 0 0 0.6rem;
  color: var(--kcid-black);
  font-size: 1.13rem;
  line-height: 1.35;
}

.project-page-faq__grid p {
  max-width: 500px;
  margin: 0;
  color: var(--kcid-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.prefooter-cta--projects .prefooter-cta__contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1rem;
}

.prefooter-cta--projects .prefooter-cta__contact-links a {
  border-bottom: 1px solid currentColor;
  color: var(--kcid-paper);
  font-size: 0.87rem;
}

.prefooter-cta--projects .prefooter-cta__contact-links a:hover,
.prefooter-cta--projects .prefooter-cta__contact-links a:focus-visible {
  color: var(--kcid-yellow);
}

@media (max-width: 1000px) {
  .project-page-intro .page-intro__grid,
  .project-page-types .page-intro__grid {
    grid-template-columns: 1fr;
  }

  .project-page-types .page-intro__media {
    order: 0;
  }
}

@media (max-width: 700px) {
  .project-page-intro .page-intro__media,
  .project-page-types .page-intro__media {
    min-height: 280px;
  }

  .prefooter-cta--projects::before {
    width: 100%;
    background: linear-gradient(90deg, rgba(5, 8, 9, 0.88), rgba(5, 8, 9, 0.7));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .prefooter-cta--projects .prefooter-cta__contact-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .project-service-card .project-card__body {
    min-height: 0;
  }

  .project-page-faq__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Source-led guides retain the Explore visual language while giving each
 * institution, programme and service its own useful content structure. */
.explore-page--source .explore-hero__copy h1 {
  max-width: 17ch;
  font-size: clamp(2.3rem, 3.7vw, 3.65rem);
  line-height: 1.12;
}

.explore-page--source .explore-hero__action {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 1.5rem;
  text-decoration: none;
}

.contact-form__status {
  margin: 0;
  color: #4c5869;
  font-size: 0.82rem;
  line-height: 1.5;
}

.source-guide-section {
  scroll-margin-top: 8rem;
  padding: clamp(3.6rem, 6vw, 6rem) 0;
}

.source-guide-section--tint {
  background: #f5f9fc;
}

.source-guide-section__heading {
  max-width: 770px;
  margin-bottom: 2rem;
}

.source-guide-section__heading h2 {
  margin: 1rem 0 0.75rem;
  color: #11171c;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  font-weight: 750;
  line-height: 1.18;
}

.source-guide-section__heading > p:last-child:not(.explore-eyebrow) {
  margin: 0;
  color: #4c5869;
  font-size: 1rem;
  line-height: 1.7;
}

.source-guide-section--lead .source-guide-section__heading {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  text-align: center;
}

.source-guide-section--lead .source-guide-section__heading .explore-eyebrow {
  align-items: center;
}

.source-guide-section--lead .source-guide-section__heading h2 {
  max-width: 780px;
  margin-inline: auto;
}

.source-guide-section--lead .source-guide-section__heading > p:last-child:not(.explore-eyebrow) {
  max-width: 760px;
  margin-inline: auto;
}

.source-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.source-guide-section--directory .source-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-guide-section--four .source-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-guide-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e3eaf0;
  border-top: 4px solid var(--kcid-yellow);
  border-radius: 1rem;
  padding: 1.45rem;
  background: #fff;
  box-shadow: 0 12px 24px rgba(31, 58, 91, 0.05);
}

.source-guide-card:nth-child(3n + 2) { border-top-color: var(--kcid-blue); }
.source-guide-card:nth-child(3n) { border-top-color: var(--kcid-pink); }

.source-guide-card h3 {
  margin: 0 0 0.6rem;
  color: #11171c;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
}

.source-guide-card p {
  margin: 0;
  color: #4c5869;
  font-size: 0.95rem;
  line-height: 1.65;
}

.source-guide-departments {
  width: 100%;
  margin-top: 1rem;
  border-top: 1px solid #e5eaf0;
  padding-top: 0.9rem;
}

.source-guide-departments summary {
  color: #115d8e;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 800;
}

.source-guide-departments ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
  color: #4c5869;
  font-size: 0.86rem;
  line-height: 1.6;
}

.source-guide-departments li + li { margin-top: 0.3rem; }

.source-guide-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.2rem;
  color: #115d8e;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
}

.source-guide-card a:hover,
.source-guide-card a:focus-visible { text-decoration: underline; }
.source-guide-card a svg { width: 1rem; height: 1rem; }

/* Academic Structure school directory */
#schools {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 0 3rem;
  background:
    radial-gradient(circle 47px at 0 158px, #7dc0ff 98%, transparent 100%),
    radial-gradient(circle 88px at 0 102px, #f8b6df 98%, transparent 100%),
    radial-gradient(circle 20px at calc(100% - 82px) 101px, #82c2ff 98%, transparent 100%),
    radial-gradient(circle 100px at 100% -12px, #ffda55 98%, transparent 100%),
    #f4f9fd;
}

#schools > .container {
  position: relative;
  width: min(1045px, calc(100% - 48px));
}

#schools .source-guide-section__heading {
  max-width: 800px;
  margin-bottom: 1.55rem;
}

#schools .explore-eyebrow {
  gap: 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.17em;
}

#schools .explore-eyebrow::after {
  width: 3.5rem;
  height: 2px;
}

#schools .source-guide-section__heading h2 {
  max-width: none;
  margin: 1.25rem auto 0.75rem;
  color: #0d192c;
  font-size: clamp(2rem, 3.3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.03;
}

#schools .source-guide-section__heading h2 span {
  color: #087df0;
}

#schools .source-guide-section__heading > p:last-child:not(.explore-eyebrow) {
  max-width: 610px;
  color: #667389;
  font-size: 0.93rem;
  line-height: 1.5;
}

.school-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem 0.95rem;
}

.school-directory-card {
  --school-accent: #ffce08;
  --school-tint: #fff3c9;
  --school-ink: #ad7900;
  --school-button-ink: #101827;
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  padding: 1.1rem 1.25rem 1.05rem;
  border: 1px solid #e2eaf1;
  border-top: 4px solid var(--school-accent);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 58, 88, 0.06);
}

.school-directory-card:nth-child(2),
.school-directory-card:nth-child(4),
.school-directory-card:nth-child(9) {
  --school-accent: #087df0;
  --school-tint: #e0f0ff;
  --school-ink: #0863ca;
  --school-button-ink: #fff;
}

.school-directory-card:nth-child(3),
.school-directory-card:nth-child(5),
.school-directory-card:nth-child(7) {
  --school-accent: #f51b82;
  --school-tint: #ffe3f0;
  --school-ink: #d90069;
  --school-button-ink: #fff;
}

.school-directory-card__heading {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 0.85rem;
}

.school-directory-card__icon {
  display: grid;
  width: 56px;
  height: 56px;
  flex: none;
  place-items: center;
  border-radius: 11px;
  background: var(--school-tint);
  color: var(--school-ink);
}

.school-directory-card__icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.8;
}

.school-directory-card h3 {
  margin: 0;
  color: #11192a;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.school-directory-card__description {
  min-height: 46px;
  margin: 0.4rem 0 0;
  color: #657188;
  font-size: 0.8rem;
  line-height: 1.5;
}

.school-directory-card__departments {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e1e8ef;
}

.school-directory-card__departments h4 {
  margin: 0 0 0.2rem;
  color: #1d5177;
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1.3;
}

.school-directory-card__departments ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-directory-card__departments li {
  position: relative;
  padding-left: 1.4rem;
  color: #657188;
  font-size: 0.79rem;
  line-height: 1.68;
}

.school-directory-card__departments li::before {
  position: absolute;
  top: 0.56em;
  left: 0.1rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--school-accent);
  content: "";
}

.school-directory-card__more {
  margin-top: 0.35rem;
}

.school-directory-card__more summary {
  display: inline-block;
  padding: 0.26rem 0.85rem;
  border-radius: 999px;
  background: var(--school-tint);
  color: var(--school-ink);
  cursor: pointer;
  font-size: 0.79rem;
  line-height: 1.4;
  list-style: none;
}

.school-directory-card__more summary::-webkit-details-marker { display: none; }
.school-directory-card__more summary:focus-visible { outline: 2px solid var(--school-ink); outline-offset: 2px; }
.school-directory-card__more[open] ul { margin-top: 0.45rem; }

.school-directory-card__link {
  display: inline-flex;
  min-height: 36px;
  min-width: 165px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  background: var(--school-accent);
  color: var(--school-button-ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.school-directory-card__link svg { width: 1rem; height: 1rem; }
.school-directory-card__link:hover { filter: brightness(0.94); }
.school-directory-card__link:focus-visible { outline: 3px solid #132c4b; outline-offset: 3px; }

@media (max-width: 840px) {
  .school-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #schools { background-size: auto; }
}

@media (max-width: 580px) {
  #schools { padding-block: 2rem 2.5rem; }
  #schools > .container { width: min(100% - 36px, 430px); }
  #schools .source-guide-section__heading h2 { font-size: clamp(1.9rem, 8vw, 2.45rem); }
  #schools .source-guide-section__heading h2 br { display: none; }
  .school-directory-grid { grid-template-columns: 1fr; }
  .school-directory-card { min-height: 0; }
  .school-directory-card__link { margin-top: 1rem; }
}

#ecosystem-map .source-guide-grid {
  gap: 1rem;
}

#ecosystem-map .source-guide-card--image {
  --ecosystem-accent: var(--kcid-yellow);
  --ecosystem-orb: #fff1a8;
  display: grid;
  min-height: 210px;
  grid-template-columns: minmax(0, 1.08fr) minmax(155px, 0.92fr);
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  border-top-color: var(--ecosystem-accent);
  background: linear-gradient(110deg, #fff 0%, #fff 62%, #f8fbfe 100%);
  box-shadow: 0 10px 24px rgba(31, 58, 91, 0.08);
}

#ecosystem-map .source-guide-card--image:nth-child(3n + 2) {
  --ecosystem-accent: var(--kcid-blue);
  --ecosystem-orb: #cfeaff;
}

#ecosystem-map .source-guide-card--image:nth-child(3n) {
  --ecosystem-accent: var(--kcid-pink);
  --ecosystem-orb: #ffd4ea;
}

#ecosystem-map .source-guide-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.45rem 0.8rem 1.2rem 1.5rem;
}

#ecosystem-map .source-guide-card h3 {
  max-width: 14ch;
  margin-bottom: 0.55rem;
  color: #090b14;
  font-size: clamp(1.05rem, 1.3vw, 1.28rem);
  font-weight: 800;
  line-height: 1.16;
}

#ecosystem-map .source-guide-card p {
  max-width: 27ch;
  font-size: 0.86rem;
  line-height: 1.4;
}

#ecosystem-map .source-guide-card a {
  gap: 0.65rem;
  padding-top: 1rem;
  color: #115d8e;
  font-size: 0.82rem;
}

#ecosystem-map .source-guide-card a svg {
  order: -1;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0.65rem;
  border-radius: 50%;
  background: var(--ecosystem-accent);
  color: var(--kcid-black);
}

#ecosystem-map .source-guide-card--image:nth-child(3n + 2) a svg,
#ecosystem-map .source-guide-card--image:nth-child(3n) a svg {
  color: #fff;
}

#ecosystem-map .source-guide-card__media {
  position: relative;
  min-width: 0;
  overflow: visible;
}

#ecosystem-map .source-guide-card__media::before {
  position: absolute;
  z-index: 0;
  bottom: -4.6rem;
  left: -4.6rem;
  width: 10.5rem;
  height: 10.5rem;
  border-radius: 50%;
  background: var(--ecosystem-orb);
  content: "";
}

#ecosystem-map .source-guide-card__media img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.source-guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.source-guide-steps li {
  min-height: 125px;
  border-radius: 1rem;
  padding: 1.1rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 58, 91, 0.07);
}

.source-guide-steps li span {
  display: block;
  margin-bottom: 0.8rem;
  color: #996e00;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.source-guide-steps li strong {
  color: #17212c;
  font-family: Poppins, "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
}

.source-guide-section--callout {
  background: #14202c;
}

.source-guide-section--callout .explore-eyebrow,
.source-guide-section--callout .source-guide-section__heading h2 { color: #fff; }

.source-guide-section--callout .source-guide-section__heading > p:last-child:not(.explore-eyebrow) {
  color: #d1dce5;
}

.source-guide-section--callout .button {
  text-decoration: none;
}

@media (max-width: 800px) {
  .source-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .source-guide-grid,
  .source-guide-section--directory .source-guide-grid,
  .source-guide-section--four .source-guide-grid { grid-template-columns: 1fr; }
  .source-guide-section { padding-block: 3.3rem; }
  .source-guide-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ecosystem-map .source-guide-card--image {
    min-height: 175px;
    grid-template-columns: minmax(0, 1.05fr) minmax(125px, 0.95fr);
  }
  #ecosystem-map .source-guide-card__content {
    padding: 1.1rem 0.55rem 1rem 1rem;
  }
  #ecosystem-map .source-guide-card h3 {
    font-size: 1rem;
  }
  #ecosystem-map .source-guide-card p {
    font-size: 0.78rem;
  }
  #ecosystem-map .source-guide-card a {
    gap: 0.45rem;
    font-size: 0.76rem;
  }
  #ecosystem-map .source-guide-card a svg {
    width: 2rem;
    height: 2rem;
    padding: 0.55rem;
  }
}

@media (max-width: 350px) {
  .source-guide-steps { grid-template-columns: 1fr; }
}

/* Keep interactive controls and content photography on the header CTA radius. */
body :is(button, input[type="button"], input[type="submit"], input[type="reset"], .button, [role="button"]) {
  border-radius: var(--kcid-radius);
}

.events-featured__media img,
.event-card__media img,
.why-choose-us__media img,
.intake-section__visual img,
.school-card__image > img,
.accommodation-promo__media img,
.home-gallery__photo img,
.footer-cta__people img,
.project-card__media img,
.project-modal__visual img,
.project-modal__thumb img,
.about-page-story__media img,
.student-life-support__media img,
.club-card img,
.course-card__media img,
.course-related-card__image img,
.course-sidebar-related__item img,
.explore-hero__media img,
.explore-story__media > img,
#ecosystem-map .source-guide-card__media img {
  border-radius: var(--kcid-radius);
}

/* Course detail hero: apply the glass treatment to the image overlay itself. */
.course-detail-hero {
  background-color: #dce3e8;
  background-image: var(--course-hero-image);
  background-position: center;
  background-size: cover;
  color: var(--kcid-paper);
  display: flex;
  align-items: center;
  isolation: isolate;
  min-height: 400px;
  margin-bottom: -70px;
  position: relative;
}

.course-detail-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(5, 8, 9, 0.5);
  content: "";
  -webkit-backdrop-filter: saturate(125%);
  backdrop-filter: saturate(125%);
  pointer-events: none;
}

.course-detail-hero > .container {
  position: relative;
  z-index: 1;
}

.course-detail-breadcrumbs {
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.course-detail-breadcrumbs a {
  color: rgba(255, 255, 255, 0.82);
}

.course-detail-breadcrumbs a:hover,
.course-detail-breadcrumbs a:focus-visible {
  color: var(--kcid-yellow);
}

.course-detail-breadcrumbs span:last-child {
  color: var(--kcid-yellow);
}

.course-detail-hero__copy {
  width: min(100%, 860px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--kcid-paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.course-detail-hero__kicker {
  color: var(--kcid-yellow);
}

.course-detail-hero__kicker::before {
  border-color: var(--kcid-yellow);
}

.course-detail-hero h1 {
  color: var(--kcid-paper);
}

.course-detail-hero .course-detail-title__accent {
  color: var(--kcid-yellow);
}

.course-detail-hero__lede {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
  .course-detail-hero__copy {
    padding: 0;
  }

  .course-detail-breadcrumbs {
    gap: 0.55rem;
    font-size: 0.78rem;
  }
}
