/* ==========================================================================
   Roy Defence Academy — Editorial Regimental Design System
   Calm discipline, sovereign typography, warm alabaster & deep command olive
   ========================================================================== */

:root {
  --olive-950: #0A120E;
  --olive-900: #101C15;
  --olive-800: #17281E;
  --olive-700: #284233;
  --olive-500: #4E6E58;
  --maroon-700: #7E1924;
  --maroon-600: #9B222F;
  --cream-50: #FAF8F3;
  --cream-100: #F2ECE1;
  --cream-200: #E2D9C8;
  --brass-500: #C89D32;
  --brass-300: #E5C158;
  --ink-900: #111814;
  --ink-600: #4A564F;
  --wa-700: #0E7A40;
  --wa-600: #12904C;
  --error: #B3261E;
  --white: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 12px 32px -8px rgba(10, 18, 14, 0.09), 0 2px 6px rgba(10, 18, 14, 0.04);
  --shadow-card-hover: 0 20px 44px -12px rgba(10, 18, 14, 0.16), 0 4px 12px rgba(10, 18, 14, 0.06);
  --shadow-dark: 0 24px 48px -12px rgba(0, 0, 0, 0.45);

  --container-max: 1220px;
  --gutter: 18px;
  --section-pad-y: 72px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  --font-display: clamp(2.35rem, 1.75rem + 2.8vw, 4.1rem);
  --font-h1: clamp(2rem, 1.55rem + 2vw, 3.25rem);
  --font-h2: clamp(1.65rem, 1.35rem + 1.3vw, 2.35rem);
  --font-h3: clamp(1.25rem, 1.12rem + 0.65vw, 1.55rem);
  --font-body: clamp(1.03rem, 0.99rem + 0.18vw, 1.1rem);
  --font-small: 0.875rem;

  --font-sans-bn: 'Hind Siliguri', 'Anek Bangla', 'Noto Sans Bengali', system-ui, sans-serif;
  --font-sans-en: 'Plus Jakarta Sans', 'Anek Latin', 'Inter', system-ui, sans-serif;

  /* Slow, unhurried, silky-smooth easing */
  --ease-parade: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 28px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 36px; --section-pad-y: 96px; }
}

@font-face {
  font-family: 'Anek Bangla';
  src: url('/fonts/AnekBangla-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Anek Latin';
  src: url('/fonts/AnekLatin-Variable.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--cream-50);
  color: var(--ink-900);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--cream-50);
  color: var(--ink-900);
  font-size: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}

:lang(bn) {
  font-family: var(--font-sans-bn);
  line-height: 1.75;
}
:lang(bn) h1, :lang(bn) h2, :lang(bn) h3, :lang(bn) h4, :lang(bn) .display-title {
  line-height: 1.35;
  font-weight: 700;
}
:lang(en) {
  font-family: var(--font-sans-en);
  line-height: 1.65;
}
:lang(en) .display-title {
  font-size: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
:lang(en) h1, :lang(en) h2, :lang(en) h3 {
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }
small, .text-small { font-size: var(--font-small); }
p, li { max-width: 65ch; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
img, svg, video { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--brass-500);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  z-index: 9999;
  background: var(--maroon-700);
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-4); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.section {
  padding-block: var(--section-pad-y);
  position: relative;
}
.section-cream-50 {
  background-color: var(--cream-50);
  color: var(--ink-900);
}
.section-cream-100 {
  background-color: var(--cream-100);
  color: var(--ink-900);
  border-block: 1px solid var(--cream-200);
}
.section-olive {
  background: radial-gradient(circle at 82% 18%, rgba(126, 25, 36, 0.22) 0%, transparent 48%),
              radial-gradient(circle at 12% 80%, rgba(200, 157, 50, 0.10) 0%, transparent 45%),
              linear-gradient(180deg, var(--olive-950) 0%, var(--olive-900) 100%);
  color: var(--cream-50);
}
.section-olive .text-muted { color: rgba(242, 236, 225, 0.76); }
.text-muted { color: var(--ink-600); }

/* Regimental Accent Bars */
.stripe-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--maroon-700) 0%, var(--brass-500) 50%, var(--maroon-700) 100%);
}
.stripe-edge-left {
  position: relative;
  padding-left: var(--space-6);
  border-left: 3px solid var(--maroon-700);
}
.section-olive .stripe-edge-left {
  border-left-color: var(--brass-500);
}

