/* ============================================================
   Shri Jain Teachers' Training College — Design Tokens & Base
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color */
  --color-maroon-900: #5C1620;
  --color-maroon-700: #7A2430;
  --color-gold-500: #B8902F;
  --color-cream-50: #FBF7F0;
  --color-sandstone-100: #F1E9DC;
  --color-ink-900: #231F1C;
  --color-ink-600: #5B5450;
  --color-teal-700: #2F6B5E;
  --color-amber-600: #A6661A;
  --color-white: #FFFFFF;
  --color-border: #E4D9C7;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-section: clamp(3rem, 6vw, 6rem);
  --space-card-gap: 1.5rem;
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* Shape */
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(92, 22, 32, 0.06);
  --shadow-card-hover: 0 14px 32px rgba(92, 22, 32, 0.12);

  --header-h: 76px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink-900);
  background: var(--color-cream-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--color-maroon-900);
}
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); font-weight: 500; }
p { margin: 0 0 1em; color: var(--color-ink-600); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--space-section) 0;
}
.section--alt {
  background: var(--color-sandstone-100);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-500);
  margin-bottom: 0.75em;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--color-gold-500);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-maroon-900);
  color: white;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--color-gold-500);
  outline-offset: 2px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
}
.btn--primary {
  background: var(--color-maroon-700);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-maroon-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.btn--outline {
  background: transparent;
  border-color: var(--color-maroon-700);
  color: var(--color-maroon-700);
}
.btn--outline:hover {
  background: var(--color-sandstone-100);
}
.btn--ghost-white {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--color-white);
}
.btn--ghost-white:hover { background: rgba(255,255,255,0.2); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; min-height: 38px; }

/* ===================== Top utility strip ===================== */
.utility-strip {
  background: var(--color-maroon-900);
  color: rgba(255,255,255,0.92);
  font-size: 0.76rem;
  min-height: 36px;
}
.utility-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  flex-wrap: nowrap;
  overflow: hidden;
}
.utility-strip__links { display: flex; align-items: center; gap: 1.1rem; flex-wrap: nowrap; white-space: nowrap; }
.utility-strip__links--right { flex-shrink: 0; }
.utility-strip a { display: inline-flex; align-items: center; gap: 0.35em; opacity: 0.95; }
.utility-strip a:hover { color: #E7C77A; }
.utility-strip__badge {
  color: #E7C77A;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.utility-strip__links--right a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 1.1rem;
}
@media (max-width: 1160px) {
  .utility-strip .hide-on-tablet { display: none; }
}
@media (max-width: 760px) {
  .utility-strip { display: none; }
}

/* ===================== Header / Nav ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(92,22,32,0.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand-logo { height: 50px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 0.1rem; min-width: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: 0.05rem; flex-wrap: nowrap; }
.primary-nav a, .primary-nav button.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.55rem 0.62rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-ink-900);
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a.is-active, .primary-nav button.nav-link:hover {
  background: var(--color-sandstone-100);
  color: var(--color-maroon-900);
}
.primary-nav .caret { width: 8px; height: 6px; opacity: 0.6; flex-shrink: 0; }
.nav-item--has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-card-hover);
  padding: 0.5rem;
  padding-top: 0.65rem;
  margin-top: 0;
  display: none;
  flex-direction: column;
  z-index: 110;
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown {
  display: flex;
}
.nav-dropdown a {
  border-radius: 8px;
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  white-space: normal;
}
.nav-dropdown__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-gold-500);
  padding: 0.65rem 0.75rem 0.2rem;
  margin-top: 0.2rem;
  border-top: 1px solid var(--color-border);
}

.nav-cta { margin-left: 0.6rem; flex-shrink: 0; }

.header-mobile-actions { display: none; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-sandstone-100);
  color: var(--color-maroon-700);
  flex-shrink: 0;
}
.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  color: var(--color-white);
  overflow: hidden;
  min-height: clamp(480px, 78vh, 720px);
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,16,18,0.78) 0%, rgba(92,22,32,0.72) 55%, rgba(35,16,18,0.86) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero .eyebrow { color: #E7C77A; }
.hero .eyebrow::before { background: #E7C77A; }
.hero h1 { color: var(--color-white); }
.hero p.lead {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ----- Hero, full photo background (homepage) ----- */
.hero--photo {
  color: var(--color-ink-900);
  background: var(--color-cream-50);
  min-height: clamp(560px, 82vh, 850px);
}
.hero__photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: left center;
  z-index: 0;
}
.hero__photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(251,247,240,0.96) 0%,
    rgba(251,247,240,0.88) 32%,
    rgba(251,247,240,0.4) 54%,
    rgba(251,247,240,0) 70%);
  z-index: 1;
}
.hero--photo .hero__content { max-width: 560px; z-index: 2; }
.hero--photo .eyebrow { color: var(--color-maroon-700); }
.hero--photo .eyebrow::before { background: var(--color-maroon-700); }
.hero--photo h1 { color: var(--color-maroon-900); }
.hero--photo p.lead { color: var(--color-ink-600); }

.hero__trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 2.25rem;
}
.hero-trust-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(2px);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-card);
}
.hero-trust-card svg { width: 22px; height: 22px; color: var(--color-gold-500); margin-bottom: 0.5rem; }
.hero-trust-card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--color-maroon-900); }
.hero-trust-card span { display: block; font-size: 0.76rem; color: var(--color-ink-600); margin-top: 0.2rem; line-height: 1.35; }

@media (max-width: 760px) {
  .hero--photo { min-height: auto; padding: clamp(2.5rem, 10vw, 4rem) 0; }
  .hero__photo-bg { background-position: center 25%; }
  .hero__photo-fade {
    background: linear-gradient(180deg,
      rgba(251,247,240,0.97) 0%,
      rgba(251,247,240,0.94) 45%,
      rgba(251,247,240,0.9) 100%);
  }
  .hero--photo .hero__content { max-width: none; }
  .hero__trust-cards { grid-template-columns: 1fr; }
}

/* ===================== About split section ===================== */

/* Section has no .section class — handles its own padding/height */
.about-section {
  background: var(--color-cream-50);
  overflow: hidden;
}

/* Full-width two-column grid — NO .container wrapper */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(500px, 58vw, 640px);
}

