/* =====================================================
   AKPAKIP ORO UNIVERSITY — Official Portal Stylesheet
   World-class, international standard design system
   Colours: Deep Forest Green #0a2e1a | Gold #D4AF37 | Cream #f7f5ef
   ===================================================== */

:root {
  --green-900: #0a2e1a;
  --green-800: #0d3b22;
  --green-700: #124a2b;
  --green-600: #1a5c38;
  --gold: #D4AF37;
  --gold-light: #E8C547;
  --gold-dark: #B8960C;
  --cream: #f7f5ef;
  --cream-dark: #efebe0;
  --white: #ffffff;
  --off-white: #fafaf8;
  --text-dark: #1a1a1a;
  --text-muted: #5a5a5a;
  --text-light: #8a8a8a;
  --shadow-sm: 0 2px 8px rgba(10,46,26,0.06);
  --shadow-md: 0 8px 24px rgba(10,46,26,0.10);
  --shadow-lg: 0 16px 48px rgba(10,46,26,0.14);
  --shadow-gold: 0 0 30px rgba(212,175,55,0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::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(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- TOP BAR ---------- */
.top-bar {
  background: var(--green-900);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 0.45rem 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar a { color: var(--gold); transition: var(--transition); }
.top-bar a:hover { color: var(--gold-light); }
.top-bar-right { display: flex; gap: 1.25rem; align-items: center; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(10,46,26,0.08);
  margin-bottom: 0 !important;
}
.site-header .container,
.site-header .header-inner {
  position: relative;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.logo-seal {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
  overflow: visible; /* allow gold ring animation */
  padding: 0;
  position: relative;
}
.logo-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.logo-seal-lg {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-seal-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,46,26,0.08);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(10,46,26,0.9));
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}
.jitsi-embed-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0a;
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.jitsi-embed-wrap.open { display: flex; }
.jitsi-toolbar {
  background: rgba(10,46,26,0.98);
  border-bottom: 2px solid rgba(212,175,55,0.35);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  flex-shrink: 0;
  min-height: 52px;
}
.jitsi-container {
  flex: 1 1 auto;
  min-height: 0;
  height: calc(100vh - 52px);
  width: 100%;
  position: relative;
  background: #111;
}
.jitsi-container iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.news-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,46,26,0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .news-img {
  height: 160px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.news-card .news-date { font-size: 0.75rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 0.4rem; }
.news-card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--green-900); margin-bottom: 0.5rem; }
.news-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.logo-text h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-900);
  line-height: 1.15;
  font-weight: 700;
}
.logo-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
  justify-content: flex-end;
}
.main-nav a {
  padding: 0.48rem 0.78rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--green-900);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover {
  background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.08));
  color: #0a2e1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212,175,55,0.15);
}
.main-nav a.active {
  background: rgba(10,46,26,0.08);
  color: #0a2e1a;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.35);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #F0D78C);
  border-radius: 99px;
}
.nav-cta {
  background: linear-gradient(135deg, #E0C35A, #D4AF37 40%, #B8942E) !important;
  color: #0a2e1a !important;
  font-weight: 800 !important;
  padding: 0.52rem 1.15rem !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 16px rgba(212,175,55,0.4), inset 0 1px 0 rgba(255,255,255,0.35) !important;
  border: 1px solid rgba(184,148,46,0.5) !important;
}
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(212,175,55,0.5), inset 0 1px 0 rgba(255,255,255,0.4) !important;
  filter: brightness(1.03);
}
.nav-cta.active::after { display: none !important; }


.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--green-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10,46,26,0.82) 0%, rgba(13,61,34,0.72) 45%, rgba(10,46,26,0.88) 100%),
    url("../images/hero-campus-gate.jpg") center center / cover no-repeat;
  overflow: hidden;
  color: white;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 2.75rem;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}
.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero h2 span { color: var(--gold); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--green-900);
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212,175,55,0.5);
}
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.1);
  color: var(--gold);
}
.btn-green {
  background: var(--green-900);
  color: white;
}
.btn-green:hover { background: var(--green-700); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
  line-height: 1.2;
}
.stat-item span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ---------- SECTION COMMONS ---------- */
.section {
  padding: 5rem 0;
}
.section-alt { background: var(--cream); }
.section-dark {
  background: var(--green-900);
  color: white;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header .eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--green-900);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.section-dark .section-header h2 { color: white; }
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-dark .section-header p { color: rgba(255,255,255,0.7); }
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 0 auto 1.25rem;
  border-radius: 2px;
}

