/* Konale Classes site styles for every public page. The admin area has its own styles. */
@layer k-reset;

:root {
  --navy: #14146B;          /* logo navy */
  --navy-deep: #0D0E45;
  --red: #E3000F;           /* actions */
  --red-deep: #B8000C;
  --marigold: #F6A821;      /* turbans, flowers and trophies in the felicitation photo; on navy only */
  --ochre: #9A5B00;         /* marigold dark enough for text on white */
  --teal: #0A7480;          /* KCC uniform teal, dark enough for white text */
  --paper: #FFFFFF;
  --cool: #F3F4F9;
  --text: #22233F;
  --muted: #575A78;
  --line: #DADCE7;
  --on-dark-muted: #C3C6EC;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Mukta", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem);
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --step-4: clamp(2.6rem, 1.4rem + 4.2vw, 4.75rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --slide-time: 7s;
}

/* Site-wide type */
body { font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Page base */
body.k { margin: 0; background: var(--paper); color: var(--text); font-size: var(--step-0); line-height: 1.6; -webkit-text-size-adjust: 100%; }
body.k *, body.k *::before, body.k *::after { box-sizing: border-box; }

/* Reset inside k- components; layered so the component rules below always win */
@layer k-reset {
  .k-scope, .k-scope *, .k-scope *::before, .k-scope *::after { box-sizing: border-box; }
  .k-scope :is(h1, h2, h3, h4, p, ul, ol, figure, address, blockquote) { margin: 0; }
  .k-scope :is(ul, ol) { padding: 0; list-style: none; }
  .k-scope img { display: block; max-width: 100%; height: auto; }
  .k-scope a { color: inherit; }
  .k-scope :is(h1, h2, h3, h4) { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--navy); }
  .k-scope address { font-style: normal; }
  .k-scope label { display: block; }
  .k-scope button { font: inherit; }
}

.k-scope { font-size: var(--step-0); line-height: 1.6; color: var(--text); }
.k-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.k-mr { font-family: var(--font-body); font-weight: 600; }
.k-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.k-skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.k-skip:focus { left: 8px; }
.k-icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease; }
.k-btn-primary { background: var(--red); color: #fff; }
.k-btn-primary:hover { background: var(--red-deep); color: #fff; }
.k-btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); background: transparent; }
.k-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.k-btn-line { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); background: transparent; }
.k-btn-line:hover { background: var(--navy); color: #fff; }
.k-icon-android { width: 22px; height: 22px; margin-top: -2px; }

/* Text links: no underline; an arrow and a colour change mark them instead */
.k-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; }
.k-link .k-icon { transition: transform 0.15s ease; }
.k-link:hover { color: var(--red-deep); }
.k-link:hover .k-icon { transform: translateX(3px); }

/* Header */
.k-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.k-header .k-wrap { display: flex; align-items: center; gap: 24px; min-height: 82px; }
.k-brand img { width: 190px; }
.k-nav { margin-left: auto; }
.k-nav ul { display: flex; gap: 24px; }
.k-nav a { display: block; text-decoration: none; color: var(--navy); font-weight: 500; white-space: nowrap; padding-block: 6px; }
.k-nav a:hover, .k-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.k-menu-btn { display: none; }