/* Left text column: own padding that mirrors container alignment */
.about-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 3vw, 3rem);
  /* On wide screens push left edge to stay aligned with container content */
  padding-left: max(
    clamp(1.5rem, 4vw, 2.5rem),
    calc((100vw - var(--container-max)) / 2 + clamp(1.5rem, 4vw, 2.5rem))
  );
  background: var(--color-cream-50);
}
.about-split__text h2 { max-width: 460px; margin-bottom: 1rem; }
.about-split__text > p { max-width: 460px; }

.about-supporting {
  font-size: 0.88rem;
  color: var(--color-ink-600);
  border-left: 3px solid var(--color-gold-500);
  padding-left: 0.9rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
  max-width: 440px;
}

.about-cta { margin-bottom: 1.5rem; }

/* Compact inline pills */
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}
.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--color-maroon-700);
  background: rgba(92,22,32,0.06);
  border: 1px solid rgba(92,22,32,0.14);
  padding: 0.35em 0.8em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.about-pill svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--color-gold-500); }

/* Right column: truly full-height visual canvas */
.about-split__image {
  position: relative;
  overflow: hidden; /* clips the building to column bounds — no rounding, no border */
}

/* Building fills the ENTIRE right column — absolute, no border-radius, no shadow */
.about-visual__building {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 800ms ease, transform 1000ms cubic-bezier(0.22,1,0.36,1);
}
.about-visual__building.is-visible {
  opacity: 1;
  transform: scale(1);
}
.about-visual__building img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Left-edge cream fade: smooths the boundary between text and image */
.about-img-blend {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(251,247,240,0.95) 0%,
    rgba(251,247,240,0.55) 20%,
    rgba(251,247,240,0.12) 44%,
    rgba(251,247,240,0) 62%
  );
  pointer-events: none;
  z-index: 1;
}

/* Bottom vignette: adds depth behind student cutout */
.about-img-vignette {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(to top, rgba(25,10,12,0.38) 0%, rgba(25,10,12,0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Student cutout
   Outer wrap: handles horizontal placement (translateX on wrapper, no interference with float)
   Inner div: handles vertical reveal + float animation                                         */
.about-student-wrap {
  position: absolute;
  bottom: 0;
  left: 8%;
  width: 58%;
  z-index: 3;
}
.about-student {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 750ms ease 320ms, transform 750ms cubic-bezier(0.22,1,0.36,1) 320ms;
}
.about-student.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: aboutFloat 5s ease-in-out 1.1s infinite;
}
.about-student img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 32px rgba(20,8,10,0.35));
}

@keyframes aboutFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Badge: Since 1968 — white frosted card, top-left of image area */
.about-badge-year {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 4;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(232,217,199,0.9);
  border-radius: 13px;
  padding: 0.55rem 0.9rem;
  box-shadow: 0 4px 18px rgba(92,22,32,0.14);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 450ms ease 560ms, transform 450ms ease 560ms;
}
.about-badge-year.is-visible { opacity: 1; transform: translateY(0); }
.about-badge-year strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-maroon-900);
}
.about-badge-year span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-gold-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.1em;
}

/* Pill: Teacher Education Campus — maroon, top-right */
.about-badge-campus {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
  background: var(--color-maroon-900);
  color: var(--color-cream-50);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 12px rgba(92,22,32,0.4);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 450ms ease 700ms, transform 450ms ease 700ms;
}
.about-badge-campus.is-visible { opacity: 1; transform: translateY(0); }
.about-badge-campus svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Chip: location — frosted, bottom-right */
.about-badge-location {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(232,217,199,0.8);
  color: var(--color-maroon-900);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.38em 0.85em;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(92,22,32,0.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 450ms ease 840ms, transform 450ms ease 840ms;
}
.about-badge-location.is-visible { opacity: 1; transform: translateY(0); }
.about-badge-location svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--color-maroon-700); }

/* Mobile */
@media (max-width: 860px) {
  .about-split {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .about-split__text {
    order: 1;
    padding: clamp(2.5rem, 8vw, 4rem) var(--container-pad);
    padding-left: var(--container-pad);
  }
  .about-split__image {
    order: 2;
    min-height: 360px;
  }
  .about-student-wrap { width: 60%; left: 50%; transform: translateX(-50%); }
  .about-split__text h2,
  .about-split__text > p,
  .about-supporting { max-width: none; }
}

/* ===================== Trust strip ===================== */
.trust-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink-900);
}
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-teal-700); flex-shrink: 0; }

/* ===================== Cards (generic) ===================== */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }

.grid {
  display: grid;
  gap: var(--space-card-gap);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ===================== Programs — alternating feature rows ===================== */
.prog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white);
  margin-bottom: 1.5rem;
}
.prog-row--flip .prog-img-col  { order: 2; }
.prog-row--flip .prog-body-col { order: 1; }

.prog-img-col {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.prog-img-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 600ms cubic-bezier(.22,1,.36,1);
}
.prog-row:hover .prog-img-col img { transform: scale(1.04); }

.prog-img-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 1;
  background: rgba(61,14,21,.78);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28em 0.8em;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.prog-body-col {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prog-body-col h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.65rem);
  color: var(--color-maroon-900);
  margin-bottom: 0.65rem;
  line-height: 1.15;
}
.prog-body-col > p {
  font-size: 0.9rem;
  color: var(--color-ink-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* Meta row inside body */
.prog-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
}
.prog-meta-l {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-600);
}
.prog-meta-v {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-maroon-900);
}

@media (max-width: 760px) {
  .prog-row { grid-template-columns: 1fr; }
  .prog-row--flip .prog-img-col,
  .prog-row--flip .prog-body-col { order: unset; }
  .prog-img-col { min-height: 220px; }
}

/* ===================== Teaching journey row ===================== */
.teach-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  position: relative;
}

/* Connecting line between step circles */
.teach-journey::before {
  content: '';
  position: absolute;
  top: calc(1.75rem + 65px); /* border-top padding + half of 130px thumb */
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg,
    var(--color-maroon-900) 0%,
    var(--color-gold-500) 50%,
    var(--color-maroon-700) 100%);
  opacity: 0.35;
  z-index: 0;
}

