:root {
  --ink:       #1a1a18;
  --ink-mid:   #2e2e2a;
  --ink-soft:  #5c5c56;
  --ink-pale:  #9a9a92;
  --paper:     #f9f6f0;
  --paper-mid: #f2ede4;
  --paper-dark:#e8e0d0;
  --rule:      #d4ccc0;
  --amber:     #b5640a;
  --amber-warm:#d4780c;
  --amber-pale:#f5e8d2;
  --deep:      #152030;
  --deep-mid:  #1e3045;
  --deep-soft: rgba(21,32,48,0.06);
  --white:     #ffffff;
  --sans:      'Outfit', sans-serif;
  --serif:     'Cormorant Garamond', serif;
  --radius:    6px;
  --shadow-sm: 0 2px 12px rgba(21,32,48,0.07);
  --shadow-md: 0 8px 32px rgba(21,32,48,0.11);
  --shadow-lg: 0 20px 60px rgba(21,32,48,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── UTILITY ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 5%; }
.serif { font-family: var(--serif); }
.label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 10px;
}
.rule-line {
  width: 48px; height: 2px;
  background: var(--amber); border-radius: 1px; margin-top: 18px;
}
h2.heading {
  font-family: var(--serif); font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 600; line-height: 1.15; color: var(--ink);
}
h2.heading em { font-style: italic; color: var(--amber); }
h2.heading-light { color: var(--white); }

