/* ==========================================================================
   Shivalik University — style.css
   Palette : vivid blue + cyan + orange on white
   Type    : Sora (display) · Plus Jakarta Sans (body) · JetBrains Mono (labels)
   Spacing : 8px base scale, tight sections, everything on one grid
   ========================================================================== */

/* ---------- 1. Tokens --------------------------------------------------- */
:root {
  /* brand — saffron and indigo on warm cream */
  --saffron:    #ff6a13;
  --saffron-dk: #d94e05;
  --saffron-lt: #ff9248;
  --gold:       #fbbf24;
  --gold-dk:    #d99a05;
  --indigo:     #241d63;
  --indigo-2:   #3b32a0;
  --royal:      #4f46e5;
  --royal-lt:   #8b85f0;
  --teal:       #0e9488;
  --rose:       #d6336c;

  /* aliases kept so older rules keep working */
  --blue:       var(--royal);
  --blue-dk:    var(--indigo-2);
  --blue-lt:    var(--royal-lt);
  --cyan:       var(--gold);
  --orange:     var(--saffron);
  --orange-dk:  var(--saffron-dk);
  --green:      var(--teal);
  --pink:       var(--rose);

  /* neutrals — warm, never grey */
  --deep:       #1a1338;
  --deep-2:     #2b2266;
  --ink:        #241c33;
  --text:       #55506b;
  --muted:      #837da0;
  --line:       #ece6dc;
  --line-2:     #f5f0e7;
  --tint:       #fdf8f0;
  --tint-2:     #fdeee1;
  --white:      #ffffff;

  /* gradients */
  --grad-brand: linear-gradient(120deg, var(--saffron) 0%, var(--gold) 100%);
  --grad-warm:  linear-gradient(120deg, var(--gold) 0%, var(--saffron) 100%);
  --grad-deep:  linear-gradient(150deg, var(--deep) 0%, var(--indigo-2) 100%);
  --grad-royal: linear-gradient(120deg, var(--indigo-2) 0%, var(--royal) 100%);

  /* type */
  --ff-display: "Fraunces", Georgia, serif;
  --ff-body:    "Manrope", system-ui, -apple-system, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* layout — 8px scale */
  --s1: 4px;  --s2: 8px;   --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 40px;  --s8: 56px; --s9: 72px; --s10: 96px;

  --wrap: 1240px;
  --gut: 20px;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;

  --shadow-1: 0 1px 2px rgba(36,28,51,.05), 0 2px 8px rgba(36,28,51,.05);
  --shadow-2: 0 10px 26px rgba(36,28,51,.09);
  --shadow-3: 0 22px 52px rgba(36,28,51,.14);
  --shadow-blue: 0 12px 30px rgba(79,70,229,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 74px;
}

/* ---------- 2. Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--deep); }

/* ---------- 3. Type ----------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: 0 0 var(--s3);
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.4vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.35rem); }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 var(--s3); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink); }

.lead { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--muted); max-width: 64ch; }
.small { font-size: .875rem; }
.mono {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* eyebrow — a pill, not a whisper */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--saffron-dk);
  font-family: var(--ff-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.eyebrow.is-light { background: rgba(255,255,255,.14); color: var(--white); }

.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. Layout --------------------------------------------------- */
.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - (var(--gut) * 2), 820px); margin-inline: auto; }

.section { padding-block: clamp(48px, 5.2vw, 80px); }
.section-sm { padding-block: clamp(32px, 3.4vw, 52px); }

.section-head { max-width: 700px; margin-bottom: var(--s7); }
.section-head :last-child { margin-bottom: 0; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s6);
}
.section-head.is-split > div { max-width: 640px; }

.bg-tint { background: var(--tint); }
.bg-deep { background: var(--deep); color: rgba(255,255,255,.76); }
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4 { color: var(--white); }
.bg-deep .lead { color: rgba(255,255,255,.7); }
.bg-grad { background: var(--grad-deep); color: rgba(255,255,255,.78); }
.bg-grad h2, .bg-grad h3 { color: var(--white); }
.bg-grad .lead { color: rgba(255,255,255,.72); }

.grid { display: grid; gap: var(--s5); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-6 { grid-template-columns: repeat(6, 1fr); }
.gap-sm { gap: var(--s4); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.split.is-wide-left  { grid-template-columns: 1.12fr .88fr; }
.split.is-wide-right { grid-template-columns: .88fr 1.12fr; }
.split.is-top { align-items: start; }

.stack > * + * { margin-top: var(--s3); }
.row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); }
.center { text-align: center; }

hr.rule { border: 0; height: 1px; background: var(--line); margin: var(--s6) 0; }

/* ---------- 5. Buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .005em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s, background-color .22s, color .22s, border-color .22s;
}
.btn > span { position: relative; z-index: 2; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.22);
  transform: translateY(101%);
  transition: transform .35s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--saffron); color: var(--white); box-shadow: 0 10px 24px rgba(255,106,19,.32); }
.btn-primary:hover { box-shadow: 0 16px 32px rgba(255,106,19,.42); }
.btn-blue { background: var(--indigo-2); color: var(--white); box-shadow: var(--shadow-blue); }
.btn-dark { background: var(--deep); color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { border-color: rgba(255,255,255,.42); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--deep); border-color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: .84rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue);
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 6. Media ---------------------------------------------------- */
.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--tint-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.r-4-3  { aspect-ratio: 4 / 3; }
.r-3-2  { aspect-ratio: 3 / 2; }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-1-1  { aspect-ratio: 1 / 1; }
.r-4-5  { aspect-ratio: 4 / 5; }
.r-3-4  { aspect-ratio: 3 / 4; }

.media-badge {
  position: absolute;
  left: var(--s4); bottom: var(--s4);
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  box-shadow: var(--shadow-2);
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-dk);
}

/* stacked duo used in intro blocks */
.media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; }
.media-duo > :first-child { margin-top: var(--s7); }

/* ---------- 7. Header --------------------------------------------------- */
.topbar {
  background: var(--deep);
  color: rgba(255,255,255,.72);
  font-size: .8rem;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); min-height: 38px; flex-wrap: wrap;
}
.topbar ul { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.topbar a:hover { color: var(--gold); }
.topbar .social { display: flex; align-items: center; gap: var(--s3); }
.topbar .social a {
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.09);
  transition: background-color .2s, color .2s;
}
.topbar .social a:hover { background: var(--orange); color: var(--white); }
.topbar .social svg { width: 12px; height: 12px; fill: currentColor; }

.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s;
}
.header.is-stuck { box-shadow: var(--shadow-1); }
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-name {
  font-family: var(--ff-display); font-weight: 800;
  font-size: 1.06rem; line-height: 1.05; color: var(--ink);
  letter-spacing: -.02em;
}
.brand-sub {
  font-family: var(--ff-mono); font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 600; color: var(--ink);
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav-list > li > a:hover { color: var(--blue); background: var(--tint); }
.nav-list > li > a.is-active { color: var(--blue); }
.nav-list > li > a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--orange);
}
.has-sub > a::after {
  content: ""; width: 5px; height: 5px; flex: none;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.submenu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 232px; padding: var(--s2);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, visibility .22s, transform .22s var(--ease);
  z-index: 5;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; transform: none;
}
.submenu a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: .88rem; font-weight: 600; color: var(--ink);
  transition: background-color .18s, color .18s, padding-left .22s var(--ease);
}
.submenu a:hover { background: var(--tint); color: var(--blue); padding-left: 16px; }

