:root {
  --bg: #f7f0e4;
  --surface: #fffdf8;
  --surface-2: #f4ead6;
  --surface-3: #fcf6eb;
  --text: #1c1f36;
  --muted: #5a5e75;
  --line: rgba(34, 36, 61, 0.12);
  --primary: #b42328;
  --primary-dark: #8f1c23;
  --secondary: #1c1f36;
  --accent: #f2be2a;
  --accent-red: #c63b3a;
  --accent-red-dark: #8f1c23;
  --shadow: 0 14px 36px rgba(34, 36, 61, 0.09);
  --shadow-strong: 0 22px 54px rgba(34, 36, 61, 0.14);
  --radius: 16px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100% - 1.25rem));
  --transition: all 0.25s ease;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --admission-green: #1a7d4e;
  --admission-green-dark: #146540;
  --footer-cyan: #b8ecf5;
  --footer-cyan-dark: #8fd9e8;
  --grey-100: #e8eaef;
  --grey-800: #4a4f63;
  --grey-900: #1c1f36;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(242, 190, 42, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(180, 35, 40, 0.08), transparent 18%),
    radial-gradient(circle at 20% 30%, rgba(34, 36, 61, 0.05), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

main,
section,
.container,
.container-fluid,
.row,
[class*="col-"] {
  max-width: 100%;
}

.topbar {
  display: none;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0;
}

.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 252, 247, 0.97);
  border-bottom: 1px solid rgba(34, 36, 61, 0.07);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 14px rgba(34, 36, 61, 0.035);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 60px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-minimal {
  flex-shrink: 0;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem !important;
  min-width: 2.2rem !important;
  max-width: 2.2rem !important;
  height: 2.2rem !important;
  min-height: 2.2rem !important;
  max-height: 2.2rem !important;
  padding: 0.08rem;
  border-radius: 0.45rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(242, 190, 42, 0.08));
  border: 1px solid rgba(34, 36, 61, 0.08);
  box-shadow: 0 5px 12px rgba(34, 36, 61, 0.06);
  flex-shrink: 0;
  transition: var(--transition);
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

.brand:hover .brand-logo-wrap {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(34, 36, 61, 0.1);
}

.brand-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.brand-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-subtext {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  width: 15px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 999px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 253, 250, 0.99);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
}

.nav-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu a {
  padding: 0.5rem 0.74rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  background: rgba(180, 35, 40, 0.08);
  color: var(--accent-red-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.74rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--transition);
}

.nav-dropdown-toggle i {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-dropdown-toggle i,
.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  gap: 0.2rem;
  padding: 0.35rem;
  min-width: 210px;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 0.65rem;
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(26, 125, 78, 0.1);
  color: var(--admission-green-dark);
}

.section {
  padding: 3rem 0;
}

.tone-soft {
  background: linear-gradient(180deg, rgba(245, 236, 223, 0.55), rgba(255, 253, 250, 0.15));
}

.hero-section {
  padding: 2rem 0 3rem;
  position: relative;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto 50%;
  width: min(42vw, 460px);
  height: min(42vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 77, 61, 0.12), transparent 68%);
  filter: blur(12px);
  transform: translateX(-8%);
  pointer-events: none;
}

.hero-grid,
.split-layout,
.contact-grid,
.footer-grid,
.page-hero-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-grid > *,
.split-layout > *,
.contact-grid > *,
.footer-grid > *,
.page-hero-grid > *,
.split-panel > *,
.quick-facts-grid > *,
.card-grid > * {
  min-width: 0;
}

.hero-copy h1,
.hero-copy h2,
.page-hero-copy h1 {
  margin: 0.75rem 0 0.85rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.hero-copy p,
.page-hero-copy p,
.section-heading p,
.feature-card p,
.mini-card p,
.timeline-card p,
.stat-card p,
.info-block p,
.contact-copy p,
.contact-card p,
.list-card p,
.testimonial-card p {
  color: var(--muted);
  line-height: 1.8;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.section-heading h2,
.page-hero-copy h2,
.split-panel h3,
.contact-copy h2 {
  margin: 0.55rem 0 0.7rem;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  font-weight: 700;
  line-height: 1.14;
}

.feature-card h3,
.mini-card h3,
.stat-card h3,
.timeline-card h3,
.list-card h3,
.contact-card h3,
.info-block h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.section-chip,
.eyebrow,
.timeline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section-chip {
  background: rgba(242, 190, 42, 0.2);
  color: var(--primary-dark);
}

.eyebrow,
.timeline-badge {
  background: rgba(180, 35, 40, 0.1);
  color: var(--accent-red-dark);
}

.hero-actions,
.centered-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin-top: 1.15rem;
}

.centered-actions {
  justify-content: center;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), var(--primary));
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(185, 77, 61, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #9a1a20, var(--primary-dark));
  border-color: transparent;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(143, 28, 35, 0.28);
}

.btn-primary.nav-cta,
.btn-primary[data-open-admission],
.footer-admission-actions .btn-primary,
.admission-form .btn-primary {
  background: linear-gradient(135deg, #22a866, var(--admission-green));
  box-shadow: 0 12px 26px rgba(26, 125, 78, 0.22);
}

.btn-primary.nav-cta:hover,
.btn-primary.nav-cta:focus-visible,
.btn-primary[data-open-admission]:hover,
.btn-primary[data-open-admission]:focus-visible,
.footer-admission-actions .btn-primary:hover,
.footer-admission-actions .btn-primary:focus-visible,
.admission-form .btn-primary:hover,
.admission-form .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--admission-green), var(--admission-green-dark));
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(20, 101, 64, 0.28);
}

.btn-secondary {
  background: #fff;
  border-color: rgba(28, 31, 54, 0.16);
  color: var(--secondary) !important;
  box-shadow: 0 8px 18px rgba(28, 31, 54, 0.06);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #dfe3ea;
  border-color: rgba(28, 31, 54, 0.22);
  color: var(--secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(28, 31, 54, 0.1);
}

.btn-tertiary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff !important;
}

.btn-tertiary:hover,
.btn-tertiary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff !important;
  transform: translateY(-2px);
}

.hero-metrics,
.quick-facts-grid,
.card-grid,
.gallery-grid,
.timeline-grid,
.stats-row,
.link-cards,
.slider-dots {
  display: grid;
  gap: 1rem;
}

