/* ============================================================
   ABC School of Christian Studies — Microsite Styles
   Layout: WYWL-inspired (top-bar → sticky nav → hero → sections → footer)
   Brand: Navy #1B2A4A | Gold #B8860B | Purple #4A235A | Cream #FEF9EF
   Fonts: Playfair Display (serif) | Inter (sans)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:        #1B2A4A;
  --navy-dark:   #111e33;
  --gold:        #B8860B;
  --gold-light:  #d4a017;
  --gold-pale:   #f0c040;
  --purple:      #4A235A;
  --purple-light:#6b3580;
  --cream:       #FEF9EF;
  --white:       #FFFFFF;
  --gray-50:     #fafaf7;
  --gray-100:    #f4f4f0;
  --gray-200:    #e8e4d9;
  --gray-400:    #a09890;
  --gray-600:    #6b6560;
  --gray-800:    #3a3530;
  --gray-900:    #1a1a1a;
  --green:       #2e7d32;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --shadow-xs:  0 1px 2px rgba(0,0,0,0.08);
  --shadow-sm:  0 2px 6px rgba(0,0,0,0.10);
  --shadow-md:  0 4px 18px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 36px rgba(0,0,0,0.16);
  --shadow-xl:  0 16px 56px rgba(0,0,0,0.20);

  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --transition: 0.25s ease;

  --header-h: 72px;
  --topbar-h: 40px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
p { margin-bottom: 1rem; color: var(--gray-600); }
p:last-child { margin-bottom: 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
.lead { font-size: 1.15rem; line-height: 1.75; }
.text-gold   { color: var(--gold); }
.text-purple { color: var(--purple); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   TOP CONTACT BAR  (WYWL pattern)
   ============================================================ */
.top-contact-bar {
  background: #2d1238;
  padding: 10px 0;
  height: var(--topbar-h);
  z-index: 1100;
}
.contact-info-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}
.contact-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
.contact-item-top i { color: var(--gold); font-size: 0.75rem; }
.contact-item-top a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
.contact-item-top a:hover { color: var(--gold); }

/* ============================================================
   NAVBAR  (WYWL sticky pattern)
   ============================================================ */
.navbar {
  background: var(--cream);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo__icon { width: 48px; height: 48px; flex-shrink: 0; }
/* Seal variant — circular photo, slightly larger */
.nav-logo__seal {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-logo__seal:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 12px rgba(74,35,90,0.25);
}
/* Text block linked separately */
.nav-logo__text-link {
  text-decoration: none;
}
.nav-logo__text-link:hover .nav-logo__name { color: var(--purple); }
.nav-logo__text { display: flex; flex-direction: column; }
.nav-logo__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  color: var(--navy); line-height: 1.1;
}
.nav-logo__sub {
  font-size: 0.68rem; color: var(--purple);
  font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
}
/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-menu li a,
.nav-menu li span.nav-link {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 10px;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
  display: block;
}
.nav-menu li a:hover,
.nav-menu li a.active { color: var(--gold); background: rgba(184,134,11,0.1); }
.nav-ctas { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.mobile-menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--purple); transition: var(--transition);
}
/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0;
  background: var(--cream);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); display: block; }
.mobile-nav a {
  display: block; color: var(--navy); font-weight: 600;
  font-size: 1.1rem; padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 4px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.3px;
  transition: all var(--transition); border: 2px solid transparent;
  white-space: nowrap; cursor: pointer; font-family: var(--font-body);
}
.btn-primary, .btn--primary {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
}
.btn-primary:hover, .btn--primary:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-secondary, .btn--outline-white {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7);
}
.btn-secondary:hover, .btn--outline-white:hover {
  background: var(--white); color: var(--navy);
  transform: translateY(-2px);
}
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: #263d6b; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--purple { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn--purple:hover { background: #6b3580; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }

/* ============================================================
   ANNOUNCEMENT BANNER
   ============================================================ */
.banner {
  background: var(--purple); color: var(--white);
  text-align: center; padding: 11px 24px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.3px;
}
.banner a { color: var(--gold); text-decoration: underline; }

