/* ─── TOKENS ──────────────────────────────────────────────────── */
:root {
  --navy:        #0C2D48;
  --navy-deep:   #071D30;
  --navy-light:  #1A4A6B;
  --gold:        #C8871A;
  --gold-pale:   #FBF0DC;
  --gold-hover:  #A86D0E;
  --green:       #2D6A4F;
  --green-pale:  #EBF5F0;
  --ink:         #0F1923;
  --ivory:       #F8F7F2;
  --ivory-alt:   #EFECE5;
  --muted:       #536778;
  --border:      #DDD8CC;
  --white:       #FFFFFF;
  --ff-display:  'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --ff-body:     system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-label:    'Trebuchet MS', 'Gill Sans MT', 'Gill Sans', sans-serif;
  --t-xs:        0.70rem;
  --t-sm:        0.85rem;
  --t-base:      1rem;
  --t-lg:        1.125rem;
  --t-xl:        1.375rem;
  --t-2xl:       1.75rem;
  --t-3xl:       2.25rem;
  --t-hero:      clamp(2.6rem, 5.5vw, 4.8rem);
  --radius-sm:   3px;
  --radius:      6px;
  --shadow:      0 2px 12px rgba(12,45,72,.10);
  --shadow-md:   0 6px 28px rgba(12,45,72,.15);
  --nav-h:       68px;
  --max-w:       1180px;
  --section-py:  clamp(4rem, 8vw, 7rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #E8E3D8; --ivory: #0F1923; --ivory-alt: #131E27;
    --muted: #8FA4BA; --border: #1E3347; --white: #101E2B;
    --gold-pale: #1E2E1A; --green-pale: #0D1E18;
  }
}
:root[data-theme="dark"] {
  --ink: #E8E3D8; --ivory: #0F1923; --ivory-alt: #131E27;
  --muted: #8FA4BA; --border: #1E3347; --white: #101E2B;
  --gold-pale: #1E2E1A; --green-pale: #0D1E18;
}
:root[data-theme="light"] {
  --ink: #0F1923; --ivory: #F8F7F2; --ivory-alt: #EFECE5;
  --muted: #536778; --border: #DDD8CC; --white: #FFFFFF;
  --gold-pale: #FBF0DC; --green-pale: #EBF5F0;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--ff-body); font-size: var(--t-base); color: var(--ink); background: var(--ivory); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul { list-style: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.section { padding-block: var(--section-py); }
.eyebrow { font-family: var(--ff-label); font-size: var(--t-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .5rem; }
.section-title { font-family: var(--ff-display); font-size: var(--t-3xl); font-weight: 400; line-height: 1.2; text-wrap: balance; color: var(--navy); }
.section-title--light { color: var(--white); }
.lead { font-size: var(--t-lg); color: var(--muted); max-width: 58ch; margin-top: .75rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-label); font-size: var(--t-sm); font-weight: 600; letter-spacing: .05em; padding: .7rem 1.6rem; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.85); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.tag { font-family: var(--ff-label); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 2px; }
.tag-notice  { background: #FEE2E2; color: #991B1B; }
.tag-event   { background: #DBEAFE; color: #1E40AF; }
.tag-achieve { background: #D1FAE5; color: #065F46; }
.tag-general { background: var(--ivory-alt); color: var(--muted); }
.form-success { background: var(--green-pale); color: var(--green); padding: .85rem 1rem; border-left: 3px solid var(--green); font-size: var(--t-sm); margin-bottom: 1rem; }
.form-error   { background: #FEE2E2; color: #991B1B; padding: .85rem 1rem; border-left: 3px solid #991B1B; font-size: var(--t-sm); margin-bottom: 1rem; }

/* ─── NAV ────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy-deep); height: var(--nav-h); display: flex; align-items: center; box-shadow: 0 2px 16px rgba(0,0,0,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.nav-logo { width: 42px; height: 42px; flex-shrink: 0; }
.nav-custom-logo img { height: 42px; width: auto; }
.nav-brand-name { font-family: var(--ff-display); font-size: 1.05rem; color: var(--white); font-weight: 700; }
.nav-brand-sub { font-family: var(--ff-label); font-size: .62rem; color: rgba(255,255,255,.5); letter-spacing: .1em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links li { list-style: none; }
.nav-links a { font-family: var(--ff-label); font-size: var(--t-sm); color: rgba(255,255,255,.75); padding: .45rem .75rem; border-radius: var(--radius-sm); transition: color .2s, background .2s; letter-spacing: .03em; display: block; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--gold); background: transparent; }
.nav-cta { background: var(--gold) !important; color: var(--white) !important; padding: .45rem 1.1rem !important; font-weight: 600; }
.nav-cta:hover { background: var(--gold-hover) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .5rem; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--navy-deep); padding: 1.5rem 1.5rem 2rem; gap: .25rem; box-shadow: 0 8px 24px rgba(0,0,0,.3); z-index: 99; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--ff-label); font-size: var(--t-base); color: rgba(255,255,255,.8); padding: .7rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06); letter-spacing: .03em; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold); }

/* ─── HERO SLIDER ────────────────────────────────────────────── */
.hero { position: relative; height: calc(100vh - var(--nav-h)); min-height: 520px; overflow: hidden; background: var(--navy-deep); }
.slide-track { display: flex; height: 100%; will-change: transform; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.hero-slide { flex: 0 0 100%; width: 100%; position: relative; display: flex; align-items: center; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; transform: scale(1.06); transition: transform 7s ease; }
.hero-slide.s-active .slide-bg { transform: scale(1); }
.slide-bg--1 { background-image: radial-gradient(ellipse at 70% 40%, rgba(36,133,168,.6) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(12,45,72,.9) 0%, transparent 50%), linear-gradient(120deg, #071D30 0%, #0C3D5E 60%, #1A6B8A 100%); }
.slide-bg--2 { background-image: radial-gradient(ellipse at 60% 30%, rgba(45,106,79,.8) 0%, transparent 55%), radial-gradient(ellipse at 10% 70%, rgba(7,29,48,.9) 0%, transparent 50%), linear-gradient(130deg, #071D30 0%, #163D28 55%, #2D6A4F 100%); }
.slide-bg--3 { background-image: radial-gradient(ellipse at 55% 35%, rgba(200,135,26,.55) 0%, transparent 55%), radial-gradient(ellipse at 15% 75%, rgba(7,29,48,.95) 0%, transparent 50%), linear-gradient(130deg, #071D30 0%, #3B2000 55%, #7A4800 100%); }
.slide-bg--4 { background-image: radial-gradient(ellipse at 65% 30%, rgba(90,40,140,.7) 0%, transparent 55%), radial-gradient(ellipse at 10% 70%, rgba(7,29,48,.9) 0%, transparent 50%), linear-gradient(130deg, #071D30 0%, #2D1050 55%, #5A2D8A 100%); }
.slide-bg::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, transparent, transparent 38px, rgba(255,255,255,.012) 38px, rgba(255,255,255,.012) 39px); }
/* When a real image is set, overlay ensures text stays readable */
.slide-bg[style] { background-size: cover !important; background-position: center !important; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(7,29,48,.82) 0%, rgba(7,29,48,.55) 55%, rgba(7,29,48,.15) 100%); z-index: 1; }
.slide-content { position: relative; z-index: 2; width: 100%; max-width: var(--max-w); margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.slide-inner { max-width: 640px; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-label); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(200,135,26,.35); border-radius: 2px; padding: .3rem .8rem; margin-bottom: 1.5rem; opacity: 0; transform: translateY(16px); transition: opacity .5s .1s, transform .5s .1s; }
.hero-title { font-family: var(--ff-display); font-size: var(--t-hero); font-weight: 400; line-height: 1.1; color: var(--white); text-wrap: balance; margin-bottom: 1.25rem; opacity: 0; transform: translateY(20px); transition: opacity .55s .2s, transform .55s .2s; }
.hero-title em { font-style: italic; color: #D4A84B; }
.hero-sub { font-size: var(--t-lg); color: rgba(255,255,255,.65); max-width: 46ch; line-height: 1.6; margin-bottom: 2.25rem; opacity: 0; transform: translateY(18px); transition: opacity .55s .32s, transform .55s .32s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; opacity: 0; transform: translateY(14px); transition: opacity .5s .44s, transform .5s .44s; }
.hero-slide.s-active .hero-badge, .hero-slide.s-active .hero-title, .hero-slide.s-active .hero-sub, .hero-slide.s-active .hero-actions { opacity: 1; transform: translateY(0); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; backdrop-filter: blur(4px); }
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); }
.slider-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.slider-prev { left: clamp(.75rem, 2vw, 1.75rem); }
.slider-next { right: clamp(.75rem, 2vw, 1.75rem); }
.slider-dots { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: .5rem; align-items: center; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; padding: 0; transition: background .25s, width .25s; }
.slider-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }
.slider-counter { position: absolute; bottom: 1.85rem; right: clamp(.75rem, 2vw, 1.75rem); z-index: 10; font-family: var(--ff-label); font-size: var(--t-xs); color: rgba(255,255,255,.4); letter-spacing: .1em; }
.slider-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--gold); z-index: 10; width: 0; transition: width 5s linear; }
.slider-progress.running { width: 100%; }

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar { background: var(--gold); padding-block: 1.25rem; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-item { text-align: center; padding: .5rem; }
.stat-value { font-family: var(--ff-display); font-size: 1.75rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-label { font-family: var(--ff-label); font-size: var(--t-xs); color: rgba(255,255,255,.75); letter-spacing: .08em; text-transform: uppercase; margin-top: .3rem; }

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about { background: var(--ivory-alt); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-facts { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.fact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.25rem; background: var(--white); border-left: 3px solid var(--gold); box-shadow: var(--shadow); }
.fact-icon { flex-shrink: 0; width: 36px; height: 36px; background: var(--gold-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.fact-text strong { display: block; font-family: var(--ff-label); font-size: var(--t-sm); font-weight: 700; color: var(--navy); letter-spacing: .02em; margin-bottom: .15rem; }
.fact-text p { font-size: var(--t-sm); color: var(--muted); }
.principal-card { background: var(--navy); padding: 2.25rem; position: relative; }
.principal-card::before { content: '\201C'; position: absolute; top: 1rem; right: 1.5rem; font-family: var(--ff-display); font-size: 7rem; color: rgba(255,255,255,.06); line-height: 1; font-style: italic; }
.principal-top { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
.principal-photo { width: 72px; height: 72px; border-radius: 50%; background: var(--navy-light); flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(200,135,26,.4); overflow: hidden; }
.principal-name { font-family: var(--ff-display); font-size: var(--t-xl); color: var(--white); font-weight: 600; }
.principal-role { font-family: var(--ff-label); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
.principal-message { font-family: var(--ff-display); font-size: var(--t-lg); font-style: italic; color: rgba(255,255,255,.82); line-height: 1.7; }
.principal-message cite { display: block; font-family: var(--ff-body); font-style: normal; font-size: var(--t-sm); color: rgba(255,255,255,.45); margin-top: 1.25rem; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.1); }

/* ─── NEWS ───────────────────────────────────────────────────── */
.news { background: var(--navy-deep); }
.news-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.news-filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-btn { font-family: var(--ff-label); font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 2px; background: transparent; color: rgba(255,255,255,.55); cursor: pointer; transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--gold); color: var(--white); border-color: var(--gold); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.news-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); padding: 1.5rem; transition: background .2s, transform .2s; cursor: pointer; position: relative; overflow: hidden; }
.news-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .3s; }
.news-card:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }
.news-card:hover::after { width: 100%; }
.news-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.news-date { font-family: var(--ff-label); font-size: var(--t-xs); color: rgba(255,255,255,.4); letter-spacing: .06em; }
.news-title { font-family: var(--ff-display); font-size: var(--t-xl); color: var(--white); font-weight: 400; line-height: 1.3; margin-bottom: .6rem; text-wrap: balance; }
.news-excerpt { font-size: var(--t-sm); color: rgba(255,255,255,.5); line-height: 1.6; }
.news-link { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--ff-label); font-size: var(--t-xs); color: var(--gold); margin-top: 1rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }

/* ─── GALLERY ────────────────────────────────────────────────── */
.gallery { background: var(--ivory); }
.gallery-tabs { display: flex; gap: .5rem; margin: 2rem 0 2.5rem; border-bottom: 2px solid var(--border); padding-bottom: .5rem; }
.gallery-tab { font-family: var(--ff-label); font-size: var(--t-sm); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .5rem 1.25rem; background: none; border: none; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .2s, border-color .2s; }
.gallery-tab.active { color: var(--navy); border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.gallery-grid.hidden { display: none; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-thumb { width: 100%; padding-top: 70%; position: relative; overflow: hidden; }
.gallery-item:nth-child(1) .gallery-thumb { padding-top: 140%; }
.gallery-item:nth-child(5) .gallery-thumb { padding-top: 35%; }
.gallery-fill { position: absolute; inset: 0; transition: transform .4s; background-size: cover; background-position: center; }
.gallery-item:hover .gallery-fill { transform: scale(1.04); }
.gallery-fill--1 { background-color: #1B4F72; background-image: linear-gradient(135deg, #1B4F72 0%, #2980B9 50%, #82C4F8 100%); }
.gallery-fill--2 { background-color: #1E8449; background-image: linear-gradient(135deg, #1E8449 0%, #27AE60 50%, #A9DFBF 100%); }
.gallery-fill--3 { background-color: #7D3C98; background-image: linear-gradient(135deg, #7D3C98 0%, #A569BD 50%, #D2B4DE 100%); }
.gallery-fill--4 { background-color: #B7950B; background-image: linear-gradient(135deg, #B7950B 0%, #D4AC0D 50%, #F9E79F 100%); }
.gallery-fill--5 { background-color: #922B21; background-image: linear-gradient(135deg, #922B21 0%, #CB4335 50%, #F1948A 100%); }
.gallery-fill--6 { background-color: #0E6655; background-image: linear-gradient(135deg, #0E6655 0%, #1ABC9C 50%, #A2D9CE 100%); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(12,45,72,.0); transition: background .3s; display: flex; align-items: flex-end; }
.gallery-item:hover .gallery-overlay { background: rgba(12,45,72,.5); }
.gallery-caption { font-family: var(--ff-label); font-size: var(--t-xs); color: transparent; letter-spacing: .06em; text-transform: uppercase; padding: .75rem; transition: color .3s; }
.gallery-item:hover .gallery-caption { color: rgba(255,255,255,.85); }
.video-grid { display: none; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.video-grid.active { display: grid; }
.video-card { background: var(--ivory-alt); overflow: hidden; cursor: pointer; }
.video-thumb { width: 100%; padding-top: 56.25%; position: relative; }
.video-fill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-fill--1 { background: linear-gradient(135deg, #154360 0%, #1F618D 100%); }
.video-fill--2 { background: linear-gradient(135deg, #145A32 0%, #1E8449 100%); }
.video-fill--3 { background: linear-gradient(135deg, #4A235A 0%, #7D3C98 100%); }
.play-btn { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: background .2s, transform .2s; }
.video-card:hover .play-btn { background: var(--gold); border-color: var(--gold); transform: scale(1.08); }
.play-btn svg { margin-left: 3px; }
.video-info { padding: .85rem 1rem; }
.video-title { font-family: var(--ff-display); font-size: var(--t-base); color: var(--ink); font-weight: 400; }
.video-dur { font-family: var(--ff-label); font-size: var(--t-xs); color: var(--muted); margin-top: .2rem; letter-spacing: .05em; }

/* ─── ACADEMICS ──────────────────────────────────────────────── */
.academics { background: var(--green-pale); }
.programs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
.program-card { background: var(--white); padding: 1.5rem 1.25rem; border-top: 3px solid var(--border); box-shadow: var(--shadow); transition: border-color .2s, transform .2s, box-shadow .2s; }
.program-card:hover { border-top-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program-level { font-family: var(--ff-label); font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: .5rem; }
.program-name { font-family: var(--ff-display); font-size: var(--t-xl); color: var(--navy); font-weight: 600; margin-bottom: .35rem; line-height: 1.2; }
.program-ages { font-size: var(--t-sm); color: var(--muted); margin-bottom: 1.25rem; }
.program-subjects { display: flex; flex-direction: column; gap: .4rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.program-subject { font-size: var(--t-sm); color: var(--ink); display: flex; gap: .5rem; align-items: flex-start; }
.program-subject::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: .55rem; }
.cbse-note { margin-top: 2rem; padding: 1rem 1.5rem; background: var(--white); border-left: 4px solid var(--green); display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow); }
.cbse-note p { font-size: var(--t-sm); color: var(--muted); }

/* ─── ADMISSIONS ─────────────────────────────────────────────── */
.admissions { background: var(--navy); }
.admissions .lead { color: rgba(255,255,255,.55); margin-bottom: 3rem; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 3.5rem; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 28px; left: 14%; right: 14%; height: 1px; background: rgba(255,255,255,.15); }
.step-item { text-align: center; padding: 0 1rem; position: relative; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.07); border: 2px solid rgba(200,135,26,.45); font-family: var(--ff-display); font-size: var(--t-xl); font-weight: 700; color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; position: relative; z-index: 1; }
.step-title { font-family: var(--ff-label); font-size: var(--t-sm); font-weight: 700; color: var(--white); letter-spacing: .03em; margin-bottom: .4rem; }
.step-desc { font-size: var(--t-sm); color: rgba(255,255,255,.45); line-height: 1.5; }
.admission-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.admission-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); padding: 1.75rem; }
.admission-box h4 { font-family: var(--ff-display); font-size: var(--t-xl); color: var(--white); font-weight: 400; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.doc-list { display: flex; flex-direction: column; gap: .5rem; }
.doc-item { font-size: var(--t-sm); color: rgba(255,255,255,.6); display: flex; gap: .5rem; align-items: flex-start; }
.doc-item::before { content: '—'; color: var(--gold); flex-shrink: 0; }
.age-table { width: 100%; border-collapse: collapse; }
.age-table th, .age-table td { padding: .6rem .75rem; font-size: var(--t-sm); text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); }
.age-table th { font-family: var(--ff-label); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 600; }
.age-table td { color: rgba(255,255,255,.65); }
.admission-cta { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.admission-cta p { color: rgba(255,255,255,.5); font-size: var(--t-sm); margin-top: .75rem; }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact { background: var(--ivory-alt); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { background: var(--white); padding: 1.5rem; border-left: 3px solid var(--navy); box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.contact-card-title { font-family: var(--ff-label); font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.contact-card-value { font-size: var(--t-base); color: var(--ink); line-height: 1.5; }
.contact-map { height: 200px; background: linear-gradient(135deg, #E8EDF3 0%, #CBD5E0 100%); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-top: 1rem; }
.contact-map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px); background-size: 28px 28px; }
.map-pin { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.map-pin-label { font-family: var(--ff-label); font-size: var(--t-xs); background: var(--navy); color: var(--white); padding: .3rem .7rem; border-radius: 2px; letter-spacing: .05em; white-space: nowrap; }
.contact-form { background: var(--white); padding: 2rem; box-shadow: var(--shadow); }
.contact-form h3 { font-family: var(--ff-display); font-size: 1.75rem; font-weight: 400; color: var(--navy); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-group label { font-family: var(--ff-label); font-size: var(--t-xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group textarea, .form-group select { padding: .65rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--ivory); color: var(--ink); font-size: var(--t-base); transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,45,72,.1); }
.form-group textarea { min-height: 110px; resize: vertical; }

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); padding-block: 3.5rem 1.5rem; color: rgba(255,255,255,.6); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 1.5rem; }
.footer-brand-name { font-family: var(--ff-display); font-size: var(--t-xl); color: var(--white); font-weight: 600; margin-top: .75rem; margin-bottom: .4rem; }
.footer-brand-desc { font-size: var(--t-sm); line-height: 1.65; max-width: 30ch; }
.footer-col-title { font-family: var(--ff-label); font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-links li a { font-size: var(--t-sm); color: rgba(255,255,255,.5); transition: color .2s; text-decoration: none; display: block; }
.footer-links a:hover, .footer-links li a:hover { color: var(--gold); }
.social-row { display: flex; gap: .65rem; margin-top: 1rem; }
.social-btn { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s; color: rgba(255,255,255,.6); }
.social-btn:hover { background: var(--gold); color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: var(--t-xs); color: rgba(255,255,255,.3); letter-spacing: .03em; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ─── INNER PAGES ────────────────────────────────────────────── */
.site-main .entry-content h2, .site-main .entry-content h3 { font-family: var(--ff-display); color: var(--navy); margin: 1.5rem 0 .75rem; }
.site-main .entry-content p { margin-bottom: 1rem; }
.site-main .entry-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.post-meta { font-family: var(--ff-label); font-size: var(--t-sm); color: var(--muted); margin-bottom: 1rem; }
.post-entry { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.post-entry h2 { font-family: var(--ff-display); font-size: var(--t-2xl); color: var(--navy); margin-bottom: .5rem; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { height: 92vw; min-height: 500px; max-height: calc(100vh - var(--nav-h)); }
  .slide-overlay { background: linear-gradient(to bottom, rgba(7,29,48,.35) 0%, rgba(7,29,48,.75) 100%); }
  .slider-arrow { width: 38px; height: 38px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .news-grid { grid-template-columns: 1fr; }
  .news-header { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 1; }
  .gallery-item:nth-child(1) .gallery-thumb,
  .gallery-item:nth-child(5) .gallery-thumb { padding-top: 70%; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .steps-row::before { display: none; }
  .admission-info-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .programs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