.teach-journey__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Wrapper sits outside overflow:hidden so the badge is never clipped */
.teach-journey__img-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.teach-journey__thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-gold-500);
  box-shadow:
    0 6px 20px rgba(92,22,32,0.18),
    0 0 0 5px rgba(184,144,47,0.15);
}
.teach-journey__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge is a sibling of __thumb — not clipped by the circle */
.teach-journey__num {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 36px; height: 36px;
  background: var(--color-maroon-900);
  color: var(--color-gold-500);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50%;
  border: 2.5px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(92,22,32,0.45);
  z-index: 2;
}

.teach-journey__step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-maroon-900);
  margin-bottom: 0.25rem;
}
.teach-journey__step p {
  font-size: 0.8rem;
  color: var(--color-ink-600);
  margin: 0;
  line-height: 1.38;
}

@media (max-width: 760px) {
  .prog-cards { grid-template-columns: 1fr; }
  .teach-journey { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .teach-journey::before { display: none; }
}

/* ===================== Leadership editorial ===================== */
.leader-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem;
}
.leader-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-sandstone-100);
}
.leader-card .leader-role { color: var(--color-gold-500); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.leader-card blockquote { font-family: var(--font-display); font-size: 1.05rem; color: var(--color-ink-900); margin: 0; }
@media (max-width: 640px) { .leader-card { grid-template-columns: 1fr; text-align: center; } .leader-card img { margin: 0 auto; } }

/* ===================== Approvals document vault (homepage preview) ===================== */

/* Section: sandstone background + faint diagonal rule pattern */
.vault-section {
  background-color: var(--color-sandstone-100);
  background-image: repeating-linear-gradient(
    -48deg,
    rgba(92,22,32,0.018) 0px,
    rgba(92,22,32,0.018) 1px,
    transparent 1px,
    transparent 16px
  );
}

/* Masthead: heading left, CTA right */
.vault-masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--color-maroon-900);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}
.vault-masthead h2 { margin-bottom: 0.35rem; }
.vault-masthead p  { font-size: 0.88rem; max-width: 480px; margin-bottom: 0; }

/* Credential bar */
.vault-cred-bar {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}
.vcred {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-ink-900);
}
.vcred-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.vcred-dot--ok   { background: var(--color-teal-700); }
.vcred-dot--warn { background: var(--color-amber-600); }

/* Document grid */
.vault-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.vdoc {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.vdoc--big {
  grid-column: span 3;
  background: var(--color-maroon-900);
  border-color: var(--color-maroon-900);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}
.vdoc-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(184,144,47,0.12);
  color: var(--color-gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vdoc-icon svg { width: 20px; height: 20px; }
.vdoc--big .vdoc-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(184,144,47,0.2); }
.vdoc--big .vdoc-icon svg { width: 28px; height: 28px; }

.vstamp {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.22em 0.65em;
  border-radius: 3px;
  border: 1.5px solid;
  width: fit-content;
}
.vstamp svg { width: 10px; height: 10px; }
.vstamp--ok     { color: var(--color-teal-700);  border-color: rgba(47,107,94,0.28);  background: rgba(47,107,94,0.07); }
.vstamp--warn   { color: var(--color-amber-600); border-color: rgba(166,102,26,0.28); background: rgba(166,102,26,0.07); }
.vstamp--ok-inv { color: #8fe3d9; border-color: rgba(143,227,217,0.28); background: rgba(143,227,217,0.08); }

.vdoc h3 { font-size: 0.95rem; color: var(--color-maroon-900); margin-bottom: 0.3rem; }
.vdoc p  { font-size: 0.79rem; line-height: 1.5; margin-bottom: 0; }
.vdoc--big h3 { font-size: clamp(1.2rem, 1rem + 0.5vw, 1.5rem); color: var(--color-cream-50); margin-bottom: 0.4rem; }
.vdoc--big p  { color: rgba(251,247,240,0.7); font-size: 0.88rem; margin-bottom: 0; }

.vlink {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold-500);
  margin-top: auto;
  transition: gap 150ms;
  cursor: pointer;
}
.vlink:hover { gap: 0.5em; }
.vlink svg { width: 12px; height: 12px; }
.vdoc--big .vlink { color: #D4AE5A; }

.vwm {
  position: absolute;
  bottom: -0.75rem;
  right: 0.75rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  line-height: 1;
}

/* Keep status-chip for the /approvals-disclosures/ inner page */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.status-chip--verified { background: rgba(47,107,94,0.12); color: var(--color-teal-700); }
.status-chip--review   { background: rgba(166,102,26,0.12); color: var(--color-amber-600); }
.status-chip--pending  { background: rgba(92,22,32,0.08);   color: var(--color-maroon-700); }

/* Vault mobile */
@media (max-width: 860px) {
  .vault-masthead { flex-direction: column; align-items: flex-start; }
  .vault-doc-grid { grid-template-columns: 1fr; }
  .vdoc--big { grid-column: 1; display: flex; flex-direction: column; }
}

/* ===================== Infrastructure preview ===================== */
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.infra-tile {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 200ms;
}
.infra-tile:hover { box-shadow: 0 4px 18px rgba(92,22,32,0.1); }
.infra-tile-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; display: block; }
.infra-tile-body { padding: 0.9rem 1rem; display: flex; align-items: center; gap: 0.65rem; }
.infra-icon {
  width: 32px; height: 32px; border-radius: 7px; flex-shrink: 0;
  background: var(--color-sandstone-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-maroon-900);
}
.infra-icon svg { width: 15px; height: 15px; }
.infra-name { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; color: var(--color-maroon-900); }
.infra-note { font-size: 0.72rem; color: var(--color-ink-600); margin-top: 0.1rem; }
@media (max-width: 760px) { .infra-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .infra-grid { grid-template-columns: 1fr; } }

/* ===================== Gallery mosaic + marquee ===================== */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 160px;
  gap: 0.85rem;
}
.gtile {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
}
.gtile--tall { grid-row: span 2; }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gtile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.42) 0%, transparent 55%); }
.gtile-label {
  position: relative; z-index: 2;
  font-size: 0.68rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 0.06em;
}
/* Marquee strip */
.marquee-wrap { position: relative; overflow: hidden; margin-top: 1.75rem; }
.marquee-wrap::before,
.marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: clamp(40px, 6vw, 80px); z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--color-sandstone-100) 0%, transparent 100%); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--color-sandstone-100) 0%, transparent 100%); }
.marquee-track {
  display: flex; gap: 10px;
  width: max-content;
  animation: mq-scroll 60s linear infinite;
  will-change: transform;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes mq-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.mq-slide {
  flex-shrink: 0; width: 240px; height: 170px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--color-border);
}
.mq-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 400ms ease; }
.marquee-wrap:hover .mq-slide img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none !important; } }
@media (max-width: 860px) { .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; } .gtile--tall { grid-row: span 1; } }
@media (max-width: 540px) { .gallery-mosaic { grid-template-columns: 1fr; grid-auto-rows: 150px; } }