/* ============================================================
   HERO — full-viewport with fixed bg + seal  (index.html)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* ---- Hero video background ---- */
.hero-video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(27,42,74,0.30) 0%,
    transparent 55%
  );
  pointer-events: none;
}

/* ---- Hero reveal (text + seal hidden until video ends) ---- */
.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.4s ease, transform 1.4s ease;
  pointer-events: none;
}
.hero-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 40px 0;
}
.hero-text { display: flex; flex-direction: column; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(184,134,11,0.15);
  border: 1px solid rgba(184,134,11,0.4);
  border-radius: 40px;
  padding: 8px 20px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px; width: fit-content;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.hero-institution {
  font-size: 0.88rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px; margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500; color: var(--white);
  line-height: 1.08; margin-bottom: 6px;
  text-shadow: 0 0 3px rgba(27,42,74,0.9), 0 2px 10px rgba(0,0,0,0.65);
}
.hero-title em {
  color: var(--gold); font-style: normal; display: block;
  font-weight: 600;
  text-shadow:
    0 0 3px rgba(27,42,74,1),
    0 0 3px rgba(27,42,74,0.9),
    0 2px 10px rgba(0,0,0,0.7);
}
.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.3vw, 1.495rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65);
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.9); font-size: 0.858rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}
.hero-trust-item i { color: var(--gold); }
/* Seal column */
.hero-seal-col {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-seal {
  width: clamp(260px, 26vw, 400px);
  height: clamp(260px, 26vw, 400px);
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.55))
          drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  animation: sealFloat 6s ease-in-out infinite alternate;
}
@keyframes sealFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}
/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 1.4rem;
  animation: bounceDown 2s ease-in-out infinite;
  z-index: 3;
}
@keyframes bounceDown {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 88px 0; }
.section--cream  { background: var(--cream); }
.section--navy   { background: var(--purple); }
.section--purple { background: var(--purple); }
.section--gray   { background: var(--gray-100); }
.section--dark   { background: #2d1238; }

/* Section header */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { max-width: 640px; margin: 12px auto 0; font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  background: rgba(184,134,11,0.12);
  border: 1px solid rgba(184,134,11,0.3);
  color: var(--gold);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 14px;
}
.section-eyebrow { /* legacy alias */
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 560px; margin: 8px auto 0; }
.divider { width: 64px; height: 4px; background: var(--gold); margin: 0 auto 24px; border-radius: 2px; }
.divider--left { margin: 0 0 24px; }
.divider--center { margin: 0 auto 24px; }

/* ============================================================
   STAT STRIP / CARDS
   ============================================================ */
.stats-section { background: var(--purple); padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184,134,11,0.2);
  transition: background var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.10); }
.stat-card i {
  font-size: 2rem; color: var(--gold);
  margin-bottom: 14px; display: block;
}
.stat-card h3 {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  color: var(--gold); line-height: 1;
  margin-bottom: 8px;
}
.stat-card p { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin: 0; }

/* ---- Legacy stat strip alias ---- */
.stats-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat__label { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ============================================================
   DEAN'S MESSAGE / CEO MESSAGE STYLE
   ============================================================ */
.message-section { background: var(--cream); }
.message-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.message-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.message-photo img {
  width: 100%; height: 420px;
  object-fit: cover; object-position: top;
}
.message-photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(27,42,74,0.95), transparent);
  padding: 32px 20px 20px;
  color: var(--white);
}
.message-photo-caption .name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--gold); display: block;
}
.message-photo-caption .title {
  font-size: 0.78rem; color: rgba(255,255,255,0.8);
  display: block; margin-top: 3px;
}
.message-text .lead {
  font-size: 1.2rem; color: var(--navy);
  font-family: var(--font-display); font-style: italic;
  line-height: 1.6; margin-bottom: 20px;
}
.mission-quote {
  border-left: 4px solid var(--purple);
  background: rgba(74,35,90,0.06);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--purple);
}