.hero-metrics {
  margin-top: 1.25rem;
  grid-template-columns: 1fr;
}

.hero-metrics article,
.feature-card,
.mini-card,
.timeline-card,
.stat-card,
.gallery-item,
.list-card,
.contact-card,
.contact-form,
.hero-photo-card,
.split-panel,
.image-card,
.testimonial-card,
.info-block {
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-metrics article,
.feature-card,
.mini-card,
.timeline-card,
.stat-card,
.list-card,
.contact-card,
.testimonial-card,
.info-block {
  padding: 1.1rem 1.15rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
}

.icon-wrap {
  display: inline-grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 1rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(185, 77, 61, 0.18), rgba(214, 176, 92, 0.26));
  color: var(--accent-red-dark);
  font-size: 1.2rem;
}

.icon-wrap.small {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  background: rgba(69, 102, 79, 0.12);
  color: var(--secondary);
}

.feature-card:hover,
.mini-card:hover,
.timeline-card:hover,
.stat-card:hover,
.gallery-item:hover,
.list-card:hover,
.contact-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
}

.hero-visual {
  width: 100%;
}

.hero-images-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-images-trio .hero-photo-card {
  min-height: 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-images-trio .hero-photo-card img {
  min-height: 200px;
  aspect-ratio: 4 / 5;
}

.hero-photo-card,
.hero-home .hero-photo-card,
.page-hero-media .image-card,
.hero-slider-section .slider-shell {
  border-radius: 0;
}

.hero-photo-card .image-overlay {
  border-radius: 0;
}

.hero-photo-card,
.image-card,
.gallery-item {
  overflow: hidden;
  width: 100%;
}

.hero-photo-card {
  min-height: 260px;
}

.hero-photo-card img,
.image-card img,
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.image-overlay-card {
  position: relative;
  min-height: 100%;
}

.image-overlay {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 1.2rem;
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(180deg, rgba(47, 38, 30, 0.1), rgba(47, 38, 30, 0.78));
  color: #fff;
}

.image-overlay h2 {
  margin: 0.55rem 0 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.split-panel {
  display: grid;
  gap: 1.1rem;
  padding: 1.2rem;
}

.info-list,
.footer-contact,
.contact-list {
  display: grid;
  gap: 0.8rem;
}

.info-row,
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--muted);
}

.info-row i,
.contact-item i,
.footer-contact a {
  color: var(--secondary);
}

.three-col,
.feature-grid,
.gallery-real,
.timeline-grid,
.quick-facts-grid,
.stats-row,
.link-cards {
  grid-template-columns: 1fr;
}

.page-hero {
  padding: 2rem 0 1.75rem;
}

.page-hero-grid {
  align-items: center;
}

.page-hero-copy .page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent-red-dark);
  font-weight: 700;
}

.page-hero-media {
  min-height: 280px;
}

.page-hero-media .image-card {
  min-height: 280px;
}

.page-hero-media .image-card img {
  min-height: 280px;
}

.image-card {
  min-height: 100%;
}

.split-layout {
  align-items: start;
}

.list-card ul,
.contact-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: zoom-in;
  isolation: isolate;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(34, 36, 61, 0.02), rgba(34, 36, 61, 0.45)),
    radial-gradient(circle at top right, rgba(242, 190, 42, 0.28), transparent 34%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-item::after {
  content: "\f00e";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(34, 36, 61, 0.48);
  color: #fff8ec;
  font-family: "Font Awesome 6 Free";
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(34, 36, 61, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.03);
}

.gallery-item:hover::before,
.gallery-item:focus-visible::before {
  opacity: 1;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 3px solid rgba(242, 190, 42, 0.82);
  outline-offset: 6px;
}

.cta-band {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background:
    radial-gradient(circle at top right, rgba(185, 77, 61, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(246, 236, 226, 0.98));
  box-shadow: var(--shadow-strong);
}

.cta-band h2 {
  margin: 0.7rem 0 0.75rem;
}

.vision-band {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(242, 190, 42, 0.08), transparent 20%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(135deg, #871d1f 0%, #911f1f 52%, #7a181b 100%);
  color: #fff8ee;
  box-shadow: 0 28px 60px rgba(82, 16, 20, 0.24);
}

.vision-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 85%, rgba(255, 255, 255, 0.07), transparent 13%),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 2px,
      transparent 2px,
      transparent 18px
    );
  pointer-events: none;
}

.vision-band-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.vision-brandmark,
.vision-content,
.vision-stats {
  min-width: 0;
}

.vision-brandmark {
  display: grid;
  place-items: center;
}

.vision-logo-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  aspect-ratio: 1;
  padding: 1.15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(255, 249, 236, 0.92));
  box-shadow: 0 24px 50px rgba(56, 9, 14, 0.28);
}

.vision-logo-shell::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 2px dashed rgba(255, 219, 120, 0.72);
  border-radius: 50%;
}

.vision-logo-shell img {
  width: 100%;
  max-width: 150px;
  object-fit: contain;
}

.vision-content {
  display: grid;
  gap: 1.2rem;
}

.vision-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.vision-icon {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 2px dashed rgba(255, 214, 106, 0.75);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd976, #efb94f);
  color: #7a181b;
  font-size: 1.3rem;
  box-shadow: 0 18px 30px rgba(54, 8, 13, 0.18);
}

.vision-point h3 {
  margin: 0 0 0.4rem;
  color: #fff9f2;
  font-size: clamp(1.5rem, 1.9vw, 2.1rem);
}

.vision-point p {
  margin: 0;
  color: rgba(255, 248, 238, 0.92);
  font-size: 1rem;
  line-height: 1.75;
}

.vision-stats {
  display: grid;
  gap: 1rem;
  padding-top: 0.25rem;
}

.vision-stat {
  position: relative;
  min-height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 216, 110, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(96, 17, 21, 0.18);
  overflow: hidden;
}

.vision-stat::before {
  content: "\f19d";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.05);
  font-family: "Font Awesome 6 Free";
  font-size: 5.2rem;
  font-weight: 900;
}

.vision-stat strong,
.vision-stat span {
  position: relative;
  z-index: 1;
}

.vision-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.vision-stat span {
  color: #ffd36b;
  font-weight: 700;
}

