:root {
  --ink: #17202a;
  --muted: #617083;
  --line: #dfe6ee;
  --paper: #f7fafc;
  --white: #ffffff;
  --green: #176b5d;
  --green-dark: #0d3f39;
  --gold: #d69d2f;
  --blue: #2459a6;
  --coral: #c85f46;
  --shadow: 0 24px 70px rgba(23, 32, 42, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1,
h2,
h3,
.brand strong {
  font-family: Sora, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 230, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.93rem;
  font-weight: 600;
}

.site-nav a {
  color: #263746;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.btn.primary,
.btn.compact {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 26px rgba(23, 107, 93, 0.22);
}

.header-cta {
  color: #d10000;
  background: #ffe84d;
  box-shadow: 0 10px 26px rgba(214, 157, 47, 0.3);
  animation: admissionOpenBlink 0.8s steps(2, end) infinite;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: #123c52;
  background: #8ed8ff;
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.btn.compact {
  min-height: 42px;
  padding: 0 16px;
}

@keyframes admissionOpenBlink {
  0%,
  100% {
    color: #d10000;
  }

  50% {
    color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-cta {
    animation: none;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  padding: clamp(48px, 8vw, 84px) clamp(18px, 5vw, 72px) 24px;
  overflow: hidden;
}

.useful-links {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1.66fr);
  gap: 18px;
  align-items: center;
  padding: 20px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.useful-links .eyebrow {
  margin-bottom: 6px;
}

.useful-links h2 {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.2;
}

.useful-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.useful-link-grid a {
  display: grid;
  gap: 1px;
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.useful-link-grid a:hover,
.useful-link-grid a:focus-visible {
  border-color: rgba(23, 107, 93, 0.42);
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.09);
  transform: translateY(-2px);
}

.useful-link-grid a:focus-visible {
  outline: 3px solid rgba(214, 157, 47, 0.72);
  outline-offset: 3px;
}

.useful-link-grid span {
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
}

.useful-link-grid small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(135deg, rgba(23, 107, 93, 0.92), rgba(36, 89, 166, 0.78)),
    radial-gradient(circle at 78% 22%, rgba(214, 157, 47, 0.45), transparent 34%);
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-media img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 32, 30, 0.86), rgba(9, 32, 30, 0.58) 42%, rgba(9, 32, 30, 0.2)),
    linear-gradient(0deg, rgba(9, 32, 30, 0.76), rgba(9, 32, 30, 0.04) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
font-size: clamp(2.7rem, 6vw, 5.2rem);
line-height: 0.98;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin-top: 28px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-panel strong,
.metric-row strong {
  display: block;
  color: var(--green);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.hero-panel span,
.metric-row span {
  color: var(--muted);
  font-weight: 700;
}

.notice-band,
.about-section,
.split-section,
.programmes,
.placements,
.principal-corner,
.alumni-section,
.life-section,
.news-section,
.site-footer {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.notice-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 28px;
  background: var(--green-dark);
  color: var(--white);
}

.notice-band h2,
.section-heading h2,
.section-copy h2,
.site-footer h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.notice-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.admission-contacts {
  display: grid;
  gap: 8px;
}

.admission-contacts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.admission-contacts span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #12231f;
  background: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 86px);
  background: var(--white);
}

.about-section {
  background: var(--white);
}

.about-heading {
  max-width: 900px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.15fr) minmax(220px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.legacy-card,
.about-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legacy-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.08);
}

.legacy-card.accent {
  background: #f8fbf4;
}

.legacy-card img {
  width: min(180px, 72%);
  height: 220px;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
}

.legacy-card blockquote {
  margin: 0;
  color: var(--green-dark);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.45;
}

.legacy-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 44px);
  background: #f7fafc;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-facts span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #e7f3ef;
  font-size: 0.82rem;
  font-weight: 900;
}

.principal-corner {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13, 63, 57, 0.96), rgba(36, 89, 166, 0.86)),
    #123c52;
}

.principal-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 18%;
}

.principal-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 70% 20%, rgba(214, 157, 47, 0.35), transparent 36%);
}

.principal-media span {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--gold);
  font-family: Sora, Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
}

.principal-message {
  max-width: 760px;
}

.principal-message .eyebrow,
.principal-message h2 {
  color: var(--white);
}