/* ============================================================
   PHOTO GALLERY (WYWL gallery grid pattern)
   ============================================================ */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-200);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(27,42,74,0.95) 0%, transparent 100%);
  padding: 36px 20px 18px;
  transform: translateY(4px);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption h4 {
  color: var(--gold); font-size: 1rem; margin-bottom: 4px;
}
.gallery-caption p { color: rgba(255,255,255,0.85); font-size: 0.82rem; margin: 0; }

/* ============================================================
   CONCENTRATION PILLARS  (WYWL pillar-card pattern)
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gold);
}
.pillar-card:nth-child(2) { background: var(--purple); color: var(--white); }
.pillar-card:nth-child(2)::before { background: var(--gold); }
.pillar-card:nth-child(2) h3 { color: var(--white); }
.pillar-card:nth-child(2) .pillar-subtitle { color: rgba(255,255,255,0.75); }
.pillar-card:nth-child(2) p { color: rgba(255,255,255,0.85); }
.pillar-card:nth-child(2) .pillar-features li { color: rgba(255,255,255,0.85); }
.pillar-card:nth-child(3)::before { background: var(--purple); }
.pillar-card:nth-child(4)::before { background: var(--gold); }
.pillar-card:nth-child(5)::before { background: var(--green); }
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-icon {
  width: 64px; height: 64px;
  background: rgba(184,134,11,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold);
  margin-bottom: 20px;
}
.pillar-card:nth-child(2) .pillar-icon { background: rgba(255,255,255,0.15); color: var(--gold); }
.pillar-card:nth-child(2) .pillar-features li i { color: var(--gold); }
.pillar-card:nth-child(3) .pillar-icon { background: rgba(74,35,90,0.1); color: var(--purple); }
.pillar-card:nth-child(4) .pillar-icon { background: rgba(184,134,11,0.1); color: var(--gold); }
.pillar-card:nth-child(5) .pillar-icon { background: rgba(46,125,50,0.1); color: var(--green); }
.pillar-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 4px; }
.pillar-subtitle { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 12px; }
.pillar-card p { font-size: 0.9rem; color: var(--gray-600); }
.pillar-features { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.pillar-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--gray-600); }
.pillar-features li i { color: var(--gold); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0; }
.pillar-card.pillar-highlight {
  background: #2d1238; color: var(--white);
}
.pillar-card.pillar-highlight::before { background: var(--gold); }
.pillar-card.pillar-highlight h3 { color: var(--gold); }
.pillar-card.pillar-highlight p { color: rgba(255,255,255,0.8); }
.pillar-card.pillar-highlight .pillar-subtitle { color: rgba(255,255,255,0.7); }
.pillar-card.pillar-highlight .pillar-features li { color: rgba(255,255,255,0.8); }
.pillar-card.pillar-highlight .pillar-features li i { color: var(--gold); }
.pillar-card.pillar-highlight .pillar-icon { background: rgba(184,134,11,0.2); color: var(--gold); }

/* ---- Old pillar grid (5-up) ---- */
.pillar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.pillar { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.pillar__icon { font-size: 2.2rem; margin-bottom: 12px; }
.pillar__title { font-family: var(--font-display); font-size: 1rem; color: var(--navy); font-weight: 700; letter-spacing: 0.5px; }
.pillar--faith { border-top: 4px solid var(--navy); }
.pillar--excellence { border-top: 4px solid var(--gold); }
.pillar--legacy { border-top: 4px solid var(--purple); }
.pillar--purpose { border-top: 4px solid var(--navy); }
.pillar--community { border-top: 4px solid var(--gold); }

/* ============================================================
   TIMELINE  (WYWL story-timeline pattern)
   ============================================================ */
.story-timeline { display: grid; gap: 0; position: relative; padding-left: 48px; }
.story-timeline::before {
  content: ''; position: absolute;
  left: 15px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--purple));
}
.timeline-item { position: relative; padding: 0 0 48px 32px; }
.timeline-marker {
  position: absolute; left: -49px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--gold);
}
.timeline-content { background: var(--white); border-radius: var(--radius-lg); padding: 28px 32px; box-shadow: var(--shadow-md); }
.timeline-content h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.timeline-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; max-height: 220px; }
.timeline-image img { width: 100%; height: 220px; object-fit: cover; }