.vision-point.is-vision-active {
  outline: 2px solid rgba(255, 214, 106, 0.9);
  outline-offset: 2px;
}

.media-swiper {
  display: grid;
  gap: 1rem;
}

.media-swiper-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.media-swiper-controls {
  display: flex;
  gap: 0.65rem;
}

.media-swiper-button {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(34, 36, 61, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.96);
  color: var(--accent-red-dark);
  box-shadow: 0 12px 24px rgba(34, 36, 61, 0.08);
  transition: var(--transition);
}

.media-swiper-button:hover,
.media-swiper-button:focus-visible {
  transform: translateY(-2px);
  background: var(--primary);
  color: #fff;
}

.media-swiper-viewport {
  overflow: hidden;
}

.media-swiper-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.55s ease;
  will-change: transform;
}

.media-swiper-card {
  flex: 0 0 calc(100% - 0rem);
  margin: 0;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(34, 36, 61, 0.08);
  box-shadow: 0 18px 38px rgba(34, 36, 61, 0.12);
  background: #fff;
}

.media-swiper-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-swiper-card:hover img {
  transform: scale(1.06);
}

.slider-section {
  position: relative;
  padding: 0 0 2.5rem;
}

.section.slider-section {
  padding: 0 0 2.5rem;
}

.hero-slider-section {
  padding: 0;
}

.campus-video-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.campus-video-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #0f1428;
  box-shadow: var(--shadow);
}

.campus-video-wrap video {
  display: block;
  width: 100%;
  max-height: min(70vh, 520px);
  object-fit: cover;
  vertical-align: middle;
}

.gallery-item--video {
  aspect-ratio: 16 / 9;
  cursor: default;
}

.gallery-item--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item--video::before,
.gallery-item--video::after {
  display: none;
}

.slider-section .container {
  width: min(100% - 1.5rem, 1560px);
}

.slider-section .slider-shell {
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 26px 60px rgba(34, 36, 61, 0.2);
}

.hero-slider-shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(28, 31, 54, 0.08);
  box-shadow: 0 12px 32px rgba(28, 31, 54, 0.12);
  background: #1c1f36;
}

.slider-shell {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.88);
  box-shadow: var(--shadow-strong);
}

.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s ease;
}

.slider-slide {
  min-width: 100%;
  width: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.slider-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--slide-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
  pointer-events: none;
}

.slider-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(28, 31, 54, 0.55);
  pointer-events: none;
}

.slider-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 520px;
  padding: 2rem;
  color: #fffaf3;
  width: 100%;
}

.hero-slide {
  min-height: min(78vh, 860px);
}

.hero-slide::before {
  display: none;
}

.hero-slide::after {
  z-index: 2;
  background: rgba(28, 31, 54, 0.58);
}

.hero-slide-layout {
  position: relative;
  z-index: 3;
  display: grid;
  align-items: end;
  gap: 1.5rem;
  min-height: min(78vh, 860px);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-slider-content {
  min-height: auto;
  max-width: 760px;
  padding: 0;
  color: #ffffff;
}

.hero-slider-content .section-chip {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-slider-content h1,
.hero-slider-content h2 {
  margin: 1rem 0 0.9rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-slider-content p {
  max-width: 660px;
  font-size: clamp(1rem, 2vw, 1.08rem);
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-slider-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero-slide-panel {
  justify-self: end;
  width: min(100%, 360px);
  padding: 1.35rem;
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff8ef;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(12, 15, 31, 0.28);
}

.hero-slide-panel img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem;
}

.hero-slide-panel strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.hero-slide-panel p {
  margin: 0 0 1rem;
  color: rgba(255, 248, 236, 0.84);
  line-height: 1.7;
}

.hero-slide-facts {
  display: grid;
  gap: 0.8rem;
}

.hero-slide-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fffaf2;
  font-weight: 500;
}

.hero-slide-facts i {
  color: var(--accent);
}

.slider-content h3 {
  margin: 0.85rem 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  max-width: 680px;
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.slider-content p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 250, 243, 0.96);
  line-height: 1.8;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.slider-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.4rem;
}

.slider-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fffaf3;
  font-size: 0.88rem;
  font-weight: 600;
}

.slider-controls {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  display: flex;
  gap: 0.7rem;
}

.slider-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #000;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.slider-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.slider-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem 1.1rem;
  background: rgba(255, 252, 247, 0.98);
}

.slider-meta p {
  margin: 0;
  color: var(--muted);
}

.slider-dots {
  grid-auto-flow: column;
  gap: 0.5rem;
  justify-content: start;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(180, 35, 40, 0.18);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 34px;
  background: linear-gradient(135deg, var(--accent-red), var(--primary));
}

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

.staff-stat {
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  border: 1px solid var(--line);
}

.staff-stat strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.testimonial-card p {
  margin-top: 0;
}

.person {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1rem;
}

.contact-grid {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(185, 77, 61, 0.42);
  box-shadow: 0 0 0 4px rgba(185, 77, 61, 0.12);
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-footer {
  padding-top: 0;
  background: var(--secondary);
  color: #f5f0e6;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(242, 190, 42, 0.12), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(180, 35, 40, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(28, 31, 54, 0.12));
  pointer-events: none;
}

.graphic-orb,
.graphic-grid {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.graphic-orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 35, 40, 0.14), rgba(242, 190, 42, 0.04) 60%, transparent 72%);
  filter: blur(6px);
}

.graphic-grid {
  width: 150px;
  height: 150px;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(185, 77, 61, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 77, 61, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 24px;
}

.graphic-top-right {
  top: 90px;
  right: -40px;
}

.graphic-mid-left {
  top: 42%;
  left: -50px;
}

.footer-admission-bar {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(28, 31, 54, 0.1);
  background: linear-gradient(90deg, var(--footer-cyan) 0%, #c9f2fa 48%, var(--footer-cyan-dark) 100%);
  color: var(--secondary);
}

.footer-admission-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.35rem 0;
}

.footer-admission-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(28, 31, 54, 0.08);
  color: #0d5c6b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-admission-copy p {
  margin: 0;
  max-width: 36rem;
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

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

.btn-footer-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1px solid rgba(28, 31, 54, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--secondary);
  font-weight: 600;
  transition: var(--transition);
}

.btn-footer-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(28, 31, 54, 0.3);
  color: var(--secondary);
}

