@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Malayalam:wght@400;500;600;700&display=swap');

:root {
  --font-sans: "Inter", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-ml: "Noto Sans Malayalam", "Noto Sans", sans-serif;
  --ink: #243b32;
  --ink-soft: #5d6e65;
  --navy: #224c3d;
  --navy-deep: #17352a;
  --navy-soft: #356756;
  --navy-rgb: 34, 76, 61;
  --navy-deep-rgb: 23, 53, 42;
  --navy-soft-rgb: 53, 103, 86;
  --ink-rgb: 36, 59, 50;
  --overlay-rgb: 18, 33, 27;
  --shadow-rgb: 20, 32, 27;
  --teal: #c8a96b;
  --teal-strong: #a88a52;
  --teal-hover: #8d713d;
  --teal-soft: #efe2c5;
  --teal-pale: #fbf8f1;
  --teal-rgb: 200, 169, 107;
  --teal-soft-rgb: 239, 226, 197;
  --gold: var(--teal);
  --gold-soft: var(--teal-soft);
  --gold-pale: var(--teal-pale);
  --cream: #fffcf8;
  --mist: #faf7f0;
  --off: #fdfbf7;
  --grey: #e7ece9;
  --white: #ffffff;
  --warning-bg: #fff3cd;
  --warning-border: #d39a24;
  --warning-text: #6a4810;
  --warning-label-bg: #f6d88f;
  --muted: #55655d;
  --muted-strong: #3d4d45;
  --border: rgba(var(--ink-rgb), 0.1);
  --border-strong: rgba(var(--ink-rgb), 0.18);
  --shadow-sm: 0 10px 22px rgba(var(--shadow-rgb), 0.06);
  --shadow-md: 0 16px 32px rgba(var(--shadow-rgb), 0.08);
  --shadow: 0 18px 38px rgba(var(--shadow-rgb), 0.1);
  --shadow-lg: 0 28px 72px rgba(var(--shadow-rgb), 0.16);
  --shadow-card: 0 10px 22px rgba(var(--shadow-rgb), 0.05);
  --shadow-card-strong: 0 14px 28px rgba(var(--shadow-rgb), 0.07);
  --shadow-panel: 0 22px 42px rgba(var(--navy-deep-rgb), 0.16);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --r-xl: 36px;
  --max: 1180px;
  /* One horizontal inset for nav, hero grids, and .wrap (edges line up) */
  --page-edge: 1.2rem;
  /* Hero layout — shared with home.css */
  --header-height: 92px;
  --hero-inner-min-h: 420px;
  --hero-inner-img-w: 460px;
  /* Match homepage band thickness; inner rows were visually shorter without home meta block */
  --hero-split-pad-top-extra: clamp(44px, 4.5vw, 52px);
  --hero-split-pad-bottom: clamp(44px, 5.25vw, 58px);
  --hero-split-gap: clamp(32px, 5vw, 64px);
  /* Min grid row (copy vs image) ≈ home right column image + meta footprint */
  --hero-split-row-min-h: clamp(380px, 38vw, 452px);
  /* Home + inner image heroes — eyebrow / title / lede / CTA rhythm (homepage is source of truth) */
  --hero-eyebrow-fs: clamp(0.8rem, 1.15vw, 0.9rem);
  --hero-eyebrow-ls: 0.06em;
  --hero-title-fs: clamp(32px, 3.6vw, 52px);
  --hero-lede-fs: clamp(16px, 1.25vw, 18px);
  --hero-bc-mt: 22px;
  --hero-img-radius-outer: 24px;
  --hero-img-radius-inner: 16px;
  --hero-img-pad-shell: 12px;
  /* Home hero: space below the 4:3 photo (.home-hero-meta margin + padding + one row ~ home.css). */
  --hero-inner-card-meta-stack: calc(10px + 20px + 3.85rem);

  /* Hero dual-colour tokens (headlines) */
  --brand-green: #174836;
  --brand-gold: #9a7a3a;
  /* Section rhythm: ~48–60px lg, ~38–48px md, ~28–40px sm */
  --section-y-lg: clamp(2rem, 3.5vw, 2.8rem);
  --section-y-md: clamp(1.75rem, 2.8vw, 2.4rem);
  --section-y-sm: clamp(1.4rem, 2vw, 1.9rem);
  --section-y-xl: clamp(2.5rem, 4vw, 3.75rem);
  --section-gap-lg: clamp(1.5rem, 2.5vw, 2.5rem);
  --section-gap-md: clamp(1rem, 1.8vw, 1.75rem);
  --section-gap-sm: clamp(0.65rem, 1.2vw, 1.125rem);
  --strip-to-panel-y: clamp(1.15rem, 1.9vw, 2.35rem);
  --block-gap-lg: 1.5rem;
  --block-gap-md: 1.25rem;
  --block-gap-sm: 0.875rem;
  --card-grid-gap: 1.125rem;
  --media-text-gap: clamp(1rem, 2.8vw, 1.5rem);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  /* Floating WA / back-to-top — raised when bottom admissions strip is visible (index) */
  --floating-bottom-offset: 1.25rem;
}

body.has-bottom-cta {
  --floating-bottom-offset: 108px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.65rem;
  z-index: 10001;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: var(--navy-deep);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease), outline-offset 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.skip-link:focus-visible {
  outline: 3px solid rgba(var(--teal-rgb), 0.65);
  outline-offset: 3px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(var(--teal-soft-rgb), 0.18), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(var(--navy-soft-rgb), 0.08), transparent 24%),
    linear-gradient(180deg, var(--off) 0%, var(--white) 24%, #f7fbf8 100%);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.lang-pill:focus-visible,
.hamburger:focus-visible,
.btn:focus-visible,
.btn-apply:focus-visible,
.programme-link:focus-visible,
.wa-float:focus-visible,
#btt:focus-visible,
.sa-close:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(var(--teal-rgb), 0.55);
  outline-offset: 3px;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

main,
section,
header,
footer {
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--page-edge)));
  margin: 0 auto;
}

.section {
  padding: var(--section-y-lg) 0;
}