/* ============================================================
   INVOLVEMENT / WHY GRID  (WYWL why-grid / involvement pattern)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.why-item {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184,134,11,0.2);
  transition: background var(--transition);
}
.why-item:hover { background: rgba(255,255,255,0.12); }
.why-item i { font-size: 2rem; color: var(--gold); margin-bottom: 14px; display: block; }
.why-item h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.why-item p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }

.involvement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.involvement-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.involvement-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.involvement-card i {
  font-size: 2.2rem; color: var(--gold);
  margin-bottom: 16px; display: block;
}
.involvement-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.involvement-card p { font-size: 0.88rem; color: var(--gray-600); margin: 0; }

/* ============================================================
   TEAM / FACULTY CARDS  (WYWL team-card pattern)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-card.featured {
  grid-column: span 1;
  border: 2px solid var(--gold);
}
.team-image {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  overflow: hidden;
}
.team-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-image img { transform: scale(1.04); }
.team-body { padding: 24px; }
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; color: var(--navy);
  margin-bottom: 4px;
}
.team-title {
  font-size: 0.8rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 12px;
  display: block;
}
.team-bio { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 16px; }
.team-details p { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 4px; }
.team-details strong { color: var(--navy); }

/* ---- Legacy faculty grid ---- */
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.faculty-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.faculty-card__photo { width: 100%; height: 220px; object-fit: cover; object-position: top; background: var(--gray-200); }
.faculty-card__body { padding: 24px; }
.faculty-card__name { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.faculty-card__title { font-size: 0.8rem; color: var(--gold); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 12px; }
.faculty-card__bio { font-size: 0.875rem; color: var(--gray-600); }

/* ============================================================
   SCHEDULE (WYWL schedule-timeline pattern)
   ============================================================ */
.schedule-timeline { display: grid; gap: 0; }
.schedule-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}
.schedule-item:last-child { border-bottom: none; }
.schedule-time {
  font-family: var(--font-display);
  font-weight: 700; color: var(--gold);
  font-size: 0.95rem; padding-top: 2px;
}
.schedule-details h4 { color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.schedule-details p { font-size: 0.88rem; color: var(--gray-600); margin: 0; }
.schedule-pillar {
  display: inline-block;
  padding: 2px 10px; border-radius: 12px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.5px; margin-left: 8px;
}
.schedule-pillar.theology   { background: rgba(27,42,74,0.1); color: var(--navy); }
.schedule-pillar.ministry   { background: rgba(184,134,11,0.15); color: #7a5a00; }
.schedule-pillar.education  { background: rgba(74,35,90,0.1); color: var(--purple); }
.schedule-pillar.worship    { background: rgba(46,125,50,0.1); color: var(--green); }
.schedule-pillar.counseling { background: rgba(184,134,11,0.15); color: #7a5a00; }

/* ============================================================
   CONTACT / LOCATIONS
   ============================================================ */
.contact-section { background: var(--cream); }
.contact-info {
  margin-top: 48px;
  text-align: center;
}
.contact-info h3 { margin-bottom: 24px; }
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-item {
  display: flex; gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.contact-item i {
  font-size: 1.4rem; color: var(--gold);
  flex-shrink: 0; margin-top: 2px;
}
.contact-item strong { display: block; color: var(--navy); margin-bottom: 4px; }
.contact-item p { font-size: 0.88rem; color: var(--gray-600); margin: 0; }
.contact-item a { color: var(--gray-600); font-size: 0.88rem; }
.contact-item a:hover { color: var(--gold); }

/* ---- Legacy contact grid ---- */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 40px; }
.contact-info-card h3 { color: var(--gold); margin-bottom: 24px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail__icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-detail__text strong { display: block; color: var(--white); margin-bottom: 4px; }
.contact-detail__text a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.contact-detail__text p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* ============================================================
   EXPANSION BANNER
   ============================================================ */
.expansion-banner {
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: var(--white); border-radius: var(--radius-lg);
  padding: 32px 40px; margin-top: 40px;
}
.expansion-banner i { font-size: 2.4rem; color: var(--gold); flex-shrink: 0; }
.expansion-banner h3 { color: var(--white); margin-bottom: 6px; }
.expansion-banner p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.95rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, #2d1238 0%, var(--purple) 100%);
  padding: 80px 24px; text-align: center; color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; }
.cta-band .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   MCKISSIC PROGRAM IDENTITY BANNER
   ============================================================ */
.mckissick-banner {
  background: linear-gradient(135deg, #2d1238 0%, var(--purple) 100%);
  padding: 60px 24px;
  text-align: center;
  color: var(--white);
  border-bottom: 4px solid var(--gold);
}
.mckissick-banner__seal { margin: 0 auto 20px; }
.mckissick-banner__seal img { width: 100px; height: 100px; object-fit: contain; margin: 0 auto; }
.mckissick-banner__eyebrow {
  font-size: 1rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(184,134,11,0.9); margin-bottom: 20px;
  display: block; line-height: 1.7;
}
.mckissick-banner p { color: rgba(255,255,255,0.78); max-width: 680px; margin: 0 auto; font-size: 1rem; }

/* ============================================================
   CONCENTRATIONS PATH CARDS
   ============================================================ */
.path-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.path-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 22px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; color: inherit;
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path-icon {
  width: 52px; height: 52px;
  background: rgba(184,134,11,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold);
  margin-bottom: 16px;
}
.path-card__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 4px; }
.path-card__tagline { font-style: italic; font-size: 0.82rem; color: var(--purple); margin-bottom: 10px; }
.path-card__text { font-size: 0.82rem; color: var(--gray-600); flex: 1; }
.path-card__link { font-size: 0.8rem; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; }

/* ============================================================
   CAMPUS GALLERY STRIP
   ============================================================ */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 260px;
}
.gallery-strip__item {
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery-strip__item img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.gallery-strip__item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,42,74,0.7), transparent 60%);
}
.gallery-label {
  position: absolute; bottom: 14px; left: 14px;
  color: rgba(255,255,255,0.9); font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.5px;
}