.footer-body {
  position: relative;
  z-index: 1;
  padding: 2.25rem 0 1.75rem;
  background: #e8eaef;
  color: var(--secondary);
}

.footer-columns {
  display: grid;
  gap: 2.25rem 2rem;
}

.footer-col-brand {
  max-width: 22rem;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.footer-brand-logo {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: #fffdf7;
  border: 1px solid rgba(28, 31, 54, 0.1);
  object-fit: contain;
}

.footer-brand-text {
  display: grid;
  gap: 0.3rem;
}

.footer-brand-text strong {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer-brand-text > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-tagline {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-affiliation {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(28, 31, 54, 0.08);
  color: var(--secondary);
  font-size: 0.86rem;
}

.footer-affiliation i {
  color: var(--primary);
}

.footer-heading {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(180, 35, 40, 0.35);
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col-links {
  max-width: 20rem;
}

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

.footer-nav {
  display: grid;
  gap: 0.38rem;
}

.footer-nav a,
.footer-contact-list a {
  color: var(--secondary);
  font-size: 0.88rem;
  line-height: 1.45;
  transition: var(--transition);
}

.footer-nav a:hover,
.footer-contact-list a:hover {
  color: var(--primary);
}

.footer-contact-list {
  display: grid;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.footer-contact-list i {
  flex-shrink: 0;
  width: 1.1rem;
  margin-top: 0.2rem;
  color: var(--primary);
  text-align: center;
}

.footer-phone-links {
  display: grid;
  gap: 0.35rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 31, 54, 0.12);
  background: #fff;
  color: var(--secondary);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f2848;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 248, 234, 0.7);
  font-size: 0.88rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at top, rgba(242, 190, 42, 0.12), transparent 26%),
    rgba(8, 10, 24, 0.82);
  backdrop-filter: blur(16px) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1400;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-panel {
  position: relative;
  width: min(100%, 1100px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 13, 30, 0.84);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-image {
  width: 100%;
  max-height: min(78vh, 880px);
  object-fit: contain;
  background: linear-gradient(180deg, rgba(20, 26, 51, 0.45), rgba(11, 14, 31, 0.8));
}

.gallery-lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 1.2rem;
  color: #fbf6eb;
}

.gallery-lightbox-caption strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #ffd36b;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-lightbox-caption p {
  margin: 0;
  color: rgba(251, 246, 235, 0.9);
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 13, 30, 0.62);
  color: #fff8ec;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-lightbox-close:hover {
  background: #ffd36b;
  color: #141a33;
}

.admission-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(28, 22, 18, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1200;
}

.admission-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  width: min(100%, 760px);
  max-height: min(92vh, 860px);
  overflow: auto;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(214, 176, 92, 0.16), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #f9f1e6 100%);
  border: 1px solid rgba(92, 67, 45, 0.12);
  box-shadow: var(--shadow-strong);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.4rem 1rem;
}

.modal-header h2 {
  margin: 0.65rem 0 0.45rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
}

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

.modal-close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.modal-body {
  display: grid;
  gap: 1rem;
  padding: 0 1.4rem 1.4rem;
}

.modal-grid {
  display: grid;
  gap: 1rem;
}

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

.modal-info {
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
}

.modal-info ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.admission-form {
  display: grid;
  gap: 0.95rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.admission-form-grid {
  display: grid;
  gap: 0.95rem;
}

.admission-form label {
  display: grid;
  gap: 0.42rem;
  font-weight: 500;
}

.admission-form input,
.admission-form select,
.admission-form textarea {
  min-width: 0;
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  outline: none;
}

.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
  border-color: rgba(185, 77, 61, 0.42);
  box-shadow: 0 0 0 4px rgba(185, 77, 61, 0.12);
}

.modal-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

@media (min-width: 700px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 1.25rem;
  }

  .hero-photo-card,
  .hero-photo-card img {
    min-height: 340px;
  }

  .page-hero-media,
  .page-hero-media .image-card,
  .page-hero-media .image-card img {
    min-height: 320px;
  }

  .hero-slide-layout,
  .split-layout,
  .contact-grid,
  .footer-grid,
  .quick-facts-grid,
  .stats-row,
  .link-cards,
  .timeline-grid,
  .gallery-real {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-slide-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.5fr);
  }

  .quick-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .three-col,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split-panel,
  .cta-band,
  .modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-admission-inner {
    flex-wrap: nowrap;
  }

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

  .media-swiper-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (min-width: 980px) {
  .section {
    padding: 3.75rem 0;
  }

  .hero-slider-section {
    padding: 0 0 2.25rem;
  }

  .section.slider-section {
    padding: 0 0 2.25rem;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 1.5rem;
  }

  .hero-photo-card,
  .hero-photo-card img {
    min-height: 400px;
  }

  .page-hero-media,
  .page-hero-media .image-card,
  .page-hero-media .image-card img {
    min-height: 360px;
  }

  .split-layout,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .quick-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-grid,
  .gallery-real,
  .link-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stats-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: 1.35fr minmax(240px, 0.95fr) 1fr;
    align-items: start;
  }

  .vision-band-layout {
    grid-template-columns: 0.64fr 1.3fr 1fr;
    gap: 2rem;
  }

  .vision-content {
    padding-right: 1.8rem;
    border-right: 1px dashed rgba(255, 235, 181, 0.28);
  }

  .vision-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 0.4rem;
  }

  .media-swiper-card {
    flex-basis: calc((100% - 3rem) / 4);
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.08rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    display: none;
    padding: 0.45rem;
    border: 1px solid rgba(28, 31, 54, 0.1);
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 14px 32px rgba(28, 31, 54, 0.14);
    z-index: 1010;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }
}