/* ===================== Notices ===================== */
.notice-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.notice-row:last-child { border-bottom: none; }
.notice-date { font-size: 0.8rem; color: var(--color-ink-600); white-space: nowrap; }
.notice-title { font-weight: 600; color: var(--color-maroon-900); }

/* ===================== Contact CTA band ===================== */
.cta-band {
  background: var(--color-maroon-900);
  color: white;
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: white; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0; }

/* ===================== Footer ===================== */
.site-footer { background: #1A080C; color: rgba(255,255,255,0.78); }
.site-footer .container { padding-top: var(--space-section); padding-bottom: 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-brand-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.79rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.footer-contact-item svg { width: 13px; height: 13px; color: var(--color-gold-500); flex-shrink: 0; margin-top: 0.18em; }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color 150ms; }
.footer-contact-item a:hover { color: #E7C77A; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.9rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.8rem; color: rgba(255,255,255,0.55); transition: color 150ms; }
.footer-col a:hover { color: #E7C77A; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom .copyright a { color: rgba(184,144,47,0.75); }
.footer-bottom .copyright a:hover { color: #E7C77A; text-decoration: underline; }

/* ===================== Mobile sticky quick-access bar ===================== */
.mobile-quickbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  display: none;
  justify-content: space-around;
  padding: 0.4rem 0.25rem env(safe-area-inset-bottom, 0.4rem);
  transition: transform 200ms ease;
}
.mobile-quickbar.is-hidden { transform: translateY(100%); }
.mobile-quickbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-ink-600);
  padding: 0.3rem 0.4rem;
}
.mobile-quickbar a svg { width: 20px; height: 20px; }
.mobile-quickbar a.is-active { color: var(--color-maroon-700); }

/* ===================== Mobile nav drawer ===================== */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.nav-drawer.is-open { display: block; }
.nav-drawer__scrim { position: absolute; inset: 0; background: rgba(35,16,18,0.5); }
.nav-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: var(--color-cream-50);
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}
.nav-drawer__panel a, .nav-drawer__panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.8rem 0.5rem;
  font-size: 1.02rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  background: none;
  border-left: none; border-right: none; border-top: none;
  font-family: var(--font-body);
  color: var(--color-ink-900);
}
.nav-drawer__close { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.nav-drawer__sub { padding-left: 1rem; display: none; }
.nav-drawer__sub.is-open { display: block; }
.nav-drawer__sub a { font-size: 0.92rem; color: var(--color-ink-600); }
.nav-drawer__sub-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-500);
  padding: 0.6rem 0.5rem 0.3rem;
  border-top: 1px solid var(--color-border);
  margin-top: 0.3rem;
}
.nav-drawer__group-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
}
.nav-drawer__group-toggle::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--color-gold-500);
  transition: transform 150ms ease;
}
.nav-drawer__group-toggle.is-open::after {
  content: '\2212'; /* minus sign */
}

@media (max-width: 1240px) {
  .primary-nav { display: none; }
  .header-mobile-actions { display: flex; }
  .nav-toggle { display: flex; }
}
@media (min-width: 1241px) {
  .header-mobile-actions { display: none; }
}

@media (max-width: 980px) {
  .mobile-quickbar { display: flex; }
  .leader-grid, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  body { padding-bottom: 64px; } /* space for sticky quickbar */
}

@media (max-width: 420px) {
  .header-mobile-actions .btn { padding: 0.55rem 0.9rem; font-size: 0.8rem; }
}

/* ===================== Scroll reveal ===================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 450ms ease, transform 450ms ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Document filter bar (Approvals page) ===================== */
.doc-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.doc-filters button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-ink-600);
  cursor: pointer;
}
.doc-filters button.is-active {
  background: var(--color-maroon-700);
  border-color: var(--color-maroon-700);
  color: white;
}
.doc-card {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.doc-card__type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-ink-600);
}
.doc-card__type svg { width: 18px; height: 18px; color: var(--color-gold-500); flex-shrink: 0; }
.doc-card h3 { margin-bottom: 0.1rem; font-size: 1.05rem; }
.doc-card__meta { font-size: 0.8rem; color: var(--color-ink-600); margin: 0; }
.doc-card .btn { margin-top: 0.3rem; align-self: flex-start; }

/* ===================== Utility ===================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================
   INNER PAGE COMPONENTS
   Shared across all inner pages (/about/, /programs/, etc.)
   ============================================================ */

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--color-sandstone-100);
  border-bottom: 1px solid var(--color-border);
  padding: 0.6rem 0;
  font-size: 0.82rem;
  color: var(--color-ink-600);
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.breadcrumb li { display: flex; align-items: center; gap: 0.3rem; }
.breadcrumb li + li::before {
  content: "›";
  color: var(--color-ink-600);
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--color-maroon-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--color-ink-900); font-weight: 500; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  min-height: clamp(260px, 34vw, 380px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(35,16,18,0.55) 0%,
    rgba(92,22,32,0.74) 60%,
    rgba(35,16,18,0.90) 100%
  );
  z-index: 1;
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  max-width: 820px;
}
.page-hero .eyebrow { color: #E7C77A; }
.page-hero .eyebrow::before { background: #E7C77A; }
.page-hero h1 {
  color: white;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  margin-bottom: 0.6rem;
}
.page-hero p.lead {
  color: rgba(255,255,255,0.88);
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  max-width: 640px;
  margin: 0;
}
@media (max-width: 600px) {
  .page-hero { min-height: 220px; align-items: flex-end; }
}

/* ---- Section intro pattern ---- */
.section-intro { margin-bottom: 2.5rem; max-width: 720px; }
.section-intro--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro h2 { margin-bottom: 0.6rem; }
.section-intro p { color: var(--color-ink-600); font-size: 1.025rem; margin: 0; }

/* ---- Two-column content layout ---- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.content-split--3-2 { grid-template-columns: 3fr 2fr; }
.content-split--2-3 { grid-template-columns: 2fr 3fr; }
@media (max-width: 768px) {
  .content-split,
  .content-split--3-2,
  .content-split--2-3 { grid-template-columns: 1fr; }
}

/* ---- Credential/recognition table ---- */
.cred-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.cred-table th {
  background: var(--color-maroon-900);
  color: white;
  text-align: left;
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
}
.cred-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.cred-table tr:last-child td { border-bottom: none; }
.cred-table tr:nth-child(even) td { background: var(--color-sandstone-100); }
.cred-table .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-teal-700);
  background: rgba(47,107,94,0.08);
  border: 1px solid rgba(47,107,94,0.3);
  border-radius: 99px;
  padding: 0.2rem 0.6rem;
}
.cred-table .verified-badge::before { content: "✓"; font-size: 0.75rem; }
.cred-table .verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-amber-600);
  background: rgba(184,144,47,0.09);
  border: 1px solid rgba(184,144,47,0.35);
  border-radius: 99px;
  padding: 0.2rem 0.6rem;
}

