/* Angel Academy – Premium High-Performance Glassmorphism */
:root {
  --navy-900: #040a22;
  --navy-800: #07123a;
  --navy-700: #0b1b5a;
  --royal: #2447e0;
  --royal-2: #3d6bff;
  --logo-blue: #3d4198;
  --gold: #d9b45a;
  --gold-2: #f6e3a1;
  --gold-3: #a8802a;
  --white: #ffffff;
  --text: #e8eeff;
  --muted: #a9b6df;
  --glass: rgba(14, 26, 68, 0.72);
  --glass-2: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(140, 175, 255, 0.28);
  --glow: 0 0 0 1px rgba(110, 150, 255, 0.25), 0 0 20px rgba(61, 107, 255, 0.25);
  --shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.65), 0 6px 14px -6px rgba(0, 0, 0, 0.4);
  --radius: 18px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gold-grad: linear-gradient(135deg, #f6e3a1 0%, #d9b45a 45%, #a8802a 100%);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 85% -5%, rgba(61, 107, 255, 0.25), transparent 60%),
    radial-gradient(800px 500px at -5% 20%, rgba(61, 65, 152, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800) 60%, #050c2a);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: #fff; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 36px); margin-inline: auto; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Optimized Ambient Glow (Zero-Lag Radial Gradients) ---------- */
.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transform: translateZ(0);
}
.orbs i {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: drift 26s ease-in-out infinite alternate;
}
.orbs i:nth-child(1) {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(36, 71, 224, 0.28) 0%, rgba(36, 71, 224, 0.08) 50%, transparent 72%);
  left: -100px; top: 25%;
}
.orbs i:nth-child(2) {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(106, 79, 224, 0.22) 0%, rgba(106, 79, 224, 0.06) 50%, transparent 72%);
  right: -80px; top: 55%;
  animation-delay: -10s;
}
.orbs i:nth-child(3) {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(217, 180, 90, 0.16) 0%, transparent 70%);
  left: 45%; top: 6%;
  animation-delay: -16s;
}
@keyframes drift {
  50% { transform: translate3d(30px, -40px, 0) scale(1.08); }
}