/* Architectural Cards */
.cut-card {
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid rgba(17, 24, 20, 0.09);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 550ms var(--ease-parade), box-shadow 550ms var(--ease-parade), border-color 550ms var(--ease-parade);
}
.section-cream-100 .cut-card {
  background: var(--cream-50);
}
.section-olive .cut-card {
  background: rgba(23, 40, 30, 0.78);
  color: var(--cream-50);
  border: 1px solid rgba(200, 157, 50, 0.24);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px);
}
@media (pointer: fine) {
  .cut-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(200, 157, 50, 0.48);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 450ms var(--ease-parade);
  line-height: 1.3;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-maroon {
  background: linear-gradient(135deg, var(--maroon-600) 0%, var(--maroon-700) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(126, 25, 36, 0.45);
}
.btn-maroon:hover {
  background: linear-gradient(135deg, #b02836 0%, var(--maroon-600) 100%);
}
.btn-wa {
  background: linear-gradient(135deg, var(--wa-600) 0%, var(--wa-700) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(14, 122, 64, 0.42);
}
.btn-wa:hover {
  background: linear-gradient(135deg, #16a357 0%, var(--wa-600) 100%);
}
.btn-brass {
  background: linear-gradient(135deg, var(--brass-300) 0%, var(--brass-500) 100%);
  color: var(--olive-950);
  box-shadow: 0 8px 20px -6px rgba(200, 157, 50, 0.4);
}
.btn-brass:hover {
  background: linear-gradient(135deg, #f0d275 0%, var(--brass-300) 100%);
}
.btn-outline {
  background-color: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--maroon-700);
}
.btn-outline:hover {
  background-color: rgba(126, 25, 36, 0.06);
}
.section-olive .btn-outline {
  color: var(--cream-50);
  border-color: var(--brass-500);
}
.section-olive .btn-outline:hover {
  background-color: rgba(200, 157, 50, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--cream-100);
  color: var(--maroon-700);
  border: 1px solid rgba(126, 25, 36, 0.18);
  align-self: flex-start;
}
.section-olive .pill {
  background: rgba(200, 157, 50, 0.14);
  color: var(--brass-300);
  border-color: rgba(200, 157, 50, 0.32);
}
.campus-photo-wrap .pill {
  align-self: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon-700);
  margin-bottom: 10px;
}
.section-olive .eyebrow {
  color: var(--brass-300);
}

/* Dignified Architectural Media Frame (Replaces Fake Stock/Cartoon Images) */
.campus-figure {
  max-width: 640px;
  width: 100%;
  margin: 0;
}
.campus-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(145deg, var(--olive-900) 0%, var(--olive-800) 60%, #241519 100%);
  border: 1px solid rgba(200, 157, 50, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  color: var(--cream-50);
  box-shadow: var(--shadow-card);
}
.campus-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.campus-slot-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(200, 157, 50, 0.14);
  border: 1px solid rgba(200, 157, 50, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass-300);
  margin-bottom: 14px;
}
.campus-caption {
  font-size: var(--font-small);
  color: var(--ink-600);
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--maroon-700);
}
.section-olive .campus-caption {
  color: var(--cream-200);
  border-left-color: var(--brass-500);
}

/* Lists & Tables */
.chevron-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chevron-list li {
  position: relative;
  padding-left: 28px;
}
.chevron-list li::before {
  content: '›››';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--maroon-700);
  font-weight: 700;
}
.section-olive .chevron-list li::before { color: var(--brass-500); }

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
table.rda-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  color: var(--ink-900);
  text-align: left;
}
table.rda-table th, table.rda-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--cream-200);
  vertical-align: top;
}
table.rda-table th {
  background: var(--olive-900);
  color: var(--brass-300);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Forms & Filters */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-label { font-weight: 600; font-size: var(--font-body); }
.form-input, .form-select, .form-textarea {
  min-height: 48px;
  padding: 11px 16px;
  font-family: inherit;
  font-size: var(--font-body);
  background: var(--cream-50);
  color: var(--ink-900);
  border: 1.5px solid rgba(17, 24, 20, 0.22);
  border-radius: 10px;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--maroon-700);
  box-shadow: 0 0 0 3px rgba(126, 25, 36, 0.12);
}
.form-error { color: var(--error); font-size: var(--font-small); font-weight: 600; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.filter-btn {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(17, 24, 20, 0.18);
  background: var(--white);
  color: var(--ink-900);
  font-family: inherit;
  font-size: var(--font-small);
  font-weight: 600;
  cursor: pointer;
  transition: all 350ms var(--ease-parade);
}
.filter-btn:hover {
  border-color: var(--maroon-700);
}
.filter-btn[aria-pressed="true"], .filter-btn.active {
  background: var(--maroon-700);
  color: var(--white);
  border-color: var(--maroon-700);
  box-shadow: 0 6px 16px -4px rgba(126, 25, 36, 0.4);
}

/* ==========================================================================
   Slow, Silky-Smooth Animations (750ms–900ms)
   ========================================================================== */
.reveal {
  opacity: 0.96;
  transform: translateY(14px);
  transition: opacity 850ms var(--ease-parade), transform 850ms var(--ease-parade);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.hero-stripes {
  display: inline-flex;
  gap: 5px;
  height: 32px;
  align-items: flex-end;
  margin-bottom: 14px;
}
.hero-stripes span {
  width: 7px;
  height: 100%;
  border-radius: 2px;
  display: inline-block;
  transform-origin: bottom;
  animation: stripeWipe 850ms var(--ease-parade) both;
}
.hero-stripes span:nth-child(odd) { background: var(--maroon-600); }
.hero-stripes span:nth-child(even) { background: var(--brass-300); }
.hero-stripes span:nth-child(1) { animation-delay: 0ms; }
.hero-stripes span:nth-child(2) { animation-delay: 90ms; }
.hero-stripes span:nth-child(3) { animation-delay: 180ms; }
.hero-stripes span:nth-child(4) { animation-delay: 270ms; }
.hero-stripes span:nth-child(5) { animation-delay: 360ms; }

@keyframes stripeWipe {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

.line-reveal {
  display: block;
  animation: lineSlideUp 900ms var(--ease-parade) both;
}
@keyframes lineSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline-list {
  position: relative;
  padding-left: 32px;
  border-left: 3px solid var(--maroon-700);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brass-500);
  border: 3px solid var(-- maroon-700, #7E1924);
  box-shadow: 0 0 0 4px var(--cream-100);
}

/* Marquee Band */
.marquee-band {
  background: var(--olive-950);
  color: var(--brass-300);
  overflow: hidden;
  padding-block: 13px;
  border-block: 1px solid rgba(200, 157, 50, 0.25);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  animation: forceMarquee 75s linear infinite;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }
@keyframes forceMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Header & Navigation (Fixed Desktop Home Tab + Gallery + Active Highlighting)
   ========================================================================== */
.lang-banner {
  background: var(--olive-950);
  color: var(--cream-50);
  border-bottom: 1px solid rgba(200, 157, 50, 0.2);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.lang-banner[hidden] { display: none !important; }
.lang-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 4px;
}
.lang-banner-cta {
  color: var(--brass-300);
  font-weight: 700;
  font-size: var(--font-small);
}
.lang-banner-close {
  min-width: 36px;
  min-height: 36px;
  background: transparent;
  color: var(--cream-50);
  border: 1px solid rgba(200, 157, 50, 0.3);
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(11, 20, 15, 0.95);
  color: var(--cream-50);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 400ms var(--ease-parade);
}
.site-header.scrolled {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 48px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--cream-50);
}
.brand-text small {
  font-size: 0.72rem;
  color: var(--brass-300);
  letter-spacing: 0.04em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.86rem;
  color: rgba(250, 248, 243, 0.86);
  text-decoration: none;
  white-space: nowrap;
  transition: color 300ms ease, background-color 300ms ease;
}
.nav-link:hover {
  color: var(--brass-300);
  background: rgba(255, 255, 255, 0.05);
}
.nav-link.active {
  color: var(--brass-300);
  background: rgba(200, 157, 50, 0.14);
  font-weight: 700;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2.5px;
  border-radius: 99px;
  background: var(--brass-300);
}

.nav-dropdown { position: relative; }
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 560px;
  background: var(--olive-900);
  border: 1px solid rgba(200, 157, 50, 0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  padding: 16px;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  z-index: 950;
}
.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  display: grid;
}
.mega-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--brass-500);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 250ms ease;
}
.mega-card:hover {
  background: rgba(200, 157, 50, 0.14);
}
.mega-card strong {
  font-size: 0.88rem;
  color: var(--cream-50);
}
.mega-card span {
  font-size: 0.78rem;
  color: rgba(242, 236, 225, 0.72);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-switcher {
  display: inline-flex;
  border: 1px solid rgba(200, 157, 50, 0.4);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  overflow: hidden;
}
.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 38px;
  padding-inline: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--cream-50);
  transition: background-color 250ms ease, color 250ms ease;
}
.lang-link.active {
  background: var(--brass-500);
  color: var(--olive-950);
}
.header-call-btn { display: none; min-height: 40px; padding: 8px 16px; font-size: 0.86rem; }
.mobile-menu-btn {
  min-height: 42px;
  padding-inline: 14px;
  font-size: 0.86rem;
  color: var(--cream-50) !important;
  border-color: rgba(200, 157, 50, 0.45) !important;
}
@media (min-width: 1140px) {
  .desktop-nav { display: flex; }
  .header-call-btn { display: inline-flex; }
  .mobile-menu-btn { display: none; }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--olive-950);
  color: var(--cream-50);
  overflow-y: auto;
  padding-block: 20px;
}
.mobile-drawer[hidden] { display: none !important; }
.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(200, 157, 50, 0.2);
}
.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream-50);
  text-decoration: none;
  border-radius: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 250ms ease, color 250ms ease;
}
.mobile-drawer-links a.active {
  background: rgba(200, 157, 50, 0.16);
  color: var(--brass-300);
  border-left: 4px solid var(--brass-300);
}
.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