@media (min-width: 1280px) {
  .quick-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-swiper-card {
    flex-basis: calc((100% - 4rem) / 5);
  }
}

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

  .container {
    width: min(100% - 1rem, 100%);
  }

  .navbar {
    min-height: 54px;
    padding-top: 0.18rem;
    padding-bottom: 0.18rem;
  }

  .brand-logo-wrap {
    width: 1.95rem !important;
    min-width: 1.95rem !important;
    max-width: 1.95rem !important;
    height: 1.95rem !important;
    min-height: 1.95rem !important;
    max-height: 1.95rem !important;
    border-radius: 0.4rem;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .brand-subtext {
    font-size: 0.68rem;
  }

  .hero-copy h1,
  .hero-copy h2,
  .page-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .contact-grid,
  .footer-grid,
  .split-panel,
  .vision-band-layout {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .quick-facts-grid,
  .three-col,
  .feature-grid,
  .timeline-grid,
  .gallery-grid,
  .gallery-real,
  .link-cards,
  .staff-grid,
  .hero-images-trio {
    grid-template-columns: 1fr;
  }

  .hero-photo-card,
  .hero-photo-card img,
  .image-card {
    min-height: 240px;
  }

  .page-hero-media,
  .page-hero-media .image-card,
  .page-hero-media .image-card img {
    min-height: 220px;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

  .slider-content {
    min-height: 420px;
    padding: 1.35rem;
  }

  .hero-slider-shell {
    width: 100%;
    border-radius: 0;
  }

  .slider-section .container {
    width: min(100% - 0.9rem, 100%);
  }

  .slider-section .slider-shell {
    border-radius: 24px;
  }

  .hero-slide,
  .hero-slide-layout {
    min-height: 68vh;
  }

  .hero-slide-layout {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }

  .hero-slider-content h1,
  .hero-slider-content h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-slide-panel {
    justify-self: stretch;
    width: 100%;
    padding: 1.1rem;
  }

  .slider-content h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .slider-controls {
    right: 0.8rem;
    bottom: 4.8rem;
  }

  .slider-meta {
    align-items: flex-start;
  }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }

  .section-vision-compact {
    padding: 2.2rem 0;
  }

  .vision-band {
    padding: 1rem 0.85rem;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(82, 16, 20, 0.2);
  }

  .vision-band-layout {
    gap: 0.85rem;
  }

  .vision-logo-shell {
    width: min(100%, 118px);
    padding: 0.65rem;
    box-shadow: 0 12px 28px rgba(56, 9, 14, 0.22);
  }

  .vision-logo-shell::before {
    inset: -10px;
  }

  .vision-logo-shell img {
    max-width: 72px;
  }

  .vision-content {
    gap: 0.7rem;
  }

  .vision-content[data-mobile-scroll-vision] {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.3rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .vision-content[data-mobile-scroll-vision]::-webkit-scrollbar {
    display: none;
  }

  .vision-point {
    flex: 0 0 88%;
    scroll-snap-align: start;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: start;
  }

  .vision-icon {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 0.95rem;
    box-shadow: 0 8px 16px rgba(54, 8, 13, 0.14);
  }

  .vision-point h3 {
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
  }

  .vision-point p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .vision-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding-top: 0;
  }

  .vision-stat {
    min-height: 0;
    padding: 0.7rem 0.45rem;
    border-radius: 14px;
  }

  .vision-stat::before {
    font-size: 2.4rem;
  }

  .vision-stat strong {
    margin-bottom: 0.2rem;
    font-size: 1.45rem;
  }

  .vision-stat span {
    font-size: 0.72rem;
    line-height: 1.25;
  }
}

@media (max-width: 991px) {
  .hero-grid,
  .page-hero-grid,
  .split-panel,
  .split-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .quick-facts-grid {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .modal-grid,
  .admission-form-grid {
    grid-template-columns: 1fr;
  }

  .footer-admission-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1rem 0;
  }

  .footer-admission-copy {
    width: 100%;
  }

  .footer-admission-copy p {
    font-size: 0.95rem;
  }

  .footer-admission-actions {
    width: 100%;
    flex-direction: column;
  }

  .footer-admission-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.site-utilitybar {
  display: block;
  position: relative;
  z-index: 1002;
  background: var(--secondary);
  color: #fff8ea;
}

.mobile-admission-strip {
  display: none;
  background: #fffdf9;
  border-bottom: 1px solid rgba(28, 31, 54, 0.08);
}

.mobile-admission-strip-inner {
  padding: 0.45rem 0;
}

.mobile-admission-strip .nav-cta {
  width: 100%;
  min-height: 44px;
}

.mobile-admission-inline {
  display: none;
}

.mobile-social-nav {
  display: none;
}

.utilitybar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.5rem 0;
}

.utilitybar-left,
.utilitybar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
}

.utilitybar-left span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff8ea;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
}

.utilitybar-right a {
  color: #fff8ea;
}

.utilitybar-right a {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.utilitybar-right a:hover {
  background: #ffd36b;
  color: var(--secondary);
}

.site-header-modern {
  top: 0;
  width: 100%;
  background: #fffdf9;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 6px 22px rgba(28, 31, 54, 0.1);
  backdrop-filter: none;
}

.navbar-school {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.navbar-school-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 88px;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.brand-school {
  flex: 0 1 auto;
  gap: 0.85rem;
  min-width: 0;
  margin-right: auto;
}

.brand-copy-header {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.brand-copy-header .brand-text {
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 2.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  text-shadow: 0 2px 4px rgba(180, 35, 40, 0.18), 0 6px 16px rgba(143, 28, 35, 0.12);
}

.brand-copy-header .brand-subtext {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.5vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-logo-shell {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 4.75rem;
  height: 4.75rem;
  padding: 0.4rem;
  border-radius: 1rem;
  background: #fffdf7;
  border: 2px solid rgba(255, 247, 219, 0.92);
  box-shadow: 0 12px 28px rgba(15, 22, 48, 0.22);
}

.brand-logo-shell .brand-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.navbar-school .brand-copy {
  gap: 0.26rem;
}

.navbar-school .brand-text {
  color: var(--primary);
  font-size: clamp(1.08rem, 2.8vw, 1.5rem);
}

.navbar-school .brand-subtext {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
}

.navbar-school .nav-menu {
  top: calc(100% + 0.55rem);
  z-index: 1005;
  background: #fff;
  border: 1px solid rgba(28, 31, 54, 0.1);
  box-shadow: 0 18px 40px rgba(28, 31, 54, 0.14);
}

.navbar-school .nav-menu a {
  color: var(--secondary) !important;
}

.navbar-school .nav-menu a:hover,
.navbar-school .nav-menu a.active {
  background: rgba(26, 125, 78, 0.12);
  color: var(--admission-green-dark) !important;
}

.navbar-school .nav-toggle {
  background: #fff;
  border-color: rgba(28, 31, 54, 0.14);
  box-shadow: 0 4px 12px rgba(28, 31, 54, 0.08);
}

.navbar-school .nav-toggle span {
  background: var(--secondary);
}

.nav-cta-wrap {
  margin-left: auto;
}

.nav-cta {
  min-height: 48px;
  padding-inline: 1.25rem;
  white-space: nowrap;
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: inline-flex;
}

.page-hero-compact {
  padding: 1.75rem 0 0.75rem;
}

.page-hero-compact .page-hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.page-hero-compact .page-hero-copy p {
  max-width: 620px;
}

.slider-slide::before {
  background-position: center center;
  background-size: cover;
}

.hero-slide,
.hero-slide-layout {
  min-height: min(70vh, 720px);
}

.hero-slider-content h1,
.hero-slider-content h2 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-slider-content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.94);
}

.hero-slide-panel {
  width: min(100%, 310px);
}

.hero-slide-panel img {
  width: 62px;
  height: 62px;
}

.smudge-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.smudge-box::before,
.smudge-box::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(6px);
}

.smudge-box::before {
  width: 150px;
  height: 150px;
  top: -46px;
  right: -38px;
  background: radial-gradient(circle, rgba(242, 190, 42, 0.18) 0%, rgba(180, 35, 40, 0.08) 52%, transparent 72%);
}

.smudge-box::after {
  width: 180px;
  height: 180px;
  left: -58px;
  bottom: -76px;
  background: radial-gradient(circle, rgba(180, 35, 40, 0.1) 0%, rgba(242, 190, 42, 0.08) 48%, transparent 72%);
}

.smudge-box > * {
  position: relative;
  z-index: 1;
}

.contact-copy.smudge-box {
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow);
}