/* ---------- FEATURE CARDS ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,46,26,0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--gold-dark);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-900);
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- FACULTIES ---------- */
.faculties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.faculty-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,46,26,0.06);
  transition: var(--transition);
}
.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.faculty-banner {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  position: relative;
}
.faculty-banner.eng { background: linear-gradient(135deg, #0a2e1a, #1a5c38); }
.faculty-banner.health { background: linear-gradient(135deg, #0d4a6e, #1a7a9e); }
.faculty-banner.business { background: linear-gradient(135deg, #5c3a0a, #8a5a1a); }
.faculty-banner.law { background: linear-gradient(135deg, #3a1a4a, #5c2a7a); }
.faculty-banner.arts { background: linear-gradient(135deg, #4a1a2a, #7a2a4a); }
.faculty-banner.science { background: linear-gradient(135deg, #1a3a4a, #2a5a6a); }
.faculty-body { padding: 1.5rem; }
.faculty-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
  margin-bottom: 0.5rem;
}
.faculty-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.faculty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  background: rgba(212,175,55,0.12);
  color: var(--gold-dark);
  font-weight: 600;
}

/* ---------- MISSION / HERITAGE ---------- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.mission-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-900);
  margin-bottom: 1rem;
}
.mission-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.pillar-list { margin-top: 1.5rem; }
.pillar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212,175,55,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
.pillar h4 {
  font-size: 0.95rem;
  color: var(--green-900);
  margin-bottom: 0.2rem;
}
.pillar p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.heritage-card {
  background: linear-gradient(145deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.heritage-card::after {
  content: 'OJEI';
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-family: var(--font-display);
  font-size: 6rem;
  opacity: 0.06;
  color: var(--gold);
  font-weight: 700;
}
.heritage-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.chant-box {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}
.chant-box .oro {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}
.chant-box .eng {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.35rem;
}
.chant-box.pulse {
  box-shadow: 0 0 0 0 rgba(212,175,55,0.5);
  animation: chantPulse 1.4s ease-out infinite;
  border-color: rgba(212,175,55,0.7);
}
@keyframes chantPulse {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-seal {
  width: 48px;
  height: 48px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer-brand h3 {
  font-family: var(--font-display);
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 300px;
}
.footer-col h4 {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  transition: var(--transition);
  font-size: 0.88rem;
}
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom strong { color: var(--gold); }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: white;
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.12) 0%, transparent 60%);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  position: relative;
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  font-size: 1.05rem;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
  position: relative;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { opacity: 0.5; }

/* ---------- CONTENT CARDS ---------- */
.content-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,46,26,0.05);
  margin-bottom: 1.5rem;
}
.content-card h3 {
  font-family: var(--font-display);
  color: var(--green-900);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* ---------- TABLES ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  background: var(--green-900);
  color: var(--gold);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(10,46,26,0.06);
}
.data-table tr:hover td { background: rgba(212,175,55,0.05); }

/* ---------- FORMS ---------- */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(10,46,26,0.15);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---------- LIBRARY / COURSE GRID ---------- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.resource-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid rgba(10,46,26,0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.resource-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.resource-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  background: rgba(212,175,55,0.15);
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
  align-self: flex-start;
}
.resource-card h4 {
  font-size: 0.95rem;
  color: var(--green-900);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.resource-card .meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  flex-grow: 1;
}
.resource-card .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  align-self: flex-start;
}

/* ---------- LIVE BADGE ---------- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(220,38,38,0.1);
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}
.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    position: relative;
  }
  .logo-group { min-width: 0; flex: 1 1 auto; }
  .logo-text h1 { font-size: 1rem; line-height: 1.2; }
  .logo-text span { font-size: 0.7rem; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(75vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.75rem 0.85rem 1rem;
    margin: 0;
    background: #fff;
    border: 1px solid rgba(10,46,26,0.1);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 40px rgba(10,46,26,0.18);
    z-index: 1200;
  }
  .main-nav.open {
    display: flex !important;
  }
  .main-nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 0.9rem !important;
    margin: 0;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.3;
  }
  .main-nav a.nav-cta {
    text-align: center;
    margin-top: 0.35rem !important;
  }
  .main-nav a.active::after { display: none; }
  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(10,46,26,0.12);
    border-radius: 10px;
    background: rgba(10,46,26,0.04);
    cursor: pointer;
  }
  .mobile-toggle span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--green-900);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.2s ease;
  }
  .mobile-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .global-search-wrap { display: none; }
  .hero { min-height: auto; }
  .hero-stats { gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- UTILITIES ---------- */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 0.5rem; }
.w-full { width: 100%; }

/* ---------- ONWI-ORO FLOATING AGENT ---------- */
.onwi-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  padding: 0;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(10,46,26,0.35), 0 0 0 0 rgba(212,175,55,0.45);
  overflow: hidden;
  background: #0a2e1a;
  animation: onwiFloat 3.2s ease-in-out infinite, onwiGlow 2.4s ease-out infinite;
  transition: transform 0.25s ease;
}
.onwi-fab:hover { transform: scale(1.08); }
.onwi-fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.onwi-fab-label {
  position: fixed;
  right: 5.5rem;
  bottom: 2.4rem;
  z-index: 9000;
  background: var(--green-900);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.4);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
}
.onwi-fab:hover + .onwi-fab-label,
.onwi-fab-wrap:hover .onwi-fab-label { opacity: 1; transform: translateX(0); }
@keyframes onwiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes onwiGlow {
  0% { box-shadow: 0 8px 28px rgba(10,46,26,0.35), 0 0 0 0 rgba(212,175,55,0.5); }
  70% { box-shadow: 0 8px 28px rgba(10,46,26,0.35), 0 0 0 12px rgba(212,175,55,0); }
  100% { box-shadow: 0 8px 28px rgba(10,46,26,0.35), 0 0 0 0 rgba(212,175,55,0); }
}
.onwi-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 6rem;
  z-index: 9001;
  width: min(380px, calc(100vw - 1.5rem));
  height: min(520px, calc(100vh - 7.5rem));
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(10,46,26,0.1);
  box-shadow: 0 20px 50px rgba(10,46,26,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.onwi-panel.open { display: flex; }
.onwi-panel-header {
  background: linear-gradient(135deg, #0a2e1a, #124a2b);
  color: #fff;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.onwi-panel-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}
.onwi-panel-header h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  margin: 0;
  line-height: 1.2;
}
.onwi-panel-header span {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.onwi-panel-close {
  margin-left: auto;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.onwi-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: #f7f5ef;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.onwi-msg {
  max-width: 92%;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.onwi-msg.bot {
  background: #fff;
  border: 1px solid rgba(10,46,26,0.08);
  color: #1a1a1a;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.onwi-msg.user {
  background: linear-gradient(135deg, #0a2e1a, #1a5c38);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.onwi-msg strong { color: #0a2e1a; }
.onwi-msg.bot strong { color: #0a2e1a; }
.onwi-msg em, .onwi-msg i { color: #5a5a5a; font-style: italic; }
.onwi-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(10,46,26,0.08);
  background: #fff;
  flex-shrink: 0;
}
.onwi-input-row input {
  flex: 1;
  border: 1.5px solid rgba(10,46,26,0.15);
  border-radius: 24px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}
.onwi-input-row input:focus { border-color: var(--gold); }
.onwi-input-row button {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a2e1a;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
.onwi-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 1rem 0.5rem;
  background: #f7f5ef;
}
.onwi-chip {
  font-size: 0.7rem;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  background: rgba(212,175,55,0.15);
  color: #0a2e1a;
  border: 1px solid rgba(212,175,55,0.35);
  cursor: pointer;
  font-weight: 600;
}
.onwi-chip:hover { background: rgba(212,175,55,0.3); }
@media (max-width: 480px) {
  .onwi-fab { right: 0.85rem; bottom: 0.85rem; width: 60px; height: 60px; }
  .onwi-panel { right: 0.5rem; left: 0.5rem; width: auto; bottom: 5.2rem; }
}

/* ---------- e-Library search bar ---------- */
.lib-search-sticky {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(247,245,239,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.85rem 0 0.65rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(10,46,26,0.08);
}
.lib-search-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.lib-search-field {
  flex: 1;
  min-width: 220px;
  position: relative;
  display: flex;
  align-items: center;
}
.lib-search-icon {
  position: absolute;
  left: 1rem;
  font-size: 1rem;
  pointer-events: none;
  opacity: 0.7;
}
.lib-search-field input {
  width: 100%;
  padding: 0.9rem 2.75rem 0.9rem 2.75rem;
  border: 2px solid rgba(10,46,26,0.12);
  border-radius: 50px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10,46,26,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lib-search-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.25);
}
.lib-search-clear {
  position: absolute;
  right: 0.65rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(10,46,26,0.08);
  color: var(--green-900);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lib-search-clear:hover { background: rgba(10,46,26,0.15); }
#lib-filter {
  padding: 0.85rem 1.1rem;
  border: 2px solid rgba(10,46,26,0.12);
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  min-width: 200px;
  cursor: pointer;
}
#lib-filter:focus {
  outline: none;
  border-color: var(--gold);
}
.lib-search-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.lib-search-meta strong { color: var(--green-900); }
.lib-search-hint kbd {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  border: 1px solid rgba(10,46,26,0.15);
  background: #fff;
  font-size: 0.75rem;
  font-family: inherit;
}
.lib-section-hidden { display: none !important; }
@media (max-width: 640px) {
  .lib-search-sticky { top: 60px; }
  .lib-search-hint { display: none; }
  #lib-filter { width: 100%; }
}

/* ---------- 70k+ mega catalogue search ---------- */
.mega-catalog {
  background: linear-gradient(135deg, #0a2e1a 0%, #134d2e 55%, #1a5c38 100%);
  color: #f7f5ef;
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 12px 40px rgba(10,46,26,0.25);
  border: 1px solid rgba(212,175,55,0.25);
}
.mega-catalog h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  color: #D4AF37;
}
.mega-catalog .mega-sub {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.15rem;
  line-height: 1.45;
}
.mega-catalog .mega-sub strong { color: #f0e6c8; }
.mega-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.mega-search-row input {
  flex: 1;
  min-width: 200px;
  padding: 0.95rem 1.25rem;
  border-radius: 50px;
  border: 2px solid rgba(212,175,55,0.35);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #0a2e1a;
}
.mega-search-row input:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.3);
}
.mega-search-row button {
  padding: 0.95rem 1.4rem;
  border-radius: 50px;
  border: none;
  background: #D4AF37;
  color: #0a2e1a;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, background 0.15s;
}
.mega-search-row button:hover { background: #e4c04a; transform: translateY(-1px); }
.mega-sources {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.55rem;
}
.mega-source {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f7f5ef;
  text-decoration: none;
  font-size: 0.82rem;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.mega-source:hover {
  background: rgba(212,175,55,0.2);
  border-color: rgba(212,175,55,0.45);
  color: #fff;
}
.mega-source .src-name { font-weight: 700; font-size: 0.88rem; color: #D4AF37; }
.mega-source .src-count { opacity: 0.75; font-size: 0.75rem; }
.mega-note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  opacity: 0.7;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .mega-catalog { padding: 1.25rem 1rem; }
  .mega-sources { grid-template-columns: 1fr 1fr; }
}

/* ---- Tier-1 upgrades: search, programmes, a11y ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: #D4AF37; color: #0a2e1a;
  padding: 0.5rem 1rem; z-index: 10000; font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.proposed-banner {
  background: linear-gradient(90deg, #0a2e1a, #134d2e);
  color: #f7f5ef; text-align: center; padding: 0.55rem 1rem;
  font-size: 0.85rem; border-bottom: 2px solid rgba(212,175,55,0.4);
}
.proposed-banner strong { color: #D4AF37; }
.global-search-wrap { position: relative; margin-left: 0.5rem; }
.global-search-wrap input {
  padding: 0.45rem 0.85rem; border-radius: 999px; border: 1.5px solid rgba(10,46,26,0.15);
  font-family: inherit; font-size: 0.85rem; width: 160px; transition: width 0.2s;
}
.global-search-wrap input:focus { width: 220px; outline: none; border-color: #D4AF37; }
.global-search-results {
  display: none; position: absolute; right: 0; top: 110%; width: min(360px, 90vw);
  background: #fff; border: 1px solid rgba(10,46,26,0.12); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12); max-height: 400px; overflow-y: auto; z-index: 500;
}
.global-search-results.open { display: block; }
.gs-item {
  display: block; padding: 0.65rem 0.9rem; text-decoration: none; color: inherit;
  border-bottom: 1px solid rgba(10,46,26,0.06); font-size: 0.85rem;
}
.gs-item:hover { background: #f3f8f4; }
.gs-type { font-size: 0.7rem; font-weight: 700; color: #0a2e1a; text-transform: uppercase; letter-spacing: 0.04em; }
.gs-title { font-weight: 600; color: #0a2e1a; }
.gs-snip { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.15rem; }
.audience-gateways {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin: 1.5rem 0;
}
.audience-card {
  background: #fff; border: 1.5px solid rgba(10,46,26,0.1); border-radius: 14px;
  padding: 1rem; text-align: center; text-decoration: none; color: inherit; transition: 0.15s;
}
.audience-card:hover { border-color: #D4AF37; transform: translateY(-2px); }
.programme-filters { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.25rem; align-items: center; }
.programme-filters input, .programme-filters select {
  padding: 0.65rem 1rem; border-radius: 10px; border: 1.5px solid rgba(10,46,26,0.15); font-family: inherit;
}
.programme-card {
  background: #fff; border: 1.5px solid rgba(10,46,26,0.1); border-radius: 16px; padding: 1.25rem;
  margin-bottom: 1rem;
}
.programme-card h3 { margin: 0 0 0.35rem; color: #0a2e1a; font-size: 1.15rem; }
.programme-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.programme-card ul { margin: 0.5rem 0 0.75rem 1.1rem; color: var(--text-muted); font-size: 0.9rem; }
:focus-visible { outline: 3px solid #D4AF37; outline-offset: 2px; }
.main-nav a:focus-visible, .btn:focus-visible { outline: 3px solid #D4AF37; outline-offset: 2px; }

/* ---- Dynamic logo / seal + page motion (live) ---- */
.logo-group {
  transition: transform 0.25s ease;
}
.logo-group:hover {
  transform: scale(1.03);
}
.logo-seal {
  position: relative;
  overflow: visible !important;
  animation: sealSpinIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.logo-seal::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.55);
  border-top-color: #D4AF37;
  border-right-color: transparent;
  animation: sealRing 3.5s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.logo-seal img {
  border-radius: 50%;
  display: block;
  animation: sealFloat 4s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.35), 0 4px 16px rgba(10,46,26,0.2);
  transition: transform 0.45s ease, box-shadow 0.35s ease;
}
.logo-group:hover .logo-seal img {
  transform: rotate(10deg) scale(1.1) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.6), 0 0 28px rgba(212,175,55,0.5);
  animation-play-state: paused;
}
.logo-seal-lg {
  overflow: visible !important;
  position: relative;
  animation: sealSpinIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.logo-seal-lg img {
  border-radius: 50%;
  animation: sealFloat 5s ease-in-out infinite, sealGlow 2.8s ease-in-out infinite;
}

@keyframes sealSpinIn {
  0% { opacity: 0; transform: scale(0.35) rotate(-140deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes sealFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes sealRing {
  to { transform: rotate(360deg); }
}
@keyframes sealGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(212,175,55,0.3), 0 0 12px rgba(212,175,55,0.25); }
  50% { box-shadow: 0 0 0 4px rgba(212,175,55,0.55), 0 0 28px rgba(212,175,55,0.5); }
}

/* Hero / titles */
.hero-content,
.hero .hero-content {
  animation: riseIn 0.9s ease both;
}
.hero-badge {
  animation: riseIn 0.75s 0.08s ease both;
}
.page-hero h1 {
  animation: riseIn 0.8s ease both;
}
.page-hero p {
  animation: riseIn 0.85s 0.1s ease both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Banner */
.proposed-banner {
  animation: bannerSlide 0.55s ease both;
}
@keyframes bannerSlide {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card / button hover */
.feature-card,
.content-card,
.programme-card,
.audience-card,
.resource-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.feature-card:hover,
.programme-card:hover,
.audience-card:hover,
.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(10, 46, 26, 0.14);
}
.btn {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .logo-seal,
  .logo-seal img,
  .logo-seal::after,
  .logo-seal-lg,
  .logo-seal-lg img,
  .hero-content,
  .hero-badge,
  .page-hero h1,
  .page-hero p,
  .proposed-banner,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .feature-card:hover,
  .programme-card:hover,
  .audience-card:hover,
  .resource-card:hover,
  .btn:hover,
  .logo-group:hover {
    transform: none !important;
  }
}

/* ---- Page transitions ---- */
body.aou-page {
  opacity: 0;
  transform: none;
  transition: opacity 0.35s ease;
}
body.aou-page.is-ready {
  opacity: 1;
  transform: translateY(0);
}
body.aou-page.is-leaving {
  opacity: 0;
  transform: translateY(-10px) scale(0.99);
  transition: opacity 0.28s ease, transform 0.3s ease;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  body.aou-page,
  body.aou-page.is-ready,
  body.aou-page.is-leaving {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ========== AOU mobile enhancement ========== */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .logo-text h1 {
    font-size: 0.95rem;
  }
  .logo-text span {
    font-size: 0.7rem;
  }
  .main-nav {
    width: 100%;
    order: 3;
  }
  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1.5px solid rgba(10,46,26,0.2);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
  }
  .mobile-toggle span {
    display: block;
    height: 2px;
    background: #0a2e1a;
    border-radius: 2px;
    transition: 0.2s;
  }
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .global-search-wrap {
    width: 100%;
    margin: 0.35rem 0 0;
  }
  .global-search-wrap input {
    width: 100% !important;
  }
  .global-search-results {
    width: 100%;
    left: 0;
    right: 0;
  }
  .hero {
    padding: 2rem 0 !important;
  }
  .hero-content h1,
  .hero h1 {
    font-size: 1.65rem !important;
    line-height: 1.25;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch !important;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  .audience-gateways {
    grid-template-columns: 1fr 1fr !important;
  }
  .features-grid {
    grid-template-columns: 1fr !important;
  }
  .mission-grid {
    grid-template-columns: 1fr !important;
  }
  .form-row {
    flex-direction: column !important;
  }
  .form-row .form-group {
    width: 100% !important;
  }
  .page-hero {
    padding: 1.5rem 0 !important;
  }
  .page-hero h1 {
    font-size: 1.5rem !important;
  }
  .data-table {
    font-size: 0.8rem;
  }
  .data-table th,
  .data-table td {
    padding: 0.5rem 0.4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .cta-banner {
    padding: 1.5rem 1rem !important;
    text-align: center;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  /* Floating UI: avoid overlap */
  #donate-fab {
    bottom: 5.5rem !important;
    right: 1rem !important;
    padding: 0.7rem 1.1rem !important;
    font-size: 0.85rem !important;
  }
  #aou-top {
    bottom: 1rem !important;
    left: 1rem !important;
  }
  .proposed-banner {
    font-size: 0.75rem !important;
    padding: 0.45rem 0.65rem !important;
    line-height: 1.35;
  }
  .top-bar {
    font-size: 0.75rem;
  }
  .top-bar-right {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .programme-filters {
    flex-direction: column;
    align-items: stretch !important;
  }
  .programme-filters input,
  .programme-filters select {
    width: 100%;
  }
  .donor-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .donor-toolbar input,
  .donor-toolbar select {
    width: 100% !important;
    border-radius: 12px !important;
  }
  .donor-stats {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
  .donors-hero h1 {
    font-size: 1.35rem !important;
    padding: 0 0.5rem;
  }
  .donors-hero .sub {
    font-size: 0.9rem !important;
    padding: 0 0.75rem;
  }
  .tribute-grid {
    grid-template-columns: 1fr !important;
  }
  .tier-cards {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .logo-seal {
    width: 46px !important;
    height: 46px !important;
  }
  .logo-text h1 {
    font-size: 0.85rem !important;
  }
  .audience-gateways {
    grid-template-columns: 1fr !important;
  }
  .hero-stats {
    grid-template-columns: 1fr !important;
  }
  .nav-cta {
    text-align: center;
  }
  #donate-fab {
    right: 0.75rem !important;
    left: auto !important;
  }
}

/* Touch-friendly targets */
@media (hover: none) and (pointer: coarse) {
  .main-nav a,
  .btn,
  .footer-col a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .main-nav a {
    width: 100%;
    padding: 0.65rem 0.5rem !important;
  }
}

/* Footer logo — spin + home link */
.footer-brand a.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.footer-brand .logo-seal {
  overflow: visible !important;
  animation: footerSealSpin 12s linear infinite;
  cursor: pointer;
}
.footer-brand .logo-seal img {
  border-radius: 50%;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.footer-brand a.footer-logo-link:hover .logo-seal {
  animation: footerSealSpinFast 1.2s linear infinite;
}
.footer-brand a.footer-logo-link:hover .logo-seal img {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.55), 0 0 20px rgba(212,175,55,0.4);
}
@keyframes footerSealSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes footerSealSpinFast {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-brand .logo-seal {
    animation: none !important;
  }
}


/* ================================================================
   AOU MOTION SYSTEM v3 — header seal, hero, reveal, hover
   High specificity so it wins over earlier rules
   ================================================================ */

/* --- Header seal (not footer) --- */
.site-header .logo-group .logo-seal,
header .logo-group .logo-seal {
  position: relative !important;
  overflow: visible !important;
  animation: aouSealIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}
.site-header .logo-group .logo-seal::after,
header .logo-group .logo-seal::after {
  content: "" !important;
  position: absolute !important;
  inset: -6px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(212, 175, 55, 0.45) !important;
  border-top-color: #D4AF37 !important;
  border-right-color: transparent !important;
  animation: aouSealRing 3.2s linear infinite !important;
  pointer-events: none !important;
  z-index: 3 !important;
  box-sizing: border-box !important;
}
.site-header .logo-group .logo-seal img,
header .logo-group .logo-seal img {
  display: block !important;
  border-radius: 50% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  animation: aouSealFloat 3.5s ease-in-out infinite !important;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.4), 0 4px 14px rgba(10,46,26,0.25) !important;
  transition: transform 0.4s ease, box-shadow 0.35s ease !important;
}
.site-header .logo-group:hover .logo-seal img,
header .logo-group:hover .logo-seal img {
  animation-play-state: paused !important;
  transform: rotate(12deg) scale(1.12) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.7), 0 0 28px rgba(212,175,55,0.55) !important;
}
.site-header .logo-group:hover .logo-seal::after,
header .logo-group:hover .logo-seal::after {
  animation-duration: 1.2s !important;
  border-top-color: #f0d675 !important;
}

/* Large seal (hero) */
.logo-seal-lg {
  position: relative !important;
  overflow: visible !important;
  animation: aouSealIn 1.25s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}
.logo-seal-lg img {
  border-radius: 50% !important;
  animation: aouSealFloat 4s ease-in-out infinite, aouSealGlow 2.5s ease-in-out infinite !important;
}

@keyframes aouSealIn {
  0% { opacity: 0; transform: scale(0.3) rotate(-160deg); }
  70% { opacity: 1; transform: scale(1.06) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes aouSealFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes aouSealRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes aouSealGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(212,175,55,0.35), 0 0 16px rgba(212,175,55,0.3); }
  50% { box-shadow: 0 0 0 5px rgba(212,175,55,0.55), 0 0 32px rgba(212,175,55,0.5); }
}

/* Banner */
.proposed-banner {
  animation: aouBannerIn 0.55s ease both !important;
  margin: 0 !important;
}
@keyframes aouBannerIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Hero / titles */
.hero-content,
.hero .hero-content {
  animation: aouRise 0.85s ease both !important;
}
.hero-badge {
  animation: aouRise 0.7s 0.1s ease both !important;
}
.page-hero h1 {
  animation: aouRise 0.75s ease both !important;
}
.page-hero p {
  animation: aouRise 0.8s 0.12s ease both !important;
}
@keyframes aouRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.7s ease, transform 0.7s ease !important;
}
.reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Card / button hover lift */
.feature-card,
.programme-card,
.audience-card,
.resource-card,
.content-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.feature-card:hover,
.programme-card:hover,
.audience-card:hover,
.resource-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(10, 46, 26, 0.14) !important;
}
.btn:hover {
  transform: translateY(-2px) !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-header .logo-group .logo-seal,
  .site-header .logo-group .logo-seal::after,
  .site-header .logo-group .logo-seal img,
  .logo-seal-lg,
  .logo-seal-lg img,
  .proposed-banner,
  .hero-content,
  .hero-badge,
  .page-hero h1,
  .page-hero p,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ========== AOU Mobile UI polish (final) ========== */
@media (max-width: 900px) {
  .top-bar .container {
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.78rem;
    justify-content: space-between;
  }
  .top-bar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    justify-content: flex-end;
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .site-header .header-inner {
    position: relative;
    align-items: center;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    max-height: 75vh;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem 0.75rem 0.9rem;
    background: #ffffff;
    border-radius: 0 0 14px 14px;
    border: 1px solid rgba(10,46,26,0.1);
    border-top: none;
    box-shadow: 0 18px 40px rgba(10,46,26,0.16);
    z-index: 1300;
  }
  .main-nav.open { display: flex !important; }
  .main-nav a {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 0.72rem 0.85rem !important;
    border-radius: 10px;
  }
  .main-nav a.nav-cta {
    text-align: center;
    margin-top: 0.4rem !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
    margin-left: auto;
  }
  .page-hero { padding: 1.35rem 0 !important; }
  .page-hero h1 { font-size: 1.45rem !important; line-height: 1.25; }
  .section { padding-left: 0; padding-right: 0; }
  .container { padding-left: 1rem; padding-right: 1rem; }
  .btn { min-height: 44px; }
  .portal-shell { grid-template-columns: 1fr !important; }
  .portal-side { border-radius: 14px 14px 0 0 !important; }
  .portal-main { border-radius: 0 0 14px 14px !important; border-left: 1px solid rgba(212,175,55,.18) !important; }
  .stat-row { grid-template-columns: 1fr 1fr !important; }
  .tile-grid { grid-template-columns: 1fr !important; }
  .role-pick { grid-template-columns: 1fr 1fr !important; }
  .login-card { margin-left: 0; margin-right: 0; }
  .onwi-fab { right: 0.85rem; bottom: 0.85rem; width: 58px; height: 58px; }
}
@media (max-width: 480px) {
  .logo-text h1 { font-size: 0.92rem !important; }
  .role-pick { grid-template-columns: 1fr !important; }
  .hero-stats { grid-template-columns: 1fr 1fr !important; }
}

body.nav-open { overflow: hidden; }


/* ========== Attractive mobile menu drawer ========== */
@media (max-width: 900px) {
  .main-nav {
    background:
      linear-gradient(180deg, #0f3a24 0%, #0a2e1a 55%, #082418 100%) !important;
    border: 1px solid rgba(212,175,55,0.28) !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 24px 48px rgba(0,0,0,0.35), inset 0 1px 0 rgba(212,175,55,0.12) !important;
    padding: 0.85rem 0.75rem 1.1rem !important;
    gap: 0.3rem !important;
  }
  .main-nav::before {
    content: "Menu · Ojei Bari Avañ Ki";
    display: block;
    color: #D4AF37;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem 0.65rem;
    border-bottom: 1px solid rgba(212,175,55,0.2);
    margin-bottom: 0.35rem;
  }
  .main-nav a {
    color: rgba(255,255,255,0.92) !important;
    background: transparent !important;
    border-radius: 12px !important;
    padding: 0.8rem 0.95rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    border-left: 3px solid transparent;
  }
  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(212,175,55,0.14) !important;
    color: #F5E6A8 !important;
    border-left-color: #D4AF37;
    transform: none !important;
  }
  .main-nav a.active {
    background: rgba(212,175,55,0.18) !important;
    color: #F5E6A8 !important;
    border-left-color: #D4AF37;
    box-shadow: none !important;
  }
  .main-nav a.active::after { display: none !important; }
  .main-nav a.nav-cta {
    margin-top: 0.5rem !important;
    text-align: center !important;
    border-left: none !important;
    background: linear-gradient(135deg, #E0C35A, #D4AF37, #B8942E) !important;
    color: #0a2e1a !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 18px rgba(212,175,55,0.35) !important;
  }
  .mobile-toggle {
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.08)) !important;
    border: 1px solid rgba(212,175,55,0.45) !important;
    border-radius: 12px !important;
  }
  .mobile-toggle span {
    background: #0a2e1a !important;
  }
  .mobile-toggle.active {
    background: #0a2e1a !important;
    border-color: #D4AF37 !important;
  }
  .mobile-toggle.active span {
    background: #D4AF37 !important;
  }
}


/* AOU UX polish 20261106 */
.container{max-width:1120px;margin:0 auto;padding-left:1.15rem;padding-right:1.15rem}
.page-hero{
  background:linear-gradient(135deg,#0a2e1a 0%,#0d3d22 50%,#0a2e1a 100%);
  border-bottom:1px solid rgba(212,175,55,.22);
  padding:1.75rem 0 1.5rem;
}
.page-hero h1{
  font-family:"Playfair Display",Georgia,serif;
  color:#fff;
  font-size:clamp(1.6rem,3.5vw,2.35rem);
  margin:.35rem 0 .4rem;
  line-height:1.2;
}
.page-hero p{color:rgba(255,255,255,.72);margin:0;max-width:640px}
.breadcrumb{font-size:.82rem;color:rgba(255,255,255,.55);margin-bottom:.35rem}
.breadcrumb a{color:#D4AF37;text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.content-card,.feature-card,.programme-card{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.content-card:hover,.feature-card:hover,.programme-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 36px rgba(0,0,0,.22);
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
  border-radius:999px;font-weight:700;text-decoration:none;cursor:pointer;
  transition:transform .18s,box-shadow .18s,filter .18s;
}
.btn:hover{transform:translateY(-1px)}
.btn:focus-visible,.main-nav a:focus-visible,.mobile-toggle:focus-visible{
  outline:3px solid #D4AF37;outline-offset:2px;
}
.site-footer{border-top:1px solid rgba(212,175,55,.2)}
.footer-bottom a{color:#D4AF37;text-decoration:none}
.footer-bottom a:hover{text-decoration:underline}
/* sticky mobile apply bar */
.mobile-cta-bar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:8600;
  padding:.55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  background:rgba(6,28,16,.96);border-top:1px solid rgba(212,175,55,.35);
  gap:.5rem;justify-content:center;
}
@media(max-width:768px){
  .mobile-cta-bar{display:flex}
  body{padding-bottom:4.2rem}
  #aou-wa-root{bottom:4.6rem}
  .onwi-fab-wrap{bottom:4.6rem}
}


/* AOU_DYNAMIC_20261106 — richer motion */
@keyframes aouFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes aouFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes aouScaleIn {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes aouShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes aouPulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,.35); }
  50% { box-shadow: 0 0 0 10px rgba(212,175,55,0); }
}
.page-hero h1 {
  animation: aouFadeUp .7s ease both;
}
.page-hero p {
  animation: aouFadeUp .75s .1s ease both;
}
.prospect-strip a {
  animation: aouFadeUp .6s ease both;
}
.prospect-strip a:nth-child(1){animation-delay:.05s}
.prospect-strip a:nth-child(2){animation-delay:.12s}
.prospect-strip a:nth-child(3){animation-delay:.19s}
.prospect-strip a:nth-child(4){animation-delay:.26s}
.feature-card, .content-card, .programme-card, .audience-card, .resource-card, .tile {
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s ease;
}
.feature-card:hover, .content-card:hover, .programme-card:hover, .resource-card:hover, .tile:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: aouShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
.nav-cta {
  animation: aouPulseGold 2.8s ease-in-out infinite;
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.stat-item, .hero-stats > * {
  transition: transform .25s ease;
}
.stat-item:hover, .hero-stats > *:hover {
  transform: scale(1.04);
}
/* Stagger utility */
.stagger > *:nth-child(1){transition-delay:.05s}
.stagger > *:nth-child(2){transition-delay:.1s}
.stagger > *:nth-child(3){transition-delay:.15s}
.stagger > *:nth-child(4){transition-delay:.2s}
.stagger > *:nth-child(5){transition-delay:.25s}
.stagger > *:nth-child(6){transition-delay:.3s}
@media (prefers-reduced-motion: reduce) {
  .reveal, .page-hero h1, .page-hero p, .prospect-strip a, .btn-primary::after, .nav-cta {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* World-class home finder */
.chip-link{
  display:inline-block;padding:.35rem .75rem;border-radius:999px;font-size:.8rem;font-weight:600;
  text-decoration:none;color:#F5E6A8;background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.28);
  transition:background .2s,transform .2s;
}
.chip-link:hover{background:rgba(212,175,55,.22);transform:translateY(-1px)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}


/* ========== AOU Mobile nav system (consolidated 2026-11-24) ========== */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 18, 10, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1400;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-backdrop.show {
  display: block;
  opacity: 1;
}
body.nav-open { overflow: hidden; touch-action: none; }

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1500;
  }
  .header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    padding: 0.55rem 0 !important;
    position: relative !important;
  }
  .logo-group { min-width: 0; flex: 1 1 auto; }
  .logo-text h1 { font-size: 1rem !important; line-height: 1.2; }
  .logo-text span { font-size: 0.7rem !important; }

  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0 0 0 auto;
    border: 1px solid rgba(212,175,55,0.45) !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.08)) !important;
    cursor: pointer;
    z-index: 1600;
  }
  .mobile-toggle span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: #0a2e1a !important;
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.2s ease;
  }
  .mobile-toggle.active {
    background: #0a2e1a !important;
    border-color: #D4AF37 !important;
  }
  .mobile-toggle.active span { background: #D4AF37 !important; }
  .mobile-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .main-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.3rem !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(320px, 88vw) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 4.5rem 0.85rem 1.5rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, #0f3a24 0%, #0a2e1a 55%, #082418 100%) !important;
    border: none !important;
    border-left: 1px solid rgba(212,175,55,0.28) !important;
    border-radius: 0 !important;
    box-shadow: -16px 0 48px rgba(0,0,0,0.4) !important;
    z-index: 1550 !important;
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    visibility: visible !important;
  }
  .main-nav.open {
    transform: translateX(0) !important;
  }
  .main-nav::before {
    content: "Menu · Ojei Bari Avañ Ki";
    display: block;
    color: #D4AF37;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.85rem 0.75rem;
    border-bottom: 1px solid rgba(212,175,55,0.2);
    margin: 0 0 0.4rem;
  }
  .main-nav a {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0.85rem 0.95rem !important;
    margin: 0 !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: rgba(255,255,255,0.92) !important;
    background: transparent !important;
    box-shadow: none !important;
    border-left: 3px solid transparent !important;
    white-space: normal !important;
  }
  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(212,175,55,0.14) !important;
    color: #F5E6A8 !important;
    border-left-color: #D4AF37 !important;
    transform: none !important;
  }
  .main-nav a.active {
    background: rgba(212,175,55,0.18) !important;
    color: #F5E6A8 !important;
    border-left-color: #D4AF37 !important;
  }
  .main-nav a.active::after { display: none !important; }
  .main-nav a.nav-cta {
    margin-top: 0.55rem !important;
    text-align: center !important;
    border-left: none !important;
    background: linear-gradient(135deg, #E0C35A, #D4AF37, #B8942E) !important;
    color: #0a2e1a !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 18px rgba(212,175,55,0.35) !important;
  }
  .global-search-wrap { display: none !important; }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .main-nav { transition: none !important; }
  .nav-backdrop { transition: none !important; }
  .mobile-toggle span { transition: none !important; }
}