.nav-cta { display: flex; align-items: center; gap: var(--s3); flex: none; }
.nav-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%;
  width: 17px; height: 2px; border-radius: 2px; background: var(--ink);
  transform: translate(-50%,-50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { transform: translate(-50%,-6px); }
.nav-toggle span:nth-child(3) { transform: translate(-50%,4px); }
.nav-toggle.is-open span:nth-child(1) { transform: translate(-50%,-50%) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translate(-50%,-50%) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(6,21,47,.55);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 95;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  background: var(--grad-warm);
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 8. Hero ----------------------------------------------------- */
.hero { position: relative; background: var(--deep); color: var(--white); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; background: var(--deep-2); }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-slide.is-on { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 16s ease-out both;
}
.hero-slide.is-on img { animation-play-state: running; }
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.16); }
}
.hero-slides::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6,21,47,.94) 0%, rgba(6,21,47,.80) 44%, rgba(6,21,47,.34) 100%),
    linear-gradient(0deg, rgba(6,21,47,.7), transparent 42%);
}
.hero-inner {
  position: relative;
  padding-block: clamp(64px, 8.5vw, 116px) clamp(72px, 8vw, 104px);
  max-width: 700px;
}
.hero h1 { color: var(--white); margin-bottom: var(--s4); }
.hero-text { color: rgba(255,255,255,.8); font-size: clamp(.98rem,1.3vw,1.1rem); margin-bottom: var(--s6); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

.hero-dots { position: absolute; right: var(--s7); bottom: var(--s7); display: flex; gap: var(--s2); z-index: 3; }
.hero-dot {
  width: 30px; height: 4px; border: 0; border-radius: 4px; padding: 0;
  background: rgba(255,255,255,.32); cursor: pointer;
  transition: background-color .3s, width .3s var(--ease);
}
.hero-dot.is-on { background: var(--orange); width: 46px; }

/* quick-fact bar riding the hero edge */
.factbar { position: relative; z-index: 4; margin-top: -44px; }
.factbar-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--shadow-3); overflow: hidden;
}
.fact { padding: var(--s5); border-right: 1px solid var(--line-2); }
.fact:last-child { border-right: 0; }
.fact-num {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1;
  color: var(--blue); display: block; margin-bottom: 4px;
}
.fact-label { font-size: .84rem; color: var(--muted); font-weight: 600; }

/* ---------- 9. Page head ------------------------------------------------ */
.pagehead { position: relative; background: var(--deep); color: var(--white); overflow: hidden; }
.pagehead-media { position: absolute; inset: 0; background: var(--deep-2); }
.pagehead-media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,21,47,.93), rgba(13,92,214,.62));
}
.pagehead-inner { position: relative; padding-block: clamp(48px, 6vw, 88px); }
.pagehead h1 { color: var(--white); margin-bottom: var(--s2); }
.pagehead p { color: rgba(255,255,255,.78); max-width: 58ch; margin: 0; }
.crumbs {
  display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.62); margin-bottom: var(--s4);
}
.crumbs a:hover { color: var(--gold); }

/* ---------- 10. Cards --------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: transparent; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; position: relative; flex: none; background: var(--tint-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.card-body > :last-child { margin-top: auto; padding-top: var(--s4); }
.card-body h3 { margin-bottom: var(--s2); }
.card-body p { font-size: .92rem; }

.tag {
  display: inline-block;
  font-family: var(--ff-mono); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: var(--tint-2); color: var(--blue-dk);
  margin-bottom: var(--s3);
}
.tag-orange { background: #fff0e5; color: var(--orange-dk); }
.tag-green  { background: #e6f7f0; color: #0d7a51; }
.tag-pink   { background: #fdeaf1; color: #b81f52; }

/* department card — coloured top rule */
.dept {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--s5);
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.dept::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s var(--ease);
}
.dept:hover::before { transform: scaleX(1); }
.dept:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.dept-icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: var(--s4);
  background: var(--tint-2); color: var(--blue);
  transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.dept:hover .dept-icon { background: var(--blue); color: var(--white); transform: rotate(-6deg); }
.dept-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dept h3 { margin-bottom: var(--s2); }
.dept p { font-size: .92rem; margin-bottom: var(--s4); }
.dept ul { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.dept ul li {
  font-size: .72rem; font-weight: 600;
  padding: 4px 9px; border-radius: 6px;
  background: var(--tint); color: var(--muted);
}

/* feature tile */
.feature {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--s5); height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: var(--s4);
  background: var(--grad-brand); color: var(--white);
}
.feature-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.06rem; }
.feature p { font-size: .9rem; margin: 0; }
.bg-deep .feature, .bg-grad .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13); }
.bg-deep .feature h3, .bg-grad .feature h3 { color: var(--white); }
.bg-deep .feature p, .bg-grad .feature p { color: rgba(255,255,255,.66); }

/* stat tile */
.stat-tile {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--s5); text-align: center;
}
.bg-deep .stat-tile, .bg-grad .stat-tile { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.stat-tile .n {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1;
  color: var(--blue); display: block;
}
.bg-deep .stat-tile .n, .bg-grad .stat-tile .n { color: var(--gold); }
.stat-tile .l { font-size: .82rem; color: var(--muted); margin-top: 6px; display: block; font-weight: 600; }
.bg-deep .stat-tile .l, .bg-grad .stat-tile .l { color: rgba(255,255,255,.62); }

/* person card */
.person { text-align: center; }
.person .media { border-radius: var(--r); margin-bottom: var(--s3); }
.person h4 { margin-bottom: 2px; }
.person span { font-size: .84rem; color: var(--muted); }

/* programme row */
.prog {
  display: grid; grid-template-columns: 1fr auto auto auto;
  gap: var(--s5); align-items: center;
  padding: var(--s4) var(--s5);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); margin-bottom: var(--s3);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.prog:hover { transform: translateX(5px); box-shadow: var(--shadow-2); border-color: var(--blue-lt); }
.prog h4 { margin: 0 0 2px; }
.prog p { margin: 0; font-size: .85rem; color: var(--muted); }
.prog-meta { text-align: center; }
.prog-meta b { display: block; font-family: var(--ff-display); font-size: .95rem; color: var(--ink); }
.prog-meta span { font-size: .72rem; color: var(--muted); }

/* ---------- 11. Notices / events ---------------------------------------- */
.notice {
  display: grid; grid-template-columns: 62px 1fr auto;
  gap: var(--s4); align-items: center;
  padding: var(--s4); border-radius: var(--r);
  border: 1px solid var(--line); background: var(--white);
  margin-bottom: var(--s3);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.notice:hover { transform: translateX(5px); box-shadow: var(--shadow-2); border-color: var(--blue-lt); }
.date-chip {
  text-align: center; border-radius: var(--r-sm);
  background: var(--grad-brand); color: var(--white);
  padding: 8px 4px;
}
.date-chip b { display: block; font-family: var(--ff-display); font-size: 1.2rem; line-height: 1; }
.date-chip span { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.notice h4 { margin: 0 0 2px; font-size: .98rem; }
.notice p { margin: 0; font-size: .84rem; color: var(--muted); }

/* ---------- 12. Marquee ------------------------------------------------- */
.marquee {
  background: var(--grad-brand); color: var(--white);
  padding-block: 12px; overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center; gap: var(--s7); padding-right: var(--s7);
  font-family: var(--ff-mono); font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.marquee-group i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 13. Tabs ---------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.tab {
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white);
  font-size: .86rem; font-weight: 700; color: var(--muted);
  transition: background-color .22s, color .22s, border-color .22s, transform .22s var(--ease);
}
.tab:hover { border-color: var(--blue-lt); color: var(--blue); }
.tab.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-1px); }
.tabpanel { display: none; }
.tabpanel.is-on { display: block; animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 14. Accordion ----------------------------------------------- */
.accordion { display: grid; gap: var(--s3); }
.acc-item {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.acc-item.is-open { border-color: var(--blue-lt); box-shadow: var(--shadow-2); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: var(--s4) var(--s5);
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--ff-display); font-size: 1rem; font-weight: 700; color: var(--ink);
}
.acc-icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--tint-2); display: grid; place-items: center; position: relative;
  transition: background-color .25s, transform .3s var(--ease);
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 2px;
  transition: opacity .25s, background-color .25s;
}
.acc-icon::before { width: 11px; height: 2px; }
.acc-icon::after  { width: 2px; height: 11px; }
.acc-item.is-open .acc-icon { background: var(--blue); transform: rotate(180deg); }
.acc-item.is-open .acc-icon::before { background: var(--white); }
.acc-item.is-open .acc-icon::after { opacity: 0; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-panel-inner { padding: 0 var(--s5) var(--s5); font-size: .93rem; max-width: 76ch; }

/* ---------- 15. Steps --------------------------------------------------- */
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.step {
  counter-increment: st; position: relative;
  padding: var(--s5); border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .28s var(--ease), box-shadow .28s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.step::before {
  content: counter(st, decimal-leading-zero);
  font-family: var(--ff-display); font-weight: 800; font-size: 1.5rem;
  color: var(--blue); opacity: .28; display: block; margin-bottom: var(--s2);
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .89rem; margin: 0; }

/* ---------- 16. Timeline ------------------------------------------------ */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: var(--s6); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--blue);
  transition: background-color .3s, transform .3s var(--ease);
}
.tl-item:hover::before { background: var(--orange); border-color: var(--orange); transform: scale(1.25); }
.tl-year { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em; color: var(--orange-dk); display: block; margin-bottom: 3px; }
.tl-item h4 { margin-bottom: 3px; }
.tl-item p { font-size: .9rem; margin: 0; }