/* Hero Grid & Stats */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 7fr 5fr; }
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.stat-number {
  font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.4rem);
  font-weight: 800;
  color: var(--maroon-700);
  line-height: 1.15;
}
.section-olive .stat-number { color: var(--brass-300); }

/* YouTube Video Cards */
.yt-card { padding: 0; overflow: hidden; }
.yt-facade-btn {
  position: relative;
  width: 100%;
  border: none;
  padding: 0;
  background: var(--olive-950);
  cursor: pointer;
  display: block;
  text-align: left;
  overflow: hidden;
}
.yt-facade-btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 650ms var(--ease-parade);
}
.yt-facade-btn:hover img {
  transform: scale(1.03);
}
.yt-duration-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 18, 14, 0.9);
  color: var(--brass-300);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(200, 157, 50, 0.4);
}
.yt-play-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--maroon-700);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.yt-meta {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yt-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.yt-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   OTT-Style Featured Campus Media Player & Gallery Styles
   Clean, cinematic, smooth 800ms crossfade, zero technical clutter
   ========================================================================== */
.ott-player-card {
  max-width: 920px;
  margin-inline: auto;
  background: var(--olive-950);
  border: 1px solid rgba(200, 157, 50, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  color: var(--cream-50);
}
.ott-stage-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 35%, #1A2D22 0%, #09100C 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ott-slide-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: scale(1);
  transition: opacity 800ms var(--ease-parade), transform 800ms var(--ease-parade);
}
.ott-slide-media.fading {
  opacity: 0;
  transform: scale(1.02);
}
.ott-slide-media img,
.ott-slide-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ott-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 18, 14, 0.72);
  color: var(--cream-50);
  border: 1px solid rgba(200, 157, 50, 0.45);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: background-color 300ms ease, color 300ms ease, transform 300ms ease;
}
.ott-nav-btn:hover {
  background: var(--brass-500);
  color: var(--olive-950);
  transform: translateY(-50%) scale(1.06);
}
.ott-nav-prev { left: 16px; }
.ott-nav-next { right: 16px; }