.principal-message h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.principal-message p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.principal-message p + p {
  margin-top: 16px;
}

.principal-signature {
  display: inline-flex;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 2px solid var(--gold);
  font-weight: 900;
}

.admin-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.07);
}

.admin-card > span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-card h3 {
  margin: 10px 0 10px;
  line-height: 1.15;
}

.admin-card p {
  margin: 0;
  color: var(--muted);
}

.admin-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--green-dark);
  font-weight: 900;
}

.admin-intro {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13, 63, 57, 0.98), rgba(36, 89, 166, 0.88)),
    var(--green-dark);
}

.admin-intro > span,
.admin-intro p,
.admin-intro a {
  color: rgba(255, 255, 255, 0.82);
}

.admin-intro h3 {
  color: var(--white);
}

.subpage {
  min-height: calc(100vh - 76px);
  background: var(--paper);
}

.subpage-hero {
  padding: clamp(64px, 10vw, 118px) var(--section-x) clamp(38px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13, 63, 57, 0.96), rgba(36, 89, 166, 0.86)),
    var(--green-dark);
}

.subpage-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.subpage-grid,
.subpage-panel {
  margin: 0 var(--section-x);
}

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: var(--section-y) 0 0;
}

.subpage-card,
.subpage-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.07);
}

.subpage-card {
  padding: clamp(18px, 2.5vw, 26px);
}

.subpage-card span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.subpage-card h2,
.subpage-panel h2 {
  margin: 10px 0;
  line-height: 1.1;
}

.subpage-card p {
  margin: 0;
  color: var(--muted);
}

.subpage-panel {
  margin-top: 16px;
  margin-bottom: var(--section-y);
  padding: clamp(20px, 3vw, 30px);
}

.subpage-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.subpage-list-grid span {
  padding: 12px 14px;
  border: 1px solid rgba(23, 107, 93, 0.14);
  border-radius: 8px;
  color: var(--green-dark);
  background: #f7fafc;
  font-weight: 800;
}

.document-link-grid,
.admin-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.document-link-grid a,
.document-link-list a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 107, 93, 0.16);
  border-radius: 8px;
  color: var(--green-dark);
  background: #f7fafc;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.document-link-grid a:hover,
.document-link-grid a:focus-visible,
.document-link-list a:hover,
.document-link-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(230, 74, 46, 0.35);
  box-shadow: 0 14px 28px rgba(23, 32, 42, 0.08);
}

.document-link-grid span,
.document-link-list span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-page-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: var(--section-y) var(--section-x) 0;
  align-items: stretch;
}

.admin-page-summary .admin-card {
  justify-content: flex-start;
}

.admin-page-summary .admin-card h2 {
  margin: 10px 0 14px;
  color: var(--white);
  line-height: 1.12;
}

.admin-resources {
  padding: 0 var(--section-x) var(--section-y);
}

.resource-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.07);
}

.resource-panel > div:first-child span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-panel h3 {
  margin: 8px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.document-link-list {
  display: grid;
  gap: 10px;
}

.subpage-hero-actions,
.alumni-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.alumni-connect-hero {
  min-height: auto;
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(32px, 5vw, 54px);
  background:
    linear-gradient(120deg, rgba(13, 63, 57, 0.96), rgba(36, 89, 166, 0.78)),
    url("images/alumini/alumni-baban-dathwade.jpg") center / cover;
}

.alumni-connect-hero h1 {
  font-size: clamp(2.35rem, 4.5vw, 3.8rem);
}

.alumni-connect-hero h1,
.alumni-connect-hero p {
  color: var(--white);
}

.alumni-connect-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 12px;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

.alumni-connect-hero .eyebrow {
  color: var(--gold);
}

.alumni-connect-hero .subpage-hero-actions {
  margin-top: 16px;
}

.alumni-form-section,
.alumni-connect-section {
  padding: 24px var(--section-x) 0;
}

.alumni-connect-section:last-child {
  padding-bottom: var(--section-y);
}

.alumni-contact-grid article {
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.07);
}

.alumni-contact-grid span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.alumni-connect-actions,
.alumni-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.alumni-connect-actions a {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(23, 107, 93, 0.16);
  border-radius: 8px;
  color: var(--green-dark);
  background: #f7fafc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alumni-connect-actions a:hover,
.alumni-connect-actions a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 32, 42, 0.08);
}