/* Hero carousel */
.k-hero { background: var(--navy-deep); color: #fff; transition: background-color 0.6s ease; }
.k-hero[data-tone="light"] { background: var(--paper); color: var(--text); }
.k-hero[data-tone="dark"] :focus-visible { outline-color: var(--marigold); }
.k-stage { display: grid; }
.k-slide {
  grid-area: 1 / 1; position: relative; overflow: hidden;
  min-height: clamp(540px, 46vw, 680px);
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.k-slide.is-active { opacity: 1; visibility: visible; }
/* Hidden slides would still download their images, so a slide's images stay out until konale.js marks it is-ready */
.k-slide:not(.is-ready) img { display: none; }
.k-slide > .k-wrap { width: 100%; position: relative; z-index: 1; padding-block: 56px; }

/* Photo slides: full-bleed photo with a scrim behind the copy */
.k-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k-slide--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 14, 69, 0.96) 0%, rgba(13, 14, 69, 0.9) 30%, rgba(13, 14, 69, 0.55) 52%, rgba(13, 14, 69, 0) 78%); }
.k-slide-copy { max-width: 33rem; }
.k-slide h2 { color: #fff; font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; }
.k-slide .k-mr { margin-top: 16px; color: var(--marigold); font-size: var(--step-2); line-height: 1.45; }
.k-slide-text { margin-top: 18px; color: var(--on-dark-muted); font-size: var(--step-1); line-height: 1.55; max-width: 34ch; }
.k-slide-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.k-slide-credit { position: absolute; z-index: 1; right: var(--gutter); bottom: 18px; color: rgba(255, 255, 255, 0.78); font-size: 0.8125rem; }
.k-slide-bg.is-felicitation { object-position: 50% 100%; transform: scale(1.2); transform-origin: 62% 100%; }

/* Light slides: results and KSAT on white */
.k-slide--light { background: var(--paper); color: var(--text); }
.k-slide--light h2 { color: var(--navy); font-size: clamp(2.2rem, 1.3rem + 3vw, 3.9rem); }
.k-slide--light .k-slide-text { color: var(--muted); }
.k-slide--ksat .k-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* Toppers slide: NEET / IIT-JEE toggle and a slowly rolling column of student cards */
.k-toggle { display: inline-flex; margin-top: 24px; padding: 5px; border-radius: 999px; background: #E6F6F8; }
.k-toggle button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.k-toggle button:hover { background: rgba(20, 20, 107, 0.07); }
.k-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.k-roll-box { position: relative; padding: 0 16px; border-radius: 24px; background: var(--cool); }
.k-roll-window {
  height: 480px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.k-roll { padding-top: 16px; animation: k-roll var(--roll-time, 60s) linear infinite; }
@keyframes k-roll { to { transform: translateY(-50%); } }
/* Same pause rules as the slideshow: pointer over the list, keyboard focus in the hero, or the pause button */
.k-roll-window:hover .k-roll, .k-hero.is-paused .k-roll, .k-hero:has(:focus-visible) .k-roll { animation-play-state: paused; }
.k-roll-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 12px; }
.k-topper { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 12px 24px -20px rgba(13, 14, 69, 0.5); }
.k-topper img { flex: none; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--marigold); }
.k-topper-text { flex: 1; min-width: 0; }
.k-topper-name { color: var(--navy); font-weight: 600; line-height: 1.25; }
.k-topper-inst { margin-top: 2px; color: var(--teal); font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; line-height: 1.25; }
.k-topper-detail { margin-top: 2px; color: var(--muted); font-size: 0.875rem; line-height: 1.3; }
.k-topper-score { flex: none; display: flex; flex-direction: column; align-items: flex-end; color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; line-height: 1; letter-spacing: -0.02em; }
.k-topper-score span { margin-top: 3px; color: var(--muted); font-family: var(--font-body); font-weight: 500; font-size: 0.75rem; letter-spacing: 0; }
.k-slide--ksat .k-slide-copy { max-width: 38rem; }
.k-results-line { margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1.3; color: var(--ochre); }
.k-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.k-posters { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.k-posters img { width: 100%; height: auto; aspect-ratio: 1040 / 861; object-fit: cover; border-radius: 14px; box-shadow: 0 24px 48px -28px rgba(13, 14, 69, 0.55); }
.k-posters img + img { margin-top: 40px; }
.k-poster-iit { justify-self: end; width: min(100%, 540px); border-radius: 14px; box-shadow: 0 24px 48px -28px rgba(13, 14, 69, 0.55); }
.k-ksat-name { margin-top: 12px; font-weight: 600; color: var(--ochre); font-size: var(--step-1); }
.k-phone-stage { position: relative; justify-self: center; display: grid; place-items: center; width: 420px; max-width: 100%; aspect-ratio: 1; }
.k-phone-stage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: var(--marigold); }
.k-phone { position: relative; width: 230px; padding: 10px; border-radius: 36px; background: var(--navy); transform: rotate(-5deg); box-shadow: 0 28px 50px -18px rgba(13, 14, 69, 0.55); }
.k-phone img { border-radius: 26px; }

/* Chapter tabs under the stage */
.k-chapters { border-top: 1px solid rgba(255, 255, 255, 0.12); transition: border-color 0.6s ease; }
.k-chapters .k-wrap { display: flex; align-items: stretch; gap: 16px; }
.k-tablist { position: relative; flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
.k-tab { position: relative; background: none; border: 0; padding: 18px 0 20px; text-align: left; font-weight: 500; color: var(--on-dark-muted); cursor: pointer; white-space: nowrap; }
.k-tab:hover, .k-tab[aria-selected="true"] { color: #fff; }
.k-bar { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.k-bar i { position: absolute; inset: 0; background: var(--marigold); transform-origin: left; transform: scaleX(0); }
.k-tab[aria-selected="true"] .k-bar i { animation: k-fill var(--slide-time) linear forwards; }
/* Pause while the pointer is over the hero, while a keyboard user is inside it, or when paused by the button */
.k-hero.is-paused .k-bar i, .k-hero:hover .k-bar i, .k-hero:has(:focus-visible) .k-bar i { animation-play-state: paused; }
@keyframes k-fill { to { transform: scaleX(1); } }
.k-pause { flex: none; display: inline-flex; align-items: center; gap: 8px; align-self: center; background: none; border: 0; color: var(--on-dark-muted); font-size: var(--step--1); cursor: pointer; padding: 8px 0; }
.k-pause:hover { color: #fff; }
.k-pause svg { width: 14px; height: 14px; }
.k-hero[data-tone="light"] .k-chapters { border-top-color: var(--line); }
.k-hero[data-tone="light"] .k-tab, .k-hero[data-tone="light"] .k-pause { color: var(--muted); }
.k-hero[data-tone="light"] .k-tab:hover, .k-hero[data-tone="light"] .k-tab[aria-selected="true"], .k-hero[data-tone="light"] .k-pause:hover { color: var(--navy); }
.k-hero[data-tone="light"] .k-bar { background: #E4E6F0; }
.k-hero[data-tone="light"] .k-bar i { background: var(--navy); }

/* Sections */
.k-section { padding-block: clamp(72px, 9vw, 120px); }
.k-section--cool { background: var(--cool); }
.k-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.k-head h2 { font-size: var(--step-3); max-width: 20ch; }
.k-head p { max-width: 48ch; color: var(--muted); }
.k-head > div > p { margin-top: 12px; }

/* Course cards */
.k-courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.k-course { --accent: var(--navy); --on-accent: #fff; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 10px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.k-course:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -28px rgba(13, 14, 69, 0.45); }
.k-course--foundation { --accent: var(--marigold); --on-accent: var(--navy-deep); }
.k-course--neet { --accent: var(--teal); }
.k-course--jee { --accent: var(--navy); }
.k-course--cet { --accent: var(--red-deep); }
.k-course-top { position: relative; overflow: hidden; min-height: 176px; padding: 20px 20px 22px; border-radius: 16px; background: var(--accent); color: var(--on-accent); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.k-course-class { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: var(--step--1); font-weight: 600; }
.k-course--foundation .k-course-class { background: rgba(255, 255, 255, 0.45); }
.k-course-top h3 { position: relative; color: inherit; font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); font-weight: 800; }
.k-course-art { position: absolute; right: -18px; bottom: -22px; width: 132px; height: 132px; opacity: 0.22; stroke-width: 1.5; }
.k-course-body { flex: 1; display: flex; flex-direction: column; padding: 20px 12px 10px; }
.k-course-body > p { color: var(--muted); }
.k-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.k-chips li { padding: 2px 11px; border-radius: 999px; background: var(--cool); color: var(--navy); font-size: 0.875rem; font-weight: 500; }
.k-course-more { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.k-course-cta { padding-top: 16px; }
.k-course-cta a { white-space: nowrap; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 12px; background: var(--cool); color: var(--navy); font-weight: 600; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; }
.k-course-cta a:hover { background: var(--accent); color: var(--on-accent); }

/* NEET champions strip */
.k-strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.k-strip-head h2 { font-size: var(--step-3); }
.k-strip-head p { margin-top: 10px; color: var(--muted); max-width: 46ch; }
.k-strip-tools { display: flex; align-items: center; gap: 20px; }
.k-arrows { display: flex; gap: 10px; }
.k-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: var(--paper); color: var(--navy); display: grid; place-items: center; cursor: pointer; font-size: 20px; transition: background-color 0.15s ease, color 0.15s ease; }
.k-arrow:hover { background: var(--navy); color: #fff; }
.k-arrow:disabled { opacity: 0.35; cursor: default; background: var(--paper); color: var(--navy); }
.k-posterstrip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 380px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 16px; scrollbar-color: var(--line) transparent; }
.k-posterstrip li { scroll-snap-align: start; }
.k-posterstrip img { width: 100%; height: auto; aspect-ratio: 1040 / 861; object-fit: cover; border-radius: 16px; background: var(--paper); }

/* Founder */
.k-founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.k-founder img { width: 100%; aspect-ratio: 601 / 701; object-fit: cover; border-radius: 24px; }
.k-founder figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--muted); }
.k-founder h2 { font-size: var(--step-3); }
.k-founder p { margin-top: 18px; max-width: 52ch; }
.k-founder p + p { color: var(--muted); }
.k-facts { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 560px; }
.k-facts div { padding: 16px 18px; border-radius: 16px; background: var(--cool); }
.k-facts dt { font-size: var(--step--1); color: var(--muted); }
.k-facts dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--navy); line-height: 1.2; }

/* How we teach: bento of cards */
.k-teach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.k-teach > li { --tile: #ECEDF8; --tile-ink: var(--navy); display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.k-teach .is-wide { grid-column: span 2; }
.k-teach h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.k-teach p { color: var(--muted); }
.k-tile { width: 54px; height: 54px; margin-bottom: 8px; border-radius: 16px; display: grid; place-items: center; background: var(--tile); color: var(--tile-ink); font-size: 26px; }
.k-tile--marigold { --tile: #FEF0D3; --tile-ink: var(--ochre); }
.k-tile--teal { --tile: #E2F4F6; --tile-ink: var(--teal); }
.k-tile--red { --tile: #FDE8EA; --tile-ink: var(--red-deep); }
.k-teach .k-chips { margin-top: auto; padding-top: 8px; }
.k-teach .is-parents { background: var(--navy); border-color: var(--navy); }
.k-teach .is-parents h3 { color: #fff; }
.k-teach .is-parents p { color: var(--on-dark-muted); }
.k-teach .is-parents .k-tile { background: var(--marigold); color: var(--navy-deep); }
.k-teach .is-parents .k-chips li { background: rgba(255, 255, 255, 0.12); color: #fff; }
.k-for { align-self: flex-start; padding: 2px 11px; border-radius: 999px; background: var(--marigold); color: var(--navy-deep); font-size: 0.875rem; font-weight: 600; }
.k-teach .is-parents .k-tile + .k-for { margin-top: -4px; }

/* Centres */
.k-centres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.k-centres img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.k-centres h3 { margin-top: 18px; font-size: var(--step-1); letter-spacing: -0.015em; line-height: 1.2; }
.k-centres h3 a { text-decoration: none; }
.k-centres h3 a:hover { color: var(--red-deep); }
.k-centres address { margin-top: 6px; color: var(--muted); font-size: var(--step--1); }
.k-tel { display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 12px; font-weight: 600; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; }
.k-tel:hover { color: var(--red-deep); }
.k-tels { display: grid; gap: 6px; }
.k-tels .k-tel { margin-top: 0; }
.k-centres .k-link { margin-top: 6px; font-size: var(--step--1); }

/* Videos */
.k-videos { padding-bottom: 8px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 330px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--line) transparent; }
.k-videos li { scroll-snap-align: start; }
:is(.k-videos, .k-video-grid) a { display: block; text-decoration: none; }
.k-thumb { position: relative; border-radius: 16px; overflow: hidden; }
.k-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.k-play { position: absolute; left: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.k-play svg { width: 14px; height: 14px; margin-left: 2px; }
:is(.k-videos, .k-video-grid) :is(h2, h3) { margin-top: 12px; font-size: var(--step-0); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
:is(.k-videos, .k-video-grid) a:hover :is(h2, h3) { color: var(--red-deep); }

/* Call-back */
.k-callback { background: var(--paper); border-top: 1px solid var(--line); }
.k-callback > .k-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); padding-block: clamp(72px, 9vw, 112px); align-items: start; }
.k-callback h2 { font-size: var(--step-3); }
.k-callback .k-mr { margin-top: 10px; color: var(--ochre); font-size: var(--step-1); }
.k-callback .k-lede { margin-top: 18px; color: var(--muted); max-width: 42ch; }
.k-direct { margin-top: 36px; border-top: 1px solid var(--line); }
.k-direct li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.k-direct a { color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.k-direct a:hover { color: var(--red-deep); }
.k-form { background: var(--cool); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.k-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.k-field { display: flex; flex-direction: column; gap: 6px; }
.k-field.is-full { grid-column: 1 / -1; }
.k-field label { font-weight: 600; color: var(--navy); font-size: var(--step--1); }
.k-field .k-opt { font-weight: 400; color: var(--muted); }
.k-field :is(input, select, textarea) { width: 100%; font: inherit; color: var(--text); min-height: 52px; padding: 11px 14px; border: 1.5px solid #BEC2D6; border-radius: 12px; background: #fff; }
.k-field textarea { min-height: 92px; resize: vertical; }
.k-field :is(input, select, textarea):focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(246, 168, 33, 0.5); }
.k-field[data-invalid] :is(input, select) { border-color: var(--red); }
.k-error { display: none; color: var(--red-deep); font-size: var(--step--1); }
.k-field[data-invalid] .k-error { display: block; }
.k-form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.k-form-note { color: var(--muted); font-size: var(--step--1); max-width: 30ch; }
.k-form-fail { display: none; margin-top: 16px; color: var(--red-deep); }
.k-form.is-failed .k-form-fail { display: block; }
.k-sent { display: none; }
.k-form.is-sent .k-form-grid, .k-form.is-sent .k-form-foot, .k-form.is-sent .k-form-fail { display: none; }
.k-form.is-sent .k-sent { display: block; }
.k-sent h3 { font-size: var(--step-2); }
.k-sent p { margin-top: 10px; color: var(--muted); }

/* Footer */
.k-footer { background: var(--navy-deep); color: #C4C7EA; font-size: var(--step--1); padding-block: 64px 32px; }
.k-foot { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.k-logo-plate { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 14px; }
.k-logo-plate img { width: 170px; }
.k-foot h3 { font-family: var(--font-body); color: #fff; font-size: var(--step--1); font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.k-foot ul { display: grid; gap: 8px; align-content: start; }
.k-foot a { color: #fff; text-decoration: none; }
.k-foot a:hover { color: var(--marigold); }
.k-foot-addr { margin-top: 18px; }
.k-foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.k-foot-base a { color: #C4C7EA; text-decoration: none; }
.k-foot-base a:hover { color: #fff; }
.k-footer :focus-visible { outline-color: var(--marigold); }
.k-call-fab, .k-call-fab[hidden] { display: none; }

/* Inner pages: a page head with breadcrumbs, then sections */
.k-pagehead { background: var(--cool); }
.k-pagehead > .k-wrap { padding-block: clamp(32px, 4.5vw, 56px) clamp(52px, 7vw, 96px); }
.k-pagehead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.k-pagehead-grid--form { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.k-crumbs ol { display: flex; flex-wrap: wrap; font-size: var(--step--1); color: var(--muted); }
.k-crumbs li + li::before { content: "/"; margin-inline: 10px; opacity: 0.55; }
.k-crumbs a { color: var(--navy); font-weight: 500; text-decoration: none; }
.k-crumbs a:hover { color: var(--red-deep); }
.k-pagehead h1 { margin-top: 20px; font-size: clamp(2.4rem, 1.5rem + 3vw, 4.1rem); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.k-pagehead .k-article-title { max-width: 28ch; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.3rem); }
.k-lede { margin-top: 18px; max-width: 46ch; color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.k-pagehead .k-chips { margin-top: 22px; }
.k-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.k-pagehead-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.k-pagehead-media .k-thumb { border-radius: 24px; }
.k-pagehead-media .k-play { left: 20px; bottom: 20px; width: 64px; height: 64px; }
.k-pagehead-media .k-play svg { width: 20px; height: 20px; }
.k-pagehead-media .k-thumb img { aspect-ratio: 16 / 9; }
.k-pagehead-media > a { display: block; text-decoration: none; }
.k-pagehead-media :is(h2, h3) { margin-top: 14px; font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
.k-pagehead-media > a:hover :is(h2, h3) { color: var(--red-deep); }
.k-course-video { margin-top: 36px; max-width: 560px; }
.k-pagehead address { margin-top: 18px; max-width: 40ch; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.k-pagehead .k-tel { margin-top: 14px; font-size: var(--step-1); }
.k-more { margin-top: 28px; display: grid; justify-items: start; gap: 12px; }
.k-more > p { color: var(--muted); }

/* Course pages: the head takes the colour and icon of the course's homepage card */
.k-pagehead--course { --accent: var(--navy); --on-accent: #fff; position: relative; overflow: hidden; background: var(--accent); color: var(--on-accent); }
.k-pagehead--foundation { --accent: var(--marigold); --on-accent: var(--navy-deep); }
.k-pagehead--neet { --accent: var(--teal); }
.k-pagehead--cet { --accent: var(--red-deep); }
.k-pagehead--course > .k-wrap { position: relative; z-index: 1; }
.k-pagehead--course :is(h1, .k-crumbs ol, .k-crumbs a, .k-crumbs a:hover) { color: inherit; }
.k-pagehead--course .k-lede { color: inherit; opacity: 0.9; }
.k-pagehead--course .k-course-class { display: inline-block; margin-top: 24px; }
.k-pagehead--course .k-chips li { background: rgba(255, 255, 255, 0.16); color: inherit; }
.k-pagehead--foundation :is(.k-chips li, .k-course-class) { background: rgba(255, 255, 255, 0.45); }
.k-pagehead-art { position: absolute; right: -70px; bottom: -90px; width: 520px; height: 520px; opacity: 0.16; stroke-width: 1.2; }
.k-pagehead--course .k-btn-primary { background: #fff; color: var(--navy-deep); }
.k-pagehead--course .k-btn-primary:hover { background: var(--cool); color: var(--navy-deep); }
.k-pagehead--foundation .k-btn-primary { background: var(--navy); color: #fff; }
.k-pagehead--foundation .k-btn-primary:hover { background: var(--navy-deep); color: #fff; }
.k-pagehead--foundation .k-btn-ghost { color: var(--navy-deep); box-shadow: inset 0 0 0 1.5px var(--navy-deep); }
.k-pagehead--foundation .k-btn-ghost:hover { background: rgba(13, 14, 69, 0.08); color: var(--navy-deep); }
.k-pagehead--course :focus-visible { outline-color: currentColor; }
.k-courses--few { grid-template-columns: repeat(auto-fill, minmax(260px, 300px)); }

/* Heading on the left, text on the right */
.k-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(32px, 6vw, 88px); align-items: start; }
.k-intro h2 { font-size: var(--step-3); max-width: 14ch; }
.k-intro-text { margin-top: 12px; max-width: 34ch; color: var(--muted); }

/* Text beside a picture */
.k-split-title { font-size: var(--step-3); }
.k-split .k-prose, .k-split-text { margin-top: 18px; }
.k-split-text { max-width: 52ch; color: var(--muted); }
.k-split-note { margin-top: 24px; }
.k-split-img { width: 100%; border-radius: 24px; }

/* Long-form text: about, legal pages and blog posts */
.k-prose { max-width: 68ch; }
.k-prose > * + * { margin-top: 1em; }
.k-prose > :is(h2, h3) { margin-top: 1.6em; }
.k-prose h2 { font-size: var(--step-2); }
.k-prose h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
.k-prose :is(ul, ol) { padding-left: 1.25em; }
.k-prose ul { list-style: disc; }
.k-prose ol { list-style: decimal; }
.k-prose li + li { margin-top: 0.4em; }
.k-prose a { color: var(--navy); text-underline-offset: 3px; }
.k-prose a:hover { color: var(--red-deep); }
.k-prose .lead, .k-prose--lead > p:first-child { font-size: var(--step-1); line-height: 1.55; }
.k-prose img { border-radius: 16px; }

/* Photo cards */
.k-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.k-features img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.k-features h2 { margin-top: 20px; font-size: var(--step-1); letter-spacing: -0.015em; line-height: 1.2; }
.k-features p { margin-top: 8px; color: var(--muted); }

/* Numbered steps, only for things that happen in order */
.k-steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.k-steps > li { counter-increment: step; display: flex; flex-direction: column; padding: 26px 24px 28px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.k-steps > li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.k-steps h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
.k-steps p { margin-top: 8px; color: var(--muted); }

/* Cards side by side that are not a sequence */
.k-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.k-cards > li { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.k-cards :is(h2, h3) { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
.k-cards p { color: var(--muted); }
.k-cards > li > :is(.k-btn, .k-link):last-child { margin-top: auto; align-self: flex-start; }
.k-cards > li > p + :is(.k-btn, .k-link) { margin-top: 14px; }
.k-cards--stack { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }

/* Ticked list */
.k-ticks { display: grid; gap: 10px; margin-top: 22px; }
.k-ticks li { display: flex; gap: 12px; }
.k-ticks .k-icon { margin-top: 0.3em; color: var(--teal); stroke-width: 2.5; }

/* Short notices */
.k-note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #FEF0D3; color: var(--text); }
.k-note .k-icon { margin-top: 0.3em; color: var(--ochre); }
.k-note--cool { background: var(--cool); }
.k-note--cool .k-icon { color: var(--navy); }

/* Forms on inner pages: registrations and the hall ticket */
.k-pagehead .k-form { background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(13, 14, 69, 0.45); }
.k-form > h2 { font-size: var(--step-2); margin-bottom: 22px; }
.k-hint { color: var(--muted); font-size: var(--step--1); }
.k-field[data-invalid] .k-hint { display: none; }
.k-form-alert { margin-bottom: 20px; padding: 12px 16px; border-radius: 12px; background: #FDE8EA; color: var(--red-deep); font-weight: 500; }

/* Tables */
.k-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.k-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.k-table :is(th, td) { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.k-table thead th { background: var(--cool); color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.k-table tbody th { color: var(--navy); font-weight: 600; }
.k-table .is-num { text-align: right; }
.k-table-sub { display: block; color: var(--muted); font-size: var(--step--1); font-weight: 400; }
.k-table tfoot :is(th, td) { border-bottom: 0; color: var(--navy); font-weight: 700; }
.k-pattern { margin-top: 28px; }

/* KSAT hall ticket; prints on its own */
.k-ticket { --notch: 14px; max-width: 540px; border-radius: 24px; background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(13, 14, 69, 0.45); overflow: hidden; }
.k-ticket-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 2px dashed var(--line); }
.k-ticket-top::before, .k-ticket-top::after { content: ""; position: absolute; bottom: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--cool); }
.k-ticket-top::before { left: calc(var(--notch) * -1); }
.k-ticket-top::after { right: calc(var(--notch) * -1); }
.k-ticket-top img { width: 150px; }
.k-ticket-tag { padding: 3px 12px; border-radius: 999px; background: var(--marigold); color: var(--navy-deep); font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.k-ticket-body { padding: 24px 24px 26px; }
.k-ticket-body h2 { font-size: var(--step-2); }
.k-ticket dl { margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.k-ticket dt { color: var(--muted); font-size: var(--step--1); }
.k-ticket dd { margin: 0; color: var(--navy); font-weight: 600; line-height: 1.35; }
.k-ticket .is-wide { grid-column: 1 / -1; }
.k-ticket .is-roll { padding: 14px 16px; border-radius: 14px; background: var(--cool); }
.k-ticket .is-roll dd { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); letter-spacing: 0.01em; }
.k-ticket-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

/* Downloads */
.k-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.k-files a { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; transition: border-color 0.15s ease; }
.k-files a:hover { border-color: var(--navy); }
.k-files .k-tile { width: 44px; height: 44px; margin: 0; border-radius: 12px; font-size: 20px; }
.k-files small { margin-left: auto; color: var(--muted); font-size: var(--step--1); font-weight: 500; }

/* Video grids and the on-page player */
.k-video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
.k-player { width: min(960px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 18px; background: var(--navy-deep); color: #fff; overflow: hidden; }
.k-player::backdrop { background: rgba(13, 14, 69, 0.82); }
.k-player-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 20px; }
.k-player-bar p { margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-player-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: #fff; font-size: 22px; cursor: pointer; }
.k-player-close:hover { background: rgba(255, 255, 255, 0.12); }
.k-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.k-player :focus-visible { outline-color: var(--marigold); }

/* Blog */
.k-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.k-post > a { display: block; color: inherit; text-decoration: none; }
.k-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.k-post time { display: block; margin-top: 18px; color: var(--muted); font-size: var(--step--1); }
.k-post h2 { margin-top: 4px; font-size: var(--step-1); letter-spacing: -0.015em; line-height: 1.25; }
.k-post p { margin-top: 8px; color: var(--muted); }
.k-post .k-link { margin-top: 14px; }
.k-post > a:hover h2 { color: var(--red-deep); }
.k-post.is-lead { grid-column: 1 / -1; }
.k-post.is-lead > a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(28px, 5vw, 64px); align-items: center; }
.k-post.is-lead time { margin-top: 0; }
.k-post.is-lead h2 { font-size: var(--step-2); }
.k-pagehead time { display: block; margin-top: 16px; color: var(--muted); }
.k-article-img { width: 100%; max-width: 980px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Results */
.k-jump { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.k-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--paper); color: var(--navy); font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.k-jump a:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.k-topper-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.k-section:not(.k-section--cool) .k-topper { background: var(--cool); box-shadow: none; }
.k-group + .k-group { margin-top: 44px; }
.k-group > h3 { margin-bottom: 16px; font-size: var(--step-1); }
.k-group > h3 span { color: var(--muted); font-family: var(--font-body); font-weight: 500; font-size: var(--step-0); letter-spacing: 0; }
.k-disclose { margin-top: 36px; }
.k-disclose summary { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--navy); color: var(--navy); font-weight: 600; cursor: pointer; list-style: none; transition: background-color 0.15s ease, color 0.15s ease; }
.k-disclose summary::-webkit-details-marker { display: none; }
.k-disclose summary:hover { background: var(--navy); color: #fff; }
.k-disclose summary .k-icon { transform: rotate(90deg); transition: transform 0.15s ease; }
.k-disclose[open] summary .k-icon { transform: rotate(-90deg); }
.k-disclose-body { margin-top: 24px; }
.k-poster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.k-poster-grid img, .k-poster-single { width: 100%; height: auto; border-radius: 16px; }
.k-poster-single { max-width: 820px; }
.k-poster-navodaya { max-width: 640px; }

/* Maps */
.k-maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.k-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 18px; background: var(--cool); }
.k-centre-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 64px); align-items: start; }
.k-centre-grid .k-courses--few { grid-template-columns: minmax(0, 1fr); }
.k-map--fill iframe { aspect-ratio: auto; height: 100%; min-height: 440px; }
.k-centre-grid > div:last-child { display: flex; flex-direction: column; align-self: stretch; }
.k-centre-grid .k-map--fill { flex: 1; display: flex; }
.k-centre-grid .k-map--fill iframe { flex: 1; }
.k-map figcaption { margin-top: 14px; }
.k-map h3 { font-size: var(--step-1); letter-spacing: -0.015em; }
.k-map address { margin-top: 4px; color: var(--muted); font-size: var(--step--1); }

/* Not found and error pages */
.k-status { padding-block: clamp(64px, 10vw, 136px); }
.k-status h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; }
.k-status-links { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* Responsive */
@media (max-width: 1120px) {
  .k-nav, .k-header .k-btn-primary { display: none; }
  .k-menu-btn { margin-left: auto; display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: 12px; }
  .k-menu-btn svg { width: 26px; height: 26px; }
  .k-header.is-open .k-nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .k-header.is-open .k-nav ul { flex-direction: column; gap: 0; }
  .k-header.is-open .k-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .k-header.is-open .k-nav a:hover, .k-header.is-open .k-nav a[aria-current="page"] { box-shadow: none; color: var(--red-deep); }
  .k-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-teach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-centres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .k-foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .k-foot > div:first-child { grid-column: 1 / -1; }
  .k-features, .k-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .k-topper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .k-split, .k-slide--ksat .k-split, .k-founder, .k-callback > .k-wrap { grid-template-columns: minmax(0, 1fr); }
  .k-founder figure { max-width: 420px; }
  .k-slide { align-items: flex-end; min-height: 640px; }
  .k-slide--photo::after { background: linear-gradient(0deg, rgba(13, 14, 69, 0.96) 0%, rgba(13, 14, 69, 0.85) 42%, rgba(13, 14, 69, 0.15) 75%, rgba(13, 14, 69, 0) 100%); }
  .k-slide-bg.is-felicitation { object-position: 55% 100%; transform: scale(1.5); transform-origin: 55% 100%; }
  .k-slide-credit { top: 14px; bottom: auto; right: 16px; }
  .k-split .k-slide-visual { order: -1; }
  .k-slide--toppers .k-slide-visual { order: 0; }
  .k-roll-window { height: 340px; }
  .k-toggle { margin-top: 18px; }
  .k-slide--light > .k-wrap { padding-block: 32px 40px; }
  .k-posters { grid-template-columns: minmax(0, 1fr); }
  .k-posters img + img { display: none; }
  .k-poster-iit { justify-self: start; width: 100%; max-height: 260px; object-fit: cover; object-position: 0 0; }
  .k-phone-stage { width: 240px; }
  .k-phone { width: 150px; padding: 7px; border-radius: 24px; }
  .k-phone img { border-radius: 18px; }
  .k-tablist { display: flex; overflow-x: auto; gap: 22px; scrollbar-width: none; }
  .k-tablist::-webkit-scrollbar { display: none; }
  .k-tab { flex: none; }
  .k-pause span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .k-pagehead-grid, .k-pagehead-grid--form, .k-intro, .k-maps, .k-post.is-lead > a { grid-template-columns: minmax(0, 1fr); }
  .k-pagehead-media { max-width: 560px; }
  .k-pagehead-art { width: 300px; height: 300px; right: -60px; bottom: -70px; }
  .k-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-files, .k-poster-grid { grid-template-columns: minmax(0, 1fr); }
  .k-centre-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .k-centre-grid .k-courses--few { grid-template-columns: repeat(auto-fill, minmax(260px, 300px)); }
  .k-map--fill iframe { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .k-roll-list { grid-template-columns: minmax(0, 1fr); }
  .k-roll { animation-duration: calc(var(--roll-time, 60s) * 2); }
  .k-roll-box { padding: 0 10px; }
  .k-toggle button { padding: 0 16px; font-size: 1rem; }
  .k-brand img { width: 160px; }
  .k-header .k-wrap { min-height: 68px; }
  .k-slide h2 { font-size: 2.5rem; }
  .k-slide--light h2 { font-size: 2.1rem; }
  .k-courses, .k-teach, .k-form-grid { grid-template-columns: minmax(0, 1fr); }
  .k-teach .is-wide { grid-column: auto; }
  .k-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .k-facts div { padding: 12px; }
  .k-arrows { display: none; }
  .k-posterstrip { grid-auto-columns: 84%; gap: 14px; }
  .k-centres {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .k-centres li { scroll-snap-align: start; }
  .k-foot { grid-template-columns: 1fr 1fr; }
  body.k-has-fab { padding-bottom: 84px; }
  .k-features, .k-posts, .k-topper-grid, .k-video-grid { grid-template-columns: minmax(0, 1fr); }
  .k-pagehead h1 { font-size: 2.3rem; }
  .k-table :is(th, td) { padding: 11px 12px; }
  .k-ticket-top { padding: 16px 18px; }
  .k-ticket-top img { width: 120px; }
  .k-ticket-body { padding: 20px 18px 22px; }
  .k-call-fab { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; box-shadow: 0 10px 28px rgba(13, 14, 69, 0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .k-hero, .k-slide, .k-chapters { transition: none; }
  .k-tab[aria-selected="true"] .k-bar i { animation: none; transform: scaleX(1); }
  .k-pause { display: none; }
  .k-btn, .k-course, .k-course-cta a, .k-link .k-icon, .k-arrow { transition: none; }
  .k-course:hover { transform: none; }
  .k-posterstrip { scroll-behavior: auto; }
  .k-roll { animation: none; }
  .k-roll-window { overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
  .k-roll-list[aria-hidden] { display: none; }
  .k-toggle button { transition: none; }
  .k-files a, .k-disclose summary, .k-disclose summary .k-icon { transition: none; }
}
@media print {
  /* Only the hall ticket prints */
  body.k * { visibility: hidden; }
  body.k .k-ticket, body.k .k-ticket * { visibility: visible; }
  .k-ticket { position: absolute; left: 0; top: 0; width: 100%; max-width: 160mm; box-shadow: none; border: 1px solid #999; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .k-ticket-top::before, .k-ticket-top::after { display: none; }
}