.section-sm {
  padding: var(--section-y-md) 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Tighter than default section top: home uses ~1.2rem trust-strip top after hero */
.site-hero.site-hero--inner + .section,
.site-hero.site-hero--inner + .section-sm {
  padding-top: clamp(1rem, 2.2vw, 1.35rem);
}

.site-hero.site-hero--inner + .section.inner-first-section,
.site-hero.site-hero--inner + .section-sm.inner-first-section {
  padding-top: clamp(1rem, 2.2vw, 1.35rem);
}

.section + .section,
.section + .section-sm,
.section-sm + .section,
.section-sm + .section-sm,
.section-dark + .section,
.section-dark + .section-sm,
.section-dark + .section-alt {
  padding-top: 0.65rem;
}

.section-alt + .section,
.section-alt + .section-sm,
.section-alt + .section-alt,
.section + .section-alt,
.section-sm + .section-alt {
  padding-top: 0.5rem;
}

.section-alt + .section-dark,
.section + .section-dark {
  padding-top: 0;
}

.section-alt:has(+ .section-dark),
.section:has(+ .section-dark),
.pre-dark {
  padding-bottom: 0 !important;
}

.section:has(+ .section),
.section:has(+ .section-alt),
.section:has(+ .section-sm),
.section-alt:has(+ .section),
.section-alt:has(+ .section-alt),
.section-alt:has(+ .section-sm),
.section-dark:has(+ .section),
.section-dark:has(+ .section-alt),
.section-sm:has(+ .section),
.section-sm:has(+ .section-alt),
.section-sm:has(+ .section-dark) {
  padding-bottom: 0.5rem;
}

.section-alt {
  background: var(--mist);
  box-shadow:
    inset 0 1px 0 rgba(var(--teal-rgb), 0.12),
    inset 0 -1px 0 rgba(var(--teal-rgb), 0.08);
}

.footer-tight {
  padding-bottom: 1.15rem !important;
}

.section-dark {
  background: var(--navy);
  color: white;
}

.ml {
  display: none !important;
}

.en {
  display: block !important;
}

span.en,
small.en {
  display: inline !important;
}

body:not(.eng) .ml {
  display: block !important;
}

body:not(.eng) span.ml,
body:not(.eng) small.ml {
  display: inline !important;
}

body:not(.eng) .en {
  display: none !important;
}

.ml-f {
  font-family: var(--font-ml);
}

html[lang="ml"] body,
html[lang="ml"] div,
html[lang="ml"] h1,
html[lang="ml"] h2,
html[lang="ml"] h3,
html[lang="ml"] h4,
html[lang="ml"] h5,
html[lang="ml"] h6,
html[lang="ml"] p,
html[lang="ml"] a,
html[lang="ml"] li,
html[lang="ml"] span,
html[lang="ml"] strong,
html[lang="ml"] small,
html[lang="ml"] th,
html[lang="ml"] td,
html[lang="ml"] label,
html[lang="ml"] button,
html[lang="ml"] input,
html[lang="ml"] textarea,
html[lang="ml"] select,
html[lang="ml"] option,
html[lang="ml"] .logo-name,
html[lang="ml"] .logo-sub,
html[lang="ml"] .hero-title,
html[lang="ml"] .s-title {
  font-family: var(--font-ml);
  letter-spacing: normal;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav.scrolled {
  box-shadow: 0 16px 44px rgba(var(--shadow-rgb), 0.08);
  border-color: var(--border);
}

.nav.hidden {
  transform: translateY(-100%);
}

.nav-w {
  width: min(var(--max), calc(100% - 2 * var(--page-edge)));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.logo-mark {
  width: 66px;
  height: 66px;
  padding: 4px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  box-shadow: 0 8px 18px rgba(var(--shadow-rgb), 0.06);
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.logo-sub {
  margin-top: 0.18rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.68);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(var(--ink-rgb), 0.84);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang-pill {
  position: relative;
  width: 156px;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  cursor: pointer;
}

.lp-slider {
  position: absolute;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.3s var(--ease);
}

body.eng .lp-slider {
  transform: translateX(100%);
}

.lp-opt {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(var(--ink-rgb), 0.62);
}

body:not(.eng) .lp-opt:first-child,
body.eng .lp-opt:last-child {
  color: white;
}

.btn-apply,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-apply {
  padding: 0.82rem 1.45rem;
  background: var(--navy);
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  color: white;
  box-shadow: 0 12px 24px rgba(var(--navy-rgb), 0.16);
}

.btn {
  padding: 0.95rem 1.55rem;
  box-shadow: 0 10px 22px rgba(var(--shadow-rgb), 0.06);
}

.btn:hover,
.btn-apply:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-teal {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border: 1px solid rgba(var(--navy-rgb), 0.2);
  color: white;
  box-shadow: 0 12px 24px rgba(var(--navy-rgb), 0.18);
}

.btn-primary:hover,
.btn-teal:hover {
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy-deep) 100%);
  box-shadow: 0 14px 28px rgba(var(--navy-rgb), 0.22);
}

.btn-gold {
  background: linear-gradient(135deg, rgba(var(--teal-soft-rgb), 0.95), rgba(255, 255, 255, 0.98));
  color: var(--navy);
  border: 1px solid rgba(var(--teal-rgb), 0.22);
  box-shadow: 0 10px 22px rgba(var(--shadow-rgb), 0.08);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(var(--teal-rgb), 0.08);
  color: var(--navy);
  border-color: rgba(var(--teal-rgb), 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(var(--teal-rgb), 0.08);
  color: var(--navy);
  border-color: rgba(var(--teal-rgb), 0.24);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-lg {
  padding: 1.05rem 1.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-full {
  width: 100%;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* Hero grid shells — centred width, scrollbar-safe */
.home-hero-grid,
.site-hero--inner .site-hero-container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 899px) {
  .home-hero-grid,
  .site-hero--inner .site-hero-container {
    width: min(var(--max), calc(100% - 32px));
  }
}

@media (max-width: 560px) {
  .home-hero-grid,
  .site-hero--inner .site-hero-container {
    width: min(var(--max), calc(100% - 24px));
  }
}

/* --- Heroes: inner + homepage (shared backdrop, flex, split-band sizing) --- */
.home-hero.site-hero.site-hero--home,
.site-hero.site-hero--inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
  background: linear-gradient(135deg, rgba(250, 248, 242, 0.96), rgba(243, 247, 244, 0.96));
  border-bottom: 1px solid rgba(20, 45, 75, 0.07);
}

.home-hero.site-hero.site-hero--home,
.site-hero.site-hero--inner:not(.site-hero--text-only) {
  padding-top: calc(var(--header-height) + var(--hero-split-pad-top-extra) + env(safe-area-inset-top, 0px));
}

.home-hero.site-hero.site-hero--home {
  min-height: var(--hero-inner-min-h);
  padding-bottom: var(--hero-split-pad-bottom);
}

.site-hero.site-hero--inner:not(.site-hero--text-only) {
  min-height: var(--hero-inner-min-h);
  /* Slightly tighter than home band; pair with reduced +.section padding-top */
  padding-bottom: clamp(28px, 3.6vw, 48px);
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.site-hero.site-hero--inner.site-hero--text-only {
  min-height: var(--hero-inner-min-h);
  padding-top: calc(var(--header-height) + var(--hero-split-pad-top-extra) + env(safe-area-inset-top, 0px));
  padding-bottom: var(--hero-split-pad-bottom);
}

.site-hero--inner .site-hero-container {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) var(--hero-inner-img-w);
  gap: var(--hero-split-gap);
  align-items: center;
}

/* Minimum row height: homepage grid only (inner uses auto + taller media shell) */
.home-hero-grid {
  min-height: var(--hero-split-row-min-h);
}

.site-hero.site-hero--inner:not(.site-hero--text-only) .site-hero-container {
  min-height: auto;
  align-content: center;
}

.site-hero--text-only .site-hero-container {
  grid-template-columns: 1fr;
}

.site-hero--inner .site-hero-copy {
  min-width: 0;
  max-width: min(760px, 100%);
  align-self: center;
}

.site-hero--text-only .site-hero-copy {
  max-width: min(760px, 100%);
}

.site-hero--inner .site-hero-label {
  margin: 0 0 8px;
  color: var(--brand-gold, #9a7a3a);
  font-size: var(--hero-eyebrow-fs);
  font-weight: 700;
  letter-spacing: var(--hero-eyebrow-ls);
  text-transform: uppercase;
  line-height: 1.3;
}

.site-hero--inner .site-hero-title {
  margin: 0;
  max-width: min(760px, 100%);
  overflow-wrap: normal;
  word-break: normal;
  color: var(--brand-green, #174836);
  font-size: var(--hero-title-fs);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

.site-hero--inner .site-hero-title > span {
  font: inherit;
  letter-spacing: inherit;
}

.site-hero--inner .site-hero-title .hero-accent {
  color: var(--brand-gold, #9a7a3a);
  font-style: italic;
  font-weight: 700;
  font-family: inherit;
}

.site-hero--inner .site-hero-title em {
  color: var(--brand-gold, #9a7a3a);
  font-family: inherit;
  font-style: italic;
  font-weight: 700;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.site-hero--inner .site-hero-lede {
  margin-top: 0;
  max-width: min(560px, 100%);
  font-size: var(--hero-lede-fs);
  line-height: 1.58;
  color: rgba(32, 52, 45, 0.78);
}

.site-hero--inner .site-hero-title + .site-hero-lede {
  margin-top: 16px;
}

.site-hero--inner .site-hero-lede + .site-hero-lede {
  margin-top: 0.45rem;
}

.site-hero--inner .site-hero-tagline {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand-gold, #9a7a3a);
}

.site-hero--inner .site-hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-hero--inner .site-hero-actions .btn {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 14px;
  border-radius: 14px;
  white-space: normal;
  text-align: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

.site-hero--inner figure.site-hero-media {
  margin: 0;
}

.site-hero--inner .site-hero-media {
  margin: 0;
  width: var(--hero-inner-img-w);
  max-width: 100%;
  min-width: 0;
  flex-shrink: 0;
  justify-self: end;
  align-self: center;
  padding: var(--hero-img-pad-shell);
  background: var(--brand-green, #174836);
  border-radius: var(--hero-img-radius-outer);
  box-shadow: 0 16px 40px rgba(15, 35, 60, 0.14);
  box-sizing: border-box;
}

/* Match home hero total inner card height: 4:3 band + footprint of .home-hero-meta; image fills full band (object-fit cover, no bare green under photo). */
.site-hero.site-hero--inner:not(.site-hero--text-only) .site-hero-media-frame {
  position: relative;
  height: 0;
  overflow: hidden;
  border-radius: var(--hero-img-radius-inner);
  width: 100%;
  padding-bottom: calc(75% + var(--hero-inner-card-meta-stack));
}

.site-hero.site-hero--inner:not(.site-hero--text-only) .site-hero-media-frame picture {
  position: absolute;
  inset: 0;
  display: block;
}

.site-hero.site-hero--inner:not(.site-hero--text-only) .site-hero-media-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--hero-img-radius-inner);
}

.site-hero--inner .site-hero-title .accent-light {
  font-style: normal;
  color: var(--teal-hover);
  font-weight: 700;
}

.hero-accent {
  color: var(--brand-gold, #9a7a3a);
  font-style: italic;
  font-weight: 700;
}

.site-hero.site-hero--inner h2 em,
.site-hero.site-hero--inner h3 em,
.s-title em,
.s-title-wide em,
.section-head-split h1 em,
.section-head-split h2 em,
.section-head-split h3 em,
.skill-lab-copy h1 em,
.skill-lab-copy h2 em,
.skill-lab-copy h3 em,
.home-section-head h1 em,
.home-section-head h2 em,
.home-section-head h3 em,
.tab-panel h1 em,
.tab-panel h2 em,
.tab-panel h3 em,
.testimonial-card blockquote em {
  color: var(--teal-hover);
  font-style: italic;
  font-weight: 700;
}

.s-title .accent-light {
  color: var(--teal-hover);
  font-style: italic;
  font-weight: 700;
}

.site-hero--inner .site-hero-copy > nav.site-hero-breadcrumb,
.site-hero--inner .site-hero-copy > nav.page-breadcrumb,
.site-hero--inner .site-hero-copy > .breadcrumb {
  margin-top: var(--hero-bc-mt);
  padding-top: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(32, 52, 45, 0.58);
}

nav.site-hero-breadcrumb,
nav.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(32, 52, 45, 0.58);
}

nav.site-hero-breadcrumb a,
nav.page-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

nav.site-hero-breadcrumb a:hover,
nav.page-breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-hero-breadcrumb .current,
.page-breadcrumb .current {
  color: var(--ink);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: rgba(var(--ink-rgb), 0.46);
}

@media (max-width: 900px) {
  .home-hero.site-hero.site-hero--home,
  .site-hero.site-hero--inner {
    min-height: auto;
    padding-top: calc(var(--header-height) + 40px + env(safe-area-inset-top, 0px));
  }

  .home-hero.site-hero.site-hero--home {
    padding-bottom: 40px;
  }

  .site-hero.site-hero--inner:not(.site-hero--text-only) {
    padding-bottom: 40px;
  }

  .site-hero.site-hero--inner.site-hero--text-only {
    padding-bottom: 40px;
  }

  .site-hero.site-hero--inner:not(.site-hero--text-only) .site-hero-media {
    display: block;
  }

  .home-hero-grid,
  .site-hero.site-hero--inner:not(.site-hero--text-only) .site-hero-container {
    min-height: auto;
  }

  .site-hero.site-hero--inner:not(.site-hero--text-only) .site-hero-container {
    align-content: unset;
  }

  .site-hero--inner .site-hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-hero--inner .site-hero-media,
  .home-hero .home-hero-media {
    width: min(100%, var(--hero-inner-img-w));
    justify-self: start;
  }
}

@media (max-width: 560px) {
  :root {
    --page-edge: 0.75rem;
  }

  .home-hero.site-hero.site-hero--home,
  .site-hero.site-hero--inner {
    padding-top: calc(var(--header-height) + 32px + env(safe-area-inset-top, 0px));
  }

  .home-hero.site-hero.site-hero--home {
    padding-bottom: 32px;
  }

  .site-hero.site-hero--inner:not(.site-hero--text-only) {
    padding-bottom: 32px;
  }

  .site-hero.site-hero--inner.site-hero--text-only {
    padding-bottom: 32px;
  }

  .home-hero .home-hero-title,
  .site-hero--inner .site-hero-title {
    font-size: clamp(30px, 9vw, 40px);
  }

  .site-hero--inner .site-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-hero--inner .site-hero-actions .btn {
    width: 100%;
  }

  .site-hero--inner .site-hero-media,
  .home-hero .home-hero-media {
    width: min(100%, var(--hero-inner-img-w));
  }

  .site-hero--inner .site-hero-lede {
    font-size: 16px;
  }
}

.breadcrumb.page-breadcrumb {
  display: flex;
}

.clinical-intra-nav--post-hero {
  margin: 0 0 1.25rem;
  padding: 0 0 1rem;
  border-top: 0;
  border-bottom: 1px solid rgba(var(--teal-rgb), 0.14);
}

.breadcrumb .current,
.breadcrumb a:hover {
  color: var(--ink);
}

.s-title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: min(36ch, 100%);
  font-weight: 700;
  text-wrap: balance;
  margin: 0 0 18px;
}

.legal-page .s-title {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.contact-card h2.s-title {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  max-width: none;
  margin: 0 0 10px;
}

.tab-panel .s-title,
.course-detail-grid .s-title {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  max-width: none;
  margin-bottom: 12px;
}

.s-title-wide {
  max-width: min(42rem, 100%);
  text-wrap: balance;
}

.s-sub {
  max-width: min(65ch, 100%);
  margin-top: 0.85rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: normal;
  word-break: normal;
}

.s-sub.ml {
  font-size: 0.87rem;
}

.about-summary-prose {
  margin-top: 1rem;
}

.about-summary-prose .s-sub:first-of-type {
  margin-top: 0;
}

.about-summary-prose .s-sub + .s-sub {
  margin-top: 0.85rem;
}

.about-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-grid-gap);
  margin-top: 1.35rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .about-summary-grid {
    grid-template-columns: 1fr;
  }
}

.about-summary-grid .info-card {
  padding: 0.85rem 0.95rem 0.95rem;
}

.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.72fr);
  align-items: start;
  gap: 1rem 1.4rem;
  margin-bottom: 1rem;
}

.section-head-copy {
  min-width: 0;
}

.section-head-side {
  justify-self: end;
  max-width: 31rem;
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.72;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.section-head-side strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.card-surface {
  background: var(--cream);
  border: 1px solid rgba(var(--ink-rgb), 0.09);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.card-feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 252, 248, 0.99));
  border: 1px solid rgba(var(--teal-rgb), 0.14);
  border-top: 3px solid rgba(var(--teal-rgb), 0.28);
  border-radius: 22px;
  box-shadow: var(--shadow-card-strong);
}

.card-panel {
  background: linear-gradient(145deg, rgba(var(--navy-deep-rgb), 0.98), rgba(var(--navy-rgb), 0.96));
  color: white;
  border: 1px solid rgba(var(--teal-soft-rgb), 0.2);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(var(--navy-deep-rgb), 0.18);
}

.placeholder-card,
.amber-placeholder {
  margin-top: 1rem;
  padding: 0.88rem 0.95rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(var(--teal-soft-rgb), 0.14));
  border: 1px solid rgba(var(--teal-rgb), 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.placeholder-card strong,
.amber-placeholder strong {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-card strong::after,
.amber-placeholder strong::after {
  content: none;
}

.placeholder-card p,
.amber-placeholder p,
.placeholder-card li,
.amber-placeholder li,
.placeholder-card span,
.amber-placeholder span {
  color: var(--muted-strong);
}

.placeholder-card p + p,
.amber-placeholder p + p {
  margin-top: 0.5rem;
}

.note-panel {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(var(--cream), 0.95);
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  box-shadow: var(--shadow-card);
}

.note-panel strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.note-panel p {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--muted-strong);
}

.data-table .note-panel {
  margin-top: 0;
}

.note-panel-actions {
  margin-top: 0.75rem;
}

.activities-page section h3,
#health-programmes h3,
#special-programmes h3,
#research-activities h3,
#nss h3,
#cultural-activities h3,
#sports h3,
#placement-cell h3,
#internship h3,
#academic-results h3 {
  margin: 1.1rem 0 0;
  font-size: 1.12rem;
  line-height: 1.24;
  color: var(--navy);
}

.activities-page section h3 + .s-sub,
#health-programmes h3 + .s-sub,
#special-programmes h3 + .s-sub,
#research-activities h3 + .s-sub,
#nss h3 + .s-sub,
#cultural-activities h3 + .s-sub,
#sports h3 + .s-sub,
#placement-cell h3 + .s-sub,
#internship h3 + .s-sub,
#academic-results h3 + .s-sub {
  margin-top: 0.55rem;
}

#special-programmes hr {
  margin: 1.15rem 0 0;
  border: 0;
  border-top: 1px solid rgba(var(--ink-rgb), 0.12);
}

#special-programmes hr + h3 {
  margin-top: 1.05rem;
}

#health-programmes .data-table tbody th {
  padding: 0.45rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--teal-soft);
  border-top: 1px solid rgba(var(--ink-rgb), 0.08);
}