.ott-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 18, 14, 0.55);
  backdrop-filter: blur(6px);
}
.ott-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 400ms var(--ease-parade), background-color 400ms var(--ease-parade);
}
.ott-dot.active {
  width: 24px;
  background: var(--brass-300);
}
.ott-caption-bar {
  padding: 24px 28px;
  background: linear-gradient(180deg, #121F18 0%, #0B140F 100%);
  border-top: 1px solid rgba(200, 157, 50, 0.2);
}
.ott-caption-bar h3 {
  color: var(--cream-50);
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.ott-caption-bar p {
  color: rgba(242, 236, 225, 0.8);
  font-size: 0.98rem;
  max-width: 75ch;
}

/* Custom Non-Seekable Video Player (Play/Pause Only) */
.rda-locked-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080E0B;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rda-locked-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.rda-play-pause-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 15;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(10, 18, 14, 0.85);
  color: var(--brass-300);
  border: 1.5px solid var(--brass-500);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 300ms ease;
}
.rda-play-pause-btn:hover {
  background: var(--brass-500);
  color: var(--olive-950);
}

/* Social Channels Grid */
.social-channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .social-channels-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .social-channels-grid { grid-template-columns: repeat(3, 1fr); }
}
.social-channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid rgba(17, 24, 20, 0.1);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform 450ms var(--ease-parade), box-shadow 450ms var(--ease-parade), border-color 450ms var(--ease-parade);
}
.section-olive .social-channel-card {
  background: rgba(23, 40, 30, 0.85);
  color: var(--cream-50);
  border-color: rgba(200, 157, 50, 0.25);
}
.social-channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brass-500);
}
.social-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(126, 25, 36, 0.1);
  color: var(--maroon-700);
}
.section-olive .social-icon-box {
  background: rgba(200, 157, 50, 0.15);
  color: var(--brass-300);
}