/* ── REVEAL ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ────────────────────────────────────────────
   NAVIGATION
──────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; display: flex; align-items: center;
  background: rgba(21,32,48,0.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(181,100,10,0.2);
  transition: height 0.3s;
}
#nav.small { height: 58px; }
.nav-inner {
  width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-crest {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(181,100,10,0.7);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-crest svg { width: 20px; height: 20px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-text b { font-size: 12.5px; font-weight: 600; color: #e8d8b8; letter-spacing: 0.2px; }
.nav-brand-text span { font-size: 10px; color: rgba(255,255,255,0.38); letter-spacing: 1px; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.65);
  text-decoration: none; letter-spacing: 0.3px;
  transition: color 0.2s; position: relative;
}
.nav-links a:not(.nav-apply):hover { color: #e8d8b8; }
.nav-apply {
  background: var(--amber); color: var(--deep) !important;
  padding: 8px 18px; border-radius: var(--radius);
  font-weight: 600 !important; font-size: 12px !important;
  letter-spacing: 0.5px; text-transform: uppercase; transition: background 0.2s !important;
}
.nav-apply:hover { background: var(--amber-warm) !important; }
.ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.ham span { width: 22px; height: 1.5px; background: rgba(255,255,255,0.7); display: block; border-radius: 2px; transition: 0.3s; }

/* ────────────────────────────────────────────
   HERO
──────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--deep);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 5% 80px;
}

/* Subtle halftone pattern */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(181,100,10,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6; pointer-events: none;
}
/* Large serif watermark */
#hero::after {
  content: '1985';
  position: absolute; bottom: -60px; right: -20px;
  font-family: var(--serif); font-size: 280px; font-weight: 700;
  color: rgba(255,255,255,0.018); line-height: 1;
  pointer-events: none; user-select: none;
}
.hero-grid {
  max-width: 1160px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(181,100,10,0.15); border: 1px solid rgba(181,100,10,0.35);
  border-radius: 100px; padding: 5px 14px;
  font-size: 11.5px; font-weight: 500; color: #e0be8c;
  letter-spacing: 0.5px; margin-bottom: 22px;
}
.hero-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-warm); flex-shrink: 0; }
.hero-title {
  font-family: var(--serif); font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 600; color: var(--white); line-height: 1.06;
  margin-bottom: 10px;
}
.hero-title em { font-style: italic; color: #d4a04e; display: block; }
.hero-school-name {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.38); font-weight: 400; margin-bottom: 28px; display: block;
}
.hero-desc {
  font-family: var(--serif); font-size: 20px; font-weight: 300;
  color: rgba(255,255,255,0.62); line-height: 1.75; max-width: 520px; margin-bottom: 42px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; text-decoration: none;
  letter-spacing: 0.3px; transition: all 0.22s; cursor: pointer; border: none;
}
.btn-gold {
  background: var(--amber); color: var(--deep);
  box-shadow: 0 4px 18px rgba(181,100,10,0.35);
}
.btn-gold:hover { background: var(--amber-warm); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(181,100,10,0.45); }
.btn-outline {
  background: transparent; color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-outline:hover { border-color: rgba(181,100,10,0.6); color: #d4a04e; background: rgba(181,100,10,0.07); }

.hero-divider { margin-top: 52px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.07); }
.hero-stats { display: flex; gap: 48px; }
.h-stat-num {
  font-family: var(--serif); font-size: 40px; font-weight: 600;
  color: #d4a04e; line-height: 1; display: block; margin-bottom: 3px;
}
.h-stat-label { font-size: 11px; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 1.2px; }

/* Hero right card */
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px; padding: 36px 28px;
  backdrop-filter: blur(8px);
}
.crest-ring {
  width: 88px; height: 88px; border-radius: 50%;
  border: 2px solid rgba(181,100,10,0.5);
  background: rgba(181,100,10,0.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 0 32px rgba(181,100,10,0.15);
}
.crest-ring svg { width: 42px; height: 42px; }
.hcard-name {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: var(--white); text-align: center; line-height: 1.35; margin-bottom: 4px;
}
.hcard-est { text-align: center; font-size: 11px; color: var(--amber); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 22px; }
.hcard-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 22px; }
.hcard-row {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px;
}
.hcard-row:last-child { margin-bottom: 0; }
.hcard-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 7px; background: rgba(181,100,10,0.1);
  border: 1px solid rgba(181,100,10,0.2);
  display: flex; align-items: center; justify-content: center;
}
.hcard-icon svg { width: 15px; height: 15px; stroke: #c88e40; fill: none; stroke-width: 1.7; }
.hcard-text strong { display: block; font-size: 12.5px; font-weight: 600; color: #d4c4a0; margin-bottom: 1px; }
.hcard-text span { font-size: 12px; color: rgba(255,255,255,0.42); line-height: 1.4; }

/* ────────────────────────────────────────────
   TICKER
──────────────────────────────────────────── */
.ticker {
  background: var(--ink); overflow: hidden;
  border-top: 1px solid rgba(181,100,10,0.2);
  border-bottom: 1px solid rgba(181,100,10,0.2);
  height: 44px; display: flex; align-items: center;
}
.ticker-label {
  flex-shrink: 0; background: var(--amber);
  height: 100%; display: flex; align-items: center; padding: 0 18px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--deep); white-space: nowrap;
}
.ticker-track {
  display: flex; animation: ticker 28s linear infinite;
  white-space: nowrap; overflow: visible;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 32px; font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.5); letter-spacing: 0.5px; flex-shrink: 0;
}
.ticker-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ────────────────────────────────────────────
   ABOUT