#health-programmes .data-table tbody td:first-child {
  width: 1.5rem;
  padding-right: 0;
}

#welfare-contact + .clinical-intro-card {
  margin-top: 0.75rem;
  max-width: 36rem;
}

.placeholder-list,
.inline-bullet-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.72rem;
}

.placeholder-list li,
.inline-bullet-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.83rem;
  line-height: 1.6;
}

.placeholder-list li::before,
.inline-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal-strong);
}

.optional-research-section {
  display: none !important;
}

.data-table-wrap {
  margin-top: 1.2rem;
  border-radius: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  background: var(--cream);
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 1rem 1rem 1.05rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.08);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  background: rgba(var(--teal-rgb), 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.data-table td {
  font-size: 0.84rem;
  color: var(--muted-strong);
  line-height: 1.68;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}

.data-table td a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.data-table td strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
}

.doc-grid,
.policy-grid,
.faculty-grid,
.detail-grid {
  display: grid;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1.35rem;
}

.doc-grid,
.policy-grid,
.faculty-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.policy-grid.policy-grid-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-card,
.policy-card,
.faculty-card,
.info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 22px;
  background: var(--cream);
  border: 1px solid rgba(var(--ink-rgb), 0.09);
  box-shadow: 0 10px 20px rgba(var(--shadow-rgb), 0.05);
}

.doc-card strong,
.policy-card strong,
.faculty-card strong,
.info-card strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.doc-card h3,
.policy-card h3,
.faculty-card h3,
.info-card h3 {
  margin-top: 0.55rem;
  font-size: 1.06rem;
  color: var(--ink);
}

.doc-card h3 a,
.policy-card h3 a,
.faculty-card h3 a,
.info-card h3 a,
.home-fact-card h3 a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.doc-card h3 a:hover,
.info-card h3 a:hover,
.home-fact-card h3 a:hover {
  color: var(--teal-strong);
  text-decoration: underline;
}

.doc-card p,
.policy-card p,
.faculty-card p,
.info-card p {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.68;
  overflow-wrap: normal;
  word-break: normal;
}

.doc-card p a,
.policy-card p a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.policy-card > p:first-of-type {
  flex: 1 1 auto;
}

.doc-card .doc-meta {
  margin-top: auto;
  padding-top: 0.85rem;
}

.doc-card .hero-actions,
.doc-card .doc-card-actions,
.info-card .hero-actions.doc-card-actions,
.info-card .doc-card-actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.doc-meta {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.doc-meta span {
  font-size: 0.78rem;
  color: var(--muted-strong);
}

.doc-status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(var(--teal-rgb), 0.12);
  border: 1px solid rgba(var(--teal-rgb), 0.18);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.doc-status.pending,
.doc-status.verify {
  background: var(--warning-bg);
  border-color: var(--warning-border);
  color: var(--warning-text);
}

.faculty-photo {
  width: 100%;
  min-height: 180px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(var(--teal-rgb), 0.12), rgba(var(--navy-rgb), 0.08));
  border: 1px solid rgba(var(--teal-rgb), 0.16);
}

.faculty-meta {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.faculty-meta-item {
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
}

.faculty-meta-item span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.faculty-meta-item p {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted-strong);
}

.quick-links-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.quick-links-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem 1rem 1.05rem;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid rgba(var(--teal-rgb), 0.14);
  border-top: 3px solid rgba(var(--teal-rgb), 0.28);
  box-shadow: 0 10px 20px rgba(var(--shadow-rgb), 0.05);
}

.quick-link-card strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.quick-link-card p {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.quick-link-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.quick-link-card a::after {
  content: '→';
}

.affil-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.affil-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.92rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 700;
}

.ticker {
  background:
    radial-gradient(circle at top right, rgba(var(--teal-soft-rgb), 0.24), transparent 28%),
    linear-gradient(135deg, rgba(var(--navy-rgb), 0.98), rgba(var(--navy-deep-rgb), 0.98));
  color: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  width: min(var(--max), calc(100% - 2 * var(--page-edge)));
  margin: 0 auto;
}

.ticker-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 0;
  white-space: normal;
  font-size: 0.82rem;
}

.ticker-hl {
  color: var(--teal-soft);
  font-weight: 700;
}

.tdot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.form-card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: 28px;
  padding: 1.55rem;
  box-shadow: 0 12px 22px rgba(var(--shadow-rgb), 0.07);
}