/* ============================================================
   STORIES GRID
   ============================================================ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.story-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.story-card__video { position: relative; aspect-ratio: 16/9; background: var(--navy); cursor: pointer; }
.story-card__thumb { width: 100%; height: 100%; object-fit: cover; }
.story-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(27,42,74,0.45); }
.story-card__play-btn { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.story-card__play-btn:hover { transform: scale(1.1); }
.play-icon { width: 0; height: 0; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 20px solid var(--navy); margin-left: 4px; }
.story-card__body { padding: 24px; }
.story-card__quote { font-family: Georgia, serif; font-style: italic; color: var(--navy); border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 12px; }
.story-card__name { font-weight: 700; color: var(--navy); font-size: 0.875rem; }
.story-card__program { font-size: 0.8rem; color: var(--gold); }

/* ============================================================
   FOOTER  (WYWL footer pattern)
   ============================================================ */
.footer {
  background: #2d1238;
  color: var(--white);
  padding: 72px 0 0;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-section h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; color: var(--gold);
  margin-bottom: 16px;
}
.footer-section h4 {
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-section p { color: rgba(255,255,255,0.6); font-size: 0.88rem; max-width: 280px; }
.footer-section ul { list-style: none; display: grid; gap: 8px; }
.footer-section ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-section ul li a:hover { color: var(--gold); }
.footer-section ul li:not(:has(a)) { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.9rem;
  transition: background var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom {
  padding: 24px 0;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.78rem; margin: 0; }
.footer-note { font-style: italic; }

/* ---- Legacy footer aliases ---- */
.site-footer { background: var(--navy); color: var(--white); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin-top: 16px; max-width: 280px; }
.footer-col h5 { color: var(--gold); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); font-size: 0.875rem; padding: 5px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-col p { color: rgba(255,255,255,0.55); font-size: 0.8rem; }

/* ============================================================
   INTERIOR PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  color: var(--white); padding: 88px 24px 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 640px; margin: 0 auto 24px; font-size: 1.1rem; }
.page-hero .tagline { color: var(--gold); font-family: var(--font-display); font-style: italic; font-size: 1.15rem; margin-bottom: 0; }

/* ============================================================
   MISC COMPONENTS (used on interior pages)
   ============================================================ */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--gray-200); }