/* ---- Facility grid (About page) ---- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .facility-grid { grid-template-columns: 1fr; }
}
.facility-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 180ms, transform 180ms;
}
.facility-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.facility-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.facility-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.facility-card__img--placeholder {
  background: var(--color-sandstone-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.facility-card__img--placeholder svg {
  width: 36px; height: 36px;
  color: var(--color-gold-500);
  opacity: 0.6;
}
.facility-card__body { padding: 1rem 1.1rem 1.2rem; }
.facility-card__body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-maroon-900);
  margin-bottom: 0.3rem;
}
.facility-card__body p {
  font-size: 0.84rem;
  color: var(--color-ink-600);
  margin: 0;
  line-height: 1.5;
}

/* ---- About — stat/pill strip ---- */
.about-stat-box {
  background: var(--color-maroon-900);
  color: white;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-stat {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.about-stat:last-child { border-bottom: none; padding-bottom: 0; }
.about-stat__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-gold-500);
  line-height: 1;
  display: block;
}
.about-stat__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
  margin-top: 0.2rem;
  display: block;
}

/* ---- Vision / Mission card pair ---- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 700px) { .vm-grid { grid-template-columns: 1fr; } }
.vm-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.vm-card__icon {
  width: 44px; height: 44px;
  background: rgba(92,22,32,0.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.vm-card__icon svg { width: 22px; height: 22px; color: var(--color-maroon-900); }
.vm-card h3 {
  font-size: 1.15rem;
  color: var(--color-maroon-900);
  margin-bottom: 0.75rem;
}
.vm-card p, .vm-card li {
  font-size: 0.92rem;
  color: var(--color-ink-600);
  line-height: 1.65;
}
.vm-card ul { padding-left: 1.1rem; margin: 0; }
.vm-card ul li { margin-bottom: 0.5rem; }
.vm-card ul li:last-child { margin-bottom: 0; }

/* ---- Programme overview cards (2-col, collapses to 1 on mobile) ---- */
.prog-overview-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .prog-overview-cards { grid-template-columns: 1fr !important; } }

/* ---- Programme detail section ---- */
.prog-detail {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 2.5rem;
}
.prog-detail__header {
  background: var(--color-maroon-900);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.prog-detail__badge {
  background: var(--color-gold-500);
  color: var(--color-maroon-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.prog-detail__header-text h2 {
  color: white;
  font-size: clamp(1.2rem, 0.9rem + 1vw, 1.7rem);
  margin-bottom: 0.3rem;
}
.prog-detail__header-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}
.prog-detail__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.prog-detail__body--flip { direction: rtl; }
.prog-detail__body--flip > * { direction: ltr; }
@media (max-width: 768px) {
  .prog-detail__body,
  .prog-detail__body--flip { grid-template-columns: 1fr; direction: ltr; }
}
.prog-detail__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-sandstone-100);
}
.prog-detail__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prog-detail__info { padding: 1.75rem 2rem; }
.prog-detail__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  margin-bottom: 1.25rem;
}
.prog-detail__table tr { border-bottom: 1px solid var(--color-border); }
.prog-detail__table tr:last-child { border-bottom: none; }
.prog-detail__table th {
  font-weight: 600;
  color: var(--color-ink-900);
  padding: 0.6rem 0.5rem 0.6rem 0;
  width: 38%;
  vertical-align: top;
}
.prog-detail__table td {
  color: var(--color-ink-600);
  padding: 0.6rem 0;
  vertical-align: top;
}
.prog-detail__info h3 {
  font-size: 1rem;
  color: var(--color-maroon-900);
  margin: 1rem 0 0.4rem;
}
.prog-detail__info h3:first-of-type { margin-top: 0; }
.prog-detail__info p, .prog-detail__info li {
  font-size: 0.88rem;
  color: var(--color-ink-600);
  line-height: 1.6;
}
.prog-detail__info ul { padding-left: 1.1rem; margin: 0 0 0.5rem; }
.prog-detail__info .prog-ncte-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 600;
  color: var(--color-teal-700);
  background: rgba(47,107,94,0.08);
  border: 1px solid rgba(47,107,94,0.3);
  border-radius: 99px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 1rem;
}

/* ---- Admission steps (Programs page) ---- */
.admission-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
@media (max-width: 900px) { .admission-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .admission-steps { grid-template-columns: 1fr; } }
.admission-step {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.4rem 1.25rem;
  position: relative;
  box-shadow: var(--shadow-card);
}
.admission-step__num {
  width: 40px; height: 40px;
  background: var(--color-maroon-900);
  color: var(--color-gold-500);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}
.admission-step h3 { font-size: 0.97rem; color: var(--color-maroon-900); margin-bottom: 0.4rem; }
.admission-step p { font-size: 0.84rem; color: var(--color-ink-600); margin: 0; line-height: 1.5; }

/* ---- About page — principal teaser ---- */
.principal-teaser {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-card);
}
@media (max-width: 640px) {
  .principal-teaser { grid-template-columns: 1fr; text-align: center; }
  .principal-teaser__img { margin: 0 auto; }
}
.principal-teaser__img {
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-gold-500);
  flex-shrink: 0;
}
.principal-teaser__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.principal-teaser__text blockquote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  color: var(--color-ink-900);
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-gold-500);
}
.principal-teaser__text cite {
  font-size: 0.84rem;
  color: var(--color-ink-600);
  font-style: normal;
}
.principal-teaser__text cite strong { color: var(--color-maroon-900); }