/* ---------- 17. Gallery ------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; margin-bottom: var(--s6); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s4); }
.gallery-item {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--r); cursor: zoom-in; border: 0; padding: 0;
  background: var(--tint-2);
  transition: transform .35s var(--ease), box-shadow .35s, opacity .3s;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(6,21,47,.88));
  color: var(--white); font-size: .8rem; font-weight: 700; text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s var(--ease);
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }
.gallery-grid.is-filtering .gallery-item { opacity: .2; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,12,26,.95); display: grid; place-items: center; padding: 28px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1080px, 92vw); max-height: 78vh; border-radius: var(--r); object-fit: contain;
  transform: scale(.94); opacity: 0; transition: transform .4s var(--ease), opacity .3s;
}
.lightbox.is-open img { transform: none; opacity: 1; }
.lightbox-cap { color: rgba(255,255,255,.82); font-size: .86rem; text-align: center; margin-top: var(--s4); }
.lightbox-btn {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: none; color: var(--white);
  font-size: 1.25rem; cursor: pointer; display: grid; place-items: center;
  transition: background-color .22s, color .22s;
}
.lightbox-btn:hover { background: var(--white); color: var(--deep); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- 18. Logos strip --------------------------------------------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s3); }
.logo-chip {
  display: grid; place-items: center; height: 74px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); color: var(--muted);
  font-family: var(--ff-display); font-weight: 800; font-size: .92rem;
  letter-spacing: -.01em; text-align: center; padding: var(--s2);
  transition: color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.logo-chip:hover { color: var(--blue); border-color: var(--blue-lt); transform: translateY(-3px); box-shadow: var(--shadow-1); }

/* ---------- 19. Testimonials -------------------------------------------- */
.quotes { position: relative; overflow: hidden; }
.quotes-track { display: flex; transition: transform .55s var(--ease); }
.quote { flex: 0 0 100%; padding: 0 3px; }
.quote-in {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px,3.4vw,44px); text-align: center;
}
.quote-in blockquote {
  margin: 0 auto var(--s5); max-width: 62ch;
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(1.02rem,1.7vw,1.28rem); line-height: 1.5; color: var(--ink);
}
.quote-person { display: flex; align-items: center; justify-content: center; gap: var(--s3); }
.quote-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-person h5 { margin: 0; font-size: .94rem; }
.quote-person span { font-size: .8rem; color: var(--muted); }
.quotes-nav { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s5); }
.quotes-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line); cursor: pointer;
  transition: width .3s var(--ease), background-color .3s;
}
.quotes-dot.is-active { width: 26px; border-radius: 999px; background: var(--orange); }

/* ---------- 20. Forms --------------------------------------------------- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(22px,3vw,36px); box-shadow: var(--shadow-2);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--tint); font-size: .94rem;
  transition: border-color .22s, background-color .22s, box-shadow .22s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 4px rgba(13,92,214,.12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d63b3b; background: #fef5f5; }
.field-error { font-size: .78rem; color: #d63b3b; display: none; }
.field.has-error .field-error { display: block; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-alert {
  display: none; padding: 12px 16px; border-radius: var(--r-sm);
  background: #e8f7f0; border: 1px solid #b6e3ce; color: #0d6f4a;
  font-size: .9rem; margin-bottom: var(--s4);
}
.form-alert.is-visible { display: block; }

/* ---------- 21. Tables -------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.data-table { min-width: 620px; font-size: .9rem; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.data-table thead th {
  background: var(--deep); color: var(--white);
  font-family: var(--ff-mono); font-size: .66rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--tint); }
.data-table td:first-child { font-weight: 700; color: var(--ink); }

/* ---------- 22. Contact ------------------------------------------------- */
.contact-item { display: flex; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: var(--tint-2); color: var(--blue);
}
.contact-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-item h4 { margin-bottom: 2px; font-size: .96rem; }
.contact-item p { margin: 0; font-size: .92rem; }
.map-frame { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; line-height: 0; }
.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* ---------- 23. CTA ----------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--grad-deep); color: rgba(255,255,255,.8);
  padding: clamp(32px,4.4vw,60px); text-align: center;
}
.cta h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta p { max-width: 56ch; margin-inline: auto; }
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.cta::before {
  width: 320px; height: 320px; right: -70px; top: -120px;
  background: radial-gradient(circle, rgba(255,107,0,.42), transparent 66%);
  animation: drift 14s ease-in-out infinite alternate;
}
.cta::after {
  width: 280px; height: 280px; left: -80px; bottom: -130px;
  background: radial-gradient(circle, rgba(0,180,216,.38), transparent 66%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift { to { transform: translate(-46px, 30px) scale(1.18); } }
.cta > * { position: relative; z-index: 2; }
.cta-actions { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; margin-top: var(--s5); }

/* ---------- 24. Footer -------------------------------------------------- */
.footer { background: var(--deep); color: rgba(255,255,255,.64); padding-top: clamp(44px,5vw,68px); font-size: .9rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px,3.4vw,44px); padding-bottom: var(--s8);
}
.footer h4 {
  color: var(--white); font-family: var(--ff-mono); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: var(--s4);
}
.footer a { transition: color .2s, padding-left .22s var(--ease); }
.footer-links li { margin-bottom: 9px; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s4); }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: rgba(255,255,255,.5); }
.footer .social { display: flex; gap: var(--s2); margin-top: var(--s4); }
.footer .social a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.08);
  transition: background-color .22s, transform .22s var(--ease);
}
.footer .social a:hover { background: var(--orange); transform: translateY(-2px); }
.footer .social svg { width: 14px; height: 14px; fill: currentColor; }
.footer-contact li { margin-bottom: var(--s3); line-height: 1.55; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s4);
  display: flex; justify-content: space-between; gap: var(--s3);
  flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5);
}

/* ---------- 25. Back to top / preloader --------------------------------- */
.totop {
  position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--blue); color: var(--white);
  cursor: pointer; display: grid; place-items: center; z-index: 80;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  box-shadow: var(--shadow-blue);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background-color .22s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--orange); }
.totop svg.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.totop svg.ring { position: absolute; inset: 0; width: 44px; height: 44px; transform: rotate(-90deg); }
.totop svg.ring circle { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 126; stroke-dashoffset: 126; }

.preload {
  position: fixed; inset: 0; z-index: 300; background: var(--deep);
  display: grid; place-items: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
.preload.is-done { opacity: 0; visibility: hidden; }
.preload-bar { width: 190px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.16); overflow: hidden; margin: var(--s4) auto 0; }
.preload-bar i { display: block; height: 100%; width: 40%; background: var(--grad-warm); animation: preloadRun 1.1s var(--ease) infinite; }
@keyframes preloadRun { from { transform: translateX(-110%); } to { transform: translateX(320%); } }
.preload-name { font-family: var(--ff-display); font-weight: 800; color: var(--white); font-size: 1.2rem; text-align: center; }

