/* Sharada Vidyalaya — static school site */
:root {
  --ink: #1a2744;
  --ink-soft: #3d4f6f;
  --cream: #fffbf5;
  --white: #ffffff;
  --sky: #3b82c4;
  --sky-deep: #2563a8;
  --mint: #2d9d78;
  --mint-dark: #1f7a5c;
  --gold: #e8a838;
  --gold-soft: #f5d78a;
  --coral: #e85d5d;
  --lavender: #8b7fd8;
  --shadow: 0 12px 40px rgba(26, 39, 68, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: var(--sky-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--white) 0%, #f0f7ff 100%);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(37, 99, 168, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--sky) 0%, var(--mint) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px rgba(45, 157, 120, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-org {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2.05rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  background: var(--sky-deep);
  color: var(--white);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: center;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

@media (min-width: 1100px) {
  .site-nav a {
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
  }
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(59, 130, 196, 0.15), rgba(232, 168, 56, 0.2));
  color: var(--sky-deep);
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    width: 100%;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
  }

  .site-nav a {
    padding: 0.75rem 1rem;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(232, 168, 56, 0.25), transparent),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(59, 130, 196, 0.2), transparent),
    linear-gradient(165deg, #e8f4fc 0%, #fff5e6 45%, #e8f8f0 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563a8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 36ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge--sky {
  background: rgba(59, 130, 196, 0.2);
  color: var(--sky-deep);
}

.badge--mint {
  background: rgba(45, 157, 120, 0.2);
  color: var(--mint-dark);
}

.badge--gold {
  background: rgba(232, 168, 56, 0.25);
  color: #9a6b12;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--sky-deep), var(--mint));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 99, 168, 0.35);
}

.btn--secondary {
  background: var(--white);
  color: var(--sky-deep);
  border: 2px solid var(--sky-deep);
  box-shadow: var(--shadow);
}

.hero-visual {
  display: grid;
  place-items: center;
}

/* Home hero: five photos as one framed collage */
.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  padding: 5px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 3px var(--gold-soft);
  background: linear-gradient(145deg, #1a2744 0%, #2d4a6f 100%);
}

.hero-collage__banners {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  min-height: 0;
}

@media (max-width: 380px) {
  .hero-collage__banners {
    grid-template-columns: 1fr;
  }
}

.hero-collage__banner {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
  min-height: 0;
}

.hero-collage__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}

.hero-collage__cell {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  min-height: 0;
}

.hero-collage__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}

@media (min-width: 768px) {
  .hero-collage {
    max-width: 440px;
    gap: 6px;
    padding: 6px;
  }
}

@media (min-width: 1024px) {
  .hero-collage {
    max-width: 520px;
  }
}

.hero-card {
  width: min(100%, 380px);
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--lavender) 0%, var(--sky) 50%, var(--mint) 100%);
  box-shadow: var(--shadow), 0 0 0 4px var(--gold-soft);
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--white);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Sections */
section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 2rem;
}

/* Feature cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card--mint {
  border-top-color: var(--mint);
}

.card--sky {
  border-top-color: var(--sky);
}

.card--coral {
  border-top-color: var(--coral);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
}

/* Strip */
.strip {
  background: linear-gradient(90deg, var(--sky-deep), var(--mint));
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

.strip p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

/* Page header (inner pages) */
.page-hero {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: linear-gradient(135deg, #e0f0ff 0%, #fff8e8 50%, #e6f7ef 100%);
  border-bottom: 4px solid var(--gold);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 55ch;
}

/* Board / Staff */
.person-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.person-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(37, 99, 168, 0.1);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}

.person-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(26, 39, 68, 0.18);
  border-color: rgba(232, 168, 56, 0.45);
}

.person-card:focus-within {
  box-shadow: 0 18px 55px rgba(26, 39, 68, 0.18), 0 0 0 3px rgba(232, 168, 56, 0.45);
}

.person-card--expand-photo {
  cursor: pointer;
}

.person-card--expand-photo:focus {
  outline: none;
}

.person-card--expand-photo:focus-visible {
  box-shadow:
    0 18px 55px rgba(26, 39, 68, 0.18),
    0 0 0 3px rgba(232, 168, 56, 0.55);
}

.person-lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(15, 23, 42, 0.92);
  display: grid;
  place-items: center;
  padding: 1.5rem 4rem;
  cursor: zoom-out;
}

.person-lightbox[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .person-lightbox {
    padding: 0.75rem 0.75rem;
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }

  .person-lightbox img {
    max-width: 100dvw;
    max-height: calc(100dvh - 5.25rem);
    border-radius: 14px;
  }

  .person-lightbox__close {
    position: fixed;
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
    right: calc(0.75rem + env(safe-area-inset-right, 0px));
  }
}

.person-lightbox img {
  max-width: min(96dvw, 1200px);
  max-height: 88dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  cursor: default;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
}