.form-card h3 {
  font-size: 1.35rem;
}

.form-intro {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-privacy-hint {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 400;
  color: rgba(var(--ink-rgb), 0.45);
}

.form-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
}

.form-card-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  background: rgba(var(--teal-rgb), 0.08);
  border: 1px solid rgba(var(--teal-rgb), 0.14);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.form-assurance {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(var(--teal-rgb), 0.14);
}

.form-assurance strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.form-assurance span {
  display: block;
  margin-top: 0.38rem;
  font-size: 0.82rem;
  color: var(--muted-strong);
  line-height: 1.65;
}

.form-assurance--compact {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(var(--cream), 0.75);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  box-shadow: none;
}

.form-assurance--compact strong {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.form-assurance--compact span {
  margin-top: 0.28rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
}

.trust-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: var(--section-gap-md);
}

.trust-fact {
  padding: 1rem 1rem 1.05rem;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid rgba(var(--teal-rgb), 0.14);
  box-shadow: var(--shadow-sm);
}

.trust-fact strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.trust-fact span {
  display: block;
  margin-top: 0.42rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.55;
}

.contact-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
  margin-top: 1rem;
}

.contact-detail-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.6rem 0.72rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(var(--teal-rgb), 0.12);
}

.contact-detail-item--full {
  grid-column: 1 / -1;
}

.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.contact-detail-value,
.contact-detail-value a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-detail-value a {
  text-decoration: none;
  color: var(--teal-deep);
}

.contact-detail-value a:hover {
  text-decoration: underline;
}

.contact-detail-value--plain {
  font-weight: 600;
  color: var(--muted-strong);
}

@media (max-width: 520px) {
  .contact-detail-list {
    grid-template-columns: 1fr;
  }

  .contact-detail-item--full {
    grid-column: auto;
  }
}

.home-fact-card {
  min-width: 0;
}

.trust-panel {
  margin-top: 1.4rem;
  padding: 1.45rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(var(--navy-deep-rgb), 0.98), rgba(var(--navy-rgb), 0.96));
  border: 1px solid rgba(var(--teal-soft-rgb), 0.18);
  box-shadow: 0 14px 26px rgba(var(--navy-deep-rgb), 0.12);
  color: white;
}

.trust-panel strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--teal-soft-rgb), 0.86);
}

.trust-panel p {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
}

.trust-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.trust-panel-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(var(--teal-soft-rgb), 0.16);
}

.trust-panel-item span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--teal-soft-rgb), 0.82);
}

.trust-panel-item b {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: white;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.compare-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 1.1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(var(--ink-rgb), 0.09);
  box-shadow: 0 8px 18px rgba(var(--shadow-rgb), 0.05);
}

.compare-card strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.compare-card h3 {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.compare-card p {
  flex: 1 1 auto;
  max-width: 62ch;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}

.compare-card .programme-meta {
  margin-top: auto;
}

.compare-card .compare-card-cta {
  margin-top: 0.55rem;
  align-self: flex-start;
}

.media-disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.72rem;
  border-radius: 12px;
  background: rgba(var(--overlay-rgb), 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

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

.fg {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.fg label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 0.88rem 0.95rem;
  border-radius: var(--r);
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fg textarea {
  min-height: 120px;
  resize: vertical;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  outline: none;
  border-color: rgba(var(--teal-rgb), 0.42);
  box-shadow: 0 0 0 4px rgba(var(--teal-soft-rgb), 0.18);
}

.btn-submit {
  width: 100%;
  padding: 1rem 1.3rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: white;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(var(--navy-rgb), 0.22);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r);
  font-size: 0.84rem;
  line-height: 1.6;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: rgba(12, 139, 125, 0.1);
  color: #0a6c61;
  border: 1px solid rgba(12, 139, 125, 0.18);
}

.form-status.error {
  background: rgba(191, 66, 66, 0.1);
  color: #8d2f2f;
  border: 1px solid rgba(191, 66, 66, 0.18);
}

/* Bottom admissions strip — full-width shell + constrained inner (prevents horizontal clip) */
.sticky-admit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0 max(16px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  overflow: visible;
}

.sticky-admit-inner {
  pointer-events: auto;
  position: relative;
  width: min(100%, 1180px);
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2.4vw, 20px);
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border-radius: 18px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-lg);
  min-width: 0;
  transform: translateY(calc(100% + 24px));
  transition: transform 0.35s var(--ease);
}

.sticky-admit.show .sticky-admit-inner {
  transform: translateY(0);
}

.sticky-admit .sa-text {
  flex: 1 1 auto;
  min-width: 0;
}

.sticky-admit .sa-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: normal;
  word-break: normal;
}

.sticky-admit .sa-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.sa-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.footer {
  position: relative;
  margin-top: 0;
  padding: 40px 0 0;
  background: linear-gradient(180deg, #173a5a 0%, #132f4b 100%);
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer::before {
  content: none;
}

.footer > .wrap {
  width: min(1400px, calc(100% - 2 * var(--page-edge)));
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(0, 1fr)
    minmax(0, 1.45fr)
    minmax(0, 1.5fr)
    minmax(0, 1.45fr)
    minmax(220px, 1.55fr);
  gap: clamp(14px, 1.6vw, 20px);
  align-items: start;
  overflow: visible;
  padding-bottom: 24px;
}

.footer-col {
  min-width: 0;
}

.footer-brand-col {
  max-width: 340px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.footer-brand .logo-mark {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
}

.footer-brand-copy {
  min-width: 0;
}

.f-brand-name {
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.f-brand-sub {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.76);
}

.f-desc {
  margin-top: 0.95rem;
  max-width: min(340px, 100%);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.f-desc.ml {
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}

.footer-social-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.f-col-title {
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
}

.f-links {
  display: grid;
  gap: 9px;
}

.f-links a,
.f-contact-item,
.f-contact-value,
.f-contact-value a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
}

.f-links a:hover,
.f-contact-value:hover,
.f-contact-value a:hover {
  color: white;
}

.footer-contact {
  min-width: 220px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.footer-contact .f-contact-item,
.footer-contact .f-contact-label,
.footer-contact .f-contact-value,
.footer-contact .f-contact-value a {
  word-break: break-word;
  overflow-wrap: break-word;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  padding: 1rem 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.has-bottom-cta .footer-bottom {
  padding-bottom: 7rem;
}

.f-copy,
.f-comp {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.6;
}

.f-comp {
  max-width: 33rem;
}

.f-contact-item {
  margin-bottom: 0.72rem;
}

.f-contact-item:last-child {
  margin-bottom: 0;
}

.f-contact-label {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.f-contact-value {
  display: block;
  font-weight: 400;
  word-break: normal;
  overflow-wrap: break-word;
}

.f-contact-value a {
  overflow-wrap: break-word;
  word-break: normal;
}

.f-contact-value a[href^="mailto:"] {
  word-break: normal;
  overflow-wrap: break-word;
}

.f-contact-value + .f-contact-value {
  margin-top: 0.18rem;
}

.fee-callout {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(var(--navy-rgb), 0.96), rgba(var(--navy-deep-rgb), 0.98));
  border: 1px solid rgba(var(--navy-rgb), 0.18);
  box-shadow: var(--shadow-panel);
}

.fee-callout .s-label {
  margin: 0;
  width: fit-content;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
}

.fee-callout-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.1rem, 1.35vw, 1.4rem);
  line-height: 1.25;
}

.fee-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
}

.fee-callout-meta {
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.88rem;
  font-weight: 600;
}

.fee-callout-meta a {
  color: inherit;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.8vw, 32px);
  }

  .footer-brand-col,
  .footer-contact {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (min-width: 1201px) {
  .footer-grid {
    grid-template-columns:
      minmax(0, 1.25fr)
      minmax(0, 1.25fr)
      minmax(0, 1.35fr)
      minmax(0, 1.35fr)
      minmax(240px, 1.55fr);
    column-gap: clamp(16px, 1.6vw, 22px);
    row-gap: 18px;
  }

  .footer-brand-col {
    grid-column: 1;
    grid-row: 1 / span 2;
    max-width: none;
  }

  .footer-grid > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-grid > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-grid > div:nth-child(4) {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .footer-grid > div:nth-child(5) {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  .footer-contact {
    grid-column: 5;
    grid-row: 1 / span 2;
    min-width: 240px;
  }

  .footer .f-links a,
  .footer .f-contact-value a[href^="mailto:"] {
    white-space: nowrap;
  }
}

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

  .footer-brand-col,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.wa-float,
#btt {
  position: fixed;
  right: 1.1rem;
  z-index: 980;
  display: grid;
  place-items: center;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.wa-float {
  bottom: var(--floating-bottom-offset);
  width: 56px;
  height: 56px;
  background: #25d366;
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: white;
}

#btt {
  bottom: calc(var(--floating-bottom-offset) + 4.25rem);
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--navy);
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease), background 0.25s ease;
}

#btt.visible {
  opacity: 1;
  pointer-events: auto;
}

#btt:hover {
  transform: translateY(-2px);
  background: var(--teal);
}

.rv,
.rv.in {
  opacity: 1;
  transform: none;
}