/* ---------- 26. Motion -------------------------------------------------- */
[data-enter] { opacity: 0; transform: translateY(16px); }
.is-loaded [data-enter] { animation: enterUp .8s var(--ease) forwards; animation-delay: calc(var(--i,0) * 100ms); }
@keyframes enterUp { to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease), clip-path .8s var(--ease); }
.reveal[data-anim="up"], .reveal:not([data-anim]) { transform: translateY(24px); }
.reveal[data-anim="left"]  { transform: translateX(-32px); }
.reveal[data-anim="right"] { transform: translateX(32px); }
.reveal[data-anim="zoom"]  { transform: scale(.95); }
.reveal[data-anim="mask"]  { transform: none; }
.reveal[data-anim="mask"] img { clip-path: inset(0 0 100% 0); transition: clip-path .85s var(--ease); }
.reveal[data-anim="mask"].is-in img { clip-path: inset(0 0 0 0); }
.reveal.is-in { opacity: 1; transform: none; }

.split-word { display: inline-block; opacity: 0; transform: translateY(24px); }
.is-loaded .split-word { animation: wordUp .75s var(--ease) forwards; animation-delay: calc(var(--w,0) * 52ms); }
@keyframes wordUp { to { opacity: 1; transform: none; } }

[data-parallax] { will-change: transform; }
.tilt { transition: transform .3s var(--ease); }

/* shine on media hover */
.card-media::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg); transition: left .75s var(--ease); z-index: 2; pointer-events: none;
}
.card:hover .card-media::after { left: 130%; }

/* ---------- 27. Responsive ---------------------------------------------- */
@media (max-width: 1180px) {
  .g-6, .logos { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .nav-list > li > a { padding: 9px 9px; font-size: .86rem; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; width: min(90vw, 360px); height: 100dvh;
    background: var(--white); border-left: 1px solid var(--line);
    padding: 84px var(--s5) var(--s7); overflow-y: auto;
    transform: translateX(104%); visibility: hidden;
    transition: transform .38s var(--ease), visibility .38s; z-index: 96;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 13px 8px; font-size: 1rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav-list > li > a.is-active::after { display: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--line-2);
    border-radius: 0; padding: 0 0 var(--s3) var(--s4); min-width: 0;
  }
  .submenu a { padding: 8px; font-size: .9rem; color: var(--muted); }
  .nav-cta .btn { display: none; }
  .g-3, .g-4, .split, .split.is-wide-left, .split.is-wide-right, .form-grid { grid-template-columns: 1fr; }
  .factbar-in { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head.is-split { flex-direction: column; align-items: flex-start; }
  .hero-dots { right: var(--gut); bottom: 60px; }
}
@media (max-width: 620px) {
  :root { --gut: 16px; }
  .g-2, .g-6, .logos, .steps, .factbar-in, .footer-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .media-duo > :first-child { margin-top: 0; }
  .prog { grid-template-columns: 1fr; gap: var(--s3); }
  .prog-meta { text-align: left; display: flex; gap: 6px; align-items: baseline; }
  .notice { grid-template-columns: 54px 1fr; }
  .notice > :last-child { grid-column: 1 / -1; }
  .factbar { margin-top: -28px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, [data-enter], .split-word { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .preload { display: none; }
  .hero-slide img { animation: none; }
}
@media print {
  .header, .topbar, .footer, .totop, .cta, .nav-backdrop, .preload { display: none !important; }
  body { color: #000; }
}

/* ==========================================================================
   28. K2 ERP — hero v2, moving strips, events, advanced gallery, WhatsApp
   ========================================================================== */

/* ---------- 28.1 Hero v2 ------------------------------------------------ */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 104px) clamp(72px, 8vw, 108px);
}
.hero-copy { max-width: 640px; }
.eyebrow:has(i.live)::before { display: none; }
.eyebrow i.live {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3ddc84; flex: none;
  box-shadow: 0 0 0 0 rgba(61,220,132,.7);
  animation: livePulse 2s ease-out infinite;
}
@keyframes livePulse {
  70%  { box-shadow: 0 0 0 9px rgba(61,220,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); }
}

.hero-pills {
  display: flex; flex-wrap: wrap; gap: var(--s3);
  margin-top: var(--s6);
}
.hero-pills li {
  padding: 10px 16px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background-color .3s;
}
.hero-pills li:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); }
.hero-pills b {
  display: block; font-family: var(--ff-display); font-weight: 800;
  font-size: 1.1rem; color: var(--gold); line-height: 1.1;
}
.hero-pills span { font-size: .74rem; color: rgba(255,255,255,.68); }

/* ambient blobs */
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; filter: blur(6px); }
.hero-blob.b1 {
  width: 460px; height: 460px; right: -110px; top: -140px;
  background: radial-gradient(circle, rgba(255,107,0,.36), transparent 68%);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-blob.b2 {
  width: 400px; height: 400px; left: -130px; bottom: -180px;
  background: radial-gradient(circle, rgba(0,180,216,.34), transparent 68%);
  animation: heroDrift 22s ease-in-out infinite alternate-reverse;
}
@keyframes heroDrift { to { transform: translate(60px, 40px) scale(1.2); } }

/* floating photo collage */
.hero-collage { position: relative; height: 460px; }
.hero-collage .hc {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: var(--r);
  box-shadow: 0 22px 50px rgba(0,0,0,.4);
  border: 3px solid rgba(255,255,255,.16);
}
.hero-collage .hc img { width: 100%; height: 100%; object-fit: cover; }
.hc-1 { width: 58%; height: 100%; right: 6%; top: 0; animation: float1 9s ease-in-out infinite; }
.hc-2 { width: 44%; height: 38%; left: 0; top: 12%; animation: float2 11s ease-in-out infinite; }
.hc-3 { width: 46%; height: 34%; left: 4%; bottom: 6%; animation: float1 13s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translateY(-16px); } }
@keyframes float2 { 50% { transform: translateY(14px); } }

.hc-chip {
  position: absolute; z-index: 3;
  background: var(--white); color: var(--ink);
  border-radius: var(--r-sm); padding: 10px 16px;
  box-shadow: var(--shadow-3);
  animation: float2 8s ease-in-out infinite;
}
.hc-chip b { display: block; font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem; line-height: 1.1; color: var(--blue); }
.hc-chip span { font-size: .72rem; color: var(--muted); }
.hc-chip-1 { left: 0; bottom: 44%; }
.hc-chip-2 { right: 0; top: 6%; animation-delay: 1.4s; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; z-index: 4;
  font-family: var(--ff-mono); font-size: .6rem;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.hero-scroll i {
  width: 18px; height: 28px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.4); position: relative;
}
.hero-scroll i::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 3px; height: 6px; border-radius: 2px; background: var(--gold);
  transform: translateX(-50%); animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 11px); }
}
.hero-dots { bottom: var(--s6); }

/* ---------- 28.2 Moving image strips ------------------------------------ */
.imgstrips { overflow: hidden; }
.strip { overflow: hidden; margin-bottom: var(--s4); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; width: max-content; gap: var(--s4); animation: stripL 44s linear infinite; }
.strip-track.is-reverse { animation-name: stripR; animation-duration: 52s; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item {
  margin: 0; flex: none;
  width: clamp(180px, 20vw, 260px); aspect-ratio: 7 / 5;
  border-radius: var(--r); overflow: hidden; background: var(--tint-2);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.strip-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-3); }
.strip-item:hover img { transform: scale(1.08); }
@keyframes stripL { to { transform: translateX(calc(-50% - var(--s4) / 2)); } }
@keyframes stripR { from { transform: translateX(calc(-50% - var(--s4) / 2)); } to { transform: translateX(0); } }