/* ---------- High-Performance Glass Surface ---------- */
.glass {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 27, 72, 0.78), rgba(7, 16, 48, 0.88));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  contain: paint;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 35%);
  opacity: .5;
}
.tilt {
  transform-style: preserve-3d;
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .22s ease;
  will-change: transform;
}
.tilt:hover {
  box-shadow: var(--shadow), var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; border: 0;
  font: 600 15px/1 var(--sans); padding: 13px 24px; border-radius: 999px; color: #fff; min-height: 44px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: var(--gold-grad); color: #2a1c00;
  box-shadow: 0 8px 22px -6px rgba(217, 180, 90, .6), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-gold:hover { filter: brightness(1.06); box-shadow: 0 12px 26px -6px rgba(217, 180, 90, .75), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-glass {
  background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { padding: 9px 16px; font-size: 13px; min-height: 38px; }
.btn-danger { background: linear-gradient(135deg, #e0505a, #a31f2c); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header & Navigation ---------- */
.topbar { position: relative; z-index: 3; font-size: 13px; color: var(--muted); border-bottom: 1px solid rgba(140, 175, 255, .12); }
.topbar .container { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold-2); }

.site-header { position: sticky; top: 0; z-index: 60; padding: 10px 0; transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled {
  background: rgba(4, 10, 32, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(140, 175, 255, 0.15);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(246, 227, 161, .85), 0 6px 18px -4px #000; object-fit: contain; }
.brand b { display: block; font: 700 20px/1 var(--serif); letter-spacing: .12em; }
.brand small { display: block; font-size: 10px; letter-spacing: .12em; color: var(--gold-2); margin-top: 4px; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a { padding: 9px 13px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text); transition: background .18s, color .18s; }
.nav a:hover { background: rgba(255, 255, 255, 0.1); }
.nav a[aria-current='page'] { background: rgba(255, 255, 255, 0.12); color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--glass-border); }
.nav .btn { margin-left: 6px; color: #2a1c00; }
.nav .btn:hover { background: var(--gold-grad); }

.menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: #fff;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  touch-action: manipulation;
}

/* Mobile Navigation Drawer */
@media (max-width: 1020px) {
  .menu-btn { display: grid; place-items: center; }
  .nav {
    display: flex;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    margin: 0;
    background: rgba(5, 12, 38, 0.96);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), opacity .22s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 15px;
  }
  .nav .btn { justify-content: center; margin: 8px 0 0; }
  .topbar .hide-sm { display: none; }
}

/* ---------- Hero Section ---------- */
.hero { position: relative; z-index: 1; padding: 40px 0 70px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 7px 15px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5.8vw, 72px); margin: 18px 0 16px; letter-spacing: -.01em; }
.hero .tagline { font: italic 500 clamp(17px, 2vw, 24px)/1.4 var(--serif); color: var(--gold-2); margin-bottom: 16px; }
.hero p.lead { color: var(--muted); font-size: 16.5px; max-width: 560px; line-height: 1.65; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-logo { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 12px 18px 12px 12px; width: fit-content; }
.hero-logo img { width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(246, 227, 161, .85), 0 0 22px rgba(61, 107, 255, .5); }
.hero-logo span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.hero-logo b { color: #fff; font: 600 15px var(--serif); display: block; }

/* ---------- 3D Hero Emblem (Optimized for 60-120 FPS) ---------- */
.scene {
  position: relative;
  height: 480px;
  perspective: 1200px;
  overflow: hidden;
  max-width: 100%;
}
.scene .stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.ground {
  position: absolute;
  left: 50%; top: 68%;
  width: 540px; height: 540px;
  margin: -270px 0 0 -270px;
  border-radius: 50%;
  transform: rotateX(76deg) translateZ(-40px);
  background: radial-gradient(circle, rgba(61, 107, 255, .4), rgba(36, 71, 224, .12) 45%, transparent 68%);
  border: 1px solid rgba(140, 175, 255, .2);
  pointer-events: none;
}
.ground::after {
  content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(246, 227, 161, .3);
}

.emblem {
  position: absolute;
  left: 50%; top: 44%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  animation: sway 12s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes sway {
  from { transform: rotateX(-6deg) rotateY(-14deg); }
  to { transform: rotateX(-3deg) rotateY(14deg); }
}

.coin {
  position: absolute;
  width: 270px; height: 270px;
  left: -135px; top: -135px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.4), rgba(255,255,255,.1) 55%, rgba(61,107,255,.2));
  border: 3px solid rgba(246, 227, 161, .9);
  box-shadow: 0 0 0 6px rgba(61,107,255,.16), 0 0 45px rgba(61,107,255,.5), 0 20px 40px rgba(0,0,0,.5);
  transform: translateZ(0);
}
.coin img { width: 230px; height: 230px; border-radius: 50%; object-fit: contain; }
.coin-back {
  position: absolute;
  width: 270px; height: 270px;
  left: -135px; top: -135px;
  border-radius: 50%;
  transform: translateZ(-24px);
  background: var(--gold-grad);
  opacity: .45;
  box-shadow: 0 0 35px rgba(217,180,90,.5);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(246, 227, 161, .8);
  box-shadow: 0 0 14px rgba(246, 227, 161, .35);
  pointer-events: none;
  will-change: transform;
}
.ring.r2 {
  border-color: rgba(120, 165, 255, .75);
  border-style: dashed;
}
.r-flat {
  width: 390px; height: 390px;
  left: -195px; top: -195px;
  animation: spinZ 24s linear infinite;
}
.r-flat.r2 {
  width: 460px; height: 460px;
  left: -230px; top: -230px;
  animation: spinZ 36s linear infinite reverse;
}
@keyframes spinZ {
  from { transform: rotateX(72deg) rotateZ(0); }
  to { transform: rotateX(72deg) rotateZ(360deg); }
}
.r-tall {
  width: 340px; height: 340px;
  left: -170px; top: -170px;
  animation: spinY 20s linear infinite;
}
.r-tall.r2 {
  width: 390px; height: 390px;
  left: -195px; top: -195px;
  animation: spinY 30s linear infinite reverse;
}
@keyframes spinY {
  from { transform: rotateY(0) rotateX(12deg); }
  to { transform: rotateY(360deg) rotateX(12deg); }
}

.float { position: absolute; transform-style: preserve-3d; will-change: transform; pointer-events: none; }
.float .bob { display: block; animation: bob 5s ease-in-out infinite; will-change: transform; }
@keyframes bob { 50% { transform: translate3d(0, -14px, 0); } }
.float svg { display: block; }

/* Responsive adjustments for 3D Hero */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .scene { height: 360px; margin-top: 10px; }
  .r-flat.r2, .r-tall.r2 { display: none; }
}
@media (max-width: 520px) {
  .scene { height: 300px; }
  .coin { width: 220px; height: 220px; left: -110px; top: -110px; }
  .coin img { width: 190px; height: 190px; }
  .coin-back { width: 220px; height: 220px; left: -110px; top: -110px; }
  .r-flat { width: 300px; height: 300px; left: -150px; top: -150px; }
  .r-tall { width: 270px; height: 270px; left: -135px; top: -135px; }
  .ground { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; padding: 60px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 44px); }
.section-head p { color: var(--muted); font-size: 16px; }
.kicker { color: var(--gold-2); letter-spacing: .2em; font-size: 12px; text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 8px; }
.rule { width: 80px; height: 3px; margin: 12px auto 0; border-radius: 3px; background: var(--gold-grad); }

.page-hero { position: relative; z-index: 1; padding: 50px 0 25px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 660px; margin: 0 auto; font-size: 16px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
}

.card { padding: 26px; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); }

.icon-3d {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; font-size: 26px;
  background: linear-gradient(145deg, #5b86ff, #1a2c8c);
  box-shadow: 0 10px 20px -6px rgba(36, 71, 224, .7), inset 0 2px 0 rgba(255, 255, 255, .4);
}
.icon-3d svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-3d.gold {
  background: var(--gold-grad);
  box-shadow: 0 10px 20px -6px rgba(217, 180, 90, .7), inset 0 2px 0 rgba(255, 255, 255, .6);
}
.icon-3d.gold svg { stroke: #3a2800; }

.branch .tag {
  display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--gold-grad); color: #2a1c00; font-weight: 700; margin-bottom: 12px;
}
.info-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.info-list li { display: flex; gap: 11px; color: var(--text); font-size: 14.5px; }
.info-list svg { flex: none; width: 19px; height: 19px; margin-top: 2px; stroke: var(--gold-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-list a:hover { color: var(--gold-2); }
.muted { color: var(--muted); }
.prose p { color: var(--text); opacity: .94; font-size: 16.5px; }
.prose { white-space: pre-line; }

/* ---------- Notices Board Responsive ---------- */
.notice-list { display: grid; gap: 14px; }
.notice {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 18px;
  align-items: center;
  transition: transform .2s ease, border-color .2s ease;
}
.notice.pinned {
  border-color: rgba(246, 227, 161, .7);
  box-shadow: var(--shadow), 0 0 20px rgba(217, 180, 90, .22);
}
.date-chip {
  text-align: center; border-radius: 14px; padding: 8px 4px;
  background: linear-gradient(160deg, #3d6bff, #14217a);
  box-shadow: 0 8px 16px -6px rgba(36, 71, 224, .7); line-height: 1;
}
.date-chip b { display: block; font: 700 24px var(--serif); }
.date-chip span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.date-chip small { display: block; font-size: 10px; opacity: .85; margin-top: 3px; }
.notice h3 { font-size: 18px; margin: 2px 0 5px; font-family: var(--sans); font-weight: 650; }
.notice p { color: var(--muted); margin: 0; font-size: 14px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: rgba(61, 107, 255, .25); border: 1px solid rgba(140, 175, 255, .35); color: #cfdcff; font-weight: 600;
}
.badge.pin { background: var(--gold-grad); color: #2a1c00; border-color: transparent; }
.badge.pdf { background: rgba(224, 80, 90, .22); border-color: rgba(255, 140, 150, .45); color: #ffd3d7; }
.badge.draft { background: rgba(255, 255, 255, .1); color: #fff; }
.notice .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 760px) {
  .notice { grid-template-columns: 62px 1fr; gap: 14px; padding: 16px; }
  .notice .actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: 4px; }
  .notice .actions .btn { flex: 1; min-width: 120px; }
}

.toolbar { padding: 16px; display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; }
.search { display: flex; gap: 10px; }

/* Accessible & Mobile-Friendly Form Controls */
input, select, textarea {
  width: 100%;
  font: 500 16px var(--sans); /* 16px prevents iOS auto-zoom */
  color: #fff;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(4, 10, 34, .7);
  transition: border-color .18s, box-shadow .18s;
  box-sizing: border-box;
}
input::placeholder, textarea::placeholder { color: #8d9bc8; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(246, 227, 161, .2);
}
select option { background: #07123a; color: #fff; }
textarea { min-height: 120px; resize: vertical; }
label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--gold-2); margin-bottom: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  cursor: pointer; font: 600 13px var(--sans); color: var(--text); padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.06); transition: all .18s;
  min-height: 36px; display: inline-flex; align-items: center;
}
.chip:hover { background: rgba(255, 255, 255, 0.12); }
.chip.on { background: var(--gold-grad); color: #2a1c00; border-color: transparent; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 22px; align-items: center; }

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(2, 6, 20, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal.open { display: flex; }
.modal-box {
  width: min(940px, 100%); max-height: 90vh; overflow: auto; padding: 24px;
  background: linear-gradient(150deg, #0e1f6c, #060f3a); border-radius: 18px; border: 1px solid var(--glass-border);
}
.modal-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.modal-head h3 { margin: 4px 0 0; font-size: 24px; }
.x {
  background: rgba(255, 255, 255, 0.12); border: 1px solid var(--glass-border); color: #fff;
  width: 38px; height: 38px; border-radius: 50%; font-size: 18px; cursor: pointer; flex: none; display: grid; place-items: center;
}
.notice-body { white-space: pre-wrap; word-wrap: break-word; color: var(--text); font-size: 15.5px; padding: 4px 2px 10px; }
.pdf-frame { width: 100%; height: min(65vh, 680px); border: 1px solid var(--glass-border); border-radius: 12px; background: #fff; }

/* ---------- Director Profile Card ---------- */
.director-card { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; padding: 30px; }
.director-photo {
  position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 2px solid rgba(246, 227, 161, .85);
  box-shadow: 0 0 0 5px rgba(61,107,255,.18), 0 0 32px rgba(61,107,255,.45), 0 20px 40px rgba(0,0,0,.5);
  background: linear-gradient(145deg, #1b2c8a, #0a1450);
}
.director-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.director-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font: 700 58px var(--serif); color: var(--gold-2); }
.director-card h2 { font-size: clamp(28px, 3.8vw, 40px); margin: 4px 0; }
.director-role { color: var(--gold-2); letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; font-weight: 600; }
@media (max-width: 760px) {
  .director-card { grid-template-columns: 1fr; padding: 20px; text-align: center; }
  .director-photo { max-width: 240px; margin-inline: auto; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; margin-top: 70px; padding: 100px 0 0; }
.site-footer::before {
  content: ''; position: absolute; left: -5%; right: -5%; top: 0; bottom: 0;
  border-radius: 50% 50% 0 0 / 100px 100px 0 0;
  background: linear-gradient(180deg, rgba(36, 71, 224, .3), rgba(6, 12, 46, .98) 55%);
  border-top: 2px solid rgba(246, 227, 161, .5);
}
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 34px; padding-bottom: 34px; }
.footer-grid h4 { font: 700 12.5px var(--sans); letter-spacing: .18em; color: var(--gold-2); text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(246, 227, 161, .8); }
.footer-brand b { font: 700 22px var(--serif); letter-spacing: .1em; }
.copy { border-top: 1px solid rgba(140, 175, 255, .15); padding: 18px 0 22px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: 14px; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1), transform .6s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translate3d(0, 0, 0); }

/* Reduced Motion & Mobile Fallbacks */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media (hover: none) {
  .tilt { transform: none !important; }
}

/* Mobile-Specific Performance Optimization (Silky Smooth Scrolling) */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
  .glass {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(9, 20, 56, 0.94) !important;
  }
  .site-header.scrolled {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(4, 10, 32, 0.96) !important;
  }
  .pdf-frame {
    height: min(58vh, 480px);
  }
  .modal-box {
    padding: 18px 14px;
  }
}