@media (min-width: 980px) {
  .desktop-only {
    display: inline-flex;
  }

  .mobile-only {
    display: none;
  }

  .navbar-school .nav-menu {
    flex: 1;
    justify-content: center;
    top: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .navbar-school .nav-menu a {
    color: var(--secondary) !important;
  }

  .navbar-school .nav-menu a:hover,
  .navbar-school .nav-menu a.active,
  .navbar-school .nav-dropdown-toggle:hover,
  .navbar-school .nav-dropdown-toggle.active {
    background: rgba(26, 125, 78, 0.1);
    color: var(--admission-green-dark) !important;
  }
}

@media (max-width: 979px) {
  .navbar-school-inner {
    min-height: 78px;
  }

  .brand-logo-shell {
    width: 4.1rem;
    height: 4.1rem;
    padding: 0.32rem;
  }

  .navbar-school .brand-text {
    font-size: 0.96rem;
  }

  .navbar-school .brand-subtext {
    font-size: 0.62rem;
  }

  .brand-copy-header {
    max-width: min(100%, 260px);
  }

  .brand-copy-header .brand-text {
    font-size: 1rem;
  }

  .navbar-school .nav-menu {
    left: 0;
    right: 0;
    padding: 0.75rem;
    border-radius: 1rem;
  }

  .navbar-school .nav-menu a {
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
  }

  .navbar-school .nav-menu .nav-cta {
    width: 100%;
    margin-top: 0.35rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0.2rem;
    padding: 0.25rem 0 0.35rem 0.75rem;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-dropdown-menu a {
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 699px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-utilitybar {
    display: none;
  }

  .mobile-admission-strip {
    display: none;
  }

  .navbar-school-inner {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .brand-school {
    margin-right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
  }

  .brand-copy-header {
    max-width: min(92vw, 360px);
    text-align: center;
    justify-items: center;
  }

  .brand-logo-shell {
    width: 3.65rem;
    height: 3.65rem;
    padding: 0.3rem;
    border-radius: 0.85rem;
  }

  .brand-copy-header .brand-text {
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .brand-copy-header .brand-subtext {
    font-size: 0.58rem;
    letter-spacing: 0.03em;
  }

  .navbar-school .nav-toggle {
    margin: 0;
    align-self: center;
  }

  .mobile-admission-inline {
    display: block;
    width: 100%;
    margin-top: 0.2rem;
  }

  .mobile-admission-inline .nav-cta {
    width: 100%;
    min-height: 44px;
    border-radius: 0;
  }

  .page-hero-compact {
    padding: 1.35rem 0 0.35rem;
  }

  .hero-slide,
  .hero-slide-layout {
    min-height: 74vh;
  }

  .hero-slide::after {
    background: rgba(28, 31, 54, 0.65);
  }

  .modal-panel {
    width: calc(100% - 0.75rem);
    max-height: calc(100vh - 1rem);
    border-radius: 16px;
  }

  .modal-header {
    padding: 1rem 1rem 0.8rem;
  }

  .modal-body {
    padding: 0 1rem 1rem;
  }

  .modal-grid {
    display: flex;
    flex-direction: column;
  }

  .modal-grid .admission-form {
    order: 1;
  }

  .modal-grid .modal-info {
    order: 2;
  }

  .admission-form {
    padding: 1rem;
  }

  .admission-form input,
  .admission-form select,
  .admission-form textarea {
    padding: 0.82rem 0.85rem;
    font-size: 0.95rem;
  }

  .admission-form input[type="date"] {
    font-size: 0.9rem;
  }

  .hero-images-trio {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-images-trio::-webkit-scrollbar {
    display: none;
  }

  .hero-images-trio .hero-photo-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .hero-images-trio .hero-photo-card img {
    transition: transform 0.5s ease;
  }

  .hero-images-trio .hero-photo-card.is-zoomed img {
    transform: scale(1.08);
  }

  .section-gallery-showcase {
    padding: 2.2rem 0;
  }

  .section-gallery-showcase .section-heading {
    margin-bottom: 1rem;
  }

  .section-gallery-showcase .section-heading h2 {
    margin-top: 0.4rem;
    margin-bottom: 0.45rem;
    font-size: clamp(1.45rem, 6.6vw, 1.9rem);
    line-height: 1.2;
  }

  .section-gallery-showcase .section-heading p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .gallery-grid.gallery-real[data-mobile-scroll-gallery] {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-grid.gallery-real[data-mobile-scroll-gallery]::-webkit-scrollbar {
    display: none;
  }

  .gallery-grid.gallery-real[data-mobile-scroll-gallery] .gallery-item {
    flex: 0 0 82%;
    scroll-snap-align: center;
    aspect-ratio: 4 / 3;
  }

  .gallery-grid.gallery-real[data-mobile-scroll-gallery] .gallery-item img {
    transition: transform 0.5s ease;
  }

  .gallery-grid.gallery-real[data-mobile-scroll-gallery] .gallery-item.is-zoomed img {
    transform: scale(1.07);
  }

  .mobile-social-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 0.35rem 0.3rem max(0.35rem, env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid rgba(28, 31, 54, 0.12);
    box-shadow: 0 -10px 24px rgba(28, 31, 54, 0.14);
  }

  .mobile-social-nav a {
    display: grid;
    justify-items: center;
    gap: 0.2rem;
    padding: 0.32rem 0.15rem;
    color: var(--secondary);
    text-align: center;
  }

  .mobile-social-nav i {
    font-size: 1.08rem;
  }

  .mobile-social-nav span {
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
  }

  body {
    padding-bottom: 4.1rem;
  }
}

/* Internal pages — international school layout */
.internal-page {
  position: relative;
  isolation: isolate;
}

.internal-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 190, 42, 0.1), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(180, 35, 40, 0.06), transparent 38%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), transparent);
  pointer-events: none;
  z-index: 0;
}

.internal-page > section {
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.page-breadcrumb a:hover {
  color: var(--primary);
}

.page-breadcrumb i {
  font-size: 0.65rem;
  opacity: 0.55;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1.35rem 1.15rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fffdf7;
  box-shadow: 0 16px 40px rgba(28, 31, 54, 0.14);
}

.stats-band-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-band-item i {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 211, 107, 0.18);
  color: #ffd36b;
  font-size: 1rem;
  flex-shrink: 0;
}

.stats-band-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.1;
}

.stats-band-item span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 248, 234, 0.82);
  font-size: 0.84rem;
  line-height: 1.45;
}