.rv.d1 { transition-delay: 0.08s; }
.rv.d2 { transition-delay: 0.16s; }
.rv.d3 { transition-delay: 0.24s; }
.rv.d4 { transition-delay: 0.32s; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .nav-links {
    position: fixed;
    inset: 80px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.4rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .quick-links-grid,
  .doc-grid,
  .policy-grid,
  .faculty-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 2.5rem 0;
  }

  .section-sm {
    padding: 2rem 0;
  }

  .site-hero.site-hero--inner + .section,
  .site-hero.site-hero--inner + .section-sm {
    padding-top: clamp(1rem, 2.2vw, 1.35rem);
  }

  .site-hero.site-hero--inner + .section.inner-first-section,
  .site-hero.site-hero--inner + .section-sm.inner-first-section {
    padding-top: clamp(1rem, 2.2vw, 1.35rem);
  }

  .section + .section,
  .section + .section-sm,
  .section-sm + .section,
  .section-sm + .section-sm {
    padding-top: 0.8rem;
  }

  .section-alt + .section,
  .section-alt + .section-sm,
  .section + .section-alt,
  .section-sm + .section-alt {
    padding-top: 0.7rem;
  }

  .home-hero.site-hero.site-hero--home,
  .site-hero.site-hero--inner {
    padding-top: calc(var(--header-height) + 36px + env(safe-area-inset-top, 0px));
  }

  .section-head-split {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
  }

  .section-head-side {
    justify-self: start;
    max-width: none;
    font-size: 0.83rem;
  }

  .footer-tight {
    padding-bottom: 0.9rem !important;
  }

  .trust-panel-grid,
  .compare-grid,
  .contact-detail-list,
  .frow,
  .quick-links-grid,
  .doc-grid,
  .policy-grid,
  .faculty-grid {
    grid-template-columns: 1fr;
  }

  .sticky-admit-inner {
    flex-direction: column;
    align-items: stretch;
    padding-top: 2.4rem;
  }

  .sticky-admit .sa-text,
  .sticky-admit .sa-actions {
    width: 100%;
  }

  .sticky-admit .sa-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-content: stretch;
  }

  .sticky-admit .sa-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
  }

  .sticky-admit .sa-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ticker-track {
    width: min(var(--max), calc(100% - 1.4rem));
  }
}

@media (max-width: 480px) {
  .sticky-admit .sa-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 82px;
    --page-edge: 0.7rem;
  }

  .logo {
    gap: 0.65rem;
    flex: 1;
  }

  .logo-mark {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .logo-name {
    font-size: 0.94rem;
  }

  .logo-sub {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }

  .trust-facts {
    grid-template-columns: 1fr;
  }

  .data-table-wrap {
    overflow: auto;
  }

  .data-table {
    min-width: 560px;
  }

  .data-table th,
  .data-table td {
    padding: 0.82rem 0.82rem 0.88rem;
  }

  .wrap,
  .nav-w {
    width: min(var(--max), calc(100% - 2 * var(--page-edge)));
  }

  .nav-w {
    height: 82px;
    gap: 0.45rem;
  }

  .nav-r {
    gap: 0.35rem;
  }

  .lang-pill {
    width: 108px;
    height: 36px;
  }

  .lp-opt {
    font-size: 0.62rem;
  }

  .btn-apply {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .btn-apply {
    width: 100%;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .s-title {
    max-width: none;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.1;
  }

  .contact-card h2.s-title,
  .tab-panel .s-title,
  .course-detail-grid .s-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .home-hero .home-hero-title,
  .site-hero--inner .site-hero-title {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.05;
  }

  .s-sub {
    font-size: 0.87rem;
    line-height: 1.7;
  }

  .btn {
    font-size: 0.84rem;
    padding: 0.88rem 1.3rem;
  }

  .btn-lg {
    padding: 0.95rem 1.5rem;
  }

  .wa-float {
    width: 52px;
    height: 52px;
  }

  #btt {
    right: 1rem;
  }
}

@media (max-width: 760px) {
  body.has-bottom-cta {
    --floating-bottom-offset: 132px;
  }
}

@media (max-width: 720px) {
  .footer {
    padding: 2.7rem 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-bottom: 1.25rem;
  }

  .footer-brand .logo-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .footer-bottom {
    padding-top: 0.9rem;
    padding-bottom: 4.8rem;
  }

  body.has-bottom-cta .footer-bottom {
    padding-bottom: 8.25rem;
  }

  .footer-col + .footer-col {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
  }
}

@media (max-width: 430px) {
  :root {
    --page-edge: 0.5rem;
  }

  .wrap,
  .nav-w {
    width: min(var(--max), calc(100% - 2 * var(--page-edge)));
  }

  .logo {
    gap: 0.55rem;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
    padding: 3px;
    border-radius: 12px;
  }

  .logo-name {
    font-size: 0.86rem;
  }

  .logo-sub {
    display: none;
  }

  .nav-r {
    gap: 0.25rem;
  }

  .lang-pill {
    width: 86px;
    height: 34px;
  }

  .lp-opt {
    font-size: 0.55rem;
    letter-spacing: 0;
  }
}

/* Shared CTA / banner strips (home and content pages) */
.cta-shell {
  padding: 2.35rem;
  border-radius: 32px;
  background: var(--navy);
  box-shadow: var(--shadow-panel);
}

.cta-shell h2 {
  font-size: clamp(1.34rem, 2.05vw, 1.74rem);
  color: white;
  max-width: 36ch;
  line-height: 1.15;
}

.cta-shell p {
  margin-top: 0.85rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.65;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

/* === Institution at a glance (homepage) — light panel, compact cards === */
.institution-glance {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Standalone glance band (not merged with .section — avoids double padding) */
section.institution-glance:not(.section) {
  padding: clamp(32px, 3.8vw, 52px) 0 clamp(28px, 3.2vw, 48px);
}

/* Recognition strip sits directly above: avoid stacked “air” */
.trust-strip + section.institution-glance:not(.section) {
  padding-top: var(--strip-to-panel-y);
}

/* Merged .section.institution-glance uses .section rhythm only */
.section.institution-glance {
  padding-block: 0;
}

/* Tuck the next home section under the glance block */
.institution-glance + .section.home-stack {
  padding-top: var(--section-gap-md);
}
.institution-glance-panel {
  border: 1px solid rgba(20, 45, 75, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  padding: clamp(28px, 4vw, 48px);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.institution-glance-main-title,
.institution-glance-section-title {
  margin-top: 0.35rem;
}
.institution-glance-lead {
  margin: 1rem 0 0;
  max-width: 48rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}
.institution-glance-lead a {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 2px;
}
.institution-glance-foot {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted-strong);
}
.institution-glance-foot a {
  color: var(--teal-hover);
  font-weight: 600;
}

/* Programmes page: light endnote instead of full-width navy strip */
.courses-page-endnote {
  background: rgba(255, 252, 248, 0.96);
  border-top: 1px solid rgba(var(--teal-rgb), 0.14);
  text-align: center;
}
.courses-page-endnote-copy {
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 52rem;
  margin: 0 auto 1.25rem;
}
.institution-glance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
  margin-top: var(--section-gap-md);
  align-items: stretch;
}
.institution-glance-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(20, 45, 75, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-sizing: border-box;
  min-width: 0;
}
.institution-glance-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
  margin-bottom: 0.5rem;
}
.institution-glance-card-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  overflow-wrap: normal;
  word-break: normal;
}
.institution-glance-card-body + .institution-glance-card-body {
  margin-top: 0.35rem;
}
.institution-glance-card-note {
  margin-top: 0.55rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: normal;
  word-break: normal;
}
.institution-glance-card-note a {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 2px;
}
.admission-card .institution-glance-panel {
  margin-top: 0.85rem;
  padding: clamp(22px, 3vw, 36px);
}

/* Admissions — Key details (readable two-column cards) */
.key-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 0.85rem;
}

.key-detail-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(20, 45, 75, 0.12);
  background: rgba(255, 255, 255, 0.86);
  min-width: 0;
  box-sizing: border-box;
}

.key-detail-card-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-strong);
}

.key-detail-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
  color: var(--ink);
}

.key-detail-card p + p {
  margin-top: 0.35rem;
}

.key-detail-card p.ml {
  font-size: 0.94rem;
  line-height: 1.6;
}
.institution-glance-panel--follow {
  margin-top: 0;
}
.institution-glance-panel > .institution-glance-foot {
  margin-top: 1.25rem;
}
.institution-glance-panel > .institution-glance-foot + .institution-glance-foot {
  margin-top: 0.35rem;
}
.institution-glance-actions {
  margin-top: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 760px) {
  section.institution-glance:not(.section) {
    padding-top: clamp(22px, 4.5vw, 34px);
    padding-bottom: clamp(22px, 4vw, 36px);
  }

  .trust-strip + section.institution-glance:not(.section) {
    padding-top: clamp(16px, 3.5vw, 26px);
  }

  .institution-glance-grid {
    grid-template-columns: 1fr;
  }

  .key-details-grid {
    grid-template-columns: 1fr;
  }
}