/* ---- Approvals page — section heading row ---- */
.vault-section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}
.vault-section-heading:first-child { margin-top: 0; }
.vault-section-heading svg {
  width: 22px; height: 22px;
  color: var(--color-gold-500);
  flex-shrink: 0;
}
.vault-section-heading h2 {
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.4rem);
  color: var(--color-maroon-900);
  margin: 0;
}
.vault-section-lead {
  font-size: 0.9rem;
  color: var(--color-ink-600);
  margin: 0 0 1.25rem;
  max-width: 680px;
}

/* ---- Document grid for approvals page ---- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.doc-grid--wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ---- Verify / currency badge ---- */
.verify-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(184,144,47,0.08);
  border: 1px solid rgba(184,144,47,0.3);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  color: var(--color-ink-600);
  margin-top: 0.5rem;
}
.verify-note svg { width: 16px; height: 16px; color: var(--color-amber-600); flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   BATCH 3 — Infrastructure & Gallery Components
   ============================================================ */

/* --- Infrastructure feature row (alternating split) --- */
.infra-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 360px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(35,31,28,0.08);
  margin-bottom: 2.5rem;
}
.infra-feature__img {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.infra-feature__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.infra-feature:hover .infra-feature__img img { transform: scale(1.03); }
.infra-feature__body {
  padding: 2.5rem 2rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.infra-feature--flip .infra-feature__img { order: 2; }
.infra-feature--flip .infra-feature__body { order: 1; }
.infra-feature__icon {
  width: 44px;
  height: 44px;
  background: var(--color-sandstone-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-maroon-900);
  flex-shrink: 0;
}
.infra-feature__icon svg { width: 22px; height: 22px; }
.infra-feature__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-maroon-900);
  text-transform: uppercase;
}
.infra-feature__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-maroon-900);
  line-height: 1.25;
}
.infra-feature__desc {
  color: var(--color-ink-600);
  line-height: 1.75;
  font-size: 0.95rem;
}
.infra-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.infra-feature__pill {
  background: var(--color-sandstone-100);
  border: 1px solid var(--color-border);
  border-radius: 99px;
  padding: 0.2rem 0.75rem;
  font-size: 0.78rem;
  color: var(--color-ink-900);
}
.infra-ai-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--color-ink-600);
  background: var(--color-sandstone-100);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  margin-top: 0.5rem;
  width: fit-content;
}
.infra-ai-note svg { width: 12px; height: 12px; flex-shrink: 0; }

/* --- Lab card grid (for 5 specialist labs) --- */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.lab-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: white;
  box-shadow: 0 1px 8px rgba(35,31,28,0.06);
  transition: box-shadow 0.2s ease;
}
.lab-card:hover { box-shadow: 0 4px 20px rgba(35,31,28,0.12); }
.lab-card__img {
  height: 140px;
  overflow: hidden;
  position: relative;
}
.lab-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.lab-card__body {
  padding: 0.85rem 1rem;
}
.lab-card__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-maroon-900);
  line-height: 1.3;
}
.lab-card__note {
  font-size: 0.78rem;
  color: var(--color-ink-600);
  margin-top: 0.25rem;
  line-height: 1.4;
}
.lab-card__badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  color: var(--color-ink-600);
  background: var(--color-sandstone-100);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--color-border);
}

/* --- Gallery featured mosaic --- */
.gallery-featured {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.5rem;
}
.gallery-featured .gtile:first-child {
  grid-row: span 2;
}
.gallery-featured .gtile {
  position: relative;
  overflow: hidden;
}
.gallery-featured .gtile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-featured .gtile:hover img { transform: scale(1.04); }
.gallery-featured .gtile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(35,15,18,0.85), transparent);
  color: white;
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 500;
}

/* --- Gallery category grid --- */
.gallery-cat { margin-top: 0; }
.gallery-cat__heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}
.gallery-cat__heading h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-maroon-900);
  margin: 0;
}
.gallery-cat__count {
  font-size: 0.78rem;
  color: var(--color-ink-600);
  background: var(--color-sandstone-100);
  border-radius: 99px;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--color-border);
}
.gallery-cat__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.gallery-tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-sandstone-100);
  cursor: pointer;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile__cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.6rem 0.5rem;
  background: linear-gradient(to top, rgba(35,15,18,0.8) 0%, rgba(35,15,18,0.3) 70%, transparent);
  color: white;
  font-size: 0.72rem;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-tile:hover .gallery-tile__cap,
.gallery-tile:focus-within .gallery-tile__cap { opacity: 1; }
.gallery-verify {
  display: block;
  font-size: 0.63rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.1rem;
}

/* --- Responsive Batch 3 --- */
@media (max-width: 900px) {
  .infra-feature { grid-template-columns: 1fr; min-height: auto; }
  .infra-feature--flip .infra-feature__img,
  .infra-feature--flip .infra-feature__body { order: unset; }
  .infra-feature__img { min-height: 220px; }
  .gallery-cat__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-featured { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .gallery-featured .gtile:first-child { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 600px) {
  .infra-feature__body { padding: 1.5rem 1.25rem; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-cat__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-featured { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px; }
}
@media (max-width: 400px) {
  .gallery-cat__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   BATCH 2 — Leadership & Faculty-Staff Components
   ============================================================ */

/* --- Leadership message blocks --- */
.leader-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: flex-start;
  padding: 3rem 0;
}
.leader-block--flip {
  grid-template-columns: 1fr 240px;
}
.leader-block--flip .leader-portrait { order: 2; }
.leader-block--flip .leader-content  { order: 1; }

.leader-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.leader-portrait__img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--color-gold-500);
  box-shadow: 0 4px 24px rgba(92,22,32,0.15);
}
.leader-portrait__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-maroon-900);
  line-height: 1.3;
}
.leader-portrait__title {
  font-size: 0.85rem;
  color: var(--color-ink-600);
  line-height: 1.4;
}
.leader-portrait__creds {
  font-size: 0.78rem;
  color: var(--color-ink-600);
  font-style: italic;
}

.leader-content blockquote {
  border-left: 4px solid var(--color-gold-500);
  padding-left: 1.5rem;
  margin: 0;
  color: var(--color-ink-900);
  line-height: 1.8;
}
.leader-content blockquote p { margin-bottom: 1rem; }
.leader-content blockquote p:last-child { margin-bottom: 0; }
.leader-content blockquote .salutation {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-maroon-900);
  margin-bottom: 1rem;
}