.card__body { padding: 24px; }
.card__eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.card__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.card__text { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 16px; }

.tab-nav { display: flex; gap: 4px; background: var(--gray-100); padding: 6px; border-radius: var(--radius); flex-wrap: wrap; margin-bottom: 32px; }
.tab-btn { flex: 1; padding: 12px 16px; border: none; background: transparent; border-radius: 6px; font-weight: 600; font-size: 0.875rem; color: var(--gray-600); cursor: pointer; transition: all var(--transition); min-width: 120px; }
.tab-btn.active { background: var(--purple); color: var(--white); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.concentration-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.concentration-card__eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.concentration-card__tagline { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--purple); margin-bottom: 20px; }
.course-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
.course-tag { background: var(--cream); border-left: 3px solid var(--gold); padding: 8px 12px; font-size: 0.8rem; color: var(--navy); font-weight: 500; }
.career-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.career-chip { background: #2d1238; color: var(--white); padding: 6px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 500; }

.accordion-item { border-bottom: 1px solid var(--gray-200); }
.accordion-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; background: none; border: none; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); text-align: left; cursor: pointer; }
.accordion-btn::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform var(--transition); flex-shrink: 0; margin-left: 16px; }
.accordion-btn.active::after { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.accordion-body.open { max-height: 400px; padding-bottom: 20px; }
.accordion-body p { font-size: 0.95rem; }

.faculty-featured { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.faculty-photo-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.faculty-photo-wrap img { width: 100%; height: 400px; object-fit: cover; object-position: top; }
.faculty-badge { position: absolute; bottom: 16px; left: 16px; right: 16px; background: var(--navy); color: var(--white); padding: 12px 16px; border-radius: var(--radius); }
.faculty-badge .name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--gold); }
.faculty-badge .title { font-size: 0.78rem; color: rgba(255,255,255,0.8); margin-top: 2px; }
.credential-list { display: grid; gap: 12px; margin: 20px 0; }
.credential { display: flex; gap: 12px; align-items: flex-start; }
.credential__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 6px; }
.credential__text { font-size: 0.9rem; color: var(--gray-600); }
.credential__text strong { color: var(--navy); }
.quote-card { background: var(--cream); border-left: 4px solid var(--purple); padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.quote-card p { font-family: Georgia, serif; font-style: italic; font-size: 1.05rem; color: var(--navy); margin: 0; }

.steps-row { display: flex; gap: 0; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: var(--gold); z-index: 0; }
.step { flex: 1; text-align: center; position: relative; z-index: 1; }
.step__num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 3px solid var(--cream); box-shadow: 0 0 0 3px var(--gold); }
.step__title { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-bottom: 8px; }
.step__text { font-size: 0.82rem; color: var(--gray-600); padding: 0 8px; }

.plo-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.plo-table th { background: var(--navy); color: var(--white); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; padding: 14px 20px; text-align: left; }
.plo-table td { padding: 14px 20px; border-bottom: 1px solid var(--gray-200); font-size: 0.9rem; }
.plo-table tr:nth-child(even) td { background: var(--cream); }
.plo-table tr:last-child td { border-bottom: none; }
.plo-num { font-weight: 700; color: var(--purple); }

.hlc-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--cream); border: 2px solid var(--gold); border-radius: var(--radius); padding: 16px 24px; margin-top: 20px; }
.hlc-badge__icon { font-size: 1.8rem; }
.hlc-badge__text { font-size: 0.85rem; color: var(--navy); font-weight: 600; }
.hlc-badge__text span { display: block; font-weight: 400; color: var(--gray-600); font-size: 0.8rem; }