/* Footer Social Icons Row */
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.footer-social-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 157, 50, 0.3);
  color: var(--cream-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 350ms var(--ease-parade);
}
.footer-social-icon:hover {
  background: var(--brass-500);
  color: var(--olive-950);
  transform: translateY(-2px);
}

/* Footer Layout */
.site-footer { margin-top: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-block: 56px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 { color: var(--brass-300); font-size: 1.05rem; letter-spacing: 0.03em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: rgba(242, 236, 225, 0.82);
  text-decoration: none;
  font-size: var(--font-small);
  transition: color 250ms ease;
}
.footer-links a:hover { color: var(--brass-300); }
.footer-bottom {
  border-top: 1px solid rgba(200, 157, 50, 0.2);
  padding-block: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; }
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-inline: 6px;
  color: var(--brass-300);
  font-size: var(--font-small);
  text-decoration: none;
}

.sticky-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: rgba(10, 18, 14, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(200, 157, 50, 0.35);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 500ms var(--ease-parade);
}
.sticky-action-bar.visible { transform: translateY(0); }
@media (min-width: 1024px) {
  .sticky-action-bar { display: none !important; }
}

.desktop-floating-wa {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--wa-700);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-dark);
  z-index: 850;
  transition: transform 350ms var(--ease-parade);
}
.desktop-floating-wa:hover { transform: translateY(-3px); }
@media (min-width: 1024px) {
  .desktop-floating-wa { display: inline-flex; }
}