/* ---------- 28.3 Events -------------------------------------------------- */
.event {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.event:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: transparent; }
.event-media { aspect-ratio: 21 / 9; overflow: hidden; background: var(--tint-2); position: relative; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.event:hover .event-media img { transform: scale(1.06); }
.event-body { display: flex; gap: var(--s4); padding: var(--s5); }
.event-date {
  flex: none; width: 62px; text-align: center; align-self: flex-start;
  border-radius: var(--r-sm); padding: 9px 4px;
  background: var(--grad-brand); color: var(--white);
}
.event-date b { display: block; font-family: var(--ff-display); font-size: 1.3rem; line-height: 1; }
.event-date span { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.event-body h3 { margin-bottom: var(--s2); }
.event-body p { font-size: .92rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.event-meta span {
  font-size: .74rem; font-weight: 600; color: var(--muted);
  padding: 4px 10px; border-radius: 6px; background: var(--tint);
}
.evt-sm .card-media { aspect-ratio: 4 / 3; }
.evt-badge {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  background: var(--white); color: var(--blue-dk);
  border-radius: 6px; padding: 5px 10px;
  font-family: var(--ff-mono); font-size: .64rem;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: var(--shadow-1);
}

/* ---------- 28.4 Advanced gallery ---------------------------------------- */
.gal-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s6);
}
.gal-top .filter-bar { justify-content: flex-start; margin: 0; flex: 1; }
.filter-bar .tab b {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  border-radius: 999px; background: var(--tint-2); color: var(--blue-dk);
  font-size: .7rem;
}
.filter-bar .tab.is-on b { background: rgba(255,255,255,.24); color: var(--white); }
.gal-tools { display: flex; gap: 6px; }
.gal-view {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--white);
  cursor: pointer; display: grid; place-items: center; color: var(--muted);
  transition: background-color .22s, color .22s, border-color .22s;
}
.gal-view svg { width: 18px; height: 18px; fill: currentColor; }
.gal-view:hover { border-color: var(--blue-lt); color: var(--blue); }
.gal-view.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); }

.gallery-grid.is-masonry {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
}
.gallery-grid.is-masonry .gallery-item { aspect-ratio: auto; height: 100%; }
.gallery-grid.is-masonry .gallery-item.wide { grid-column: span 2; }
.gallery-grid.is-masonry .gallery-item.tall { grid-row: span 2; }
.gallery-item.is-more { display: none; }
.gallery-grid.show-all .gallery-item.is-more:not(.is-hidden) { display: block; }

.gallery-item figcaption {
  padding: 34px 16px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.gallery-item figcaption b { font-size: .92rem; }
.gallery-item figcaption span {
  font-family: var(--ff-mono); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase; opacity: .78;
}
.gal-zoom {
  position: absolute; right: 12px; top: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.94); z-index: 3;
  opacity: 0; transform: scale(.7);
  transition: opacity .3s, transform .3s var(--ease);
}
.gal-zoom::before, .gal-zoom::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); border-radius: 2px;
  transform: translate(-50%,-50%);
}
.gal-zoom::before { width: 13px; height: 2px; }
.gal-zoom::after  { width: 2px; height: 13px; }
.gallery-item:hover .gal-zoom, .gallery-item:focus-visible .gal-zoom { opacity: 1; transform: scale(1); }

.lightbox-counter {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .12em;
  color: rgba(255,255,255,.72);
}
.lightbox-thumbs {
  display: flex; gap: 8px; margin-top: var(--s4);
  max-width: min(880px, 90vw); overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: thin;
}
.lightbox-thumbs button {
  flex: none; width: 62px; height: 44px; padding: 0; cursor: pointer;
  border: 2px solid transparent; border-radius: 6px; overflow: hidden;
  background: none; opacity: .5;
  transition: opacity .22s, border-color .22s, transform .22s var(--ease);
}
.lightbox-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumbs button:hover { opacity: .85; transform: translateY(-2px); }
.lightbox-thumbs button.is-on { opacity: 1; border-color: var(--orange); }

/* ---------- 28.5 WhatsApp float ------------------------------------------ */
.wa-float {
  position: fixed; right: 18px; bottom: 74px; z-index: 85;
  display: flex; align-items: center; gap: 0;
  height: 52px; padding: 0 14px;
  border-radius: 999px; background: #25d366; color: #fff;
  box-shadow: 0 12px 28px rgba(37,211,102,.4);
  transition: gap .3s var(--ease), padding .3s var(--ease), transform .25s var(--ease), box-shadow .25s;
  overflow: hidden;
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; flex: none; position: relative; z-index: 2; }
.wa-float b {
  max-width: 0; white-space: nowrap; overflow: hidden;
  font-size: .88rem; font-weight: 700; position: relative; z-index: 2;
  transition: max-width .35s var(--ease), margin-left .35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37,211,102,.5); }
.wa-float:hover b { max-width: 190px; margin-left: 10px; }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37,211,102,.6);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- 28.6 Responsive + motion ------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { display: none; }
  .hero-scroll { display: none; }
  .event-media { aspect-ratio: 16 / 9; }
  .gallery-grid.is-masonry { grid-auto-rows: 160px; }
}
@media (max-width: 620px) {
  .hero-pills li { flex: 1 1 calc(50% - var(--s3)); }
  .event-body { flex-direction: column; }
  .gal-top { flex-direction: column; align-items: stretch; }
  .gal-tools { justify-content: flex-end; }
  .gallery-grid.is-masonry .gallery-item.wide,
  .gallery-grid.is-masonry .gallery-item.tall { grid-column: auto; grid-row: auto; }
  .gallery-grid.is-masonry { grid-auto-rows: 150px; }
  .wa-float b { display: none; }
  .wa-float { padding: 0 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip-track, .hero-blob, .hc, .hc-chip, .wa-pulse, .eyebrow i.live, .hero-scroll i::after {
    animation: none !important;
  }
}

/* ==========================================================================
   29. About page components — collage, photo band, pillars, VC panel,
       alternating timeline, accreditation marks
   ========================================================================== */

/* ---------- 29.1 Overlapping photo collage ------------------------------ */
.collage { position: relative; min-height: 470px; }
.collage .cg {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: var(--r);
  background: var(--tint-2);
  box-shadow: var(--shadow-3);
  border: 4px solid var(--white);
}
.collage .cg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.collage .cg:hover img { transform: scale(1.07); }
.cg-a { width: 62%; height: 100%; right: 0; top: 0; }
.cg-b {
  width: 46%; height: 40%; left: 0; top: 8%;
  animation: cgFloat 10s ease-in-out infinite;
}
.cg-c {
  width: 44%; height: 34%; left: 6%; bottom: 4%;
  animation: cgFloat 13s ease-in-out infinite reverse;
}
@keyframes cgFloat { 50% { transform: translateY(-14px); } }

.cg-badge {
  position: absolute; z-index: 4; left: 0; bottom: 44%;
  background: var(--white); border-radius: var(--r-sm);
  padding: 10px 16px; box-shadow: var(--shadow-3);
  border-left: 3px solid var(--orange);
}
.cg-badge b {
  display: block; font-family: var(--ff-display); font-weight: 800;
  font-size: 1.2rem; line-height: 1.1; color: var(--blue);
}
.cg-badge span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.cg-badge-2 { left: auto; right: 4%; top: 4%; bottom: auto; border-left-color: var(--cyan); }

/* ---------- 29.2 Stats over a photograph -------------------------------- */
.photoband { position: relative; overflow: hidden; background: var(--deep); }
.photoband-media { position: absolute; inset: -10% 0; }
.photoband-media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.photoband-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,21,47,.90), rgba(13,92,214,.62));
}
.photoband-in { position: relative; padding-block: clamp(40px, 4.6vw, 68px); }
.photoband .stat-tile { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.photoband .stat-tile .n { color: var(--gold); }
.photoband .stat-tile .l { color: rgba(255,255,255,.72); }

/* ---------- 29.3 Pillar cards (photo + icon + copy) --------------------- */
.pillar {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: transparent; }
.pillar-media { position: relative; aspect-ratio: 5 / 3; overflow: hidden; background: var(--tint-2); }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pillar:hover .pillar-media img { transform: scale(1.07); }
.pillar-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,21,47,.05), rgba(6,21,47,.45));
}
.pillar-ic {
  position: absolute; left: var(--s5); bottom: -22px; z-index: 3;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-brand); color: var(--white);
  box-shadow: var(--shadow-2);
  transition: transform .35s var(--ease);
}
.pillar:hover .pillar-ic { transform: rotate(-8deg) scale(1.06); }
.pillar-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar-body { padding: 38px var(--s5) var(--s5); }
.pillar-body h3 { margin-bottom: var(--s2); }
.pillar-body p { font-size: .92rem; margin: 0; }