──────────────────────────────────────────── */
#about { padding: 100px 5%; background: var(--paper); }
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 56px;
}
.about-text p {
  font-family: var(--serif); font-size: 19px; font-weight: 300;
  color: var(--ink-mid); line-height: 1.8; margin-bottom: 20px;
}
.about-text p strong { font-weight: 600; color: var(--ink); }
.blockquote-wrap {
  margin: 32px 0; padding: 20px 24px;
  border-left: 3px solid var(--amber);
  background: var(--paper-mid); border-radius: 0 8px 8px 0;
}
.blockquote-wrap q {
  font-family: var(--serif); font-size: 20px; font-style: italic;
  font-weight: 400; color: var(--ink); line-height: 1.6;
  display: block; margin-bottom: 8px; quotes: none;
}
.blockquote-wrap cite { font-size: 12px; color: var(--amber); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-style: normal; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.pillar {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 10px; padding: 20px 18px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.pillar:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pillar-ic {
  width: 34px; height: 34px; border-radius: 8px; margin-bottom: 11px;
  background: var(--amber-pale); display: flex; align-items: center; justify-content: center;
}
.pillar-ic svg { width: 17px; height: 17px; stroke: var(--amber); fill: none; stroke-width: 1.8; }
.pillar h4 { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.pillar p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

/* About right */
.principal-card {
  background: var(--deep); border-radius: 14px; padding: 36px 32px;
  color: var(--white); position: relative; overflow: hidden; margin-bottom: 24px;
}
.principal-card::before {
  content: '\201C';
  font-family: var(--serif); font-size: 240px; font-weight: 700;
  color: rgba(181,100,10,0.07); position: absolute;
  top: -60px; right: 12px; line-height: 1; pointer-events: none;
}
.pcrd-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid rgba(181,100,10,0.5);
  background: rgba(181,100,10,0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: #d4a04e; margin-bottom: 16px;
}
.pcrd-name { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
/* ▼ PLACEHOLDER — replace with actual principal name */
.pcrd-name::after { content: ' — [FILL: Principal Name]'; font-size: 13px; color: var(--amber); font-family: var(--sans); font-weight: 400; }
.pcrd-role { font-size: 11px; color: var(--amber); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; display: block; }
.pcrd-msg {
  font-family: var(--serif); font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.7); line-height: 1.78; font-style: italic;
}

.meta-rows { display: flex; flex-direction: column; gap: 10px; }
.meta-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 8px; padding: 13px 16px;
}
.meta-ic {
  width: 34px; height: 34px; border-radius: 7px; flex-shrink: 0;
  background: var(--amber-pale); display: flex; align-items: center; justify-content: center;
}
.meta-ic svg { width: 16px; height: 16px; stroke: var(--amber); fill: none; stroke-width: 1.8; }
.meta-lbl { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--ink-pale); margin-bottom: 1px; }
.meta-val { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ────────────────────────────────────────────
   ACADEMICS
──────────────────────────────────────────── */
#academics { padding: 100px 5%; background: var(--white); }
.acad-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px; margin-bottom: 48px;
}
.acad-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.7; max-width: 360px; font-family: var(--serif); font-weight: 300; font-size: 18px; }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prog-card {
  border: 1px solid var(--rule); border-radius: 11px; padding: 28px 24px;
  background: var(--white); position: relative; overflow: hidden;
  transition: all 0.3s; cursor: default;
}
.prog-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-warm));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.prog-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prog-card:hover::after { transform: scaleX(1); }
.prog-n {
  font-family: var(--serif); font-size: 52px; font-weight: 700;
  color: var(--paper-mid); line-height: 1; margin-bottom: -8px;
  user-select: none;
}
.prog-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.prog-badge {
  display: inline-block; background: var(--amber-pale); color: var(--amber);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.8px; padding: 3px 10px;
  border-radius: 100px; margin-bottom: 12px; border: 1px solid rgba(181,100,10,0.2);
  text-transform: uppercase;
}
.prog-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-size: 11px; background: var(--paper); color: var(--ink-soft);
  padding: 3px 9px; border-radius: 100px; border: 1px solid var(--paper-dark);
}