.alumni-connect-actions span {
  color: var(--muted);
  font-weight: 700;
}

.alumni-google-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.07);
}

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

.alumni-google-form label {
  display: grid;
  gap: 7px;
}

.alumni-google-form label span {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.alumni-google-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(23, 107, 93, 0.18);
  border-radius: 8px;
  background: #f7fafc;
  color: var(--ink);
  font: inherit;
}

.alumni-google-form input:focus {
  outline: 3px solid rgba(214, 157, 47, 0.45);
  border-color: var(--green-dark);
  background: var(--white);
}

.form-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.form-note p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.alumni-contact-grid article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.alumni-contact-grid img {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  object-fit: cover;
}

.alumni-contact-grid h3 {
  margin: 8px 0;
  font-size: 1.05rem;
}

.alumni-contact-grid a {
  color: var(--green-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.governance-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 24px var(--section-x) var(--section-y);
}

.committee-nav {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.07);
}

.committee-nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.committee-nav a:hover,
.committee-nav a:focus-visible {
  color: var(--green-dark);
  background: #e7f3ef;
}

.committee-directory {
  min-width: 0;
}

.committee-card {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(23, 32, 42, 0.06);
}

.committee-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--green-dark);
  font-family: Sora, Arial, sans-serif;
  font-weight: 800;
}

.committee-card summary::-webkit-details-marker {
  display: none;
}

.committee-card summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--green-dark);
  background: #e7f3ef;
}

.committee-card[open] summary::after {
  content: "-";
}

.committee-card small {
  margin-left: auto;
  color: var(--coral);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.committee-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  padding: 0 20px 20px;
}

.committee-members.compact {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.committee-members p,
.committee-mini-grid article {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(23, 107, 93, 0.14);
  border-radius: 8px;
  background: #f7fafc;
}

.committee-members strong,
.committee-members span {
  display: block;
}

.committee-members strong {
  color: var(--ink);
  line-height: 1.25;
}

.committee-members span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.committee-group {
  margin-top: 24px;
}

.committee-group h2 {
  margin: 0 0 16px;
}

.committee-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.committee-mini-grid h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.committee-mini-grid p {
  color: var(--muted);
}

.section-copy p,
.quote-block p,
.life-card li,
.news-grid p {
  color: var(--muted);
}

.section-copy p {
  max-width: 750px;
}

.quote-block {
  align-self: start;
  padding: clamp(24px, 4vw, 40px);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: #eef6f2;
}

.quote-block p {
  margin: 0 0 22px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
}

.quote-block span {
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.program-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card,
.news-grid article,
.life-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.program-card {
  display: block;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card:hover,
.program-card:focus-visible {
  border-color: rgba(23, 107, 93, 0.42);
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.1);
  transform: translateY(-3px);
}

.program-card:focus-visible,
.programme-close:focus-visible {
  outline: 3px solid rgba(214, 157, 47, 0.72);
  outline-offset: 3px;
}

.program-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.program-card:nth-child(2n) span {
  background: var(--green);
}

.program-card:nth-child(3n) span {
  background: var(--coral);
}

.program-grid h3,
.life-card h3,
.news-grid h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.program-grid p,
.life-card ul,
.news-grid p {
  margin: 0;
}

.programme-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.programme-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.programme-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 24, 29, 0.68);
  backdrop-filter: blur(8px);
}

.programme-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.98);
  transition: transform 180ms ease;
}

.programme-modal.is-open .programme-dialog {
  transform: translateY(0) scale(1);
}

.programme-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.programme-close span {
  position: absolute;
  top: 19px;
  left: 10px;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.programme-close span:first-child {
  transform: rotate(45deg);
}

.programme-close span:last-child {
  transform: rotate(-45deg);
}

.programme-dialog__label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.branch-page .subpage-hero {
  display: grid;
  gap: 12px;
  min-height: auto;
  padding-top: clamp(30px, 5vw, 52px);
  padding-bottom: clamp(28px, 5vw, 50px);
}

.branch-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.branch-hero-grid > * {
  min-width: 0;
}

.branch-compact-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
  line-height: 1.03;
}

.branch-compact-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 10px;
  font-size: clamp(0.94rem, 1.25vw, 1.04rem);
  line-height: 1.55;
}