/* ---------- 29.4 Vice-Chancellor panel ---------------------------------- */
.vcpanel {
  display: grid; grid-template-columns: .8fr 1.2fr;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--grad-deep); color: rgba(255,255,255,.82);
  box-shadow: var(--shadow-3);
}
.vcpanel-media { position: relative; min-height: 340px; background: var(--deep-2); }
.vcpanel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcpanel-body { padding: clamp(26px, 3.6vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.vcpanel-body blockquote {
  margin: 0 0 var(--s6);
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(1.02rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--white);
  position: relative; padding-left: var(--s5);
}
.vcpanel-body blockquote::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 3px; background: var(--grad-warm);
}
.vcpanel-sign {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap;
  padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.14);
}
.vcpanel-sign strong { display: block; color: var(--white); }
.vcpanel-sign span { font-size: .84rem; color: rgba(255,255,255,.6); }
.vcpanel-sign .link-arrow { color: var(--gold); }
.vcpanel-sign .link-arrow:hover { color: var(--white); }

/* ---------- 29.5 Alternating milestone timeline ------------------------- */
.tl2 { position: relative; display: grid; gap: var(--s6); }
.tl2::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.22) 8%, rgba(255,255,255,.22) 92%, transparent);
}
.tl2-item {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.tl2-item::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255,107,0,.22);
  transition: transform .3s var(--ease);
}
.tl2-item:hover::after { transform: scale(1.3); }
.tl2-item:nth-child(even) .tl2-media { order: 2; }
.tl2-media {
  aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r);
  background: var(--deep-2); box-shadow: var(--shadow-2);
  border: 3px solid rgba(255,255,255,.1);
}
.tl2-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tl2-item:hover .tl2-media img { transform: scale(1.07); }
.tl2-year {
  display: inline-block; font-family: var(--ff-mono);
  font-size: .74rem; letter-spacing: .14em; color: var(--gold);
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255,183,3,.14); margin-bottom: var(--s3);
}
.tl2-body h3 { color: var(--white); margin-bottom: var(--s2); }
.tl2-body p { color: rgba(255,255,255,.68); font-size: .93rem; margin: 0; }

/* ---------- 29.6 Accreditation marks ------------------------------------ */
.accred {
  text-align: center; padding: var(--s5);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.accred:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--blue-lt); }
.accred-mark {
  display: grid; place-items: center;
  width: 62px; height: 62px; margin: 0 auto var(--s4);
  border-radius: 50%; background: var(--tint-2); color: var(--blue);
  font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem;
  transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.accred:hover .accred-mark { background: var(--grad-brand); color: var(--white); transform: rotate(-6deg); }
.accred h4 { margin-bottom: 4px; }
.accred p { font-size: .86rem; margin: 0; }

/* ---------- 29.7 Responsive --------------------------------------------- */
@media (max-width: 980px) {
  .collage { min-height: 380px; margin-top: var(--s5); }
  .vcpanel { grid-template-columns: 1fr; }
  .vcpanel-media { min-height: 260px; }
  .tl2::before { left: 9px; }
  .tl2-item { grid-template-columns: 1fr; gap: var(--s4); padding-left: 34px; }
  .tl2-item::after { left: 9px; top: 26px; }
  .tl2-item:nth-child(even) .tl2-media { order: 0; }
}
@media (max-width: 620px) {
  .collage { min-height: 320px; }
  .cg-a { width: 74%; }
  .cg-b { width: 52%; height: 36%; }
  .cg-c { display: none; }
  .cg-badge { bottom: 6%; }
  .pillar-media { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .cg-b, .cg-c { animation: none !important; }
}

/* ---------- 30. Home mosaic --------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: var(--s4);
}
.mos {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--tint-2); display: block;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.mos img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mos:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }
.mos:hover img { transform: scale(1.08); }
.mos::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,21,47,.05) 40%, rgba(6,21,47,.82));
  transition: opacity .35s;
}
.mos-lg { grid-column: span 2; grid-row: span 2; }
.mos-md { grid-column: span 2; }
.mos-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: var(--s5); color: var(--white);
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(6px); transition: transform .35s var(--ease);
}
.mos:hover .mos-cap { transform: none; }
.mos-cap b { font-family: var(--ff-display); font-size: 1.05rem; }
.mos-cap i {
  font-style: normal; font-size: .78rem; color: rgba(255,255,255,.78);
  opacity: 0; transition: opacity .35s;
}
.mos:hover .mos-cap i { opacity: 1; }
@media (max-width: 980px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .mos-lg { grid-column: span 2; grid-row: span 2; }
  .mos-md { grid-column: span 2; }
}
@media (max-width: 620px) {
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .mos-lg, .mos-md { grid-column: auto; grid-row: auto; }
}

/* ==========================================================================
   31. Competitive coaching
   ========================================================================== */
.coachwrap { position: relative; overflow: hidden; background: var(--tint); }
.coach-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -160px; top: -180px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,106,19,.20), transparent 68%);
  animation: drift 20s ease-in-out infinite alternate;
}

.exam {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.exam:hover { transform: translateY(-8px); box-shadow: var(--shadow-3); border-color: transparent; }

/* the featured track sits proud of the others */
.exam.is-featured {
  border-color: var(--saffron);
  box-shadow: 0 18px 44px rgba(255,106,19,.20);
}
.exam.is-featured::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; border: 2px solid var(--saffron);
}
@media (min-width: 981px) { .exam.is-featured { transform: translateY(-14px); }
  .exam.is-featured:hover { transform: translateY(-20px); } }

.exam-ribbon {
  position: absolute; right: 0; top: 18px; z-index: 5;
  background: var(--grad-brand); color: var(--white);
  font-family: var(--ff-mono); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px 6px 12px;
  border-radius: 999px 0 0 999px;
  box-shadow: 0 6px 16px rgba(255,106,19,.4);
}

.exam-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint-2); }
.exam-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.exam:hover .exam-media img { transform: scale(1.08); }
.exam-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,19,56,.08) 40%, rgba(26,19,56,.72));
}
.exam-tag {
  position: absolute; left: var(--s5); bottom: var(--s4); z-index: 3;
  font-family: var(--ff-display); font-weight: 800;
  font-size: 1.5rem; letter-spacing: -.02em; color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.exam-body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.exam-body h3 { margin-bottom: var(--s2); }
.exam-body p { font-size: .92rem; }

.exam-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: var(--s4) 0 var(--s5); }
.exam-chips li {
  font-size: .74rem; font-weight: 700; color: var(--indigo-2);
  padding: 5px 11px; border-radius: 999px;
  background: var(--tint-2);
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.exam:hover .exam-chips li { transform: translateY(-2px); }
.exam-chips li:hover { background: var(--saffron); color: var(--white); }

.exam-foot {
  margin-top: auto; padding-top: var(--s4);
  border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); flex-wrap: wrap;
}
.exam-stat b {
  display: block; font-family: var(--ff-display); font-weight: 800;
  font-size: 1.5rem; line-height: 1; color: var(--saffron-dk);
}
.exam-stat span { font-size: .74rem; color: var(--muted); max-width: 20ch; display: block; }

/* supporting strip under the three cards */
.coach-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s4); margin-top: var(--s7);
  padding: var(--s5);
  border-radius: var(--r-lg);
  background: var(--grad-deep);
  box-shadow: var(--shadow-2);
}
.cs-item { display: flex; gap: var(--s3); align-items: flex-start; }
.cs-ic {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: var(--gold);
  transition: background-color .3s, transform .35s var(--ease);
}
.coach-strip .cs-item:hover .cs-ic { background: var(--saffron); color: var(--white); transform: rotate(-8deg); }
.cs-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cs-item b { display: block; color: var(--white); font-size: .95rem; margin-bottom: 2px; }
.cs-item span { font-size: .82rem; color: rgba(255,255,255,.66); line-height: 1.5; }