.ministry-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--purple); transition: all var(--transition); }
.ministry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ministry-card__icon { font-size: 2rem; margin-bottom: 14px; }
.ministry-card__title { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.ministry-card__text { font-size: 0.875rem; color: var(--gray-600); }

.campus-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.campus-img-wrap img { width: 100%; height: 300px; object-fit: cover; }

/* ============================================================
   FADE-IN UTILITY
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1300px) {
  .path-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .faculty-featured { grid-template-columns: 280px 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .message-content { grid-template-columns: 260px 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .hero-seal-col { display: none; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .involvement-grid { grid-template-columns: repeat(2, 1fr); }
  .course-list { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; max-width: 480px; }
  .steps-row::before { display: none; }
  .steps-row { flex-direction: column; gap: 24px; }
  .step { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .step__num { width: 44px; height: 44px; flex-shrink: 0; font-size: 1.1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .message-content { grid-template-columns: 1fr; }
  .message-photo { max-width: 320px; }
  .schedule-item { grid-template-columns: 140px 1fr; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .top-contact-bar { display: none; }
  .nav-menu { display: none; }
  .nav-ctas { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-nav { inset: var(--header-h) 0 0 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-featured { grid-template-columns: 1fr; }
  .faculty-featured .faculty-photo-wrap { max-width: 320px; margin: 0 auto; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
  .cta-band { padding: 56px 24px; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery-strip__item { height: 180px; }
  .stories-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .involvement-grid { grid-template-columns: 1fr 1fr; }
  .schedule-item { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .tab-nav { flex-direction: column; }
  .tab-btn { min-width: auto; }
  .path-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .involvement-grid { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE-TRANSITION PRELOADER
   ============================================================ */

/* Full-screen overlay */
#page-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #2d1238;          /* deep purple */
  opacity: 1;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: all;
}

/* Fade-out state — JS adds this class */
#page-preloader.preloader--hidden {
  opacity: 0;
  pointer-events: none;
}

/* Completely removed once transition ends */
#page-preloader.preloader--removed {
  display: none;
}

/* Seal image */
#page-preloader .preloader__seal {
  width: 180px;
  height: 180px;
  object-fit: contain;

  /* Champagne Gold tint via CSS filter — brings the image into brand palette */
  filter: drop-shadow(0 0 22px rgba(197, 179, 88, 0.55))
          drop-shadow(0 0 6px rgba(197, 179, 88, 0.30));

  /* Gentle pulse while loading */
  animation: preloader-pulse 2.2s ease-in-out infinite;

  /* Entrance — seal fades up from slight scale */
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.45s ease 0.08s, transform 0.45s ease 0.08s;
}

#page-preloader.preloader--ready .preloader__seal {
  opacity: 1;
  transform: scale(1);
}

/* Wordmark beneath the seal */
#page-preloader .preloader__wordmark {
  margin-top: 22px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C5B358;             /* Champagne Gold */
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease 0.22s, transform 0.4s ease 0.22s;
}

#page-preloader.preloader--ready .preloader__wordmark {
  opacity: 0.85;
  transform: translateY(0);
}

/* Thin gold progress bar along bottom edge */
#page-preloader .preloader__bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #4A235A 0%, #C5B358 50%, #4A235A 100%);
  animation: preloader-bar 1.8s ease-in-out forwards;
}

/* Keyframes */
@keyframes preloader-pulse {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(197,179,88,0.55)) drop-shadow(0 0 6px rgba(197,179,88,0.30)); }
  50%       { filter: drop-shadow(0 0 36px rgba(197,179,88,0.80)) drop-shadow(0 0 14px rgba(197,179,88,0.55)); }
}

@keyframes preloader-bar {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* Responsive – scale down on small screens */
@media (max-width: 480px) {
  #page-preloader .preloader__seal { width: 140px; height: 140px; }
  #page-preloader .preloader__wordmark { font-size: 0.68rem; letter-spacing: 2px; }
}