.why-grid-home,.proof-grid,.testimonial-grid,.programme-grid,.story-grid,.cta-grid{display:grid;gap:var(--card-grid-gap)}
.skill-lab-highlight{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:var(--media-text-gap);align-items:start;margin:1.15rem 0 0;padding:1.2rem;border-radius:32px;background:var(--cream);border:1px solid rgba(var(--teal-rgb), .14);box-shadow:var(--shadow-card-strong)}
.skill-lab-visual{position:relative;min-height:clamp(200px,36vw,280px);aspect-ratio:16/10;border-radius:24px;overflow:hidden;box-shadow:var(--shadow-lg)}
.skill-lab-visual picture{position:absolute;inset:0;display:block}
.skill-lab-visual img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.skill-lab-visual::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(var(--overlay-rgb),.04),rgba(var(--overlay-rgb),.28))}
.skill-lab-copy h3{font-size:clamp(1.16rem,1.76vw,1.46rem);color:var(--navy);max-width:13ch}
.skill-lab-copy p{margin-top:.8rem;font-size:.95rem;color:var(--muted);max-width:58ch;line-height:1.8}
.skill-lab-points{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1rem}
.skill-lab-pill{display:inline-flex;align-items:center;padding:.55rem .82rem;border-radius:12px;background:rgba(255,255,255,.86);border:1px solid rgba(var(--teal-rgb), .14);font-size:.76rem;font-weight:700;color:var(--teal-strong)}
.why-grid-home{grid-template-columns:1fr;gap:1rem;margin-top:1.7rem}
.why-card-home,.testimonial-card,.story-card{padding:1.1rem;border-radius:22px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.proof-card,.programme-card{padding:1.1rem;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(255,252,248,.99));border:1px solid rgba(var(--teal-rgb), .16);box-shadow:var(--shadow-card-strong)}
.why-card-home{display:grid;grid-template-columns:auto minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:1.1rem}
.why-card-home:hover,.proof-card:hover,.testimonial-card:hover,.programme-card:hover,.story-card:hover{transform:translateY(-4px);transition:transform .25s var(--ease),box-shadow .25s var(--ease);box-shadow:var(--shadow)}
.icon-badge{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:var(--teal-pale);font-size:1.1rem;color:var(--teal-strong);font-weight:700}
.why-card-home h3,.proof-card h3,.story-card h3{margin-top:0;font-size:1.14rem}
.why-card-home p,.proof-card p,.story-card p{margin-top:.25rem;font-size:.86rem;color:var(--muted)}
.why-card-home .why-lead{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-strong);line-height:1.2}
.programme-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.25rem;align-items:stretch}
.programme-card{display:flex;flex-direction:column;gap:.48rem;padding:1.05rem 1.1rem;border-top:4px solid rgba(var(--teal-rgb), .32);min-height:100%}
.programme-card p{margin:0;font-size:.81rem;color:var(--muted);line-height:1.55;max-width:62ch}
.programme-card .programme-cta{margin-top:auto}
.programme-card.featured{grid-column:auto;background:var(--navy);color:white}
.programme-card.featured p,.programme-card.featured .programme-meta,.programme-card.featured .programme-link{color:rgba(255,255,255,.75)}
.programme-duration{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);line-height:1.2}
.programme-card.featured .programme-duration{color:var(--teal-soft)}
.programme-name{font-family:var(--font-sans);font-size:clamp(1.05rem,1.9vw,1.2rem);font-weight:700;letter-spacing:-.025em;line-height:1.18}
.programme-full{font-size:.79rem;color:var(--muted)}
.programme-meta{margin-top:.08rem;padding-top:.55rem;border-top:1px solid rgba(var(--ink-rgb),.12);font-size:.76rem;color:var(--muted-strong)}
.programme-card.featured .programme-meta{border-top-color:rgba(255,255,255,.12)}
.programme-link{display:inline-flex;align-items:center;gap:.45rem;font-weight:700;letter-spacing:-.01em;line-height:1.2;color:var(--navy)}
.programme-link::after{content:"→";font-size:.9rem}
.story-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start;gap:var(--media-text-gap);padding:1.2rem;border-radius:34px;background:var(--cream);border:1px solid rgba(var(--teal-rgb), .12)}
.story-media{position:relative;min-height:0;height:clamp(260px,34vw,380px)}
.story-photo-main{position:absolute;inset:0 16% 0 0;border-radius:30px;overflow:hidden;box-shadow:var(--shadow-lg)}
.story-photo-main picture,.story-photo-small picture{position:absolute;inset:0;display:block}
.story-photo-main img,.story-photo-small img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.story-photo-main::after,.story-photo-small::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(var(--overlay-rgb), 0),rgba(var(--overlay-rgb), .38))}
.story-photo-small{position:absolute;right:0;bottom:1.2rem;width:40%;height:220px;border-radius:24px;overflow:hidden;border:6px solid white;box-shadow:var(--shadow)}
.story-callout{display:flex;gap:1rem;align-items:flex-start;margin-top:1.15rem;padding:1rem 1.1rem;border-radius:20px;background:rgba(var(--teal-rgb), .08);border:1px solid rgba(var(--teal-rgb), .14)}
.story-callout p{font-size:.84rem;color:var(--muted-strong)}
.proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.35rem}
.proof-card{padding:1.15rem 1.2rem;background:var(--cream);border-top:4px solid rgba(var(--teal-rgb), .28)}
.proof-card .proof-number{font-family:var(--font-sans);font-size:1.72rem;color:var(--teal);font-weight:700}
.proof-card .proof-caption{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-strong);line-height:1.2}
.testimonial-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.35rem}
.testimonial-card{display:flex;flex-direction:column;gap:.75rem;padding:1.15rem 1.2rem;background:var(--cream)}
.testimonial-card:last-child{grid-column:1 / -1}
.testimonial-stars{font-size:.85rem;letter-spacing:.18em;color:rgba(var(--teal-rgb),.7)}
.testimonial-card blockquote{margin:0;font-size:.91rem;line-height:1.78;color:var(--ink-soft)}
.testimonial-card cite{font-style:normal}
.testimonial-person{display:flex;align-items:center;gap:.8rem}
.testimonial-avatar{display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:999px;background:rgba(var(--teal-rgb), .16);color:var(--navy);font-size:.78rem;font-weight:800;letter-spacing:.08em;flex:0 0 2.7rem}
.testimonial-name{font-weight:700;color:var(--ink)}
.testimonial-role{font-size:.76rem;color:var(--muted)}
.testimonial-batch{margin-top:.18rem;font-size:.73rem;color:var(--teal-hover);font-weight:700}
.cta-shell{position:relative;overflow:hidden;padding:2rem;border-radius:34px;background:var(--navy);box-shadow:var(--shadow-panel)}
.cta-shell::before{content:"";position:absolute;top:-130px;right:-100px;width:360px;height:360px;border-radius:999px;background:rgba(var(--teal-soft-rgb), .2)}
.cta-grid{position:relative;z-index:1;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.cta-shell h2{font-size:clamp(1.34rem,2.05vw,1.74rem);color:white;max-width:14ch}
.cta-shell p{margin-top:1rem;max-width:620px;color:rgba(255,255,255,.84)}
.cta-actions{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:flex-end}
.home-section-head{display:grid;grid-template-columns:minmax(0,.95fr) minmax(260px,.72fr);align-items:start;justify-items:start;gap:1rem var(--media-text-gap)}
.home-section-head > a,
.home-section-head > .btn,
.home-section-head > p{margin-top:0}
.home-section-head > a,
.home-section-head > .btn,
.home-section-head > p{justify-self:end}
.home-section-head > p{max-width:31rem;font-size:.86rem;color:var(--muted);line-height:1.72}


/* === Admissions page (moved from admissions.html) === */
.admissions-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:var(--media-text-gap);align-items:start}
.admissions-left{display:grid;gap:1.1rem}
.admission-card{padding:1.25rem;border-radius:22px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.admission-card h2,
.admission-card h3{font-size:1.12rem}
.admission-card p{margin-top:.65rem;font-size:.88rem;color:var(--muted)}
.admission-band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;margin:1.35rem 0 0}
.admission-band-item{padding:1rem 1rem 1.05rem;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(255,252,248,.99));border:1px solid rgba(var(--teal-rgb), .14);border-top:3px solid rgba(var(--teal-rgb), .28)}
.admission-band-item strong{display:block;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--teal)}
.admission-band-item span{display:block;margin-top:.45rem;font-size:.88rem;font-weight:700;color:var(--ink);line-height:1.55}
.admissions-brief{display:grid;grid-template-columns:1.15fr .85fr;gap:1rem;align-items:start}
.brief-panel,.brief-card{border-radius:24px}
.brief-panel{padding:1.5rem;background:var(--navy);color:white;border:1px solid rgba(255,255,255,.08);box-shadow:var(--shadow-panel)}
.brief-panel strong{display:block;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(var(--teal-soft-rgb), .92)}
.brief-panel h2,
.brief-panel h3{margin-top:.55rem;font-size:1.32rem;color:white}
.brief-panel p{margin-top:.75rem;color:rgba(255,255,255,.74);line-height:1.75}
.brief-grid{display:grid;gap:1rem}
.brief-card{padding:1.1rem 1.15rem;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.brief-card strong{display:block;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.brief-card span{display:block;margin-top:.45rem;font-size:.92rem;font-weight:700;color:var(--ink);line-height:1.55}
.step-list{display:grid;gap:1rem;margin-top:1.5rem}
.step-item{display:grid;grid-template-columns:auto 1fr;gap:1rem;padding:1.15rem;border-radius:20px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.step-num{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:var(--navy);color:white;font-family:var(--font-sans);font-size:1rem;font-weight:700}
.step-copy h4{font-size:1rem}
.step-copy p{margin-top:.35rem;font-size:.84rem;color:var(--muted)}
.docs-grid,.support-grid{display:grid;gap:1rem}
.docs-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.2rem}
.doc-item,.support-item{padding:1rem;border-radius:18px;border:1px solid rgba(var(--ink-rgb), .09);background:var(--cream);box-shadow:var(--shadow-card)}
.doc-item strong,.support-item strong{display:block;font-size:.84rem;color:var(--ink)}
.doc-item span,.support-item span{display:block;margin-top:.35rem;font-size:.79rem;color:var(--muted)}
.support-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:1.2rem}
.admission-next{display:grid;grid-template-columns:1.05fr .95fr;gap:1rem;margin-top:1.25rem;align-items:start}
.admission-next-card,.admission-contact-card{padding:1.15rem 1.2rem;border-radius:20px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.admission-next-card strong,.admission-contact-card strong{display:block;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.admission-next-card p,.admission-contact-card p{margin-top:.45rem;font-size:.82rem;color:var(--muted);line-height:1.7}
.admission-next-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:.95rem}
.sidebar-stack{display:grid;gap:1rem;position:sticky;top:98px}
.mini-note,.office-card{padding:1.25rem;border-radius:22px}
.mini-note{background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.mini-note strong,.office-card strong{display:block;font-size:.9rem}
.mini-note p,.office-card p{margin-top:.45rem;font-size:.82rem;color:var(--muted)}
.office-card{background:var(--navy);color:white;border:1px solid rgba(255,255,255,.08);box-shadow:var(--shadow-panel)}
.office-card p,.office-card a{color:rgba(255,255,255,.78)}
.office-meta{display:grid;gap:.75rem;margin-top:1rem}
.office-meta-item{padding:.9rem 1rem;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.office-meta-item span{display:block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(var(--teal-soft-rgb), .82)}
.office-meta-item strong{display:block;margin-top:.35rem;font-size:.9rem;color:white}
.call-row{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1rem}
.call-row a{font-weight:700}
@media(max-width:1040px){.admissions-layout,.admissions-brief,.admission-next{grid-template-columns:1fr}.sidebar-stack{position:static}.sidebar-sticky{position:static;order:-1}.support-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.docs-grid,.support-grid,.admission-band{grid-template-columns:1fr}}


/* === Contact page (moved from contact.html) === */
.contact-layout-new{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.94fr);gap:var(--media-text-gap);align-items:start}
.contact-stack{display:grid;gap:1rem}
.contact-card{padding:1.6rem;border-radius:22px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.contact-brief{display:grid;grid-template-columns:1.15fr .85fr;gap:1rem;align-items:start}
.contact-brief-main,.contact-brief-card{border-radius:24px}
.contact-brief-main{padding:1.5rem;background:var(--navy);color:white;border:1px solid rgba(255,255,255,.08);box-shadow:var(--shadow-panel)}
.contact-brief-main strong{display:block;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(var(--teal-soft-rgb), .92)}
.contact-brief-main h3{margin-top:.55rem;font-size:1.32rem;color:white}
.contact-brief-main p{margin-top:.75rem;color:rgba(255,255,255,.74);line-height:1.75}
.contact-brief-grid{display:grid;gap:1rem}
.contact-brief-card{padding:1.1rem 1.15rem;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.contact-brief-card strong{display:block;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.contact-brief-card span{display:block;margin-top:.45rem;font-size:.92rem;font-weight:700;color:var(--ink);line-height:1.55}
.contact-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.25rem}
.contact-office-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;margin:1.35rem 0 0}
.contact-office-item{padding:1rem 1rem 1.05rem;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(255,252,248,.99));border:1px solid rgba(var(--teal-rgb), .14);border-top:3px solid rgba(var(--teal-rgb), .28)}
.contact-office-item strong{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.contact-office-item span{display:block;margin-top:.42rem;font-size:.88rem;font-weight:700;color:var(--ink);line-height:1.55}
.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.4rem}
.contact-item{padding:1rem;border-radius:18px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.contact-item strong{display:block;font-size:.84rem;color:var(--ink)}
.contact-item span,.contact-item a{display:block;margin-top:.4rem;font-size:.82rem;color:var(--muted);overflow-wrap:anywhere;word-break:break-word}
.contact-item a:hover{color:var(--navy)}
.contact-priority{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.15rem}
.contact-priority-card{padding:1.05rem 1.05rem 1.1rem;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(255,252,248,.99));border:1px solid rgba(var(--teal-rgb), .14);border-top:3px solid rgba(var(--teal-rgb), .28);box-shadow:var(--shadow-card-strong)}
.contact-priority-card strong{display:block;font-size:.73rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.contact-priority-card span{display:block;margin-top:.42rem;font-size:.84rem;font-weight:700;color:var(--ink);line-height:1.55}
.map-card{overflow:hidden}
.map-card iframe{display:block;width:100%;height:340px;border:0}
.sidebar-contact{display:grid;gap:1rem;position:sticky;top:98px}
.trust-note{padding:1.25rem;border-radius:22px;background:var(--navy);color:white;border:1px solid rgba(255,255,255,.08);box-shadow:var(--shadow-panel)}
.trust-note p{margin-top:.5rem;font-size:.83rem;color:rgba(255,255,255,.74)}
@media(max-width:1040px){.contact-layout-new,.contact-brief{grid-template-columns:1fr}.sidebar-contact{position:static}.contact-priority{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.contact-grid,.contact-office-strip,.contact-priority{grid-template-columns:1fr}}


/* === About page === */
.about-card{padding:1.25rem;border-radius:22px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.recognition-grid{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.2rem}
.about-values-note{margin-top:1.15rem;max-width:56ch;font-size:.95rem;line-height:1.65;color:var(--muted)}
.recognition-card{padding:1.1rem;border-radius:20px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.recognition-card strong{display:block;font-size:.86rem;color:var(--ink)}
.recognition-card span{display:block;margin-top:.35rem;font-size:.8rem;color:var(--muted)}
.about-recognition-lead{margin-bottom:1.15rem}
.about-recognition-lead .s-sub{margin-top:.65rem}
.about-card .about-recognition-lead + .recognition-grid{margin-top:.75rem}

/* About — Our Journey (single image + timeline, no duplicate story stack) */
.journey-section .journey-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(1.75rem,4vw,3.5rem);align-items:start}
.journey-media{margin:0;border-radius:28px;overflow:hidden;aspect-ratio:4/3;background:var(--grey);box-shadow:var(--shadow-lg);border:1px solid rgba(var(--teal-rgb),.14)}
.journey-media picture{display:block;width:100%;height:100%}
.journey-media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.journey-content{min-width:0}
.journey-content .journey-kicker{margin-bottom:.65rem}
.journey-content > h2{margin:0}
.journey-intro{margin-top:.85rem;margin-bottom:0;font-size:.94rem;color:var(--muted);line-height:1.75;max-width:42rem}
.journey-intro.ml{font-size:.88rem}
.journey-timeline{display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:16px;margin-top:1.5rem}
.journey-timeline .timeline-card{padding:1rem 1.05rem;border-radius:18px;border:1px solid rgba(var(--ink-rgb),.1);background:rgba(255,252,248,.92);min-width:0;box-shadow:var(--shadow-card)}
.journey-timeline .timeline-card strong{display:block;font-family:var(--font-sans);font-size:clamp(1.15rem,2.4vw,1.45rem);line-height:1.1;margin-bottom:.45rem;color:var(--navy);font-weight:700}
.journey-timeline .timeline-card span{display:block;font-size:.86rem;line-height:1.45;color:var(--muted-strong);overflow-wrap:normal;word-break:normal}
.journey-timeline .timeline-card span + span{margin-top:.2rem}
@media(max-width:1000px){.journey-section .journey-grid{grid-template-columns:1fr;align-items:start}.journey-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.journey-timeline{grid-template-columns:1fr}}
@media(max-width:1040px){.recognition-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.recognition-grid{grid-template-columns:1fr}}


/* === Programmes / courses page (moved from courses.html) === */
.course-intro{display:grid;grid-template-columns:minmax(0,.95fr) minmax(320px,.85fr);gap:var(--media-text-gap);align-items:start;margin-bottom:0.5rem}
.course-intro-aside{padding:1.2rem 1.25rem;border-radius:22px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.course-intro-aside strong{display:block;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.course-intro-aside p{margin-top:.55rem;font-size:.84rem;color:var(--muted);line-height:1.7}
.course-intro-points{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:1rem}
.course-intro-point{padding:.9rem 1rem;border-radius:18px;background:var(--cream);border:1px solid rgba(var(--teal-rgb), .12)}
.course-intro-point span{display:block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);font-weight:700}
.course-intro-point strong{display:block;margin-top:.32rem;font-size:.96rem;letter-spacing:normal;text-transform:none;color:var(--ink)}
.course-intro-point strong a{color:var(--navy);text-decoration:underline;text-underline-offset:2px}
.course-tabs{display:flex;gap:.6rem;margin:1.85rem 0 1.3rem;flex-wrap:wrap;padding:.85rem;border-radius:20px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09)}
.tab-btn{padding:.74rem 1.2rem;border-radius:12px;font-size:.875rem;font-weight:700;letter-spacing:-.01em;line-height:1.2;cursor:pointer;background:rgba(255,255,255,.8);border:1px solid rgba(var(--ink-rgb), .12);color:var(--muted);transition:all .25s;font-family:var(--font-sans);box-shadow:none}
.tab-btn.active{background:var(--navy);color:white;border-color:var(--navy)}
.tab-btn:hover:not(.active){border-color:var(--navy);color:var(--navy)}
.tab-panel{display:none}.tab-panel.active{display:block;animation:panelIn .35s var(--ease)}
@keyframes panelIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.course-detail-grid{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr);gap:var(--media-text-gap);align-items:start;padding:1.2rem;border-radius:24px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.cd-img{border-radius:28px;overflow:hidden;height:420px;box-shadow:var(--shadow-lg);position:sticky;top:90px}
.cd-img picture{position:absolute;inset:0;display:block}
.cd-img img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;display:block}
.cd-img::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(var(--overlay-rgb), 0),rgba(var(--overlay-rgb), .36))}
.cd-badge{display:inline-flex;align-items:center;gap:.6rem;margin-bottom:1.5rem;flex-wrap:wrap}
.course-body{color:var(--muted-strong);font-size:.87rem;line-height:1.78;margin-bottom:1rem}
.course-body.ml{font-family:"Noto Sans Malayalam",sans-serif;font-size:.81rem}
.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin:1.5rem 0}
.spec-item{background:var(--teal-pale);border-radius:var(--r);padding:.8rem 1rem;font-size:.82rem;font-weight:700;color:var(--teal);display:flex;align-items:center;gap:.5rem;border:1px solid rgba(var(--teal-rgb), .14)}
.spec-item::before{content:"◆";font-size:.5rem}
.eligibility-box{background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);border-radius:20px;padding:1.35rem;margin:1.35rem 0;box-shadow:var(--shadow-card)}
.elig-title{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);margin-bottom:.8rem}
.elig-list li{font-size:.83rem;color:var(--muted);margin-bottom:.5rem;display:flex;align-items:flex-start;gap:.6rem;line-height:1.5}
.elig-list li::before{content:"✓";color:var(--teal);font-weight:700;flex-shrink:0;margin-top:1px}
.elig-list.ml li{font-family:"Noto Sans Malayalam",sans-serif;font-size:.78rem}
@media(max-width:1024px){.course-intro,.course-detail-grid{grid-template-columns:1fr;gap:1rem}.course-intro-points,.spec-grid{grid-template-columns:1fr}.cd-img{height:300px;position:relative;top:auto}}