.highlight-band {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background:
    radial-gradient(circle at top right, rgba(242, 190, 42, 0.12), transparent 28%),
    linear-gradient(135deg, #fffdf9 0%, #f4ead6 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlight-band::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 35, 40, 0.1), transparent 70%);
  pointer-events: none;
}

.highlight-band-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.highlight-band-copy h2 {
  margin: 0.55rem 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.highlight-band-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-band-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
  line-height: 1.55;
}

.highlight-band-list i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.pillar-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.pillar-card {
  position: relative;
  padding: 1.25rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #f2be2a);
}

.pillar-card .icon-wrap {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 0.85rem;
  border-radius: 0.9rem;
  font-size: 1.05rem;
}

.pillar-card h3 {
  margin-bottom: 0.45rem;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.step-flow {
  display: grid;
  gap: 1rem;
  counter-reset: stepflow;
}

.step-flow-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow);
}

.step-flow-number {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-flow-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.step-flow-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.detail-panel {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow);
}

.detail-panel-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.detail-panel-head i {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  background: rgba(180, 35, 40, 0.1);
  color: var(--primary);
}

.detail-panel-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li i {
  color: #1a7d4e;
  margin-top: 0.15rem;
}

.contact-cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.contact-info-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-info-card i {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(180, 35, 40, 0.1);
  color: var(--primary);
}

.contact-info-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.contact-info-card p,
.contact-info-card a {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.gallery-category-block {
  margin-bottom: 2rem;
}

.gallery-category-block:last-child {
  margin-bottom: 0;
}

.gallery-category-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(180, 35, 40, 0.2);
}

.gallery-category-head h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.gallery-category-block .gallery-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .gallery-category-block .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.page-breadcrumb a {
  color: var(--muted);
}

.page-breadcrumb a:hover {
  color: var(--primary);
}

.page-cta-section {
  padding-bottom: 2.5rem;
}

.page-cta-band,
.page-cta-band.reveal,
.page-cta-band.reveal.visible {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius);
  background-color: #4a4f63;
  background-image: none;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(28, 31, 54, 0.14);
  border: 1px solid rgba(28, 31, 54, 0.12);
}

.page-cta-band .section-chip {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.page-cta-band .page-cta-copy h2,
.page-cta-band h2 {
  margin: 0.5rem 0 0.65rem;
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

.page-cta-band .page-cta-copy p,
.page-cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
}

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

.page-cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.95);
}