/* ────────────────────────────────────────────
   FACILITIES
──────────────────────────────────────────── */
#facilities { padding: 100px 5%; background: var(--paper-mid); }
.fac-title-wrap { text-align: center; margin-bottom: 52px; }
.fac-title-wrap .rule-line { margin: 18px auto 0; }
.fac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fac-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 12px; padding: 28px 20px; text-align: center;
  transition: all 0.3s; cursor: default;
}
.fac-card:hover {
  background: var(--deep); border-color: var(--deep);
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
}
.fac-card:hover .fac-name { color: #d4a04e; }
.fac-card:hover .fac-desc { color: rgba(255,255,255,0.5); }
.fac-card:hover .fac-ic { background: rgba(181,100,10,0.12); border-color: rgba(181,100,10,0.25); }
.fac-card:hover .fac-ic svg { stroke: #c88e40; }
.fac-ic {
  width: 52px; height: 52px; border-radius: 12px; margin: 0 auto 14px;
  background: var(--amber-pale); border: 1px solid rgba(181,100,10,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.fac-ic svg { width: 24px; height: 24px; stroke: var(--amber); fill: none; stroke-width: 1.7; transition: stroke 0.3s; }
.fac-name { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 5px; transition: color 0.3s; }
.fac-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; transition: color 0.3s; }

/* ────────────────────────────────────────────
   ACHIEVEMENTS
──────────────────────────────────────────── */
#achievements { padding: 100px 5%; background: var(--deep); }
.ach-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; margin-top: 52px; }
.big-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.big-num-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(181,100,10,0.18);
  border-radius: 12px; padding: 28px 20px; text-align: center;
  transition: all 0.3s;
}
.big-num-card:hover { background: rgba(181,100,10,0.07); border-color: rgba(181,100,10,0.35); }
.big-n {
  font-family: var(--serif); font-size: 52px; font-weight: 700;
  color: #d4a04e; line-height: 1; display: block; margin-bottom: 5px;
}
.big-l { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1.2px; }
.ach-list { display: flex; flex-direction: column; gap: 16px; }
.ach-item {
  display: flex; align-items: flex-start; gap: 18px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 20px 22px; transition: all 0.25s;
}
.ach-item:hover { border-color: rgba(181,100,10,0.25); background: rgba(181,100,10,0.04); }
.ach-year {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--amber); min-width: 52px; line-height: 1; padding-top: 2px;
}
.ach-item h4 { font-size: 14.5px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.ach-item p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.55; }

/* ────────────────────────────────────────────
   ADMISSIONS
──────────────────────────────────────────── */
#admissions { padding: 100px 5%; background: var(--white); }
.adm-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; margin-top: 52px; }
.adm-intro { font-family: var(--serif); font-size: 19px; font-weight: 300; color: var(--ink-mid); line-height: 1.75; margin-bottom: 40px; }
.steps { position: relative; display: flex; flex-direction: column; }
.steps::before {
  content: ''; position: absolute; left: 19px; top: 42px; bottom: 42px;
  width: 1px; background: linear-gradient(to bottom, var(--amber), rgba(181,100,10,0.1));
}
.step { display: flex; gap: 20px; padding: 16px 0; align-items: flex-start; }
.step-n {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--amber); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--amber);
  position: relative; z-index: 1;
}
.step-body { padding-top: 8px; }
.step-body h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.step-body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }

.form-box {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 14px; padding: 36px 32px; position: sticky; top: 86px;
}
.form-box h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.form-box > p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.55; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 5px; }
.fg input, .fg select {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--paper-dark); border-radius: var(--radius);
  font-size: 13.5px; font-family: var(--sans); background: var(--white);
  color: var(--ink); outline: none; transition: border-color 0.2s; appearance: none;
}
.fg input:focus, .fg select:focus { border-color: var(--amber); }
.fg input::placeholder { color: var(--ink-pale); }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
  width: 100%; padding: 13px; margin-top: 6px;
  background: var(--amber); border: none; border-radius: var(--radius);
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--deep); cursor: pointer; letter-spacing: 0.5px; text-transform: uppercase;
  transition: all 0.22s;
}
.btn-submit:hover { background: var(--amber-warm); box-shadow: 0 6px 20px rgba(181,100,10,0.35); transform: translateY(-1px); }