.person-lightbox__close {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  right: calc(1rem + env(safe-area-inset-right, 0px));
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.person-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.person-photo {
  height: 200px;
  min-height: 200px;
  width: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--white);
  position: relative;
}

.person-photo--img {
  padding: 0;
  display: block;
}

.person-photo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
  filter: contrast(1.02) saturate(1.02);
  position: relative;
  z-index: 1;
}

@media (max-width: 520px) {
  .person-photo {
    height: 240px;
    min-height: 240px;
  }

  .person-photo--img img {
    object-position: 50% 12%;
  }

  .person-photo--round.person-photo--img img {
    width: 200px;
    height: 200px;
    object-position: 50% 12%;
  }
}

.person-photo--round {
  display: grid;
  place-items: center;
}

.person-photo--round.person-photo--img img {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.25);
  object-position: 50% 20%;
  transform: none;
}

.person-card:hover .person-photo--round.person-photo--img img {
  transform: scale(1.06);
}

.person-photo--contain img {
  object-fit: contain;
  background: transparent;
  transform: none;
  filter: none;
}

.person-photo--contain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.12);
  background-image: var(--photo-url);
  background-size: cover;
  background-position: center;
  filter: blur(26px);
  transform: scale(1.25);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.person-photo--contain.person-photo--img::after {
  opacity: 0.35;
}

.person-photo--contain img {
  padding: 10px;
}

.person-card:hover .person-photo--contain img {
  transform: none;
  filter: none;
}

.person-photo--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 55% 38%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.18));
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}

.person-card:hover .person-photo--img img {
  transform: scale(1.08);
  filter: contrast(1.04) saturate(1.06);
}
.person-photo--1 {
  background: linear-gradient(145deg, var(--sky), var(--lavender));
}

.person-photo--2 {
  background: linear-gradient(145deg, var(--mint), var(--sky));
}

.person-photo--3 {
  background: linear-gradient(145deg, var(--gold), var(--coral));
}

.person-photo--4 {
  background: linear-gradient(145deg, var(--coral), var(--lavender));
}

.person-photo--5 {
  background: linear-gradient(145deg, var(--lavender), var(--mint));
}

.person-body {
  padding: 1.25rem 1.35rem;
}

.person-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
  color: var(--ink);
}

.person-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sky-deep);
  margin: 0 0 0.5rem;
}

.person-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--gold-soft);
}

/* Academics */
.level-list {
  display: grid;
  gap: 1rem;
}

.level-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--white);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--mint);
}

.level-item:nth-child(2) {
  border-left-color: var(--sky);
}

.level-item:nth-child(3) {
  border-left-color: var(--gold);
}

.level-item:nth-child(4) {
  border-left-color: var(--lavender);
}

.level-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky-deep), var(--mint));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.level-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.level-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (min-width: 768px) {
  .gallery-grid {
    gap: 1.15rem;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  margin: 0;
  position: relative;
  outline: none;
}

.gallery-item:focus-visible {
  box-shadow: var(--shadow), 0 0 0 3px var(--gold);
}

.gallery-animate {
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  filter: saturate(0.85);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s ease;
  transition-delay: calc(min(var(--i, 0), 14) * 0.05s);
}

.gallery-animate.gallery-animate--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1);
}

.gallery-item.gallery-animate--visible:hover img,
.gallery-item.gallery-animate--visible:focus-visible img {
  transform: scale(1.06);
}

.gallery-item.gallery-animate--visible:hover video,
.gallery-item.gallery-animate--visible:focus-visible video {
  transform: scale(1.06);
}

.gallery-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(59, 130, 196, 0.08), rgba(232, 168, 56, 0.1));
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  max-width: 42rem;
  margin-inline: auto;
}

.gallery-empty code {
  font-size: 0.88em;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.92);
  display: grid;
  place-items: center;
  padding: 1.5rem 4rem;
  cursor: zoom-out;
}

.gallery-lightbox[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .gallery-lightbox {
    padding: 1.25rem 2.75rem;
  }
}

.gallery-lightbox img,
.gallery-lightbox video {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  cursor: default;
  position: relative;
  z-index: 1;
}

.gallery-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, opacity 0.2s;
}

.gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gallery-lightbox__nav[hidden] {
  display: none;
}

.gallery-lightbox__prev {
  left: 0.75rem;
}

.gallery-lightbox__next {
  right: 0.75rem;
}

@media (max-width: 600px) {
  .gallery-lightbox__prev {
    left: 0.35rem;
  }

  .gallery-lightbox__next {
    right: 0.35rem;
  }

  .gallery-lightbox__nav {
    width: 44px;
    height: 44px;
  }
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  text-align: center;
  padding: 1rem;
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

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

.contact-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list strong {
  min-width: 5rem;
  color: var(--sky-deep);
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(37, 99, 168, 0.2);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
  background: var(--cream);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.2);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

.map-placeholder {
  margin-top: 1rem;
  height: 220px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dbeafe, #d1fae5);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-weight: 600;
  border: 2px dashed rgba(37, 99, 168, 0.25);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--ink) 0%, #121a2e 100%);
  color: #c5d0e8;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer .footer-brand::before {
  content: "";
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: url("../images/logoschl.jpg") center/cover no-repeat;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.16);
}