@media (min-width: 700px) {
  .stats-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .step-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-band-layout {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-cta-band {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 980px) {
  .pillar-grid.pillar-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .step-flow.step-flow-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Leadership message pages (Chairman / Principal) */
.leadership-hero-accent {
  border-left: 4px solid var(--cyan);
}

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

@media (min-width: 768px) {
  .leadership-nav-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.leadership-nav-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(28, 31, 54, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.leadership-nav-card i {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 168, 181, 0.12);
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
}

.leadership-nav-card:hover,
.leadership-nav-card:focus-visible {
  border-color: rgba(0, 168, 181, 0.45);
  box-shadow: 0 8px 24px rgba(28, 31, 54, 0.08);
  color: var(--cyan);
}

.leadership-nav-card.is-active {
  border-color: var(--cyan);
  background: rgba(0, 168, 181, 0.06);
  color: var(--cyan);
}

.leadership-split {
  align-items: start;
  gap: 1.75rem;
}

.leadership-sidebar {
  display: grid;
  gap: 1rem;
}

.leadership-portrait-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.leadership-portrait-img,
.leadership-portrait-placeholder {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
}

.leadership-portrait-img {
  object-fit: cover;
  object-position: top center;
}

.leadership-portrait-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(165deg, rgba(0, 168, 181, 0.14), rgba(74, 79, 99, 0.1));
  color: var(--cyan);
  text-align: center;
  padding: 1.5rem;
}

.leadership-portrait-placeholder i {
  font-size: 3.25rem;
  opacity: 0.85;
}

.leadership-portrait-placeholder span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.leadership-portrait-meta {
  padding: 1.15rem 1.25rem 1.35rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.leadership-portrait-meta h2 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.leadership-portrait-meta > p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.leadership-profile-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.leadership-profile-tags li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
}

.leadership-profile-tags i {
  color: var(--cyan);
}

.leadership-letter {
  padding: 1.5rem 1.35rem;
}

.leadership-letter h2 {
  margin-top: 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.leadership-intro {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--cyan);
}

.leadership-letter p,
.leadership-letter-full p {
  line-height: 1.75;
  color: var(--text-muted);
}

.leadership-letter-full {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.75rem 1.5rem;
}

.leadership-letter-full p {
  text-align: justify;
  hyphens: auto;
}

.leadership-letter-full h2 {
  margin-top: 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  text-align: left;
}

.leadership-letter-full .leadership-intro {
  text-align: left;
}

.leadership-profile-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.leadership-profile-bar-photo {
  flex-shrink: 0;
  width: 7.5rem;
}

.leadership-profile-bar-photo img,
.leadership-portrait-placeholder--compact {
  width: 7.5rem;
  height: 9rem;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: top center;
  display: block;
  box-shadow: 0 8px 20px rgba(28, 31, 54, 0.12);
}

.leadership-portrait-placeholder--compact {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(0, 168, 181, 0.14), rgba(74, 79, 99, 0.1));
  color: var(--cyan);
}

.leadership-portrait-placeholder--compact i {
  font-size: 2rem;
}

.leadership-profile-bar-meta {
  flex: 1 1 200px;
}

.leadership-profile-bar-meta h2 {
  margin: 0.35rem 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.leadership-profile-bar-meta > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.leadership-profile-tags--inline {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .leadership-profile-tags--inline {
    flex: 1 1 auto;
    grid-template-columns: 1fr;
    max-width: 220px;
  }

  .leadership-letter-full {
    padding: 2rem 2.5rem;
  }
}

@media (min-width: 980px) {
  .leadership-profile-bar {
    flex-wrap: nowrap;
  }

  .leadership-profile-tags--inline {
    max-width: 260px;
  }
}

/* Leadership showcase (Chairman / Principal profile card) */
.leadership-showcase {
  margin-bottom: 1.5rem;
}

.leadership-showcase-card {
  position: relative;
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(28, 31, 54, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(28, 31, 54, 0.1);
  overflow: hidden;
}

.leadership-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), rgba(180, 35, 40, 0.85));
  z-index: 2;
}

.leadership-showcase-photo-col {
  position: relative;
  padding: 1.5rem 1.5rem 0;
  background: linear-gradient(180deg, rgba(0, 168, 181, 0.07) 0%, rgba(255, 255, 255, 0) 100%);
}

.leadership-showcase-frame {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  padding: 0.5rem;
  border-radius: calc(var(--radius-lg) - 4px);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(28, 31, 54, 0.06),
    0 0 0 4px rgba(0, 168, 181, 0.12),
    0 20px 40px rgba(28, 31, 54, 0.14);
}

.leadership-showcase-frame::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  bottom: -0.35rem;
  width: 3.5rem;
  height: 3.5rem;
  border-right: 3px solid rgba(0, 168, 181, 0.45);
  border-bottom: 3px solid rgba(0, 168, 181, 0.45);
  border-radius: 0 0 var(--radius-sm) 0;
  pointer-events: none;
}

.leadership-showcase-frame img,
.leadership-showcase-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius-md) - 2px);
  object-fit: cover;
  object-position: center 32%;
}

.leadership-showcase-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(0, 168, 181, 0.12), rgba(74, 79, 99, 0.1));
  color: var(--cyan);
  font-size: 3.5rem;
}

.leadership-showcase-body {
  padding: 1.35rem 1.5rem 1.65rem;
}

.leadership-showcase-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: rgba(180, 35, 40, 0.1);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leadership-showcase-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leadership-showcase-name {
  margin: 0 0 0.45rem;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--secondary);
}

.leadership-showcase-role {
  margin: 0 0 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.leadership-showcase-traits {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leadership-showcase-traits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(28, 31, 54, 0.03);
  border: 1px solid rgba(28, 31, 54, 0.06);
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

.leadership-showcase-trait-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(0, 168, 181, 0.12);
  color: var(--cyan);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .leadership-showcase-card {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    align-items: stretch;
  }

  .leadership-showcase-photo-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(0, 168, 181, 0.09) 0%, rgba(255, 255, 255, 0) 55%);
  }

  .leadership-showcase-frame {
    max-width: 100%;
    width: 100%;
  }

  .leadership-showcase-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.25rem 2rem 1.5rem;
  }

  .leadership-showcase-traits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .leadership-showcase-traits li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.85rem 0.75rem;
    text-align: left;
    min-height: 5.5rem;
  }
}

@media (min-width: 980px) {
  .leadership-showcase-photo-col {
    padding-left: 2.5rem;
  }

  .leadership-showcase-body {
    padding-right: 2.5rem;
  }
}

/* Faculty details page */
.section-lead {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  max-width: 52ch;
}

.faculty-grid {
  display: grid;
  gap: 1.5rem;
}

.faculty-card {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faculty-card-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: #f4f6f8;
}

.faculty-card-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.faculty-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  aspect-ratio: 1 / 1;
  color: var(--cyan);
  background: linear-gradient(165deg, rgba(0, 168, 181, 0.1), rgba(74, 79, 99, 0.08));
}

.faculty-photo-placeholder i {
  font-size: 2.75rem;
  opacity: 0.85;
}

.faculty-photo-placeholder span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.faculty-designation-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--grey-800, #4a4f63);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faculty-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.faculty-card-body h3 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.faculty-details-list {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.faculty-details-list > div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.faculty-details-list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faculty-details-list dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.faculty-details-list dd {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: justify;
}

@media (min-width: 700px) {
  .faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faculty-card {
    grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
    align-items: stretch;
  }
}

.leadership-signature {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid rgba(0, 168, 181, 0.2);
}

.leadership-signature p {
  margin: 0.25rem 0;
}

.leadership-sign-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 700;
}

.leadership-quote-band {
  background: var(--grey-800, #4a4f63);
  color: #fff;
  padding: 2.25rem 0;
}

.leadership-quote-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

.leadership-quote-icon {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
}

.leadership-quote-band blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.leadership-quote-band blockquote p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  font-style: italic;
}

@media (min-width: 768px) {
  .leadership-split {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  }

  .leadership-sidebar {
    position: sticky;
    top: 6.5rem;
  }
}

@media (min-width: 980px) {
  .leadership-letter {
    padding: 2rem 2.25rem;
  }
}

@media (max-width: 699px) {
  .leadership-nav-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