/* ────────────────────────────────────────────
   EVENTS
──────────────────────────────────────────── */
#events { padding: 100px 5%; background: var(--paper); }
.ev-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 48px; }
.ev-more { font-size: 13px; font-weight: 600; color: var(--amber); text-decoration: none; letter-spacing: 0.3px; white-space: nowrap; }
.ev-more:hover { color: var(--amber-warm); }
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ev-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 12px; overflow: hidden;
  transition: all 0.3s; cursor: default;
}
.ev-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.ev-top { background: var(--deep); padding: 22px 24px; }
.ev-date-chip {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--amber); border-radius: var(--radius);
  padding: 7px 13px; margin-bottom: 14px;
}
.ev-date-chip .d { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--deep); line-height: 1; }
.ev-date-chip .m { font-size: 10px; font-weight: 700; color: var(--deep); text-transform: uppercase; letter-spacing: 1px; }
.ev-top h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.ev-type { font-size: 11px; color: rgba(255,255,255,0.38); letter-spacing: 1px; text-transform: uppercase; }
.ev-body { padding: 18px 22px; }
.ev-body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 12px; }
.ev-meta { display: flex; gap: 14px; font-size: 12px; color: var(--ink-pale); }
.ev-meta span { display: flex; align-items: center; gap: 5px; }
.ev-meta svg { width: 12px; height: 12px; stroke: var(--ink-pale); fill: none; stroke-width: 2; }

/* ────────────────────────────────────────────
   TESTIMONIALS
──────────────────────────────────────────── */
#testimonials { padding: 100px 5%; background: linear-gradient(160deg, #0d1e30 0%, #182d42 100%); }
.testi-title-wrap { text-align: center; margin-bottom: 48px; }
.testi-title-wrap .rule-line { margin: 18px auto 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 28px 24px; transition: all 0.3s;
}
.testi-card:hover { border-color: rgba(181,100,10,0.25); background: rgba(181,100,10,0.04); transform: translateY(-2px); }
.stars { display: flex; gap: 2px; margin-bottom: 14px; }
.star { color: var(--amber); font-size: 13px; }
.testi-card blockquote {
  font-family: var(--serif); font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.75); line-height: 1.75; font-style: italic;
  margin-bottom: 20px; quotes: none;
}
.testi-auth { display: flex; align-items: center; gap: 11px; }
.auth-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: rgba(181,100,10,0.15); border: 1.5px solid rgba(181,100,10,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 16px; font-weight: 600; color: #d4a04e;
}
.auth-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 1px; }
.auth-role { font-size: 11.5px; color: rgba(255,255,255,0.35); }