/* --- Governing Body grid --- */
.govbody-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.govbody-card {
  background: var(--color-cream-50);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold-500);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.govbody-card--president {
  border-left-color: var(--color-maroon-900);
  background: rgba(92,22,32,0.04);
}
.govbody-card__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-maroon-900);
  line-height: 1.3;
}
.govbody-card__role {
  font-size: 0.78rem;
  color: var(--color-ink-600);
  margin-top: 0.25rem;
}

/* --- Person card (faculty grid) --- */
.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.person-card {
  text-align: center;
}
.person-card__photo-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-sandstone-100);
  box-shadow: 0 2px 12px rgba(35,31,28,0.10);
}
.person-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.person-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-sandstone-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-maroon-900);
  letter-spacing: 0.02em;
}
.person-card__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink-900);
  line-height: 1.3;
}
.person-card__role {
  font-size: 0.78rem;
  color: var(--color-ink-600);
  margin-top: 0.2rem;
}
.person-card__verify {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: var(--color-amber-600);
  background: rgba(184,144,47,0.10);
  border: 1px solid rgba(184,144,47,0.3);
  border-radius: 99px;
  padding: 0.15rem 0.55rem;
}

/* --- Non-teaching staff table --- */
.staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 1rem;
}
.staff-table th {
  background: var(--color-maroon-900);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.staff-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-ink-900);
  vertical-align: middle;
}
.staff-table tr:last-child td { border-bottom: none; }
.staff-table tr:nth-child(even) td { background: var(--color-sandstone-100); }

/* --- Responsive: leadership & faculty --- */
@media (max-width: 768px) {
  .leader-block,
  .leader-block--flip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .leader-block--flip .leader-portrait,
  .leader-block--flip .leader-content { order: unset; }
  .leader-portrait { flex-direction: row; text-align: left; }
  .leader-portrait__img { width: 100px; height: 100px; flex-shrink: 0; }
  .govbody-grid { grid-template-columns: 1fr 1fr; }
  .person-grid { grid-template-columns: repeat(3, 1fr); }
  .staff-table { font-size: 0.82rem; }
  .staff-table th, .staff-table td { padding: 0.5rem 0.6rem; }
}
@media (max-width: 480px) {
  .govbody-grid { grid-template-columns: 1fr; }
  .person-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-portrait { flex-direction: column; align-items: center; text-align: center; }
  .staff-table th:nth-child(3), .staff-table td:nth-child(3) { display: none; }
}

/* ============================================================
   SHARED FIXES — Page Hero BEM aliases + CTA band structure
   + Dark-background button variants
   (Batch 2/3 pages use these; Batch 1 pages use the original
    eyebrow / p.lead / inline-style approach — both work)
   ============================================================ */

/* Page hero — BEM variant classes */
.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E7C77A;
  margin-bottom: 0.85rem;
}
.page-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #E7C77A;
  vertical-align: middle;
  margin-right: 0.55rem;
}
.page-hero__title {
  color: white;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  margin-bottom: 0.6rem;
  line-height: 1.15;
}
.page-hero__sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.1rem);
  max-width: 640px;
  margin: 0;
  line-height: 1.65;
}

/* CTA band — structured two-column layout */
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band__text { flex: 1; min-width: 260px; }
.cta-band__heading {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.65vw, 1.45rem);
  font-weight: 600;
  color: white;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}
.cta-band__sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.cta-band__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

/* Button variants for dark (maroon) backgrounds */
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
}
.btn--light {
  background: white;
  border-color: white;
  color: var(--color-maroon-900);
  font-weight: 700;
}
.btn--light:hover {
  background: var(--color-cream-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

/* Responsive: stack CTA band actions below text on small screens */
@media (max-width: 600px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   BATCH 4 — Student Support, Grievance, Notices, Contact
   ============================================================ */

/* --- Student Support quick links sidebar --- */
.ss-quick-links {
  background: var(--color-cream-50);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  align-self: start;
  position: sticky;
  top: 90px;
}
.ss-quick-links__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-600);
  margin-bottom: 0.75rem;
}
.ss-quick-links__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ss-quick-links__list a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  color: var(--color-maroon-700);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 150ms;
}
.ss-quick-links__list a:hover { background: var(--color-sandstone-100); }
.ss-quick-links__contact {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-ink-700);
  line-height: 1.6;
}
.ss-quick-links__contact a { color: var(--color-maroon-700); text-decoration: none; font-weight: 600; }

/* --- Student Support cell blocks --- */
.ss-cell { }
.ss-cell__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-sandstone-100);
}
.ss-cell__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--color-maroon-900);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-500);
}
.ss-cell__title {
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  margin: 0 0 0.25rem;
  color: var(--color-maroon-900);
}
.ss-cell__meta {
  font-size: 0.82rem;
  color: var(--color-ink-600);
  margin: 0;
}
.ss-cell__body > p { max-width: 700px; margin-bottom: 1rem; color: var(--color-ink-700); line-height: 1.75; }
.ss-cell__staff { margin-bottom: 1.75rem; }
.ss-cell__staff h3 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-ink-600); margin-bottom: 0.75rem; }
.ss-cell__registration {
  font-size: 0.85rem;
  color: var(--color-ink-600);
  margin-top: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: rgba(184,144,47,0.08);
  border-left: 3px solid var(--color-gold-500);
  border-radius: 0 6px 6px 0;
}
.ss-staff-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ss-staff-table td { padding: 0.5rem 0.75rem; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.ss-staff-table tr:last-child td { border-bottom: none; }
.ss-staff-table td:first-child { min-width: 160px; }
.ss-staff-table td:nth-child(2) { color: var(--color-ink-600); white-space: nowrap; }
.ss-staff-table td:nth-child(3) { color: var(--color-ink-600); font-size: 0.83rem; }

/* --- Activities two-column grid --- */
.ss-activities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.25rem;
}
.ss-activities__col h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-maroon-900);
  margin-bottom: 0.6rem;
}
.ss-activities__col ul { padding-left: 1.1rem; margin: 0; }
.ss-activities__col li { font-size: 0.9rem; color: var(--color-ink-700); margin-bottom: 0.4rem; line-height: 1.55; }