/* === Campus page (moved from campus.html) === */
.gallery-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:260px;gap:10px;border-radius:var(--r-xl);overflow:hidden;margin-top:1.25rem}
.gi{position:relative;overflow:hidden;background:var(--grey);cursor:zoom-in;min-height:0;height:100%}
.gi picture{position:absolute;inset:0;display:block}
.gi img{position:absolute;inset:0;z-index:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;transition:transform .5s var(--ease)}
.gi:hover img{transform:scale(1.06)}
.g1{grid-column:span 5;grid-row:span 2}.g2{grid-column:span 4}.g3{grid-column:span 3}.g4{grid-column:span 3}.g5{grid-column:span 4}
.gallery-head{display:grid;grid-template-columns:minmax(0,.88fr) minmax(280px,.72fr);gap:1rem;align-items:start;margin:1.35rem 0 1rem}
.gallery-note{padding:1.2rem 1.25rem;border-radius:20px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.gallery-note strong{display:block;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.gallery-note p{margin-top:.45rem;font-size:.84rem;color:var(--muted);line-height:1.75}
.campus-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:.85rem}
.campus-metric{padding:1rem 1rem 1.05rem;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(255,252,248,.99));border:1px solid rgba(var(--teal-rgb), .14);border-top:3px solid rgba(var(--teal-rgb), .28)}
.campus-metric strong{display:block;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--teal)}
.campus-metric span{display:block;margin-top:.45rem;font-size:.9rem;font-weight:700;color:var(--ink);line-height:1.55}
.campus-brief{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem;margin-top:0;align-items:stretch}
.campus-brief-main,.campus-brief-card{border-radius:24px}
.campus-brief-main{padding:1.5rem;background:var(--navy);color:white;border:1px solid rgba(255,255,255,.08);box-shadow:var(--shadow-panel);align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start}
.campus-brief-main strong{display:block;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(var(--teal-soft-rgb), .92)}
.campus-brief-main h2,
.campus-brief-main h3{margin-top:.55rem;font-size:1.32rem;color:white}
.campus-brief-main p{margin-top:.75rem;color:rgba(255,255,255,.74);line-height:1.75}
.campus-brief-grid{display:grid;gap:1rem;align-self:stretch}
.campus-brief-card{padding:1.1rem 1.15rem;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card)}
.campus-brief-card strong{display:block;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.campus-brief-card span{display:block;margin-top:.45rem;font-size:.92rem;font-weight:700;color:var(--ink);line-height:1.55}
.facility-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--card-grid-gap);margin-top:1.35rem}
.fac-card{background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);border-radius:20px;padding:1.8rem;transition:all .35s var(--ease);position:relative;overflow:hidden;box-shadow:var(--shadow-card)}
.fac-card::after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--teal);transform:scaleX(0);transition:transform .35s var(--ease);transform-origin:left}
.fac-card:hover{box-shadow:var(--shadow-md);transform:translateY(-4px)}.fac-card:hover::after{transform:scaleX(1)}
.fac-icon{width:50px;height:50px;border-radius:14px;background:var(--teal-pale);display:flex;align-items:center;justify-content:center;margin-bottom:1.1rem;color:var(--teal)}
.fac-title{font-size:.93rem;margin-bottom:.4rem}.fac-body{font-size:.78rem;color:var(--muted);line-height:1.68}
.fac-body.ml{font-family:"Noto Sans Malayalam",sans-serif;font-size:.76rem}
@media (max-width: 560px) {
  .fac-icon {
    width: 40px;
    height: 40px;
  }
  .fac-icon svg {
    width: 22px;
    height: 22px;
  }
}
.lab-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--card-grid-gap);margin-top:1.35rem}
.lab-item{background:var(--cream);border:1px solid rgba(var(--teal-rgb), .16);border-radius:var(--r);padding:1rem 1.1rem;font-size:.82rem;font-weight:600;color:var(--teal);text-align:center;line-height:1.45;min-width:0;overflow-wrap:normal;word-break:normal;transition:all .25s}
.lab-item:hover{background:var(--teal);color:white;transform:translateY(-2px);box-shadow:0 4px 16px rgba(var(--teal-rgb), .25)}
.lab-grid.clinical-site-grid{grid-template-columns:repeat(2,minmax(280px,1fr))}
@media(max-width:1024px){.gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:220px}.g1,.g2,.g3,.g4,.g5{grid-column:span 1;grid-row:auto}.campus-brief,.facility-grid,.gallery-head{grid-template-columns:1fr 1fr}}
@media(max-width:768px){.facility-grid,.gallery-head,.campus-metrics{grid-template-columns:1fr}}
@media(max-width:760px){.lab-grid.clinical-site-grid{grid-template-columns:1fr}}
@media(max-width:760px){.recognition-split{grid-template-columns:1fr}}