.quiz-option-btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  text-align: left;
  font-family: inherit;
  font-size: var(--font-body);
  font-weight: 600;
  background: var(--cream-50);
  color: var(--ink-900);
  border: 1.5px solid rgba(17, 24, 20, 0.2);
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 250ms ease;
}
.quiz-option-btn:hover { border-color: var(--maroon-700); }
.quiz-option-btn.correct { background: var(--wa-700); color: var(--white); border-color: var(--wa-700); }
.quiz-option-btn.wrong { background: var(--error); color: var(--white); border-color: var(--error); }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* ==========================================================================
   Upgraded Smooth, Slow Opening & Scroll Animations (900ms–1200ms)
   Graceful staggered hero entrance, silky scroll-triggered reveals & hover
   ========================================================================== */
:root {
  --ease-parade: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-silk: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-open: 1080ms;
  --dur-scroll: 1020ms;
}

.cut-card {
  transition: transform 780ms var(--ease-parade), box-shadow 780ms var(--ease-parade), border-color 780ms var(--ease-parade), opacity var(--dur-scroll) var(--ease-parade);
}
.social-channel-card {
  transition: transform 720ms var(--ease-parade), box-shadow 720ms var(--ease-parade), border-color 720ms var(--ease-parade), opacity var(--dur-scroll) var(--ease-parade);
}
.btn {
  transition: transform 620ms var(--ease-parade), background 620ms var(--ease-parade), box-shadow 620ms var(--ease-parade), border-color 620ms var(--ease-parade), color 620ms var(--ease-parade);
}
.yt-facade-btn img, .campus-photo-wrap img {
  transition: transform 1050ms var(--ease-parade), filter 900ms var(--ease-parade);
}
@media (pointer: fine) {
  .campus-photo-wrap:hover img {
    transform: scale(1.035);
  }
}
.ott-slide-media {
  transition: opacity 1050ms var(--ease-parade), transform 1100ms var(--ease-parade);
}

/* Opening Hero Staggered Entrance (900ms–1200ms) */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroMediaReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.965);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.hero-stripes span {
  animation: stripeWipe 980ms var(--ease-parade) both;
}
.hero-stripes span:nth-child(1) { animation-delay: 40ms; }
.hero-stripes span:nth-child(2) { animation-delay: 140ms; }
.hero-stripes span:nth-child(3) { animation-delay: 240ms; }
.hero-stripes span:nth-child(4) { animation-delay: 340ms; }
.hero-stripes span:nth-child(5) { animation-delay: 440ms; }

main > section:first-of-type .eyebrow {
  animation: heroFadeUp 1000ms var(--ease-parade) 100ms both;
}
main > section:first-of-type h1,
.line-reveal {
  animation: heroFadeUp 1120ms var(--ease-parade) 210ms both;
}
main > section:first-of-type .stripe-edge-left > p,
main > section:first-of-type .stripe-edge-left > ol,
main > section:first-of-type .stripe-edge-left > ul {
  animation: heroFadeUp 1120ms var(--ease-parade) 340ms both;
}
main > section:first-of-type .cta-row {
  animation: heroFadeUp 1120ms var(--ease-parade) 470ms both;
}
main > section:first-of-type .campus-figure {
  animation: heroMediaReveal 1200ms var(--ease-parade) 290ms both;
}

/* Smooth Scroll-Triggered Reveal (950ms–1150ms with sibling stagger) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.988);
  transition: opacity 1040ms var(--ease-parade), transform 1080ms var(--ease-parade);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Live Announcement Ticker Banner (Admin Configurable) */
.rda-live-announcement {
  background: linear-gradient(90deg, var(--maroon-700) 0%, #5e111a 50%, var(--maroon-700) 100%);
  color: var(--cream-50);
  border-bottom: 1px solid rgba(200, 157, 50, 0.38);
  padding: 9px var(--gutter);
  font-size: 0.88rem;
  text-align: center;
}
.rda-live-announcement a {
  color: var(--brass-300);
  font-weight: 700;
  margin-left: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