@media (max-width: 980px) {
  .coach-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .coach-strip { grid-template-columns: 1fr; }
  .exam-tag { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .coach-glow { animation: none !important; } }

/* ==========================================================================
   32. School cards and reason cards — the two showcase grids
   ========================================================================== */

/* rotating conic border needs an animatable angle */
@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* ---------- 32.1 School cards ------------------------------------------- */
.schoolgrid { perspective: 1400px; }

.school {
  position: relative;
  display: block;
  min-height: 380px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--deep);
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.school:hover { box-shadow: var(--shadow-3); }

/* photo layer, desaturated until hover */
.school-media { position: absolute; inset: 0; z-index: 0; }
.school-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.55) brightness(.72);
  transform: scale(1.04);
  transition: transform 1s var(--ease), filter .55s var(--ease);
}
.school:hover .school-media img { transform: scale(1.13); filter: saturate(1.05) brightness(.86); }
.school-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,19,56,.20) 0%, rgba(26,19,56,.74) 52%, rgba(26,19,56,.95) 100%),
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,106,19,.28), transparent 62%);
  transition: opacity .45s;
}

/* rotating gradient hairline that only appears on hover */
.school::before {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--ang),
    var(--saffron), var(--gold), var(--royal-lt), var(--saffron));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.school:hover::before { opacity: 1; animation: spinAng 4s linear infinite; }
@keyframes spinAng { to { --ang: 360deg; } }

/* index numeral */
.school-num {
  position: absolute; right: var(--s5); top: var(--s4); z-index: 4;
  font-family: var(--ff-display); font-weight: 800;
  font-size: 2.6rem; line-height: 1;
  color: rgba(255,255,255,.16);
  transition: color .45s, transform .5s var(--ease);
}
.school:hover .school-num { color: rgba(251,191,36,.55); transform: translateY(-4px); }

/* content slides up, description and tags reveal on hover */
.school-inner {
  position: relative; z-index: 4;
  display: flex; flex-direction: column;
  height: 100%; min-height: 380px;
  justify-content: flex-end;
  padding: var(--s5);
  transform: translateZ(30px);
}
.school-ic {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: var(--s4);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--gold);
  backdrop-filter: blur(6px);
  transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.school:hover .school-ic { background: var(--saffron); border-color: var(--saffron); color: var(--white); transform: rotate(-8deg) scale(1.06); }
.school-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.school h3 { color: var(--white); margin-bottom: var(--s2); font-size: 1.22rem; }
.school p {
  color: rgba(255,255,255,.74); font-size: .9rem; margin: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s, margin .5s var(--ease);
}
.school:hover p, .school:focus-visible p { max-height: 120px; opacity: 1; margin-bottom: var(--s4); }

.school-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s3); }
.school-tags li {
  font-size: .7rem; font-weight: 700; color: var(--white);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s;
}
.school:hover .school-tags li { opacity: 1; transform: none; }
.school:hover .school-tags li:nth-child(2) { transition-delay: .06s; }
.school:hover .school-tags li:nth-child(3) { transition-delay: .12s; }

.school-go {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 800; color: var(--gold);
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s .08s var(--ease), transform .45s .08s var(--ease);
}
.school-go i {
  width: 18px; height: 1.5px; background: currentColor; display: block; position: relative;
  transition: width .35s var(--ease);
}
.school-go i::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.school:hover .school-go { opacity: 1; transform: none; }
.school:hover .school-go i { width: 30px; }

/* cursor glare, positioned by JS */
.school-glare {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.16), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.school:hover .school-glare { opacity: 1; }

/* ---------- 32.2 Reason cards ------------------------------------------- */
.whygrid { perspective: 1200px; }

.why {
  position: relative;
  padding: var(--s6) var(--s5) var(--s5);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.why::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255,106,19,.10), transparent 62%);
  opacity: 0; transition: opacity .4s;
}
.why:hover { transform: translateY(-8px); box-shadow: var(--shadow-3); border-color: transparent; }
.why:hover::before { opacity: 1; }

.why-num {
  position: absolute; right: 14px; top: 2px;
  font-family: var(--ff-display); font-weight: 800;
  font-size: 4.2rem; line-height: 1;
  color: var(--tint-2);
  transition: color .45s, transform .55s var(--ease);
  pointer-events: none;
}
.why:hover .why-num { color: rgba(255,106,19,.16); transform: translateY(-6px); }

.why-ic {
  position: relative; z-index: 2;
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: var(--s4);
  background: var(--grad-brand); color: var(--white);
  box-shadow: 0 10px 22px rgba(255,106,19,.28);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.why:hover .why-ic { transform: translateY(-3px) rotate(-7deg) scale(1.05); box-shadow: 0 16px 30px rgba(255,106,19,.38); }
.why-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* icons draw themselves when the card scrolls in */
.why-ic svg path, .why-ic svg circle, .why-ic svg rect, .why-ic svg line, .why-ic svg polygon {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
}
.why.is-in .why-ic svg path,
.why.is-in .why-ic svg circle,
.why.is-in .why-ic svg rect,
.why.is-in .why-ic svg line,
.why.is-in .why-ic svg polygon {
  animation: drawIcon 1s var(--ease) .25s forwards;
}
@keyframes drawIcon { to { stroke-dashoffset: 0; } }

.why h3 { position: relative; z-index: 2; font-size: 1.1rem; margin-bottom: var(--s2); }
.why p { position: relative; z-index: 2; font-size: .91rem; margin: 0; }

.why-foot {
  position: relative; z-index: 2;
  margin-top: auto; padding-top: var(--s5);
  display: flex; align-items: baseline; gap: var(--s2);
}
.why-foot b {
  font-family: var(--ff-display); font-weight: 800;
  font-size: 1.25rem; color: var(--saffron-dk);
}
.why-foot span { font-size: .78rem; color: var(--muted); }

.why-rule {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .55s var(--ease);
}
.why:hover .why-rule { transform: scaleX(1); }

/* ---------- 32.3 Responsive and motion ---------------------------------- */
@media (max-width: 980px) {
  .school { min-height: 320px; }
  .school-inner { min-height: 320px; }
  .school p { max-height: 120px; opacity: 1; margin-bottom: var(--s4); }
  .school-tags li, .school-go { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .school, .school-media img, .school-num, .school-ic, .why, .why-num, .why-ic {
    transition: none !important;
  }
  .school:hover::before { animation: none; }
  .why-ic svg * { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; animation: none !important; }
  .school p, .school-tags li, .school-go { max-height: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   33. Floating photo bubbles — campus life
   ========================================================================== */
.bubbles { position: relative; overflow: hidden; background: var(--tint); }
.bub-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.bub-glow.g1 {
  width: 520px; height: 520px; left: -160px; top: 40px;
  background: radial-gradient(circle, rgba(255,106,19,.16), transparent 68%);
  animation: drift 20s ease-in-out infinite alternate;
}
.bub-glow.g2 {
  width: 460px; height: 460px; right: -140px; bottom: -60px;
  background: radial-gradient(circle, rgba(79,70,229,.16), transparent 68%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}

.bub-field {
  position: relative;
  width: min(100% - 40px, 1440px);
  margin-inline: auto;
  height: 560px;
  margin: var(--s5) auto var(--s7);
  /* the whole field drifts a little with the pointer, set by JS */
  --px: 0; --py: 0;
}

.bub {
  position: absolute;
  left: var(--l); top: var(--t);
  width: var(--sz); height: var(--sz);
  margin: 0;
  border-radius: 50%;
  overflow: visible;
  /* depth parallax + own bobbing cycle */
  transform: translate(-50%, -50%)
             translate(calc(var(--px) * var(--d) * 1px), calc(var(--py) * var(--d) * 1px));
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  z-index: 2;
}
.bub img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--tint-2);
  border: 4px solid var(--white);
  box-shadow: 0 14px 34px rgba(36,28,51,.18);
  animation: bob var(--dur, 8s) ease-in-out var(--dly, 0s) infinite;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-16px) scale(1.015); }
}

/* rotating gradient ring, revealed on hover */
.bub::before {
  content: "";
  position: absolute; inset: -9px;
  border-radius: 50%;
  background: conic-gradient(from var(--ang), var(--saffron), var(--gold), var(--royal-lt), var(--saffron));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.bub:hover::before { opacity: 1; animation: spinAng 3.5s linear infinite; }

.bub:hover { z-index: 9; }
.bub:hover img {
  transform: scale(1.16);
  box-shadow: 0 26px 54px rgba(36,28,51,.30);
  border-color: var(--white);
  animation-play-state: paused;
}

.bub figcaption {
  position: absolute;
  left: 50%; bottom: -34px;
  transform: translateX(-50%) translateY(6px);
  white-space: nowrap;
  background: var(--indigo);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 99px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
  box-shadow: var(--shadow-2);
}
.bub figcaption::before {
  content: "";
  position: absolute; left: 50%; top: -4px;
  width: 9px; height: 9px; margin-left: -4.5px;
  background: var(--indigo); transform: rotate(45deg);
}
.bub:hover figcaption { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- mobile: the free-floating field becomes a tidy circle grid --- */
@media (max-width: 1300px) { .bub { width: calc(var(--sz) * .86); height: calc(var(--sz) * .86); } }
@media (max-width: 1100px) { .bub { width: calc(var(--sz) * .74); height: calc(var(--sz) * .74); } }

@media (max-width: 900px) {
  .bub-field {
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s4);
    place-items: center;
    padding-bottom: var(--s6);
  }
  .bub {
    position: static;
    width: 100%; height: auto;
    aspect-ratio: 1 / 1;
    transform: none;
  }
  .bub figcaption { display: none; }
  .bub:nth-child(n+13) { display: none; }
}
@media (max-width: 560px) {
  .bub-field { grid-template-columns: repeat(3, 1fr); }
  .bub:nth-child(n+10) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bub img { animation: none !important; }
  .bub, .bub-glow.g1, .bub-glow.g2 { animation: none !important; transition: none !important; }
  .bub:hover::before { animation: none; }
}

/* ==========================================================================
   34. Animated page banners
   ========================================================================== */
.pagehead { position: relative; overflow: hidden; background: var(--deep); isolation: isolate; }

/* photo layer, slow continuous Ken Burns */
.pagehead-media { position: absolute; inset: -6% -4%; z-index: 0; }
.pagehead-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: phZoom 26s ease-in-out infinite alternate;
}
@keyframes phZoom {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.pagehead-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(26,19,56,.95) 0%, rgba(26,19,56,.82) 46%, rgba(43,34,102,.55) 100%),
    linear-gradient(0deg, rgba(26,19,56,.75), transparent 46%);
}