/* === Clinical training page === */
.clinical-intra-nav{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:1.05rem;padding-top:1rem;border-top:1px solid rgba(var(--teal-rgb),.14)}
.clinical-intra-nav a{font-size:.88rem;font-weight:700;color:var(--teal-strong);text-decoration:none;border-bottom:2px solid rgba(var(--teal-rgb),.28);padding-bottom:.12rem;line-height:1.35}
.clinical-intra-nav a:hover{color:var(--teal-hover);border-bottom-color:rgba(var(--teal-rgb),.45)}
.clinical-intro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--card-grid-gap);margin-top:1.25rem}
.clinical-intro-card{padding:1.15rem 1.2rem;border-radius:20px;background:var(--cream);border:1px solid rgba(var(--teal-rgb),.14);box-shadow:var(--shadow-card)}
.clinical-card-title{margin:0 0 .55rem;font-size:1.02rem;color:var(--navy);line-height:1.25}
.clinical-intro-card p{margin:0 0 .5rem;font-size:.88rem;color:var(--muted);line-height:1.65}
.clinical-intro-card p:last-child{margin-bottom:0}
.clinical-site-group-title{margin:1.5rem 0 .65rem;font-size:.95rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--teal-strong)}
.clinical-site-group-title:first-of-type{margin-top:1rem}
.clinical-site-grid{margin-top:.75rem}
@media(max-width:980px){.clinical-intro-grid{grid-template-columns:1fr}}


/* === Learning support section (home, replaces testimonials) === */
.learning-support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--card-grid-gap);margin-top:1.25rem}
.learning-support-card{padding:1.25rem 1.3rem;border-radius:22px;background:var(--cream);border:1px solid rgba(var(--ink-rgb), .09);box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:.65rem;min-height:100%}
.learning-support-card h3{margin:0;font-size:1.05rem;color:var(--navy)}
.learning-support-card p{margin:0;font-size:.84rem;color:var(--muted);line-height:1.65;flex:1}
.learning-support-card .btn{margin-top:.5rem;align-self:flex-start}
@media(max-width:760px){.learning-support-grid{grid-template-columns:1fr}}

/* === Anti-ragging policy page (aligned with .legal-doc rhythm) === */
.ar-policy {
  max-width: 48rem;
  margin: 0 auto;
}

.ar-policy-doc {
  margin: 0 0 1.35rem;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: 22px;
  background: var(--cream);
  border: 1px solid rgba(var(--teal-rgb), 0.14);
  border-top: 3px solid rgba(var(--teal-rgb), 0.26);
  box-shadow: var(--shadow-card);
}

.ar-policy-doc-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.ar-policy-doc .ar-policy-doc-title {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.28;
}

.ar-policy-doc-institution {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.ar-policy-doc-lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

.ar-policy-doc-lead span.en,
.ar-policy-doc-lead span.ml {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.ar-policy-poster {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem 0.85rem;
  border-radius: 18px;
  background: rgba(var(--teal-soft-rgb), 0.35);
  border: 1px solid rgba(var(--teal-rgb), 0.16);
}

.ar-policy-poster summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.45;
  padding: 0.2rem 0 0.15rem;
  list-style-position: outside;
}

.ar-policy-poster summary span {
  font: inherit;
  color: inherit;
}

.ar-policy-poster .ar-policy-figure {
  margin: 1rem 0 0;
}

.ar-policy-figure {
  margin: 0;
  text-align: center;
}

.ar-policy-figure img {
  width: min(100%, 420px);
  height: auto;
  background: #fff;
  padding: 0.7rem;
  border: 1px solid rgba(var(--shadow-rgb), 0.12);
  border-radius: 12px;
  vertical-align: middle;
  box-shadow: 0 14px 32px rgba(var(--shadow-rgb), 0.1);
}

.ar-policy > h2 {
  margin: 1.85rem 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.28;
}

.ar-policy > h2:first-of-type {
  margin-top: 0.4rem;
}

.ar-policy > h2 span {
  font: inherit;
  color: inherit;
}

.ar-policy > p {
  margin: 0 0 0.15rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

.ar-policy > p span.en,
.ar-policy > p span.ml {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.ar-policy > p span.ml-f {
  font-family: "Noto Sans Malayalam", sans-serif;
}

.ar-policy li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

.ar-policy ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.ar-policy-actions {
  margin-top: 2rem;
  padding-top: 0.25rem;
}

/* === Contact page: map iframe mobile === */
.map-card iframe{max-width:100%;min-height:240px}
@media(max-width:720px){.map-card iframe{height:260px}}
.contact-stack,.contact-layout-new{padding-bottom:max(4rem, env(safe-area-inset-bottom))}

/* === Legal / policy pages === */
.legal-doc {
  max-width: 48rem;
  margin: 0 auto;
}
.legal-doc h2 {
  margin: 1.85rem 0 0.6rem;
  font-size: 1.12rem;
  color: var(--navy);
}
.legal-doc h2:first-of-type {
  margin-top: 0.5rem;
}
.legal-doc p,
.legal-doc li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}
.legal-doc ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.ar-policy .legal-doc-list,
.legal-doc-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.ar-policy .legal-doc-list li,
.legal-doc-list li {
  margin: 0.3rem 0;
}

/* CTA wrapping — long institutional labels on small screens */
.hero-actions .btn,
.admission-next-actions .btn,
.learning-support-card .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