/* ────────────────────────────────────────────
   CONTACT
──────────────────────────────────────────── */
#contact { padding: 100px 5%; background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 52px; }
.cdetail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
.cic {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--amber-pale); border: 1px solid rgba(181,100,10,0.2);
  display: flex; align-items: center; justify-content: center;
}
.cic svg { width: 20px; height: 20px; stroke: var(--amber); fill: none; stroke-width: 1.7; }
.cdetail h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--ink-pale); margin-bottom: 3px; }
.cdetail p, .cdetail a { font-size: 15px; color: var(--ink); font-weight: 500; text-decoration: none; line-height: 1.5; }
.cdetail a:hover { color: var(--amber); }
.map-mock {
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-mid) 100%);
  border-radius: 12px; height: 240px; margin-top: 24px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.map-mock::before {
  content: ''; position: absolute; inset: 0; opacity: 0.06;
  background-image: repeating-linear-gradient(0deg,var(--amber) 0,var(--amber) 1px,transparent 0,transparent 24px),
    repeating-linear-gradient(90deg,var(--amber) 0,var(--amber) 1px,transparent 0,transparent 24px);
}
.map-pin-ic { position: relative; z-index: 1; }
.map-pin-ic svg { width: 32px; height: 32px; stroke: var(--amber); fill: none; stroke-width: 1.5; }
.map-mock p { color: rgba(255,255,255,0.5); font-size: 13px; text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.map-mock a {
  position: relative; z-index: 1; background: var(--amber); color: var(--deep);
  padding: 9px 20px; border-radius: var(--radius); font-size: 12px;
  font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
  transition: background 0.2s;
}
.map-mock a:hover { background: var(--amber-warm); }
.cfm h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cfm > p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.6; }
.fg textarea {
  width: 100%; padding: 11px 13px; min-height: 110px;
  border: 1px solid var(--paper-dark); border-radius: var(--radius);
  font-size: 13.5px; font-family: var(--sans); background: var(--white);
  color: var(--ink); outline: none; resize: vertical; transition: border-color 0.2s;
}
.fg textarea:focus { border-color: var(--amber); }
.fg textarea::placeholder { color: var(--ink-pale); }

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
footer {
  background: var(--ink); padding: 64px 5% 28px;
  border-top: 1px solid rgba(181,100,10,0.2);
}
.foot-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 48px;
}
.foot-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-crest {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(181,100,10,0.5);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.foot-crest svg { width: 22px; height: 22px; }
.foot-sname { font-family: var(--serif); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.3; }
.foot-brand p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; margin-bottom: 18px; }
.foot-social { display: flex; gap: 9px; }
.soc {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.2s;
}
.soc:hover { background: rgba(181,100,10,0.12); border-color: rgba(181,100,10,0.35); }
.soc svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.5); fill: none; stroke-width: 1.7; transition: stroke 0.2s; }
.soc:hover svg { stroke: #d4a04e; }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-col ul a { font-size: 13px; color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
.foot-col ul a:hover { color: #d4c4a0; }
.foot-bottom {
  max-width: 1160px; margin: 0 auto; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.foot-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.foot-bottom a { color: rgba(181,100,10,0.7); text-decoration: none; }

/* ────────────────────────────────────────────
   MOBILE OVERLAY MENU
──────────────────────────────────────────── */
#mob-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(13,24,38,0.98); flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}
#mob-menu.open { display: flex; }
#mob-menu a { font-family: var(--serif); font-size: 30px; font-weight: 600; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }
#mob-menu a:hover { color: #d4a04e; }
.mob-close { position: absolute; top: 22px; right: 22px; background: none; border: none; cursor: pointer; }
.mob-close svg { width: 28px; height: 28px; stroke: rgba(181,100,10,0.8); fill: none; stroke-width: 1.5; }

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .ham { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 32px; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .programs { grid-template-columns: 1fr 1fr; }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .ach-layout { grid-template-columns: 1fr; gap: 40px; }
  .adm-layout { grid-template-columns: 1fr; }
  .ev-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  #about, #academics, #facilities, #achievements, #admissions, #events, #testimonials, #contact { padding: 72px 5%; }
  #hero { padding: 110px 5% 64px; }
  .hero-title { font-size: 40px; }
  .programs { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr 1fr; }
  .ev-grid { grid-template-columns: 1fr; }
  .big-nums { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .fg-row { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
}

/* ────────────────────────────────────────────
   PRINCIPAL QUOTE STRIP
──────────────────────────────────────────── */
#principal-quote {
  padding: 0; background: var(--deep); position: relative; overflow: hidden;
}
#principal-quote::before {
  content: '\201C';
  font-family: var(--serif); font-size: 320px; font-weight: 700;
  color: rgba(181,100,10,0.07); position: absolute;
  top: -80px; left: 40px; line-height: 1; pointer-events: none; user-select: none;
}
.pq-inner {
  max-width: 1160px; margin: 0 auto; padding: 80px 5%;
  display: grid; grid-template-columns: 200px 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.pq-portrait { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pq-photo-frame {
  width: 160px; height: 160px; border-radius: 50%;
  border: 3px solid rgba(181,100,10,0.5);
  background: rgba(181,100,10,0.08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 0 40px rgba(181,100,10,0.15);
}
.pq-photo-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pq-photo-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3); padding: 20px;
}
.pq-photo-placeholder svg { width: 36px; height: 36px; stroke: rgba(181,100,10,0.5); fill: none; stroke-width: 1.3; }
.pq-photo-placeholder span { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; text-align: center; line-height: 1.5; }
.pq-name { font-family: var(--serif); font-size: 16px; font-weight: 600; color: #e0d0b0; text-align: center; line-height: 1.3; margin-bottom: 3px; }
.pq-role { font-size: 10.5px; color: var(--amber); letter-spacing: 1.5px; text-transform: uppercase; text-align: center; }
.pq-quote {
  font-family: var(--serif); font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.82); line-height: 1.75; margin-bottom: 28px;
}
.pq-quote strong { font-style: normal; font-weight: 600; color: #d4a04e; }
.pq-sig { display: flex; align-items: center; gap: 14px; }
.pq-sig-line { width: 36px; height: 1px; background: var(--amber); flex-shrink: 0; }
.pq-sig-text { font-size: 12px; color: rgba(255,255,255,0.38); letter-spacing: 1px; text-transform: uppercase; }

/* ────────────────────────────────────────────
   GALLERY
──────────────────────────────────────────── */
#gallery { padding: 100px 5%; background: var(--white); }
.gal-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px; margin-bottom: 32px;
}
.gal-more { font-size: 13px; font-weight: 600; color: var(--amber); text-decoration: none; }
.gal-more:hover { color: var(--amber-warm); }
.gal-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.gal-tab {
  padding: 7px 16px; border-radius: 100px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; cursor: pointer; border: 1px solid var(--rule);
  background: var(--paper); color: var(--ink-soft); transition: all 0.2s;
  user-select: none;
}
.gal-tab.active, .gal-tab:hover { background: var(--amber); border-color: var(--amber); color: var(--deep); }
.gal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px; gap: 12px;
}
.gal-item {
  border-radius: 10px; overflow: hidden;
  background: var(--paper-mid); border: 1.5px dashed var(--paper-dark);
  position: relative; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gal-item.has-image { border: none; }
.gal-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); z-index: 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }
.gal-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 16px;
}
.gal-ph svg { width: 28px; height: 28px; stroke: var(--ink-pale); fill: none; stroke-width: 1.4; }
.gal-ph span { font-size: 10.5px; color: var(--ink-pale); letter-spacing: 0.5px; text-align: center; line-height: 1.45; }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21,32,48,0.72) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 14px;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-caption { font-size: 12px; color: rgba(255,255,255,0.88); font-weight: 500; line-height: 1.3; }
/* Lightbox */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(8,14,22,0.97); align-items: center; justify-content: center; padding: 24px;
}
#lightbox.open { display: flex; }
#lb-img { max-width: 90vw; max-height: 86vh; border-radius: 8px; object-fit: contain; box-shadow: var(--shadow-lg); }
#lb-close {
  position: absolute; top: 20px; right: 24px; background: none; border: none;
  cursor: pointer; color: rgba(255,255,255,0.55); line-height: 1; transition: color 0.2s;
}
#lb-close:hover { color: var(--amber); }
#lb-close svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.5; }
#lb-caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; white-space: nowrap; }

/* ── PLACEHOLDER HIGHLIGHT (remove before delivery) ── */
.ph { background: rgba(255,180,0,0.18); border-bottom: 1.5px dashed #d4780c; border-radius: 2px; cursor: help; }

/* ── Responsive additions ── */
@media (max-width: 960px) {
  .pq-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .pq-portrait { flex-direction: row; justify-content: center; gap: 20px; }
  .pq-photo-frame { width: 100px; height: 100px; flex-shrink: 0; }
  .pq-sig { justify-content: center; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-item.wide { grid-column: span 2; }
}


/* ────────────────────────────────────────────
   SCHOOL GALLERY SLIDER
──────────────────────────────────────────── */
.school-gallery {
  max-width: 100%;
  aspect-ratio: 16/9;
}

.school-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(181,100,10,0.9) !important;
  transform: translateY(-50%) scale(1.1);
}

.dot:hover {
  background: rgba(181,100,10,0.6) !important;
}

.dot.active {
  background: rgba(181,100,10,0.8) !important;
  width: 24px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .school-gallery {
    aspect-ratio: 4/3;
  }
  
  .gallery-prev,
  .gallery-next {
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
  }
}