.site-footer .footer-brand h3 {
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.site-footer .footer-brand + p {
  margin-top: 0.6rem;
}

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

.site-footer a {
  color: #a8b8d8;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
  text-decoration: none;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .footer-credit {
  margin-top: 0.65rem;
  color: #8a9ab8;
  font-size: 0.85rem;
}

/* Two column content */
.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.prose p:last-child {
  margin-bottom: 0;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(232, 168, 56, 0.15), rgba(59, 130, 196, 0.12));
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(232, 168, 56, 0.35);
}

.highlight-box h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.highlight-box ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.highlight-box li {
  margin-bottom: 0.35rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.65rem 1.1rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Logo in header */
.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(244, 140, 49, 0.35);
  object-fit: cover;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 0.65rem 0 0;
  font-size: 0.88rem;
}

.breadcrumbs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  color: var(--ink-soft);
}

.breadcrumbs-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: "/";
  color: #94a3b8;
  font-weight: 400;
  margin-left: 0.35rem;
}

.breadcrumbs-list a {
  color: var(--sky-deep);
  font-weight: 600;
}

.breadcrumbs-list [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* Hero with campus visual */
.hero--with-image {
  background:
    linear-gradient(105deg, rgba(255, 251, 245, 0.92) 0%, rgba(255, 251, 245, 0.75) 45%, transparent 70%),
    url("../images/hero-campus.svg") right center / min(55%, 520px) no-repeat,
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(232, 168, 56, 0.25), transparent),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(59, 130, 196, 0.2), transparent),
    linear-gradient(165deg, #e8f4fc 0%, #fff5e6 45%, #e8f8f0 100%);
}

@media (max-width: 767px) {
  .hero--with-image {
    background:
      linear-gradient(180deg, rgba(255, 251, 245, 0.97) 0%, rgba(255, 251, 245, 0.88) 55%, transparent 100%),
      url("../images/hero-campus.svg") bottom right / 280px no-repeat,
      radial-gradient(ellipse 80% 60% at 100% 0%, rgba(232, 168, 56, 0.2), transparent),
      linear-gradient(165deg, #e8f4fc 0%, #fff5e6 50%, #e8f8f0 100%);
  }
}

/* Principal welcome */
.principal-block {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(37, 99, 168, 0.1);
}

@media (min-width: 768px) {
  .principal-block {
    grid-template-columns: 200px 1fr;
  }
}

.principal-block img {
  width: 100%;
  max-width: 220px;
  margin-inline: auto;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
}

.principal-block .quote {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  font-style: italic;
  border-left: 4px solid var(--mint);
  padding-left: 1.25rem;
}

.principal-block .sig {
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  font-family: var(--font-display);
}

.principal-block .role {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--sky-deep);
}

/* Notices */
.notices-board {
  background: linear-gradient(135deg, #1e3a5f 0%, var(--sky-deep) 100%);
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.notices-board h2 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notice-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.notice-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.notice-date {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
  padding: 0.5rem 0.65rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: 10px;
  min-width: 3.5rem;
}

.notice-body strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.notice-body span {
  font-size: 0.95rem;
  opacity: 0.92;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--lavender);
  margin: 0;
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
}

.testimonial figcaption {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.testimonial .parent-of {
  font-weight: 600;
  color: var(--sky-deep);
  font-size: 0.85rem;
}

/* Facilities page icon row */
.facility-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-left: 4px solid var(--mint);
}

.facility-card:nth-child(3n + 2) {
  border-left-color: var(--sky);
}

.facility-card:nth-child(3n) {
  border-left-color: var(--gold);
}

.facility-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--sky-deep);
  display: grid;
  place-items: center;
}

.facility-icon svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.facility-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.facility-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Admissions timeline / steps */
.steps-list {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--sky-deep), var(--mint));
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
}

/* Contact quick actions */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  filter: brightness(1.05);
}

.map-embed {
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  height: 450px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(26, 39, 68, 0.1);
}

/* Privacy / legal prose */
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose ul {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.legal-prose ul {
  padding-left: 1.35rem;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--sky-deep), var(--mint));
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37, 99, 168, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.back-to-top:hover {
  filter: brightness(1.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .back-to-top,
  .skip-link,
  .breadcrumbs {
    display: none !important;
  }

  body {
    background: white;
    color: #000;
    font-size: 12pt;
  }

  main {
    display: block;
  }

  .contact-list a[href^="mailto:"]::after,
  .contact-list a[href^="tel:"]::after {
    content: " — " attr(href);
    font-size: 0.8em;
    font-weight: 400;
  }

  .card,
  .contact-card,
  .person-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