/* --- Grievance promo block --- */
.ss-grievance-promo {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--color-cream-50);
  border: 1.5px solid var(--color-gold-500);
  border-radius: 12px;
  padding: 2rem;
}
.ss-grievance-promo__icon {
  flex-shrink: 0;
  color: var(--color-maroon-900);
  opacity: 0.7;
}
.ss-grievance-promo__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-maroon-900);
  margin: 0 0 0.6rem;
}
.ss-grievance-promo p { color: var(--color-ink-700); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* --- Grievance page specifics --- */
.grievance-commitment {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(92,22,32,0.05);
  border-left: 4px solid var(--color-maroon-900);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1.5rem;
  color: var(--color-ink-800);
  font-size: 0.92rem;
  line-height: 1.6;
}
.grievance-commitment p { margin: 0; }
.grievance-cell-card {
  background: var(--color-sandstone-100);
  border-radius: 12px;
  padding: 1.75rem;
}
.grievance-cell-card h3 {
  font-size: 1rem;
  color: var(--color-maroon-900);
  margin: 0 0 0.25rem;
}
.grievance-objectives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.grievance-obj-item {
  display: flex;
  gap: 1rem;
  background: white;
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-ink-700);
  line-height: 1.6;
}
.grievance-obj-item--highlight {
  border: 1.5px solid var(--color-maroon-900);
  background: rgba(92,22,32,0.03);
}
.grievance-obj-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold-500);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2rem;
}
.grievance-obj-item p { margin: 0; }
.grievance-steps { display: flex; flex-direction: column; gap: 0; }
.grievance-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.grievance-step:last-child { border-bottom: none; }
.grievance-step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-maroon-900);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grievance-step__body h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.grievance-step__body p { margin: 0; color: var(--color-ink-700); font-size: 0.92rem; line-height: 1.7; }

/* --- Notices page --- */
.notices-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.notices-filter__btn {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: white;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-ink-700);
  transition: background 150ms, border-color 150ms;
}
.notices-filter__btn:hover { border-color: var(--color-maroon-700); color: var(--color-maroon-700); }
.notices-filter__btn--active {
  background: var(--color-maroon-900);
  border-color: var(--color-maroon-900);
  color: white;
}
.notice-card {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}
.notice-card--featured {
  border-color: var(--color-gold-500);
  background: var(--color-cream-50);
}
.notice-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.notice-card__badge--new {
  background: rgba(92,22,32,0.08);
  color: var(--color-maroon-900);
}
.notice-card__meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.5rem; }
.notice-card__cat { font-size: 0.8rem; font-weight: 600; color: var(--color-maroon-700); }
.notice-card__date { font-size: 0.8rem; color: var(--color-ink-500); }
.notice-card__title { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 0.6rem; color: var(--color-ink-900); }
.notice-card__desc { font-size: 0.92rem; color: var(--color-ink-700); margin: 0 0 1rem; line-height: 1.65; }
.notices-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-ink-500);
  border: 1.5px dashed var(--color-border);
  border-radius: 10px;
  margin-top: 1rem;
}
.notices-empty-state__icon { color: var(--color-border); margin-bottom: 1rem; }
.notices-empty-state h3 { font-size: 1rem; color: var(--color-ink-700); margin-bottom: 0.5rem; }
.notices-empty-state p { font-size: 0.9rem; max-width: 480px; margin: 0 auto; }
.notices-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.notices-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-ink-900);
  transition: border-color 150ms, box-shadow 150ms;
}
.notices-link-card:hover {
  border-color: var(--color-maroon-700);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.notices-link-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-sandstone-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-maroon-900);
}
.notices-link-card__title { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.2rem; }
.notices-link-card__sub { font-size: 0.8rem; color: var(--color-ink-600); margin: 0; }
.notices-link-card__arrow { margin-left: auto; flex-shrink: 0; color: var(--color-ink-400); }

/* --- Contact page --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-details__heading {
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-sandstone-100);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-sandstone-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-maroon-900);
}
.contact-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-500);
  margin: 0 0 0.25rem;
}
.contact-item__value { margin: 0; color: var(--color-ink-800); font-size: 0.95rem; line-height: 1.6; }
.contact-link { color: var(--color-maroon-700); text-decoration: none; font-weight: 500; }
.contact-link:hover { text-decoration: underline; }
address { font-style: normal; }
.contact-hours {
  background: var(--color-sandstone-100);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 0.5rem;
}
.contact-hours__heading { font-size: 0.85rem; font-weight: 700; color: var(--color-ink-700); margin-bottom: 0.75rem; }
.contact-hours__grid { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
.contact-hours__row { display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; }
.contact-hours__season { display: flex; align-items: center; gap: 0.4rem; color: var(--color-ink-700); font-weight: 500; }
.contact-hours__time { color: var(--color-ink-900); font-weight: 600; }
.contact-hours__note { font-size: 0.8rem; color: var(--color-ink-500); margin: 0; }
.contact-map { position: sticky; top: 90px; }
.contact-map__frame {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  background: var(--color-sandstone-100);
}
.contact-map__directions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-maroon-700);
  text-decoration: none;
  margin-top: 0.75rem;
  font-weight: 500;
}
.contact-map__directions:hover { text-decoration: underline; }
.admission-enquiry-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Responsive — Batch 4 */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map { position: static; }
  .grievance-objectives { grid-template-columns: 1fr; }
  .notices-links-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ss-activities { grid-template-columns: 1fr; gap: 1.25rem; }
  .ss-grievance-promo { flex-direction: column; gap: 1rem; }
  .content-split { grid-template-columns: 1fr; }
  .ss-quick-links { position: static; margin-top: 2rem; }
}
@media (max-width: 560px) {
  .ss-cell__header { flex-direction: column; gap: 0.75rem; }
  .grievance-step { flex-direction: column; gap: 0.75rem; }
  .admission-enquiry-actions { flex-direction: column; }
  .admission-enquiry-actions .btn { width: 100%; justify-content: center; }
  .ss-staff-table td:nth-child(3) { display: none; }
}

/* ─── Mobile table overflow: prevent horizontal page scroll ─────────────────
   Tables with many columns can overflow at 390px.
   Wrapping display:block + overflow-x:auto makes them scroll in-place
   rather than pushing the page body wider.
*/
@media (max-width: 560px) {
  .cred-table,
  .staff-table,
  .ss-staff-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ss-staff-table td:nth-child(2) { white-space: normal; }
}