.branch-back-link {
  width: fit-content;
  color: var(--gold);
  font-weight: 900;
}

.branch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}

.branch-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 900;
}

.branch-layout {
  display: grid;
  gap: 22px;
  padding: 24px var(--section-x) var(--section-y);
}

.branch-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.07);
}

.branch-panel h2 {
  margin: 0 0 16px;
}

.branch-vision-mission {
  padding: clamp(18px, 2.4vw, 24px);
}

.branch-vision-mission h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.2;
}

.branch-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.branch-vision-grid article {
  padding: 14px;
  border: 1px solid rgba(23, 107, 93, 0.14);
  border-radius: 8px;
  background: #f7fafc;
}

.branch-vision-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.branch-vision-grid p,
.branch-vision-grid li {
  margin: 0;
  color: #4b5f66;
  font-size: clamp(0.86rem, 1.1vw, 0.94rem);
  font-weight: 500;
  line-height: 1.55;
}

.branch-vision-grid p {
  white-space: pre-line;
}

.branch-vision-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.branch-vision-grid li::marker {
  color: var(--teal);
  font-size: 0.82em;
}

.branch-section-nav {
  position: sticky;
  top: 74px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(23, 107, 93, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.branch-section-nav a {
  flex: 1 1 150px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 107, 93, 0.14);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  background: #f7fafc;
}

.branch-section-nav a:hover,
.branch-section-nav a:focus-visible {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.branch-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.branch-section-heading span {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.branch-section-heading h2 {
  margin: 0;
}

.branch-section-heading p,
.branch-section-copy {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.branch-people-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
}

.branch-staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.branch-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.branch-lab-grid article {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 320px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(23, 107, 93, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(23, 107, 93, 0.1), rgba(242, 135, 5, 0.12)), #f7fafc;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.branch-lab-grid article::after {
  position: absolute;
  top: 16px;
  right: 16px;
  content: "";
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 107, 93, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.branch-lab-grid article::before {
  position: absolute;
  top: 23px;
  right: 27px;
  z-index: 1;
  content: attr(data-lab);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
}

.branch-lab-grid strong {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.1rem;
  font-weight: 800;
}

.branch-lab-grid small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.branch-lab-grid article:hover {
  border-color: rgba(23, 107, 93, 0.34);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.branch-lab-grid article.has-photo {
  border: 0;
  color: var(--white);
  background: #142024;
}

.branch-lab-grid article.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-lab-grid article.has-photo::after {
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(8, 22, 21, 0.08), rgba(8, 22, 21, 0.78));
}

.branch-lab-grid article.has-photo::before {
  color: var(--white);
  background: rgba(20, 32, 36, 0.62);
}

.branch-lab-grid article.has-photo strong,
.branch-lab-grid article.has-photo small {
  color: var(--white);
}

.branch-webinar-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.branch-webinar-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.branch-webinar-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 107, 93, 0.16);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #f7fafc;
}

.branch-webinar-form input:focus {
  outline: 2px solid rgba(23, 107, 93, 0.26);
  border-color: var(--teal);
  background: var(--white);
}

.branch-achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.branch-achievement-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.programme-dialog h2 {
  max-width: 640px;
  margin: 18px 52px 14px 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.06;
}

.programme-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.programme-dialog__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.programme-dialog__meta span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #e7f3ef;
  font-size: 0.82rem;
  font-weight: 900;
}

.programme-dialog__focus {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
}

.programme-dialog__focus h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.programme-dialog__focus ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.programme-people {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.programme-person {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px dashed rgba(97, 112, 131, 0.38);
  border-radius: 8px;
  background: #fffaf0;
}

.programme-hod {
  border-style: solid;
  border-color: rgba(214, 157, 47, 0.42);
}

.programme-photo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px dashed rgba(23, 107, 93, 0.46);
  border-radius: 8px;
  color: var(--green-dark);
  background: #edf7f3;
}

.programme-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.programme-photo-frame span {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.programme-photo-frame.small {
  width: 104px;
}

.programme-person span {
  display: block;
  margin-bottom: 4px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.programme-person .programme-photo-frame span {
  display: grid;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.78rem;
}

.programme-person h3,
.programme-person h4,
.programme-staff h3 {
  margin: 0;
  line-height: 1.2;
}

.programme-person h4 {
  font-family: Sora, Arial, sans-serif;
  font-size: 0.98rem;
}

.programme-person p {
  margin-top: 6px;
  font-size: 0.92rem;
}

.programme-staff {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
}

.programme-staff > h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.programme-staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.programme-staff-grid .programme-person {
  grid-template-columns: 104px minmax(0, 1fr);
  padding: 14px;
  background: var(--white);
}

.programme-achievements {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf4;
}

.programme-achievements > h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.programme-achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.programme-achievement-grid article {
  padding: 16px;
  border: 1px solid rgba(23, 107, 93, 0.16);
  border-radius: 8px;
  background: var(--white);
}

.programme-achievement-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.programme-achievement-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 0;
  color: var(--muted);
  font-size: 0.92rem;
  list-style: none;
}

.achievement-item {
  padding: 10px 12px;
  border: 1px solid rgba(23, 107, 93, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.achievement-item.structured {
  display: grid;
  gap: 5px;
}

.achievement-item strong,
.achievement-item span,
.achievement-item p {
  display: block;
}

.achievement-item strong {
  color: var(--green-dark);
  line-height: 1.25;
}

.achievement-item span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.achievement-item p {
  margin: 0;
  color: var(--muted);
}

.achievement-item.muted {
  color: var(--muted);
  font-style: italic;
}

.achievement-faculty-group {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(23, 107, 93, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.achievement-faculty-group h4 {
  margin: 0;
  color: var(--green-dark);
  font-size: 1rem;
  line-height: 1.25;
}

.achievement-faculty-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.achievement-faculty-group li {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: #f7fafc;
}

.achievement-faculty-group strong,
.achievement-faculty-group span,
.achievement-faculty-group p {
  display: block;
}

.achievement-faculty-group strong {
  color: var(--ink);
  line-height: 1.25;
}

.achievement-faculty-group span {
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.achievement-faculty-group p {
  margin: 0;
  color: var(--muted);
}

body.has-modal {
  overflow: hidden;
}

.placements {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13, 63, 57, 0.96), rgba(36, 89, 166, 0.9)),
    #123c52;
}

.placements .eyebrow,
.placements .section-heading h2 {
  color: var(--white);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.metric-row div {
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-row strong,
.metric-row span {
  color: var(--white);
}

.company-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.company-strip span {
  color: inherit;
}

.company-logo {
  display: inline-grid;
  place-items: center;
  min-width: 126px;
  height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.company-logo.wide {
  min-width: 156px;
}

.company-logo img {
  width: 100%;
  max-width: 108px;
  max-height: 30px;
  object-fit: contain;
}

.company-logo.wide img {
  max-width: 132px;
}

.company-logo .logo-fallback {
  display: none;
  color: var(--green-dark);
  font-weight: 900;
}

.company-logo.logo-failed .logo-fallback {
  display: inline;
}

.alumni-section {
  padding-top: clamp(30px, 4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 50px);
  background: #f4f8f6;
}

.alumni-section .section-heading h2 {
  max-width: none;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  white-space: nowrap;
}

.alumni-heading p:not(.eyebrow) {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
}

.alumni-carousel {
  position: relative;
  width: min(100%, 1080px);
  min-height: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.alumni-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(192px, 0.62fr) minmax(320px, 1fr);
  align-items: stretch;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 480ms ease, transform 480ms ease;
  pointer-events: none;
}

.alumni-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.alumni-slide img {
  width: 100%;
  height: 100%;
  min-height: 272px;
  object-fit: cover;
  /*object-position: top center;*/
  object-position: center 18%;
}

.alumni-slide div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 44px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13, 63, 57, 0.96), rgba(36, 89, 166, 0.84)),
    var(--green-dark);
}

.alumni-slide span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.alumni-slide h3 {
  max-width: 560px;
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.alumni-slide p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

.alumni-controls {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 9px;
}

.alumni-controls button {
  width: 28px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.alumni-controls button.is-active {
  background: var(--gold);
}

.life-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.life-carousel {
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.life-carousel__viewport {
  height: 390px;
  background:
    linear-gradient(135deg, rgba(13, 63, 57, 0.22), rgba(36, 89, 166, 0.18)),
    #d7e7df;
}

.life-carousel__viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-carousel__caption,
.life-carousel__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

.life-carousel__caption {
  justify-content: space-between;
  color: var(--white);
}

.life-carousel__caption span {
  color: var(--gold);
  font-weight: 900;
  white-space: nowrap;
}

.life-carousel__caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-align: right;
}

.life-carousel__controls {
  justify-content: center;
  padding-top: 0;
}

.life-carousel__controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.life-carousel__controls button:focus-visible {
  outline: 3px solid rgba(214, 157, 47, 0.72);
  outline-offset: 3px;
}

.life-carousel__controls button span {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

#life-carousel-prev span {
  transform: rotate(-45deg) translate(1px, 1px);
}

#life-carousel-next span {
  transform: rotate(135deg) translate(1px, 1px);
}

.life-carousel__dots {
  display: flex;
  gap: 8px;
}

.life-carousel__dots button {
  width: 28px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.life-carousel__dots button.is-active {
  background: var(--gold);
}

.life-card {
  background: #fff7e7;
}

.facility-tabs {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.facility-tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.facility-tab-list button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 107, 93, 0.16);
  border-radius: 8px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.facility-tab-list button:hover,
.facility-tab-list button:focus-visible,
.facility-tab-list button.is-active {
  color: var(--white);
  background: var(--green-dark);
}

.facility-tab-list button:focus-visible {
  outline: 3px solid rgba(214, 157, 47, 0.72);
  outline-offset: 2px;
}

.facility-panel {
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(23, 107, 93, 0.14);
  border-radius: 8px;
  background: var(--white);
}

.facility-panel span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.facility-panel h4 {
  margin: 10px 0;
  color: var(--green-dark);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.facility-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.facility-panel p + p {
  margin-top: 10px;
}

.news-section {
  background: var(--white);
}

.news-grid time {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 28px;
  color: var(--white);
  background: #142024;
}

.site-footer p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer address {
  display: grid;
  gap: 10px;
  font-style: normal;
  font-weight: 700;
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 1460px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .brand {
    min-width: auto;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 10px;
  }

  .site-nav.is-open a {
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .notice-band,
  .useful-links,
  .subpage-grid,
  .admin-page-summary,
  .alumni-connect-actions,
  .alumni-contact-grid,
  .governance-layout,
  .about-layout,
  .split-section,
  .principal-corner,
  .program-grid,
  .metric-row,
  .alumni-slide,
  .life-grid,
  .news-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .alumni-carousel {
    min-height: 280px;
  }

  .alumni-slide img {
    min-height: 176px;
    height: 176px;
  }

  .life-carousel {
    min-height: auto;
  }

  .life-carousel__viewport {
    height: 320px;
  }

  .branch-lab-grid,
  .branch-webinar-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .hero {
    min-height: calc(100vh - 78px);
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.35rem);
  }

  .hero-panel {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

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

  .notice-band,
  .useful-links,
  .about-section,
  .split-section,
  .programmes,
  .placements,
  .principal-corner,
  .alumni-section,
  .life-section,
  .news-section,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legacy-card img {
    height: 190px;
  }

  .principal-media {
    min-height: 220px;
  }

  .principal-media img {
    height: 300px;
  }

  .alumni-carousel {
    min-height: 344px;
  }

  .alumni-section .section-heading h2 {
    white-space: normal;
  }

  .alumni-slide div {
    padding: 18px 18px 50px;
  }

  .alumni-controls {
    right: auto;
    left: 22px;
  }

  .life-carousel__caption {
    display: grid;
    gap: 4px;
  }

  .life-carousel__caption p {
    text-align: left;
  }

  .facility-tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .programme-person,
  .subpage-grid,
  .admin-page-summary,
  .alumni-connect-actions,
  .alumni-contact-grid,
  .form-grid,
  .governance-layout,
  .branch-hero-grid,
  .branch-people-grid,
  .branch-achievement-grid,
  .branch-vision-grid,
  .branch-lab-grid,
  .branch-webinar-form,
  .programme-staff-grid,
  .programme-staff-grid .programme-person,
  .programme-achievement-grid {
    grid-template-columns: 1fr;
  }

  .branch-section-nav {
    position: static;
  }

  .branch-section-heading {
    display: grid;
  }

  .committee-nav {
    position: static;
    max-height: none;
  }

  .committee-card summary {
    align-items: flex-start;
  }
}