/* drifting colour mesh */
.ph-mesh { position: absolute; border-radius: 50%; z-index: 1; pointer-events: none; filter: blur(4px); }
.ph-mesh.m1 {
  width: 520px; height: 520px; right: -120px; top: -190px;
  background: radial-gradient(circle, rgba(255,106,19,.42), transparent 66%);
  animation: phDrift 17s ease-in-out infinite alternate;
}
.ph-mesh.m2 {
  width: 430px; height: 430px; left: -150px; bottom: -210px;
  background: radial-gradient(circle, rgba(79,70,229,.46), transparent 66%);
  animation: phDrift 23s ease-in-out infinite alternate-reverse;
}
@keyframes phDrift { to { transform: translate(70px, 44px) scale(1.22); } }

/* thin decorative arc that slowly rotates */
.ph-arc {
  position: absolute; z-index: 1; pointer-events: none;
  width: 560px; height: 560px; right: -140px; top: 50%;
  margin-top: -280px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.13);
  border-top-color: rgba(251,191,36,.5);
  border-right-color: rgba(255,106,19,.35);
  animation: phSpin 34s linear infinite;
}
@keyframes phSpin { to { transform: rotate(360deg); } }

/* floating motes */
.ph-motes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ph-motes i {
  position: absolute;
  left: calc(var(--x) );
  bottom: -20px;
  width: var(--s, 6px); height: var(--s, 6px);
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  box-shadow: 0 0 10px rgba(251,191,36,.55);
  animation: phRise var(--dr, 16s) linear var(--dl, 0s) infinite;
  opacity: 0;
}
@keyframes phRise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  12%  { opacity: .75; }
  85%  { opacity: .5; }
  100% { transform: translateY(-420px) translateX(28px); opacity: 0; }
}

.pagehead-inner { position: relative; z-index: 3; padding-block: clamp(56px, 7vw, 104px); }
.pagehead h1 { color: var(--white); margin-bottom: var(--s3); }
.pagehead p { color: rgba(255,255,255,.8); max-width: 58ch; margin: 0; }

.ph-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.ph-chips li {
  font-size: .78rem; font-weight: 700; color: #fff;
  padding: 7px 15px; border-radius: 99px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  transition: background-color .3s, transform .3s var(--ease);
}
.ph-chips li:hover { background: var(--saffron); border-color: var(--saffron); transform: translateY(-2px); }

/* floating stat card, right side */
.ph-side {
  position: absolute; right: max(20px, calc((100% - 1240px) / 2)); top: 50%;
  transform: translateY(-50%); z-index: 4;
  display: grid; gap: 2px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r); padding: var(--s4) var(--s5);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-3);
}
.ph-side div { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.ph-side div:last-child { border-bottom: 0; }
.ph-side b {
  display: block; font-family: var(--ff-display); font-weight: 800;
  font-size: 1.4rem; line-height: 1.05; color: var(--gold);
}
.ph-side span { font-size: .76rem; color: rgba(255,255,255,.66); }

/* soft wave joining the banner to the page */
.ph-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 3;
  background: var(--white);
  -webkit-mask: radial-gradient(120% 100% at 50% 100%, #000 60%, transparent 61%);
  mask: radial-gradient(120% 100% at 50% 100%, #000 60%, transparent 61%);
}
.pagehead + .section.bg-tint + *, .pagehead + .section.bg-tint { }

@media (max-width: 1180px) { .ph-side { display: none; } }
@media (max-width: 620px) { .ph-arc { display: none; } .ph-chips li { font-size: .72rem; padding: 6px 12px; } }
@media (prefers-reduced-motion: reduce) {
  .pagehead-media img, .ph-mesh, .ph-arc, .ph-motes i { animation: none !important; }
  .ph-motes { display: none; }
}

/* ==========================================================================
   35. Recruiter tiles
   ========================================================================== */
.recwrap { background: var(--tint); }
.recgrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s3);
}
.rec {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.rec:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: transparent; }
.rec-mark {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--c, var(--indigo)); color: #fff;
  font-family: var(--ff-display); font-weight: 800; font-size: .92rem;
  letter-spacing: -.02em;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--c, #333) 34%, transparent);
  transition: transform .35s var(--ease);
}
.rec:hover .rec-mark { transform: rotate(-7deg) scale(1.07); }
.rec-txt { min-width: 0; }
.rec-txt b { display: block; font-size: .88rem; color: var(--ink); line-height: 1.2; }
.rec-txt span { font-size: .72rem; color: var(--muted); }
.rec-sheen {
  position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-18deg); transition: left .8s var(--ease); pointer-events: none;
}
.rec:hover .rec-sheen { left: 130%; }

.rec-note {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4);
  margin-top: var(--s6); padding: var(--s5);
  border-radius: var(--r-lg); background: var(--grad-deep);
}
.rec-note div { text-align: center; }
.rec-note b {
  display: block; font-family: var(--ff-display); font-weight: 800;
  font-size: 1.6rem; color: var(--gold); line-height: 1;
}
.rec-note span { font-size: .8rem; color: rgba(255,255,255,.68); }

@media (max-width: 1100px) { .recgrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 780px)  { .recgrid { grid-template-columns: repeat(2, 1fr); } .rec-note { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .recgrid { grid-template-columns: 1fr; } }
